/* YYGACOR / The Spin Room — local, buildless, mobile-first UI. */
@font-face {
  font-family:Open Sans;
  src:url('../fonts/open-sans-regular.woff') format('woff');
  font-style:normal;
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:Open Sans;
  src:url('../fonts/open-sans-semibold.woff') format('woff');
  font-style:normal;
  font-weight:600;
  font-display:swap
}

@font-face {
  font-family:Open Sans;
  src:url('../fonts/open-sans-bold.woff') format('woff');
  font-style:normal;
  font-weight:700;
  font-display:swap
}

@font-face {
  font-family:Spin Display;
  src:url('../fonts/open-sans-condensed-bold.woff') format('woff');
  font-style:normal;
  font-weight:700;
  font-display:swap
}

:root {
  color-scheme:dark;
  --bg:#101112;
  --surface:#191a1c;
  --gold:#edc778;
  --gold-light:#ffe4a1;
  --gold-dark:#856032;
  --text:#f5f1e8;
  --muted:#aaa8a2;
  --line:rgba(240,217,171,.13);
  --red:#bd3236;
  --font:'Open Sans',Arial,sans-serif;
  --display:'Spin Display','Arial Narrow',Impact,sans-serif;
  --cell-height:92px
}

*,*::before,*::after {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:26px;
  -webkit-text-size-adjust:100%
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:16px;
  line-height:1.65;
  min-width:280px;
  overflow-wrap:break-word
}

body::before {
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:900px;
  pointer-events:none;
  background:radial-gradient(ellipse at 88% 30%,rgba(119,77,27,.12),transparent 47%),radial-gradient(ellipse at 8% 2%,rgba(90,23,27,.1),transparent 40%);
  z-index:-1
}

body.dialog-open,body.modal-open {
  overflow:hidden
}

button,a {
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation
}

button,input {
  font:inherit
}

button {
  cursor:pointer
}

button:disabled {
  cursor:wait
}

button,a,summary {
  outline-offset:5px
}

:focus-visible {
  outline:2px solid var(--gold-light)
}

button {
  color:inherit
}

a {
  color:inherit;
  text-decoration:none
}

svg,img {
  display:block;
  max-width:100%
}

button svg,svg.icon {
  flex-shrink:0
}

.icon {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round
}

.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

h1,h2,h3,p {
  margin:0
}

button {
  border:0
}

[hidden] {
  display:none!important
}

.shell {
  width:min(1240px,calc(100% - 96px));
  margin-inline:auto
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  z-index:1000;
  top:12px;
  left:12px;
  transform:translateY(-160%);
  padding:12px 18px;
  background:var(--gold);
  color:#17130b;
  border-radius:6px;
  font-weight:700
}

.skip-link:focus {
  transform:translateY(0)
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:50px;
  padding:12px 24px;
  font-size:14px;
  font-weight:700;
  border-radius:6px;
  line-height:1.45;
  transition:background .18s,box-shadow .18s,transform .18s
}

.button-gold {
  background:linear-gradient(110deg,#f3d793,#deb366);
  color:#241b0b;
  border:1px solid #f4d99f;
  box-shadow:0 3px 0 #795a30
}

.button-gold:hover {
  background:#ffe1a1;
  box-shadow:0 3px 0 #795a30,0 6px 24px #d6a64a20;
  transform:translateY(-1px)
}

.button-gold:active {
  transform:translateY(2px);
  box-shadow:0 1px 0 #795a30
}

.button-outline {
  border:1px solid #6c5d43;
  background:#171718;
  color:#edcf91
}

.button-outline:hover {
  border-color:var(--gold);
  background:#242019
}

.button-text {
  background:none;
  color:#c8c5bc;
  padding-inline:14px;
  font-weight:600
}

.button-text:hover {
  color:var(--gold-light)
}

.inline-link {
  display:inline-flex;
  gap:9px;
  align-items:center;
  min-height:44px;
  background:transparent;
  color:var(--gold);
  font-size:14px;
  font-weight:600;
  text-decoration:underline;
  text-decoration-color:#77603d;
  text-underline-offset:7px
}

.inline-link:hover {
  text-decoration-color:var(--gold-light);
  color:var(--gold-light)
}

.inline-link .icon {
  width:17px;
  height:17px
}

.site-header {
  border-bottom:1px solid var(--line);
  background:#101112e8
}

.header-inner {
  min-height:92px;
  display:flex;
  align-items:center;
  gap:40px
}

.brand-link {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  flex-shrink:0
}

.brand-logo {
  width:190px;
  height:auto
}

.desktop-nav {
  display:flex;
  align-items:center;
  gap:34px;
  margin-left:auto;
  margin-right:auto;
  height:92px
}

.desktop-nav a {
  height:100%;
  display:flex;
  align-items:center;
  color:#aaa8a4;
  font-size:14px;
  position:relative;
  font-weight:600
}

.desktop-nav a:hover,.desktop-nav .nav-active {
  color:var(--gold-light)
}

.desktop-nav .nav-active::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:2px;
  background:var(--gold)
}

.header-actions {
  display:flex;
  align-items:center;
  gap:22px
}

.age-label {
  border:1px solid #5c5a55;
  border-radius:50%;
  width:33px;
  height:33px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#b8b5ae;
  font-size:12px;
  line-height:1;
  flex-shrink:0
}

.header-cta {
  min-height:44px;
  padding:10px 20px
}

.hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:60px;
  align-items:center;
  padding-block:62px 36px;
  position:relative
}

.hero-copy {
  min-width:0;
  padding-bottom:45px;
  position:relative;
  z-index:1
}

.eyebrow {
  font-size:12px;
  font-weight:600;
  letter-spacing:2.1px;
  color:var(--gold);
  line-height:1.65;
  display:flex;
  gap:12px;
  align-items:center
}

.eyebrow-line {
  height:1px;
  width:27px;
  background:var(--gold-dark)
}

.eyebrow-brand {
  color:#898882;
  font-size:11px;
  letter-spacing:1.5px
}

h1 {
  font-family:var(--display);
  font-weight:700;
  font-size:clamp(76px,7.1vw,104px);
  letter-spacing:-1.1px;
  line-height:.99;
  margin-top:26px;
  color:#f6f0e4
}

h1 span {
  color:var(--gold)
}

.hero-description {
  max-width:410px;
  font-size:16px;
  line-height:1.8;
  color:#b6b3ad;
  margin-top:26px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:30px
}

.demo-note {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px;
  color:#9b9991;
  margin-top:21px
}

.demo-note .icon {
  width:16px;
  height:16px;
  color:#bdbaad
}

.demo-note>span {
  color:#645d51
}

.signature {
  display:flex;
  align-items:center;
  gap:24px;
  margin-top:59px;
  padding-top:25px;
  border-top:1px solid var(--line);
  max-width:440px;
  position:relative
}

.signature-symbol {
  width:110px;
  transform:rotate(-8deg);
  filter:drop-shadow(0 7px 14px #0008);
  flex-shrink:0
}

.signature-copy {
  padding-left:20px;
  border-left:1px solid #423a2e
}

.micro-label {
  font-size:11px;
  font-weight:600;
  letter-spacing:1.8px;
  color:#b7aa92;
  display:block;
  line-height:1.5
}

.signature-copy .micro-label {
  font-size:10px;
  letter-spacing:1.8px;
  color:var(--gold)
}

.signature-copy p {
  font-size:13px;
  line-height:1.8;
  color:#b6b2a8;
  margin-top:7px
}

.signature-copy strong {
  font-weight:600;
  color:#e0d9cb
}

.signature-spark {
  position:absolute;
  right:0;
  top:34px;
  color:#6d5738;
  width:18px;
  height:18px
}

.game-stage {
  position:relative;
  min-width:0;
  padding:14px 0 0;
  isolation:isolate;
  scroll-margin-top:20px
}

.game-stage:focus {
  outline:none
}

.stage-halo {
  position:absolute;
  z-index:-2;
  inset:-35px -38px 70px;
  border:1px solid #8c68351a;
  border-radius:280px 280px 24px 24px;
  background:radial-gradient(ellipse at 50% 40%,#94702b0d,transparent 65%);
  pointer-events:none
}

.stage-halo::before {
  content:'';
  position:absolute;
  inset:16px;
  border:1px solid #8c683514;
  border-radius:inherit
}

.stage-wordmark {
  display:none;
  position:absolute;
  inset:auto -10% 30%;
  text-align:center;
  color:#b9872f05;
  font-size:140px;
  font-family:var(--display);
  line-height:1;
  letter-spacing:4px;
  white-space:nowrap;
  z-index:-1;
  pointer-events:none
}

.slot-machine {
  position:relative;
  background:linear-gradient(135deg,#2b2722,#181719 44%,#22201c);
  border:1px solid #ad8750;
  border-radius:18px;
  padding:22px 25px 16px;
  box-shadow:inset 0 0 0 4px #181718,inset 0 0 0 5px #5d4930,0 12px 0 -5px #0a0a0b,0 14px 0 -5px #5b472c,0 25px 65px #0009;
  overflow:hidden
}

.slot-machine::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:170px;
  background:linear-gradient(180deg,#1c1716bb,#211e1aff),url('../images/bg.jpg') center 28%/cover;
  pointer-events:none;
  opacity:.65
}

.slot-machine>* {
  position:relative
}

.machine-screw {
  width:7px;
  height:7px;
  position:absolute;
  top:12px;
  background:linear-gradient(135deg,#d5b079,#5e4e37);
  border-radius:50%;
  box-shadow:0 1px 2px #0008
}

.machine-screw::after {
  content:'';
  position:absolute;
  width:4px;
  height:1px;
  background:#453825;
  transform:rotate(-40deg);
  top:3px;
  left:1.5px
}

.screw-tl {
  left:12px
}

.screw-tr {
  right:12px
}

.machine-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:65px;
  margin-bottom:13px
}

.machine-identity {
  display:flex;
  align-items:center;
  gap:15px
}

.machine-logo {
  width:123px;
  height:78px;
  filter:drop-shadow(0 3px 4px #0009)
}

.machine-edition {
  color:#ddcba9;
  font-size:9px;
  line-height:1.6;
  letter-spacing:2px;
  border-left:1px solid #826b4559;
  padding-left:15px
}

.demo-badge {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.5px;
  line-height:1.5;
  color:#d9bd84;
  border:1px solid #8b734960;
  padding:7px 9px;
  border-radius:4px;
  white-space:nowrap;
  background:#16151277
}

.scoreboard {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(110deg,#0d0f10,#111212);
  border:1px solid #56452e;
  border-radius:7px;
  box-shadow:inset 0 3px 8px #0004;
  padding:10px 20px;
  margin-bottom:18px
}

.score-main {
  min-width:0
}

.score-value {
  display:flex;
  gap:10px;
  align-items:baseline;
  color:#ffe1a0;
  font-size:32px;
  line-height:1.3;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  letter-spacing:.5px
}

.score-unit {
  font-size:10px;
  letter-spacing:1px;
  color:#a5977c;
  font-weight:400
}

.score-round {
  border-left:1px solid #68553750;
  padding-left:24px;
  text-align:right;
  flex-shrink:0
}

.score-round .micro-label {
  font-size:10px;
  letter-spacing:1.4px
}

.remaining-value {
  color:#e4d8bb;
  font-size:29px;
  line-height:1.4;
  font-weight:600;
  font-variant-numeric:tabular-nums
}

.remaining-total {
  font-size:15px;
  color:#81745f;
  font-weight:400;
  padding-left:4px
}

.reels-cabinet {
  padding:11px 5px;
  background:linear-gradient(100deg,#c5a069,#6f4b21 25%,#b58c4c 50%,#553d22 77%,#b69152);
  border:1px solid #edc98787;
  border-radius:10px;
  box-shadow:0 4px 12px #0008,inset 0 1px #ffe4ac55;
  position:relative
}

.cabinet-lights {
  position:absolute;
  left:14px;
  right:14px;
  height:4px;
  background:radial-gradient(circle at center,#f9e8b5 1px,#c1935155 2px,transparent 3px) 0 50%/20px 4px repeat-x;
  opacity:.85
}

.lights-top {
  top:3px
}

.lights-bottom {
  bottom:3px
}

.reels {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  padding:0 4px;
  position:relative;
  background:#110e10;
  border:1px solid #312218;
  border-radius:5px;
  overflow:hidden;
  isolation:isolate
}

.reel-window {
  height:calc(var(--cell-height)*3);
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#1e1518,#2b1d22 50%,#201618);
  border-inline:1px solid #b1956940;
  min-width:0
}

.reel-strip {
  display:flex;
  flex-direction:column;
  will-change:auto
}

.is-spinning .reel-strip {
  will-change:transform
}

.reel-cell {
  height:var(--cell-height);
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:2px 5px
}

.reel-cell svg {
  width:100%;
  height:100%;
  max-width:134px;
  max-height:97%;
  filter:drop-shadow(0 3px 3px #0007)
}

.reel-cell .symbol--ruby,.reel-cell .symbol--emerald,.reel-cell .symbol--sapphire {
  width:77%;
  height:83%
}

.reel-window.is-spinning .reel-cell,.reel-strip.is-spinning .reel-cell,.reel-strip.is-moving .reel-cell {
  filter:blur(1px)
}

.payline {
  position:absolute;
  z-index:2;
  top:calc(100%/3);
  left:0;
  right:0;
  height:calc(100%/3);
  border-block:1px solid #f5ca7170;
  background:#e1b55807;
  pointer-events:none;
  box-shadow:0 0 25px #e5b7590b
}

.payline i {
  position:absolute;
  top:50%;
  width:8px;
  height:8px;
  background:#ffe7af;
  border:1px solid #fff1cf;
  transform:translateY(-50%) rotate(45deg);
  box-shadow:0 0 10px #fddc9566
}

.payline i:first-child {
  left:-4px
}

.payline i:last-child {
  right:-4px
}

.reel-shading {
  position:absolute;
  inset:0;
  background:linear-gradient(#100c0fa6,transparent 28%,transparent 72%,#100c0fba);
  pointer-events:none;
  z-index:3;
  box-shadow:inset 0 8px 16px #0006,inset 0 -8px 16px #0006
}

.machine-status {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:left;
  min-height:72px;
  padding-block:12px
}

.status-icon {
  color:var(--gold);
  width:19px;
  height:19px
}

#game-status {
  font-size:13px;
  font-weight:600;
  color:#e4d8c2;
  line-height:1.6
}

#status-caption {
  font-size:11px;
  color:#aaa092;
  line-height:1.6
}

.machine-controls {
  display:flex;
  align-items:center;
  gap:10px
}

.icon-button {
  width:48px;
  height:52px;
  min-width:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#151517;
  border:1px solid #62523c;
  border-radius:6px;
  color:#c1b49d;
  transition:background .18s,border-color .18s
}

.icon-button:hover {
  background:#30291e;
  border-color:var(--gold);
  color:var(--gold-light)
}

.icon-button .icon {
  width:20px;
  height:20px
}

.sound-on {
  display:none
}

#sound-toggle[aria-pressed=true] .sound-off {
  display:none
}

#sound-toggle[aria-pressed=true] .sound-on {
  display:block
}

#sound-toggle[aria-pressed=true] {
  color:var(--gold-light);
  border-color:#b99a63
}

.spin-button {
  min-height:56px;
  min-width:0;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 12px;
  font-size:15px;
  font-weight:700;
  letter-spacing:1.3px;
  background:linear-gradient(#f7df9b,#dcb16b);
  color:#261a0a;
  border:1px solid #f5d997;
  border-bottom-color:#ac7738;
  border-radius:7px;
  box-shadow:0 4px 0 #89602d,0 5px 8px #0004,inset 0 1px #fff0c6;
  transition:filter .18s,transform .18s,box-shadow .18s
}

.spin-button:hover:not(:disabled) {
  filter:brightness(1.08);
  transform:translateY(-1px)
}

.spin-button:active:not(:disabled) {
  transform:translateY(3px);
  box-shadow:0 1px 0 #89602d
}

.spin-button:disabled {
  background:linear-gradient(#a9946d,#8a714c);
  border-color:#a58b59;
  color:#291f11;
  box-shadow:0 2px 0 #5d4529;
  cursor:default
}

.spin-button .icon {
  width:23px;
  height:23px;
  stroke-width:1.9
}

.is-spinning .spin-button .icon {
  animation:spin-icon 1.4s linear infinite
}

.machine-bottom {
  min-height:35px;
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:7px;
  font-size:10px;
  color:#9a8e7b
}

.session-dots {
  display:flex;
  gap:5px;
  max-width:45%;
  flex-wrap:wrap
}

.session-dot {
  width:14px;
  height:3px;
  display:block;
  background:#685331;
  border-radius:1px
}

.session-dot.is-used {
  background:#e5c27c;
  box-shadow:0 0 3px #e5c27c22
}

.machine-fineprint {
  margin-left:auto;
  white-space:nowrap
}

.reset-button {
  font-size:12px;
  color:var(--gold);
  text-decoration:underline;
  text-underline-offset:3px;
  background:none;
  min-height:32px;
  padding:2px
}

.stage-caption {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:27px 20px 0;
  font-size:9px;
  letter-spacing:3px;
  color:#8a7d67
}

.caption-line {
  height:1px;
  background:#62503166;
  width:42px
}

.is-celebrating .payline {
  background:#e1b55820;
  box-shadow:0 0 24px #e6bf4866;
  border-color:#ffe4a5
}

.is-celebrating .slot-machine {
  border-color:#ffe3a3
}

.session-summary {
  display:flex;
  align-items:center;
  gap:32px;
  padding:22px 0;
  border-block:1px solid var(--line);
  margin-top:34px;
  min-height:89px
}

.summary-title {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  letter-spacing:1.7px;
  color:var(--gold);
  flex-shrink:0
}

.summary-title .icon {
  width:18px;
  height:18px
}

.summary-item {
  display:flex;
  flex-direction:column;
  gap:1px;
  border-left:1px solid var(--line);
  padding-left:30px;
  flex-shrink:0
}

.summary-item>span {
  color:#96948d;
  font-size:11px
}

.summary-item strong {
  font-weight:600;
  font-size:14px;
  color:#ded6c6;
  font-variant-numeric:tabular-nums
}

#result-description {
  margin-left:auto;
  max-width:300px;
  text-align:right;
  color:#96938b;
  font-size:12px;
  line-height:1.75
}

h2 {
  font-size:37px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-1.4px
}

.how-section {
  display:grid;
  grid-template-columns:.82fr 1.6fr;
  gap:80px;
  padding-block:78px 76px
}

.section-intro h2 {
  margin-top:13px
}

.section-intro .inline-link {
  margin-top:18px
}

.section-intro .eyebrow,.faq-intro .eyebrow {
  font-size:10px;
  letter-spacing:2px
}

.steps {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:30px
}

.steps li {
  flex:1;
  min-width:0;
  padding-top:4px
}

.step-symbol {
  width:42px;
  height:42px;
  border:1px solid #7e643a;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  border-radius:8px;
  background:#e1b16b08;
  margin-bottom:22px
}

.step-symbol .icon {
  width:22px;
  height:22px;
  stroke-width:1.5
}

.steps h3 {
  font-size:14px;
  font-weight:600;
  color:#e7dfcf;
  line-height:1.5;
  min-height:42px;
  margin-bottom:8px
}

.steps p {
  font-size:13px;
  color:#9e9b93;
  line-height:1.9
}

.faq-section {
  padding-block:56px 74px;
  display:grid;
  grid-template-columns:.82fr 1.6fr;
  gap:80px;
  border-top:1px solid var(--line)
}

.faq-intro h2 {
  font-size:30px;
  letter-spacing:-1px;
  margin-top:14px
}

.faq-intro>p:not(.eyebrow) {
  font-size:14px;
  line-height:1.8;
  color:#9e9b93;
  margin-top:18px
}

.faq-intro .inline-link {
  margin-top:19px
}

.faq-list details {
  border-bottom:1px solid var(--line)
}

.faq-list details:first-child {
  margin-top:-16px
}

.faq-list summary {
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 0;
  min-height:64px;
  font-size:14px;
  font-weight:600;
  color:#dbd5c9;
  cursor:pointer
}

.faq-list summary::-webkit-details-marker {
  display:none
}

.faq-list summary:hover {
  color:var(--gold-light)
}

.faq-list summary .icon {
  width:17px;
  height:17px;
  color:#af9870;
  transition:transform .2s
}

.faq-list details[open] summary .icon {
  transform:rotate(45deg)
}

.faq-answer {
  padding:0 36px 22px 0;
  font-size:14px;
  line-height:1.9;
  color:#a8a49c
}

.site-footer {
  border-top:1px solid var(--line);
  background:#0c0d0e
}

.footer-inner {
  min-height:100px;
  display:flex;
  align-items:center;
  gap:35px;
  font-size:11px;
  color:#928e85
}

.footer-brand img {
  width:126px;
  height:auto;
  opacity:.7
}

.footer-note {
  display:flex;
  gap:12px;
  align-items:center;
  margin-left:auto
}

.footer-note .age-label {
  width:28px;
  height:28px;
  font-size:10px
}

/* Native dialogs keep the keyboard focus within the open panel. */
.dialog {
  color:var(--text);
  background:linear-gradient(140deg,#25221c,#171719 55%);
  border:1px solid #ad8850;
  border-radius:14px;
  padding:36px;
  max-width:460px;
  width:calc(100% - 32px);
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  overflow:auto;
  box-shadow:0 20px 80px #000a;
  overscroll-behavior:contain
}

.dialog::backdrop {
  background:#08090bd9;
  backdrop-filter:blur(6px)
}

.dialog-close {
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  min-width:40px;
  border:0;
  background:#ffffff05
}

.dialog .eyebrow {
  font-size:10px;
  letter-spacing:2px;
  margin-bottom:17px;
  max-width:calc(100% - 30px)
}

.dialog h2 {
  font-size:30px;
  letter-spacing:-.7px;
  margin-bottom:13px;
  line-height:1.3
}

.dialog .button {
  width:100%;
  margin-top:12px;
  min-height:50px
}

.dialog-description {
  font-size:14px;
  line-height:1.85;
  color:#bab3a6;
  margin-bottom:22px
}

.result-dialog {
  text-align:center;
  padding-top:33px
}

.result-dialog .eyebrow {
  justify-content:center;
  margin-inline:auto
}

.result-emblem {
  width:66px;
  height:66px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ad885088;
  border-radius:50%;
  color:var(--gold);
  background:radial-gradient(#80652e44,#80652e00);
  margin:20px auto
}

.result-emblem .icon {
  width:35px;
  height:35px;
  stroke-width:1.3
}

.modal-symbols {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-block:18px
}

.modal-symbols .reel-cell,.modal-symbols .symbol-wrap {
  width:83px;
  height:75px;
  background:#0d0d0d66;
  border:1px solid #8f723e44;
  border-radius:7px;
  padding:5px
}

.modal-symbols>svg {
  width:80px;
  height:72px
}

.modal-score {
  font-size:42px;
  color:var(--gold-light);
  font-weight:600;
  letter-spacing:-1px;
  line-height:1.2;
  font-variant-numeric:tabular-nums
}

.modal-copy {
  font-size:14px;
  line-height:1.85;
  color:#c3b9a8;
  margin:14px 0 19px
}

.dialog-fineprint {
  font-size:11px;
  line-height:1.6;
  color:#9e9586;
  margin-top:23px
}

.symbol-values {
  margin:10px 0 24px
}

.symbol-values>div {
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
  padding:11px 0;
  font-size:14px
}

.symbol-values dt {
  color:#d8cdbb
}

.symbol-values dd {
  margin:0;
  font-weight:600;
  color:var(--gold)
}

.combo-note {
  display:flex;
  gap:12px;
  align-items:center;
  background:#d5a1470c;
  border:1px solid #8a6b3244;
  border-radius:6px;
  padding:14px;
  margin-bottom:20px;
  font-size:13px;
  color:#cfc2aa;
  line-height:1.8
}

.combo-note .icon {
  color:var(--gold)
}

.combo-note strong {
  font-weight:600;
  color:#f0d298
}

.history-list {
  margin:8px 0 22px
}

.empty-history,.history-empty {
  font-size:14px;
  color:#b5ab9b;
  text-align:center;
  padding:26px 10px;
  background:#ffffff03;
  border-radius:8px
}

.history-item,.history-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px 12px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:13px
}

.history-symbols {
  display:flex;
  gap:5px
}

.history-symbols .reel-cell {
  width:39px;
  height:36px;
  padding:1px
}

.history-symbols svg {
  width:36px;
  height:33px
}

.history-points {
  font-weight:600;
  color:var(--gold);
  align-self:center;
  font-variant-numeric:tabular-nums
}

.history-label,.history-meta {
  color:#b4aa98;
  font-size:12px
}

.history-combo {
  font-size:10px;
  color:var(--gold-light)
}

.noscript-note {
  margin-top:20px;
  padding:14px;
  font-size:14px;
  color:#f0d298;
  border:1px solid #8a6b32;
  border-radius:6px
}

.confetti-layer {
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:50
}

.confetti-piece,.confetti-particle {
  position:absolute;
  width:6px;
  height:12px;
  border-radius:1px;
  background:var(--gold);
  pointer-events:none
}

@keyframes spin-icon {
  to {
    transform:rotate(360deg)
  }
}

@keyframes confetti-fall {
  0% {
    transform:translate3d(0,-30px,0) rotate(0);
    opacity:1
  }
  100% {
    transform:translate3d(var(--drift,40px),105vh,0) rotate(600deg);
    opacity:0
  }
}

@media(min-width:1450px) {
  .hero {
    gap:95px;
    padding-top:78px
  }
  .hero-copy {
    padding-bottom:44px
  }
}

@media(max-width:1150px) {
  .shell {
    width:calc(100% - 64px)
  }
  .hero {
    gap:36px
  }
  .hero-copy {
    padding-bottom:20px
  }
  h1 {
    font-size:clamp(67px,8vw,88px)
  }
  .hero-actions {
    gap:3px
  }
  .hero-actions .button {
    padding-inline:17px
  }
  .signature {
    gap:14px;
    margin-top:43px
  }
  .signature-copy {
    padding-left:14px
  }
  .signature-symbol {
    width:87px
  }
  .signature-copy p {
    font-size:12px
  }
  .signature-spark {
    display:none
  }
  .slot-machine {
    padding-inline:20px
  }
  .machine-edition {
    display:none
  }
  .machine-logo {
    width:113px
  }
  .machine-topbar {
    height:57px
  }
  .scoreboard {
    padding:10px 15px
  }
  .micro-label {
    font-size:10px;
    letter-spacing:1.5px
  }
  .spin-button {
    font-size:13px;
    letter-spacing:.9px
  }
  .machine-controls {
    gap:8px
  }
  :root {
    --cell-height:80px
  }
  .stage-halo {
    inset:-25px -20px 70px
  }
  .how-section,.faq-section {
    gap:48px
  }
  .steps {
    gap:25px
  }
  .header-inner {
    gap:22px
  }
  .desktop-nav {
    gap:24px
  }
  .brand-logo {
    width:165px
  }
  .header-actions {
    gap:16px
  }
  .session-summary {
    gap:24px
  }
  .summary-item {
    padding-left:24px
  }
}

@media(max-width:900px) and (min-width:901px) {
  .desktop-nav {
    gap:18px
  }
  .desktop-nav a {
    font-size:13px
  }
  .header-actions .age-label {
    display:none
  }
  .header-cta {
    padding:10px 12px;
    font-size:12px
  }
  .hero {
    gap:24px
  }
  .hero-copy {
    padding-bottom:6px
  }
  h1 {
    font-size:63px
  }
  .hero-description {
    font-size:15px
  }
  .hero-actions {
    flex-wrap:wrap;
    gap:8px
  }
  .hero-actions .button-text {
    padding-left:0
  }
  .signature {
    margin-top:25px;
    padding-top:20px
  }
  .signature-copy .micro-label {
    font-size:9px
  }
  .eyebrow {
    font-size:10px;
    gap:8px;
    letter-spacing:1.5px
  }
  .eyebrow-brand {
    font-size:9px
  }
  .eyebrow-line {
    width:18px
  }
  .slot-machine {
    padding-inline:16px
  }
  .machine-logo {
    width:100px
  }
  .demo-badge {
    font-size:9px;
    letter-spacing:.8px;
    padding:6px
  }
  .scoreboard {
    padding:9px 12px
  }
  .score-value {
    font-size:27px
  }
  .score-round {
    padding-left:14px
  }
  .remaining-value {
    font-size:25px
  }
  .score-round .micro-label {
    font-size:8px;
    letter-spacing:1.1px
  }
  .micro-label {
    font-size:9px
  }
  .icon-button {
    width:42px;
    min-width:42px;
    height:48px
  }
  .spin-button {
    font-size:11px;
    letter-spacing:.6px;
    gap:6px;
    min-height:52px
  }
  .spin-button .icon {
    width:20px;
    height:20px
  }
  .machine-status {
    gap:7px;
    min-height:68px
  }
  .status-icon {
    display:none
  }
  #game-status {
    font-size:12px
  }
  #status-caption {
    font-size:10px
  }
  .stage-caption {
    font-size:8px;
    letter-spacing:2px;
    padding-inline:0
  }
  .caption-line {
    width:30px
  }
  :root {
    --cell-height:73px
  }
  .session-summary {
    gap:20px
  }
  .summary-item {
    padding-left:20px
  }
  #result-description {
    max-width:180px;
    font-size:11px
  }
  .how-section,.faq-section {
    gap:32px;
    grid-template-columns:.7fr 1.6fr
  }
  h2 {
    font-size:32px
  }
  .steps {
    gap:18px
  }
  .steps h3 {
    font-size:13px
  }
  .steps p {
    font-size:12px
  }
}

@media(max-width:900px) {
  :root {
    --cell-height:80px
  }
  .shell {
    width:calc(100% - 40px);
    max-width:520px
  }
  .header-inner {
    min-height:72px;
    gap:15px;
    max-width:none;
    width:calc(100% - 40px)
  }
  .brand-logo {
    width:152px
  }
  .desktop-nav {
    display:none
  }
  .header-actions {
    margin-left:auto;
    gap:14px
  }
  .header-cta {
    font-size:12px;
    min-height:42px;
    padding:9px 14px
  }
  .header-actions .age-label {
    width:28px;
    height:28px;
    font-size:10px
  }
  .hero {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding-block:28px 24px
  }
  .hero-copy {
    width:100%;
    text-align:center;
    padding-bottom:0
  }
  .hero-copy>.eyebrow {
    justify-content:center;
    font-size:10px;
    letter-spacing:1.8px;
    gap:9px
  }
  .eyebrow-brand {
    font-size:9px
  }
  .eyebrow-line {
    width:22px
  }
  h1 {
    font-size:clamp(50px,10.4vw,72px);
    line-height:.98;
    letter-spacing:-.3px;
    margin-top:14px
  }
  h1 br {
    display:none
  }
  h1 span::before {
    content:'';
    display:block
  }
  .hero-description {
    font-size:13px;
    line-height:1.8;
    max-width:350px;
    margin:14px auto 0
  }
  .hero-actions {
    display:none
  }
  .signature {
    display:none
  }
  .demo-note {
    justify-content:center;
    font-size:10px;
    gap:9px;
    margin-top:12px
  }
  .demo-note .icon {
    width:13px;
    height:13px
  }
  .game-stage {
    padding-top:0;
    width:100%;
    max-width:440px;
    scroll-margin-top:15px
  }
  .stage-halo {
    inset:-17px -9px 70px;
    border-radius:190px 190px 24px 24px;
    opacity:.6
  }
  .stage-wordmark {
    display:none
  }
  .slot-machine {
    padding:16px 20px 12px;
    border-radius:15px
  }
  .machine-topbar {
    height:50px;
    margin-bottom:11px
  }
  .machine-logo {
    width:108px;
    height:65px
  }
  .machine-edition {
    display:block;
    font-size:8px;
    padding-left:12px;
    letter-spacing:1.7px
  }
  .machine-identity {
    gap:12px
  }
  .demo-badge {
    font-size:9px;
    letter-spacing:1.2px;
    padding:6px 8px
  }
  .scoreboard {
    margin-bottom:14px;
    padding:9px 16px
  }
  .score-value {
    font-size:28px
  }
  .micro-label {
    font-size:9px;
    letter-spacing:1.6px
  }
  .score-round .micro-label {
    font-size:9px;
    letter-spacing:1.3px
  }
  .score-round {
    padding-left:25px
  }
  .remaining-value {
    font-size:26px
  }
  .remaining-total {
    font-size:14px
  }
  .score-unit {
    font-size:9px
  }
  .machine-status {
    min-height:64px;
    padding-block:11px;
    gap:9px
  }
  #game-status {
    font-size:12px
  }
  #status-caption {
    font-size:10px
  }
  .status-icon {
    width:17px;
    height:17px
  }
  .machine-controls {
    gap:9px
  }
  .icon-button {
    width:46px;
    min-width:46px;
    height:50px
  }
  .spin-button {
    min-height:53px;
    font-size:13px;
    letter-spacing:1px
  }
  .spin-button .icon {
    width:22px;
    height:22px
  }
  .machine-bottom {
    min-height:32px;
    font-size:9px;
    padding-top:8px
  }
  .session-dot {
    width:12px
  }
  .stage-caption {
    padding-top:23px;
    font-size:8px;
    letter-spacing:2.5px;
    gap:12px
  }
  .session-summary {
    margin-top:12px;
    gap:16px;
    flex-wrap:wrap;
    padding-block:18px
  }
  .summary-title {
    font-size:9px;
    letter-spacing:1.4px;
    gap:7px
  }
  .summary-title .icon {
    width:15px;
    height:15px
  }
  .summary-item {
    padding-left:16px
  }
  .summary-item>span {
    font-size:10px
  }
  .summary-item strong {
    font-size:12px
  }
  #result-description {
    margin:0;
    max-width:none;
    width:100%;
    text-align:left;
    font-size:11px;
    padding-top:8px;
    border-top:1px solid var(--line)
  }
  .how-section {
    display:block;
    padding-block:43px 39px
  }
  .section-intro h2 br {
    display:none
  }
  h2 {
    font-size:30px;
    letter-spacing:-1px
  }
  .section-intro .eyebrow,.faq-intro .eyebrow {
    font-size:9px
  }
  .section-intro h2 {
    margin-top:10px
  }
  .section-intro .inline-link {
    margin-top:8px;
    font-size:12px
  }
  .steps {
    display:flex;
    flex-direction:column;
    gap:25px;
    margin-top:27px
  }
  .steps li {
    display:flex;
    gap:17px;
    padding:0
  }
  .step-symbol {
    flex-shrink:0;
    width:42px;
    height:42px;
    margin:2px 0 0
  }
  .steps h3 {
    min-height:0;
    font-size:14px;
    margin-bottom:5px
  }
  .steps p {
    font-size:13px;
    line-height:1.8;
    max-width:340px
  }
  .faq-section {
    display:block;
    padding-block:37px 40px
  }
  .faq-intro h2 {
    font-size:29px;
    margin-top:10px
  }
  .faq-intro>p:not(.eyebrow) {
    font-size:13px;
    margin-top:12px
  }
  .faq-intro>p br {
    display:none
  }
  .faq-intro .inline-link {
    font-size:12px;
    margin-top:10px
  }
  .faq-list {
    margin-top:24px
  }
  .faq-list details:first-child {
    margin-top:0
  }
  .faq-list summary {
    font-size:13px;
    padding-block:18px;
    gap:16px;
    min-height:62px
  }
  .faq-answer {
    font-size:13px;
    padding-right:14px
  }
  .footer-inner {
    padding-block:25px;
    min-height:0;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px 20px;
    text-align:center
  }
  .footer-brand img {
    width:111px
  }
  .footer-inner>p {
    font-size:10px
  }
  .footer-note {
    width:100%;
    justify-content:center;
    margin-left:0;
    font-size:10px
  }
  .dialog {
    padding:32px 24px;
    max-width:420px;
    max-height:calc(100dvh - 28px)
  }
  .dialog h2 {
    font-size:27px
  }
  .dialog-description {
    font-size:13px
  }
  .symbol-values>div {
    font-size:13px
  }
  .dialog-close {
    width:40px;
    min-width:40px;
    height:40px
  }
  .modal-score {
    font-size:38px
  }
  .modal-copy {
    font-size:13px
  }
}

@media(max-width:430px) {
  :root {
    --cell-height:65px
  }
  .header-inner {
    width:calc(100% - 32px);
    min-height:65px
  }
  .brand-logo {
    width:136px
  }
  .header-actions {
    gap:10px
  }
  .header-actions .age-label {
    display:none
  }
  .header-cta {
    font-size:11px;
    padding:9px 13px;
    min-height:40px
  }
  .shell {
    width:calc(100% - 32px)
  }
  .hero {
    padding-top:23px;
    gap:17px
  }
  h1 {
    font-size:52px
  }
  .hero-description {
    font-size:12px;
    max-width:300px;
    margin-top:11px
  }
  .demo-note {
    margin-top:10px
  }
  .slot-machine {
    padding:14px 16px 10px
  }
  .machine-topbar {
    height:43px;
    margin-bottom:10px
  }
  .machine-logo {
    width:95px;
    height:58px
  }
  .machine-edition {
    font-size:7px;
    letter-spacing:1.4px;
    padding-left:10px
  }
  .machine-identity {
    gap:10px
  }
  .demo-badge {
    font-size:8px;
    letter-spacing:1px;
    padding:6px 7px
  }
  .scoreboard {
    padding:8px 14px;
    margin-bottom:12px
  }
  .score-value {
    font-size:27px
  }
  .remaining-value {
    font-size:24px
  }
  .micro-label {
    font-size:8px;
    letter-spacing:1.4px
  }
  .score-round .micro-label {
    font-size:8px;
    letter-spacing:1.2px
  }
  .score-unit {
    font-size:8px
  }
  .reels-cabinet {
    padding:9px 4px;
    border-radius:8px
  }
  .cabinet-lights {
    background-size:17px 4px
  }
  .lights-top {
    top:2px
  }
  .lights-bottom {
    bottom:2px
  }
  .reels {
    padding:0 3px;
    gap:3px
  }
  .reel-cell {
    padding:2px 3px
  }
  .machine-status {
    min-height:58px;
    padding-block:10px;
    gap:8px
  }
  #game-status {
    font-size:11px
  }
  #status-caption {
    font-size:9px
  }
  .status-icon {
    width:15px;
    height:15px
  }
  .machine-controls {
    gap:8px
  }
  .icon-button {
    width:43px;
    min-width:43px;
    height:47px
  }
  .icon-button .icon {
    width:18px;
    height:18px
  }
  .spin-button {
    font-size:12px;
    letter-spacing:.8px;
    min-height:51px;
    gap:8px;
    padding-inline:8px
  }
  .spin-button .icon {
    width:21px;
    height:21px
  }
  .machine-bottom {
    min-height:30px;
    font-size:8px
  }
  .stage-caption {
    font-size:7px;
    letter-spacing:2.2px;
    padding-top:22px
  }
  .session-summary {
    gap:13px
  }
  .summary-item {
    padding-left:13px
  }
  .summary-title {
    font-size:8px;
    letter-spacing:1.1px
  }
  .summary-title .icon {
    width:14px;
    height:14px
  }
}

@media(max-width:350px) {
  :root {
    --cell-height:57px
  }
  .shell {
    width:calc(100% - 24px)
  }
  .hero {
    padding-top:20px
  }
  h1 {
    font-size:47px
  }
  .hero-description {
    font-size:12px;
    max-width:270px
  }
  .hero-copy>.eyebrow {
    font-size:9px;
    letter-spacing:1.4px
  }
  .eyebrow-brand {
    font-size:8px
  }
  .slot-machine {
    padding-inline:13px
  }
  .machine-edition {
    display:none
  }
  .score-round {
    padding-left:16px
  }
  .score-value {
    font-size:25px
  }
  .scoreboard {
    padding:8px 12px
  }
  .spin-button {
    font-size:11px;
    letter-spacing:.6px;
    gap:6px
  }
  .icon-button {
    width:42px;
    min-width:42px
  }
  .machine-status {
    gap:6px
  }
  #game-status {
    font-size:10px
  }
  #status-caption {
    font-size:8.5px
  }
  .session-summary {
    gap:11px
  }
  .summary-item {
    padding-left:11px
  }
  .summary-title {
    font-size:8px;
    gap:6px
  }
  .summary-item strong {
    font-size:11px
  }
  .summary-item>span {
    font-size:9px
  }
  .footer-inner {
    gap:12px
  }
  .dialog {
    padding-inline:20px
  }
  .modal-symbols .reel-cell {
    width:70px;
    height:65px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
  .confetti-layer {
    display:none
  }
  .is-spinning .reel-cell {
    filter:none!important
  }
}

/* Readable type and generous targets at every viewport, including 320px. */
.hero-description,.steps p,.faq-answer,.faq-intro>p:not(.eyebrow),.dialog-description,.modal-copy {
  font-size:1rem
}

.steps h3,.faq-list summary {
  font-size:1rem
}

.steps h3 {
  min-height:0
}

.steps p {
  line-height:1.8
}

.desktop-nav a,.button,.inline-link,.header-cta {
  font-size:.875rem
}

.hero-copy>.eyebrow,.eyebrow,.eyebrow-brand,.micro-label,.signature-copy .micro-label,.score-round .micro-label,.demo-badge,.section-intro .eyebrow,.faq-intro .eyebrow {
  font-size:.75rem
}

.demo-note,.signature-copy p,.summary-item>span,.summary-title,#result-description,.machine-fineprint,.dialog-fineprint,.footer-inner>p,.footer-note {
  font-size:.75rem
}

.signature-copy p {
  font-size:.875rem
}

.signature {
  max-width:470px;
  gap:18px
}

.signature-copy {
  padding-left:18px
}

.signature-spark {
  display:none
}

.eyebrow-brand {
  letter-spacing:1px
}

.scoreboard .micro-label {
  letter-spacing:1.2px
}

#game-status {
  font-size:.875rem;
  line-height:1.6
}

#status-caption {
  font-size:.75rem;
  line-height:1.6
}

.machine-status {
  min-height:76px
}

.spin-button {
  font-size:.875rem
}

.icon-button {
  min-width:48px;
  width:48px;
  height:52px
}

.machine-bottom {
  min-height:40px;
  flex-wrap:wrap;
  gap:6px 12px
}

.reset-button {
  font-size:.875rem;
  min-height:44px;
  padding:6px 4px
}

.summary-item strong {
  font-size:.875rem
}

.section-intro .inline-link,.faq-intro .inline-link {
  font-size:.875rem
}

.dialog-close {
  width:44px;
  min-width:44px;
  height:44px
}

.slot-machine.is-celebrating {
  border-color:#ffe3a3
}

.modal-symbol {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 1 83px;
  min-width:0;
  height:75px;
  padding:5px;
  border:1px solid #8f723e44;
  background:#0d0d0d66;
  border-radius:7px
}

.modal-symbol svg {
  width:100%;
  height:100%
}

.history-list {
  list-style:none;
  padding:0
}

.history-item {
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  padding-block:15px
}

.history-label {
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:.75rem
}

.history-label strong {
  font-size:.875rem;
  color:#e4d8c2;
  font-weight:600
}

.history-symbol {
  display:flex;
  width:36px;
  height:36px;
  align-items:center;
  justify-content:center
}

.history-symbol svg {
  width:100%;
  height:100%
}

.history-points {
  font-size:.875rem;
  white-space:nowrap
}

.history-empty {
  grid-column:1/-1
}

.icon-button:disabled {
  opacity:.5;
  cursor:wait
}

@media(min-width:901px) {
  h1 {
    font-size:clamp(76px,7.7vw,108px);
    line-height:1.02;
    letter-spacing:-1.5px
  }
  .hero-copy {
    padding-bottom:25px
  }
  .scoreboard {
    padding-block:12px
  }
  .steps {
    gap:26px
  }
  .steps h3 {
    margin-bottom:11px
  }
  .how-section,.faq-section {
    grid-template-columns:.72fr 1.6fr;
    gap:55px
  }
}

@media(min-width:901px) and (max-width:1150px) {
  h1 {
    font-size:clamp(63px,8vw,87px)
  }
  .hero-copy>.eyebrow {
    flex-wrap:wrap;
    gap:6px 10px
  }
  .hero-actions .button {
    font-size:.875rem
  }
  .signature-copy .micro-label {
    font-size:.6875rem;
    letter-spacing:1px
  }
  .signature-copy p {
    font-size:.75rem
  }
  .scoreboard .micro-label {
    letter-spacing:.6px;
    font-size:.6875rem
  }
  .machine-edition {
    display:none
  }
  .demo-badge {
    font-size:.625rem;
    letter-spacing:1px
  }
  .spin-button {
    font-size:.75rem;
    letter-spacing:.5px
  }
  .machine-controls {
    gap:6px
  }
  .icon-button {
    width:44px;
    min-width:44px;
    height:50px
  }
  .summary-title {
    font-size:.6875rem;
    letter-spacing:1px
  }
  .session-summary {
    gap:20px
  }
  .summary-item {
    padding-left:20px
  }
  .steps {
    gap:20px
  }
  .steps h3 {
    font-size:.875rem
  }
  .steps p {
    font-size:.875rem
  }
  .how-section,.faq-section {
    gap:35px
  }
  .machine-fineprint {
    font-size:.6875rem
  }
  .signature-symbol {
    width:80px
  }
}

@media(max-width:900px) {
  h1 {
    font-size:clamp(50px,11vw,74px);
    line-height:1.04;
    letter-spacing:-1px
  }
  .hero-copy>.eyebrow {
    font-size:.6875rem;
    letter-spacing:1.2px
  }
  .hero-copy .eyebrow-brand {
    font-size:.625rem;
    letter-spacing:.8px
  }
  .hero-description {
    max-width:380px;
    margin-top:12px;
    line-height:1.7
  }
  .hero {
    gap:19px;
    padding-top:23px
  }
  .demo-note {
    font-size:.75rem;
    margin-top:10px
  }
  .machine-edition {
    font-size:.625rem;
    letter-spacing:1.1px
  }
  .machine-logo {
    width:100px
  }
  .demo-badge {
    font-size:.625rem;
    letter-spacing:.7px
  }
  .machine-topbar {
    height:49px
  }
  .machine-status {
    min-height:75px;
    padding-block:12px
  }
  .status-icon {
    display:none
  }
  .score-value {
    font-size:29px
  }
  .scoreboard {
    padding:10px 14px
  }
  .scoreboard .micro-label {
    font-size:.75rem;
    letter-spacing:.7px
  }
  .score-round .micro-label {
    letter-spacing:.5px
  }
  .score-round {
    padding-left:17px
  }
  .spin-button {
    min-height:56px;
    font-size:.875rem;
    letter-spacing:.6px;
    gap:8px
  }
  .machine-controls {
    gap:8px
  }
  .machine-bottom {
    min-height:37px
  }
  .machine-fineprint {
    font-size:.6875rem
  }
  .summary-title {
    width:100%;
    font-size:.75rem
  }
  .summary-item {
    border:0;
    padding:0;
    margin-right:18px
  }
  .summary-item>span {
    font-size:.75rem
  }
  .session-summary {
    gap:11px 20px
  }
  .summary-item strong {
    font-size:1rem
  }
  #result-description {
    font-size:.75rem;
    padding-top:12px
  }
  .steps p {
    font-size:1rem;
    line-height:1.75
  }
  .steps h3 {
    font-size:1rem
  }
  .step-symbol {
    margin-top:3px
  }
  .section-intro .eyebrow,.faq-intro .eyebrow {
    font-size:.75rem
  }
  .faq-list summary {
    font-size:.875rem;
    line-height:1.7
  }
  .faq-answer {
    font-size:1rem
  }
  .dialog-description {
    font-size:.875rem
  }
  .symbol-values>div {
    font-size:.875rem
  }
  .footer-inner {
    gap:16px
  }
  .footer-inner>p,.footer-note {
    font-size:.75rem
  }
  .footer-inner>p {
    width:100%
  }
}

@media(max-width:430px) {
  h1 {
    font-size:52px
  }
  .hero-description {
    max-width:330px;
    font-size:.875rem
  }
  .slot-machine {
    padding-inline:14px
  }
  .machine-status {
    min-height:75px
  }
  .machine-logo {
    width:93px
  }
  .machine-edition {
    font-size:.5625rem;
    padding-left:9px
  }
  .score-value {
    font-size:28px
  }
  .spin-button {
    font-size:.8125rem;
    letter-spacing:.5px
  }
  .icon-button {
    width:46px;
    min-width:46px;
    height:51px
  }
  .dialog-close {
    width:44px;
    min-width:44px;
    height:44px
  }
  .machine-controls {
    gap:7px
  }
  .history-item {
    grid-template-columns:minmax(0,1fr) auto;
    gap:5px 10px
  }
  .history-label {
    grid-column:1;
    grid-row:1/3
  }
  .history-symbols {
    grid-column:2;
    grid-row:1;
    justify-content:flex-end;
    gap:3px
  }
  .history-points {
    grid-column:2;
    grid-row:2;
    text-align:right
  }
  .history-symbol {
    width:29px;
    height:29px
  }
}

@media(max-width:350px) {
  h1 {
    font-size:48px
  }
  .hero-description {
    font-size:.875rem;
    max-width:278px
  }
  .scoreboard .micro-label {
    font-size:.6875rem;
    letter-spacing:.3px
  }
  .score-round {
    padding-left:12px
  }
  .score-value {
    font-size:25px
  }
  .machine-topbar {
    height:46px
  }
  .spin-button {
    font-size:.75rem;
    letter-spacing:.25px
  }
  .spin-button .icon {
    width:18px;
    height:18px
  }
  .machine-controls {
    gap:6px
  }
  .icon-button {
    width:44px;
    min-width:44px
  }
  .machine-fineprint {
    font-size:.625rem
  }
  .machine-status {
    min-height:85px
  }
  .dialog {
    padding-inline:20px
  }
  .modal-symbol {
    height:65px
  }
}

/* Keep the primary action close to the game on small screens. */
body {
  padding-left:env(safe-area-inset-left,0px);
  padding-right:env(safe-area-inset-right,0px);
  padding-bottom:env(safe-area-inset-bottom,0px)
}

#spin-button-label {
  white-space:nowrap;
  line-height:1.4
}

@media(max-width:900px) {
  .hero {
    padding-top:20px
  }
  .hero-copy>.demo-note {
    display:none
  }
  .hero-description {
    margin-top:10px
  }
  .machine-status {
    min-height:70px
  }
  .stage-caption {
    white-space:nowrap;
    letter-spacing:1.6px
  }
}

@media(max-width:430px) {
  h1 {
    font-size:48px
  }
  .hero-copy>.eyebrow {
    font-size:.625rem
  }
  .hero-description {
    font-size:.875rem
  }
  .hero {
    gap:17px
  }
  .machine-status {
    min-height:70px
  }
}

@media(max-width:350px) {
  h1 {
    font-size:44px
  }
  .hero-description {
    max-width:270px
  }
  .stage-caption {
    font-size:8px;
    letter-spacing:1px
  }
  .caption-line {
    width:24px
  }
  .machine-status {
    min-height:78px
  }
}

/* Also hide closed dialogs in browsers without native dialog styling. */
dialog:not([open]) {
  display:none
}

/* Native raster sprites avoid SVG image clipping issues inside mobile reels. */
.symbol-raster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.reel-cell > .symbol-raster {
  max-width: 134px;
  height: 97%;
  filter: drop-shadow(0 3px 3px #0007);
}
.sprite-crop {
  display: block;
  position: relative;
  height: 100%;
  width: auto;
  max-width: 100%;
  overflow: hidden;
}
.sprite-crop--medal { aspect-ratio: 252 / 205; }
.sprite-crop--scatter { aspect-ratio: 252 / 185; }
.sprite-crop img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.sprite-crop--medal img { transform: translateY(-56.360708535%); }
.sprite-crop--scatter img { transform: translateY(-12.077294686%); }

/* v2.2 — real redirect countdown, with a permanent manual link. */
.redirect-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #99754066;
  border-radius: 8px;
  background: #d7af5709;
}
.redirect-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #c8a66c;
  border-radius: 50%;
  color: var(--gold-light);
  background: #10111277;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.redirect-copy { min-width: 0; }
.redirect-heading {
  color: #f0d9af;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
}
#redirect-message {
  margin-top: 4px;
  color: #c2b9a6;
  font-size: .8125rem;
  line-height: 1.65;
}
#modal-secondary { min-height: 52px; }
@media (max-width: 350px) {
  .redirect-panel { padding: 12px; gap: 10px; }
  .redirect-count { width: 42px; height: 42px; flex-basis: 42px; font-size: 23px; }
  #redirect-message { font-size: .75rem; }
}

/* Keep the countdown and manual action in view on shorter phone screens. */
@media (max-height: 700px) {
  .result-dialog { padding: 22px 18px 18px; }
  .result-dialog > .eyebrow,
  .result-dialog > .result-emblem { display: none; }
  .result-dialog h2 { font-size: 24px; margin: 0 28px 10px; }
  .result-dialog .modal-symbols { gap: 8px; margin: 10px 0; }
  .result-dialog .modal-symbol { width: 65px; height: 56px; }
  .result-dialog .modal-score { font-size: 34px; }
  .result-dialog .modal-copy { font-size: .875rem; line-height: 1.55; margin: 8px 0 12px; }
  .result-dialog .redirect-panel { margin: 12px 0; padding: 10px; gap: 10px; }
  .result-dialog .redirect-count { width: 40px; height: 40px; flex-basis: 40px; font-size: 22px; }
  .result-dialog .redirect-heading { font-size: .8125rem; line-height: 1.4; }
  .result-dialog #redirect-message { font-size: .75rem; line-height: 1.5; margin-top: 3px; }
  .result-dialog #modal-secondary { margin-top: 0; min-height: 50px; }
  .result-dialog .dialog-fineprint { font-size: .6875rem; line-height: 1.5; margin-top: 12px; }
}
