/* lucky-sevens-slots - fullscreen: the shared js/pip-fit.js zooms the whole cabinet to fit the
   screen under the dock (it is already registered on this page). This file only makes the reels
   themselves bigger on wide screens, so a landscape window is not a thin strip of tiny fruit.
   Only applies while the game-shell Full screen is on (html.pip-immersive). */
@media (min-aspect-ratio: 3/2) {
  html.pip-immersive .lss-reel { --cell: 138px; }
}

/* wave 3: free-play note and the pay-glass footnote are not needed while playing full screen */
html.pip-immersive .lss-free, html.pip-native .lss-free,
html.pip-immersive .lss-tg-note, html.pip-native .lss-tg-note,
html.pip-immersive .game-header, html.pip-immersive .ad-well { display: none; }
@media (min-aspect-ratio: 3/2) {
  html.pip-native .lss-reel { --cell: 138px; }
}
/* extra finish: soft glow under the reel window and a stronger spin button lift */
html.pip-immersive .lss-glass, html.pip-native .lss-glass { box-shadow: 0 6px 22px rgba(0,0,0,.55), 0 0 28px rgba(251,191,36,.18); }
html.pip-immersive #lss-machine, html.pip-native #lss-machine { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) {
  html.pip-immersive .lss-reel.lss-tease { animation: none; }
}

/* wave 4: short landscape phone. Reels and hold buttons on the left, meter, message, bets and Spin
   on the right, so nothing is scaled down by the shared fit and every button stays 44px or more. */
@media (orientation:landscape) and (max-height:520px) {
  html.pip-immersive .game-title, html.pip-native .game-title,
  html.pip-immersive .facts, html.pip-native .facts,
  html.pip-immersive .pip-actions, html.pip-native .pip-actions,
  html.pip-immersive .lss-marquee, html.pip-native .lss-marquee,
  html.pip-immersive .lss-topglass, html.pip-native .lss-topglass { display: none; }
  html.pip-immersive #lss-machine, html.pip-native #lss-machine {
    padding: 8px max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  html.pip-immersive #lss-machine .lss-body, html.pip-native #lss-machine .lss-body { display: block; }
  html.pip-immersive #lss-machine .lss-reel, html.pip-native #lss-machine .lss-reel {
    --cell: clamp(56px, calc((100vh - 178px) / 3), 92px);
  }
  html.pip-immersive .lss-main, html.pip-native .lss-main {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: repeat(6, auto);
    column-gap: 14px; row-gap: 4px; align-items: center;
  }
  html.pip-immersive .lss-main > *, html.pip-native .lss-main > * { margin-top: 0; margin-bottom: 0; min-width: 0; }
  html.pip-immersive .lss-hud, html.pip-native .lss-hud { grid-column: 1; grid-row: 1; }
  html.pip-immersive .lss-glass, html.pip-native .lss-glass { grid-column: 1; grid-row: 2 / span 4; align-self: start; }
  html.pip-immersive .lss-reelbtns, html.pip-native .lss-reelbtns { grid-column: 1; grid-row: 6; margin: 0 18px; }
  html.pip-immersive .lss-meter, html.pip-native .lss-meter { grid-column: 2; grid-row: 1; }
  html.pip-immersive .lss-nudges, html.pip-native .lss-nudges { grid-column: 2; grid-row: 2; min-height: 0; margin: 0; }
  html.pip-immersive #lss-msg, html.pip-native #lss-msg { grid-column: 2; grid-row: 3; min-height: 2.4em; margin: 0; }
  html.pip-immersive .lss-bets, html.pip-native .lss-bets { grid-column: 2; grid-row: 4; }
  html.pip-immersive .lss-play, html.pip-native .lss-play { grid-column: 2; grid-row: 5 / span 2; align-self: center; margin: 0; }
  html.pip-immersive #lss-machine #lss-spin, html.pip-native #lss-machine #lss-spin,
  html.pip-immersive #lss-machine #lss-refill, html.pip-native #lss-machine #lss-refill { min-height: 56px; }
  html.pip-immersive #lss-machine #lss-spin[hidden], html.pip-native #lss-machine #lss-spin[hidden],
  html.pip-immersive #lss-machine #lss-refill[hidden], html.pip-native #lss-machine #lss-refill[hidden],
  html.pip-immersive #lss-machine #lss-daily[hidden], html.pip-native #lss-machine #lss-daily[hidden] { display: none; }
}
