@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700;800&family=Golos+Text:wght@400;500;600;700;800&display=swap&subset=cyrillic');

:root { --bg: oklch(0.105 0.035 275); --panel: oklch(0.16 0.04 275); --panel-2: oklch(0.2 0.05 275); --line: oklch(0.29 0.055 275); --text: oklch(0.97 0.012 265); --muted: oklch(0.69 0.04 270); --accent: oklch(0.62 0.24 290); --accent-hover: oklch(0.65 0.22 290); --signal: oklch(0.83 0.15 205); --success: oklch(0.82 0.16 155); --danger: oklch(0.68 0.22 350); --radiant: oklch(0.82 0.15 195); --dire: oklch(0.72 0.2 350); --font-ui: "Golos Text", "Segoe UI", system-ui, sans-serif; --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif; --type-micro: 11px; --type-label: 12px; --type-caption: 13px; --type-control: 14px; --type-body: 15px; --type-subhead: 18px; --type-title: 26px; --ease-out: cubic-bezier(.16,1,.3,1); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: var(--type-body); line-height: 1.55; min-width: 320px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 120ms var(--ease-out); }
button:active, .primary-button:active, .steam-button:active { transform: scale(.97); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.topbar { height: 84px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; background: oklch(0.105 0.035 275 / .92); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .05em; }
.brand b { color: var(--success); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; transition: filter 180ms var(--ease-out); }
.brand:hover .brand-mark img { filter: drop-shadow(0 0 8px oklch(0.83 0.15 205 / .2)); }
nav { display: flex; align-items: center; gap: 34px; color: #aeb5bd; font-size: 15px; font-weight: 600; }
nav a:hover { color: #fff; }
.ghost-button, .outline-button { color: #fff; border: 1px solid oklch(0.34 0.06 275); background: transparent; padding: 10px 18px; font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.account-area { display: flex; align-items: center; gap: 9px; }
.account-pill { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 5px 9px 5px 5px; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.16 0.04 275); }
.account-pill:hover { border-color: #59616c; background: oklch(0.2 0.05 275); }
.account-avatar { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; overflow: hidden; background: oklch(0.27 0.055 275); color: #fff; font: 600 15px "Exo 2", sans-serif; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--type-caption); font-weight: 700; }
.account-logout { padding: 8px 4px; border: 0; background: transparent; color: #8f98a3; font-size: var(--type-label); font-weight: 600; }
.account-logout:hover { color: #fff; }
.notification-button { width: 42px; height: 42px; position: relative; display: grid; place-items: center; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.16 0.04 275); }
.notification-button:hover { border-color: #59616c; background: oklch(0.2 0.05 275); }
.notification-button svg { width: 19px; height: 19px; fill: #c9cfd6; }
.notification-button b { min-width: 20px; height: 20px; padding: 0 5px; position: absolute; top: -8px; right: -8px; display: grid; place-items: center; border: 2px solid var(--bg); border-radius: 11px; background: var(--accent); color: #fff; font-size: var(--type-micro); line-height: 1; }
.language-switch { display: flex; align-items: center; gap: 6px; color: #535c67; font-size: var(--type-label); font-weight: 700; letter-spacing: .08em; }
.language-switch button { padding: 7px 3px; border: 0; background: transparent; color: #707984; font-size: var(--type-label); font-weight: 700; }
.language-switch button.active { color: #fff; }
.hero { min-height: calc(100vh - 84px); padding: clamp(76px, 11vh, 130px) clamp(20px, 8vw, 130px) 54px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.hero::after { content: ''; width: min(52vw, 720px); aspect-ratio: 1; position: absolute; right: -2vw; top: 48%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, oklch(0.62 0.24 290 / .2), oklch(0.83 0.15 205 / .06) 38%, transparent 70%); filter: blur(24px); pointer-events: none; }
.hero-mark-scene { --hero-mark-turn: -5deg; --hero-mark-tilt: 5deg; --hero-mark-pointer-x: 0deg; --hero-mark-pointer-y: 0deg; width: min(43vw, 580px); aspect-ratio: 1; position: absolute; z-index: 0; right: 4vw; top: 49%; translate: 0 -50%; perspective: 1200px; transform-style: preserve-3d; pointer-events: none; }
.hero-mark-aura { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, oklch(0.83 0.15 205 / .22), oklch(0.62 0.24 290 / .13) 42%, transparent 72%); filter: blur(28px); animation: hero-mark-aura 4s ease-in-out infinite; }
.hero-mark-orbit { position: absolute; inset: 7%; border: 1px solid oklch(0.83 0.15 205 / .34); border-right-color: oklch(0.62 0.24 290 / .78); border-bottom-color: transparent; border-radius: 50%; filter: drop-shadow(0 0 8px oklch(0.83 0.15 205 / .5)); transform-style: preserve-3d; }
.hero-mark-orbit::after { content: ''; width: 7px; height: 7px; position: absolute; top: 11%; right: 14%; border-radius: 50%; background: #d9fbff; box-shadow: 0 0 8px #fff, 0 0 20px var(--signal); }
.hero-mark-orbit--a { animation: hero-mark-orbit-a 11s linear infinite; }
.hero-mark-orbit--b { inset: 14%; border-color: oklch(0.62 0.24 290 / .46); border-left-color: transparent; animation: hero-mark-orbit-b 15s linear infinite reverse; }
.hero-mark-rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--hero-mark-tilt) + var(--hero-mark-pointer-y))) rotateY(calc(var(--hero-mark-turn) + var(--hero-mark-pointer-x))) rotateZ(-2deg); will-change: transform; }
.hero-mark-idle { position: absolute; inset: 0; transform-style: preserve-3d; animation: hero-mark-idle-turn 18s ease-in-out infinite; will-change: transform; }
.hero-mark-render { width: 100%; height: 100%; display: block; object-fit: contain; filter: saturate(1.08) contrast(1.04) drop-shadow(-14px 22px 28px oklch(0.03 0.03 275 / .76)) drop-shadow(0 0 22px oklch(0.83 0.15 205 / .12)); transform: translate3d(0,-4px,28px); animation: hero-mark-float 4.8s ease-in-out infinite; }
.hero-mark-shadow { width: 68%; height: 10%; position: absolute; left: 16%; bottom: 2%; border-radius: 50%; background: oklch(0.03 0.03 275 / .8); box-shadow: 0 0 36px oklch(0.62 0.24 290 / .22); filter: blur(21px); transform: rotateX(72deg) translateZ(-54px); }
.hero-mark-spark { width: calc(3px * var(--scale)); height: calc(3px * var(--scale)); position: absolute; left: var(--x); top: var(--y); border-radius: 50%; background: #e7fdff; box-shadow: 0 0 9px var(--signal), 0 0 18px oklch(0.62 0.24 290 / .65); opacity: 0; animation: hero-mark-spark 3.8s var(--delay) ease-in-out infinite; }
@keyframes hero-mark-float { 0%, 100% { transform: translate3d(0,-5px,28px); } 50% { transform: translate3d(0,7px,34px); } }
@keyframes hero-mark-aura { 0%, 100% { opacity: .62; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes hero-mark-orbit-a { from { transform: rotateX(70deg) rotateZ(0deg); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes hero-mark-orbit-b { from { transform: rotateY(68deg) rotateZ(0deg); } to { transform: rotateY(68deg) rotateZ(360deg); } }
@keyframes hero-mark-idle-turn {
  0%, 100% { transform: rotateX(-7deg) rotateY(-14deg) rotateZ(-2deg); }
  25% { transform: rotateX(8deg) rotateY(-3deg) rotateZ(1.5deg); }
  50% { transform: rotateX(-4deg) rotateY(14deg) rotateZ(2.5deg); }
  75% { transform: rotateX(7deg) rotateY(3deg) rotateZ(-1.5deg); }
}
@keyframes hero-mark-spark { 0%, 100% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.6); } 38% { opacity: .95; } 70% { opacity: .25; transform: translate3d(8px, -24px, 0) scale(1.15); } }
.eyebrow { position: relative; z-index: 1; color: #aab1ba; font-size: var(--type-label); letter-spacing: .18em; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 22px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 58vw; position: relative; z-index: 1; }
h1 { margin: 18px 0; font: 700 clamp(54px, 7.2vw, 100px)/.92 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
h1 em { color: var(--signal); font-style: normal; }
.hero-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.hero-play-button { min-width: 220px; padding: 18px 28px; justify-content: space-between; font-family: var(--font-display); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.hero-play-button svg { transition: transform 150ms var(--ease-out); }
.hero-play-button:hover svg { transform: translateX(4px); }
.primary-button { border: 0; padding: 15px 20px; color: white; background: linear-gradient(115deg, var(--accent), oklch(0.57 0.23 275)); display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-weight: 700; box-shadow: 0 12px 34px oklch(0.62 0.24 290 / .2); }
.primary-button:hover { background: linear-gradient(115deg, var(--accent-hover), oklch(0.61 0.22 275)); }
.primary-button svg, .steam-button svg { width: 20px; height: 20px; fill: currentColor; }
.live-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px oklch(0.82 0.16 155 / .12); margin-top: 10px; }
.section-title span { color: var(--accent); font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; }
.auth-layout { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { padding: 58px clamp(30px, 6vw, 90px); background: radial-gradient(circle at 70% 45%, oklch(0.65 0.24 290 / .14), transparent 40%), oklch(0.12 0.035 275); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.auth-aside .back { color: var(--muted); font-size: 13px; }
.auth-aside h1 { font-size: clamp(48px, 5.5vw, 76px); }
.auth-aside > p { max-width: 480px; color: var(--muted); line-height: 1.7; }
.auth-panel { display: grid; place-items: center; padding: 42px 24px; }
.auth-card { width: min(430px, 100%); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.tabs button { flex: 1; padding: 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); }
.tabs button.active { color: #fff; border-color: var(--accent); }
.auth-card h2 { font: 600 32px var(--font-display); text-transform: uppercase; margin: 0 0 8px; }
.auth-card > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 30px; }
form { display: grid; gap: 18px; }
label { color: #c3c8cf; font-size: 12px; font-weight: 600; display: grid; gap: 8px; }
input, select, textarea { width: 100%; background: oklch(0.135 0.038 275); color: #fff; border: 1px solid oklch(0.31 0.055 275); padding: 14px 15px; outline: none; }
textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.65 0.24 290 / .1); }
.check { display: flex; grid-template-columns: 18px 1fr; align-items: start; font-weight: 400; color: var(--muted); line-height: 1.5; }
.check input { width: 16px; accent-color: var(--accent); margin-top: 2px; }
.wide { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; color: #68717c; font-size: var(--type-label); margin: 22px 0; }
.divider::before, .divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.steam-button { display: flex; align-items: center; justify-content: center; gap: 12px; background: #1b2838; color: #fff; padding: 14px; font-weight: 600; border: 1px solid #2c3e52; }
.steam-button:hover { background: #223349; }
.form-note { margin-top: 16px; color: var(--success); font-size: 13px; opacity: 0; }
.form-note.visible { opacity: 1; }
.form-note.error { color: var(--danger); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.connect-screen { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 50px 24px; background: radial-gradient(circle at 50% 45%, oklch(0.65 0.24 290 / .1), transparent 34%); }
.connect-card { width: min(500px, 100%); padding: 46px; border: 1px solid var(--line); background: var(--panel); text-align: center; }
.connect-card .eyebrow { justify-content: center; }
.connect-card h1 { font-size: 40px; line-height: 1; margin: 20px 0 12px; text-transform: uppercase; }
.connect-card p { color: var(--muted); line-height: 1.7; font-size: 14px; margin: 0 auto 28px; max-width: 380px; }
.connect-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 26px; background: #1b2838; border: 1px solid #2c3e52; }
.connect-icon svg { width: 34px; height: 34px; fill: #fff; }
.dashboard { max-width: 1240px; margin: 0 auto; padding: 48px 28px 80px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 38px; }
.player { display: flex; align-items: center; gap: 22px; }
.avatar { width: 82px; height: 82px; background: linear-gradient(135deg,#272d35,oklch(0.16 0.04 275)); border: 1px solid oklch(0.37 0.06 275); display: grid; place-items: center; font: 600 36px "Exo 2"; color: var(--accent); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.player h1 { font-size: 38px; line-height: 1; margin: 9px 0 6px; }
.player p { color: var(--muted); margin: 0; font-size: 13px; }
.profile-link { color: #c9ced4; display: inline-block; font-size: var(--type-label); margin-top: 9px; text-decoration: underline; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.profile-dashboard { max-width: 1320px; padding-top: 32px; }
.profile-hero { min-height: 238px; padding: 40px 44px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-bottom: 0; background: radial-gradient(circle at 70% 30%, oklch(0.65 0.24 290 / .09), transparent 32%), linear-gradient(105deg, oklch(0.2 0.05 275), oklch(0.145 0.04 275) 72%); }
.profile-cover-mark { width: 260px; height: 260px; position: absolute; right: 4%; top: 50%; color: transparent; font-size: 0; background: url('/major-mm-mark.png') center / contain no-repeat; opacity: .07; transform: translateY(-50%); pointer-events: none; }
.profile-hero .player { position: relative; z-index: 1; }
.profile-hero .player > div:last-child { min-width: 0; }
.profile-hero .player h1 { font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -.02em; margin: 12px 0 8px; }
.profile-avatar { width: 126px; height: 126px; flex: 0 0 126px; border-color: rgba(255,255,255,.15); font-size: 48px; box-shadow: 0 0 0 7px oklch(0.105 0.035 275 / .55); }
.profile-refresh { position: relative; z-index: 1; align-self: flex-end; }
.profile-hero-actions { position: relative; z-index: 1; align-self: flex-end; }
.profile-friend-actions { display: flex; gap: 9px; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.identity-badge { padding: 5px 8px; border: 1px solid rgba(255,255,255,.11); color: #8a949f; font-size: var(--type-micro); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.identity-badge.verified { border-color: oklch(0.82 0.16 155 / .3); background: oklch(0.82 0.16 155 / .06); color: var(--success); }
.profile-score-strip { min-height: 92px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-bottom: 0; background: oklch(0.135 0.038 275); }
.profile-score-strip > div { min-width: 0; padding: 18px 24px; position: relative; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 7px 16px; border-right: 1px solid var(--line); overflow: hidden; }
.profile-score-strip > div:last-child { border-right: 0; }
.profile-score-strip span { color: #737d88; font: 600 var(--type-micro) "Exo 2"; letter-spacing: .12em; }
.profile-score-strip strong { font: 600 25px "Exo 2"; font-variant-numeric: tabular-nums; }
.profile-score-strip small { color: #65707b; font-size: var(--type-micro); text-align: right; }
.profile-score-strip i { height: 2px; grid-column: 1 / -1; position: relative; background: #272d34; }
.profile-score-strip i::after { content: ''; width: var(--score); height: 100%; position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.profile-score-strip i.behavior::after { background: var(--success); }
.profile-tabs { min-height: 68px; padding: 0 28px; display: flex; gap: 8px; align-items: stretch; overflow-x: auto; border: 1px solid var(--line); background: oklch(0.145 0.04 275); }
.profile-tabs button { min-width: max-content; padding: 0 22px; position: relative; border: 0; background: transparent; color: #78828d; font: 600 12px "Exo 2"; letter-spacing: .12em; text-transform: uppercase; }
.profile-tabs button::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: transparent; }
.profile-tabs button:hover { color: #d8dde2; }
.profile-tabs button.active { color: #fff; }
.profile-tabs button.active::after { background: var(--accent); }
.profile-tab-panel { padding-top: 36px; animation: stats-panel-enter 180ms var(--ease-out) both; }
.profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 24px; align-items: start; }
.profile-main-column { min-width: 0; display: grid; gap: 24px; }
.wall-panel, .profile-overview, .profile-section { border: 1px solid var(--line); background: var(--panel); }
.wall-panel > .section-title, .profile-section > .section-title { min-height: 88px; padding: 20px 24px; margin: 0; border-bottom: 1px solid var(--line); }
.wall-composer { padding: 20px 24px; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; border-bottom: 1px solid var(--line); background: oklch(0.15 0.04 275); }
.composer-avatar, .wall-author-avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; overflow: hidden; background: oklch(0.275 0.055 275); border: 1px solid rgba(255,255,255,.09); color: var(--accent); font: 600 17px "Exo 2"; }
.composer-avatar img, .wall-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wall-composer label { display: block; }
.wall-composer label { min-width: 0; }
.wall-composer textarea { min-height: 82px; background: oklch(0.115 0.035 275); border-color: rgba(255,255,255,.08); }
.wall-composer textarea::placeholder { color: #5e6873; }
.emoji-widget { width: fit-content; position: relative; }
.emoji-widget-trigger { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #89939e; font-size: 21px; }
.emoji-widget-trigger:hover, .emoji-widget-trigger[aria-expanded="true"] { background: rgba(255,255,255,.07); color: #fff; }
.emoji-picker { width: 228px; padding: 9px; position: absolute; left: 0; bottom: calc(100% + 7px); z-index: 8; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; border: 1px solid oklch(0.37 0.06 275); border-radius: 10px; background: oklch(0.21 0.05 275); box-shadow: 0 16px 42px rgba(0,0,0,.48); }
.emoji-picker[hidden] { display: none; }
.emoji-picker button { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; font-size: 17px; }
.emoji-picker button:hover { border-color: oklch(0.65 0.24 290 / .35); background: oklch(0.65 0.24 290 / .08); }
.composer-actions { grid-column: 2; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.composer-actions > span, .settings-actions > span { color: var(--success); font-size: 12px; }
.composer-actions > span.error, .settings-actions > span.error { color: var(--danger); }
.composer-actions .primary-button { padding: 11px 17px; }
.wall-feed { min-height: 220px; }
.wall-post { padding: 22px 24px; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; border-bottom: 1px solid rgba(255,255,255,.065); }
.wall-post:last-child { border-bottom: 0; }
.wall-post > div:last-child { min-width: 0; }
.wall-post header { min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.wall-post header > div { display: flex; align-items: center; gap: 8px; }
.wall-post header strong { font-size: 13px; }
.wall-post header small { color: #626c77; font-size: var(--type-micro); text-transform: uppercase; }
.wall-post time { color: #66717c; font-size: var(--type-label); }
.wall-post p { margin: 14px 0 18px; color: #c4cad0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.wall-reaction-summary { min-height: 30px; margin-top: -10px; display: flex; align-items: center; gap: 7px; color: #7e8893; font-size: var(--type-label); }
.wall-reaction-summary span { letter-spacing: -5px; padding-right: 5px; font-size: 16px; }
.wall-reaction-summary b { font-weight: 500; }
.wall-post-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.065); }
.wall-reaction-control { position: relative; }
.wall-react-button { min-width: 104px; height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: #858f9a; font-size: var(--type-label); }
.wall-react-button:hover { background: rgba(255,255,255,.045); color: #fff; }
.wall-react-button.active { color: var(--accent); }
.wall-react-button span { font-size: 17px; }
.wall-reaction-menu { padding: 7px 8px; position: absolute; left: 0; bottom: calc(100% + 5px); z-index: 7; display: flex; gap: 3px; visibility: hidden; opacity: 0; transform: translateY(5px) scale(.97); transform-origin: left bottom; pointer-events: none; border: 1px solid oklch(0.38 0.06 275); border-radius: 28px; background: oklch(0.21 0.05 275); box-shadow: 0 14px 38px rgba(0,0,0,.45); transition: opacity 140ms ease, transform 140ms ease, visibility 140ms; }
.wall-reaction-control:hover .wall-reaction-menu, .wall-reaction-control:focus-within .wall-reaction-menu, .wall-reaction-control.open .wall-reaction-menu { visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wall-reaction-menu button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 22px; transition: transform 120ms ease, background 120ms ease; }
.wall-reaction-menu button:hover, .wall-reaction-menu button:focus-visible { background: rgba(255,255,255,.07); transform: translateY(-4px) scale(1.2); }
.wall-owner-actions { display: flex; gap: 10px; }
.wall-owner-actions button { padding: 6px 0; border: 0; background: transparent; color: #717b86; font-size: var(--type-micro); }
.wall-owner-actions button:hover { color: #fff; }
.wall-owner-actions button:last-child:hover { color: var(--danger); }
.wall-edit-form { margin-top: 14px; display: grid; gap: 9px; }
.wall-edit-surface { overflow: visible; border: 1px solid #3a424c; border-radius: 12px; background: oklch(0.115 0.035 275); }
.wall-edit-form textarea { min-height: 110px; padding: 13px 14px 4px; border: 0; border-radius: 12px; background: transparent; resize: vertical; }
.wall-edit-form textarea:focus { outline: 0; box-shadow: none; }
.wall-edit-toolbar { min-height: 40px; padding: 3px 7px 6px; display: flex; align-items: center; justify-content: space-between; }
.wall-edit-actions { display: flex; justify-content: flex-end; gap: 8px; }
.wall-edit-form .primary-button, .wall-edit-form .outline-button { width: auto; padding: 10px 14px; font-size: var(--type-label); }
.wall-edit-form [role="status"] { color: var(--danger); font-size: var(--type-label); }
.wall-empty { min-height: 210px; padding: 28px; display: grid; place-items: center; color: #69737e; font-size: 13px; text-align: center; }
.wall-loading { min-height: 210px; display: grid; place-items: center; }
.wall-loading span { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.profile-overview { position: sticky; top: 20px; }
.profile-bio { margin: 0; padding: 20px; border-bottom: 1px solid var(--line); color: #aeb6bf; font-size: 13px; line-height: 1.65; }
.profile-overview dl { margin: 0; padding: 8px 20px; }
.profile-overview dl div { min-height: 70px; padding: 14px 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.06); }
.profile-overview dl div:last-child { border-bottom: 0; }
.profile-overview dt { color: #66717c; font-size: var(--type-micro); font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.profile-overview dd { margin: 0; color: #e5e8eb; font: 600 17px "Exo 2"; }
.identity-card { margin: 16px 20px 0; padding: 15px; border: 1px solid rgba(255,255,255,.07); background: oklch(0.135 0.038 275); }
.identity-card > span, .profile-socials > span { color: #68727d; font: 600 var(--type-micro) "Exo 2"; letter-spacing: .12em; }
.identity-card strong { margin-top: 9px; display: block; color: #8c96a1; font: 600 15px "Exo 2"; text-transform: uppercase; }
.identity-card.verified strong { color: var(--success); }
.identity-card p { margin: 8px 0 0; color: #68727d; font-size: var(--type-micro); line-height: 1.55; }
.profile-socials { padding: 18px 20px 20px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.profile-socials > p { margin: 2px 0 0; color: #68727d; font-size: var(--type-caption); line-height: 1.5; }
.social-link { min-height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.07); background: oklch(0.135 0.038 275); color: #aab2bb; font-size: var(--type-label); }
.social-link:hover { border-color: #414952; color: #fff; }
.social-link b { font: 600 var(--type-label) "Exo 2"; text-transform: uppercase; }
.social-link.static { justify-content: flex-start; gap: 10px; }
.recent-games-panel, .activity-panel { border: 1px solid var(--line); background: var(--panel); }
.profile-block-head { min-height: 104px; padding: 20px 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.profile-block-head > div > span { color: var(--accent); font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; }
.profile-block-head h2 { margin: 6px 0 4px; font: 600 var(--type-title) var(--font-display); text-transform: uppercase; }
.profile-block-head p { margin: 0; color: #747e89; font-size: var(--type-caption); }
.recent-source > header { min-height: 42px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: oklch(0.135 0.038 275); }
.recent-source > header b { color: #aeb6bf; font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; }
.recent-source > header small { color: #68727d; font-variant-numeric: tabular-nums; }
.recent-source + .recent-source { border-top: 8px solid var(--bg); }
.recent-games-panel .match-row:last-child { border-bottom: 0; }
.compact-empty { min-height: 64px; padding: 18px; display: grid; align-items: center; color: #68727d; font-size: var(--type-label); }
.activity-scroll { padding: 64px 24px 24px; overflow-x: auto; }
.activity-grid { width: max-content; display: grid; grid-template-rows: repeat(7, 11px); grid-auto-flow: column; grid-auto-columns: 11px; gap: 4px; }
.activity-grid .activity-cell, .activity-legend i { width: 11px; height: 11px; display: block; background: #252b32; }
.activity-grid .activity-cell { padding: 0; position: relative; border: 0; cursor: pointer; transition: box-shadow 120ms var(--ease-out); }
.activity-grid .level-1, .activity-legend .level-1 { background: oklch(0.82 0.16 155 / .28); }
.activity-grid .level-2, .activity-legend .level-2 { background: oklch(0.82 0.16 155 / .48); }
.activity-grid .level-3, .activity-legend .level-3 { background: oklch(0.82 0.16 155 / .72); }
.activity-grid .level-4, .activity-legend .level-4 { background: var(--success); }
.activity-grid .activity-cell:hover, .activity-grid .activity-cell:focus-visible { z-index: 4; outline: 0; box-shadow: 0 0 0 2px oklch(0.12 0.036 275), 0 0 0 3px rgba(255,255,255,.42); }
.activity-grid .activity-cell.selected { z-index: 3; box-shadow: 0 0 0 2px oklch(0.12 0.036 275), 0 0 0 3px var(--accent); }
.activity-cell-tooltip { width: max-content; max-width: 220px; padding: 9px 11px; position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; display: grid; gap: 4px; visibility: hidden; opacity: 0; transform: translate(-50%, 4px) scale(.98); transform-origin: center bottom; pointer-events: none; border: 1px solid oklch(0.38 0.06 275); background: oklch(0.21 0.05 275); color: #f2f4f6; box-shadow: 0 12px 30px rgba(0,0,0,.48); text-align: left; transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out), visibility 140ms; }
.activity-cell-tooltip::after { content: ''; width: 7px; height: 7px; position: absolute; left: 50%; bottom: -5px; border-right: 1px solid oklch(0.38 0.06 275); border-bottom: 1px solid oklch(0.38 0.06 275); background: oklch(0.21 0.05 275); transform: translateX(-50%) rotate(45deg); }
.activity-cell-tooltip strong { font: 600 var(--type-label) "Exo 2"; white-space: nowrap; }
.activity-cell-tooltip small { color: #8d97a2; font: 400 var(--type-micro)/1.4 "Golos Text", sans-serif; }
.activity-cell:hover .activity-cell-tooltip, .activity-cell:focus-visible .activity-cell-tooltip { visibility: visible; opacity: 1; transform: translate(-50%, 0) scale(1); }
.activity-cell:nth-child(-n+21) .activity-cell-tooltip { left: 0; transform: translate(0, 4px) scale(.98); }
.activity-cell:nth-child(-n+21):hover .activity-cell-tooltip, .activity-cell:nth-child(-n+21):focus-visible .activity-cell-tooltip { transform: translate(0, 0) scale(1); }
.activity-cell:nth-last-child(-n+21) .activity-cell-tooltip { right: 0; left: auto; transform: translate(0, 4px) scale(.98); }
.activity-cell:nth-last-child(-n+21):hover .activity-cell-tooltip, .activity-cell:nth-last-child(-n+21):focus-visible .activity-cell-tooltip { transform: translate(0, 0) scale(1); }
.activity-legend { display: flex; align-items: center; gap: 4px; }
.activity-legend small { margin: 0 4px; color: #68727d; font-size: var(--type-micro); }
.activity-clear-filter { min-height: 34px; padding: 0 12px; border: 1px solid oklch(0.65 0.24 290 / .38); background: oklch(0.65 0.24 290 / .07); color: oklch(0.78 0.15 290); font: 600 var(--type-micro) "Exo 2"; letter-spacing: .06em; text-transform: uppercase; transition: border-color 140ms ease, background 140ms ease, color 140ms ease; }
.activity-clear-filter:hover, .activity-clear-filter:focus-visible { border-color: var(--accent); background: oklch(0.65 0.24 290 / .14); color: #fff; outline: 0; }
.profile-section { min-height: 440px; }
.section-intro { max-width: 650px; margin: 0; padding: 24px; color: #89939e; font-size: 14px; line-height: 1.65; }
.feature-empty { min-height: 270px; padding: 30px; display: grid; place-items: center; place-content: center; gap: 14px; text-align: center; }
.feature-empty > b { width: 58px; height: 58px; display: grid; place-items: center; border: 1px dashed oklch(0.38 0.06 275); color: #66717c; font: 400 28px "Exo 2"; }
.feature-empty h3 { margin: 0 0 6px; color: #8e98a3; font: 500 var(--type-subhead) var(--font-display); text-transform: uppercase; }
.social-group { padding: 0 24px 26px; }
.social-group > h3 { margin: 0 0 12px; color: #737d88; font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; }
.social-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.social-player-card { min-height: 82px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid rgba(255,255,255,.075); background: oklch(0.135 0.038 275); }
.social-player-card > a { min-width: 0; display: flex; align-items: center; gap: 12px; }
.social-player-card > a > span:last-child { min-width: 0; display: grid; gap: 5px; }
.social-player-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.social-player-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #707a85; font-size: var(--type-micro); }
.social-player-card small em { color: var(--success); font-style: normal; font-weight: 700; }
.social-avatar, .notification-avatar { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; overflow: hidden; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.275 0.055 275); color: var(--accent); font: 600 17px "Exo 2"; }
.social-avatar img, .notification-avatar img { width: 100%; height: 100%; object-fit: cover; }
.social-actions { display: flex; gap: 6px; }
.social-actions .primary-button, .social-actions .outline-button { width: auto; padding: 9px 11px; font-size: var(--type-label); }
.request-status { color: #747e89; font-size: var(--type-label); white-space: nowrap; }
.player-directory { padding-top: 4px; border-top: 1px solid var(--line); }
.directory-head { padding: 25px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.directory-head h3 { margin: 0 0 7px; color: #dfe3e7; font: 600 16px "Exo 2"; letter-spacing: .1em; }
.directory-head p { margin: 0; color: #707a85; font-size: var(--type-caption); }
.directory-search { width: min(100%, 390px); display: grid; grid-template-columns: minmax(0,1fr) auto; }
.directory-search input { min-width: 0; min-height: 40px; padding: 10px 12px; }
.directory-search .outline-button { width: auto; padding: 9px 13px; border-left: 0; }
.player-directory-list .social-player-card { position: relative; padding-left: 38px; }
.directory-rank { position: absolute; left: 11px; color: #59636e; font: 600 var(--type-label) "Exo 2"; }
.player-directory-list .social-player-card > .outline-button { width: auto; padding: 9px 11px; font-size: var(--type-label); }
.directory-pagination { padding-top: 16px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.directory-pagination .outline-button { width: auto; padding: 9px 13px; }
.directory-pagination span { color: #77818c; font-size: var(--type-label); }
.directory-empty, .directory-loading { min-height: 120px; display: grid; place-items: center; color: #6e7883; font-size: var(--type-caption); }
.directory-loading span { width: 24px; height: 24px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.players-page { max-width: 1180px; min-height: calc(100vh - 76px); margin: 0 auto; padding: 58px 28px 90px; }
.players-page-head { padding-bottom: 32px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.players-page-head h1 { margin: 16px 0 10px; font-size: clamp(50px, 6.8vw, 76px); text-transform: uppercase; }
.players-page-head p { max-width: 620px; margin: 0; color: #89939e; font-size: 14px; line-height: 1.65; }
.players-page-head > strong { min-width: 160px; display: grid; justify-items: end; color: var(--accent); font: 600 46px var(--font-display); }
.players-page-head > strong small { color: #737d88; font: 600 var(--type-micro) "Golos Text"; letter-spacing: .1em; text-transform: uppercase; }
.players-page-search { max-width: 620px; margin: 26px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; }
.players-page-search input { min-width: 0; min-height: 48px; }
.players-page-search .primary-button { min-width: 112px; }
.players-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.players-directory-grid .social-player-card { min-height: 94px; position: relative; padding-left: 42px; }
.players-directory-grid .social-player-card > .outline-button { width: auto; padding: 9px 11px; font-size: var(--type-label); }
.players-directory-grid .directory-rank { left: 13px; }
.notifications-page { max-width: 1040px; min-height: calc(100vh - 150px); margin: 0 auto; padding: 54px 28px 80px; }
.notifications-head { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.notifications-head h1 { margin: 14px 0 8px; font-size: clamp(46px, 6vw, 68px); text-transform: uppercase; }
.notifications-head p { max-width: 580px; margin: 0; color: #89939e; line-height: 1.6; }
.notifications-list { border: 1px solid var(--line); background: var(--panel); }
.notification-item { min-height: 92px; padding: 18px 20px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread { background: oklch(0.65 0.24 290 / .06); }
.notification-item.unread p::before { content: ''; width: 6px; height: 6px; margin: 0 8px 1px 0; display: inline-block; border-radius: 50%; background: var(--accent); }
.notification-item p { margin: 0 0 6px; color: #b6bec7; font-size: 13px; }
.notification-item p strong { color: #fff; }
.notification-item time { color: #69737e; font-size: var(--type-micro); }
.notification-actions { display: flex; gap: 7px; }
.notification-actions .primary-button, .notification-actions .outline-button { width: auto; padding: 10px 13px; font-size: var(--type-label); }
.achievement-grid { padding: 0 24px 28px; display: grid; gap: 12px; }
.achievement-grid article { padding: 20px; display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 18px; border: 1px solid rgba(255,255,255,.07); background: oklch(0.145 0.04 275); opacity: .62; }
.achievement-grid article.unlocked { opacity: 1; border-color: oklch(0.65 0.24 290 / .25); }
.achievement-mark { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid #353d46; color: #77818c; font: 600 22px "Exo 2"; }
.achievement-grid .unlocked .achievement-mark { border-color: oklch(0.65 0.24 290 / .4); background: oklch(0.65 0.24 290 / .08); color: var(--accent); }
.achievement-grid h3 { margin: 2px 0 6px; font: 600 var(--type-subhead) var(--font-display); text-transform: uppercase; }
.achievement-grid p { margin: 0 0 14px; color: #858f9a; font-size: var(--type-caption); }
.achievement-grid small { color: #6b7580; font-size: var(--type-micro); }
.achievement-progress { height: 3px; margin-bottom: 7px; background: #292f36; }
.achievement-progress i { display: block; height: 100%; background: var(--accent); }
.settings-section { padding-bottom: 36px; }
.settings-form { max-width: 880px; padding: 24px; }
.settings-form textarea { min-height: 120px; }
.settings-actions { display: flex; align-items: center; gap: 18px; }
.settings-group { padding-bottom: 24px; display: grid; gap: 16px; border-bottom: 1px solid var(--line); }
.settings-group h3 { margin: 0; color: #818b96; font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; text-transform: uppercase; }
.settings-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-form .config-editor { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--type-caption); line-height: 1.65; tab-size: 2; }
.config-section { min-height: 480px; }
.config-section > .section-title { align-items: center; }
.config-section > .section-title .outline-button { width: auto; }
.config-section pre { margin: 0; padding: 24px; overflow: auto; background: oklch(0.115 0.035 275); color: #c9d1d9; font: var(--type-caption)/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.config-note { min-height: 18px; margin: 8px 24px; color: var(--success); font-size: var(--type-label); }
.stats-source-switch { width: fit-content; display: grid; grid-template-columns: repeat(2, minmax(138px, 1fr)); margin-bottom: 28px; padding: 4px; border: 1px solid var(--line); background: oklch(0.135 0.038 275); }
.stats-source-switch button { min-height: 42px; padding: 10px 18px; border: 0; background: transparent; color: #737d88; font: 600 12px "Exo 2"; letter-spacing: .08em; text-transform: uppercase; }
.stats-source-switch button:hover { color: #dce1e6; }
.stats-source-switch button.active { background: var(--accent); color: #fff; box-shadow: 0 7px 18px oklch(0.65 0.24 290 / .16); }
.stats-source-panel { animation: stats-panel-enter 180ms var(--ease-out) both; }
@keyframes stats-panel-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.privacy-onboarding { margin: -10px 0 32px; padding: 26px 28px; border: 1px solid oklch(0.65 0.24 290 / .3); background: linear-gradient(110deg, oklch(0.65 0.24 290 / .09), transparent 62%), var(--panel); display: grid; grid-template-columns: 1.1fr 1.35fr auto; gap: 28px; align-items: center; }
.privacy-onboarding.public-profile { grid-template-columns: 1fr 1.35fr; }
.privacy-copy > span { color: var(--accent); font: 600 12px "Exo 2"; letter-spacing: .14em; }
.privacy-copy h2 { margin: 8px 0; font: 600 var(--type-title) var(--font-display); text-transform: uppercase; }
.privacy-copy p { max-width: 430px; margin: 0; color: #b1b8c1; font-size: 15px; line-height: 1.6; }
.privacy-onboarding ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.privacy-onboarding li { display: flex; align-items: center; gap: 12px; color: #e0e4e8; font-size: 15px; line-height: 1.5; }
.privacy-onboarding li b { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid oklch(0.65 0.24 290 / .4); color: var(--accent); font: 600 12px "Exo 2"; }
.privacy-actions { width: 240px; display: grid; gap: 10px; }
.privacy-actions .steam-launch, .privacy-actions .outline-button { width: 100%; justify-content: center; font-size: 14px; }
.privacy-actions small { color: #9aa3ad; font-size: 12px; line-height: 1.5; text-align: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.stat-grid article { padding: 28px; min-height: 150px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--panel); }
.stat-grid article:last-child { border-right: 0; }
.stat-grid small { color: var(--muted); letter-spacing: .12em; font-size: var(--type-label); }
.stat-grid strong { font: 600 46px var(--font-display); margin-top: 12px; }
.stat-grid span { color: #6e7782; font-size: var(--type-label); margin-top: auto; }
.stat-grid .accent strong { color: var(--accent); }
.stat-grid-four { grid-template-columns: repeat(4,1fr); }
.stat-grid-four strong { font-size: clamp(34px, 4vw, 48px); }
.bar { height: 3px; background: oklch(0.29 0.055 275); margin-top: auto; }
.bar i { display: block; height: 100%; background: var(--accent); }
.platform-section { margin-bottom: 42px; }
.platform-stats { grid-template-columns: repeat(4, 1fr); }
.platform-history { margin-top: 18px; }
.platform-stats strong, .rating-change strong, .platform-match-row .match-duration strong { font-variant-numeric: tabular-nums; }
.platform-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid oklch(0.65 0.24 290 / .4); background: oklch(0.65 0.24 290 / .08); color: var(--accent); font: 600 13px "Exo 2"; letter-spacing: .06em; }
.rating-change { display: grid; gap: 5px; }
.rating-change.positive strong { color: var(--success); }
.rating-change.negative strong { color: var(--danger); }
.empty { padding: 28px 20px; border-bottom: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 13px; }
.platform-empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.platform-empty a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.matches-section { margin-top: 56px; }
.section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.section-title h2 { font: 600 var(--type-title) var(--font-display); text-transform: uppercase; margin: 6px 0 0; }
.section-title > small { color: #68717b; font-size: var(--type-micro); letter-spacing: .13em; }
.matches-list { border-top: 1px solid var(--line); }
.match-row { min-height: 82px; display: grid; grid-template-columns: 48px 2fr 1fr 1fr 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); padding: 13px 18px; background: var(--panel); }
.match-row:hover { background: var(--panel-2); }
a.match-row:hover { border-color: oklch(0.65 0.24 290 / .35); }
.hero-avatar { width: 42px; height: 42px; display: grid; place-items: center; background: oklch(0.27 0.055 275); color: #dfe3e7; font: 600 18px "Exo 2"; }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-hero, .match-result, .match-kda, .match-duration { display: grid; gap: 5px; }
.match-row strong { font-size: 13px; }
.match-row span { font-size: var(--type-label); color: #727b85; }
.match-result.win strong { color: var(--success); }
.match-result.loss strong { color: var(--danger); }
.match-details-page { max-width: 1240px; min-height: calc(100vh - 150px); margin: 0 auto; padding: 40px 28px 80px; }
.match-details-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.match-details-head h1 { margin: 16px 0 10px; font-size: clamp(46px, 6vw, 68px); text-transform: uppercase; }
.match-details-head p { margin: 0; color: var(--muted); font-size: 14px; }
.match-head-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-actions { justify-content: center; margin-top: 16px; }
.result-actions .primary-button { margin-top: 0; }
.feedback-page { max-width: 1180px; min-height: calc(100vh - 150px); margin: 0 auto; padding: 40px 28px 80px; }
.feedback-head { max-width: 760px; margin: 26px 0 34px; }
.feedback-head h1 { margin: 14px 0 12px; font-size: clamp(44px, 6vw, 68px); line-height: .98; text-transform: uppercase; }
.feedback-head p { color: #929ca7; line-height: 1.65; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feedback-card { padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.feedback-card header span { color: var(--accent); font: 600 var(--type-micro) "Exo 2"; letter-spacing: .12em; text-transform: uppercase; }
.feedback-card h2 { margin: 8px 0 18px; font: 600 22px "Exo 2"; text-transform: uppercase; overflow-wrap: anywhere; }
.feedback-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.feedback-choice button { min-height: 42px; padding: 8px; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.125 0.036 275); color: #89939e; font-size: var(--type-label); }
.feedback-choice button:last-child { grid-column: 1 / -1; min-height: 32px; }
.feedback-choice button[aria-pressed="true"] { border-color: var(--accent); background: oklch(0.65 0.24 290 / .1); color: #fff; }
.feedback-choice button:disabled { cursor: default; opacity: .7; }
.feedback-card select { margin-top: 10px; }
.feedback-submit { margin-top: 22px; padding: 20px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; border: 1px solid var(--line); background: var(--panel); }
.feedback-submit span { margin-right: auto; color: #94a0ab; font-size: 12px; }
.match-score { margin: 40px 0 28px; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--line); background: var(--panel); }
.match-score > div { min-height: 148px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
.match-score .radiant { justify-content: flex-end; color: var(--radiant); }
.match-score .dire { justify-content: flex-start; color: var(--dire); }
.match-score span { font: 600 18px "Exo 2"; letter-spacing: .1em; }
.match-score > div > strong { font: 600 56px var(--font-display); }
.match-winner { min-width: 260px; flex-direction: column; gap: 8px !important; text-align: center; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.match-winner small { color: var(--muted); font-size: var(--type-label); letter-spacing: .12em; text-transform: uppercase; }
.match-winner strong { color: #fff; font-size: 23px !important; text-transform: uppercase; }
.match-team-list { display: grid; gap: 20px; }
.match-team { border: 1px solid var(--line); background: var(--panel); }
.match-team > header { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.match-team h2 { margin: 0; font: 600 20px "Exo 2"; letter-spacing: .1em; }
.match-team.radiant h2 { color: var(--radiant); }
.match-team.dire h2 { color: var(--dire); }
.match-table-wrap { overflow-x: auto; }
.match-team table { width: 100%; min-width: 800px; border-collapse: collapse; text-align: left; }
.match-team th { padding: 12px 16px; color: #818b96; font-size: var(--type-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.match-team td { padding: 15px 16px; border-top: 1px solid rgba(255,255,255,.055); color: #b6bdc6; font-size: 14px; }
.match-team td strong { color: #f0f2f4; font-weight: 600; }
.match-player-link, .match-hero-identity { display: inline-flex; align-items: center; gap: 10px; }
a.match-player-link:hover strong { color: var(--accent); }
.player-avatar { width: 34px; height: 34px; flex: none; display: grid; place-items: center; overflow: hidden; background: oklch(0.27 0.055 275); border: 1px solid #373e47; color: var(--accent); font: 600 14px "Exo 2"; }
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-hero-identity img { width: 34px; height: 34px; flex: none; object-fit: cover; background: oklch(0.27 0.055 275); }
.lobbies-page { max-width: 1320px; margin: 0 auto; padding: 52px 28px 90px; min-height: calc(100vh - 150px); }
.lobbies-hero { min-height: 122px; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.lobbies-hero > div { max-width: 820px; }
.lobbies-hero .eyebrow { margin-bottom: 14px; }
.lobbies-hero h1 { flex: 1 1 auto; font-size: clamp(42px, 5vw, 64px); line-height: .95; margin: 0; text-transform: uppercase; }
.lobbies-hero h1 + p { max-width: 720px; margin-top: 14px; }
.lobbies-hero-actions { flex: none; display: flex; align-items: stretch; gap: 9px; }
.lobbies-hero-actions > button { min-height: 50px; white-space: nowrap; }
.lobby-find-button { box-shadow: none; }
.lobbies-hero p, .create-lobby-panel > p { color: var(--muted); line-height: 1.6; margin: 0; }
.lobby-total { min-width: 150px; display: grid; justify-items: end; padding-bottom: 8px; }
.lobby-total strong { color: var(--accent); font: 600 44px var(--font-display); }
.lobby-total span { color: var(--muted); font-size: var(--type-micro); letter-spacing: .12em; }
.lobby-notice { margin-top: 22px; border: 1px solid oklch(0.82 0.16 155 / .25); background: oklch(0.82 0.16 155 / .07); color: var(--success); padding: 13px 16px; font-size: 12px; }
.lobby-notice.error { border-color: oklch(0.68 0.22 350 / .3); background: oklch(0.68 0.22 350 / .08); color: oklch(0.78 0.15 350); }
.lobby-search-panel { min-height: 118px; margin-top: 28px; padding: 22px 24px; display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: center; gap: 20px; border: 1px solid oklch(0.65 0.24 290 / .24); background: linear-gradient(105deg, oklch(0.18 0.052 275), var(--panel) 52%); }
.lobby-search-mark { width: 56px; height: 56px; position: relative; display: grid; place-items: center; border: 1px solid oklch(0.65 0.24 290 / .44); color: var(--accent); font: 700 var(--type-label) var(--font-display); }
.lobby-search-mark::before, .lobby-search-mark::after { content: ''; position: absolute; width: 8px; height: 8px; border-color: var(--accent); border-style: solid; }
.lobby-search-mark::before { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.lobby-search-mark::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.lobby-search-panel > div:nth-child(2) > span { color: var(--accent); font: 600 var(--type-micro) var(--font-display); letter-spacing: .14em; }
.lobby-search-panel h2 { margin: 5px 0 4px; font: 600 24px/1.1 var(--font-display); text-transform: uppercase; }
.lobby-search-panel p { max-width: 620px; margin: 0; color: #78828d; font-size: var(--type-caption); }
.lobby-search-panel--actions { min-height: 84px; grid-template-columns: 1fr; justify-items: end; }
.lobby-search-actions { display: flex; align-items: stretch; gap: 10px; }
.create-lobby-button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid oklch(0.65 0.24 290 / .5); background: oklch(0.135 0.038 275); color: #fff; font: 600 var(--type-control) var(--font-display); text-transform: uppercase; }
.create-lobby-button:hover { border-color: oklch(0.65 0.24 290 / .58); background: oklch(0.65 0.24 290 / .08); color: #fff; }
.create-lobby-button > span { color: var(--accent); font: 500 24px/1 var(--font-display); }
.matchmaking-panel { margin-top: 28px; display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.4fr); border: 1px solid oklch(0.65 0.24 290 / .24); background: var(--panel); }
.matchmaking-copy { padding: 30px; border-right: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.matchmaking-copy h2 { margin: 14px 0 9px; font: 600 30px/1 "Exo 2"; text-transform: uppercase; text-wrap: balance; }
.matchmaking-copy p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-wrap: pretty; }
.kyc-explainer { margin-top: 18px; padding: 12px; display: grid; gap: 5px; border: 1px solid rgba(255,255,255,.07); background: oklch(0.135 0.038 275); }
.kyc-explainer b { color: #aeb7c0; font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; }
.kyc-explainer span { color: #6f7984; font-size: var(--type-micro); line-height: 1.55; }
.matchmaking-form { padding: 24px; gap: 18px; }
.queue-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.queue-selects.three { grid-template-columns: repeat(3, 1fr); }
.matchmaking-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.matchmaking-form legend { padding: 0; color: #c3c8cf; font-size: 12px; font-weight: 600; }
.matchmaking-form fieldset > p { margin: 6px 0 10px; color: #69737e; font-size: var(--type-label); }
.role-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.role-option { min-width: 0; position: relative; cursor: pointer; }
.role-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.role-option > span { min-height: 88px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid oklch(0.31 0.055 275); background: oklch(0.135 0.038 275); color: #78828d; font: 600 var(--type-label) "Exo 2"; line-height: 1.25; text-align: center; }
.role-option b { color: inherit; font: inherit; }
.choice-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #929ba5; transition: color .18s var(--ease-out), transform .18s var(--ease-out); }
.choice-icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.role-option:hover .choice-icon { color: #e1e4e8; transform: translateY(-1px); }
.role-option:hover > span { border-color: #4b535e; color: #dce0e4; }
.role-option input:checked + span { border-color: oklch(0.65 0.24 290 / .48); background: oklch(0.65 0.24 290 / .07); color: #f1f3f5; }
.role-option input:checked + span .choice-icon { color: var(--accent); }
.role-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.matchmaking-panel.signed-out { grid-template-columns: 1fr auto; align-items: center; }
.matchmaking-panel.signed-out .matchmaking-copy { border-right: 0; }
.matchmaking-panel.signed-out .steam-button { margin-right: 30px; min-width: 210px; }
.matchmaking-panel.idle { min-height: 310px; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); }
.matchmaking-panel.idle .matchmaking-copy { padding: clamp(30px, 5vw, 64px); }
.matchmaking-panel.idle .matchmaking-copy h2 { max-width: 760px; font-size: clamp(30px, 4vw, 48px); }
.matchmaking-start { display: grid; place-items: center; align-content: center; gap: 28px; padding: 36px; background: linear-gradient(145deg, oklch(0.18 0.052 275), oklch(0.135 0.038 275)); }
.matchmaking-start .lobby-search-mark { width: 84px; height: 84px; font-size: 17px; }
.matchmaking-start .primary-button { min-width: 210px; min-height: 52px; }
.matchmaking-panel.searching { grid-template-columns: 84px minmax(240px,.85fr) minmax(390px,1.2fr) auto; align-items: center; border-color: oklch(0.82 0.16 155 / .25); }
.searching .matchmaking-copy { padding-left: 8px; }
.searching .eyebrow { color: var(--success); }
.searching .eyebrow span { background: var(--success); }
.queue-signal { width: 52px; height: 52px; margin-left: 22px; position: relative; display: grid; place-items: center; border: 1px solid oklch(0.82 0.16 155 / .35); color: var(--success); font: 600 var(--type-label) "Exo 2"; }
.queue-signal::before, .queue-signal::after, .queue-signal i { content: ''; position: absolute; inset: 7px; border: 1px solid oklch(0.82 0.16 155 / .28); animation: queue-pulse 2.4s var(--ease-out) infinite; }
.queue-signal::after { inset: -7px; animation-delay: .8s; }
.queue-signal i { inset: -15px; animation-delay: 1.6s; }
.queue-signal span { position: relative; z-index: 1; }
@keyframes queue-pulse { 0%,100% { opacity: .18; transform: scale(.92); } 45% { opacity: .85; transform: scale(1); } }
.queue-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.queue-tags span { padding: 5px 7px; background: oklch(0.135 0.038 275); border: 1px solid var(--line); color: #8e98a3; font-size: var(--type-micro); text-transform: uppercase; }
.queue-tags span.identity { border-color: oklch(0.82 0.16 155 / .18); color: #8cbf9c; }
.queue-metrics { margin: 0; padding: 0 24px; display: grid; grid-template-columns: repeat(7,minmax(58px,1fr)); border-right: 1px solid var(--line); }
.queue-metrics div { min-height: 70px; padding: 13px 10px; border-left: 1px solid var(--line); display: grid; align-content: center; gap: 7px; }
.queue-metrics dt { color: #6f7883; font-size: var(--type-micro); letter-spacing: .08em; text-transform: uppercase; }
.queue-metrics dd { margin: 0; color: #fff; font: 600 21px "Exo 2"; font-variant-numeric: tabular-nums; }
.queue-cancel { margin: 0 22px; white-space: nowrap; }
.custom-lobbies-head { margin-top: 42px; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.custom-lobbies-head span { color: var(--accent); font: 600 12px "Exo 2"; letter-spacing: .12em; }
.custom-lobbies-head h2 { margin: 5px 0 2px; font: 600 27px/1.15 var(--font-display); text-transform: uppercase; }
.custom-lobbies-head p { margin: 0; color: #727c87; font-size: var(--type-caption); }
.custom-lobbies-actions { display: flex; align-items: center; gap: 10px; }
.lobbies-layout { padding-top: 24px; }
.create-lobby-panel { position: sticky; top: 24px; border: 1px solid var(--line); background: var(--panel); padding: 24px; }
.create-lobby-panel h2 { font: 600 var(--type-title) var(--font-display); text-transform: uppercase; margin: 0 0 24px; }
.create-lobby-panel form { gap: 16px; }
.create-lobby-panel > .steam-button { margin-top: 22px; }
.field-hint { color: #69737e; font-size: var(--type-label); font-weight: 400; line-height: 1.45; }
.lobby-type-options { display: grid; gap: 8px; }
.lobby-type-option { min-width: 0; position: relative; cursor: pointer; }
.lobby-type-option input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.lobby-type-option > span { min-height: 62px; padding: 12px 13px 12px 42px; position: relative; display: grid; align-content: center; gap: 4px; border: 1px solid oklch(0.31 0.055 275); background: oklch(0.135 0.038 275); }
.lobby-type-option > span::before { content: ''; width: 16px; height: 16px; position: absolute; left: 14px; top: 50%; border: 1px solid #525b66; transform: translateY(-50%); }
.lobby-type-option > span::after { content: '\2713'; width: 16px; height: 16px; position: absolute; left: 15px; top: 50%; display: grid; place-items: center; opacity: 0; color: #fff; font-size: var(--type-label); transform: translateY(-50%); }
.lobby-type-option b { color: #dce1e6; font: 600 var(--type-label) "Exo 2"; letter-spacing: .04em; text-transform: uppercase; }
.lobby-type-option small { color: #68727d; font-size: var(--type-micro); font-weight: 400; line-height: 1.4; }
.lobby-type-option:hover > span { border-color: #4a525d; }
.lobby-type-option input:checked + span { border-color: oklch(0.65 0.24 290 / .48); background: oklch(0.65 0.24 290 / .065); }
.lobby-type-option input:checked + span::before { border-color: var(--accent); background: var(--accent); }
.lobby-type-option input:checked + span::after { opacity: 1; }
.lobby-type-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.owner-side-choice { min-width: 0; margin: 0; padding: 14px; border: 1px solid oklch(0.65 0.24 290 / .25); background: oklch(0.65 0.24 290 / .04); }
.owner-side-choice legend { padding: 0 7px; color: #8b949f; font: 600 var(--type-micro) "Exo 2"; letter-spacing: .1em; text-transform: uppercase; }
.owner-side-choice > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.owner-side-choice label { min-width: 0; position: relative; cursor: pointer; }
.owner-side-choice input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.owner-side-choice span { min-height: 40px; display: grid; place-items: center; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.125 0.036 275); color: #7c8691; font: 600 var(--type-label) "Exo 2"; letter-spacing: .04em; }
.owner-side-choice label:first-child input:checked + span { border-color: oklch(0.82 0.15 195 / .48); background: oklch(0.82 0.15 195 / .07); color: var(--radiant); }
.owner-side-choice label:last-child input:checked + span { border-color: oklch(0.72 0.2 350 / .48); background: oklch(0.72 0.2 350 / .07); color: var(--dire); }
.owner-side-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.lobby-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.lobby-card { min-width: 0; min-height: 480px; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.lobby-card::before { content: ''; height: 2px; position: absolute; inset: 0 0 auto; z-index: 1; background: var(--accent); opacity: .78; }
.lobby-card:hover { border-color: oklch(0.65 0.24 290 / .42); background: var(--panel-2); transform: translateY(-2px); }
.lobby-card-head { min-height: 154px; padding: 22px 20px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.07); }
.lobby-card-title { min-width: 0; }
.lobby-card-kicker { min-height: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.lobby-card h2 { margin: 14px 0 10px; font: 600 22px/1.12 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.lobby-card h2 a:hover { color: var(--accent); }
.lobby-card-status { width: 64px; min-height: 64px; flex: 0 0 64px; padding: 10px 6px 8px; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid oklch(0.65 0.24 290 / .3); background: oklch(0.65 0.24 290 / .055); }
.lobby-card-status > strong { color: #8b949f; font: 600 15px var(--font-display); font-variant-numeric: tabular-nums; }
.lobby-card-status > strong span { color: #fff; font-size: 24px; }
.lobby-card-status > small { color: #69737e; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.lobby-type-badges { margin: -11px 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.lobby-type-badges span { padding: 5px 7px; border: 1px solid #303740; color: #747e89; font: 600 var(--type-micro) "Exo 2"; letter-spacing: .08em; text-transform: uppercase; }
.lobby-type-badges .unranked { border-color: rgba(255,255,255,.13); color: #aab2bb; }
.lobby-type-badges .side-choice { border-color: oklch(0.65 0.24 290 / .28); background: oklch(0.65 0.24 290 / .05); color: oklch(0.72 0.12 290); }
.mode-tag { color: var(--accent); font: 600 var(--type-micro) "Exo 2"; letter-spacing: .09em; }
.region-tag { padding: 3px 6px; border: 1px solid oklch(0.34 0.06 275); color: #8e98a3; font-size: 9px; letter-spacing: .04em; white-space: nowrap; }
.lobby-meta { display: flex; gap: 22px; color: #737d88; font-size: var(--type-micro); }
.lobby-meta strong, .player-nickname-link { color: #dce0e4; font-weight: 600; }
.player-nickname-link:hover { color: var(--accent); }
.lobby-roster-scroll { padding: 16px 20px 18px; overflow: hidden; }
.lobby-roster-head { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lobby-roster-head span { color: #a7afb8; font: 600 var(--type-micro) var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.lobby-roster-head small { color: #69737e; font-size: 10px; }
.lobby-roster { min-width: 0; display: grid; grid-template-columns: repeat(var(--lobby-columns,5),minmax(0,1fr)); gap: 8px 6px; }
.lobby-player-slot { min-width: 0; height: 62px; padding: 6px 3px 5px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(255,255,255,.065); background: oklch(0.125 0.036 275); text-align: center; }
.lobby-player-slot.filled:hover { border-color: oklch(0.65 0.24 290 / .52); background: oklch(0.65 0.24 290 / .07); transform: translateY(-1px); }
.lobby-slot-avatar { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1px solid oklch(0.4 0.07 275); border-radius: 50%; background: oklch(0.24 0.065 280); color: #fff; font: 700 var(--type-label) var(--font-display); }
.lobby-player-slot strong { width: 100%; overflow: hidden; color: #bfc5cb; font: 600 9px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.lobby-player-slot.captain { border-color: oklch(0.65 0.24 290 / .34); }
.lobby-player-slot.captain > i { width: 14px; height: 14px; position: absolute; top: 3px; right: 3px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 8px; font-style: normal; }
.lobby-player-slot.empty { border-style: dashed; background: oklch(0.125 0.028 275); }
.lobby-player-slot.empty > b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px dashed #414a55; border-radius: 50%; color: #515b66; font: 400 17px/1 var(--font-ui); }
.lobby-player-slot.empty strong { color: #505963; font-size: 9px; }
.lobby-capacity-track { height: 2px; margin-top: 14px; background: oklch(0.27 0.05 275); }
.lobby-capacity-track i { display: block; height: 100%; background: var(--accent); }
.lobby-card-bottom { min-height: 150px; margin-top: auto; padding: 16px 20px 20px; display: grid; align-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.07); background: oklch(0.135 0.037 275); }
.lobby-card-summary { min-width: 0; }
.lobby-card-summary .lobby-type-badges { margin: 0; }
.lobby-summary-tag { padding: 5px 7px; border: 1px solid #303740; color: #7f8993; font: 600 var(--type-micro) var(--font-display); letter-spacing: .05em; text-transform: uppercase; }
.slot-bar { height: 3px; background: oklch(0.29 0.055 275); margin: 17px 0; }
.slot-bar i { display: block; height: 100%; background: var(--accent); }
.lobby-players { display: flex; flex-wrap: wrap; gap: 7px; }
.lobby-players a { padding: 6px 8px; background: #20252c; color: #aeb6bf; font-size: var(--type-label); }
.lobby-players a:hover { background: #292f37; color: var(--accent); }
.lobby-card-foot { min-width: 0; display: grid; gap: 10px; }
.lobby-card-foot > small { display: flex; align-items: center; gap: 7px; color: #7a8490; font-size: var(--type-micro); }
.lobby-card-foot > small i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px oklch(0.82 0.16 155 / .08); }
.lobby-card-foot > .lobby-action, .lobby-card-foot > .side-join-actions { width: 100%; }
.lobby-action { min-height: 44px; padding: 11px 14px; box-shadow: none; }
.side-join-actions { min-width: 330px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-join-actions.compact { min-width: 232px; }
.side-choice-button { min-width: 0; min-height: 52px; padding: 8px 10px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 8px; border: 1px solid oklch(0.34 0.06 275); background: oklch(0.125 0.036 275); color: #cbd1d7; text-align: left; }
.side-choice-button > span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid currentColor; font: 600 var(--type-label) "Exo 2"; }
.side-choice-button b { overflow: hidden; font: 600 var(--type-label) "Exo 2"; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.side-choice-button small { color: #6f7984; font-size: var(--type-micro); font-variant-numeric: tabular-nums; }
.side-choice-button.radiant:hover { border-color: oklch(0.82 0.15 195 / .5); color: var(--radiant); background: oklch(0.82 0.15 195 / .06); }
.side-choice-button.dire:hover { border-color: oklch(0.72 0.2 350 / .5); color: var(--dire); background: oklch(0.72 0.2 350 / .06); }
.side-choice-button:disabled { cursor: not-allowed; opacity: .36; }
.side-choice-button:disabled:hover { border-color: oklch(0.34 0.06 275); background: oklch(0.125 0.036 275); color: #cbd1d7; }
.lobby-empty { grid-column: 1 / -1; min-height: 260px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; color: var(--muted); padding: 30px; text-align: center; }
.lobby-dialog-overlay { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: oklch(0.06 0.025 275 / .86); backdrop-filter: blur(10px); }
.lobby-dialog { width: min(880px, 100%); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid oklch(0.4 0.065 275 / .65); background: oklch(0.145 0.038 275); box-shadow: 0 32px 90px rgba(0,0,0,.55); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
.lobby-dialog-overlay.open .lobby-dialog { opacity: 1; transform: translateY(0) scale(1); }
.create-lobby-dialog { width: min(700px, 100%); }
.lobby-dialog-head { padding: 26px 28px 22px; position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.lobby-dialog-head h2 { margin: 12px 0 5px; font: 700 31px/1 var(--font-display); text-transform: uppercase; }
.lobby-dialog-head p { max-width: 650px; margin: 0; color: #7f8994; font-size: var(--type-caption); line-height: 1.55; }
.lobby-dialog-head .dialog-close { width: 46px; height: 46px; flex: none; position: static; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.07); background: oklch(0.19 0.042 275); color: #aab1b9; font: 300 32px/1 var(--font-ui); }
.lobby-dialog-head .dialog-close:hover { border-color: rgba(255,255,255,.16); color: #fff; }
.lobby-dialog-body { padding: 26px 28px 0; }
.lobby-dialog .matchmaking-form { padding: 0; gap: 24px; }
.lobby-dialog .matchmaking-form fieldset > p { margin-bottom: 12px; }
.lobby-dialog .role-option > span { background: oklch(0.12 0.035 275); }
.create-lobby-form { gap: 20px; }
.dialog-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dialog-field-grid > label:first-child { grid-column: 1 / -1; }
.dialog-field-grid > label:last-child { grid-column: 1 / -1; }
.lobby-dialog-footer { margin: 2px -28px 0; padding: 18px 28px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; border-top: 1px solid rgba(255,255,255,.08); background: oklch(0.13 0.035 275); }
.lobby-dialog .dialog-reset { margin-right: auto; padding-inline: 0; border: 0; background: transparent; color: #7f8994; text-transform: uppercase; }
.lobby-dialog .dialog-reset:hover { border-color: transparent; background: transparent; color: #fff; }
.dialog-submit { min-width: 190px; padding-block: 14px; text-transform: uppercase; }
body.dialog-open { overflow: hidden; }
.match-room { max-width: 1240px; margin: 0 auto; padding: 34px 28px 80px; min-height: calc(100vh - 150px); animation: room-enter 260ms var(--ease-out) both; }
.room-back { display: inline-block; color: #8f98a3; font-size: 12px; margin: 4px 0 28px; }
.room-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.room-head h1 { font-size: clamp(44px, 5.5vw, 68px); line-height: .94; text-transform: uppercase; margin: 16px 0 12px; }
.room-head p { color: var(--muted); font-size: var(--type-control); margin: 0; }
.room-head .lobby-type-badges { margin: 14px 0 0; }
.room-code { display: grid; justify-items: end; padding-bottom: 4px; }
.room-code span { color: var(--muted); font-size: var(--type-micro); letter-spacing: .14em; text-transform: uppercase; }
.room-code strong { font: 600 38px "Exo 2"; }
.invite-panel { margin-top: 28px; padding: 18px 20px; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,1.6fr) auto; align-items: center; gap: 18px; border: 1px solid oklch(0.65 0.24 290 / .28); background: oklch(0.65 0.24 290 / .055); }
.invite-panel span { color: var(--accent); font: 600 var(--type-label) "Exo 2"; letter-spacing: .1em; text-transform: uppercase; }
.invite-panel p, .room-callout p { margin: 6px 0 0; color: var(--muted); font-size: var(--type-caption); line-height: 1.55; }
.invite-panel code { min-width: 0; padding: 12px 14px; overflow: hidden; color: #dce1e6; background: oklch(0.12 0.036 275); border: 1px solid rgba(255,255,255,.08); font-size: var(--type-label); text-overflow: ellipsis; white-space: nowrap; }
.match-protocol { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); padding: 0; margin: 40px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.protocol-step { min-height: 84px; display: flex; align-items: center; gap: 12px; padding: 18px; color: #626b75; border-right: 1px solid var(--line); }
.protocol-step:last-child { border-right: 0; }
.protocol-step > span { width: 27px; height: 27px; border: 1px solid oklch(0.34 0.06 275); display: grid; place-items: center; font: 600 var(--type-label) "Exo 2"; }
.protocol-step strong { font: 600 13px "Exo 2"; text-transform: uppercase; letter-spacing: .04em; }
.protocol-step.done { color: #9aa4ad; }
.protocol-step.done > span { color: var(--success); border-color: oklch(0.82 0.16 155 / .32); background: oklch(0.82 0.16 155 / .06); }
.protocol-step.current { color: var(--text); background: oklch(0.65 0.24 290 / .055); }
.protocol-step.current > span { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px oklch(0.65 0.24 290 / .08); }
.battle-lineup { display: grid; grid-template-columns: 1fr 46px 1fr; align-items: stretch; }
.team-column { background: var(--panel); border: 1px solid rgba(255,255,255,.08); }
.team-column header { height: 70px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.team-column header h2 { font: 600 18px "Exo 2"; letter-spacing: .08em; margin: 0; }
.team-column header small { margin-left: auto; color: #6f7882; font: 600 12px "Exo 2"; }
.team-emblem { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; font: 600 13px "Exo 2"; }
.team-column.radiant .team-emblem, .team-column.radiant header h2 { color: var(--radiant); }
.team-column.dire .team-emblem, .team-column.dire header h2 { color: var(--dire); }
.team-column ul { list-style: none; padding: 0; margin: 0; }
.team-column li { min-height: 61px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.055); }
.team-column li:last-child { border-bottom: 0; }
.team-column li > div { display: grid; gap: 3px; }
.team-column li strong { font-size: var(--type-caption); font-weight: 600; }
.team-column li .player-nickname-link { font-size: var(--type-caption); }
.team-column li small { color: var(--accent); font-size: var(--type-micro); letter-spacing: .1em; text-transform: uppercase; }
.captain-badge { color: #818b96; font-size: var(--type-micro); text-transform: uppercase; }
.player-state { margin-left: auto; color: #727b85; font-size: var(--type-micro); text-transform: uppercase; }
.ready-orb { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #56606b; background: #272c33; flex: none; }
.ready-orb.ready { border-color: var(--success); background: var(--success); box-shadow: 0 0 0 4px oklch(0.82 0.16 155 / .09); }
.team-column .empty-slot { color: #4f5862; }
.empty-slot > span { width: 8px; text-align: center; }
.empty-slot strong { font-weight: 400 !important; }
.versus { display: grid; place-items: center; color: #606a74; font: 600 13px "Exo 2"; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ready-panel, .room-callout { min-height: 120px; margin-top: 22px; padding: 24px 28px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.room-callout > div:first-child > strong { font: 600 20px "Exo 2"; text-transform: uppercase; }
.room-callout.side-aware { border-color: oklch(0.65 0.24 290 / .18); }
.ready-panel small { color: var(--accent); font: 600 12px "Exo 2"; letter-spacing: .1em; }
.ready-panel h2 { max-width: 720px; font: 600 20px/1.35 "Exo 2"; text-transform: uppercase; margin: 7px 0 0; }
.ready-launch-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.dota-setup, .connection-panel, .result-panel { margin-top: 22px; padding: 30px; border: 1px solid oklch(0.65 0.24 290 / .24); background: var(--panel); }
.dota-setup > span, .result-panel > span { color: var(--accent); font: 600 var(--type-label) "Exo 2"; letter-spacing: .14em; }
.dota-setup h2, .connection-panel h2, .result-panel h2 { font: 600 28px "Exo 2"; text-transform: uppercase; margin: 8px 0; }
.dota-setup > p, .connection-panel > p, .result-panel p { color: var(--muted); font-size: var(--type-caption); line-height: 1.65; }
.bot-progress-status { max-width: 680px; margin-top: 24px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; border: 1px solid oklch(0.82 0.16 155 / .22); background: oklch(0.82 0.16 155 / .055); }
.bot-progress-status i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px oklch(0.82 0.16 155 / .08); animation: bot-pulse 1.4s ease-in-out infinite; }
.bot-progress-status strong { font: 600 15px/1.4 "Exo 2"; text-transform: uppercase; }
@keyframes bot-pulse { 50% { opacity: .45; transform: scale(.78); } }
.bot-test-page { width: min(980px,calc(100% - 40px)); min-height: calc(100vh - 110px); margin: 0 auto; padding: 48px 0 90px; }
.bot-test-page > header { max-width: 720px; margin: 34px 0 28px; }
.bot-test-page > header h1 { margin: 10px 0; font: 600 clamp(34px,5vw,56px)/1 var(--font-display); text-transform: uppercase; }
.bot-test-page > header p { max-width: 680px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.bot-test-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; padding: 24px; border: 1px solid oklch(0.65 0.24 290 / .24); background: var(--panel); }
.bot-test-form .form-note { grid-column: 1 / -1; margin: 0; }
.bot-test-disabled, .bot-test-waiting { padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.bot-test-disabled strong { color: var(--danger); font: 600 18px "Exo 2"; text-transform: uppercase; }
.bot-test-waiting { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bot-test-waiting .bot-progress-status { flex: 1; margin: 0; }
.bot-test-result { padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; border: 1px solid oklch(0.82 0.16 155 / .28); background: var(--panel); }
.bot-test-result > .live-dot { margin-top: 9px; }
.bot-test-result small { color: var(--success); font: 600 var(--type-label) "Exo 2"; letter-spacing: .12em; text-transform: uppercase; }
.bot-test-result h2 { margin: 5px 0 20px; font: 600 28px "Exo 2"; text-transform: uppercase; }
.bot-test-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.bot-test-result dl > div { padding: 16px; border: 1px solid var(--line); background: oklch(0.135 0.038 275); }
.bot-test-result dt { color: var(--muted); font-size: var(--type-micro); letter-spacing: .1em; text-transform: uppercase; }
.bot-test-result dd { margin: 9px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bot-test-result code { color: #fff; font: 600 18px "Exo 2"; letter-spacing: .08em; }
.bot-test-result dd button { border: 0; background: transparent; color: var(--accent); }
.bot-test-actions { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.dota-setup-launch { width: fit-content; margin-top: 18px; }
.dota-setup form { max-width: 560px; margin-top: 24px; }
.dota-lobby-fields { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 14px; }
.dota-setup-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin: 24px 0 0; padding: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.dota-setup-steps > li { min-width: 0; min-height: 190px; padding: 20px; display: flex; align-items: flex-start; gap: 14px; background: oklch(0.155 0.04 275); }
.dota-setup-steps > li > b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1px solid oklch(0.65 0.24 290 / .45); color: var(--accent); font: 600 12px "Exo 2"; }
.dota-setup-steps > li > div, .dota-setup-steps > li > form { flex: 1; min-width: 0; }
.dota-setup-steps small { display: block; color: var(--muted); font-size: var(--type-label); line-height: 1.45; }
.dota-setup-steps p { margin: 0; color: #c1c7cd; font-size: var(--type-caption); line-height: 1.6; }
.dota-setup-steps form { margin: 0; display: grid; gap: 14px; }
.dota-setup-steps form > div { display: grid; gap: 5px; }
.dota-setup-steps form strong { font: 600 17px "Exo 2"; text-transform: uppercase; }
.dota-setup-steps .dota-setup-launch { margin-top: 16px; }
.generated-password { margin-top: 10px; display: grid; gap: 9px; }
.generated-password code { width: fit-content; color: #fff; font: 600 24px "Exo 2"; letter-spacing: .12em; }
.generated-password .outline-button { width: fit-content; padding: 9px 11px; }
.dota-link-fallback { max-width: 760px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.dota-link-fallback summary { width: fit-content; cursor: pointer; color: #aeb6bf; font-size: var(--type-label); }
.dota-link-fallback[open] summary { color: var(--accent); }
.dota-link-fallback > p { max-width: 680px; margin: 12px 0 0; color: var(--muted); font-size: var(--type-caption); line-height: 1.55; }
.dota-link-fallback form { max-width: none; margin-top: 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
.dota-link-fallback .form-note { grid-column: 1 / -1; margin: 0; }
.connection-panel > div:first-child { display: flex; align-items: center; gap: 14px; }
.connection-panel > div:first-child small { color: var(--success); font-size: var(--type-micro); letter-spacing: .12em; }
.connection-panel .live-dot { position: static; flex: none; margin: 0; }
.connection-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.connection-panel dl > div { background: oklch(0.135 0.038 275); border: 1px solid rgba(255,255,255,.08); padding: 16px; }
.connection-panel dt { color: #69737e; font-size: var(--type-micro); letter-spacing: .1em; text-transform: uppercase; }
.connection-panel dd { margin: 10px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.connection-panel code { color: #fff; font: 600 17px "Exo 2"; letter-spacing: .08em; }
.connection-panel dd button { border: 0; background: transparent; color: var(--accent); font-size: var(--type-label); }
.captain-note { color: #c1c7cd !important; padding: 14px 16px; background: oklch(0.62 0.24 290 / .07); }
.direct-join-block { margin: 24px 0; }
.direct-join-block > p { margin: 9px 0 0; color: #77818c; font-size: var(--type-label); }
.dota-direct-join { width: min(440px,100%); min-height: 72px; padding: 12px 16px; justify-content: flex-start; border-color: oklch(0.82 0.16 155 / .36); background: oklch(0.2 0.045 205); }
.dota-direct-join:hover { border-color: var(--success); background: oklch(0.24 0.055 180); }
.dota-direct-join .direct-join-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); }
.dota-direct-join .direct-join-icon svg { width: 22px; height: 22px; }
.dota-direct-join > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.dota-direct-join small { color: var(--success); font: 600 var(--type-micro) "Exo 2"; letter-spacing: .14em; }
.dota-direct-join strong { font: 600 17px "Exo 2"; text-transform: uppercase; }
.dota-direct-join > b { margin-left: auto; color: var(--success); font: 600 22px "Exo 2"; }
.connection-actions { display: flex; align-items: center; gap: 12px; }
.danger-button { border: 1px solid oklch(0.68 0.22 350 / .55); background: transparent; color: var(--danger); padding: 12px 16px; font-size: var(--type-control); font-weight: 600; }
.danger-button:hover { border-color: var(--danger); background: oklch(0.68 0.22 350 / .08); }
.danger-button:disabled { cursor: wait; opacity: .65; }
.steam-launch { display: inline-flex; align-items: center; gap: 10px; background: #1b2838; border: 1px solid #2c3e52; color: #fff; padding: 12px 16px; font-size: var(--type-control); font-weight: 600; }
.steam-launch svg { width: 18px; height: 18px; fill: currentColor; }
.sync-status { color: #737d87 !important; margin: 18px 0 0 !important; }
.manual-match-form { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 220px auto; gap: 14px; align-items: end; }
.manual-match-form > div { display: grid; gap: 5px; align-self: center; }
.manual-match-form > div strong { font: 600 17px "Exo 2"; text-transform: uppercase; }
.manual-match-form > div span { color: var(--muted); font-size: var(--type-label); line-height: 1.45; }
.manual-match-form label { gap: 6px; }
.manual-match-form input { padding: 11px 12px; }
.manual-match-form .form-note { grid-column: 1 / -1; margin: 0; }
.result-panel { text-align: center; padding: 44px 30px; }
.result-panel h2 { color: var(--success); font-size: 32px; }
.result-panel .primary-button { margin-top: 12px; }
.room-secondary { display: flex; justify-content: center; margin-top: 22px; }
.room-lock-note { color: #626b75; font-size: var(--type-label); text-align: center; margin: 20px 0 0; }
@keyframes room-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.loading, .error-state { min-height: calc(100vh - 150px); display: grid; place-content: center; justify-items: center; color: var(--muted); text-align: center; }
.loading span { width: 36px; height: 36px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.error-state > span { width: 50px; height: 50px; border: 1px solid var(--danger); color: var(--danger); display: grid; place-items: center; font-size: 24px; }
.error-state h1 { font-size: 34px; margin: 22px 0 5px; }
.error-state p { margin-bottom: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

.dialog-open { overflow: hidden; }
.site-footer { min-height: 96px; padding: 24px clamp(20px, 5vw, 72px); display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); background: oklch(0.09 0.03 275); color: #7d8792; font-size: var(--type-caption); }
.site-footer a:hover, .site-footer button:hover { color: #fff; }
.site-footer button { padding: 0; border: 0; background: transparent; color: inherit; }
.site-footer span { margin-left: auto; }
.site-feedback-overlay { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(2,4,12,.78); backdrop-filter: blur(8px); }
.site-feedback-dialog { width: min(520px, 100%); padding: 34px; position: relative; border: 1px solid oklch(0.65 0.24 290 / .35); background: var(--panel); box-shadow: 0 28px 80px rgba(0,0,0,.55); }
.site-feedback-dialog h2 { margin: 14px 40px 26px 0; font: 600 30px/1.1 var(--font-display); text-transform: uppercase; }
.dialog-close { width: 38px; height: 38px; position: absolute; top: 18px; right: 18px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: #a9b1ba; font-size: 24px; line-height: 1; }
.dialog-close:hover { border-color: #5a6470; color: #fff; }

.feedback-button svg { fill: #c9cfd6; }
.top-actions .feedback-button { margin-right: -10px; }
.text-button { min-height: 40px; padding: 9px 16px; border: 1px solid oklch(0.68 0.22 350 / .34); background: oklch(0.68 0.22 350 / .06); color: oklch(0.8 0.12 350); font-weight: 600; }
.text-button:hover { border-color: var(--danger); background: oklch(0.68 0.22 350 / .12); color: #fff; }

.identity-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.identity-options .role-option > span { min-height: 72px; padding: 11px 14px; flex-direction: row; justify-content: flex-start; gap: 11px; text-align: left; }
.identity-options .choice-icon { width: 30px; height: 30px; flex: none; }
.identity-choice--non_kyc input:checked + span .choice-icon { color: #9aa3ad; }
.identity-choice--verified input:checked + span .choice-icon { color: var(--success); }
.identity-choice--pros input:checked + span .choice-icon { color: #e7bd65; }
.role-option input:disabled + span { cursor: not-allowed; opacity: .34; }
.matchmaking-panel.searching { min-height: 260px; grid-template-columns: 96px minmax(300px,.9fr) minmax(520px,1.35fr) auto; }
.searching .matchmaking-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.searching .matchmaking-copy p { font-size: var(--type-body); }
.queue-metrics div { min-height: 96px; }
.queue-metrics dt { font-size: var(--type-label); }
.queue-metrics dd { font-size: 26px; }
.matchmaking-panel.signed-out { min-height: 110px; place-items: center; }
.matchmaking-panel.signed-out .steam-button { margin: 0; min-width: 230px; }

.activity-head-actions { display: grid; justify-items: end; gap: 10px; }
.activity-source-switch { margin: 0; }
.player-category-filters { margin: -14px 0 26px; display: flex; flex-wrap: wrap; gap: 7px; }
.player-category-filters button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: oklch(0.135 0.038 275); color: #7b8590; font: 600 var(--type-label) var(--font-display); text-transform: uppercase; }
.player-category-filters button:hover { border-color: #4b5561; color: #fff; }
.player-category-filters button.active { border-color: oklch(0.82 0.16 155 / .42); background: oklch(0.82 0.16 155 / .08); color: var(--success); }

.achievements-coming-soon { min-height: 520px; }
.coming-soon-mark { min-height: 400px; padding: 42px; display: grid; place-content: center; justify-items: center; text-align: center; background: radial-gradient(circle at 50% 45%, oklch(0.65 0.24 290 / .11), transparent 42%); }
.coming-soon-mark img { width: 112px; height: 112px; opacity: .8; }
.coming-soon-mark strong { margin-top: 20px; font: 700 clamp(36px, 6vw, 64px) var(--font-display); text-transform: uppercase; }
.coming-soon-mark p { max-width: 520px; margin: 12px 0 0; color: var(--muted); }

.pro-media-page { max-width: 1320px; min-height: calc(100vh - 180px); margin: 0 auto; padding: 64px 28px 92px; }
.pro-media-page > header { max-width: 820px; }
.pro-media-page h1 { margin: 18px 0 14px; font-size: clamp(58px, 8vw, 88px); text-transform: uppercase; }
.pro-media-page > header p { max-width: 700px; margin: 0; color: #9099a3; font-size: var(--type-body); line-height: 1.7; }
.pro-media-stage { margin-top: 46px; position: relative; min-height: 690px; display: grid; place-items: center; }
.pro-team-logo { position: absolute; z-index: 1; width: 118px; display: grid; place-items: center; opacity: .45; filter: saturate(.85); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.pro-team-logo:hover { opacity: 1; transform: translateY(-3px); }
.pro-team-logo:focus-visible { opacity: 1; }
.pro-team-logo img { max-width: 100%; max-height: 86px; object-fit: contain; }
.pro-team-logo-1 { top: 3%; left: 8%; }
.pro-team-logo-2 { top: 35%; left: 1%; }
.pro-team-logo-3 { top: 67%; left: 9%; }
.pro-team-logo-4 { top: 3%; right: 8%; }
.pro-team-logo-5 { top: 35%; right: 1%; }
.pro-team-logo-6 { top: 67%; right: 9%; }
.pro-team-logo-7 { top: 91%; left: 29%; }
.pro-team-logo-8 { top: 93%; left: 50%; translate: -50% 0; }
.pro-team-logo-9 { top: 91%; right: 29%; }
.pro-media-access { width: min(430px, 100%); min-height: 360px; padding: 28px; position: relative; z-index: 2; border: 1px solid oklch(0.65 0.24 290 / .32); background: var(--panel); }
.pro-media-access form { gap: 16px; }
.pro-media-access form > p { margin: 2px 0 4px; color: #aab2bb; }
.pro-media-greeting { padding-bottom: 20px; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.pro-media-greeting span { color: var(--success); font-size: var(--type-label); text-transform: uppercase; }
.pro-media-greeting strong { font: 600 30px var(--font-display); }
.pro-media-radio { min-height: 54px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: oklch(0.135 0.038 275); cursor: pointer; }
.pro-media-radio input { width: 16px; accent-color: var(--accent); }
.pro-media-success { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; }
.pro-media-success img { width: 86px; height: 86px; }
.pro-media-success h2 { max-width: 340px; margin: 22px 0 0; font: 600 24px/1.3 var(--font-display); }
.pro-media-success p { max-width: 340px; margin: 14px 0 0; color: #aab2bb; font-size: var(--type-caption); line-height: 1.6; }
.pro-media-success .pro-media-feedback { color: #78828d; font-size: var(--type-label); }
.pro-media-success .primary-button { margin-top: 24px; }
.pro-media-intro { color: #aab2bb; font-size: var(--type-caption); line-height: 1.65; }
.pro-media-steam-link { color: var(--accent); font-size: var(--type-label); word-break: break-all; }
.form-hint { margin-top: -10px; color: #69737e; font-size: var(--type-micro); }
.auth-divider { margin: 20px 0; display: flex; align-items: center; gap: 12px; color: #69737e; font: 600 var(--type-label) var(--font-display); text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-email-form { gap: 14px; }
.referral-section .section-intro { max-width: 640px; line-height: 1.7; }
.referral-link-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.referral-link-row label { flex: 1; min-width: 240px; }
.referral-link-row input { color: var(--signal); }
.referral-stats { margin-top: 20px; display: flex; align-items: baseline; gap: 10px; }
.referral-stats strong { font: 700 34px var(--font-display); color: var(--accent); }
.referral-stats span { color: #8b939d; font-size: var(--type-label); }
.email-link-form { margin-top: 28px; }
.linked-email { margin: 0; color: #aab2bb; font-size: var(--type-label); }
.linked-email strong { color: var(--success); }

@media (max-width: 1100px) {
  .pro-media-stage { min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px 12px; place-items: center; }
  .pro-media-access { grid-column: 1 / -1; order: -1; margin: 0 auto 14px; }
  .pro-team-logo { position: static; width: auto; opacity: .7; translate: none; }
  .pro-team-logo img { max-height: 64px; }
  .hero-mark-scene { width: min(43vw, 470px); right: 2vw; }
  .lobby-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lobbies-hero { gap: 18px; }
  .lobbies-hero h1 { font-size: 45px; }
  .lobbies-hero-actions > button { padding-inline: 14px; }
}
@media (max-width: 820px) {
  .topbar nav { display: none; }
  .hero { min-height: 760px; justify-content: flex-start; }
  .hero h1 { max-width: 100%; font-size: clamp(44px, 12vw, 60px); margin-top: 25px; }
  .hero-mark-scene { width: min(72vw, 440px); right: 50%; top: auto; bottom: 18px; translate: 50% 0; opacity: .86; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { min-height: 370px; padding: 36px 24px; }
  .auth-aside h1 { font-size: 46px; }
  .auth-aside > p { display: none; }
  .dashboard-head { align-items: flex-end; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-overview { position: static; }
  .profile-score-strip { grid-template-columns: repeat(2, 1fr); }
  .profile-block-head { align-items: flex-start; flex-direction: column; }
  .social-list { grid-template-columns: 1fr; }
  .players-directory-grid { grid-template-columns: 1fr; }
  .privacy-onboarding { grid-template-columns: 1fr 1fr; }
  .privacy-actions { width: auto; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .privacy-actions small { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid article { border-right: 0; border-bottom: 1px solid var(--line); min-height: 130px; }
  .match-row { grid-template-columns: 42px 1.5fr 1fr; }
  .match-kda, .match-duration { display: none; }
  .platform-match-row .match-result { display: none; }
  .lobbies-layout { grid-template-columns: 1fr; }
  .lobby-search-panel { grid-template-columns: 56px minmax(0,1fr); }
  .lobby-search-panel--actions { grid-template-columns: 1fr; }
  .lobby-search-actions, .lobby-search-panel.signed-out > .steam-button { grid-column: 1 / -1; }
  .lobby-search-actions > * { flex: 1; }
  .matchmaking-panel, .matchmaking-panel.idle, .matchmaking-panel.searching { grid-template-columns: 1fr; }
  .matchmaking-copy, .searching .matchmaking-copy { padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .matchmaking-start { min-height: 210px; }
  .queue-signal { display: none; }
  .queue-metrics { padding: 18px 24px; border-right: 0; }
  .queue-cancel { margin: 0 24px 24px; }
  .role-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .create-lobby-panel { position: static; }
  .lobby-list { grid-template-columns: 1fr; }
  .match-protocol { grid-template-columns: 1fr 1fr; }
  .protocol-step:nth-child(2) { border-right: 0; }
  .protocol-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .battle-lineup { grid-template-columns: 1fr; gap: 12px; }
  .match-score { grid-template-columns: 1fr 1fr; }
  .match-score .match-winner { min-height: auto; grid-column: 1 / -1; grid-row: 2; border: 0; border-top: 1px solid var(--line); }
  .feedback-grid { grid-template-columns: 1fr 1fr; }
  .versus { min-height: 34px; border: 0; }
  .pro-media-layout { grid-template-columns: 1fr; }
  .pro-media-access { position: static; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .site-footer span { margin-left: 0; }
}
@media (max-width: 520px) {
  .topbar { height: 70px; }
  .brand { gap: 10px; font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .top-actions { gap: 8px; }
  .top-actions .ghost-button { padding: 9px 11px; }
  .language-switch { display: none; }
  .account-name { display: none; }
  .account-logout { font-size: var(--type-label); }
  .notification-button { width: 38px; height: 38px; }
  .stats-source-switch { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero { min-height: calc(100svh - 70px); padding-top: clamp(48px, 9vh, 72px); padding-bottom: clamp(48px, 9vh, 72px); justify-content: center; }
  .hero-mark-scene { width: min(128vw, 520px); right: -30vw; top: 50%; bottom: auto; translate: 0 -50%; opacity: .25; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .connect-card { padding: 34px 22px; }
  .dashboard { padding-left: 16px; padding-right: 16px; }
  .profile-dashboard { padding-top: 16px; }
  .profile-hero { min-height: 410px; padding: 28px 22px; align-items: flex-start; }
  .profile-hero .player { width: 100%; align-items: flex-start; flex-direction: column; gap: 20px; }
  .profile-avatar { width: 88px; height: 88px; flex-basis: 88px; font-size: 34px; }
  .profile-hero .player h1 { max-width: 100%; font-size: clamp(31px, 10vw, 40px); overflow-wrap: anywhere; }
  .profile-refresh { position: static; width: auto; }
  .profile-hero-actions { position: absolute; left: 22px; bottom: 24px; align-self: auto; }
  .profile-friend-actions { align-items: stretch; flex-direction: column; }
  .profile-tabs { min-height: 60px; padding: 0 8px; }
  .profile-tabs button { padding: 0 14px; font-size: var(--type-label); }
  .profile-tabs button::after { left: 14px; right: 14px; }
  .profile-tab-panel { padding-top: 18px; }
  .wall-panel > .section-title, .profile-section > .section-title { padding: 18px; }
  .wall-composer { padding: 18px; grid-template-columns: 36px minmax(0,1fr); gap: 10px; }
  .composer-avatar, .wall-author-avatar { width: 36px; height: 36px; }
  .composer-actions { grid-column: 1 / -1; }
  .wall-post { padding: 18px; grid-template-columns: 36px minmax(0,1fr); gap: 10px; }
  .wall-post-footer { align-items: flex-start; flex-direction: column; }
  .wall-reaction-menu { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(5px) scale(.97); transform-origin: center bottom; }
  .wall-reaction-control:hover .wall-reaction-menu, .wall-reaction-control:focus-within .wall-reaction-menu, .wall-reaction-control.open .wall-reaction-menu { transform: translateX(-50%) translateY(0) scale(1); }
  .directory-head { align-items: stretch; flex-direction: column; }
  .directory-search { width: 100%; }
  .player-directory-list .social-player-card { padding-left: 34px; }
  .directory-pagination { justify-content: space-between; }
  .players-page { padding: 34px 16px 60px; }
  .players-page-head { align-items: flex-start; flex-direction: column; }
  .players-page-head > strong { display: none; }
  .players-page-search { max-width: none; }
  .players-directory-grid .social-player-card { padding-left: 36px; }
  .achievement-grid { padding: 0 18px 20px; }
  .achievement-grid article { grid-template-columns: 52px minmax(0,1fr); padding: 16px; gap: 14px; }
  .achievement-mark { width: 52px; height: 52px; font-size: 17px; }
  .settings-form, .section-intro { padding: 18px; }
  .settings-two-column { grid-template-columns: 1fr; }
  .profile-score-strip { grid-template-columns: 1fr; }
  .profile-score-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-score-strip > div:last-child { border-bottom: 0; }
  .activity-legend { display: none; }
  .recent-games-panel.activity-filtered .profile-block-head { align-items: stretch; flex-direction: column; }
  .activity-clear-filter { width: 100%; }
  .recent-games-panel .match-row { grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; }
  .recent-games-panel .rating-change { display: none; }
  .config-section > .section-title { align-items: stretch; flex-direction: column; }
  .config-section > .section-title .outline-button { width: 100%; }
  .dashboard-head { align-items: flex-start; gap: 20px; flex-direction: column; }
  .privacy-onboarding { grid-template-columns: 1fr; padding: 22px; }
  .privacy-actions { grid-column: auto; grid-template-columns: 1fr; }
  .privacy-actions small { grid-column: auto; }
  .outline-button { width: 100%; }
  .match-details-page { padding-left: 16px; padding-right: 16px; }
  .match-details-head { align-items: stretch; flex-direction: column; }
  .match-head-actions { flex-direction: column; }
  .feedback-page { padding-left: 16px; padding-right: 16px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-submit { align-items: stretch; flex-direction: column; }
  .notifications-page { padding: 34px 16px 60px; }
  .notifications-head { align-items: stretch; flex-direction: column; }
  .notification-item { grid-template-columns: 42px minmax(0,1fr); }
  .notification-actions { grid-column: 1 / -1; }
  .notification-actions .primary-button, .notification-actions .outline-button { flex: 1; }
  .social-player-card { align-items: stretch; flex-direction: column; }
  .social-actions { width: 100%; }
  .social-actions .primary-button, .social-actions .outline-button { flex: 1; }
  .match-score > div { min-height: 110px; padding: 16px; gap: 10px; }
  .match-score > div > strong { font-size: 48px; }
  .match-score span { font-size: 14px; }
  .lobbies-page { padding-left: 16px; padding-right: 16px; }
  .lobbies-hero { align-items: flex-start; flex-direction: column; gap: 22px; }
  .lobbies-hero-actions { width: 100%; padding-bottom: 4px; overflow-x: auto; justify-content: flex-start; scrollbar-width: thin; }
  .lobbies-hero-actions > button { flex: 0 0 auto; }
  .lobby-total { display: none; }
  .matchmaking-panel.signed-out { grid-template-columns: 1fr; padding-bottom: 24px; }
  .matchmaking-panel.signed-out .steam-button { margin: 0 24px; }
  .queue-selects, .role-options, .identity-options { grid-template-columns: 1fr; }
  .queue-metrics { grid-template-columns: 1fr 1fr; }
  .queue-metrics div:last-child { grid-column: 1 / -1; }
  .custom-lobbies-head { align-items: flex-start; flex-direction: column; }
  .custom-lobbies-actions, .create-lobby-button { width: 100%; }
  .lobby-dialog-overlay { padding: 12px; }
  .lobby-dialog { max-height: calc(100vh - 24px); }
  .lobby-dialog-head { padding: 22px 20px 18px; }
  .lobby-dialog-head h2 { font-size: 26px; }
  .lobby-dialog-body { padding: 22px 20px 0; }
  .lobby-dialog-footer { margin-left: -20px; margin-right: -20px; padding: 16px 20px; }
  .dialog-field-grid { grid-template-columns: 1fr; }
  .dialog-field-grid > label:first-child, .dialog-field-grid > label:last-child { grid-column: auto; }
  .side-join-actions, .side-join-actions.compact { width: 100%; min-width: 0; }
  .match-room { padding-left: 16px; padding-right: 16px; }
  .room-head { align-items: flex-start; flex-direction: column; }
  .room-code { display: none; }
  .invite-panel { grid-template-columns: 1fr; }
  .invite-panel .outline-button { width: 100%; }
  .match-protocol { grid-template-columns: 1fr; }
  .protocol-step, .protocol-step:nth-child(2) { min-height: 60px; border-right: 0; border-bottom: 1px solid var(--line); }
  .protocol-step:last-child { border-bottom: 0; }
  .ready-panel, .room-callout { align-items: stretch; flex-direction: column; }
  .ready-launch-actions { align-items: stretch; flex-direction: column-reverse; }
  .ready-launch-actions > * { width: 100%; }
  .connection-panel dl { grid-template-columns: 1fr; }
  .dota-lobby-fields { grid-template-columns: 1fr; }
  .dota-setup-steps { grid-template-columns: 1fr; }
  .dota-setup-steps > li { min-height: 0; }
  .dota-link-fallback form { grid-template-columns: 1fr; }
  .dota-link-fallback .outline-button { width: 100%; }
  .dota-setup-launch { width: 100%; }
  .connection-actions { align-items: stretch; flex-direction: column; }
  .connection-actions > * { justify-content: center; width: 100%; }
  .manual-match-form { grid-template-columns: 1fr; }
  .bot-test-form { grid-template-columns: 1fr; }
  .bot-test-form .form-note { grid-column: auto; }
  .bot-test-waiting { align-items: stretch; flex-direction: column; }
  .bot-test-result dl { grid-template-columns: 1fr; }
  .bot-test-actions { align-items: stretch; flex-direction: column; }
  .bot-test-actions > * { width: 100%; justify-content: center; }
  .pro-media-page { padding: 38px 16px 60px; }
  .pro-media-page h1 { font-size: clamp(44px, 15vw, 64px); }
  .pro-team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pro-team-card { min-height: 146px; }
  .pro-team-card img { width: 72px; height: 62px; }
  .pro-media-access { min-height: 0; position: static; }
  .site-feedback-dialog { padding: 26px 20px; }
  .top-actions .feedback-button { margin-right: 0; }
}
@media (max-width: 380px) {
  .account-name { display: none; }
  .account-pill { padding-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-mark-rig { transform: rotateX(5deg) rotateY(-5deg) rotateZ(-2deg); }
}

/* 2026 product design system — preserves the original MAJOR MM palette. */
:root {
  --surface-inset: oklch(0.125 0.036 275);
  --surface-base: oklch(0.145 0.038 275);
  --surface-raised: var(--panel);
  --surface-active: var(--panel-2);
  --border-soft: oklch(0.97 0.012 265 / .07);
  --border-default: oklch(0.97 0.012 265 / .11);
  --border-strong: oklch(0.97 0.012 265 / .18);
  --text-primary: var(--text);
  --text-secondary: oklch(0.82 0.025 270);
  --text-tertiary: oklch(0.70 0.032 270);
  --text-disabled: oklch(0.55 0.03 270);
  --control-height: 44px;
  --radius-control: 5px;
  --radius-panel: 10px;
  --z-sticky: 20;
  --z-popover: 30;
  --z-backdrop: 40;
  --z-modal: 50;
  --z-toast: 60;
}

body {
  color: var(--text-primary);
  background:
    radial-gradient(circle at 78% 4%, oklch(0.62 0.24 290 / .055), transparent 28rem),
    var(--bg);
}

main { min-height: calc(100svh - 76px); }

.topbar {
  height: 76px;
  padding-inline: clamp(20px, 4.5vw, 72px);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-color: var(--border-default);
  background: oklch(0.105 0.035 275 / .96);
  backdrop-filter: blur(18px) saturate(1.15);
}

.brand { gap: 10px; font-size: 18px; letter-spacing: .04em; }
.brand-mark { width: 36px; height: 36px; }
.brand-mark img { transition: filter 160ms var(--ease-out); }
.brand:hover .brand-mark img { transform: none; filter: drop-shadow(0 0 8px oklch(0.83 0.15 205 / .2)); }

.topbar nav { gap: 4px; color: var(--text-tertiary); }
.topbar nav a {
  min-height: 40px;
  padding: 0 14px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 600;
}
.topbar nav a:hover { color: var(--text-primary); background: oklch(0.97 0.012 265 / .04); }
.topbar nav a.active { color: #fff; background: oklch(0.62 0.24 290 / .1); }
.topbar nav a.active::after {
  content: '';
  height: 2px;
  position: absolute;
  right: 14px;
  bottom: -18px;
  left: 14px;
  background: var(--accent);
}

.top-actions { gap: 12px; }
.account-area { gap: 8px; }
.notification-button,
.account-pill,
.ghost-button,
.outline-button,
.primary-button,
.steam-button,
.danger-button,
.text-button,
.create-lobby-button,
.admin-button,
.admin-primary,
.admin-action {
  min-height: var(--control-height);
  border-radius: var(--radius-control);
}
.notification-button { width: var(--control-height); height: var(--control-height); border-color: var(--border-default); background: var(--surface-base); }
.notification-button:hover { border-color: var(--border-strong); background: var(--surface-active); }
.account-pill { min-height: var(--control-height); border-color: var(--border-default); background: var(--surface-base); }
.ghost-button, .outline-button { border-color: var(--border-default); color: var(--text-secondary); }
.ghost-button:hover, .outline-button:hover { border-color: var(--border-strong); background: oklch(0.97 0.012 265 / .045); color: #fff; }
.primary-button {
  padding: 0 20px;
  border: 1px solid oklch(0.72 0.18 290 / .55);
  background: var(--accent);
  box-shadow: none;
  letter-spacing: .01em;
}
.primary-button:hover { border-color: oklch(0.78 0.16 290 / .7); background: var(--accent-hover); }
.primary-button:disabled { border-color: transparent; background: oklch(0.36 0.08 290); color: var(--text-tertiary); }

input, select, textarea {
  border-color: var(--border-default);
  border-radius: var(--radius-control);
  background: var(--surface-inset);
  color: var(--text-primary);
}
input::placeholder, textarea::placeholder { color: var(--text-tertiary); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus { border-color: oklch(0.62 0.24 290 / .8); background: oklch(0.14 0.04 275); }
label { color: var(--text-secondary); }

.hero {
  min-height: calc(100svh - 76px);
  padding: clamp(72px, 10vh, 112px) clamp(24px, 7.5vw, 120px) 48px;
  justify-content: center;
}
.hero::after { right: 1vw; opacity: .72; }
.hero-mark-scene { width: min(40vw, 540px); right: 4.5vw; }
.hero h1 {
  max-width: min(720px, 56vw);
  margin: 22px 0 0;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.035em;
}
.hero h1 em { color: var(--signal); }
.hero-copy {
  max-width: 54ch;
  margin: 24px 0 0;
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.hero-actions { margin-top: 28px; }
.hero-play-button { min-width: 196px; min-height: 52px; padding-inline: 22px; }
.hero-match-rail {
  width: min(720px, 55vw);
  margin-top: clamp(42px, 7vh, 72px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-block: 1px solid var(--border-default);
}
.hero-match-rail > div {
  min-width: 0;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 10px;
  border-right: 1px solid var(--border-soft);
}
.hero-match-rail > div:last-child { border-right: 0; }
.hero-match-rail strong { overflow: hidden; color: var(--text-primary); font: 600 12px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.hero-match-rail small { grid-column: 2; overflow: hidden; color: var(--text-tertiary); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hero-match-rail .live-dot { width: 7px; height: 7px; grid-row: 1 / 3; align-self: center; margin: 0; }

.eyebrow { color: var(--text-secondary); letter-spacing: .13em; }
.eyebrow span { width: 18px; height: 1px; }
.section-title span { color: var(--text-tertiary); letter-spacing: .08em; }

.dashboard,
.players-page,
.lobbies-page,
.notifications-page,
.feedback-page,
.match-details-page,
.match-room,
.bot-test-page,
.pro-media-page {
  width: min(1320px, 100%);
  margin-inline: auto;
}
.players-page,
.lobbies-page,
.notifications-page,
.feedback-page,
.match-details-page,
.match-room,
.pro-media-page { padding-top: clamp(40px, 6vw, 72px); }

.lobbies-hero h1,
.players-page-head h1,
.notifications-head h1,
.match-details-head h1,
.room-head h1,
.pro-media-page h1 {
  letter-spacing: -.03em;
  line-height: 1;
}
.lobbies-hero p,
.players-page-head p,
.notifications-head p,
.room-head p,
.pro-media-page > header p { color: var(--text-secondary); }

.profile-hero,
.profile-tabs,
.profile-score-strip,
.profile-section,
.wall-panel,
.players-directory-grid .social-player-card,
.matchmaking-panel,
.lobby-search-panel,
.lobby-card,
.match-protocol,
.team-column,
.ready-panel,
.room-callout,
.dota-setup,
.connection-panel,
.result-panel,
.notifications-list,
.notification-item,
.feedback-player,
.match-score,
.match-team,
.auth-card,
.pro-media-access,
.site-feedback-dialog,
.lobby-dialog,
.connect-card {
  border-color: var(--border-default);
  border-radius: var(--radius-panel);
}

.profile-hero,
.matchmaking-panel,
.lobby-search-panel,
.lobby-card,
.team-column,
.ready-panel,
.room-callout,
.dota-setup,
.connection-panel,
.result-panel,
.feedback-player,
.match-score,
.match-team,
.pro-media-access,
.connect-card { background: var(--surface-base); }

.profile-score-strip,
.profile-tabs,
.profile-section,
.wall-panel,
.notifications-list { background: var(--surface-raised); }
.profile-score-strip { margin-top: 10px; border-bottom: 1px solid var(--border-default); }
.profile-tabs { margin-top: 10px; }
.profile-hero { border-bottom: 1px solid var(--border-default); }
.profile-avatar { box-shadow: 0 0 0 5px oklch(0.105 0.035 275 / .65); }
.profile-overview { top: 96px; }
.profile-tabs button { min-height: 52px; }
.profile-tab-panel { padding-top: 24px; }

.stat-grid,
.profile-score-strip,
.match-score,
.match-protocol,
.admin-summary { overflow: hidden; border-radius: var(--radius-panel); }
.stat-grid article,
.profile-score-strip > div,
.match-score > div { border-color: var(--border-soft); }
.stat-grid strong,
.profile-score-strip strong,
.match-score > div > strong { font-variant-numeric: tabular-nums; }

.players-page-head { padding-bottom: 28px; border-bottom-color: var(--border-default); }
.players-tools { margin: 24px 0 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.players-page-search { width: min(620px, 100%); margin: 0; flex: 1; }
.player-category-select { width: min(220px, 100%); flex: none; }
.player-category-select span { color: var(--text-secondary); }
.players-directory-grid { gap: 10px; }
.players-directory-grid .social-player-card { min-height: 112px; padding-left: 16px; background: var(--surface-base); }
.players-directory-grid .social-player-card:hover { border-color: var(--border-strong); background: var(--surface-active); }
.player-category-filters button { border-color: var(--border-default); border-radius: var(--radius-control); background: var(--surface-inset); }
.player-category-filters button.active { border-color: oklch(0.82 0.16 155 / .32); background: oklch(0.82 0.16 155 / .07); }
.social-player-card { padding: 14px 16px; }
.social-player-card > a { flex: 1; }
.player-card-copy { min-width: 0; display: grid; gap: 10px; }
.player-card-title { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.player-card-title > strong { max-width: 18ch; }
.player-identity { padding: 3px 6px; border: 1px solid var(--border-soft); color: var(--text-tertiary); font: 600 9px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.player-identity.kyc { border-color: oklch(0.82 0.16 155 / .25); color: var(--success); }
.player-identity.pro { border-color: oklch(0.78 0.14 85 / .26); color: #e7bd65; }
.player-identity.media { border-color: oklch(0.72 0.18 290 / .3); color: #c9b5ff; }
.player-card-stats { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.player-card-stats > span { display: grid; gap: 2px; color: var(--text-tertiary); font-size: 9px; line-height: 1.2; text-transform: uppercase; }
.player-card-stats b { color: var(--text-primary); font: 600 12px var(--font-display); text-transform: none; }
.player-card-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.player-card-actions:empty { display: none; }
.player-card-actions .directory-rank { position: static; }

.profile-section { min-height: 320px; }
.wall-panel > .section-title,
.profile-section > .section-title { min-height: 72px; }
.profile-tab-panel { padding-top: 18px; }
.profile-navigation { min-width: 0; }
.profile-tab-select { display: none; }
.rating-guide { margin-top: 10px; border: 1px solid var(--border-default); border-radius: var(--radius-panel); background: var(--surface-base); }
.rating-guide summary { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.rating-guide summary::-webkit-details-marker { display: none; }
.rating-guide summary span { color: var(--text-secondary); font: 600 var(--type-label) var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.rating-guide summary b { color: var(--accent); font: 400 22px/1 var(--font-display); transition: transform 180ms var(--ease-out); }
.rating-guide[open] summary b { transform: rotate(45deg); }
.rating-guide > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-soft); }
.rating-guide article { min-height: 118px; padding: 18px; border-right: 1px solid var(--border-soft); }
.rating-guide article:last-child { border-right: 0; }
.rating-guide strong { color: var(--text-primary); font: 600 14px var(--font-display); }
.rating-guide p { max-width: 46ch; margin: 7px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }

.matchmaking-copy { padding: 28px; }
.matchmaking-copy,
.matchmaking-copy .eyebrow { min-width: 0; }
.matchmaking-start { background: var(--surface-inset); }
.lobby-search-panel { background: var(--surface-base); }
.lobby-card:hover { transform: translateY(-1px); border-color: oklch(0.62 0.24 290 / .35); }
.lobby-dialog { box-shadow: 0 8px 8px oklch(0.03 0.03 275 / .42); }
.lobby-dialog-overlay { z-index: var(--z-backdrop); }
.captain-note { padding: 14px 16px; border-left: 0; border-radius: var(--radius-control); background: oklch(0.62 0.24 290 / .07); }
.site-feedback-overlay { z-index: var(--z-backdrop); }
.site-feedback-dialog { box-shadow: 0 8px 8px rgba(0,0,0,.35); }

.auth-layout { min-height: calc(100svh - 76px); grid-template-columns: minmax(360px, .85fr) minmax(480px, 1.15fr); }
.auth-aside { border-color: var(--border-default); background: radial-gradient(circle at 68% 42%, oklch(0.62 0.24 290 / .11), transparent 34%), var(--surface-inset); }
.auth-aside h1 { letter-spacing: -.035em; line-height: .92; }
.auth-panel { background: oklch(0.105 0.035 275 / .6); }
.auth-card { padding: 32px; border: 1px solid var(--border-default); background: var(--surface-base); }
.steam-button { border-color: #2c3e52; }

.pro-media-page h1 { max-width: 12ch; font-size: clamp(52px, 7.2vw, 88px); }
.pro-media-hero { max-width: 900px; }
.pro-media-hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.pro-media-hero-actions .primary-button,
.pro-media-hero-actions .outline-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; }
.pro-media-paths { margin-top: 52px; padding: 28px 0 0; border-top: 1px solid var(--border-default); }
.pro-media-paths > h2 { max-width: 18ch; margin: 0 0 26px; font: 600 clamp(28px, 3vw, 40px)/1.08 var(--font-display); text-transform: uppercase; }
.pro-media-paths > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.pro-media-paths article { min-height: 170px; padding: 24px 24px 24px 0; border-right: 1px solid var(--border-soft); }
.pro-media-paths article + article { padding-left: 24px; }
.pro-media-paths article:last-child { border-right: 0; }
.pro-media-paths strong { color: var(--text-primary); font: 600 17px var(--font-display); }
.pro-media-paths p { max-width: 40ch; margin: 12px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.pro-media-partners { margin-top: 44px; }
.pro-media-partners > span { color: var(--text-tertiary); font: 600 var(--type-label) var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.pro-media-team-strip { margin-top: 18px; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.pro-media-team-strip .pro-team-logo { width: 82px; min-width: 82px; position: static; opacity: .62; filter: saturate(.8); translate: none; transition: opacity 180ms var(--ease-out); }
.pro-media-team-strip .pro-team-logo:hover,
.pro-media-team-strip .pro-team-logo:focus-visible { opacity: 1; transform: none; }
.pro-media-team-strip .pro-team-logo img { max-width: 100%; max-height: 54px; }
.pro-media-onboarding { margin-top: 54px; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); border: 1px solid var(--border-default); border-radius: var(--radius-panel); background: var(--surface-base); }
.pro-media-onboarding-copy { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-right: 1px solid var(--border-soft); }
.pro-media-onboarding-copy h2 { max-width: 12ch; margin: 0; font: 600 clamp(30px, 4vw, 48px)/1.05 var(--font-display); text-transform: uppercase; }
.pro-media-onboarding-copy p { max-width: 46ch; margin: 16px 0 24px; color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.pro-media-onboarding-copy .outline-button { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; }
.pro-media-access { width: auto; min-height: 420px; padding: clamp(26px, 4vw, 48px); border: 0; border-radius: 0; background: var(--surface-inset); box-shadow: none; }
.pro-media-access-head { margin-bottom: 22px; }
.pro-media-access-head h3 { margin: 0; font: 600 24px/1.15 var(--font-display); text-transform: uppercase; }
.pro-media-access-head p { max-width: 50ch; margin: 9px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }

.loading p,
.error-state p,
.directory-empty,
.admin-empty { color: var(--text-secondary); }
.loading span { width: 30px; height: 30px; }
.bootstrap-loading { min-height: calc(100svh - 156px); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Matchmaking: keep the first decision quick, reveal specialist controls on demand. */
.quick-search-intro { margin-bottom: 18px; padding: 14px 16px; border: 1px solid oklch(0.82 0.16 155 / .2); border-radius: var(--radius-control); background: oklch(0.82 0.16 155 / .055); }
.quick-search-intro span { color: var(--success); font: 600 var(--type-label) var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.quick-search-intro p { max-width: 62ch; margin: 5px 0 0; color: var(--text-secondary); font-size: var(--type-caption); line-height: 1.5; }
.matchmaking-advanced { margin-top: 20px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.matchmaking-advanced summary { min-height: 66px; padding: 12px 2px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.matchmaking-advanced summary::-webkit-details-marker { display: none; }
.matchmaking-advanced summary > span { min-width: 0; display: grid; gap: 3px; }
.matchmaking-advanced summary strong { color: var(--text-primary); font: 600 var(--type-control) var(--font-display); text-transform: uppercase; }
.matchmaking-advanced summary small { color: var(--text-tertiary); font-size: var(--type-caption); line-height: 1.4; }
.matchmaking-advanced summary > b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; color: var(--accent); font: 400 24px/1 var(--font-display); transition: transform 180ms var(--ease-out); }
.matchmaking-advanced[open] summary > b { transform: rotate(45deg); }
.matchmaking-advanced-body { padding: 6px 0 22px; display: grid; gap: 22px; }
.identity-help { max-width: 64ch; margin: 7px 0 10px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }

/* Matchmaking: turn backend fields into four player-facing status groups. */
.matchmaking-panel.searching { min-height: 320px; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); align-items: stretch; }
.queue-overview { min-width: 0; padding: 32px; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 24px; border-right: 1px solid var(--border-soft); }
.queue-overview .queue-signal { width: 58px; height: 58px; margin: 0; }
.searching .matchmaking-copy { min-width: 0; padding: 0; border: 0; }
.queue-status { min-width: 0; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.queue-metrics { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); border-radius: var(--radius-panel); }
.queue-metrics div { min-width: 0; min-height: 104px; padding: 18px; display: grid; align-content: center; gap: 0; border: 0; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.queue-metrics div:nth-child(2n) { border-right: 0; }
.queue-metrics div:nth-last-child(-n + 2) { border-bottom: 0; }
.queue-metrics dt { color: var(--text-tertiary); font-size: 11px; line-height: 1.35; letter-spacing: .07em; }
.queue-metrics dd { margin: 8px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; color: var(--text-primary); font: inherit; }
.queue-metrics dd strong { font: 600 28px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.queue-metrics dd small { color: var(--text-secondary); font-size: 11px; white-space: nowrap; }
.queue-search-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.queue-search-footer > span { max-width: 48ch; color: var(--text-tertiary); font-size: 12px; line-height: 1.5; }
.queue-cancel { margin: 0; flex: none; }

.site-footer { min-height: 80px; border-color: var(--border-default); background: oklch(0.09 0.03 275 / .78); color: var(--text-tertiary); }

@media (max-width: 820px) {
  body { padding-bottom: 64px; }
  .topbar { height: 68px; backdrop-filter: none; }
  .topbar nav {
    height: 64px;
    padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    border-top: 1px solid var(--border-default);
    background: oklch(0.105 0.035 275 / .97);
    backdrop-filter: blur(18px);
  }
  .topbar nav a { min-width: 0; min-height: 50px; padding: 0 5px; font-size: 11px; text-align: center; }
  .topbar nav a.active::after { right: 10px; bottom: -6px; left: 10px; }
  .site-footer { margin-bottom: -64px; padding-bottom: 82px; }
  .hero { min-height: calc(100svh - 68px); padding-top: 68px; padding-bottom: 44px; justify-content: center; }
  .hero h1 { max-width: 100%; }
  .hero-copy { max-width: min(54ch, 72vw); }
  .hero-match-rail { width: min(620px, 90vw); }
  .auth-layout { min-height: auto; grid-template-columns: 1fr; }
  .topbar.focus-mode nav { display: none; }
  body:has(.topbar.focus-mode) { padding-bottom: 0; }
  .matchmaking-panel.searching { grid-template-columns: 1fr; }
  .queue-overview { padding: 24px; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .queue-status { padding: 24px; }
  .profile-tabs { display: none; }
  .profile-tab-select { padding: 10px 0; display: grid; gap: 6px; }
  .profile-tab-select span { color: var(--text-secondary); font-size: 12px; }
  .rating-guide > div { grid-template-columns: 1fr; }
  .rating-guide article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .rating-guide article:last-child { border-bottom: 0; }
  .pro-media-paths > div { grid-template-columns: 1fr; }
  .pro-media-paths article,
  .pro-media-paths article + article { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .pro-media-paths article:last-child { border-bottom: 0; }
  .pro-media-onboarding { grid-template-columns: 1fr; }
  .pro-media-onboarding-copy { border-right: 0; border-bottom: 1px solid var(--border-soft); }
}

@media (max-width: 520px) {
  .topbar { padding-inline: 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-actions .feedback-button { display: none; }
  .hero { padding: 54px 18px 38px; align-items: flex-start; }
  .hero h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-copy { max-width: 34ch; font-size: 14px; }
  .hero-mark-scene { width: min(132vw, 530px); right: -39vw; opacity: .22; }
  .hero-play-button { width: min(100%, 240px); }
  .hero-match-rail { width: 100%; margin-top: 38px; grid-template-columns: 1fr; }
  .hero-match-rail > div { min-height: 58px; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .hero-match-rail > div:last-child { display: none; }
  .auth-aside { min-height: 250px; }
  .auth-panel { padding: 20px 14px 34px; }
  .auth-card { padding: 24px 18px; }
  .players-tools { align-items: stretch; flex-direction: column; }
  .player-category-select { width: 100%; }
  .social-player-card { align-items: flex-start; flex-direction: column; }
  .social-player-card > a { width: 100%; }
  .player-card-actions { width: 100%; justify-content: space-between; }
  .player-card-actions > button,
  .player-card-actions > .social-actions { margin-left: auto; }
  .player-card-stats { gap: 8px 12px; }
  .pro-media-hero-actions { align-items: stretch; flex-direction: column; }
  .pro-media-hero-actions > * { width: 100%; }
  .pro-media-paths { margin-top: 38px; }
  .pro-media-team-strip { justify-content: flex-start; }
  .pro-media-onboarding { margin-top: 38px; }
  .pro-media-onboarding-copy,
  .pro-media-access { padding: 24px 18px; }
  .queue-selects { grid-template-columns: 1fr; }
  .queue-overview { grid-template-columns: 1fr; }
  .queue-overview .queue-signal { display: none; }
  .queue-metrics div { min-height: 92px; padding: 14px; }
  .queue-search-footer { align-items: stretch; flex-direction: column; }
  .queue-search-footer .queue-cancel { width: 100%; }
  .profile-hero,
  .profile-score-strip,
  .profile-tabs { border-radius: var(--radius-panel); }
}
