/* Tianlu portal, art direction layer (2026-10-14, taste skill: "the sentence is the layout").
   Loaded after site.css. It replaces the look (type, colour, surfaces, home page composition) and leaves every behaviour alone.
   Rules held here: no eyebrows, no monospace, no hairlines or outlined boxes outside real tables and form fields, no gradients
   (a plain scrim under text on a picture is the one exception), no shadows on things at rest, no glass, one accent (gold, for the
   action), flat fields of colour instead of lines. Figures are tabular and set in the text face. */

:root {
  --bg: #0d0c0b;
  --bg-2: #11100e;
  --surface: #181614;
  --surface-2: #221f1c;
  --text: #f3efe8;
  --muted: #d0c9bd;
  --faint: #aaa296;
  --gold: #d6b06a;
  --gold-strong: #e6c88c;
  --field: #8e4426;
  --field-ink: #f7efe2;
  --field-soft: #f1dccb;
  --paper: #e8e5df;
  --paper-ink: #13110f;

  --display: "Imbue", "Noto Serif", Georgia, "Times New Roman", serif;
  --ui: "Albert Sans", "Noto Sans", system-ui, "Segoe UI", sans-serif;
  --body: "Albert Sans", "Noto Sans", system-ui, "Segoe UI", sans-serif;
  --mono: "Albert Sans", "Noto Sans", system-ui, "Segoe UI", sans-serif;

  --step--2: .8125rem;
  --step--1: .9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 3.4vw, 3.25rem);
  --step-4: clamp(2.75rem, 6vw, 5.5rem);

  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 4px;
  --section: clamp(96px, 12vw, 200px);
  --gutter: clamp(16px, 3vw, 40px);
  --pad: clamp(16px, 3vw, 40px);
}

body { font-family: var(--ui); font-size: var(--step-0); line-height: 1.55; font-variant-numeric: lining-nums; }
:where(.legacy) .shell { max-width: 1560px; }
:where(.legacy) .num, :where(.legacy) td.n, :where(.legacy) .mono, :where(.legacy) kbd, :where(.legacy) .pager-info b, :where(.legacy) .ladder .pos, :where(.legacy) .ladder .val, :where(.legacy) .upcoming-when, :where(.legacy) .news-item time, :where(.legacy) .item-history .timeline time, :where(.legacy) .bar-row header span:last-child, :where(.legacy) .kv dd, :where(.legacy) .slot .ico .plus, :where(.legacy) .tracker-lv { font-family: var(--ui); font-variant-numeric: tabular-nums lining-nums; }
:where(.legacy) .h-display, :where(.legacy) .h-section { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; }
:where(.legacy) .h-display { font-size: clamp(2.75rem, 7vw, 7rem); }
:where(.legacy) .h-section { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
:where(.legacy) .h-sub { font: 500 clamp(1.875rem, 3vw, 3rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
:where(.legacy) .profile-id h1 { text-transform: uppercase; font-weight: 500; }
:where(.legacy) .lede { color: var(--text); font-size: clamp(1.125rem, 1.1rem + .35vw, 1.375rem); }
:where(.legacy) .eyebrow { font: 500 var(--step--1)/1.3 var(--ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
:where(.legacy) :focus-visible { outline-color: var(--gold-strong); }

:where(.legacy) .ls-label, :where(.legacy) .more-label, :where(.legacy) .tag, :where(.legacy) .fact dt, :where(.legacy) .king-label, :where(.legacy) .foot-col h2, :where(.legacy) .block h2, :where(.legacy) th, :where(.legacy) .slot .meta small, :where(.legacy) .phase-badge, :where(.legacy) .hero-phase-label, :where(.legacy) .teaser-count span, :where(.legacy) .rk-sum dt, :where(.legacy) .field label, :where(.legacy) .tabs a, :where(.legacy) .tabs button {
  text-transform: none; letter-spacing: 0; font-size: var(--step--1);
}
:where(.legacy) th { font-weight: 500; color: var(--muted); }
:where(.legacy) .block h2 { border: 0; padding-bottom: 0; color: var(--text); font-size: var(--step-1); }

:where(.legacy) .top.scrolled, :where(.legacy) .phase-bar, :where(.legacy) .panel-head, :where(.legacy) .ladder li, :where(.legacy) .news-item, :where(.legacy) .history-filter, :where(.legacy) .pillar, :where(.legacy) .foot, :where(.legacy) .profile-head, :where(.legacy) .feed li, :where(.legacy) .tracker li, :where(.legacy) .upcoming li, :where(.legacy) .kv dt, :where(.legacy) .kv dd, :where(.legacy) .item-history .timeline li, :where(.legacy) .tabs { border: 0; }
:where(.legacy) .foot-meta::before, :where(.legacy) .ls-item + .ls-item::before, :where(.legacy) .fact + .fact::before { display: none; }
:where(.legacy) .news-item, :where(.legacy) .feed li, :where(.legacy) .ladder li { padding-block: 14px; }
:where(.legacy) .panel-head { padding-bottom: var(--s-5); }
:where(.legacy) .tabs [aria-selected="true"]::after, :where(.legacy) .tabs [aria-current="page"]::after { height: 3px; bottom: 0; }

:where(.legacy) .top, :where(.legacy) .top.scrolled { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(.legacy) .brand img { filter: none; }
:where(.legacy) .nav > a, :where(.legacy) .more-btn { border-radius: var(--radius); }
:where(.legacy) .nav > a[aria-current="page"]::after, :where(.legacy) .more-btn.current::after { display: none; }
:where(.legacy) .search-trigger, :where(.legacy) .discord-link, :where(.legacy) .lang-pick { border: 0; background: var(--surface-2); border-radius: var(--radius); }
:where(.legacy) .search-trigger { color: var(--muted); }
:where(.legacy) kbd { border: 0; background: rgba(255, 255, 255, .08); border-radius: 3px; }
:where(.legacy) .more-menu { background: var(--surface-2); border: 0; border-radius: var(--radius); }
:where(.legacy) .phase-bar { background: var(--surface); }
:where(.legacy) .phase-badge, :where(.legacy) .phase-badge[data-phase="alpha"] { border: 0; background: var(--field); color: var(--field-ink); border-radius: var(--radius); font-weight: 600; height: 24px; }
:where(.legacy) .phase-count b { color: var(--text); }

:where(.legacy) /* ---------- Buttons: flat, :where(.legacy) square-cornered, :where(.legacy) one shape ---------- */
.btn { border: 0; border-radius: var(--radius); background: var(--surface-2); color: var(--text); font-size: var(--step--1); font-weight: 500; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .btn:hover { background: #2d2925; border: 0; } }
:where(.legacy) .btn-primary, :where(.legacy) .btn-primary:hover { background: var(--gold); color: #17120a; box-shadow: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .btn-primary:hover { background: var(--gold-strong); } }
:where(.legacy) .btn-glass, :where(.legacy) .btn-plain { background: var(--surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
:where(.legacy) .btn-lg { height: 56px; padding: 0 30px; font-size: var(--step-0); }
:where(.legacy) .btn-discord { background: var(--text); color: var(--bg); }
:where(.legacy) .segmented, :where(.legacy) .filter-chip { border-color: transparent; background: var(--surface); border-radius: var(--radius); }
:where(.legacy) .segmented button { border-radius: var(--radius); }
:where(.legacy) .segmented button[aria-pressed="true"] { box-shadow: none; background: var(--gold); color: #17120a; }
:where(.legacy) .filter-chip[aria-current="page"] { background: var(--gold); color: #17120a; border-color: transparent; }
:where(.legacy) .dot.on { box-shadow: none; }
:where(.legacy) .bar i { background: var(--gold); }
:where(.legacy) .crest { background: var(--surface-2); box-shadow: none; border: 0; }
:where(.legacy) .char-card, :where(.legacy) .slot .ico { border: 0; background: var(--surface); }
:where(.legacy) .slot { background: var(--surface); }

:where(.legacy) /* ================================================================================================
   v3 (2026-10-14): genre structure (art, action and server numbers on the first screen, a live board under it, the way the
   strong Silkroad server sites work), :where(.legacy) with the Lamborghini DESIGN.md discipline from awesome-design-md: near-true black, :where(.legacy) achromatic surfaces stepped by tone (no borders, no shadows), :where(.legacy) gold only on the action, :where(.legacy) sharp corners, :where(.legacy) uppercase display.
   ================================================================================================ */
:root {
  --bg: #14100c;
  --bg-2: #181310;
  --surface: #1d1712;
  --surface-2: #271f18;
  --surface-3: #31271e;
  --text: #f4ecdd;
  --muted: #d3c6ae;
  --faint: #a3957c;
  --gold: #cfae78;
  --gold-strong: #e6cc9a;
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --section: clamp(72px, 9vw, 140px);
}
:where(.legacy) .btn { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
:where(.legacy) .btn-lg { height: 58px; padding: 0 34px; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .btn:hover { background: var(--surface-3); } }
:where(.legacy) .btn-plain { background: rgba(255, 255, 255, .1); color: var(--text); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .btn-plain:hover { background: rgba(255, 255, 255, .18); } }
:where(.legacy) .arrow-link { color: var(--gold); }

:where(.legacy) /* ---------- 1. The gate: key art, :where(.legacy) logo, :where(.legacy) the action, :where(.legacy) the server in numbers ---------- */
.gate { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 980px); display: grid; grid-template-rows: 1fr auto; background: var(--bg); }
:where(.legacy) .gate-art { position: absolute; inset: -6% 0; z-index: -2; background: url("/assets/hero.jpg") 50% 38% / cover no-repeat; }
:where(.legacy) .gate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .05) 28%, rgba(20, 16, 12, .25) 58%, rgba(20, 16, 12, .96) 100%); }
:where(.legacy) .gate-inner { display: grid; justify-items: center; align-content: center; text-align: center; gap: clamp(14px, 1.8vw, 22px); padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px); }
:where(.legacy) .gate-inner > * { animation: enter .8s var(--ease-out) both; }
:where(.legacy) .gate-inner > :nth-child(2) { animation-delay: 90ms; }
:where(.legacy) .gate-inner > :nth-child(3) { animation-delay: 180ms; }
:where(.legacy) .gate-inner > :nth-child(4) { animation-delay: 270ms; }
:where(.legacy) .gate-logo { margin: 0; display: flex; justify-content: center; }
:where(.legacy) .gate-logo img { width: min(640px, 84vw); height: auto; }
:where(.legacy) .gate-tag { margin: 0; font: 500 clamp(1.5rem, 2.6vw, 2.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
:where(.legacy) .gate .hero-phase { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 4px 0 6px; }
:where(.legacy) .gate .hero-phase-label { font-size: var(--step--1); color: var(--text); }
:where(.legacy) .gate .hero-phase-time { font: 500 clamp(2.25rem, 4.2vw, 3.75rem)/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--text); }
:where(.legacy) .gate .hero-phase-when { font-size: var(--step--2); color: var(--muted); }
:where(.legacy) .gate .hero-actions { justify-content: center; margin: 0; gap: 12px; }

:where(.legacy) /* the server in numbers, :where(.legacy) along the bottom edge of the art */
.gate-stats { padding-bottom: clamp(20px, 2.5vw, 32px); }
:where(.legacy) .gate-stats .facts, :where(.legacy) .section-facts .facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; background: rgba(20, 16, 12, .72); border: 0; border-radius: 0; overflow: visible; }
:where(.legacy) .gate-stats .fact, :where(.legacy) .gate-stats .fact:first-child { display: grid; grid-template-columns: none; grid-template-areas: "v" "l" "n"; justify-items: center; text-align: center; gap: 2px; padding: clamp(16px, 2vw, 26px) 12px; background: none; border: 0; }
:where(.legacy) .gate-stats .fact::before, :where(.legacy) .gate-stats .fact::after { display: none; }
:where(.legacy) .gate-stats .fact dd, :where(.legacy) .gate-stats .fact:first-child dd { grid-area: v; margin: 0; font: 500 clamp(1.75rem, 2.6vw, 2.5rem)/1 var(--ui); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; color: var(--text); text-align: center; }
:where(.legacy) .gate-stats .fact:first-child dd { color: var(--gold-strong); }
:where(.legacy) .gate-stats .fact dt { grid-area: l; color: var(--text); font-size: var(--step--1); font-weight: 600; margin-top: 6px; }
:where(.legacy) .gate-stats .fact small { grid-area: n; color: var(--muted); font-size: var(--step--2); line-height: 1.35; opacity: 1; max-width: 22ch; }

:where(.legacy) .status-bar { background: var(--bg); }
:where(.legacy) .status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: clamp(18px, 2vw, 26px); }
:where(.legacy) .live-strip { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 56px); background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; animation: none; }
:where(.legacy) .ls-item { flex: 0 1 auto; padding: 0; display: grid; gap: 2px; }
:where(.legacy) .ls-label { color: var(--muted); font-size: var(--step--2); }
:where(.legacy) .ls-value { font-size: var(--step-0); }
:where(.legacy) .ls-main .ls-value { font-size: var(--step-1); }

:where(.legacy) /* ---------- 3. The board: everything live, :where(.legacy) in three columns of panels ---------- */
.board { padding-block: clamp(8px, 1.5vw, 20px) var(--section); }
:where(.legacy) .board-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "uniques news players" "uniques feed kings" "uniques feed events"; gap: clamp(12px, 1.2vw, 18px); align-items: start; }
:where(.legacy) .board-part, :where(.legacy) #home-players-split { display: contents; }
:where(.legacy) .board-part[hidden] { display: none !important; }
:where(.legacy) .p-uniques { grid-area: uniques; } :where(.legacy) .p-events { grid-area: events; } :where(.legacy) .p-kings { grid-area: kings; } :where(.legacy) .p-feed { grid-area: feed; } :where(.legacy) .p-players { grid-area: players; } :where(.legacy) .p-news { grid-area: news; }
:where(.legacy) .panel { background: var(--surface); padding: clamp(20px, 2vw, 30px); min-width: 0; align-self: stretch; }
:where(.legacy) .panel[hidden] { display: none !important; }
:where(.legacy) .panel .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 0 14px; border: 0; }
:where(.legacy) .panel .h-sub { font: 500 clamp(1.5rem, 1.9vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; }
:where(.legacy) .panel .arrow-link { font-size: var(--step--2); }
:where(.legacy) .panel .empty { background: var(--surface-2); padding: 18px; }
:where(.legacy) .tracker { grid-template-columns: minmax(0, 1fr); }
:where(.legacy) .tracker li { grid-template-columns: 40px minmax(0, 1fr); padding: 9px 0; border: 0; }
:where(.legacy) .tracker-lv { font-size: var(--step--1); color: var(--gold); text-align: left; }
:where(.legacy) .tracker strong { font-weight: 600; }
:where(.legacy) .tracker-when { font-size: var(--step--2); }
:where(.legacy) .ladder li { padding: 0; border: 0; }
:where(.legacy) .ladder a { padding: 11px 0; }
:where(.legacy) .news-compact .news-item { padding: 12px 0; border: 0; }
:where(.legacy) .news-compact .news-item h3 { font-size: var(--step-0); font-weight: 600; }
:where(.legacy) .kings { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
:where(.legacy) .king { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "h n d" "h l d"; column-gap: 12px; align-items: center; padding: 10px 0; border: 0; background: none; border-radius: 0; }
:where(.legacy) .king .han { grid-area: h; font-size: 1.5rem; margin: 0; color: var(--gold); }
:where(.legacy) .king-label { grid-area: l; color: var(--muted); font-size: var(--step--2); }
:where(.legacy) .king strong { grid-area: n; font: 600 var(--step-0)/1.2 var(--ui); }
:where(.legacy) .king small { grid-area: d; text-align: right; font-size: var(--step--2); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .king:hover strong, :where(.legacy) .ladder a:hover strong { color: var(--gold-strong); } :where(.legacy) .king:hover, :where(.legacy) .ladder a:hover { background: none; } }
:where(.legacy) .feed li { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; border: 0; }
:where(.legacy) .feed-dot { display: none; }
:where(.legacy) .upcoming li { grid-template-columns: minmax(110px, 150px) minmax(0, 1fr); padding: 10px 0; border: 0; }
:where(.legacy) .board-part.teaser-section { display: block; grid-column: 1 / -1; background: var(--field); color: var(--field-ink); padding: clamp(28px, 3vw, 48px); }
:where(.legacy) .board-part.teaser-section > .shell { padding: 0; max-width: none; }
:where(.legacy) .teaser-section .section-head { margin-bottom: 28px; }
:where(.legacy) .teaser-section .teaser-card p { color: var(--field-soft); }
:where(.legacy) .teaser-section .teaser-count b { color: var(--field-ink); }

:where(.legacy) /* ---------- 4. Why: four reasons on the red field, :where(.legacy) stepped ---------- */
.why { background: var(--field); color: var(--field-ink); padding-block: var(--section); }
:where(.legacy) .why-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
:where(.legacy) .why-head .h-section { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 4.25rem); }
:where(.legacy) .why .arrow-link { color: var(--field-ink); }
:where(.legacy) .why .pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
:where(.legacy) .why .pillar, :where(.legacy) .why .pillar:nth-child(even) { display: grid; grid-template-columns: none; grid-template-rows: none; gap: 10px; align-content: start; padding: 0; border: 0; }
:where(.legacy) .why .pillar > *, :where(.legacy) .why .pillar:nth-child(even) > * { grid-column: auto; grid-row: auto; }
:where(.legacy) .why .pillar:nth-child(even) { margin-top: clamp(0px, 5vw, 80px); }
:where(.legacy) .why .pillar-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 0; border-radius: 0; opacity: 1; margin: 0 0 8px; background: rgba(0, 0, 0, .2); }
:where(.legacy) .why .pillar .han { font-size: 1.75rem; line-height: 1; color: var(--field-soft); align-self: auto; }
:where(.legacy) .why .pillar .h-card { font: 500 clamp(1.5rem, 2.1vw, 2.125rem)/1 var(--display); text-transform: uppercase; color: var(--field-ink); }
:where(.legacy) .why .pillar p { margin: 0; color: var(--field-soft); font-size: var(--step-0); max-width: 32ch; }

:where(.legacy) /* ---------- 5. The road: five cities as one strip, :where(.legacy) the one you point at opens ---------- */
.road { padding-block: var(--section) 0; background: var(--bg); }
:where(.legacy) .road-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
:where(.legacy) .road-head .section-links { display: flex; gap: 12px 28px; flex-wrap: wrap; }
:where(.legacy) .road-strip { display: flex; height: clamp(420px, 62svh, 640px); gap: 4px; }
:where(.legacy) .road-city { position: relative; flex: 1 1 0; min-width: 0; margin: 0; overflow: hidden; transition: flex-grow .6s var(--ease-out); outline-offset: -3px; }
:where(.legacy) .road-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
:where(.legacy) .road-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 12, .85) 0%, rgba(20, 16, 12, 0) 45%); }
:where(.legacy) .road-city figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 28px); display: grid; gap: 6px; }
:where(.legacy) .road-city strong { font: 500 clamp(1.5rem, 2.4vw, 2.5rem)/1 var(--display); text-transform: uppercase; color: var(--text); white-space: nowrap; }
:where(.legacy) .road-city span { color: var(--text); font-size: var(--step--1); max-width: 30ch; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
:where(.legacy) .road-city:first-child { flex-grow: 2.2; }
:where(.legacy) .road-city:first-child span { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  :where(.legacy) .road-strip:hover .road-city:first-child { flex-grow: 1; }
  :where(.legacy) .road-strip:hover .road-city:first-child span { opacity: 0; }
  :where(.legacy) .road-strip .road-city:hover { flex-grow: 2.2; }
  :where(.legacy) .road-strip .road-city:hover span { opacity: 1; transform: none; }
  :where(.legacy) .road-city:hover img { transform: scale(1.04); }
}
:where(.legacy) .road-strip:focus-within .road-city:first-child:not(:focus) { flex-grow: 1; }
:where(.legacy) .road-city:focus { flex-grow: 2.2; }
:where(.legacy) .road-city:focus span { opacity: 1; transform: none; }

:where(.legacy) /* ---------- 6. The close: art behind, :where(.legacy) the action again, :where(.legacy) Discord ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding: 0; text-align: left; }
:where(.legacy) .closing-img { position: absolute; inset: -8% 0; z-index: -2; width: 100%; height: 116%; object-fit: cover; object-position: 50% 55%; opacity: 1; }
:where(.legacy) .closing::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 16, 12, .9) 0%, rgba(20, 16, 12, .55) 50%, rgba(20, 16, 12, .15) 100%); }
:where(.legacy) .closing-inner { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "l" "a"; justify-items: start; align-content: center; gap: 20px; min-height: min(70svh, 700px); padding-block: clamp(72px, 9vw, 140px) 24px; }
:where(.legacy) .closing-inner .closing-line { grid-area: h; margin: 0; max-width: 12ch; font: 500 clamp(3rem, 7.5vw, 8rem)/.92 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-shadow: none; color: var(--text); }
:where(.legacy) .closing-inner .lede { grid-area: l; max-width: 36ch; color: var(--text); text-align: left; text-shadow: none; font-size: clamp(1.125rem, 1.4vw, 1.375rem); }
:where(.legacy) .closing-inner .hero-actions { grid-area: a; justify-content: flex-start; margin: 8px 0 0; }
:where(.legacy) .closing .btn-primary { background: var(--gold); color: #17120a; }
:where(.legacy) .closing .btn-plain { background: rgba(255, 255, 255, .12); color: var(--text); }
:where(.legacy) .closing-discord { padding-bottom: clamp(32px, 4vw, 56px); }
:where(.legacy) .closing-discord .discord-band { background: rgba(20, 16, 12, .78); border: 0; border-radius: 0; padding: clamp(18px, 2vw, 28px); }
:where(.legacy) .closing-discord .discord-mark { background: var(--surface-3); color: var(--text); border-radius: 0; width: 56px; height: 56px; }
:where(.legacy) .closing-discord .discord-mark svg { width: 30px; height: 30px; }
:where(.legacy) .closing-discord .h-sub { font-size: clamp(1.375rem, 1.8vw, 1.875rem); }

:where(.legacy) /* ---------- Footer: red field, :where(.legacy) the name across it ---------- */
.foot { background: var(--field); color: var(--field-ink); display: flex; flex-direction: column; border: 0; }
:where(.legacy) .foot-grid { order: 1; padding-block: clamp(40px, 5vw, 72px) 0; }
:where(.legacy) .foot-name { order: 2; margin: 0; padding: clamp(16px, 2vw, 32px) var(--gutter) 0; font: 500 clamp(4.5rem, 19vw, 20rem)/.8 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; color: var(--field-ink); user-select: none; text-align: center; }
:where(.legacy) .foot-meta { order: 3; color: var(--field-soft); }
:where(.legacy) .foot-meta::before { display: none; }
:where(.legacy) .foot-brand img { display: none; }
:where(.legacy) .foot-brand p, :where(.legacy) .foot-col a, :where(.legacy) .foot-legal a { color: var(--field-soft); font-size: var(--step--1); }
:where(.legacy) .foot-col h2 { color: var(--field-ink); font-size: var(--step--1); font-weight: 600; text-transform: none; letter-spacing: 0; }
:where(.legacy) .foot-meta .han { color: var(--field-ink); opacity: 1; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .foot-col a:hover, :where(.legacy) .foot-legal a:hover { color: #fff; } }

:where(.legacy) .rv-pre { opacity: 0; transform: translateY(22px); }
:where(.legacy) .rv-pre.rv-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out) var(--rv-d, 0ms), transform .7s var(--ease-out) var(--rv-d, 0ms); }
:where(.legacy) .btn, :where(.legacy) .king, :where(.legacy) .ladder a, :where(.legacy) .upcoming li { transition: transform .3s var(--ease-out), background-color .15s, color .15s; }
:where(.legacy) [data-dev-tag], :where(.legacy) .dev-tag { font-family: var(--ui); }
@media (prefers-reduced-motion: reduce) {
  :where(.legacy) .rv-pre { opacity: 1; transform: none; }
  :where(.legacy) .gate-inner > *, :where(.legacy) .road-city, :where(.legacy) .road-city img, :where(.legacy) .road-city span { animation: none; transition: none; }
}

:where(.legacy) @media (max-width: 1100px) {
  .board-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "news players" "feed kings" "uniques events"; }
  .gate-stats .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why .pillar:nth-child(even) { margin-top: 48px; }
}
@media (max-width: 720px) {
  :where(.legacy) .gate { min-height: auto; }
  :where(.legacy) .gate-inner { padding-block: 48px 24px; }
  :where(.legacy) .gate .hero-actions { width: 100%; flex-direction: column; }
  :where(.legacy) .gate .hero-actions .btn, :where(.legacy) .closing-inner .hero-actions .btn { width: 100%; }
  :where(.legacy) .gate-stats .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.legacy) .board-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "news" "players" "feed" "kings" "events" "uniques"; }
  :where(.legacy) .why .pillars { grid-template-columns: minmax(0, 1fr); }
  :where(.legacy) .why .pillar:nth-child(even) { margin-top: 0; }
  :where(.legacy) .why .pillar-img { aspect-ratio: 16 / 10; }
  :where(.legacy) .road-strip { flex-direction: column; height: auto; }
  :where(.legacy) .road-city, :where(.legacy) .road-city:first-child { flex: none; height: 240px; }
  :where(.legacy) .road-city span { opacity: 1; transform: none; }
  :where(.legacy) .closing-inner .hero-actions { width: 100%; flex-direction: column; }
  :where(.legacy) .closing-discord .discord-band { grid-template-columns: minmax(0, 1fr); }
}

:where(.legacy) .gate { min-height: min(calc(100svh - var(--header) - 40px), 900px); }
:where(.legacy) .gate-logo img { width: min(520px, 76vw); }
:where(.legacy) .gate-inner { padding-block: clamp(24px, 3.5vw, 56px) clamp(16px, 2vw, 28px); gap: clamp(10px, 1.4vw, 18px); }
:where(.legacy) .tracker li { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: baseline; column-gap: 10px; padding: 7px 0; }
:where(.legacy) .tracker-lv { grid-row: auto; }
:where(.legacy) .tracker-when { text-align: right; white-space: nowrap; }
@media (max-width: 720px) { :where(.legacy) .gate { min-height: auto; } }
:where(.legacy) .gate-art { background-position: 50% 58%; }
@media (max-width: 560px) {
  :where(.legacy) .top-actions .btn { text-transform: none; letter-spacing: 0; padding: 0 12px; }
  :where(.legacy) .top-actions { gap: 6px; }
}
@media (max-width: 720px) {
  :where(.legacy) .gate::after { background: linear-gradient(180deg, rgba(20, 16, 12, .5) 0%, rgba(20, 16, 12, .45) 40%, rgba(20, 16, 12, .85) 70%, rgba(20, 16, 12, .97) 100%); }
  :where(.legacy) .gate-tag { font-size: 1.625rem; max-width: 16ch; text-wrap: balance; line-height: 1.05; }
}
:where(.legacy) .why-head .h-section { max-width: none; font-size: clamp(1.625rem, 4.2vw, 4.25rem); }
@media (max-width: 720px) { :where(.legacy) .gate-tag { font-size: 1.375rem; max-width: none; } }

:where(.legacy) /* ================================================================================================
   apple-design pass on v3 (2026-10-14). The site.css fluid layer already defines --spring (damping 1.0, response ~.4s) and
   --spring-bounce; the v3 rules above had replaced some of it with plain ease-out. Here it is put back and extended:
   press answered on press-down with a spring release, :where(.legacy) the header as a material that content scrolls under (with a scroll
   edge instead of a line), :where(.legacy) reveals and the city strip on the critically damped spring, :where(.legacy) size-specific tracking for capitals.
   ================================================================================================ */

/* 1. Response: the press shows at once (60ms), :where(.legacy) the release springs back; rows that are links do the same */
.btn, :where(.legacy) .king, :where(.legacy) .ladder a, :where(.legacy) .upcoming li { transition: transform .42s var(--spring), background-color .16s ease, color .16s ease; }
:where(.legacy) .btn:active { transform: scale(.965); transition-duration: .06s, .1s, .1s; }
:where(.legacy) .btn-primary:active { background: #b8955f; filter: none; }
:where(.legacy) a.king:active, :where(.legacy) .ladder a:active { transform: scale(.985); background: none; transition-duration: .06s, .06s, .06s; }
:where(.legacy) .panel .arrow-link::after { transition: transform .4s var(--spring); }

:where(.legacy) .top, :where(.legacy) .top.scrolled { background: rgba(20, 16, 12, .72); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: none; }
:where(.legacy) .top::after { background: linear-gradient(180deg, rgba(20, 16, 12, .5), transparent); }
:where(.legacy) .more-menu { background: rgba(39, 31, 24, .92); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7); }
:where(.legacy) .gate-stats .facts { -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); background: rgba(20, 16, 12, .6); }
:where(.legacy) .btn-plain { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (prefers-reduced-transparency: reduce) {
  :where(.legacy) .top, :where(.legacy) .top.scrolled, :where(.legacy) .more-menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  :where(.legacy) .gate-stats .facts { background: rgba(20, 16, 12, .92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  :where(.legacy) .btn-plain { background: #31271e; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :where(.legacy) .gate-stats .facts { background: #0c0906; }
  :where(.legacy) .gate .hero-phase-when, :where(.legacy) .gate-stats .fact small, :where(.legacy) .ls-label { color: #ece3d0; }
  :where(.legacy) .btn-plain { background: #3a2f24; outline: 1px solid rgba(255, 255, 255, .6); }
}

:where(.legacy) .rv-pre.rv-in { transition: opacity .5s ease var(--rv-d, 0ms), transform .7s var(--spring) var(--rv-d, 0ms); }
:where(.legacy) .road-city { transition: flex-grow .55s var(--spring); }
:where(.legacy) .road-city img { transition: transform .9s var(--spring); }
:where(.legacy) .road-city span { transition: opacity .3s ease, transform .5s var(--spring); }
:where(.legacy) /* the gate's parts arrive on the spring too, :where(.legacy) from slightly below, :where(.legacy) in reading order */
@keyframes gate-in { from { opacity: 0; transform: translateY(14px); } }
:where(.legacy) .gate-inner > * { animation: gate-in .7s var(--spring) both; }
@media (prefers-reduced-motion: reduce) {
  :where(.legacy) /* gentler equivalent: a short cross-fade, :where(.legacy) no travel */
  @keyframes gate-fade { from { opacity: 0; } }
  :where(.legacy) .gate-inner > * { animation: gate-fade .3s ease both; }
  :where(.legacy) .btn:active, :where(.legacy) a.king:active, :where(.legacy) .ladder a:active { transform: none; }
  :where(.legacy) .road-city, :where(.legacy) .road-city img, :where(.legacy) .road-city span { transition: opacity .2s ease; }
}

:where(.legacy) /* 4. Type: tracking follows size. Big capitals tighten, :where(.legacy) small capitals open up, body :where(.legacy) stays at 0 */
.closing-inner .closing-line { letter-spacing: -.018em; }
:where(.legacy) .why-head .h-section, :where(.legacy) .road-head .h-section { letter-spacing: -.012em; }
:where(.legacy) .gate-tag { letter-spacing: .012em; }
:where(.legacy) .panel .h-sub, :where(.legacy) .road-city strong, :where(.legacy) .why .pillar .h-card { letter-spacing: .01em; }
:where(.legacy) .gate .hero-phase-time, :where(.legacy) .gate-stats .fact dd { letter-spacing: -.025em; font-feature-settings: "tnum" 1, "lnum" 1; }
:where(.legacy) .btn { letter-spacing: .06em; }
:where(.legacy) :lang(he) .btn, :where(.legacy) :lang(ar) .btn, :where(.legacy) :lang(zh) .btn, :where(.legacy) :lang(ja) .btn, :where(.legacy) :lang(ru) .btn { letter-spacing: 0; }
:where(.legacy) :lang(he) .gate-tag, :where(.legacy) :lang(he) .panel .h-sub, :where(.legacy) :lang(he) .road-city strong, :where(.legacy) :lang(he) .why .pillar .h-card, :where(.legacy) :lang(zh) .gate-tag, :where(.legacy) :lang(ja) .gate-tag { letter-spacing: 0; }

:where(.legacy) /* ================================================================================================
   v6 (2026-10-14, owner: "more apple.com vibe, even Apple's font"). Apple's San Francisco is licensed for Apple platforms
   only, :where(.legacy) so it is not hosted here: the stack asks the visitor's system for it (-apple-system / BlinkMacSystemFont = SF on Mac,
   iPhone and iPad) and falls back to Inter, :where(.legacy) the closest open face, :where(.legacy) everywhere else. Palette B (warm black, sand gold) stays.
   What makes apple.com feel like apple.com, :where(.legacy) applied: sentence-case headlines set large and tight in one family, :where(.legacy) centred
   statements, :where(.legacy) pill buttons with a quiet "Learn more ›" link beside them, :where(.legacy) rounded tiles stepped by tone, :where(.legacy) generous space, :where(.legacy) a slim translucent bar, :where(.legacy) a small quiet footer.
   ================================================================================================ */
:root {
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --body: var(--ui);
  --mono: var(--ui);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --header: 52px;
}
body { font-family: var(--ui); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; }

:where(.legacy) /* Type: one family, :where(.legacy) sentence case, :where(.legacy) weight and size carry the hierarchy, :where(.legacy) tracking tightens as it grows */
.h-display, :where(.legacy) .h-section, :where(.legacy) .h-sub, :where(.legacy) .gate-tag, :where(.legacy) .closing-inner .closing-line, :where(.legacy) .why .pillar .h-card, :where(.legacy) .panel .h-sub, :where(.legacy) .profile-id h1, :where(.legacy) .road-city strong {
  font-family: var(--display); text-transform: none;
}
:where(.legacy) .h-display { font-weight: 700; font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.05; letter-spacing: -.03em; }
:where(.legacy) .h-section { font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.07; letter-spacing: -.028em; }
:where(.legacy) .h-sub { font-weight: 600; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.15; letter-spacing: -.018em; }
:where(.legacy) .lede { letter-spacing: -.012em; }

:where(.legacy) /* The bar: slim, :where(.legacy) translucent, :where(.legacy) small text, :where(.legacy) links in the middle */
.top-row { height: var(--header); gap: var(--s-5); }
:where(.legacy) .brand img { height: 34px; }
:where(.legacy) .nav { margin-inline: auto; }
:where(.legacy) .nav > a, :where(.legacy) .more-btn { height: 34px; padding: 0 12px; font: 400 .8125rem/1 var(--ui); letter-spacing: -.01em; color: var(--muted); border-radius: 999px; }
:where(.legacy) .nav > a[aria-current="page"], :where(.legacy) .more-btn.current { color: var(--text); }
:where(.legacy) .top-actions { margin-left: 0; }
:where(.legacy) .top-actions .btn { height: 32px; padding: 0 14px; font-size: .8125rem; text-transform: none; letter-spacing: -.01em; }
:where(.legacy) .search-trigger, :where(.legacy) .discord-link, :where(.legacy) .lang-pick { border-radius: 999px; background: transparent; height: 32px; }
:where(.legacy) .search-trigger { width: 32px; padding: 0; justify-content: center; }
:where(.legacy) .discord-link { width: 32px; height: 32px; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .search-trigger:hover, :where(.legacy) .discord-link:hover, :where(.legacy) .lang-pick:hover { background: rgba(255, 255, 255, .08); } }

:where(.legacy) /* Buttons: pills; the primary is gold, :where(.legacy) the second action is a plain link with a chevron */
.btn { border-radius: 999px; text-transform: none; letter-spacing: -.01em; font-weight: 500; }
:where(.legacy) .btn-lg { height: 48px; padding: 0 26px; font-size: 1.0625rem; }
:where(.legacy) .btn-plain { background: transparent; color: var(--gold-strong); padding: 0 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(.legacy) .btn-plain::after { content: "›"; margin-inline-start: 6px; font-size: 1.25em; line-height: 0; transform: translateY(-1px); transition: transform .4s var(--spring); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .btn-plain:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; } :where(.legacy) .btn-plain:hover::after { transform: translate(3px, -1px); } }
:where(.legacy) [dir="rtl"] .btn-plain::after { content: "‹"; }
:where(.legacy) .arrow-link::after { content: "›"; }
:where(.legacy) [dir="rtl"] .arrow-link::after { content: "‹"; }
:where(.legacy) .arrow-link { font-weight: 400; }
:where(.legacy) :lang(he) .btn, :where(.legacy) :lang(ar) .btn { letter-spacing: 0; }

:where(.legacy) .gate { min-height: min(calc(100svh - var(--header) - 40px), 920px); }
:where(.legacy) .gate-logo img { width: min(500px, 74vw); }
:where(.legacy) .gate-tag { font: 600 clamp(1.75rem, 3vw, 3rem)/1.08 var(--display); letter-spacing: -.025em; }
:where(.legacy) .gate .hero-phase-label { font-size: 1.0625rem; color: var(--muted); }
:where(.legacy) .gate .hero-phase-time { font: 600 clamp(2.5rem, 4.6vw, 4rem)/1 var(--display); letter-spacing: -.035em; }
:where(.legacy) .gate .hero-actions { gap: 8px 20px; align-items: center; }
:where(.legacy) .gate-stats .facts { border-radius: var(--radius-lg); overflow: hidden; }
:where(.legacy) .gate-stats .fact dd, :where(.legacy) .gate-stats .fact:first-child dd { font: 600 clamp(1.875rem, 2.8vw, 2.75rem)/1 var(--display); letter-spacing: -.035em; }
:where(.legacy) .gate-stats .fact dt { font-weight: 600; letter-spacing: -.01em; }

:where(.legacy) /* 2-3. Status and the board: rounded tiles, :where(.legacy) one tone step from the page */
.status-row { justify-content: center; text-align: center; }
:where(.legacy) .status-row .live-strip { justify-content: center; }
:where(.legacy) .board-grid { gap: 16px; }
:where(.legacy) .panel { border-radius: var(--radius-lg); padding: clamp(22px, 2.2vw, 34px); }
:where(.legacy) .panel .h-sub { font: 600 clamp(1.25rem, 1.5vw, 1.5rem)/1.15 var(--display); letter-spacing: -.02em; }
:where(.legacy) .panel .empty { border-radius: var(--radius); }
:where(.legacy) .board-part.teaser-section { border-radius: var(--radius-lg); }

:where(.legacy) /* 4. Why: the apple.com promo grid. A centred headline, :where(.legacy) then four tiles, :where(.legacy) each a statement on top and its picture below */
.why { background: var(--bg); color: var(--text); }
:where(.legacy) .why-head { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
:where(.legacy) .why-head .h-section { max-width: 20ch; text-wrap: balance; font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -.03em; }
:where(.legacy) .why .arrow-link { color: var(--gold-strong); }
:where(.legacy) .why .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
:where(.legacy) .why .pillar, :where(.legacy) .why .pillar:nth-child(even) { margin-top: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px) 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
:where(.legacy) .why .pillar .han { order: 1; font-size: 1.5rem; color: var(--gold); }
:where(.legacy) .why .pillar .h-card { order: 2; font: 700 clamp(1.75rem, 2.8vw, 2.5rem)/1.08 var(--display); letter-spacing: -.028em; color: var(--text); }
:where(.legacy) .why .pillar p { order: 3; color: var(--muted); font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); max-width: 30ch; }
:where(.legacy) .why .pillar-img { order: 4; margin: clamp(20px, 3vw, 36px) 0 0; width: calc(100% + 2 * clamp(20px, 3vw, 40px)); max-width: none; aspect-ratio: 16 / 10; border-radius: 0; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .why .pillar-img { transition: transform .9s var(--spring); } :where(.legacy) .why .pillar:hover .pillar-img { transform: scale(1.03); } }

:where(.legacy) /* 6. The close: centred, :where(.legacy) like the last statement on a product page */
.closing::after { background: linear-gradient(180deg, rgba(20, 16, 12, .85) 0%, rgba(20, 16, 12, .45) 45%, rgba(20, 16, 12, .85) 100%); }
:where(.legacy) .closing-inner { justify-items: center; text-align: center; min-height: min(72svh, 720px); }
:where(.legacy) .closing-inner .closing-line { max-width: 14ch; font: 700 clamp(2.75rem, 6.4vw, 5.5rem)/1.04 var(--display); letter-spacing: -.035em; }
:where(.legacy) .closing-inner .lede { text-align: center; color: var(--text); }
:where(.legacy) .closing-inner .hero-actions { justify-content: center; align-items: center; gap: 8px 20px; }
:where(.legacy) .closing .btn-plain { background: transparent; color: var(--gold-strong); }
:where(.legacy) .closing-discord .discord-band { border-radius: var(--radius-lg); }
:where(.legacy) .closing-discord .discord-mark { border-radius: 14px; }
:where(.legacy) .closing-discord .h-sub { font: 600 1.25rem/1.2 var(--display); }

:where(.legacy) /* Footer: small and quiet, :where(.legacy) like apple.com's */
.foot { background: var(--bg-2); color: var(--muted); }
:where(.legacy) .foot-name { display: none; }
:where(.legacy) .foot-grid { padding-block: 40px 24px; }
:where(.legacy) .foot-brand p, :where(.legacy) .foot-col a, :where(.legacy) .foot-legal a { color: var(--faint); font-size: .8125rem; }
:where(.legacy) .foot-col h2 { color: var(--text); font-size: .8125rem; font-weight: 600; }
:where(.legacy) .foot-col { gap: 8px; }
:where(.legacy) .foot-meta { color: var(--faint); font-size: .8125rem; }
:where(.legacy) .foot-meta .han { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .foot-col a:hover, :where(.legacy) .foot-legal a:hover { color: var(--text); text-decoration: underline; } }

:where(.legacy) .rk-group, :where(.legacy) .rk-pill, :where(.legacy) .filter-chip, :where(.legacy) .segmented { border-radius: 999px; }
:where(.legacy) .segmented button { border-radius: 999px; }
:where(.legacy) .input { border-radius: var(--radius-sm); }
:where(.legacy) .char-card, :where(.legacy) .slot, :where(.legacy) .empty, :where(.legacy) .discord-band, :where(.legacy) .features-band { border-radius: var(--radius); }

@media (max-width: 1100px) { :where(.legacy) .why .pillars { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  :where(.legacy) .gate .hero-actions { flex-direction: column; }
  :where(.legacy) .closing-inner .hero-actions .btn-plain, :where(.legacy) .gate .hero-actions .btn-plain { width: auto; }
}

:where(.legacy) /* ================================================================================================
   No neon, :where(.legacy) anywhere (owner, 2026-10-14). Every accent is an earth tone from Palette B: sand gold, :where(.legacy) terracotta, :where(.legacy) olive, :where(.legacy) umber, :where(.legacy) stone. Saturated blue, :where(.legacy) violet, :where(.legacy) mint, :where(.legacy) Discord blurple and glowing orange are gone; categories still differ by hue, :where(.legacy) quietly.
   ================================================================================================ */
:root {
  --red: #b0603e;     /* terracotta: PvP, war, uniques */
  --jade: #8f9466;    /* olive: growth, rates, hunters */
  --lapis: #9a8a74;   /* stone: guilds, mastery, knowledge */
  --violet: #9c6b4a;  /* umber: thieves, rare things */
  --amber: #cfae78;   /* sand: gold, trade */
  --seal: #a5533a;
  --online: #8fa877;
  --danger: #c97f68;
  --silver: #c9bfae;
  --bronze: #b98a5e;
}
:where(.legacy) .emb-eu { --e1: #2b241c; --e2: #16120d; --e3: #b3a690; --e4: #ece3d2; }
:where(.legacy) .emb-guild { --e1: #33221a; --e2: #18100b; --e3: #b0603e; --e4: #f1dccb; }
:where(.legacy) .emb { background: var(--e2); }
:where(.legacy) .chip-eu { color: #d6cab5; border-color: rgba(179, 166, 144, .38); }
:where(.legacy) .chip-seal { color: #ecc9b9; border-color: rgba(176, 96, 62, .45); background: rgba(176, 96, 62, .14); }
:where(.legacy) .chip-on { border-color: rgba(143, 168, 119, .38); }
:where(.legacy) .discord-band, :where(.legacy) .discord-band[dir], :where(.legacy) [dir="rtl"] .discord-band { border: 0; border-radius: var(--radius); background: var(--surface); }
:where(.legacy) .discord-mark { background: var(--surface-2); color: var(--text); }
:where(.legacy) .btn-discord { background: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  :where(.legacy) .btn-discord:hover { background: #fff8ea; }
  :where(.legacy) .discord-link:hover { color: var(--text); border-color: transparent; background: rgba(255, 255, 255, .08); }
}
:where(.legacy) .hero-cap b { color: var(--gold-strong); text-shadow: none; }
:where(.legacy) .cap-extra { background: var(--red); box-shadow: none; }
:where(.legacy) .cap-gem { background: var(--gold-strong); box-shadow: none; }
:where(.legacy) .embers { display: none; }

:where(.legacy) /* ================================================================================================
   Owner, :where(.legacy) 2026-10-14: Chinese characters only in the logo; the four reasons as one row of text, :where(.legacy) no pictures; all type smaller.
   ================================================================================================ */

.han { display: none !important; }
:where(.legacy) .emb i { display: none; }
:where(.legacy) .race { font: 600 .625rem/1 var(--ui); letter-spacing: .02em; width: 24px; }
:where(.legacy) .emb-ch { --e4: #ecdcbc; }

:where(.legacy) /* The four reasons: one row, :where(.legacy) text only (the grid follows the page direction, so Hebrew and Arabic read right to left) */
.why .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:where(.legacy) .why .pillar, :where(.legacy) .why .pillar:nth-child(even) { padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2vw, 28px); justify-content: flex-start; gap: 10px; }
:where(.legacy) .why .pillar-img { display: none; }
:where(.legacy) .why .pillar .h-card { font-size: clamp(1.25rem, 1.7vw, 1.625rem); }
:where(.legacy) .why .pillar p { font-size: .9375rem; }
@media (max-width: 1100px) { :where(.legacy) .why .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { :where(.legacy) .why .pillars { grid-template-columns: minmax(0, 1fr); } }

html { font-size: 93.75%; }
:where(.legacy) .h-display { font-size: clamp(2.125rem, 4.4vw, 3.75rem); }
:where(.legacy) .h-section { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
:where(.legacy) .why-head .h-section { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
:where(.legacy) .h-sub, :where(.legacy) .panel .h-sub { font-size: clamp(1.125rem, 1.3vw, 1.3125rem); }
:where(.legacy) .gate-tag { font-size: clamp(1.5rem, 2.4vw, 2.375rem); }
:where(.legacy) .gate .hero-phase-time { font-size: clamp(2.125rem, 3.6vw, 3.25rem); }
:where(.legacy) .gate-stats .fact dd, :where(.legacy) .gate-stats .fact:first-child dd { font-size: clamp(1.5rem, 2.2vw, 2.125rem); }
:where(.legacy) .gate-logo img { width: min(440px, 70vw); }
:where(.legacy) .closing-inner .closing-line { font-size: clamp(2.375rem, 5vw, 4.25rem); }
:where(.legacy) .lede, :where(.legacy) .closing-inner .lede { font-size: clamp(1rem, 1.1vw, 1.1875rem); }
:where(.legacy) .btn-lg { height: 44px; padding: 0 22px; font-size: 1rem; }
:where(.legacy) .discord-band .h-sub, :where(.legacy) .closing-discord .h-sub { font-size: 1.125rem; }


:where(.legacy) /* Owner, :where(.legacy) 2026-10-14 (fixes 1-3): less empty space before the reasons; the unique list cut to eight; the live status inside the gate */
.board { padding-bottom: clamp(40px, 5vw, 72px); }
:where(.legacy) .why { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px); }
:where(.legacy) .why-head { margin-bottom: clamp(24px, 3vw, 40px); }
:where(.legacy) .p-uniques .tracker li:nth-child(n+9) { display: none; }
:where(.legacy) .gate-stats .status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 12px clamp(16px, 2vw, 28px) 0; }
:where(.legacy) .gate-stats .live-strip { justify-content: flex-start; gap: 8px clamp(20px, 3vw, 40px); }
:where(.legacy) .gate-stats .ls-item { display: flex; align-items: baseline; gap: 8px; }
:where(.legacy) .gate-stats .ls-label { font-size: .8125rem; }
:where(.legacy) .gate-stats .ls-main .ls-value, :where(.legacy) .gate-stats .ls-value { font-size: .9375rem; }
:where(.legacy) .gate-stats .status-row .arrow-link { font-size: .8125rem; }
@media (max-width: 720px) { :where(.legacy) .gate-stats .status-row { justify-content: center; text-align: center; } :where(.legacy) .gate-stats .live-strip { justify-content: center; } }

:where(.legacy) /* Owner, :where(.legacy) 2026-10-14: each server fact is ONE line: the figure, :where(.legacy) what it is, :where(.legacy) then the explanation. Nothing above the line, :where(.legacy) nothing wrapping to a second one. */
.gate-stats .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); padding: clamp(10px, 1.2vw, 16px) clamp(18px, 2.4vw, 36px); }
:where(.legacy) .gate-stats .fact, :where(.legacy) .gate-stats .fact:first-child {
  display: grid; grid-template-columns: 4.5rem 7.5rem minmax(0, 1fr); grid-template-areas: "v l n";
  align-items: baseline; justify-items: start; text-align: start; gap: 0 14px; padding: 7px 0;
}
:where(.legacy) .gate-stats .fact dd, :where(.legacy) .gate-stats .fact:first-child dd { grid-area: v; font: 600 1.25rem/1.2 var(--display); letter-spacing: -.02em; text-align: end; justify-self: end; white-space: nowrap; }
:where(.legacy) .gate-stats .fact dt { grid-area: l; margin: 0; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
:where(.legacy) .gate-stats .fact small { grid-area: n; max-width: none; font-size: .875rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { :where(.legacy) .gate-stats .facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  :where(.legacy) .gate-stats .fact, :where(.legacy) .gate-stats .fact:first-child { grid-template-columns: 3.5rem 6.5rem minmax(0, 1fr); gap: 0 10px; }
  :where(.legacy) .gate-stats .fact small { white-space: normal; font-size: .8125rem; line-height: 1.25; }
}


:where(.legacy) /* The tagline: book calligraphy (owner's choice, 2026-10-14), :where(.legacy) the only line on the site in this face */
.gate-tag { font: italic 500 clamp(2rem, 3.4vw, 3.25rem)/1.1 "Cormorant Garamond", "Playfair Display", Georgia, serif; letter-spacing: 0; text-shadow: 0 2px 18px rgba(20, 16, 12, .6); }
:where(.legacy) :lang(ar) .gate-tag, :where(.legacy) :lang(he) .gate-tag, :where(.legacy) :lang(ja) .gate-tag, :where(.legacy) :lang(zh) .gate-tag, :where(.legacy) :lang(ru) .gate-tag { font-family: var(--display); font-style: normal; font-weight: 500; }
@media (max-width: 720px) { :where(.legacy) .gate-tag { font-size: clamp(1.75rem, 8vw, 2.25rem); } }

:where(.legacy) /* Owner, :where(.legacy) 2026-10-14: the six facts side by side again (number, what it is, one-line explanation), :where(.legacy) as before; the explanation never drops to a second line */
.gate-stats .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0; }
:where(.legacy) .gate-stats .fact, :where(.legacy) .gate-stats .fact:first-child { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "v" "l" "n"; justify-items: center; text-align: center; gap: 2px; padding: clamp(14px, 1.6vw, 22px) 6px; }
:where(.legacy) .gate-stats .fact dd, :where(.legacy) .gate-stats .fact:first-child dd { grid-area: v; justify-self: center; text-align: center; font: 600 clamp(1.5rem, 2.2vw, 2.125rem)/1 var(--display); letter-spacing: -.03em; }
:where(.legacy) .gate-stats .fact dt { grid-area: l; margin-top: 6px; font-size: .9375rem; }
:where(.legacy) .gate-stats .fact small { grid-area: n; max-width: 100%; font-size: clamp(.6875rem, .86vw, .8125rem); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: clip; }
@media (max-width: 1100px) { :where(.legacy) .gate-stats .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } :where(.legacy) .gate-stats .fact small { white-space: normal; text-wrap: balance; } }
@media (max-width: 560px) { :where(.legacy) .gate-stats .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

:where(.legacy) /* Owner, :where(.legacy) 2026-10-14: the server status sits in the middle of the page; the link to the full information stays at the edge */
.gate-stats .status-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px 24px; padding: 14px 0 0; }
:where(.legacy) .gate-stats .status-row .live-strip { grid-column: 2; justify-content: center; flex-wrap: nowrap; white-space: nowrap; }
:where(.legacy) .gate-stats .status-row .arrow-link { grid-column: 3; justify-self: end; white-space: nowrap; }
:where(.legacy) .gate-stats .status-row .ls-item { justify-content: center; }
@media (max-width: 720px) {
  :where(.legacy) .gate-stats .status-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  :where(.legacy) .gate-stats .status-row .live-strip, :where(.legacy) .gate-stats .status-row .arrow-link { grid-column: 1; justify-self: center; white-space: normal; flex-wrap: wrap; }
}

:where(.legacy) /* Header: search and language are icons only, :where(.legacy) at every width (the name of each is in its tooltip and aria-label) */
.search-trigger span, :where(.legacy) .search-trigger kbd { display: none !important; }
:where(.legacy) .search-trigger { width: 32px; padding: 0; justify-content: center; gap: 0; }
:where(.legacy) .lang-pick { width: 32px; height: 32px; justify-content: center; }
:where(.legacy) .lang-pick svg { inset-inline-start: 50%; transform: translateX(-50%); }
:where(.legacy) [dir="rtl"] .lang-pick svg { transform: translateX(50%); }
:where(.legacy) .lang-pick select, :where(.legacy) .hdr-tight .lang-pick select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; color: transparent; opacity: 0; cursor: pointer; }
:where(.legacy) .lang-pick:focus-within { outline: 2px solid var(--gold-strong); outline-offset: 2px; }

:where(.legacy) /* Owner, :where(.legacy) 2026-10-14: the phase bar (Alpha / the game is in development...) gets more room and much smaller type */
.phase-bar { font-size: .75rem; line-height: 1.4; }
:where(.legacy) .phase-row { min-height: 52px; padding-block: 14px; gap: 8px 18px; }
:where(.legacy) .phase-bar .phase-badge { height: 20px; padding: 0 9px; font-size: .6875rem; }
:where(.legacy) .phase-bar .phase-text, :where(.legacy) .phase-bar .phase-count, :where(.legacy) .phase-bar .phase-link { font-size: .75rem; }
:where(.legacy) .phase-bar .phase-count b { font-size: .8125rem; }

:where(.legacy) /* ================================================================================================
   Header like apple.com's global bar (owner, 2026-10-14): a slim 48px bar; the content block is centred with firm edges;
   every item (logo, links, search, language, Discord, sign in, create account) is a direct child of one row spread edge to
   edge, :where(.legacy) so the gap between any two neighbours is exactly the same. Below 1041px, :where(.legacy) or when the row folds, :where(.legacy) the old drawer stays.
   ================================================================================================ */
@media (min-width: 1041px) {
  :root { --header: 48px; }
  .top { background: rgba(20, 16, 12, .8); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
  :root:not(.hdr-fold) .top .top-row { max-width: 1180px; padding-inline: 0; margin-inline: auto; height: var(--header); gap: 0; justify-content: space-between; align-items: center; }
  :root:not(.hdr-fold) .top .nav,
  :root:not(.hdr-fold) .top .top-actions,
  :root:not(.hdr-fold) .top .session-slot,
  :root:not(.hdr-fold) .top .lang-slot { display: contents; }
  :root:not(.hdr-fold) .top .nav > a, :root:not(.hdr-fold) .top .more-btn { padding: 0; height: 32px; border-radius: 0; background: none; font-size: .8125rem; letter-spacing: -.005em; }
  :root:not(.hdr-fold) .top .nav > a:hover, :root:not(.hdr-fold) .top .more-btn:hover { background: none; color: var(--text); }
  :root:not(.hdr-fold) .top .brand img { height: 28px; }
  :root:not(.hdr-fold) .top .top-row > .menu-btn { display: none; }
  .phase-bar + .top, .top { top: 0; }
}
@media (min-width: 1041px) { :root:not(.hdr-fold) :where(.legacy) .top .top-row { max-width: min(1060px, calc(100vw - 32px)); } }
:where(.legacy) @media (min-width: 1041px) {
  :root:not(.hdr-fold) .top .lang-pick, :root:not(.hdr-fold) .top .discord-link { margin-inline-start: -24px; }
}
:where(.legacy) /* Sign in and Create account sit close together as one group, :where(.legacy) too */
@media (min-width: 1041px) {
  :root:not(.hdr-fold) .top .session-slot > * + * { margin-inline-start: -26px; }
}


:where(.legacy) /* Language: alone in the far corner of the bar, :where(.legacy) touching the edge of the screen (owner, 2026-10-14); search stays in the middle group */
@media (min-width: 1041px) {
  :root:not(.hdr-fold) .top .lang-pick { position: absolute; top: 0; inset-inline-end: 0; width: 44px; height: var(--header); margin: 0; padding: 0; border-radius: 0; background: none; }
  :root:not(.hdr-fold) .top .lang-pick svg { inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%); }
  :root[dir="rtl"]:not(.hdr-fold) .top .lang-pick svg { transform: translate(50%, -50%); }
  :root:not(.hdr-fold) .top .discord-link { margin-inline-start: -24px; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1041px) {
  :root:not(.hdr-fold) :where(.legacy) .top .lang-pick:hover { background: rgba(255, 255, 255, .08); }
}
@media (min-width: 1041px) { :root:not(.hdr-fold) :where(.legacy) .top .top-row { max-width: min(920px, calc(100vw - 120px)); } }
:where(.legacy) .gate-tag { font-size: clamp(1.625rem, 2.6vw, 2.5rem); }
@media (max-width: 720px) { :where(.legacy) .gate-tag { font-size: clamp(1.5rem, 6.4vw, 1.875rem); } }


:where(.legacy) /* Closing: as before (headline, line, buttons, then the Discord band as a row), :where(.legacy) the whole group centred on the page both ways */
.closing { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: min(88svh, 880px); padding-block: clamp(48px, 6vw, 96px); }
:where(.legacy) .closing-inner { display: grid; justify-items: center; text-align: center; min-height: 0; padding-block: 0; width: 100%; }
:where(.legacy) .closing-inner .closing-line, :where(.legacy) .closing-inner .lede { margin-inline: auto; text-align: center; }
:where(.legacy) .closing-inner .hero-actions { justify-content: center; }
:where(.legacy) .closing-discord { width: 100%; padding: clamp(32px, 4vw, 56px) var(--gutter) 0; }
:where(.legacy) .closing-discord .discord-band { max-width: 860px; margin-inline: auto; }

:where(.legacy) /* Discord band in Discord's own colours (owner, 2026-10-14: "like Discord"): blurple #5865f2, :where(.legacy) dark panel #2b2d31 */
.closing-discord .discord-band { background: #2b2d31; border: 0; border-left: 0; }
:where(.legacy) .closing-discord .discord-mark { background: #5865f2; color: #fff; }
:where(.legacy) .closing-discord .discord-text p { color: #dbdee1; }
:where(.legacy) .closing-discord .h-sub { color: #fff; }
:where(.legacy) .closing-discord .btn-discord { background: #5865f2; color: #fff; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .closing-discord .btn-discord:hover { background: #4752c4; } }
:where(.legacy) .closing-discord .discord-count, :where(.legacy) .closing-discord .discord-count * { color: #fff; }

:where(.legacy) /* Discord band below the closing picture, :where(.legacy) on the plain page ground (owner's choice 2) */
.closing { min-height: min(78svh, 760px); }
:where(.legacy) .discord-row { background: var(--bg); padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
:where(.legacy) .discord-row .closing-discord { padding: 0 var(--gutter); }


:where(.legacy) .world-band { height: clamp(240px, 34vw, 480px); margin-top: clamp(24px, 4vw, 56px); background: var(--bg-2) url("/assets/art/world-jangan.webp") 50% 45% / cover no-repeat; }
:where(.legacy) .board { padding-bottom: 0; }
:where(.legacy) /* the four reasons: one quiet row, :where(.legacy) no tiles */
.why { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px); }
:where(.legacy) .why .pillars { gap: clamp(20px, 3vw, 48px); }
:where(.legacy) .why .pillar, :where(.legacy) .why .pillar:nth-child(even) { background: none; padding: 0; align-items: flex-start; text-align: start; border-radius: 0; gap: 6px; }
:where(.legacy) .why .pillar .h-card { font-size: 1.125rem; letter-spacing: -.01em; }
:where(.legacy) .why .pillar p { font-size: .9375rem; max-width: 30ch; }
:where(.legacy) .why-head { margin-bottom: clamp(20px, 3vw, 36px); }
:where(.legacy) .board-grid { align-items: stretch; }
:where(.legacy) .panel { align-self: stretch; }
@media (max-width: 720px) {
  :where(.legacy) .p-uniques, :where(.legacy) .p-events { display: none; }
  :where(.legacy) .gate .hero-actions .btn-plain { width: auto; align-self: center; }
  :where(.legacy) .world-band { height: 200px; }
  :where(.legacy) .why .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

:where(.legacy) /* ================================================================================================
   Rankings (2026-10-14): a centred column instead of an edge-to-edge table, :where(.legacy) filled tiles instead of outlines, :where(.legacy) rows
   separated by tone and space (no hairlines), :where(.legacy) the podium as three filled tiles, :where(.legacy) chips as flat pills, :where(.legacy) a quieter hero.
   ================================================================================================ */
.rk .shell, :where(.legacy) .rk-stage .shell, :where(.legacy) .rk-nav .shell { max-width: 1120px; }
:where(.legacy) .rk-hero { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 36px); }
:where(.legacy) .rk-hero::before { display: none; }
:where(.legacy) .rk-hero-art img { opacity: .55; }
:where(.legacy) .rk-hero-art::after { background: linear-gradient(90deg, rgba(20, 16, 12, .92) 0%, rgba(20, 16, 12, .6) 45%, rgba(20, 16, 12, .2) 100%), linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
:where(.legacy) .rk-hero .h-display, :where(.legacy) .rk-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
:where(.legacy) .rk-sum + .rk-sum { border-left: 0; padding-left: 28px; }
:where(.legacy) .rk-sum dt { text-transform: none; letter-spacing: 0; font-size: .8125rem; color: var(--muted); }
:where(.legacy) .rk-sum dd { font: 600 1.375rem/1.2 var(--display); letter-spacing: -.02em; }

:where(.legacy) .rk-nav { background: rgba(20, 16, 12, .8); border: 0; box-shadow: none; }
:where(.legacy) .rk-group, :where(.legacy) .rk-pill { border-color: transparent !important; border-radius: 999px; }
:where(.legacy) .rk-group[aria-current] { background: var(--gold); color: #17120a; }
:where(.legacy) .rk-pill[aria-current] { background: var(--surface-2); color: var(--text); }
:where(.legacy) .rk-nav .btn { height: 34px; }

:where(.legacy) .rk-title-ic { border: 0; background: var(--surface-2); }
:where(.legacy) .rk-title .h-section, :where(.legacy) .rk-stage .h-section { font-size: clamp(1.5rem, 2.4vw, 2rem); }
:where(.legacy) .rk-caption { color: var(--muted); }
:where(.legacy) .rk-period { border: 0; border-radius: var(--radius-lg); background: var(--surface); }
:where(.legacy) .rk-meter i { background: var(--gold); }

:where(.legacy) /* podium: three filled tiles, :where(.legacy) the winner raised */
.podium { gap: 12px; margin: 8px 0 24px; }
:where(.legacy) .pod { border: 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: none; overflow: hidden; }
:where(.legacy) .pod:focus-within { border: 0; outline: 2px solid var(--gold-strong); outline-offset: -2px; }
:where(.legacy) .pod-gold { background: var(--surface-2); }
:where(.legacy) .pod-step { background: rgba(255, 255, 255, .04); border: 0; }
:where(.legacy) .pod .rk-val b { font-family: var(--display); letter-spacing: -.03em; }
:where(.legacy) .pod-name { font: 600 1.25rem/1.15 var(--display); letter-spacing: -.02em; }
:where(.legacy) .pod.is-mine, :where(.legacy) .rk-row.is-mine, :where(.legacy) .rk-card.is-mine { box-shadow: none; outline: 2px solid var(--gold); outline-offset: -2px; }

:where(.legacy) /* rows: tonal, :where(.legacy) rounded, :where(.legacy) no lines */
.rk-list { border: 0; gap: 3px; }
:where(.legacy) .rk-row { border: 0; border-radius: var(--radius); background: var(--surface); padding: 12px 18px 12px 10px; transition: background-color .15s ease; }
:where(.legacy) .rk-row::before { display: none; }
:where(.legacy) .rk-row:nth-child(odd) { background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .rk-row:hover, :where(.legacy) .rk-row:focus-within { background: var(--surface-2); } }
:where(.legacy) .rk-rank { font: 600 .9375rem/1 var(--ui); color: var(--muted); }
:where(.legacy) .rk-val b, :where(.legacy) .rk-row .rk-val b { font: 600 1.375rem/1 var(--display); letter-spacing: -.02em; }
:where(.legacy) .rk-val small { text-transform: none; letter-spacing: 0; font-size: .75rem; color: var(--muted); }

:where(.legacy) .chip { height: 22px; border: 0; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: .75rem; letter-spacing: 0; text-transform: none; }
:where(.legacy) .chip-ch { background: rgba(207, 174, 120, .16); color: var(--gold-strong); }
:where(.legacy) .chip-eu { background: rgba(179, 166, 144, .16); color: #d6cab5; }
:where(.legacy) .chip-tier { background: rgba(207, 174, 120, .16); color: var(--gold-strong); }
:where(.legacy) .chip-seal { background: rgba(176, 96, 62, .2); color: #ecc9b9; }
:where(.legacy) .chip-on { background: rgba(143, 168, 119, .16); color: var(--online); }
:where(.legacy) .chip-you { background: var(--gold); color: #17120a; }
:where(.legacy) .rk-guild { font-size: .8125rem; }

:where(.legacy) .rk-card { border: 0; border-radius: var(--radius-lg); background: var(--surface); }
:where(.legacy) .rk-empty { border: 0; border-radius: var(--radius-lg); background: var(--surface); }
@media (max-width: 720px) { :where(.legacy) .rk .shell, :where(.legacy) .rk-stage .shell, :where(.legacy) .rk-nav .shell { max-width: none; } :where(.legacy) .rk-row { padding: 10px 12px 10px 6px; } }

:where(.legacy) /* rankings: small labels in sentence case, :where(.legacy) filled instead of dashed */
.rk-stats dt, :where(.legacy) .rk-val small, :where(.legacy) .rk-facts dt, :where(.legacy) .fort-count small, :where(.legacy) .place-tag { text-transform: none; letter-spacing: 0; font-size: .75rem; color: var(--muted); }
:where(.legacy) .place { border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
:where(.legacy) .place.is-hidden { border: 0; background: rgba(255, 255, 255, .03); }
:where(.legacy) .place-tag { font-weight: 500; }
:where(.legacy) .rk-empty { border: 0; background: var(--surface); }

:where(.legacy) .page-head .eyebrow:not(:has(a)):not(:has(.dot)), :where(.legacy) .rk-hero .eyebrow, :where(.legacy) .rk-title .eyebrow, :where(.legacy) .banner .eyebrow:not(:has(a)):not(:has(.dot)) { display: none; }
:root { --muted: #e0d6c1; --faint: #b5a98f; }
:where(.legacy) /* no outlines, :where(.legacy) lines or gradients on the inner pages' boxes */
.facts { background: var(--surface); border: 0; border-radius: var(--radius-lg); }
:where(.legacy) .feature, :where(.legacy) .feature-chapter, :where(.legacy) .info-group, :where(.legacy) .teaser-card, :where(.legacy) .phase-step, :where(.legacy) .cm-card, :where(.legacy) .db-row, :where(.legacy) .gallery-item { border: 0; border-top: 0; border-radius: var(--radius-lg); background: var(--surface); }
:where(.legacy) .feature::before, :where(.legacy) .feature-chapter::before { display: none; }
:where(.legacy) .info-table > div, :where(.legacy) .info-group dl > div, :where(.legacy) .dl-steps li, :where(.legacy) .download li { border: 0; }
:where(.legacy) .info-table > div:nth-child(odd) { background: rgba(255, 255, 255, .03); }
:where(.legacy) .info-group .h-sub { border: 0; }
:where(.legacy) .feature-status { text-transform: none; letter-spacing: 0; font-size: .8125rem; padding: 3px 10px; border-radius: 999px; }
:where(.legacy) .feature[data-status="building"] .feature-status { color: #ecc9b9; background: rgba(176, 96, 62, .22); }
:where(.legacy) .features-note, :where(.legacy) .feature p, :where(.legacy) .lede { max-width: 70ch; }
:where(.legacy) /* inputs: a clear focus ring that is an outline, :where(.legacy) not a glow */
.input:focus { box-shadow: none; outline: 2px solid var(--gold-strong); outline-offset: 1px; border-color: transparent; }
:where(.legacy) .btn, :where(.legacy) .btn-primary, :where(.legacy) .btn-lg, :where(.legacy) .btn-discord { box-shadow: none; }
:where(.legacy) @media (max-width: 900px) {
  .rk-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .rk-row .rk-stats { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; gap: 4px 18px; }
}

:where(.legacy) #info-body .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 8px; }
:where(.legacy) #info-body .fact, :where(.legacy) #info-body .fact:first-child { display: grid; grid-template-areas: "v" "l" "n"; justify-items: start; gap: 2px; padding: 20px 22px; background: none; border: 0; }
:where(.legacy) #info-body .fact dd, :where(.legacy) #info-body .fact:first-child dd { grid-area: v; font: 600 2rem/1.1 var(--display); letter-spacing: -.03em; color: var(--text); }
:where(.legacy) #info-body .fact dt { grid-area: l; font-size: .9375rem; font-weight: 600; color: var(--text); text-transform: none; letter-spacing: 0; }
:where(.legacy) #info-body .fact small { grid-area: n; font-size: .8125rem; color: var(--muted); }
@media (max-width: 720px) { :where(.legacy) #info-body .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:where(.legacy) .feature-section .eyebrow, :where(.legacy) .auth .eyebrow:not(:has(a)) { display: none; }
:where(.legacy) .feature-chapter strong, :where(.legacy) .feature-chapter small { color: var(--text); }
:where(.legacy) .feature-chapter small { color: var(--muted); }
:where(.legacy) .db-head, :where(.legacy) .db-list li, :where(.legacy) .db-row, :where(.legacy) .db-table th, :where(.legacy) .db-table td { border: 0; }
:where(.legacy) .db-head div, :where(.legacy) .db-table th { text-transform: none; letter-spacing: 0; font-size: .8125rem; color: var(--muted); }
:where(.legacy) .db-kinds a, :where(.legacy) .db-kinds a[aria-current], :where(.legacy) .db-search button, :where(.legacy) .db-search .btn { box-shadow: none; }
:where(.legacy) .db-list li:nth-child(odd) { background: rgba(255, 255, 255, .03); }
:where(.legacy) #info-body .fact::before, :where(.legacy) #info-body .fact::after, :where(.legacy) .fact::after { display: none !important; }
:where(.legacy) .info-group { padding: clamp(18px, 2vw, 28px); overflow: hidden; }
:where(.legacy) .info-group .h-sub { margin-bottom: 12px; }
:where(.legacy) .info-table { border-radius: var(--radius); overflow: hidden; }
:where(.legacy) .info-table > div { padding: 10px 14px; }


:where(.legacy) .h-display { font-size: clamp(2.25rem, 5.6vw, 3.75rem); }
:where(.legacy) /* podium: the figure is the focal point; the pills sit under it, :where(.legacy) not above it */
.pod { grid-auto-flow: row; }
:where(.legacy) .pod .rk-meta { order: 6; margin-top: 4px; }
:where(.legacy) .pod .rk-val { order: 4; }
:where(.legacy) .pod-step { order: 8; }
:where(.legacy) .feature-chapters { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.legacy) .feature-chapter { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface-2); }
:where(.legacy) .feature-chapter small { display: none; }
:where(.legacy) .feature-chapter strong { font: 500 .9375rem/1 var(--ui); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .feature-chapter:hover { background: var(--surface-3); } }
:where(.legacy) .feature-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
:where(.legacy) .feature { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr) auto; align-items: baseline; gap: 4px 28px; padding: 16px 20px; border-radius: var(--radius); background: transparent; }
:where(.legacy) .feature:nth-child(odd) { background: var(--surface); }
:where(.legacy) .feature h3 { font: 600 1.0625rem/1.25 var(--ui); }
:where(.legacy) .feature p { margin: 0; }
:where(.legacy) .feature-status { justify-self: end; margin: 0; }
@media (max-width: 720px) { :where(.legacy) .feature { grid-template-columns: minmax(0, 1fr); } :where(.legacy) .feature-status { justify-self: start; } }
:where(.legacy) .pod .chip-ch, :where(.legacy) .pod .chip-eu { display: none; }
:where(.legacy) .db-head, :where(.legacy) .db-head *, :where(.legacy) .db-table thead *, :where(.legacy) .db-cols * { text-transform: none; letter-spacing: 0; }
:where(.legacy) .info-group p, :where(.legacy) .features-note, :where(.legacy) .block p, :where(.legacy) .section p { max-width: 72ch; }
:where(.legacy) /* download and beta pages: the countdown box and the step list are filled, :where(.legacy) not outlined or ruled */
.beta-count, :where(.legacy) .download-count { border: 0; border-radius: var(--radius-lg); background: rgba(20, 16, 12, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:where(.legacy) .beta-count span, :where(.legacy) .download-count span { text-transform: none; letter-spacing: 0; font-size: .9375rem; color: var(--muted); }
:where(.legacy) .download ol li, :where(.legacy) .steps li, :where(.legacy) #view ol > li, :where(.legacy) .dl-steps > li { border-top: 0; }
:where(.legacy) .download ol li, :where(.legacy) .steps li, :where(.legacy) .dl-steps > li { padding-top: 0; }
:where(.legacy) .map-card { background: var(--surface); }

:where(.legacy) /* one content column on every inner page, :where(.legacy) matching the rankings (the home page keeps its wide board) */
.view:not(:has(.gate)) .shell { max-width: 1120px; }
:where(.legacy) .view:not(:has(.gate)) .banner .shell, :where(.legacy) .view:not(:has(.gate)) .page-head { max-width: 1120px; }
:where(.legacy) .view:not(:has(.gate)) .auth ~ * .shell { max-width: none; }
:where(.legacy) .step-no, :where(.legacy) .steps .num, :where(.legacy) .phase-step b:first-child, :where(.legacy) [class*="step"] > .num, :where(.legacy) .start-step .n { border: 0; background: var(--surface-2); }
:where(.legacy) .start-steps li > span:first-child, :where(.legacy) .step > span:first-child { border: 0; background: var(--surface-2); }
@media (max-width: 560px) { :where(.legacy) .pod-name { font-size: 1.0625rem; overflow-wrap: anywhere; } }

:where(.legacy) .more-menu { width: 330px; max-height: calc(100svh - 100px); overflow-y: auto; }
:where(.legacy) .user-menu .more-menu { left: auto; right: 0; width: 300px; }
:where(.legacy) [dir="rtl"] .user-menu .more-menu { right: auto; left: 0; }
:where(.legacy) .user-btn { gap: 8px; }
@media (min-width: 1041px) {
  :root:not(.hdr-fold) :where(.legacy) .top .user-btn { padding: 0 14px; height: 32px; border-radius: 999px; background: var(--surface-2); }
  :root:not(.hdr-fold) :where(.legacy) .top .user-menu { margin-inline-start: -26px; }
}
:where(.legacy) .nav-key { font-weight: 500; color: var(--text); }
@media (min-width: 1041px) {
  :root:not(.hdr-fold) :where(.legacy) .top .top-row { max-width: min(1240px, calc(100vw - 100px)); }
  :root:not(.hdr-fold) :where(.legacy) .top .lang-pick, :root:not(.hdr-fold) :where(.legacy) .top .discord-link { margin-inline-start: -14px; }
  :root:not(.hdr-fold) :where(.legacy) .top .session-slot > * + * { margin-inline-start: -14px; }
  :root:not(.hdr-fold) :where(.legacy) .top .user-menu { margin-inline-start: -14px; }
}


:where(.legacy) .foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
@media (max-width: 1040px) { :where(.legacy) .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } :where(.legacy) .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { :where(.legacy) .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:where(.legacy) .foot-col { gap: 8px; }

:where(.legacy) /* the newer tool pages share .block sections: room between them, :where(.legacy) a clear title, :where(.legacy) readable hints */
.view .block { margin-top: clamp(36px, 4.5vw, 64px); }
:where(.legacy) .view .block > h2, :where(.legacy) .view .block > .h-sub { font: 600 1.25rem/1.2 var(--ui); letter-spacing: -.015em; text-transform: none; margin: 0 0 6px; color: var(--text); }
:where(.legacy) .view .block > .hint, :where(.legacy) .view .block > p.muted { max-width: 70ch; margin: 0 0 18px; color: var(--muted); }
:where(.legacy) .view .block > .empty, :where(.legacy) .view .block .empty { margin-top: 10px; }

:where(.legacy) /* tables: tonal rows instead of rules, :where(.legacy) rounded as a whole */
.table-wrap { border-radius: var(--radius-lg); }
:where(.legacy) table th, :where(.legacy) table td { border: 0; }
:where(.legacy) table thead th { color: var(--muted); font-weight: 500; font-size: .8125rem; letter-spacing: 0; text-transform: none; padding-block: 12px; }
:where(.legacy) table tbody tr:nth-child(odd) { background: var(--surface); }
:where(.legacy) table tbody tr:nth-child(even) { background: transparent; }
:where(.legacy) table tbody td:first-child, :where(.legacy) table thead th:first-child { padding-inline-start: 16px; }
:where(.legacy) table tbody td:last-child, :where(.legacy) table thead th:last-child { padding-inline-end: 16px; }
:where(.legacy) table tbody tr:first-child td:first-child { border-start-start-radius: var(--radius); }
:where(.legacy) table tbody tr:first-child td:last-child { border-start-end-radius: var(--radius); }
:where(.legacy) table tbody tr:last-child td:first-child { border-end-start-radius: var(--radius); }
:where(.legacy) table tbody tr:last-child td:last-child { border-end-end-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) table tbody tr:hover { background: var(--surface-2); } }
:where(.legacy) .mk-mult { font-variant-numeric: tabular-nums; }
:where(.legacy) /* empty states: a compact tonal box, :where(.legacy) not a tall void */
.empty { display: grid; gap: 4px; padding: 18px 22px; min-height: 0; background: var(--surface); border: 0; border-radius: var(--radius-lg); }
:where(.legacy) .view .block { margin-top: clamp(28px, 3.5vw, 48px); }
:where(.legacy) .view .block > h2 { margin-bottom: 12px; }


:where(.legacy) @media (max-width: 1040px) {
  .nav .nav-key { display: block; padding: 16px 20px; font-size: 1.1875rem; font-weight: 500; height: auto; color: var(--text); }
  .nav .more-btn { display: flex; width: 100%; height: auto; padding: 22px 20px 6px; font: 600 .8125rem/1 var(--ui); color: var(--faint); pointer-events: none; background: none; }
  .nav .more-btn svg { display: none; }
}
:root.hdr-fold :where(.legacy) .nav .nav-key { display: block; padding: 16px 20px; font-size: 1.1875rem; font-weight: 500; height: auto; color: var(--text); }
:root.hdr-fold :where(.legacy) .nav .more-btn { display: flex; width: 100%; height: auto; padding: 22px 20px 6px; font: 600 .8125rem/1 var(--ui); color: var(--faint); pointer-events: none; background: none; }
:root.hdr-fold :where(.legacy) .nav .more-btn svg { display: none; }

:where(.legacy) /* newer pages: filled boxes instead of dashed or ruled ones, :where(.legacy) no gradient fills, :where(.legacy) no glow frames, :where(.legacy) sentence-case labels */
.bx-locked, :where(.legacy) .lh-plinth, :where(.legacy) .lh-plinth.taken { border: 0; border-radius: var(--radius-lg); background: var(--surface); }
:where(.legacy) .lh-plinth.taken { background: var(--surface-2); }
:where(.legacy) .lh-name, :where(.legacy) .bp-name, :where(.legacy) .gold-frame, :where(.legacy) a.lh-name.bp-name, :where(.legacy) a.bp-name.gold-frame { box-shadow: none; background-image: none; }
:where(.legacy) .bp-stat { border-bottom: 0; }
:where(.legacy) .bp-stat small, :where(.legacy) .ex-stat small, :where(.legacy) [class*="-stat"] small { text-transform: none; letter-spacing: 0; font-size: .8125rem; color: var(--muted); }
:where(.legacy) .view li > a:not(.btn) { border-bottom: 0; }
:where(.legacy) .kv dd { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 10px; text-align: right; }
:where(.legacy) .wh-tools { margin-top: clamp(24px, 3vw, 40px); }


:where(.legacy) /* The signed-in name: a window with the profile, :where(.legacy) the personal pages and sign out; it opens when you point at the name and when you click it */
.more-menu { width: 330px; max-height: calc(100svh - 100px); overflow-y: auto; }
:where(.legacy) .user-menu .more-menu { left: auto; right: 0; width: 320px; }
:where(.legacy) [dir="rtl"] .user-menu .more-menu { right: auto; left: 0; }
:where(.legacy) .user-menu { position: relative; }
:where(.legacy) .user-menu::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 14px; }
:where(.legacy) .user-btn { gap: 8px; }
:where(.legacy) .user-signout { display: block; width: 100%; margin-top: 6px; padding: 12px 12px; text-align: start; background: none; border: 0; border-top: 0; color: var(--gold-strong); font: 500 .9375rem/1 var(--ui); cursor: pointer; border-radius: var(--radius-sm); }
@media (hover: hover) and (pointer: fine) {
  :where(.legacy) .user-signout:hover { background: rgba(255, 255, 255, .05); }
  :where(.legacy) .user-menu:hover .more-menu { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .16s var(--ease-out), transform .16s var(--ease-out), visibility 0s; }
  :where(.legacy) .user-menu:hover .more-btn svg:last-child { transform: rotate(180deg); }
}
@media (min-width: 1041px) {
  :root:not(.hdr-fold) :where(.legacy) .top .user-btn { padding: 0 14px; height: 32px; border-radius: 999px; background: var(--surface-2); }
  :root:not(.hdr-fold) :where(.legacy) .top .user-menu { margin-inline-start: 0; }
}
@media (max-width: 1040px) { :where(.legacy) .nav .user-menu { display: none; } :where(.legacy) .user-menu .more-menu { position: absolute; } }
:where(.legacy) .user-menu::after { left: 0; right: 0; }


:where(.legacy) /* the profile: titles and numbers, :where(.legacy) not paragraphs */
.account-grid .block > p.muted:not(.ref-count), :where(.legacy) .account-grid .block > .hint, :where(.legacy) .account-grid .wh-links span, :where(.legacy) .account-grid .ref-block > p.muted { display: none; }

:where(.legacy) .acc-tabs { display: flex; gap: 6px; margin: 0 0 8px; }
:where(.legacy) .acc-tabs button { font: 500 .9375rem/1 var(--ui); padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
:where(.legacy) .acc-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
:where(.legacy) .account-grid[data-acc-tab="overview"] .block:not([data-acc-tab="overview"]), :where(.legacy) .account-grid[data-acc-tab="rewards"] .block:not([data-acc-tab="rewards"]), :where(.legacy) .account-grid[data-acc-tab="security"] .block:not([data-acc-tab="security"]) { display: none; }
:where(.legacy) .account-grid .block { margin-top: 28px; } :where(.legacy) .account-grid > div > .block:first-child { margin-top: 12px; }

:where(.legacy) /* Balance: five quiet tiles, :where(.legacy) label above, :where(.legacy) number below */
.account-grid .balances { gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
:where(.legacy) .account-grid .balances-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
:where(.legacy) .account-grid .balances div, :where(.legacy) .account-grid .balances div + div { padding: 14px 16px; border: 0; border-radius: var(--radius); background: var(--surface); gap: 8px; }
:where(.legacy) .account-grid .balances dt { font: 500 .75rem/1 var(--ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
:where(.legacy) .account-grid .balances dd { font: 600 1.375rem/1 var(--ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
:where(.legacy) .account-grid .balances-coins dd { color: var(--gold-strong); }
@media (max-width: 560px) { :where(.legacy) .account-grid .balances { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

:where(.legacy) /* the name's window on a phone: a sheet under the header, :where(.legacy) fully on screen */
@media (max-width: 1040px) {
  .user-menu .more-menu { position: fixed; top: 64px; right: 12px; left: auto; width: min(320px, calc(100vw - 24px)); max-height: calc(100svh - 80px); }
  [dir="rtl"] .user-menu .more-menu { right: auto; left: 12px; }
}

:where(.legacy) /* Balance as one small list, :where(.legacy) top to bottom: name on the left, :where(.legacy) number on the right */
.account-grid .balances, :where(.legacy) .account-grid .balances-coins { display: block; margin: 0; }
:where(.legacy) .account-grid .balances-coins { margin-top: 0; }
:where(.legacy) .account-grid .balances div, :where(.legacy) .account-grid .balances div + div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); gap: 12px; }
:where(.legacy) .account-grid .balances-coins div:last-child { border-bottom: 0; }
:where(.legacy) .account-grid .balances dt { font: 400 .875rem/1.2 var(--ui); color: var(--muted); }
:where(.legacy) .account-grid .balances dd { font: 500 .9375rem/1.2 var(--ui); }
@media (max-width: 560px) { :where(.legacy) .account-grid .balances { display: block; } }

:where(.legacy) .att-cal:not(.att-all) .att-far { display: none; }
:where(.legacy) .att-more { padding-left: 0; margin-top: 8px; }
:where(.legacy) .account-grid .box-card > h3 { cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 12px 0; font-size: 1rem; }
:where(.legacy) .account-grid .box-card > h3::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .16s var(--ease-out); opacity: .6; }
:where(.legacy) .account-grid .box-card.open > h3::after { transform: rotate(-135deg); }
:where(.legacy) .account-grid .box-card > ul { display: none; }
:where(.legacy) .account-grid .box-card.open > ul { display: block; margin-bottom: 8px; }
:where(.legacy) .account-grid .att-more { display: inline-block; margin-top: 12px; padding: 0; height: auto; min-height: 0; background: none; border: 0; box-shadow: none; border-radius: 0; color: var(--gold-strong); font: 500 .875rem/1.2 var(--ui); }
:where(.legacy) .account-grid .att-more::after { content: " ›"; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .account-grid .att-more:hover { background: none; text-decoration: underline; text-underline-offset: 3px; } }

:where(.legacy) .ref-reward { display: grid; gap: 8px; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius); background: rgba(207, 174, 120, .12); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .35); }
:where(.legacy) .ref-reward b { font: 600 .75rem/1 var(--ui); color: var(--gold-strong); letter-spacing: .04em; text-transform: uppercase; }
:where(.legacy) .ref-reward ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
:where(.legacy) .ref-reward li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: .9375rem; }
:where(.legacy) .ref-reward .ref-amount { font: 600 1.25rem/1 var(--ui); color: var(--text); font-variant-numeric: tabular-nums; }
:where(.legacy) .ref-reward > span { color: var(--muted); font-size: .9375rem; }

:where(.legacy) @media (min-width: 900px) {
  .account-grid[data-acc-tab="security"], .account-grid[data-acc-tab="rewards"] { display: block; column-count: 2; column-gap: clamp(24px, 3vw, 48px); }
  .account-grid[data-acc-tab="security"] > div, .account-grid[data-acc-tab="rewards"] > div { display: contents; }
  .account-grid[data-acc-tab="security"] .block, .account-grid[data-acc-tab="rewards"] .block { break-inside: avoid; margin-top: 0; margin-bottom: 28px; }
}

:where(.legacy) .account-grid[data-acc-tab="rewards"] { display: block; column-count: auto; max-width: 760px; }
:where(.legacy) .account-grid[data-acc-tab="rewards"] > div { display: contents; }
:where(.legacy) .account-grid[data-acc-tab="rewards"] .block { margin: 0 0 56px; padding-bottom: 0; }
:where(.legacy) .account-grid[data-acc-tab="rewards"] .block > h2 { margin-bottom: 16px; }

:where(.legacy) @media (min-width: 900px) {
  .view .shell > .block > .ref-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
  .view .shell > .block > .ref-steps li { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); }
}
:where(.legacy) .bx-page .bx-bonus + .muted, :where(.legacy) .bx-page .bx-cap { display: none; }

:where(.legacy) /* bestiary with a character: five small family cards in one row, :where(.legacy) the bonuses above the monster list */
@media (min-width: 900px) { .bx-page .bx-families { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
:where(.legacy) .bx-page .bx-family { padding: 14px 16px; gap: 8px; }
:where(.legacy) .bx-page .bx-family > small.muted { display: none; }
:where(.legacy) .bx-page .account-grid { display: flex; flex-direction: column-reverse; gap: 8px; }

:where(.legacy) /* legendary items: the artifact across the top, :where(.legacy) the others in a row under it */
.legend-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { :where(.legacy) .legend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } :where(.legacy) .legend-grid .is-artifact { grid-column: 1 / -1; } }
:where(.legacy) .legend-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: none; }
:where(.legacy) .legend-card.is-artifact { background: rgba(207, 174, 120, .1); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .3); }
:where(.legacy) .legend-card .eyebrow { margin: 0 0 6px; }
:where(.legacy) .legend-card h3 { margin: 0; font: 600 1.25rem/1.2 var(--ui); letter-spacing: -.015em; color: var(--text); }
:where(.legacy) .legend-card .legend-power { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; flex: 1; }
:where(.legacy) .legend-card .legend-holder { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text); }
:where(.legacy) .legend-grid + p, :where(.legacy) .legend-grid + .muted { margin-top: 22px; }

:where(.legacy) .acc-tabs a { font: 500 .9375rem/1 var(--ui); padding: 10px 18px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
:where(.legacy) .acc-tabs a[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
:where(.legacy) .hub-tabs { flex-wrap: wrap; margin: 0 0 24px; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .acc-tabs a:hover { color: var(--text); } }

:where(.legacy) /* bestiary family cards: the name always on its own line, :where(.legacy) the "Complete" mark on the line below, :where(.legacy) so every card lines up */
.bx-page .bx-family-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 52px; }
:where(.legacy) .bx-page .bx-family-head .pill, :where(.legacy) .bx-page .bx-family-head .seal-badge { font-size: .75rem; padding: 3px 10px; line-height: 1.2; }
:where(.legacy) .bx-page .bx-family { display: flex; flex-direction: column; }
:where(.legacy) .bx-page .bx-family .bar { margin-top: auto; }

:where(.legacy) /* dungeons: one card per dungeon, :where(.legacy) the difficulty chosen with small buttons */
.dg-diffs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
:where(.legacy) .dg-diffs .dg-tier { border: 0; cursor: pointer; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font: 500 .8125rem/1 var(--ui); }
:where(.legacy) .dg-diffs .dg-tier[aria-pressed="true"] { background: rgba(207, 174, 120, .2); color: var(--text); }
:where(.legacy) .dg-board > h3 { margin: 0 0 6px; }
:where(.legacy) .dg-list[hidden] { display: none; }
:where(.legacy) .dg-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { :where(.legacy) .dg-boards { grid-template-columns: minmax(0, 1fr); } }
:where(.legacy) .dg-diffs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
:where(.legacy) .dg-diffs .dg-tier { white-space: nowrap; }

:where(.legacy) .hub-tabs { gap: 28px; padding: 0 0 0; border-bottom: 1px solid var(--line); margin: 0 0 32px; }
:where(.legacy) .hub-tabs a { padding: 12px 0; border-radius: 0; background: none; font-size: 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
:where(.legacy) .hub-tabs a[aria-selected="true"] { background: none; color: var(--text); border-bottom-color: var(--gold-strong); }

:where(.legacy) .auto-tabs { margin: 0 0 28px; flex-wrap: wrap; }
:where(.legacy) .view section.block[hidden] { display: none; }

:where(.legacy) /* Home status: a tidy row of equal columns, :where(.legacy) the small label over its value, :where(.legacy) the link to the full information underneath */
.gate-stats .status-row { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; }
:where(.legacy) .gate-stats .status-row .live-strip { grid-column: 1; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 28px; flex-wrap: wrap; white-space: normal; justify-content: stretch; }
:where(.legacy) .gate-stats .status-row .ls-item { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
:where(.legacy) .gate-stats .status-row .ls-label { font-size: .75rem; letter-spacing: .02em; }
:where(.legacy) .gate-stats .status-row .ls-value { font-size: .9375rem; line-height: 1.35; display: grid; justify-items: center; gap: 2px; }
:where(.legacy) .gate-stats .status-row .ls-value small { font-size: .75rem; color: var(--muted); }
:where(.legacy) .gate-stats .status-row .arrow-link { grid-column: 1; justify-self: center; }
:where(.legacy) .gate-stats .status-row .ls-main .ls-value { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }

:where(.legacy) /* Home boards: three equal columns, :where(.legacy) two rows, :where(.legacy) every card the same size in its row */
@media (min-width: 1041px) {
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "uniques news players" "feed kings events"; grid-auto-rows: 1fr; }
}

:where(.legacy) /* Home boards, :where(.legacy) the simple way: three cards in one row (news, top players, coming up); the rest lives on its own pages */
@media (min-width: 1041px) {
  .board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: none; gap: 20px; align-items: stretch; grid-auto-rows: auto; }
  .board-grid > .board-part { display: contents; }
  .board-grid #home-players-split { display: contents; }
  .board-grid .p-uniques, .board-grid .p-kings, .board-grid .p-feed { display: none; }
  .board-grid .p-news { grid-column: 1; grid-row: 1; }
  .board-grid .p-players { grid-column: 2; grid-row: 1; }
  .board-grid .p-events { grid-column: 3; grid-row: 1; }
  .board-grid .panel { height: 100%; }
}
@media (max-width: 1040px) { :where(.legacy) .board-grid .p-uniques, :where(.legacy) .board-grid .p-kings, :where(.legacy) .board-grid .p-feed { display: none; } }

:where(.legacy) .board { padding-block: clamp(56px, 7vw, 104px); }
:where(.legacy) .board-grid { gap: clamp(24px, 2.4vw, 36px) !important; }
:where(.legacy) .panel { padding: clamp(24px, 2.2vw, 34px); }
:where(.legacy) .panel-head { margin-bottom: 20px; }
:where(.legacy) .news-list > li, :where(.legacy) .news-compact > li { padding-block: 14px; }
:where(.legacy) .ladder > li { padding-block: 12px; }
:where(.legacy) .gate-stats { padding-block: clamp(28px, 3vw, 44px); }
:where(.legacy) .gate-stats .status-row { padding-top: 28px; gap: 20px; }
:where(.legacy) .gate-stats .status-row .live-strip { gap: 24px 40px; }
:where(.legacy) .why, :where(.legacy) .closing, :where(.legacy) .world-band + * { --gap-extra: 0; }
:where(.legacy) .why { padding-block: clamp(72px, 9vw, 128px); }
:where(.legacy) .view .block { margin-top: clamp(48px, 5.5vw, 80px); }
:where(.legacy) .view .page-head { padding-bottom: clamp(24px, 3vw, 40px); }
:where(.legacy) table th, :where(.legacy) table td { padding-block: 14px; }
:where(.legacy) .feature-list, :where(.legacy) .info-group, :where(.legacy) .dg-boards, :where(.legacy) .legend-grid, :where(.legacy) .char-grid { gap: clamp(14px, 1.6vw, 22px); }
:where(.legacy) .dg-board, :where(.legacy) .legend-card, :where(.legacy) .feature { padding: 22px 24px; }
:where(.legacy) .hub-tabs { margin-bottom: 40px; }
:where(.legacy) .gate-stats .status-row { padding-top: clamp(44px, 4.5vw, 68px) !important; }

:where(.legacy) /* the status line is always fully visible: no fade-in, :where(.legacy) brighter text */
.gate-stats .status-row, :where(.legacy) .gate-stats .status-row * { opacity: 1 !important; transform: none !important; }
:where(.legacy) .gate-stats .status-row .ls-label { color: #efe6d2; font-size: .8125rem; }
:where(.legacy) .gate-stats .status-row .ls-value { color: #fbf6ea; font-weight: 500; }
:where(.legacy) .gate-stats .status-row .ls-value small { color: #e3d9c4; }
:where(.legacy) .gate-stats .status-row .arrow-link { color: var(--gold-strong); }

:where(.legacy) /* download: short, :where(.legacy) the checks folded away */
.download-note, :where(.legacy) .download-verify { margin-top: 20px; }
:where(.legacy) .download-note summary, :where(.legacy) .download-verify summary { cursor: pointer; color: var(--muted); font-size: .9375rem; }
:where(.legacy) .download-note[open] summary, :where(.legacy) .download-verify[open] summary { color: var(--text); margin-bottom: 8px; }
:where(.legacy) .official-box { max-width: 720px; }
:where(.legacy) .steps li p { max-width: 36ch; }

:where(.legacy) .realm-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 560px; }
:where(.legacy) .realm-grid > [hidden] { display: none; }

:where(.legacy) .history-select { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--muted); }
:where(.legacy) .history-select select { min-width: 260px; }
:where(.legacy) .view > .shell > .hub-tabs:first-child { margin-top: 36px; }
:where(.legacy) .hub-tabs, :where(.legacy) .auto-tabs { grid-column: 1 / -1; }

:where(.legacy) .page-intro { grid-column: 1 / -1; max-width: 62ch; margin: 0 0 36px; padding-left: 16px; border-left: 2px solid rgba(207, 174, 120, .55); color: var(--text); font-size: 1.0625rem; line-height: 1.55; }
:where(.legacy) .intro-hidden { display: none !important; }

:where(.legacy) .crumb { display: inline-flex; align-items: center; gap: 6px; grid-column: 1 / -1; justify-self: start; margin: 28px 0 20px; color: var(--muted); font-size: .9375rem; }
:where(.legacy) .crumb::before { content: "‹"; font-size: 1.25rem; line-height: 1; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .crumb:hover { color: var(--text); } }
:where(.legacy) .landing { padding-block: clamp(40px, 6vw, 88px); }
:where(.legacy) .landing-group { margin-top: clamp(40px, 5vw, 64px); }
:where(.legacy) .landing-group > h2 { margin: 0 0 18px; }
:where(.legacy) .landing-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
:where(.legacy) .landing-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface); }
:where(.legacy) .landing-card strong { font: 600 1.0625rem/1.25 var(--ui); color: var(--text); }
:where(.legacy) .landing-card span { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .landing-card:hover { background: var(--surface-2); } }

:where(.legacy) /* landing pages as plain rows: name on the left, :where(.legacy) one line on the right, :where(.legacy) an arrow; no half-empty card rows */
.landing-cards { display: block; max-width: 820px; }
:where(.legacy) .landing-card { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) auto; gap: 8px 24px; align-items: baseline; height: auto; padding: 16px 4px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
:where(.legacy) .landing-card::after { content: "›"; color: var(--muted); font-size: 1.25rem; }
:where(.legacy) .landing-cards li:first-child .landing-card { border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { :where(.legacy) .landing-card:hover { background: none; } :where(.legacy) .landing-card:hover strong { color: var(--gold-strong); } }
@media (max-width: 640px) { :where(.legacy) .landing-card { grid-template-columns: minmax(0, 1fr) auto; } :where(.legacy) .landing-card span { grid-column: 1; } :where(.legacy) .landing-card::after { grid-row: 1; grid-column: 2; } }

:where(.legacy) @media (max-width: 1040px) {
  .user-menu .more-menu { opacity: 0; visibility: hidden; pointer-events: none; transform: none; }
  .user-menu.open .more-menu { opacity: 1; visibility: visible; pointer-events: auto; }
}

:where(.legacy) @media (max-width: 1040px) {
  .session-slot .user-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 999px; background: var(--surface-2); }
  .session-slot .user-btn .hide-xs, .session-slot .user-btn > svg { display: none; }
}
:root.hdr-fold :where(.legacy) .session-slot .user-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 999px; background: var(--surface-2); }
:root.hdr-fold :where(.legacy) .session-slot .user-btn .hide-xs, :root.hdr-fold :where(.legacy) .session-slot .user-btn > svg { display: none; }

:where(.legacy) /* dungeons: three tabs first, :where(.legacy) the rest after "More" */
#dungeons-tabs:not(.show-all) [data-tab]:nth-child(n+4) { display: none; }
:where(.legacy) #dungeons-tabs.show-all .tabs-more { display: none; }
:where(.legacy) .tabs-more { background: none; border: 0; color: var(--muted); font: 500 .9375rem/1 var(--ui); padding: 10px 14px; cursor: pointer; }
