/* Generated cabinet skin with real accessible reel and button overlays. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.slot-section { --cabinet-ink:#365b50; --cabinet-red:#cf5144; --cabinet-paper:#fff6df; background:#fff9ee; }
.slot-section .slot-machine { position:relative; container-type:inline-size; width:100%; max-width:640px; aspect-ratio:1122 / 1402; margin:8px auto 0; padding:0; isolation:isolate; border:0; border-radius:20px; background:#fff8e9; box-shadow:none; }
.machine-art { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:contain; pointer-events:none; user-select:none; border-radius:20px; }
.machine-art-fallback { display:none; position:absolute; top:24%; width:100%; color:var(--rust); text-align:center; font:900 clamp(28px,9cqw,58px)/1.3 ui-rounded,sans-serif; }
/* Coordinates match the 1122 × 1402 approved artwork. Keep track geometry at 13% / 74%. */
.slot-section .reel-board { position:absolute; left:11.45%; top:38.65%; width:77.35%; height:26.8%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3.9%; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.slot-section .reel { position:relative; min-width:0; height:100%; }
.slot-section .reel-window { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border:0; border-radius:8% / 6%; background:#fff7e5; box-shadow:inset 0 4px 10px #362b233d,inset 0 -4px 10px #362b233d; }
.slot-section .reel-window::after { background:linear-gradient(#73614960,#fff7e59c 8%,transparent 20%,transparent 80%,#fff7e59c 92%,#73614960); box-shadow:none; }
.slot-section .reel-target { border-color:#c6934a66; }
.slot-section .reel-target::before { border-left-color:#b37630; }
.slot-section .reel-target::after { border-right-color:#b37630; }
.slot-section .reel.is-held .reel-window { outline:2px solid #ffd56e; outline-offset:0; }
.reel-lock { position:absolute; top:5px; right:5px; z-index:4; display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:#644b28; background:#ffe9a0; border:1px solid #d4ad64; box-shadow:0 2px 3px #25301e26; }
.reel-lock svg { width:15px; height:15px; }
.slot-section .reel .reel-stop { position:absolute; top:121.5%; left:52.5%; display:grid; place-items:center; width:51%; min-width:44px; max-width:none; height:auto; min-height:44px; aspect-ratio:1; margin:0; padding:0 0 7%; transform:translate(-50%,-50%); border:0; border-radius:50%; background:transparent; box-shadow:none; color:#fff3c9; text-shadow:0 1px 2px #8e211b; font:900 clamp(17px,4.8cqw,30px)/1 "Noto Serif TC","Songti TC",serif; letter-spacing:0; cursor:pointer; transition:filter .12s; }
.slot-section .reel:first-child .reel-stop { left:70%; }
.slot-section .reel:last-child .reel-stop { left:32%; }
.slot-section .reel .reel-stop:disabled { opacity:1; cursor:default; color:#ffe7bd; border:0; background:transparent; box-shadow:none; }
.slot-section .reel .reel-stop:not(:disabled):active { transform:translate(-50%,-48%); background:#9d2b1722; box-shadow:none; }
.slot-section .reel .reel-stop:not(:disabled) { text-shadow:0 1px 2px #8e211b,0 0 8px #fff7b9; }
.slot-section .reel .reel-stop:focus-visible { outline:3px solid #ffe99d; outline-offset:1px; }
.slot-section .spin-controls { position:absolute; left:34.5%; top:83.8%; width:31.5%; height:9.6%; min-height:44px; transform:translateY(-50%); display:block; margin:0; padding:0; }
.slot-section .spin-button { display:grid; place-items:center; width:100%; max-width:none; height:100%; min-height:44px; margin:0; padding:0 1px 4%; border:0; border-radius:50%; background:transparent; box-shadow:none; color:#fff3c9; text-shadow:0 1px 2px #8c2418; font:900 clamp(16px,4.9cqw,31px)/1 "Noto Serif TC","Songti TC",serif; white-space:nowrap; letter-spacing:0; }
.slot-section .spin-button:disabled { opacity:1; background:#8d211222; color:#ffdfb8; box-shadow:none; }
.slot-section .spin-button:not(:disabled):active { transform:translateY(2px); background:#9d2b1722; box-shadow:none; }
.slot-section .spin-button:focus-visible { outline:3px solid #ffe99d; outline-offset:2px; }
.slot-options { display:flex; justify-content:flex-end; max-width:640px; margin:0 auto; }
.new-round { min-height:44px; padding:8px 5px; color:#66785b; border:0; border-bottom:1px solid #b1b69a; background:none; font-size:12px; }
.new-round:disabled { opacity:.45; }
.machine-art-note { max-width:590px; margin:10px auto; color:#875e3d; font-size:12px; line-height:1.8; }
.has-art-error .machine-art { visibility:hidden; }
.has-art-error .machine-art-fallback { display:block; }
.slot-section .has-art-error .reel-board { padding:5px; border:2px solid #a3824c; border-radius:10px; }
.slot-section .has-art-error .reel .reel-stop { background:#c84434; border:2px solid #ffe4ac; padding:0; box-shadow:0 3px 0 #843827; }
.slot-section .has-art-error .spin-button { background:#c84434; border:2px solid #ffe4ac; box-shadow:0 3px 0 #843827; padding:0; }
.slot-section .slot-machine.is-seven { box-shadow:0 0 35px #edbe5677; }
.slot-section .amao-reaction { max-width:590px; gap:12px; margin:27px auto 18px; padding:5px 0; border:0; background:transparent; }
.slot-section .reaction-picture { flex:0 0 60px; width:60px; height:60px; border-radius:50%; border:2px solid #fff6de; box-shadow:0 2px 0 #d8c9ac; }
.slot-section .reaction-speech { position:relative; margin:0; padding:11px 16px; border:1px solid #dbccb1; border-radius:18px 18px 18px 4px; background:#fffdf6; color:#6e4b32; font:700 16px/1.7 "PingFang TC","Microsoft JhengHei",sans-serif; overflow-wrap:anywhere; }
.slot-section .stamp-book { position:relative; max-width:590px; margin:0 auto 12px; padding:0; border:1px solid #d6c8ae; border-radius:16px; background:#fffdf6; }
.stamp-book>summary { position:relative; display:flex; align-items:center; gap:10px; min-height:56px; padding:13px 17px; cursor:pointer; list-style:none; font-size:14px; font-weight:700; color:#765333; }
.stamp-book>summary::-webkit-details-marker { display:none; }
.collection-chevron { margin-left:auto; font-size:19px; color:#89977c; transition:transform .18s; }
.stamp-book[open] .collection-chevron { transform:rotate(180deg); }
.stamp-content { padding:0 14px 16px; border-top:1px solid #e6ddcb; }
.stamp-content h4 { margin:17px 0 5px; color:#885637; font:700 18px/1.5 "Noto Serif TC","Songti TC",serif; }
.stamp-award { position:absolute; right:40px; top:50%; transform:translateY(-50%) rotate(-9deg); display:grid; place-items:center; width:98px; min-height:46px; padding:7px; border:3px double #a16b15; border-radius:10px; background:#ffe4a0; color:#6d410f; font-size:13px; line-height:1.4; text-align:center; pointer-events:none; box-shadow:0 2px 8px #88602329; }
.stamp-award.is-stamping { animation:seal-in 1.8s ease-out both; }
.game-info { max-width:590px; margin:auto; border-top:1px solid var(--line); color:var(--muted); }
.game-info>summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:48px; cursor:pointer; list-style:none; font-size:12px; }
.game-info>summary::-webkit-details-marker { display:none; }
.game-info[open]>summary>span { transform:rotate(45deg); }
.game-info .game-stats { justify-content:flex-start; gap:20px; padding:9px 0 16px; flex-wrap:wrap; }
.game-info ol { padding-left:20px; margin:14px 0; font-size:12px; line-height:2; }
.reward-rules { width:100%; border-collapse:collapse; font-size:12px; line-height:1.8; }
.reward-rules th,.reward-rules td { padding:9px 10px; border-bottom:1px solid #ded8c8; text-align:left; }
.reward-rules th { width:100px; color:#875327; }
.game-info .collection-storage-note { font-size:11px; line-height:1.8; margin:0 0 16px; }
.game-info .effect-preview { margin-top:12px; }
.jackpot-effects { display:none; position:absolute; inset:0; pointer-events:none; z-index:5; border-radius:22px; }
.is-seven-celebrating .jackpot-effects { display:block; animation:jackpot-reveal 4.2s ease-out both; }
.jackpot-effects>strong { position:absolute; left:50%; top:23%; transform:translateX(-50%) rotate(-6deg); color:#ffe692; -webkit-text-stroke:1px #99601c; text-shadow:0 3px 0 #b85b31,0 0 8px #fff6d1,0 0 28px #ffd46b; font:950 clamp(42px,14cqw,86px)/1 ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",sans-serif; letter-spacing:.06em; }
.jackpot-rays { position:absolute; inset:-8%; z-index:-1; background:repeating-conic-gradient(from 0deg,#f3c65c00 0deg 14deg,#ffde7c45 14deg 23deg,#f3c65c00 23deg 36deg); border-radius:50%; mask-image:radial-gradient(ellipse,transparent 30%,black 54%,transparent 72%); animation:ray-turn 4.2s linear both; }
.jackpot-ring { position:absolute; inset:0; border:3px solid #ffdc7c; border-radius:22px; box-shadow:0 0 15px #ffe5a5,inset 0 0 20px #ffd66566; animation:jackpot-ring 1.4s ease-out 3; }
.jackpot-spark { position:absolute; top:14%; left:4%; color:#ffe9aa; font-size:37px; text-shadow:0 0 12px #d89e26,0 0 3px #805526; animation:spark-rise 1.5s ease-out 2; }
.jackpot-spark:nth-of-type(4) { top:58%; left:92%; animation-delay:.4s; }
.jackpot-spark:nth-of-type(5) { top:80%; left:8%; animation-delay:.7s; font-size:24px; }
.jackpot-spark:nth-of-type(6) { top:8%; left:88%; animation-delay:.2s; font-size:26px; }
.confetti>i { animation-name:slot-confetti; }
.confetti>.confetti-star { width:15px; height:15px; clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 96%,50% 73%,21% 96%,32% 57%,2% 35%,39% 35%); }
@keyframes lamp-breathe { to { background:#fff1a4; box-shadow:0 0 8px #f8ce63; } }
@keyframes seal-in { 0% { opacity:0; transform:translateY(-80%) scale(1.7) rotate(-22deg); } 18% { opacity:1; transform:translateY(-50%) scale(.94) rotate(-8deg); } 28%,80% { opacity:1; transform:translateY(-50%) scale(1) rotate(-9deg); } 100% { opacity:0; transform:translateY(-50%) scale(1) rotate(-9deg); } }
@keyframes jackpot-reveal { 0% { opacity:0; transform:scale(.88); } 14%,80% { opacity:1; transform:scale(1); } 100% { opacity:0; transform:scale(1.03); } }
@keyframes ray-turn { to { transform:rotate(65deg); } }
@keyframes jackpot-ring { from { opacity:1; transform:scale(1); } to { opacity:0; transform:scale(1.13); } }
@keyframes spark-rise { 0% { opacity:0; transform:translateY(13px) scale(.4); } 30% { opacity:1; } 100% { opacity:0; transform:translateY(-36px) scale(1.2) rotate(15deg); } }
@keyframes slot-confetti { from { transform:translate3d(0,-25px,0) rotate(0); } to { transform:translate3d(var(--piece-drift),105dvh,0) rotate(var(--piece-turn)); } }
@media(hover:hover) {
 .slot-section .reel .reel-stop:not(:disabled):hover,.slot-section .spin-button:not(:disabled):hover { filter:brightness(1.12); text-shadow:0 1px 2px #8c2418,0 0 7px #ffe5a2; }
}
@media(max-width:700px) {
 .slot-section { padding-inline:6px; }.slot-section>.section-heading { margin-inline:8px; }
 .slot-section .slot-machine { margin:0 auto; border-radius:12px; }.machine-art { border-radius:12px; }
 .reel-lock { width:22px; height:22px; top:3px; right:3px; }.reel-lock svg { width:13px; height:13px; }
 .slot-section .amao-reaction { gap:9px; padding:3px 8px; margin:13px auto 15px; }.slot-section .reaction-picture { flex-basis:51px; width:51px; height:51px; }.slot-section .reaction-speech { padding:9px 12px; font-size:14px; }
 .slot-section .stamp-book,.game-info { margin-inline:8px; }.stamp-book>summary { padding:13px 12px; font-size:13px; }.stamp-content { padding:0 10px 13px; }.stamp-award { right:31px; font-size:12px; width:88px; }
 .slot-options { margin-inline:10px; }.jackpot-spark { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) { .is-seven-celebrating .jackpot-effects,.confetti { display:none; }.stamp-award.is-stamping { animation:none; } }
