:root{color-scheme:dark;--bg:#17101e;--panel:#25182c;--muted:#b7a8be;--gold:#ffd15b;--red:#ff4c61;--blue:#53bdff;--purple:#b583ff;font-family:Inter,Segoe UI,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#422436,transparent 60%),#100c16;color:#fff7ed;min-height:100dvh}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,p{margin:0}h1,h2,.wordmark{font-weight:950;letter-spacing:-.055em}em{font-style:normal;color:var(--gold)}.shell{max-width:520px;margin:auto;background:var(--bg);min-height:100dvh;box-shadow:0 0 100px #0008;padding-bottom:env(safe-area-inset-bottom)}.topbar{height:70px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0d;background:#17101ef2;position:relative;z-index:3}.wordmark{font-size:20px;font-style:italic;white-space:nowrap}.wordmark span{display:inline-block;font-size:9px;letter-spacing:1px;font-style:normal;border:1px solid #6b546f;border-radius:4px;padding:3px 4px;vertical-align:middle;margin-left:8px;color:#d1b9d7}.top-actions{display:flex;gap:8px}.icon-button{width:34px;height:34px;border:1px solid #ffffff1f;background:#ffffff05;border-radius:10px;font-weight:800;font-size:18px}.hero{position:relative;height:470px;overflow:hidden;background:#3d2330 url('/assets/arena.png') center/cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,var(--bg) 0%,transparent 50%),linear-gradient(90deg,#1b1024e8 0%,#1b102460 65%,transparent)}.season-tag{position:absolute;top:22px;left:24px;font-size:10px;font-weight:800;letter-spacing:2px;color:#e9c0aa}.brand-art{position:absolute;width:200px;top:48px;left:18px;filter:drop-shadow(0 12px 15px #0006);border-radius:16px;z-index:1}.hero-copy{position:absolute;left:24px;bottom:35px;z-index:2}.eyebrow{font-size:10px;font-weight:850;letter-spacing:1.8px;color:var(--gold)}.hero-copy h1{font-size:54px;line-height:.98;margin:12px 0 16px;text-shadow:0 3px 12px #160d1c}.hero-copy>p:last-child{font-size:15px;line-height:1.6;color:#ddccd9}.hero-fighter{position:absolute;right:-53px;bottom:4px;width:290px;height:380px;object-fit:contain;filter:drop-shadow(0 10px 20px #0007);transform:rotate(-3deg)}.lobby-actions{padding:0 22px 20px;position:relative}.profile{display:flex;align-items:center;gap:11px;margin-bottom:20px}.avatar{background:#34213c;border:1px solid #674579;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:23px}.profile b{display:block;font-size:14px}.profile>div>span{font-size:11px;color:var(--muted);display:block;margin-top:3px}.connection{margin-left:auto;font-size:10px;color:#edab81}.connection.online{color:#8bdfb1}.primary,.secondary{border-radius:12px;padding:15px 18px;min-height:52px;font-size:16px;font-weight:850;border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .15s,filter .15s;box-shadow:0 4px 0 #0004}.primary{color:#2b1920;background:linear-gradient(#ffe28a,#ffc145);border-bottom:3px solid #ad7524}.primary:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.primary:active:not(:disabled),.secondary:active:not(:disabled){transform:translateY(2px)}.primary:disabled,.secondary:disabled{opacity:.45}.secondary{background:#34233e;border:1px solid #63416e;border-bottom:3px solid #1c1023;color:#f2d9ff}.wide{width:100%}.create{justify-content:flex-start;text-align:left;padding:16px;margin-bottom:12px}.create>span:first-child{font-size:28px}.create>div{font-size:18px}.create small{display:block;font-size:11px;font-weight:600;margin-top:4px;opacity:.7}.button-badge{margin-left:auto;border:1px solid #7a51165c;border-radius:5px;font-size:10px;padding:5px}.secondary>span{font-size:10px;margin-left:auto;background:#1c1023;padding:5px 8px;border-radius:5px}.features{display:grid;grid-template-columns:repeat(3,1fr);padding:26px 0 22px}.features div{text-align:center;border-right:1px solid #ffffff12}.features div:last-child{border:0}.features b{font-size:14px;display:block}.features span{color:var(--muted);font-size:10px;display:block;margin-top:6px}.pilot-note{font-size:11px;line-height:1.6;color:#9c88a7;text-align:center}.text-button{border:0;background:none;color:#c6b2d1;font-size:13px;padding:12px 4px}.text-button:hover{color:white}.text-button:disabled{opacity:.45}.waiting{padding:28px 24px;text-align:center}.ticket{display:grid;place-items:center;margin:0 auto 20px;width:58px;height:58px;background:#ffcf511a;border:1px solid #ffcf5133;border-radius:17px;font-size:30px}.waiting h1{font-size:46px;line-height:1.04;margin:13px 0}.waiting>p{font-size:14px;line-height:1.6;color:var(--muted)}.waiting-fighters{height:240px;display:flex;align-items:center;justify-content:center;gap:8px}.waiting-fighters img{width:43%;height:100%;object-fit:contain}.waiting-fighters>span{font-size:24px;font-weight:950;font-style:italic;color:var(--gold)}.unknown{font-size:70px;font-weight:900;border:2px dashed #796282;border-radius:25px;width:32%;height:170px;display:grid;place-items:center;color:#937da1;background:#ffffff04}.invite-label{display:block;text-align:left;font-size:12px;color:var(--muted);margin-bottom:8px}.waiting input{width:100%;padding:14px;background:#100b16;border:1px solid #4b3455;border-radius:9px;color:#dfcae8;font-size:13px;margin-bottom:15px}.waiting .secondary{margin-top:10px}.matchbar{display:flex;align-items:center;justify-content:space-between;height:39px;padding:0 18px;font-size:10px;letter-spacing:1px;color:#bba4c9;background:#201527}.matchbar .text-button{font-size:11px;padding:6px 0}.round-label{color:var(--gold);font-weight:800}.round-label small{color:#947d9f}.arena{height:285px;position:relative;overflow:hidden;background:#57332d url('/assets/arena.png') center 55%/cover;isolation:isolate}.arena:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#17101e55,transparent 35%,#17101e66);z-index:-1}.health-row{position:absolute;top:12px;left:16px;right:16px;display:flex;justify-content:space-between;gap:45px;z-index:2}.health{width:45%;position:relative}.health>div{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:6px}.health b{font-size:12px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 3px #000}.health>div>span{font-size:8px;font-weight:800;color:#e7bdb2}.health meter{appearance:none;display:block;width:100%;height:12px;border:2px solid #240e17;border-radius:3px;background:#28121c}.health meter::-webkit-meter-bar{background:#28121c;border:0;border-radius:0}.health meter::-webkit-meter-optimum-value{background:linear-gradient(#ff7373,#ef364b);border-radius:0}.health:last-child meter::-webkit-meter-optimum-value{background:linear-gradient(#76d5ff,#388ae8)}.health meter::-moz-meter-bar{background:#f55367}.health strong{display:block;font-size:11px;text-align:center;position:relative;margin-top:3px;text-shadow:0 2px 4px #000}.health strong small{font-size:9px;font-weight:500;opacity:.7}.arena-badge{position:absolute;top:20px;left:50%;transform:translateX(-50%) rotate(-8deg);color:#ffe198;font-weight:950;font-style:italic;font-size:24px;text-shadow:2px 3px #5d2e35;z-index:3}.fighter{position:absolute;bottom:17px;width:48%;height:210px;transform-origin:50% 95%;animation:breathe 2s ease-in-out infinite;z-index:1}.fighter.left{left:1%}.fighter.right{right:0;animation-delay:-1s}.fighter:before{content:'';position:absolute;width:60%;height:12px;background:#170b14a8;bottom:5px;left:20%;border-radius:50%;filter:blur(4px)}.fighter img{width:100%;height:100%;object-fit:contain;position:relative;filter:drop-shadow(2px 3px 1px #27122088)}.arena-floor-label{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:2px;font-weight:800;color:#ffe3b366}.fighter.move-punch.left,.fighter.move-grab.left{animation:attack-left .7s ease-in-out}.fighter.move-punch.right,.fighter.move-grab.right{animation:attack-right .7s ease-in-out}.fighter.move-block img{filter:drop-shadow(0 0 9px #51bdff)}.damage{position:absolute;left:40%;top:22px;color:#ffd96b;font-size:32px;font-weight:950;-webkit-text-stroke:1px #521d27;animation:damage 1.5s both;z-index:4}.enemy-status{display:flex;justify-content:space-between;align-items:center;padding:9px 18px;background:#201527;border-bottom:1px solid #ffffff09;gap:5px}.enemy-status>span{font-size:10px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#bba4c9}.enemy-status>div{display:flex;gap:10px}.energy{font-size:13px;font-weight:800}.enemy-status>b{font-size:9px;letter-spacing:1px;color:#b8a2c4}.controls{padding:17px 18px 20px}.phase-heading{display:flex;justify-content:space-between;align-items:center}.phase-heading .eyebrow{font-size:9px;letter-spacing:1.5px;color:#b99cc6}.phase-heading h2{font-size:25px;line-height:1.2;margin-top:5px}.timer{font-size:18px;font-weight:850;min-width:45px;height:45px;display:grid;place-items:center;border-radius:50%;border:2px solid #715337;background:#35251e;color:var(--gold)}.timer.urgent{border-color:var(--red);color:var(--red);animation:pulse .8s infinite}.phase-hint{color:#bba5c8;font-size:11px;margin:9px 0 14px;min-height:15px}.slot-machine{border:2px solid #bc8d46;border-bottom:5px solid #835528;border-radius:15px;background:linear-gradient(#d4a35d,#f2c775 10%,#5e3923 11%,#38202a 90%);padding:14px 10px 6px;box-shadow:0 6px 20px #0004;position:relative}.machine-lights{position:absolute;top:4px;left:16px;right:16px;height:4px;background:radial-gradient(circle,#fff4bb 2px,transparent 3px) 0 0/18px 4px;opacity:.8}.reels{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.reel{min-width:0;height:112px;position:relative;border:2px solid #623c2e;border-radius:8px;background:linear-gradient(#bba37b,#fff7db 24%,#fff7db 65%,#d6b383);box-shadow:inset 0 0 18px #643a1b33;padding:0;overflow:hidden;transition:box-shadow .15s,transform .15s;color:#533025}.reel .symbol{font-size:49px;height:81px;display:grid;place-items:center;filter:drop-shadow(0 3px 1px #693c2633)}.reel.wild .symbol{color:#f7b629;-webkit-text-stroke:2px #a66a0c;font-size:63px}.hold-label{display:block;font-size:9px;font-weight:900;letter-spacing:1px;border-top:1px solid #66311d26;padding-top:6px;line-height:1}.reel.held{border-color:#f8c854;box-shadow:inset 0 0 0 3px #df942c,0 0 10px #ffc95899;transform:translateY(-2px)}.reel.held .hold-label{background:#a86614;color:#fff5d9;height:28px}.machine-base{display:flex;justify-content:space-between;font-size:8px;font-weight:800;letter-spacing:1px;color:#d5a76b;padding:8px 3px 0}.spin-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:10px;margin-top:12px}.spin-actions button{min-height:45px;padding:10px;font-size:14px}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px}.skill{border:1px solid #78313f;border-bottom:3px solid #4d1d2e;border-radius:11px;min-width:0;padding:10px 4px 8px;text-align:center;background:radial-gradient(circle at 50% 0,#69323c,#2e1c2a 65%);position:relative;transition:transform .15s}.skill.shield{border-color:#2b6682;background:radial-gradient(circle at 50% 0,#224b72,#1c2436 65%)}.skill.bolt{border-color:#685095;background:radial-gradient(circle at 50% 0,#574071,#261d39 65%)}.skill.charged{box-shadow:0 0 12px #faaa2825;border-color:var(--gold)}.skill.charged:hover{transform:translateY(-3px)}.skill-icon{display:block;font-size:30px;line-height:1.2;margin-bottom:6px}.skill>b{display:block;font-size:13px}.skill>span:not(.skill-icon){display:block;font-size:10px;color:#d6b5bd;margin-top:5px}.skill>small{display:block;font-size:8px;color:#a88b9e;margin-top:4px}.skill>strong{font-size:12px;color:#f5cd86;display:block;margin-top:5px}.skill>strong>small{font-weight:400;color:#a58ba9;font-size:10px}.charge{appearance:none;width:80%;height:4px;border:0;background:#120c1a;border-radius:3px;display:block;margin:10px auto 0}.charge::-webkit-progress-bar{background:#120c1a;border-radius:3px}.charge::-webkit-progress-value{background:#f4b650;border-radius:3px}.charge::-moz-progress-bar{background:#f4b650}.rest{font-size:12px;padding:16px 0 6px}.battle-log{margin-top:18px;border-top:1px solid #ffffff0d;font-size:11px;color:#a78db5}.battle-log summary{cursor:pointer;padding:15px 0}.battle-log>div{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding:8px 0;border-bottom:1px solid #ffffff08}.battle-log>p{padding:10px 0}.result-panel{border:1px solid #ad833a;background:radial-gradient(ellipse at top,#5e3c26,#2a1c2b 80%);border-radius:14px;padding:22px 18px 8px;text-align:center;margin-top:18px;animation:arrive .4s both}.result-panel h2{font-size:43px;color:var(--gold);margin:8px 0}.result-panel p{font-size:13px;color:#c7acbd;margin-bottom:18px}.result-panel .eyebrow{font-size:8px}.boot{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:25px;text-align:center}.boot h1{font-size:34px}.boot p{color:var(--muted);line-height:1.6}.loader{border:3px solid #5c3c65;border-top-color:var(--gold);border-radius:50%;width:40px;height:40px;animation:rotate 1s linear infinite}#toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#fff0d3;color:#301b28;padding:13px 20px;border-radius:12px;font-size:13px;font-weight:650;z-index:100;box-shadow:0 6px 30px #0008;max-width:90%;width:max-content;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{max-width:min(460px,92vw);max-height:85dvh;border:1px solid #705077;border-radius:20px;background:#25182d;color:#fff4e9;padding:0;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#090610cc;backdrop-filter:blur(5px)}.modal{padding:26px}.modal h2{font-size:27px;line-height:1.1;margin:13px 0 20px}.modal ol{padding-left:20px}.modal li{font-size:14px;line-height:1.6;color:#cbb5d2;margin-bottom:13px}.modal li b{color:#ffe9bb}.modal p{font-size:12px;line-height:1.6;color:#bda5c6;margin:12px 0}.modal .primary{margin-top:14px}.rule-triangle{display:flex;justify-content:space-between;gap:8px;padding:12px 0;font-size:12px;font-weight:700;color:#f4d797}@keyframes breathe{50%{transform:translateY(-3px) rotate(.6deg)}}@keyframes attack-left{35%{transform:translateX(40px) rotate(7deg)}70%{transform:translateX(9px)}}@keyframes attack-right{35%{transform:translateX(-40px) rotate(-7deg)}70%{transform:translateX(-9px)}}@keyframes damage{0%{transform:scale(.4);opacity:0}25%{transform:translateY(-12px) scale(1.2);opacity:1}100%{transform:translateY(-38px);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes arrive{from{opacity:0;transform:translateY(15px)}}@keyframes rotate{to{transform:rotate(360deg)}}@media(min-width:700px){body{padding:24px}.shell{border:1px solid #4b2e51;border-radius:22px;overflow:hidden;min-height:calc(100dvh - 48px)}.hero{height:490px}.arena{height:320px}.fighter{height:240px}}@media(max-width:370px){.topbar{padding:14px}.wordmark{font-size:18px}.hero-copy h1{font-size:46px}.hero-fighter{right:-65px;width:270px}.controls{padding:14px 12px}.arena{height:260px}.fighter{height:190px}.skill>b{font-size:12px}.reel{height:103px}.reel .symbol{height:73px}.enemy-status{padding:9px 12px}.lobby-actions{padding:0 16px 20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
