@font-face { font-family: "M PLUS 1"; src: url("../../../assets/fonts/m-plus-1/MPLUS1-variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; font-family: "M PLUS 1", -apple-system, "Hiragino Sans", sans-serif; color: #f2e8fa; background: #100c24; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; --pink: #ff72d4; --cyan: #92eaf6; --gold: #ffe6a6; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { min-width: 320px; margin: 0; background: radial-gradient(ellipse at 50% 30%, #44205b50, transparent 75%), #100c24; }
button, a { font: inherit; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
[hidden] { display: none !important; }
.slot-shell { width: min(100%, 450px); margin: 0 auto; padding: max(9px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.slot-header { display: grid; grid-template-columns: 75px 1fr 54px; align-items: center; min-height: 40px; margin-bottom: 6px; gap: 6px; }
.slot-header a { padding: 11px 0; color: #cfc0de; text-decoration: none; font-size: 12px; }
.slot-header p { margin: 0; text-align: center; color: #ebc7f0; font: 600 11px/1.5 ui-monospace, monospace; letter-spacing: .13em; }
.slot-header p span { display: block; color: #8f799f; font-size: 8px; letter-spacing: .08em; }
.slot-header button { min-height: 38px; border: 1px solid #b58ccb44; border-radius: 9px; background: #291a3b; color: #d6c6df; font-size: 10px; }
.cabinet { position: relative; isolation: isolate; overflow: hidden; padding: 0 16px; border: 1px solid #e1a6e080; border-radius: 47px 47px 27px 27px / 25px 25px 20px 20px; background: radial-gradient(ellipse at 50% 12%, #913c9e44, transparent 45%), linear-gradient(110deg, #4e245f, #1c142f 13%, #2e1e42 48%, #1a132d 87%, #59275e); box-shadow: 0 0 0 3px #301735, 0 0 0 5px #f98cdd15, 0 12px 35px #05020c99, inset 0 1px #ffdcffb3; }
.cabinet-rail { position: absolute; top: 29px; bottom: 22px; width: 7px; z-index: 3; pointer-events: none; border: 1px solid #d5b9ff9c; border-radius: 8px; background: repeating-linear-gradient(0deg, #f2c9ff 0 2px, #ff4dcc 3px 11px, #522d80 12px 17px, #91caff 18px 22px); box-shadow: 0 0 9px #fa48c8b3, inset 0 0 4px white; }
.rail-left { left: 4px; }.rail-right { right: 4px; }
.marquee { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 0 7px; text-align: center; }
.marquee p { margin: 0 0 2px; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .35em; color: #f3bbe6; }
.marquee h1 { margin: 0; font-size: clamp(23px, 7.3vw, 31px); font-weight: 900; line-height: 1.2; letter-spacing: -.05em; color: #fff0cb; text-shadow: 0 2px #a83b77, 0 -1px #fff4df, 0 0 15px #fc65bf77; }
.marquee h1 i { display: inline-block; padding: 1px 5px; margin-right: 2px; transform: skew(-10deg); font: italic 900 .67em/1.1 Georgia, serif; color: #fdd4eb; border: 1px solid #db88bc; border-radius: 3px; background: #65234e; vertical-align: 3px; }
.marquee > div > span { display: block; margin-top: 3px; color: #ddc0ed; font-size: 9px; line-height: 1.3; letter-spacing: .25em; }
.marquee-star { color: #ffc6f3; font-size: 19px; filter: drop-shadow(0 0 4px #fa6bc8); }
.lcd-housing { border: 1px solid #cd87c4b3; border-radius: 11px; padding: 5px; background: #0b0919; box-shadow: 0 0 0 2px #0c071b, 0 0 12px #ef5bad33, inset 0 1px #fff5; }
.lcd-topline { display: flex; align-items: center; justify-content: space-between; height: 18px; padding: 0 4px 4px; color: #bda5d4; font: 500 7px/1 ui-monospace, monospace; letter-spacing: .08em; }
.lcd-topline > span:first-child { color: #a6e4d9; font: 600 9px/1.2 "M PLUS 1", sans-serif; }
.lcd-screen { position: relative; overflow: hidden; border: 1px solid #514364; background: #17132f; aspect-ratio: 2; }
#lcd { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.lcd-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #0002 0 1px, transparent 1px 3px); pointer-events: none; opacity: .6; }
.lcd-corner { position: absolute; top: 6px; right: 7px; color: #d8c3ea50; font: 700 10px/1 ui-monospace, monospace; letter-spacing: -.1em; }
.lcd-caption { display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 3px 6px 0; color: #eddaee; font-size: 10px; letter-spacing: .02em; }
.pixel-star { color: #efabd5; font-size: 16px; }
.cabinet-nameplate { display: flex; align-items: center; justify-content: space-between; height: 27px; gap: 5px; color: #e5c2d9; font-size: 8px; }
.cabinet-nameplate b { color: #dbb5c9; font: 600 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.cabinet-nameplate > span:last-child { padding: 3px 4px; color: #ffdd9a; border: 1px solid #e0ab673d; border-radius: 3px; font: 600 8px/1 ui-monospace, monospace; }
.reels-panel { position: relative; padding: 6px; border: 1px solid #a8b3d2bd; border-radius: 11px; background: linear-gradient(120deg, #16111f, #6b6382 48%, #140f24); box-shadow: 0 0 0 3px #090713, inset 0 1px #ede3ffb3, 0 0 16px #e85fcb19; }
.reels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0 3px; background: #080710; border-radius: 5px; overflow: hidden; }
.reel { position: relative; min-width: 0; overflow: hidden; background: #eee8f6; border-left: 1px solid #c3b9d2; border-right: 1px solid #fff; border-radius: 4px; }
.reel canvas { display: block; width: 100%; height: clamp(124px, 36vw, 152px); }
.reel::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(#191326aa, transparent 24%, #fff2 45%, transparent 70%, #1c152cb3); box-shadow: inset 0 0 6px #120b2777; }
.paylines { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; }
.payline { fill: none; stroke: #d74c91; stroke-width: 1; stroke-dasharray: 3 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .25; }
.payline.is-inactive { display: none; }
.payline.is-hit { stroke: #ffdf82; stroke-width: 2.5; stroke-dasharray: none; opacity: 1; filter: drop-shadow(0 0 3px #ffae47); animation: payline-glow 1.4s ease-in-out infinite alternate; }
@keyframes payline-glow { to { stroke: #fff5cf; filter: drop-shadow(0 0 5px #ffcc68); } }
.payline-arrow { position: absolute; top: calc(50% - 5px); z-index: 2; color: #ff79b2; font-size: 9px; line-height: 1; text-shadow: 0 0 4px #ff2980; }
.arrow-left { left: -5px; }.arrow-right { right: -5px; }
.reel.is-stopped { border-color: #b5d2ed; }.reel.is-winner { box-shadow: inset 0 0 0 2px #f2ad29; }
.meters { display: grid; grid-template-columns: 1fr 68px 1fr; align-items: center; gap: 8px; padding: 10px 7px 7px; }
.meters > div { display: flex; justify-content: space-between; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #6f496f; border-radius: 5px; background: #100b1e; box-shadow: inset 0 2px 5px #0008; }
.meters span { color: #aa8ca8; font: 600 7px/1.25 ui-monospace, monospace; letter-spacing: .05em; }
.meters b { color: #ffc6d9; font: 600 clamp(14px, 4vw, 18px)/1 ui-monospace, monospace; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px #fa3a7a66; }
.meters .bet-meter { justify-content: center; flex-wrap: wrap; gap: 3px 6px; border-color: transparent; background: transparent; box-shadow: none; padding: 0; }
.bet-meter b { color: #ffdf93; font-size: 17px; }.bet-meter i { width: 100%; color: #f4b46f; font: 8px/1 ui-monospace, monospace; text-align: center; letter-spacing: 2px; }
.control-deck { display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 8px; align-items: start; padding: 2px 0 8px; }
.lever-control, .stop-touch { position: relative; }
.lever { display: block; width: 100%; padding: 0; border: 0; color: #c4bbd7; background: transparent; font-size: 7px; line-height: 1; }
.stop-touch { width: 52px; height: 47px; margin: 4px auto 7px; }
.stop-touch .stop-button { margin: 0; }
.haptic-tap { position: absolute; inset: 0; z-index: 1; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.stop-touch .haptic-tap { border-radius: 50%; }
.haptic-switch { position: fixed; left: -100px; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.lever-well { position: relative; display: block; height: 52px; width: 52px; margin: 0 auto 5px; border: 1px solid #84728f; border-radius: 50%; background: radial-gradient(ellipse, #080611 30%, #4a365c 37%, #170f25 57%, #9383a1 61%, #2d1e39 67%); box-shadow: 0 3px 6px #0008; }
.lever-well::before { position: absolute; left: 23px; bottom: 16px; width: 8px; height: 25px; content: ""; transform: rotate(-21deg); border-radius: 3px; background: linear-gradient(90deg, #84798e, #f5e8ff, #50475f); }
.lever-well i { position: absolute; top: 0; left: 7px; width: 32px; height: 28px; border: 1px solid #f1abd4; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ffe8fb, #f65da8 17%, #bd326f 50%, #5a1745 80%); box-shadow: 0 2px 4px #07030f; transition: transform .12s; }
.lever:not(:disabled):active .lever-well i, .lever.is-haptic-pressed:not(:disabled) .lever-well i { transform: translateY(11px) translateX(4px); }.lever:disabled { opacity: .54; }
.lever b { display: block; font: 600 7px/1 ui-monospace, monospace; letter-spacing: .06em; }
.stop-control { text-align: center; font-size: 7px; line-height: 1; }
.stop-button { position: relative; display: block; width: 52px; height: 47px; margin: 4px auto 7px; border: 2px solid #af8bba; border-radius: 50%; color: #ecddf2; background: radial-gradient(ellipse at 50% 20%, #8f538d, #613962 60%, #331a3d); box-shadow: 0 4px 0 #130b21, 0 0 0 3px #302139, inset 0 2px 2px #ffffff59; font: 700 16px/1 Georgia, serif; transition: background .15s, box-shadow .15s, transform .1s; }
.stop-button:disabled { color: #8e6b93; border-color: #796182; background: radial-gradient(ellipse at 50% 20%, #573556, #331d3a 70%); }
.stop-button:not(:disabled) { border-color: #f9b0e4; color: #fff4ff; background: radial-gradient(ellipse at 50% 20%, #ffe2fa, #fd64bf 24%, #c12982 60%, #672050); box-shadow: 0 4px 0 #210c29, 0 0 0 3px #774170, 0 0 16px #ff4dab80, inset 0 2px 2px #fff9; }
.stop-button:not(:disabled):active, .stop-button.is-haptic-pressed:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #180920, 0 0 0 3px #774170; }
.stop-control small { display: block; color: #aa90b5; font: 600 7px/1 ui-monospace, monospace; letter-spacing: .09em; }
.result-window { display: flex; align-items: center; min-height: 34px; gap: 9px; padding: 7px 9px; margin: 0 0 8px; border: 1px solid #a2729c55; border-radius: 6px; background: #110c21b3; }
.result-window > span { flex: 0 0 auto; color: #a5dedc; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.result-window p { margin: 0; color: #ddc8e1; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.result-copy { min-width: 0; }
.result-window .line-breakdown { margin-top: 3px; color: #e8c887; font-size: 9px; }
.record-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 9px 3px; border: 1px solid #caa66a52; border-radius: 6px; background: linear-gradient(110deg, #292031, #191221); box-shadow: inset 0 1px #f4deb812; font-size: 10px; line-height: 1.3; }
.record-board > div { min-width: 0; text-align: center; padding: 0 3px; border-right: 1px solid #d1a6c321; }
.record-board > div:last-child { border: 0; }.record-board span { display: block; color: #ad93aa; font-size: 8px; margin-bottom: 5px; }
.record-board b { color: #f1ddbc; font: 600 clamp(13px, 4.4vw, 18px)/1 ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.04em; overflow-wrap: anywhere; }
.record-board small { margin-left: 2px; color: #a78b9b; font-size: 7px; }
.cabinet-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 2px 12px; }
.cabinet-bottom span { color: #a786b6; font-size: 8px; }.cabinet-bottom b { color: #d2b6db; font: italic 700 11px/1 Georgia, serif; letter-spacing: .03em; }
.slot-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px; margin-top: 8px; }
.slot-footer button { min-height: 36px; padding: 6px 9px; border: 1px solid #78548673; border-radius: 9px; color: #d6bfdf; background: #24162e; font-size: 10px; }
.slot-footer button:disabled { opacity: .4; }.slot-footer > span { grid-column: 1 / -1; color: #8a719d; font-size: 8px; text-align: center; }
.storage-alert { padding: 8px; color: #ffd0d8; font-size: 11px; line-height: 1.7; border: 1px solid #b96c85; border-radius: 6px; }
.is-winning .lcd-housing { border-color: #ffe7a6; box-shadow: 0 0 0 2px #331b18, 0 0 15px #efc57866; }
.is-winning .result-window { border-color: #d5ae5d; }.is-winning #resultTag { color: #ffe4a3; }
.is-seven .marquee h1 { color: #fff3ab; text-shadow: 0 0 15px #ffa35b; }
.is-seven .cabinet-rail { background: repeating-linear-gradient(0deg, #fff8bf 0 3px, #f5bf5c 4px 13px, #fa8fd8 14px 19px); box-shadow: 0 0 12px #ffbf6c; }
dialog { width: min(calc(100% - 30px), 400px); max-height: calc(100dvh - 40px); padding: 22px; border: 1px solid #ac7aab; border-radius: 20px; background: linear-gradient(140deg, #382345, #160f25); color: #e6d5ec; box-shadow: 0 15px 70px #0009; font-size: 12px; line-height: 1.8; }
dialog::backdrop { background: #090512ce; backdrop-filter: blur(5px); }.help-header { display: flex; justify-content: space-between; align-items: center; }
.help-header small { color: #c79bc9; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; }.help-header h2 { margin: 5px 0 10px; color: #f3dbe8; font-size: 19px; }
.help-header button { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid #9f76b06b; border-radius: 50%; background: #170f27; color: #dcc4e8; }
.help-header button svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#closeHelp:focus, #closeHelp:focus-visible { outline: none; }
dialog ol { padding-left: 22px; }dialog table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 11px; }dialog th, dialog td { padding: 5px 8px; border-bottom: 1px solid #a47ca12e; text-align: left; }dialog td:last-child { color: #f6d391; text-align: right; }.help-note { color: #a990b6; font-size: 10px; }
@media (max-width: 359px) { .slot-shell { padding-left: 8px; padding-right: 8px; }.cabinet { padding-left: 13px; padding-right: 13px; }.marquee { gap: 8px; }.control-deck { gap: 4px; }.meters { padding-left: 2px; padding-right: 2px; gap: 5px; grid-template-columns: 1fr 51px 1fr; }.meters > div { padding: 5px; }.cabinet-nameplate b { font-size: 7px; }.slot-footer button { font-size: 9px; padding: 5px 7px; } }
@media (max-height: 800px) { .lcd-screen { aspect-ratio: 2.3; } #lcd { object-fit: cover; }.reel canvas { height: clamp(118px, 33vw, 140px); }.marquee h1 { font-size: clamp(23px, 6.6vw, 28px); }.cabinet-bottom { padding-top: 7px; padding-bottom: 9px; } }
@media (min-width: 620px) { .slot-shell { padding-top: 18px; }.cabinet { padding-left: 20px; padding-right: 20px; }.marquee { padding-top: 17px; padding-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; }.payline.is-hit { animation: none; } }
