/* The classic stage and its footer form one rounded player. */
body.classic-slot-page:not(.is-bare) #main {
  max-width: calc(1200px + 6vw);
  padding: 24px 3vw 32px;
}
.classic-slot-page .play-head { display: none; }
.classic-slot-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: var(--surface);
}
.classic-slot-frame .slot-player-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #000;
}
.classic-slot-page #info { margin-top: 24px; }
.slot-options { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--label); font-size:14px; }
.slot-options:empty { display:none; }
.slot-options :is(.ov-tools,.gs-tools) { margin:0; border-radius:6px; }
.classic-slot-mobile-card[hidden] { display:none; }
@media (min-width: 768px) {
  body.classic-slot-page.has-side:not(.side-folded) { --side-w: 260px; }
  body.classic-slot-page.is-theatre #main {
    padding: 0 0 32px;
    max-width: 148dvh;
  }
  body.classic-slot-page.is-theatre .classic-slot-frame:not(.is-docked) { min-height: calc(100dvh - 60px); border-radius: 0; }
  body.classic-slot-page.is-theatre .classic-slot-frame:not(.is-docked) .slot-player-screen {
    aspect-ratio: auto;
    --normal-slot-width: min(1200px, 94vw - var(--side-w, 0px));
    --normal-slot-height: calc(var(--normal-slot-width) * .5625 - 4px);
    height: min(calc(100dvh - 123px), var(--normal-slot-height));
    height: min(calc(100dvh - 123px), round(var(--normal-slot-height), 1px));
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  body.classic-slot-page:not(.is-bare) #main { padding-top: calc(3vw + 4px); }
  body.classic-slot-page.is-theatre #main:has(.classic-slot-frame:not(.shows-launch-card)) { padding: 0 0 32px; }
  body.classic-slot-page.is-theatre .classic-slot-frame:not(.is-docked,.shows-launch-card) .slot-player-screen {
    height: calc(100dvh - 56px - 68px - 63px);
    border-radius: 0;
  }
  .classic-slot-frame:not(.is-docked) .slot-player-screen {
    aspect-ratio: auto;
    height: max(140px, calc(100dvh - 128px - 6vw));
  }
}
/* Keep the reels and the player toolbar together on a rotated phone or short window. */
@media (orientation: landscape) and (max-height: 600px) {
  body.classic-slot-page:not(.is-bare) #main {
    --slot-landscape-height: max(120px, calc(100dvh - var(--slot-nav-height, 60px) - 73px));
    padding-top: 6px;
  }
  body.classic-slot-page #main .classic-slot-frame:not(.is-docked,.shows-launch-card,:fullscreen) {
    width: min(100%, calc(var(--slot-landscape-height) * 16 / 9));
    min-height: 0;
    margin-inline: auto;
  }
  body.classic-slot-page #main .classic-slot-frame:not(.is-docked,.shows-launch-card,:fullscreen)
    #game:not(:fullscreen,.slot-fullscreen-fallback) .slot-player-screen:not(:fullscreen) {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
@media (orientation: landscape) and (max-height: 600px) and (max-width: 760px) {
  body.classic-slot-page:not(.is-bare) #main {
    --slot-nav-height: calc(56px + 68px + env(safe-area-inset-bottom));
  }
}
.classic-slot-frame #game:fullscreen,
.classic-slot-frame .slot-player-screen:fullscreen,
.classic-slot-frame:fullscreen { background: #000; }
.classic-slot-frame #game:fullscreen .slot-player-screen,
.classic-slot-frame .slot-player-screen:fullscreen,
.classic-slot-frame:fullscreen .slot-player-screen { height: 100%; aspect-ratio: auto; border-radius: 0; }
.classic-slot-mobile-card { display: grid; gap: 16px; padding: 16px; background: var(--surface); color: var(--text-2); border-radius: 8px; }
.slot-launch-header { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.slot-launch-header img { width: 25%; max-width: 140px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.slot-launch-info { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.slot-launch-info h1 { font: 700 18px/1.25 var(--font); margin: 0; }
.slot-publisher, .slot-launch-full { color: var(--label); font: 600 14px/20px var(--font); }
.slot-save, .slot-launch-actions button { border: 0; background: var(--edge); color: var(--text); border-radius: 6px; cursor: pointer; font: 600 14px var(--font); }
.slot-save { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
.slot-save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.slot-save[aria-pressed="true"] svg { fill: currentColor; }
.slot-launch-brand { display:flex; align-items:center; gap:4px; height:24px; font-weight:700; }
.slot-launch-brand svg { width:auto; height:18px; }
.slot-launch-full { display:flex; align-items:center; gap:8px; width:fit-content; cursor:pointer; }
.slot-launch-full input { appearance:none; margin:0; width:40px; height:24px; border-radius:20px; background:var(--edge); position:relative; cursor:pointer; }
.slot-launch-full input:checked { background:var(--info); }
.slot-launch-full input::after { content:''; position:absolute; left:4px; top:4px; width:16px; height:16px; background:white; border-radius:50%; }
.slot-launch-full input:checked::after { transform:translateX(16px); }
.slot-launch-actions { display:flex; gap:8px; }
.slot-launch-actions button { min-height:40px; }
.slot-launch-actions .slot-launch-play { flex:1; background:var(--info); font-size:16px; }
.slot-launch-fair { width:48px; display:grid; place-items:center; }
.slot-launch-fair svg { width:16px; height:16px; fill:currentColor; }
#main .classic-slot-frame.shows-launch-card > :is(#game,#bar) { display:none; }
.classic-slot-frame.shows-launch-card { min-height:0; }
body.is-bare .classic-slot-frame .slot-player-screen { height: auto; aspect-ratio: 16 / 9; }
body.is-bare .slot-options { padding-top: 8px; }
