@font-face {
  font-family: "WOS Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Player Glory Path */
.profile-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .65rem; }
.glory-deck { position: relative; }
.glory-heading { min-height: 150px; padding-bottom: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.glory-heading h1 { margin-bottom: .55rem; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.glory-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.glory-heading-copy { min-width: 0; }
.glory-profile-link { flex: 0 0 auto; margin-bottom: .55rem; }
.glory-progress { display: none; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(143, 172, 184, .16); }
.glory-deck.is-enhanced .glory-progress { display: block; }
.glory-progress span { display: block; width: 16.666%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ice-strong), var(--ice)); transition: width .3s ease; }
.glory-stage { margin-top: 1rem; }
.glory-deck.is-enhanced .glory-stage { min-height: 600px; }
.glory-slide { min-width: 0; margin: 1rem 0 2rem; padding: clamp(1.25rem, 2.8vw, 2.25rem); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(20, 44, 56, .88), rgba(10, 24, 33, .9)); box-shadow: 0 22px 60px rgba(0, 0, 0, .2); }
.glory-deck.is-enhanced .glory-slide { min-height: 560px; margin: 0; }
.glory-deck.has-navigated .glory-slide.is-active { animation: glory-slide-enter .32s ease-out; }
@keyframes glory-slide-enter { from { opacity: 0; transform: translateX(1.4rem); } to { opacity: 1; transform: translateX(0); } }
.glory-slide-heading { margin-bottom: 1.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.glory-slide-heading h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.5rem); }
.glory-chapter-number { color: rgba(101, 214, 237, .26); font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 850; line-height: .8; letter-spacing: -.08em; }
.glory-resume-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 1rem; }
.glory-feature { min-height: 330px; padding: clamp(1.4rem, 3vw, 2.3rem); display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(101, 214, 237, .35); border-radius: 18px; background: radial-gradient(circle at 88% 0%, rgba(101, 214, 237, .16), transparent 45%), rgba(7, 18, 25, .48); }
.glory-feature > small, .glory-stat-grid span, .glory-growth-summary span, .glory-total-strip span, .glory-season-phases span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.glory-feature > strong { max-width: 720px; margin: .6rem 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.glory-feature > span { color: var(--ice); }
.glory-feature p { max-width: 680px; margin: 1.4rem 0 0; color: var(--muted); }
.glory-feature b { color: var(--text); }
.glory-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.glory-stat-grid article, .glory-growth-summary article, .glory-total-strip article { min-width: 0; padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .45); }
.glory-stat-grid strong, .glory-growth-summary strong, .glory-total-strip strong { margin: .35rem 0; overflow-wrap: anywhere; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.glory-stat-grid small, .glory-growth-summary small { color: var(--muted); font-size: .72rem; }
.glory-empty { min-height: 260px; padding: 2rem; display: grid; place-content: center; justify-items: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.glory-empty strong { color: var(--text); font-size: 1.25rem; }
.glory-empty p { max-width: 620px; margin: .5rem 0 0; }
.glory-growth-summary, .glory-total-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.glory-chart-panel { margin-top: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .44); }
.glory-chart-panel.compact .power-chart { height: 240px; }
.glory-chart-panel .section-heading { margin-bottom: .4rem; }
.glory-chart-panel .section-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; }
.glory-placement-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 1rem; }
.glory-placement-chart { padding: 1.35rem; display: grid; gap: .85rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .44); }
.glory-placement-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 32px; gap: .75rem; align-items: center; }
.glory-placement-row > span { color: var(--muted); font-size: .78rem; }
.glory-placement-row > strong { text-align: right; }
.glory-placement-track, .glory-event-track { height: 13px; overflow: hidden; border-radius: 999px; background: rgba(143, 172, 184, .13); }
.glory-placement-track i, .glory-event-track i { display: block; width: var(--glory-bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ice-strong), var(--ice)); }
.glory-placement-row.first .glory-placement-track i, .glory-placement-row.second .glory-placement-track i, .glory-placement-row.third .glory-placement-track i { background: linear-gradient(90deg, #dc9c32, #ffd977); }
.glory-placement-row.unknown .glory-placement-track i { background: var(--muted); }
.glory-insight { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .44); }
.glory-insight > span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.glory-insight > strong { margin: .35rem 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; }
.glory-insight p { color: var(--muted); }
.glory-insight a, .glory-inline-link { color: var(--ice); font-size: .82rem; font-weight: 750; }
.glory-season-list { display: grid; gap: 1rem; }
.glory-season-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .44); }
.glory-season-card > header { padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.glory-season-card h3 { margin: 0; }
.glory-season-card header small { color: var(--muted); }
.glory-season-card header a { color: var(--ice); font-size: .78rem; white-space: nowrap; }
.glory-season-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glory-season-phases section { min-width: 0; padding: 1.2rem; display: grid; gap: .25rem; border-left: 1px solid var(--line); }
.glory-season-phases section:first-child { border-left: 0; }
.glory-season-phases section.combined { background: rgba(101, 214, 237, .055); }
.glory-season-phases strong { overflow-wrap: anywhere; font-size: clamp(1.45rem, 2.8vw, 2.3rem); }
.glory-season-phases small { color: var(--muted); font-size: .7rem; }
.glory-season-phases .glory-outcome { font-weight: 750; }
.glory-outcome.win { color: var(--good); }
.glory-outcome.loss { color: var(--danger); }
.glory-outcome.tie { color: var(--ember); }
.glory-event-chart { margin-bottom: 1rem; padding: 1.35rem; display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 25, .44); }
.glory-event-total-row { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr) 95px; gap: 1rem; align-items: center; }
.glory-event-total-row > span { min-width: 0; display: grid; }
.glory-event-total-row > span strong { overflow-wrap: anywhere; }
.glory-event-total-row small { color: var(--muted); font-size: .7rem; }
.glory-event-total-row > b { text-align: right; font-variant-numeric: tabular-nums; }
.glory-timeline { position: relative; margin: 0 0 1rem 88px; display: grid; }
.glory-timeline::before { content: ""; position: absolute; top: 1.1rem; bottom: 1.1rem; left: 7px; width: 1px; background: var(--line); }
.glory-timeline article { position: relative; min-height: 64px; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 1rem; align-items: start; }
.glory-timeline time { position: absolute; top: .1rem; right: calc(100% + 1rem); width: 72px; color: var(--muted); font-size: .68rem; text-align: right; }
.glory-timeline i { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: .15rem; border: 3px solid var(--surface); border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 1px var(--line); }
.glory-timeline article.first_seen i { background: var(--ember); }
.glory-timeline article.latest i { background: var(--good); }
.glory-timeline article > div { display: grid; }
.glory-timeline article span { color: var(--muted); font-size: .78rem; }
.glory-controls { display: none; }
.glory-deck.is-enhanced .glory-controls { position: sticky; z-index: 4; bottom: 1rem; margin: 1rem auto 0; padding: .65rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; border: 1px solid rgba(101, 214, 237, .3); border-radius: 16px; background: rgba(7, 18, 25, .93); box-shadow: 0 18px 48px rgba(0, 0, 0, .35); backdrop-filter: blur(16px); }
.glory-controls > button { justify-self: start; }
.glory-dots { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.glory-dots button { width: 9px; min-height: 9px; height: 9px; padding: 0; border-radius: 999px; background: var(--line); transition: width .2s ease, background .2s ease; }
.glory-dots button[aria-pressed="true"] { width: 26px; background: var(--ice); }
.glory-next-control { display: flex; align-items: center; justify-content: flex-end; gap: .8rem; }
.glory-next-control span { color: var(--muted); font-size: .72rem; white-space: nowrap; }

@media (max-width: 980px) {
  .glory-resume-grid, .glory-placement-layout { grid-template-columns: 1fr; }
  .glory-feature { min-height: 260px; }
}

@media (max-width: 700px) {
  .glory-heading { min-height: auto; align-items: flex-start; flex-direction: column; gap: 1rem; }
  .glory-profile-link { margin-bottom: 0; }
  .glory-deck.is-enhanced .glory-stage { min-height: 0; }
  .glory-deck.is-enhanced .glory-slide { min-height: 0; }
  .glory-slide { padding: 1rem; border-radius: 17px; }
  .glory-slide-heading { margin-bottom: 1rem; }
  .glory-chapter-number { font-size: 2.8rem; }
  .glory-stat-grid, .glory-growth-summary, .glory-total-strip { grid-template-columns: 1fr 1fr; }
  .glory-growth-summary article:last-child, .glory-total-strip article:last-child { grid-column: 1 / -1; }
  .glory-chart-panel { padding: .75rem; }
  .glory-season-phases { grid-template-columns: 1fr; }
  .glory-season-phases section { border-top: 1px solid var(--line); border-left: 0; }
  .glory-season-phases section:first-child { border-top: 0; }
  .glory-event-total-row { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem 1rem; }
  .glory-event-total-row .glory-event-track { grid-column: 1 / -1; grid-row: 2; }
  .glory-timeline { margin-left: 74px; }
  .glory-deck.is-enhanced .glory-controls { bottom: calc(70px + env(safe-area-inset-bottom)); grid-template-columns: 1fr auto; gap: .55rem; }
  .glory-controls > button { grid-column: 1; grid-row: 2; width: 100%; }
  .glory-dots { grid-column: 1 / -1; grid-row: 1; }
  .glory-next-control { grid-column: 2; grid-row: 2; }
  .glory-next-control span { display: none; }
}

@media (max-width: 430px) {
  .glory-stat-grid, .glory-growth-summary, .glory-total-strip { grid-template-columns: 1fr; }
  .glory-growth-summary article:last-child, .glory-total-strip article:last-child { grid-column: auto; }
  .glory-placement-row { grid-template-columns: 62px minmax(0, 1fr) 26px; gap: .5rem; }
  .glory-season-card > header { align-items: flex-start; }
  .glory-deck.is-enhanced .glory-controls { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .glory-progress span, .glory-dots button { transition: none; }
  .glory-deck.has-navigated .glory-slide.is-active { animation: none; }
}

:root {
  --bg: #08131b;
  --surface: #0f202b;
  --surface-2: #142c38;
  --line: #25414e;
  --text: #eef9fc;
  --muted: #8facb8;
  --ice: #65d6ed;
  --ice-strong: #18b8da;
  --ember: #ffaf55;
  --good: #75d8a4;
  --danger: #ff7d7d;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(24, 184, 218, .12), transparent 34rem),
    linear-gradient(180deg, #071219 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Verdana, Tahoma, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ice); }
.alliance-tag {
  font-family: "WOS Atkinson Hyperlegible", Verdana, Tahoma, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: .055em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(101, 214, 237, .15);
  background: rgba(7, 18, 25, .88);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(145deg, var(--ice), var(--ice-strong)); color: #04202a; box-shadow: 0 0 28px rgba(24, 184, 218, .24); }
.site-header nav { display: flex; gap: 1.4rem; align-items: center; font-size: .94rem; color: var(--muted); }
.site-header nav a { padding: 1.35rem 0; }
.site-header nav a:hover { color: var(--text); }
.site-header nav a.active { color: var(--text); box-shadow: inset 0 -2px var(--ice); }
.admin-link { color: var(--ember) !important; }
.site-header nav .discord-sign-in { padding: .48rem .72rem; border: 1px solid rgba(101, 214, 237, .35); border-radius: 9px; color: var(--ice); font-size: .8rem; font-weight: 750; }
.account-name { max-width: 150px; overflow: hidden; color: var(--text); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout { margin: 0; }
.nav-logout-button { padding: .35rem 0; border-radius: 0; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 650; }
.nav-logout-button:hover { color: var(--ice); }
.language-switcher { position: relative; flex: 0 0 auto; }
.language-switcher > summary { min-height: 34px; padding: .35rem .55rem; display: flex; align-items: center; gap: .35rem; border: 1px solid var(--line); border-radius: 9px; color: var(--text); cursor: pointer; font-size: .72rem; font-weight: 750; list-style: none; white-space: nowrap; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher[open] > summary { border-color: var(--ice); }
.language-switcher-menu { position: absolute; z-index: 40; top: calc(100% + .45rem); right: 0; min-width: 170px; padding: .4rem; display: grid; gap: .15rem; border: 1px solid var(--line); border-radius: 12px; background: #0b1b25; box-shadow: 0 18px 48px rgba(0, 0, 0, .48); }
.language-switcher-option { margin: 0; }
.language-switcher-menu button { width: 100%; min-height: 38px; padding: .45rem .65rem; display: flex; align-items: center; gap: .55rem; border-radius: 8px; background: transparent; color: var(--text); text-align: left; font-size: .8rem; font-weight: 650; }
.language-switcher-menu button:hover, .language-switcher-menu button.active { background: var(--surface-2); color: var(--ice); }
.language-flag { min-width: 1.35em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; font-size: 1rem; line-height: 1; text-align: center; }
.site-messages { display: grid; gap: .6rem; margin: -2rem 0 2rem; }
.site-message { margin: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.site-message.success { border-color: rgba(117, 216, 164, .5); color: var(--good); }
.site-message.error { border-color: rgba(255, 125, 125, .5); color: var(--danger); }
.mobile-nav { display: none; }
.page-shell { width: min(1440px, 92vw); margin: 0 auto; padding: 4rem 0 6rem; }
.site-footer { padding: 2rem 4vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-copy { display: grid; gap: .25rem; }
.visitor-widget { display: inline-flex; align-items: stretch; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(15, 32, 43, .78); }
.visitor-widget-title { display: flex; align-items: center; padding: .6rem .8rem; color: var(--ice); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.visitor-counts { display: grid; grid-template-columns: repeat(4, minmax(66px, auto)); margin: 0; }
.visitor-count { min-width: 0; padding: .48rem .7rem; border-left: 1px solid var(--line); text-align: center; }
.visitor-count dt { color: var(--muted); font-size: .62rem; line-height: 1.2; white-space: nowrap; }
.visitor-count dd { margin: 0 0 .1rem; color: var(--text); font-size: .9rem; font-weight: 800; line-height: 1.1; }
.hero { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 5rem; align-items: center; padding: 3rem 0 5rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 1.25rem; font-size: clamp(2.5rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: .5rem; font-size: 1.4rem; letter-spacing: -.025em; }
.hero-copy { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.eyebrow { margin-bottom: .75rem; color: var(--ice); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-actions { display: flex; gap: .8rem; margin-top: 2rem; }
.button, button { border: 0; border-radius: 12px; padding: .78rem 1.15rem; font: inherit; font-weight: 750; cursor: pointer; }
.button.primary, button { background: var(--ice); color: #04202a; }
.button.secondary { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.hero-stat { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle, rgba(101, 214, 237, .12), rgba(15, 32, 43, .38) 70%); }
.hero-stat::before { content: ""; position: absolute; inset: -14px; border: 1px dashed rgba(101, 214, 237, .28); border-radius: 50%; }
.hero-stat-value { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 850; letter-spacing: -.06em; }
.hero-stat small, .metric-card small, .ranking-list small, .event-row small { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.metric-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric-card { min-height: 125px; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20, 44, 56, .92), rgba(15, 32, 43, .76)); display: flex; flex-direction: column; justify-content: space-between; }
.metric-card > span { color: var(--muted); font-size: .84rem; }
.metric-card strong { font-size: clamp(1.35rem, 2.5vw, 2.15rem); letter-spacing: -.04em; }
.metric-card .small-value { font-size: 1.35rem; }
.supplemental-stats { margin-top: -1rem; margin-bottom: 2rem; padding: 0; overflow: hidden; }
.supplemental-stats > summary { min-height: 76px; padding: 1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.supplemental-stats > summary::-webkit-details-marker { display: none; }
.supplemental-stats > summary > span { display: grid; gap: .18rem; }
.supplemental-stats > summary strong { color: var(--text); font-size: 1rem; }
.supplemental-stats > summary small { color: var(--ice); font-weight: 750; }
.supplemental-stats > summary::after { content: "+"; color: var(--ice); font-size: 1.4rem; }
.supplemental-stats[open] > summary::after { content: "−"; }
.supplemental-stats > summary > small { margin-left: auto; }
.supplemental-stat-grid { padding: 0 1.3rem 1.3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.supplemental-stat-grid article { min-width: 0; padding: .9rem; display: grid; gap: .3rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 18, 25, .45); }
.supplemental-stat-grid span, .supplemental-stat-grid small { color: var(--muted); font-size: .74rem; }
.supplemental-stat-grid strong { overflow-wrap: anywhere; font-size: 1.15rem; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.panel, .table-card, .event-card, .note { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 32, 43, .78); }
.panel { padding: 1.35rem; margin: 1rem 0; }
.section-heading { min-height: 46px; margin-bottom: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.section-heading > a { color: var(--ice); font-size: .86rem; }
.stack-list { display: grid; }
.event-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem 0; border-top: 1px solid rgba(37, 65, 78, .72); }
.event-row:first-child { border-top: 0; }
.event-date { color: var(--ice); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.event-row > span:nth-child(2) { display: grid; }
.event-total { display: flex; align-items: baseline; justify-content: flex-end; gap: .45rem; font-variant-numeric: tabular-nums; font-weight: 750; }
.event-context { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.event-state-rank { color: var(--ice); font-size: .68rem; font-weight: 750; opacity: .78; }
.event-state-rank.outside, .event-state-rank.unknown { color: var(--muted); }
.stage-evidence { margin-top: .32rem; display: flex; flex-wrap: wrap; gap: .28rem .5rem; color: var(--muted); font-size: .66rem; font-variant-numeric: tabular-nums; line-height: 1.35; opacity: .62; }
.stage-result { display: inline-flex; align-items: baseline; gap: .22rem; white-space: nowrap; }
.stage-result b { color: var(--text); font-size: inherit; font-weight: 750; }
.stage-result span:last-child { color: var(--ice); }
.focus-score { display: inline-flex; align-items: center; padding: .08rem .38rem; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1.25; }
.focus-score.positive { color: var(--good); background: rgba(72, 199, 142, .08); }
.focus-score.negative { color: var(--danger); background: rgba(255, 91, 110, .08); }
.ranking-list { list-style: none; margin: 0; padding: 0; }
.ranking-list li { border-top: 1px solid rgba(37, 65, 78, .72); }
.ranking-list li:first-child { border-top: 0; }
.ranking-list li > a { min-height: 54px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: .7rem; align-items: center; }
.ranking-list li > a > span:nth-child(2) { display: grid; }
.ranking-metrics { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.rank-number { color: var(--muted); font-size: .78rem; font-weight: 800; }
.page-heading { min-height: 150px; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.page-heading h1, .profile-heading h1 { margin-bottom: .5rem; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.page-heading p:not(.eyebrow), .profile-heading p { color: var(--muted); }
.svs-result-ocr { max-width: 290px; display: grid; justify-items: end; gap: .45rem; text-align: right; }
.svs-result-ocr button { min-height: 44px; }
.svs-result-ocr button:disabled { cursor: wait; opacity: .62; }
.svs-result-ocr small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.svs-result-ocr small[data-tone="error"] { color: var(--danger); }
.svs-result-ocr small[data-tone="success"] { color: var(--good); }
.svs-result-ocr-dialog { width: min(760px, calc(100vw - 2rem)); max-height: min(82vh, 880px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 28px 90px rgba(0, 0, 0, .55); text-align: left; }
.svs-result-ocr-dialog::backdrop { background: rgba(3, 10, 15, .76); backdrop-filter: blur(4px); }
.svs-result-ocr-dialog-heading { padding: 1.2rem 1.25rem .9rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.svs-result-ocr-dialog-heading h2 { margin: .18rem 0 0; }
.svs-result-ocr-dialog pre { max-height: 58vh; margin: 0; padding: 1.1rem 1.25rem; overflow: auto; background: #08151d; color: var(--text); font: 650 .78rem/1.55 "IBM Plex Mono", "Cascadia Mono", monospace; white-space: pre-wrap; word-break: break-word; }
.svs-result-ocr-dialog-note { margin: 0; padding: .8rem 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.svs-result-ocr-dialog .form-actions { margin: 0; padding: 0 1.25rem 1.1rem; }
.svs-result-ocr-dialog [hidden] { display: none !important; }
.svs-screenshot-upload { margin-top: 1rem; padding: 1.15rem 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr); gap: 1.25rem; align-items: end; }
.svs-screenshot-upload h2 { margin: .2rem 0 .45rem; }
.svs-screenshot-upload p { margin: 0 0 .5rem; color: var(--muted); }
.svs-screenshot-upload small { color: var(--muted); }
.svs-screenshot-upload form { display: grid; gap: .6rem; }
.svs-screenshot-upload label { color: var(--muted); font-size: .75rem; }
.screenshot-image-picker { display: grid; gap: .55rem; }
.screenshot-image-picker > label { color: var(--muted); font-size: .75rem; }
.screenshot-image-picker input[type="file"] { width: 100%; padding: .65rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(5, 17, 24, .66); color: var(--text); }
.screenshot-paste-actions { display: flex; align-items: center; gap: .65rem; }
.screenshot-paste-actions > span { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.screenshot-paste-button { padding: .58rem .85rem; }
.screenshot-paste-button:disabled { cursor: wait; opacity: .62; }
.screenshot-paste-status { min-height: 1.25em; margin: 0; color: var(--muted); font-size: .72rem; }
.screenshot-image-picker[data-paste-state="ready"] .screenshot-paste-status { color: var(--good); }
.screenshot-image-picker[data-paste-state="error"] .screenshot-paste-status { color: var(--danger); }
.screenshot-review-grid { align-items: start; }
.screenshot-review-grid > .panel, .screenshot-review-state { padding: 1.2rem; }
.screenshot-evidence-preview { display: block; width: 100%; max-height: 72vh; object-fit: contain; border-radius: 10px; background: #061018; }
.screenshot-review-values { margin: 1rem 0; }
.screenshot-review-values span small { display: block; color: var(--muted); font-size: .65rem; text-transform: capitalize; }
.check-success { color: var(--good); font-weight: 700; }
.contributor-glory-card { margin-top: 1rem; padding: 1.3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 1.4rem; align-items: end; }
.contributor-glory-card h2 { margin: .2rem 0 .55rem; }
.contributor-glory-card form { display: grid; gap: .6rem; }
.contributor-glory-card form label { color: var(--muted); font-size: .75rem; }
.contribution-method-preview { margin-top: 1rem; }
.contribution-method-preview > .panel { padding: 1.2rem; }
.screenshot-glory-table { margin: 1rem 0; overflow-x: auto; }
.contributor-section { margin-top: 1.6rem; }
.contribution-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contribution-method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.contribution-method-grid > .panel { padding: 1.15rem; }
.contribution-method-grid h3 { margin: .65rem 0 .45rem; }
.contribution-method-grid p { margin: 0; color: var(--muted); }
.contribution-method-number { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--ice); border-radius: 50%; color: var(--ice); font-weight: 800; }
.overlay-safety-card, .contributor-recognition-card, .contributor-history-card { margin-top: 1rem; padding: 1.3rem; }
.overlay-mode-grid { margin: 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.overlay-mode-grid article { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 17, 24, .55); }
.overlay-mode-grid h3 { margin: .7rem 0 .35rem; }
.overlay-mode-grid p { color: var(--muted); }
.overlay-risk-mode { border-color: rgba(251, 146, 60, .48) !important; }
.contributor-account-guide { margin-top: 1rem; align-items: start; }
.contributor-account-guide > .panel { padding: 1.3rem; }
.contributor-account-guide ol { padding-left: 1.2rem; color: var(--muted); }
.contributor-account-guide li + li { margin-top: .5rem; }
.search-form, .filter-bar { display: flex; gap: .65rem; align-items: center; }
input, select { min-height: 44px; padding: .68rem .8rem; border: 1px solid var(--line); border-radius: 11px; background: #0a1821; color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(101, 214, 237, .45); border-color: var(--ice); }
.filter-bar { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 32, 43, .62); }
.alliance-filter { margin: 0; }
.filter-bar input:first-child, .filter-bar .filter-query { flex: 1; }
.filter-bar.compact { justify-content: flex-end; }
.filter-multi-select { position: relative; min-width: 150px; }
.filter-multi-select > summary { min-height: 44px; padding: .68rem 2.35rem .68rem .8rem; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: #0a1821; color: var(--text); cursor: pointer; list-style: none; white-space: nowrap; }
.filter-multi-select > summary::-webkit-details-marker { display: none; }
.filter-multi-select > summary::after { content: ""; position: absolute; right: .9rem; width: .48rem; height: .48rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-.16rem) rotate(45deg); transition: transform .16s ease; }
.filter-multi-select[open] > summary { outline: 2px solid rgba(101, 214, 237, .45); border-color: var(--ice); }
.filter-multi-select[open] > summary::after { transform: translateY(.15rem) rotate(225deg); }
.filter-multi-select-menu { position: absolute; z-index: 20; top: calc(100% + .35rem); left: 0; width: max(100%, 190px); padding: .45rem; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: 0 18px 42px rgba(0, 0, 0, .42); }
.filter-multi-select-clear { width: 100%; min-height: 36px; padding: .48rem .65rem; border: 1px solid transparent; background: transparent; color: var(--ice); text-align: left; font-size: .78rem; }
.filter-multi-select-clear:hover { border-color: var(--line); background: rgba(101, 214, 237, .08); }
.filter-multi-select-options { max-height: 260px; overflow-y: auto; }
.filter-multi-select-options label { min-height: 38px; padding: .45rem .65rem; display: flex; align-items: center; gap: .55rem; border-radius: 8px; cursor: pointer; font-size: .8rem; white-space: nowrap; }
.filter-multi-select-options label:hover { background: rgba(101, 214, 237, .08); }
.filter-multi-select-options input[type="checkbox"] { width: 1rem; min-height: 1rem; margin: 0; padding: 0; accent-color: var(--ice); }
.event-ranking-controls { margin: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; }
.event-section-tabs, .event-scope-tabs { display: flex; align-items: center; gap: .35rem; }
.event-ranking-tab, .event-scope-tab { min-height: 38px; padding: .52rem .78rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(15, 32, 43, .62); color: var(--muted); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.event-ranking-tab:hover, .event-scope-tab:hover { border-color: rgba(101, 214, 237, .5); color: var(--ice); }
.event-ranking-tab.active { border-color: var(--ice); background: var(--ice); color: #04202a; }
.event-scope-tab.active { border-color: rgba(101, 214, 237, .65); background: rgba(101, 214, 237, .12); color: var(--ice); }
.svs-season-create-dialog { width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-x: hidden; overflow-y: auto; }
.svs-season-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; min-width: 0; }
.svs-season-form-grid > * { min-width: 0; }
.svs-schedule-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 18, 25, .48); }
.svs-schedule-preview-heading { padding: .7rem .85rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.svs-schedule-preview-heading strong { font-size: .8rem; }
.svs-schedule-preview-heading small { color: var(--ice); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.svs-schedule-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svs-schedule-preview-grid > div { min-width: 0; padding: .72rem .85rem; display: grid; gap: .18rem; border-top: 1px solid rgba(37, 65, 78, .55); }
.svs-schedule-preview-grid > div:nth-child(-n+2) { border-top: 0; }
.svs-schedule-preview-grid > div:nth-child(even) { border-left: 1px solid rgba(37, 65, 78, .55); }
.svs-schedule-preview-grid span { color: var(--muted); font-size: .66rem; }
.svs-schedule-preview-grid strong { overflow-wrap: anywhere; color: var(--text); font-size: .75rem; font-variant-numeric: tabular-nums; }
.svs-season-create-dialog .form-actions { flex-wrap: wrap; }
.svs-season-card h2 { font-size: 1.2rem; }
.svs-event-links { margin: 1rem 0 1.5rem; }
.svs-event-links .panel { margin: 0; }
.svs-event-links small { color: var(--muted); }
.svs-match-heading { margin-top: 1.5rem; }
.svs-match-list { gap: .7rem; }
.svs-match-card { margin: 0; padding: 0; }
.svs-match-card > summary { min-height: 92px; padding: 1rem 1.2rem; display: grid; grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) minmax(150px, auto) auto; gap: 1rem; align-items: center; cursor: pointer; list-style: none; }
.svs-match-card > summary::-webkit-details-marker { display: none; }
.svs-state-side { display: grid; gap: .08rem; }
.svs-state-side.right { justify-items: end; text-align: right; }
.svs-state-side small { color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.svs-state-side strong { font-size: 1.35rem; }
.svs-state-side span { color: var(--ice); font-size: .8rem; font-variant-numeric: tabular-nums; }
.svs-versus { color: var(--muted); font-size: .75rem; font-weight: 850; }
.svs-match-outcome { display: grid; justify-items: end; gap: .35rem; justify-self: end; color: var(--muted); font-size: .78rem; font-weight: 700; }
.svs-match-card[open] > summary .accordion-chevron::before { transform: rotate(180deg); }
.svs-match-body { padding: 1.1rem 1.2rem 1.2rem; border-top: 1px solid var(--line); }
.svs-stage-grid { display: grid; grid-template-columns: minmax(90px, .7fr) repeat(2, minmax(130px, 1fr)); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; font-variant-numeric: tabular-nums; }
.svs-stage-grid > * { padding: .58rem .75rem; border-top: 1px solid var(--line); }
.svs-stage-grid > :nth-child(-n+3) { border-top: 0; background: rgba(101, 214, 237, .07); color: var(--ice); }
.svs-stage-grid > :nth-child(3n+2), .svs-stage-grid > :nth-child(3n+3) { text-align: right; }
.svs-result-meta { margin-top: 1rem; }
.focus-page-heading { min-height: 130px; }
.focus-page-heading p:last-child { max-width: 720px; }
.focus-filter-bar { align-items: end; }
.focus-season-field { display: grid; gap: .3rem; }
.focus-season-field > span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.focus-season-field select { min-width: 245px; }
.focus-filter-checkbox { min-height: 44px; display: flex; align-items: center; gap: .55rem; padding: .68rem .8rem; border: 1px solid var(--line); border-radius: 11px; background: #0a1821; color: var(--text); font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.focus-filter-bar .focus-filter-checkbox input { width: 1rem; height: 1rem; min-height: 0; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--ice); cursor: pointer; }
.focus-filter-checkbox:focus-within { outline: 2px solid rgba(101, 214, 237, .45); border-color: var(--ice); }
.focus-positive { color: var(--good); }
.focus-negative { color: var(--danger); }
.focus-method-note { margin: 0 0 1.5rem; padding: 1rem 1.2rem; color: var(--muted); font-size: .82rem; }
.focus-method-note strong { color: var(--text); }
.focus-formula { color: var(--ice); font-weight: 800; white-space: nowrap; }
.focus-view-tabs { margin-top: 1.5rem; }
.focus-window-copy { color: var(--muted); font-size: .72rem; }
.focus-table { min-width: 1000px; }
.focus-table th:nth-last-child(-n+5),
.focus-table td:nth-last-child(-n+5) { text-align: right; }
.focus-player-table { min-width: 1260px; }
.focus-player-table th:last-child,
.focus-player-table td:last-child { text-align: left; }
.focus-season-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.table-card { overflow-x: auto; }
.table-card.flush { border: 0; border-radius: 0; background: transparent; margin: 0 -1.35rem -1.35rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { padding: .8rem 1rem; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.sort-header { display: inline-flex; align-items: center; gap: .3rem; color: inherit; }
.sort-header:hover, .sort-header.active { color: var(--ice); }
.sort-header span { min-width: .8rem; text-align: center; }
.state-focus-total { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.state-focus-total.positive { color: var(--good); }
.state-focus-total.negative { color: var(--danger); }
.state-focus-total.neutral, .state-focus-total.unknown { color: var(--muted); }
td { padding: .9rem 1rem; border-top: 1px solid rgba(37, 65, 78, .75); white-space: nowrap; }
td a { color: var(--text); }
.muted { color: var(--muted); }
.table-subtitle { display: block; color: var(--muted); font-size: .72rem; }
.mobile-player-meta { display: none; }
.mobile-directory-meta { display: none; }
.mobile-event-label,
.mobile-event-info,
.mobile-event-score { display: none; }
.event-position-note { margin: -.25rem 0 .8rem; color: var(--muted); font-size: .78rem; }
.event-position-note strong { color: var(--text); }
.event-rank-value { display: grid; gap: .08rem; width: max-content; font-variant-numeric: tabular-nums; }
.event-rank-value strong { color: var(--text); }
.event-rank-value small { color: var(--muted); font-size: .66rem; font-weight: 650; white-space: nowrap; }
.state-standings-panel-toggle { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.state-standings-panel-toggle::-webkit-details-marker { display: none; }
.state-standings-heading { display: grid; gap: .12rem; }
.state-standings-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; }
.state-standings-panel-toggle small { color: var(--muted); font-size: .72rem; }
.state-standings-panel-action { display: inline-flex; align-items: center; gap: .55rem; color: var(--ice); font-size: .74rem; font-weight: 750; }
.state-standings-panel-action .hide-standings { display: none; }
.state-standings-panel[open] > .state-standings-panel-toggle .show-standings { display: none; }
.state-standings-panel[open] > .state-standings-panel-toggle .hide-standings { display: inline; }
.state-standings-panel[open] > .state-standings-panel-toggle .accordion-chevron::before { transform: rotate(180deg); }
.state-standings-panel-content { margin-top: 1rem; }
.state-standing { border-top: 1px solid rgba(37, 65, 78, .75); }
.state-standing-grid {
  min-width: 940px;
  display: grid;
  grid-template-columns: 3.5rem minmax(6rem, .75fr) repeat(5, minmax(7rem, 1fr)) 2rem;
  align-items: center;
}
.state-standing-grid.multiphase {
  grid-template-columns: 3.5rem minmax(6rem, .75fr) repeat(6, minmax(7rem, 1fr)) 2rem;
}
.state-standing-head {
  padding: .8rem 1rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.state-standing summary {
  padding: .9rem 1rem;
  cursor: pointer;
  list-style: none;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease;
}
.state-standing summary::-webkit-details-marker { display: none; }
.state-standing summary:hover,
.state-standing[open] summary { background: rgba(101, 214, 237, .055); }
.accordion-chevron::before {
  content: "⌄";
  display: inline-block;
  color: var(--ice);
  font-size: 1.2rem;
  transition: transform .15s ease;
}
.state-standing[open] .accordion-chevron::before { transform: rotate(180deg); }
.alliance-breakdown {
  min-width: 940px;
  padding: 1rem 1.5rem 1.35rem 5rem;
  border-top: 1px solid rgba(37, 65, 78, .45);
  background: rgba(5, 15, 21, .35);
}
.alliance-breakdown-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
}
.alliance-breakdown-heading h3 { margin: 0; font-size: 1rem; }
.alliance-breakdown-heading small { color: var(--muted); }
.alliance-breakdown th:first-child,
.alliance-breakdown td:first-child { width: 3rem; padding-left: 0; }
.pagination { margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 1rem; color: var(--muted); }
.pagination a { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ice); }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.event-card { min-height: 230px; padding: 1.35rem; transition: transform .18s ease, border-color .18s ease; }
.event-card:hover { transform: translateY(-3px); border-color: var(--ice); color: inherit; }
.event-card > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.event-card h2 { margin: 2rem 0 .4rem; font-size: 1.55rem; }
.event-card p { color: var(--muted); }
.event-card dl { display: flex; gap: 1.4rem; margin: 1.4rem 0 0; }
.event-card dl div { display: grid; }
.event-card dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.event-card dd { margin: 0; font-weight: 750; }
.event-add-card { width: 100%; align-items: center; justify-content: center; gap: 1rem; border: 1px dashed rgba(101, 214, 237, .58); background: rgba(101, 214, 237, .055); color: var(--text); text-align: left; }
.event-add-card, .event-add-card > span:last-child { display: flex; }
.event-add-card > span:last-child { flex-direction: column; }
.event-add-card strong { font-size: 1.25rem; }
.event-add-card small { color: var(--muted); font-weight: 500; }
.event-add-icon { width: 3.2rem; height: 3.2rem; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(101, 214, 237, .55); border-radius: 50%; background: rgba(101, 214, 237, .12); color: var(--ice); font-size: 2rem; font-weight: 400; line-height: 1; }
.event-create-dialog { width: min(520px, calc(100vw - 2rem)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 28px 90px rgba(0, 0, 0, .55); }
.event-create-dialog::backdrop { background: rgba(3, 10, 15, .76); backdrop-filter: blur(4px); }
.event-create-form { padding: 1.4rem; }
.event-create-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.event-create-heading h2 { font-size: 1.75rem; }
.event-dialog-close { width: 2.4rem; min-height: 2.4rem; padding: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; font-weight: 400; }
.event-dialog-close:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.event-calendar-target { margin: 0; padding: .7rem .8rem; display: flex; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(7, 18, 25, .46); }
.event-calendar-target span { color: var(--muted); }
.status { display: inline-flex; width: fit-content; padding: .18rem .5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.status.active, .status.live, .status.confirmed, .status.public { border-color: rgba(117, 216, 164, .5); color: var(--good); }
.status.loss { border-color: rgba(255, 91, 110, .5); color: var(--danger); }
.status.finished, .status.final { border-color: rgba(101, 214, 237, .45); color: var(--ice); }
.status.anonymous { border-color: rgba(255, 175, 85, .55); color: var(--ember); }
.status.attributed { border-color: rgba(102, 181, 255, .55); color: #8bc7ff; }
.profile-heading { min-height: 170px; display: flex; align-items: center; gap: 1.4rem; }
.avatar { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--ice); border-radius: 25px; background: linear-gradient(145deg, rgba(101, 214, 237, .24), rgba(20, 44, 56, .8)); color: var(--ice); font-size: 2.5rem; font-weight: 850; }
.alliance-manual-status { margin-left: .35rem; vertical-align: .12em; }
.alliance-editor { margin-top: -1rem; }
.alliance-editor summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.alliance-editor summary strong, .alliance-editor summary span { display: block; }
.alliance-editor summary small { color: var(--muted); }
.alliance-editor-body { padding-top: 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr); gap: 1.2rem; border-top: 1px solid var(--line); }
.alliance-editor-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.alliance-editor-form .form-actions { padding-bottom: .02rem; }
.metrics-editor .alliance-editor-body,
.metrics-editor .alliance-editor-form { grid-template-columns: 1fr; }
.metric-correction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.alliance-tag-input { min-width: 12rem; }
.player-name-input { min-width: min(28rem, 100%); }
.name-editor-body { grid-template-columns: minmax(0, 1fr); }
.alliance-resume-form { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.alliance-resume-form p { margin-top: 0; }
.power-chart { width: 100%; height: 320px; display: block; cursor: crosshair; }
.power-chart:focus-visible { outline: 2px solid rgba(101, 214, 237, .7); outline-offset: 4px; border-radius: 8px; }
.chart-help { margin: .25rem 0 .7rem; color: var(--muted); font-size: .76rem; }
.chart-legend { display: flex; gap: 1.2rem; color: var(--muted); font-size: .8rem; }
.chart-legend span { display: flex; align-items: center; gap: .45rem; }
.chart-legend i { width: 20px; height: 3px; border-radius: 2px; background: var(--ice); }
.chart-legend .legend-hero { background: var(--ember); }
.chart-legend .legend-kills { background: var(--good); }
.timeline { display: grid; gap: .4rem; }
.timeline > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: .7rem; padding: .7rem 0; border-top: 1px solid rgba(37, 65, 78, .72); }
.timeline time, .timeline small { color: var(--muted); font-size: .76rem; }
.timeline-actions { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; }
.timeline-actions form { margin: 0; }
.timeline-delete { width: 24px; height: 24px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255, 125, 125, .5); border-radius: 7px; background: transparent; color: var(--danger); font-size: 1rem; line-height: 1; }
.timeline-delete:hover { background: rgba(255, 125, 125, .12); }
.chip-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-list a { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ice); }
.podium-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.podium { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: .4rem; }
.podium.position-1 { border-color: var(--ember); background: linear-gradient(145deg, rgba(255, 175, 85, .15), var(--surface)); }
.podium > span { color: var(--ember); font-weight: 850; }
.podium > strong { font-size: 2rem; }
.podium small { color: var(--muted); }
.note { margin-top: 1rem; padding: 1rem 1.2rem; color: var(--muted); }
.empty { padding: 2rem; color: var(--muted); text-align: center; }
.rights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.prose { color: var(--muted); }
.prose h2, .prose h3 { color: var(--text); }
.prose a:not(.button) { color: var(--ice); text-decoration: underline; text-underline-offset: .2em; }
.link-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.site-footer a { color: var(--ice); }

/* About, methodology, and project contact */
.about-heading { min-height: 230px; }
.about-heading > div { width: min(980px, 100%); }
.about-heading p:not(.eyebrow) { max-width: 780px; font-size: 1.06rem; }
.about-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.about-nav a { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ice); font-size: .78rem; font-weight: 750; }
.about-nav a:hover { border-color: var(--ice); background: rgba(101, 214, 237, .08); }
.about-feature { padding: clamp(1.5rem, 4vw, 2.5rem); border-color: rgba(101, 214, 237, .42); background: linear-gradient(145deg, rgba(101, 214, 237, .12), rgba(15, 32, 43, .82) 58%); }
.about-feature h2 { max-width: 760px; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.08; }
.about-feature p:not(.eyebrow) { max-width: 980px; font-size: 1.03rem; }
.about-explainer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.about-callout { padding: 1rem; border-left: 3px solid var(--ember); border-radius: 0 10px 10px 0; background: rgba(255, 175, 85, .08); color: var(--text); }
.calculation-formula { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: .5rem; align-items: stretch; margin: 1.25rem 0; }
.calculation-formula span { min-height: 68px; padding: .65rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 18, 25, .55); color: var(--text); font-size: .76rem; font-weight: 750; text-align: center; }
.calculation-formula b { display: grid; place-items: center; color: var(--ice); }
.calculation-legend { padding-left: 1.25rem; }
.calculation-legend li + li { margin-top: .45rem; }
.positive-copy { color: var(--good); }
.negative-copy { color: var(--danger); }
.planned-note { padding: 1rem; display: grid; gap: .3rem; border: 1px dashed rgba(101, 214, 237, .48); border-radius: 12px; background: rgba(101, 214, 237, .06); }
.planned-note strong { color: var(--ice); }
.about-section { margin: 3rem 0; scroll-margin-top: 6rem; }
.about-feature, .about-explainer-grid > section, .contact-panel { scroll-margin-top: 6rem; }
.about-section-heading { min-height: auto; margin-bottom: 1rem; }
.about-section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.faq-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 32, 43, .78); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { position: relative; min-height: 60px; padding: 1rem 3.5rem 1rem 1.25rem; display: flex; align-items: center; color: var(--text); font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.25rem; color: var(--ice); font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary { background: rgba(101, 214, 237, .055); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 980px; margin: 0; padding: 0 3.5rem 1.2rem 1.25rem; color: var(--muted); }
.faq-item p a { color: var(--ice); text-decoration: underline; text-underline-offset: .2em; }
.contact-panel { padding: clamp(1.4rem, 3vw, 2rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 2rem; align-items: center; border-color: rgba(117, 216, 164, .38); background: linear-gradient(145deg, rgba(117, 216, 164, .09), rgba(15, 32, 43, .78) 55%); }
.contact-panel p:last-child { margin-bottom: 0; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.contact-link { min-width: 0; min-height: 112px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(7, 18, 25, .56); }
a.contact-link { color: var(--text) !important; text-decoration: none !important; }
a.contact-link:hover { border-color: var(--ice); }
.contact-link small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-link strong { overflow-wrap: anywhere; color: var(--text); }
.contact-link span { margin-top: .25rem; color: var(--muted); font-size: .72rem; }
.discord-contact { border-color: rgba(88, 101, 242, .62); }
.legal-section { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal-section .panel { margin-top: 0; }
.legal-links { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }
.legal-links a { margin-left: .7rem; color: var(--ice); white-space: nowrap; }

/* Community accounts and access management */
.compact-heading { min-height: 190px; align-items: flex-end; }
.compact-heading h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.compact-heading p:not(.eyebrow) { max-width: 760px; color: var(--muted); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.identity-panel .section-heading { align-items: center; }
.detail-list { margin: 0; display: grid; gap: .7rem; }
.detail-list > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.challenge-card { margin-bottom: 1rem; padding: 1.5rem; border: 1px solid var(--ice); border-radius: var(--radius); background: linear-gradient(145deg, rgba(101, 214, 237, .14), rgba(15, 32, 43, .85)); }
.challenge-card code { margin: .6rem 0 1rem; padding: .65rem .85rem; display: inline-block; border: 1px solid rgba(101, 214, 237, .4); border-radius: 10px; background: #071219; color: var(--text); font-size: clamp(1.15rem, 3vw, 1.7rem); font-weight: 850; letter-spacing: .08em; }
.challenge-card p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.community-card-list { display: grid; gap: .65rem; }
.community-row { min-width: 0; padding: .85rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.community-row:first-child { border-top: 0; }
.community-row > div:first-child { min-width: 0; display: grid; gap: .18rem; }
.community-row small, .table-subline { display: block; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.row-actions { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.row-actions form { margin: 0; }
.muted-row { opacity: .62; }
.compact-button { min-height: auto; padding: .42rem .65rem; font-size: .74rem; }
.compact-empty { padding: .7rem 0; text-align: left; }
.access-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.access-chip { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ice); background: rgba(101, 214, 237, .06); font-size: .78rem; }
.form-panel { width: min(720px, 100%); margin-inline: auto; }
.community-form { display: grid; gap: 1rem; }
.field-row { display: grid; gap: .35rem; color: var(--text); font-size: .85rem; font-weight: 700; }
.field-row input:not([type="checkbox"]), .field-row select, .field-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .72rem .8rem; background: #091820; color: var(--text); font: inherit; }
.field-row input.alliance-tag-input, input.alliance-tag {
  font-family: "Cascadia Mono", "Segoe UI Mono", Consolas, "DejaVu Sans Mono", monospace;
  font-variant-numeric: slashed-zero tabular-nums;
  font-feature-settings: "zero" 1;
  font-weight: 750;
  letter-spacing: .055em;
}
.field-row input:focus, .field-row select:focus, .field-row textarea:focus { border-color: var(--ice); outline: 2px solid rgba(101, 214, 237, .14); }
.field-row small { color: var(--muted); font-weight: 400; }
.field-errors, .form-errors { color: var(--danger); font-weight: 650; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.danger-action, .danger-button { background: var(--danger) !important; color: #2b0808 !important; }
.muted-copy { color: var(--muted); }
.community-search { margin-bottom: 1rem; }
.community-search input { flex: 1 1 360px; }
.community-columns { align-items: start; }
.player-title-line, .player-name-with-badge { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.community-badge { display: inline-flex; align-items: center; min-height: 1.35rem; padding: .16rem .48rem; border: 1px solid rgba(154, 176, 189, .42); border-radius: 999px; background: rgba(154, 176, 189, .1); color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .07em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.community-badge.owner { border-color: rgba(255, 205, 92, .6); background: rgba(255, 205, 92, .13); color: #ffd977; }
.community-badge.admin { border-color: rgba(101, 214, 237, .58); background: rgba(101, 214, 237, .13); color: var(--ice); }
.community-badge.contributor { border-color: rgba(103, 232, 164, .55); background: rgba(103, 232, 164, .12); color: #7aefb2; }
.community-badge.supporter { border-color: rgba(224, 151, 255, .55); background: rgba(224, 151, 255, .12); color: #e3adff; }
.verification-result { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(101, 214, 237, .42); border-radius: 12px; background: rgba(101, 214, 237, .08); }
.verification-result h3 { margin: .2rem 0 1rem; }
.verification-result > p:last-of-type { color: var(--muted); }
.verification-result .form-actions form { margin: 0; }
.submission-guide { margin-bottom: 1rem; }
.submission-guide pre { overflow-x: auto; margin: .85rem 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #071219; color: var(--ice); }
.submission-guide code { color: var(--ice); }
.submission-form-panel { width: 100%; }
.submission-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.spreadsheet-heading { margin-top: .5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.spreadsheet-heading h2 { margin-bottom: .3rem; }
.spreadsheet-heading p:last-child { margin-bottom: 0; }
.spreadsheet-card { overflow: auto; max-height: 35rem; border: 1px solid var(--line); border-radius: 12px; background: #091820; }
.spreadsheet-table { min-width: 1040px; table-layout: fixed; }
.spreadsheet-table th { position: sticky; top: 0; z-index: 2; background: #10232e; }
.spreadsheet-table th:nth-child(2) { width: 16%; }
.spreadsheet-table th:nth-child(3) { width: 22%; }
.spreadsheet-table th:nth-child(4) { width: 12%; }
.spreadsheet-table th:nth-child(n+5):nth-child(-n+7) { width: 15%; }
.spreadsheet-table th span[aria-hidden="true"] { color: var(--ice); }
.spreadsheet-table td { height: 45px; padding: 0; background: rgba(7, 18, 25, .35); }
.spreadsheet-table input { width: 100%; height: 44px; min-height: 44px; padding: .55rem .7rem; border: 1px solid transparent; border-radius: 0; background: transparent; color: var(--text); font: inherit; font-variant-numeric: tabular-nums; }
.spreadsheet-table input::placeholder { color: rgba(143, 172, 184, .48); }
.spreadsheet-table input:focus { position: relative; z-index: 1; outline: 2px solid var(--ice); outline-offset: -2px; background: rgba(101, 214, 237, .07); }
.spreadsheet-table .spreadsheet-row-number { position: sticky; left: 0; z-index: 3; width: 3rem; padding-inline: .5rem; color: var(--muted); text-align: center; }
.spreadsheet-table tbody .spreadsheet-row-number { border-top: 1px solid rgba(37, 65, 78, .75); background: #10232e; font-size: .72rem; }
.spreadsheet-actions-column, .spreadsheet-row-actions { width: 2.8rem; text-align: center; }
.spreadsheet-remove-row { width: 2.2rem; min-height: 2.2rem; padding: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.25rem; font-weight: 400; }
.spreadsheet-remove-row:hover { background: rgba(255, 125, 125, .12); color: var(--danger); }
.spreadsheet-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.spreadsheet-tip { margin-left: auto; color: var(--muted); font-size: .76rem; }
.bulk-entry { border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 18, 25, .42); }
.bulk-entry summary { padding: .75rem 1rem; color: var(--ice); font-size: .82rem; font-weight: 750; cursor: pointer; }
.bulk-entry-content { padding: 0 1rem 1rem; display: grid; gap: .45rem; }
.bulk-entry-content label { font-size: .82rem; font-weight: 700; }
.bulk-entry-content textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #071219; color: var(--text); font: .82rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bulk-entry-content small, .bulk-entry-status { color: var(--muted); font-size: .74rem; }
.preview-stale { margin: 0; padding: .7rem .85rem; border: 1px solid rgba(255, 175, 85, .42); border-radius: 10px; background: rgba(255, 175, 85, .08); color: var(--ember); font-size: .82rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.submission-preview { margin-top: 1rem; }
.submission-preview table { min-width: 900px; }

@media (max-width: 980px) {
  .site-header { position: static; align-items: flex-start; padding-top: 1rem; padding-bottom: 1rem; }
  .site-header nav { flex-wrap: wrap; gap: .5rem 1rem; justify-content: flex-end; }
  .site-header nav a { padding: .25rem 0; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stat { width: min(300px, 80vw); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplemental-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-grid, .rights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-explainer-grid, .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(94vw, 1440px);
    padding-top: 1.5rem;
    padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }
  .site-header {
    position: sticky;
    min-height: 56px;
    display: flex;
    padding: .65rem 3vw;
    background: rgba(7, 18, 25, .96);
  }
  .site-header .brand { gap: .6rem; }
  .site-header .brand-mark { width: 34px; height: 34px; }
  .site-header > nav { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stat { margin-inline: auto; }
  .mobile-nav {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 .35rem env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(101, 214, 237, .22);
    background: rgba(7, 18, 25, .97);
    box-shadow: 0 -12px 36px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
  }
  .mobile-nav > a,
  .mobile-more > summary {
    position: relative;
    min-height: 64px;
    padding: 1.45rem .2rem .45rem;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    list-style: none;
  }
  .mobile-more > summary::-webkit-details-marker { display: none; }
  .mobile-nav > a::before,
  .mobile-more > summary::before {
    content: "";
    position: absolute;
    top: .75rem;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    opacity: .65;
  }
  .mobile-nav > a.active,
  .mobile-more.active > summary,
  .mobile-more[open] > summary { color: var(--ice); }
  .mobile-nav > a.active::before,
  .mobile-more.active > summary::before,
  .mobile-more[open] > summary::before {
    height: 5px;
    opacity: 1;
    box-shadow: 0 0 16px rgba(101, 214, 237, .5);
  }
  .mobile-more-menu {
    position: fixed;
    right: .75rem;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: .75rem;
    padding: .5rem;
    display: grid;
    gap: .25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0b1b25;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
  }
  .mobile-more:not([open]) .mobile-more-menu { display: none; }
  .mobile-more-menu a {
    min-height: 48px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 11px;
    font-weight: 700;
  }
  .mobile-more-menu a:hover { background: var(--surface-2); }
  .language-switcher-mobile { border-top: 1px solid var(--line); }
  .language-switcher-mobile > summary { min-height: 48px; padding: .75rem 1rem; border: 0; color: var(--ice); }
  .language-switcher-mobile .language-switcher-menu { position: static; min-width: 0; margin: 0 .4rem .4rem; box-shadow: none; }
  .mobile-account-name { padding: .55rem 1rem .15rem; color: var(--muted); font-size: .72rem; }
  .mobile-logout { width: 100%; margin: 0; }
  .mobile-logout button { width: 100%; min-height: 48px; padding: .75rem 1rem; background: transparent; color: var(--ice); text-align: left; }
  .page-heading {
    min-height: auto;
    margin-bottom: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1,
  .profile-heading h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }
  .svs-result-ocr { width: 100%; max-width: none; justify-items: stretch; text-align: left; }
  .svs-screenshot-upload { grid-template-columns: 1fr; }
  .contributor-glory-card { grid-template-columns: 1fr; }
  .contribution-trust-grid, .contribution-method-grid, .overlay-mode-grid { grid-template-columns: 1fr; }
  .two-column, .event-grid, .podium-grid, .rights-grid { grid-template-columns: 1fr; }
  .about-heading { min-height: auto; }
  .about-nav { gap: .4rem; }
  .about-feature { padding: 1.35rem; }
  .calculation-formula { grid-template-columns: 1fr; }
  .calculation-formula b { min-height: 1rem; }
  .calculation-formula b:first-of-type { transform: rotate(90deg); }
  .contact-actions { grid-template-columns: 1fr; }
  .faq-item summary { padding-left: 1rem; }
  .faq-item p { padding-right: 1rem; padding-left: 1rem; }
  .account-grid { grid-template-columns: 1fr; }
  .alliance-editor-body, .alliance-editor-form, .metric-correction-grid { grid-template-columns: 1fr; }
  .alliance-resume-form { padding-top: 1.2rem; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .compact-heading { min-height: auto; }
  .submission-meta-grid { grid-template-columns: 1fr; }
  .spreadsheet-heading { align-items: flex-start; flex-direction: column; }
  .spreadsheet-tip { width: 100%; margin-left: 0; }
  .community-row { align-items: flex-start; flex-direction: column; }
  .row-actions { width: 100%; justify-content: flex-start; }
  .detail-list > div { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .detail-list dd { text-align: left; }
  .challenge-card code { width: 100%; text-align: center; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .supplemental-stat-grid { grid-template-columns: 1fr 1fr; }
  .event-ranking-controls { align-items: stretch; flex-direction: column; }
  .event-section-tabs { width: 100%; overflow-x: auto; padding-bottom: .2rem; flex-wrap: nowrap; scrollbar-width: thin; }
  .event-ranking-tab { flex: 0 0 auto; }
  .event-scope-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-scope-tab:only-child { grid-column: 1 / -1; }
  .focus-filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-filter-bar > * { min-width: 0; }
  .focus-filter-bar .focus-season-field,
  .focus-filter-bar .filter-query,
  .focus-filter-bar button { grid-column: 1 / -1; width: 100%; }
  .focus-season-field select { width: 100%; min-width: 0; }
  .focus-view-tabs { align-items: flex-start; }
  .focus-window-copy { padding-left: .15rem; }
  .focus-season-actions { width: 100%; justify-content: flex-start; }
  .svs-schedule-preview-grid { grid-template-columns: 1fr; }
  .svs-schedule-preview-grid > div:nth-child(n) { border-top: 1px solid rgba(37, 65, 78, .55); border-left: 0; }
  .svs-schedule-preview-grid > div:first-child { border-top: 0; }
  .svs-match-card > summary { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: .65rem; }
  .svs-match-outcome { grid-column: 1 / -1; grid-row: 2; justify-items: center; justify-self: center; }
  .svs-match-card > summary .accordion-chevron { grid-column: 4; grid-row: 1; }
  .svs-stage-grid { grid-template-columns: minmax(72px, .65fr) repeat(2, minmax(0, 1fr)); font-size: .74rem; }
  .svs-stage-grid > * { padding: .5rem; }
  .player-event-row { grid-template-columns: 48px minmax(0, 1fr); gap: .65rem; align-items: start; }
  .player-event-row .event-total { grid-column: 2; justify-content: flex-start; margin-top: -.35rem; font-size: .82rem; }
  .player-event-row .stage-evidence { gap: .22rem .42rem; }
  .filter-bar, .search-form { width: 100%; align-items: stretch; flex-direction: column; }
  .filter-bar input, .filter-bar select, .filter-bar button, .search-form input, .search-form button { width: 100%; }
  .filter-bar .filter-multi-select { width: 100%; }
  .filter-multi-select-menu { width: 100%; }
  .player-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .player-filter-bar input:first-child,
  .player-filter-bar button { grid-column: 1 / -1; }
  .player-table-card { overflow-x: visible; }
  .player-table { table-layout: fixed; }
  .player-table th,
  .player-table td { white-space: normal; }
  .player-table th:first-child,
  .player-table td:first-child { width: 64%; }
  .player-table .player-focus-column {
    width: 36%;
    text-align: right;
  }
  .player-table .player-focus-column .sort-header {
    width: 100%;
    min-height: 44px;
    justify-content: flex-end;
    white-space: normal;
    line-height: 1.2;
  }
  .player-state-column,
  .player-alliance-column,
  .player-power-column,
  .player-hero-column,
  .player-kills-column,
  .player-observed-column { display: none; }
  .player-info-cell {
    padding-top: .8rem;
    padding-bottom: .8rem;
  }
  .player-primary {
    display: block;
    overflow-wrap: anywhere;
  }
  .mobile-player-meta {
    margin-top: .45rem;
    display: grid;
    gap: .12rem;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
  }
  .mobile-player-meta a { color: var(--ice); }
  .player-table .state-focus-total {
    display: block;
    font-size: 1rem;
  }
  .alliance-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .alliance-filter input:first-child { grid-column: 1 / -1; }
  .state-table-card,
  .alliance-table-card { overflow-x: visible; }
  .state-table,
  .alliance-table { table-layout: fixed; }
  .state-table th,
  .state-table td,
  .alliance-table th,
  .alliance-table td { white-space: normal; }
  .state-table th:first-child,
  .state-table td:first-child,
  .alliance-table th:first-child,
  .alliance-table td:first-child { width: 64%; }
  .state-table .state-svs-wins-column,
  .alliance-table .alliance-focus-column {
    width: 36%;
    text-align: right;
  }
  .state-table .state-svs-wins-column .sort-header,
  .alliance-table .alliance-focus-column .sort-header {
    width: 100%;
    min-height: 44px;
    justify-content: flex-end;
    white-space: normal;
    line-height: 1.2;
  }
  .state-players-column,
  .state-alliances-column,
  .state-power-column,
  .state-hero-column,
  .state-kills-column,
  .state-freshness-column,
  .alliance-state-column,
  .alliance-players-column,
  .alliance-power-column,
  .alliance-hero-column,
  .alliance-kills-column,
  .alliance-freshness-column { display: none; }
  .state-info-cell,
  .alliance-info-cell {
    padding-top: .8rem;
    padding-bottom: .8rem;
  }
  .directory-primary {
    display: block;
    overflow-wrap: anywhere;
  }
  .mobile-directory-meta {
    margin-top: .45rem;
    display: grid;
    gap: .12rem;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
  }
  .mobile-directory-meta a { color: var(--ice); }
  .alliance-table .state-focus-total {
    display: block;
    font-size: 1rem;
  }
  .event-score-table-card { overflow-x: visible; }
  .event-score-table { table-layout: fixed; }
  .event-score-table th,
  .event-score-table td { white-space: normal; }
  .event-score-table .event-rank-column { width: 64%; }
  .event-score-table .event-score-column {
    width: 36%;
    text-align: right;
  }
  .event-player-column,
  .event-state-column,
  .event-alliance-column,
  .event-minimum-column,
  .event-stages-column,
  .event-evidence-column,
  .desktop-event-label,
  .desktop-event-score { display: none; }
  .mobile-event-label,
  .mobile-event-score { display: inline; }
  .event-mobile-identity {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
  }
  .event-rank-value {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
  }
  .mobile-event-info {
    min-width: 0;
    display: grid;
    gap: .3rem;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
  }
  .mobile-event-info > a { overflow-wrap: anywhere; }
  .mobile-event-info a { color: var(--ice); }
  .mobile-event-score {
    font-weight: 750;
    white-space: nowrap;
  }
  .site-footer {
    padding-bottom: calc(2rem + 64px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
  }
  .visitor-widget { width: 100%; }
  .visitor-counts { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .visitor-widget-title { display: none; }
  .visitor-count { padding-inline: .35rem; }
}
