


html.landscape #app.stampede {
  --ls-pad: 4px;
  --ls-aspect: 1.2;
  --chip-band: 4px;
}

html.landscape #app.stampede { --stampede-cell-height: var(--ls-cell-h); }
html.landscape #app.studio { --studio-cell-height: var(--cell); }


html.landscape #app > :is(.storm, .lagoon, .stampede-sign, .studio-sign):not([hidden]) {
  display: grid;
  grid-template-columns: [side-l] minmax(0, 1fr) [mid] var(--ls-reels-w) [side-r] minmax(0, 1fr) [end];
  grid-template-rows: [strip] var(--ls-strip) repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 0 8px;
  min-height: 0;
  margin: 0 calc(-1 * var(--ls-r)) 0 calc(-1 * var(--ls-l));
  padding: 0 var(--ls-r) 4px var(--ls-l);
  overflow: visible;
}

html.landscape #app :is(.lagoon-jackpots, .stampede-jackpots, .studio-jackpots) {
  grid-column: side-l / end;
  grid-row: strip;
  align-self: center;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
}

html.landscape #app .studio-jackpots.count-3 {
  width: min(100%, 520px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) minmax(0, 1fr);
}

html.landscape #app :is(.lagoon-jackpot, .stampede-jackpot, .studio-jackpot),
html.landscape #app :is(.lagoon-jackpot, .stampede-jackpot, .studio-jackpot):first-child {
  grid-column: auto;
  justify-self: stretch;
  width: auto;
  height: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  border-width: 2px;
}

html.landscape #app :is(.lagoon-jackpot-name, .stampede-jackpot-name, .studio-jackpot-name),
html.landscape #app .studio-jackpot:first-child .studio-jackpot-name {
  flex: none;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.03em;
}

html.landscape #app :is(.lagoon-jackpot-amount, .stampede-jackpot-value, .studio-jackpot-value),
html.landscape #app .studio-jackpot:first-child .studio-jackpot-value {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: var(--type-readout);
  line-height: 1.1;
  white-space: nowrap;
}

html.landscape #app :is(.lagoon-jackpot.grand .lagoon-jackpot-amount, .stampede-jackpot.grand .stampede-jackpot-value),
html.landscape #app .studio-jackpot:first-child .studio-jackpot-value {
  font-size: 1.1rem;
}

html.landscape #app .studio-jackpot-text {
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

html.landscape #app .studio-jackpot-art,
html.landscape #app .studio-jackpot:first-child .studio-jackpot-art {
  width: 26px;
  height: 26px;
  margin: 0 -3px 0 -7px;
}

html.landscape #app :is(.storm, .lagoon, .stampede-sign, .studio-sign):not([hidden]) > :is(.storm-wilds, .storm-ladder-head, .lagoon-hint, .lagoon-wilds, .stampede-hint, .stampede-status, .studio-hint, .studio-wilds) {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  flex-wrap: wrap;
}

html.landscape #app :is(.lagoon-board, .stampede-meter, .storm-board, .studio-board) {
  justify-self: stretch;
  min-width: 0;
}


html.landscape #app .lagoon {
  container-type: normal;
}

html.landscape #app .lagoon-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  max-height: none;
  display: block;
  container-type: normal;
}

html.landscape #app .lagoon-koi {
  position: absolute;
  top: calc(var(--ls-strip) + 12px);
  left: calc(var(--ls-l) + (100% - var(--ls-l) - var(--ls-r) - var(--ls-reels-w)) / 4 - 60px);
  width: 120px;
  height: 120px;
}

html.landscape #app .lagoon-lantern,
html.landscape #app .lagoon-pad {
  display: none;
}

html.landscape #app .lagoon-sign {
  grid-column: side-l;
  grid-row: 6 / span 2;
  padding: 0 8px;
}

html.landscape #app .lagoon-title {
  font-size: 1.4rem;
  white-space: normal;
  text-align: center;
}

html.landscape #app .lagoon-hint { grid-column: side-r; grid-row: 2 / span 2; font-size: 0.75rem; }
html.landscape #app .lagoon-board { grid-column: side-r; grid-row: 4 / span 2; flex-wrap: wrap; justify-content: center; }
html.landscape #app .lagoon-wilds { grid-column: side-r; grid-row: 6 / span 2; font-size: 0.8rem; }


html.landscape #app .stampede-scene {
  border-radius: 0;
  mask-image: none;
  -webkit-mask-image: none;
}

html.landscape #app .stampede-scene .stampede-scene-bison {
  top: calc(var(--ls-strip) + 14px);
  left: calc(var(--ls-l) + (100% - var(--ls-l) - var(--ls-r) - var(--ls-reels-w)) / 4);
  height: 46%;
  max-width: 30%;
}

html.landscape #app .stampede-title { grid-column: side-l; grid-row: 6 / span 2; font-size: 1.4rem; }
html.landscape #app .stampede-hint { grid-column: side-r; grid-row: 2 / span 2; font-size: 0.75rem; }
html.landscape #app .stampede-meter { grid-column: side-r; grid-row: 4 / span 2; justify-self: stretch; }
html.landscape #app .stampede-status { grid-column: side-r; grid-row: 6 / span 2; }
