:root{--orange:#e8590c;--orange-light:#ff8a1f;--ink:#482917;--muted:#8e786b;--line:#f3dece;--cream:#fff8f1;--white:#fff;--shadow:0 8px 30px #a3451110;--radius:18px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff8f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:280px;background-position:center top;background-size:cover;background-attachment:fixed}button,a,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a93b00;outline-offset:4px}button{touch-action:manipulation}img{display:block;max-width:100%}button,input{min-height:44px}.mini-app{width:min(1180px,100%);margin:auto;padding:24px 28px 30px;min-height:100vh}.topbar{display:flex;align-items:center;gap:14px;margin-bottom:20px;min-height:48px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(145deg,#ffa32e,#e95810);border-radius:12px;color:white;box-shadow:0 5px 12px #e8590c24}.brand-mark svg{width:25px;height:25px}.brand-name{font-size:19px;letter-spacing:.03em;font-weight:800}.top-spacer{flex:1}.round-button{width:42px;min-height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white;color:var(--ink);flex-shrink:0}.round-button svg{width:19px;height:19px}.back-link{border:0;background:#fff0e2}.demo-tag{font-size:10px;font-weight:800;letter-spacing:.12em;background:#fff0df;border:1px solid #f3d3ae;border-radius:5px;padding:6px 8px;color:#934400}.coin-pill{background:#fff0df;border:1px solid #f1d2aa;display:flex;align-items:center;gap:8px;border-radius:24px;padding:8px 15px;font-size:14px;white-space:nowrap}.coin-icon{width:22px;height:22px;border:2px solid #d89416;border-radius:50%;display:inline-grid;place-items:center;color:#92520a;font-weight:900;font-size:12px;background:linear-gradient(140deg,#ffe897,#ffbf25);box-shadow:inset 0 0 0 2px #ffdc6e}.coin-icon:after{content:'C'}.greeting{font-size:12px;color:var(--muted)}.lobby-heading{display:flex;align-items:end;justify-content:space-between;margin:35px 0 22px}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:.15em;text-transform:uppercase;color:#bd510d;margin:0 0 9px}h1{font-size:32px;letter-spacing:-.035em;line-height:1.1;margin:0}h2{font-size:15px;margin:0}.lobby-description{color:var(--muted);font-size:14px;line-height:1.6;margin:12px 0 0;max-width:520px}.lobby-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.game-card{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}.game-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #a3451120}.card-visual{height:150px;position:relative;background:radial-gradient(ellipse at 50% 105%,#ffc071 0,transparent 65%),linear-gradient(135deg,#fff3db,#ffdfad);display:grid;place-items:center;overflow:hidden}.card-visual img{height:100%;width:100%;object-fit:cover}.card-glyph{font-size:64px;filter:drop-shadow(0 7px 3px #ad520c20);line-height:1}.card-number{position:absolute;top:10px;left:12px;font-size:10px;font-weight:bold;letter-spacing:.07em;color:#c26a24}.card-info{padding:15px;display:flex;justify-content:space-between;align-items:center;gap:8px}.card-info h2{font-size:14px;margin-bottom:6px}.card-cost{font-size:11px;color:var(--muted)}.card-arrow{display:grid;place-items:center;background:#fff0e2;color:#ba4f09;width:29px;height:29px;border-radius:50%}.wallet-panel{margin-top:24px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;display:flex;align-items:center;gap:18px}.wallet-panel .wallet-copy{flex:1}.wallet-label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.wallet-amount{font-size:22px;font-weight:800}.primary-button{border:0;background:linear-gradient(135deg,#ff8b23,#e8590c);color:white;border-radius:10px;font-weight:800;padding:13px 24px;box-shadow:0 4px 0 #bc4008,0 8px 15px #e8590c1c;min-height:46px}.primary-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #bc4008}.secondary-button{border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);padding:10px 17px;font-size:12px;font-weight:700;min-height:42px}.game-header{display:flex;align-items:center;justify-content:space-between;margin:28px 0 22px;gap:16px}.game-heading h1{font-size:28px}.game-heading p{margin:8px 0 0;font-size:12px;color:var(--muted)}.header-actions{display:flex;gap:9px}.banner{width:100%;max-height:220px;object-fit:contain;border-radius:14px;margin:0 0 22px}.game-layout{display:grid;grid-template-columns:minmax(155px,1fr) minmax(280px,430px) minmax(155px,1fr);gap:24px;align-items:start}.side-panel{border:1px solid var(--line);border-radius:14px;background:#ffffffed;overflow:hidden;margin-top:36px}.panel-title{background:linear-gradient(110deg,#ff8d27,#e96113);color:white;padding:12px 13px;font-size:12px;font-weight:800;letter-spacing:.01em;display:flex;align-items:center;gap:7px}.panel-title svg{width:16px;height:16px}.prize-list{padding:5px 12px}.prize-row{display:flex;gap:9px;align-items:center;border-bottom:1px dashed #edd9c8;padding:12px 0;font-size:12px}.prize-row:last-child{border-bottom:0}.prize-medal{width:28px;height:28px;flex-shrink:0;display:grid;place-items:center;border-radius:8px;background:#fff2e4;font-size:16px}.prize-medal img{width:100%;height:100%;object-fit:contain}.prize-row b{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.prize-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.empty-records{font-size:11px;line-height:1.7;color:var(--muted);padding:20px 14px;text-align:center}.record-row{padding:12px;border-bottom:1px dashed var(--line);font-size:11px;display:flex;justify-content:space-between;gap:8px}.record-row b{font-size:11px}.game-center{min-width:0;text-align:center}.game-stage{height:345px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:18px;background-position:center;background-size:cover;isolation:isolate}.stage-help{font-size:11px;color:var(--muted);margin:6px 0 17px;min-height:17px;line-height:1.5}.game-art-override{max-height:315px;max-width:100%;object-fit:contain;filter:drop-shadow(0 10px 8px #863c1320)}.playing .game-art-override{animation:shake .2s infinite}.play-button{width:min(240px,90%);font-size:15px;letter-spacing:.06em;text-transform:uppercase}.play-cost{font-size:11px;color:var(--muted);margin:12px 0 0}.balance-strip{display:flex;justify-content:center;gap:0;background:white;border:1px solid var(--line);border-radius:12px;margin:22px 0 0;padding:12px 8px}.balance-item{flex:1;min-width:0;padding:0 10px}.balance-item+.balance-item{border-left:1px solid var(--line)}.balance-item span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.balance-item strong{font-size:17px}.compact-claim{border:0;background:transparent;color:#c54d08;font-weight:bold;font-size:11px;text-decoration:underline;padding:6px 0 0;min-height:28px}.game-footer{margin-top:24px;text-align:center;color:var(--muted);font-size:10px;line-height:1.7}.notice{margin:20px auto;padding:13px 16px;border:1px solid #f1d3ad;border-radius:10px;background:#fff0dd;color:#875010;font-size:12px;line-height:1.6}.notice.error{border-color:#ecc2ba;background:#fff1ef;color:#9f3222}.notice:empty{display:none}.notice a{text-decoration:underline;font-weight:bold}.result-note{min-height:24px;margin:14px 0 0;font-size:13px;color:#b44c0d;font-weight:700}.loading-screen{height:60vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--muted);font-size:13px}.loading-ring{width:30px;height:30px;border:3px solid #f6dfc5;border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}.error-screen{max-width:480px;margin:10vh auto;text-align:center;background:white;border:1px solid var(--line);border-radius:18px;padding:35px}.error-screen h1{font-size:23px}.error-screen p{font-size:13px;color:var(--muted);line-height:1.7}.modal{border:1px solid var(--line);padding:0;border-radius:18px;max-width:480px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 15px 65px #51260544;max-height:85vh}.modal::backdrop{background:#35221670}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);background:#fffaf6}.modal-head h2{font-size:17px}.modal-body{padding:20px;line-height:1.7;font-size:13px;overflow:auto;max-height:65vh}.modal-body p{margin-top:0}.modal-body table{border-collapse:collapse;width:100%;font-size:11px}.modal-body th,.modal-body td{padding:9px 6px;border-bottom:1px solid var(--line);text-align:left}.modal-body ul{padding-left:20px}.result-modal{text-align:center;padding:10px 0}.result-emblem{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;font-size:40px;margin:0 auto 14px;background:#fff1d7}.result-value{font-size:30px;font-weight:800;color:#d65309;margin:10px 0}.result-description{color:var(--muted);font-size:12px}.result-modal .primary-button{margin-top:15px;min-width:170px}.session-note{text-align:center;color:#9d7660;font-size:10px;margin:24px 0 0}.choice-row{display:flex;gap:9px;justify-content:center;margin:0 0 13px}.choice-button{background:white;border:2px solid #f4d9bd;border-radius:10px;min-width:58px;min-height:44px;font-size:22px}.choice-button.active{background:#fff0d9;border-color:#eb7415;box-shadow:0 0 0 2px #ffefd5}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Each game uses a compact DOM scene; animation changes only transforms. */
.wheel-wrap{width:296px;height:296px;position:relative}.wheel-ring{width:100%;height:100%;border:13px solid #fa8b1d;border-radius:50%;box-shadow:0 0 0 5px #bd4e10,0 0 0 8px #ffe0a1,0 13px 15px #973d1420;background:conic-gradient(#fff0cc 0deg 45deg,#ffb64d 45deg 90deg,#fff0cc 90deg 135deg,#ffb64d 135deg 180deg,#fff0cc 180deg 225deg,#ffb64d 225deg 270deg,#fff0cc 270deg 315deg,#ffb64d 315deg);position:relative;transition:transform 1.65s cubic-bezier(.15,.7,.2,1)}.wheel-label{position:absolute;left:calc(50% - 34px);top:calc(50% - 11px);width:68px;font-size:11px;font-weight:800;text-align:center;line-height:1.25;color:#813709;transform-origin:34px 11px}.wheel-hub{position:absolute;left:calc(50% - 30px);top:calc(50% - 30px);height:60px;width:60px;border-radius:50%;background:linear-gradient(#fff1b7,#ffc657);border:5px solid #fff3cc;box-shadow:0 0 0 3px #d56b0d;display:grid;place-items:center;font-size:24px;z-index:2}.wheel-pointer{position:absolute;left:calc(50% - 13px);top:-13px;width:26px;height:36px;background:#d54b0c;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 1px #812f13);z-index:3}.dice-scene{display:flex;gap:13px;align-items:center;justify-content:center;width:100%;height:260px;border-bottom:10px solid #f4bb72;border-radius:50%;background:radial-gradient(ellipse at bottom,#ffe2b8,transparent 65%)}.die{width:76px;height:76px;border-radius:16px;background:linear-gradient(135deg,white,#fff1d9);border:1px solid #e6c6a5;box-shadow:0 8px 0 #e7c599,0 12px 15px #a3531225;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:13px;gap:4px;transform:rotate(-8deg)}.die:nth-child(2){transform:translateY(-18px) rotate(7deg)}.die:nth-child(3){transform:rotate(15deg)}.pip{border-radius:50%;background:#dc5d16}.playing .die{animation:dice-roll .25s infinite}.claw-cabinet{width:254px;height:324px;border:9px solid #c2cbd0;border-radius:20px 20px 10px 10px;background:#ffc45d;box-shadow:inset 0 0 0 3px white,0 8px 0 #8f9b9e,0 12px 20px #a65b1720;position:relative;overflow:hidden}.claw-sign{height:44px;background:linear-gradient(#ff9c1e,#e97407);color:white;font-weight:900;font-size:21px;text-shadow:0 2px #c6500d;letter-spacing:.1em;display:grid;place-items:center;border-bottom:5px solid #e7ecee}.claw-glass{height:206px;margin:9px 10px 0;background:linear-gradient(115deg,#fff9edcc,#ffffff20);border:5px solid #99aeb5;border-radius:5px;position:relative;overflow:hidden}.claw-hook{position:absolute;left:calc(50% - 20px);top:-3px;width:40px;height:82px;border-top:4px solid #7c898e;z-index:2;transform-origin:top}.claw-hook:before{content:'';display:block;width:4px;height:46px;background:#8b9ca1;margin:auto}.claw-hook:after{content:'';display:block;width:37px;height:29px;border:6px solid #8b9ca1;border-top-width:4px;border-bottom:0;border-radius:20px 20px 0 0}.capsule{position:absolute;bottom:8px;left:var(--left);width:45px;height:45px;border-radius:50%;background:linear-gradient(160deg,#fff9 0 35%,var(--capsule-color) 36% 55%,#fffc 56%);border:2px solid #fff9;box-shadow:0 3px 3px #70511520;transform:rotate(var(--rot))}.claw-controls{display:flex;justify-content:space-around;padding:10px 15px}.claw-controls i{height:14px;width:26px;border-radius:50%;background:#e35716;box-shadow:0 3px #a9380b}.claw-controls b{height:15px;width:48px;border:4px solid #8a9092;border-radius:3px;background:#48545a}.playing .claw-hook{animation:claw-drop 1.4s ease-in-out}.shaker{height:263px;width:140px;position:relative;border-radius:24px 24px 40px 40px;background:linear-gradient(90deg,#ffb845,#ffd987 45%,#f39b1d);border:6px solid #d88214;box-shadow:inset 4px 0 #fff6,0 14px 15px #a35b1425;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.shaker:before{content:'';position:absolute;left:8px;right:8px;top:-19px;height:35px;border-radius:12px;background:linear-gradient(#fff2ba,#ffd374);border:5px solid #eaa342}.shaker-star{font-size:42px;color:white;text-shadow:0 3px #da7a13}.shaker-label{color:#8b4505;font-size:16px;font-weight:900;transform:rotate(-8deg)}.playing .shaker{animation:shake .18s infinite}.plinko-board{width:300px;height:323px;background:linear-gradient(#ffedc4,#ffd18b);border:9px solid #f9a22b;border-radius:18px;box-shadow:0 5px 0 #cd6510;position:relative;padding:15px}.plinko-board svg{width:100%;height:250px}.plinko-slots{display:flex;gap:3px;position:absolute;bottom:12px;left:12px;right:12px}.plinko-slot{background:#ee7b17;color:white;border-radius:4px;padding:8px 1px;font-size:9px;font-weight:bold;flex:1}.plinko-ball{width:14px;height:14px;background:#ef5f13;border:2px solid white;border-radius:50%;position:absolute;top:23px;left:calc(50% - 7px);box-shadow:0 2px 3px #8f4c1e40}.playing .plinko-ball{animation:plinko-drop 1.45s ease-in forwards}.football-field{width:330px;height:285px;background:linear-gradient(#ffe7c3 0 45%,#73b879 45%);border-radius:16px;position:relative;overflow:hidden;border-bottom:5px solid #44964e}.football-goal{position:absolute;width:230px;height:115px;left:50px;top:40px;border:9px solid white;border-bottom:0;background:repeating-linear-gradient(0deg,transparent 0 14px,#ffffff88 14px 16px),repeating-linear-gradient(90deg,#67a5c044 0 18px,#ffffff88 18px 20px);box-shadow:0 0 0 2px #dcdfc7}.football-ball{position:absolute;bottom:23px;left:calc(50% - 23px);width:46px;height:46px;font-size:43px;line-height:1;filter:drop-shadow(0 4px 1px #235f4230)}.playing .football-ball{animation:goal-kick 1.1s ease-out forwards}.rps-scene{display:flex;justify-content:center;align-items:center;gap:20px;height:255px;width:100%;background:radial-gradient(ellipse,#ffe8bc,transparent 68%)}.rps-hand{font-size:90px;line-height:1;filter:drop-shadow(0 8px 2px #a35f1520)}.rps-hand:last-child{transform:scaleX(-1)}.rps-vs{font-size:15px;font-weight:900;color:#c48242}.playing .rps-hand{animation:shake .2s infinite}.mystery-scene{display:flex;gap:9px;align-items:end;justify-content:center;height:260px;padding-bottom:40px;width:100%;background:radial-gradient(ellipse at bottom,#ffe4b4,transparent 70%)}.mystery-box{position:relative;width:88px;height:88px;border:0;border-radius:7px;background:linear-gradient(135deg,#ffc34d,#ff941e);box-shadow:0 7px 0 #ce650c,0 14px 15px #9b561f20;font-size:38px;color:white;font-weight:900;transition:transform .2s}.mystery-box:before{content:'';position:absolute;top:-10px;left:-4px;right:-4px;height:21px;background:#ffb638;border-radius:5px;box-shadow:0 3px 0 #df7c12}.mystery-box:after{content:'';position:absolute;left:calc(50% - 7px);top:-10px;bottom:0;width:14px;background:#fff0b0a0}.mystery-box span{position:relative;z-index:1}.mystery-box.selected{transform:translateY(-18px);outline:3px solid #cc6815;outline-offset:6px}.playing .mystery-box.selected{animation:shake .2s infinite}.scratch-card{width:310px;height:212px;background:linear-gradient(130deg,#ffb62e,#ffdb83);border:8px solid #f19d1c;border-radius:18px;box-shadow:0 7px 0 #c97913;position:relative;padding:20px}.scratch-top{font-size:18px;font-weight:900;color:#98410d;letter-spacing:.07em;margin-bottom:15px}.scratch-window{height:102px;border-radius:10px;border:2px dashed #c78533;background:white;position:relative;display:grid;place-items:center;overflow:hidden;font-size:24px;font-weight:900;color:#d3570d}.scratch-cover{position:absolute;inset:0;display:grid;place-items:center;background:repeating-linear-gradient(130deg,#d8d6ce 0 5px,#e4e2d9 5px 10px);color:#7f7d76;font-size:13px;letter-spacing:.1em;touch-action:none;user-select:none;transition:opacity .25s}.scratch-cover.revealed{opacity:0;pointer-events:none}.mines-board{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:280px;padding:12px;background:#ffdfac;border:6px solid #ee9a27;border-radius:17px;box-shadow:0 7px 0 #ca7518}.mine-tile{width:100%;aspect-ratio:1;min-height:0;border:0;border-radius:7px;background:linear-gradient(#fff9df,#ffd887);box-shadow:0 3px 0 #d79233;font-size:21px;padding:0}.mine-tile.chosen{background:#f39b26;box-shadow:inset 0 0 0 2px #b55e0b}.mine-tile.revealed{background:#fff7da}.baccarat-table{width:330px;height:260px;background:radial-gradient(ellipse,#7dba8e,#3a8359);border:8px solid #e7b34e;border-radius:100px 100px 45px 45px;box-shadow:0 7px 0 #ae772c;display:flex;gap:30px;justify-content:center;align-items:center;position:relative}.baccarat-hand{display:flex;gap:5px;position:relative}.baccarat-hand:after{content:attr(data-label);position:absolute;bottom:-32px;left:0;right:0;text-align:center;font-size:10px;font-weight:800;color:#fff2bd;letter-spacing:.08em}.playing-card{height:75px;width:49px;background:white;border-radius:5px;color:#dc491c;font-size:21px;display:grid;place-items:center;box-shadow:0 4px 3px #14442b44;border:2px solid #fff}.playing-card.back{background:repeating-linear-gradient(45deg,#e35a1c 0 3px,#ffac5f 3px 6px);font-size:0}.playing .playing-card{animation:card-deal 1s ease-out}.bell-game{height:310px;width:210px;position:relative}.bell-top{position:absolute;top:0;left:68px;width:75px;height:61px;background:linear-gradient(90deg,#e19413,#ffda61,#e59411);border-radius:50% 50% 15% 15%;border-bottom:8px solid #d47b0b;box-shadow:0 4px 0 #9e5c13}.bell-top:before{content:'';position:absolute;left:30px;top:-8px;width:15px;height:13px;border-radius:50%;background:#c7730c}.bell-column{position:absolute;top:66px;bottom:36px;width:46px;left:83px;background:repeating-linear-gradient(0deg,#f9bb43 0 17px,#fff5c3 17px 19px);border:8px solid #e0780f;border-radius:5px}.bell-puck{position:absolute;width:28px;height:17px;bottom:0;left:1px;background:#d34d13;border:3px solid #fff0bd;border-radius:3px}.bell-base{position:absolute;left:40px;right:40px;bottom:12px;height:38px;background:linear-gradient(#ed8f1d,#d55c0c);border-radius:50% 50% 8px 8px;box-shadow:0 6px 0 #a5420a}.bell-hammer{position:absolute;right:0;bottom:50px;font-size:62px;transform:rotate(-25deg);transform-origin:70% 80%}.playing .bell-puck{animation:bell-rise 1.25s ease-in-out}.playing .bell-hammer{animation:hammer-hit 1.25s ease-in-out}.playing .bell-top{animation:bell-ring 1.25s ease-in-out}.reveal-burst{position:absolute;inset:15px;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse,#ffe2a8aa,transparent 65%);z-index:-1}.choice-hint{font-size:10px;color:var(--muted);margin:5px 0 12px}.art-credit{color:#a1806a}
.game-footer .secondary-button svg{display:inline-block;width:14px;height:14px;vertical-align:middle;margin-right:6px}.wheel-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:transform 1.65s cubic-bezier(.15,.7,.2,1)}.custom-wheel-rim{position:absolute;inset:-8px;width:calc(100% + 16px);height:calc(100% + 16px);object-fit:contain;pointer-events:none;z-index:2}.custom-wheel-pointer{position:absolute;left:calc(50% - 24px);top:-24px;width:48px;height:65px;object-fit:contain;z-index:4}.coin-chests{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:280px;height:292px;padding:15px 0 0}.coin-chests .mystery-box{width:78px;height:74px;background:transparent;box-shadow:none;display:grid;place-items:center;padding:0;border-radius:50%}.coin-chests .mystery-box img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 2px #a2541830)}.coin-chests .mystery-box:before,.coin-chests .mystery-box:after{display:none}.coin-chests .mystery-box.selected{transform:translateY(-5px);outline-offset:4px}.shop-info{padding:18px}.shop-info h2{font-size:15px}.shop-info p{font-size:11px;color:var(--muted);line-height:1.6;min-height:36px}.shop-cost{display:flex;align-items:center;gap:7px;font-size:12px;margin:15px 0}.redeem-button{width:100%;padding:11px 12px;font-size:12px}.shop-grid{margin-bottom:25px}.game-stage.game-bell .game-art-override{max-height:300px}.game-stage.game-football .game-art-override{width:90px;height:90px;position:absolute;bottom:36px;left:calc(50% - 45px)}.playing.game-football .game-art-override{animation:goal-kick 1.1s ease-out forwards}.game-stage.game-football{background-size:cover;background-position:center}.game-stage.game-bell{background-position:center;background-size:cover}.game-heading .eyebrow{font-size:10px}.game-stage.game-scratch{touch-action:pan-y}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes shake{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes dice-roll{0%,100%{transform:translateY(-10px) rotate(-14deg)}50%{transform:translateY(-30px) rotate(15deg)}}@keyframes claw-drop{0%,100%{transform:translateY(0)}50%{transform:translateY(85px)}}@keyframes plinko-drop{0%{transform:translate(0,0)}20%{transform:translate(-23px,50px)}40%{transform:translate(20px,100px)}60%{transform:translate(-40px,150px)}80%{transform:translate(15px,200px)}100%{transform:translate(var(--ball-x,30px),235px)}}@keyframes goal-kick{to{transform:translate(var(--kick-x,40px),-165px) scale(.5) rotate(500deg)}}@keyframes card-deal{0%{transform:translateY(-90px) rotate(-20deg);opacity:0}100%{transform:translateY(0);opacity:1}}@keyframes bell-rise{0%,15%,100%{transform:translateY(0)}60%{transform:translateY(-156px)}}@keyframes hammer-hit{0%,100%{transform:rotate(-25deg)}25%{transform:rotate(-80deg)}50%{transform:rotate(15deg)}}@keyframes bell-ring{0%,60%,100%{transform:rotate(0)}65%,75%{transform:rotate(12deg)}70%,80%{transform:rotate(-12deg)}}
@media(min-width:1450px){.mini-app{padding-top:38px}.game-header{margin-top:38px}.game-layout{gap:35px}.game-stage{height:375px}.side-panel{margin-top:50px}}
@media(max-width:850px){.mini-app{padding:18px}.lobby-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.game-layout{grid-template-columns:150px minmax(260px,1fr);gap:17px}.records-panel{grid-column:1/-1;margin-top:0}.records-panel .record-list{display:flex;overflow:auto}.records-panel .record-row{min-width:180px;flex:1}.game-stage{height:330px}.brand-name{font-size:16px}}
@media(max-width:560px){.mini-app{padding:14px 14px 24px}.topbar{gap:9px;margin-bottom:16px}.brand-mark{width:35px;height:35px;border-radius:10px}.brand-mark svg{width:23px}.brand-name{font-size:14px;max-width:105px;line-height:1.25}.coin-pill{padding:6px 10px;font-size:12px;gap:6px}.coin-icon{width:20px;height:20px;font-size:11px}.demo-tag{font-size:8px;padding:5px 6px}.greeting{display:none}.lobby-heading{margin:28px 0 18px}h1{font-size:28px}.lobby-description{font-size:12px}.lobby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-visual{height:137px}.card-glyph{font-size:57px}.card-info{padding:12px}.card-info h2{font-size:12px}.card-cost{font-size:10px}.card-arrow{width:24px;height:24px;font-size:12px}.wallet-panel{padding:15px;gap:10px;flex-wrap:wrap}.wallet-amount{font-size:19px}.wallet-panel .primary-button{font-size:12px;padding:11px 16px}.wallet-panel .secondary-button{font-size:11px}.game-header{margin:23px 0 12px;gap:8px}.game-heading h1{font-size:25px}.game-heading p{font-size:10px;line-height:1.6;max-width:200px}.round-button{width:36px;min-height:36px}.header-actions{gap:7px}.game-layout{display:flex;flex-direction:column;gap:16px}.game-center{order:0;width:100%}.side-panel{order:1;width:100%;margin-top:0}.records-panel{order:2}.prize-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:5px 13px}.prize-row{padding:11px 0;min-width:0}.prize-row:nth-last-child(2){border-bottom:0}.game-stage{height:330px}.stage-help{margin-top:4px}.play-cost{margin:11px 0 0}.balance-strip{margin-top:18px}.balance-item strong{font-size:16px}.game-footer{margin-top:20px}.banner{margin:0 0 15px;max-height:160px}.modal-body{padding:18px}.session-note{font-size:9px}.topbar .back-link{width:34px;min-height:34px}.topbar .brand-mark{display:none}}
@media(max-width:340px){.mini-app{padding:12px 9px}.brand-name{font-size:12px;max-width:78px}.demo-tag{display:none}.game-stage{transform:scale(.88);transform-origin:center; margin:-14px -10px}.lobby-grid{gap:9px}.card-visual{height:115px}.card-info{padding:9px}.game-heading h1{font-size:22px}.coin-pill{font-size:11px}.die{width:65px;height:65px;padding:10px}.dice-scene{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.loading-ring{border-color:#f6dfc5;border-top-color:var(--orange)}}

.compact-claim{display:block;margin:3px auto 0}.balance-item strong{display:block}.banner{max-height:170px}.mini-app.has-background{background:#fff9f0e8;border-radius:0 0 24px 24px}.game-stage.game-bell{background-size:cover}.game-stage.game-bell .game-art-override{max-height:255px;transform:translateY(25px)}.game-stage.game-bell.playing .game-art-override{animation:shake .18s infinite}


.card-visual img{object-fit:contain;padding:14px;background:#fff}.game-card .card-visual{background:linear-gradient(135deg,#fff1d5,#ffdbb2)}.card-visual img{mix-blend-mode:multiply}


.game-stage.reference-curtains{background-size:auto 205%;background-position:center bottom}


.embedded .mini-app{min-height:0}.embedded body{background-attachment:scroll}


.custom-scratch-cover{background-position:center;background-size:cover;color:white;text-shadow:0 1px 4px #000,0 0 3px #000}.mine-tile>span{display:grid;place-items:center;height:100%;width:100%}.mine-art{width:100%;height:100%;object-fit:cover;border-radius:6px}.wheel-hub-art{width:100%;height:100%;object-fit:contain;border-radius:50%}

.card-visual img{min-height:0;min-width:0;max-height:100%}
