/* SECTION: base */
:root{
  --bg:#080808; --panel:rgba(0,0,0,.65); --ink:#ffffff; --body-ink:#e6e6e6;
  --muted:#999; --faint:#666; --line:#2c2c2c;
  --yellow:#ffff00; --green:#00ff00; --red:#ff3b3b; --amber:#ffb000; --blue:#5b7fff;
  --olive:#9fb89f;
  --header-h:64px;
  --font-display:'Bank Gothic Bold','Airborne','Arial Narrow',Impact,'Microsoft YaHei',sans-serif;
  --font-body:'Play','Segoe UI','Microsoft YaHei','PingFang SC',system-ui,sans-serif;
  --font-mono:Consolas,'Courier New',monospace;
  /* Site-wide pointer, byte-identical to the one swat4stats.com serves:
     a 32x32 monochrome arrow, black body with a white keyline, hotspot at the
     tip (0,0). Embedded as a data URI so the single-file build stays offline
     and no extra request is needed. */
  --cursor-swat:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAADo0lEQVR4nLWWT0hjRxzHvzPmJS9GE5+bBbF/XmwiSC+eCq7epMJulyKIUtsehOYQEHsopXjzIJ5bUNRDtHgueDJNFne3bGqaplUbpdlFi0loC122RNekYDTJe1N+uy9bG1bXf/nBPIaZefOZ329mvr8B/jPGGKMP1TmqbMwAKQAc5baqwUAkRflgdHT0kdVqDZrN5t5qe9oA4E48Hs8vLi7+DSBaX19/y4DWVAPoAnB3ZWVlVwghJiYmkgDuK4pyw+i/cqhKwEgksqfrOjHFyMjIbwACTU1Nb1cDqgJYjsfj2UQikQ2Hw+Sp3tfX9wjAN62tra8Z4/iVAjc2NnKrq6t7Dofjwc7Ozj9HR0eFrq6uXwHMtbe3N1wlVDU8zJGHAO55PJ5YJpPJ7+7uHng8nk0AXw4NDcnGqWZX5WGWCmPsDoDFzs7OjXw+X0yn01mn0xkHMCaEYIaXF4LyygZd17kQoqQoylfRaDQxODi443K56kKh0BuyLL8vSdKnjDH9sqFVj3tIIQVw3e12ewAEfT7fFp3cYDD4GEBMluUPL3tH1QrgMgA3dSiK0kl3cnx8PEnQ+fn5PwCs2O32m5eBqi8BusoaS5MThGAEJfhlhUE9AUhmIqgsyx9TOJeWlh4T1OfzbQP49qLCoJ4GBCAR1GQyfWaxWH6JxWIkDFpvb+/DiwqDelJIqbOcJ2tqasA5/9zpdMZSqVTu8PCw0NHRUSkM7DTQSSsq/yQkSWoXQtwWQrynadotXddTmUzmSXd398P9/X0tEAi85Xa739nc3BwbGBiwngX6Pw9JbaheW1vbxDn/CMAPdXV1P9tsNiqrNpvtJ4fDEZYk6buenp71XC5X3N7e3rPb7SQMXxjCcG5gwGw2jwH43u/3/0n7daw8TyfP7UV9a2sr29LSEm5ubr5mXJeXQulAvDBanclk0hlj1kKh8O7c3Jzq9XpfDwaDT5LJZIkxxnWdRMaIG2NM0zRRKpU0SZJsbW1thVAodMA5p7nwSiCtrFQq0WDN7/e7vV7vm7Ozs78PDw+nAdDd004J1wGArwHkdV2nMeIsIc2tr68/nZycTFOYZmZmCBS1WCxeIYQ5kUiYhRBSZaF2SZLoBOO8Gf9psVh8ti/T09MpAD8SzNiTsxg/60C6c8uRSOTZm2ZqaqoSdjwdsRPKuayBMXZ3bW0tv7Cw8JcB+6RaT0VGn8bGxoH+/v4Y6SPnvJx+qvYuLYeEXt7XjPqFs/pp9i+Kh/v+gebJfgAAAABJRU5ErkJggg==") 4 4, auto;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; color:var(--body-ink);
  font-family:var(--font-body); font-size:15px; line-height:1.65;
  background-color:var(--bg);
  background-image:
    linear-gradient(rgba(8,8,8,.78),rgba(8,8,8,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23151b22'/%3E%3Cstop offset='1' stop-color='%23050607'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Cg stroke='%231b232b' stroke-width='1'%3E%3Cpath d='M0 150H1600M0 300H1600M0 450H1600M0 600H1600M0 750H1600M200 0V900M400 0V900M600 0V900M800 0V900M1000 0V900M1200 0V900M1400 0V900'/%3E%3C/g%3E%3Cg fill='%230a0e12'%3E%3Cpath d='M0 900V640h130v-90h95v150h150V560h115v130h170V610h135v-95h105v180h185V545h125v150h160v-70h105v190h215V650h110v250Z'/%3E%3C/g%3E%3Cg stroke='%23242e38' stroke-width='1.5' fill='none'%3E%3Ccircle cx='1240' cy='220' r='46'/%3E%3Cpath d='M1240 150v40M1240 250v40M1170 220h40M1270 220h40'/%3E%3Ccircle cx='330' cy='260' r='30'/%3E%3Cpath d='M330 214v28M330 278v28M284 260h28M348 260h28'/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover; background-position:center; background-attachment:fixed;
}
/* SECTION: home-bg */
:root{
  --glitch-red:#ff2d55; --glitch-cyan:#19e6ff; --signal-amber:#ffb000;
  --steel-0:#04060a;
}
/* Homepage wallpaper: SWAT4 Gold Edition key art, fixed and full-bleed.
   The scrim is heaviest under the menu column, where type sits directly on the
   artwork, and lifts across the middle so the squad stays legible. */
/* The wallpaper never leaves: subpages dim it to a faint plate behind the
   content instead of fading it out, so navigation keeps one continuous scene. */
.intro-bg{position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none;
  background:var(--steel-0);
  opacity:1; visibility:visible}
.intro-bg .art,.intro-bg .veil{transition:opacity .55s ease, filter .55s ease}
.intro-bg .art{opacity:1}
/* Subpages swap the home menu's directional scrim for one even dimmer. The art
   keeps roughly a quarter of its luminance: still readable as the squad, but
   dark enough that white copy and table rows never fight the artwork. */
body[data-view="section"] .intro-bg .art,body[data-view="page"] .intro-bg .art{
  opacity:1; filter:saturate(.40) contrast(1) brightness(.72)}
body[data-view="section"] .intro-bg .veil,body[data-view="page"] .intro-bg .veil{opacity:0}
body[data-view="section"] .intro-bg::after,body[data-view="page"] .intro-bg::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(4,6,10,.66) 0%,rgba(4,6,10,.60) 42%,rgba(4,6,10,.68) 100%)}
.intro-bg .art{position:absolute; inset:0;
  background-image:radial-gradient(120% 90% at 52% 38%, #16202c 0%, #0b1119 48%, #05070c 100%);
  background-size:cover; background-position:52% 40%; background-repeat:no-repeat;
  filter:saturate(.92) contrast(1.06) brightness(.94)}
.intro-bg .veil{position:absolute; inset:0;
  background:
    linear-gradient(90deg,rgba(3,5,10,.94) 0%,rgba(3,5,10,.88) 24%,rgba(3,5,10,.62) 36%,rgba(3,5,10,.34) 50%,rgba(3,5,10,.44) 72%,rgba(3,5,10,.68) 100%),
    linear-gradient(180deg,rgba(3,5,10,.92) 0%,rgba(3,5,10,.44) 14%,rgba(3,5,10,.18) 34%,rgba(3,5,10,.24) 66%,rgba(3,5,10,.74) 92%,rgba(3,5,10,.94) 100%)}
.intro-bg .edge{position:absolute; left:0; right:0; height:1px; opacity:.75}
.intro-bg .edge.top{top:var(--header-h); background:linear-gradient(90deg,transparent,var(--glitch-red),var(--glitch-cyan),transparent)}
.intro-bg .edge.bottom{bottom:0; background:linear-gradient(90deg,transparent,var(--glitch-cyan),var(--signal-amber),transparent)}
.intro-bg .corner{position:absolute; width:26px; height:26px; border:1px solid rgba(25,230,255,.45); opacity:.7}
.intro-bg .corner.tl{top:calc(var(--header-h) + 16px); left:18px; border-right:none; border-bottom:none}
.intro-bg .corner.tr{top:calc(var(--header-h) + 16px); right:18px; border-left:none; border-bottom:none}
.intro-bg .corner.bl{bottom:18px; left:18px; border-right:none; border-top:none}
.intro-bg .corner.br{bottom:18px; right:18px; border-left:none; border-top:none}
.intro-bg.failed .art{display:none}
body{background-image:none}
/* Body copy in subpages sits directly on the dimmed plate, so it carries its own
   shadow to stay crisp wherever the artwork is lightest. */
body[data-view="section"] .sec-hero h1,body[data-view="page"] .page-head h1,
body[data-view="page"] .page-body h2,body[data-view="page"] .page-body p,
body[data-view="page"] .page-body li{
  text-shadow:0 1px 12px rgba(0,0,0,.95),0 0 3px rgba(0,0,0,.85)}
body[data-view="home"] .scanlines{opacity:.10}
body[data-view="home"] .home{position:relative; z-index:1}
body[data-view="home"] .logo-mark{filter:drop-shadow(0 5px 18px rgba(0,0,0,.92)) drop-shadow(0 0 26px rgba(255,255,0,.16))}
body[data-view="home"] .menu a.menu-link .cn{text-shadow:0 2px 20px rgba(0,0,0,.95)}
body[data-view="home"] .menu a.menu-link:hover .cn{text-shadow:0 0 22px rgba(255,255,0,.45),0 2px 20px rgba(0,0,0,.95)}
body[data-view="home"] .menu-divider{color:#9fb0bd; border-top-color:#3a4a58}
body[data-view="home"] .cbox{background:linear-gradient(180deg,rgba(6,10,15,.86),rgba(4,7,11,.90));
  backdrop-filter:blur(9px); border-color:rgba(25,230,255,.24); box-shadow:0 18px 48px rgba(0,0,0,.55)}
body[data-view="home"] .cbox>header{background:linear-gradient(90deg,#fff 0%,#eef6f8 62%,#dff3f7 100%)}
body[data-view="home"] .site-footer{position:relative; z-index:1}
/* Narrow viewports crop the key art hard, so the framing recentres on the lead
   operator and the scrim deepens: stacked menu type sits on the artwork. */
@media (max-width:980px){
  .intro-bg .art{background-position:55% 32%}
  .intro-bg .veil{background:
    linear-gradient(180deg,rgba(3,5,10,.94) 0%,rgba(3,5,10,.86) 30%,rgba(3,5,10,.78) 56%,rgba(3,5,10,.72) 78%,rgba(3,5,10,.88) 100%)}
}
@media (max-width:600px){
  .intro-bg .art{background-position:55% 26%}
  .intro-bg .veil{background:
    linear-gradient(180deg,rgba(3,5,10,.95) 0%,rgba(3,5,10,.90) 34%,rgba(3,5,10,.84) 62%,rgba(3,5,10,.80) 82%,rgba(3,5,10,.90) 100%)}
}
.scanlines{position:fixed; inset:0; z-index:1500; pointer-events:none; opacity:.16;
  background:repeating-linear-gradient(0deg,rgba(0,0,0,.5) 0 1px,transparent 1px 3px)}
a{color:var(--yellow)}
::selection{background:var(--yellow); color:#000}
::-webkit-scrollbar{width:10px; height:10px}
::-webkit-scrollbar-track{background:#0a0a0a}
::-webkit-scrollbar-thumb{background:#3a3a3a; border:2px solid #0a0a0a}
::-webkit-scrollbar-thumb:hover{background:var(--yellow)}
/* All three views sit above the persistent wallpaper layer. */
main{position:relative; z-index:1; opacity:.999; max-width:1280px; margin:0 auto; padding:calc(var(--header-h) + 26px) 20px 40px; width:100%}
/* The visible view stretches to fill the viewport so the footer rests at the
   bottom even on short pages; long pages keep their natural height and scroll.
   Hidden views are display:none and take no space. */
main:not([hidden]){flex:1 0 auto}
.site-footer{flex-shrink:0; width:100%}
.section{margin:58px 0; scroll-margin-top:calc(var(--header-h) + 18px)}
.sec-head{display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 14px; border-bottom:3px solid var(--faint); padding-bottom:8px; margin-bottom:18px}
.sec-head .idx{font-family:var(--font-mono); color:var(--yellow); font-size:15px; letter-spacing:.1em}
.sec-head h2{margin:0; font-family:var(--font-display); font-size:clamp(22px,3vw,32px); color:#fff; letter-spacing:.06em; text-transform:uppercase; line-height:1.15}
.sec-head .en{color:#888; font-size:11px; letter-spacing:.32em; text-transform:uppercase}
.sec-head .spacer{flex:1}
.count-badge{font-family:var(--font-mono); font-size:12px; color:#000; background:var(--yellow); padding:2px 10px; font-weight:700; white-space:nowrap}
.reveal{opacity:1; transform:none}
/* SECTION: view-enter */
/* Every entrance (view switch, home menu, filtered result list) is driven by the
   shared wipe engine in JS: one 0..1 progress moves a scan edge down the view and
   each block's opacity/shift/blur resolve exactly while the edge sweeps past its
   own row — the same binding the mobile drawer uses, so blur never runs on a
   separate clock from the reveal. Navigating mid-wipe carries the current
   progress into the next view instead of restarting from zero (seamless).
   No CSS keyframes here on purpose: keyframe restarts snap to an endpoint. */
/* SECTION: list-enter */
/* Filter switches replay the same scan-edge wipe through the shared engine,
   scoped to the result list only — the chips never move under the pointer.
   Re-filtering mid-pass continues from the current progress (seamless). Table
   rows keep the motion without blur (a filter layer on a <tr> would soften the
   cell borders) and honour their resting dimmed opacity. Live auto-refresh
   deliberately skips this. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1; transform:none; transition:none}
  .view-enter>*,#mainView.view-enter .home>*,#mainView.view-enter .menu>li,
  #mainView.view-enter .news>*,#sectionView.view-enter .sec-page>*,
  #sectionView.view-enter .sec-body>section>*,
  #pageView.view-enter>div>*,#pageView.view-enter .page-body>*,
  .wipe-item.wipe-run{animation:none!important; opacity:1; transform:none; filter:none}
  /* The bare * selector does not match ::before/::after, so the loading dot's
     breathing animation would survive reduced-motion. Cover pseudo-elements
     too; the dot then stays solid and the wording alone conveys the state. */
  *,*::before,*::after{animation:none!important}
}
/* SECTION: topbar */
.topbar{position:fixed; top:0; left:0; right:0; height:var(--header-h); z-index:1000;
  background:#000; border-bottom:1px solid #1c1c1c; display:flex; align-items:center; gap:18px; padding:0 18px}
.svg-defs{position:absolute; width:0; height:0; overflow:hidden; pointer-events:none}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; min-width:0}
/* Same wordmark as the homepage, scaled to the bar height. The keyline is
   already part of the symbol, so it stays crisp against the black header.
   Flex centring aligns the SVG *box*, but the 4 descends below the letters, so
   the painted mass sits high and the mark reads above the Chinese title. This
   offset is measured from the rendered ink (mark centre vs title centre) and
   expressed as a share of the mark height, so it tracks every breakpoint. */
.brand-mark{--mark-h:34.6px; --ink-nudge:.215;
  width:118px; height:var(--mark-h); flex:none; display:block; overflow:visible;
  transform:translateY(calc(var(--mark-h) * var(--ink-nudge)));
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); transition:filter .2s ease, transform .2s ease}
.brand:hover .brand-mark{transform:translateY(calc(var(--mark-h) * var(--ink-nudge) - 1px));
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.95)) drop-shadow(0 0 12px rgba(255,255,0,.35))}
/* Single-line brand lockup: the divider rule spans the mark's height so the
   Chinese title stays optically centred against it now that the sub-line is
   gone, rather than sitting high in an empty two-row box. */
.brand-text{display:flex; align-items:center; min-width:0; align-self:stretch;
  padding-left:12px; border-left:1px solid #2a2a2a; margin:14px 0}
.brand-title{font-family:var(--font-display); font-weight:700; font-size:20px; color:#fff;
  letter-spacing:.3em; white-space:nowrap; line-height:1}
.brand:hover .brand-title{color:var(--yellow)}
.topnav{display:flex; align-items:center; gap:2px; margin-left:auto; flex-wrap:wrap}
.topnav a{font-family:var(--font-display); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:#ccc; text-decoration:none; padding:10px 12px; min-height:44px; display:inline-flex; align-items:center; border-bottom:2px solid transparent}
.topnav a:hover{color:var(--yellow); border-bottom-color:var(--yellow)}
/* The mail button is also a .topnav a, and the nav link rules (transparent
   bottom border on desktop, left-accent strip in the drawer) out-specify a bare
   .mail-btn — they were erasing two of its four edges. Scoping under .topnav
   keeps the full box on both layouts; the drawer's left-accent hover still
   applies to it like every other entry. */
.topnav .mail-btn{font-family:var(--font-display); font-size:12px; letter-spacing:.12em; color:#fff; border:1px solid #fff; padding:9px 14px; text-decoration:none; text-transform:uppercase; white-space:nowrap; min-height:40px; display:inline-flex; align-items:center}
.topnav .mail-btn:hover{background:var(--yellow); color:#000; border-color:var(--yellow)}
.nav-toggle{display:none; margin-left:auto; background:none; border:1px solid #555; color:#fff; width:44px; height:44px; font-size:18px}
/* SECTION: home */
.home{display:grid; grid-template-columns:minmax(280px,430px) minmax(0,1fr); gap:26px; align-items:start}
/* The home lockup is the page's h1 (one h1 per view). Heading defaults for
   font-size and weight are reset so the visual stays identical to the previous
   div — the semantics change, the pixels do not. */
.logo-big{margin:6px 0 18px; line-height:1; font-size:inherit; font-weight:inherit}
/* Game wordmark: heavy italic caps, white fill inside a black keyline, with the
   oversized 4 dropping below the baseline exactly as on the box art. Drawn as
   SVG so the outline weight and the 4's offset stay locked at every size. */
.logo-swat{display:block; width:min(100%,340px)}
.logo-mark{display:block; width:100%; height:auto; overflow:visible;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.85)) drop-shadow(0 0 22px rgba(255,255,0,.10))}
/* Splash-screen lockup (EdSplash): the subtitle sits tight under the wordmark's
   lower right, slanted the same way, in white so the two lines read as one mark
   rather than a coloured label. A black keyline built from shadow offsets gives
   it the same outline the SVG wordmark carries, keeping it legible on the key
   art. The English line hangs off the same right rail. */
.logo-cn{--cap-size:clamp(42px,4vw,58px);
  display:block; width:min(100%,340px); text-align:right;
  /* The SVG canvas carries ~3px of slack below the 4, and the text box carries
     its own leading above the glyphs. Pull the line up by that combined dead
     space plus a deliberate overlap allowance, so the two pieces of ink sit
     almost touching while staying separate at every viewport. */
  margin:calc(var(--cap-size) * -.52) 0 0;
  /* the slant pushes the top-right corner out by height*tan(12deg); padding
     pulls it back so the painted edge lands exactly on the shared right rail */
  padding-right:calc(var(--cap-size) * .224)}
.logo-cn-text{display:inline-block; font-family:var(--font-display); font-weight:900;
  font-size:var(--cap-size); line-height:1.02; color:#fff;
  letter-spacing:.02em; white-space:nowrap;
  transform:skewX(-12deg); transform-origin:100% 100%;
  /* keyline scales with the type so the outline keeps the same visual weight
     relative to the SVG wordmark as the caption grows */
  --key:calc(var(--cap-size) * .042);
  --keyd:calc(var(--cap-size) * .032);
  text-shadow:
    calc(var(--key) * -1) 0 0 #000,var(--key) 0 0 #000,
    0 calc(var(--key) * -1) 0 #000,0 var(--key) 0 #000,
    calc(var(--keyd) * -1) calc(var(--keyd) * -1) 0 #000,
    var(--keyd) calc(var(--keyd) * -1) 0 #000,
    calc(var(--keyd) * -1) var(--keyd) 0 #000,
    var(--keyd) var(--keyd) 0 #000,
    0 4px 18px rgba(0,0,0,.9)}
.logo-tag{display:block; width:min(100%,340px); margin:8px 0 0; text-align:right;
  font-size:10px; color:#8a8a8a; letter-spacing:.26em; text-transform:uppercase}
.menu{list-style:none; margin:0; padding:0}
.menu-divider{font-family:var(--font-display); font-size:11px; letter-spacing:.22em; text-transform:uppercase; width:85%; padding-top:7px; margin:20px 0 8px; border-top:3px solid var(--faint); color:#888}
.menu a.menu-link{display:block; text-decoration:none; padding:3px 0; line-height:1.1}
.menu a.menu-link .cn{display:block; font-family:var(--font-display); font-weight:700; font-size:clamp(20px,2.4vw,28px); color:#fff; letter-spacing:.08em; transition:color .15s,transform .15s}
.menu a.menu-link .en{display:block; font-size:10px; color:#777; letter-spacing:.3em; text-transform:uppercase; margin-top:2px}
.menu a.menu-link:hover .cn,.menu a.menu-link.active .cn{color:var(--yellow); transform:translateX(5px)}
.news{display:flex; flex-direction:column; gap:18px; min-width:0}
/* SECTION: section-pages */
#sectionView{max-width:1280px}
/* Entrance motion is owned by .view-enter (top-to-bottom wipe); the wrapper
   itself stays untransformed so its accent glow keeps sitting behind content. */
.sec-page{position:relative}
.sec-page::before{content:""; position:absolute; left:0; right:0; top:-26px; height:230px; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 100% at 12% 0%,var(--accent-soft,rgba(255,255,0,.07)),transparent 70%)}
.sec-crumbs{display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12.5px; color:#888; margin-bottom:18px}
.sec-crumbs a{color:#ccc; text-decoration:none; border-bottom:1px dotted #555; padding:2px 0}
.sec-crumbs a:hover{color:var(--accent,var(--yellow)); border-color:var(--accent,var(--yellow))}
.sec-crumbs .sep{color:#555}
.sec-crumbs .here{color:var(--accent,var(--yellow)); font-weight:600}
.sec-hero{display:flex; align-items:flex-start; gap:20px; flex-wrap:wrap; border-bottom:3px solid var(--accent,var(--yellow)); padding-bottom:16px; margin-bottom:22px}
.sec-hero .sec-title-wrap{min-width:0; flex:1 1 260px}
.sec-hero .kicker{font-family:var(--font-mono); font-size:11px; letter-spacing:.26em; text-transform:uppercase; color:var(--accent,var(--yellow))}
.sec-hero h1{margin:6px 0 8px; font-family:var(--font-display); font-size:clamp(26px,4.4vw,42px); color:#fff; letter-spacing:.05em; line-height:1.15; overflow-wrap:anywhere}
.sec-hero .sec-en{font-size:11px; color:#888; letter-spacing:.32em; text-transform:uppercase}
.sec-body{min-width:0}
.sec-body .sec-head{display:none}
.sec-body>.toolbar{margin-top:0}
/* Hover reads through the label's colour and shift alone; the trailing arrow
   and the gutter reserved for it are gone, so the row keeps its full measure. */
.menu a.menu-link{position:relative}
.menu a.menu-link:focus-visible{outline:1px solid var(--yellow); outline-offset:3px}
@media (max-width:600px){
  .sec-hero{gap:12px}
}
/* SECTION: cbox */
.cbox{background:var(--panel); border:1px solid rgba(255,255,255,.28); min-width:0; backdrop-filter:blur(2px)}
.cbox>header{background:#fff; color:#000; font-family:var(--font-display); font-weight:700; padding:6px 12px; font-size:14px; letter-spacing:.08em; text-transform:uppercase; display:flex; justify-content:space-between; align-items:center; gap:10px}
.cbox>header .tag{font-size:10px; font-family:var(--font-mono); background:#000; color:var(--yellow); padding:2px 8px; letter-spacing:.1em; white-space:nowrap}
.cbox-body{padding:14px 16px; font-size:14.5px; line-height:1.75; color:var(--body-ink)}
.cbox-body p{margin:.5em 0}
.cbox-body a{color:var(--yellow); text-decoration:underline dotted; text-underline-offset:3px}
.cbox-body a:hover{color:#fff}
.cbox-body ul{margin:.5em 0; padding-left:1.2em}
.cbox-body li{margin:.35em 0}
code{font-family:var(--font-mono); background:#101010; border:1px solid #333; color:var(--green); padding:1px 6px; font-size:.92em}
pre{position:relative; background:#050505; border:1px solid var(--line); padding:12px 14px; overflow-x:auto; margin:.8em 0; font-family:var(--font-mono); font-size:13px; line-height:1.6; color:var(--green)}
pre code{background:none; border:none; padding:0; color:inherit}
.copy-pre{position:absolute; top:6px; right:6px; background:#111; border:1px solid #555; color:#ccc; font-size:11px; padding:4px 10px; font-family:var(--font-body)}
.copy-pre:hover{border-color:var(--yellow); color:var(--yellow)}
/* SECTION: toolbar */
.toolbar{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:16px}
.search-input{flex:1 1 240px; min-width:0; background:#000; border:1px solid #444; color:#fff; padding:11px 14px; font-size:16px; font-family:var(--font-body); outline:none}
.search-input:focus{border-color:var(--yellow)}
.search-input::placeholder{color:#666}
.chip{background:#0c0c0c; border:1px solid #555; color:#ccc; padding:9px 14px; min-height:42px; font-size:13px; letter-spacing:.06em; font-family:var(--font-body); transition:all .15s}
.chip:hover{border-color:var(--yellow); color:var(--yellow)}
.chip.active{background:var(--yellow); border-color:var(--yellow); color:#000; font-weight:700}
.result-count{font-family:var(--font-mono); font-size:12px; color:#888; margin-left:auto; white-space:nowrap}
/* SECTION: resources */
.res-cat{margin-bottom:20px}
.cat-title{font-family:var(--font-display); font-size:13px; letter-spacing:.2em; text-transform:uppercase; color:#aaa; border-top:3px solid var(--faint); padding-top:7px; margin:0 0 8px; width:100%}
.res-row{display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.4); min-width:0}
.res-row:hover{background:rgba(255,255,0,.05)}
.res-name{color:#fff; font-weight:600; text-decoration:none; min-width:0; overflow-wrap:anywhere}
a.res-name:hover{color:var(--yellow); text-decoration:underline dotted}
.res-name.plain{pointer-events:none}
.res-note{color:var(--amber); font-size:12px}
.res-groups{display:flex; flex-wrap:wrap; gap:6px; margin-left:auto}
.gchip{font-size:12px; border:1px solid #3a4a3a; color:var(--olive); padding:4px 9px; text-decoration:none; background:rgba(0,60,0,.15); white-space:nowrap; min-height:28px; display:inline-flex; align-items:center}
.gchip:hover{border-color:var(--green); color:var(--green)}
.gchip.dt{border-color:#33415e; color:#9db4e8; background:rgba(20,40,90,.18)}
.gchip.dt:hover{border-color:var(--blue); color:var(--blue)}
.res-empty{padding:26px; color:#888; text-align:center; border:1px dashed #444; background:rgba(0,0,0,.4)}
.notice-empty{display:flex; align-items:center; justify-content:center; gap:10px; padding:22px 16px; border:1px dashed #444; background:rgba(0,0,0,.4); color:#999; font-size:14px; letter-spacing:.12em}
.notice-empty::before{content:""; width:7px; height:7px; flex:none; border-radius:50%; background:var(--amber); box-shadow:0 0 8px rgba(255,176,0,.55)}
/* Announcement entries: amber rule per item, mono date line, matching the
   site's tactical panel language. */
.notice-item{border:1px solid var(--line); border-left:4px solid var(--amber); background:rgba(0,0,0,.45); padding:10px 16px; margin:10px 0}
.notice-item:first-child{margin-top:0}
.notice-item:last-child{margin-bottom:0}
.notice-date{font-family:var(--font-mono); font-size:11.5px; color:var(--amber); letter-spacing:.1em; margin-bottom:4px}
.notice-text{color:#ddd; font-size:14px; line-height:1.75}
.notice-text+.notice-text{margin-top:6px}
.notice-title{display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:#fff; font-weight:700; font-size:15px; letter-spacing:.04em; margin-bottom:6px}
.notice-tag{font-family:var(--font-mono); font-size:10px; font-weight:400; color:#000; background:var(--amber); padding:2px 8px; letter-spacing:.1em; white-space:nowrap}
.notice-by{font-family:var(--font-mono); font-size:11.5px; color:#888; letter-spacing:.06em; margin-bottom:8px}
.notice-sub{color:#fff; font-weight:700; font-size:13.5px; letter-spacing:.04em; margin:10px 0 3px}
.notice-ol{margin:6px 0; padding-left:1.35em; color:#ddd; font-size:14px; line-height:1.75}
.notice-ol li{margin:4px 0}
.notice-note-box{margin-top:10px; padding:9px 12px; border:1px dashed rgba(255,176,0,.4); background:rgba(255,176,0,.06)}
.notice-note-box .notice-sub{margin-top:0; color:var(--amber)}
.notice-foot{display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:12px}
.cbox-body a.notice-more-btn{display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:0 14px; height:32px; border:1px solid rgba(255,176,0,.65); background:rgba(255,176,0,.09); color:var(--amber); font-family:var(--font-body); font-size:12.5px; font-weight:600; letter-spacing:.06em; line-height:1; text-decoration:none; white-space:nowrap; transition:border-color .15s,background .15s,color .15s}
.cbox-body a.notice-more-btn:hover{border-color:var(--yellow); background:var(--yellow); color:#000}
.notice-archive-list{display:flex; flex-direction:column; gap:14px}
.notice-archive-list .notice-item{margin:0; padding:14px 18px}
/* Community feed holds embedded videos. The 16:9 box is sized with padding-top
   rather than aspect-ratio so the player keeps its shape on older browsers and
   never collapses to zero height while the iframe is still loading. */
.feed-list{display:flex; flex-direction:column; gap:18px}
.feed-video{position:relative; width:100%; height:0; padding-top:56.25%; background:#000; border:1px solid var(--line)}
.feed-video iframe{position:absolute; top:0; left:0; width:100%; height:100%; border:0; display:block}
.feed-title{color:#fff; font-weight:700; font-size:14.5px; line-height:1.6; margin-top:10px}
.feed-meta{display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin-top:6px; font-family:var(--font-mono); font-size:11.5px; color:#888; letter-spacing:.06em}
.feed-meta .dot{width:5px; height:5px; flex:none; border-radius:50%; background:var(--green); box-shadow:0 0 6px rgba(0,255,0,.5)}
/* Download groups are split by platform: QQ and DingTalk each get their own
   labelled panel so the two never share a row. The platform hue carries through
   the panel rule, the card border and the hover state. */
.dir-split{display:flex; flex-direction:column; gap:14px; margin:12px 0 2px}
.dir-group{--gc:var(--green); --gc-soft:rgba(0,255,136,.07); border:1px solid var(--line); border-left:3px solid var(--gc); background:rgba(0,0,0,.4)}
.dir-group.dt{--gc:var(--blue); --gc-soft:rgba(91,127,255,.09)}
.dir-group-head{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:9px 14px; border-bottom:1px solid var(--line); background:var(--gc-soft)}
.dir-group-head .pf{font-family:var(--font-display); color:#fff; font-size:14px; letter-spacing:.1em}
.dir-group-head .ct{font-family:var(--font-mono); color:var(--gc); font-size:11.5px; letter-spacing:.14em}
.dir-group-head .hint{margin-left:auto; color:#9a9a9a; font-size:11.5px; letter-spacing:.04em}
/* Fixed column counts rather than auto-fill: eight QQ cards land as a balanced
   4 + 4 block instead of a 7 + 1 orphan row, and the three DingTalk cards keep
   the same card width as the QQ ones above them. */
.dir-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; padding:12px 14px}
.dir-item{position:relative; display:flex; flex-direction:column; gap:3px; border:1px solid #3a4a3a; background:rgba(0,60,0,.12); padding:10px 12px; text-decoration:none; min-height:56px; justify-content:center; overflow:hidden; transition:border-color .16s,background .16s,transform .16s}
/* .cbox-body a paints a dotted underline that propagates into child spans, so
   the card's own text-decoration:none is not enough — reset it at this level. */
.cbox-body a.dir-item{color:inherit; text-decoration:none}
.dir-item.dt{border-color:#33415e; background:rgba(20,40,90,.15)}
.dir-item::after{content:"↗"; position:absolute; top:8px; right:10px; font-family:var(--font-mono); font-size:12px; color:var(--gc,var(--green)); opacity:0; transform:translate(-3px,3px); transition:opacity .16s,transform .16s}
.dir-item .n{color:#fff; font-weight:700; font-size:14px; padding-right:16px}
.dir-item .s{color:#8f8f8f; font-size:11px; letter-spacing:.08em}
/* Resting platform tints come first so the hover rules below win for both
   platforms — otherwise .dir-item.dt would outspecify :hover on DingTalk. */
.dir-item:hover{border-color:var(--gc,var(--green)); background:var(--gc-soft,rgba(0,255,136,.07)); transform:translateY(-2px)}
.dir-item:hover .n{color:var(--gc,var(--green))}
.dir-item:hover::after{opacity:1; transform:translate(0,0)}
.dir-item:focus-visible{outline:1px solid var(--gc,var(--green)); outline-offset:2px}
.dir-id-box{margin:0 14px 12px; padding-top:11px; border-top:1px dashed rgba(91,127,255,.32)}
.dir-id-tip{position:relative; margin:0 0 10px; padding-left:16px; font-size:12.5px; line-height:1.65; color:#c7d4f4}
.dir-id-tip::before{content:"▸"; position:absolute; left:0; color:var(--amber)}
.dir-id-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.dir-id-item{display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid #2b3852; background:rgba(12,24,56,.28); padding:8px 10px 8px 12px; min-width:0; transition:border-color .16s,background .16s}
.dir-id-item:hover{border-color:var(--gc,var(--blue)); background:rgba(91,127,255,.12)}
.dir-id-meta{display:flex; flex-direction:column; gap:2px; min-width:0}
.dir-id-name{font-size:11.5px; color:#9db4e8; letter-spacing:.06em; line-height:1.3}
.dir-id-code{font-family:var(--font-mono); font-size:15px; font-weight:700; color:var(--yellow); letter-spacing:.05em; line-height:1.25; font-variant-numeric:tabular-nums; user-select:all; overflow-wrap:anywhere}
.dir-id-copy{flex:none; min-width:68px; padding:5px 10px; min-height:30px; font-size:12px; text-align:center; border-color:#3f5278; background:rgba(10,18,38,.8); color:#cfdcf7; transition:border-color .15s,color .15s,background .15s}
.dir-id-copy:hover{border-color:var(--yellow); color:var(--yellow); background:rgba(255,255,0,.07)}
.dir-id-copy.copied{border-color:var(--green); color:var(--green); background:rgba(0,255,0,.08)}
@media (max-width:760px){.dir-id-grid{grid-template-columns:1fr; gap:7px}}
.notes{list-style:none; margin:12px 0 0; padding:0}
.notes li{padding:6px 0 6px 18px; position:relative; color:#bbb; font-size:13.5px}
.notes li::before{content:"▸"; position:absolute; left:0; color:var(--yellow)}
.notes a{color:var(--yellow)}
/* SECTION: servers */
.table-wrap{overflow-x:auto; border:1px solid rgba(255,255,255,.25); background:rgba(0,0,0,.55)}
table{width:100%; border-collapse:collapse; min-width:1150px; font-size:14px}
thead th{background:#fff; color:#000; text-align:left; padding:8px 12px; font-family:var(--font-display); letter-spacing:.06em; font-size:12.5px; text-transform:uppercase; white-space:nowrap}
tbody td{padding:9px 12px; border-top:1px solid rgba(255,255,255,.09); color:#ddd; vertical-align:middle}
tbody tr:hover{background:rgba(255,255,0,.06)}
.srv-name{color:#fff; font-weight:600; white-space:nowrap}
.mode-tag{font-size:11px; font-weight:700; padding:2px 8px; border:1px solid; letter-spacing:.12em; white-space:nowrap}
.mode-tag.pve{color:var(--green); border-color:var(--green); background:rgba(0,255,0,.07)}
.mode-tag.pvp{color:var(--red); border-color:var(--red); background:rgba(255,0,0,.07)}
.addr{font-family:var(--font-mono); color:var(--yellow); white-space:nowrap}
.ver{font-family:var(--font-mono); font-size:12.5px; color:#aaa; white-space:nowrap}
.host-tag{font-size:11px; color:#777; font-family:var(--font-mono)}
.lock{color:var(--amber); font-size:12px; white-space:nowrap}
.copy-btn{border:1px solid #666; background:#111; color:#ccc; font-size:12px; padding:6px 12px; font-family:var(--font-body); min-height:32px; white-space:nowrap}
.copy-btn:hover{border-color:var(--yellow); color:var(--yellow)}
.copy-btn.copied{border-color:var(--green); color:var(--green)}
/* SECTION: live */
.live-bar{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:0 0 12px; padding:9px 14px; border:1px solid var(--line); background:rgba(0,0,0,.5); font-size:12.5px; color:#999}
.live-dot{width:9px; height:9px; flex:none; border-radius:50%; background:#666}
.live-dot.on{background:var(--green); box-shadow:0 0 8px rgba(0,255,0,.7); animation:livePulse 1.6s ease-in-out infinite}
.live-dot.partial{background:var(--amber); box-shadow:0 0 8px rgba(255,176,0,.6); animation:livePulse 1.6s ease-in-out infinite}
.live-dot.loading{background:var(--yellow); animation:livePulse .9s ease-in-out infinite}
.live-dot.off{background:#555}
.live-dot.warn{background:var(--amber); box-shadow:0 0 8px rgba(255,176,0,.65); animation:livePulse 1.1s ease-in-out infinite}
.live-bar.warn{border-color:rgba(255,176,0,.55); background:rgba(255,176,0,.06)}
.live-bar.warn .live-source{color:var(--amber)}
@keyframes livePulse{0%,100%{opacity:1}50%{opacity:.35}}
.live-source{color:#ddd; font-weight:600}
.live-note{color:#999}
.stale-row{opacity:.78}
.st.stale{color:var(--amber)}
.st.stale .dot{background:var(--amber); box-shadow:0 0 6px rgba(255,176,0,.6)}
.live-help{display:inline-flex; align-items:center; justify-content:center; border:1px solid #444; background:none; color:#888; font-size:11px; line-height:1; width:28px; height:28px; padding:0; box-sizing:border-box; border-radius:50%; flex:none}
.chat-auth-bar{margin-left:auto; display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap}
.chat-user-pill{display:inline-flex; align-items:center; gap:5px; height:28px; box-sizing:border-box; font-family:var(--font-mono); font-size:11.5px; line-height:1; color:#5ce1ff; border:1px solid rgba(53,214,255,.35); background:rgba(53,214,255,.08); padding:0 9px}
.chat-user-pill .chat-verified-badge{margin-left:0}
.chat-role-badge{display:inline-flex; align-items:center; font-family:var(--font-body); font-size:10px; font-weight:700; color:#000; background:var(--yellow); padding:0 5px; height:16px; line-height:1}
.chat-bar-btn{appearance:none; display:inline-flex; align-items:center; justify-content:center; height:28px; box-sizing:border-box; border:1px solid #4a4a4a; background:#0e0e0e; color:#d0d0d0; font-family:var(--font-body); font-size:11.5px; line-height:1; padding:0 10px; margin:0; text-decoration:none; white-space:nowrap; transition:border-color .15s,color .15s,background .15s}
.chat-bar-btn:hover{border-color:var(--yellow); color:var(--yellow)}
.chat-bar-btn.primary{border-color:rgba(53,214,255,.55); color:#5ce1ff; background:rgba(53,214,255,.09)}
.chat-bar-btn.primary:hover{border-color:#5ce1ff; background:#5ce1ff; color:#000}
.chat-bar-btn.admin{border-color:rgba(255,255,0,.55); color:var(--yellow); background:rgba(255,255,0,.08)}
.chat-bar-btn.admin:hover{background:var(--yellow); color:#000}
.live-help:hover{border-color:var(--yellow); color:var(--yellow)}
.live-setup{margin:0 0 12px; border:1px dashed var(--amber); background:rgba(255,176,0,.05); padding:12px 16px; font-size:13px; color:#d9c39a}
.live-setup code{color:var(--green)}
.st{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; letter-spacing:.08em; white-space:nowrap}
.st .dot{width:8px; height:8px; flex:none; border-radius:50%}
.st.online{color:var(--green)} .st.online .dot{background:var(--green); box-shadow:0 0 6px rgba(0,255,0,.8)}
.st.offline{color:#777} .st.offline .dot{background:#555}
.st.checking{color:#999} .st.checking .dot{background:#999; animation:livePulse 1s infinite}
.players-cell{min-width:110px}
.pnum{font-family:var(--font-mono); font-size:13px; color:#fff; white-space:nowrap}
.pbar{height:4px; background:#1c1c1c; margin-top:4px; min-width:80px; overflow:hidden}
.pfill{height:100%; width:0; background:var(--green); transition:width .5s ease}
.pfill.hot{background:var(--amber)}
.pfill.full{background:var(--red)}
.map-cell{color:#ddd; font-size:13px; max-width:230px; overflow-wrap:anywhere}
.round-cell{font-family:var(--font-mono); font-size:12.5px; color:#bbb; white-space:nowrap}
.gt-cell{color:#ccc; font-size:12.5px; white-space:nowrap}
.dim{color:#666}
/* SECTION: players */
.srv-row{touch-action:manipulation; -webkit-tap-highlight-color:rgba(255,255,0,.12)}
.srv-row:hover{background:rgba(255,255,0,.05)}
.srv-row.expanded{background:rgba(255,255,0,.07)}
.srv-row .srv-name::before{content:"▸ "; color:var(--yellow); font-size:11px}
.srv-row.expanded .srv-name::before{content:"▾ "}
.player-detail>td{padding:0; background:rgba(0,0,0,.55); border-top:none}
.player-panel{padding:12px 16px 14px 28px; border-left:3px solid var(--yellow); margin:2px 0 6px; width:var(--panel-w,100%); max-width:100%; box-sizing:border-box}
.player-panel .panel-match{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; padding:7px 10px; margin-bottom:10px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03)}
.player-panel .panel-match[hidden]{display:none}
.player-panel .mh-group{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
.player-panel .mh-pill{display:inline-flex; align-items:center; gap:6px; padding:3px 9px; font-size:12px; border:1px solid rgba(255,255,255,.13); background:rgba(0,0,0,.38); color:#dcdcdc; font-variant-numeric:tabular-nums; white-space:nowrap}
.player-panel .mh-pill[hidden]{display:none}
.player-panel .mh-k{font-size:11px; color:#9a9a9a; letter-spacing:.04em}
.player-panel .mh-team-lbl{font-size:10.5px; font-weight:700; letter-spacing:.04em}
.player-panel .mh-team-lbl.is-swat{color:#5eb0ff}
.player-panel .mh-team-lbl.is-sus{color:var(--red)}
.player-panel .mh-num{font-family:var(--font-mono); font-size:13.5px; font-weight:700; line-height:1}
.player-panel .mh-num.mh-swat{color:#5eb0ff}
.player-panel .mh-num.mh-sus{color:#ff6b6b}
.player-panel .mh-sep{color:#666; font-weight:700}
.player-panel .mh-v{font-family:var(--font-mono); font-size:13px; font-weight:700; color:#f2f2f2}
.player-panel .mh-timer{border-color:rgba(255,255,0,.32); background:rgba(255,255,0,.06)}
.player-panel .mh-timer .mh-v{color:var(--yellow)}
.player-panel .mh-timer.is-warn{border-color:rgba(255,176,0,.55); background:rgba(255,176,0,.1)}
.player-panel .mh-timer.is-warn .mh-v{color:var(--amber)}
.player-panel .mh-timer.is-urgent{border-color:rgba(255,59,59,.7); background:rgba(255,59,59,.14)}
.player-panel .mh-timer.is-urgent .mh-v{color:#ff6b6b}
.player-panel .mh-timer.is-paused,.player-panel .mh-special.is-paused{border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.04)}
.player-panel .mh-timer.is-paused .mh-v,.player-panel .mh-special.is-paused .mh-v{color:#b0b0b0}
.player-panel .mh-special{border-color:rgba(255,90,90,.55); background:rgba(255,59,59,.12)}
.player-panel .mh-special .mh-v{color:#ff7b7b}
.player-panel .mh-bombs{border-color:rgba(53,214,255,.4); background:rgba(53,214,255,.08)}
.player-panel .mh-bombs .mh-v{color:#5ce1ff}
.player-panel .mh-case{border-color:rgba(255,176,0,.45); background:rgba(255,176,0,.09)}
.player-panel .mh-case .mh-v{font-family:var(--font-body); color:var(--amber)}
.panel-grid{display:grid; grid-template-columns:minmax(320px,1.12fr) minmax(300px,1.15fr); gap:18px; align-items:start}
.player-panel.has-full-stats .panel-grid{grid-template-columns:minmax(440px,1.34fr) minmax(300px,1fr)}
.panel-roster{min-width:0}
.panel-meta{font-size:11.5px; color:#9e9e9e; padding:0 8px 8px; border-bottom:1px solid rgba(255,255,255,.07); margin-bottom:4px; letter-spacing:.03em}
.panel-rows{max-width:780px; overflow-x:auto; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.18) transparent}
.player-head,.player-row{display:grid; grid-template-columns:minmax(110px,1fr) 72px 86px 56px; gap:8px; align-items:center; padding:5px 8px; font-size:13px; box-sizing:border-box}
.player-head.layout-basic.is-grouped,.player-row.layout-basic.is-grouped{grid-template-columns:minmax(130px,1fr) 86px 56px}
.player-head.layout-pvp.is-grouped,.player-row.layout-pvp.is-grouped{grid-template-columns:minmax(130px,1fr) 44px 38px 38px 38px 38px 38px 68px; gap:6px; min-width:470px}
.player-head.layout-pvp.has-team,.player-row.layout-pvp.has-team{grid-template-columns:minmax(118px,1fr) 54px 44px 38px 38px 38px 38px 38px 66px; gap:6px; min-width:518px}
.player-head.layout-coop.is-grouped,.player-row.layout-coop.is-grouped{grid-template-columns:minmax(130px,1fr) 42px 42px 42px 46px 68px; gap:6px; min-width:400px}
.player-head.layout-coop.has-team,.player-row.layout-coop.has-team{grid-template-columns:minmax(118px,1fr) 54px 40px 40px 40px 44px 66px; gap:6px; min-width:444px}
.player-head{color:#888; font-size:11px; letter-spacing:.04em; text-transform:uppercase; border-bottom:1px solid #333; white-space:nowrap}
.player-head span:not(:first-child),.player-row span:not(:first-child){text-align:center; justify-self:stretch; letter-spacing:0}
.team-group-head{display:flex; align-items:center; justify-content:flex-start; gap:8px; padding:4px 8px; margin-top:7px; font-size:11.5px; font-weight:700; letter-spacing:.06em; border-left:3px solid #666; background:rgba(255,255,255,.04); color:#d8d8d8; box-sizing:border-box}
.team-group-head.layout-pvp.is-grouped{min-width:470px}
.team-group-head.layout-coop.is-grouped{min-width:400px}
.team-group-head:first-of-type{margin-top:4px}
.team-group-head .tg-count{font-family:var(--font-mono); font-size:11px; font-weight:600; opacity:.88; padding:0 6px; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.14); letter-spacing:.02em}
.team-group-head.is-swat{border-left-color:#4da6ff; background:rgba(77,166,255,.09); color:#6cb8ff}
.team-group-head.is-sus{border-left-color:var(--red); background:rgba(255,59,59,.08); color:#ff7373}
.team-group-head.is-blue{border-left-color:#4da6ff; background:rgba(77,166,255,.09); color:#6cb8ff}
.team-group-head.is-red{border-left-color:#ff5a5a; background:rgba(255,90,90,.09); color:#ff7878}
.team-group-head.is-na{border-left-color:#777; color:#aaa}
.pl-team,.pl-ping,.pl-score,.pl-kills,.pl-deaths,.pl-arrests,.pl-arrested,.pl-obj,.pl-incaps,.pl-penalty{font-variant-numeric:tabular-nums; font-family:var(--font-mono); font-size:12.5px}
.pl-team{font-family:var(--font-body)}
.pl-kills,.pl-deaths,.pl-arrests,.pl-arrested,.pl-incaps,.pl-obj,.pl-penalty{color:#c6c6c6}
.pl-kills.has-tk{color:var(--amber); text-decoration:underline dotted rgba(255,176,0,.65); text-underline-offset:2px}
.pl-obj.has-val{color:#5ce1ff; font-weight:700}
.pl-penalty.has-penalty{color:#ff6b6b; font-weight:700}
.player-row{border-bottom:1px solid rgba(255,255,255,.06); color:#ddd}
.player-row:hover{background:rgba(255,255,255,.04)}
.pl-name{overflow-wrap:anywhere; color:#fff; font-weight:600}
.leader-tag{font-style:normal; font-size:10px; font-weight:700; color:#000; background:#35d6ff; padding:1px 5px; margin-left:6px; letter-spacing:.04em}
.leader-tag.is-blue{background:#4da6ff; color:#000}
.leader-tag.is-red{background:#ff5a5a; color:#fff}
.leader-tag.is-swat{background:#4da6ff; color:#000}
.vip-tag{font-style:normal; font-size:10px; color:#000; background:var(--yellow); padding:1px 5px; margin-left:6px; letter-spacing:.05em}
.pl-status{font-style:normal; font-size:10px; font-weight:600; padding:1px 5px; margin-left:6px; border:1px solid rgba(255,255,255,.16); letter-spacing:.03em; vertical-align:middle}
.pl-status.st-ok,.pl-status.st-ready{color:var(--green); border-color:rgba(0,255,136,.35); background:rgba(0,255,136,.08)}
.pl-status.st-warn{color:var(--amber); border-color:rgba(255,176,0,.4); background:rgba(255,176,0,.1)}
.pl-status.st-down{color:var(--red); border-color:rgba(255,59,59,.45); background:rgba(255,59,59,.12)}
.pl-status.st-wait{color:#9a9a9a; border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.04)}
.pl-status.st-na{color:#ff55ff; border-color:rgba(255,0,255,.48); background:rgba(255,0,255,.12)}
.pl-status.st-spec{color:#7dd3fc; border-color:rgba(125,211,252,.45); background:rgba(125,211,252,.1)}
.pl-status.st-rejoin{color:var(--yellow); border-color:rgba(255,255,0,.45); background:rgba(255,255,0,.09)}
/* Live battle feed & public chat column inside expanded server row
   Scoped under .panel-feed so homepage #communityFeed (.feed-list/.feed-item/.feed-title) is never affected. */
.panel-feed{position:relative; min-width:0; border:1px solid rgba(255,255,255,.1); background:rgba(10,12,14,.72)}
.panel-feed .feed-head{display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; padding:7px 10px; border-bottom:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.025)}
.panel-feed .feed-title{display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700; letter-spacing:.08em; color:#e6e6e6; margin-top:0; line-height:1.4}
.panel-feed .feed-dot{width:7px; height:7px; border-radius:50%; background:#555; flex:none}
.panel-feed .feed-dot.on{background:var(--green); box-shadow:0 0 8px rgba(0,255,136,.75)}
.panel-feed .feed-dot.off{background:#555; box-shadow:none}
.panel-feed .feed-dot.shielded{background:var(--red); box-shadow:0 0 8px rgba(255,59,59,.75)}
.panel-feed.is-shielded{border-color:rgba(255,75,75,.4)}
.panel-feed .feed-head-acts{display:inline-flex; align-items:center; gap:5px; flex-wrap:wrap}
.panel-feed .feed-shield-toggle{appearance:none; border:1px solid rgba(255,90,90,.5); background:rgba(255,59,59,.09); color:#ff9696; font-family:var(--font-body); font-size:10.5px; padding:2px 7px; white-space:nowrap}
.panel-feed .feed-shield-toggle:hover,.panel-feed .feed-shield-toggle.active{background:var(--red); color:#fff; border-color:var(--red); font-weight:700}
.panel-feed .feed-shield-toggle[hidden]{display:none}
.panel-feed .feed-shield-box{margin:10px 4px; padding:18px 14px; border:1px dashed rgba(255,80,80,.55); background:rgba(255,59,59,.07); text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px}
.panel-feed .feed-shield-box .fs-badge{font-size:10.5px; font-weight:700; letter-spacing:.08em; color:#ff8080; border:1px solid rgba(255,80,80,.6); background:rgba(255,59,59,.14); padding:1px 8px}
.panel-feed .feed-shield-box .fs-title{font-size:13.5px; font-weight:700; color:#ffd4d4}
.panel-feed .feed-shield-box .fs-desc{font-size:12px; color:#b89c9c; line-height:1.55; max-width:360px}
.panel-feed .feed-tabs{display:inline-flex; gap:4px; flex-wrap:wrap}
.panel-feed .feed-tabs[hidden]{display:none}
.panel-feed .feed-tab{appearance:none; border:1px solid rgba(255,255,255,.14); background:transparent; color:#aaa; font-size:11px; padding:2px 8px; cursor:pointer; font-family:inherit; transition:color .15s,border-color .15s,background .15s}
.panel-feed .feed-tab:hover{color:#fff; border-color:rgba(255,255,0,.45)}
.panel-feed .feed-tab.active{color:#000; background:var(--yellow); border-color:var(--yellow); font-weight:700}
.panel-feed .feed-list{max-height:260px; overflow-y:auto; padding:6px 8px; display:flex; flex-direction:column; gap:4px; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.22) transparent}
.panel-feed .feed-empty{color:#808080; font-size:12.5px; padding:18px 8px; text-align:center}
.panel-feed .feed-item{display:grid; grid-template-columns:56px 40px minmax(0,1fr); gap:7px; align-items:baseline; padding:4px 6px; font-size:12.5px; line-height:1.45; border-left:2px solid transparent; background:rgba(255,255,255,.02)}
.panel-feed .feed-item.ev-kill{border-left-color:#ff6b4a}
.panel-feed .feed-item.ev-incap{border-left-color:var(--amber)}
.panel-feed .feed-item.ev-tk{border-left-color:var(--red); background:rgba(255,59,59,.08)}
.panel-feed .feed-item.ev-arrest{border-left-color:#35d6ff}
.panel-feed .feed-item.ev-penalty{border-left-color:#ff944d}
.panel-feed .feed-item.ev-chat{border-left-color:var(--green); background:rgba(0,255,136,.04)}
.panel-feed .feed-item.ev-webchat{border-left-color:#35d6ff; background:rgba(53,214,255,.07)}
.panel-feed .feed-item.ev-hidden{border-left-color:#444; background:rgba(255,255,255,.015); color:#777}
.panel-feed .feed-item.ev-hidden .ev-body{color:#777; font-style:italic}
.panel-feed .feed-item.ev-vote{border-left-color:#c084fc; background:rgba(192,132,252,.05)}
.panel-feed .feed-item.ev-round{border-left-color:var(--yellow); background:rgba(255,255,0,.04)}
.panel-feed .feed-item.ev-respawn{border-left-color:#2dd4bf; background:rgba(45,212,191,.06)}
.panel-feed .feed-item.ev-obj{border-left-color:var(--amber); background:rgba(255,176,0,.07)}
.panel-feed .feed-item.ev-spec{border-left-color:#7dd3fc; color:#c8d6e5}
.panel-feed .feed-item.ev-mod{border-left-color:#f472b6; background:rgba(244,114,182,.05)}
.panel-feed .feed-item.ev-sys{border-left-color:#555; color:#aaa}
.panel-feed .ev-time{font-family:var(--font-mono); font-size:11px; color:#777; font-variant-numeric:tabular-nums; white-space:nowrap}
.panel-feed .ev-badge{font-size:10px; font-weight:700; text-align:center; padding:1px 4px; border:1px solid rgba(255,255,255,.16); color:#ccc; white-space:nowrap}
.panel-feed .ev-kill .ev-badge{color:#ff8468; border-color:rgba(255,107,74,.45); background:rgba(255,107,74,.1)}
.panel-feed .ev-incap .ev-badge{color:var(--amber); border-color:rgba(255,176,0,.45); background:rgba(255,176,0,.1)}
.panel-feed .ev-tk .ev-badge{color:#ff5a5a; border-color:rgba(255,59,59,.55); background:rgba(255,59,59,.14)}
.panel-feed .ev-arrest .ev-badge{color:#4de0ff; border-color:rgba(53,214,255,.45); background:rgba(53,214,255,.1)}
.panel-feed .ev-penalty .ev-badge{color:#ffa366; border-color:rgba(255,148,77,.45); background:rgba(255,148,77,.1)}
.panel-feed .ev-chat .ev-badge{color:var(--green); border-color:rgba(0,255,136,.45); background:rgba(0,255,136,.1)}
.panel-feed .ev-webchat .ev-badge{color:#5ce1ff; border-color:rgba(53,214,255,.55); background:rgba(53,214,255,.14)}
.panel-feed .ev-hidden .ev-badge{color:#777; border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.03)}
.panel-feed .ev-vote .ev-badge{color:#d8b4fe; border-color:rgba(192,132,252,.45); background:rgba(192,132,252,.12)}
.panel-feed .ev-round .ev-badge{color:var(--yellow); border-color:rgba(255,255,0,.45); background:rgba(255,255,0,.09)}
.panel-feed .ev-respawn .ev-badge{color:#5eead4; border-color:rgba(45,212,191,.5); background:rgba(45,212,191,.12)}
.panel-feed .ev-obj .ev-badge{color:var(--amber); border-color:rgba(255,176,0,.5); background:rgba(255,176,0,.13)}
.panel-feed .ev-spec .ev-badge{color:#7dd3fc; border-color:rgba(125,211,252,.45); background:rgba(125,211,252,.1)}
.panel-feed .ev-mod .ev-badge{color:#f9a8d4; border-color:rgba(244,114,182,.45); background:rgba(244,114,182,.12)}
.panel-feed .ev-sys .ev-badge{color:#999; border-color:rgba(255,255,255,.14)}
.panel-feed .ev-body{color:#e2e2e2; overflow-wrap:anywhere; word-break:break-word}
.panel-feed .ev-actor{font-weight:700; color:#fff}
.panel-feed .ev-actor.team-swat{color:#6bb8ff}
.panel-feed .ev-actor.team-blue{color:#6bb8ff}
.panel-feed .ev-actor.team-suspect{color:#ff7272}
.panel-feed .ev-actor.is-web{color:#5ce1ff}
.chat-verified-badge{display:inline-flex; align-items:center; margin-left:5px; padding:0 5px; height:16px; font-size:10px; font-weight:700; color:#00ff88; border:1px solid rgba(0,255,136,.5); background:rgba(0,255,136,.13); line-height:1; box-sizing:border-box}
.panel-feed .feed-item.has-mod-btn{grid-template-columns:56px 40px minmax(0,1fr) auto}
.panel-feed .feed-item.has-chk{grid-template-columns:20px 56px 40px minmax(0,1fr) auto}
.panel-feed .ev-chk{width:14px; height:14px; margin:2px 0 0; accent-color:var(--yellow)}
.panel-feed .feed-batch-toggle{appearance:none; border:1px solid rgba(255,255,0,.45); background:rgba(255,255,0,.07); color:var(--yellow); font-family:var(--font-body); font-size:10.5px; padding:2px 7px; white-space:nowrap}
.panel-feed .feed-batch-toggle:hover,.panel-feed .feed-batch-toggle.active{background:var(--yellow); color:#000; font-weight:700}
.panel-feed .feed-batch-toggle[hidden]{display:none}
.panel-feed .feed-batch-bar{display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:6px 9px; border-top:1px solid rgba(255,255,0,.28); background:rgba(255,255,0,.06); font-size:11.5px; color:#f0e6a8}
.panel-feed .feed-batch-bar[hidden]{display:none}
.panel-feed .feed-batch-bar .cnt{font-family:var(--font-mono); color:var(--yellow); margin-right:auto}
.panel-feed .ev-mod-btn{appearance:none; border:1px solid rgba(255,255,255,.18); background:rgba(0,0,0,.45); color:#aaa; font-family:var(--font-body); font-size:10px; padding:1px 6px; line-height:1.45; white-space:nowrap; opacity:.72; transition:opacity .15s,border-color .15s,color .15s,background .15s}
.panel-feed .feed-item:hover .ev-mod-btn,.panel-feed .ev-mod-btn:focus-visible{opacity:1}
.panel-feed .ev-mod-btn:hover{border-color:var(--red); color:#ff7b7b; background:rgba(255,59,59,.12)}
.panel-feed .ev-mod-btn.is-restore{border-color:rgba(0,255,136,.35); color:var(--green)}
.panel-feed .ev-mod-btn.is-restore:hover{border-color:var(--green); background:rgba(0,255,136,.14); color:#fff}
@keyframes feedFlash{0%{background:rgba(255,255,0,.14)}100%{background:rgba(255,255,255,.02)}}
.panel-feed .feed-item.is-new{animation:feedFlash .85s ease-out both}
.panel-feed .feed-jump{position:absolute; right:12px; bottom:52px; border:1px solid var(--yellow); background:rgba(12,12,12,.92); color:var(--yellow); font-size:11px; font-weight:700; padding:3px 9px; cursor:pointer; font-family:inherit; box-shadow:0 4px 12px rgba(0,0,0,.5)}
.panel-feed .feed-jump:hover{background:var(--yellow); color:#000}
.panel-feed .feed-chat{border-top:1px solid rgba(255,255,255,.09); background:rgba(0,0,0,.42); padding:7px 9px}
.panel-feed .fc-row{display:flex; align-items:center; gap:7px; flex-wrap:wrap}
.panel-feed .fc-hint{font-size:12px; color:#9a9a9a; flex:1 1 160px}
.panel-feed .fc-hint.warn{color:var(--amber)}
.panel-feed .fc-prefix{font-family:var(--font-mono); font-size:11.5px; color:#5ce1ff; background:rgba(53,214,255,.09); border:1px solid rgba(53,214,255,.32); padding:4px 7px; white-space:nowrap; flex:none}
.panel-feed .fc-input{flex:1 1 150px; min-width:0; background:#06080b; border:1px solid #3c4654; color:#fff; font-family:var(--font-body); font-size:12.5px; padding:5px 9px; outline:none; transition:border-color .15s}
.panel-feed .fc-input:focus{border-color:#5ce1ff}
.panel-feed .fc-input.is-bad{border-color:var(--red); background:rgba(255,59,59,.08)}
.panel-feed .fc-input:disabled{opacity:.5; background:#0a0a0a}
.panel-feed .fc-btn{appearance:none; border:1px solid #4a5a70; background:#0d131d; color:#d8e6f8; font-family:var(--font-body); font-size:12px; font-weight:600; padding:5px 12px; min-height:30px; white-space:nowrap; transition:border-color .15s,background .15s,color .15s}
.panel-feed .fc-btn:hover:not(:disabled){border-color:#5ce1ff; background:#5ce1ff; color:#000}
.panel-feed .fc-btn:disabled{opacity:.48}
.panel-feed .fc-err{margin-top:5px; font-size:11.5px; color:#ff7b7b; line-height:1.45}
.panel-feed .fc-err[hidden]{display:none}
/* Lightweight tactical modals for webchat auth & moderation */
.swat-modal{position:fixed; inset:0; z-index:2500; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(3,5,9,.82); backdrop-filter:blur(3px)}
.swat-modal[hidden]{display:none}
.swat-modal-box{width:100%; max-width:440px; max-height:90vh; display:flex; flex-direction:column; background:#090c11; border:1px solid rgba(255,255,255,.28); box-shadow:0 22px 60px rgba(0,0,0,.78); overflow:hidden}
.swat-modal-box.is-wide{max-width:860px}
.swat-modal-head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 14px; background:#fff; color:#000; font-family:var(--font-display); font-weight:700; font-size:14px; letter-spacing:.08em}
.swat-modal-head.is-danger{background:var(--red); color:#fff}
.swat-ban-box{border:1px solid rgba(255,59,59,.6); background:rgba(255,59,59,.11); padding:10px 12px; color:#ffd6d6; font-size:12.5px; line-height:1.6}
.swat-ban-title{font-weight:700; color:#ff7b7b; margin-bottom:6px; font-size:13px}
.swat-ban-row{display:flex; gap:6px; align-items:baseline; margin:3px 0}
.swat-ban-row .k{color:#ffadad; flex:none; min-width:68px; font-weight:600}
.swat-ban-row .v{color:#fff; overflow-wrap:anywhere; word-break:break-word; font-family:var(--font-mono); font-size:12.5px}
.swat-ban-foot{margin-top:8px; padding-top:7px; border-top:1px dashed rgba(255,90,90,.35); color:#d8b4b4; font-size:11.5px; line-height:1.55}
.swat-form-err.is-ban{padding:0; border:none; background:transparent}
.adm-ban-box{width:100%; display:flex; flex-direction:column; gap:7px; margin-top:7px; padding-top:8px; border-top:1px dashed rgba(255,75,75,.45)}
.adm-ban-line{display:flex; align-items:center; gap:6px; flex-wrap:wrap}
.adm-ban-line input[type="number"]{width:84px; background:#05070a; border:1px solid #3a4452; color:#fff; font-family:var(--font-mono); font-size:12px; padding:4px 7px; outline:none}
.adm-ban-line select{background:#05070a; border:1px solid #3a4452; color:#fff; font-size:12px; padding:4px 7px; outline:none}
.adm-ban-line input[type="text"]{flex:1 1 240px; min-width:160px; background:#05070a; border:1px solid #3a4452; color:#fff; font-size:12px; padding:5px 8px; outline:none}
.adm-ban-line input[type="text"]:focus,.adm-ban-line input[type="number"]:focus,.adm-ban-line select:focus{border-color:var(--yellow)}
.swat-modal-head-acts{display:inline-flex; align-items:center; gap:6px}
.swat-modal-link{display:inline-flex; align-items:center; border:1px solid #222; background:#141a24; color:#ffff00; font-family:var(--font-body); font-size:11.5px; font-weight:600; padding:2px 9px; line-height:1.5; text-decoration:none}
.swat-modal-link:hover{background:#000; color:#fff; border-color:#000}
a.chat-bar-btn{text-decoration:none; display:inline-flex; align-items:center}
.swat-modal-close{appearance:none; border:1px solid #222; background:#000; color:#fff; font-size:12px; padding:2px 9px; line-height:1.5}
.swat-modal-close:hover{background:var(--yellow); color:#000; border-color:var(--yellow)}
.swat-modal-tabs{display:flex; flex-wrap:wrap; gap:6px; padding:10px 14px 0; border-bottom:1px solid #242a34; background:#0d1118}
.swat-mtab{appearance:none; border:1px solid #353f4d; border-bottom:none; background:#090c11; color:#9da9b8; font-family:var(--font-body); font-size:12.5px; padding:6px 13px; margin-bottom:-1px}
.swat-mtab:hover{color:#fff}
.swat-mtab.active{color:#000; background:var(--yellow); border-color:var(--yellow); font-weight:700}
.swat-modal-body{padding:14px 16px 16px; overflow-y:auto; font-size:13.5px; color:#ddd; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.22) transparent}
.swat-field{margin-bottom:11px}
.swat-field label{display:block; font-size:12px; color:#aeb9c7; margin-bottom:4px}
.swat-field input,.swat-field select{width:100%; background:#05070a; border:1px solid #3a4452; color:#fff; font-family:var(--font-mono); font-size:13.5px; padding:8px 10px; outline:none}
.swat-field input:focus,.swat-field select:focus{border-color:var(--yellow)}
.swat-field .hint{font-size:11.5px; color:#8892a0; margin-top:4px; line-height:1.5}
.swat-form-err{margin:8px 0 10px; padding:7px 10px; border:1px solid rgba(255,59,59,.55); background:rgba(255,59,59,.12); color:#ff8a8a; font-size:12.5px}
.swat-form-err[hidden]{display:none}
.swat-form-ok{margin:8px 0 10px; padding:7px 10px; border:1px solid rgba(0,255,136,.45); background:rgba(0,255,136,.1); color:#6bffb8; font-size:12.5px}
.swat-form-ok[hidden]{display:none}
.swat-form-info{margin:8px 0 10px; padding:8px 10px; border:1px solid rgba(53,214,255,.5); background:rgba(53,214,255,.1); color:#aeeeff; font-size:12.5px; line-height:1.55}
.swat-form-info[hidden]{display:none}
.swat-forgot-btn{margin-right:auto; appearance:none; border:none; background:none; padding:4px 2px; color:#8fd8ff; font-family:var(--font-body); font-size:12.5px; text-decoration:underline dotted; text-underline-offset:3px}
.swat-forgot-btn:hover{color:var(--yellow)}
.swat-actions{display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:12px; flex-wrap:wrap}
.swat-btn{appearance:none; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; border:1px solid #555; background:#12161e; color:#ddd; font-family:var(--font-body); font-size:12.5px; line-height:1.2; padding:7px 14px; min-height:34px; margin:0; text-decoration:none; white-space:nowrap; vertical-align:middle; transition:border-color .15s,background .15s,color .15s}
.swat-btn:hover:not(:disabled){border-color:var(--yellow); color:var(--yellow)}
.swat-btn.primary{border-color:var(--yellow); background:var(--yellow); color:#000; font-weight:700}
.swat-btn.primary:hover:not(:disabled){background:#fff; border-color:#fff; color:#000}
.swat-btn.danger{border-color:rgba(255,59,59,.55); color:#ff7b7b}
.swat-btn.danger:hover:not(:disabled){background:var(--red); color:#fff; border-color:var(--red)}
.swat-btn.sm{padding:0 10px; height:26px; min-height:26px; font-size:11.5px; line-height:1}
.adm-section{border:1px solid #252c37; background:rgba(255,255,255,.02); padding:11px 12px; margin-bottom:12px}
.adm-section h4{margin:0 0 9px; font-size:13px; color:#fff; letter-spacing:.06em; border-left:3px solid var(--yellow); padding-left:8px}
.adm-switch-row{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px}
.adm-check{display:inline-flex; align-items:center; gap:7px; color:#e6e6e6; font-size:13px}
.adm-check.is-danger{color:#ffb3b3}
.adm-check input{width:15px; height:15px; accent-color:var(--yellow)}
.adm-srv-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:7px}
.adm-srv-item{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 9px; border:1px solid #262e3a; background:rgba(0,0,0,.38); font-size:12px}
.adm-srv-item.is-shielded{border-color:rgba(255,80,80,.55); background:rgba(255,59,59,.09)}
.adm-srv-item.is-shielded .ad{color:#ff9c9c}
.adm-shield-bar{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:8px 10px; border:1px solid #2a3342; background:rgba(0,0,0,.38)}
.adm-shield-status{font-size:12.5px; color:#cfd8e3; font-weight:600}
.adm-shield-status.is-on{color:#ff8686}
.adm-shield-chips{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px}
.adm-shield-chips[hidden]{display:none}
.adm-shield-chip{display:inline-flex; align-items:center; gap:6px; padding:2px 7px; border:1px solid rgba(255,85,85,.5); background:rgba(255,59,59,.11); color:#ffd0d0; font-size:11.5px}
.adm-shield-chip button{appearance:none; border:1px solid rgba(255,255,255,.25); background:#0d1118; color:#fff; font-size:10.5px; padding:1px 6px}
.adm-shield-chip button:hover{border-color:var(--yellow); color:var(--yellow)}
.adm-srv-item .nm{color:#fff; font-weight:600}
.adm-srv-item .ad{font-family:var(--font-mono); font-size:10.5px; color:#8892a0}
.adm-list{display:flex; flex-direction:column; gap:6px; max-height:360px; overflow-y:auto}
.adm-row{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:8px 10px; border:1px solid #232a35; background:rgba(0,0,0,.38); font-size:12.5px}
.adm-row.is-hidden{border-left:3px solid var(--amber); background:rgba(255,176,0,.06)}
.adm-row-main{min-width:0; flex:1 1 240px}
.adm-row-meta{font-family:var(--font-mono); font-size:11px; color:#8e98a6; margin-bottom:2px}
.adm-user-times{display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:4px; font-family:var(--font-mono); font-size:11.5px; color:#9aa6b5; font-variant-numeric:tabular-nums}
.adm-ut-item .k{color:#788494}
.adm-ut-item .v{color:#cfd8e3}
.adm-log-op{color:#fff; font-weight:700}
.adm-log-target{color:#cfd8e3; font-size:12px}
.adm-uname-badge{display:inline-block; margin-left:7px; padding:1px 6px; font-family:var(--font-mono); font-size:11px; color:#9cd8ff; background:rgba(53,214,255,.09); border:1px solid rgba(53,214,255,.32); vertical-align:middle}
.adm-uname-badge.is-hidden{color:#8f9aa8; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.16); font-style:italic}
.adm-prot-hint{font-size:11px; color:#7f8b9c; padding:2px 7px; border:1px dashed rgba(255,255,255,.16); background:rgba(255,255,255,.02)}
.adm-req-box{width:100%; margin-top:7px; padding:8px 10px; border:1px dashed rgba(255,176,0,.5); background:rgba(255,176,0,.07); display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:12px; color:#f2ddaa}
.adm-req-box.is-nick{border-color:rgba(53,214,255,.45); background:rgba(53,214,255,.07); color:#c9ecff}
.adm-req-box.is-qq{border-color:rgba(0,255,136,.45); background:rgba(0,255,136,.07); color:#c8ffe4}
.adm-req-main{min-width:0; flex:1 1 240px; line-height:1.55}
.adm-req-acts{display:flex; align-items:center; gap:6px; flex-wrap:wrap}
.adm-req-acts input[type="text"]{width:165px; background:#05070a; border:1px solid #3a4452; color:#fff; font-family:var(--font-mono); font-size:12px; padding:4px 7px; outline:none}
.adm-req-acts input[type="text"]:focus{border-color:var(--yellow)}
.adm-mute-box input[type="text"]{flex:1 1 220px; min-width:160px; background:#05070a; border:1px solid #3a4452; color:#fff; font-size:12px; padding:5px 8px; outline:none}
.adm-mute-box input[type="text"]:focus{border-color:var(--yellow)}
.fc-reset-tip{display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; margin-bottom:6px; padding:5px 8px; border:1px solid rgba(255,176,0,.45); background:rgba(255,176,0,.09); color:#ffd27a; font-size:11.5px; line-height:1.5}
.fc-reset-tip a{color:var(--yellow); font-weight:700; text-decoration:underline dotted; white-space:nowrap}
.adm-row-text{color:#e6e6e6; overflow-wrap:anywhere; word-break:break-word}
.adm-row-acts{display:flex; align-items:center; gap:5px; flex-wrap:wrap; flex:none}
.adm-tag{display:inline-block; font-size:10.5px; padding:1px 6px; border:1px solid #444; color:#bbb; margin-left:6px}
.adm-tag.ok{color:var(--green); border-color:rgba(0,255,136,.4)}
.adm-tag.super{color:#ffdf5d; border-color:rgba(255,204,0,.75); background:rgba(255,204,0,.15); font-weight:700}
.chat-role-badge.is-super{color:#000; background:#ffd23f; border-color:#ffd23f; font-weight:700}
.adm-tag.verified{color:#00ff88; border-color:rgba(0,255,136,.65); background:rgba(0,255,136,.14); font-weight:700}
.adm-tag.warn{color:var(--amber); border-color:rgba(255,176,0,.45)}
.adm-tag.bad{color:#ff7b7b; border-color:rgba(255,59,59,.5)}
.adm-toolbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.adm-toolbar select,.adm-toolbar input{background:#05070a; border:1px solid #3a4452; color:#fff; font-size:12.5px; padding:6px 9px; outline:none}
.adm-toolbar input{flex:1 1 180px; min-width:0}
.adm-batch-bar{display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:7px 9px; margin-bottom:8px; border:1px dashed rgba(255,255,0,.35); background:rgba(255,255,0,.05); font-size:12px; color:#ddd}
.adm-batch-bar .cnt{font-family:var(--font-mono); color:var(--yellow); margin-right:auto}
.adm-row-chk{width:15px; height:15px; flex:none; accent-color:var(--yellow); margin:0}
.adm-mute-box{width:100%; display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:7px; padding-top:7px; border-top:1px dashed #2e3746}
.adm-mute-box input[type="number"]{width:84px; background:#05070a; border:1px solid #3a4452; color:#fff; font-family:var(--font-mono); font-size:12px; padding:4px 7px; outline:none}
.adm-mute-box select{background:#05070a; border:1px solid #3a4452; color:#fff; font-size:12px; padding:4px 7px; outline:none}
.adm-note{font-size:12px; color:#9ba6b5; margin:0 0 9px; line-height:1.55}
.adm-temp-pw{margin:0 0 10px; padding:10px 12px; border:1px solid rgba(255,255,0,.55); background:rgba(255,255,0,.08); display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.adm-temp-pw-main{min-width:0; flex:1 1 240px; font-size:12.5px; color:#f3ecc8; line-height:1.6}
.adm-temp-pw code{display:inline-block; margin:2px 6px 2px 0; padding:2px 8px; font-size:14px; font-weight:700; color:var(--yellow); background:#000; border:1px solid rgba(255,255,0,.5); user-select:all; letter-spacing:.05em}
.swat-form-warn{margin:0 0 11px; padding:8px 10px; border:1px solid rgba(255,176,0,.55); background:rgba(255,176,0,.11); color:#ffd27a; font-size:12.5px; line-height:1.55}
.adm-empty{color:#808996; font-size:12.5px; text-align:center; padding:18px 8px}
/* Standalone admin console (/gly) & personal center (/profile) */
body[data-page="gly"] main,body[data-page="profile"] main{padding-bottom:16px}
body[data-page="gly"] .sec-hero,body[data-page="profile"] .sec-hero{padding-bottom:12px; margin-bottom:16px}
body[data-page="gly"] .site-footer,body[data-page="profile"] .site-footer{margin-top:20px}
.gly-page{max-width:1240px; margin:0 auto}
.gly-shell{display:flex; flex-direction:column; gap:14px}
.gly-shell.is-loading{min-height:calc(100vh - 160px); min-height:calc(100dvh - 160px)}
.gly-shell.is-loading .gly-gate{display:flex; align-items:center; justify-content:center; min-height:calc(100vh - 200px); min-height:calc(100dvh - 200px)}
.gly-panel-body.is-loading{min-height:calc(100vh - 240px); min-height:calc(100dvh - 240px); display:flex; align-items:center; justify-content:center}
.gly-topbar{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:10px 14px; border:1px solid #2c3543; background:rgba(8,11,16,.84); font-size:13px; color:#cbd4e0}
.gly-topbar:empty{display:none}
.gly-tb-left,.gly-tb-right{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.gly-topbar .swat-btn{display:inline-flex; align-items:center; justify-content:center; height:28px; min-height:28px; padding:0 12px; font-size:12px; line-height:1; text-decoration:none}
.gly-gate[hidden],.gly-workbench[hidden]{display:none}
.gly-gate-card{max-width:500px; margin:6px auto 8px; padding:16px 20px; border:1px solid rgba(255,255,255,.22); background:rgba(9,12,17,.92); box-shadow:0 18px 46px rgba(0,0,0,.55)}
.gly-gate-card h3{margin:0 0 10px; font-family:var(--font-display); font-size:18px; letter-spacing:.08em; color:#fff; border-left:4px solid var(--yellow); padding-left:10px}
.gly-gate-card a.swat-btn{text-decoration:none; display:inline-flex; align-items:center; justify-content:center}
.gly-kpi{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:12px}
.gly-kpi-card{padding:12px 14px; border:1px solid #28313f; border-left:3px solid #556173; background:rgba(9,12,17,.86)}
.gly-kpi-card.is-ok{border-left-color:var(--green)}
.gly-kpi-card.is-warn{border-left-color:var(--amber)}
.gly-kpi-card.is-bad{border-left-color:var(--red)}
.gly-kpi-card .k-lbl{font-size:11.5px; color:#8d99a8; letter-spacing:.06em; margin-bottom:4px}
.gly-kpi-card .k-val{font-family:var(--font-mono); font-size:20px; font-weight:700; color:#fff; line-height:1.25}
.gly-kpi-card.is-ok .k-val{color:var(--green)}
.gly-kpi-card.is-warn .k-val{color:var(--amber)}
.gly-kpi-card.is-bad .k-val{color:#ff7b7b}
.gly-kpi-card .k-sub{font-size:11.5px; color:#9da8b8; margin-top:4px; line-height:1.45}
.gly-tabs-bar{display:flex; align-items:flex-end; justify-content:space-between; gap:10px; flex-wrap:wrap; border-bottom:1px solid #2b3442; background:rgba(13,17,24,.92); padding:8px 12px 0}
.gly-tabs{padding:0; border-bottom:none; background:transparent}
.gly-tabs-acts{padding-bottom:7px}
.gly-panel-body{padding:16px; border:1px solid #2b3442; border-top:none; background:rgba(9,12,17,.88)}
.gly-workbench .adm-list{max-height:66vh}
.gly-workbench .adm-srv-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
@media (max-width:920px){
  .gly-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  .gly-kpi{grid-template-columns:1fr}
  .gly-panel-body{padding:12px}
}
/* User personal center (/profile) */
.prof-page{max-width:1060px; margin:0 auto}
.prof-body[hidden]{display:none}
.prof-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start}
.prof-card{border:1px solid #2b3544; background:rgba(9,12,17,.88); padding:16px 18px}
.prof-card.is-full{grid-column:1 / -1}
.prof-card.is-highlight{border-color:rgba(255,176,0,.6); background:rgba(255,176,0,.07)}
.prof-card h3{margin:0 0 10px; font-family:var(--font-display); font-size:15px; letter-spacing:.08em; color:#fff; border-left:3px solid #35d6ff; padding-left:9px}
.prof-card.is-highlight h3{border-left-color:var(--amber); color:#ffd27a}
.prof-kv{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px}
.prof-kv-item{padding:10px 12px; border:1px solid #232b38; background:rgba(0,0,0,.4)}
.prof-kv-item .k{font-size:11.5px; color:#8b97a8; margin-bottom:4px}
.prof-kv-item .v{font-family:var(--font-mono); font-size:15px; font-weight:700; color:#fff; overflow-wrap:anywhere}
.prof-kv-item .v.is-nick{color:#5ce1ff}
.prof-kv-item .v.is-verified{color:#00ff88}
.prof-kv-item .s{font-size:11px; color:#7f8b9b; margin-top:3px; line-height:1.45}
.prof-pending{padding:10px 12px; border:1px dashed rgba(255,176,0,.55); background:rgba(255,176,0,.08); color:#f2ddaa; font-size:12.5px; line-height:1.6}
.prof-pending code{color:var(--yellow); background:#000; padding:1px 6px; border:1px solid rgba(255,255,0,.35)}
@media (max-width:860px){
  .prof-grid{grid-template-columns:1fr}
}
@media (max-width:1060px){
  .player-panel.has-full-stats .panel-grid{grid-template-columns:1fr; gap:14px}
}
@media (max-width:920px){
  .panel-grid{grid-template-columns:1fr; gap:14px}
}
.pl-team{font-size:12px; font-weight:700}
.team-swat{color:#5eb0ff} .team-blue{color:#5eb0ff} .team-suspect{color:var(--red)} .team-na{color:#777}
.pl-ping{font-family:var(--font-mono); font-size:12.5px}
.ping-good{color:var(--green)} .ping-mid{color:var(--amber)} .ping-bad{color:var(--red)} .ping-na{color:#777}
/* While a client is still downloading the map SWAT 4 reports either 0 or a
   placeholder above any real connection (999), so neither is a round-trip time.
   Both get the same amber pill with a breathing dot — never the green of a
   perfect link or the red of a genuinely bad one — inside the ping column. */
.ping-loading{color:var(--amber)}
.pl-ping.ping-loading{display:inline-flex; align-items:center; justify-content:center; gap:5px; font-family:var(--font-body); font-size:11.5px; letter-spacing:.02em; white-space:nowrap}
.pl-ping.ping-loading::before{content:""; width:6px; height:6px; flex:none; border-radius:50%; background:currentColor; box-shadow:0 0 7px rgba(255,176,0,.75); animation:loadBreath 1.15s ease-in-out infinite}
@keyframes loadBreath{0%,100%{opacity:1; transform:scale(1)}50%{opacity:.3; transform:scale(.7)}}
.player-row.is-loading .pl-name{color:#e8dcc4}
.player-row.is-loading{background:linear-gradient(90deg,rgba(255,176,0,.07),transparent 62%)}
.pl-score{font-family:var(--font-mono); color:#bbb}
.player-empty{color:#888; font-size:13px; padding:6px 8px}
/* Live refresh patches an open panel in place — no wipe, no reflow. Only a value
   that actually changed gets a brief tint, so the eye is drawn to the delta
   instead of the whole list re-announcing itself every ten seconds. */
@keyframes liveTick{
  0%{color:var(--tick,#ffff00); text-shadow:0 0 10px var(--tick-glow,rgba(255,255,0,.55))}
  100%{color:inherit; text-shadow:none}
}
.pl-ping.tick,.pl-score.tick,.pl-kills.tick,.pl-deaths.tick,.pl-arrests.tick,.pl-arrested.tick,.pl-obj.tick,.pl-incaps.tick,.pl-penalty.tick,.pnum.tick{animation:liveTick .9s ease-out both}
.pl-score.tick{--tick:#ffff00; --tick-glow:rgba(255,255,0,.5)}
.pnum.tick{--tick:#ffff00; --tick-glow:rgba(255,255,0,.5)}
/* A player who just joined or left is a structural change, so those rows get a
   one-shot edge cue rather than the full-list cascade. */
@keyframes liveJoin{
  0%{background:rgba(0,255,136,.20); box-shadow:inset 3px 0 0 var(--green)}
  100%{background:transparent; box-shadow:inset 3px 0 0 transparent}
}
@keyframes liveLeave{
  0%{opacity:1; background:rgba(255,59,59,.16); transform:translateX(0)}
  100%{opacity:0; background:transparent; transform:translateX(-10px)}
}
.player-row.joining{animation:liveJoin 1.1s ease-out both}
.player-row.leaving{animation:liveLeave .34s ease-in both; pointer-events:none}
.player-row.leaving .pl-name{text-decoration:line-through; text-decoration-color:rgba(255,59,59,.7)}
/* The roster stays purely tabular: freshness is reported once by the live bar
   above the table, and each team cell carries its own source on hover, so the
   panel needs neither an age line nor a trailing explanation block. */
@media (max-width:600px){
  .player-panel{padding-left:14px; padding-right:12px}
  .player-head,.player-row{grid-template-columns:minmax(0,1fr) 52px 66px 48px; gap:6px; font-size:12px}
  /* "正在载入" is wider than "194 ms"; shrink the pill rather than let it push
     the ping column past its track and clip the neighbouring score. */
  .pl-ping.ping-loading{font-size:10.5px; gap:4px; letter-spacing:0}
  .pl-ping.ping-loading::before{width:5px; height:5px}
  .panel-feed .feed-item{grid-template-columns:48px 36px minmax(0,1fr); gap:5px; font-size:12px}
  .panel-feed .feed-item.has-mod-btn{grid-template-columns:48px 36px minmax(0,1fr) auto}
  .panel-feed .feed-item.has-chk{grid-template-columns:18px 48px 36px minmax(0,1fr) auto}
  .panel-feed .ev-time{font-size:10px}
  .panel-feed .feed-list{max-height:220px}
  .chat-auth-bar{margin-left:0; width:100%; order:10; padding-top:4px; border-top:1px dashed rgba(255,255,255,.1)}
  .live-help{margin-left:auto}
}
/* At 320px the four columns plus padding no longer fit, so the score column
   drops under the name rather than forcing the row to scroll sideways. */
@media (max-width:360px){
  .player-panel{padding-left:12px; padding-right:10px}
  .player-head,.player-row{grid-template-columns:minmax(0,1fr) 46px 60px; gap:5px; font-size:11.5px; padding:5px 6px}
  .player-head span:nth-child(4){display:none}
  .player-row .pl-score{grid-column:2 / -1; text-align:right; color:#8f8f8f; font-size:11px}
  .player-row .pl-score::before{content:"得分 "; color:#6f6f6f}
  /* 60px cannot hold the dot plus four characters, so the pill drops its dot
     here and keeps the full wording at a size that still fits the track. */
  .pl-ping.ping-loading{font-size:10px; gap:0}
  .pl-ping.ping-loading::before{display:none}
}
.sub-head{font-family:var(--font-display); font-size:16px; letter-spacing:.14em; text-transform:uppercase; color:#fff; margin:26px 0 12px; border-left:4px solid var(--yellow); padding-left:10px}
.voice-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px}
.mono-line{display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-family:var(--font-mono); color:var(--yellow); padding:6px 0; font-size:14px}
.mono-line .desc{font-family:var(--font-body); color:#999; font-size:12px}
.domain-box{display:flex; flex-wrap:wrap; gap:10px 26px; background:rgba(0,0,0,.5); border:1px solid var(--line); padding:12px 16px; margin-top:12px}
/* SECTION: lists */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start}
.link-list{list-style:none; margin:0; padding:0}
.link-list li{border-bottom:1px solid rgba(255,255,255,.08)}
.link-list a{display:flex; align-items:center; gap:12px; padding:11px 12px; text-decoration:none; color:#fff; background:rgba(0,0,0,.4); min-height:44px}
.link-list a:hover{background:rgba(255,255,0,.06); color:var(--yellow)}
.link-list .no{font-family:var(--font-mono); color:var(--yellow); font-size:12px; flex:none; width:26px}
.link-list .nm{min-width:0; overflow-wrap:anywhere; font-weight:600}
.link-list .arrow{margin-left:auto; color:#666; flex:none}
.link-list a:hover .arrow{color:var(--yellow)}
.type-tag{font-size:10.5px; padding:2px 7px; border:1px solid; letter-spacing:.06em; white-space:nowrap; flex:none}
.type-tag.pve{color:var(--green); border-color:var(--green)}
.type-tag.pvp{color:var(--red); border-color:var(--red)}
.type-tag.fun{color:var(--amber); border-color:var(--amber)}
.card-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px}
.link-card{display:flex; flex-direction:column; gap:4px; border:1px solid rgba(255,255,255,.2); background:rgba(0,0,0,.5); padding:12px 14px; text-decoration:none; min-height:64px; justify-content:center}
.link-card .nm{color:#fff; font-weight:700; font-size:14px; overflow-wrap:anywhere}
.link-card .ds{color:#888; font-size:12px; line-height:1.5}
.link-card .src{font-family:var(--font-mono); font-size:10.5px; color:#666; letter-spacing:.1em; text-transform:uppercase}
.link-card:hover{border-color:var(--yellow); background:rgba(255,255,0,.05)}
.link-card:hover .nm{color:var(--yellow)}
/* SECTION: modes-standalone */
.modes-section{position:relative}
.modes-section::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(120% 90% at 85% 0%,rgba(0,255,140,.07),transparent 55%),radial-gradient(90% 80% at 0% 100%,rgba(255,60,60,.06),transparent 60%)}
.modes-section .sec-head{border-bottom-color:#3f6b52}
.modes-section .sec-head .idx{color:#57ff9a}
.modes-section .count-badge{background:#57ff9a}
.mode-legend{display:flex; flex-wrap:wrap; gap:8px 20px; margin:0 0 16px; font-size:12.5px; color:#bbb}
.mode-legend .lg{display:inline-flex; align-items:center; gap:7px}
.mode-legend .sw{width:11px; height:11px; flex:none; border:1px solid; transform:rotate(45deg)}
.mode-legend .sw.pve{border-color:var(--green); background:rgba(0,255,0,.18)}
.mode-legend .sw.pvp{border-color:var(--red); background:rgba(255,0,0,.18)}
.mode-legend .sw.fun{border-color:var(--amber); background:rgba(255,176,0,.18)}
#modeList a{border-left:3px solid transparent}
#modeList a:hover{border-left-color:var(--yellow)}
/* SECTION: community */
.mail-addr{font-family:var(--font-mono); font-size:clamp(18px,2.6vw,26px); color:var(--yellow); text-decoration:none; display:inline-block; padding:6px 0; overflow-wrap:anywhere}
.mail-addr:hover{color:#fff}
.rules-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:14px}
.rule-block{border:1px solid var(--line); background:rgba(0,0,0,.4); padding:12px 16px}
.rule-block h4{margin:0 0 8px; font-family:var(--font-display); letter-spacing:.12em; color:#fff; font-size:14px; text-transform:uppercase; border-bottom:1px solid #333; padding-bottom:6px}
.rule-block ul{margin:0; padding-left:1.2em; font-size:13.5px; color:#ccc}
.rule-block li{margin:.45em 0}
.rule-block.full{grid-column:1/-1}
.contrib-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; margin:14px 0}
.contrib{display:flex; flex-direction:column; gap:2px; border:1px solid rgba(255,255,255,.18); background:rgba(0,0,0,.45); padding:10px 12px; text-decoration:none; min-height:52px; justify-content:center}
/* .cbox-body a paints a dotted underline that propagates into child spans, so
   text-decoration:none on .contrib alone is not enough — the ID and alias lines
   must opt out explicitly, same as the group directory entries. */
.cbox-body a.contrib{color:inherit; text-decoration:none}
.contrib .n,.contrib .a{text-decoration:none}
.contrib .n{color:#fff; font-weight:700; font-size:14px}
.contrib .a{color:#888; font-size:11.5px}
.contrib:hover{border-color:var(--yellow)}
.contrib:hover .n{color:var(--yellow)}
/* TeamSpeak connection walkthrough: the three supplied screenshots keep their
   own red callouts, so the page adds no overlay — just a numbered caption and a
   click-to-zoom frame. Shots sit side by side on wide screens and stack when
   the column gets narrow, always at their natural aspect ratio. */
/* align-items:start — the third shot is landscape while the first two are
   portrait, so stretching every card to the tallest one would leave a large
   empty area under it. Each card sizes to its own content instead. */
.ts-steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin:14px 0 4px; align-items:start}
.ts-step{border:1px solid var(--line); background:rgba(0,0,0,.42); padding:10px 12px 12px; display:flex; flex-direction:column; gap:8px}
.ts-step-head{display:flex; align-items:center; gap:8px; font-size:13px; color:#fff}
.ts-step-head .n{flex:none; width:22px; height:22px; display:grid; place-items:center; border:1px solid var(--yellow); color:var(--yellow); font-family:var(--font-mono); font-size:12px}
.ts-step-head .t{font-weight:700; letter-spacing:.02em}
.ts-step-shot{display:block; width:100%; padding:0; border:1px solid #2b3540; background:#0b0f14; cursor:var(--cursor-swat); line-height:0}
.ts-step-shot img{display:block; width:100%; height:auto}
.ts-step-shot:hover{border-color:var(--yellow)}
.ts-step-shot:focus-visible{outline:2px solid var(--yellow); outline-offset:2px}
.ts-step p{margin:0; font-size:12.5px; color:#a8a8a8; line-height:1.6}
.ts-step code{color:var(--yellow)}
.ts-steps-note{margin:10px 0 0; font-size:12.5px; color:#8f8f8f}
.btn-line{display:inline-flex; align-items:center; gap:8px; border:1px solid #fff; color:#fff; padding:11px 18px; text-decoration:none; font-family:var(--font-display); letter-spacing:.1em; font-size:13px; text-transform:uppercase; min-height:44px; margin:6px 10px 0 0}
.btn-line:hover{background:var(--yellow); color:#000; border-color:var(--yellow)}
.btn-line.gold{border-color:var(--yellow); color:var(--yellow)}
.btn-line.gold:hover{background:var(--yellow); color:#000}
/* .cbox-body a / .page-body a paint a dotted underline + yellow text; buttons keep their own look. */
.cbox-body a.btn-line,.page-body a.btn-line{text-decoration:none; color:#fff}
.cbox-body a.btn-line.gold,.page-body a.btn-line.gold{color:var(--yellow)}
.cbox-body a.btn-line:hover,.page-body a.btn-line:hover{color:#000}
/* SECTION: footer */
.site-footer{position:relative; z-index:1; background:#000; border-top:1px solid #1c1c1c; margin-top:60px; padding:22px 20px; display:flex; flex-wrap:wrap; gap:10px 30px; justify-content:space-between; align-items:center; font-size:12.5px; color:#888}
.site-footer a{color:#ccc; text-decoration:underline dotted}
.site-footer a:hover{color:var(--yellow)}
.footer-copy{flex:1 0 100%; width:100%; margin-top:16px; padding-top:14px; border-top:1px dashed #232323; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; text-align:center; font-size:12px; color:#8a8a8a; letter-spacing:.03em; line-height:1.6}
.footer-copy .rights{color:#9a9a9a}
.footer-meta{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px 10px; font-size:11.5px; color:#7e7e7e}
.footer-ipv6{display:inline-flex; align-items:center; gap:6px; padding:1px 8px; border:1px solid rgba(0,255,0,.28); background:rgba(0,255,0,.06); color:#9ce6a6; font-size:11.5px; line-height:1.5; white-space:nowrap}
.footer-ipv6 .dot{width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 6px rgba(0,255,0,.55); flex-shrink:0}
.footer-sep{color:#3d3d3d}
.footer-cloud{color:#848484}
/* SECTION: toast & top */
.toast{position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(20px); z-index:2000; background:#000; border:1px solid var(--yellow); color:var(--yellow); font-family:var(--font-mono); font-size:13px; padding:10px 18px; opacity:0; pointer-events:none; transition:opacity .25s,transform .25s; max-width:90vw; overflow-wrap:anywhere}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0)}
.back-top{position:fixed; right:18px; bottom:18px; z-index:1200; background:#000; border:1px solid #555; color:#ccc; font-family:var(--font-display); font-size:11px; letter-spacing:.16em; padding:10px 12px; opacity:0; pointer-events:none; transition:opacity .25s; min-height:44px}
.back-top.show{opacity:1; pointer-events:auto}
.back-top:hover{border-color:var(--yellow); color:var(--yellow)}
/* SECTION: subpage */
#pageView{max-width:980px}
.page-crumbs{display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12.5px; color:#888; margin-bottom:16px}
.page-crumbs a{color:#ccc; text-decoration:none; border-bottom:1px dotted #555; padding:2px 0}
.page-crumbs a:hover{color:var(--yellow); border-color:var(--yellow)}
.page-crumbs .sep{color:#555}
.page-crumbs .here{color:var(--yellow); font-weight:600}
.page-head{border-bottom:3px solid var(--faint); padding-bottom:12px; margin-bottom:20px}
.page-head .kicker{font-family:var(--font-mono); color:var(--yellow); font-size:12px; letter-spacing:.22em; text-transform:uppercase}
.page-head h1{margin:6px 0 8px; font-family:var(--font-display); font-size:clamp(24px,4vw,38px); color:#fff; letter-spacing:.05em; line-height:1.2; overflow-wrap:anywhere}
.page-body{font-size:15px}
.page-body h2{font-family:var(--font-display); color:#fff; font-size:19px; letter-spacing:.08em; border-left:4px solid var(--yellow); padding-left:10px; margin:28px 0 12px}
.page-body h3{color:var(--yellow); font-size:15px; letter-spacing:.06em; margin:20px 0 8px}
.page-body p{margin:.6em 0}
.page-body ul,.page-body ol{padding-left:1.4em; margin:.6em 0}
.page-body li{margin:.4em 0}
.page-body a{color:var(--yellow); text-decoration:underline dotted; text-underline-offset:3px}
.page-body a:hover{color:#fff}
.page-body .note-block{border:1px solid var(--line); border-left:4px solid var(--amber); background:rgba(0,0,0,.45); padding:10px 16px; margin:16px 0; font-size:14px; color:#ccc}
/* Tribute note on the contributor page: a green rule instead of the amber one
   used by the shared "注：" callouts elsewhere. */
.page-body .note-block.green{border-left-color:var(--green)}
.page-body .missing-block{border:1px dashed var(--amber); background:rgba(255,176,0,.06); padding:12px 16px; margin:16px 0; font-size:13.5px; color:#d9c39a}
/* Annotated screenshot viewer. The reference image already carries red boxes;
   the overlay re-draws those exact rectangles (measured from the pixels) in the
   site's own hues so a legend chip can isolate one region at a time. Percentages
   keep the hotspots locked to the image at any scale. */
.shot-figure{--sc:#35d6ff; margin:16px 0 6px; border:1px solid var(--line); background:rgba(0,0,0,.5)}
.shot-bar{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:9px 12px; border-bottom:1px solid var(--line); background:linear-gradient(90deg,rgba(53,214,255,.10),rgba(255,255,0,.05) 60%,transparent)}
.shot-bar .t{font-family:var(--font-display); color:#fff; font-size:13px; letter-spacing:.1em}
.shot-bar .sp{margin-left:auto; display:inline-flex; gap:6px}
.shot-btn{font-family:var(--font-body); font-size:11.5px; letter-spacing:.06em; color:#ccc; background:#0c0c0c; border:1px solid #555; padding:6px 11px; min-height:30px; transition:border-color .15s,color .15s,background .15s}
.shot-btn:hover{border-color:var(--sc); color:var(--sc); background:rgba(53,214,255,.08)}
.shot-btn:focus-visible{outline:1px solid var(--sc); outline-offset:2px}
.shot-legend{display:flex; flex-wrap:wrap; gap:6px; padding:9px 12px; border-bottom:1px dashed #333}
.shot-chip{display:inline-flex; align-items:center; gap:7px; font-family:var(--font-body); font-size:12px; color:#bbb; background:#0c0c0c; border:1px solid #4a4a4a; padding:6px 11px; min-height:32px; transition:border-color .15s,color .15s,background .15s}
.shot-chip i{width:9px; height:9px; flex:none; background:var(--c); box-shadow:0 0 7px var(--c)}
.shot-chip:hover{border-color:var(--c); color:#fff}
.shot-chip[aria-pressed="true"]{border-color:var(--c); color:#fff; background:color-mix(in srgb,var(--c) 14%,#0c0c0c)}
.shot-chip:focus-visible{outline:1px solid var(--c); outline-offset:2px}
.shot-stage{position:relative; padding:12px; background:
  radial-gradient(120% 90% at 50% 0%,rgba(53,214,255,.07),transparent 60%),#05070a}
.shot-frame{position:relative; display:block; width:100%; line-height:0; border:1px solid #2b3540; overflow:hidden; background:#0b0f14}
.shot-frame img{display:block; width:100%; height:auto}
.shot-frame::after{content:""; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 60px rgba(0,0,0,.55)}
.shot-hot{position:absolute; display:block; border:2px solid var(--c); background:color-mix(in srgb,var(--c) 12%,transparent); box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 18px color-mix(in srgb,var(--c) 55%,transparent); opacity:0; transition:opacity .2s,box-shadow .2s; cursor:var(--cursor-swat); padding:0}
.shot-hot .lbl{position:absolute; left:0; bottom:calc(100% + 5px); font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; line-height:1.5; color:#04070a; background:var(--c); padding:1px 7px; white-space:nowrap; opacity:0; transition:opacity .2s}
.shot-hot[data-on="1"]{opacity:1}
/* The screenshot already carries its own red captions. Floating labels stay
   hidden until a box is hovered, focused, or singled out by the legend, so the
   default view never covers the toolbar text underneath. */
.shot-hot[data-on="1"]:hover .lbl,.shot-hot[data-on="1"]:focus-visible .lbl{opacity:1}
.shot-figure[data-annot="on"][data-focus="path"] .shot-hot[data-key="path"] .lbl,
.shot-figure[data-annot="on"][data-focus="base"] .shot-hot[data-key="base"] .lbl,
.shot-figure[data-annot="on"][data-focus="mods"] .shot-hot[data-key="mods"] .lbl{opacity:1}
.shot-hot[data-on="1"]:hover,.shot-hot[data-on="1"]:focus-visible{box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 26px color-mix(in srgb,var(--c) 85%,transparent); outline:none}
/* Dimming only applies while annotations are on, and the off state is declared
   last with matching specificity so it always wins over the focus rules. */
.shot-figure[data-annot="on"][data-focus="path"] .shot-hot[data-on="1"]:not([data-key="path"]),
.shot-figure[data-annot="on"][data-focus="base"] .shot-hot[data-on="1"]:not([data-key="base"]),
.shot-figure[data-annot="on"][data-focus="mods"] .shot-hot[data-on="1"]:not([data-key="mods"]){opacity:.16}
.shot-figure[data-annot="off"] .shot-hot[data-on="0"]{opacity:0; pointer-events:none}
.shot-figure[data-annot="off"] .shot-hot[data-on="0"] .lbl{opacity:0}
.shot-read{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; padding:10px 12px; border-top:1px solid var(--line); background:rgba(0,0,0,.35); font-size:12.5px; color:#bbb; min-height:42px}
.shot-read .k{font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; color:var(--sc); border:1px solid var(--sc); padding:1px 7px; white-space:nowrap}
.shot-read .v{min-width:0; overflow-wrap:anywhere}
.shot-read-row{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; width:100%}
.shot-read-row[hidden]{display:none}
.shot-read .v b{color:#fff}
.shot-cap{margin:0; padding:9px 12px; border-top:1px dashed #333; font-size:12px; color:#8f8f8f; line-height:1.7}
/* Zoom lightbox — the screenshot is 1366px wide, so reading folder names on a
   phone needs a full-bleed view with its own pan and zoom. */
.shot-zoom{position:fixed; inset:0; z-index:2600; display:none; flex-direction:column; background:rgba(3,5,8,.94); backdrop-filter:blur(3px)}
.shot-zoom.open{display:flex}
.shot-zoom-bar{display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 14px; border-bottom:1px solid #2b3540; background:#070a0e}
.shot-zoom-bar .t{font-family:var(--font-display); color:#fff; font-size:13px; letter-spacing:.1em}
.shot-zoom-bar .z{font-family:var(--font-mono); font-size:11.5px; color:var(--yellow); min-width:52px; text-align:center}
.shot-zoom-bar .sp{margin-left:auto; display:inline-flex; gap:6px}
/* The site uses one arrow pointer everywhere; the pan affordance is carried by
   the hint line and the visible scrollbars instead of a grab hand. */
.shot-zoom-body{flex:1; min-height:0; overflow:auto; padding:16px; display:flex; align-items:flex-start; cursor:var(--cursor-swat); scrollbar-width:thin; scrollbar-color:#35d6ff #0b0f14}
.shot-zoom-body.dragging{cursor:var(--cursor-swat)}
.shot-zoom-body::-webkit-scrollbar{width:10px; height:10px}
.shot-zoom-body::-webkit-scrollbar-track{background:#0b0f14}
.shot-zoom-body::-webkit-scrollbar-thumb{background:#2a4a5c; border:2px solid #0b0f14}
.shot-zoom-body::-webkit-scrollbar-thumb:hover{background:#35d6ff}
/* flex:0 0 auto is essential — as a shrinkable flex item the image was clamped
   to the pane width, so "156%" still rendered 1398px and panning had no room.
   margin:auto centres it while it fits and collapses to 0 once it overflows,
   which keeps the left edge reachable (justify-content:center would not). */
.shot-zoom-body img{display:block; flex:0 0 auto; margin:auto; max-width:none; height:auto; border:1px solid #2b3540; user-select:none; -webkit-user-drag:none}
.shot-zoom-hint{padding:8px 14px; border-top:1px solid #2b3540; background:#070a0e; font-size:11.5px; color:#8a8a8a; text-align:center}
/* Pack manifest: the 25 numbered entries from the source document, kept in their
   original order. CSS columns flow top-to-bottom so the numbering reads down the
   first column and continues in the second, matching the source's single list. */
.pack-manifest{margin:14px 0 4px; border:1px solid var(--line); background:rgba(0,0,0,.42)}
.pack-manifest-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; padding:10px 14px; border-bottom:1px solid var(--line); background:rgba(255,255,0,.05)}
.pack-manifest-head .t{font-family:var(--font-display); color:#fff; font-size:14px; letter-spacing:.1em}
.pack-manifest-head .n{font-family:var(--font-mono); color:var(--yellow); font-size:11.5px; letter-spacing:.14em}
.pack-legend{display:flex; flex-wrap:wrap; gap:6px 14px; padding:9px 14px; border-bottom:1px dashed #333; font-size:11.5px; color:#999}
.pack-legend span{display:inline-flex; align-items:center; gap:6px}
.pack-legend b{font-family:var(--font-mono); color:#ddd; font-weight:400; font-size:11.5px}
.pack-legend i{width:8px; height:8px; flex:none; background:var(--c,#999); box-shadow:0 0 6px var(--c,#999)}
.pack-list{list-style:none; margin:0; padding:0; column-count:2; column-gap:0; column-rule:1px solid var(--line)}
/* Each row keeps the source wording verbatim; its group is carried by the accent
   rule and the index colour rather than an added label, so nothing is asserted
   that the original list does not say. */
.pack-list li{break-inside:avoid; -webkit-column-break-inside:avoid; display:grid; grid-template-columns:38px 1fr; gap:0 10px; align-items:baseline; padding:9px 14px 9px 11px; border-left:3px solid var(--c,#666); border-bottom:1px solid rgba(255,255,255,.05); transition:background .15s,border-left-color .15s}
.pack-list li:hover{background:rgba(255,255,255,.05)}
.pack-list .no{font-family:var(--font-mono); font-size:12px; color:var(--c,var(--yellow)); text-align:right; letter-spacing:.04em}
.pack-list .tx{min-width:0; color:#e6e6e6; font-size:14px; line-height:1.6; overflow-wrap:anywhere}
.pack-list .tx b{color:#fff; font-weight:700}
.pack-list .tx .v{font-family:var(--font-mono); color:var(--green); font-size:12.5px; margin-left:5px}
.pack-list .tx .q{color:#9a9a9a; font-size:12.5px; margin-left:3px}
.pack-note{margin:12px 0 0; font-size:12.5px; color:#999}
/* Patch brief: the five modifications from the source document. Unlike the pack
   manifests these are full sentences, so they run as one column of wide rows —
   the change on the first line, its stated effect below it. */
.patch-brief{margin:14px 0 4px; border:1px solid var(--line); background:rgba(0,0,0,.42)}
.patch-brief-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; padding:10px 14px; border-bottom:1px solid var(--line); background:rgba(0,255,136,.05)}
.patch-brief-head .t{font-family:var(--font-display); color:#fff; font-size:14px; letter-spacing:.1em}
.patch-brief-head .n{font-family:var(--font-mono); color:var(--green); font-size:11.5px; letter-spacing:.14em}
.patch-brief-lead{padding:10px 14px; border-bottom:1px dashed #333; font-size:13px; color:#bbb}
.patch-list{list-style:none; margin:0; padding:0}
.patch-list li{display:grid; grid-template-columns:40px 1fr; gap:0 12px; align-items:start; padding:12px 14px 12px 11px; border-left:3px solid var(--c,var(--green)); border-bottom:1px solid rgba(255,255,255,.05); transition:background .15s}
.patch-list li:last-child{border-bottom:none}
.patch-list li:hover{background:rgba(255,255,255,.05)}
.patch-list .no{font-family:var(--font-mono); font-size:13px; color:var(--c,var(--green)); text-align:right; letter-spacing:.04em; line-height:1.5}
.patch-list .tx{min-width:0; overflow-wrap:anywhere}
.patch-list .chg{display:block; color:#fff; font-weight:700; font-size:14.5px; line-height:1.6}
.patch-list .eff{display:block; margin-top:3px; color:#9fc99f; font-size:13px; line-height:1.6}
.patch-list .eff::before{content:"→ "; color:var(--c,var(--green)); font-family:var(--font-mono)}
.page-body .path-table{width:100%; min-width:0; border-collapse:collapse; margin:12px 0}
.page-body .path-table td{border:1px solid var(--line); padding:8px 12px; background:rgba(0,0,0,.4); font-size:13.5px}
.page-body .path-table td:first-child{color:#fff; font-weight:600; white-space:nowrap; width:34%}
.page-body .path-table td:last-child{font-family:var(--font-mono); color:var(--green); overflow-wrap:anywhere}
.page-body .faq-cmd-table td:first-child{font-family:var(--font-mono); color:var(--yellow); width:30%}
.page-body .faq-cmd-table td:last-child{font-family:var(--font-body); color:var(--body-ink)}
.faq-shot-single{max-width:680px; margin:14px 0}
.faq-shot-wide{max-width:780px; margin:14px 0}
.faq-preview-box{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:10px 0 14px; padding:11px 14px; border:1px solid #2c3543; border-left:3px solid #35d6ff; background:rgba(5,8,12,.78)}
.faq-preview-lbl{font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; color:#5ce1ff; border:1px solid rgba(53,214,255,.45); background:rgba(53,214,255,.1); padding:2px 8px; white-space:nowrap}
.faq-preview-txt{font-size:14.5px; color:#9fd69f; line-height:1.6}
.faq-pv-bu{font-weight:700; text-decoration:underline; text-underline-offset:3px}
.faq-pv-white{color:#ffffff; font-weight:400}
.page-body .file-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:6px; margin:10px 0}
.page-body .file-item{font-family:var(--font-mono); font-size:12.5px; color:var(--green); background:#050505; border:1px solid var(--line); padding:7px 10px; overflow-wrap:anywhere}
.log-entry{border:1px solid var(--line); background:rgba(0,0,0,.45); margin:14px 0; padding:0}
.log-entry>summary{list-style:none; display:flex; align-items:center; gap:12px; padding:12px 16px; min-height:44px}
.log-entry>summary::-webkit-details-marker{display:none}
.log-entry>summary::before{content:"▸"; color:var(--yellow); flex:none; transition:transform .15s}
.log-entry[open]>summary::before{transform:rotate(90deg)}
.log-entry>summary:hover{background:rgba(255,255,0,.05)}
.log-date{font-family:var(--font-mono); color:var(--yellow); font-weight:700; white-space:nowrap}
.log-ver{font-size:12px; color:#aaa; border:1px solid #444; padding:2px 8px; white-space:nowrap}
.log-kind{font-size:11px; color:#777; margin-left:auto; letter-spacing:.1em; white-space:nowrap}
.log-body{padding:4px 18px 16px; border-top:1px dashed #333; font-size:14px}
.log-body h4{color:#fff; font-size:13.5px; letter-spacing:.08em; margin:14px 0 6px; border-bottom:1px solid #2c2c2c; padding-bottom:4px}
.log-toc{display:flex; flex-wrap:wrap; gap:6px; margin:12px 0}
.log-toc a{font-family:var(--font-mono); font-size:11.5px; color:#ccc; border:1px solid #444; padding:4px 8px; text-decoration:none}
.log-toc a:hover{border-color:var(--yellow); color:var(--yellow)}
/* Changelog timeline: newest first, grouped by year, each version collapsible.
   The year rail runs down the left so the reader can see how far back they are
   while scrolling 40+ releases. */
.frte-lead{margin:0 0 12px}
.log-status{display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; padding:10px 14px; border:1px solid var(--line); border-left:3px solid var(--yellow); background:rgba(255,255,0,.05); font-size:12.5px; color:#bbb}
.log-status .ls-row b{font-family:var(--font-mono); color:var(--yellow); font-size:14px; margin-right:3px}
.log-status .ls-row.dim{color:#8a8a8a; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em}
.log-tools{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:14px 0 4px}
.log-btn,.log-ybtn{font-family:var(--font-body); font-size:12px; letter-spacing:.06em; color:#ccc; background:#0c0c0c; border:1px solid #555; padding:7px 13px; min-height:34px; transition:border-color .15s,color .15s,background .15s}
.log-btn:hover,.log-ybtn:hover{border-color:var(--yellow); color:var(--yellow); background:rgba(255,255,0,.06)}
.log-btn:focus-visible,.log-ybtn:focus-visible{outline:1px solid var(--yellow); outline-offset:2px}
.log-ybtn{font-family:var(--font-mono); padding:7px 11px}
.log-jump{display:inline-flex; flex-wrap:wrap; gap:6px; padding-left:10px; margin-left:2px; border-left:1px solid #333}
.log-count{margin-left:auto; font-family:var(--font-mono); font-size:11.5px; color:#8a8a8a; letter-spacing:.06em}
.log-year{position:relative; margin:22px 0 0; padding-left:16px; border-left:1px solid #2f2f2f}
.log-year::before{content:""; position:absolute; left:-4px; top:6px; width:7px; height:7px; background:var(--yellow); box-shadow:0 0 8px rgba(255,255,0,.6)}
.log-year-head{display:flex; align-items:baseline; gap:12px; margin:0 0 4px}
.log-year-head .yy{font-family:var(--font-display); font-size:22px; color:#fff; letter-spacing:.12em}
.log-year-head .yc{font-family:var(--font-mono); font-size:11.5px; color:#8a8a8a; letter-spacing:.1em}
.log-year .log-entry{margin:10px 0}
.log-entry>summary{flex-wrap:wrap}
.log-kind.new{color:#000; background:var(--yellow); padding:2px 8px; font-weight:700; letter-spacing:.12em; margin-left:0}
.log-n{margin-left:auto; font-family:var(--font-mono); font-size:11px; color:#777; white-space:nowrap}
/* Release notes carry long unbroken model strings ("357 狂蟒左轮 /MP7/AK47/…")
   with no break opportunity; without anywhere they push the page wider than the
   viewport once every entry is expanded. */
.log-body .log-p{margin:8px 0; color:#dcdcdc; line-height:1.75; overflow-wrap:anywhere; word-break:break-word}
.log-body .log-sub{margin:12px 0 4px; color:var(--amber); font-size:13px; letter-spacing:.06em; font-weight:700; overflow-wrap:anywhere}
.log-body ul{margin:6px 0; padding-left:1.35em; min-width:0}
.log-body li{margin:5px 0; line-height:1.75; color:#dcdcdc; overflow-wrap:anywhere; word-break:break-word}
.log-entry{min-width:0}
.log-body{min-width:0}
.log-entry[open]>summary{background:rgba(255,255,0,.05)}
.contrib-hero{display:flex; align-items:center; gap:16px; margin-bottom:16px; flex-wrap:wrap}
/* The badge now carries the whole ID instead of a single initial, so it is a
   width-flexible plate rather than a fixed hexagon: a clipped polygon would
   cut the first and last letters off longer names like WirBelWind. */
.contrib-avatar{flex:none; max-width:100%; min-height:44px; display:flex; align-items:center; justify-content:center; padding:8px 16px; font-family:var(--font-display); font-size:20px; font-weight:900; letter-spacing:.04em; color:#000; background:var(--yellow); text-align:center; overflow-wrap:anywhere}
.contrib-role{font-size:12px; color:var(--amber); border:1px solid var(--amber); padding:3px 10px; letter-spacing:.1em}
.donate-month{font-family:var(--font-display); color:#fff; letter-spacing:.1em; margin:18px 0 8px; border-bottom:1px solid #333; padding-bottom:5px; font-size:15px}
.donate-row{display:flex; justify-content:space-between; gap:12px; padding:8px 12px; border-bottom:1px solid rgba(255,255,255,.07); background:rgba(0,0,0,.35); font-size:14px}
.donate-row .who{color:#fff}
.donate-row .amt{font-family:var(--font-mono); color:var(--yellow); white-space:nowrap}
/* SECTION: responsive */
@media (max-width:980px){
  .home{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .rules-grid{grid-template-columns:1fr}
  .nav-toggle{display:block}
  .topnav{display:none; position:absolute; top:var(--header-h); left:0; right:0; background:#000; border-bottom:1px solid #333; flex-direction:column; align-items:stretch; padding:8px 12px 14px; gap:2px}
  .topnav.open{display:flex}
  /* The drawer's wipe (panel clip + per-entry stagger) is driven by initNav from
     a single 0..1 progress value written as inline styles, not CSS keyframes:
     a mid-flight click reverses that same value, so the motion continues from
     the exact current frame instead of snapping to an endpoint. .open/.closing
     only control visibility and hit-testing here. */
  .topnav.closing{display:flex; pointer-events:none}
  .topnav a{border-bottom:none; border-left:3px solid transparent; padding:12px}
  .topnav a:hover{border-left-color:var(--yellow)}
  .mail-btn{margin-top:6px; justify-content:center}
  .dir-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1180px){
  .brand-mark{--mark-h:30.5px; width:104px}
  .brand-title{font-size:18px; letter-spacing:.24em}
  .brand-text{margin:16px 0}
}
@media (max-width:600px){
  main{padding-left:14px; padding-right:14px}
  .brand{gap:9px}
  .brand-mark{--mark-h:28.2px; width:96px}
  .brand-text{padding-left:9px; margin:17px 0}
  .brand-title{font-size:16px; letter-spacing:.2em}
  .logo-cn{--cap-size:clamp(32px,9.4vw,42px)}
  .logo-cn-text{letter-spacing:.01em}
  .logo-tag{margin-top:7px; letter-spacing:.2em}
  .res-groups{margin-left:0}
  .result-count{margin-left:0; width:100%}
  .sec-head .en{display:none}
  .site-footer{flex-direction:column; align-items:flex-start; padding-bottom:74px}
  .footer-copy{flex:0 0 auto; width:auto; align-self:stretch; flex-direction:column; gap:8px}
  .footer-meta{flex-direction:column; gap:6px}
  .footer-sep{display:none}
  .page-body .path-table td:first-child{white-space:normal}
  .pack-list{column-count:1}
  .pack-list li{grid-template-columns:32px 1fr; padding:9px 12px 9px 9px}
  .patch-list li{grid-template-columns:30px 1fr; gap:0 9px; padding:11px 12px 11px 9px}
  .patch-list .chg{font-size:14px}
  .dir-group-head{padding:9px 12px}
  .dir-group-head .hint{margin-left:0; width:100%; order:3}
  .dir-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding:10px 12px}
  .dir-id-box{margin:0 12px 10px; padding-top:10px}
  .dir-id-grid{grid-template-columns:1fr; gap:7px}
  .shot-bar{padding:8px 10px}
  .shot-bar .sp{margin-left:0; width:100%}
  .shot-legend{padding:8px 10px}
  .shot-chip{flex:1 1 calc(50% - 6px); justify-content:center; font-size:11.5px; padding:6px 8px}
  .shot-stage{padding:8px}
  .shot-hot{border-width:1.5px}
  .shot-hot .lbl{font-size:9px; padding:0 5px}
  .shot-read{padding:9px 10px; font-size:12px}
  .shot-cap{padding:8px 10px}
  .shot-zoom-bar{padding:9px 10px}
  .shot-zoom-bar .sp{margin-left:0; width:100%}
  .shot-zoom-body{padding:10px}
  .log-status{gap:5px 12px; padding:9px 12px}
  .log-tools{gap:6px}
  .log-jump{padding-left:0; margin-left:0; border-left:none; width:100%}
  .log-count{margin-left:0; width:100%}
  .log-year{padding-left:12px}
  .log-year-head .yy{font-size:19px}
  .log-entry>summary{gap:8px; padding:11px 12px}
  .log-n{margin-left:0}
  .log-body{padding:4px 12px 14px}
}
@media (max-width:380px){
  .brand-mark{--mark-h:24.6px; width:84px}
  .brand-title{font-size:15px; letter-spacing:.14em}
  .brand-text{padding-left:8px; margin:19px 0}
}
/* SECTION: cursor */
/* Applied last so it wins over every earlier cursor:pointer rule, including the
   ones inside media queries. Mirrors swat4stats.com: one arrow everywhere, no
   hand on links or buttons. The universal selector also reaches the server
   table's cells and spans, which inherit the row's pointer otherwise.
   Text entry keeps the I-beam; the fallback keeps a usable arrow if a browser
   refuses the .cur payload. */
html,body,*{cursor:var(--cursor-swat)}
input[type="text"],input[type="search"],input[type="email"],input[type="url"],
input[type="password"],input[type="number"],input[type="tel"],textarea,
[contenteditable="true"],[contenteditable=""]{cursor:text}
/* SECTION: feed-poster (mobile video entry) */
.feed-poster{display:none; position:absolute; top:0; left:0; width:100%; height:100%; text-decoration:none; overflow:hidden}
.feed-poster picture{display:block; width:100%; height:100%}
.feed-poster img{width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.82); transition:filter .2s}
.feed-poster:hover img,.feed-poster:focus-visible img{filter:brightness(1)}
.feed-play{position:absolute; top:50%; left:50%; width:54px; height:54px; margin:-27px 0 0 -27px; border:2px solid #fff; border-radius:50%; background:rgba(0,0,0,.45)}
.feed-play::after{content:""; position:absolute; top:50%; left:54%; width:0; height:0; margin:-9px 0 0 -6px; border-left:16px solid #fff; border-top:9px solid transparent; border-bottom:9px solid transparent}
.feed-poster-tag{position:absolute; left:0; right:0; bottom:0; padding:7px 12px; background:linear-gradient(transparent,rgba(0,0,0,.85)); color:#ddd; font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-align:right}
@media (max-width:980px){
  .feed-video iframe{display:none}
  .feed-poster{display:block}
}

/* ===== Game Server Admin Panel & Role Separation ===== */
.chat-role-badge.is-srv{
  background:rgba(56,189,248,.16);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.45);
}
.adm-tag.srv{
  background:rgba(56,189,248,.14);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.38);
}
.adm-role-box .adm-role-srvs{
  margin-top:6px;
  padding:8px 10px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
}
.adm-role-srv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:6px 10px;
  margin-top:6px;
}
.adm-role-srv-chip{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#d6dce6;
  cursor:pointer;
}
.srv-adm-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:12px;
}
.srv-adm-bar select{
  flex:1 1 320px;
  min-width:220px;
}
.srv-adm-ack{
  padding:9px 12px;
  margin-bottom:12px;
  border-radius:4px;
  font-size:13px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.04);
  color:#e2e8f0;
}
.srv-adm-ack.is-pending{
  border-color:rgba(250,204,21,.45);
  background:rgba(250,204,21,.08);
  color:#fde047;
}
.srv-adm-ack.is-ok{
  border-color:rgba(74,222,128,.45);
  background:rgba(74,222,128,.08);
  color:#86efac;
}
.srv-adm-ack.is-error,.srv-adm-ack.is-timeout{
  border-color:rgba(248,113,113,.45);
  background:rgba(248,113,113,.08);
  color:#fca5a5;
}
.srv-adm-status-bar{
  padding:10px 12px;
  margin-bottom:12px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.025);
  border-radius:4px;
}
.srv-adm-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}
.srv-adm-meta .s-nm{font-size:15px;color:#fff;}
.srv-adm-meta .s-addr{font-family:Consolas,monospace;font-size:12px;color:#94a3b8;}
.srv-adm-sub{font-size:12px;color:#cbd5e1;}
.srv-adm-table{
  display:flex;
  flex-direction:column;
  gap:4px;
  overflow-x:auto;
}
.srv-adm-tr{
  display:grid;
  grid-template-columns:minmax(140px,1.4fr) 68px 86px minmax(110px,1fr) 128px 168px;
  gap:8px;
  align-items:center;
  padding:7px 10px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
  border-radius:4px;
  font-size:13px;
}
.srv-adm-tr.is-head{
  background:rgba(255,255,255,.06);
  font-size:12px;
  color:#94a3b8;
  font-weight:600;
}
.srv-adm-tr .p-tm.is-swat{color:#60a5fa;font-weight:600;}
.srv-adm-tr .p-tm.is-sus{color:#f87171;font-weight:600;}
.srv-adm-tr .p-acts{display:flex;flex-direction:column;gap:4px;}
.srv-adm-tr .p-acts-row{display:flex;gap:4px;flex-wrap:wrap;}
.srv-ip-btn{
  background:rgba(56,189,248,.1);
  border:1px solid rgba(56,189,248,.3);
  color:#7dd3fc;
  font-family:Consolas,monospace;
  font-size:12px;
  padding:2px 6px;
  border-radius:3px;
  cursor:pointer;
}
.srv-ip-btn:hover{background:rgba(56,189,248,.22);}
.srv-adm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:12px;
}
.srv-adm-card{
  padding:12px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
}
.srv-adm-card h5{
  margin:0 0 8px 0;
  font-size:13px;
  color:#fde047;
  letter-spacing:.02em;
}
.srv-adm-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:8px;
}
.srv-adm-row input[type="text"],.srv-adm-row select{
  flex:1 1 160px;
  min-width:120px;
}
.srv-adm-hint{font-size:12px;color:#94a3b8;}
.srv-adm-bans{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:8px;
}
.srv-ban-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 10px;
  background:rgba(248,113,113,.06);
  border:1px solid rgba(248,113,113,.22);
  border-radius:4px;
}
.srv-ban-item .b-ip{
  font-family:Consolas,monospace;
  font-size:13px;
  color:#fecaca;
}
@media (max-width:780px){
  .srv-adm-tr{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  .srv-adm-tr.is-head{display:none;}
  .srv-adm-tr .p-acts{grid-column:1 / -1;}
}

/* Phase 2 Game Server Admin extensions */
.srv-adm-tr.srv-adm-tr-rich{
  grid-template-columns:minmax(150px,1.3fr) 62px 76px minmax(105px,.9fr) 122px minmax(260px,2fr);
}
.srv-map-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}
.srv-map-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  font-size:12px;
  border-radius:3px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color:#e2e8f0;
}
.srv-map-chip button{
  background:none;
  border:none;
  color:#f87171;
  cursor:pointer;
  font-size:14px;
  line-height:1;
  padding:0 2px;
}
.srv-ban-item.is-preset{
  background:rgba(56,189,248,.06);
  border-color:rgba(56,189,248,.22);
}
.srv-ban-item .p-acts{display:flex;gap:6px;}
