:root{--navy:#101827;--navy2:#182238;--card:#1b2940;--muted:#a0b2cd;--gold:#f0be61;--blue:#427cbb;--line:rgba(177,196,228,.16);--text:#f5f7ff;--font:'DM Sans',system-ui,-apple-system,sans-serif;--display:'Outfit',system-ui,sans-serif}*{box-sizing:border-box}html{min-height:100%;background:var(--navy)}body{margin:0;color:var(--text);font-family:var(--font);font-size:15px;min-width:300px;background:radial-gradient(circle at 70% 0%,#233653 0,transparent 40%),#101827}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed!important}a{color:inherit;text-decoration:none}.hidden{display:none!important}.app-shell{min-height:100vh}.topbar{height:82px;border-bottom:1px solid var(--line);max-width:1350px;margin:auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px}.brand strong,.brand b{font:900 21px var(--display);letter-spacing:.07em}.brand small{display:block;font-size:9px;letter-spacing:.27em;color:var(--gold);margin-top:2px;font-weight:800}.logo-mark{width:40px;height:40px;background:var(--gold);color:#172038;display:grid;place-items:center;font:900 25px var(--display);clip-path:polygon(0 0,100% 0,100% 78%,78% 100%,0 100%)}.topbar nav{display:flex;gap:28px;color:#d8e0f1;font-weight:700;font-size:13px}.topbar nav a:hover{color:var(--gold)}.sound-btn{border:1px solid var(--line);border-radius:20px;color:#fff;background:#1d2b43;padding:9px 15px;font-weight:800;font-size:12px}.btn{border:1px solid transparent;padding:13px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-size:12px;font-weight:900;letter-spacing:.025em;text-align:center;transition:transform .12s,border-color .12s;color:var(--text);background:#314665}.btn:not(:disabled):hover{transform:translateY(-1px)}.btn.gold{background:var(--gold);color:#15223a}.btn.blue{background:#4179bd}.btn.outline{background:transparent;border-color:#506685}.btn.soft{background:#2e405d}.btn.danger{background:#713341;border-color:#9f4455}.btn.wide{width:100%}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.28em;font-weight:900;color:var(--gold)}h1,h2,h3{font-family:var(--display)}h1{font-size:40px;line-height:1.05;margin:9px 0 12px;letter-spacing:-.02em}h2{font-size:19px;margin:0 0 18px}h3{font-size:16px}p{line-height:1.6}.subtle,.help{color:var(--muted);font-size:12px;line-height:1.65}.center{text-align:center}input,select{width:100%;background:#111e30;color:#f6f8fb;border:1px solid #3a4b66;border-radius:8px;padding:12px 13px;outline:none;min-width:0}input:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 2px rgba(240,190,97,.13)}label{display:block;color:#c9d5e9;font-size:12px;font-weight:800;margin:13px 0}label input,label select{display:block;margin-top:7px}.panel{border:1px solid var(--line);background:rgba(26,40,62,.92);padding:25px;border-radius:15px;box-shadow:0 16px 45px rgba(4,12,24,.09)}.notice{padding:15px;border-radius:8px;background:#30465f;color:#e8edf9;margin:16px 0}.notice.error{background:#673441;color:#fff}.good{color:#b9fbdc}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:10px}.panel-head h2{margin:0}.badge,.status-pill{font-size:11px;background:#314363;color:#dce6ff;padding:7px 11px;border-radius:30px;font-weight:900;letter-spacing:.05em}.status-pill.active{background:#19584d;color:#b9ffdb}.toast{position:fixed;z-index:50;bottom:20px;left:50%;transform:translate(-50%,25px);background:#f0be61;color:#142039;border-radius:9px;box-shadow:0 12px 40px #060b1677;padding:14px 22px;max-width:90vw;text-align:center;font-weight:800;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#e895a8}.line{height:1px;background:var(--line);margin:20px 0}
/* Home */
.home-wrap{max-width:1350px;margin:auto;display:grid;grid-template-columns:1fr 1.1fr;align-items:center;min-height:calc(100vh - 82px);padding:38px 30px 65px;gap:35px}.hero-copy{z-index:2}.hero-copy h1{font:900 clamp(75px,9vw,145px)/.85 var(--display);letter-spacing:-.065em;margin:24px 0}.hero-copy h1 em{font-style:normal;color:var(--gold)}.hero-copy p{max-width:450px;color:#c5d1e7;font-size:16px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 45px}.hero-facts{display:flex;flex-wrap:wrap;gap:18px;font-size:10px;color:#869ab6;font-weight:800;letter-spacing:.08em}.hero-show{height:510px;position:relative;border-radius:40px;display:flex;align-items:center;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 50% 80%,#476796 0,transparent 58%),linear-gradient(130deg,#172741,#253d60);border:1px solid #395475;box-shadow:inset 0 0 40px rgba(79,108,160,.25);overflow:hidden}.hero-show::before,.hero-show::after{content:'';position:absolute;top:-60px;width:130px;height:450px;background:linear-gradient(180deg,#fff6,transparent);filter:blur(20px);transform:rotate(22deg)}.hero-show::before{left:10%}.hero-show::after{right:10%;transform:rotate(-22deg)}.hero-wheel{width:300px;position:relative;z-index:1;filter:drop-shadow(0 15px 9px #050e2388)}.hero-wheel .wheel-disc{animation:heroRotate 18s linear infinite;transform-origin:150px 150px}@keyframes heroRotate{to{transform:rotate(360deg)}}.hero-banner{font:900 22px var(--display);position:relative;z-index:2;background:#e9bd65;color:#14213a;padding:7px 22px;transform:rotate(-3deg);margin-top:-3px;box-shadow:6px 6px 0 #121c33}.hero-podiums{position:absolute;bottom:0;left:10%;right:10%;display:flex;align-items:end;justify-content:space-around;gap:10px}.podium-demo{height:90px;flex:1;text-align:center;background:#486ea8;border-radius:15px 15px 0 0;padding:10px;font-size:25px;box-shadow:inset 0 5px 0 #ffffff35}.podium-demo strong{display:block;font-size:9px;margin-top:8px}.podium-demo.pink{height:70px;background:#c95a88}.podium-demo.yellow{height:105px;background:#dcae5d}.podium-demo.blue{height:82px;background:#559ac6}
/* Host */
.host-wrap{max-width:1280px;padding:38px 24px 80px;margin:auto}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-intro p{color:var(--muted);margin:0}.host-quick{display:flex;gap:8px;flex-wrap:wrap}.host-grid{display:grid;grid-template-columns:7fr 5fr;gap:20px}.span-7,.span-5{min-width:0}.room-head{display:grid;grid-template-columns:1fr .55fr 1fr;gap:12px;background:#14223a;border-radius:11px;padding:18px;margin-bottom:20px}.room-head small,.puzzle-preview small{font-size:10px;color:#92a7c6;letter-spacing:.14em;font-weight:900}.pin-text{font:900 37px var(--display);color:var(--gold);letter-spacing:.14em}.stat-big{font:800 18px var(--display);padding-top:9px}.puzzle-preview{background:#23344f;padding:18px;border-radius:10px;min-height:105px}.host-puzzle{font:800 21px var(--display);line-height:1.5;margin-top:9px;overflow-wrap:anywhere}.host-puzzle b{font:700 12px var(--font);color:var(--gold)}.host-puzzle small{display:block;color:#c8d6ec;letter-spacing:0;font:600 12px var(--font);margin-top:7px}.control-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.control-actions .btn{padding:12px 13px}.list-player,.player-score-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.list-player>span{flex:1;min-width:0}.list-player b,.player-score-row b{font-size:13px}.list-player small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.empty-state{color:var(--muted);padding:30px 0}.inline-form{display:flex;gap:9px;align-items:end}.inline-form>input:first-child{flex:2}.inline-form>input[type=number]{width:84px}.inline-form>select{flex:1;min-width:90px}.inline-form .btn{flex-shrink:0}.prize-list{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.prize-tag{background:#2b4760;padding:9px 12px;border:1px solid #45607b;border-radius:9px;font-size:12px}.prize-tag strong{color:var(--gold)}.award-record{font-size:12px;padding:7px 0;color:#bcd0e7}.host-guide{padding-left:19px;color:#cbd9ee;line-height:2.1;font-size:13px}
/* Setup/auth */
.auth-wrap{display:grid;min-height:70vh;place-items:center;padding:26px}.auth-box{max-width:430px;width:100%}.auth-box p{color:var(--muted)}.setup-wrap{max-width:580px;margin:30px auto;padding:18px}.setup-wrap>.brand{margin:0 0 20px 9px}.setup-panel{padding:35px}.setup-panel form{margin-top:25px}
/* Avatar: deliberately goofy hand-drawn style */
.toon{width:98px;height:138px;position:relative;--skin:#ffd2a0;--shirt:#449de5;flex:none;filter:drop-shadow(0 5px 0 #101b3080)}.toon.skin-peach{--skin:#ffd2a0}.toon.skin-tan{--skin:#c9905c}.toon.skin-brown{--skin:#815844}.toon.skin-pink{--skin:#fbb6c7}.toon.skin-mint{--skin:#91d8bf}.toon.outfit-blue{--shirt:#4b95db}.toon.outfit-coral{--shirt:#e77977}.toon.outfit-yellow{--shirt:#f5bf58}.toon.outfit-purple{--shirt:#9b81e3}.toon.outfit-green{--shirt:#66b689}.toon-head{position:absolute;z-index:3;left:12px;top:17px;width:74px;height:77px;border-radius:48% 52% 44% 48%;background:var(--skin);border:4px solid #18213d;transform:rotate(-5deg)}.toon-hair{position:absolute;z-index:4;left:10px;top:5px;width:78px;height:36px;border-radius:43px 43px 12px 12px;background:#34243b;border:4px solid #18213d;transform:rotate(-7deg)}.toon.hair-spiky .toon-hair{clip-path:polygon(0 100%,0 22%,17% 52%,27% 0,48% 38%,65% 0,78% 45%,100% 5%,100% 100%);border-radius:0}.toon.hair-short .toon-hair{height:22px}.toon.hair-bob .toon-hair{height:52px;border-radius:36px 30px 16px 17px;z-index:2}.toon.hair-cap .toon-hair{background:#eab35f;height:24px;top:4px;border-radius:18px 18px 3px 3px;transform:rotate(8deg)}.toon.hair-cap .toon-hair:after{content:'';position:absolute;background:#eab35f;width:28px;height:8px;top:14px;left:49px;border-radius:8px}.eye{position:absolute;top:30px;width:9px;height:13px;background:#18213d;border-radius:50%}.eye.left{left:16px}.eye.right{right:16px}.mouth{position:absolute;top:51px;left:30px;width:14px;height:9px;border-bottom:3px solid #732e51;border-radius:0 0 100% 100%}.cheek{position:absolute;top:48px;width:9px;height:5px;background:#ec82a480;border-radius:50%}.cheek.left{left:11px}.cheek.right{right:11px}.toon-body{position:absolute;top:87px;left:22px;width:58px;height:42px;border:4px solid #19253b;background:var(--shirt);border-radius:18px 18px 9px 10px}.toon-arm{position:absolute;width:18px;height:31px;border:4px solid #19253b;background:var(--skin);top:3px;border-radius:12px}.toon-arm.a{left:-16px;transform:rotate(22deg)}.toon-arm.b{right:-16px;transform:rotate(-22deg)}.toon-leg{position:absolute;top:122px;width:19px;height:16px;border:4px solid #19253b;background:#3a4265;border-radius:0 0 10px 10px}.toon-leg.a{left:29px}.toon-leg.b{left:52px}.toon.small{transform:scale(.43);width:43px;height:58px;transform-origin:top left;margin-right:0}.avatar-preview{height:158px;background:linear-gradient(#293e5e,#182940);border:1px dashed #566a89;border-radius:14px;display:grid;place-items:center;margin:18px auto}.avatar-choices{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.avatar-choices label{margin:2px 0}
/* Player */
.player-wrap{max-width:1090px;margin:auto;padding:34px 20px 75px}.join-panel{max-width:460px;margin:10px auto 0}.join-panel>p{color:#aebed6}.player-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.player-top h1{font-size:32px}.score-pill{background:var(--gold);color:#162237;font-weight:900;padding:13px 19px;border-radius:13px;white-space:nowrap}.player-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.player-main{text-align:center}.round-line{padding:11px 15px;background:#14283f;color:#e6f1ff;border-radius:9px;margin-bottom:14px;font-weight:800;font-size:12px;letter-spacing:.07em}.wheel-slot{width:min(100%,310px);margin:auto}.wheel-svg{display:block;width:100%;height:auto;overflow:visible}.wheel-disc{transform-origin:150px 150px}.wheel-svg.draggable{touch-action:none;user-select:none;cursor:not-allowed}.can-spin .wheel-svg.draggable{cursor:grab}.can-spin .wheel-svg.draggable:active{cursor:grabbing}.hint-soft{font-size:12px;color:#b6cbe4;margin:10px}.player-puzzle{padding:15px 7px;margin:10px auto}.board-label{font-weight:900;text-transform:uppercase;letter-spacing:.13em;font-size:11px;color:var(--gold);margin-bottom:12px}.letter-board{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.tile,.board-space,.board-punct{display:grid;place-items:center;width:30px;height:39px;border-radius:4px}.tile{background:#1a4162;border:2px solid #4b86a8;color:transparent}.tile.revealed{background:#f1dfae;color:#172841;border-color:#fff0c9;font:900 19px var(--display)}.board-space{width:13px}.board-punct{font-weight:900}.action-heading{font:800 17px var(--display);margin:15px 0}.letter-choices{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:15px auto 19px}.letter-btn{width:42px;height:44px;border:1px solid #79a5d0;border-radius:9px;background:#345781;color:#fff;font:900 17px var(--display)}.letter-btn:hover{background:#4b78b2}.solve-form{display:flex;gap:9px;margin-top:15px}.solve-form input{flex:1}.solve-form button{white-space:nowrap}.score-list{max-height:540px;overflow:auto}.player-score-row span{flex:1;text-align:left}.waiting-message{padding:15px;color:#b9cce3}.quiz-question{margin:22px auto;text-align:left;max-width:530px}.quiz-question h3{font:800 21px var(--display);line-height:1.4}.answer-buttons{display:grid;gap:9px}.choice-btn{width:100%;color:#eff5ff;background:#253f64;text-align:left;border:1px solid #46658b;padding:13px;border-radius:9px}.choice-btn b{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:6px;background:#456d9f;margin-right:7px}.choice-btn.correct{border-color:#72d4a7;background:#214f42}.player-side h2{margin:0 0 12px}
/* Stage */
.view-stage{background:radial-gradient(ellipse at 50% 40%,#293e63,#101a2d 68%);overflow-x:hidden}.stage-page{display:flex;flex-direction:column;min-height:100vh;max-width:1800px;margin:auto;padding:19px 35px 12px;position:relative}.stage-page:before{content:'';position:fixed;z-index:-1;inset:0;background:repeating-linear-gradient(100deg,#b2ceff04 0,#b2ceff04 6px,transparent 6px,transparent 50px)}.stage-topline{display:flex;justify-content:space-between;align-items:center;gap:15px}.stage-logo{font:900 23px var(--display);letter-spacing:.06em;color:#f1f6ff}.stage-logo span{color:#f3c06a}.live-tag{font-size:11px;letter-spacing:.15em;font-weight:900}.pulse-dot{display:inline-block;width:9px;height:9px;background:#ff7b8f;border-radius:100%;margin-right:7px;box-shadow:0 0 15px #f56b75}.stage-title{text-align:center;padding-top:5px}.stage-title small{font:900 12px var(--display);letter-spacing:.23em;color:#e6bd64}.stage-title h1{font:900 clamp(28px,4vw,64px)/1.07 var(--display);margin:12px auto 15px;text-transform:uppercase;text-shadow:0 5px 0 #101828;max-width:1100px}.stage-content{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);align-items:center;gap:20px;flex:1;min-height:440px}.stage-left{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:12px 0 0}.stage-puzzle{z-index:1;min-height:140px;padding:24px 12px;background:linear-gradient(155deg,#315d7d,#1d3858);border:9px solid #dfb760;box-shadow:0 0 0 5px #172541,0 13px 29px #080f2080;border-radius:13px;text-align:center}.stage-puzzle .tile{width:clamp(23px,3vw,40px);height:clamp(35px,4vw,57px);border-radius:5px}.stage-puzzle .tile.revealed{font-size:clamp(18px,2.8vw,28px)}.stage-puzzle .letter-board{gap:5px}.stage-puzzle .board-label{font-size:14px}.waiting-board{font:900 30px var(--display);padding:15px 0;color:#ffe2a6}.stage-quiz{text-align:center;margin:auto;z-index:1;width:100%;max-width:680px}.stage-quiz h2{font:900 clamp(18px,2vw,27px) var(--display);margin:16px 0}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quiz-choice{padding:13px;background:#42668b;border-radius:9px;text-align:left;font-size:13px;font-weight:700}.quiz-choice strong{color:#f6d17a;margin-right:10px}.quiz-choice.right{background:#237553}.quiz-status{font:900 12px var(--display);letter-spacing:.14em;margin:12px 0}.stage-spotlights{position:absolute;left:0;right:0;bottom:0;pointer-events:none;z-index:0;height:260px;background:linear-gradient(70deg,transparent 5%,#93aaf319 20%,transparent 36%),linear-gradient(120deg,transparent 60%,#f3bf771d 76%,transparent 90%)}.stage-contestants{position:relative;z-index:2;display:flex;justify-content:center;align-items:end;min-height:240px;padding-top:25px;gap:10px}.contestant{flex:1;display:flex;align-items:center;flex-direction:column;max-width:220px;position:relative}.contestant .toon{transform:scale(.92);transform-origin:bottom center;margin-bottom:-4px;z-index:1}.contestant.current .toon{animation:hop 1s ease infinite alternate}@keyframes hop{to{transform:scale(.92) translateY(-10px)}}.podium{width:100%;background:linear-gradient(145deg,var(--podium),#253e64);border-radius:16px 16px 0 0;text-align:center;height:102px;border:3px solid #ffffff40;box-shadow:inset 0 7px 0 #ffffff24,0 9px 15px #0004;padding:19px 4px}.podium-name{font:900 clamp(11px,1.6vw,20px) var(--display);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.podium-score{font:900 clamp(13px,2vw,25px) var(--display);margin-top:9px;color:#fff3ca}.stage-right{text-align:center}.stage-wheel{width:min(100%,410px);filter:drop-shadow(0 20px 18px #0006)}.stage-spin-label{font:900 24px var(--display);letter-spacing:.04em;color:#f3c775;margin-top:7px}.stage-mini{background:#13283e;border:1px solid #46618c;border-radius:11px;max-width:340px;margin:19px auto;padding:13px;font:900 21px var(--display);letter-spacing:.1em}.stage-footer{display:flex;justify-content:space-between;padding:15px 3px 0;border-top:1px solid #ffffff20;color:#91a8ca;font-size:11px;font-weight:900;letter-spacing:.12em}.waiting-players{color:#b7c9e1;padding:80px 0}
@media(max-width:1000px){.home-wrap{grid-template-columns:1fr}.hero-show{height:410px}.host-grid,.player-grid{grid-template-columns:1fr}.stage-content{grid-template-columns:1fr .6fr;gap:8px}.stage-page{padding:14px}.stage-puzzle{padding:12px}.stage-contestants{min-height:195px}.stage-contestants .toon{transform:scale(.75);margin-bottom:-14px}.stage-wheel{max-width:270px}.podium{height:75px;padding:10px 3px}.room-head{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:660px){.topbar{padding:0 15px;gap:11px;height:70px}.topbar nav{gap:9px;font-size:11px}.topbar .brand small{display:none}.topbar .brand strong{font-size:15px}.logo-mark{width:30px;height:30px;font-size:18px}.sound-btn{font-size:10px;padding:8px}.topbar nav a:first-child{display:none}.home-wrap{padding:35px 17px;gap:35px}.hero-copy h1{font-size:clamp(75px,16vw,115px)}.hero-show{height:340px}.hero-wheel{width:215px}.hero-banner{font-size:17px}.hero-podiums{left:5%;right:5%}.podium-demo{height:65px}.hero-facts{font-size:9px}.host-wrap{padding:22px 12px}.page-intro{align-items:flex-start;flex-direction:column}.page-intro h1{font-size:28px}.panel{padding:17px}.room-head{grid-template-columns:1fr 1fr;gap:14px}.pin-text{font-size:30px}.control-actions .btn{flex:1 1 150px}.inline-form{flex-wrap:wrap}.inline-form input,.inline-form select{min-width:100px;flex:1 1 80px}.player-wrap{padding:19px 11px}.player-top h1{font-size:24px}.player-top{gap:7px}.score-pill{padding:8px;font-size:12px}.wheel-slot{max-width:260px}.player-puzzle .tile{width:24px;height:34px;font-size:16px}.stage-page{min-height:100vh;padding:10px}.stage-logo{font-size:13px}.stage-title h1{font-size:clamp(22px,6vw,34px)}.stage-content{grid-template-columns:1fr;min-height:auto}.stage-right{order:-1;display:flex;align-items:center;flex-direction:column}.stage-wheel{max-width:165px}.stage-spin-label{font-size:16px}.stage-mini{font-size:12px;padding:7px;margin:8px}.stage-puzzle .tile{width:22px;height:30px}.stage-puzzle .board-label{font-size:10px}.stage-left{padding:0}.stage-quiz h2{font-size:18px}.stage-contestants{min-height:168px}.stage-footer{font-size:8px}.stage-topline{gap:8px}.live-tag{font-size:9px}.stage-quiz{margin-bottom:0}}
/* Wheel Show V2 – live production, 2D fortune girl, broadcast transitions */
.cue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:9px}.cue-btn{background:linear-gradient(135deg,#384c7a,#283859);border-color:#5b7397;min-height:46px}.cue-btn:hover{box-shadow:0 0 0 2px #f0be6160}.mic-controls{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:13px}.mic-status{display:inline-flex;gap:6px;align-items:center;font-size:12px;color:#adbed7}.rules-row{display:flex;gap:15px;border-bottom:1px solid #ffffff17;padding:13px 0;align-items:start}.rules-row b{color:#f0be61;min-width:91px;font-size:12px;letter-spacing:.05em}.rules-row span{color:#b5c7df;font-size:12px;line-height:1.5}
.fortune-girl{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 auto 5px;position:relative;z-index:2;width:max-content;max-width:100%;background:linear-gradient(120deg,#162948ee,#263a5ed9);border:1px solid #f2c77788;border-radius:60px;padding:7px 17px 7px 8px;box-shadow:0 7px 20px #02050b60;animation:fortuneFloat 3.2s ease-in-out infinite}.fortune-icon{width:57px;height:68px;position:relative;flex:none}.fortune-hair{position:absolute;left:9px;top:4px;width:40px;height:42px;border-radius:50% 50% 24% 25%;background:#4d2659;border:3px solid #e6a44d}.fortune-face{position:absolute;z-index:2;left:14px;top:13px;width:31px;height:32px;background:#e4aa86;border:2px solid #513452;border-radius:48%}.fortune-face i{position:absolute;width:4px;height:6px;top:11px;background:#362344;border-radius:100%}.fortune-face i:first-child{left:7px}.fortune-face i:nth-child(2){right:7px}.fortune-face b{position:absolute;bottom:3px;left:11px;color:#763d54;font-size:12px}.fortune-dress{position:absolute;z-index:1;left:8px;bottom:1px;width:44px;height:28px;clip-path:polygon(35% 0%,65% 0%,100% 100%,0 100%);background:#ecba68;text-align:center;padding-top:9px;color:#6d3c6b;font-size:14px}.fortune-label{font:900 13px var(--display);letter-spacing:.13em;color:#ffe1a5;white-space:nowrap}.stage-spotlights{animation:studioLights 6s ease-in-out infinite alternate}.stage-puzzle .tile.revealed{animation:tileReveal .45s ease both}.stage-overlay{position:fixed;z-index:40;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;background:radial-gradient(ellipse at 50% 40%,rgba(24,51,89,.84),rgba(2,6,17,.94));backdrop-filter:blur(3px);opacity:0;transform:scale(1.07);visibility:hidden;pointer-events:none;transition:opacity .32s ease,transform .32s ease,visibility .32s}.stage-overlay.visible{opacity:1;transform:scale(1);visibility:visible}.stage-overlay strong{font:900 clamp(37px,6.8vw,112px)/1.02 var(--display);max-width:90vw;letter-spacing:-.025em;text-shadow:0 7px 0 #0c1930,0 0 40px #e8b95a80;color:#ffda88;animation:overlayPop .5s ease-out}.stage-overlay span{font:900 clamp(15px,2vw,25px) var(--display);letter-spacing:.21em;color:#ecf4ff}.stage-overlay-stars{font-size:clamp(25px,5vw,65px);color:#fff1c4;animation:sparkle 1.3s ease-in-out infinite alternate}.stage-overlay.effect-victory{background:radial-gradient(circle at 50% 48%,rgba(67,55,106,.86),rgba(7,14,35,.96))}.stage-overlay.effect-bankrupt,.stage-overlay.effect-half{background:radial-gradient(circle at 50% 48%,rgba(112,30,53,.9),rgba(8,12,25,.97))}.stage-overlay.effect-double,.stage-overlay.effect-swap{background:radial-gradient(circle at 50% 48%,rgba(35,102,104,.87),rgba(8,18,32,.97))}.stage-overlay.effect-victory:after{content:'✦  ✧  ★  ✦   ★   ✧   ✦';position:absolute;top:10%;left:10%;right:10%;color:#ffe3a8;font-size:clamp(20px,5vw,55px);animation:confettiDrop 2.2s linear both}.stage-spin-label{min-height:30px}.view-stage .stage-content{transition:filter .3s}.view-stage .fortune-girl{box-shadow:0 0 22px #f1bb6270,0 7px 22px #02050b66}
@keyframes studioLights{to{opacity:.56;filter:hue-rotate(25deg)}}@keyframes tileReveal{from{opacity:.3;transform:rotateY(80deg) scale(.7)}to{opacity:1;transform:rotateY(0deg) scale(1)}}@keyframes overlayPop{from{transform:scale(.6) translateY(15px);opacity:.3}to{transform:scale(1) translateY(0);opacity:1}}@keyframes sparkle{to{transform:rotate(-6deg) scale(1.12);opacity:.65}}@keyframes fortuneFloat{50%{transform:translateY(-4px)}}@keyframes confettiDrop{to{transform:translateY(240px) rotate(19deg);opacity:0}}
@media(max-width:1000px){.fortune-girl{padding:4px 12px 4px 5px}.fortune-icon{transform:scale(.8);margin-right:-7px}.fortune-label{font-size:11px}}
@media(max-width:660px){.fortune-girl{margin:0 auto 3px}.fortune-icon{transform:scale(.65);margin-right:-15px}.fortune-label{font-size:10px}.cue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-overlay span{letter-spacing:.08em}.stage-overlay strong{font-size:clamp(27px,8vw,48px)}}
@media(prefers-reduced-motion:reduce){.stage-spotlights,.fortune-girl,.stage-overlay-stars{animation:none}}

.fortune-girl.reveal .fortune-icon{animation:fortuneCheer .9s ease both}.fortune-girl.reveal .fortune-label{color:#fff3bf;text-shadow:0 0 16px #ffe1a8}@keyframes fortuneCheer{0%,100%{transform:rotate(0)}30%{transform:rotate(-15deg) scale(1.1)}70%{transform:rotate(12deg) scale(1.13)}}

/* v2.1: make pending and banked pound winnings unambiguous */
.score-pill{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:normal}
.score-pill .cash-total{font-size:20px;line-height:1.15}.score-pill small{font-size:10px;letter-spacing:.12em}
.score-pill .cash-round{font-size:12px;color:#172d48;background:#fff7d4;border-radius:5px;padding:3px 8px;margin-top:3px}
.cash-block{text-align:right;display:flex;flex-direction:column;gap:3px;align-items:flex-end;white-space:nowrap}
.cash-block small{font-size:10px;color:#f0be61;font-weight:700}
.podium-round{font-size:11px;font-weight:900;background:rgba(255,245,207,.19);padding:5px 8px;letter-spacing:.015em;border-radius:5px}
.podium-score small{font-size:9px;opacity:.8;letter-spacing:.07em}
.spin-action{margin:12px auto 5px;max-width:380px;padding:17px;font-size:15px;box-shadow:0 5px 18px rgba(240,190,97,.18)}
.spin-action:disabled{box-shadow:none}
@media(max-width:700px){.score-pill .cash-total{font-size:16px}.score-pill .cash-round{font-size:10px}.spin-action{min-height:52px}}

/* v2.2 — full-size 24-segment prize wheel */
.wheel-slot{width:min(100%,440px);max-width:none;margin-inline:auto}
.player-main .wheel-slot{width:min(100%,455px);max-width:none;filter:drop-shadow(0 14px 18px #030b1b55)}
.stage-wheel{width:min(100%,510px);max-width:none;filter:drop-shadow(0 24px 20px #0008)}
.hero-wheel{width:min(100%,355px)}
.wheel-disc{transform-origin:220px 220px}
.hero-wheel .wheel-disc{transform-origin:220px 220px}
.wheel-result{border:1px solid #c6a15d50;background:#293850;border-radius:8px;min-height:36px;padding:8px 12px;color:#ffdb96;font:900 12px var(--display);letter-spacing:.08em;text-align:center;margin:4px auto 15px;max-width:455px}
.final-warning{background:#66512d;border:1px solid #e6bd63;color:#fff0cc;font-weight:900;text-align:center;letter-spacing:.02em}
.player-main{min-width:0}
.stage-content{grid-template-columns:minmax(0,1.3fr) minmax(380px,.85fr);gap:10px}
.stage-page{max-width:1920px;padding-left:16px;padding-right:16px}
@media(max-width:1080px){.stage-content{grid-template-columns:minmax(0,1fr) minmax(300px,.76fr)}.stage-wheel{max-width:425px}}
@media(max-width:700px){.player-main .wheel-slot{width:min(100%,420px)}.stage-content{grid-template-columns:1fr}.stage-wheel{width:min(65vw,290px);max-width:none}.hero-wheel{width:min(100%,255px)}.wheel-result{font-size:11px}}
