:root{--bg:#05080d;--bg2:#080e16;--panel:#0a111a;--panel2:#0d1722;--line:#263544;--line2:#182532;--text:#edf2f6;--muted:#8493a4;--red:#e62c39;--red2:#ff3e4b;--green:#20d68a;--gold:#e8b94b;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:radial-gradient(circle at 75% 0,#152538 0,transparent 30%),var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;line-height:1.5;overflow-x:hidden;}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent 85%);z-index:-1;}
a{color:inherit;text-decoration:none;}
.ambient{position:fixed;pointer-events:none;filter:blur(80px);opacity:.12;border-radius:50%;z-index:-1;}
.ambient-a{width:360px;height:360px;background:#e62c39;right:-150px;top:35%;}
.ambient-b{width:300px;height:300px;background:#248cff;left:-150px;top:65%;}
.topbar{height:74px;position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:rgba(5,9,15,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(72,91,108,.42);}
.brand{display:flex;align-items:center;gap:11px;}
.brand-mark{width:46px;height:46px;display:grid;place-items:center;border:1px solid #34475b;background:#09111a;}
.brand img{width:40px;height:40px;object-fit:contain;}
.brand-copy b{display:block;font:900 25px/.85 'Barlow Condensed';letter-spacing:2px;}
.brand-copy small{display:block;color:var(--muted);font-size:8px;letter-spacing:1.5px;margin-top:5px;}
nav{display:flex;gap:26px;font-size:12px;font-weight:800;letter-spacing:1.5px;}
nav a{color:#9eacba;transition:.2s;}
nav a:hover{color:#fff;}
nav a span{color:#526273;margin-right:5px;}
.top-actions{display:flex;align-items:center;gap:8px;}
.sync-pill{display:flex;gap:7px;align-items:center;border:1px solid var(--line2);padding:9px 10px;color:#91a0af;font:800 9px 'Barlow Condensed';letter-spacing:1.3px;border-color:#253545;}
.sync-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--green);}
.discord{font-size:10px;font-weight:900;border:1px solid transparent;padding:10px 14px;background:#0a111a;transition:.18s;}
.discord:hover{border-color:#34485c;background:#0c151f;transform:translateY(-2px);box-shadow:0 0 0 1px rgba(114,137,255,.35),0 8px 28px rgba(88,101,242,.42);color:#fff;}
.hero{min-height:680px;position:relative;display:flex;align-items:center;padding:92px 7vw 72px;overflow:hidden;background-image:linear-gradient(90deg,rgba(3,6,10,.98) 0%,rgba(3,6,10,.84) 42%,rgba(3,6,10,.28) 100%),linear-gradient(0deg,#05080d 0%,transparent 42%),url('/assets/bac-operation1.png');background-size:cover;background-position:center 42%;}
.hero:after{content:'';position:absolute;inset:0;height:1px;background:linear-gradient(180deg,rgba(2,7,11,.08) 0%,rgba(2,7,11,.02) 55%,rgba(2,7,11,.58) 100%);opacity:.55;pointer-events:none;}
.hero-grid{width:100%;display:block;grid-template-columns:minmax(0,1.2fr) minmax(300px,.55fr);gap:20px;align-items:flex-end;position:relative;height:100%;flex-direction:column;justify-content:flex-end;z-index:2;min-height:680px;padding:0 5vw 34px;box-sizing:border-box;}
.hero-copy{max-width:none;position:absolute;left:50%;top:9%;transform:translateX(-50%);width:min(1000px,80vw);text-align:center;z-index:8;margin-top:18px;display:none;margin:0;pointer-events:none;}
.eyebrow{margin:0 0 12px;color:#91a3b5;font:800 11px 'Barlow Condensed';letter-spacing:3px;font-size:12px;}
.eyebrow span{display:inline-block;width:24px;height:2px;background:var(--red);vertical-align:middle;margin-right:7px;}
.hero h1{font:900 clamp(34px,3.2vw,58px)/.95 'Barlow Condensed',sans-serif;letter-spacing:.8px;margin:0;text-shadow:0 4px 12px rgba(0,0,0,.95),0 0 2px rgba(255,255,255,.45);font-size:clamp(30px,3.1vw,58px);line-height:.95;white-space:nowrap;color:#f0f3f5;font-family:'Barlow Condensed',sans-serif;font-weight:900;text-transform:uppercase;}
.hero h1 strong{font-size:1em;letter-spacing:1.5px;color:#eef2f5;font:inherit;}
.section{padding:88px 7vw;position:relative;padding-top:96px;padding-bottom:96px;}
.section.alt{background:rgba(7,12,19,.78);border-top:1px solid #121d29;border-bottom:1px solid #121d29;}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px;gap:25px;scroll-margin-top:82px;}
.section h2{font:900 54px/.9 'Barlow Condensed';margin:0;letter-spacing:1px;font-size:60px;}
.section-note{color:#94a3b2;font-size:14px;margin:9px 0 0;line-height:1.6;}
.updated{color:#6f8091;font-size:12px;font-weight:700;letter-spacing:.7px;}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.stat-card{padding:22px;min-height:154px;}
.stat-card:after{content:"";position:absolute;right:0;top:0;width:2px;height:38px;background:#314354;}
.stat-card.accent:after{background:var(--gold);}
.stat-icon{font-size:15px;color:#6e8193;margin-bottom:15px;}
.stat-card.accent .stat-icon{color:var(--gold);}
.stat-card span{font:800 10px 'Barlow Condensed';letter-spacing:2px;color:#899aaa;font-size:11px;}
.stat-card strong{display:block;font:900 53px/.9 'Barlow Condensed';margin:12px 0 7px;}
.stat-card.accent strong{color:var(--gold);}
.stat-card small{color:#657688;font-size:10px;}
.panel{padding:21px;}
.panel-title{display:flex;align-items:center;gap:8px;font:800 11px 'Barlow Condensed';letter-spacing:2px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:11px;font-size:12px;}
.panel-title span{color:var(--green);font-size:8px;}
.panel-title small{margin-left:auto;color:#566779;font-size:8px;letter-spacing:1px;}
@keyframes s{to{background-position:-200%}}
.search-wrap{position:relative;}
.search-wrap>span{position:absolute;left:12px;top:11px;color:#627386;font-size:17px;}
.search{background:#070d15;border:1px solid var(--line);color:#fff;padding:11px 13px 11px 34px;width:290px;outline:none;font-size:13px;border-radius:0;}
.search:focus{border-color:#566a7e;box-shadow:0 0 0 2px rgba(86,106,126,.08);}
.members-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.member{padding:16px;display:flex;align-items:center;gap:13px;transition:.2s;position:relative;min-width:0;border:1px solid #263544;background:linear-gradient(135deg,#0a121b,#070d14);}
.member:hover{transform:translateY(-2px);border-color:#40566b;box-shadow:0 15px 35px rgba(0,0,0,.18);}
.member:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:transparent;}
.member:hover:before{background:var(--red);}
.avatar{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;background:linear-gradient(135deg,#18283b,#080e16);border:1px solid #34475e;font:900 23px 'Barlow Condensed';color:#e9eef3;position:relative;overflow:visible;}
.member-info{min-width:0;flex:1;}
.member-info>b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.member-info small{display:block;margin-top:4px;color:#6f8091;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45;}
.member-role{min-height:28px;}
.level{font:800 10px/.95 'Barlow Condensed';color:#a1afbd;text-align:right;white-space:nowrap;font-size:12px;min-width:66px;display:flex;flex-direction:column;gap:5px;align-items:flex-end;}
.level br+*{color:#68798b;}
.role-badge{display:inline-flex;align-items:center;gap:6px;margin-top:5px;padding:2px 6px 2px 3px;border:1px solid #344255;background:#08101a;font:800 9px 'Barlow Condensed';letter-spacing:1px;text-transform:uppercase;color:#dce5ee;}
.role-badge img{width:21px;height:21px;object-fit:contain;display:block;}
.role-squadleader{border-color:#8998a8;color:#fff;}
.role-teamleader{border-color:#a98331;color:#eac55c;}
.role-instructeur{border-color:#416f96;color:#8ec2ec;}
.operations{padding-top:78px;}
.operation-banner{display:flex;justify-content:space-between;align-items:center;padding:40px;background:linear-gradient(110deg,#111d2b,#080e15);border:1px solid var(--line);overflow:hidden;position:relative;border-color:#273746;}
.operation-banner:after{content:"";position:absolute;right:-80px;top:-120px;width:300px;height:300px;border:1px solid #2d3f50;transform:rotate(45deg);box-shadow:0 0 0 25px #0e1823,0 0 0 26px #263646;}
.operation-banner h2{font:900 43px 'Barlow Condensed';margin:0;}
.operation-banner p:not(.eyebrow){max-width:700px;color:#8291a1;line-height:1.6;font-size:11px;}
.operation-mark{position:relative;z-index:1;text-align:center;font:900 72px/.75 'Barlow Condensed';opacity:.2;}
.operation-mark span{display:block;letter-spacing:5px;}
.operation-mark b{font-size:22px;color:var(--red);}
.event-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px;}
.event-card{padding:19px;}
.event-card .tag{display:inline-block;font:800 9px 'Barlow Condensed';letter-spacing:1.5px;color:#9fb0c3;border:1px solid #344255;padding:4px 7px;}
.event-card h3{font:800 26px 'Barlow Condensed';margin:13px 0 7px;}
.event-card p{font-size:10px;color:#79899a;line-height:1.5;}
.muted{color:#657688;font-size:13px;}
.live-faction{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid #263544;background:#070c13;font:800 9px 'Barlow Condensed';letter-spacing:.7px;}
.live-faction i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 7px currentColor;}
footer{padding:27px 7vw;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#5f7183;font-size:8px;letter-spacing:1.1px;}
footer b{color:#e8edf2;}
@media(max-width:1000px){nav{gap:13px}.hero-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.topbar{padding:0 18px}.top-actions .sync-pill{display:none}nav{display:none}.hero{min-height:640px;padding:90px 6vw 55px}.hero h1{font-size:58px}.section{padding:62px 6vw}.section h2{font-size:43px}.section-head{align-items:start;flex-direction:column}.search-wrap,.search{width:100%}.operation-banner{padding:27px}.operation-banner h2{font-size:34px}.operation-mark{display:none}}
@media(max-width:480px){.brand-copy small{display:none}.discord{padding:9px 10px;font-size:9px}.member{gap:10px}.avatar{width:48px;height:48px;flex-basis:48px}.level{font-size:9px}}
.public-server-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;}
.public-server{padding:0;background:linear-gradient(90deg,#0a131c,#09121a);border:1px solid #263847;position:relative;overflow:hidden;display:grid;grid-template-columns:205px minmax(300px,1.55fr) minmax(250px,1.2fr) minmax(145px,.75fr) minmax(140px,.7fr);align-items:stretch;gap:0;min-width:0;border-left:1px solid #263847;box-shadow:none;min-height:86px;transform:none;}
.public-server:hover{border-color:#42586b;transform:none;}
.stats-strip{margin-bottom:10px;}
.stats-table-wrap{overflow:auto;background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--line);margin-top:16px;}
.stats-table{width:100%;border-collapse:collapse;min-width:680px;}
.stats-table th,.stats-table td{padding:13px 15px;border-bottom:1px solid #182533;text-align:left;font-size:11px;}
.stats-table th{color:#7b8d9f;font:800 10px 'Barlow Condensed';letter-spacing:1.5px;background:#070c13;}
.stats-table td{color:#dce5ee;}
.stats-table tbody tr:hover{background:#0a121c;}
.stats-table td:nth-child(n+2){color:#93a4b6;}
.stats-table td:last-child{color:#e8b94b;font-weight:800;}
/* --- UX readability + operational grouping --- */
body{font-size:15px}
/* Discord CTA: visibility + subtle attention animation */
.discord{
  position:relative;
  overflow:hidden;
  border-color:#5865f2;
  background:linear-gradient(135deg,#5865f2,#4752c4);
  color:#fff;
  box-shadow:0 0 0 1px rgba(88,101,242,.22),0 6px 22px rgba(88,101,242,.28);
  animation:discordPulse 3s ease-in-out infinite;
}
.discord:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.24) 45%,transparent 70%);transform:translateX(-120%);animation:discordShine 4.5s ease-in-out infinite;pointer-events:none;}
@keyframes discordPulse{
  0%,100%{box-shadow:0 0 0 1px rgba(88,101,242,.22),0 6px 22px rgba(88,101,242,.28)}
  50%{box-shadow:0 0 0 1px rgba(114,137,255,.42),0 6px 30px rgba(88,101,242,.48)}
}
@keyframes discordShine{
  0%,45%{transform:translateX(-120%)}
  65%,100%{transform:translateX(120%)}
}
@media(prefers-reduced-motion:reduce){.discord,.discord:before{animation:none}
}
.sync-pill,.discord{font-size:11px;}
/* New hero: cleaner banner, no oversized command-center card */
.hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:80px}
.hero-panel{position:absolute;align-self:flex-end;padding:10px 12px;border:1px solid rgba(190,207,220,.25);background:rgba(4,10,16,.84);backdrop-filter:blur(4px);clip-path:none;box-shadow:0 18px 45px rgba(0,0,0,.35);right:auto;bottom:28px;width:min(420px,34vw);max-width:420px;z-index:10;left:50%;transform:translateX(-50%);margin-bottom:0;margin:0 0 0 auto;justify-self:end;display:block;border-radius:0;}
.hero-panel:before{content:"";position:absolute;left:0;top:0;width:44px;height:2px;background:var(--red);display:none;}
.hero-panel-title{padding:0 0 6px;font:900 58px/.8 'Barlow Condensed';letter-spacing:1.5px;color:#e9eef3;text-shadow:0 8px 30px #000;font-size:32px;line-height:.9;white-space:nowrap;display:flex;align-items:baseline;gap:12px;justify-content:center;text-align:center;}
.hero-panel-title strong{font-size:1em;letter-spacing:2px;color:#8e9cab;}
.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;}
.hero-metrics>div{padding:5px 6px;background:rgba(7,12,19,.82);border:1px solid #1b2a39;min-height:0;text-align:center;}
.hero-metrics span{display:block;color:#718296;font:800 9px 'Barlow Condensed';letter-spacing:1.4px;font-size:10px;text-align:center;}
.hero-metrics strong{display:block;margin-top:4px;font:900 31px/.9 'Barlow Condensed';color:#fff;font-size:23px;line-height:1;text-align:center;}
/* Member groups */
.member-groups{display:grid;gap:28px}
.member-group{border:1px solid var(--line);background:rgba(6,11,17,.5);}
.member-group-head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#0c151f,rgba(8,13,19,.65));}
.member-group-head:before{content:"";position:absolute;}
.group-kicker{display:block;color:#8797a8;font:800 11px 'Barlow Condensed';letter-spacing:2px;margin-bottom:5px;}
.member-group-head h3{margin:0;font:900 36px/.9 'Barlow Condensed';letter-spacing:1px;}
.member-group-head>strong{font:800 12px 'Barlow Condensed';letter-spacing:1.4px;color:#9cabb9;}
.member-group-bac .member-group-head{border-left:3px solid var(--red);}
.member-group-recrues .member-group-head{border-left:3px solid var(--gold);}
.member-group-reserve .member-group-head{border-left:3px solid #5e91bd;}
.member-group .members-grid{padding:14px;}
.group-empty{padding:24px;border:1px dashed #263544;color:#68798b;font-size:12px;text-align:center;background:#070c13;}
.member-group-reserve .group-empty{color:#728ca4;}
/* Keep the visual hierarchy on smaller screens */
@media(max-width:1000px){
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .hero-panel{max-width:620px}
  .server-zone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){.section h2{font-size:47px}.hero-panel{display:none}.member-group-head{align-items:start;flex-direction:column}
}
/* --- Phase 1: personnel cards --- */
.member{min-height:112px;padding:15px 16px}
.member.member-bac:before{background:var(--red);}
.member.member-recrues:before{background:var(--gold);}
.member.member-reserve:before{background:#5e91bd;}
.avatar img{width:100%;height:100%;display:block;object-fit:cover;}
.avatar .avatar-initial{position:absolute;inset:0;display:grid;place-items:center;}
.member-presence{position:absolute;right:-4px;bottom:-3px;width:11px;height:11px;border-radius:50%;background:#3a4652;border:2px solid #09111a;}
.member-presence.member-discord-status-idle{background:var(--gold);box-shadow:0 0 7px rgba(232,185,75,.55);}
.member-presence.member-discord-status-dnd{background:var(--red);box-shadow:0 0 7px rgba(230,44,57,.55);}
.wardogs-online-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 5px;border:1px solid rgba(73,209,126,.45);color:var(--green);font:800 8px 'Barlow Condensed';letter-spacing:.7px;}
.member-name-line{display:flex;align-items:center;gap:7px;min-width:0;}
.member-name-line>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.membership-badge,.unregistered-badge{display:inline-flex;align-items:center;padding:3px 6px;border:1px solid #344255;background:#08101a;font:800 8px 'Barlow Condensed';letter-spacing:1px;white-space:nowrap;}
.membership-bac{border-color:rgba(230,44,57,.55);color:#f28a91;}
.membership-recrues{border-color:rgba(232,185,75,.55);color:#e8c66f;}
.membership-reserve{border-color:rgba(94,145,189,.55);color:#8db5d7;}
.unregistered-badge{color:#738497;border-color:#293847;}
.level strong{font:900 18px/.9 'Barlow Condensed';color:#fff;}
.level span{font:800 9px 'Barlow Condensed';letter-spacing:.7px;color:#718296;}
@media(max-width:700px){.member{min-height:100px;padding:13px}.member-name-line{align-items:flex-start;flex-wrap:wrap}.membership-badge{margin-top:1px}.level{min-width:52px}.level strong{font-size:16px}
}
/* --- Phase 2: Wardogs server cards --- */
.public-server{transition:.2s;border-left:2px solid transparent}
.copy-join{border:1px solid #263747;background:#09111a;color:#8ea0b2;padding:7px 9px;font:800 9px 'Barlow Condensed';letter-spacing:1px;cursor:pointer;transition:.18s;}
.copy-join:hover{border-color:#52697e;color:#e8edf2;background:#0d1722;}
.copy-join.copied{border-color:rgba(73,209,126,.5);color:#7de3a5;}
/* --- Phase 3: operations center --- */
.operation-card{position:relative;overflow:hidden;padding:20px}
.operation-card:after{content:"";position:absolute;top:0;right:0;width:2px;height:100%;background:#334354;}
.operation-card.operation-upcoming:after{background:var(--gold);}
.operation-card.operation-running:after{background:var(--green);box-shadow:0 0 14px rgba(73,209,126,.55);}
.operation-card.operation-done{opacity:.72;}
.operation-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.operation-game{font:800 10px 'Barlow Condensed';letter-spacing:1.4px;color:#73869a;}
.operation-date{margin-top:16px;font:800 13px 'Barlow Condensed';letter-spacing:1px;color:#d5dce3;}
.operation-card h3{margin:7px 0 6px;font-size:25px;}
.operation-description{min-height:38px;color:#8292a3;}
.operation-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px;}
.operation-meta>span{display:flex;flex-direction:column;gap:4px;padding:9px 10px;background:#080f17;border:1px solid #1e2b38;}
.operation-meta small{font:800 9px 'Barlow Condensed';letter-spacing:1px;color:#66788a;}
.operation-meta b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.operation-squads{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;}
.operation-squad{display:inline-flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid #253544;background:#0a121b;}
.operation-squad b{font:800 10px 'Barlow Condensed';letter-spacing:.7px;}
.operation-squad small{color:#7e90a3;font:800 9px 'Barlow Condensed';}
.operation-status{border-color:#354352;}
.operation-running .operation-status{border-color:rgba(73,209,126,.45);color:#7de3a5;}
.operation-upcoming .operation-status{border-color:rgba(232,185,75,.45);color:#e8c66f;}
.operation-done .operation-status{color:#728395;}
@media(max-width:700px){.operation-card{padding:16px}.operation-card h3{font-size:22px}.operation-meta{grid-template-columns:1fr}.operation-date{font-size:12px}
}
/* --- Phase 4: statistics insights --- */
.stats-insights{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-top:16px}
.stats-chart-panel,.stats-history-panel{min-width:0;}
.presence-bars{display:flex;flex-direction:column;gap:13px;}
.presence-bar-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px;font:800 12px 'Barlow Condensed';letter-spacing:.6px;}
.presence-bar-head span{color:#73869a;}
.presence-track{height:7px;background:#0b141e;border:1px solid #1d2b39;overflow:hidden;}
.presence-track i{display:block;height:100%;background:var(--red);box-shadow:0 0 9px rgba(230,44,57,.25);}
.stats-history{display:grid;gap:9px;}
.stats-history>div{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:#080f17;border:1px solid #1d2b38;}
.stats-history span{font:800 9px 'Barlow Condensed';letter-spacing:1px;color:#73869a;}
.stats-history strong{font:900 20px 'Barlow Condensed';color:#eef2f5;}
@media(max-width:850px){.stats-insights{grid-template-columns:1fr}}
/* --- Phase 5: BAC organization --- */
.org-hierarchy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.org-rank{border:1px solid var(--line);background:linear-gradient(145deg,#0b141e,#070c13);min-width:0;overflow:hidden;}
.org-rank-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px;border-bottom:1px solid var(--line);}
.org-rank-title{display:flex;align-items:center;gap:10px;min-width:0;}
.org-rank-title img{width:34px;height:34px;object-fit:contain;}
.org-rank-title h3{margin:3px 0 0;font:900 20px/.9 'Barlow Condensed';white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.org-rank-head>strong{font:900 22px 'Barlow Condensed';color:#dce5ee;}
.org-rank-squadleader{border-top:2px solid #8998a8;}
.org-rank-teamleader{border-top:2px solid #a98331;}
.org-rank-instructeur{border-top:2px solid #416f96;}
.org-people{display:grid;gap:5px;padding:8px;}
.org-person{display:flex;align-items:center;gap:9px;padding:8px;background:#080f17;border:1px solid #182533;min-width:0;}
.org-avatar{position:relative;width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;overflow:hidden;border:1px solid #334457;background:#152231;font:900 11px 'Barlow Condensed';color:#dce5ee;}
.org-avatar img{width:100%;height:100%;display:block;object-fit:cover;}
.org-person-main{min-width:0;flex:1;}
.org-person-main b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.org-person-main small{display:block;margin-top:2px;color:#7c8e9f;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.org-person>strong{font:800 10px 'Barlow Condensed';color:#8798a9;white-space:nowrap;}
.org-empty{display:block;padding:15px 10px;text-align:center;color:#536577;font-size:9px;border:1px dashed #1d2b39;}
.org-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:42px 0 10px;padding-bottom:10px;border-bottom:1px solid var(--line);}
.org-section-head h3{margin:4px 0 0;font:900 31px/.9 'Barlow Condensed';letter-spacing:.8px;}
.org-section-head>span{color:#66788a;font:800 9px 'Barlow Condensed';letter-spacing:1.2px;}
.org-specialties{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.org-specialty{padding:14px;border:1px solid var(--line);background:linear-gradient(145deg,#0a121b,#070c13);}
.org-specialty-head{display:flex;justify-content:space-between;align-items:center;}
.org-specialty-head strong{font:900 19px 'Barlow Condensed';color:#e8b94b;}
.org-specialty h3{margin:8px 0 10px;font:900 21px/.95 'Barlow Condensed';}
.org-specialty-list{display:flex;flex-wrap:wrap;gap:5px;}
.org-specialty-list span{padding:5px 7px;border:1px solid #243443;background:#0b141e;color:#93a4b5;font-size:10px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:1050px){.org-hierarchy{grid-template-columns:repeat(2,minmax(0,1fr))}.org-specialties{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){.org-section-head{align-items:start;flex-direction:column}.org-rank-title h3{font-size:18px}
}
/* --- Phase 6: final UX / responsive polish --- */
html{scroll-behavior:smooth;scroll-padding-top:82px}
.topbar nav a{transition:color .18s ease,background .18s ease;}
.topbar nav a:hover{color:#eef2f5;background:rgba(255,255,255,.025);}
.stat-card:hover,.panel:hover{border-color:#304354;}
.operation-card:hover{border-color:#34485a;transform:translateY(-1px);}
.search::placeholder{color:#536577;}
.member,.public-server,.event-card{contain:layout paint;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}
}
@media(max-width:700px){html{scroll-padding-top:65px}.topbar{position:sticky}.stat-card{min-height:118px}.stats-table-wrap{margin-left:-1px;margin-right:-1px}
}
/* BAC community programme */
.programme-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 16px}
.programme-head h2{margin:4px 0 0;}
.programme-legend{display:flex;gap:14px;font-size:11px;letter-spacing:.08em;white-space:nowrap;}
.community-programme{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:28px;}
@media(max-width:900px){.community-programme{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.programme-head{align-items:flex-start;flex-direction:column;gap:10px}.community-programme{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Medium screens: keep the card horizontal while giving each information group
   enough room to remain readable. */
@media(max-width:1000px){
  .server-zone-grid{
    grid-template-columns:1fr;
  }

  .public-server{
    grid-template-columns:minmax(210px,1fr) minmax(260px,1.25fr);
  }

  .public-server-head{
    grid-column:1 / -1;
  }

  .public-server-foot{
    justify-self:start;
  }

  .public-server-actions{
    justify-self:end;
  }
}
/* Mobile: stack only when the viewport genuinely cannot support a readable row. */
@media(max-width:700px){
  .server-zone-grid{
    grid-template-columns:1fr;
  }

  .public-server{
    grid-template-columns:1fr;
    gap:10px;
  }

  .public-server-head,
  .public-server-data,
  .public-server-foot,
  .public-server-actions{
    grid-column:auto;
  }

  .public-server-data{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .public-server-foot{
    justify-self:stretch;
  }

  .public-server-actions{
    justify-self:stretch;
  }

  .copy-join{
    width:100%;
  }
}
/* --- Phase 7: mobile navigation --- */
.mobile-menu-toggle{
  display:none;
  width:40px;
  height:40px;
  padding:9px;
  border:1px solid #263747;
  background:#09111a;
  color:#e8edf2;
  cursor:pointer;
  flex:0 0 40px;
}
.mobile-menu-toggle span{display:block;width:100%;height:2px;margin:4px 0;background:#c8d2dc;transition:transform .18s ease,opacity .18s ease;}
body.mobile-menu-open{overflow:hidden;}
@media(max-width:700px){.topbar{
    min-height:65px;
    height:65px;
    padding:0 14px;
    gap:8px;
  }.brand{min-width:0;flex:1}.brand-mark{width:40px;height:40px;flex:0 0 40px}.brand img{width:35px;height:35px}.brand-copy b{font-size:23px}.top-actions{
    flex:0 0 auto;
    gap:6px;
  }.mobile-menu-toggle{
    display:block;
    order:2;
  }.top-actions .discord{
    order:1;
    padding:9px 9px;
    font-size:8px;
  }.topbar nav{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    top:65px;
    z-index:60;
    padding:10px 14px 14px;
    flex-direction:column;
    gap:5px;
    background:rgba(5,9,15,.98);
    border-bottom:1px solid #263544;
    box-shadow:0 20px 40px rgba(0,0,0,.4);
    transform:translateY(-115%);
    opacity:0;
    pointer-events:none;
    transition:transform .2s ease,opacity .2s ease;
  }.topbar nav.is-open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }.topbar nav a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:0 12px;
    border:1px solid #182533;
    background:#080f17;
    font-size:11px;
  }.topbar nav a span{
    width:25px;
    color:#627386;
  }.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
  }.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }.hero{
    min-height:620px;
    padding:76px 5vw 54px;
  }.hero h1{
    font-size:clamp(50px,15vw,66px);
    letter-spacing:0;
  }.hero h1 strong{letter-spacing:2px}.section{    padding-left:5vw;
    padding-right:5vw;
  }.section h2{font-size:clamp(38px,11vw,47px)}.section-note{font-size:12px}.programme-head{margin-bottom:13px}.programme-legend{
    gap:9px;
    font-size:10px;
  }.community-programme{
    gap:6px;
    margin-bottom:22px;
  }.stats-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }.stats-table{min-width:620px}.operation-banner{padding:23px 19px}.operation-banner h2{font-size:30px;line-height:.95}.operation-banner p:not(.eyebrow){font-size:11px}footer{
    padding:22px 5vw;
    flex-direction:column;
    gap:7px;
    line-height:1.5;
  }
}
@media(max-width:380px){.topbar{padding:0 10px}.brand-mark{width:36px;height:36px;flex-basis:36px}.brand img{width:31px;height:31px}.brand-copy b{font-size:21px}.top-actions .discord{display:none}.mobile-menu-toggle{width:38px;height:38px;flex-basis:38px}.hero{padding-left:6vw;padding-right:6vw}.community-programme{
    grid-template-columns:1fr 1fr;
  }.operation-meta{gap:6px}
}
/* --- Phase 8: mobile-first information density --- */
@media(max-width:700px){
  .topbar nav{
    max-height:calc(100dvh - 65px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }

  .hero{
    min-height:590px;
    display:block;
  }
  .hero-copy{
    padding-top:10px;
  }
  .hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .hero-actions .btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    padding:12px 14px;
  }

  .hero-status{
    position:absolute;
    left:5vw;
    right:5vw;
    bottom:22px;
    margin:0;
    justify-content:space-between;
    gap:8px;
  }
  .hero-status span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .stat-grid{
    gap:7px;
  }
  .stat-card{
    padding:15px;
  }
  .stat-card strong{
    font-size:42px;
    margin:9px 0 5px;
  }
  .stat-card span{
    font-size:10px;
  }

  .dashboard-grid{
    gap:8px;
  }
  .panel{
    padding:15px;
  }
  .panel-title{
    font-size:11px;
    letter-spacing:1.4px;
  }
  .live-server-card{
    grid-template-columns:1fr 1fr;
  }
  .live-row{
    padding:10px;
    align-items:flex-start;
  }
  .live-meta{
    max-width:44%;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .member-group{
    border-left:0;
    border-right:0;
  }
  .member-group .members-grid{
    padding:8px;
  }
  .member{
    min-width:0;
  }
  .member-info{
    min-width:0;
  }
  .member-name-line{
    gap:5px;
  }
  .membership-badge{
    flex:0 0 auto;
  }

  .server-zone-head{
    padding:15px;
  }
  .server-zone-head h3{
    font-size:26px;
  }
  .public-server{
    padding:13px;
  }
  .public-server-data b{
    font-size:12px;
  }

  .stats-insights{
    gap:8px;
  }
  .presence-bar-head{
    font-size:11px;
  }
  .stats-history>div{
    padding:11px;
  }
  .stats-table th,.stats-table td{
    padding:11px 12px;
  }

  .org-rank-head{
    padding:13px;
  }
  .org-people{
    padding:7px;
  }
  .org-person{
    padding:7px;
  }
  .org-function-members{
    max-height:none;
  }

  .operation-banner{
    margin:0 -1px;
  }
  .event-cards{
    gap:8px;
  }
  .operation-card{
    padding:15px;
  }
}
@media(max-width:420px){.hero h1{
    font-size:clamp(46px,14.5vw,60px);
  }.hero h1 strong{
    font-size:.53em;
    letter-spacing:1.5px;
  }.stat-grid{
    grid-template-columns:1fr 1fr;
  }.stat-card{
    min-height:112px;
    padding:13px;
  }.stat-card strong{
    font-size:36px;
  }.stat-card small{
    display:block;
    font-size:9px;
    line-height:1.3;
  }.member{
    gap:8px;
  }.avatar{
    width:44px;
    height:44px;
    flex-basis:44px;
  }.member-info>b{
    font-size:13px;
  }.member-info small{
    font-size:10px;
  }.level{
    min-width:48px;
  }.level strong{
    font-size:15px;
  }.level span{
    font-size:8px;
  }.operation-meta b{
    white-space:normal;
    line-height:1.25;
  }
}
@media(max-width:360px){.brand-copy b{
    font-size:20px;
  }.mobile-menu-toggle{
    width:36px;
    height:36px;
    flex-basis:36px;
    padding:8px;
  }.hero{
    min-height:575px;
  }.section{
    padding-left:4.5vw;
    padding-right:4.5vw;
  }.section h2{
    font-size:36px;
  }.programme-legend{
    flex-direction:column;
    gap:3px;
  }.community-programme{
    gap:5px;
  }
}
/* --- Phase 9: operation detail center --- */
.operation-card{cursor:pointer}
.operation-card:focus-visible{outline:2px solid #71869a;outline-offset:2px;}
.operation-modal[hidden]{display:none;}
.operation-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;}
.operation-modal-backdrop{position:absolute;inset:0;background:rgba(2,5,9,.78);backdrop-filter:blur(8px);}
.operation-modal-dialog{position:relative;width:min(860px,100%);max-height:min(88vh,820px);overflow:auto;background:#080f17;border:1px solid #34485a;box-shadow:0 30px 90px rgba(0,0,0,.55);padding:28px;}
.operation-modal-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:1px solid #293b4c;background:#0b151f;color:#aab7c4;font:700 24px/1 Arial;cursor:pointer;}
.operation-modal-close:hover{color:#fff;border-color:#506477;}
.operation-modal-open{overflow:hidden;}
.operation-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-right:42px;}
.operation-modal-head h2{margin:5px 0 0;font:900 clamp(30px,5vw,48px)/.92 'Barlow Condensed';letter-spacing:.6px;}
.operation-modal-description{margin:20px 0 0;color:#9aabba;font-size:13px;line-height:1.65;max-width:760px;}
.operation-modal-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:20px;}
.operation-modal-meta div{padding:12px;background:#0b141e;border:1px solid #1d2b39;min-width:0;}
.operation-modal-meta small{display:block;color:#66798b;font:800 9px 'Barlow Condensed';letter-spacing:1px;}
.operation-modal-meta b{display:block;margin-top:5px;color:#e1e8ee;font:900 14px 'Barlow Condensed';white-space:normal;}
.operation-modal-section{margin-top:24px;}
.operation-modal-section-title{margin-bottom:9px;color:#718497;font:900 10px 'Barlow Condensed';letter-spacing:1.5px;}
.operation-modal-squads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.operation-modal-squad{border:1px solid #1d2b39;background:#070e15;min-width:0;}
.operation-modal-squad header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #1d2b39;}
.operation-modal-squad header small{display:block;color:#718497;font:800 8px 'Barlow Condensed';letter-spacing:1px;}
.operation-modal-squad header h3{margin:3px 0 0;color:#e5ebf0;font:900 19px 'Barlow Condensed';}
.operation-modal-squad header strong{font:900 18px 'Barlow Condensed';color:#e8b94b;}
.operation-modal-squad ul{list-style:none;margin:0;padding:7px;}
.operation-modal-squad li{display:flex;justify-content:space-between;gap:8px;padding:8px;border-bottom:1px solid #162331;color:#d5dee6;font-size:10px;}
.operation-modal-squad li:last-child{border-bottom:0;}
.operation-modal-squad li span{color:#74879a;text-align:right;}
.operation-modal-empty,.operation-modal-empty-block{color:#596c7e;font-size:10px;}
.operation-modal-empty-block{padding:16px;border:1px dashed #273746;text-align:center;}
@media(max-width:700px){.operation-modal{padding:10px}.operation-modal-dialog{padding:20px 16px;max-height:94vh}.operation-modal-head{display:block;padding-right:34px}.operation-modal-head .tag{display:inline-block;margin-top:14px}.operation-modal-meta{grid-template-columns:1fr 1fr}.operation-modal-squads{grid-template-columns:1fr}
}
.operation-modal-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.operation-modal-live-grid div{padding:12px;background:#0b141e;border:1px solid #1d2b39;min-width:0;}
.operation-modal-live-grid small{display:block;color:#66798b;font:800 8px 'Barlow Condensed';letter-spacing:1px;}
.operation-modal-live-grid b{display:block;margin-top:5px;color:#e5ebf0;font:900 18px 'Barlow Condensed';}
@media(max-width:700px){.operation-modal-live-grid{grid-template-columns:1fr 1fr}}
.player-profile-list{display:flex;flex-wrap:wrap;gap:8px;}
.player-profile-list span{display:inline-flex;padding:7px 10px;border:1px solid #1d2b39;background:#0b141e;color:#b8c4ce;font:700 11px 'Barlow Condensed';letter-spacing:.4px;}
.member[data-player-profile="true"]{cursor:pointer;}
.member[data-player-profile="true"]:focus-visible{outline:1px solid #d7e0e7;outline-offset:2px;}
.player-history-list{display:grid;gap:6px;}
.player-history-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #1d2b39;background:#0b141e;}
.player-history-list span{color:#b8c4ce;font:700 11px 'Barlow Condensed';overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.player-history-list b{color:#e5ebf0;font:900 11px 'Barlow Condensed';white-space:nowrap;}
.player-progress{margin:14px 0 18px;padding:12px;border:1px solid #1d2b39;background:#0b141e;}
.player-progress-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#718496;font:800 9px 'Barlow Condensed';letter-spacing:.08em;align-items:center;font-size:11px;text-transform:uppercase;}
.player-progress-head b{color:#e5ebf0;font-size:12px;letter-spacing:.04em;}
.player-progress-note{margin-top:8px;color:#66798b;font:600 10px 'Barlow Condensed';font-size:11px;opacity:.58;}
.stats-recent-wrap{margin-top:18px;padding:14px;border:1px solid #1d2b39;background:#0b141e;}
.stats-recent-list{display:grid;gap:6px;margin-top:10px;}
.stats-recent-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #182532;background:#0a1118;}
.stats-recent-item b{display:block;color:#dbe3e9;font:800 12px 'Barlow Condensed';}
.stats-recent-item small{display:block;margin-top:3px;color:#66798b;font:600 10px 'Barlow Condensed';}
.stats-recent-item strong{color:#9eabb5;font:800 9px 'Barlow Condensed';letter-spacing:1px;white-space:nowrap;}
.operation-presence-list{display:grid;gap:6px;}
.operation-presence-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #1d2b39;background:#0b141e;}
.operation-presence-row span{min-width:0;}
.operation-presence-row b{display:block;color:#dbe3e9;font:800 11px 'Barlow Condensed';}
.operation-presence-row small{display:block;margin-top:2px;color:#66798b;font:600 9px 'Barlow Condensed';}
.operation-presence-row strong{color:#e5ebf0;font:900 12px 'Barlow Condensed';white-space:nowrap;}
.operation-squad-presence-list{display:grid;gap:6px;}
.operation-squad-presence-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #1d2b39;background:#0b141e;}
.operation-squad-presence-row span{min-width:0;}
.operation-squad-presence-row b{display:block;color:#dbe3e9;font:800 11px 'Barlow Condensed';}
.operation-squad-presence-row small{display:block;margin-top:2px;color:#66798b;font:600 9px 'Barlow Condensed';}
.operation-squad-presence-row strong{color:#e5ebf0;font:900 12px 'Barlow Condensed';white-space:nowrap;}
.player-history-list small{display:block;margin-top:2px;color:#66798b;font:600 9px 'Barlow Condensed';}
/* --- Hero composition: full banner + balanced exposure + centered messaging --- */
.hero{
  min-height:545px;
  height:min(680px,26.61vw);
  padding:72px 7vw 48px;
  background-image:
    linear-gradient(rgba(3,6,10,.43),rgba(3,6,10,.43)),
    linear-gradient(0deg,rgba(5,8,13,.28),transparent 36%),
    url('/assets/bac-operation1.png');
  background-size:100% 100%,100% 100%,100% 100%;
  background-position:center top;
  background-repeat:no-repeat;
}
.hero-copy .eyebrow{justify-content:center;margin-bottom:10px;display:none;align-items:center;color:#d7dfe7;text-shadow:0 4px 18px #000;}
@media(max-width:1200px){.hero-copy{
    left:42%;
    width:min(560px,43vw);
  }.hero-panel{width:min(460px,34vw)}
}
@media(max-width:1000px){.hero{
    height:680px;
    min-height:680px;
    background-size:cover;
    background-position:center center;
  }.hero-grid{height:auto;min-height:100%}.hero-copy{
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    width:min(700px,100%);
    max-width:700px;
    margin:130px auto 0;
  }.hero-panel{
    position:absolute;
    right:0;
    bottom:0;
    width:min(520px,70vw);
  }
}
@media(max-width:700px){.hero{
    min-height:590px;
    height:auto;
    padding:76px 6vw 48px;
    background-size:cover;
    background-position:center center;
  }.hero-grid{min-height:0}.hero-copy{
    margin:0 auto;
    width:100%;
    max-width:620px;
  }
}
/* --- Hero final composition: Brigade above Operation, BAC module centered low --- */
.hero{
  background-image:
    linear-gradient(rgba(3,6,10,.43),rgba(3,6,10,.43)),
    linear-gradient(0deg,rgba(5,8,13,.28),rgba(5,8,13,.28)),
    url('/assets/bac-operation1.png');
  background-size:100% 100%,100% 100%,100% 100%;
  background-position:center top;
}
@media(max-width:1200px){.hero-copy{
    left:50%;
    width:min(700px,68vw);
  }.hero-panel{
    width:min(540px,48vw);
  }
}
@media(max-width:1000px){.hero{
    min-height:680px;
    height:680px;
    background-size:cover;
    background-position:center center;
  }.hero-copy{
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    width:min(760px,100%);
    margin:55px auto 0;
  }.hero-panel{
    position:absolute;
    left:50%;
    right:auto;
    bottom:28px;
    width:min(560px,78vw);
  }
}
@media(max-width:700px){.hero{
    min-height:650px;
    height:650px;
    padding:76px 6vw 35px;
  }.hero-copy{
    margin:0 auto;
    width:100%;
  }.hero h1{
    font-size:54px;
  }.hero-panel{
    width:calc(100% - 12vw);
    bottom:22px;
  }.hero-panel-title{
    font-size:42px;
  }
}
/* --- Final hero composition --- */
.hero{
  min-height:680px;
  padding:72px 5vw 62px;
  display:flex;
  align-items:stretch;
  background-image:url('/assets/bac-operation1.png');
  background-size:100% 100%;
  background-position:center top;
  background-repeat:no-repeat;
}
.hero h1 br{display:none;}
.hero-operation-tagline{margin-top:10px;font:800 clamp(10px,1vw,15px)/1 'Barlow Condensed',sans-serif;letter-spacing:5px;color:#e8edf1;text-shadow:0 3px 12px rgba(0,0,0,.95);display:block;position:absolute;top:34%;left:50%;transform:translateX(-50%);margin:0;z-index:9;width:max-content;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:clamp(10px,1vw,16px);line-height:1;}
@media(max-width:1000px){.hero{
    min-height:660px;
    padding:70px 4vw 55px;
    background-size:cover;
    background-position:center top;
  }.hero h1{font-size:clamp(46px,7vw,76px);white-space:normal}.hero-panel{width:min(560px,78vw)}
}
@media(max-width:700px){.hero{
    min-height:680px;
    padding:80px 5vw 55px;
    background-size:auto 100%;
    background-position:center top;
  }.hero-copy{margin-top:10px}.hero h1{font-size:clamp(39px,12vw,62px);line-height:.86}.hero-operation-tagline{letter-spacing:3px}.hero-panel{display:block;width:min(92vw,480px);padding:16px}.hero-panel-title{font-size:39px}.hero-metrics strong{font-size:25px}
}
/* --- Final hero: match supplied reference composition --- */
.hero{
  min-height:0;
  height:calc(100vh - 72px);
  max-height:calc(100vh - 72px);
  padding:0 0 22px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  background-image:url('/assets/bac-operation1.png');
  background-size:100% 100%;
  background-position:center center;
  background-repeat:no-repeat;
}
@media(max-width:1000px){.hero{
    height:calc(100vh - 64px);
    max-height:calc(100vh - 64px);
    min-height:500px;
    background-size:cover;
    background-position:center center;
  }.hero-panel{
    width:min(400px,42vw);
  }
}
@media(max-width:700px){.hero{
    height:calc(100svh - 62px);
    max-height:none;
    min-height:520px;
    padding:0 0 14px;
    background-size:auto 100%;
    background-position:center center;
  }.hero-panel{
    width:calc(100% - 32px);
    max-width:420px;
    padding:12px;
  }.hero-panel-title{
    font-size:29px;
  }.hero-metrics strong{
    font-size:21px;
  }
}
.community-empty{padding:18px;border:1px dashed rgba(255,255,255,.12);color:#7f90a1;font:700 12px 'Barlow Condensed';letter-spacing:1px;}
/* --- Ops Center hierarchy --- */
.ops-event-group{margin-top:24px}
.ops-event-group:first-child{margin-top:0;}
.ops-event-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08);}
.ops-event-group-head span{display:block;font:800 9px 'Barlow Condensed';letter-spacing:2px;color:#8191a2;}
.ops-event-group-head h3{margin:3px 0 0;font:900 28px/1 'Barlow Condensed';letter-spacing:1.2px;color:#eef2f5;}
.ops-event-group-head strong{font:800 10px 'Barlow Condensed';letter-spacing:1.3px;color:#8191a2;text-transform:uppercase;}
.ops-tonight{padding:14px;border:1px solid rgba(211,61,70,.32);background:linear-gradient(90deg,rgba(211,61,70,.06),rgba(8,13,20,.18));box-shadow:inset 3px 0 0 #d33d46;}
.ops-tonight .ops-event-group-head{border-bottom-color:rgba(211,61,70,.18);}
.ops-tonight .operation-card{border-color:rgba(211,61,70,.3);box-shadow:0 0 24px rgba(211,61,70,.07);width:100%;min-width:0;}
.ops-upcoming .event-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.ops-upcoming .event-cards>.event-card{margin:0;}
@media(max-width:800px){.ops-upcoming .event-cards{grid-template-columns:1fr}.ops-event-group-head{align-items:flex-start;flex-direction:column;gap:5px}
}
/* --- Final correction: community programme is stacked, not a 7-column parent --- */
.community-programme{
  display:block;
  width:100%;
  margin:0;
}
/* --- Final hero text hierarchy --- */
.hero{
  background-image:url('/assets/bac-operation1.png');
  background-size:100% 100%;
  background-position:center center;
  background-repeat:no-repeat;
}
@media(max-width:1000px){.hero-copy{
    top:19%;
    width:90vw;
  }.hero h1{font-size:clamp(28px,5.5vw,52px)}
}
@media(max-width:700px){.hero-copy{
    top:13%;
    width:94vw;
  }.hero h1{font-size:clamp(25px,7vw,42px)}.hero-operation-tagline{font-size:9px;letter-spacing:3px}
}
/* FINAL HERO OVERRIDE — reference composition */
.hero{
  height:calc(100vh - 62px);
  min-height:620px;
  max-height:760px;
  padding:0;
  display:block;
  position:relative;
  overflow:hidden;
  background-image:url('/assets/bac-operation1.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
@media(max-width:1000px){.hero{height:calc(100vh - 64px);min-height:580px;background-size:cover}.hero-copy{top:8%;width:90vw}.hero h1{font-size:clamp(32px,5vw,52px)}.hero-panel{width:min(520px,50vw)}
}
@media(max-width:700px){.hero{height:calc(100svh - 62px);min-height:560px;background-position:center center}.hero-copy{top:7%;width:94vw}.hero h1{font-size:clamp(27px,7vw,42px);white-space:normal}.hero-operation-tagline{font-size:9px;letter-spacing:3px}.hero-panel{width:calc(100% - 28px);max-width:430px;bottom:16px;padding:13px}.hero-panel-title{font-size:31px}.hero-metrics strong{font-size:23px}
}
/* --- Final hero typography: use the artwork's existing OPERATION and add only the missing S --- */
.hero-copy{
  top:6%;
  width:min(1200px,90vw);
}
@media(max-width:1000px){.hero-copy{top:6%;width:94vw}.hero h1{font-size:clamp(28px,4.8vw,52px)}.hero-operation-tagline{
    top:clamp(125px,15vw,175px);
    font-size:9px;
    letter-spacing:3px;
  }
}
@media(max-width:700px){.hero-copy{top:5%}.hero h1{font-size:clamp(24px,7vw,40px)}.hero-operation-tagline{
    top:clamp(104px,18vw,132px);
    width:90vw;
    font-size:8px;
    letter-spacing:2.5px;
    text-align:center;
  }
}
/* --- Final alignment pass: text follows the artwork, never overlaps the background title --- */
.hero-copy{
  position:absolute;
  inset:0;
  left:0;
  top:0;
  transform:none;
  width:100%;
  height:100%;
  max-width:none;
  margin:0;
  pointer-events:none;
  text-align:center;
}
.hero-copy h1{position:absolute;top:5.5%;left:50%;transform:translateX(-50%);width:100%;margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:clamp(30px,3.1vw,58px);line-height:1;letter-spacing:.7px;white-space:nowrap;color:#f1f3f5;text-shadow:0 4px 13px rgba(0,0,0,.95),0 0 2px rgba(255,255,255,.4);}
@media(max-width:1000px){.hero-copy h1{top:5%;font-size:clamp(28px,4.8vw,52px)}.hero-operation-tagline{top:19%;font-size:9px;letter-spacing:3px}
}
@media(max-width:700px){.hero-copy h1{
    top:4.5%;
    width:94vw;
    white-space:normal;
    font-size:clamp(24px,7vw,40px);
  }.hero-operation-tagline{
    top:17%;
    width:90vw;
    font-size:8px;
    letter-spacing:2.5px;
  }
}
/* --- HERO MICRO-ADJUSTMENT 20260919 --- */
.hero-copy h1{
  top:4%;
}
@media(max-width:1000px){.hero-copy h1{top:3.5%}.hero-operation-tagline{top:21%}
}
@media(max-width:700px){.hero-copy h1{top:3.5%}.hero-operation-tagline{top:20%}
}
.ops-event-list > .ops-event-group{display:block;width:100%;margin:0 0 30px;}
.ops-event-list > .ops-event-group:last-child{margin-bottom:0;}
.ops-event-list .event-cards{width:100%;margin-top:12px;}
.ops-tonight .event-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}
.ops-upcoming .operation-card{min-width:0;}
@media(max-width:800px){.ops-upcoming .event-cards{
    grid-template-columns:1fr;
  }
}
/* --- HERO SPACING PASS 2 20260919 --- */
.hero-copy h1{
  top:-1%;
}
@media(max-width:1000px){.hero-copy h1{top:-1%}.hero-operation-tagline{top:33%}
}
@media(max-width:700px){.hero-copy h1{top:-1%}.hero-operation-tagline{top:31%}
}
/* XP progression */
.player-progress{margin-top:12px;padding:12px 14px;border:1px solid var(--line,rgba(255,255,255,.1));background:rgba(255,255,255,.025)}
.player-progress-head span{opacity:.6;}
.player-progress-bar{height:5px;margin-top:10px;background:rgba(255,255,255,.08);overflow:hidden;}
.player-progress-bar i{display:block;height:100%;background:currentColor;transition:width .25s ease;}
.player-progress-meta{display:flex;justify-content:space-between;gap:10px;margin-top:7px;font-size:10px;opacity:.58;}
@media(max-width:600px){.player-progress-meta{display:block}.player-progress-meta span{display:block}.player-progress-meta span+span{margin-top:3px}
}
/* Public Wardogs servers: one clean panel per server, official first. */
.public-server-list{
  display:grid;
  gap:8px;
  width:100%;
}
.server-field-label{display:block;margin-bottom:7px;color:#708296;font:800 9px 'Barlow Condensed';letter-spacing:1.5px;text-transform:uppercase;font-size:10px;}
.server-type-badge{display:inline-flex;width:max-content;max-width:100%;padding:6px 9px;border:1px solid;font:900 10px 'Barlow Condensed';letter-spacing:.9px;}
.join-code-control{display:flex;align-items:center;gap:8px;min-width:0;}
.join-code-control code{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 10px;border:1px solid #304657;background:#09131d;color:#e3e9ee;font:800 12px 'Barlow Condensed';letter-spacing:.4px;font-size:14px;}
.join-code-control .copy-join{flex:0 0 auto;margin:0;padding:9px 12px;border:1px solid #405567;background:#0d1823;color:#f0f3f5;font:900 9px 'Barlow Condensed';letter-spacing:.7px;white-space:nowrap;font-size:10px;}
.join-code-control .copy-join:hover{border-color:#71869a;color:#fff;background:#101d29;}
.public-server-map b{color:#eef2f5;font:900 15px 'Barlow Condensed';white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:18px;}
.public-server-map b:before{content:'●';margin-right:7px;color:#e5ebef;font-size:8px;}
@media(max-width:1000px){.public-server{
    grid-template-columns:minmax(210px,1.5fr) minmax(120px,.8fr);
  }.public-server-join,
  .public-server-map{
    border-top:0;
  }
}
@media(max-width:700px){.public-server{grid-template-columns:1fr}.public-server-map{border-bottom:0}.join-code-control{width:100%}.join-code-control .copy-join{min-width:76px}
}
/* --- Reference layout: event showcase + WARDOGS live server rows --- */
.programme-section{padding-top:54px;padding-bottom:28px}
.programme-section .programme-head{display:none;}
.feature-event-card{min-width:0;overflow:hidden;border:1px solid #304251;background:linear-gradient(180deg,#0a121b,#070d14);box-shadow:0 12px 38px rgba(0,0,0,.25);cursor:pointer;}
.feature-event-card+.feature-event-card{border-left-color:#17232e;}
.feature-event-head{min-height:78px;padding:12px 18px 10px;border-bottom:1px solid #1e2b38;background:linear-gradient(180deg,rgba(11,20,30,.96),rgba(7,13,20,.86));}
.feature-event-kicker{display:flex;align-items:center;gap:10px;color:#9eabb7;font:800 10px 'Barlow Condensed';letter-spacing:1.8px;font-size:11px;}
.feature-event-kicker i{display:inline-block;width:22px;height:2px;background:#e54b55;position:relative;}
.feature-event-card.is-chill .feature-event-kicker i{background:#2f8cff;}
.feature-event-card.is-chill .feature-event-kicker i:before{border-color:#2f8cff;}
.feature-event-card.is-chill .feature-event-type{background:#2f8cff;}
.feature-event-card.is-chill .feature-event-detail{background:#2f8cff;}
.feature-event-card.is-chill{border-color:#30485e;}
.feature-event-card.is-chill:hover{border-color:#3b6b94;}
.feature-event-kicker i:before{content:'';position:absolute;left:0;top:-3px;width:6px;height:6px;border:1px solid #e54b55;transform:rotate(45deg);}
.feature-event-card h3{margin:6px 0 0;color:#f1f4f6;font:900 30px/.9 'Barlow Condensed';letter-spacing:1px;font-size:31px;line-height:1;}
.feature-event-icon{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:8px;border-radius:50%;background:#f1f4f6;color:#111820;font:900 15px Arial;vertical-align:2px;}
.feature-event-art{height:235px;position:relative;overflow:hidden;border-bottom:1px solid #263544;}
.feature-event-art img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.9) contrast(1.05) brightness(.82);transition:transform .35s ease,filter .35s ease;}
.feature-event-card:hover .feature-event-art img{transform:scale(1.025);filter:saturate(1) contrast(1.08) brightness(.9);}
.feature-event-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 35%,rgba(3,7,11,.86) 100%);pointer-events:none;}
.feature-event-type{position:absolute;left:27px;bottom:77px;z-index:2;padding:7px 10px;background:#e32f3e;color:white;font:900 10px 'Barlow Condensed';letter-spacing:1px;font-size:11px;}
.feature-event-art-copy{position:absolute;left:28px;bottom:20px;z-index:2;text-shadow:0 3px 10px #000;}
.feature-event-art-copy b{display:block;color:#fff;font:900 46px/.82 'Barlow Condensed';letter-spacing:1px;font-size:48px;line-height:.9;}
.feature-event-art-copy small{display:block;margin-top:8px;color:#d9e0e5;font:800 12px 'Barlow Condensed';letter-spacing:1.7px;font-size:13px;}
.feature-event-meta{min-height:82px;display:grid;grid-template-columns:1.15fr 1.3fr 1fr 1fr auto;align-items:center;background:#08111a;}
.feature-event-meta>div{height:100%;display:flex;align-items:center;gap:9px;padding:10px 14px;border-right:1px solid #1c2a36;min-width:0;}
.feature-event-meta .meta-icon{color:#eef2f5;font-size:25px;flex:0 0 auto;}
.feature-event-meta small{display:block;color:#8c9aa7;font:800 9px 'Barlow Condensed';letter-spacing:1.2px;font-size:10px;}
.feature-event-meta b{display:block;margin-top:4px;color:#edf2f6;font:800 11px 'Barlow Condensed';white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;}
.feature-event-detail{align-self:center;margin:9px 12px;padding:13px 16px;border:0;background:#e72e3c;color:#fff;font:900 10px 'Barlow Condensed';letter-spacing:.8px;white-space:nowrap;cursor:pointer;font-size:11px;}
.feature-event-detail span{font-size:19px;line-height:0;vertical-align:-2px;margin-left:7px;}
.feature-event-card:focus-visible{outline:2px solid #91a3b5;outline-offset:2px;}
/* Live servers: thumbnail + identity + join + map + population, matching the reference density. */
.live-section-actions{display:flex;align-items:center;gap:18px}
.live-refresh{display:inline-flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid #46596b;background:#0a121b;color:#edf2f6;font:900 10px 'Barlow Condensed';letter-spacing:.8px;cursor:pointer;}
.live-refresh span{font-size:18px;line-height:0;}
.live-refresh b{font-size:16px;font-weight:900;}
.live-refresh:hover{border-color:#718497;background:#101b26;}
.live-sync-dot{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#38df8b;box-shadow:0 0 10px rgba(56,223,139,.55);vertical-align:middle;}
.live-sync-dot.is-stale{background:#e8b94b;box-shadow:none;}
.public-server-list{display:grid;gap:5px;width:100%;}
.public-server-thumb{position:relative;min-width:0;min-height:86px;background-image:linear-gradient(90deg,rgba(4,9,14,.05),rgba(4,9,14,.3)),var(--server-map-image),url('/assets/bac-operation1.png');background-size:cover;background-position:center;overflow:hidden;}
.public-server-thumb-overlay{position:absolute;inset:0;background:linear-gradient(90deg,transparent 55%,rgba(7,13,19,.72));}
.public-server-main,.public-server-join,.public-server-map,.public-server-pop{min-width:0;padding:12px 15px;display:flex;justify-content:center;flex-direction:column;border-right:1px solid #1b2935;}
.public-server-title-row{display:flex;align-items:center;gap:10px;min-width:0;}
.public-server-title-row>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edf2f6;font:900 20px/.95 'Barlow Condensed';letter-spacing:.3px;font-size:24px;line-height:1;}
.public-server-main>small{display:block;margin-top:7px;color:#a5b2bd;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25;}
.public-server-main .server-type-badge{padding:5px 8px;font-size:10px;flex:0 0 auto;}
.public-server-join{gap:3px;}
.public-server-join .server-field-label,.public-server-map .server-field-label{margin:0;}
.public-server-pop{border-right:0;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:1fr 1fr;align-content:center;align-items:center;column-gap:8px;}
.public-server-pop>span{grid-row:1 / 3;font-size:25px;color:#eef2f5;}
.public-server-pop>b{font:900 15px 'Barlow Condensed';color:#eef2f5;font-size:18px;}
.public-server-pop>i{width:10px;height:10px;border-radius:50%;background:#35df8a;box-shadow:0 0 8px rgba(53,223,138,.4);}
.public-server-pop>small{font-size:11px;color:#d4dce2;grid-column:2 / 4;}
@media(max-width:1150px){.public-server{grid-template-columns:165px minmax(250px,1.4fr) minmax(220px,1.1fr) minmax(125px,.7fr) minmax(120px,.65fr)}.public-server-main>small{font-size:10px}}
@media(max-width:900px){.feature-event-meta{grid-template-columns:repeat(4,1fr)}.feature-event-detail{grid-column:1 / -1;margin:0;border-top:1px solid #1c2a36;width:100%}.public-server{grid-template-columns:150px 1.5fr 1fr}.public-server-map,.public-server-pop{min-height:72px}.public-server-pop{border-right:0}.public-server-join{border-right:0}.public-server-map{border-top:1px solid #1b2935}.public-server-pop{border-top:1px solid #1b2935}}
@media(max-width:650px){.programme-section{padding-top:30px}.feature-event-head{padding:11px 14px}.feature-event-card h3{font-size:25px}.feature-event-art{height:210px}.feature-event-art-copy b{font-size:37px}.feature-event-meta{grid-template-columns:1fr 1fr}.feature-event-meta>div{min-height:58px}.feature-event-detail{grid-column:1 / -1}.live-section-actions{gap:8px}.live-section-actions .updated{display:none}.live-refresh{padding:9px 10px}.public-server{grid-template-columns:1fr}.public-server-thumb{height:115px}.public-server-main,.public-server-join,.public-server-map,.public-server-pop{border-right:0;border-bottom:1px solid #1b2935}.public-server-pop{border-bottom:0}.public-server-main>small{white-space:normal}.join-code-control .copy-join{min-width:78px}}
/* --- BAC banner artwork: user-provided final banner --- */
.hero{
  min-height:680px;
  padding:0;
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
  background-image:url('/assets/bac-banner.jpg');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
@media(max-width:800px){.hero{min-height:520px;background-position:center center}.hero-grid{min-height:520px;padding:0 18px 28px}.hero-panel{width:min(100%,480px);margin:0 auto}
}
/* --- Hero panel: single-line WARDOGS OPERATIONS title --- */
.hero-panel{
  width:min(680px,52vw);
  max-width:680px;
}
@media(max-width:800px){.hero-panel{width:min(100%,560px);max-width:560px}.hero-panel-title{font-size:32px;gap:8px}
}
@media(max-width:430px){.hero-panel-title{font-size:27px;letter-spacing:1px;gap:6px}
}
/* --- 20260920: Wardogs server browser refinement --- */
.live-section-actions{flex-wrap:wrap;justify-content:flex-end}
.server-sort-control{display:flex;align-items:center;gap:8px;}
.server-sort-control>span,.server-type-switch>span{color:#718497;font:900 9px 'Barlow Condensed';letter-spacing:1.2px;}
.server-type-switch{display:flex;align-items:center;gap:8px;}
.server-type-switch select{min-width:165px;padding:10px 28px 10px 11px;border:1px solid #586d80;background:#0b151f;color:#edf2f6;font:900 11px 'Barlow Condensed';letter-spacing:.5px;cursor:pointer;box-shadow:inset 0 -2px 0 rgba(230,44,57,.35);}
.server-type-switch select:focus{outline:1px solid #7890a5;outline-offset:1px;}
.server-sort-control select{min-width:150px;padding:10px 28px 10px 11px;border:1px solid #3b5062;background:#0a131c;color:#edf2f6;font:900 11px 'Barlow Condensed';letter-spacing:.5px;cursor:pointer;}
.server-sort-control select:focus{outline:1px solid #7890a5;outline-offset:1px;}
@media(max-width:1150px){.public-server-title-row>b{font-size:21px}.public-server-main>small{font-size:11px}.public-server-map b{font-size:16px}.join-code-control code{font-size:13px}
}
@media(max-width:650px){.server-sort-control{width:100%;justify-content:flex-end}.server-sort-control select{min-width:145px}
}
.community-programme .programme-head h2{font-size:clamp(30px,3vw,44px);}
/* --- 20260920: actual evening card typography --- */
.feature-event-head{padding:16px 18px}
@media(max-width:800px){.feature-event-card h3{font-size:27px}.feature-event-art{height:220px}.feature-event-art-copy b{font-size:39px}.feature-event-art-copy small{font-size:11px}.feature-event-meta b{font-size:12px}
}
/* Hero panel: centered, fully visible, bottom anchored */
.hero-grid{
  align-items:flex-end;
  justify-content:flex-end;
  padding:0 5vw 22px;
}
@media(max-width:800px){.hero-grid{
    padding:0 18px 18px;
  }.hero-panel{
    width:min(100%,420px);
    max-width:420px;
    margin:0 auto;
  }
}
/* ------------------------------------------------------------------
   Accessibility + focus
   ------------------------------------------------------------------ */
.skip-link{position:fixed;left:16px;top:-80px;z-index:1000;padding:10px 14px;background:var(--red);color:#fff;font:800 12px 'Barlow Condensed';letter-spacing:1px;transition:top .15s ease}
.skip-link:focus{top:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid #9bb0c2;outline-offset:2px}
button,select,input{font:inherit}
button{color:inherit}
