.game-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}.game-stage canvas{width:100%;height:auto;display:block}.game-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.game-controls button{padding:10px 16px}.game-controls #play{background:#c5e3c2;border-color:#39834b}.game-controls #reset{background:#e9edff}.game-stops{display:flex;justify-content:center;gap:12px;margin:12px 0}.game-stops button{padding:8px 16px}.game-stage select{font:inherit;padding:8px;border:1px solid #b5cddd;border-radius:10px;background:white}.game-stage label{display:inline-block;margin-right:10px}.frequency-row{display:grid;grid-template-columns:100px 1fr 85px;gap:8px;align-items:center;margin:9px 0;font-size:13px}.frequency-row progress{width:100%;accent-color:#5369d7;height:12px}#outcome{font-weight:bold;min-height:28px}#history{font-size:14px}.game-note{font-size:14px}.game-layout h2{font-size:22px}@media(max-width:850px){.game-layout{grid-template-columns:1fr}}@media(max-width:420px){.frequency-row{grid-template-columns:85px 1fr 75px;gap:5px}.game-stops{gap:5px}.game-stops button{padding:8px}}
body[data-game="slots"] .game-stops button{background:#5369d7;color:white;border:2px solid #3145a6;box-shadow:0 3px 0 #263782;font-size:16px;min-height:45px}body[data-game="slots"] .game-stops button:disabled{background:#dce4ee;color:#65778b;border-color:#b5c5d6;box-shadow:none;opacity:1}body[data-game="slots"] .game-stops .stop-ready{animation:stop-signal .75s ease-in-out infinite}@keyframes stop-signal{50%{background:#3a9d74;border-color:#25714f;box-shadow:0 0 14px #67d3a9aa}}.spin-balance{display:inline-block;background:#e6f5e8;border:2px solid #84b68e;padding:9px 17px;border-radius:14px;font-size:19px;font-weight:bold}body[data-game="slots"] #game-canvas{cursor:pointer}@media(prefers-reduced-motion:reduce){body[data-game="slots"] .game-stops .stop-ready{animation:none;background:#3a9d74}}
body[data-game="slots"] .game-stops button.is-held,body[data-game="slots"] .game-stops button.is-held:disabled{background:#f4d27a;color:#5a4011;border-color:#bd8b2f;box-shadow:0 0 0 2px #f4d27a55;animation:none}
/* A single cabinet, with real controls aligned to its illustrated reels. */
.slot-machine{border:3px solid #ecd39c;border-radius:30px;padding:20px;background:linear-gradient(145deg,#203951,#13283d 60%,#28475b);box-shadow:0 18px 38px #16374b40,inset 0 0 0 5px #ffffff0a;color:#f5ead0;overflow:hidden}.machine-marquee{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border:2px solid #c9a462;border-radius:17px;background:linear-gradient(120deg,#3c5369,#1c3045);box-shadow:0 0 18px #e4bc6433}.machine-marquee>span{font-size:clamp(16px,2vw,25px);font-weight:bold;letter-spacing:2px;color:#ffe2a2;text-shadow:0 0 15px #f6c86a70}.machine-credit{text-align:center;background:#0b202a;border:1px solid #64958a;border-radius:10px;padding:6px 14px;color:#a1f1cc}.machine-credit>span{font:bold 30px 'Courier New',monospace;text-shadow:0 0 10px #7cedb160}.machine-credit small{display:block;font-size:9px;letter-spacing:1px;margin:2px 0}.machine-deck{position:relative;aspect-ratio:2/1}.machine-deck canvas{display:block;width:100%;height:auto}.machine-deck #lever{position:absolute;right:3%;top:22%;width:15%;height:66%;padding:0;margin:0;border:0;border-radius:15px;background:transparent;box-shadow:none;cursor:grab}.machine-deck #lever:active{cursor:grabbing}.machine-deck #lever:focus-visible{outline:3px solid #f8d386;outline-offset:0}.machine-deck #lever:disabled{cursor:default;opacity:1}.slot-machine .game-stops{position:absolute;left:17.857%;top:77%;width:54.286%;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:6.58%}body[data-game="slots"] .slot-machine .game-stops button{font-size:clamp(10px,1.5vw,15px);padding:8px 2px;min-height:32px;border-radius:8px}.machine-console{background:#0e2233;border:1px solid #537082;border-radius:16px;padding:15px;margin-top:4px}.machine-console #outcome{font-size:16px;color:#ffe3a4;line-height:1.5;margin:0 0 8px;min-height:48px}.machine-console #hold-info{font-size:13px;color:#b7d2e1;line-height:1.4;min-height:36px;margin:0 0 12px}.machine-prizes{display:flex;justify-content:space-between;gap:10px;font-size:12px;border-top:1px solid #40576a;padding-top:12px}.machine-prizes b{display:block;color:#a1f1cc;font-size:16px;margin-top:3px}.machine-console #reset{font-size:12px;background:#2e475c;color:#e8f4fc;border:1px solid #7593a9;padding:7px 12px;margin-top:14px;border-radius:9px}@media(max-width:420px){.slot-machine{padding:10px;border-radius:22px}.machine-marquee{padding:8px;gap:6px}.machine-credit{padding:4px 8px}.machine-marquee>span{letter-spacing:0;font-size:14px}.machine-console{padding:12px}.machine-prizes{font-size:11px}}
body[data-game="coins"] .game-controls{margin-top:10px}
.wheel-and-prizes{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;align-items:center}.prize-cabinet{padding:10px;background:linear-gradient(120deg,#c69469,#a77550);border:3px solid #875b3a;border-radius:15px;box-shadow:inset 0 0 15px #54341b40}.prize-cabinet h2{text-align:center;font-size:18px;color:#fff2db;margin:0 0 8px}.prize-shelf{display:flex;align-items:center;gap:8px;min-height:78px;padding:6px 4px;background:#fff8e7;border-bottom:7px solid #895837;border-radius:5px;margin-top:5px}.prize-shelf>div{flex:1;text-align:center}.shelf-lamp{width:20px;height:20px;flex-shrink:0;border:2px solid #776b52;border-radius:50%;background:var(--lamp);opacity:.3}.prize-shelf.lit .shelf-lamp{opacity:1;box-shadow:0 0 8px 3px var(--lamp)}.prize-shelf.lit{outline:2px solid var(--lamp)}.prize-items{display:block;font-size:30px;line-height:1.2}.prize-items.big{font-size:40px}.prize-items.medium{font-size:25px}.prize-items.small{font-size:20px}.prize-shelf small{display:block;font-size:10px;margin:4px 0 0}.wheel-guess{margin:16px 0}.wheel-guess select{width:150px}#prize-outcome{font-weight:bold;color:#226b46;min-height:24px}@media(max-width:500px){.wheel-and-prizes{grid-template-columns:minmax(0,1fr) 130px;gap:6px}.prize-cabinet{padding:6px}.prize-shelf{min-height:62px;gap:4px}.shelf-lamp{width:14px;height:14px}.prize-items.big{font-size:30px}.prize-items{font-size:24px}.prize-items.medium{font-size:21px}.prize-items.small{font-size:18px}}
body[data-game="wheel"] .game-layout{grid-template-columns:minmax(0,2fr) minmax(240px,.8fr)}.wheel-show{position:relative}.wheel-host{position:absolute;width:85px;height:145px;bottom:0;left:0;pointer-events:none}.wheel-number-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.wheel-number-grid button{padding:9px 3px;border:2px solid #b5cddd;border-radius:10px;font-size:18px;background:#edf5ff}.wheel-number-grid button[aria-pressed="true"]{background:#5369d7;border-color:#3548b0;color:white;box-shadow:0 0 10px #5369d750}.wheel-number-grid button:disabled{opacity:.8}#guess-label{font-weight:bold;margin-bottom:8px}body[data-game="wheel"] .wheel-and-prizes{grid-template-columns:minmax(0,1fr) 170px}@media(max-width:900px){body[data-game="wheel"] .game-layout{grid-template-columns:1fr}}@media(max-width:500px){body[data-game="wheel"] .wheel-and-prizes{grid-template-columns:minmax(0,1fr) 120px}.wheel-host{width:48px;height:85px}.wheel-number-grid{gap:4px}.wheel-number-grid button{font-size:16px;padding:8px 1px}}
body[data-game="wheel"] .wheel-and-prizes{grid-template-columns:minmax(0,1fr) 215px}.prize-items{white-space:nowrap}.prize-shelf small{font-size:12px;font-weight:bold}@media(max-width:500px){body[data-game="wheel"] .wheel-and-prizes{grid-template-columns:minmax(0,1fr) 145px}.prize-shelf small{font-size:11px}}
.account-totals{margin:18px 0}.account-totals>div{padding:10px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #d1e3ef}.account-totals dt{font-size:14px}.account-totals dd{font-weight:bold;margin:0;white-space:nowrap}.wheel-accounts #first-win{font-size:13px}.wheel-accounts #account-conclusion{font-size:15px;font-weight:bold;line-height:1.5}.account-table-wrap{overflow-x:auto}.account-table{width:100%;font-size:12px;border-collapse:collapse;margin-top:10px}.account-table th,.account-table td{padding:6px 4px;border-bottom:1px solid #d1e3ef;text-align:right}.wheel-accounts #game-price{width:100px}.wheel-accounts details{margin-top:16px}.wheel-accounts summary{font-weight:bold;cursor:pointer}
.wheel-host{width:115px;height:195px;bottom:0;left:0}@media(max-width:500px){.wheel-host{width:65px;height:110px}}
.wheel-host{overflow:visible;z-index:2}.wheel-show{overflow:visible}
.notebook-toolbar{display:flex;justify-content:flex-end;margin:0 0 16px}.notebook-task-button{background:#fff0c5;border:2px solid #d3b264;padding:10px 20px}.notebook-tasks[hidden]{display:none!important}.notebook-tasks{margin-bottom:22px;max-width:100%;background:#fffdf4}.notebook-tasks h2{font-size:25px}.notebook-tasks h3{font-size:18px;margin:16px 0 5px}.notebook-tasks ol{padding-left:24px}.notebook-tasks li{padding-left:6px}.notebook-tasks p{max-width:900px;font-size:16px}.task-notebook{background:#f6edce;border-radius:12px;padding:12px;font-weight:bold}
