@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-ext-800.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/brand/fonts/barlow-condensed-latin-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lobbito — one visual language across the public site and player workspace. */
:root {
  --bg: #0B0D10; --panel: #1B1F26; --panel-2: #232830;
  --line: #303641; --line-strong: #474E59; --text: #F4F5F7; --muted: #9AA0A6; --dim: #9AA0A6;
  --orange: #FF7A00; --orange-2: #E96F00; --orange-soft: #FF7A0018;
  --blue: #FF7A00; --blue-2: #E96F00; --blue-soft: #FF7A0018;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Manrope', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', monospace;
  --surface-soft: #14171C; --border-soft: #FFFFFF0D;
}
body { font-size: 14px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--font); text-transform: none; letter-spacing: -.025em; line-height: 1.25; }
.bg-fx { background: var(--bg); }
.bg-fx::after, .topbar::after, .mode-card::after, .hero-glow { display: none; }
.orange, .verify-code b { text-shadow: none; }
.ui-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.container { max-width: 1280px; padding-inline: 40px; }
.kicker, .af-eyebrow { font: 700 10px/1.5 var(--font); color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.btn { clip-path: none; min-height: 44px; border-radius: 8px; font: 700 13px var(--font); letter-spacing: 0; text-transform: none; transition: background-color .18s, border-color .18s, transform .18s, opacity .18s; }
.btn-sm { min-height: 38px; }
.btn-lg { height: 50px; padding-inline: 24px; font-size: 13px; }
.btn-xl { height: 52px; font-size: 14px; }
.btn .ui-icon { width: 18px; height: 18px; }
.btn-orange { background: var(--orange); color: var(--bg); box-shadow: 0 4px 14px #0002; }
.btn-orange:hover:not(:disabled) { background: #FF922E; filter: none; transform: translateY(-1px); }
.btn-blue { color: var(--text); background: var(--panel-2); border: 1px solid var(--line); box-shadow: none; }
.btn-blue:hover:not(:disabled), .btn-ghost:hover:not(:disabled) { background: #2A2F38; border-color: var(--line-strong); }
.btn-ghost { border: 1px solid var(--line); background: #FFFFFF04; box-shadow: none; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.btn:disabled { transform: none; opacity: .45; }
.topbar { background: var(--bg); border-bottom: 1px solid var(--border-soft); backdrop-filter: none; }
.topbar-inner { max-width: 1280px; height: 80px; padding-inline: 40px; gap: 30px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand img { display: block; width: 122px; height: auto; mix-blend-mode: normal; }
.brand-product { color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); font: 600 17px var(--display); text-transform: uppercase; letter-spacing: .12em; }
.nav { gap: 4px; }
.nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; font: 600 12px/1.5 var(--font); letter-spacing: 0; text-transform: none; border-radius: 8px; }
.nav a:hover { color: var(--text); background: #FFFFFF05; }
.nav a.active { color: #FFA34F; background: #FF7A0014; }
.nav a.active::after { display: none; }
.nav.guest-only { margin-inline: auto; }
.nav-caption, .nav-footer, .topbar-context { display: none; }
.topbar-right { gap: 16px; }
.coin-chip { display: flex; gap: 8px; align-items: center; color: var(--text); border-color: var(--line); border-radius: 8px; box-shadow: none; background: var(--surface-soft); font-size: 12px; }
.user-chip { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; clip-path: none; background: var(--surface-soft); }
.user-chip img { box-shadow: none; }
.user-name { font-size: 12px; }
.user-role { font-size: 10px; }
.user-dropdown { padding: 6px; border-radius: 10px; background: var(--panel); border-color: var(--line); }

/* Public landing: real capabilities, a typographic hero and the original mark. */
.hero { min-height: 660px; padding-block: 76px 72px; grid-template-columns: 1.12fr 1fr; gap: 64px; }
.hero-eyebrow { display: inline-flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); letter-spacing: .035em; }
.hero-eyebrow > span { width: 6px; height: 6px; border-radius: 2px; background: var(--orange); }
.hero-title { font: 750 clamp(46px, 4.6vw, 68px)/1.1 var(--font); letter-spacing: -.06em; margin: 22px 0 24px; text-transform: none; }
.hero-title span:first-child { background: none; color: var(--orange); filter: none; }
.hero-text { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-cta { gap: 24px; margin-top: 30px; align-items: center; }
.hero-cta .btn { gap: 24px; }
.hero-secondary { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; text-decoration: none; }
.hero-secondary span { font-size: 20px; color: var(--muted); }
.hero-secondary:hover { color: var(--orange); }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; margin-top: 24px; }
.hero-note .ui-icon { color: var(--orange); width: 15px; height: 15px; }
.login-error { min-height: 0; margin-top: 16px; }
.login-error:empty { display: none; }
.hero-art { display: block; max-width: 460px; width: 100%; margin-left: auto; }
.arena-pass { width: 100%; position: relative; border: 1px solid #343941; border-radius: 16px; overflow: hidden; background: linear-gradient(145deg, #20252C, #12151A 65%); box-shadow: 0 24px 64px -32px #0009; }
.pass-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-soft); }
.pass-brand { font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.pass-brand b { margin-left: 5px; color: var(--muted); font-weight: 500; }
.pass-game { color: var(--muted); border: 1px solid #FFFFFF14; border-radius: 4px; padding: 4px 7px; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.pass-art { position: relative; height: 202px; display: grid; place-items: center; overflow: hidden; }
.hero-art .pass-art img { position: relative; width: 180px; height: auto; mix-blend-mode: normal; animation: none; z-index: 1; }
.pass-orbit { position: absolute; width: 260px; height: 150px; border: 1px solid #FFFFFF09; border-radius: 20px; transform: rotate(-18deg); }
.orbit-inner { width: 226px; height: 180px; transform: rotate(18deg); border-color: #FF7A0018; }
.pass-cross { position: absolute; font: 400 19px var(--mono); color: #FFFFFF20; }
.cross-a { left: 24px; top: 24px; }.cross-b { right: 24px; bottom: 0; }
.pass-title { text-align: center; padding: 0 24px 24px; }
.pass-title p { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.pass-title strong { font: 600 28px/1.1 var(--display); letter-spacing: .035em; }
.pass-modes { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 24px; border-top: 1px solid #FFFFFF0E; }
.pass-modes > span { display: grid; justify-items: center; gap: 1px; margin-block: 18px; border-right: 1px solid #FFFFFF0E; }
.pass-modes > span:last-child { border: 0; }
.pass-modes b { font: 600 31px/1.1 var(--display); }
.pass-modes b span { color: var(--orange); font-size: 21px; margin-inline: 2px; }
.pass-modes small { color: var(--muted); font-size: 9px; }
.pass-bottom { display: flex; align-items: center; justify-content: space-between; background: #FFFFFF03; padding: 14px 24px; border-top: 1px solid #FFFFFF0A; color: var(--muted); font-size: 7px; letter-spacing: .12em; }
.pass-bottom .ui-icon { color: var(--orange); width: 16px; height: 16px; }
.pass-caption { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 9px; }
.caption-line { width: 22px; height: 1px; background: var(--orange); }
.arena-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.arena-benefits > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 16px; border-right: 1px solid var(--border-soft); }
.arena-benefits > div:first-child { justify-content: flex-start; padding-left: 0; }.arena-benefits > div:last-child { border: 0; }
.arena-benefits .ui-icon { width: 22px; height: 22px; color: var(--orange); }
.arena-benefits strong, .arena-benefits small { display: block; }
.arena-benefits strong { font-size: 12px; font-weight: 650; }
.arena-benefits small { font-size: 11px; color: var(--muted); margin-top: 3px; }
#landing .section { padding-block: 72px 12px; }
.landing-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.landing-section-head .kicker, .landing-cta .kicker { color: var(--orange); margin-bottom: 10px; }
.landing-section-head h2 { font: 700 clamp(25px, 2.7vw, 34px)/1.25 var(--font); letter-spacing: -.04em; }
.landing-section-head > p { color: var(--muted); font-size: 12px; line-height: 1.85; }
.landing-mode { position: relative; padding: 26px; background: var(--surface-soft); border: 1px solid #292E35; border-radius: 12px; transition: border-color .2s, background-color .2s; }
.landing-mode:hover { background: var(--panel); border-color: #4E4134; }
.landing-mode-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.landing-mode-top .ui-icon { width: 22px; height: 22px; color: var(--orange); }
.landing-mode-number { display: block; margin: 22px 0 16px; font: 600 78px/.95 var(--display); letter-spacing: -.02em; }
.landing-mode-number span { color: #6F757E; font-weight: 500; font-size: 52px; margin: 0 4px; }
.landing-mode h3 { font-size: 16px; margin-bottom: 10px; }
.landing-mode > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.landing-mode-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--border-soft); margin-top: 24px; padding-top: 18px; color: var(--muted); font-size: 10px; }
.landing-mode-foot .ui-icon { width: 16px; height: 16px; }
.steps { gap: 32px; }
.steps li { clip-path: none; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 24px 0 0; gap: 12px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.step-top .ui-icon { color: var(--text); width: 22px; height: 22px; }
.step-top span { color: var(--muted); font: 500 22px var(--display); }
.steps strong { font: 650 15px var(--font); letter-spacing: -.02em; text-transform: none; }
.steps p { max-width: 34ch; color: var(--muted); font-size: 13px; line-height: 1.9; }
.landing-cta-wrap { padding-top: 72px; padding-bottom: 64px; }
.landing-cta { padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(110deg, #1B1F26, #14171C); }
.landing-cta h2 { font-size: 30px; letter-spacing: -.045em; margin-bottom: 10px; }
.landing-cta p:not(.kicker) { color: var(--muted); font-size: 12px; }
.landing-cta .btn { flex-shrink: 0; gap: 28px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 0; padding-top: 28px; padding-bottom: 36px; border-color: var(--border-soft); color: var(--muted); }
.footer img { display: block; width: 112px; height: auto; mix-blend-mode: normal; margin-bottom: 10px; }
.footer-brand p { font-size: 10px; }
.footer nav { display: flex; gap: 24px; font-size: 10px; }
.footer a { text-decoration: none; }.footer a:hover { color: var(--text); }
.footer-credit { font-size: 10px; text-align: right; }.footer-credit b { color: var(--text); font-weight: 600; }.footer-credit span { display: block; font-size: 9px; margin-top: 4px; }

/* Player workspace: hierarchy, compact data and consistent controls. */
.app-main { padding-top: 36px; padding-bottom: 64px; }
.page-head { align-items: center; margin-bottom: 28px; gap: 24px; }
.page-title, .af-header h1 { font: 750 clamp(28px, 3vw, 38px)/1.2 var(--font); letter-spacing: -.045em; text-transform: none; margin-top: 8px; }
.page-description { color: var(--muted); font-size: 13px; margin-top: 10px; }
.stat-strip { gap: 0; padding: 14px 8px; border: 1px solid var(--border-soft); background: var(--surface-soft); border-radius: 12px; }
.stat-strip div { min-width: 104px; padding: 0 18px; border: 0; border-right: 1px solid var(--line); background: transparent; clip-path: none; }
.stat-strip div:last-child { border: 0; }
.stat-strip b { color: var(--text); font: 600 28px/1.1 var(--display); }
.stat-strip span { font-size: 9px; text-transform: none; letter-spacing: 0; margin-top: 5px; }
.panel, .af-panel, .kpi, .t-card, .p-rank { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; clip-path: none; backdrop-filter: none; }
.panel { padding: 24px; margin-bottom: 18px; }
.panel h3, .af-panel h3 { font: 650 16px/1.4 var(--font); letter-spacing: -.02em; }
.panel .panel-title { font: 650 13px/1.5 var(--font) !important; letter-spacing: 0 !important; gap: 8px; margin-bottom: 14px !important; }
.panel-title .ui-icon { width: 17px; height: 17px; color: var(--muted); }
.panel-accent { border-color: #FF7A0045; background: var(--panel); }
.play-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 280px; }
.play-main, .play-side { min-width: 0; }
.play-side .panel { background: var(--surface-soft); border-color: #282D35; padding: 20px; }
.play-side .muted.small { font-size: 11px; line-height: 1.8; }
.squad { background: var(--surface-soft); border-color: #282D35; }
.squad-title { font-size: 16px; margin-top: 5px; }
.squad-tools .input { min-height: 38px; height: 38px; }
.squad-tools .btn-sm { font-size: 11px; }
.squad-grid { gap: 10px; }
.slot { border-radius: 10px; background: #FFFFFF03; border-color: #FFFFFF10; min-width: 0; }
.slot.empty { border-color: #FFFFFF1A; }
.slot.empty:hover { border-color: var(--line-strong); background: #FFFFFF05; }
.slot-avatar { box-shadow: none; }
.slot.filled, .slot.filled.leader, .slot.me { background: #1B1F26; border-color: #FF7A0040; box-shadow: none; }
.slot-avatar img, .slot.leader .slot-avatar img { box-shadow: 0 0 0 1px var(--line-strong); }
.slot-dot.on { box-shadow: none; }
#modePicker { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.mode-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.mode-picker-head h2 { font: 650 15px/1.4 var(--font); }
.mode-picker-head > span { color: var(--muted); font-size: 10px; }
.mode-select { gap: 12px; }
.mode-card, .mode-card.orange { background: #12161B; color: var(--text); border: 1px solid var(--line); border-radius: 10px; clip-path: none; padding: 24px 18px; }
.mode-big, .mode-card.orange .mode-big { font: 600 52px/.95 var(--display); background: none; color: var(--text); }
.mode-label, .mode-card.orange .mode-label { font: 500 10px/1.5 var(--font); text-transform: none; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.mode-queue { font-size: 10px; margin-top: 14px; }.mode-queue b { font-family: var(--font); font-weight: 650; }
.mode-select .mode-card:hover { transform: translateY(-2px); filter: none; border-color: var(--line-strong); }
.mode-select .mode-card[aria-checked="true"], .mode-select .mode-card.orange[aria-checked="true"] { background: #FF7A0008; border-color: var(--orange); box-shadow: inset 0 0 0 1px #FF7A0020; }
.mode-select .mode-card[aria-checked="true"] .mode-big { color: var(--orange); }
.mode-select .mode-card[aria-checked="true"]::before { content: '✓'; position: absolute; top: 12px; right: 12px; color: var(--orange); font: 600 12px var(--font); }
.mode-select:has(.mode-card) .mode-card[aria-checked="false"] { opacity: 1; }
.queue-bar { margin-top: 22px; padding: 22px 0 0; gap: 16px; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; clip-path: none; }
.queue-mode { font: 600 30px var(--display); }
.queue-info > .muted { font-size: 10px; }.queue-actions .check { font-size: 10px; }
.queue-actions .btn-xl { padding-inline: 24px; }
.stake-picker { border-radius: 8px; background: var(--surface-soft); border-color: var(--line); }
.stake-label { font: 650 11px var(--font); letter-spacing: 0; text-transform: none; }
.profile-row { align-items: flex-start; gap: 12px; }.profile-row > div { min-width: 0; }.profile-row b { overflow-wrap: anywhere; }
.friends-head .friends-online { font-size: 10px; }
.input, .select, .af-form input, .af-form select, .af-form textarea, .af-filter { border-radius: 8px; background-color: var(--bg); border-color: var(--line); font-size: 12px; }
.input::placeholder, .af-form input::placeholder { color: #858C96; }
.input:focus, .af-form input:focus, .af-form select:focus, .af-form textarea:focus { border-color: #FF7A0090; box-shadow: 0 0 0 3px #FF7A000D; }
input[type=checkbox], input[type=radio] { accent-color: var(--orange); }
.section-title { font-size: 26px; text-transform: none; letter-spacing: -.03em; }
.slash { width: 4px; height: 20px; background: var(--orange); transform: none; border-radius: 2px; }
.kpi { padding: 20px; }.kpi > span { color: var(--muted); font: 500 11px var(--font); letter-spacing: 0; text-transform: none; }.kpi > b { font-family: var(--display); }
.tabs button, .t-tabs button { font: 650 12px var(--font); letter-spacing: 0; text-transform: none; min-height: 44px; }
.tabs button.active::after { box-shadow: none; }
.table-panel { padding: 0; overflow: hidden; }
.table th, .ranking-table th { font: 600 10px var(--font); letter-spacing: .04em; background: #FFFFFF02; color: var(--muted); padding-block: 16px; }
.table td, .ranking-table td { font-size: 12px; border-color: var(--border-soft); padding-block: 16px; }
.table tbody tr:hover { background: #FFFFFF03; }
.af-page { padding-top: 0; }.af-header { margin-bottom: 28px; }.af-header p { font-size: 12px; line-height: 1.85; max-width: 600px; }.af-header h1 { margin-block: 10px 12px; }
.af-panel { padding: 24px; }.af-crown { background: var(--panel); border-color: #FF7A0045; }
.af-holder, .af-series-score, .af-stats strong { font-family: var(--display); }
.af-section-head h2 { font: 650 20px var(--font); }
.af-tag { color: var(--muted); background: #9AA0A60C; border-color: var(--line); border-radius: 5px; }
.af-tag-orange { color: #FFAC61; border-color: #FF7A0040; background: #FF7A0012; }
.af-tag-green { color: #34e09a; border-color: #34e09a35; background: #34e09a0d; }
.af-empty { background: #FFFFFF02; border-color: var(--line); line-height: 1.85; }
.af-map { background: var(--panel-2); min-height: 40px; }
.af-tabbar a { padding: 10px 14px; border-radius: 8px; }
.dialog, .toast, .user-dropdown { background: var(--panel); border-color: var(--line); border-radius: 12px; }
.dialog { max-height: min(85dvh, 900px); box-shadow: 0 32px 96px #0008; }
.dialog-body { padding: 28px; }.dialog-body h3 { font-size: 20px; }
.dialog::backdrop { background: #050709B8; backdrop-filter: blur(5px); }
.drawer { background: var(--panel); border-color: var(--line); }
.toast { font-size: 12px; }.state.ok::before, .live-dot { box-shadow: none; }

/* OBS retains a transparent canvas and its compact broadcast layout. */
body.arena-broadcast { color: var(--text); font-family: var(--font); }
.af-overlay { background: #1B1F26F5; border-color: var(--line); }
.af-overlay-brand { letter-spacing: .08em; border-color: var(--line); }
.af-overlay-brand img { display: block; width: 104px; height: auto; margin-right: 4px; }
.af-live-dot { box-shadow: none; }
.af-score-team strong { color: var(--text); font-family: var(--display); font-size: 52px; }.af-score-b strong { color: var(--orange); }
.af-overlay-status { border-color: var(--line); }

@media (min-width: 1200px) {
  body.is-member .topbar-inner { max-width: none; padding-inline: 28px; gap: 32px; }
  body.is-member .brand { width: 188px; }
  body.is-member .topbar-context { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; }
  .context-divider { color: var(--line-strong); }.topbar-context b { color: var(--text); font-weight: 500; }
  body.is-member .nav { position: fixed; top: 80px; left: 0; width: 224px; height: calc(100dvh - 80px); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; align-items: stretch; overflow-x: hidden; overflow-y: auto; border-right: 1px solid var(--border-soft); background: var(--bg); scrollbar-width: thin; }
  body.is-member .nav a { flex-shrink: 0; padding: 10px 12px; min-height: 42px; font-size: 12px; }
  body.is-member .nav a .ui-icon { width: 17px; height: 17px; color: #8D949E; }
  body.is-member .nav a.active .ui-icon { color: var(--orange); }
  .nav-caption { display: block; color: #868D97; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; padding: 12px 12px 6px; margin-top: 4px; }
  .nav-caption:first-child { padding-top: 0; margin-top: 0; }
  .nav-footer { display: block; padding: 24px 12px 0; margin-top: auto; color: var(--muted); font-size: 10px; line-height: 1.8; }
  .nav-footer b { color: var(--text); font-weight: 500; }
  body.is-member #appMain { max-width: none; width: calc(100% - 224px); margin-left: 224px; padding: 36px clamp(28px, 3vw, 56px) 64px; }
  body.is-member #appMain > .view { max-width: 1320px; margin-inline: auto; }
}
@media (max-width: 1199px) {
  .topbar-inner { gap: 20px; }.nav.guest-only a { padding-inline: 8px; font-size: 11px; }
  body.is-member .topbar-inner { height: auto; min-height: 76px; padding-top: 14px; gap: 14px; flex-wrap: wrap; }
  body.is-member .nav { order: 3; flex: 1 0 100%; width: 100%; padding-bottom: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; }
  body.is-member .nav a { padding: 10px 12px; font-size: 12px; flex-shrink: 0; scroll-snap-align: start; }
  body.is-member .nav a .ui-icon { width: 16px; height: 16px; }
  .hero { gap: 40px; }.hero-title { font-size: 56px; }
  .play-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
  .page-head { align-items: flex-start; }.stat-strip div { min-width: 85px; padding-inline: 14px; }
}
@media (max-width: 1000px) {
  .topbar-inner { height: auto; min-height: 76px; flex-wrap: wrap; gap: 16px; row-gap: 12px; padding-top: 14px; }
  .nav.guest-only { order: 3; flex: 1 0 100%; width: 100%; margin: 0; padding-bottom: 12px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
  .nav.guest-only a { flex-shrink: 0; }
  .container { padding-inline: 28px; }.topbar-inner { padding-inline: 28px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 0; text-align: left; padding-block: 56px; gap: 32px; }
  .hero-art { order: 0; margin-left: auto; }.hero-copy { min-width: 0; }.hero-title { font-size: clamp(40px, 5.3vw, 52px); }.hero-text { margin: 0; font-size: 13px; }.hero-cta { justify-content: flex-start; gap: 18px; }
  .hero-cta .btn { gap: 16px; padding-inline: 18px; }.hero-note { font-size: 9px; }
  .pass-top { padding: 16px 18px; }.pass-art { height: 174px; }.hero-art .pass-art img { width: 150px; }.pass-title strong { font-size: 24px; }.pass-modes { margin-inline: 18px; }.pass-bottom { padding-inline: 18px; font-size: 6px; }
  .arena-benefits > div { padding-inline: 12px; gap: 10px; }.arena-benefits strong { font-size: 10px; }.arena-benefits small { font-size: 9px; }
  .landing-mode { padding: 22px; }.landing-mode > p br { display: none; }
  .play-layout { grid-template-columns: 1fr; }.play-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }.play-side .panel { margin: 0; }
  .kpis, .kpis.kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis.kpis-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container { padding-inline: 20px; }.topbar-inner { height: auto; min-height: 72px; padding: 14px 20px 0; gap: 16px; row-gap: 16px; }
  .brand img { width: 112px; }.brand { gap: 10px; }.brand-product { font-size: 15px; padding-left: 10px; }
  .topbar-right { gap: 8px; }.topbar-right .btn-sm { min-height: 36px; height: 36px; font-size: 10px; padding-inline: 13px; }
  .nav.guest-only { flex: 1 0 100%; padding-bottom: 12px; margin: 0; gap: 4px; justify-content: flex-start; }.nav.guest-only a { padding: 8px 10px; font-size: 10px; min-height: 36px; }
  body.is-member .topbar-inner { min-height: 68px; padding: 12px 20px 0; gap: 12px; }.user-chip { min-height: 40px; }.user-chip img { width: 28px; height: 28px; }
  body.is-member .nav a { padding: 9px 11px; gap: 7px; }.coin-chip { padding-inline: 8px; height: 36px; font-size: 10px; }
  .hero { padding-block: 48px 36px; grid-template-columns: 1fr; gap: 40px; }.hero-copy { width: 100%; }.hero-title { font-size: clamp(40px, 9.8vw, 60px); letter-spacing: -.055em; margin-block: 20px; }.hero-text { max-width: 500px; font-size: 13px; line-height: 1.85; }
  .hero-eyebrow { font-size: 10px; }.hero-cta { margin-top: 24px; gap: 20px; }.hero-cta .btn { height: 48px; padding-inline: 18px; font-size: 12px; }.hero-secondary { font-size: 11px; }.hero-note { margin-top: 22px; font-size: 9px; }
  .hero-art { max-width: 420px; margin: 0 auto; }.pass-art { height: 180px; }.hero-art .pass-art img { width: 160px; }.pass-title { padding-bottom: 20px; }.pass-top { padding: 18px 20px; }.pass-bottom { font-size: 7px; padding: 12px 20px; }
  .arena-benefits { grid-template-columns: 1fr; padding-block: 4px; }.arena-benefits > div, .arena-benefits > div:first-child { justify-content: flex-start; padding: 18px 0; border: 0; border-bottom: 1px solid var(--border-soft); gap: 16px; }.arena-benefits > div:last-child { border: 0; }.arena-benefits strong { font-size: 12px; }.arena-benefits small { font-size: 11px; }
  #landing .section { padding-block: 48px 0; }.landing-section-head { display: block; margin-bottom: 24px; }.landing-section-head h2 { font-size: 27px; }.landing-section-head > p { margin-top: 14px; font-size: 11px; }.landing-section-head > p br { display: none; }
  .landing-modes .mode-grid { grid-template-columns: 1fr; gap: 14px; }.landing-mode { display: grid; grid-template-columns: 86px minmax(0, 1fr); column-gap: 20px; padding: 22px; }.landing-mode-top { grid-column: 1 / -1; margin-bottom: 18px; }.landing-mode-number { grid-column: 1; grid-row: 2 / 4; font-size: 64px; margin: 0; align-self: center; }.landing-mode-number span { font-size: 42px; margin: 0 2px; }.landing-mode h3 { grid-column: 2; font-size: 14px; margin-bottom: 8px; }.landing-mode > p { grid-column: 2; font-size: 11px; }.landing-mode-foot { grid-column: 1 / -1; font-size: 9px; margin-top: 20px; padding-top: 14px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }.steps li { padding-top: 20px; }.step-top { margin: 0; }.steps p { max-width: none; }.steps strong { font-size: 14px; }
  .landing-cta-wrap { padding-top: 48px; padding-bottom: 40px; }.landing-cta { padding: 28px 24px; display: grid; gap: 24px; }.landing-cta h2 { font-size: 28px; }.landing-cta .btn { justify-self: start; gap: 24px; }
  .footer { align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-top: 24px; }.footer nav { flex-wrap: wrap; gap: 18px; }.footer-credit { width: 100%; text-align: left; }
  .app-main { padding-top: 24px; }.page-head { gap: 20px; margin-bottom: 24px; }.page-title, .af-header h1 { font-size: 28px; }.page-description { font-size: 11px; margin-top: 8px; }
  .stat-strip { width: 100%; padding: 14px 0; }.stat-strip div { flex: 1; min-width: 0; padding: 0 18px; }.stat-strip b { font-size: 26px; }.stat-strip span { font-size: 9px; }
  .panel, #modePicker { padding: 20px; }.mode-picker-head { margin-bottom: 16px; }.mode-picker-head h2 { font-size: 14px; }.mode-picker-head > span { font-size: 8px; }
  .mode-select { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }.mode-select .mode-card { padding: 20px 12px; }.mode-select .mode-big { font-size: 42px; }.mode-select .mode-label { font-size: 9px; letter-spacing: 0; }.mode-queue { font-size: 9px; margin-top: 10px; }
  .mode-select .mode-card[aria-checked="true"]::before { top: 8px; right: 8px; font-size: 10px; }
  .queue-bar { margin-top: 18px; padding-top: 18px; flex-direction: column; align-items: stretch; gap: 18px; }.queue-mode { font-size: 28px; }.queue-actions .btn-xl { width: 100%; }.queue-actions { gap: 14px; }
  .kpis.kpis-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queue-actions { align-items: stretch; }
  .squad-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .slot { aspect-ratio: auto; min-height: 120px; padding: 20px 5px 10px; gap: 6px; }
  .slot::before { top: 6px; left: 6px; font-size: 8px; }
  .slot-avatar { width: 32px; }.slot-avatar img { border-radius: 8px; }
  .slot-name { width: 100%; text-align: center; font-size: 10px; }.slot-meta { font-size: 8px; gap: 3px; }
  .slot-label { font-size: 9px; text-align: center; max-width: 48px; }.slot-plus { width: 32px; height: 32px; font-size: 22px; border-radius: 8px; }
  .slot-crown { font-size: 12px; top: -11px; }.slot-dot { width: 9px; height: 9px; right: -2px; bottom: -2px; border-width: 1px; }.tier-chip { font-size: 7px; padding: 1px 4px; }
  .squad-head { gap: 16px; }.squad-tools { gap: 8px; }.squad-tools .input { font-size: 10px; }.squad-title { font-size: 15px; }.play-side { grid-template-columns: 1fr; }
  .input, .af-form input, .af-form select, .af-form textarea { font-size: 16px; }
  .panel .panel-title { font-size: 13px !important; }.panel h3, .af-panel h3 { font-size: 15px; }
  .af-panel { padding: 20px; }.af-header p { font-size: 11px; }.af-section-head h2 { font-size: 18px; }.af-score-team strong { font-size: 38px; }
  .dialog-body { padding: 24px; }.footer img { margin-bottom: 8px; }
}
@media (max-width: 380px) {
  .container { padding-inline: 16px; }.topbar-inner, body.is-member .topbar-inner { padding-inline: 16px; }.brand img { width: 102px; }.brand-product { font-size: 13px; }.hero-title { font-size: 39px; }.hero-cta { gap: 14px; }.hero-cta .btn { font-size: 11px; padding-inline: 16px; }.hero-secondary { font-size: 10px; }
  .panel, #modePicker { padding: 16px; }.mode-select .mode-card { padding: 18px 10px; }.mode-select .mode-big { font-size: 38px; }.landing-mode { padding: 20px; column-gap: 14px; }.landing-mode h3 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
