﻿@font-face{font-family:Barlow;src:url('/assets/barlow-condensed.ttf') format('truetype');font-weight:800;font-display:swap}
:root{color-scheme:dark;--bg:#101112;--panel:#191a1c;--line:#ffffff12;--text:#f2f1ec;--muted:#939393;--amber:#ffb547;--green:#ffb547;--display:Barlow,'Arial Narrow',Impact,sans-serif;font-family:'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.45;cursor:not-allowed}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--amber);outline-offset:5px}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{max-width:100%}button{transition:background .18s,border-color .18s,transform .18s,color .18s}button:active:not(:disabled){transform:translateY(1px)}.hidden,[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin-top:0}.tiny-dot{display:inline-block;width:6px;height:6px;background:var(--amber);border-radius:50%;box-shadow:0 0 12px #ffb54744}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}
.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:26px;padding:0 max(28px,calc((100vw - 1440px)/2));border-bottom:1px solid var(--line);background:#131416}.brand{display:flex;align-items:center;gap:11px;font-family:var(--display);font-size:25px;letter-spacing:.4px;font-weight:800}.brand-mark{width:31px;height:37px}.brand-accent{color:var(--amber)}.top-actions{display:flex;align-items:center;gap:20px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;color:#b2b2b3;border-radius:6px}.icon-button:hover{background:#ffffff10;color:#fff}.icon-button svg{width:18px;height:18px}.wallet-button{display:flex;align-items:center;gap:10px;border:1px solid #ffffff24;border-radius:5px;font-size:12px;font-weight:600;padding:11px 16px;background:#202123}.wallet-button svg{width:17px;height:17px;color:var(--amber)}.wallet-button:hover{border-color:#ffb54788;background:#2b2720}
.arena-layout{max-width:1440px;margin:0 auto;padding:34px 28px 20px}.arena-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:18px}.arena-heading .eyebrow{font-size:9px;color:#828285;letter-spacing:1.7px}.arena-heading h1{font-size:25px;letter-spacing:-.6px;margin:8px 0 0;font-weight:650}.season-badge{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1px;color:var(--amber)}.season-badge i{width:5px;height:5px;border-radius:50%;background:var(--amber)}.season-badge b{font-weight:500;color:#9c9c9f;padding:7px 9px;border:1px solid #ffffff17;border-radius:3px;margin-left:8px;font-size:8px;letter-spacing:.8px}
.hero-panel{height:480px;position:relative;isolation:isolate;border:1px solid #ffffff16;border-radius:9px;overflow:hidden;background:#1c1712}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0%;z-index:-3}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#090b0ee8 0%,#101011c2 25%,#12111025 63%,transparent),linear-gradient(0deg,#0b0b0ce8,transparent 30%);z-index:-2}.hero-content{padding:39px 46px;width:52%;position:relative}.hero-kicker{display:flex;align-items:center;gap:8px;color:#d5c5a9;font-size:9px;letter-spacing:1.9px;font-weight:650}.hero-content p{font-size:13px;color:#b8b7b4;line-height:1.8;margin-bottom:22px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 22px;border:1px solid #ffc66e;background:var(--amber);color:#1b160e;font-size:13px;font-weight:750;border-radius:4px;box-shadow:0 5px 24px #ff9e0010}.primary-button:hover{background:#ffc575;box-shadow:0 6px 30px #ffa62e25}.primary-button svg{width:18px;height:18px;stroke-width:2}.hero-content .primary-button{min-width:238px;justify-content:flex-start}.hero-content .primary-button svg:last-child{margin-left:auto}.camera-consent{display:flex;align-items:center;gap:7px;color:#97938c;font-size:9px;margin-top:13px}.camera-consent svg{width:12px;height:12px}.camera-consent i{width:3px;height:3px;background:#74716c;border-radius:50%;margin:0 3px}.hero-enemy{position:absolute;bottom:45px;right:44px;display:flex;align-items:center;gap:14px;text-shadow:0 2px 15px #000}.enemy-diamond{width:37px;height:42px;display:grid;place-items:center;clip-path:polygon(50% 0,100% 22%,100% 72%,50% 100%,0 72%,0 22%);background:#ffb54725;color:#ffc268;border:1px solid #ffb54780;font-family:var(--display);font-size:24px}.hero-enemy div{display:flex;flex-direction:column;gap:6px}.hero-enemy div>span{font-size:8px;letter-spacing:2px;color:#d2af75}.hero-enemy strong{font:700 26px/1 var(--display);letter-spacing:1.4px}.hero-enemy small{font-size:10px;color:#aaa59c}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font-size:11px;letter-spacing:1.4px;margin:0;font-weight:650}.section-heading>span{font-size:8px;letter-spacing:1.1px;color:#737376}.athlete{display:flex;align-items:center;width:100%;gap:11px;text-align:left;padding:15px 0}.avatar{width:37px;height:42px;display:grid;place-items:center;background:#27221b;border:1px solid #58412c;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);color:var(--amber)}.avatar svg{width:20px;height:20px}.athlete>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.athlete strong{font-size:12px;font-weight:600}.athlete small{font-size:9px;color:#828285}.arena-footer{display:flex;align-items:center;gap:20px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:9px;color:#737376}.arena-footer>span{display:flex;align-items:center;gap:7px;margin-right:auto}.arena-footer svg{width:12px;height:12px}.text-button{font-size:10px;color:#9d9da0;display:inline-flex;align-items:center;gap:7px;padding:7px 0}.text-button:hover{color:var(--amber)}.text-button svg{width:13px;height:13px}.tracking-tools{font-size:11px;color:#999;margin-top:15px;max-width:720px}.tracking-tools summary{cursor:pointer;font-size:10px;color:#777;padding:5px 0}.tracking-tools summary span{margin-left:8px;color:#555;font-size:9px}.tracking-tools p{line-height:1.6;margin:10px 0 0}.tracking-tools button{margin-right:25px}
#page-progress,#page-guide{max-width:1440px;margin:0 auto;padding:55px 28px 65px;min-height:calc(100dvh - 86px)}.page-intro{margin-bottom:34px}.page-intro h1{font-family:var(--display);font-size:68px;line-height:.98;letter-spacing:.3px;margin:18px 0}.page-intro h1 em{font-style:normal;color:var(--amber)}.page-intro p{font-size:14px;line-height:1.8;color:#999}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-card{background:#191a1c;border:1px solid var(--line);border-radius:8px;padding:32px;position:relative}.guide-card .step{position:absolute;top:26px;right:30px;font:700 40px var(--display);color:#ffffff13}.guide-card>svg{width:30px;height:30px;color:var(--amber);margin-bottom:25px}.guide-card h2{font-size:22px;letter-spacing:-.5px}.guide-card p{font-size:13px;color:#a0a0a3;line-height:1.9}.guide-tip{display:block;font-size:8px;color:#b99051;letter-spacing:1.2px;margin-top:25px}.guide-bottom{display:flex;gap:40px;align-items:center;justify-content:space-between;margin-top:35px}.guide-note{display:flex;gap:15px;max-width:800px;color:#999}.guide-note>svg{color:var(--amber)}.guide-note h3{font-size:14px;color:#dededc;margin:0 0 8px}.guide-note p{font-size:12px;line-height:1.8;margin:0}.guide-play{white-space:nowrap}.progress-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0 45px}.progress-summary>div{border:1px solid var(--line);border-radius:8px;background:#1a1b1d;padding:28px;display:flex;flex-direction:column;gap:10px}.progress-summary strong{font:700 50px var(--display);color:var(--amber)}.progress-summary span{color:#999;font-size:12px}.history-empty{text-align:center;border:1px dashed #ffffff19;border-radius:8px;padding:55px 25px}.history-empty>svg{color:#806039;width:40px;height:40px;margin-bottom:20px}.history-empty h3{font-size:24px}.history-empty p{color:#999;font-size:13px;line-height:1.9}.history-empty .primary-button{margin-top:15px}.history-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:center;gap:20px;padding:23px 22px;border-bottom:1px solid var(--line);background:#17181a}.history-row>div{font-size:14px;font-weight:600}.history-row time{display:block;color:#777;font-size:11px;font-weight:400;margin-top:6px}.history-row>strong{font-size:16px}.history-row>span{font-size:12px;color:var(--amber)}.history-row .history-badge{font-size:8px;border:1px solid #ffffff20;color:#999;padding:5px 8px;border-radius:3px}
dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #555046;border-radius:10px;background:#1b1b1b;color:#eee;padding:32px;box-shadow:0 30px 120px #000b}dialog::backdrop{background:#030405c9;backdrop-filter:blur(9px)}dialog h2{font-size:27px;letter-spacing:-.7px;line-height:1.2;margin:0 0 18px}dialog>p{font-size:13px;color:#a8a8a8;line-height:1.8}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:10px}.dialog-heading h2{margin-top:6px}.dialog-heading .icon-button{flex-shrink:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}.setting-row strong{font-size:13px;display:block}.setting-row small{display:block;color:#999;font-size:11px;margin-top:5px}.setting-row input{width:36px;height:20px;accent-color:var(--amber);cursor:pointer}.settings-note{display:flex;align-items:flex-start;gap:10px;color:#888;font-size:11px;line-height:1.7;margin-top:25px}.settings-note svg{width:16px;height:16px;color:#bd9559}.checks-list{display:grid;gap:22px;margin:25px 0}.checks-list>div{display:flex;gap:13px;font-size:12px;color:#aaa;line-height:1.7}.checks-list svg{width:19px;height:19px;color:var(--amber)}.checks-list strong{display:block;color:#e4e4e4;font-size:13px;margin-bottom:3px}.honesty-note{padding:18px;border:1px solid #ffb54725;background:#ffb54706;border-radius:5px;font-size:12px;color:#c5a979}.honesty-note p{font-size:11px;color:#9e968b;line-height:1.8;margin:7px 0 0}.result-icon{display:grid;place-items:center;width:60px;height:60px;background:#ffb54717;color:var(--amber);border:1px solid #ffb54744;border-radius:10px;margin-bottom:20px}.result-icon svg{width:28px;height:28px}#result-dialog>.eyebrow{color:#a88552}#result-dialog>h2{margin:18px 0 12px;font-family:var(--display);font-size:50px;text-transform:uppercase}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#111;border:1px solid #ffffff15;border-radius:7px;padding:23px 10px;margin:25px 0}.result-stats>div{text-align:center;display:flex;flex-direction:column;gap:8px}.result-stats strong{font:700 44px var(--display);color:var(--amber)}.result-stats span{font-size:8px;color:#a69b8a;letter-spacing:1px}.result-note{text-align:center;font-size:11px!important}#result-replay{width:100%}.battle-menu-actions{display:grid;gap:12px;margin-top:25px}.stop-button{display:flex;justify-content:center;align-items:center;gap:10px;min-height:44px;border:1px solid #ffffff25;border-radius:5px;background:#242424;padding:12px 17px;font-size:12px}.stop-button:hover{background:#333}.stop-button svg{width:17px;height:17px}#tracking-dialog{width:min(750px,calc(100% - 28px))}#tracking-diagnostics{white-space:pre-wrap;font:11px/1.7 Consolas,monospace;background:#0f1011;padding:18px;max-height:45vh;overflow:auto;border:1px solid #ffffff15;border-radius:6px;color:#c6b99f}.toast{position:fixed;z-index:200;left:50%;bottom:24px;transform:translateX(-50%);width:min(650px,calc(100% - 28px));padding:16px 18px;background:#2b241a;border:1px solid #b88a42;border-radius:7px;box-shadow:0 15px 70px #0009;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6}.toast>svg{color:var(--amber)}.toast>span{flex:1}
@media(min-width:1700px){.arena-layout{padding-top:45px}.hero-panel{height:560px}.hero-content{padding:53px}.hero-content p{font-size:15px;margin-bottom:28px}.arena-heading{margin-bottom:30px}}
@media(max-width:1100px){.hero-content{padding:36px;width:58%}.athlete{max-width:310px;padding:0}.hero-enemy{right:30px}.guide-card{padding:24px}.guide-bottom{align-items:flex-start}.section-heading>span{font-size:7px}}
@media(max-width:760px){.topbar{height:auto;min-height:72px;padding:17px 20px 0;flex-wrap:wrap;gap:12px}.brand{font-size:23px}.brand-mark{width:27px;height:31px}.top-actions{margin-left:auto;gap:7px}.wallet-button{padding:8px 10px;font-size:10px}.arena-layout{padding:24px 18px 20px}.arena-heading{margin-bottom:20px}.arena-heading h1{font-size:19px}.arena-heading .eyebrow{font-size:8px}.season-badge{font-size:8px;gap:5px}.season-badge b{display:none}.hero-panel{height:540px}.hero-art{object-position:62% 50%}.hero-shade{background:linear-gradient(90deg,#0a0b0ef0,#10101185 50%,#12111025),linear-gradient(0deg,#0b0b0cef,transparent 45%)}.hero-content{width:100%;padding:30px 25px}.hero-kicker{font-size:7px;letter-spacing:1.2px}.hero-content p{font-size:12px;max-width:280px}.hero-content .primary-button{min-width:220px}.hero-enemy{bottom:24px;left:25px;right:auto}.hero-enemy strong{font-size:21px}.hero-enemy div>span{font-size:7px}.section-heading>span{display:none}.athlete{max-width:none;width:auto;flex:1}.athlete small{font-size:8px}.arena-footer{flex-wrap:wrap;gap:12px;margin-top:23px}.arena-footer>span{width:100%;font-size:8px}.arena-footer .text-button{font-size:9px}.arena-footer .icon-button{margin-left:auto}.tracking-tools summary{font-size:9px}.tracking-tools summary span{font-size:8px}.guide-grid{grid-template-columns:1fr}.guide-bottom{flex-direction:column;gap:25px}#page-progress,#page-guide{padding:35px 20px}.page-intro h1{font-size:56px}.progress-summary{gap:10px;margin:25px 0}.progress-summary>div{padding:18px 12px}.progress-summary strong{font-size:36px}.progress-summary span{font-size:9px}.history-row{gap:10px;padding:19px 12px;grid-template-columns:1.7fr 1fr 1fr}.history-row .history-badge{display:none}.history-row>div{font-size:12px}.history-row>strong{font-size:13px}dialog{padding:25px}.toast{bottom:14px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Compact screens retain the two-line headline and a clear play target. */
.hero-enemy,.hero-pagination{pointer-events:none}
@media(max-width:760px){}
@media(max-width:380px){.topbar{padding-left:15px;padding-right:15px}.brand{font-size:21px}.top-actions{gap:3px}.wallet-button{font-size:9px;padding:8px}.arena-heading h1{font-size:17px}.season-badge{font-size:7px}.hero-content{padding-left:22px;padding-right:22px}}
.progress-summary{grid-template-columns:repeat(4,1fr)}.fighter-level{display:flex;align-items:center;gap:24px;margin-bottom:36px;padding:26px 30px;background:linear-gradient(105deg,#30251b,#1a1a1c);border:1px solid #ffb54729;border-radius:8px}.level-medallion{display:grid;place-items:center;width:64px;height:75px;clip-path:polygon(50% 0,100% 23%,100% 75%,50% 100%,0 75%,0 23%);background:#ffb547;color:#1b160f;font:800 40px var(--display);flex-shrink:0}.fighter-level>div{flex:1;max-width:500px}.fighter-level h2{font:800 30px var(--display);text-transform:uppercase;letter-spacing:1px;margin:6px 0 12px}.fighter-level .eyebrow{font-size:8px;color:#ba976b}.fighter-level small{color:#998b79;font-size:10px}.fighter-level>svg{margin-left:auto;color:#5e462b;width:60px;height:60px;stroke-width:1}.level-track{height:4px;border-radius:3px;background:#ffffff10;margin-bottom:9px;overflow:hidden}.level-track>span{height:100%;display:block;background:var(--amber)}.milestone-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:38px}.milestone{display:flex;flex-direction:column;align-items:flex-start;padding:23px;background:#18191b;border:1px solid #ffffff0d;border-radius:6px;color:#666}.milestone>svg{width:28px;height:28px;margin-bottom:17px}.milestone strong{font-size:13px;color:#929296;font-weight:600}.milestone small{font-size:10px;line-height:1.6;margin-top:7px;color:#67676b}.milestone>span{font-size:7px;letter-spacing:1.3px;margin-top:16px;color:#626266}.milestone.earned{border-color:#ffb54755;background:linear-gradient(120deg,#302519,#1b1b1c);color:var(--amber)}.milestone.earned strong{color:#eee}.milestone.earned small{color:#a49682}.milestone.earned>span{color:var(--amber)}.session-chart{display:flex;gap:20px;align-items:flex-end;background:#191a1c;border:1px solid var(--line);border-radius:7px;margin-bottom:36px;padding:25px 25px 20px}.chart-column{flex:1;text-align:center;max-width:120px}.chart-column strong{display:block;font-size:12px;font-weight:600;color:#e5b875;margin-bottom:9px}.chart-bar{max-width:55px;margin:0 auto;background:linear-gradient(#ffb547,#bc782c);border-radius:3px 3px 0 0}.chart-column small{display:block;font-size:9px;margin-top:10px;color:#8d8d90}.result-back{display:flex;margin:12px auto 0;justify-content:center;min-height:44px}.encounter-notice{position:absolute;z-index:8;left:50%;top:160px;transform:translateX(-50%);padding:10px 18px;border:1px solid #ffb54755;border-radius:4px;background:#231b10e8;color:#ffcd7f;font:800 18px var(--display);letter-spacing:2px;pointer-events:none}
@media(max-width:760px){.progress-summary{grid-template-columns:repeat(2,1fr)}.milestone-grid{grid-template-columns:repeat(2,1fr);gap:10px}.milestone{padding:18px}.fighter-level{padding:20px;gap:17px}.fighter-level>svg{display:none}.fighter-level h2{font-size:25px}.level-medallion{width:48px;height:59px;font-size:30px}.session-chart{gap:9px;padding:20px 14px}.chart-column small{font-size:7px}.milestone small{font-size:9px}.encounter-notice{top:125px;font-size:14px;letter-spacing:1px;max-width:calc(100% - 28px);text-align:center}}
.setting-row select{background:#121315;color:#ddd;border:1px solid #ffffff25;border-radius:5px;padding:9px;font:11px 'Segoe UI',sans-serif;max-width:150px}.setting-row input:focus-visible{outline:2px solid var(--amber)}
