:root{
  color-scheme:dark;
  --bg:#0a100e;--side:#0d1713;--panel:#131e19;--panel-hi:#19271f;--line:#29392f;
  --ink:#edf3e8;--muted:#9ba99d;--soft:#c3cec1;--lime:#d4ff73;--teal:#44ddc1;
  --orange:#ffb35d;--red:#ff747c;--blue:#5da9ff;--font:'Avenir Next','Trebuchet MS',sans-serif;
  font-family:var(--font);font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none
}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 70% -15%,#24372b 0,transparent 38%),var(--bg)}
button,input,select,textarea{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--panel-hi);border-radius:9px;min-height:42px;padding:9px 14px;font-weight:650;transition:transform .18s,border-color .18s,background .18s}button:hover{border-color:#778d64;background:#23342a;transform:translateY(-1px)}button:disabled{opacity:.45;cursor:wait;transform:none}button.primary{background:var(--lime);border-color:var(--lime);color:#111811}button.danger{color:var(--red)}a{color:var(--teal)}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #405247;border-radius:8px;background:#0d1712;min-height:46px}textarea{resize:vertical;min-height:100px}label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--soft)}
h1,h2,h3,p{margin-top:0}h1{font:500 clamp(32px,4vw,48px)/1.07 Georgia,serif;letter-spacing:-1.6px;margin-bottom:8px}h2{font:500 24px/1.15 Georgia,serif;letter-spacing:-.4px;margin:0 0 14px}h3{font-size:15px}.eyebrow{font:10px/1.5 'Courier New',monospace;letter-spacing:1.8px;color:var(--teal);text-transform:uppercase;margin:0 0 8px}.muted,small{color:var(--muted)}small{font-size:11px;line-height:1.5}
.layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(160deg,#12231a 0%,#0d1713 45%,#0b1310 100%);border-right:1px solid #223329;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:23px 16px;overflow:auto}.brand{display:flex;gap:11px;align-items:center;padding:0 7px 19px;border-bottom:1px solid #26372d}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border:1px solid #6d8c58;border-radius:12px;color:var(--lime);font:25px Georgia,serif;background:#1a2a20;box-shadow:inset 0 0 18px #d4ff7310}.brand strong{font-size:16px;letter-spacing:.1px}.brand small{display:block;color:#a8b89f;font:9px 'Courier New',monospace;letter-spacing:1.2px;margin-top:4px}.workspace-switch{display:flex;gap:10px;align-items:center;margin:16px 3px 9px;padding:11px;border:1px solid #29392f;border-radius:10px;background:#142019}.workspace-glyph{color:var(--lime);font-size:20px}.workspace-switch small{display:block;font:9px 'Courier New',monospace;letter-spacing:1.2px}.workspace-switch strong{display:block;font-size:12px;margin-top:3px}.nav-group{margin:12px 0}.nav-title{font:9px 'Courier New',monospace;letter-spacing:1.8px;color:#77877b;margin:8px 10px}.sidebar nav{display:grid;gap:2px}.nav-button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#b9c6bb;font-size:12px;font-weight:600;border-radius:8px;min-height:39px;padding:8px 10px}.nav-button.active{background:linear-gradient(100deg,#d4ff73,#b8e85f);color:#152016;border-color:#d4ff73;box-shadow:0 5px 22px #b2e85e1f}.nav-button:hover{background:#1c2c22;color:var(--ink);transform:none}.nav-button.active:hover{background:var(--lime);color:#111811}.nav-icon{width:20px;text-align:center;font-size:16px;color:var(--teal)}.nav-button.active .nav-icon{color:#324628}.sidebar-footer{margin-top:auto;padding:16px 8px 3px;border-top:1px solid #26372d;color:var(--muted);font-size:10px;line-height:1.7}.sidebar-footer strong{display:block;color:var(--ink);font-size:12px;margin-top:4px}.sidebar-footer small{font:9px 'Courier New',monospace}.secure-state{color:var(--lime);font:9px 'Courier New',monospace;letter-spacing:.7px}
.content{padding:0 clamp(20px,4vw,56px) 52px;min-width:0;max-width:1700px;width:100%;margin:auto}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #25342b;font-size:11px;gap:12px}.crumbs{display:flex;gap:9px;align-items:center;color:#8f9e91;font:10px 'Courier New',monospace;letter-spacing:1.1px}.crumbs strong{color:#d8e4d8;font-weight:600}.topbar .account{display:flex;gap:8px;align-items:center}.topbar button{font-size:11px;min-height:33px;padding:6px 10px}.badge{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;background:#1d3023;border:1px solid #354831;border-radius:99px;color:#d5e6c9;font-size:10px;font-weight:700}.badge::first-letter{color:var(--lime)}.quiet-button{background:transparent;border-color:#304136;color:#d3dfd4}.signout{color:#e4a2a2}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:30px 0 22px}.page-heading p{margin:0;font-size:12px;color:var(--muted)}.page-heading .eyebrow{color:var(--lime);margin-bottom:8px}.refresh-button{color:var(--lime);border-color:#4a633c;background:#17231a}.refresh-button span{font-size:16px}
.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:15px}.card{background:linear-gradient(145deg,#17231c,#121b16);border:1px solid var(--line);border-radius:13px;padding:20px;min-width:0;box-shadow:0 12px 35px #00000012}.stat-label{font-size:11px;color:#b2c0b3;margin-bottom:15px}.stat-number{font:38px/1 Georgia,serif;letter-spacing:-1px;color:var(--ink);margin-bottom:9px}.stat-foot{font-size:10px;color:var(--muted);line-height:1.5}.section-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-line h2{margin:0}.live-marker{border:1px solid #316251;border-radius:99px;padding:5px 8px;color:var(--teal);font:9px 'Courier New',monospace;letter-spacing:1px}.control-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden;min-height:194px;margin:3px 0 16px;padding:28px 32px;border:1px solid #384c39;border-radius:15px;background:linear-gradient(112deg,#1c3022,#15241b 55%,#152b28);box-shadow:inset 0 1px #ffffff0b}.control-hero:after{content:'';position:absolute;width:240px;height:240px;right:18%;top:-120px;border:1px solid #d4ff731a;border-radius:50%;box-shadow:0 0 0 25px #d4ff7308,0 0 0 55px #d4ff7305;pointer-events:none}.control-hero h2{font-size:38px;letter-spacing:-1px;margin:2px 0 8px}.control-hero p:not(.eyebrow){max-width:520px;color:#b4c3b5;font-size:13px;margin:0}.hero-meta{display:flex;gap:16px;align-items:center;margin-top:18px;color:#9fb09f;font:10px 'Courier New',monospace}.live-dot{color:var(--teal)}.live-dot:before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 10px var(--teal)}.hero-emblem{position:relative;z-index:1;display:grid;place-items:center;width:100px;height:100px;margin-right:5%;border:1px solid #d4ff735c;border-radius:25px;transform:rotate(8deg);background:linear-gradient(145deg,#d4ff731b,#44ddc11a);box-shadow:0 0 42px #d4ff7310,inset 0 0 24px #d4ff730c;color:var(--lime);font:58px Georgia,serif}.hero-emblem i{position:absolute;right:-13px;top:-14px;font:25px var(--font);font-style:normal;color:var(--teal);text-shadow:0 0 16px var(--teal)}
.command-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.8fr);margin-bottom:15px}.activity-card{min-height:340px}.chart{height:190px;display:flex;align-items:end;gap:9px;border-bottom:1px solid #314036;padding-top:24px;margin:8px 0 12px}.chart-column{flex:1;min-width:5px;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px}.chart-bar{width:70%;max-width:31px;background:linear-gradient(180deg,var(--teal),#357d6a);border-radius:5px 5px 1px 1px;min-height:2px;box-shadow:0 0 16px #44ddc11c}.chart-column:last-child .chart-bar{background:linear-gradient(180deg,var(--lime),#88aa47)}.chart-column span{font:9px 'Courier New',monospace;color:#829287}.metric-foot{margin-top:11px}.activity-footnote{margin-top:14px;color:#819087;font-size:10px}.queue-card{padding:20px 18px}.queue-card h2{font-size:22px}.queue-action{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px 2px;border:0;border-top:1px solid #28382e;border-radius:0;background:transparent}.queue-action:hover{border-color:#526246;background:#17231c;transform:none}.queue-count{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid #3b5339;border-radius:11px;color:var(--lime);font:22px Georgia,serif;background:#d4ff730a}.queue-action>span:nth-child(2){display:grid;gap:3px;flex:1}.queue-action strong{font-size:12px}.queue-action small{font-size:10px}.arrow{color:var(--teal);font-size:18px}.podium-panel{margin-bottom:15px;padding:22px}.podium-panel h2{font-size:23px}.podium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.champion{display:grid;justify-items:start;gap:10px;min-width:0;padding:17px;border:1px solid var(--line);border-radius:12px;background:#101914}.champion-1{background:linear-gradient(140deg,#3b341b,#171e16 65%);border-color:#81713b}.champion-2{background:linear-gradient(140deg,#143442,#151d1b 65%);border-color:#34768b}.champion-3{background:linear-gradient(140deg,#38213a,#191b1a 65%);border-color:#803f7c}.champion-wins{font:19px Georgia,serif}.champion>small{font-size:10px}.cell-name{display:flex;align-items:center;gap:9px;min-width:110px}.champion .cell-name{font-size:13px;font-weight:750}.champion .avatar{width:34px;height:34px}.podium-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 7px;border:1px solid;border-radius:8px;font:700 9px/1 var(--font);letter-spacing:.25px;white-space:nowrap}.podium-badge strong{font:900 12px/1 Georgia,serif}.podium-badge small{color:inherit;font:800 8px 'Courier New',monospace;letter-spacing:.55px}.podium-symbol{font-size:14px;line-height:1}.rank-1{color:#ffe176;border-color:#e9b935;background:linear-gradient(135deg,#70500f88,#261c0b);box-shadow:0 0 17px #ffc72a44,inset 0 0 12px #ffdb4140}.rank-1 .podium-symbol{font-size:16px;text-shadow:0 0 10px #fff28e}.rank-2{color:#8cf2ff;border-color:#47d8ed;background:linear-gradient(135deg,#15516a9c,#101d2a);box-shadow:0 0 16px #36d5ee36,inset 0 0 10px #4ad6ff30}.rank-2 .podium-symbol{font-size:17px;text-shadow:0 0 10px #a5f7ff}.rank-3{color:#ff93e0;border-color:#e75ac2;background:linear-gradient(135deg,#63205099,#26152a);box-shadow:0 0 16px #fb59d63b,inset 0 0 10px #fa74df2c}.rank-3 .podium-symbol{font-size:14px;text-shadow:0 0 10px #ffb0e9}
.career-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.7fr);gap:14px;margin-bottom:14px}.career-rules h2,.career-legend h2{margin:0 0 15px}.career-rules .table-wrap{margin-top:16px}.career-rules .callout{margin-bottom:0}.career-legend{background:linear-gradient(150deg,#18302a,#141d18)}.title-step{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #293b31;font-size:11px}.title-step:last-child{border:0}.title-level{min-width:44px;color:var(--teal);font:10px 'Courier New',monospace}.title-step strong{flex:1;font-size:11px}.title-glyph{color:var(--lime)}
.callout{padding:14px 17px;background:#17251c;border:1px solid #314633;border-left:3px solid var(--lime);border-radius:8px;color:#bdc9bd;font-size:11px;line-height:1.7;margin:14px 0}.error{background:#351d1d;border-color:var(--red);color:#ffc6c6}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#101914}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{text-align:left;background:#19251e;color:#a7b7a8;font:9px 'Courier New',monospace;letter-spacing:1px;text-transform:uppercase;padding:13px 15px}td{padding:13px 15px;border-bottom:1px solid #233128;max-width:290px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}tbody tr:last-child td{border:0}tbody tr:hover{background:#19261e}.table-action{font-size:10px;min-height:32px;padding:5px 9px;margin-right:5px}.empty{padding:36px 22px;text-align:center;color:var(--muted);font-size:12px}.toolbar{display:flex;gap:10px;margin-bottom:14px;align-items:center}.toolbar input{max-width:360px}.honour-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.detail-stat{padding:13px}.detail-stat .stat-number{font-size:28px}.player-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.player-detail-heading .cell-name{font-size:17px;font-weight:800}.player-detail-heading .avatar{width:44px;height:44px}.player-country{color:var(--teal);font:10px 'Courier New',monospace}.player-meta{display:grid;gap:7px;margin:16px 0;color:var(--muted);font-size:11px}.career-legend>.eyebrow{margin-bottom:6px}
.form{display:grid;gap:15px;max-width:620px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr;background:#eceee4;color:#202d25}.login-story{position:relative;overflow:hidden;padding:clamp(32px,6vw,76px);background:linear-gradient(145deg,#1b3225,#102019 72%);color:#eef3dd;display:flex;flex-direction:column;justify-content:space-between}.login-story:after{content:'S';position:absolute;right:-45px;bottom:-155px;font:480px/1 Georgia,serif;color:#d4ff7309;pointer-events:none}.login-story h1{font-size:clamp(44px,5vw,72px);max-width:520px}.login-story p:not(.eyebrow){color:#bfd0be;max-width:390px}.login-content{padding:48px;display:flex;align-items:center;justify-content:center;background:#eceee4;color:#202d25}.login-box{max-width:410px;width:100%}.login-box h1{font-size:38px}.login-box .form{margin-top:26px}.login-box small{display:block;line-height:1.7;margin-top:18px}.login-box .muted{color:#69776e}.login-box input{background:#fffef8;color:#202d25;border-color:#c8d1c5}.login-box button{background:#fffef8;color:#20392c}.login-box button.primary{background:#206c4b;border-color:#206c4b;color:white}.login-box .callout{background:#f4f3ed;color:#2b382f}.qr{max-width:200px;background:white;padding:12px;border-radius:10px}.photo-review{max-width:420px;width:100%;max-height:50vh;object-fit:contain;border-radius:12px;background:#101914}.modal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}dialog{border:1px solid #425247;border-radius:16px;max-width:640px;width:calc(100% - 32px);max-height:90vh;overflow:auto;padding:27px;color:var(--ink);background:#111b15;box-shadow:0 24px 100px #0008}dialog::backdrop{background:#030805c9;backdrop-filter:blur(5px)}.icon-button{float:right;min-height:34px;width:34px;padding:0;font-size:22px}.status-text{color:var(--teal)}#toast{position:fixed;right:22px;bottom:22px;max-width:420px;border:1px solid #526342;border-radius:9px;background:#1e3023;color:var(--ink);padding:14px 18px;box-shadow:0 9px 32px #0008;z-index:20;display:none;font-size:12px}#toast.visible{display:block}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.spinner{width:22px;height:22px;border:2px solid #314337;border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite;margin:24px auto}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1150px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:0 25px 34px}.career-layout{grid-template-columns:1fr}.command-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{height:auto;position:sticky;z-index:5;top:0;padding:10px 12px 9px;border-right:0;border-bottom:1px solid #293b30}.brand{padding:0 3px 9px;border:0}.brand-mark{width:31px;height:31px;font-size:19px;border-radius:9px}.brand strong{font-size:13px}.brand small{font-size:8px;margin-top:1px}.workspace-switch,.sidebar-footer,.nav-title{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.nav-group{display:contents}.nav-button{width:auto;white-space:nowrap;min-height:34px;font-size:10px;padding:7px 9px}.nav-icon{width:auto;font-size:13px}.content{padding:0 14px 28px}.topbar{height:54px}.topbar .badge{display:none}.page-heading{padding:22px 0 16px}.page-heading h1{font-size:32px}.page-heading p:not(.eyebrow){font-size:10px}.refresh-button{font-size:10px;padding:7px}.control-hero{min-height:170px;padding:22px 18px}.control-hero h2{font-size:30px}.control-hero p:not(.eyebrow){font-size:11px;max-width:260px}.hero-emblem{width:67px;height:67px;font-size:38px;margin-right:0;border-radius:18px}.hero-meta{display:grid;gap:6px;font-size:9px}.stats{gap:8px}.card{padding:15px}.stat-number{font-size:30px}.stat-label{margin-bottom:12px;font-size:10px}.stat-foot{font-size:9px}.command-grid{grid-template-columns:1fr}.activity-card{min-height:300px}.queue-card{padding:16px}.podium-grid{grid-template-columns:1fr}.champion{grid-template-columns:auto 1fr auto;align-items:center;padding:12px}.champion .podium-badge{grid-column:1}.champion .cell-name{grid-column:2;grid-row:1}.champion-wins{grid-column:3;grid-row:1;font-size:14px}.champion>small{grid-column:2/4;grid-row:2}.detail-stats{grid-template-columns:1fr 1fr}.career-rules,.career-legend{padding:15px}.table-wrap{margin-left:-2px}th,td{padding:11px 10px}.login-page{grid-template-columns:1fr}.login-story{padding:25px;min-height:190px}.login-story h1{font-size:38px}.login-story p:not(.eyebrow){display:none}.login-content{padding:28px 20px}.form-row{grid-template-columns:1fr}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}
@media(max-width:420px){.page-heading{align-items:center}.page-heading h1{font-size:26px}.page-heading .eyebrow{font-size:9px}.stats{grid-template-columns:1fr 1fr}.control-hero{align-items:flex-start}.hero-emblem{position:absolute;right:17px;bottom:16px;width:50px;height:50px;font-size:30px}.hero-meta{max-width:200px}.detail-stats{grid-template-columns:1fr 1fr}.account button{font-size:9px!important;padding:5px!important}.crumbs{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
