  @font-face { font-family: Barlow; src: url("/fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: Barlow; src: url("/fonts/barlow-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
  @font-face { font-family: Barlow; src: url("/fonts/barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
  :root {
    --bg: #101012;
    --panel: #1A1A1E;
    --ink: #F3F0E8;
    --mid: #BBB8B0;
    --dim: #A3A099;
    --line: #35353A;
    --gold: #D4A843;
    --lonestar: #4C86C6;
    --valkyra: #C4433C;
    --manticore: #36A332;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 Barlow, "Segoe UI", sans-serif; }
  a { color: inherit; text-decoration: none; }
  a:hover { color: var(--gold); }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
  .frame { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
  header.site { background: var(--panel); border-bottom: 1px solid var(--line); }
  header.site .frame, footer.site .frame { width: min(1440px, calc(100% - 64px)); }
  .bar { display: flex; align-items: stretch; gap: 36px; min-height: 96px; padding: 0; }
  .bar > a:first-child { display: flex; align-items: center; flex: none; }
  .wd-logo { display: block; width: 256px; height: auto; flex: none; }
  footer.site .wd-logo { width: 200px; }
  .nav { display: flex; align-items: stretch; gap: 0; }
  .nav-phone { display: none; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .nav-desk a { padding: 0 24px; font-size: 14px; letter-spacing: .14em; }
  .nav-desk a:hover { background: #202025; color: var(--ink); }
  .nav-desk a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
  .nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
  .nav-desk a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
  .account { margin-left: 0; order: 3; display: flex; align-items: center; gap: 16px; color: var(--dim); font-size: 14px; }
  .account a[aria-current="page"] { color: var(--gold); }
  .account button { padding: 0; border: 0; background: none; color: var(--mid); font: 600 13px/1 Barlow, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .account button:hover { color: var(--ink); }
  .account-menu { position: relative; }
  .account-menu summary { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 7px; border: 1px solid #4A4A50; background: #111114; cursor: pointer; list-style: none; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .account-menu summary:hover, .account-menu[open] summary { border-color: var(--gold); }
  .account-menu summary::-webkit-details-marker { display: none; }
  .account-menu summary::after { content: ''; flex: none; width: 7px; height: 7px; margin: -4px 2px 0 4px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .15s ease; }
  .account-menu[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .account-menu .avatar { width: 34px; height: 34px; border: 1px solid #4A4A50; background: #1A1A1E; }
  .account-menu .avatar .identity-initial { font-size: 16px; font-weight: 600; color: var(--gold); }
  .account-menu .who-name { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .account-menu-content { position: absolute; z-index: 30; right: 0; top: calc(100% + 12px); width: 220px; padding: 8px; border: 1px solid var(--line); background: var(--panel); }
  .account-menu-content a, .account-menu-content button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; text-align: left; font: 500 14px/1.4 Barlow, sans-serif; letter-spacing: 0; text-transform: none; color: var(--mid); }
  .account-menu-content a:hover, .account-menu-content button:hover { background: #242429; color: var(--ink); }
  .account-menu-content form { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; }
  .skip-link { position: fixed; z-index: 100; left: 16px; top: 8px; padding: 12px 16px; background: var(--gold); color: #17130B; transform: translateY(-160%); }
  .skip-link:focus { transform: none; color: #17130B; }
  .search { margin: 0 0 0 auto; order: 2; display: flex; align-items: center; }
  .search input {
    width: 240px; height: 44px; padding: 0 14px; border: 1px solid #4A4A50; border-radius: 0;
    background: #111114; color: var(--ink); font: 400 15px/1 Barlow, sans-serif;
  }
  .search input::placeholder { color: var(--dim); }
  .search input:focus { outline: none; border-color: var(--gold); }
  .bar > .account, .bar > .search { align-self: center; }
  .staff { display: flex; gap: 22px; }
  .staff a { display: inline-block; padding: 14px 0 12px; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .staff a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
  main.page, .sheet { padding: 48px 0 80px; }
  .idx { margin: 0; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  .kicker { margin: 0; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  h1 { margin: 10px 0 0; font-size: clamp(40px, 6vw, 68px); font-weight: 600; line-height: .95; letter-spacing: -0.02em; }
  h2 { margin: 48px 0 0; color: var(--mid); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .lead { margin: 16px 0 0; max-width: 36rem; color: var(--mid); font-size: 18px; }
  .note { margin: 18px 0 0; color: var(--dim); font-size: 14px; }
  .go { display: inline-block; margin-top: 28px; padding: 14px 18px; background: var(--gold); color: #1A160C; font-weight: 600; }
  .go:hover { color: #1A160C; background: #E2BB5A; }
  .textlink { margin-left: 22px; color: var(--gold); font-weight: 600; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .rows { list-style: none; margin: 14px 0 0; padding: 0; }
  .rows li, .rows a.row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .rows a.row:hover strong, a.statrow:hover strong { color: var(--gold); }
  .rows strong { font-weight: 500; }
  .rows small, .statrow small { display: block; margin-top: 3px; color: var(--dim); font-size: 13px; }
  .count, .num { font-variant-numeric: tabular-nums; font-weight: 500; }
  .num { text-align: right; }
  .on { color: var(--gold); font-weight: 600; }
  .off { color: var(--dim); font-weight: 500; }
  table:not(.rcon-main *) { width: 100%; margin-top: 18px; border-collapse: collapse; }
  th:not(.rcon-main *) { text-align: left; padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  td:not(.rcon-main *) { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
  .facts { list-style: none; margin: 28px 0 0; padding: 0; }
  .facts li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts span { color: var(--mid); }
  .facts strong { font-variant-numeric: tabular-nums; }
  .prose { max-width: 40rem; margin-top: 22px; color: var(--mid); }
  .findplayer { display: flex; gap: 10px; align-items: center; margin-top: 22px; max-width: 420px; }
  .findplayer input { flex: 1; min-width: 0; height: 42px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 16px/1 Barlow, sans-serif; }
  .findplayer input:focus { outline: none; border-bottom-color: var(--gold); }
  .findplayer button { height: 42px; padding: 0 16px; border: 0; background: var(--gold); color: #1A160C; font: 600 14px/1 Barlow, sans-serif; cursor: pointer; }
  .board-head, .statrow { display: grid; grid-template-columns: 1fr 88px 72px; gap: 16px; align-items: center; }
  .board-head { margin-top: 36px; padding-bottom: 8px; color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .statrow { padding: 14px 0; border-top: 1px solid var(--line); }
  .pulse { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .pulse a, .pulse div { padding: 20px 18px 20px 0; }
  .pulse a + a, .pulse div + div { padding-left: 18px; border-left: 1px solid var(--line); }
  .pulse strong { display: block; color: var(--gold); font-size: 36px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
  .pulse span { display: block; margin-top: 8px; color: var(--mid); font-size: 14px; }
  .arms { list-style: none; margin: 14px 0 0; padding: 0; }
  .identity-media { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; overflow: hidden; background: #111114; }
  .identity-media img { width: 100%; height: 100%; object-fit: cover; }
  .identity-media img[hidden], .identity-initial[hidden] { display: none; }
  .identity-initial { color: var(--mid); font-size: 24px; font-weight: 500; }
  .identity-community img { object-fit: contain; padding: 4px; }
  .identity-large { width: 80px; height: 80px; }
  .identity-copy { display: flex; gap: 16px; align-items: center; min-width: 0; }
  .identity-copy > span:last-child, .identity-heading > div { min-width: 0; overflow-wrap: anywhere; }
  .identity-heading { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
  .identity-heading h1 { margin-top: 0; }
  .community-banner { display: block; width: 100%; max-height: 320px; object-fit: cover; margin: 28px 0; }
  .arms li { display: grid; grid-template-columns: 148px 1fr; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .arms img, .arm-empty { width: 148px; height: 80px; object-fit: contain; background: #12110F; border: 1px solid var(--line); padding: 8px; }
  .arm-copy strong { display: block; font-weight: 500; }
  .arm-copy small { display: block; margin-top: 4px; color: var(--mid); font-size: 13px; }

  /* ---- Shared components: every page built on the new system uses these and nothing else ---- */
  .wide-page .frame, .landing-page .frame { width: min(1440px, calc(100% - 64px)); }
  .wide-page main.frame { padding: 40px 0 96px; }
  .landing-page main.frame { padding-bottom: 96px; }
  .wide-page .pagehead:first-child, .banner + .pagehead { margin-top: 0; }
  .tag { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 22px; border: 1px solid #68686D; background: var(--panel); color: var(--ink); font: 600 13px/1.2 Barlow, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .btn:hover { background: #29292F; border-color: var(--mid); color: var(--ink); }
  .btn.primary { background: var(--gold); border-color: var(--gold); color: #17130B; }
  .btn.primary:hover { background: #E2BB5A; border-color: #E2BB5A; color: #17130B; }
  .btn.small { min-height: 40px; padding: 8px 14px; font-size: 12px; }
  .btn.is-done { background: #1F2A22; border-color: #3DBA7E; color: #3DBA7E; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .st-live { color: #3DBA7E; font-weight: 600; }
  .st-dead { color: #C45B4A; font-weight: 600; }
  .st-unknown { color: var(--ink); font-weight: 600; }
  .state { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .source { margin: 12px 0 0; max-width: 780px; color: var(--dim); font-size: 12px; line-height: 1.6; }
  .empty { margin: 0; padding: 32px 24px; border: 1px solid var(--line); background: var(--panel); color: var(--mid); font-size: 14px; }
  .empty strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; font-weight: 500; }
  .empty p { margin: 0 0 16px; }
  .empty .btn { margin-top: 4px; }

  /* Page head and status strip */
  .pagehead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin: 32px 0 24px; }
  .pagehead h1 { margin: 0; font-size: clamp(40px, 4.6vw, 60px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
  .pagehead p.help { margin: 14px 0 0; max-width: 640px; color: var(--mid); font-size: 16px; line-height: 1.6; }
  .pagehead .tag a:hover { color: var(--ink); }
  .statbar { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); background: var(--panel); }
  .statbar > div { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; min-width: 0; }
  .statbar > div + div { border-left: 1px solid var(--line); }
  .statbar dt { color: var(--mid); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
  .statbar dd { order: -1; margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
  .statbar.has-clock { grid-template-columns: 200px repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 0; }
  .statbar .clock { background: #111114; border-left: 0; box-shadow: inset 3px 0 0 var(--gold); }
  .statbar .clock dd { color: var(--gold); }

  /* Numbered section header */
  .sec { margin: 72px 0 0; }
  .sec-head { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .sec-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--gold); }
  .sec-no { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
  .sec h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; }
  .sec-head p { flex: 0 0 100%; margin: 4px 0 0; color: var(--mid); font-size: 15px; line-height: 1.55; }
  .more { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .more:hover { color: var(--ink); }

  /* Type tabs and filter bar */
  .tabs { display: flex; gap: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
  .tabs a:hover { color: var(--ink); }
  .tabs a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
  .tabs small { color: var(--dim); font-size: 12px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
  .filters { margin: 0 0 24px; border: 1px solid var(--line); background: var(--panel); }
  .filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; padding: 20px 24px; }
  .filters-grid .wide { grid-column: span 2; }
  .filters-grid.g7 { grid-template-columns: minmax(200px, 2fr) repeat(6, minmax(0, 1fr)); }
  .filters-grid.g5 { grid-template-columns: minmax(200px, 2fr) repeat(4, minmax(0, 1fr)); }
  .filters-grid.g7 .wide, .filters-grid.g5 .wide { grid-column: auto; }
  .field { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .field > span { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .field input, .field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #4A4A50; border-radius: 0; background-color: #111114; color: var(--ink); font: 400 15px/1 Barlow, sans-serif; }
  .field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
  .field select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--mid) 50%), linear-gradient(135deg, var(--mid) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
  .filters-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 14px 24px; border-top: 1px solid var(--line); background: #131316; }
  .checks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; }
  .checks > span { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .checks label { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); font-size: 14px; cursor: pointer; }
  .checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
  .filters-foot .clear { display: inline-flex; align-items: center; min-height: 40px; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .filters-foot .clear:hover { color: var(--gold); }
  .result-line { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 12px; color: var(--mid); font-size: 14px; }
  .result-line strong { color: var(--ink); font-weight: 600; }
  .result-line .key { color: var(--dim); font-size: 12px; }
  .result-line .key::before { content: ''; display: inline-block; width: 4px; height: 12px; margin-right: 8px; vertical-align: -1px; background: var(--gold); }

  /* Lists: server rows and community rows share one grammar */
  .list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); container-type: inline-size; }
  .list-head, .item { display: grid; align-items: center; gap: 20px; padding: 0 24px; }
  .list-head { min-height: 44px; border-bottom: 1px solid var(--line); background: #111114; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .item { min-height: 84px; padding-top: 14px; padding-bottom: 14px; color: var(--ink); }
  .item + .item { border-top: 1px solid var(--line); }
  .item:hover { background: #202025; }
  .item.is-featured { box-shadow: inset 4px 0 0 var(--gold); }
  .item .nm { display: block; color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
  .item a.nm:hover { color: var(--gold); }
  .item .sub { display: block; margin-top: 4px; color: var(--mid); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
  .item .sub a:hover { color: var(--gold); }
  .item .dim { color: var(--dim); }
  .item .c-meta { display: contents; }
  .item .c-meta > span { min-width: 0; color: var(--mid); font-size: 14px; overflow-wrap: anywhere; }
  .item .c-name, .item .c-who { min-width: 0; }
  .srv-grid { grid-template-columns: 96px minmax(0, 1.7fr) 110px minmax(0, 1.1fr) 100px 128px 150px; }
  .com-grid { grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1fr) 110px 110px 120px; }
  .brw-grid { grid-template-columns: minmax(0, 1.5fr) 120px minmax(0, 1fr) minmax(0, 1fr) 100px 128px 190px; }
  .players { text-align: right; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
  .players small { display: block; margin-top: 2px; color: var(--dim); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
  .fillbar { display: block; height: 4px; margin-top: 8px; background: #3A3A40; }
  .fillbar i { display: block; height: 100%; background: var(--gold); }
  .c-join { text-align: right; }
  .join-missing { color: var(--dim); font-size: 13px; }
  .tag-line { display: inline-block; padding: 2px 8px; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .item .identity-media { width: 56px; height: 56px; }

  .pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 0; color: var(--mid); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .pager .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

  /* Detail pages */
  .banner { position: relative; aspect-ratio: 4 / 1; margin: 0 0 24px; border: 1px solid var(--line); background: #0C0C0E; overflow: hidden; }
  .banner img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 14px; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .meta-line > span + span::before { content: '/'; margin-right: 16px; color: var(--line); }
  .meta-line .recruiting { color: var(--gold); }
  .cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
  .stack { display: grid; gap: 24px; min-width: 0; }
  .panel { padding: 24px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
  .panel > h2 { margin: 0 0 16px; color: var(--gold); font-size: 12px; letter-spacing: .18em; }
  .panel p { margin: 0; color: var(--mid); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
  .panel p + p { margin-top: 12px; }
  .panel .note { margin-top: 12px; color: var(--dim); font-size: 12px; }
  .joinbox { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 16px 20px; border: 1px solid #4A4A50; background: #111114; }
  .joinbox code { flex: 1; min-width: 0; color: var(--ink); font: 500 18px/1.3 Barlow, sans-serif; letter-spacing: .04em; overflow-wrap: anywhere; }
  .steps { margin: 16px 0 0; padding: 0 0 0 20px; color: var(--mid); font-size: 14px; line-height: 1.7; }
  .info { margin: 0; }
  .info > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
  .info > div:first-child { border-top: 0; padding-top: 0; }
  .info dt { color: var(--mid); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
  .info dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
  .info dd a { color: var(--gold); }
  .info dd a:hover { color: var(--ink); }
  .runby { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .runby small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
  .runby strong { font-weight: 500; font-size: 17px; }
  .runby:hover strong { color: var(--gold); }
  .chart { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: end; height: 120px; padding-bottom: 0; border-bottom: 1px solid var(--line); }
  .chart i { display: block; min-height: 2px; background: #55555C; }
  .chart i.hi { background: var(--gold); }
  .chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
  .facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 20px 0 0; border: 1px solid var(--line); }
  .facts-row > div { padding: 14px 16px; }
  .facts-row > div + div { border-left: 1px solid var(--line); }
  .facts-row dt { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
  .facts-row dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .roll { margin: 0; padding: 0; list-style: none; }
  .roll li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
  .roll li:first-child { border-top: 0; padding-top: 0; }
  .roll time { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
  .fac { display: grid; gap: 14px; }
  .fac strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: .08em; }
  .fac span { display: block; margin-top: 2px; color: var(--mid); font-size: 13px; line-height: 1.5; }
  .identity-heading .identity-media { background: #111114; }

  /* ---- Stats ---- */
  .seasonbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin: 24px 0; padding: 16px 24px; border: 1px solid var(--line); background: var(--panel); }
  .seasonbar span { display: block; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .seasonbar strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; }
  .seasonbar small { display: block; margin-top: 2px; color: var(--mid); font-size: 13px; }
  .seasonbar form { display: flex; align-items: flex-end; gap: 12px; }
  .seasonbar .field { min-width: 220px; }
  .podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; padding: 0; list-style: none; }
  .podium li { border: 1px solid var(--line); background: var(--panel); }
  .podium li:first-child { box-shadow: inset 0 3px 0 var(--gold); }
  .podium a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 22px 24px; }
  .podium a:hover { background: #202025; color: var(--ink); }
  .podium .pos { grid-row: 1 / span 2; color: var(--gold); font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
  .podium .who { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 19px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
  .podium .who .identity-media { width: 44px; height: 44px; }
  .podium .line { color: var(--mid); font-size: 14px; font-variant-numeric: tabular-nums; }
  .podium .line b { color: var(--ink); font-size: 22px; font-weight: 600; }
  .stat-grid { grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1.2fr) repeat(8, 76px); gap: 16px; }
  .stat-grid .rank { color: var(--gold); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .stat-grid .n { text-align: right; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
  .stat-grid .n small { display: none; }
  .stat-grid .c-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
  .stat-grid .c-who .identity-media { width: 44px; height: 44px; }
  .stat-grid .c-server { min-width: 0; color: var(--mid); font-size: 14px; overflow-wrap: anywhere; }
  .list-head.stat-grid a { color: inherit; }
  .list-head.stat-grid a:hover, .list-head.stat-grid .on a { color: var(--gold); }
  .list-head .r { text-align: right; }
  .ses-grid { grid-template-columns: 150px minmax(0, 1.5fr) 100px 90px 70px 70px 90px 100px; gap: 16px; }
  .ses-grid .n { text-align: right; font-variant-numeric: tabular-nums; }
  .ses-grid .n small { display: none; }
  .ranks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
  .ranks a { display: block; padding: 16px; }
  .ranks a + a { border-left: 1px solid var(--line); }
  .ranks a:hover { background: #202025; color: var(--ink); }
  .ranks small { display: block; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .ranks strong { display: block; margin: 6px 0 10px; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .ranks i { display: block; height: 4px; background: #3A3A40; }
  .ranks i b { display: block; height: 100%; background: var(--gold); }
  .prop { display: grid; grid-template-columns: 100px minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
  .prop:first-of-type { border-top: 0; padding-top: 0; }
  .prop span.t { display: block; height: 8px; background: #2A2A2F; }
  .prop span.t i { display: block; height: 100%; background: var(--gold); }
  .prop strong { font-weight: 500; font-size: 15px; }
  .prop em { font-style: normal; text-align: right; color: var(--mid); font-size: 13px; font-variant-numeric: tabular-nums; }
  .chart.days { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; }
  .chart.days i.zero { background: #2A2A2F; }
  .bests { margin: 0; padding: 0; list-style: none; }
  .bests li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
  .bests li:first-child { border-top: 0; padding-top: 0; }
  .bests span { color: var(--dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
  .bests strong { text-align: right; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .bests a { grid-column: 1 / -1; color: var(--mid); font-size: 13px; }
  .bests a:hover { color: var(--gold); }
  .namelist { margin: 0; padding: 0; list-style: none; }
  .namelist li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .namelist li:first-child { border-top: 0; padding-top: 0; }
  .namelist span { color: var(--dim); font-size: 12px; text-align: right; }
  .compare-form { display: flex; align-items: flex-end; gap: 12px; }
  .compare-form .field { flex: 1; }
  .arm { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
  .arm:first-of-type { border-top: 0; padding-top: 0; }
  .arm img, .arm .blank { width: 112px; height: 60px; object-fit: contain; background: #111114; border: 1px solid var(--line); padding: 4px; }
  .arm strong { display: block; font-weight: 500; }
  .arm small { display: block; margin-top: 3px; color: var(--dim); font-size: 12px; }
  .player-head .identity-media { width: 96px; height: 96px; }
  .player-head .identity-initial { font-size: 40px; }
  .rankbadge { display: grid; gap: 4px; min-width: 200px; padding: 18px 24px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--panel); }
  .rankbadge span { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .rankbadge strong { font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
  .rankbadge small { color: var(--mid); font-size: 13px; }

  /* ---- Sponsor banner and footer ---- */
  .sponsor { margin-top: 32px; padding: 44px 0 48px; border-top: 1px solid var(--line); background: #0C0C0E; }
  .sponsor .frame { display: grid; justify-items: center; gap: 14px; }
  .sponsor-head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 0; }
  .sponsor-head b { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  .sponsor-head span { color: var(--mid); font-size: 14px; }
  .sponsor-head span::before { content: '/'; margin-right: 12px; color: #55555C; }
  .sponsor-frame { display: block; width: min(760px, 100%); border: 1px solid #4A4A50; background: var(--panel); }
  a.sponsor-frame:hover { border-color: var(--gold); }
  .sponsor-frame img { display: block; width: 100%; height: auto; }
  /* ---- Stats: matches, scoreboards, compare ---- */
  .mat-grid { grid-template-columns: 150px minmax(0, 1.6fr) 80px 70px 110px minmax(0, 1.3fr) 120px; gap: 16px; }
  .mat-grid .n small, .sb-grid .n small { display: none; }
  .mat-grid .n, .sb-grid .n { font-variant-numeric: tabular-nums; }
  .mat-grid .when { color: var(--mid); font-size: 14px; font-variant-numeric: tabular-nums; }
  .fc { color: var(--faction, var(--mid)); }
  .res { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faction, var(--mid)); }
  .res.live { color: #3DBA7E; }
  .scores { font-size: 14px; font-variant-numeric: tabular-nums; }
  .scores .fc + .fc::before { content: '/'; margin: 0 8px; color: #55555C; }
  .fboard { margin: 0 0 24px; }
  .fboard .head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 16px 24px; border: 1px solid var(--line); border-bottom: 0; border-left: 4px solid var(--faction, var(--line)); background: #111114; }
  .fboard .head h2 { margin: 0; color: var(--faction, var(--ink)); font-size: 18px; letter-spacing: .14em; }
  .fboard .head .won { padding: 2px 8px; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .fboard .head p { margin: 0; color: var(--mid); font-size: 13px; }
  .fboard .list { border-left: 4px solid var(--faction, var(--line)); }
  .sb-grid { grid-template-columns: 44px minmax(0, 2fr) repeat(5, 84px); gap: 14px; min-height: 60px; }
  .sb-grid .rk { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
  .sb-grid .n { text-align: right; font-size: 16px; }
  .livetag { margin-left: 8px; padding: 1px 6px; border: 1px solid #3DBA7E; color: #3DBA7E; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .cmp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 16px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
  .cmp-grid .lab { color: var(--mid); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .cmp-grid .v { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .cmp-grid .v.better { color: var(--gold); font-weight: 600; }
  .list-head.cmp-grid a { color: var(--ink); font-size: 15px; letter-spacing: 0; text-transform: none; }
  .list-head.cmp-grid a:hover { color: var(--gold); }
  .choices { margin: 0; padding: 0; list-style: none; }
  .choices li + li { border-top: 1px solid var(--line); }
  .choices a { display: block; padding: 14px 24px; }
  .choices a:hover { background: #202025; color: var(--ink); }
  .choices strong { display: block; font-weight: 500; }
  .choices span { color: var(--dim); font-size: 13px; }
  .suggest { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 0; list-style: none; border: 1px solid #4A4A50; background: var(--panel); }
  .suggest li { padding: 10px 14px; cursor: pointer; }
  .suggest li + li { border-top: 1px solid var(--line); }
  .suggest li:hover, .suggest li.on { background: #202025; }
  .suggest strong { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
  .suggest span { color: var(--dim); font-size: 12px; }
  .field small { margin-top: 2px; color: var(--gold); font-size: 12px; letter-spacing: 0; text-transform: none; }
  .compare-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 20px 24px; }

  /* ---- RCON page ---- */
  .rc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 8px; padding: 56px 56px 52px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--panel); }
  .rc-hero:not(:has(.rc-app)) { grid-template-columns: minmax(0, 1fr); }
  .rc-hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 76px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
  .rc-lead { margin: 22px 0 0; max-width: 680px; color: #DDDAD2; font-size: 19px; line-height: 1.6; }
  .rc-hero .actions { margin-top: 28px; }
  .rc-note { margin: 22px 0 0; max-width: 680px; color: var(--dim); font-size: 13px; line-height: 1.65; }
  .rc-note.beta { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--gold); color: var(--mid); }
  .rc-app { padding: 24px; border: 1px solid #4A4A50; background: #111114; }
  .rc-app h2 { margin: 0 0 12px; color: var(--ink); font-size: 24px; letter-spacing: .02em; text-transform: uppercase; }
  .rc-app p { margin: 0; color: var(--mid); font-size: 15px; line-height: 1.6; }
  .rc-app ul { margin: 16px 0 20px; padding: 0; list-style: none; }
  .rc-app li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; }
  .rc-app small { display: block; margin-top: 12px; color: var(--dim); font-size: 12px; line-height: 1.5; }
  .rc-three, .rc-steps { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); }
  .rc-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rc-three li, .rc-steps li { padding: 28px; }
  .rc-three li + li, .rc-steps li + li { border-left: 1px solid var(--line); }
  .rc-three b, .rc-steps b { display: block; margin-bottom: 14px; color: var(--gold); font-size: 14px; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
  .rc-three strong, .rc-steps strong { display: block; font-size: 19px; font-weight: 600; }
  .rc-three p, .rc-steps p { margin: 8px 0 0; color: var(--mid); font-size: 15px; line-height: 1.6; }
  .rc-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .rc-caps article { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
  .rc-caps span { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
  .rc-caps em { margin-left: 8px; padding: 1px 7px; border: 1px solid var(--gold); font-size: 10px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
  .rc-caps h3 { margin: 10px 0 8px; font-size: 21px; font-weight: 600; text-transform: uppercase; }
  .rc-caps p { margin: 0; color: var(--mid); font-size: 15px; line-height: 1.65; }
  .rc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); background: #111114; }
  .rc-tabs div { padding: 16px 18px; }
  .rc-tabs div + div { border-left: 1px solid var(--line); }
  .rc-tabs strong { display: block; color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
  .rc-tabs span { display: block; margin-top: 6px; color: var(--mid); font-size: 13px; line-height: 1.5; }
  .rc-limits { margin: 0; padding: 0 0 0 1.2em; color: var(--mid); font-size: 14px; line-height: 1.7; }
  .rc-limits li::marker { color: var(--gold); }
  .rc-close { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin: 72px 0 0; padding: 32px 36px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--panel); }
  .rc-close h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; text-transform: uppercase; }
  .rc-close p { margin: 8px 0 0; color: var(--mid); font-size: 15px; }

  footer.site { border-top: 1px solid var(--line); background: var(--panel); color: var(--dim); font-size: 14px; }
  .foot-feeds { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 32px 48px; padding: 36px 0 28px; }
  .foot-brand p { margin: 12px 0 0; color: var(--mid); font-size: 15px; line-height: 1.5; }
  .foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .foot-social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid #4A4A50; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .foot-social a:hover { border-color: var(--gold); color: var(--gold); }
  .foot-feed header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .foot-feed h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0; color: var(--gold); font-size: 12px; letter-spacing: .18em; }
  .foot-feed h2 small { color: var(--dim); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: none; }
  .foot-feed header a { flex: none; color: var(--mid); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .foot-feed header a:hover { color: var(--gold); }
  .foot-feed ol { margin: 0; padding: 0; list-style: none; }
  .foot-feed li + li { border-top: 1px solid #2A2A2F; }
  .foot-feed li a { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; }
  .foot-feed li small { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .foot-feed li span { overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
  .foot-feed li a:hover span { color: var(--gold); }
  .foot-feed .none { margin: 12px 0 0; color: var(--dim); font-size: 14px; }
  .foot-strip { display: flex; flex-wrap: wrap; gap: 4px 44px; padding: 14px 0; border-top: 1px solid var(--line); }
  .foot-strip div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
  .foot-strip b { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  .foot-strip a { display: inline-flex; align-items: center; min-height: 38px; color: var(--mid); font-size: 14px; }
  .foot-strip a:hover { color: var(--gold); }
  .foot-bar { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 40px; padding: 18px 0 24px; border-top: 1px solid var(--line); }
  .foot-bar strong { color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
  .foot-bar > div:first-child { flex: 1 1 520px; max-width: 880px; }
  .foot-bar p { display: block; margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
  .foot-credits { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; max-width: 420px; font-size: 12px; text-align: right; }
  .foot-credits .note { flex-basis: 100%; color: var(--dim); }
  .foot-credits a:not(.btn) { color: var(--mid); text-decoration: underline; text-underline-offset: 3px; }
  .foot-credits a:not(.btn):hover { color: var(--gold); }

  /* ---- News ---- */
  .dmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; color: var(--mid); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
  .dmeta .pin { padding: 2px 8px; border: 1px solid var(--gold); color: var(--gold); letter-spacing: .12em; }
  .dmeta span + span::before { content: '/'; margin-right: 14px; color: var(--line); }
  .dmeta .pin::before { content: none !important; margin: 0 !important; }
  .dispatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
  .dispatch { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
  .dispatch.is-pinned { box-shadow: inset 4px 0 0 var(--gold); }
  .dispatch h3 { margin: 14px 0 10px; font-size: 24px; font-weight: 600; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
  .dispatch h3 a:hover { color: var(--gold); }
  .dispatch p.ex { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0 0 22px; color: var(--mid); font-size: 15px; line-height: 1.65; }
  .dispatch .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }

  .article { width: min(900px, 100%); margin: 8px auto 0; padding: 52px 60px 48px; border: 1px solid var(--line); background: var(--panel); }
  .article-head { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
  .article-head h1 { margin: 14px 0 18px; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
  .article-head p.stand { margin: 0; color: var(--mid); font-size: 19px; line-height: 1.65; }
  .share { display: flex; flex-wrap: wrap; gap: 10px; }
  .share-menu { position: static; }
  .share-menu[open] { flex-basis: 100%; }
  .share-menu summary { list-style: none; cursor: pointer; }
  .share-menu summary::-webkit-details-marker { display: none; }
  .share-menu > div { margin-top: 8px; border: 1px solid var(--line); background: var(--panel); }
  .share-menu a, .share-menu button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--mid); font: 500 14px/1.3 Barlow, sans-serif; text-align: left; cursor: pointer; }
  .share-menu a:first-child, .share-menu button:first-child { border-top: 0; }
  .share-menu a:hover, .share-menu button:hover { background: #202025; color: var(--ink); }
  .article-body { padding-top: 32px; color: #E4E1D9; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
  .article-body > :first-child { margin-top: 0; }
  .article-body p { margin: 0 0 1.15em; }
  .article-body h2 { position: relative; margin: 2em 0 .7em; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 27px; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; scroll-margin-top: 24px; }
  .article-body h2::before { content: ''; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--gold); }
  .article-body h3 { margin: 1.7em 0 .5em; color: var(--ink); font-size: 21px; line-height: 1.3; }
  .article-body h4 { margin: 1.5em 0 .4em; color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
  .article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
  .article-body a:hover { color: var(--ink); }
  .article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
  .article-body li { margin: .45em 0; padding-left: .2em; }
  .article-body li::marker { color: var(--gold); }
  .article-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); color: var(--mid); }
  .article-body img { display: block; width: 100%; max-width: 100%; height: auto; margin: 1.5em 0; border: 1px solid var(--line); background: #0C0C0E; }
  .article-body figure, .article-body .news-shot { margin: 1.7em 0; padding: 0; }
  .article-body figure img, .article-body .news-shot img { margin: 0; }
  .article-body figcaption { margin-top: 8px; color: var(--dim); font-size: 13px; line-height: 1.5; }
  .article-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 1.5em 0; border: 1px solid var(--line); }
  .article-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
  .article-body code { padding: 1px 6px; border: 1px solid var(--line); background: #111114; font: 14px/1.6 Consolas, "Courier New", monospace; }
  .article-body pre { margin: 1.5em 0; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--line); background: #111114; line-height: 1.6; }
  .article-body pre code { padding: 0; border: 0; background: none; }
  .article-body table { display: table; width: 100%; margin: 1.5em 0; border-collapse: collapse; }
  .article-body thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .article-body tbody { display: table-row-group; }
  .article-body tr { display: table-row; padding: 0; border: 0; }
  .article-body th, .article-body td { display: table-cell; padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
  .article-body th { background: #111114; color: var(--mid); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
  .article-body td + td { margin: 0; }
  .article-body td[data-label]::before { content: none; }

  @media (max-width: 1000px) {
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .frame { width: min(1200px, calc(100% - 40px)); }
    header.site { position: sticky; top: 0; z-index: 5; background: var(--panel); }
    .bar { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 12px 0 14px; min-height: 0; align-items: center; }
    .wd-logo { width: min(200px, 54vw); }
    footer.site .wd-logo { width: 180px; }
    .search, .account { order: 0; margin: 0; }
    .account { grid-column: 2; grid-row: 1; justify-self: end; }
    .who { display: none; }
    .account-menu summary { font-size: 13px; min-height: 44px; }
    .account-menu .avatar { width: 30px; height: 30px; }
    .account-menu .who-name { max-width: 110px; }
    .search { grid-column: 1 / -1; }
    .search input { width: 100%; height: 44px; font-size: 16px; }
    .nav-desk { display: none; }
    .nav-phone { display: grid; }
    .nav-phone {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
      grid-template-columns: repeat(4, 1fr);
      margin: 0; padding: 0 6px env(safe-area-inset-bottom);
      background: var(--panel); border-top: 1px solid var(--line);
      overscroll-behavior: none; touch-action: manipulation;
    }
    .nav-phone a { display: flex; justify-content: center; padding: 16px 2px 14px; text-align: center; font-size: 11px; }
    .nav-phone a[aria-current="page"] { box-shadow: inset 0 2px 0 var(--gold); }
    .staff { gap: 18px; overflow-x: auto; scrollbar-width: none; }
    .staff::-webkit-scrollbar { display: none; }
    .staff a { flex: none; white-space: nowrap; }
    main.page, .sheet { padding: 28px 0 48px; }
    .split { grid-template-columns: 1fr; }
    .rows li { grid-template-columns: 1fr auto; align-items: start; }
    .rows .count, .rows .on, .rows .off, .rows .st-live, .rows .st-dead, .rows .st-unknown { grid-column: 2; text-align: right; }
    .board-head, .statrow { grid-template-columns: 1fr 64px 52px; gap: 10px; }
    .pulse { margin-top: 28px; }
    .pulse strong { font-size: 26px; }
    .pulse a, .pulse div { padding: 16px 8px 16px 0; }
    .pulse a + a, .pulse div + div { padding-left: 10px; }
    .arms li { grid-template-columns: 96px 1fr; gap: 12px; }
    .arms img, .arm-empty { width: 96px; height: 56px; }
    .findplayer { max-width: none; }
    :is(table, thead, tbody, th, td):not(.rcon-main *) { display: block; }
    thead:not(.rcon-main *) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    tr:not(.rcon-main *) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
    td:not(.rcon-main *) { border: 0; padding: 0; }
    td:not(.rcon-main *) + td { margin-top: 8px; }
    td:empty:not(.rcon-main *) { display: none; }
    td[data-label]:not(.rcon-main *)::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  }
  @media (min-width: 1001px) and (max-width: 1260px) {
    .bar { gap: 16px; }
    .wd-logo { width: 190px; }
    .nav-desk a { padding: 0 12px; font-size: 12.5px; letter-spacing: .1em; }
    .search input { width: 130px; }
    .account-menu .who-name { max-width: 90px; }
  }
  @media (min-width: 1001px) and (max-width: 1180px) {
    .account-menu .who-name { display: none; }
    .account-menu summary { padding: 0 12px 0 6px; gap: 8px; }
    .search input { width: 110px; }
    .nav-desk a { padding: 0 10px; }
  }
  @container (max-width: 980px) {
    .list-head { display: none; }
    .srv-grid, .brw-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 16px 20px; }
    .srv-grid .c-state { grid-column: 1 / -1; grid-row: 1; }
    .srv-grid .c-name, .brw-grid .c-name { grid-column: 1; grid-row: 2; }
    .srv-grid .players, .brw-grid .players { grid-column: 2; grid-row: 2; }
    .srv-grid .c-join, .brw-grid .c-join { grid-column: 1 / -1; grid-row: 4; text-align: left; }
    .srv-grid .c-meta, .brw-grid .c-meta, .com-grid .c-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; grid-column: 1 / -1; grid-row: 3; }
    .com-grid { grid-template-columns: 56px minmax(0, 1fr); gap: 10px 16px; padding: 16px 20px; }
    .com-grid .c-meta { grid-column: 1 / -1; grid-row: auto; }
  }
  @media (max-width: 1100px) {
    .filters-grid.g7, .filters-grid.g5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
    .filters-grid.g7 .wide, .filters-grid.g5 .wide { grid-column: span 2; }
    .cols { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 1000px) {
    .wide-page .frame, .landing-page .frame { width: calc(100% - 40px); }
    .sec { margin-top: 56px; }
    .statbar, .statbar.has-clock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statbar > div { padding: 18px 20px; }
    .statbar > div + div { border-left: 0; }
    .statbar > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .statbar > div:nth-child(even) { border-left: 1px solid var(--line); }
    .statbar > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .statbar.has-clock > .clock { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; }
    .statbar.has-clock > .clock dd { order: 0; font-size: 22px; }
    .statbar.has-clock > div:nth-child(n+2) { border-top: 1px solid var(--line); }
    .statbar.has-clock > div:nth-child(even) { border-left: 0; }
    .statbar.has-clock > div:nth-child(odd):not(.clock) { border-left: 1px solid var(--line); }
    .statbar.has-clock > div:nth-child(2) { border-left: 0; }
  }
  @media (max-width: 700px) {
    .pagehead { margin: 24px 0 20px; }
    .filters-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .filters-grid .wide, .filters-grid.g7 .wide, .filters-grid.g5 .wide { grid-column: auto; }
    .filters-grid.g7, .filters-grid.g5 { grid-template-columns: minmax(0, 1fr); }
    .filters-foot { padding: 12px 16px; }
    .filters-foot .btn { flex: 1; }
    .tabs a { padding: 0 16px; }
    .panel { padding: 20px 18px; }
    .joinbox { padding: 14px; }
    .facts-row { grid-template-columns: minmax(0, 1fr); }
    .facts-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .roll li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .pager { font-size: 12px; }
    .item .nm { font-size: 18px; }
  }
  @container (max-width: 1100px) {
    .stat-grid { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px 14px; padding: 16px 20px; }
    .stat-grid .rank { grid-column: 1; grid-row: 1; }
    .stat-grid .c-who { grid-column: 2; grid-row: 1; }
    .stat-grid .n.k { grid-column: 3; grid-row: 1; font-size: 20px; font-weight: 600; }
    .stat-grid .c-server { grid-column: 2 / -1; grid-row: 2; }
    .stat-grid .c-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; grid-column: 1 / -1; grid-row: 3; }
    .stat-grid .c-meta .n { text-align: left; font-size: 14px; color: var(--ink); }
    .stat-grid .c-meta .n small { display: inline; margin-right: 6px; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
    .ses-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 20px; }
    .ses-grid .c-name { grid-column: 1; grid-row: 1; }
    .ses-grid .res { grid-column: 2; grid-row: 1; }
    .ses-grid .when { grid-column: 1 / -1; grid-row: 2; color: var(--dim); font-size: 13px; }
    .ses-grid .c-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; grid-column: 1 / -1; grid-row: 3; }
    .ses-grid .c-meta .n { text-align: left; font-size: 14px; }
    .ses-grid .c-meta .n small { display: inline; margin-right: 6px; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
  }
  @media (max-width: 1000px) {
    .podium { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ranks a:nth-child(3) { border-left: 0; }
    .ranks a:nth-child(n+3) { border-top: 1px solid var(--line); }
  }
  @media (max-width: 520px) {
    .account-menu .who-name { display: none; }
    .account-menu summary { padding: 0 12px 0 6px; gap: 8px; }
    .wd-logo { width: min(190px, 52vw); }
  }
  @media (max-width: 700px) {
    .seasonbar { padding: 14px 16px; }
    .seasonbar form { width: 100%; }
    .seasonbar .field { flex: 1; min-width: 0; }
    .prop { grid-template-columns: 84px minmax(0, 1fr) 80px; gap: 10px; }
    .compare-form { flex-direction: column; align-items: stretch; }
  }
  @media (max-width: 1100px) {
    .dispatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 700px) {
    .dispatches { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .dispatch { padding: 22px 20px; }
    .article { padding: 30px 22px 28px; }
    .article-head p.stand { font-size: 17px; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 23px; }
  }
  @media (min-width: 701px) and (max-width: 1100px) {
    .foot-feeds { grid-template-columns: minmax(180px, .6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px 28px; padding: 30px 0 22px; }
    .foot-feed li a { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  }
  @media (max-width: 900px) {
    .foot-feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
    .foot-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 700px) {
    .sponsor { padding: 32px 0 36px; }
    .foot-feeds { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px 0 14px; }
    .foot-feed li:nth-child(n+3) { display: none; }
    .foot-feed li a { padding: 8px 0; }
    .foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .foot-brand p { margin: 0; text-align: right; font-size: 13px; }
    .foot-strip { gap: 0 24px; padding: 10px 0; }
    .foot-strip a { min-height: 34px; }
    .foot-bar { padding: 14px 0 18px; }
    .foot-credits { justify-content: flex-start; text-align: left; max-width: none; }
  }
  @container (max-width: 1100px) {
    .mat-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 20px; }
    .mat-grid .c-name { grid-column: 1; grid-row: 1; }
    .mat-grid .res { grid-column: 2; grid-row: 1; }
    .mat-grid .when { grid-column: 1 / -1; grid-row: 2; color: var(--dim); font-size: 13px; }
    .mat-grid .c-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; grid-column: 1 / -1; grid-row: 3; }
    .mat-grid .c-meta .n small { display: inline; margin-right: 6px; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
    .mat-grid .scores { grid-column: 1 / -1; grid-row: 4; }
    .mat-grid .c-join { grid-column: 1 / -1; grid-row: 5; text-align: left; }
    .sb-grid { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 20px; }
    .sb-grid .rk { grid-column: 1; grid-row: 1; }
    .sb-grid .c-who { grid-column: 2; grid-row: 1; }
    .sb-grid .n.k { grid-column: 3; grid-row: 1; font-size: 20px; font-weight: 600; }
    .sb-grid .c-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; grid-column: 1 / -1; grid-row: 2; }
    .sb-grid .c-meta .n { text-align: left; font-size: 14px; }
    .sb-grid .c-meta .n small { display: inline; margin-right: 6px; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
  }
  @media (max-width: 700px) {
    .compare-pair { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .cmp-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-left: 14px; padding-right: 14px; }
    .cmp-grid .v { font-size: 15px; }
    .cmp-grid .lab { font-size: 11px; }
    .fboard .head { padding: 14px 16px; }
  }
  @media (max-width: 1100px) {
    .rc-hero { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
    .rc-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-steps li:nth-child(3) { border-left: 0; }
    .rc-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .rc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-tabs div:nth-child(odd) { border-left: 0; }
    .rc-tabs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  }
  @media (max-width: 700px) {
    .rc-hero { padding: 28px 20px; }
    .rc-lead { font-size: 17px; }
    .rc-three, .rc-steps, .rc-caps, .rc-tabs { grid-template-columns: minmax(0, 1fr); }
    .rc-three li + li, .rc-steps li + li, .rc-tabs div + div { border-left: 0; border-top: 1px solid var(--line); }
    .rc-three li, .rc-steps li { padding: 22px 20px; }
    .rc-caps { gap: 14px; }
    .rc-close { padding: 24px 20px; }
  }

/* ---- Mobile pass ---- */
/* Whole-row tap: the main link of a row stretches over the row, secondary links and buttons sit above it. */
.item, .dispatch { position: relative; }
.item a.nm::after, .dispatch h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.item .sub a, .item .c-join, .item .c-server a, .item .c-meta a, .dispatch .acts { position: relative; z-index: 2; }
.mat-grid a.nm { position: relative; z-index: 2; }
.mat-grid a.nm::after { content: none; }
.mat-grid .c-join, .mat-grid .c-join a, .ses-grid .when, .ses-grid .when a { position: static; }
.mat-grid .c-join a::after, .ses-grid .when a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ses-grid .c-name .nm { position: relative; z-index: 2; }
.ses-grid .c-name .nm::after { content: none; }
.search-toggle { display: none; }
.filters-bar { display: none; }

@media (max-width: 1000px) {
  /* one row header: logo, search, account; search opens as a full width sheet */
  .bar { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 8px 0; align-items: center; }
  .bar > a:first-child { grid-column: 1; grid-row: 1; }
  .search-toggle { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid #4A4A50; background: #111114; color: var(--ink); cursor: pointer; }
  .search-toggle:hover, header.site.search-open .search-toggle { border-color: var(--gold); color: var(--gold); }
  .account { grid-column: 3; grid-row: 1; justify-self: end; }
  .search { display: none; position: absolute; z-index: 25; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 20px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
  header.site.search-open .search { display: flex; }
  .search input { flex: 1; width: 100%; }
  header.site { transition: transform .22s ease; }
  header.site.is-hidden { transform: translateY(-100%); }
  /* touch targets and iOS no-zoom inputs */
  .field input, .field select, .search input, .compare-form input { font-size: 16px; }
  .btn.small, .pager .btn { min-height: 44px; }
  .checks label { min-height: 44px; }
  .tabs a { min-height: 48px; }
  .foot-strip a, .foot-social a, .foot-feed li a, .foot-feed header a { min-height: 44px; }
  .foot-feed li a { align-items: center; }
  .item .sub a { display: inline-block; padding: 6px 0; }
  .more { min-height: 44px; }
  .bar > a:first-child { min-height: 48px; }
  .foot-brand > a { display: inline-flex; align-items: center; min-height: 44px; }
  .item .c-server a, .meta-line a, .bests a, .info dd a, .info dt a, .tag a { display: inline-block; padding: 13px 0; }
  .filters-foot .clear { min-height: 44px; }
  .livetag, .fboard .head .won { font-size: 11px; }
}
@media (max-width: 700px) {
  .filters-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
  .filters-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid #68686D; background: var(--panel); color: var(--ink); font: 600 13px/1 Barlow, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .filters-toggle b { min-width: 22px; padding: 3px 6px; background: var(--gold); color: #17130B; font-size: 12px; text-align: center; }
  .filters-toggle::after { content: ''; width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .15s ease; }
  .filters-toggle[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
  .chip { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 0 0 12px; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 600; }
  .chip button { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--gold); font: 400 20px/1 Barlow, sans-serif; cursor: pointer; }
  form.filters.is-collapsed { display: none; }
}
@media (max-width: 700px) {
  .statbar[style*="--cols: 3"], .statbar[style*="--cols: 2"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  .statbar[style*="--cols: 3"] > div, .statbar[style*="--cols: 2"] > div { padding: 14px 12px; border-top: 0; }
  .statbar[style*="--cols: 3"] > div + div, .statbar[style*="--cols: 2"] > div + div { border-left: 1px solid var(--line); }
  .statbar[style*="--cols: 3"] > div:last-child:nth-child(odd) { grid-column: auto; }
  .statbar[style*="--cols: 3"] dd, .statbar[style*="--cols: 2"] dd { font-size: 24px; }
  .statbar[style*="--cols: 3"] dt, .statbar[style*="--cols: 2"] dt { font-size: 11px; letter-spacing: .06em; }
  .pagehead h1 { font-size: 36px; }
  .pagehead p.help { font-size: 15px; margin-top: 10px; }
}

/* ---- RCON entrance: your servers ---- */
.rc-srv-actions { margin: 0 0 20px; }
.rc-srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.rc-srv { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--panel); }
.rc-srv h3 { margin: 0; font-size: 24px; line-height: 1.15; }
.rc-srv h3 a { color: var(--ink); text-decoration: none; }
.rc-srv h3 a:hover { color: var(--gold); }
.rc-srv dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 0; }
.rc-srv dt { margin: 0 0 4px; color: var(--mid); font: 600 12px/1 Barlow, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.rc-srv dd { margin: 0; font-size: 16px; }
.rc-srv-note { margin: 0; color: #B9B6AE; font-size: 15px; line-height: 1.5; }
.rc-srv .actions { margin-top: auto; padding-top: 6px; }
.rc-flash { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--panel); }
.rc-flash.error { border-left-color: #C45B4A; }
.rc-flash.ok { border-left-color: #3DBA7E; }
.rc-maint { margin: 0 0 20px; border-top: 3px solid #C45B4A; }
@media (max-width: 700px) { .rc-srv-grid { grid-template-columns: 1fr; } .rc-srv { padding: 20px; } }

/* RCON entrance on a phone: the servers come first for a signed-in owner, and the hero is tighter */
@media (max-width: 700px) {
  .rc-hero { padding: 28px 20px 26px; gap: 24px; }
  .rc-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .rc-lead { font-size: 17px; }
  #rc-servers { margin-top: 8px; }
}

/* ---- Stats: one player card, desktop and phone ---- */
/* leaderboard and search rows: fixed rhythm, one line for the server, numbers that line up */
.stat-grid .c-who { gap: 14px; }
.stat-grid .c-who .nm { font-size: 18px; line-height: 1.25; overflow-wrap: break-word; word-break: normal; hyphens: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stat-grid .c-server { display: grid; gap: 3px; align-content: center; }
.stat-grid .c-server > a, .stat-grid .c-server > .dim { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; }
.stat-grid .c-server .sub { margin: 0; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item.stat-grid { min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.item.stat-grid:hover { background: #1F1F24; }
.stat-grid .n.k { color: var(--ink); font-size: 19px; font-weight: 600; }
.stat-grid .rank { font-size: 15px; }
.item.stat-grid:nth-child(2) .rank, .item.stat-grid:nth-child(3) .rank, .item.stat-grid:nth-child(4) .rank { font-weight: 700; }

/* podium: medal colour per place, three labelled figures */
.podium { gap: 16px; }
.podium li { --medal: var(--gold); box-shadow: inset 0 3px 0 var(--medal); }
.podium li:nth-child(2) { --medal: #B9BDC6; }
.podium li:nth-child(3) { --medal: #B27B4C; }
.podium li:first-child { box-shadow: inset 0 3px 0 var(--medal); }
.podium a { grid-template-columns: 48px minmax(0, 1fr); gap: 14px 16px; padding: 22px 22px 20px; }
.podium .pos { grid-row: 1 / span 2; align-self: center; color: var(--medal); font-size: 40px; }
.podium .who { font-size: 18px; }
.podium .pname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; word-break: normal; }
.podium .pstats { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.podium .pstats > span { display: grid; gap: 3px; }
.podium .pstats b { color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.podium .pstats small { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* player page header */
.player-head { align-items: stretch; }
.player-head .identity-heading { align-items: center; }
.player-head h1 { overflow-wrap: break-word; word-break: normal; }
.player-head .meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rankbadge { align-self: flex-end; }
.statbar[style*="--cols: 6"] dd { font-size: clamp(24px, 2.4vw, 32px); }

@media (max-width: 700px) {
  /* leaderboard and search rows become cards: rank, player and kills on top, the server under the name, then labelled figures */
  .stat-grid { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "rank who kills" "rank server kills" "meta meta meta"; gap: 6px 12px; padding: 16px 16px 14px; align-items: start; }
  .stat-grid .rank { grid-area: rank; align-self: start; padding-top: 4px; }
  .stat-grid .c-who { grid-area: who; align-items: center; }
  .stat-grid .c-who .identity-media { width: 40px; height: 40px; }
  .stat-grid .c-who .nm { font-size: 17px; }
  .stat-grid .c-server { grid-area: server; padding-left: 54px; min-width: 0; align-content: start; gap: 2px; }
  .stat-grid .c-server > a { padding: 6px 0; margin: -6px 0; }
  .stat-grid .n.k { grid-area: kills; align-self: start; display: grid; justify-items: end; gap: 2px; font-size: 22px; }
  .stat-grid .n.k small { display: block; color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .stat-grid .c-meta { grid-area: meta; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .stat-grid .c-meta .n { display: grid; gap: 2px; text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); }
  .stat-grid .c-meta .n small { display: block; margin: 0; color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .stat-grid .c-meta .n:empty { display: none; }
  .item.stat-grid { min-height: 0; }

  /* podium: stacked cards, figures in a row */
  .podium { gap: 10px; }
  .podium a { grid-template-columns: 38px minmax(0, 1fr); padding: 16px 16px 14px; gap: 10px 12px; }
  .podium .pos { font-size: 32px; }
  .podium .who { font-size: 17px; }
  .podium .pstats { gap: 6px 22px; }
  .podium .pstats b { font-size: 19px; }

  /* player page header and totals */
  .player-head { gap: 16px; margin-top: 20px; }
  .player-head .identity-heading { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0; }
  .player-head .identity-media { width: 72px; height: 72px; }
  .player-head .identity-initial { font-size: 30px; }
  .player-head h1 { font-size: 26px; line-height: 1.12; letter-spacing: 0; margin: 4px 0 0; }
  .player-head .meta-line { margin-top: 8px !important; gap: 2px 14px; font-size: 13px; }
  .player-head .meta-line a { display: inline-block; padding: 8px 0; }
  .player-head .meta-line > span::before, .player-head .meta-line > span + span::before { content: none !important; }
  .player-head p.help { grid-column: 1 / -1; margin-top: 6px !important; font-size: 13px !important; line-height: 1.5; }
  .rankbadge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: 100%; min-width: 0; padding: 14px 18px; align-self: stretch; }
  .rankbadge span { flex: 0 0 100%; }
  .rankbadge strong { font-size: 34px; }
  .statbar[style*="--cols: 6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statbar[style*="--cols: 6"] > div { padding: 14px 12px; border-top: 0; border-left: 0; }
  .statbar[style*="--cols: 6"] > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .statbar[style*="--cols: 6"] > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
  .statbar[style*="--cols: 6"] dd { font-size: 22px; }
  .statbar[style*="--cols: 6"] dt { font-size: 11px; letter-spacing: .06em; }
  .statbar[style*="--cols: 6"] > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---- Stats on a phone, second pass: scoreboards, recent matches, headers, tiles ---- */
@container (max-width: 700px) {
  /* match scoreboard rows: the same card as the leaderboard (rank, name, kills; then labelled figures) */
  .sb-grid { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "rk who k" "meta meta meta"; gap: 6px 12px; padding: 14px 16px 12px; align-items: start; }
  .sb-grid .rk { grid-area: rk; padding-top: 2px; }
  .sb-grid .c-who { grid-area: who; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
  .sb-grid .c-who .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; word-break: normal; padding: 8px 0; margin: -8px 0; }
  .sb-grid .c-who .livetag { margin: 0; }
  .sb-grid .n.k { grid-area: k; align-self: start; display: grid; justify-items: end; gap: 2px; font-size: 22px; }
  .sb-grid .n.k small { display: block; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .sb-grid .c-meta { grid-area: meta; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
  .sb-grid .c-meta .n { display: grid; gap: 2px; text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); }
  .sb-grid .c-meta .n small { display: block; margin: 0; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

  /* recent matches on a player page: name and result on top, date, then labelled figures */
  .ses-grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name res" "when when" "meta meta"; gap: 4px 14px; padding: 14px 16px 12px; align-items: start; }
  .ses-grid .c-name { grid-area: name; min-width: 0; }
  .ses-grid .res { grid-area: res; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .ses-grid .when { grid-area: when; font-size: 13px; }
  .ses-grid .when a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .ses-grid .c-meta { grid-area: meta; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
  .ses-grid .c-meta > span:first-child { grid-column: 1 / -1; color: var(--ink); font-size: 14px; font-weight: 600; }
  .ses-grid .c-meta .n { display: grid; gap: 2px; text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); }
  .ses-grid .c-meta .n small { display: block; margin: 0; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
}

@media (max-width: 700px) {
  /* labels never drop below 11px */
  .stat-grid .n.k small, .stat-grid .c-meta .n small { font-size: 11px; }
  /* page headers: separators between the facts are dropped, the facts wrap as a tidy list */
  .meta-line { gap: 4px 14px; font-size: 12px; letter-spacing: .1em; }
  .meta-line > span + span::before { content: none; }
  .pagehead h1 { font-size: 30px; line-height: 1.08; overflow-wrap: break-word; word-break: normal; }
  .pagehead .tag { font-size: 12px; }
  /* totals, season bar, section heads: tighter */
  .statbar > div { padding: 14px 14px; gap: 6px; }
  .statbar dd { font-size: 24px; }
  .statbar dt { font-size: 11px; letter-spacing: .08em; }
  .seasonbar { margin: 16px 0; padding: 14px 16px; gap: 10px; }
  .seasonbar strong { font-size: 18px; }
  .sec-head { margin-bottom: 16px; padding-bottom: 12px; }
  .sec-head h2 { font-size: 24px; line-height: 1.15; }
  .sec-head p { font-size: 14px; }
  .panel { padding: 18px 18px; }
  .bests li { padding: 10px 0; gap: 2px 12px; }
  .bests strong { font-size: 17px; }
  .bests a { padding: 8px 0; margin: -8px 0 -4px; }
  .info > div { padding: 10px 0; }
  .result-line { font-size: 13px; }
  .filters .field input, .filters .field select { min-height: 44px; }
}

@media (max-width: 700px) {
  /* compare: the two players are named above the figures, and the header stays while you read down */
  .list-head.cmp-grid { display: grid; position: sticky; top: 0; z-index: 15; min-height: 0; padding-top: 10px; padding-bottom: 10px; background: #111114; align-items: end; }
  .list-head.cmp-grid a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; font-size: 13px; line-height: 1.25; font-weight: 600; padding: 4px 0; }
  .cmp-grid.item { min-height: 48px; }
  .cmp-grid .lab { letter-spacing: .06em; }
  .compare-pair .btn { width: 100%; min-height: 48px; }
}

@media (max-width: 700px) {
  /* footnote links in the stats pages get a comfortable tap area */
  .source a, .help a, .sec-head p a, .info dd a { display: inline-block; padding: 11px 2px; margin: -11px -2px; }
}

/* "View as a member" bar */
.preview-bar { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 8px 16px; background: var(--gold); color: #17130B; font: 600 14px/1.4 Barlow, sans-serif; }
.preview-bar button { min-height: 36px; padding: 0 14px; border: 1px solid #17130B; background: #17130B; color: var(--ink); font: 600 13px Barlow, sans-serif; cursor: pointer; }

/* Developer docs and the public appeal form */
.dev-doc { padding-bottom: 48px; }
.dev-doc h1 { font-size: 34px; margin: 6px 0 12px; }
.dev-doc h2 { margin-top: 34px; }
.dev-doc p, .dev-doc li { max-width: 78ch; }
.dev-doc .eyebrow, .dev-doc .tag { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.dev-doc .code-box { margin: 8px 0 16px; border: 1px solid var(--line); background: #0B0B0E; overflow: hidden; }
.dev-doc .code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 6px 5px 14px; background: #17171B; border-bottom: 1px solid var(--line); }
.dev-doc .code-lang { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.dev-doc .code-copy { min-height: 32px; padding: 0 12px; background: transparent; border: 1px solid #4A4A50; color: var(--ink); font: 600 12px Barlow, sans-serif; cursor: pointer; }
.dev-doc .code-copy:hover { border-color: var(--gold); color: var(--gold); }
.dev-doc pre { margin: 0; padding: 13px 16px; overflow-x: auto; white-space: pre; tab-size: 2; font: 13px/1.65 Consolas, monospace; color: var(--ink); }
.dev-doc code { font-family: Consolas, monospace; }
.dev-doc table { border-collapse: collapse; width: 100%; margin: 10px 0 18px; }
.dev-doc th, .dev-doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.appeal-form { display: grid; gap: 16px; max-width: 640px; }
.appeal-form .field { display: grid; gap: 6px; }
.appeal-form input[type=text], .appeal-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #4A4A50; border-radius: 0; background: #111114; color: var(--ink); font: 400 16px/1.4 Barlow, sans-serif; }
.appeal-form .hint { color: var(--dim); font-size: 14px; }
.appeal-trap { position: absolute; left: -9999px; }
.pre-line { white-space: pre-line; }

/* Server page: status note, population line, record list, join steps */
.state-note { margin: 10px 0 0; color: var(--mid); font-size: 14px; }
.state-note[hidden] { display: none; }
.statbar dd small { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.3; }
.statbar dd.txt { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; overflow-wrap: anywhere; }
details.how { margin-top: 14px; }
details.how > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; list-style: none; }
details.how > summary::-webkit-details-marker { display: none; }
details.how > summary::after { content: ''; width: 7px; height: 7px; margin: -3px 0 0 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
details.how[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
details.how .steps { margin-top: 4px; }
.pop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pop-now strong { display: block; font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.pop-now span { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pop-chart-wrap { position: relative; margin-top: 18px; padding-left: 36px; color: var(--gold); }
.pop-chart { display: block; width: 100%; height: 130px; border: 1px solid var(--line); background: #111114; }
.pop-area { fill: currentColor; opacity: .16; }
.pop-line { stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pop-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.pop-tick { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pop-scale { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 130px; color: var(--dim); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.pop-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pop-axis.days { display: grid; grid-template-columns: repeat(7, 1fr); }
.pop-axis.days span { text-align: center; }
.pop-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 20px 0 0; border: 1px solid var(--line); background: var(--line); }
.pop-facts > div { padding: 14px 16px; background: var(--panel); }
.pop-facts dt { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pop-facts dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pop-facts dd small { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.pop-local { display: block; color: var(--dim); font-size: 13px; font-weight: 400; }
ol.record { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); }
ol.record li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
ol.record li:first-child { border-top: 0; }
ol.record .rank { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
ol.record .nm { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
ol.record .nm .sub { display: block; margin-top: 2px; color: var(--dim); font-size: 13px; font-weight: 400; }
ol.record .n { font-size: 20px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
ol.record .n small { display: block; color: var(--dim); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) {
  .pop-chart-wrap { padding-left: 30px; }
  .pop-scale { width: 26px; }
  .pop-chart, .pop-scale { height: 110px; }
  .pop-now strong { font-size: 28px; }
  ol.record li { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 12px 14px; gap: 12px; }
}
.pagehead > div { min-width: 0; }
.pagehead h1 { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .joinbox { flex-direction: column; align-items: stretch; gap: 12px; }
  .joinbox .btn { width: 100%; }
}

/* Community roster, apply form and the Manage area */
.notice { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--panel); color: var(--ink); }
.notice.ok { border-left-color: var(--manticore); }
.notice.bad { border-left-color: var(--valkyra); }
.stack > .sec { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.roster-group + .roster-group { margin-top: 28px; }
.roster-group h3 { margin: 0 0 12px; color: var(--mid); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.roster-group h3 small { margin-left: 6px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
ul.roster { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
ul.roster li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 16px; background: var(--panel); }
ul.roster .identity-media { width: 40px; height: 40px; }
ul.roster .who { display: grid; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
ul.roster .who a:hover { color: var(--gold); }
ul.roster .who small { color: var(--dim); font-size: 12px; font-weight: 400; }
.roster-opt { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--mid); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.checks.stackable { display: grid; gap: 2px; margin: 8px 0 0; }
.checks.stackable label { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); }
.checks.stackable input { width: 18px; height: 18px; accent-color: var(--gold); }
.field textarea { width: 100%; min-height: 110px; padding: 10px 12px; border: 1px solid #4A4A50; border-radius: 0; background: #111114; color: var(--ink); font: 400 15px/1.5 Barlow, sans-serif; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--gold); }
.field > small { color: var(--dim); font-size: 13px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
form.apply .field + .field { margin-top: 20px; }
.act { display: flex; flex-wrap: wrap; gap: 8px; }
.act form { margin: 0; }
.act .btn[disabled] { opacity: .4; cursor: not-allowed; }
form.inline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
form.inline .field { min-width: 160px; }
.rowform { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.add-person { margin-top: 20px; }
.add-person h2 { margin-bottom: 14px; }
table.manage td small { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; }
table.manage td.actions { text-align: right; white-space: nowrap; }
table.manage td.actions form { display: inline-block; }
ul.requests, ul.role-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); }
ul.requests > li, ul.role-list > li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 16px 20px; border-top: 1px solid var(--line); }
ul.requests > li:first-child, ul.role-list > li:first-child { border-top: 0; }
ul.requests .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
ul.requests .who small { display: block; color: var(--dim); font-size: 13px; }
ul.requests .who strong { font-weight: 600; overflow-wrap: anywhere; }
ul.role-list .rename { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; margin: 0; }
ul.role-list .rename .field { flex: 1; margin: 0; }
ol.qlist { margin: 0 0 20px; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); }
ol.qlist > li { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 14px 20px; border-top: 1px solid var(--line); }
ol.qlist > li:first-child { border-top: 0; }
ol.qlist details { flex: 1 1 320px; min-width: 0; }
ol.qlist summary { display: grid; min-height: 44px; align-content: center; cursor: pointer; list-style: none; }
ol.qlist summary::-webkit-details-marker { display: none; }
ol.qlist summary small { color: var(--dim); font-size: 12px; }
form.qedit { display: grid; gap: 16px; padding: 12px 0 8px; }
dl.answers { margin: 10px 0 0; display: grid; gap: 10px; }
dl.answers dt { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
dl.answers dd { margin: 2px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
form.access h2 small { margin-left: 8px; color: var(--dim); font-weight: 500; letter-spacing: 0; text-transform: none; }
form.access + form.access { margin-top: 20px; }
.worklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--panel); }
.worklist > li > a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 24px; color: var(--ink); }
.worklist > li > a:hover { background: #202025; }
.worklist .n { font-size: 32px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--dim); }
.worklist .hot .n { color: var(--gold); }
.worklist strong { display: block; font-weight: 600; }
.worklist small { display: block; margin-top: 2px; color: var(--dim); }
.worklist .to { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.statbar .hot dd { color: var(--gold); }
.facts small { display: block; color: var(--dim); font-size: 12px; }
@media (max-width: 760px) {
  .rowform { grid-template-columns: 1fr; }
  ul.roster { grid-template-columns: 1fr; }
  .worklist > li > a { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .worklist .to { grid-column: 2; }
  table.manage td.actions { text-align: left; }
  form.inline .field { min-width: 0; flex: 1 1 100%; }
  .act .btn { flex: 1 1 auto; }
}

/* Create and edit forms for communities and servers, image uploads, my lists */
form.listing { display: grid; gap: 22px; max-width: 880px; align-content: start; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.field-pair > form.listing, .field-pair > .field { max-width: none; min-width: 0; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field > legend { margin: 0 0 8px; padding: 0; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.checks.stackable.inline { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.image-field { gap: 12px; }
.image-field .preview { display: block; max-width: 100%; max-height: 160px; object-fit: contain; border: 1px solid var(--line); background: #111114; }
.image-field.is-logo .preview { width: 120px; height: 120px; }
.field.image-field input[type=file] { width: 100%; height: auto; padding: 10px 0; border: 0; background: none; color: var(--mid); font: 400 14px/1.4 Barlow, sans-serif; }
.field.image-field input[type=file]::file-selector-button { margin-right: 14px; padding: 12px 18px; border: 1px solid #68686D; border-radius: 0; background: var(--panel); color: var(--ink); font: 600 12px/1 Barlow, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.field.image-field input[type=file]::file-selector-button:hover { border-color: var(--mid); }
.field input[type=range] { height: auto; padding: 8px 0; border: 0; background: none; accent-color: var(--gold); }
.field input[type=number] { appearance: textfield; }
ul.mine-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--panel); }
ul.mine-list > li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
ul.mine-list > li:first-child { border-top: 0; }
ul.mine-list .who { flex: 1; display: grid; min-width: 0; }
ul.mine-list .who strong { font-weight: 600; overflow-wrap: anywhere; }
ul.mine-list .who small { color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .field-pair { grid-template-columns: 1fr; gap: 22px; }
  ul.mine-list > li { flex-wrap: wrap; }
  ul.mine-list .act { width: 100%; }
}
@media (max-width: 760px) { .field textarea { font-size: 16px; } }

.image-field { padding: 0; border: 0; background: none; aspect-ratio: auto; margin: 0; }
.image-field > span { display: block; }
.image-field .preview { align-self: flex-start; }
.image-field > small { max-width: 60ch; }

/* Image upload tiles and the grouped create forms */
form.listing-form { display: grid; gap: 8px; max-width: 920px; }
form.listing-form > .sec { margin: 40px 0 0; }
form.listing-form > .sec:first-child { margin-top: 8px; }
form.listing-form .panel.listing { gap: 22px; }
.form-actions.form-end { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.upload-pair { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.upload-pair > .upload.is-wide:only-child { grid-column: 1 / -1; }
.upload { display: grid; gap: 10px; min-width: 0; }
.upload-label { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.upload-tile { position: relative; display: grid; border: 1px solid #4A4A50; background: #111114; cursor: pointer; }
.upload-tile:hover, .upload-tile:focus-within { border-color: var(--gold); }
.upload-frame { display: grid; place-items: center; overflow: hidden; background: #131316; }
.upload.is-logo .upload-frame { aspect-ratio: 1 / 1; }
.upload.is-wide .upload-frame { aspect-ratio: 4 / 1; }
.upload-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.upload-frame img[hidden] { display: none; }
.upload-empty { display: grid; justify-items: center; gap: 6px; color: var(--dim); font-size: 13px; }
.upload-empty[hidden] { display: none; }
.upload-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); min-width: 0; }
.upload-pick { flex: none; padding: 8px 12px; border: 1px solid #68686D; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.upload-tile:hover .upload-pick { border-color: var(--gold); color: var(--gold); }
.upload-name { min-width: 0; color: var(--mid); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload > small { color: var(--dim); font-size: 13px; line-height: 1.45; }
.upload.is-logo .upload-bar { flex-direction: column; align-items: stretch; gap: 8px; }
.upload.is-logo .upload-name { white-space: normal; overflow-wrap: anywhere; }
.faction-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.faction-pick { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid #4A4A50; color: var(--mid); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.faction-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.faction-pick::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--fc, var(--dim)); }
.faction-pick.valkyra { --fc: var(--valkyra); } .faction-pick.lonestar { --fc: var(--lonestar); } .faction-pick.manticore { --fc: var(--manticore); }
.faction-pick:has(input:checked) { border-color: var(--fc); background: rgba(255, 255, 255, .05); color: var(--ink); }
.faction-pick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) {
  .upload-pair { grid-template-columns: 1fr; gap: 24px; }
  .upload.is-logo { max-width: 220px; }
}
.panel.listing { display: grid; gap: 22px; align-content: start; }
.panel.listing > .field-pair, .panel.listing > .upload-pair { margin: 0; }

/* Create forms: the form beside a live preview */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.listing-layout > form.listing-form { max-width: none; min-width: 0; }
.listing-aside { position: sticky; top: 24px; display: grid; gap: 20px; min-width: 0; }
.panel.pv { padding: 20px; }
.panel.pv > h2 { margin-bottom: 14px; }
.pv-banner { position: relative; aspect-ratio: 4 / 1; margin: 0 0 16px; border: 1px solid var(--line); background: #0C0C0E; overflow: hidden; display: grid; place-items: center; color: var(--dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pv-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pv-banner img[hidden], .pv-banner span[hidden] { display: none; }
.pv-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pv-head .identity-large { width: 80px; height: 80px; }
.pv-text { display: grid; min-width: 0; gap: 4px; }
.pv-text .meta-line { margin: 0 0 4px; font-size: 11px; gap: 4px 12px; }
.pv-text .meta-line > span + span::before { margin-right: 12px; }
.pv-name { margin: 0; color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.pv-tagline { margin: 0; color: var(--mid); font-size: 14px; overflow-wrap: anywhere; }
.is-empty { color: var(--dim); }
.pv-name.is-empty { color: var(--dim); }
.pv-factions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pv-factions:empty { display: none; }
.pv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--line); color: var(--mid); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pv-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fc, var(--dim)); }
.pv-chip.valkyra { --fc: var(--valkyra); } .pv-chip.lonestar { --fc: var(--lonestar); } .pv-chip.manticore { --fc: var(--manticore); }
.pv-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: #111114; }
.pv-row .identity-media { width: 56px; height: 56px; }
.pv-rowname { display: block; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.pv-rowsub { display: block; color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.pv-rowmeta { color: var(--mid); font-size: 13px; text-align: right; }
.pv-slots { color: var(--ink); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 64px; }
.pv-join { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid #4A4A50; background: #111114; }
.pv-join code { min-width: 0; color: var(--ink); font: 500 15px/1.3 Barlow, sans-serif; letter-spacing: .04em; overflow-wrap: anywhere; }
ul.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
ul.checklist li { display: flex; align-items: center; gap: 12px; min-height: 36px; color: var(--dim); font-size: 14px; }
ul.checklist li b { flex: none; width: 16px; height: 16px; border: 1px solid #68686D; }
ul.checklist li.done { color: var(--ink); }
ul.checklist li.done b { border-color: var(--manticore); background: var(--manticore); box-shadow: inset 0 0 0 3px #1A1A1E; }
.upload-pair { grid-template-columns: 160px minmax(0, 1fr); }
@media (max-width: 1100px) {
  .listing-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .listing-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 760px) {
  .listing-aside { grid-template-columns: 1fr; }
  .upload-pair { grid-template-columns: 1fr; }
}

/* Announcement banner under the header (Settings, Features) */
.announce { border-bottom: 1px solid var(--line); background: var(--panel); }
.announce p { margin: 0; padding: 12px 0; color: var(--ink); font-size: 15px; border-left: 4px solid var(--gold); padding-left: 16px; overflow-wrap: anywhere; }

/* Stats privacy request form: the textarea matches the other fields, and the hidden trap stays off screen */
.privacy-form { display: grid; gap: 20px; max-width: 640px; }
.field textarea { width: 100%; min-height: 120px; padding: 10px 12px; border: 1px solid #4A4A50; border-radius: 0; background: #0C0C0E; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--gold); }
.field small { color: var(--dim); font-size: 13px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Search: results page and the header dropdown */
.search-page { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; max-width: 720px; margin: 0 0 28px; }
.search-page .btn { height: 44px; }
.hit-grid { grid-template-columns: 120px minmax(0, 1fr); }
.hit-type { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; width: min(420px, 92vw); max-height: 70vh; overflow-y: auto; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.search-suggest[hidden] { display: none; }
.search-suggest a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 14px; min-height: 44px; color: var(--ink); }
.search-suggest a + a { border-top: 1px solid var(--line); }
.search-suggest a:hover, .search-suggest a:focus { background: #202025; outline: none; }
.search-suggest a > span { color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.search-suggest strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.search-suggest small { display: block; margin-top: 2px; color: var(--mid); font-size: 12px; overflow-wrap: anywhere; }
.search-suggest .search-suggest-all { display: block; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.search-suggest-state { margin: 0; padding: 14px; color: var(--mid); font-size: 14px; }
.search-suggest-state.is-error { color: var(--valkyra); }
@media (max-width: 760px) {
  .search-page { grid-template-columns: 1fr; }
  .search-page .btn { width: 100%; }
  .hit-grid { grid-template-columns: 1fr; gap: 6px; }
  .search-suggest { left: 0; right: 0; width: auto; }
}
.post-body { white-space: pre-line; overflow-wrap: anywhere; }

/* Unclaimed servers: the banner the owner set in the server config is how a server is recognised, so it is shown and opens full size. */
.item .c-name .srv-art { display: block; width: min(100%, 256px); aspect-ratio: 4 / 1; margin: 0 0 8px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0d; }
.item .c-name .srv-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item .c-name .srv-art:hover, .item .c-name .srv-art:focus-visible { border-color: var(--gold); outline: 0; }
