/* NextMove Forever patch archive and single header Patch Notes control.
   The archive uses the live NextMove galaxy/site header; no new visual brand. */
.nm-ref-header-menu .nm-nav-patches{white-space:nowrap}
.nm-ref-header-menu .nm-nav-patches.selected{border-color:rgba(70,190,242,.92)!important;color:#e9f9ff!important;background:rgba(24,83,119,.48)!important}
.nm-ref-utility-main:has(.nmp-archive){max-width:none!important;width:100%!important;padding:0 0 42px!important;min-height:calc(100dvh - 75px);background:none!important}
.nmp-archive{width:min(1370px,calc(100% - 54px));margin:24px auto 30px;font-size:14px;color:#e8f3ff}
.nmp-archive a{color:inherit}
.nmp-hero{padding:24px 28px 23px;border-radius:15px;border:1px solid rgba(44,155,210,.68);background:linear-gradient(125deg,rgba(9,49,79,.83),rgba(7,15,36,.91)),repeating-linear-gradient(132deg,transparent 0,transparent 220px,rgba(136,205,254,.09) 222px,transparent 223px);box-shadow:0 18px 45px rgba(0,6,16,.35)}
.nmp-kicker{font-size:10px;font-weight:900;letter-spacing:.16em;color:#83cfff}
.nmp-hero-content{display:flex;align-items:end;gap:18px;justify-content:space-between;margin-top:10px}
.nmp-hero h1{font-size:clamp(28px,3.5vw,44px);line-height:1.04;font-weight:950;color:#f1f7ff;letter-spacing:-.05em;margin:0 0 10px}
.nmp-hero h1 span{color:#6dbdff;text-shadow:0 0 22px rgba(38,144,223,.34)}
.nmp-hero p{margin:0;line-height:1.55;font-size:13px;color:#b5cbe4;max-width:800px}
.nmp-return{flex:0 0 auto;padding:11px 18px;border:1px solid rgba(92,173,220,.56);background:rgba(8,43,75,.7);border-radius:9px;text-decoration:none;font-weight:850;font-size:12px}
.nmp-return:hover,.nmp-return:focus-visible{background:rgba(14,89,137,.7);border-color:#58d4ff}
.nmp-toolbar,.nmp-timeline{margin-top:15px;border:1px solid rgba(44,134,185,.53);border-radius:14px;background:linear-gradient(145deg,rgba(3,20,41,.94),rgba(7,10,29,.91));box-shadow:0 12px 25px rgba(0,0,0,.19);overflow:hidden}
.nmp-toolbar{padding:16px 20px 14px}
.nmp-toolbar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}
.nmp-toolbar-heading strong{font-size:14px;color:#f0f8ff}
.nmp-toolbar-heading span{font-size:11px;color:#89bdde}
.nmp-class-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
.nmp-class-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;padding:8px 4px 6px;border:1px solid rgba(78,135,172,.45);border-radius:8px;background:rgba(9,27,47,.66);text-decoration:none;font-size:10px;font-weight:800;color:#a2c0d5!important;transition:background .15s,border-color .15s,transform .15s}
.nmp-class-item>img{display:block;width:37px;height:37px;border-radius:6px;object-fit:cover}
.nmp-class-item:hover{border-color:#70d4ff;background:rgba(13,67,111,.5);color:#fff!important;transform:translateY(-1px)}
.nmp-class-item.selected{border-color:#67d5ff;background:rgba(10,97,137,.52);color:white!important;box-shadow:inset 0 0 15px rgba(30,143,225,.2),0 0 0 1px rgba(50,192,255,.22)}
.nmp-class-item:focus-visible{outline:2px solid #8ce2ff;outline-offset:2px}
.nmp-class-all{display:grid;place-items:center;width:37px;height:37px;border:1px solid rgba(75,159,205,.56);background:rgba(10,75,114,.4);border-radius:6px;color:#c5efff;font-size:12px;font-weight:950}
.nmp-timeline-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 21px;border-bottom:1px solid rgba(55,146,194,.36);background:linear-gradient(110deg,rgba(18,73,111,.33),rgba(4,15,35,.22))}
.nmp-timeline-head h2{font-size:19px;margin:0 0 3px;font-weight:900;color:#fff}
.nmp-timeline-head p{margin:0;font-size:11px;color:#8eb3d3}
.nmp-official{flex:0 0 auto;white-space:nowrap;font-size:10px;font-weight:850;border:1px solid rgba(0,205,180,.48);border-radius:100px;background:rgba(1,80,68,.34);color:#8bf5d5;padding:7px 12px}
.nmp-timeline-items{display:flex;flex-direction:column;gap:10px;padding:15px 18px}
.nmp-release{border:1px solid rgba(47,113,159,.44);background:rgba(4,20,41,.82);border-radius:10px;overflow:hidden;min-width:0}
.nmp-release[open]{border-color:rgba(67,157,216,.78);background:rgba(5,26,50,.95)}
.nmp-release summary{display:flex;gap:13px;align-items:center;list-style:none;cursor:pointer;padding:12px 15px;color:#e9f6ff;min-width:0}
.nmp-release summary::-webkit-details-marker{display:none}
.nmp-release summary::marker{content:''}
.nmp-release summary:hover{background:rgba(20,81,116,.27)}
.nmp-release summary:focus-visible{outline:2px solid #78cfff;outline-offset:-2px}
.nmp-note-icons{position:relative;width:47px;height:48px;flex:0 0 47px;align-self:start}
.nmp-note-icons>img:first-child{display:block;width:44px;height:44px;border-radius:9px;object-fit:cover;border:1px solid rgba(65,157,205,.48)}
.nmp-note-icons .nmp-note-spec{position:absolute;bottom:-3px;right:-3px;border-radius:5px;object-fit:cover;border:1px solid rgba(108,193,239,.8);box-shadow:0 0 0 2px #06172a;width:23px;height:23px}
.nmp-note-main{flex:1;min-width:0}
.nmp-note-title{display:flex;justify-content:space-between;gap:12px;align-items:center}
.nmp-note-title strong{font-size:14px;font-weight:900;color:#fff}
.nmp-note-title>span{font-size:10px;color:#86d6f7;border:1px solid rgba(66,153,207,.29);border-radius:6px;padding:4px 6px;white-space:nowrap}
.nmp-note-main>p{margin:5px 0 6px;font-size:12px;color:#a8c9df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmp-note-byline{display:flex;gap:18px;align-items:center;color:#8eb9d7;font-size:11px}
.nmp-note-byline strong{color:#b9e8ff}
.nmp-expand{align-self:center;margin-left:4px;font-size:22px;color:#89cde8;transition:transform .15s}
.nmp-release[open] .nmp-expand{transform:rotate(180deg)}
.nmp-full-note{margin:0 15px 15px 75px;border-top:1px solid rgba(57,138,181,.38);padding:11px 6px 2px}
.nmp-full-label{font-size:9px;font-weight:900;letter-spacing:.13em;color:#6cbedf}
.nmp-full-note>p{font-size:13px;line-height:1.75;color:#dceaf6;margin:9px 0 0;overflow-wrap:anywhere}
.nmp-no-updates{padding:27px;text-align:center;color:#a5c4d6;font-size:13px}
.nmp-pagination{padding:8px 20px 20px;display:flex;justify-content:center}
.nmp-pagination a{border:1px solid rgba(58,167,221,.62);background:rgba(13,57,92,.74);padding:11px 25px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:900}
.nmp-pagination a:hover{border-color:#8adfff;background:rgba(17,98,155,.62)}
@media(max-width:820px){.nmp-class-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.nmp-archive{width:calc(100% - 24px);margin-top:14px}.nmp-hero{padding:17px}.nmp-toolbar{padding:12px}.nmp-timeline-items{padding:9px}.nmp-hero-content{align-items:flex-start;flex-direction:column}.nmp-return{padding:8px 12px}}
@media(max-width:500px){.nmp-class-grid{gap:5px}.nmp-class-item{font-size:9px;padding:7px 2px 5px}.nmp-class-item>img,.nmp-class-all{width:32px;height:32px}.nmp-release summary{padding:10px;gap:7px}.nmp-note-icons{flex-basis:40px;width:40px}.nmp-note-icons>img:first-child{width:39px;height:39px}.nmp-note-title{flex-wrap:wrap;gap:6px}.nmp-note-title strong{font-size:12px}.nmp-note-byline{gap:8px;flex-wrap:wrap}.nmp-full-note{margin-left:10px}.nmp-timeline-head{padding:13px}.nmp-timeline-head h2{font-size:17px}}
/* Match the dashboard's owner-supplied galaxy background on the archive. */
body:has(.nmp-archive){background-color:#02050b!important;background-image:linear-gradient(90deg,rgba(0,2,10,.3),rgba(0,3,12,.35)),linear-gradient(#15191f,#11151b)!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
body:has(.nmp-archive) .nm-ref-header{background:linear-gradient(180deg,rgba(13,21,35,.73),rgba(7,14,26,.67))!important;backdrop-filter:blur(10px) saturate(118%);border-bottom-color:rgba(98,157,231,.35)!important}
@media(max-width:1150px){
  body:has(.nmp-archive) .nm-ref-header{height:auto!important;min-height:99px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:7px 10px 9px!important}
  body:has(.nmp-archive) .nm-ref-header-logo{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:210px!important;max-width:75vw!important;height:39px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body:has(.nmp-archive) .nm-ref-header-logo img{width:auto!important;height:auto!important;max-width:100%!important;max-height:39px!important}
  body:has(.nmp-archive) .nm-ref-header-right{width:100%!important;max-width:100%!important;justify-content:center!important;gap:0!important}
  body:has(.nmp-archive) .nm-ref-user-label{display:none!important}
  body:has(.nmp-archive) .nm-ref-header-menu{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px!important}
}
@media(max-width:450px){
  body:has(.nmp-archive) .nm-ref-header-menu a,body:has(.nmp-archive) .nm-ref-header-menu button{height:32px!important;min-height:32px!important;padding:0 8px!important;font-size:9px!important}
}
/* Extra Patch Notes nav button: protect centered logo on mid-width desktops. */
@media(min-width:1151px) and (max-width:1480px){
  body:has(.nm-ref-header-menu .nm-nav-patches) .nm-ref-user-label{display:none!important}
  body:has(.nm-ref-header-menu .nm-nav-patches) .nm-ref-header-logo{max-width:205px!important}
  body:has(.nm-ref-header-menu .nm-nav-patches) .nm-ref-header-logo img{max-width:100%!important;height:auto!important}
}

/* NXMV graphite v9: override every previous galaxy background on shared pages. */
html body, html body:has(.nm-wow-home), html body:has(.nm-lux-entry), html body:has(.nmp-archive), html body:has(.nmd-wrap) {
 background-color:#15191f!important;
 background-image:radial-gradient(circle at 18% 25%,rgba(130,181,218,.10) 0 1px,transparent 2px),radial-gradient(circle at 77% 58%,rgba(237,196,118,.10) 0 1px,transparent 2px),linear-gradient(160deg,#1c2028,#101419 75%)!important;
 background-size:340px 330px,470px 410px,cover!important;
 background-attachment:fixed!important;
}

/* Publication time and relative age for every Official revision. */
.nmp-note-byline time[data-nxmv-patch-stamp]{color:#c0dcf4;font-variant-numeric:tabular-nums}
.nmp-note-byline .nmp-patch-age{color:#78e1cb;font-weight:800;white-space:nowrap}
.nmp-note-byline{flex-wrap:wrap;column-gap:12px;row-gap:4px}
