/* Local assets only. */
:root{color-scheme:dark;--bg:#101218;--panel:#191c24;--muted:#a4a9b8;--line:#2c303b;--lime:#d5fc50;--blue:#8bafff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f4f5f8;font:14px Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}button{cursor:pointer}header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 5%;border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:1px;display:flex;align-items:center;gap:10px;font-size:21px}.logo{background:var(--lime);color:#101218;font-size:30px;font-style:italic;padding:0 8px;transform:skew(-8deg)}.logo span{color:#506209}.beta{font:10px Inter,sans-serif;border:1px solid #515640;color:var(--lime);padding:4px;letter-spacing:1px}nav{display:flex;gap:32px;color:#aeb3c1}nav a:hover,nav a.active{color:var(--lime)}.profile{display:flex;gap:10px;align-items:center}.avatar{background:#343a4f;border-radius:50%;padding:10px 13px;color:#c8d1ff}.demo{padding:12px 5%;font-size:10px;letter-spacing:1.3px;color:var(--lime);background:#1d2318;display:flex;align-items:center;gap:20px}.demo span{color:#c0c6b6;letter-spacing:0}.demo button{margin-left:auto;border:0;background:transparent;color:#c0c6b6;font-size:11px}main{max-width:1440px;padding:32px 5% 70px;margin:auto}h1,h2,h3,p{margin-top:0}h1,h2,.display{font-family:'Barlow Condensed',Impact,sans-serif;text-transform:uppercase}h1{font-size:clamp(50px,6vw,88px);line-height:.98;margin:24px 0;letter-spacing:-1px}h2{font-size:32px;letter-spacing:.4px;margin-bottom:8px}h3{font-size:19px}.eyebrow{color:var(--lime);font-size:11px;letter-spacing:2px;font-weight:700}.muted,p{color:var(--muted);line-height:1.7}.hero{min-height:420px;position:relative;overflow:hidden;border:1px solid #353a4a;background:radial-gradient(ellipse at 83% 70%,#364b8566,transparent 55%),linear-gradient(115deg,#202530,#161d2c);padding:45px;display:grid;grid-template-columns:1.1fr 1fr}.hero-copy{z-index:2}.hero p{max-width:410px}.hero h1 em{color:var(--lime);font-style:normal}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;border:1px solid var(--line);padding:13px 20px;background:#242935;color:white;font-weight:600;border-radius:4px}.btn.primary{background:var(--lime);border-color:var(--lime);color:#171b10}.btn:hover{filter:brightness(1.12)}.btn:disabled{opacity:.5;cursor:not-allowed}.arena{position:relative;min-height:280px;align-self:center;perspective:700px}.orbit{position:absolute;width:330px;height:330px;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #65779c55;border-radius:50%}.orbit:before,.orbit:after{content:"";position:absolute;inset:30px;border:1px dashed #64779877;border-radius:50%}.orbit:after{inset:-45px;border-style:solid;border-color:#65779c22}.ball{position:absolute;top:25%;left:41%;width:95px;height:95px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fafcff,#7e90a9 45%,#242e43 75%);box-shadow:12px 20px 40px #0007,inset -5px -4px 12px #0008;display:grid;place-items:center;transform:rotate(-20deg);font-size:65px;color:#293344}.field{position:absolute;bottom:-10px;left:5%;width:95%;height:180px;border:2px solid #95aaf166;transform:rotateX(58deg) rotateZ(-22deg);background:repeating-linear-gradient(0deg,#152d3300 0 29px,#95aaf110 30px 31px),#1a314a99;box-shadow:0 0 40px #7198e622}.field:after{content:"";position:absolute;inset:15%;border:1px solid #c5ddff55}.speed{position:absolute;left:20%;bottom:30px;background:var(--lime);height:5px;width:130px;transform:rotate(-24deg);box-shadow:0 13px 0 #d5fc5044,0 -13px 0 #d5fc5022}.visual-label{position:absolute;right:0;bottom:0;font:11px monospace;color:#b7c5e3}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-top:0;margin-bottom:38px}.stats>div{padding:20px 26px;border-right:1px solid var(--line);display:flex;align-items:center;gap:14px}.stats b{font-size:25px}.stats span{color:var(--muted);font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:24px 0}.section-head p{margin:0}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:24px 0}.chip{border:1px solid var(--line);background:transparent;color:#b8becb;border-radius:5px;padding:9px 17px}.chip.selected{background:var(--lime);color:#141810;border-color:var(--lime)}select,input{background:#191c24;color:white;border:1px solid #424858;border-radius:4px;padding:10px 13px}select{margin-left:auto}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:var(--panel);border:1px solid var(--line);border-radius:7px;overflow:hidden}.card-top{height:140px;padding:20px;display:flex;justify-content:space-between;align-items:start;position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 100%,#53676c,#232c30 70%)}.card:nth-child(2) .card-top{background:radial-gradient(ellipse at 100% 100%,#4d5691,#26283c 70%)}.card:nth-child(3) .card-top{background:radial-gradient(ellipse at 100% 100%,#765c38,#342c26 70%)}.mode-art{position:absolute;right:20px;bottom:-22px;font:110px 'Barlow Condensed',Impact,sans-serif;color:#ffffff18;font-style:italic}.tag{padding:6px 9px;background:#0e121a99;border:1px solid #ffffff18;font-size:10px;font-weight:600;letter-spacing:1px;z-index:1}.tag.open{color:var(--lime)}.card-body{padding:22px}.card-body small{color:var(--muted)}.card-body h3{margin:12px 0}.meta{display:flex;justify-content:space-between;font-size:12px;color:#bec4d0;margin:18px 0}.progress{height:4px;background:#333845;margin:12px 0 18px}.progress i{display:block;height:100%;background:var(--lime)}.card-bottom{display:flex;justify-content:space-between;align-items:center}.card-bottom b{font-size:13px}.card-bottom .btn{padding:10px 16px;font-size:12px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:24px}.step{border-top:1px solid var(--line);padding-top:22px}.step b{color:var(--lime);font:30px 'Barlow Condensed',sans-serif}.step h3{margin-top:15px}.page-heading{margin:30px 0}.page-heading h1{font-size:60px}.panel{background:var(--panel);border:1px solid var(--line);padding:26px;border-radius:7px;margin:20px 0}.two-col{display:grid;grid-template-columns:2fr 1fr;gap:24px}.notice{background:#252b1b;border-left:3px solid var(--lime);padding:15px;color:#cbd9b5;line-height:1.6}.grid-info{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.grid-info b{display:block;margin-top:9px}.bracket{display:flex;gap:28px;overflow:auto;align-items:center;padding:20px 0}.round{min-width:210px;flex:1}.match{display:block;margin:16px 0;padding:14px;background:#212632;border:1px solid #3b4252;border-left:3px solid var(--blue);border-radius:4px}.match span{display:flex;justify-content:space-between;padding:6px 0}.match:hover{border-color:var(--lime)}label{display:block;margin:18px 0 8px;color:#cbd0db}input{max-width:100%;width:100%}.score{display:flex;align-items:center;gap:20px}.score input{width:80px;font-size:24px;text-align:center}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:17px 12px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.table-wrap{overflow:auto}.calendar-row{display:flex;align-items:center;gap:30px;padding:22px;border-bottom:1px solid var(--line)}.calendar-row>span{font-size:26px;font-weight:700;color:var(--lime)}.calendar-row p{margin:4px 0}.calendar-row .btn{margin-left:auto}.pill{color:var(--lime);font-size:12px}footer{border-top:1px solid var(--line);padding:35px 5%;display:flex;gap:25px;align-items:center;flex-wrap:wrap}footer p{font-size:11px;margin:0;max-width:270px}footer>a:last-child{margin-left:auto;font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--lime);color:#111;padding:15px 23px;border-radius:5px;display:none;z-index:10;max-width:90vw}#toast.show{display:block}.back{color:var(--muted);display:inline-block;margin:10px 0}form{max-width:500px}.error{color:#ffb5ac}@media(max-width:900px){header{height:auto;padding:20px 5%;flex-wrap:wrap}nav{order:3;width:100%;justify-content:space-between;gap:12px;font-size:12px}.hero{padding:30px;grid-template-columns:1fr 0.8fr}.cards{gap:12px}.card-body{padding:16px}.two-col{grid-template-columns:1fr}.profile{font-size:12px}.stats>div{padding:18px}.demo{flex-wrap:wrap;gap:8px}.demo span{flex:1}.steps{gap:15px}}@media(max-width:650px){main{padding-top:20px}.hero{grid-template-columns:1fr;padding:28px;min-height:550px}.hero h1{max-width:350px}.arena{min-height:180px;opacity:.65}.orbit{width:180px;height:180px}.ball{width:65px;height:65px;font-size:45px;top:10%;left:55%}.field{height:130px;left:15%;width:80%}.hero p{font-size:13px}.cards,.steps{grid-template-columns:1fr}.stats>div{display:block;padding:16px 12px}.stats b{display:block;margin-bottom:6px}.stats span{font-size:10px}.section-head{align-items:start}.section-head p{font-size:12px}.section-head>a{font-size:12px}.grid-info{grid-template-columns:1fr 1fr}.calendar-row{gap:14px;padding:20px 0}.calendar-row>span{font-size:19px}.calendar-row .btn{font-size:11px;padding:10px}.calendar-row h3{font-size:15px}.demo span{min-width:180px}.demo button{margin-left:0}.page-heading h1{font-size:46px}footer{display:block}footer>*{margin-bottom:18px!important}select{margin-left:0}.card-top{height:120px}}
/* MVP local: no remote fonts or assets. */
h1,h2,.display{font-family:Impact,'Arial Narrow',sans-serif;font-weight:700}h1{letter-spacing:0;font-size:clamp(42px,5.6vw,78px)}.empty{padding:35px 12px;text-align:center}.empty .display{font-size:28px;color:#d5fc50}.hint{font-size:12px;margin-top:18px}.row-actions{display:flex;gap:8px}.row-actions .btn{font-size:11px;padding:8px 10px}.audit{max-height:280px;overflow:auto}.audit p{font-size:12px;border-bottom:1px solid var(--line);padding:8px 0;margin:0}.audit time{color:var(--lime);margin-right:12px}.champion{padding:30px;border:1px solid #71883c;background:linear-gradient(100deg,#28331e,#171e20);border-radius:8px;margin-bottom:22px}.champion h2{font-size:42px;margin-top:15px}.winner{color:var(--lime)}.match.disputed{border-color:#ee9878}.match.confirmed{border-left-color:var(--lime)}.match.waiting{opacity:.6}.scoreboard{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0}.scoreboard strong{font-size:38px;white-space:nowrap;color:var(--lime)}.scoreboard h3{margin-top:12px;overflow-wrap:anywhere}.scoreboard>div{flex:1}.scoreboard>div:last-child{text-align:right}code{font-size:16px;color:var(--lime);overflow-wrap:anywhere}summary{cursor:pointer;font-weight:600}li{line-height:1.8;margin:10px 0;color:#b8becb}dialog{background:var(--panel);color:white;border:1px solid #535b70;border-radius:10px;padding:30px;max-width:480px;width:90%}dialog::backdrop{background:#05070bcc}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime)}.page-heading h1{overflow-wrap:anywhere}form select{display:block;margin:12px 0}.round{min-width:240px}.round h3{font-size:15px;color:#aeb8d1}.match small{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#aeb8d1}.match span{gap:15px;overflow-wrap:anywhere}.card-body h3{font-size:23px}.panel .section-head:first-child{margin-top:0}@media(max-width:650px){.scoreboard{gap:12px}.scoreboard h3{font-size:14px}.scoreboard strong{font-size:26px}.page-heading h1{font-size:38px}.champion h2{font-size:32px}.hero{min-height:520px}.row-actions{flex-wrap:wrap}.profile{font-size:11px}.brand{font-size:18px}.tag{font-size:9px}.panel{padding:20px}.hero .actions .btn{font-size:12px}}
/* RL Arena — local competition dashboard */
:root {
  --bg:#060B12; --sidebar:#080E18; --panel:#0B1220; --card:#111C2D;
  --line:#233248; --text:#F4F7FB; --muted:#A7B4C5; --lime:#B8F36B; --blue:#5DA8FF;
}
body {background:radial-gradient(ellipse at 70% 0%,#10213966,transparent 45%),var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}
h1,h2,.display {font-family:Inter,"Segoe UI",Arial,sans-serif;text-transform:none;font-weight:800;letter-spacing:-.045em}
h2 {font-size:26px}
a,button { -webkit-tap-highlight-color:transparent }
a,button,.card {transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:2px solid var(--blue);outline-offset:4px}
.sidebar {position:fixed;inset:0 auto 0 0;z-index:5;width:220px;height:100dvh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:36px;padding:32px 18px 22px;background:var(--sidebar);border:0;border-right:1px solid var(--line)}
.brand {font-size:19px;gap:8px;flex-wrap:wrap;letter-spacing:1px}
.sidebar .brand {padding:0 8px}
.logo {font-size:24px;border-radius:5px;background:var(--text);color:var(--bg)}
.logo span {color:#42617f}
.beta {font-size:9px;color:var(--muted);border-color:var(--line);border-radius:4px;padding:4px 7px}
.sidebar .beta {margin-left:42px;letter-spacing:2px}
nav {display:flex;flex-direction:column;gap:7px;font-size:13px}
nav a {display:flex;align-items:center;gap:12px;min-height:46px;padding:12px;border:1px solid transparent;border-radius:8px;color:var(--muted);font-weight:600}
nav a:hover {background:#111d2e;color:var(--text)}
nav a.active {background:linear-gradient(90deg,#192b40,#111d2e);border-color:#2b425d;color:var(--text)}
nav a.active .nav-icon {color:var(--lime)}
.nav-icon {width:20px;text-align:center;font-size:21px;font-weight:400;color:#8fa4be}
.profile {margin-top:auto;border-top:1px solid var(--line);padding-top:22px;font-size:12px;color:var(--muted)}
.avatar {display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;padding:0;border-radius:12px;background:linear-gradient(140deg,#244465,#17283e);border:1px solid #385573;color:#d4e8ff;font-weight:700}
.demo {margin-left:220px;min-height:49px;padding:12px 32px;background:#0b1420;border-bottom:1px solid var(--line);gap:16px;font-size:9px;letter-spacing:1.3px;color:#c4d2e3}
.demo b {white-space:nowrap;display:flex;align-items:center;gap:8px}
.demo b:before {content:"";width:6px;height:6px;background:var(--blue);border-radius:50%}
.demo span {font-size:11px;color:var(--muted)}
main {max-width:1800px;margin-left:220px;padding:28px 32px 40px}
.dashboard {display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:24px}
.dashboard-main {min-width:0}
.hero {min-height:290px;padding:32px;border-radius:14px;border-color:#2a3d55;background:radial-gradient(ellipse at 85% 65%,#29466555,transparent 65%),linear-gradient(120deg,#132237,#0b1422);grid-template-columns:1.5fr .7fr;isolation:isolate}
.hero-copy {min-width:0}
.eyebrow {font-size:10px;letter-spacing:1.8px;color:var(--blue);font-weight:700}
.hero h1 {font-size:clamp(28px,2.8vw,46px);line-height:1.13;margin:19px 0 15px;letter-spacing:-.045em}
.hero h1 em {color:var(--text)}
.hero p {max-width:430px;font-size:13px;line-height:1.75;margin-bottom:0}
.hero .actions {margin-top:23px;gap:10px}
.btn {background:#142235;border:1px solid #30445d;border-radius:7px;padding:11px 16px;font-size:12px;color:var(--text);font-weight:700;min-height:40px;gap:10px}
.btn.primary {background:var(--lime);border-color:var(--lime);color:#15200b;box-shadow:0 3px 10px #0002}
.btn:hover {filter:none;background:#20334c;border-color:#577697;transform:translateY(-1px)}
.btn.primary:hover {background:#c8ff84;border-color:#c8ff84;box-shadow:0 5px 15px #0004}
.btn:disabled {transform:none;box-shadow:none}
.arena {min-height:220px;opacity:.8}
.orbit {width:190px;height:190px;border-color:#7f9bbc33}
.orbit:before {border-color:#7f9bbc44}
.orbit:after {inset:-26px}
.ball {width:66px;height:66px;font-size:45px;left:35%;top:25%;box-shadow:12px 20px 30px #0007,inset -5px -4px 12px #0008}
.field {height:115px;bottom:16px;border-color:#7496bf55;background:repeating-linear-gradient(0deg,transparent 0 29px,#95aaf110 30px 31px),#1a314a55;box-shadow:none}
.speed {width:85px;height:3px;bottom:40px;background:var(--blue);box-shadow:0 9px 0 #5da8ff22,0 -9px 0 #5da8ff11}
.visual-label {font-size:8px;letter-spacing:1px;color:#91a7c1;bottom:0;white-space:nowrap}
.section-head {margin:28px 0 18px;align-items:center;gap:16px}
.section-head h2 {margin:7px 0}
.section-head p {font-size:12px}
.text-link {font-size:12px;font-weight:600;color:#b5cce6;white-space:nowrap}
.text-link:hover {color:var(--text)}
.cards {gap:16px}
.card {--mode:#5DA8FF;background:linear-gradient(145deg,#142136,var(--card));border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #0002;display:flex;flex-direction:column;min-width:0}
.card.mode-duo {--mode:#99A7F5}
.card.mode-squad {--mode:#6FCBC3}
.card:hover,.card:focus-within {border-color:#486482;box-shadow:0 12px 28px #0004;transform:translateY(-3px)}
.card-top,.card:nth-child(2) .card-top,.card:nth-child(3) .card-top {height:147px;padding:16px;gap:8px;background:radial-gradient(ellipse at 90% 100%,#254f7844,transparent 75%),linear-gradient(125deg,#182c46,#101b2d);border-bottom:1px solid var(--line)}
.card.mode-duo .card-top {background:radial-gradient(ellipse at 90% 100%,#60669e44,transparent 75%),linear-gradient(125deg,#252b46,#121c2e)}
.card.mode-squad .card-top {background:radial-gradient(ellipse at 90% 100%,#327d7a44,transparent 75%),linear-gradient(125deg,#17373f,#111e2c)}
.card-top:after {content:"";position:absolute;inset:50px -25px -80px 40%;border:1px solid #ffffff0c;transform:rotate(-28deg);box-shadow:0 -22px 0 -21px #ffffff14,0 -44px 0 -43px #ffffff14;pointer-events:none}
.tag {padding:5px 7px;font-size:9px;letter-spacing:.4px;line-height:1.4;border-radius:5px;color:var(--text);background:#07101bc9;border-color:#ffffff18;white-space:nowrap}
.tag.status-open {color:#d7e5f6}
.tag.status-open:before {content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:var(--lime);vertical-align:middle}
.tag.status-running {color:#9ac7ff}
.tag.status-completed {color:#c2c9de}
.mode-art {font:800 72px/1 "Segoe UI",Arial,sans-serif;letter-spacing:-7px;font-style:italic;color:var(--mode);opacity:.8;right:23px;bottom:23px}
.mode-caption {position:absolute;left:16px;bottom:15px;font-size:8px;font-weight:700;letter-spacing:1.4px;color:#cad6e5;z-index:1}
.card-body {padding:20px 18px;display:flex;flex:1;flex-direction:column}
.card-body small {font-size:8px;font-weight:600;letter-spacing:1.3px;color:var(--muted)}
.card-body h3 {font-size:23px;letter-spacing:-.6px;margin:10px 0}
.card-body p {font-size:12px;line-height:1.7;min-height:41px;margin-bottom:16px;overflow-wrap:anywhere}
.meta {font-size:10px;margin:auto 0 10px;gap:8px;align-items:baseline;color:var(--muted)}
.meta strong {font-size:18px;color:var(--text);font-variant-numeric:tabular-nums}
.progress {height:3px;margin:0 0 18px;border-radius:3px;background:#28394e;overflow:hidden}
.progress i {background:var(--mode)}
.card-bottom {gap:10px;border-top:1px solid #23324880;padding-top:16px;flex-wrap:wrap}
.card-bottom b {font-size:10px;font-weight:500;line-height:1.7}
.card-bottom b span {display:block;font-size:9px;color:var(--muted)}
.card-bottom .btn {font-size:11px;padding:10px 12px;flex-grow:1}
.steps {gap:18px;margin-top:26px}
.step {display:flex;gap:12px;padding-top:18px}
.step b {font:600 12px/1.5 "Segoe UI",sans-serif;color:#7e95b1}
.step h3 {font-size:12px;margin:0 0 5px}
.step p {font-size:11px;line-height:1.6;margin:0}
.session-rail {border:1px solid var(--line);border-radius:12px;background:linear-gradient(170deg,#101c2d,var(--panel));align-self:start;overflow:hidden}
.session-rail section {padding:23px 20px;border-bottom:1px solid var(--line)}
.session-rail section:last-child {border:0}
.session-rail h2 {font-size:20px;margin:12px 0 22px}
.session-rail h3 {font-size:15px;margin:0 0 5px}
.rail-identity {display:flex;gap:12px;align-items:center;margin:20px 0}
.rail-identity>div {min-width:0}
.rail-identity h3 {overflow-wrap:anywhere}
.rail-identity .muted {font-size:11px}
.session-profile .btn {width:100%}
.session-stat {display:flex;justify-content:space-between;gap:10px;margin:17px 0;font-size:12px;color:var(--muted)}
.session-stat b {color:var(--text);font-size:16px;font-variant-numeric:tabular-nums}
.session-rail .hint {font-size:10px;line-height:1.7;margin-bottom:0}
.session-rail p {font-size:12px}
.rail-icon {display:block;font-size:30px;color:var(--blue);margin-bottom:14px}
.rail-lab .tag {font-size:8px;color:var(--muted);letter-spacing:1px}
.rail-lab p {margin-top:15px;font-size:11px}
.panel {background:linear-gradient(140deg,#101b2b,var(--panel));border-color:var(--line);border-radius:12px}
.page-heading {margin:10px 0 26px}
.page-heading h1 {font-size:clamp(32px,4vw,52px)}
.chip {border-radius:7px;color:var(--muted);background:var(--panel)}
.chip:hover {background:#1b2c42;color:var(--text)}
.chip.selected {background:#21354b;border-color:#496988;color:var(--text)}
select,input {background:var(--bg);border-color:#354963;color:var(--text);border-radius:7px}
.notice {background:#111f31;border-left-color:var(--blue);color:#c4d5eb}
.empty .display {color:var(--text)}
footer {margin-left:220px;padding:24px 32px;border-color:var(--line);gap:20px}
footer .brand {font-size:13px}
footer p {font-size:10px;max-width:245px}
footer>a:last-child {font-size:10px}
@media(min-width:1600px) {.hero {min-height:320px}.card-top,.card:nth-child(2) .card-top,.card:nth-child(3) .card-top {height:170px}.card-body {padding:24px}.dashboard {grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:1250px) {.dashboard {grid-template-columns:minmax(0,1fr)}.session-rail {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.session-rail section {border-right:1px solid var(--line)}.session-rail section:nth-child(even) {border-right:0}.session-rail section:nth-child(3) {border-bottom:0}.hero {grid-template-columns:1.4fr 1fr}.hero h1 {font-size:38px}.hero p {max-width:450px}}
@media(max-width:900px) {.sidebar {width:180px;padding:25px 12px;gap:28px;flex-wrap:nowrap}.sidebar .brand {font-size:15px}.sidebar .beta {margin-left:38px}nav {order:0;width:auto;gap:5px;font-size:12px}nav a {gap:8px;padding:10px}.profile {font-size:11px}.demo,main,footer {margin-left:180px}.demo {padding:12px 22px;gap:7px}.demo span {font-size:10px;flex-basis:100%}main {padding:22px}.cards {grid-template-columns:1fr}.card {display:grid;grid-template-columns:180px minmax(0,1fr)}.card-top,.card:nth-child(2) .card-top,.card:nth-child(3) .card-top {height:100%;min-height:220px;flex-direction:column;justify-content:flex-start;border-bottom:0;border-right:1px solid var(--line)}.mode-art {bottom:55px;right:25px}.card-body p {min-height:0}.hero {grid-template-columns:1fr;padding:28px;min-height:280px}.hero-copy {max-width:460px}.hero h1 {font-size:34px}.arena {display:none}.steps {gap:12px}.step {display:block}.step b {display:block;margin-bottom:8px}.session-rail section {padding:20px}footer {padding:24px 22px}}
@media(max-width:600px) {.sidebar {position:static;width:100%;height:auto;padding:18px 16px 12px;display:grid;grid-template-columns:1fr auto;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand {padding:0;font-size:16px;gap:7px}.sidebar .beta {margin:0;font-size:8px}.sidebar .logo {font-size:21px}.profile {margin:0;padding:0;border:0;font-size:0}.profile .avatar {font-size:13px;width:32px;height:32px}nav {grid-column:1/-1;grid-row:2;flex-direction:row;overflow-x:auto;justify-content:flex-start;gap:5px;padding:3px 0 5px}nav a {white-space:nowrap;font-size:11px;min-height:40px;padding:9px;gap:6px}.nav-icon {font-size:17px;width:16px}.demo,main,footer {margin-left:0}.demo {padding:11px 16px}.demo span {min-width:0;font-size:9px;line-height:1.6}main {padding:18px 16px 30px}.dashboard {gap:22px}.hero {padding:24px;min-height:0;border-radius:12px}.hero h1 {font-size:32px;line-height:1.15}.hero .eyebrow {font-size:8px}.hero p {font-size:12px}.hero .actions {gap:8px}.hero .actions .btn {font-size:11px;padding:10px 12px}.section-head {margin:25px 0 16px;gap:8px}.section-head h2 {font-size:23px}.section-head p {font-size:11px}.section-head .text-link {font-size:10px}.card {display:flex}.card-top,.card:nth-child(2) .card-top,.card:nth-child(3) .card-top {height:150px;min-height:0;flex-direction:row;border-right:0;border-bottom:1px solid var(--line)}.mode-art {bottom:23px;right:23px}.card-body {padding:20px}.card-body small {font-size:9px}.card-body p {font-size:13px}.meta {font-size:11px}.card-bottom {flex-wrap:nowrap}.card-bottom .btn {flex-grow:0;min-width:145px}.steps {grid-template-columns:1fr;gap:16px}.step {display:flex;gap:16px;padding-top:16px}.step h3 {font-size:13px}.step p {font-size:12px}.session-rail {grid-template-columns:1fr}.session-rail section {border-right:0}.session-rail section:nth-child(3) {border-bottom:1px solid var(--line)}footer {padding:24px 16px}footer>* {margin-bottom:12px!important}}
@media(prefers-reduced-motion:reduce) {*,*:before,*:after {transition:none!important;scroll-behavior:auto!important}.card:hover,.card:focus-within,.btn:hover {transform:none}}
/* Reference implementation: homepage only; interior layouts retain their styles. */
.neon-top-profile {position:absolute;top:6px;right:28px;display:flex;align-items:center;gap:10px;max-width:240px;font-size:12px;font-weight:600}
.neon-top-profile>span:nth-child(2) {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.neon-top-profile .avatar {width:33px;height:33px;border-radius:50%;color:#f4f7fb;background:#344e68}
@media(max-width:1150px) {.neon-top-profile {display:none}}
.brand-wordmark {display:block;font-size:20px;letter-spacing:-.8px}
.brand-wordmark small {display:block;font-size:7px;letter-spacing:0;margin-top:4px}
.sidebar .brand {flex-wrap:nowrap}
.sidebar .nav-icon {height:22px;flex-shrink:0}
.sidebar-lab {display:none}
body:has(.neon-home) {background:radial-gradient(ellipse at 100% 85%,#31115a42,transparent 32%),#030c17;color:#f4f7fb}
body:has(.neon-home):before {content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(145deg,transparent 77%,#14227018 77.2%,transparent 82%),linear-gradient(145deg,transparent 91%,#00bde822 91.1%,transparent 91.4%);z-index:-1}
body:has(.neon-home) .sidebar {width:250px;padding:30px 14px 16px;background:linear-gradient(145deg,transparent 45%,#38115d55 50%,transparent 55%),linear-gradient(145deg,#040d19 55%,#082344 75%,#040d19 85%);border-right:1px solid #29435a;border-radius:0 20px 20px 0;gap:34px}
body:has(.neon-home) .brand {gap:12px;padding:0 16px}
body:has(.neon-home) .logo {padding:0;background:linear-gradient(150deg,#6646fa 20%,#00dafa 70%);background-clip:text;color:transparent;font:bold italic 54px/.95 Arial,sans-serif;transform:skew(-8deg);border-radius:0}
body:has(.neon-home) .brand-wordmark {font-size:25px;white-space:nowrap;letter-spacing:-1px}
body:has(.neon-home) nav {gap:6px}
body:has(.neon-home) nav a {font-size:15px;font-weight:500;gap:18px;border-radius:7px;padding:12px 22px;min-height:46px;color:#f4f7fb}
body:has(.neon-home) nav a.active {background:linear-gradient(90deg,#063b57,#17334e);border-color:transparent;border-left:3px solid #00d9f4;padding-left:20px;color:#00d9f4;box-shadow:inset 0 0 18px #00ccff08}
body:has(.neon-home) nav a.active .nav-icon {color:#00d9f4}
body:has(.neon-home) nav a:hover {background:#12344e;color:#00d9f4}
body:has(.neon-home) .profile {margin-top:auto;padding:14px 14px 0;border:0;color:#c7d5e5}
body:has(.neon-home) .sidebar-lab {display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #29435a;border-radius:12px;background:#0b1828b3}
.sidebar-lab .nav-icon {width:30px;height:30px;color:#00d9f4}
.sidebar-lab b {font-size:12px}
.sidebar-lab small {display:block;font-size:10px;color:#bdcbdc;margin-top:5px}
body:has(.neon-home) .demo {margin-left:250px;min-height:46px;padding:12px 30px;background:#06111f;border-color:#284057;font-size:11px;letter-spacing:0;gap:24px}
body:has(.neon-home) .demo b {color:#00d9f4;font-size:12px}
body:has(.neon-home) .demo b:before {background:#00d9f4}
body:has(.neon-home) .demo span {padding-left:24px;border-left:1px solid #20364c;font-size:12px}
body:has(.neon-home) main {margin-left:250px;padding:24px 20px 24px 28px;max-width:none}
body:has(.neon-home) footer {margin-left:250px;padding:18px 28px;opacity:.8}
.neon-home {--cyan:#00d6ef;--purple:#dc32ed;display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:24px}
.neon-main {min-width:0}
.neon-home .arena-icon {width:22px;height:22px;flex-shrink:0;vertical-align:middle}
.neon-hero {position:relative;isolation:isolate;min-height:274px;border:1px solid #40607f;border-radius:21px;overflow:hidden;display:flex;align-items:center;background:#080f20}
.neon-hero-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.neon-hero:after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#030c17b8 0%,#030c1770 33%,transparent 56%);z-index:-1}
.neon-hero-copy {padding:22px;width:55%;min-width:430px}
.neon-hero-copy>span {font-size:13px;font-weight:500}
.neon-hero h1 {font-size:clamp(32px,2.65vw,46px);letter-spacing:-1.5px;line-height:1.05;margin:14px 0 16px;text-transform:none;font-weight:800}
.neon-hero h1 em {font-style:normal;color:var(--cyan)}
.neon-hero p {font-size:12px;line-height:1.65;color:#e2e7f1;margin:0;text-shadow:0 1px 4px #000}
.neon-home .btn {font-size:13px;min-height:40px;border-radius:8px;background:#091727a8;border:1px solid #54708a;padding:10px 17px;gap:10px}
.neon-home .btn.primary,.neon-home .neon-primary {background:#00c9e7;border-color:#00dafa;color:#001018;box-shadow:0 0 16px #00cfee16}
.neon-home .btn.primary:hover,.neon-home .neon-primary:hover {background:#45eaff;box-shadow:0 0 18px #00cfee35}
.neon-home .btn:hover {border-color:var(--cyan);background:#12304a}
.neon-home a:focus-visible,.neon-home button:focus-visible {outline:3px solid #f4f7fb;outline-offset:4px}
.neon-hero .actions {margin-top:20px;gap:14px}
.neon-section-head {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 18px}
.neon-section-head h2 {display:flex;align-items:center;gap:14px;font-size:24px;letter-spacing:-.6px;margin:0 0 4px}
.neon-section-head h2 .arena-icon {width:30px;height:30px;color:var(--cyan)}
.neon-section-head p {font-size:14px;line-height:1.5;margin:0;color:#b7c5d5}
.neon-section-head>a {font-size:13px;font-weight:600;white-space:nowrap}
.neon-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.neon-card {--mode:var(--cyan);background:linear-gradient(130deg,#0c1a2c,#061321);border:1.5px solid var(--mode);border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 0 16px #00d6ef08;transition:transform .18s,border-color .18s,box-shadow .18s}
.neon-purple {--mode:var(--purple)}
.neon-card:hover,.neon-card:focus-within {transform:translateY(-3px);box-shadow:0 0 22px color-mix(in srgb,var(--mode) 20%,transparent)}
.neon-card-image {display:block;position:relative;aspect-ratio:2.65;overflow:hidden;background:#101934}
.neon-card-image img {width:100%;height:100%;object-fit:cover;object-position:center 55%;display:block;transition:transform .3s}
.neon-card:hover img {transform:scale(1.035)}
.neon-mode {display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--mode,var(--cyan));border-radius:25px;padding:5px 14px;background:#081727c9;color:#f4f7fb;font-size:19px;font-weight:800;line-height:1}
.neon-card-image .neon-mode {position:absolute;left:16px;top:15px;box-shadow:0 0 12px #0008}
.neon-card-body {padding:14px 18px 16px}
.neon-card-title {display:flex;justify-content:space-between;align-items:center;gap:8px}
.neon-card-title h3 {font-size:21px;letter-spacing:-.6px;line-height:1.25;margin:0}
.neon-category {border:1px solid var(--mode);border-radius:20px;padding:4px 9px;font-size:10px;line-height:1;white-space:nowrap;font-weight:600}
.neon-card-body p {color:#c7d1df;font-size:12px;line-height:1.6;min-height:38px;margin:8px 0 4px}
.neon-state {font-size:10px;color:#b4c5d9;min-height:15px;margin-bottom:10px;overflow-wrap:anywhere}
.neon-meta {display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:8px}
.neon-meta>span:first-child {display:flex;align-items:center;gap:4px}
.neon-meta .arena-icon {width:17px;height:17px;margin-right:5px}
.neon-progress {height:6px;border-radius:5px;overflow:hidden;background:#26394e;margin:14px 0}
.neon-progress i {display:block;height:100%;background:var(--mode);border-radius:5px;box-shadow:0 0 9px var(--mode)}
.neon-card .btn {width:100%}
.neon-card.neon-purple .neon-primary {background:#cc2eee;border-color:#df43ff;box-shadow:0 0 16px #d42fee15}
.neon-card.neon-purple .neon-primary:hover {background:#e066ff}
.neon-upcoming .neon-section-head {margin-top:28px;margin-bottom:15px}
.neon-upcoming .neon-section-head h2 {font-size:21px}
.neon-upcoming .neon-section-head p {margin-left:44px;font-size:13px}
.neon-upcoming-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.neon-fixture {--mode:var(--cyan);display:flex;align-items:center;gap:10px;min-width:0;padding:13px 12px;border:1px solid #2a465e;border-radius:13px;background:linear-gradient(120deg,#0a192b,#06111d);font-size:11px}
.neon-fixture.neon-purple {--mode:var(--purple)}
.neon-fixture strong {font-size:11px;overflow-wrap:anywhere}
.neon-fixture .neon-mode {font-size:19px;padding:5px 11px;flex-shrink:0}
.fixture-status {font-size:9px;line-height:1.4;margin-left:auto}
.fixture-status:before {content:"";display:inline-block;width:6px;height:6px;background:var(--mode);border-radius:50%;margin-right:5px}
.neon-fixture:hover {border-color:var(--mode);background:#14273a}
.neon-rail {display:flex;flex-direction:column;gap:20px;min-width:0}
.neon-rail>section {padding:18px 16px;border:1px solid #294158;border-radius:18px;background:linear-gradient(125deg,#081624d9,#06101fd9)}
.neon-identity {display:flex;align-items:center;gap:14px;margin-bottom:18px}
.neon-identity>div {min-width:0}
.neon-identity .avatar {width:48px;height:48px;border:0;border-radius:50%;background:linear-gradient(145deg,#536a83,#2c4259);font-size:24px;color:#f4f7fb}
.neon-rail h3 {display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.neon-identity p {margin:3px 0 0;font-size:12px;color:#c6d1df}
.neon-rail .btn {width:100%;font-size:12px}
.neon-rail dl {margin:20px 0 0}
.neon-rail dl>div {display:flex;justify-content:space-between;gap:12px;margin:17px 0 0;font-size:13px}
.neon-rail dt {display:flex;align-items:center;gap:14px}
.neon-rail dd {margin:0;font-weight:700}
.neon-improve h3 .arena-icon {color:var(--purple);width:30px;height:30px}
.neon-improve p {font-size:13px;color:#e0e6f0;line-height:1.7;margin:19px 0 17px}
@media(min-width:1800px) {.neon-hero {min-height:310px}.neon-card-image {aspect-ratio:2.5}.neon-card-body {padding:18px 20px}.neon-card-body p {min-height:25px}.neon-home {grid-template-columns:minmax(0,1fr) 285px}}
@media(max-width:1450px) {body:has(.neon-home) .sidebar {width:210px}body:has(.neon-home) .brand {padding:0 8px;gap:8px}body:has(.neon-home) .brand-wordmark {font-size:21px}body:has(.neon-home) .demo,body:has(.neon-home) main,body:has(.neon-home) footer {margin-left:210px}.neon-home {grid-template-columns:minmax(0,1fr) 230px;gap:18px}.neon-cards {gap:14px}.neon-card-body {padding:13px}.neon-card-title {flex-wrap:wrap;gap:5px}.neon-card-title h3 {font-size:19px}.neon-card-body p {min-height:40px}.neon-fixture {flex-wrap:wrap;gap:7px}.fixture-status {flex-basis:calc(100% - 18px);margin-left:0}.neon-hero-copy {min-width:390px}.neon-hero h1 {font-size:36px}.neon-hero-copy>span {font-size:11px}.neon-hero p {font-size:11px}}
@media(max-width:1150px) {.neon-home {grid-template-columns:minmax(0,1fr)}.neon-rail {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.neon-rail>section {padding:16px 13px}.neon-hero {min-height:280px}.neon-card-title {min-height:52px;align-content:center}.neon-rail h3 {font-size:12px;gap:8px}.neon-rail dt {gap:8px}.neon-improve p {font-size:12px}}
@media(max-width:800px) {body:has(.neon-home) .sidebar {width:170px;padding:24px 10px 16px}body:has(.neon-home) .brand {padding:0;gap:7px}body:has(.neon-home) .brand-wordmark {font-size:18px}.brand-wordmark small {font-size:6px}body:has(.neon-home) .logo {font-size:40px}body:has(.neon-home) nav a {font-size:12px;padding:12px;gap:12px}body:has(.neon-home) nav a.active {padding-left:10px}body:has(.neon-home) .demo,body:has(.neon-home) main,body:has(.neon-home) footer {margin-left:170px}body:has(.neon-home) main {padding:20px 16px}body:has(.neon-home) .demo {padding:12px 16px;gap:8px}body:has(.neon-home) .demo span {padding:0;border:0;font-size:10px}.neon-hero {min-height:340px;align-items:flex-start}.neon-hero-image {object-position:70% bottom;object-fit:cover;opacity:.8}.neon-hero:after {background:linear-gradient(180deg,#030c17db, #030c1790 50%,transparent)}.neon-hero-copy {width:100%;min-width:0;padding:22px}.neon-hero h1 {font-size:34px}.neon-cards {grid-template-columns:1fr}.neon-card-image {aspect-ratio:2.65}.neon-card-body {padding:18px}.neon-card-title {min-height:0;flex-wrap:nowrap}.neon-card-body p {min-height:0}.neon-upcoming-grid {grid-template-columns:1fr}.neon-fixture {flex-wrap:nowrap}.fixture-status {flex-basis:auto;margin-left:auto}.neon-rail {grid-template-columns:1fr}.neon-rail h3 {font-size:15px}.neon-section-head h2 {font-size:21px}.neon-section-head p {font-size:12px}.neon-section-head>a {font-size:11px}.sidebar-lab b {font-size:10px}.sidebar-lab small {font-size:9px}body:has(.neon-home) .sidebar-lab {padding:10px;gap:6px}}
@media(max-width:600px) {body:has(.neon-home) .sidebar {position:static;width:100%;height:auto;display:grid;grid-template-columns:1fr auto;gap:16px;padding:18px 14px 9px;border-radius:0;background:#06111f;border-right:0;border-bottom:1px solid #29435a}body:has(.neon-home) .brand-wordmark {font-size:23px}body:has(.neon-home) .brand-wordmark small {font-size:7px}body:has(.neon-home) .logo {font-size:45px}body:has(.neon-home) .profile {margin:0;padding:0}body:has(.neon-home) .sidebar-lab {display:none}body:has(.neon-home) nav {overflow:visible;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;width:100%;padding:0}body:has(.neon-home) nav a {min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px 1px;font-size:9px;white-space:normal;text-align:center}body:has(.neon-home) nav a.active {padding-left:1px;border-left:0;border-bottom:2px solid var(--cyan,#00d6ef)}body:has(.neon-home) .demo,body:has(.neon-home) main,body:has(.neon-home) footer {margin-left:0}body:has(.neon-home) .demo {gap:6px;padding:10px 16px}body:has(.neon-home) .demo b {font-size:10px}body:has(.neon-home) .demo span {font-size:10px;flex-basis:100%}body:has(.neon-home) main {padding:16px 14px 24px}.neon-home {gap:22px}.neon-hero {min-height:365px;border-radius:16px;align-items:flex-start}.neon-hero-image {height:190px;top:auto;bottom:0;object-fit:cover;object-position:right bottom;opacity:1}.neon-hero:after {background:linear-gradient(180deg,#06101e 0%,#06101efa 40%,#06101e00 73%)}.neon-hero-copy {padding:20px 18px}.neon-hero h1 {font-size:34px;letter-spacing:-1px;margin:12px 0}.neon-hero p {font-size:11px;line-height:1.6}.neon-hero-copy>span {font-size:9px}.neon-hero .actions {margin-top:16px;gap:8px}.neon-home .neon-hero .btn {font-size:11px;padding:9px 12px;min-height:38px}.neon-hero .arena-icon {width:17px;height:17px}.neon-section-head {margin:24px 0 15px;gap:8px}.neon-section-head h2 {font-size:21px;gap:9px}.neon-section-head h2 .arena-icon {width:26px;height:26px}.neon-section-head p {font-size:11px}.neon-section-head>a {font-size:10px}.neon-card-image {aspect-ratio:2.65}.neon-card-title h3 {font-size:21px}.neon-card-body p {font-size:12px}.neon-rail {gap:16px}.neon-upcoming .neon-section-head p {margin-left:35px}body:has(.neon-home) footer {padding:18px 16px}}
@media(prefers-reduced-motion:reduce) {.neon-card,.neon-card-image img {transition:none}.neon-card:hover,.neon-card:focus-within,.neon-card:hover img {transform:none}}
@media(max-width:600px) {.neon-hero-copy {padding-bottom:160px}.neon-hero-image {height:170px}}
/* Tournament detail: styles scoped to this route. */
.tournament-page{--tour-accent:#00d6ef;--tour-tint:#00d6ef16;color:#f4f7fb}
.tournament-purple{--tour-accent:#de43f6;--tour-tint:#de43f616}
body:has(.tournament-page){background:radial-gradient(ellipse at 90% 5%,#182a4b55,transparent 45%),#030c17}
body:has(.tournament-page) .demo{background:#071626;color:#00d6ef}
body:has(.tournament-page) #toast{background:#102b40;color:#f4f7fb;border:1px solid #00d6ef;box-shadow:0 8px 35px #0009;line-height:1.6;font-size:14px;z-index:30}
body:has(.tournament-page) #confirm{background:#0b192a;border-color:#31516b}
body:has(.tournament-page) #confirm .primary{background:#00cce8;color:#03101b;border-color:#00cce8}
.tournament-page .back{font-size:12px;margin:0 0 18px;color:#b4c8de}
.tournament-page .arena-icon{width:25px;height:25px;flex-shrink:0}
.tour-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #35536e;border-radius:20px;min-height:265px;background:#0a172a;display:flex;align-items:center}
.tour-hero>img{position:absolute;inset:0 0 0 auto;width:65%;height:100%;object-fit:cover;object-position:55% 55%;z-index:-2}
.tour-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071323 28%,#071323eb 40%,#07132330 66%,#07132310);z-index:-1}
.tour-hero-copy{padding:32px 36px;width:65%}
.tour-kicker{display:flex;gap:14px;align-items:center;color:#bdcee0;font-size:10px;letter-spacing:1.5px}
.tour-mode{border:1px solid var(--tour-accent);background:#071323b3;border-radius:20px;padding:6px 13px;font-size:18px;letter-spacing:0;font-weight:800}
.tour-hero h1{font-size:clamp(35px,4vw,60px);line-height:1.1;letter-spacing:-1.8px;margin:20px 0 16px;overflow-wrap:anywhere}
.tour-status{display:inline-flex;align-items:center;gap:7px;border:1px solid #487085;background:#061322cd;padding:6px 10px;border-radius:6px;font-size:11px;font-weight:600}
.tour-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tour-accent)}
.tour-hero p{font-size:12px;margin:13px 0 0;color:#c6d4e2}
.tour-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 24px;border:1px solid #233c53;border-radius:12px;background:linear-gradient(120deg,#0c1c2d,#071321);overflow:hidden}
.tour-facts>div{padding:17px 23px;border-right:1px solid #233c53}
.tour-facts>div:last-child{border:0}
.tour-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:#9bb0c6}
.tour-facts dd{margin:8px 0 0;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
.tour-facts small{font-size:11px;color:#b8cadd;font-weight:400;margin-left:5px}
.tour-player{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:35px;padding:24px 28px;background:linear-gradient(115deg,var(--tour-tint),#0a1726 70%);border:1px solid #2a465e;border-left:3px solid var(--tour-accent);border-radius:12px}
.tournament-page .eyebrow{color:var(--tour-accent);font-size:10px;letter-spacing:1.5px}
.tour-player h2{font-size:24px;letter-spacing:-.6px;margin:10px 0}
.tour-player p{font-size:13px;line-height:1.7;margin:0;color:#c3d2e2}
.tour-player .tour-team-hint{font-size:11px;margin-top:10px}
.tour-team-hint a{color:#f4f7fb;text-decoration:underline;text-underline-offset:3px}
.tour-player-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:center}
.tour-player-actions>a{grid-column:1/-1}
.tournament-page .btn{border:1px solid #47657e;background:#10253a;color:#f4f7fb;border-radius:8px;font-size:12px;min-height:42px;padding:11px 15px;line-height:1.35}
.tour-player-actions .tour-control:first-child .btn:not(:disabled),.tournament-page .btn.primary{background:var(--tour-accent);border-color:var(--tour-accent);color:#03111c;font-weight:750}
.tournament-page .btn:not(:disabled):hover{border-color:var(--tour-accent);box-shadow:0 0 18px var(--tour-tint);transform:translateY(-1px)}
.tournament-page .btn:disabled{background:#0e1c2a;border-color:#30465b;color:#9fb1c4;opacity:1;cursor:not-allowed;transform:none}
.tournament-page a:focus-visible,.tournament-page button:focus-visible,.tournament-page summary:focus-visible{outline:2px solid var(--tour-accent);outline-offset:4px}
.tour-control .btn{width:100%}
.tour-control small{display:block;margin-top:8px;font-size:11px;line-height:1.5;color:#b9c9db}
.tour-section-nav{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}
.tour-section-nav .btn{background:#081726;border-color:#2d455c;color:#c9d9e9;min-height:38px;font-size:11px}
.tournament-page .panel{background:linear-gradient(140deg,#0b1a2c,#071321);border-color:#243e56;border-radius:14px;margin:0;padding:24px}
.tour-bracket{scroll-margin-top:20px}
.tour-bracket .section-head{align-items:center;gap:20px;margin:0 0 8px}
.tour-bracket h2{font-size:26px;margin:8px 0}
.tour-bracket .section-head p{font-size:12px}
.tour-bracket .tag{color:#c4d6e7;border-color:#334f68;white-space:nowrap}
.tour-bracket .empty{padding:34px 20px;border:1px dashed #34536d;border-radius:12px;margin-top:22px;background:radial-gradient(ellipse at center,var(--tour-tint),transparent 70%)}
.tour-bracket .empty .display{font-family:"Segoe UI",Arial,sans-serif;letter-spacing:-.7px;font-size:25px;color:#f4f7fb;font-weight:700}
.tour-bracket .empty p{max-width:600px;margin:14px auto 0;font-size:13px;color:#adbed2}
.tour-bracket .bracket{gap:30px;align-items:stretch;padding:18px 3px 16px;scrollbar-color:#345d7b #081625;scrollbar-width:thin}
.tour-bracket .round{min-width:240px;display:flex;flex-direction:column;justify-content:space-around;position:relative}
.tour-bracket .round h3{font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#bfd4e9;text-align:center;border-bottom:1px solid #2b435b;padding:0 0 12px;margin:0 0 8px}
.tour-bracket .round:last-child h3{color:var(--tour-accent)}
.tour-bracket .match{position:relative;margin:12px 0;background:linear-gradient(115deg,#14283e,#0b1b2d);border:1px solid #35536d;border-left:3px solid var(--tour-accent);padding:12px;border-radius:8px;min-height:116px;box-shadow:0 5px 14px #0002}
.tour-bracket .match:after{content:"";position:absolute;width:28px;right:-30px;top:50%;border-top:1px solid #456078}
.tour-bracket .round:last-child .match:after{display:none}
.tour-bracket .match:hover{border-color:var(--tour-accent);background:#183249}
.tour-bracket .match.waiting{opacity:1;border-left-color:#48617b;background:#0c1928}
.tour-bracket .match.disputed{border-color:#eaab77}
.tour-bracket .match small{font-size:9px;color:#a7bed5}
.tour-bracket .match span{font-size:12px;padding:7px 0;gap:10px}
.tour-bracket .match span+span{border-top:1px solid #263f55}
.tour-bracket .match span b{font-variant-numeric:tabular-nums;flex-shrink:0}
.tour-bracket .winner{color:var(--tour-accent);font-weight:700}
.tour-bracket-note{font-size:11px;color:#9db3c9;margin:15px 0 0;line-height:1.7}
.tour-lower{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.85fr);gap:22px;margin:22px 0}
#tour-roster{min-width:0;scroll-margin-top:20px}
.tournament-page .pill{color:var(--tour-accent)}
.tournament-page th{font-size:9px;padding:13px 10px}
.tournament-page td{font-size:12px;padding:16px 10px;vertical-align:top;overflow-wrap:anywhere}
.tournament-page .table-wrap{scrollbar-width:thin;scrollbar-color:#345d7b #081625}
.tour-entry-tools{min-width:115px}
.tour-entry-tools summary{font-size:10px;color:#b5c9dd;white-space:nowrap}
.tour-entry-tools .row-actions{margin-top:12px;flex-wrap:wrap}
.tour-entry-tools small{display:block;max-width:170px;font-size:10px;color:#9fb2c7;line-height:1.6;margin-top:8px}
.tournament-page .row-actions .btn{font-size:10px;min-height:33px;padding:7px 9px}
.tour-guide h2{font-size:21px;margin:10px 0 20px}
.tour-guide ol{list-style:none;counter-reset:tour-step;margin:0;padding:0}
.tour-guide li{position:relative;padding-left:36px;margin:0 0 18px;line-height:1.5;counter-increment:tour-step}
.tour-guide li:before{content:counter(tour-step,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--tour-accent);font-size:11px;font-weight:700;border:1px solid #31516c;border-radius:7px;padding:4px}
.tour-guide li b{display:block;font-size:12px;color:#e8f1f9;margin-bottom:4px}
.tour-guide li span{display:block;font-size:11px;color:#aabed3}
.tour-guide>p{font-size:10px;line-height:1.7;margin:20px 0 0;padding-top:15px;border-top:1px solid #294158}
.tour-lab{scroll-margin-top:20px}
.tour-lab>summary{font-size:14px;font-weight:600;color:#c9d8e8;padding:2px}
.tour-lab>summary>span{font-size:11px;font-weight:400;color:#91abc3;margin-left:14px}
.tour-lab-intro{margin:25px 0 20px}
.tour-lab-intro h2{font-size:22px}
.tour-lab-intro p,.tour-lab .hint{font-size:12px}
.tour-lab-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tour-manual{border-top:1px solid #294258;margin-top:24px;padding-top:20px}
.tour-manual summary{font-size:12px}
.tournament-page input{background:#071321;border-color:#385670}
.tour-history{margin-top:25px;border-top:1px solid #294258;padding-top:20px}
.tour-history h3{font-size:15px}
.tournament-page .audit time{color:var(--tour-accent)}
.tour-reset{border-top:1px solid #294258;margin-top:20px;padding-top:20px;display:flex;align-items:center;gap:18px}
.tour-reset p{font-size:11px;margin:0}
.tour-reset .btn{border-color:#765461;color:#ffd0d4}
.tour-champion{margin:0 0 24px;padding:25px 28px;border:1px solid var(--tour-accent);border-radius:14px;background:linear-gradient(115deg,var(--tour-tint),#091727)}
.tour-champion h2{display:flex;align-items:center;gap:14px;margin:12px 0;overflow-wrap:anywhere}
.tour-champion .arena-icon{color:var(--tour-accent)}
.tour-champion p{font-size:13px}
@media(min-width:1500px){.tour-hero{min-height:300px}.tour-player{grid-template-columns:minmax(0,1.4fr) minmax(400px,1fr)}}
@media(max-width:1150px){.tour-facts small{display:block;margin:5px 0 0}.tour-player{grid-template-columns:1fr;gap:20px}.tour-player-actions{max-width:650px}.tour-lower{grid-template-columns:1fr}.tour-guide ol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tour-hero-copy{width:75%}.tour-lab>summary>span{display:block;margin:8px 0 0 17px}}
@media(max-width:750px){.tour-hero{min-height:280px}.tour-hero-copy{padding:24px;width:100%}.tour-hero>img{width:100%;opacity:.65;object-position:65% center}.tour-hero:after{background:linear-gradient(90deg,#071323f0,#07132388 65%,#07132333)}.tour-kicker{font-size:8px;letter-spacing:1px;gap:10px}.tour-facts{grid-template-columns:1fr 1fr}.tour-facts>div{padding:15px 18px;border-bottom:1px solid #233c53}.tour-facts>div:nth-child(even){border-right:0}.tour-facts>div:nth-last-child(-n+2){border-bottom:0}.tour-lab-actions{grid-template-columns:1fr}.tour-reset{align-items:flex-start;flex-direction:column;gap:10px}.tour-bracket .section-head{align-items:flex-start;flex-direction:column;gap:10px}.tour-bracket .round{min-width:225px}.tour-player{padding:22px}.tour-player h2{font-size:22px}}
@media(max-width:600px){.tournament-page .back{margin-bottom:14px}.tour-hero{min-height:260px;border-radius:14px}.tour-hero-copy{padding:22px}.tour-hero h1{font-size:39px}.tour-hero p{font-size:11px}.tour-kicker{flex-wrap:wrap}.tour-player-actions{grid-template-columns:1fr}.tour-player-actions .btn{min-height:44px}.tour-player p{font-size:12px}.tour-facts dd{font-size:18px}.tour-facts small{font-size:10px}.tour-facts dt{font-size:9px}.tour-section-nav{gap:8px}.tour-section-nav .btn{flex-grow:1}.tournament-page .panel{padding:20px 16px}.tour-bracket h2{font-size:24px}.tour-bracket .empty{padding:25px 12px}.tour-bracket .empty .display{font-size:21px}.tour-bracket .empty p{font-size:12px}.tour-guide ol{grid-template-columns:1fr;gap:0}.tournament-page table{min-width:520px}.tour-lower{gap:18px}.tour-champion{padding:22px}.tour-champion h2{font-size:25px}.tour-lab>summary{font-size:13px}}
@media(prefers-reduced-motion:reduce){.tournament-page .btn:not(:disabled):hover{transform:none}}
.tour-bracket .round{justify-content:flex-start}
.tour-round-matches{display:flex;flex-direction:column;justify-content:space-around;flex:1}
/* Compact bracket: fixed match rhythm and paired connectors at every round size. */
.tour-bracket .bracket-legend{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0 6px;font-size:10px;color:#b7cadc}
.bracket-legend>span{display:flex;align-items:center;gap:6px}
.bracket-legend>span:before{content:"";width:6px;height:6px;border-radius:50%;background:#5e7289}
.bracket-legend .legend-ready:before{background:var(--tour-accent)}
.bracket-legend .legend-confirmed:before{background:#a4b8f5}
.bracket-legend .legend-disputed:before{background:#ffb278}
.tour-bracket .compact-bracket{gap:40px;align-items:stretch;padding:12px 4px 14px;overflow-x:auto;overscroll-behavior-x:contain}
.tour-bracket .compact-bracket:focus-visible{outline:2px solid var(--tour-accent);outline-offset:3px;border-radius:6px}
.tour-bracket .compact-bracket .round{width:248px;min-width:248px;flex:0 0 248px;display:block}
.tour-bracket .compact-bracket .round h3{height:46px;margin:0;padding:0 0 10px;display:flex;flex-direction:column;justify-content:center;gap:5px;text-align:left;font-size:11px;letter-spacing:.8px;border-bottom:1px solid #29435b}
.tour-bracket .compact-bracket .round h3 small{font-size:9px;letter-spacing:0;text-transform:none;font-weight:400;color:#91a8bf}
.tour-bracket .compact-bracket .tour-round-matches{display:block}
.tour-bracket .compact-bracket .bracket-slot{height:var(--slot-size);position:relative;display:flex;align-items:center}
.tour-bracket .compact-bracket .bracket-slot:after{content:"";position:absolute;right:-20px;width:20px;border-color:#42627f;border-style:solid;border-width:0;pointer-events:none}
.tour-bracket .compact-bracket .pair-top:after{top:50%;height:50%;border-top-width:1px;border-right-width:1px;border-top-right-radius:5px}
.tour-bracket .compact-bracket .pair-bottom:after{top:0;height:50%;border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:5px}
.tour-bracket .compact-bracket .round:last-child .bracket-slot:after{display:none}
.tour-bracket .compact-bracket .round:not(:first-child) .bracket-slot:before{content:"";position:absolute;left:-20px;top:50%;width:20px;border-top:1px solid #42627f;pointer-events:none}
.tour-bracket .compact-bracket .match{width:100%;height:94px;min-height:94px;margin:0;padding:0;border:1px solid #34526c;border-left:3px solid #526b83;border-radius:7px;overflow:hidden;background:#0b1b2c;box-shadow:0 3px 10px #0002;transition:border-color .15s,background .15s}
.tour-bracket .compact-bracket .match:after{display:none}
.tour-bracket .compact-bracket .match-heading{height:27px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 10px;border-bottom:1px solid #263e54;background:#14283a}
.tour-bracket .compact-bracket .match-heading small{font-size:9px;letter-spacing:.2px;text-transform:none;color:#a8bdd0;white-space:nowrap}
.tour-bracket .compact-bracket .match-number{display:block;padding:0;border:0;font-size:8px;color:#90a8be;white-space:nowrap}
.tour-bracket .compact-bracket .match-player{display:flex;align-items:center;gap:5px;height:32px;padding:0 8px 0 10px;color:#e0eaf4}
.tour-bracket .compact-bracket .match-player+.match-player{border-top:1px solid #223b51}
.tour-bracket .compact-bracket .player-name{display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0;border:0;font-size:12px;line-height:1.3}
.tour-bracket .compact-bracket .match-score{display:grid;place-items:center;width:24px;height:23px;flex-shrink:0;border-radius:4px;background:#071321;color:#b1c5d8;font-size:12px;font-variant-numeric:tabular-nums}
.tour-bracket .compact-bracket .winner-mark{padding:0;border:0;font-size:11px;color:var(--tour-accent)}
.tour-bracket .compact-bracket .match-player.winner{background:var(--tour-tint);color:#f4faff;font-weight:700}
.tour-bracket .compact-bracket .winner .match-score{background:var(--tour-accent);color:#031421}
.tour-bracket .compact-bracket .match.ready{border-left-color:var(--tour-accent);background:#10253a}
.tour-bracket .compact-bracket .ready .match-heading small{color:var(--tour-accent)}
.tour-bracket .compact-bracket .match.confirmed{border-left-color:#a4b8f5}
.tour-bracket .compact-bracket .confirmed .match-heading small{color:#c1cff8}
.tour-bracket .compact-bracket .match.waiting{opacity:1;background:#0a1726;border-color:#293f54}
.tour-bracket .compact-bracket .waiting .player-name{color:#91a7bd}
.tour-bracket .compact-bracket .match.reported{border-left-color:#e8c47e}
.tour-bracket .compact-bracket .reported .match-heading small{color:#e8c47e}
.tour-bracket .compact-bracket .match.disputed{border-color:#b27653;border-left-color:#ffb278}
.tour-bracket .compact-bracket .disputed .match-heading{background:#392b29}
.tour-bracket .compact-bracket .disputed .match-heading small{color:#ffbf94}
.tour-bracket .compact-bracket .match.bye{border-left-style:dashed;border-left-color:#8093af}
.tour-bracket .compact-bracket .match:hover,.tour-bracket .compact-bracket .match:focus-visible{border-color:var(--tour-accent);background:#17334a}
.tour-bracket .compact-bracket .match:focus-visible{outline:2px solid #f4f7fb;outline-offset:2px}
@media(max-width:600px){.tour-bracket .compact-bracket .round{width:224px;min-width:224px;flex-basis:224px}.tour-bracket .bracket-legend{gap:10px 14px}.tour-bracket .compact-bracket .player-name{font-size:11px}}
/* Match detail only: opponent, room credentials and reporting workflow. */
.match-arena{padding:26px 30px 12px;border:1px solid #31516e;border-radius:18px;background:radial-gradient(ellipse at 0 80%,#00d6ef14,transparent 45%),radial-gradient(ellipse at 100% 70%,#a64cf51a,transparent 45%),linear-gradient(125deg,#0e1e32,#081423);box-shadow:0 12px 40px #0003}
.match-arena .match-page-heading{padding-bottom:22px;border-bottom:1px solid #294159;margin-bottom:0}
.match-arena .match-versus{border:0;background:none;border-radius:0;padding:24px 0;overflow:visible}
.versus-mark{display:block;font-size:48px;font-weight:900;font-style:italic;letter-spacing:-3px;color:#ffb476;text-shadow:0 0 30px #ff8b3830;margin-bottom:12px}
.versus-roster{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.versus-roster li{max-width:100%;overflow-wrap:anywhere;padding:5px 8px;border:1px solid #35516b;border-radius:5px;background:#071423;color:#b6cce0;font-size:11px}
.match-page .match-workspace{grid-template-columns:minmax(270px,.85fr) minmax(0,1.35fr)}
.match-page .room-footnote{font-size:11px;border-top:1px solid #294159;padding-top:16px;margin-bottom:0;color:#90a9c1}
@media(max-width:1100px){.match-page .match-workspace{grid-template-columns:1fr}}
@media(max-width:600px){.match-arena{padding:20px 14px 4px;border-radius:12px}.match-arena .match-page-heading{padding-bottom:18px}.match-arena .match-versus{padding:20px 0}.versus-mark{font-size:32px;letter-spacing:-2px}.versus-roster{gap:4px}.versus-roster li{font-size:10px;padding:4px 6px}}
.match-page{--match-accent:#00d6ef;--match-tint:#00d6ef12;color:#f4f7fb}
.match-purple{--match-accent:#de43f6;--match-tint:#de43f612}
body:has(.match-page){background:radial-gradient(ellipse at 75% 0%,#162b4a77,transparent 50%),#040c17}
body:has(.match-page) #toast{background:#112a40;color:#f4f7fb;border:1px solid #00cce8;box-shadow:0 8px 30px #0009;font-size:14px;line-height:1.6;z-index:30}
.match-page .back{font-size:12px;color:#b7cade;margin:0 0 22px}
.match-page .eyebrow{font-size:10px;color:var(--match-accent);letter-spacing:1.5px}
.match-page-heading{height:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0;border:0;margin:0 0 24px}
.match-page-heading h1{font-size:clamp(28px,3vw,43px);line-height:1.15;letter-spacing:-1px;margin:12px 0 9px}
.match-page-heading p{font-size:12px;color:#b7c9dc;margin:0}
.match-page-heading p span{padding:0 8px;color:#57738e}
.match-state{display:inline-flex;align-items:center;gap:8px;border:1px solid #3e5b75;background:#10283c;border-radius:6px;padding:8px 12px;font-size:11px;white-space:nowrap;color:#c8d8e8}
.match-state:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--match-accent)}
.match-state.state-disputed{border-color:#96624e;color:#ffbf96;background:#362528}
.match-state.state-reported{color:#f0d091;border-color:#75613e}
.match-versus{display:grid;grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);align-items:center;gap:24px;padding:28px 35px;border:1px solid #2e4b65;border-radius:18px;background:radial-gradient(ellipse at 5% 50%,#00ccef0d,transparent 50%),radial-gradient(ellipse at 95% 50%,#ad4bea12,transparent 50%),linear-gradient(125deg,#0e1e32,#081423);position:relative;overflow:hidden}
.versus-player{text-align:center;min-width:0}
.side-label{font-size:9px;letter-spacing:2px;color:#9fb6ce;font-weight:700}
.player-emblem{display:grid;place-items:center;margin:14px auto 12px;width:60px;height:60px;border-radius:15px;border:1px solid #296b85;background:linear-gradient(140deg,#153b54,#0e2137);color:#62ddf1;font-size:27px;font-weight:800}
.emblem-b{background:linear-gradient(140deg,#30264c,#14213a);border-color:#5d4a7e;color:#ceb2fb}
.versus-player h2{font-size:clamp(19px,2vw,28px);letter-spacing:-.5px;margin:0 0 8px;overflow-wrap:anywhere}
.player-caption{font-size:11px;color:#9eb5cd}
.is-winner .player-caption{color:var(--match-accent);font-weight:700}
.is-winner .player-emblem{border-color:var(--match-accent);box-shadow:0 0 22px var(--match-tint)}
.versus-score{text-align:center}
.series-label{font-size:9px;letter-spacing:1.8px;color:#9eb5cd;font-weight:700}
.series-score{display:flex;align-items:center;justify-content:center;gap:24px;margin:12px 0}
.series-score strong{font-size:58px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.series-score>span{font-size:26px;color:#506985}
.versus-score>span:last-child{font-size:11px;color:#a8bed4}
.match-notice{display:flex;align-items:center;gap:20px;padding:16px 20px;margin:16px 0 24px;border:1px solid #29465f;border-left:3px solid var(--match-accent);border-radius:8px;background:#0d2133}
.match-notice>b{font-size:12px;white-space:nowrap;color:#d9edf9}
.match-notice p{font-size:12px;line-height:1.6;margin:0;color:#b9ccdf}
.match-notice.state-disputed{border-color:#6f4c43;border-left-color:#ffae7d;background:#281e25}
.match-notice.state-reported{border-left-color:#e6c079}
.match-notice.state-waiting,.match-notice.state-bye{border-left-color:#7e92b2}
.match-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);gap:22px;align-items:start}
.match-surface{border:1px solid #294159;border-radius:14px;padding:26px;background:linear-gradient(125deg,#0d1c2e,#081421);min-width:0}
.match-surface h2{font-size:24px;letter-spacing:-.6px;margin:10px 0 13px}
.match-surface p{font-size:12px;line-height:1.7;color:#b8cadd}
.match-page .btn{min-height:40px;padding:10px 15px;gap:10px;border:1px solid #43617c;border-radius:7px;background:#10273d;color:#f4f7fb;font-size:12px}
.match-page .btn.primary{background:var(--match-accent);border-color:var(--match-accent);color:#04121c;font-weight:750}
.match-page .btn:hover{border-color:var(--match-accent);filter:none;box-shadow:0 0 15px var(--match-tint)}
.match-page .btn.primary:hover{filter:brightness(1.1)}
.match-page button:focus-visible,.match-page a:focus-visible,.match-page input:focus-visible,.match-page select:focus-visible,.match-page summary:focus-visible{outline:2px solid var(--match-accent);outline-offset:4px}
.report-confirmations{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.report-confirmation{padding:15px;border:1px solid #2b435a;border-radius:9px;background:#091827;min-width:0}
.confirmation-label{font-size:9px;color:#91a9c2;letter-spacing:1px}
.report-confirmation h3{font-size:13px;line-height:1.4;margin:7px 0 12px;overflow-wrap:anywhere}
.report-confirmation>b{display:flex;align-items:center;gap:6px;font-size:10px;color:#91a9c2}
.report-confirmation>b:before{content:"";width:5px;height:5px;border-radius:50%;background:#667e96}
.report-confirmation.has-report{border-color:#397083;background:#0c2532}
.report-confirmation.has-report>b{color:#89e1eb}
.report-confirmation.has-report>b:before{background:var(--match-accent)}
.report-confirmation p{font-size:11px;margin:7px 0 0}
.report-confirmation p strong{font-size:16px;color:#f4f7fb}
.match-page form{max-width:none}
.match-page label{font-size:12px;color:#c8d9e9;line-height:1.5}
.match-page input,.match-page select{background:#061321;border:1px solid #3b5872;border-radius:7px;color:#f4f7fb}
.match-page form select{width:100%;margin:9px 0}
.match-page .match-form-hint{font-size:11px;line-height:1.6;color:#9fb5cd}
.match-score-inputs{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:16px;align-items:end;margin:16px 0}
.match-score-inputs label{margin:0;min-width:0;overflow-wrap:anywhere}
.match-score-inputs label>span{display:block;min-height:36px;font-size:11px}
.match-score-inputs input{display:block;width:100%;font-size:26px;text-align:center;padding:12px;margin-top:8px;font-weight:700;font-variant-numeric:tabular-nums}
.score-divider{align-self:end;padding-bottom:18px;color:#7893ae;font-size:22px;text-align:center}
.match-report form>.btn{width:100%;margin-top:8px}
.report-locked{padding:20px;border:1px dashed #3b566e;border-radius:9px;margin-top:20px}
.report-locked>b{font-size:14px;color:#dce9f5}
.report-locked .btn{margin-top:5px}
.room-test-tag{display:inline-block;font-size:9px;color:#a6bfd6;border:1px solid #35526b;padding:5px 8px;border-radius:5px;letter-spacing:1px}
.credential{margin:21px 0}
.match-room .room-visibility{display:flex;width:100%;margin-top:20px;white-space:normal;text-align:center;justify-content:center;line-height:1.5}
.room-visibility svg{width:20px;height:20px;flex-shrink:0}
.account-page{max-width:800px;margin:0 auto}
.account-page h1{font-size:clamp(30px,5vw,52px)}
.account-panel form{max-width:100%}
.account-panel fieldset{border:0;padding:0;margin:0;min-width:0}
.account-panel input{min-height:44px}
.account-panel .btn{min-height:44px;white-space:normal}
.account-panel form .btn{width:100%;margin:16px 0}
.account-panel .actions{margin-top:20px}
.account-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;font-size:13px}
.account-links a{text-decoration:underline;text-underline-offset:4px}
.account-page [role="status"]:not(:empty){padding:12px 0;color:var(--lime)}
.account-panel .error{overflow-wrap:anywhere}
.match-room .btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.credential>span{font-size:10px;letter-spacing:.6px;color:#9fb6ce}
.credential>div{display:flex;align-items:center;gap:12px;background:#061220;border:1px solid #2e4b65;border-radius:8px;padding:12px;margin-top:8px}
.credential code{flex:1;min-width:0;font-family:Consolas,monospace;font-size:13px;color:#e0ecf7;user-select:all;overflow-wrap:anywhere;line-height:1.5}
.credential .btn{font-size:10px;min-height:34px;padding:8px 10px;flex-shrink:0}
.room-instructions{border-top:1px solid #29435b;margin-top:24px;padding-top:20px}
.room-instructions h3{font-size:14px;margin:0 0 12px}
.room-instructions ol{padding-left:18px;margin:0}
.room-instructions li{font-size:11px;line-height:1.7;color:#acbfd4;margin:10px 0;padding-left:5px}
.room-instructions li::marker{color:var(--match-accent);font-weight:700}
.room-instructions p{font-size:10px;color:#8fa7c0;margin:18px 0 0}
.match-laboratory{margin-top:22px}
.match-laboratory summary{font-size:14px;font-weight:600;color:#c6d7e8}
.match-laboratory summary>span{font-size:11px;font-weight:400;margin-left:14px;color:#8fa9c2}
.match-laboratory>p{margin:20px 0}
.match-dispute-action{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #29435b;padding-top:18px}
.match-dispute-action h3{font-size:14px;margin:0}
.match-dispute-action p{font-size:11px;margin:6px 0 0}
.match-dispute-action .btn{border-color:#98624b;color:#ffbf9b;flex-shrink:0}
.match-laboratory form{max-width:680px;border-top:1px solid #3d4055;padding-top:22px;margin-top:22px}
.match-laboratory form h3{font-size:19px}
.match-laboratory .resolution-reason{border-top:1px solid #29435b;padding-top:18px;overflow-wrap:anywhere}
@media(max-width:1100px){.match-workspace{grid-template-columns:1fr}.match-room{grid-row:1}.match-versus{grid-template-columns:minmax(0,1fr) 170px minmax(0,1fr);gap:16px;padding:24px}.series-score{gap:15px}.series-score strong{font-size:46px}.match-notice{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:600px){.match-page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}.match-page-heading h1{font-size:30px}.match-page-heading .eyebrow{font-size:8px}.match-page-heading p{font-size:11px}.match-versus{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);padding:20px 12px;gap:6px;border-radius:12px}.player-emblem{width:43px;height:43px;font-size:22px;border-radius:12px}.versus-player h2{font-size:15px;line-height:1.4}.side-label{font-size:8px}.player-caption{font-size:9px;line-height:1.5;display:block}.series-label{font-size:7px;letter-spacing:.5px}.series-score{gap:7px;margin:10px 0}.series-score strong{font-size:30px}.series-score>span{font-size:18px}.versus-score>span:last-child{display:block;font-size:8px;line-height:1.5}.match-notice{padding:14px;margin:14px 0 18px}.match-notice p{font-size:11px}.match-workspace{gap:18px}.match-surface{padding:20px 16px}.match-surface h2{font-size:22px}.match-surface p{font-size:11px}.credential>div{gap:8px;padding:10px}.credential code{font-size:12px}.report-confirmations{gap:8px}.report-confirmation{padding:12px 10px}.report-confirmation h3{font-size:12px}.match-score-inputs{gap:8px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}.match-score-inputs input{font-size:24px}.match-laboratory summary{font-size:12px}.match-laboratory summary>span{display:block;margin:7px 0 0 16px}.match-dispute-action{flex-direction:column;align-items:stretch}.match-laboratory form .btn{width:100%}.match-page .back{margin-bottom:18px}}
