:root{color-scheme:dark;--accent:#ff6a00;--cyan:#ff8500;--line:#71401f;--muted:#9a9da3;--surface:#111216;--text:#f5f5f5}
body{background:linear-gradient(#08090b22,#08090bf5 900px),url('assets/military-hero-0932.png') center 70px/cover fixed,#08090b;color:var(--text)}
.topbar{background:#050505f5;border-bottom:2px solid var(--accent);box-shadow:0 2px 18px #ff6a001c;padding:0 2%;gap:12px;position:relative;z-index:5}.brand{width:166px;border-color:#4d2c18}.brand img{width:140px;height:80px}.topbar nav{min-width:0;justify-content:center}.nav-link{min-width:65px;padding:13px 8px;font-size:10px;gap:8px;white-space:nowrap}.nav-link .icon{width:23px;height:23px;filter:grayscale(1) brightness(2)}.nav-link.active,.nav-link:hover{background:linear-gradient(0deg,#ff6a0044,#ff6a0008);border-color:var(--accent)}.nav-link.active .icon{filter:sepia(1) saturate(8) hue-rotate(340deg) brightness(1.3)}.header-account{gap:8px}.account-chip{background:#111216;border-color:#343438;min-width:155px;padding:8px 10px}.avatar{border-color:var(--accent);background:radial-gradient(circle,#49280f,#111216)}.icon-button{background:#111216;border-color:#48403a}.icon-button:hover{border-color:var(--accent);background:#342218}
main{padding:24px 3%;max-width:1580px;min-height:75vh}.panel{background:linear-gradient(130deg,#111216f7,#050505f5);border-color:#a34c1c;box-shadow:inset 0 0 35px #0007,0 3px 20px #0005}.panel:before{background:var(--accent);box-shadow:0 0 8px #ff6a0066}.panel-heading{border-bottom:1px solid #3a2b21;height:auto;min-height:48px;padding:13px 17px}.panel-heading h2{font-size:17px}.eyebrow,.tag,.all-link{color:#ff9d00}.button{background:linear-gradient(120deg,#27190f,#111216);border-color:#a34c1c;min-height:45px;color:#f5f5f5}.button.primary{background:linear-gradient(120deg,#ff8500,#ed5900);border-color:#ff9d00;color:#08090b;box-shadow:0 0 15px #ff6a0026}.button:hover{filter:brightness(1.15);color:#fff}.button.primary:hover{color:#08090b}.button:disabled{opacity:.5}.content-card{background:linear-gradient(145deg,#161619,#08090b);border-color:#4a3526;border-radius:3px}.content-card:hover{border-color:#b85d28}.content-card img{border-radius:2px}.empty{background:radial-gradient(ellipse at top,#45221044,transparent 65%);border:1px solid #644126;padding:60px 30px;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty h2{color:var(--text)}.empty p{max-width:620px;line-height:1.6}.notice{background:#2d1c10;border-color:#ff8500;color:#d3c1b1}.page-content{padding:30px;min-height:70vh}.page-header{padding:10px 0 26px;border-bottom:1px solid #4a3020}.page-header h1{font-size:clamp(27px,3.4vw,48px);font-style:italic}.page-header p{max-width:780px;line-height:1.5}input,select,textarea{background:#08090b;border-color:#48403a;color:#f5f5f5}.filters input,.filters select{min-width:0;margin:0}.filters select{max-width:100%}.filters{align-items:stretch}.tag{border-color:#71401f}.article p{color:#c0bdba}dialog{background:#111216;border-color:#b85d28;box-shadow:0 0 60px #0009}dialog::backdrop{background:#050505e8}.password-wrap button{color:#ff8500}.auth-tabs button.selected{color:#ff8500;border-color:#ff8500}#toast{background:#24170e;border-color:#ff8500}.skip{background:#4a2510}
.tactical-home{display:grid;gap:22px}.tactical-home .hero{height:clamp(300px,33vw,480px);border-color:#a34c1c}.tactical-home .hero-background{opacity:1}.tactical-home .hero:after{background:linear-gradient(90deg,#05050500,#0505058c 35%,#0505058c 65%,#05050500)}.tactical-home .hero-copy{gap:16px}.tactical-home .hero-logo{height:140px;width:min(330px,60vw);filter:drop-shadow(0 5px 18px #000)}.tactical-home .hero h1{font-size:clamp(18px,2vw,28px);letter-spacing:3px;color:#f5f5f5}.gameplay-feature{width:min(880px,100%);justify-self:center;box-shadow:0 0 24px #ff6a001c}.gameplay-stage{aspect-ratio:16/9;width:100%;background:#050505;display:grid;place-items:center;position:relative}.gameplay-stage>video,.gameplay-stage>.video-main{width:100%;height:100%;object-fit:contain;border:0;border-radius:0}.gameplay-stage .video-main img{object-fit:cover}.play-icon span{border-color:#ff8500;background:#08090be8;color:#fff;box-shadow:0 0 24px #ff6a002c}.home-bottom{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px}.home-bottom .news-grid{grid-template-columns:1fr;padding:14px}.home-bottom .news-card{display:grid;grid-template-columns:100px 1fr;gap:10px;border:0;padding:0}.home-bottom .news-card img{height:85px;grid-row:span 3}.home-bottom .news-card h3{font-size:17px}.home-bottom .news-card p{font-size:13px}.home-team{padding:24px;display:grid;gap:12px}.home-team h3{font-size:24px;font-style:italic}.home-team p{color:var(--muted);line-height:1.5}.home-bottom .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:110px;padding:14px;gap:8px}.home-bottom .gallery-grid button:first-child{grid-column:auto;grid-row:auto}.gallery-grid button{border-color:#71401f;background:#111216}
.download-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px}.download-art{min-height:460px;background:linear-gradient(0deg,#050505 2%,#05050500 70%),url('assets/military-hero-0932.png') 20% center/cover;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;border:1px solid #71401f}.download-art h2{font-size:36px;line-height:1.15;font-style:italic}.download-art strong{color:#ff8500}.download-art p{line-height:1.6;margin-top:14px;color:#ccc}.download-platforms{display:grid;gap:20px;align-content:start}.platform-card{padding:24px;border:1px solid #644126;background:#111216}.platform-card h2{font-size:21px;margin-bottom:12px}.platform-card .button{width:100%;margin:8px 0}.download-facts{display:flex;flex-wrap:wrap;gap:18px;color:var(--muted);margin:12px 0}.download-facts b{display:block;color:#f5f5f5}.requirements{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.requirements article{padding:20px;border:1px solid #493426;background:#111216}.requirements h3{color:#ff8500;margin-bottom:10px}.requirements p{color:var(--muted);line-height:1.6}
.rank-table{width:100%;border-collapse:separate;border-spacing:0 6px;min-width:850px}.rank-table th{font-size:12px;color:#9a9da3;text-transform:uppercase;padding:12px}.rank-table td{padding:12px;border-block:1px solid #343438;background:#111216}.rank-table td:first-child{border-left:2px solid #71401f;text-align:center;font-weight:700;font-size:24px}.rank-table td:last-child{border-right:1px solid #343438}.rank-table tr[data-position="1"] td{background:#351c0a;border-color:#ff8500}.rank-table tr[data-position="2"] td:first-child{color:#dbdfe4}.rank-table tr[data-position="3"] td:first-child{color:#ce8e58}.rank-table .rank-emblem{width:50px;height:50px;object-fit:contain;vertical-align:middle;margin-right:9px}.rank-scroll{overflow-x:auto}.rank-catalog{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}.rank-tile{background:#111216;border:1px solid #3c352e;display:grid;place-items:center;padding:12px 5px;gap:6px;min-width:0;border-radius:3px}.rank-tile:hover,.rank-tile[aria-current="true"]{border-color:#ff8500;background:#2e1d11}.rank-tile img{width:68px;height:68px;object-fit:contain}.rank-tile small{font-size:10px;text-align:center;min-height:24px}.rank-tile strong{color:#ff9d00}.rank-preview{padding:30px;text-align:center}.rank-preview img{width:280px;height:280px;object-fit:contain;display:block;margin:auto}.team-role{font-size:13px;color:#ff9d00;letter-spacing:2px}.team-monogram{height:130px;display:grid;place-items:center;background:radial-gradient(ellipse,#ff6a001f,transparent);font:800 54px Oxanium,sans-serif;color:#ff8500;border-bottom:1px solid #71401f}.team-responsibilities{padding-left:18px;line-height:1.8;color:#b8b5b2}.pass-banner{min-height:300px;background:linear-gradient(90deg,#050505,#05050533),url('assets/military-hangar-0932.png') center/cover;display:flex;align-items:center;padding:35px;margin-bottom:22px}.pass-banner h2{font-size:clamp(30px,6vw,72px);font-style:italic}.pass-banner strong{color:#ff9d00;display:block}.balance-line{padding:20px;border:1px solid #644126;margin-bottom:20px;font-size:22px}.balance-line b{color:#ff9d00}
/* Existing profile component keeps its behavior and receives the shared palette. */
.pf-dashboard{--pf-cyan:#ff8500}.pf-heading,.pf-panel,.pf-stat,.pf-progress,.pf-player,.pf-progression,.pf-history,.pf-actions{border-color:#71401f!important}.pf-dashboard [class*="pf-"]{--cyan:#ff8500}.pf-hex{background:linear-gradient(#ff9d00,#b34c0a)}.pf-hex:before{background:radial-gradient(ellipse,#3d2513,#111216)}.pf-dashboard h1 span,.pf-dashboard .pf-breadcrumb,.pf-dashboard .pf-icon{color:#ff8500}.identity-nameplate:not(.has-ribbon) .identity-caption{background:transparent}.identity-nameplate.has-ribbon .identity-caption{background:transparent}.identity-ribbon{object-fit:contain}.pf-dashboard .button{background:#20160e;border-color:#a34c1c}
footer{background:#050505e8;border-color:#71401f;max-width:none}footer>div a{border-color:#71401f}footer p{color:#9a9da3}footer p small{color:#ff8500}
@media(max-width:1250px){.topbar{flex-wrap:wrap}.brand{height:76px}.header-account{margin-left:auto}.topbar nav{order:3;flex-basis:100%;border-top:1px solid #33251b}.nav-link{flex:1}.home-bottom{grid-template-columns:1fr 1fr}.home-bottom>section:last-child{grid-column:span 2}.rank-catalog{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:800px){.download-layout{grid-template-columns:1fr}.download-art{min-height:300px}.rank-catalog{grid-template-columns:repeat(5,minmax(0,1fr))}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding:20px}.home-bottom{grid-template-columns:1fr}.home-bottom>section:last-child{grid-column:auto}.tactical-home .hero{height:360px}.requirements{grid-template-columns:1fr}}
@media(max-width:680px){.topbar{padding:0 12px}.brand{width:110px;height:72px}.brand img{width:105px;height:65px}.topbar nav{display:none}.topbar nav.open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.nav-link{padding:12px 4px;min-height:66px}.account-chip{min-width:0;padding:4px;background:transparent}.header-account{margin-left:8px}.mobile-menu{background:#111216}.tactical-home .hero-logo{height:120px}.tactical-home .hero h1{font-size:17px}.home-bottom .news-card{grid-template-columns:85px 1fr}.cards{grid-template-columns:1fr}.rank-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.rank-tile img{width:60px;height:60px}.download-art{padding:20px}.download-art h2{font-size:28px}.platform-card{padding:18px}.filters{align-items:stretch}.filters select{width:100%}.page-header{gap:16px}.page-header .all-link{white-space:normal}main{padding:16px 3%}.pass-banner{padding:22px}.header-account>.icon-button{display:none}.home-bottom .gallery-grid{grid-template-rows:95px}.tactical-home .hero{height:320px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.brand img,.hero-logo,footer>a img{filter:hue-rotate(175deg) saturate(1.25)}

.tactical-home .hero-logo{filter:hue-rotate(175deg) saturate(1.25) drop-shadow(0 5px 18px #000)}

.brand img,footer>a img{filter:none}.tactical-home .hero-logo{filter:drop-shadow(0 5px 18px #000)}

/* Composition follows the supplied military portal screens, with real controls/data. */
h1,h2,h3,.button,.nav-link{font-family:Bahnschrift,'Arial Narrow','Segoe UI',sans-serif}h1,h2,h3{font-weight:800}.nav-link{font-size:11px}.brand img{width:160px}.nav-link.active{background:linear-gradient(0deg,#ff6a00,#aa3900);color:#fff}.page-header{background:linear-gradient(90deg,#050505f5 4%,#05050580 62%,#05050520),url('assets/military-hero-0932.png') center/cover;margin:-30px -30px 25px;padding:35px 30px;min-height:210px}.page-header .all-link{align-self:flex-start}.page-header h1{font-style:italic;letter-spacing:.5px}.page-header p{color:#d0c8c0}
.tactical-home .hero{height:340px;border:0;box-shadow:none}.tactical-home .hero-copy{gap:10px;transform:translateY(-18px)}.tactical-home .hero-logo{height:105px}.tactical-home .hero h1{font-size:24px}.gameplay-feature{width:min(760px,100%);margin-top:-32px;position:relative;z-index:1;border:2px solid #ff6a00;box-shadow:0 0 14px #ff6a0055}.home-bottom{gap:16px}.home-bottom .panel-heading h2{font-size:16px}.home-team{background:linear-gradient(90deg,#050505e8,#05050590),url('assets/military-hero-0932.png') center/cover;padding:19px;min-height:135px}.home-team h3{font-size:23px}.home-team p{font-size:12px}.home-bottom .gallery-grid{grid-template-rows:105px}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.staff-card{padding:12px;display:grid;grid-template-columns:39% minmax(0,1fr);gap:18px;min-height:300px;border:2px solid #9d4b14;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}.staff-copy{padding:22px 0}.staff-copy h2{font-size:27px;margin:13px 0}.team-responsibilities{padding-left:15px;font:15px/1.7 'Segoe UI',sans-serif}.team-portrait{min-height:280px;position:relative;border:1px solid #9d4b14;background-repeat:no-repeat;background-color:#111216}.team-portrait small{position:absolute;bottom:0;background:#050505cc;font-size:8px;color:#bdb8b0;left:0;right:0;text-align:center;padding:4px}.portrait-0{background-image:url('assets/military-hero-0932.png');background-size:auto 100%;background-position:5% center}.portrait-1{background-image:url('assets/team-concepts-0932.png');background-size:200% 200%;background-position:right top}.portrait-2{background-image:url('assets/military-hero-0932.png');background-size:auto 100%;background-position:97% center}.team-commitment{margin-top:26px}.team-commitment>h2{margin-bottom:14px}.team-commitment h3{color:#ff8500}.team-commitment p{color:#b7b2ae;margin-top:10px}.account-detail{background:#111216;border:1px solid #71401f;padding:22px}.account-detail form{max-width:720px}.account-detail .notice{max-width:720px}#notificationList{display:grid;gap:12px}#notificationList .content-card{padding:24px;border-left:3px solid #ff8500}#notificationList small{margin:12px 0}#notificationList .button{margin-top:12px}
@media(max-width:1100px){.team-grid{grid-template-columns:1fr}.staff-card{grid-template-columns:180px minmax(0,1fr)}.page-header{min-height:180px}.tactical-home .hero{height:320px}}
@media(max-width:680px){.page-header{margin:-20px -20px 20px;padding:25px 20px;min-height:190px}.page-content{padding:20px}.staff-card{grid-template-columns:110px minmax(0,1fr);gap:12px}.team-portrait{min-height:245px}.staff-copy{padding:10px 0}.staff-copy h2{font-size:24px}.team-responsibilities{font-size:13px;padding-left:12px}.tactical-home .hero{height:300px}.tactical-home .hero h1{font-size:18px}.gameplay-feature{margin-top:0}.account-detail{padding:15px}}
.tactical-home .hero-background{visibility:hidden}.tactical-home .hero{background:transparent}.tactical-home .hero:after{background:linear-gradient(90deg,transparent,#05050580 40%,#05050580 60%,transparent)}
