/* 3950: Scenario kit part 2 in the bottom bar, the LOBBY button, AUTO/STOP and the free-spins banner.
   Every piece is drawn at one scale: plates and plaques keep their own ratio (aspect-ratio) with the art
   mapped exactly onto the box; icons and round buttons are square crops of their sheets; the panel frame
   is a 9-slice whose corners keep one scale and whose plain runs repeat. */
/* ---- generated by tools/kit-css.mjs from kit.mjs: plates at one scale, text only on their clear areas ---- */
.kit-plate--meter, .lantern-controls329 .lantern-controls329__bet-mid .lantern-select329__value, .portrait-win .meter--bet .lantern-select329__value {
  aspect-ratio: 1500 / 387;
  background: url(./assets/kit/meter-plate.cd015761f0dcafe3.webp) no-repeat 50% 35.2% / 102.4% 132.2997% !important;
  padding: 5.2% 25.1333% 3.8667% 24.2% !important;
}
.kit-plate--long {
  aspect-ratio: 1471 / 349;
  background: url(./assets/kit/button-long.a43a2903da87cf8e.webp) no-repeat 49.2308% 43.5583% / 104.4188% 146.7049% !important;
  padding: 5.5065% 16.2475% 2.9912% 20.5982% !important;
}
.kit-plate--short {
  aspect-ratio: 765 / 250;
  background: url(./assets/kit/button-short.8d364e40da4a12b6.webp) no-repeat 0% 45.8015% / 100.3922% 204.8% !important;
  padding: 7.0588% 23.7908% 4.5752% 26.6667% !important;
}
.kit-plate--spin {
  aspect-ratio: 1356 / 325;
  background: url(./assets/kit/spin-plate.11de10b6878ebc50.webp) no-repeat 50% 45.4545% / 113.2743% 157.5385% !important;
}
.kit-plate--stop {
  aspect-ratio: 1310 / 367;
  background: url(./assets/kit/stop-plate.174e3ae334ae9c63.webp) no-repeat 49.5575% 33.1034% / 117.2519% 139.5095% !important;
}
.kit-icon, .kit-round { background-image: url(./assets/kit/menu-icons.3e5219ca13915cc4.webp) !important; background-repeat: no-repeat !important; aspect-ratio: 1 / 1; }
.kit-round { background-image: url(./assets/kit/round-buttons.a0c25ed60e27e8c8.webp) !important; }
.kit-icon[data-kit-icon="menu"] { background-size: 485.3081% 363.981% !important; background-position: 4.3665% 3.0521% !important; }
.kit-icon[data-kit-icon="info"] { background-size: 497.0874% 372.8155% !important; background-position: 35.5746% 4.0925% !important; }
.kit-icon[data-kit-icon="soundOn"] { background-size: 497.0874% 372.8155% !important; background-position: 65.4645% 4.0925% !important; }
.kit-icon[data-kit-icon="soundOff"] { background-size: 488.7828% 366.5871% !important; background-position: 96.2861% 3.7601% !important; }
.kit-icon[data-kit-icon="fullscreen"] { background-size: 501.9608% 376.4706% !important; background-position: 4.3293% 47.0745% !important; }
.kit-icon[data-kit-icon="lobby"] { background-size: 495.8838% 371.9128% !important; background-position: 35.474% 47.2395% !important; }
.kit-icon[data-kit-icon="autoplay"] { background-size: 503.1941% 377.3956% !important; background-position: 65.2651% 47.2985% !important; }
.kit-icon[data-kit-icon="speed1"] { background-size: 495.8838% 371.9128% !important; background-position: 96.1774% 47.195% !important; }
.kit-icon[data-kit-icon="speed2"] { background-size: 493.494% 370.1205% !important; background-position: 4.0416% 89.7413% !important; }
.kit-icon[data-kit-icon="speed3"] { background-size: 494.686% 371.0145% !important; background-position: 35.4345% 89.3939% !important; }
.kit-icon[data-kit-icon="close"] { background-size: 493.494% 370.1205% !important; background-position: 65.5236% 89.7859% !important; }
.kit-icon[data-kit-icon="paytable"] { background-size: 494.686% 371.0145% !important; background-position: 96.2362% 89.7504% !important; }
.kit-round[data-kit-round="minus"] { background-size: 371.0145% 123.6715% !important; background-position: 4.2781% 39.7959% !important; }
.kit-round[data-kit-round="plus"] { background-size: 370.1205% 123.3735% !important; background-position: 49.9108% 39.1753% !important; }
.kit-round[data-kit-round="caret"], .lantern-select329 .lantern-select329__caret { background-size: 371.0145% 123.6715% !important; background-position: 95.6328% 39.7959% !important; }
.lantern-select329 .lantern-select329__caret { background-image: url(./assets/kit/round-buttons.a0c25ed60e27e8c8.webp) !important; background-repeat: no-repeat !important; aspect-ratio: 1 / 1; }
.kit-panel { border-style: solid !important; border-color: var(--l07-colour-044) !important; border-image-source: url(./assets/kit/panel-frame.6a947bae619f48f3.webp) !important; border-image-slice: 30.2734375% 32.2265625% 29.296875% 32.2265625% !important; border-image-repeat: repeat !important; border-image-outset: 0 !important; background: var(--l07-colour-175) padding-box !important; }
.kit-banner { aspect-ratio: 3840 / 1440; background: url(./assets/kit/free-spins-wide.9cec182d131f8160.webp) no-repeat 50% 50% / 100% 100% !important; }
.kit-banner .kit-banner__title { left: 18.125%; top: 32.0833%; width: 63.8281%; height: 24.0278%; font-size: max(19px, calc(var(--kb-h) * 0.144167)); }
.kit-banner .kit-banner__panel:nth-of-type(1) { left: 18.3594%; top: 63.5417%; width: 16.6146%; height: 16.4583%; font-size: max(19px, calc(var(--kb-h) * 0.102041)); }
.kit-banner .kit-banner__panel:nth-of-type(2) { left: 41.4063%; top: 63.5417%; width: 17.2135%; height: 16.4583%; font-size: max(19px, calc(var(--kb-h) * 0.102041)); }
.kit-banner .kit-banner__panel:nth-of-type(3) { left: 65%; top: 63.5417%; width: 16.7188%; height: 16.4583%; font-size: max(19px, calc(var(--kb-h) * 0.102041)); }
.kit-banner.kit-banner--compact { aspect-ratio: 2896 / 1712; background: url(./assets/kit/free-spins-compact.f0c274b83701d62d.webp) no-repeat 50.5682% 32.1429% / 106.0773% 119.6262% !important; }
.kit-banner.kit-banner--compact .kit-banner__title { left: 15.6423%; top: 27.9206%; width: 68.8191%; height: 24.6495%; font-size: max(19px, calc(var(--kb-h) * 0.147897)); }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(1) { left: 22.9972%; top: 62.0327%; width: 12.2583%; height: 30.3738%; font-size: max(19px, calc(var(--kb-h) * 0.121495)); }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(2) { left: 41.6436%; top: 61.4486%; width: 16.6436%; height: 32.1262%; font-size: max(19px, calc(var(--kb-h) * 0.128505)); }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(3) { left: 62.8798%; top: 64.486%; width: 17.2652%; height: 24.4159%; font-size: max(19px, calc(var(--kb-h) * 0.097664)); }
.kit-plate--recover {
  aspect-ratio: 1317 / 363;
  background: url(./assets/kit/recover-plate.5d09c22b307620ef.webp) no-repeat 49.3151% 32.2148% / 116.6287% 141.0468% !important;
}
@media (orientation: landscape) and (max-height: 280.98px) {
html body #app #mainControlsMount .lantern-controls329__landscape::before, html body #app #mainControlsMount .lantern-controls329__landscape::after { border-style: solid !important; border-color: var(--l07-colour-044) !important; border-image-source: url(./assets/kit/panel-frame.6a947bae619f48f3.webp) !important; border-image-slice: 30.2734375% 32.2265625% 29.296875% 32.2265625% !important; border-image-repeat: repeat !important; border-image-outset: 0 !important; border-image-width: calc(310px * var(--kf)) calc(330px * var(--kf)) calc(300px * var(--kf)) calc(330px * var(--kf)) !important; border-width: calc(64px * var(--kf)) calc(54px * var(--kf)) calc(81px * var(--kf)) calc(53px * var(--kf)) !important; background: var(--l07-colour-175) padding-box !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate {
  aspect-ratio: 1462 / 310;
  background: url(./assets/kit/compact-meter.67fc4752ae7ff8da.webp) no-repeat 50% 39.9083% / 101.7784% 170.3226% !important;
  padding: 7.1429px 23.4286px 6.0952px 21.8095px !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { width: 139.238px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field { --bet-w: 138.571px; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field .lantern-select329__button::before {
  aspect-ratio: 1455 / 329;
  background: url(./assets/kit/compact-bet.e17435218ffcdba2.webp) no-repeat 48.4848% 39.6985% / 102.268% 160.4863% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field .lantern-select329__button::before { width: var(--bet-w) !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field .lantern-select329__button .lantern-select329__value {
  position: absolute !important; left: calc(var(--bet-w) * 0.1924) !important; width: calc(var(--bet-w) * 0.6227) !important;
  top: calc((44px - var(--bet-w) * 0.2261) / 2 + var(--bet-w) * 0.2261 * 0.2523) !important; height: calc(var(--bet-w) * 0.2261 * 0.5228) !important;
  right: auto !important; bottom: auto !important; flex: none !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="SPIN"] {
  aspect-ratio: 833 / 660;
  background: url(./assets/kit/round-spin.d321325221cb49b8.webp) no-repeat 48.3871% 40.6863% / 103.7215% 130.9091% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="SPIN"] { width: 83.878px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="STOP"] {
  aspect-ratio: 834 / 658;
  background: url(./assets/kit/round-stop.6b713e1f023da7e5.webp) no-repeat 50% 36.8932% / 103.5971% 131.307% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="STOP"] { width: 83.979px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="FREE SPIN"] {
  aspect-ratio: 834 / 658;
  background: url(./assets/kit/round-free-spin.1e7161902b6412aa.webp) no-repeat 50% 36.4078% / 103.5971% 131.307% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label="FREE SPIN"] { width: 83.979px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__buy .lantern-controls329__plaque.kit-plate {
  aspect-ratio: 886 / 561;
  background: url(./assets/kit/short-buy.c6448dc3ef7a36d3.webp) no-repeat 50% 34.965% / 108.3521% 125.4902% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__buy .lantern-controls329__plaque.kit-plate { width: 55.375px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__auto .lantern-controls329__auto-title.kit-plate {
  aspect-ratio: 939 / 516;
  background: url(./assets/kit/short-auto.d3ded9f1f334c009.webp) no-repeat 42.8571% 39.3617% / 102.2364% 136.4341% !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__auto .lantern-controls329__auto-title.kit-plate { width: 58.688px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status .lantern-controls329__status-mount {
  aspect-ratio: 1911 / 676;
  background: url(./assets/kit/compact-message.88785655464c70e2.webp) no-repeat 50.6849% 45.2381% / 103.82% 137.2781% !important;
  padding: 8.1835px 18.4294px 5.9214px 14.9698px !important;
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status .lantern-controls329__status-mount { width: 127.143px !important; }
}

/* ---- shared ------------------------------------------------------------------------------------- */
.kit-plate { display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 0;
  color: var(--l07-colour-158); font-family: var(--l07-font-display-times); font-weight: 700; line-height: 1; white-space: nowrap;
  text-shadow: 0 1px 2px var(--l07-colour-176); }
.kit-panel { --kf: 0.2;
  border-image-width: calc(310px * var(--kf)) calc(330px * var(--kf)) calc(300px * var(--kf)) calc(330px * var(--kf)) !important;
  border-width: calc(64px * var(--kf)) calc(54px * var(--kf)) calc(81px * var(--kf)) calc(53px * var(--kf)) !important;
  border-radius: 0 !important; box-shadow: none !important; }
.kit-round { border: 0 !important; background-color: var(--l07-colour-044) !important; box-shadow: none !important; font-size: 0 !important; color: var(--l07-colour-044) !important; padding: 0 !important; }
.kit-icon { display: inline-block; flex: none; }
.lantern-select329 .lantern-select329__caret { flex: none; width: 24px; height: 24px; border: 0; }

/* ---- the bar's controls (desktop band and landscape rail) ---------------------------------------- */
#mainControlsMount .lantern-controls329__desktop.kit-panel { --kf: 0.2; padding: 6px 10px 4px; gap: 4px;
  background-image: none; margin-top: calc(-64px * var(--kf)); position: relative; }
/* The reel frame meets the band's gold line; its seam tags (25 LINES and the first-spin caption) stay on top. */
#app[data-main-mode=desktop] .h3-board-wrap { position: relative; z-index: 2; }
#mainControlsMount .lantern-controls329__pill,
#mainControlsMount .lantern-controls329__icon { border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0 2px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 48px; }
#mainControlsMount .lantern-controls329__dt-icon.kit-icon { width: 40px; height: 40px; }
#mainControlsMount .lantern-controls329__round.kit-round { width: 48px; height: 48px; }
#mainControlsMount .lantern-controls329__meter { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
#mainControlsMount .lantern-controls329__meter-value.kit-plate { width: var(--kit-meter-w, 150px); font-size: 20px; }
/* BET: - [the value on a meter plate, then the round caret] + */
#mainControlsMount .lantern-controls329__bet-mid { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
/* The drop-down button: its BET / SPEED caption on top, then [the value on its plate | the speed icon] and the round caret. */
#mainControlsMount .lantern-controls329__bet-mid .lantern-select329__button,
#mainControlsMount .lantern-controls329__speed .lantern-select329__button { border: 0; background: var(--l07-colour-044); box-shadow: none;
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; align-items: center;
  gap: 1px 2px; padding: 0; min-height: 48px; }
#mainControlsMount .lantern-controls329__bet-mid .lantern-select329__button::before,
#mainControlsMount .lantern-controls329__speed .lantern-select329__button::before { grid-column: 1 / 3; grid-row: 1; justify-self: center;
  font-size: 20px; line-height: 16px; }
#mainControlsMount .lantern-controls329__bet-mid .lantern-select329__value,
#mainControlsMount .lantern-controls329__speed .kit-speed-icon { grid-column: 1; grid-row: 2; }
#mainControlsMount .lantern-select329__caret { grid-column: 2; grid-row: 2; align-self: center; }
#mainControlsMount .lantern-controls329__bet-mid .lantern-select329__value { width: var(--kit-bet-w, 118px); height: auto; min-height: 0; line-height: 1;
  font-size: calc(var(--kit-bet-w, 118px) * 0.16);
  display: flex; align-items: center; justify-content: center; overflow: visible; text-overflow: clip; color: var(--l07-colour-158); align-self: center; }
/* BUY BONUS and AUTO: the same plaque, the same size */
#mainControlsMount .lantern-controls329__tool,
#mainControlsMount .lantern-controls329__auto { border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0; min-width: 0;
  min-height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
#mainControlsMount .lantern-controls329__plaque.kit-plate,
#mainControlsMount .lantern-controls329__auto-title.kit-plate { width: var(--kit-plaque-w, 118px); font-size: 20px; letter-spacing: 0.04em;
  color: var(--l07-colour-156); }
#mainControlsMount .lantern-controls329__auto-state:empty { display: none; }
#mainControlsMount .lantern-controls329__auto[data-auto-running="true"] .lantern-controls329__auto-title { color: var(--l07-colour-105); }
/* SPIN / STOP: the kit's plates; the word is in the art, the label stays as accessible text */
#mainControlsMount .lantern-controls329__primary-label { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; }

/* Desktop band sizes: everything in one row from 1280 px up. */
#mainControlsMount .lantern-controls329__desktop { --kit-meter-w: clamp(100px, 7.8vw, 170px); --kit-bet-w: clamp(80px, 6.3vw, 150px);
  --kit-plaque-w: clamp(110px, 8.6vw, 156px); }
#mainControlsMount .lantern-controls329__desktop .lantern-controls329__pill { min-width: 50px; }
#mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-icon.kit-icon,
#mainControlsMount .lantern-controls329__desktop .sound-state-icon.kit-icon { width: clamp(36px, 2.9vw, 52px); height: clamp(36px, 2.9vw, 52px); }
#mainControlsMount .lantern-controls329__dt-row .lantern-controls329__speed { flex: none; width: auto; min-width: 0; }
#mainControlsMount .lantern-controls329__dt-row .lantern-controls329__speed .lantern-select329 { width: auto; }
#mainControlsMount .lantern-controls329__dt-side > * { flex: none; }
#mainControlsMount .lantern-controls329__plaque.kit-plate,
#mainControlsMount .lantern-controls329__auto-title.kit-plate { font-size: calc(var(--kit-plaque-w, 118px) * 0.105); letter-spacing: 0; }
#mainControlsMount .lantern-controls329__meter-value.kit-plate { font-size: calc(var(--kit-meter-w, 150px) * 0.15); line-height: 1; }
#mainControlsMount .lantern-controls329__dt-row .lantern-controls329__primary { width: clamp(200px, 18.75vw, 340px); min-height: 60px; }
#mainControlsMount .lantern-controls329__dt-row { gap: 8px; }
#mainControlsMount .lantern-controls329__dt-side { gap: 6px; }
/* Speed: the kit's speed icon and the round caret; the chosen speed stays the button's accessible text. */
#mainControlsMount .lantern-controls329__dt-row .lantern-controls329__speed { min-width: 0; align-items: center; }
#mainControlsMount .lantern-controls329__speed .lantern-select329__value { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.kit-speed-icon { width: 36px; height: 36px; }
.lantern-controls329 .sound-state-icon.kit-icon { width: 40px; height: 40px; }
/* The two sides of the desktop row: packed rows (the kit pieces keep their own widths). */
#mainControlsMount .lantern-controls329__dt-side { display: flex; align-items: center; justify-content: space-evenly; gap: 4px; }
#mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__auto { width: auto; }
#mainControlsMount .lantern-controls329__dt-row .lantern-controls329__speed .lantern-select329__button { min-height: 48px; }
#mainControlsMount .lantern-controls329__dt-side .lantern-controls329__pill { min-height: 60px; font-size: clamp(20px, 0.8vw, 14px); line-height: 1.15; }

/* ---- phones in landscape: the rail ---------------------------------------------------------------- */
#mainControlsMount .lantern-controls329__ls-rail.kit-panel { --kf: 0.1; display: flex; flex-direction: column; gap: 3px;
  padding: 0 3px 2px; }
#mainControlsMount .lantern-controls329__ls-brand { flex: 1 1 0; min-height: 0; }
#mainControlsMount .lantern-controls329__ls-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: none; border: 0;
  background: var(--l07-colour-044); box-shadow: none; }
#mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { padding: 0; border: 0; background: var(--l07-colour-044); box-shadow: none; }
#mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { width: 100%; font-size: clamp(20px, 2.35vw, 22px); line-height: 1; }
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet { flex: none; border: 0; background: var(--l07-colour-044); box-shadow: none;
  padding: 0; justify-content: space-between; --kit-bet-w: clamp(50px, 9vw, 120px); }
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__value { font-size: clamp(20px, 2.2vw, 20px); }
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary { flex: none; width: min(100%, 240px); align-self: center;
  aspect-ratio: 1356 / 325; }
#mainControlsMount .lantern-controls329__ls-lower { flex: none; display: flex; flex-direction: column; gap: 3px; background: var(--l07-colour-044);
  box-shadow: none; border-radius: 0; }
#mainControlsMount .kit-rail-plaques { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; justify-items: center; }
#mainControlsMount .kit-rail-icons { display: flex; align-items: center; gap: 3px; }
#mainControlsMount .kit-rail-icons > .lantern-controls329__icon { flex: none; min-width: 48px; width: 48px; height: 48px; padding: 0; }
#mainControlsMount .kit-rail-icons > .kit-lobby[hidden] { display: none; }
#mainControlsMount .kit-rail-icons > .lantern-controls329__ls-speed { flex: 1 1 0; min-width: 0; }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__icon-label { display: none; }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__icon-glyph.kit-icon { width: 40px; height: 40px; font-size: 0; }
/* BUY BONUS and AUTO: the long plaque, the same size, one above the other on a narrow rail */
#mainControlsMount .lantern-controls329__landscape { --kit-plaque-w: min(100%, 210px); }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { width: min(100%, 186px); font-size: 20px; }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__tool,
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto { min-height: 48px; height: auto; width: 100%; border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0; }
/* The speed tile keeps its caption over a button with the kit's speed icon and the chosen speed. */
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__speed-cycle { min-height: 48px; border: 0; background: var(--l07-colour-044);
  box-shadow: none; display: flex; align-items: center; justify-content: center; gap: 2px; padding: 0; }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__cycle-icon.kit-icon { width: 30px; height: 30px; }
#mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__ls-speed { border: 0 !important; background: var(--l07-colour-044) !important; box-shadow: none !important;
  outline: 0; min-width: 0; }
/* Wider phones (the rail has room): BUY BONUS and AUTO side by side on the short plaque, so the logo keeps its space. */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 800px) {
  #mainControlsMount .kit-rail-plaques { grid-template-columns: 1fr 1fr; }
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { width: 100%; font-size: 20px; }
}
/* Narrow rails: the speed tile shows its caption and the chosen speed in words (the icon needs the room). */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 799px) {
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__cycle-icon.kit-icon { display: none; }
}
/* The shortest phones (568 x 320): BUY BONUS and AUTO side by side on the short plaque; the speed tile
   shows its icon and value without the caption. */
@media (orientation: landscape) and (max-height: 360px) {
  #mainControlsMount .kit-rail-plaques { grid-template-columns: 1fr 1fr; gap: 2px; }
  #mainControlsMount .lantern-controls329__ls-lower { gap: 2px; }
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { width: 100%; font-size: 20px; }
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__cycle-icon.kit-icon { display: inline-block; }
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__speed-value { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  #mainControlsMount .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display: none; }
  #mainControlsMount .lantern-controls329__ls-rail.kit-panel { gap: 2px; }
}

/* ---- phones in portrait ------------------------------------------------------------------------- */
@media (orientation: portrait) {
  /* Rows: title, reels, the meters on the kit panel, the paid row, SPIN, BUY BONUS and AUTO side by side,
     then SPEED, MENU, INFO and SOUND as round kit icons in one row. 3965 moved the paid row (the band that
     shows the message line) under the title, on the reels; below the reels, SPIN stands in the middle of the control
     area with BUY BONUS and AUTO below it (Sep 26's rule; it replaces Sep 25's "SPIN at the very bottom").
     3975: four columns, not five: PAYTABLE left the row (INFO opens the same page, LAN-08), so SPEED and MENU take two
     columns and INFO and SOUND the other two, four equal slots. Two buttons on three of five columns would make INFO
     and SOUND each half a column wider than SPEED and MENU. */
  .portrait-win .portrait-win__shell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 4px; row-gap: 5px;
    grid-template-rows: auto minmax(90px, 1fr) auto auto auto auto;
    grid-template-areas: "head head head head" "board board board board" "meters meters meters meters"
      "paid paid paid paid" "primary primary primary primary" "second second foot foot"; }
  .portrait-win .portrait-win__header { grid-area: head; height: clamp(70px, 12dvh, 112px); position: relative; }
  .portrait-win .portrait-win__board { grid-area: board; min-height: 0; }
  .portrait-win .portrait-win__meters { grid-area: meters; }
  .portrait-win .portrait-win__paid { grid-area: paid; }
  .portrait-win .portrait-win__primary { grid-area: primary; }
  .portrait-win .portrait-win__secondary { grid-area: second; }
  .portrait-win .portrait-win__footer { grid-area: foot; }
  .portrait-win .portrait-win__meters.kit-panel { --kf: 0.12; min-height: 0; padding: 0 2px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr) minmax(0, 0.8fr); }
  .portrait-win .meter { gap: 1px; font-size: 20px; }
  .portrait-win .meter strong.kit-plate { width: 100%; font-size: clamp(20px, 4.3vw, 20px); color: var(--l07-colour-115); overflow-wrap: normal; }
  .portrait-win .round-button.kit-round { flex: 0 0 44px; width: 48px; height: 48px; }
  /* SPIN on its own row; BUY BONUS and AUTO under it on the same long plaque */
  .portrait-win .portrait-win__primary { grid-template-columns: 1fr 1fr; grid-template-areas: "spin spin" "buy autoplay"; gap: 4px 8px; }
  .portrait-win .portrait-win__primary > .action { min-height: 48px; border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0; border-radius: 0;
    display: flex; align-items: center; justify-content: center; }
  .portrait-win .portrait-win__primary > .action--spin { grid-area: spin; height: clamp(50px, 7.2dvh, 64px); }
  .portrait-win .portrait-win__primary > .action--bonus { grid-area: buy; }
  .portrait-win .portrait-win__primary > .action--auto { grid-area: autoplay; }
  .portrait-win .portrait-win__primary .kit-plate { width: min(100%, 190px); font-size: clamp(20px, 4.1vw, 18px); letter-spacing: 0.03em; color: var(--l07-colour-156); }
  .portrait-win .portrait-win__primary > .action--bonus .kit-plate { color: var(--l07-colour-177); }
  .portrait-win .portrait-win__primary > .action:disabled { opacity: 1; }
  .portrait-win .portrait-win__primary > .action:disabled .kit-plate { filter: grayscale(0.7) brightness(0.72); }
  /* The four round icons with their captions (3975: SPEED and MENU, then INFO and SOUND) */
  .portrait-win .portrait-win__secondary, .portrait-win .portrait-win__footer { display: flex; gap: 4px; }
  .portrait-win .wide-action, .portrait-win .footer-action { flex: 1 1 0; min-width: 0; min-height: 48px; border: 0; background: var(--l07-colour-044); box-shadow: none;
    border-radius: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    font: 700 20px/1.1 var(--l07-font-display); color: var(--l07-colour-156); letter-spacing: 0; text-transform: uppercase; }
  .portrait-win .wide-action .kit-icon, .portrait-win .footer-action .kit-icon { width: clamp(34px, 9.5vw, 46px); height: clamp(34px, 9.5vw, 46px); }
  .portrait-win .wide-action strong[data-field="speedLabel"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .portrait-win .wide-action:disabled, .portrait-win .footer-action:disabled { opacity: .6; }
  /* LOBBY: the kit's round button at the top left of the title */
  .portrait-win .portrait-win__lobby { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; min-width: 48px;
    border: 0; background: var(--l07-colour-044); padding: 0; z-index: 3; }
  .portrait-win .portrait-win__lobby .kit-icon { width: 100%; height: 100%; }
  .portrait-win .portrait-win__lobby:not([hidden]) ~ .portrait-win__title { width: calc(96% - 104px); }
}
@media (orientation: portrait) {
  /* SPIN: the word is in the kit's plate; the label stays as accessible text. */
  .portrait-win .primary-art-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .portrait-win .action--spin .primary-art-svg { position: static; width: 100%; height: 100%; }
  /* BET: the value on the meter plate with the round caret. */
  .portrait-win .meter--bet .lantern-select329 { min-width: 0; flex: 1 1 auto; justify-content: center; }
  .portrait-win .meter--bet .lantern-select329__button { border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0; gap: 1px; min-height: 48px;
    display: flex; align-items: center; justify-content: center; width: 100%; }
  .portrait-win .meter--bet .lantern-select329__value { flex: 0 1 auto; width: min(100%, 110px); min-height: 0; line-height: 1; overflow: visible;
    text-overflow: clip; font-size: clamp(20px, 4vw, 18px); color: var(--l07-colour-115); }
  .portrait-win .meter--bet .lantern-select329__caret { width: 22px; height: 22px; }
  /* SPEED: the kit's speed icon with its caption, like its neighbours; the chosen speed stays the button's text. */
  .portrait-win .portrait-speed-slot348 { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center;
    gap: 1px; font: 700 20px/1.1 var(--l07-font-display); color: var(--l07-colour-156); text-transform: uppercase; border: 0; background: var(--l07-colour-044); }
  .portrait-win .portrait-speed-slot348 .lantern-select329 { width: auto; }
  .portrait-win .portrait-speed-slot348 .lantern-select329__button { border: 0; background: var(--l07-colour-044); box-shadow: none; padding: 0; min-height: 48px;
    min-width: 48px; display: flex; align-items: center; justify-content: center; gap: 0; }
  .portrait-win .portrait-speed-slot348 .kit-speed-icon { width: clamp(34px, 9.5vw, 46px); height: clamp(34px, 9.5vw, 46px); }
  .portrait-win .portrait-speed-slot348 .lantern-select329__value { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .portrait-win .portrait-speed-slot348 .lantern-select329__caret { width: 18px; height: 18px; margin-left: -10px; }
}

/* ---- LOBBY on desktop: the kit's round lobby button at the top left, clear of the reels and the bar ---- */
.h3-top { position: relative; }
.h3-lobby.kit-lobby { position: absolute; left: max(8px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%);
  width: clamp(48px, 4.4vw, 76px); height: clamp(48px, 4.4vw, 76px); padding: 0; border: 0; background: var(--l07-colour-044); cursor: pointer; z-index: 5; }
.h3-lobby.kit-lobby[hidden] { display: none; }
.h3-lobby.kit-lobby .kit-icon { width: 100%; height: 100%; }
.kit-lobby:focus-visible { outline: 3px solid var(--l07-colour-167); outline-offset: 2px; border-radius: 50%; }

/* ---- the free-spins banner: Scenario's wide banner on desktop and landscape, the compact one in portrait.
   It lies over free space (the host sets its box: above the reels, or over the top of the rail), so
   nothing moves when it shows; the art keeps one scale on a box of its own ratio. ---- */
.h3-feature-banner.kit-banner { position: fixed !important; inset: auto; z-index: 7; display: block !important; box-sizing: border-box;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background-color: var(--l07-colour-044); overflow: visible !important; max-height: none !important; min-height: 0 !important; height: auto !important;
  --kb-w: 300px; --kb-h: 100px; /* 3977 (FAC-10): its own size as px (app.mjs keeps them; no container units) */
  font-family: var(--l07-font-display-times); color: var(--l07-colour-171); text-align: center; pointer-events: none; }
.h3-feature-banner.kit-banner[hidden] { display: none !important; }
.kit-banner .kit-banner__title, .kit-banner .kit-banner__panel { position: absolute; display: flex; align-items: center; justify-content: center;
  gap: 0.3em; margin: 0; padding: 0; line-height: 1; white-space: nowrap; font-weight: 700; text-shadow: 0 1px 2px var(--l07-colour-176); }
.kit-banner .kit-banner__title { letter-spacing: 0.08em; color: var(--l07-colour-177); }
/* 3985: the banner's amounts are 0.03em closer (as the band's plates' digits are since 3984): 250000.00, the 5,000x cap at the top bet, is 62.8 px at 12 px in
   Chromium and WebKit, and the wide banner's WIN panel is 62.5 px across on a 390 px phone and 61.6 px on a 375 px one (the banner stands as high as the meters
   it stands in for, so it cannot be drawn bigger there); with the digits closer the amount is 59.6 px and lies inside the clear area on all four iPhone cells. */
.kit-banner .kit-banner__panel b { font-weight: 700; color: var(--l07-colour-105); letter-spacing: -0.03em; }
.kit-banner .kit-banner__panel small { font-size: 1em; color: var(--l07-colour-178); }
.kit-banner.kit-banner--compact .kit-banner__panel { flex-direction: column; gap: 0.15em; }
.kit-banner .h3-fs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Its old homes stay in place but no longer hold it visually (a transformed parent would capture a fixed child). */
#app[data-main-mode=desktop] .lantern-controls329__desktop > .lantern-controls329__feature-mount { position: static !important; transform: none !important; width: auto !important; }
.h3-app.lantern-feature-visible .h3-title { visibility: visible; }
/* 3956: while the banner shows, the page's texts under it are hidden (app.mjs hideUnderBanner); nothing moves. */
[data-under-banner] { visibility: hidden !important; }
/* 3957: an alert is never under the banner. While the banner shows, the alert row is positioned where it lies (it does
   not move), so its z-index sets it above the banner (7); on every layout the two share one stacking context, #app's. */
#app.lantern-feature-visible #alertRow { position: relative; z-index: 8; }
/* A narrow wide-banner shows the three values alone (under the FREE SPINS title). */
/* 3977 (FAC-10): what was @container (max-width: 300px): app.mjs marks a banner of 300 px or less kit-banner--narrow */
.kit-banner.kit-banner--narrow:not(.kit-banner--compact) .kit-banner__panel small { display: none; }

/* ---- the settings menu: the kit's icons (speed x3, close, paytable, autoplay, info, lobby) ---- */
.lantern-menu-host .lantern-menu__icon.kit-icon { width: 36px !important; height: 36px !important; flex: none; }
.lantern-menu-host .lantern-menu__mark.kit-icon { border: 0 !important; border-radius: 0 !important; font-size: 0 !important; color: var(--l07-colour-044); }
.lantern-menu-host .lantern-menu__close { border: 0 !important; background: var(--l07-colour-044) !important; box-shadow: none !important; padding: 0 !important; }
.lantern-menu-host .lantern-menu__close .kit-icon { display: block; width: 100%; height: 100%; }
/* Wider landscape phones: BET's caption sits in its row and SPIN is a little narrower, so the logo keeps the
   size 3940 gave it (at least 70 px tall on the iPhone 13). */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 800px) {
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet { --kit-bet-w: clamp(56px, 10vw, 104px); }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__button { grid-template-columns: auto auto auto; grid-template-rows: auto; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__button::before { grid-column: 1; grid-row: 1; margin-right: 3px; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__value { grid-column: 2; grid-row: 1; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__caret { grid-column: 3; grid-row: 1; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary { width: min(100%, 184px); min-height: 48px; }
  #mainControlsMount .lantern-controls329__ls-rail.kit-panel { --kf: 0.06; gap: 1px; }
  #mainControlsMount .lantern-controls329__ls-speed > .lantern-controls329__speed-label { line-height: 14px; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { align-items: stretch; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { width: min(100%, 96px); align-self: center; font-size: 20px; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__label { line-height: 14px; }
  #mainControlsMount .lantern-controls329__ls-lower { gap: 1px; }
}

/* 3955: words that do not fit their clear area at 11 px take two lines (text-fit.mjs); amounts never wrap. */
.text-fit--lines { white-space: normal !important; text-align: center; text-wrap: balance; }
.kit-banner .kit-banner__panel.text-fit--lines { flex-direction: column; gap: 0.1em; }

/* ---- 3955: no text under 11 px, and text only on its piece's clear area ---------------------------------
   Sizes follow from the kit's clear areas: the longest balance, 999999.9999, is 71 x 15 px at 11 px in Cinzel,
   and a balance past a million, 1000020.5999, is 75.5 px: a BALANCE plate is at least 158 px wide (its clear
   area is 50.7% of the plate's width and 16.7% of it in height; the fit keeps 0.5 px inside); a plate with any text at 11 px is at least 92 px wide; the short plaque takes
   BUY BONUS on two lines from 124 px (on one line from 147 px); the long plaque on one line from 119 px (11 px; at the 12 px of 3978, 121.5 px, or 115.3 px with the words 0.03em closer: 3985 below). */
.h3-lines-label { font-size: 20px !important; }
/* Desktop band: wider meters, BET plate and plaques. */
#mainControlsMount .lantern-controls329__desktop { --kit-meter-w: clamp(158px, 11vw, 200px); --kit-bet-w: clamp(96px, 6.6vw, 150px);
  --kit-plaque-w: clamp(128px, 10vw, 170px); }
@media (orientation: portrait) {
  /* The meters in two rows: BALANCE and WIN side by side, each plate about half the panel, then BET with its
     caption beside it. */
  .portrait-win .portrait-win__meters.kit-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "balance win" "bet bet";
    row-gap: 2px; column-gap: 4px; padding: 0 4px; }
  .portrait-win .portrait-win__meters > .meter:first-child { grid-area: balance; }
  .portrait-win .portrait-win__meters > .meter:last-child { grid-area: win; }
  .portrait-win .portrait-win__meters > .meter--bet { grid-area: bet; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .portrait-win .meter strong.kit-plate { width: min(100%, 200px); }
  /* 3985: a plate's text box is a percentage of its containing block's width (tools/kit-css.mjs), so the plate must fill its container: where a plate is capped
     (200 px, 190 px) the container is capped with it, else on a tablet upright (810 to 1024 px wide) a 200 px plate in a 393 px column has paddings of 98.8 and 95.1 px and a
     clear area 6 px across (0 at 1024 px), and BALANCE and WIN fall to 12 px, BUY BONUS to two lines. On a phone the container is narrower than the cap and nothing changes. */
  .portrait-win .portrait-win__meters > .meter:not(.meter--bet) { width: min(100%, 200px); justify-self: center; }
  .portrait-win .portrait-win__primary > .action--bonus, .portrait-win .portrait-win__primary > .action--auto { width: min(100%, 190px); justify-self: center; }
  .portrait-win .portrait-win__meters .meter__bet-row { width: auto; flex: none; gap: 4px; }
  .portrait-win .meter__bet-row > .lantern-select329 { width: auto; }
  .portrait-win .meter--bet .lantern-select329__value { width: 104px; }
  /* Captions clear of their icons. */
  .portrait-win .wide-action, .portrait-win .footer-action, .portrait-win .portrait-speed-slot348 { gap: 4px; }
}
/* Every text on a clear area is centred on it (the fit scales it about the centre). */
.kit-plate--meter, .kit-plate--long, .kit-plate--short, #mainControlsMount .lantern-controls329__bet-mid .lantern-select329__value,
.portrait-win .meter--bet .lantern-select329__value, .kit-banner .kit-banner__title, .kit-banner .kit-banner__panel {
  display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; }
.h3-beta { font-size: 20px !important; }
.h3-demo-note { font-size: 20px !important; top: 24px !important; }
#mainControlsMount .lantern-controls329__dt-side .lantern-controls329__pill { font-size: clamp(20px, 0.8vw, 14px); }
/* Phones in landscape: BALANCE and WIN leave the rail for the status band under the reels, each with its
   caption above a plate wide enough for the longest amount; the status line sits centred between them (both
   sides keep the same room). The rail keeps the logo, BET, SPIN, BUY BONUS and AUTO, and the icons. */
@media (orientation: landscape) and (max-height: 500px) {
  .lantern-controls329 .lantern-controls329__landscape { --ls-band: 56px; padding-bottom: calc(var(--ls-band) + var(--lc-safe-bottom)) !important; }
  .lantern-controls329 .lantern-controls329__ls-status { min-height: var(--ls-band) !important; height: var(--ls-band); display: flex; align-items: center;
    justify-content: center; text-align: center; padding: 2px 174px !important; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { position: absolute; z-index: 3; left: calc(var(--lc-safe-left) + 6px);
    right: calc(var(--lc-safe-right) + 6px); bottom: calc(var(--lc-safe-bottom) + 3px); height: 40px; display: flex; justify-content: space-between;
    align-items: center; gap: 8px; pointer-events: none; }
  /* A meter's box is exactly its plate (a plate's text insets are % of its containing block's width); the
     caption hangs to its left. */
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { padding: 0; height: 41px; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { position: relative; display: block; flex: none; width: 158px; padding: 0; margin: 0; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__label { position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); top: auto;
    transform: none; text-align: center; white-space: nowrap; line-height: 1; font-size: 20px; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { width: 100% !important; font-size: 20px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  /* The rail at least 244 px wide: BUY BONUS and AUTO side by side on the long plaque (one line at 11 px from
     111 px each), and BET's plate 96 px wide between - and +. */
  .lantern-controls329 .lantern-controls329__ls-rail { flex-basis: max(34%, 244px) !important; width: max(34%, 244px) !important; }
  #mainControlsMount .kit-rail-plaques { grid-template-columns: 1fr 1fr !important; gap: 3px !important; }
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { width: 100% !important; font-size: 20px !important; letter-spacing: 0 !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet { --kit-bet-w: 96px !important; }
  /* BET's caption above its plate on every rail (beside it, the row is wider than the rail). */
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__button { grid-template-columns: auto auto !important; grid-template-rows: auto auto !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__button::before { grid-column: 1 / 3 !important; grid-row: 1 !important; margin-right: 0 !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__value { grid-column: 1 !important; grid-row: 2 !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__caret { grid-column: 2 !important; grid-row: 2 !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__value { font-size: 20px; }
}
/* 3985: BUY BONUS inside its long plaque on the narrow rails (568x320, 667x320, 750x342 and every size between), the same plaque and the same size as AUTO (3950's rule:
   the matrix's autoStop check). At 12 px in Cinzel 700 the words are 75.06 px wide, and the long plaque's clear area is 63.16% of its width across (the fit keeps 0.5 px
   inside); AUTO, and STOP 100, need the plaque 111.6 px wide (the clear area is 15.23% of it tall: a line box of 16 px and the fit's 0.5 px on each side). The words are
   0.03em closer (as the band's digits and the banner's amounts are: 3.24 px, 71.82 px), which BUY BONUS needs a plaque 115.3 px wide for; the rail is 254 px (it was 244, and 228 of
   it for the pair), so each plaque is 117.5 px (the 34% share takes over from 747 px of width), and the gap between the reels and the rail is 4 px where the rail grew. From
   771 px of width the halves are 121.5 px, the words' own width, and the tracking goes. */
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) {
  .lantern-controls329 .lantern-controls329__ls-rail { flex-basis: max(34%, 254px) !important; width: max(34%, 254px) !important; }
}
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) and (max-width: 770.98px) {
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
  #mainControlsMount .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { letter-spacing: -0.03em !important; }
}
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) and (max-width: 746.98px) {
  #mainControlsMount .lantern-controls329__landscape { gap: 4px !important; }
}
@media (orientation: landscape) and (max-height: 360px) {
  .lantern-controls329 .lantern-controls329__ls-status #status { font-size: 20px !important; line-height: 13px !important; }
}
/* Desktop band: the sides take their content's width and SPIN takes what is left (at least 184 px); below
   1600 px BUY BONUS and AUTO stand one above the other, so BALANCE, BET and WIN keep their plates. */
#mainControlsMount .lantern-controls329__dt-row { grid-template-columns: max-content minmax(184px, 1fr) max-content !important; }
#mainControlsMount .lantern-controls329__dt-row > .lantern-controls329__primary { max-width: 100%; justify-self: center; }
#mainControlsMount .lantern-controls329__dt-side { justify-content: flex-start; gap: 6px; }
#mainControlsMount .lantern-controls329__dt-right .lantern-controls329__meter-value.kit-plate { width: 144px; font-size: 20px; }
#mainControlsMount .lantern-controls329__dt-left .lantern-controls329__meter-value.kit-plate { width: var(--kit-meter-w); }
@media (max-width: 1599px) {
  #mainControlsMount .lantern-controls329__desktop { --kit-meter-w: 158px; --kit-bet-w: 96px; --kit-plaque-w: 132px; }
  #mainControlsMount .lantern-controls329__dt-right { display: grid !important; grid-template-columns: repeat(4, max-content); grid-template-rows: auto auto;
    column-gap: 6px; row-gap: 2px; align-items: center; justify-content: end; }
  #mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__meter { grid-column: 1; grid-row: 1 / 3; }
  #mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__tool { grid-column: 2; grid-row: 1; min-height: 48px; }
  #mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__auto { grid-column: 2; grid-row: 2; min-height: 48px; }
  #mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__speed { grid-column: 3; grid-row: 1 / 3; }
  #mainControlsMount .lantern-controls329__dt-right > .lantern-controls329__pill { grid-column: 4; grid-row: 1 / 3; }
}

/* 3959: the slot harness checklist (SLOT-HARNESS-CHECKLIST.md), screen by screen. tools/matrix/checks-3959.mjs measures
   each rule on every layout. */
/* No sliver of the scene (A), desktop: the reel frame and the bar reach the left, right and bottom edges; only the
   header keeps its top margin. */
#app[data-main-mode=desktop] { padding-right:env(safe-area-inset-right,0px); padding-bottom:env(safe-area-inset-bottom,0px); padding-left:env(safe-area-inset-left,0px); }
/* The logo (B2): centred above the reels, in free spins too (the banner stands in for the meters in the bar since
   3955, so the logo keeps its place); the header's right part is the host's column. */
#app[data-main-mode=desktop] .h3-title-block { justify-content:center; padding-right:calc(clamp(110px,16vw,270px) + 6px); }
/* LOBBY (A, "use the space"): the medallion fills the header's height on desktop. 3961: its width and height both
   come from the header row's own height (root-fit.css --h3-top-row), not the width from the height by aspect-ratio,
   which WebKit could leave at a wider window's size after a resize (the 3960 stretch audit: 100x94 at 1440x900). */
#app[data-main-mode=desktop] .h3-lobby.kit-lobby { width:min(100px, calc(var(--h3-top-row) - 14px)); height:min(100px, calc(var(--h3-top-row) - 14px)); aspect-ratio:auto; }
/* Text only where the art is clear (A): the demo note sits on the Beta tag's plain plate, not on the scene. */
.h3-demo-note { background:var(--l07-colour-035); border:1px solid var(--l07-colour-037); border-radius:3px; padding:0 4px; }
/* Use the space (A): the menu's sound row shows its speaker at the size of the menu's other icons (36 px, not 1.25em). */
.lantern-menu-host .lantern-menu__sound .sound-state-icon.kit-icon { width:36px; height:36px; }
/* One win frame on every layout (B4): gold, around the whole cell (its outer edge is the cell's edge), clear of the
   symbol's art, thick enough to see: 4 px on phones, 0.7 % of the screen's height on desktops (6 px at 900).
   The cell's own 1 px border stays, so nothing changes size when a win shows. */
#board .h3-cell.win { --win-frame:4px; border-width:1px; outline:var(--win-frame) solid var(--l07-colour-104); outline-offset:calc(-1 * var(--win-frame)); box-shadow:inset 0 0 14px var(--l07-colour-179), 0 0 8px var(--l07-colour-104); }
#board .h3-cell.win.win-alt { outline-color:var(--l07-colour-018); }
#app[data-main-mode=desktop] #board .h3-cell.win { --win-frame:max(4px, 0.7vh); }
/* No sliver (A), phones in landscape and desktops under 1200 px (the rail layout): the strips beside the slot (the
   notch sides, the home bar, the row of the paid line) are plain, like the bottom band (the app fills the screen). */
#app[data-main-mode=landscape] { background:var(--l07-colour-175); }
/* The band holds the win (B2): on desktop the winning line (its symbols, the combination and the amount) shows in
   the band's status row beside the message, in the theme's lettering; the row keeps its place (nothing moves), and
   it lies right of the message, clear of the free-spins banner over BALANCE and BET and of the bar frame's corner
   ornament (66 px at the bar's frame scale). */
#app[data-main-mode=desktop] .lantern-controls329__dt-status { position:relative; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid { position:absolute; right:80px; top:50%; transform:translateY(-50%); width:auto; margin:0;
  display:flex; align-items:center; gap:8px; font:700 20px/1 var(--l07-font-display); color:var(--l07-colour-156); white-space:nowrap; pointer-events:none; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid[hidden] { display:none; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid .lantern-controls329__paid-thumbs { display:flex; gap:3px; margin:0; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid .lantern-controls329__paid-thumb { width:26px; height:26px; object-fit:contain; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid .lantern-controls329__paid-line { display:flex; gap:8px; align-items:baseline; font-size:20px; }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid .lantern-controls329__paid-line strong { color:var(--l07-colour-105); }
#app[data-main-mode=desktop] .lantern-controls329 .lantern-controls329__dt-paid .lantern-controls329__paid-status { font-size:20px; color:var(--l07-colour-178); }
@media (orientation:portrait) {
  /* No empty strip of the scene (A): the paid row keeps its panel while it has no win to show; only its content
     waits (3940 kept its space). */
  .portrait-win .portrait-win__paid[hidden] { visibility:visible; }
  .portrait-win .portrait-win__paid[hidden] > * { visibility:hidden; }
  /* No sliver (A), portrait: the reels, the meters and the paid row reach both edges and meet with no gap; the
     buttons keep their margins. */
  .portrait-win .portrait-win__shell { padding-left:0; padding-right:0; row-gap:0; }
  .portrait-win .portrait-win__header, .portrait-win .portrait-win__primary { margin:0 7px; }
  .portrait-win .portrait-win__primary, .portrait-win .portrait-win__secondary, .portrait-win .portrait-win__footer { margin-top:5px; }
  .portrait-win .portrait-win__secondary { margin-left:7px; }
  .portrait-win .portrait-win__footer { margin-right:7px; }
  .portrait-win .portrait-win__board { margin-top:5px; border-radius:0; }
  .portrait-win .portrait-win__paid { border-radius:0; }
  /* The status line's band under the buttons is plain, not the scene. */
  .h3-app.portrait-integrated { background:var(--l07-colour-175); }
  /* The symbols fill their cells (B3): each symbol's visible art (not its transparent margin, as on desktop) fills
     the cell, 5 px clear of its edge, where the win frame lies. The cell's one grid track is the cell itself (a wide
     image box must not grow the track, or the symbol is sized and centred on the larger track). */
  .portrait-win .h3-cell { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .portrait-win .h3-symbol { width:calc((100% - 10px) * var(--art-width,1)); height:calc((100% - 10px) * var(--art-height,1)); max-width:none; max-height:none; }
}

/* ---------------------------------------------------------------- 3962: the desktop bar from the z778 kit ----
   Desktop layouts only (#app[data-main-mode=desktop]); phones keep theirs. One unit, --u: 1/1920 of the window's width
   or 1/1080 of its height, whichever is less, at most 1.15 px, so every piece scales uniformly with the window. Two
   rows: BALANCE, BET and WIN on value plates above BUY BONUS, SPIN and AUTO on the action plaque, the round buttons
   either side (menu, info, sound; speed, full screen, LOBBY) with a caption under each where it is 11 px or more. The
   rail: its caps at the ends, only its plain middle repeating. Every piece keeps its own proportions; every text lies
   in its piece's clear area (ASSETS.json). At 1920x1080: the bar 214 px (19.8 % of the height), SPIN 523x134. */
#app[data-main-mode=desktop] #lobbyBtn { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop {
  --u: min(0.0520833vw, 0.0925926vh, 1.15px);
  --round: calc(76 * var(--u)); --plate-h: calc(48 * var(--u)); --plaque-h: calc(84 * var(--u)); --spin-h: calc(134 * var(--u));
  display: grid !important; box-sizing: border-box; min-height: 0; height: auto; overflow: visible;
  grid-template-columns: repeat(9, max-content);
  grid-template-rows: calc(var(--plate-h) + 2 * var(--u)) var(--plaque-h) calc(var(--spin-h) - var(--plaque-h)) auto;
  /* The round buttons fill the bar's height (the art stays its size, centred), so no control has idle room around it;
     SPIN spans the two lower rows; under BUY BONUS the status, under AUTO the winning line; an alert takes a row of its own
     under them (empty and 0 px tall otherwise), so it never lies under the free-spins banner. */
  grid-template-areas: "menu info sound bal bet win speed full lobby" "menu info sound buy spin aut speed full lobby" "menu info sound st spin pd speed full lobby"
    "al al al al al al al al al";
  justify-content: center; align-items: center; justify-items: center;
  column-gap: max(6px, calc(8 * var(--u))); row-gap: 6px;
  /* The top 24 px lie under the reels' frame (it overlaps the bar by 12.8 px) and its caption "25 LINES", which
     straddles that edge; the plates start below them. */
  padding: calc(24px + 2 * var(--u)) calc(70 * var(--u)) calc(3 * var(--u)) !important; /* the sides clear the caps' blossoms */
  border: 0 !important; border-image: none !important; border-radius: 0 !important; box-shadow: none !important;
  background: url(./assets/kit/bar/rail-left.87acd53cb586d79d.webp) left top / auto 100% no-repeat,
              url(./assets/kit/bar/rail-right.00093741b0f9714e.webp) right top / auto 100% no-repeat,
              url(./assets/kit/bar/rail-repeat.c3e0d62e50408dbd.webp) left top / auto 100% repeat-x !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-row,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-side { display: contents !important; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] { display: contents !important; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=fm],
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-mount,
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-text { grid-area: st; align-self: start; justify-self: center; min-width: 0; max-width: 100%; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=al] { grid-area: al; align-self: start; justify-self: center; min-width: 0; max-width: 100%; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-mount,
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-text { padding-top: calc(3px + 2 * var(--u)) !important; } /* clear of BUY BONUS's plaque */
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__dt-paid {
  grid-area: pd; align-self: start; justify-self: center; position: static !important; transform: none !important; right: auto !important; top: auto !important; margin: 0 !important;
  display: flex !important; flex-direction: row; align-items: center; gap: calc(6 * var(--u)); max-width: 100%; min-width: 0;
  padding-top: calc(3px + 2 * var(--u)) !important; /* clear of AUTO's plaque, as the status line is of BUY BONUS's (WebKit at 1280x720) */
}
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__dt-paid[hidden] { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__dt-paid .lantern-controls329__paid-thumb { width: calc(22 * var(--u)) !important; height: calc(22 * var(--u)) !important; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__dt-paid .lantern-controls329__paid-line { font-size: max(20px, calc(15 * var(--u))) !important; gap: calc(6 * var(--u)) !important; white-space: nowrap; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__dt-paid .lantern-controls329__paid-status { font-size: max(20px, calc(13 * var(--u))) !important; white-space: nowrap; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=buy], #app[data-main-mode=desktop] #mainControlsMount [data-bar=aut] { align-self: center; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=menu], #app[data-main-mode=desktop] #mainControlsMount [data-bar=info], #app[data-main-mode=desktop] #mainControlsMount [data-bar=sound],
#app[data-main-mode=desktop] #mainControlsMount [data-bar=speed], #app[data-main-mode=desktop] #mainControlsMount [data-bar=full], #app[data-main-mode=desktop] #mainControlsMount [data-bar=lobby] { align-self: stretch; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] .lantern-controls329__status-text,
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] #status { font-size: max(20px, calc(14 * var(--u))) !important; line-height: 1.2; margin: 0; text-align: center; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=menu] { grid-area: menu; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=info] { grid-area: info; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=sound] { grid-area: sound; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=bal] { grid-area: bal; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=bet] { grid-area: bet; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=win] { grid-area: win; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=buy] { grid-area: buy; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=spin] { grid-area: spin; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=aut] { grid-area: aut; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=speed] { grid-area: speed; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=full] { grid-area: full; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=lobby] { grid-area: lobby; }

/* The round buttons: the backed round button (971x952) under the icon, the icon in the button's clear circle. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__pill {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: calc(3 * var(--u));
  width: auto !important; min-width: 0 !important; min-height: 0 !important; height: auto !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
/* 3978: a launch with no lobby hides LOBBY (the pill's hidden attribute): the display above must not win over it. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__pill[hidden] { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-icon.kit-icon,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button::before {
  content: '' !important; display: block !important; box-sizing: border-box; flex: none; width: calc(var(--round) * 971 / 952) !important; height: var(--round) !important;
  min-width: 0 !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
  background-color: var(--l07-colour-044) !important; box-shadow: none !important; background-repeat: no-repeat !important; background-position: center, center !important;
  background-image: url(./assets/kit/bar/icon-menu.f9672cdc862f9a21.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important;
  background-size: 44% auto, 100% 100% !important; font-size: 0 !important; color: var(--l07-colour-044) !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .kit-icon[data-kit-icon=info] { background-image: url(./assets/kit/bar/icon-info.14c29fd386278ad4.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; background-size: auto 44%, 100% 100% !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .kit-icon[data-kit-icon=soundOn] { background-image: url(./assets/kit/bar/icon-sound-on.70bc7106385153da.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .kit-icon[data-kit-icon=soundOff] { background-image: url(./assets/kit/bar/icon-sound-off.549c77c6abc887b8.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .kit-icon[data-kit-icon=fullscreen] { background-image: url(./assets/kit/bar/icon-fullscreen.9e82766d89902029.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .kit-icon[data-kit-icon=lobby] { background-image: url(./assets/kit/bar/icon-lobby.e7a1dadde45cfac7.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button::before { background-image: url(./assets/kit/bar/icon-speed.42b1ec81dd8e7785.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; }
/* SPEED: the drop-down's own button is the round button (the round art on ::before, the caption on ::after); its old
   icon, value and caret are not shown on desktop. It fills both rows as the others do. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed {
  display: flex !important; flex-direction: column; align-items: stretch; justify-content: stretch; width: auto !important; min-width: 0 !important; height: auto; margin: 0 !important; padding: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed > .lantern-controls329__speed-label { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329 { display: flex !important; flex: 1 1 auto; width: auto !important; height: 100% !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: calc(3 * var(--u)); flex: 1 1 auto;
  width: auto !important; min-width: calc(var(--round) * 971 / 952) !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button > .kit-speed-icon,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button > .lantern-select329__value,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button > .lantern-select329__caret { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button::after {
  content: 'SPEED'; display: block; font: 700 20px / 1.1 var(--l07-font-display); color: var(--l07-colour-156); letter-spacing: 0.03em; white-space: nowrap;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-caption {
  display: block; font: 700 20px / 1.1 var(--l07-font-display) !important; color: var(--l07-colour-156); letter-spacing: 0.03em; white-space: normal; text-align: center; text-transform: uppercase; margin: 0 !important;
  width: max-content; max-width: max(90px, calc(var(--round) * 971 / 952));
}
/* Keep the existing caption visibility threshold and the 20 px button floor.
   Longer captions wrap inside their columns without changing the round art. */
@media (max-width: 1407px), (max-height: 791px) {
  #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__dt-caption,
  #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__speed .lantern-select329__button::after { display: none !important; content: none !important; }
}

/* The value plates (1413x367; clear area x 18.97-81.03 %, y 22.07-77.93 %): the amount inside the clear area; the words
   BALANCE and WIN beside their plates, BET inside its plate before the amount (as before 3962). */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter {
  display: flex !important; flex-direction: row; align-items: center; justify-content: center; gap: calc(8 * var(--u)); width: auto !important; min-width: 0 !important;
  height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter > .lantern-controls329__label {
  display: block; font: 700 max(12px, calc(14 * var(--u))) / 1 var(--l07-font-display) !important; color: var(--l07-colour-178); letter-spacing: 0.06em; margin: 0 !important; padding: 0 !important;
  text-shadow: 0 1px 2px var(--l07-colour-176);
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter-value.kit-plate,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329__button {
  display: flex !important; align-items: center; justify-content: center; gap: calc(5 * var(--u)); box-sizing: border-box; flex: none;
  width: calc(var(--plate-h) * 1413 / 367) !important; height: var(--plate-h) !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important;
  padding: calc(var(--plate-h) * 0.2207) calc(var(--plate-h) * 1413 / 367 * 0.19) !important;
  background: url(./assets/kit/bar/value-plate.d9cc258d59606acd.webp) center / 100% 100% no-repeat !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  font-size: calc(26 * var(--u)); line-height: 1; color: var(--l07-colour-105); text-align: center; white-space: nowrap; overflow: visible;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid {
  display: contents !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid > .lantern-controls329__label { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329 {
  display: block !important; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329__button::before {
  display: block; font: 700 max(12px, calc(12 * var(--u))) / 1 var(--l07-font-display) !important; color: var(--l07-colour-178); margin: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329__value {
  display: block; width: auto !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  aspect-ratio: auto !important; /* the old meter plate's ratio (kit.css) no longer shapes the amount's box */
  font-size: calc(24 * var(--u)); line-height: 1; color: var(--l07-colour-105);
}
/* 3963: no small arrow for a drop-down (Kunal): the bet's drop-down keeps Lantern's round drop-down button (the kit's
   round caret, as on phones), inside the plate's clear area, until the drop-down field is drawn. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329__caret {
  flex: none; width: calc(18 * var(--u)) !important; height: calc(18 * var(--u)) !important; min-width: 0 !important; min-height: 0 !important; aspect-ratio: 1 / 1 !important;
  border: 0 !important; margin: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet {
  display: flex !important; align-items: center; justify-content: center; gap: calc(6 * var(--u)); width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet .lantern-controls329__round.kit-round {
  flex: none; box-sizing: border-box; width: calc(44 * 971 / 952 * var(--u)) !important; height: calc(44 * var(--u)) !important; min-width: 0 !important; min-height: 0 !important;
  padding: 0 !important; border: 0 !important; border-radius: 50% !important; aspect-ratio: auto !important; color: var(--l07-colour-044) !important; font-size: 0 !important; box-shadow: none !important;
  background-color: var(--l07-colour-044) !important; background-repeat: no-repeat !important; background-position: center, center !important;
  background-image: url(./assets/kit/bar/icon-plus.a5a2c77ad8ecc6f8.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important; background-size: 44% auto, 100% 100% !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet .lantern-controls329__round.kit-round[data-kit-round=minus] {
  background-image: url(./assets/kit/bar/icon-minus.dfe3c2c0c4f1b83c.webp), url(./assets/kit/bar/round-button-backed.87a4219a90af4b81.webp) !important;
}

/* The action plaque (1409x361; clear area x 19.02-80.98 %, y 21.88-78.12 %): SPIN or STOP, BUY BONUS, AUTO or STOP n. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__primary,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__buy,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__auto {
  --h: var(--plaque-h);
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; position: relative;
  width: calc(var(--h) * 1409 / 361) !important; height: var(--h) !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important; margin: 0 !important;
  padding: calc(var(--h) * 0.2188) calc(var(--h) * 1409 / 361 * 0.1902) !important;
  background: url(./assets/kit/bar/action-plaque.f60f91d5c12ecb84.webp) center / 100% 100% no-repeat !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__primary { --h: var(--spin-h); }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__primary-art { display: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__primary-label {
  position: static !important; inset: auto !important; transform: none !important; display: block; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important;
  overflow: visible !important; clip: auto !important; clip-path: none !important; white-space: nowrap;
  font: 700 calc(var(--h) * 0.36) / 1 var(--l07-font-display) !important; color: var(--l07-colour-180) !important; text-align: center; letter-spacing: 0.04em;
  text-shadow: 0 2px 3px var(--l07-colour-048) !important;
}
/* BUY BONUS and AUTO: the plaque is drawn on the button's own kit plate (the span), the button itself paints nothing. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__buy,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__auto { padding: 0 !important; background: none !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__buy > .lantern-controls329__plaque,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__auto > .lantern-controls329__auto-title {
  display: flex !important; align-items: center; justify-content: center; box-sizing: border-box; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: calc(var(--h) * 0.2188) calc(var(--h) * 1409 / 361 * 0.1902) !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  background: url(./assets/kit/bar/action-plaque.f60f91d5c12ecb84.webp) center / 100% 100% no-repeat !important;
  font-family: var(--l07-font-display); font-weight: 700; font-size: calc(var(--h) * 0.30); line-height: 1.05; color: var(--l07-colour-180); text-align: center; white-space: nowrap;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__auto > .lantern-controls329__auto-state:empty { display: none; }

/* 3963: the message line on phones (upright and sideways): its letters as large as the balance's digits on the same
   screen (--msg-size, set by the game from the balance as shown), at most two lines; the words are kept short enough
   (messages.mjs), never the letters smaller. */
#app #status.msg-sized { font-size: max(20px, var(--msg-size)) !important; line-height: 1.3 !important; white-space: normal !important; overflow: visible !important;
  text-overflow: clip !important; max-height: none !important; height: auto !important; }
/* 3963: in the desktop bar the message line wraps inside its cell under BUY BONUS (three lines at most) and never widens
   the cell's column (a long message pushed MENU and LOBBY out of the window in 3962). */
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-mount,
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-text { width: 0 !important; min-width: 100% !important; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] #status,
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] .lantern-controls329__status-text { white-space: normal !important; overflow-wrap: break-word; }

/* 3965: phones held upright: the band under the bet stood empty in the base game and in free spins, and the message
   line sat in small letters at the very bottom. The band now sits under the title, on the reels, and shows the message
   line at 3963's letter sizes (the balance's, two lines at most) or, while a win's paid line shows, that line. It is
   two message lines tall either way, so nothing moves. Under the reels the control area then holds the meters, SPIN,
   BUY BONUS and AUTO, and the round icons, with SPIN in its middle (3963).
   3975: the shell's four columns (above): the round icons are SPEED, MENU, INFO and SOUND in four equal slots. */
@media (orientation: portrait) {
  .portrait-win .portrait-win__shell { grid-template-rows: auto auto minmax(90px, 1fr) auto auto auto;
    grid-template-areas: "head head head head" "paid paid paid paid" "board board board board" "meters meters meters meters"
      "primary primary primary primary" "second second foot foot"; }
  .portrait-win .portrait-win__paid { margin-top: 5px; height: calc(2.6 * var(--msg-size, 16px) + 12px); min-height: 48px; }
  .portrait-win .portrait-win__board { margin-top: 0; }
  .portrait-win .portrait-win__paid > #status { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0 4px; text-align: center; color: var(--l07-colour-171); }
  .portrait-win .portrait-win__paid[hidden] > #status { visibility: visible !important; }
  /* While the band shows the line, the paid line's empty pieces take no room, so the line stands in the band's middle. */
  .portrait-win .portrait-win__paid[hidden] > :not(#status) { display: none; }
  .portrait-win .portrait-win__paid:not([hidden]) > #status { display: none !important; }
}
/* 3965: short phones held upright (the iPhone SE with Safari's bars, 375x548, D70): the reels keep their play area (D63,
   cells at least 56 px tall). The controls make the room, not the reels: the message line moved into the band (above),
   and on phones 630 px tall or less the title is shorter, the rows sit closer, the meters' captions take one line
   height, and the round icons lose their captions on screen (each keeps its name for screen readers). BALANCE and WIN
   stay side by side over BET (3964's two rows: in one row each plate is too narrow for a balance of 999999.9999).
   Every control stays 44 px or more. */
@media (orientation: portrait) and (max-height: 630px) {
  .portrait-win .portrait-win__header { height: clamp(44px, 8dvh, 112px); }
  .portrait-win .portrait-win__paid, .portrait-win .portrait-win__primary, .portrait-win .portrait-win__secondary, .portrait-win .portrait-win__footer { margin-top: 3px; }
  .portrait-win .portrait-win__primary { row-gap: 2px; }
  .portrait-win .portrait-win__meters > .meter > span { line-height: 1; }
  .portrait-win .meter strong.kit-plate { width: min(100%, 150px); }
  /* The bottom keeps only the phone's own safe area (Safari's bar leaves none): 2 px under the icons instead of 12. */
  .portrait-win .portrait-win__shell { padding-bottom: max(2px, var(--portrait-safe-bottom, env(safe-area-inset-bottom))); }
  .h3-app.portrait-integrated { padding-bottom: env(safe-area-inset-bottom); }
  .portrait-win .wide-action > span:not(.kit-icon), .portrait-win .footer-action > span:not(.kit-icon), .portrait-win .portrait-speed-slot348 > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
/* 3984 (the lead's choice A of 3983's candidates), 375x548: BALANCE and WIN on Astra's compact meter plate (168 px wide, its clear area 113.4 x 19.6 px), the
   panel's frame kept. Amounts up to 999,999.99 are 20 px. The meters block keeps its height (115.7px, so the reels' cells and the free-spins banner, which is
   sized by the block, are as they were). */
@media (orientation: portrait) and (min-width: 374.5px) and (max-width: 375.5px) and (max-height: 630px) {
  .portrait-win .portrait-win__meters.kit-panel { min-height: 115.7px; align-content: center; }
  .portrait-win .meter:not(.meter--bet) > strong.kit-plate {
    width: 168px !important; aspect-ratio: 1462 / 310;
    background: url(./assets/kit/compact-meter.67fc4752ae7ff8da.webp) no-repeat 50% 39.9083% / 101.7784% 170.3226% !important;
    padding: 8.6183px 28.2681px 7.3543px 26.3146px !important;
  }
}
/* 3965: one size for all eight on phones held sideways too. There every symbol's box is 94 % of its cell's grid track,
   and that track is sized from the box itself (the cell centres an auto track), so a wider box would widen its own
   track: each symbol keeps the low symbols' box, and a high symbol's picture is scaled inside it by its --art-even (the
   low symbols' visible share of their image over its own; 1 for the others). The scale leaves the layout as it is. */
.lantern-controls329 .h3-cell[data-role] .h3-symbol, .lantern-landscape .h3-cell[data-role] .h3-symbol { scale: var(--art-even, 1); }

/* 3984 (the lead's choice A of 3983's candidates), 375x667: the same plate at this height (168 px wide, its clear area 113.4 x 19.6 px), the panel's frame kept.
   The meters block keeps its height (127.9px, so the reels' cells and the free-spins banner, which is sized by the block, are as they were). */
@media (orientation: portrait) and (min-width: 374.5px) and (max-width: 375.5px) and (min-height: 631px) {
  .portrait-win .portrait-win__meters.kit-panel { min-height: 127.9px; align-content: center; }
  .portrait-win .meter:not(.meter--bet) > strong.kit-plate {
    width: 168px !important; aspect-ratio: 1462 / 310;
    background: url(./assets/kit/compact-meter.67fc4752ae7ff8da.webp) no-repeat 50% 39.9083% / 101.7784% 170.3226% !important;
    padding: 8.6183px 28.2681px 7.3543px 26.3146px !important;
  }
}
/* 3966: the desktop line at the balance digits' size (the lead's answer 1 to 3963; app.mjs sets --msg-size from the
   bar's balance plate), two lines at most in its cell under BUY BONUS. The cell is the status mount, stretched over its
   grid cell, so the line's bar is the cell itself; the line sits at its top, clear of the plaque. */
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] > .lantern-controls329__status-mount { align-self: stretch; justify-self: stretch; box-sizing: border-box; }
#app[data-main-mode=desktop] #mainControlsMount [data-bar=st] #status.msg-sized { font-size: max(20px, var(--msg-size)) !important; line-height: 1.15 !important; }
/* 3966: the bet's −, + and drop-down at least 44 px on every desktop (the lead's answer 8 to 3963): 44u and 48u where
   those are more (from about 1760x990 on), 44 px below that; the round buttons and the plate keep their proportions.
   The bar's first row grows with them where they grow (at 1440x900 by 8 px); the bar stays within 20 % of the window's
   height at 1440x900 and 1920x1080 (3962). */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop {
  grid-template-rows: max(calc(var(--plate-h) + 2 * var(--u)), calc(44px + 2 * var(--u))) var(--plaque-h) calc(var(--spin-h) - var(--plaque-h)) auto;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet .lantern-controls329__round.kit-round {
  width: max(calc(44px * 971 / 952), calc(44 * 971 / 952 * var(--u))) !important; height: max(44px, calc(44 * var(--u))) !important;
}
/* 3971: BALANCE and WIN on plates as tall as the BET field, 44 px or more, so the three plates look alike (Kunal). The
   amount fills the larger plate's clear area as before (text-fit from 26/48 of the plate's height), so the digits grow
   where the plate grows (1280x720, 1440x900); the desktop message line takes their size as far as two of its lines fit
   its cell (app.mjs fitMessageLine). Row 1 already holds 44 px, so the bar keeps its height. Both words beside the
   plates take the same width (5.5 em), so where a plate widens its column (1280x720) the WIN column widens as much and
   SPIN keeps its place. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter-value.kit-plate {
  --plate-h44: max(44px, var(--plate-h));
  width: calc(var(--plate-h44) * 1413 / 367) !important; height: var(--plate-h44) !important;
  padding: calc(var(--plate-h44) * 0.2207) calc(var(--plate-h44) * 1413 / 367 * 0.19) !important;
  font-size: calc(var(--plate-h44) * 26 / 48);
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter > .lantern-controls329__label {
  min-width: 5.5em; text-align: right;
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329__button {
  --bet-h: max(44px, var(--plate-h));
  width: calc(var(--bet-h) * 1413 / 367) !important; height: var(--bet-h) !important;
  padding: calc(var(--bet-h) * 0.2207) calc(var(--bet-h) * 1413 / 367 * 0.19) !important;
}

/* 3967: the drawn drop-down field (Astra, z865) for every amount the player picks: the bar's bet on desktop, phones
   upright and sideways, the Buy screen's stake and the autoplay panel's bet. app.mjs draws it from the theme's piece
   (theme.json dropdownField) at the height --dd-h and the width --dd-w each place sets here. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet-mid .lantern-select329--field {
  --dd-h: max(44px, var(--plate-h)); --dd-w: calc(var(--dd-h) * 3.6); }
/* Sideways the rail is narrow (244 px at 667x375 and 568x320; 34 % of the window, 232 px, at 683x512, a 1024x768
   window at 150 %): the bet row's middle takes the room between the - and the + (2 px from each, 3971), and the field is
   150 px or that room, whichever is less, but not under 124 px: the caps take 91 px of it, and "50.00" needs 33 px of
   clear area at the 11 px floor (3971: at 683x512 the room was 120 px and the amount left the clear area). Where the
   row is narrower still (a window under about 683 px, over 500 px tall), the field takes the room and 1 px of each
   gap, never more: it never covers the - or the +. SPIN's size and place depend on the rail alone, not on this row. */
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet { gap: 2px; }
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid { flex: 1 1 0 !important; min-width: 0 !important; display: flex !important; justify-content: center !important; }
#mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center;
  --dd-h: 44px; --dd-w: max(min(124px, 100% + 2px), min(150px, 100%)); }
.portrait-win .meter--bet .lantern-select329--field { --dd-h: 44px; --dd-w: 158px; }
#buyDialog .lantern-select329--field, .sap .lantern-select329--field, .shared-paytable .lantern-select329--field { --dd-h: 44px; --dd-w: 158px; }
/* The autoplay panel's stepper (10 px gaps; narrow in its compact form, 568x320): the field takes the room between the
   - and the +, 158 px at most. */
.sap .auto-stepper > .lantern-select329--field { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; --dd-w: min(158px, 100%); }
/* The field's pieces (their URLs set on the button by app.mjs for its state): ::before draws the middle, repeated
   sideways at its own shape from 1 px under the left cap to 1 px under the right one; ::after draws the two caps over
   it, each scaled to the field's height. No word before the value (the old plates' BET), no plate on the value. */
.lantern-select329.lantern-select329--field .lantern-select329__button::before,
.lantern-select329.lantern-select329--field .lantern-select329__button::after {
  content: '' !important; display: block !important; position: absolute !important; top: 0 !important; bottom: 0 !important; margin: 0 !important;
  width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  z-index: -1 !important; pointer-events: none; font-size: 0 !important; grid-area: auto !important;
  justify-self: stretch !important; align-self: stretch !important; min-width: 0 !important; max-width: none !important; }
.lantern-select329.lantern-select329--field .lantern-select329__button::before {
  left: calc(var(--dd-cl) - 1px) !important; right: calc(var(--dd-cr) - 1px) !important;
  background: var(--dd-middle) left top / auto 100% repeat-x !important; }
.lantern-select329.lantern-select329--field .lantern-select329__button::after {
  left: 0 !important; right: 0 !important;
  background: var(--dd-left) left top / var(--dd-cl) 100% no-repeat, var(--dd-right) right top / var(--dd-cr) 100% no-repeat !important; }
/* The native select stays for its name and its handlers, out of sight and out of the way (the paytable's too). */
.lantern-select329.lantern-select329--field > .lantern-select329__native {
  position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important;
  padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden !important; }
.lantern-select329.lantern-select329--field { position: relative; }
/* 3984 (2): the native select behind any drop-down (the speed slots' too, which the field rule above does not reach) is a helper and not a control on the screen:
   it is never drawn (opacity 0, as the field's is), it takes no pointer (inert, set where the drop-down is built), and no engine may give it the size of its own look
   for a select (appearance none: a real iPhone drew the speed select 10 x 15 px, covered by its wrapper, its options 48 px wide inside 10: the phone run's D143 rows). */
.lantern-select329 > .lantern-select329__native { opacity: 0; -webkit-appearance: none; appearance: none; }
/* The value: live text in the clear area, in the meters' font, as large as the area allows (half the field's height;
   today's desktop value was 24u, 18 px at 1440x900), fitted to the area by text-fit.mjs when a long amount needs it. */
.lantern-select329.lantern-select329--field .lantern-select329__button .lantern-select329__value {
  display: flex !important; align-items: center !important; justify-content: center !important; flex: 1 1 auto !important; align-self: stretch !important;
  width: auto !important; min-width: 0 !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; aspect-ratio: auto !important; background: none !important; border: 0 !important;
  font-family: var(--l07-font-display-times) !important; font-weight: 700 !important; font-size: calc(var(--dd-h, 44px) * 0.5) !important;
  line-height: 1 !important; color: var(--l07-colour-105) !important; text-shadow: 0 1px 2px var(--l07-colour-176); white-space: nowrap !important; text-align: center !important; }
.lantern-select329.lantern-select329--field[data-field=disabled] .lantern-select329__button .lantern-select329__value { color: var(--l07-colour-181) !important; }
/* The list opens on the kit's panel (Astra drew only the field); every row 44 px or more, the chosen one marked. */
.lantern-select329.lantern-select329--field > .lantern-select329__listbox.kit-panel { --kf: 0.12; padding: 2px !important; }
/* 3967: the Buy screen's stake: the drawn field (buy-window.mjs leaves the bet plate out; BET stands before the row),
   at the round buttons' size within the field's range, 44 to 64 px. */
#buyDialog .lantern-buyw__bet .lantern-select329--field { --dd-h: clamp(44px, var(--buyw-r, 44px), 64px); --dd-w: calc(var(--dd-h) * 3.6); }
#buyDialog .lantern-buyw__bet > .lantern-buyw__bet-label { align-self: center; margin-right: 4px; }

/* 3971: a winning symbol comes alive for 1.8 s from the first frame (renderer.mjs adds .h3-alive to every winning cell),
   two beats in time with the frames' 900 ms: a scale pulse, a gold glow and a light sweep, all inside its cell (the
   cell clips them; the pulse only draws the art in, so it never reaches the frame and nothing leaves the cell). The
   other cells stay still. With reduced motion (style.css stops every animation) the glow stays and nothing moves.
   The glow lies under the art and the sweep over it, in every layout (the art is lifted above the glow). */
#board > .h3-cell.h3-alive::before, #board > .h3-cell.h3-alive::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
#board > .h3-cell.h3-alive::before {
  background: radial-gradient(circle closest-side, var(--l07-colour-182), var(--l07-colour-183) 62%, var(--l07-colour-184) 100%);
  animation: h3-alive-glow 1.8s ease-in-out both;
}
#board > .h3-cell.h3-alive > .h3-symbol { position: relative; z-index: 1; animation: h3-alive-pulse 1.8s ease-in-out both; }
#board > .h3-cell.h3-alive::after {
  z-index: 2; opacity: 0; background: linear-gradient(112deg, var(--l07-colour-185) 36%, var(--l07-colour-186) 50%, var(--l07-colour-185) 64%) no-repeat;
  background-size: 260% 100%; animation: h3-alive-sweep 0.9s ease-in-out 2 both;
}
@keyframes h3-alive-pulse { 0%, 50%, 100% { transform: scale(1); } 20%, 70% { transform: scale(0.93); } }
@keyframes h3-alive-glow { 0% { opacity: 0.45; } 20%, 70% { opacity: 1; } 50% { opacity: 0.55; } 100% { opacity: 0; } }
@keyframes h3-alive-sweep { 0% { opacity: 1; background-position: 110% 0; } 85% { opacity: 1; background-position: -10% 0; } 100% { opacity: 0; background-position: -10% 0; } }

/* 3971: the hostess, alive (hostess.mjs). Desktop: her canvas follows the still in the stage, so it paints where the
   still paints (under the reels and the bar), and takes the still's shadow; during a big win it rises over the reels
   while hostess.mjs grows its box (1.6 x where the window has room) from her feet and her column's outer side. Phones: over the reels (above
   their frames and lines), under every panel and dialog (the autoplay panel is at 10); a tap on her makes her leave.
   The clips' videos stay out of sight. */
.h3-host-live { position: absolute; display: block; pointer-events: none; visibility: hidden; filter: drop-shadow(0 5px 9px var(--l07-colour-056)); }
.h3-host-live.h3-host-live--on { visibility: visible; }
.h3-host-live.h3-host-live--above { z-index: 3; }
.h3-host-live.h3-host-live--phone { z-index: 6; pointer-events: auto; opacity: 0; transform: scale(0.94); transition: opacity 0.26s ease-out, transform 0.26s ease-out; }
.h3-host-live.h3-host-live--phone.h3-host-live--in { opacity: 1; transform: none; }
.h3-host-over { position: absolute; z-index: 6; display: block; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 5px 9px var(--l07-colour-056)); }
.h3-host-over[hidden] { display: none; }
.h3-host-media { position: fixed; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.h3-host-media > video { display: block; width: 1px; height: 1px; }

/* 3972: phones held sideways at Safari's heights (its bars leave 220-300 px: 844x290, 812x280, 667x260, 568x220): the
   reels take the full height. BALANCE, WIN and the message leave the band under the reels for the side column, with
   the controls: BET, the message on Astra's plaque, SPIN, BALANCE and WIN, BUY BONUS and AUTO; the icons stand in
   their own column at its outer edge. The free-spins banner stands in for BET and the message, over the column's top
   down to SPIN; WIN stays in sight with the feature's win. The column is as wide as the reels leave when their cells
   are square, and at least as wide as the message's plaque needs (the longest line at 20 px on two lines, from 280 px
   of height) and BALANCE and WIN's plates (a 12-figure balance at 11 px). Taller phones sideways keep the band under
   the reels (with the paid line in it, below): there the column would make the symbols smaller than the band does. */
@media (orientation: landscape) and (min-height: 280.99px) and (max-height: 300.98px) {
  #mainControlsMount .lantern-controls329__landscape { --sq: calc((100dvh - var(--lc-safe-bottom) - 14px) * 5 / 3 + 14px);
    padding-bottom: var(--lc-safe-bottom) !important; }
  .lantern-controls329 .lantern-controls329__landscape .lantern-controls329__ls-rail {
    flex-basis: max(412px, calc(100vw - var(--lc-safe-left) - var(--lc-safe-right) - var(--sq))) !important;
    width: max(412px, calc(100vw - var(--lc-safe-left) - var(--lc-safe-right) - var(--sq))) !important; padding: 4px 6px calc(4px + var(--lc-safe-bottom)) !important; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { order: 0; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { order: 3; position: static; display: grid; grid-template-columns: 1fr 1fr;
    gap: 6px; height: auto; padding: 0; align-items: end; pointer-events: none; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet { order: 1; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { order: 2; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-status { order: 4; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-lower { order: 5; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { position: relative; display: flex; flex-direction: column; align-items: stretch;
    width: auto; min-width: 0; padding: 0; margin: 0; gap: 1px; }
  /* 3978: the caption is 12 px (it was 11), and the gap under it 1 px (it was 2), so the meter is as tall as before and the
     message plaque under it keeps its height (its two lines at 20 px). */
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__label { position: static; transform: none; text-align: center; white-space: nowrap;
    line-height: 1; font-size: 20px; }
  /* The meter plate's art is 3:1 at its background size (102.4 % x 132.3 % of the box): the box keeps 3.876:1, at most
     the 158 px it had in the band. */
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { width: min(100%, 158px); justify-self: center; align-items: stretch; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { width: 100% !important; height: auto !important;
    aspect-ratio: 3.876 / 1; font-size: 20px; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary { width: min(100%, 210px) !important; height: auto !important; min-height: 48px !important;
    aspect-ratio: 1405 / 369 !important; }
  /* The message on Astra's plaque (below): one line where it fits, two where it does not; the text at 20 px or more. */
  .lantern-controls329 .lantern-controls329__landscape .lantern-controls329__ls-status { position: relative !important; inset: auto !important; height: auto !important;
    min-height: 36px !important; flex: 0 0 62px; display: flex; align-items: stretch; justify-content: center; text-align: center; padding: 0 !important;
    border: 0 !important; border-image: none !important; border-radius: 0 !important; background: var(--l07-colour-044) !important; box-shadow: none !important; }
}
@media (orientation: landscape) and (min-height: 280.99px) and (max-height: 300.98px) {
  .lantern-controls329 .lantern-controls329__landscape .lantern-controls329__ls-rail {
    flex-basis: max(412px, calc(100vw - var(--lc-safe-left) - var(--lc-safe-right) - var(--sq))) !important;
    width: max(412px, calc(100vw - var(--lc-safe-left) - var(--lc-safe-right) - var(--sq))) !important; }
  #mainControlsMount .lantern-controls329__ls-rail.kit-panel { display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 4px; row-gap: 3px;
    grid-template-rows: 0 auto minmax(0, 1fr) auto auto auto;
    grid-template-areas: "brand icons" "bet icons" "msg icons" "spin icons" "meters icons" "plaques icons"; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { grid-area: brand; min-height: 0; height: 0; overflow: visible; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-brand .lantern-controls329__ls-title { display: none; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { grid-area: meters; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet { grid-area: bet; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area: spin; justify-self: center; min-height: 46px !important; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-status { grid-area: msg; align-self: stretch; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-lower { display: contents; }
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques { grid-area: plaques; }
  /* The icons share the column's height, so none is a small icon with room around it (the checklist's icon rule). */
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons { grid-area: icons; display: grid; grid-template-columns: 44px;
    grid-auto-rows: minmax(44px, 1fr); gap: 4px; align-self: stretch; }
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons > * { grid-column: 1 !important; grid-row: auto !important; }
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons > .lantern-controls329__icon { height: auto; min-height: 48px; align-self: stretch; }
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons > .lantern-controls329__ls-speed { flex: none; width: 44px; height: auto; min-height: 48px; align-self: stretch; }
  #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons > .lantern-controls329__ls-speed .lantern-controls329__speed-cycle { height: 100%; }
}
/* 280-300 px of height (Safari's bars on the iPhone 13 and 13 mini): room for the message's two lines at 20 px, with
   a thinner frame and 2 px between the rows (SPIN keeps its size: the largest). */
@media (orientation: landscape) and (min-height: 280.99px) and (max-height: 300.98px) {
  #mainControlsMount .lantern-controls329__ls-rail.kit-panel { row-gap: 2px; --kf: 0.06; }
  /* the banner stands in for the message: her lettering hides under it too (the line's own text already does) */
  #app.lantern-feature-visible .lantern-controls329__landscape .h3-glyphs { visibility: hidden !important; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { width: min(100%, 158px); }
}
/* Below 280 px of height the free-spins banner has no room to show its win at 11 px: it stays hidden, and WIN shows
   the feature's win, the message the spins left. */
@media (orientation: landscape) and (max-height: 280.98px) {
  #app[data-main-mode=landscape] #featureBanner.kit-banner { display: none !important; }
}
/* 3980: below 281 px of height (568x220, 667x260, 740x280, 812x280) the side column of 3972 and its 3975 sizes are gone: two columns
   of compact pieces flank the reels (the block at the end of this file). */

/* 3972: the message line on phones on Astra's plaque (plaque-text.mjs sets --plaque-art and draws her lettering over the
   line, whose own letters then turn transparent; they stay the line's real text for screen readers). Upright: the band
   above the reels; sideways: the line's cell, in the side column or in the band under the reels. Desktop is unchanged. */
@media (orientation: portrait) {
  .portrait-win .portrait-win__paid { position: relative; height: 54px !important; min-height: 54px !important; padding: 0 12px !important; border: 2px solid var(--l07-colour-044) !important;
    border-radius: 0 !important; background: none !important; box-shadow: none !important; border-image: var(--plaque-art) 60 fill / 18px stretch !important; }
  .portrait-win .portrait-win__paid[hidden] > .h3-glyphs:not([hidden]) { display: block !important; visibility: visible !important; }
  .portrait-win .portrait-win__paid:not([hidden]) > .h3-glyphs { display: none !important; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .lantern-controls329 .lantern-controls329__landscape { --ls-band: 60px; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { position: relative; flex: 1 1 auto; align-self: stretch; min-width: 0;
    display: flex; align-items: center; justify-content: center; padding: 0 3px; border: 4px solid var(--l07-colour-044); border-image: var(--plaque-art) 60 fill / 14px stretch; }
}
/* Taller phones sideways keep the band under the reels: its middle, between BALANCE and WIN, is the plaque, tall
   enough for two lines at 20 px. */
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) {
  .lantern-controls329 .lantern-controls329__landscape { --ls-band: 66px; }
  /* 3975 (3973's failures, the lead's decisions): BALANCE and WIN keep their 158 px plates, which hold a 12-figure
     balance at 11 px, and the longest message still takes two lines at 20 px: the meters sit 1 px from the band's
     ends and the plaque 1 px from them, with 1 px inside it (667 px wide: a line of 335 px, where two lines at 20 px
     need 332). */
  .lantern-controls329 .lantern-controls329__ls-status { padding: 2px 160px !important; }
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { left: calc(var(--lc-safe-left) + 1px); right: calc(var(--lc-safe-right) + 1px); }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { padding: 0 1px; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { height: auto !important; aspect-ratio: 3.876 / 1; }
  /* 3975 (LAN-03): the captions lay on the band's 6 px top frame (a line ran through BALANCE and WIN). Each caption now
     lies inside the band, 2 px over its own plate, at the smallest caption size, with the meters 1 px off the band's
     floor: about 5 px clear of the frame, with a 150 or a 158 px plate. */
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { bottom: calc(var(--lc-safe-bottom) + 1px); }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__label { bottom: calc(100% + 2px); font-size: 20px; }
}
/* 3975: narrower phones sideways with the band (568x320: 568 px cannot hold two 158 px plates and a plaque for two lines
   at 20 px side by side) take the band in two rows: the plaque (348 px, a line of 334 px) centred over BALANCE and
   WIN, their captions at the plates' outer ends, beside it. The band is 38 px taller; the reels' cells lose their
   spare height first (62 px wide, 79 tall at 568x320). */
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) and (max-width: 640px) {
  .lantern-controls329 .lantern-controls329__landscape { --ls-band: 104px; }
  .lantern-controls329 .lantern-controls329__ls-status { padding: 0 calc((100% - 348px) / 2) 43px !important; align-items: stretch; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter:first-child .lantern-controls329__label { left: 10px; right: auto; text-align: left; }
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter:last-child .lantern-controls329__label { right: 10px; left: auto; text-align: right; }
  /* 3975 review: the rail above SPIN is then 57 px tall: no room for the free-spins banner's texts at 11 px (its art
     would be about 96x57) nor for the logo (8 px). As below 280 px of height (3972), the banner stays hidden (WIN shows
     the feature's win and the message line the spins left) and so does the logo. */
  #app[data-main-mode=landscape] #featureBanner.kit-banner { display: none !important; }
  #mainControlsMount .lantern-controls329__ls-brand > .lantern-controls329__ls-title { display: none !important; }
}
/* 3984 (the lead's answer 6 to 3983): the longest balance, 999,999.9999, lies inside BALANCE's and WIN's clear area at the 12 px floor in every engine (the
   headless Chromium of the matrix drew it 82 px wide in a clear area of 80.06 px). The digits are set 0.03em closer on the band's plates (from 281 px of height),
   and where the band has the width the plates are 164 px wide (+6 px, 42.3 px tall): the status plaque's side padding grows with them (2 x 166 px), so the plates
   keep the 1 px they had from the plaque. A 667 px wide window keeps its 158 px plates (a 164 px plate leaves the plaque 323 px for a line, and its longest
   message on two lines at 20 px needs 332): there, and at 844x290, the tracking alone brings 999,999.9999 to 12.9 px. */
@media (orientation: landscape) and (min-height: 280.99px) and (max-height: 500px) {
  #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { letter-spacing: -0.03em; }
}
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) and (min-width: 700px) {
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters .lantern-controls329__meter { width: 164px; }
  .lantern-controls329 .lantern-controls329__ls-status { padding: 2px 166px !important; }
}
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 500px) and (max-width: 640px) {
  #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters .lantern-controls329__meter { width: 164px; }
}
#app #status[data-plaque] { font-size: max(20px, var(--plaque-px, 20px)) !important; line-height: 1.25 !important; white-space: normal !important; overflow-wrap: anywhere; }
#app #status.h3-status--glyphs { color: var(--l07-colour-044) !important; text-shadow: none !important; }
.h3-glyphs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; }
.h3-glyphs[hidden] { display: none !important; }
@media (orientation: landscape) and (max-height: 500px) {
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid { position: static; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: 2px 6px; height: auto !important; min-height: 0 !important; margin: 0; padding: 0; border: 0; background: none; font-size: 20px; }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid[hidden] { display: none !important; }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid .lantern-controls329__paid-thumbs { display: flex; gap: 2px; margin: 0; }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid .lantern-controls329__paid-thumb { width: 22px; height: 22px; object-fit: contain; }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid .lantern-controls329__paid-line { display: flex; gap: 6px; align-items: baseline; }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid .lantern-controls329__paid-line strong { color: var(--l07-colour-105); }
  #mainControlsMount .lantern-controls329__status-mount > .lantern-controls329__paid .lantern-controls329__paid-status { font-size: 20px; color: var(--l07-colour-178); }
  #mainControlsMount .lantern-controls329__status-mount:has(> .lantern-controls329__paid:not([hidden])) > :not(.lantern-controls329__paid) { display: none !important; }
}

/* 3977 (2.6, the lead's answer to 3976's Q6): an alert never adds a row and never shrinks the reels. The alert row takes
   no room in any layout. Its words stay for screen readers only (the "screen reader only" pattern) and show where
   messages show: on phones the plaque draws them in Astra's lettering (plaque-text.mjs); on desktop they take the message
   cell's place while the line hides (app.mjs placeAlert). Recover, when it is offered, lies over SPIN (off while Recover
   is needed) on the long plaque BUY BONUS and AUTO stand on, at the plaque's own shape (placeAlert sizes it). */
html body #alertRow:not([hidden]) { position: fixed !important; inset: 0 auto auto 0 !important; display: block !important;
  width: 0 !important; height: 0 !important; min-height: 0 !important; max-height: none !important; margin: 0 !important;
  padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; z-index: 30 !important; }
html body #alertRow #alertText { position: fixed !important; left: 0; top: 0; width: 1px !important; height: 1px !important; margin: 0 !important;
  padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
html body #app[data-alert-desktop] #alertRow #alertText { clip-path: none !important; overflow: visible !important; white-space: normal !important;
  display: flex !important; align-items: center; justify-content: center; text-align: center; font: 600 20px/17px var(--l07-font-display) !important;
  color: var(--l07-colour-171) !important; background: none !important; }
html body #app[data-alert-desktop] .lantern-controls329__dt-status #status { visibility: hidden !important; }
html body #alertRow #recoverBtn { position: fixed !important; z-index: 31 !important; box-sizing: border-box !important; margin: 0 !important;
  padding: 0 !important; min-width: 0 !important; min-height: 48px !important; border: 0 !important; background: none !important; box-shadow: none !important;
  display: grid; place-items: center; }
/* 3980: Astra's RECOVER plate (the word is in the art; the span's own word stays for screen readers, unseen) on every layout. */
html body #alertRow #recoverBtn .kit-plate--recover { box-sizing: border-box; display: block; font-family: var(--l07-font-display); font-size: 20px; line-height: 1;
  color: var(--l07-colour-044); text-shadow: none; white-space: nowrap; overflow: hidden; }

/* 3978 (Q2, the lead's answer to 3977's Q2): layout B at 667x375. The reels take the screen: one right column of 44 px
   controls, 193 px wide (the BET field with minus and plus under it, SPIN, BUY BONUS and AUTO one above the other on the
   long plaque, then the round icons), and the band under the reels (BALANCE, the message, WIN) as before. The logo is not
   drawn here (it stays on the loading screen); the free-spins banner lies over the top of the column while free spins play. Sideways phones of 361 to 420 px of height and up to 720
   px of width (667x375, the iPhone SE): every other size keeps its layout. SPEED is its round icon (>, >> or >>>), its words
   for screen readers only. */
@media (orientation: landscape) and (min-width: 600px) and (max-width: 720px) and (min-height: 361px) and (max-height: 420px) {
  #mainControlsMount .lantern-controls329__landscape { gap: 0 !important; column-gap: 0 !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { flex: 0 0 193px !important; flex-basis: 193px !important; width: 193px !important;
    padding: 0 1px 2px !important; gap: 3px !important; row-gap: 3px !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand .lantern-controls329__ls-title { display: none !important; }
  /* BET: the drawn field is 136 px wide (its art's plain area needs it: at 91 px the field's own padding left the value 0 px) and
     the column's 181 px cannot hold it between minus and plus, so BET takes two rows: the field, then minus and plus under it. */
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet { --kit-bet-w: 96px !important; height: auto !important; min-height: 48px;
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-content: flex-start !important; gap: 3px 3px !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet > .lantern-controls329__bet-mid { order: 1; flex: 0 0 100% !important; display: flex; justify-content: center; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet > :first-child { order: 2; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet > :last-child { order: 3; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { width: 167px !important; height: 44px !important; min-height: 48px !important;
    aspect-ratio: auto !important; align-self: center; }
  #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { grid-template-columns: minmax(0, 1fr) !important; gap: 3px !important; height: auto !important; }
  #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > button { height: auto !important; min-height: 48px !important; }
  /* 3985: BUY BONUS and AUTO keep the spacing they had here: the words' 0.03em tracking is for the narrow side-by-side rails (above), and this column is 193 px wide. */
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower .lantern-controls329__plaque.kit-plate,
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower .lantern-controls329__auto-title.kit-plate { letter-spacing: 0 !important; }
  #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { display: flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 1.5px; height: 44px !important; }
  #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > .lantern-controls329__ls-speed { width: 44px !important; height: 44px !important; padding: 0 !important; flex: none; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display: none !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle { width: 44px !important; height: 44px !important; min-height: 48px !important; padding: 0 !important;
    display: grid !important; grid-template-rows: none !important; gap: 0 !important; place-items: center; background: none !important; border: 0 !important; box-shadow: none !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle::before,
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle::after { display: none !important; content: none !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle > .lantern-controls329__speed-value { position: absolute !important; width: 1px !important; height: 1px !important;
    overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle > .kit-speed-icon { display: block !important; width: 44px !important; height: 44px !important; margin: 0 !important; }
}

/* 3980: Kunal's sentence for a switched-off game, whole, on the message plaque drawn larger over the reels
   (notice-plaque.mjs sets its box and its lettering size, 12 px or more). The small message plaque stays empty meanwhile. */
.h3-notice { position: fixed; z-index: 12; box-sizing: border-box; display: flex; align-items: center; justify-content: center; margin: 0;
  padding: 6px 10px; border: 14px solid var(--l07-colour-044); border-image: var(--plaque-art) 60 fill / 14px stretch; pointer-events: none; }
.h3-notice[hidden] { display: none !important; }
.h3-notice .h3-notice__text { margin: 0; padding: 0; text-align: center; text-wrap: balance; overflow-wrap: break-word;
  font: 700 20px/1.25 var(--l07-font-display); color: var(--l07-colour-171); text-shadow: 0 1px 2px var(--l07-colour-187); }
#app[data-notice-up] #status, #app[data-notice-up] .h3-glyphs { visibility: hidden !important; }

/* Short landscape retains the standard rail and scrolls it at the current floors. */
/* 3983: BET 50.00 at 568x320 and 667x320 (windows 301 to 321 px tall). The value box is 45 px wide between the caps of the field (the rail is at its
   244 px minimum), and the digits' tracking, 0.04em, is 3.2 px over "50.00": without it the amount is 16 px in every engine. No box moves. */
@media (orientation: landscape) and (min-height: 300.99px) and (max-height: 320.98px) {
  html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329__value { letter-spacing: 0 !important; }
}
/* 3985: the session details window in the game's own letters and colours. It is the old menu's dialog (system font, the title "Menu", and two buttons, Rules and
   Session details, that the Game Settings sheet had already taken the player past: Rules was a second way to the paytable that INFO opens, 0702's LAN-08). The
   window keeps its markup (the test adapter's manifest names it); the two buttons are not shown and the title says what the window is. These rules come before 3983's block
   below on purpose: at the short heights that block's margins and 20 px title (same specificity, later) are the ones that apply. */
#menuDialog { font-family: var(--l07-font-body); background: var(--l07-colour-188); color: var(--l07-colour-096); text-align: center; }
#menuDialog h2 { margin: 0 0 12px; font: 700 22px/1.1 var(--l07-font-body); letter-spacing: 1px; text-transform: uppercase; color: var(--l07-colour-095); }
#menuDialog .h3-menu-list { display: none; }
#menuDialog .h3-dialog-meta { margin: 0 0 14px; font: 20px/1.45 var(--l07-font-body); color: var(--l07-colour-096); white-space: pre-line; }
#menuDialog .h3-close { min-width: 160px; min-height: 54px; padding: 0 20px; font: 700 20px/1 var(--l07-font-body); letter-spacing: 1px; text-transform: uppercase; color: var(--l07-colour-096);
  background: var(--l07-colour-094); border: 2px solid var(--l07-colour-087); border-radius: 10px; }

/* 3983: the session details window in every landscape window under 318 px tall (the four shortest sizes, and the 290 px cell with the bars showing):
   the title, the two buttons and Close on one row and the details under them, so Close is never below the edge of the window. The stacked window is
   294 px tall and needs 24 px of margin, so from 318 px up (568x320, 667x320) it stays as it was. */
@media (orientation: landscape) and (max-height: 317.98px) {
  #menuDialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'title close' 'meta meta'; align-items: center; column-gap: 10px; row-gap: 4px; padding: 8px 12px; }
  #menuDialog h2 { grid-area: title; margin: 0; font-size: 20px; text-align: left; }
  #menuDialog .h3-dialog-meta { grid-area: meta; margin: 0; }
  #menuDialog > form { grid-area: close; margin: 0; }
}

/* ---- 3984 (4.2): the game menu and the autoplay card at the two shortest heights (568x220, 667x260; any landscape window up to 270 px tall) ----
   Every control lies inside the window and none needs a scroll (the size scan's KNOWN entries menu-scrolls-short and autoplay-closes-short are gone).
   The menu: no logo (the title says it), the speed tiles in a row of three under their heading, then SOUND and the destinations in one row (the icons and
   chevrons of the destinations are left out); the Sound heading is still there for screen readers. The autoplay card is shared-autoplay 1.1.1 as delivered; the host
   lays it out here in three columns (the spins, the bet, START and Cancel with the close button) with the module's own class names, over the module's compact grid. */
@media (orientation: landscape) and (max-height: 270px) {
  /* ---- the menu ---- */
  .lantern-menu-host .lantern-menu__frame { padding: 6px 16px; }
  .lantern-menu-host .lantern-menu__title-art { display: none; }
  .lantern-menu-host .lantern-menu__header { padding: 0 54px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .lantern-menu-host .lantern-menu__header h1 { font-size: 22px; line-height: 44px; margin: 0; }
  .lantern-menu-host .lantern-menu__close { width: 48px; height: 48px; }
  .lantern-menu-host .lantern-menu__content { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; gap: 4px 6px; align-content: start; }
  .lantern-menu-host .lantern-menu__speed-section, .lantern-menu-host .lantern-menu__sound-section, .lantern-menu-host .lantern-menu__speeds { display: contents; }
  .lantern-menu-host .lantern-menu__speed-section > h2 { grid-column: 1 / -1; margin: 0; font-size: 20px; line-height: 16px; }
  .lantern-menu-host .lantern-menu__sound-section > h2 { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lantern-menu-host .lantern-menu__speed { grid-column: span 4; min-height: 48px; height: 48px; }
  .lantern-menu-host .lantern-menu__sound { grid-column: span 3; min-height: 48px; height: 44px; }
  .lantern-menu-host .lantern-menu__nav { grid-column: span 9; display: flex; gap: 6px; }
  .lantern-menu-host .lantern-menu__nav > button { flex: 1 1 0; min-width: 0; min-height: 48px; height: 44px; }
  .lantern-menu-host .lantern-menu__nav > button .lantern-menu__icon, .lantern-menu-host .lantern-menu__sound .sound-state-icon { display: none; }
  .lantern-menu-host .lantern-menu__nav > button > b { display: none; }

  /* ---- the autoplay card (shared-autoplay 1.1.1, unchanged): three columns, the spins, the bet and START, Cancel and the close button ---- */
  .sap .auto-card { grid-template-columns: minmax(140px, 0.8fr) minmax(232px, 1.2fr) 144px; grid-template-rows: 26px 16px 44px 44px 44px; gap: 2px 8px; padding: 8px; }
  .sap .auto-card.has-error { grid-template-rows: 26px 16px 44px 44px 44px; }
  .sap .auto-head { display: contents; }
  .sap .auto-head h2 { grid-area: 1 / 1 / 2 / 2; align-self: center; margin: 0; font-size: 22px; line-height: 26px; }
  .sap .auto-sub { grid-area: 1 / 2 / 2 / 3; position: static; align-self: center; margin: 0; font-size: 20px; line-height: 16px; }
  .sap .auto-x { grid-area: 1 / 3 / 3 / 4; justify-self: end; align-self: start; }
  .sap .auto-label { font-size: 20px; line-height: 16px; letter-spacing: 0.5px; white-space: nowrap; }
  .sap [data-sap=spinsLabel] { grid-area: 2 / 1; }
  .sap [data-sap=betLabel] { grid-area: 2 / 2; }
  .sap .auto-stepper[data-sap-stepper=spins] { grid-area: 3 / 1; }
  .sap .auto-stepper[data-sap-stepper=bet] { grid-area: 3 / 2; }
  .sap .auto-stepper { gap: 4px; }
  .sap .step-btn { width: 44px; }
  .sap .step-value { min-width: 0; flex: 1 1 auto; font-size: 22px; }
  .sap [data-sap=spinsSlider] { grid-area: 4 / 1; }
  .sap [data-sap=betSlider] { grid-area: 4 / 2; }
  .sap .auto-scale { grid-area: 4 / 1; }
  .sap .auto-presets { grid-area: 5 / 1; gap: 4px; }
  .sap .preset-btn { flex: 1 1 0; min-width: 48px; }
  .sap .auto-credits { grid-area: 5 / 2; align-self: start; }
  .sap .auto-total { grid-area: 5 / 2; align-self: end; }
  .sap .auto-error:not(:empty) { grid-area: 5 / 3; margin: 0; font-size: 20px; line-height: 14px; }
  .sap .auto-card>p.auto-actions { grid-column: 3; grid-row: 3; margin: 0; }
  .sap .auto-cancel-wrap { grid-column: 3; grid-row: 4; margin: 0; }
  .sap .auto-start, .sap .auto-stop, .sap .auto-cancel { font-size: 20px; letter-spacing: 0; padding: 0 4px; }
}

/* 3986 (the owner's check 10: nothing too small for a 70-year-old without glasses). Balance, bet and win and the labels of buttons are
   18 CSS px or more on phones and tablets and 20 px on desktop; every other text is 16 px or more. The text grows and the layout does not
   shrink: where a piece's clear area cannot hold the size, the fit (text-fit.mjs) keeps the text inside that area at the largest size it
   holds, and the piece is an art ask (ITEMS-3986.md). The amounts' own size is the amount fit's (app.mjs: 20 px, 18 px sideways). The
   shared modules' texts (the autoplay window, the paytable) are theirs and are not changed here. */
.h3-lines-label { font-size: 20px !important; }
/* (Not the sideways rail's BALANCE and WIN labels: at 16 px their letters overlap the meter plates below them by 2 to 3 px at the shortest heights,
   which the matrix fails; they keep their size and are a layout ask: about 5 px more room above the plates.) */
.portrait-win .meter > span, .portrait-speed-slot348 > span { font-size: 20px !important; }
.portrait-win [data-paid-combination], .portrait-win .paid__amount, .portrait-win [data-paid-status], .portrait-win [data-paid-amount] { font-size: max(20px, 1em) !important; }
/* (Not the desktop bar's paid line and PAID: at 16 px the line re-divides the bar when a win's paid row shows, and the controls beside it move; the
   path check caught it. They keep their size and are a layout ask: room in the bar's status cell for a 16 px paid line.) */
#app:not([data-main-mode=desktop]) #mainControlsMount .lantern-controls329__paid-line { font-size: max(20px, calc(15 * var(--u, 1px))) !important; }
.portrait-win .wide-action > span:not(.kit-icon), .portrait-win .wide-action > strong, .portrait-win .footer-action > span:not(.kit-icon),
.portrait-win .action .kit-plate--long, .portrait-speed-slot348 .lantern-select329__button, .lantern-landscape__footer small,
#mainControlsMount .lantern-controls329__icon-label, #mainControlsMount .lantern-controls329__tool .kit-plate { font-size: 20px !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__tool .kit-plate,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__icon-label { font-size: 20px !important; }
.lantern-menu-host .lantern-menu h2 { font-size: max(20px, 1em); }
.lantern-menu-host .lantern-menu button strong { font-size: 20px !important; }
#app[data-main-mode=desktop] ~ #settingsMenuMount .lantern-menu button strong { font-size: 20px !important; }
#buyDialog .lantern-buyw__bet-label, #buyDialog .lantern-buyw__note, #buyNote { font-size: max(20px, .78em) !important; }
#buyDialog .lantern-buyw__price { font-size: max(20px, 1em) !important; }
#app:not([data-main-mode=desktop]) #mainControlsMount .lantern-controls329__paid-status, .portrait-win [data-paid-status] { font-size: 20px !important; }
#mainControlsMount .lantern-controls329__auto-title, #mainControlsMount .lantern-controls329__plaque, #mainControlsMount .lantern-controls329__speed-cycle span { font-size: 20px !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__dt-caption, #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__auto-title,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__plaque, #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__speed-cycle span { font-size: 20px !important; }
.h3-demo-note, .h3-beta { font-size: max(20px, 1em) !important; }

/* z1670 approved readability/touch floors on the current consumers. */
button:not([hidden]), [role="button"]:not([hidden]), select:not([hidden]) { min-width:48px; min-height:48px; }
#app .lantern-select329__button { --dd-h:48px; min-width:48px !important; min-height:48px !important; }
#app .kit-round, #app .lantern-controls329__dt-button, #app .lantern-controls329__footer-icon { min-width:48px !important; min-height:48px !important; }
#app .kit-plate, #app .lantern-select329__value, #app .portrait-win .meter, #app .portrait-win .wide-action,
#app .portrait-win .footer-action, #app .portrait-speed-slot348, #app .lantern-controls329__meter-label,
#app .lantern-controls329__status-mount, #app .lantern-controls329__paid-line, #app .lantern-controls329__paid-status,
#app .h3-demo-note, #app .h3-lines-label { font-size:20px; }
#app .portrait-win .kit-plate--meter { font-size:20px; }
#status { font-size:max(20px,var(--msg-size,20px)); }
#app .portrait-win__paid { min-height:62px; }
#app .lantern-controls329__status-mount { min-height:60px; }
#app .portrait-win .portrait-win__primary > .action, #app .portrait-win .wide-action, #app .portrait-win .footer-action { min-height:48px; }
#app .portrait-win .round-button.kit-round { width:48px; height:48px; flex-basis:48px; }
#app .portrait-win .portrait-win__header { min-height:146px; }
#app .lantern-controls329__desktop .lantern-controls329__meter-value { min-width:190px; }
.h3-fullscreen-clock { position:fixed; top:max(4px,env(safe-area-inset-top)); right:max(4px,env(safe-area-inset-right)); z-index:2147483100; padding:8px 14px; border:12px solid transparent; border-image:var(--plaque-art) 60 fill / 12px; pointer-events:none; }
.h3-fullscreen-clock[hidden] { display:none; }

/* Current floors supersede the earlier 3986 floor declarations. */
.h3-beta, .h3-demo-note, .h3-lines-label,
.portrait-win .meter > span, .portrait-speed-slot348 > span,
.portrait-win .wide-action > span:not(.kit-icon), .portrait-win .wide-action > strong, .portrait-win .footer-action > span:not(.kit-icon),
#mainControlsMount .lantern-controls329__label, #mainControlsMount .lantern-controls329__speed-value,
#mainControlsMount .lantern-controls329__icon-label, #mainControlsMount .lantern-controls329__tool .kit-plate,
#mainControlsMount .lantern-controls329__auto-title, #mainControlsMount .lantern-controls329__plaque,
#mainControlsMount .lantern-controls329__paid-status, .portrait-win [data-paid-status],
#buyDialog .lantern-buyw__bet-label, #buyDialog .lantern-buyw__note, #buyNote,
.h3-info-body, .h3-dialog-meta, .lantern-menu-host .lantern-menu h2, .lantern-menu-host .lantern-menu button strong { font-size:20px !important; }
#buyDialog .lantern-buyw__price { font-size:max(20px,1em) !important; }
html body #app #mainControlsMount button:not([hidden]):not(.lantern-controls329__round),
html body #app #mainControlsMount .lantern-controls329__round.kit-round {
 min-width:48px !important; min-height:48px !important;
}
html body #app #mainControlsMount .lantern-controls329__round.kit-round { width:48px !important; height:48px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { display:grid; grid-template-columns:1fr; justify-items:center; gap:2px; }
html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .kit-plate { width:225px !important; max-width:100%; height:auto; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { overflow-y:auto; overflow-x:hidden; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower { flex-shrink:0; }
.portrait-win .action .kit-plate--long { font-size:20px !important; min-width:190px; }
#status { font-size:max(20px,var(--msg-size,20px)) !important; }

html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques { display:grid !important; grid-template-columns:1fr !important; grid-auto-rows:auto !important; justify-items:center !important; width:100% !important; height:auto !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button { width:100% !important; height:auto !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button > .kit-plate { width:225px !important; height:auto !important; max-width:100%; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower { min-height:160px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { overflow-y:auto !important; }
#mainControlsMount .lantern-controls329__desktop .lantern-controls329__round.kit-round { min-width:48px !important; min-height:48px !important; }
#mainControlsMount .lantern-controls329__desktop .lantern-controls329__label { font-size:20px !important; }
#mainControlsMount .lantern-controls329__speed-cycle .lantern-controls329__speed-value { font-size:20px !important; }

#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter > .lantern-controls329__label { font-size:20px !important; line-height:1.2; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__bet .lantern-controls329__round.kit-round { width:48px !important; height:48px !important; min-width:48px !important; min-height:48px !important; }
@media (orientation:portrait) {
 .portrait-win .portrait-win__primary { grid-template-areas:"spin spin" "buy buy" "autoplay autoplay"; }
 .portrait-win .portrait-win__primary .kit-plate--long { min-width:0; width:min(100%,300px) !important; white-space:nowrap !important; }
}
/* Retain floor lettering in the scrollable short-height rail. */
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__meter-value.kit-plate { min-height:52px !important; font-size:20px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-select329__value { min-height:24px; line-height:24px !important; font-size:20px !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { flex-shrink:0; min-height:80px; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { min-height:84px !important; flex-shrink:0; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button { min-height:52px !important; flex-shrink:0; }
.portrait-win .portrait-win__paid { min-height:84px !important; }

@media (orientation:portrait) {
 .portrait-win .portrait-win__primary > .action--bonus, .portrait-win .portrait-win__primary > .action--auto { width:min(100%,300px) !important; }
}
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button > .kit-plate { flex:none !important; }
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-select329__value { min-height:28px !important; height:28px !important; }

/* z1675: keep the native shared paytable at the phone floor in this game host. */
@media (max-width:1199px), (max-height:599px) {
 #graphicalPaytableMount .shared-paytable { font-size:20px; }
 #graphicalPaytableMount .shared-paytable :is(.shared-paytable__bet-label,.shared-paytable__bet-meta,.shared-paytable__bet-status,.shared-paytable__bet-preview,.shared-paytable__subtitle,.shared-paytable__section-title,.shared-paytable__symbol-name,.shared-paytable__payrow-count,.shared-paytable__paragraph,.shared-paytable__badge,.shared-paytable__rule,.shared-paytable__control-label,.shared-paytable__control-desc,.shared-paytable__close) { font-size:20px !important; }
 #graphicalPaytableMount .shared-paytable .shared-paytable__payrow-amount { font-size:20px !important; }
 #graphicalPaytableMount .shared-paytable .lantern-select329 { --dd-h:48px; }
 #graphicalPaytableMount .shared-paytable .lantern-select329__button { height:48px !important; min-height:48px !important; }
 #graphicalPaytableMount .shared-paytable :is(.shared-paytable__bet-step,.shared-paytable__bet-select,.shared-paytable__close,.lantern-select329__button) { min-height:48px; }
}
/* The message must retain its own row when the rail scrolls at short heights. */
@media (orientation:landscape) and (min-height:280.99px) and (max-height:300.98px) {
 #mainControlsMount .lantern-controls329__ls-rail.kit-panel { grid-template-columns:minmax(0,1fr) 48px; grid-template-rows:0 auto auto auto auto auto; }
 #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-status { min-height:84px !important; }
 #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons { grid-template-columns:48px; grid-auto-rows:48px; align-content:start; }
 #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-icons > :is(.lantern-controls329__icon,.lantern-controls329__ls-speed) { height:48px; width:48px; }
}
/* At the shortest heights the existing panel scrolls; Close stays on its footer. */
@media (max-height:320px) {
 #graphicalPaytableMount .shared-paytable__panel { display:block; overflow:auto; padding:4px; border-width:8px; border-image-width:8px; }
 #graphicalPaytableMount .shared-paytable__header { min-height:30px; padding-bottom:2px; }
 #graphicalPaytableMount .shared-paytable__title-image { height:30px; }
 #graphicalPaytableMount .shared-paytable__content { overflow:visible; }
 #graphicalPaytableMount .shared-paytable__footer { position:sticky; bottom:-4px; background:var(--paytable-dark); padding:4px 0; }
}

/* z1685: keep the same desktop paytable column at its reading and touch floors. */
#graphicalPaytableMount .shared-paytable :is(.shared-paytable__bet-step,.shared-paytable__bet-select,.shared-paytable__close,.lantern-select329__button) { min-width:48px; min-height:48px; }
#graphicalPaytableMount .shared-paytable .shared-paytable__close { height:48px; }
@media (min-width:1200px) and (min-height:501px) {
 #graphicalPaytableMount .shared-paytable :is(.shared-paytable__bet-label,.shared-paytable__bet-meta,.shared-paytable__bet-status,.shared-paytable__bet-preview,.shared-paytable__subtitle,.shared-paytable__section-title,.shared-paytable__symbol-name,.shared-paytable__payrow-count,.shared-paytable__paragraph,.shared-paytable__badge,.shared-paytable__rule,.shared-paytable__control-label,.shared-paytable__control-desc,.shared-paytable__close,th,td) { font-size:20px !important; }
 #graphicalPaytableMount .shared-paytable .shared-paytable__payrow-amount { font-size:20px !important; }
}
/* The landscape feature keeps two columns and whole art. Its rail reserves the
   compact banner, then SPIN and the icons, then BUY BONUS and AUTO on one row. */
@media (orientation:landscape) and (min-height:350px) and (max-height:440px) and (min-width:800px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  flex-basis:444px !important; width:444px !important; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:198px 48px 54px; gap:2px; align-content:start;
 }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { grid-column:1 / -1; min-height:198px; height:198px; }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__bet { display:none; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-lower,
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-column:1; grid-row:2; justify-self:center; }
 #app.lantern-feature-visible .kit-rail-icons { grid-column:2; grid-row:2; justify-content:center; align-items:center; height:48px; }
 #app.lantern-feature-visible .kit-rail-icons > .lantern-controls329__ls-speed { flex:none; width:48px; height:48px; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed .lantern-controls329__speed-cycle { width:48px; height:48px; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 #app.lantern-feature-visible .kit-rail-plaques > .lantern-controls329__buy { grid-column:1; grid-row:3; }
 #app.lantern-feature-visible .kit-rail-plaques > .lantern-controls329__auto { grid-column:2; grid-row:3; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques > button > .kit-plate { width:210px !important; }
 .kit-banner__panel b { font-size:max(20px,1em); }
}

/* The desktop grid's original columns fit inside the viewport with their current
   48px controls and 20px amounts; the MENU column no longer begins outside it. */
@media (min-width:1200px) and (max-width:1599px) and (min-height:501px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { padding-left:6px !important; padding-right:6px !important; column-gap:3px; }
}

/* The degraded INFO view keeps the native dialog and its existing scroll region. */
#infoDialog .h3-paytable, #infoDialog .h3-close { font-size:20px; }
@media (min-width:1200px) and (min-height:501px) {
 #infoDialog .h3-info-body { font-size:20px !important; }
 #infoDialog .h3-paytable, #infoDialog .h3-close { font-size:20px; }
}
/* Keep the portrait feature values at the inherited amount floor. */
@media (orientation:portrait) {
 .kit-banner .kit-banner__panel b { font-size:max(20px,1em); }
}

/* The delivered compact fields bind unchanged words and values at one scale.
   Main field: title [570,595,2495,795], WIN [570,795,2495,995].
   LEFT uses measured right counter; WINS uses measured middle counter.
   Coordinates are in the exact 3072x2048 delivered master. */
.kit-banner.kit-banner--compact .kit-banner__title { left:16.6091%; top:28.4463%; width:66.471%; height:11.6822%; font-size:20px; }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(1) { left:62.8798%; top:64.486%; width:17.2652%; height:24.4159%; font-size:20px; }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(2) { left:41.6436%; top:61.4486%; width:16.6436%; height:32.1262%; font-size:20px; }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(3) { left:16.6091%; top:40.1285%; width:66.471%; height:11.6822%; font-size:20px; flex-direction:row; gap:0.3em; }
.kit-banner.kit-banner--compact .kit-banner__panel b { font-size:20px !important; }

/* The menu gives up gaps and columns before any target or word floor. */
.lantern-menu-host .lantern-menu--fit .lantern-menu__speed,
.lantern-menu-host .lantern-menu--tight .lantern-menu__nav button { min-height:48px; }
@media (orientation:landscape) and (max-height:400px) {
 .lantern-menu-host .lantern-menu__speed { padding:2px 10px; }
}
@media (orientation:portrait) and (max-width:375px) {
 .lantern-menu-host .lantern-menu__speeds { grid-template-columns:minmax(0,1.18fr) minmax(0,.91fr) minmax(0,.91fr); }
 .lantern-menu-host .lantern-menu__speed { padding:2px; gap:3px; }
}
@media (orientation:landscape) and (min-height:271px) and (max-height:400px) and (max-width:740px) {
 .lantern-menu-host .lantern-menu__content { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); align-content:start; gap:4px 6px; }
 .lantern-menu-host .lantern-menu__speed-section { grid-column:1 / -1; }
 .lantern-menu-host .lantern-menu__nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
 .lantern-menu-host .lantern-menu__nav strong { overflow-wrap:normal; word-break:normal; }
}

/* Round 2: reserve the actual 19/20px words before allocating reel space. */
.lantern-build { font:700 20px/1.25 var(--l07-font-display); overflow-wrap:anywhere; margin:8px 0; }
.shared-paytable__footer .lantern-build { flex:1 1 100%; text-align:center; }
.shared-paytable__footer.lantern-build-footer { flex-wrap:wrap; }
@media (orientation:portrait) and (max-width:500px) {
 #app .portrait-win .portrait-win__primary { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); grid-template-areas:"spin autoplay" "buy buy"; gap:6px; margin-top:6px; }
 #app .portrait-win .portrait-win__primary > .action--bonus { width:240px !important; }
 #app .portrait-win .portrait-win__primary > .action--auto { width:100% !important; }
 #app .portrait-win .portrait-win__primary .kit-plate--long { width:100% !important; }
 #app .portrait-win .portrait-win__primary > .action--spin { width:100%; height:48px; min-height:48px; }
 #app .portrait-win .portrait-win__primary > .action--auto { min-height:48px; }
 #app .portrait-win .portrait-win__meters .meter__bet-row { gap:6px; }
 #app .portrait-win .portrait-win__secondary, #app .portrait-win .portrait-win__footer { margin-top:6px; gap:6px; }
}
@media (orientation:portrait) and (max-height:740px) {
 #app .portrait-win .portrait-win__shell { grid-template-rows:60px 54px minmax(20px,1fr) auto auto 70px; }
 #app .portrait-win .portrait-win__header { height:60px; min-height:60px; }
 #app .portrait-win .portrait-win__paid { height:54px !important; min-height:54px !important; margin-top:0; }
 #app .portrait-win .portrait-win__meters.kit-panel { min-height:106px; --kf:.08; padding:0 2px; }
 #app .portrait-win .portrait-win__board { min-height:20px; }
 #app.lantern-feature-visible .portrait-win .portrait-win__shell { grid-template-rows:180px auto minmax(16px,1fr) auto auto 48px; }
 #app.lantern-feature-visible .portrait-win .portrait-win__header { height:180px; min-height:180px; }
 #app .portrait-win .portrait-win__secondary, #app .portrait-win .portrait-win__footer { margin-top:0; align-self:stretch; }
 #app .portrait-win .portrait-win__secondary, #app .portrait-win .portrait-win__footer { margin-top:6px; }
 #app .portrait-win .portrait-speed-slot348 { justify-content:center; }
}
@media (orientation:portrait) and (min-width:600px) {
 #app .portrait-win .portrait-win__meters > .meter:not(.meter--bet) { width:270px; }
 #app .portrait-win .meter strong.kit-plate { width:270px !important; font-size:26px !important; }
 #app .portrait-win .meter > span, #app .portrait-win .portrait-win__primary .kit-plate { font-size:26px !important; }
 #app .portrait-win .portrait-win__meters.kit-panel { min-height:180px; }
 #app .portrait-win .portrait-win__primary > .action--bonus, #app .portrait-win .portrait-win__primary > .action--auto { width:400px !important; }
 #app .portrait-win .portrait-win__primary .kit-plate--long { width:100% !important; }
 #app .portrait-win .portrait-win__primary > .action--spin { height:86px; }
 #app .portrait-win .portrait-win__secondary .kit-icon, #app .portrait-win .portrait-win__footer .kit-icon { width:60px; height:60px; }
 #app .portrait-win .portrait-win__secondary span:not(.kit-icon), #app .portrait-win .portrait-win__footer span:not(.kit-icon) { font-size:24px !important; }
}
@media (min-width:1600px) and (min-height:800px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { --u:min(0.0571429vw,0.102041vh,1.5px); }
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__dt-caption,
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__label,
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__auto-title,
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__meter-value { font-size:max(20px,calc(20 * var(--u))) !important; }
}
@media (min-width:1024px) and (max-width:1599px) and (min-height:501px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { padding-left:6px !important; padding-right:6px !important; column-gap:6px; }
}
@media (orientation:landscape) and (min-height:441px) and (max-height:550px) and (min-width:800px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  flex-basis:444px !important; width:444px !important; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:198px 48px 48px 54px 80px; gap:6px; align-content:start;
 }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { grid-column:1/-1; grid-row:1; min-height:198px; height:198px; }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__bet { display:flex !important; grid-column:1/-1; grid-row:2; }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { position:static !important; grid-column:1/-1; grid-row:5; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-lower,
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
 #app.lantern-feature-visible .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-column:1; grid-row:3; justify-self:center; }
 #app.lantern-feature-visible .kit-rail-icons { grid-column:2; grid-row:3; justify-content:center; align-items:center; height:48px; }
 #app.lantern-feature-visible .kit-rail-icons > .lantern-controls329__ls-speed { flex:none; width:48px; height:48px; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed .lantern-controls329__speed-cycle { width:48px; height:48px; }
 #app.lantern-feature-visible .lantern-controls329__ls-speed .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 #app.lantern-feature-visible .kit-rail-plaques > .lantern-controls329__buy { grid-column:1; grid-row:4; }
 #app.lantern-feature-visible .kit-rail-plaques > .lantern-controls329__auto { grid-column:2; grid-row:4; }
 #app.lantern-feature-visible .lantern-controls329__ls-status { display:none; }
 html body #app.lantern-feature-visible #mainControlsMount .kit-rail-plaques > button > .kit-plate { width:210px !important; }
}

@media (min-width:1200px) and (max-width:1599px) and (min-height:501px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { --u:min(0.05vw,0.0925926vh,1.15px); }
}
@media (min-width:1024px) and (max-width:1199px) and (min-height:600px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { --u:min(0.040vw,0.0925926vh,1.15px); }
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { --round:48px; --plaque-h:48px; }
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__pill { min-width:48px !important; }
}
/* Recorded card line 12: the bet steppers and their amount have 6px separation. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__bet { column-gap:6px !important; }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__bet-mid .lantern-select329__button { column-gap:6px !important; }
#app .h3-lines-label { font-size:20px !important; }
#app .portrait-win .meter > span, #app .portrait-win .portrait-win__primary .kit-plate { font-size:20px !important; }
@media (orientation:portrait) and (max-width:500px) {
 #app .portrait-win .portrait-win__shell { column-gap:6px; }
}
@media (orientation:portrait) and (min-width:600px) {
 #app .portrait-win .meter > span, #app .portrait-win .portrait-win__primary .kit-plate { font-size:26px !important; }
}
@media (min-width:1600px) and (min-height:800px) {
 #app[data-main-mode=desktop] .h3-lines-label { font-size:max(20px,min(1.142858vw,2.04082vh,30px)) !important; }
}
/* The existing short landscape rail uses its two columns before it scrolls. */
@media (orientation:landscape) and (min-height:250px) and (max-height:349px) and (min-width:600px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  width:450px !important; flex-basis:450px !important; display:grid !important;
  grid-template-columns:268px minmax(0,1fr); grid-template-rows:48px 54px 48px; gap:6px !important;
  align-content:start; padding:4px !important;
 }
 #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { display:none; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet {
  grid-column:1; grid-row:1; display:flex !important; flex-wrap:nowrap !important; justify-content:center; gap:6px !important; height:48px !important; min-height:48px !important;
 }
 html body #app #mainControlsMount .lantern-controls329__bet > .lantern-controls329__bet-mid { flex:0 1 auto !important; order:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-column:2; grid-row:1; width:167px !important; height:48px !important; min-height:48px !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-lower,
 html body #app #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__buy { grid-column:1; grid-row:2; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__auto { grid-column:2; grid-row:2; }
 html body #app #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques > button > .kit-plate { width:100% !important; max-width:225px; }
 html body #app #mainControlsMount .kit-rail-icons { grid-column:1/-1; grid-row:3; display:flex !important; align-items:center; justify-content:center; gap:6px !important; height:48px !important; }
}
/* z1755 F-002: free spins retain the per-spin paid result and message. */
@media (orientation:portrait) {
 #app.lantern-feature-visible .portrait-win__paid { visibility:visible !important; }
 #app.lantern-feature-visible .portrait-win__paid:not([hidden]) { height:auto !important; min-height:80px !important; flex-wrap:wrap; overflow:visible; white-space:normal; gap:2px 6px; }
 #app.lantern-feature-visible .portrait-win__paid:not([hidden]) > #status { display:block !important; flex:1 1 100%; }
 #app.lantern-feature-visible .portrait-win__paid:not([hidden]) > .h3-glyphs { display:none !important; }
 #app.lantern-feature-visible .portrait-win__paid [data-paid-amount] { font-size:20px !important; }
 #app.lantern-feature-visible .portrait-win__paid [data-paid-combination],
 #app.lantern-feature-visible .portrait-win__paid [data-paid-status] { font-size:20px; }
}
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 #app.lantern-feature-visible .portrait-win__primary > .action--bonus { width:200px !important; }
}
@media (orientation:portrait) {
 #app.lantern-feature-visible .portrait-win__paid > #status.h3-status--glyphs { color:#ffeac0 !important; }
 #app.lantern-feature-visible .portrait-win__paid > .h3-glyphs { display:none !important; }
}
@media (orientation:portrait) and (max-height:740px) {
 #app.lantern-feature-visible .portrait-win__board { min-height:12px; }
}
/* The tablet bar allocates its named columns before its captions grow. */
@media (min-width:1024px) and (max-width:1199px) and (min-height:600px) {
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { grid-template-columns:repeat(3,50px) minmax(0,1fr) max-content minmax(0,1fr) repeat(3,50px); }
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__label { font-size:max(20px,calc(20 * var(--u))) !important; }
#app .h3-demo-note { font-size:20px; }
@media (orientation:portrait) and (min-width:375px) and (max-width:500px) {
 #app.lantern-feature-visible .portrait-win__header { height:182px !important; min-height:182px !important; }
}
@media (orientation:portrait) and (min-width:375px) and (max-width:500px) and (max-height:740px) {
 #app.lantern-feature-visible .portrait-win .portrait-win__shell { grid-template-rows:182px auto minmax(12px,1fr) auto auto 54px; }
}
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter > .lantern-controls329__label { font-size:max(20px,calc(20 * var(--u))) !important; }
#app .h3-demo-note { font-size:20px !important; }

/* The approved message plaque gives a currency prefix the existing field's clear width. */
html body #app strong.session-balance.kit-plate,
html body #app #mainControlsMount strong.session-balance.session-balance.session-balance.kit-plate {
 background:none !important; border:6px solid transparent !important;
 border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 padding:0 !important; box-sizing:border-box; color:#fff8d9; text-shadow:none !important;
}

/* Keep the reported six-pixel separations in the existing portrait and sideways layouts. */
@media (orientation:portrait) and (max-width:500px) {
 #app .portrait-win .portrait-win__primary { grid-template-rows:48px minmax(48px,auto); }
}
@media (orientation:portrait) and (min-width:600px) {
 #app .portrait-win .meter__bet-row, #app .portrait-win .portrait-win__primary,
 #app .portrait-win .portrait-win__secondary, #app .portrait-win .portrait-win__footer { gap:6px !important; }
 #app .portrait-win .portrait-win__secondary, #app .portrait-win .portrait-win__footer { margin-top:6px !important; }
}
@media (orientation:landscape) and (min-height:350px) and (max-height:550px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-rail { gap:6px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary,
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-lower { margin-top:0 !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .kit-rail-plaques,
 html body #app:not(.lantern-feature-visible) #mainControlsMount .kit-rail-icons { gap:6px !important; }
}

@media (orientation:portrait) and (min-height:631px) and (max-width:500px) {
 #app .portrait-win .portrait-win__primary { grid-template-rows:48px minmax(58px,auto); }
}
@media (orientation:portrait) and (min-width:600px) {
 #app .portrait-win .portrait-win__shell { column-gap:6px; }
}
@media (orientation:landscape) and (min-height:350px) and (max-height:550px) {
 html body #app #mainControlsMount .kit-rail-icons { gap:6px !important; }
}
@media (orientation:portrait) and (min-height:631px) and (max-height:740px) and (max-width:500px) {
 #app .portrait-win .portrait-win__shell { grid-template-rows:60px 54px minmax(20px,1fr) auto auto 84px; }
 #app.lantern-feature-visible .portrait-win .portrait-win__shell { grid-template-rows:182px auto minmax(12px,1fr) auto auto 84px; }
}

/* Existing value tracking also keeps WINS ink inside the compact counter. */
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(2) small { letter-spacing:-.03em; }

/* First follow-up: the visible desktop art and its hit area share the standing floor. */
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop { --round:max(48px,calc(76 * var(--u))); }
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__pill,
#app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__round { min-width:44px !important; min-height:44px !important; }
@media (pointer:coarse) {
 #mainControlsMount button, .portrait-win button, #settingsMenuMount button, #infoDialog button { min-width:48px !important; min-height:48px !important; }
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__pill,
 #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__round { min-width:48px !important; min-height:48px !important; }
}
/* The message owns the portrait band; no thumbnails, symbol names or counts reserve reel space. */
.portrait-win .portrait-win__paid > :not(#status) { display:none !important; }
.portrait-win .portrait-win__paid > #status { display:block !important; visibility:visible !important; font-size:20px !important; line-height:1.2; }
#app .portrait-win .portrait-win__paid { height:54px !important; min-height:54px !important; }
#status { font-size:max(20px,var(--msg-size,20px)) !important; }

@media (orientation:portrait) and (max-width:500px) and (max-height:630px) {
 #app.lantern-feature-visible .portrait-win .portrait-win__shell { grid-template-rows:182px 54px minmax(12px,1fr) 96px 108px 54px; }
 #app.lantern-feature-visible .portrait-win .portrait-win__meters.kit-panel { min-height:96px; }
 #app.lantern-feature-visible .portrait-win .portrait-win__paid { min-height:54px !important; height:54px !important; }
}
/* Four control rows and a separate icon column fit the 220px landscape page. */
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  flex:none !important; width:300px !important; flex-basis:300px !important; padding:4px !important; box-sizing:border-box;
  display:grid !important; grid-template-columns:minmax(0,1fr) 48px; grid-template-rows:repeat(4,48px); gap:6px;
  height:100% !important; min-height:0 !important; overflow:visible !important; align-content:start;
 }
 html body #app #mainControlsMount .lantern-controls329__ls-brand { height:0 !important; min-height:0 !important; display:none !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet { grid-column:1; grid-row:1; margin:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-column:1; grid-row:2; margin:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-lower,
 html body #app #mainControlsMount .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__buy { grid-column:1; grid-row:3; margin:0 !important; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__auto { grid-column:1; grid-row:4; margin:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button { min-height:48px !important; height:48px !important; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__buy .kit-plate { width:100% !important; min-width:0 !important; font-size:20px !important; white-space:nowrap !important; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__auto .kit-plate { width:100% !important; min-width:0 !important; font-size:20px !important; }
 html body #app #mainControlsMount .kit-rail-icons { grid-column:2; grid-row:1/5; display:grid !important; grid-template-columns:48px; grid-auto-rows:48px; gap:6px !important; align-content:center; margin:0 !important; }
 html body #app #mainControlsMount .kit-rail-icons > * { width:48px !important; height:48px !important; min-width:48px !important; min-height:48px !important; margin:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-speed .lantern-controls329__speed-cycle { width:48px !important; height:48px !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none !important; }
 html body #app #mainControlsMount .lantern-controls329__ls-speed .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { left:0 !important; right:308px !important; min-height:0 !important; height:54px !important; bottom:54px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__meter-value.kit-plate { min-height:28px !important; height:28px !important; font-size:20px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status { width:calc(100% - 308px) !important; right:auto !important; height:54px !important; min-height:54px !important; padding:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { min-height:54px !important; height:54px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-boardmount { padding-bottom:76px !important; }
}
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .kit-rail-icons { grid-auto-flow:row !important; grid-template-rows:repeat(3,48px) !important; height:auto !important; align-self:stretch; }
 html body #app #mainControlsMount .kit-rail-icons > * { grid-column:1 !important; grid-row:auto !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__buy .lantern-controls329__plaque.kit-plate,
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques .lantern-controls329__auto .lantern-controls329__auto-title.kit-plate {
  width:100% !important; height:48px !important; aspect-ratio:auto !important; box-sizing:border-box;
  background:url(./assets/kit/button-long.a43a2903da87cf8e.webp) 49.2308% 43.5583%/104.4188% 146.7049% no-repeat !important;
  padding:0 24px !important; display:flex; align-items:center; justify-content:center; white-space:nowrap; font-size:20px !important; color:#fff4cf !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary[data-primary-label] {
  width:188px !important; height:48px !important; background:none !important; justify-self:center;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__primary-art { width:100% !important; height:100% !important; display:block !important; }
}
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { padding-top:0 !important; }
}
/* Live Cinzel text keeps win amounts measurable at the money floor on the same approved plaque. */
html body #app #status.h3-status--glyphs { color:#fff4cf !important; text-shadow:none !important; }
.portrait-win .portrait-win__paid > .h3-glyphs,
.lantern-controls329__status-mount > .h3-glyphs { display:none !important; }
/* A winning frame lives for exactly the same interval as its symbol's animation. */
#board > .h3-cell.h3-alive > .h3-symbol { animation-iteration-count:infinite; }
#board > .h3-cell.h3-alive::before, #board > .h3-cell.h3-alive::after { animation-iteration-count:infinite; }
/* Lantern supplies touch hit floors around the unchanged shared autoplay component. */
@media (pointer:coarse) {
 #autoplayMount .sap-modal button, #autoplayMount .sap-modal input[type=range] {
  min-width:48px !important; min-height:48px !important;
 }
}

/* z1797 item 11: temporary Lantern sizing for shared-autoplay 1.1.1.
   Remove this entire block when the module owner's replacement carries the
   floors (item 3). Device class selects floors; window geometry only arranges
   the card. Mixed credit/total lines contain money and keep the 20px floor. */
#autoplayMount { --lantern-auto-word:16px; --lantern-auto-button:20px; --lantern-auto-target:44px; }
@media (pointer:coarse) {
 #autoplayMount { --lantern-auto-word:20px; --lantern-auto-button:20px; --lantern-auto-target:48px; }
}
#autoplayMount .sap .auto-sub, #autoplayMount .sap .auto-label,
#autoplayMount .sap .auto-scale, #autoplayMount .sap .auto-error {
 font-size:var(--lantern-auto-word) !important; line-height:1.3 !important;
}
#autoplayMount .sap .auto-credits, #autoplayMount .sap .auto-total,
#autoplayMount .sap .auto-total-right { font-size:20px !important; line-height:1.3 !important; }
#autoplayMount .sap .preset-btn, #autoplayMount .sap .auto-start,
#autoplayMount .sap .auto-stop, #autoplayMount .sap .auto-cancel {
 font-size:var(--lantern-auto-button) !important; line-height:1.3 !important;
}
#autoplayMount .sap button, #autoplayMount .sap select:not(.lantern-select329__native), #autoplayMount .sap input[type=range] {
 min-width:var(--lantern-auto-target) !important; min-height:var(--lantern-auto-target) !important;
}
#autoplayMount .sap-modal.open { display:grid; place-items:center; padding:8px; }
#autoplayMount .sap .auto-card { margin:0; box-sizing:border-box; max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); overflow:auto; scroll-padding-top:84px; }
#autoplayMount .sap .auto-head { position:sticky; top:0; z-index:3; background:inherit; }
#autoplayMount .sap .lantern-select329__value { font-size:20px !important; }
#autoplayMount .sap .auto-head { min-height:56px; }
#autoplayMount .sap .auto-label { white-space:normal; }
#autoplayMount .sap .auto-stepper[data-sap-stepper=bet] { gap:0; }
#autoplayMount .sap .auto-stepper .step-btn { width:var(--lantern-auto-target); }
@media (orientation:landscape) and (min-height:271px) and (max-height:600px) {
 #autoplayMount .sap .auto-card { --sap-actions-row:7; grid-template-rows:80px 26px 48px 74px auto auto 48px; }
 #autoplayMount .sap .auto-card.has-error { --sap-actions-row:8; grid-template-rows:80px 26px 48px 74px auto auto minmax(26px,auto) 48px; }
 #autoplayMount .sap .auto-head { height:80px; }
 #autoplayMount .sap .auto-sub { top:48px; margin-top:48px; }
 #autoplayMount .sap .auto-scale { transform:none; }
 #autoplayMount .sap .auto-credits { grid-area:5/2; }
 #autoplayMount .sap .auto-total { grid-area:6/2; align-self:start; }
 #autoplayMount .sap .auto-error:not(:empty) { grid-area:7/1/8/-1; }
}
@media (orientation:landscape) and (max-height:270px) {
 #autoplayMount .sap-modal.open { padding:4px; }
 #autoplayMount .sap .auto-presets { gap:0; }
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error {
  grid-template-columns:minmax(calc(3 * var(--lantern-auto-target)),.8fr) minmax(calc(2 * var(--lantern-auto-target) + 158px),1.2fr) 124px;
  grid-template-rows:48px 26px 58px 74px auto auto;
 }
 #autoplayMount .sap .auto-head {
  display:flex; grid-area:1/1/-1/-1; align-self:start; position:sticky; top:-8px;
  box-sizing:border-box; height:56px; margin:-8px -8px 0; padding:8px;
  z-index:3; background:inherit;
 }
 #autoplayMount .sap .auto-head h2 { align-self:center; }
 #autoplayMount .sap .auto-x { align-self:start; }
 #autoplayMount .sap .auto-sub {
  grid-area:1/2/2/3; align-self:start; position:sticky; top:0;
  z-index:4; margin:0; pointer-events:none;
 }
 #autoplayMount .sap .auto-scale { transform:none; }
 #autoplayMount .sap .auto-credits { grid-area:5/2; }
 #autoplayMount .sap .auto-total { grid-area:6/2; align-self:start; }
 #autoplayMount .sap .auto-start, #autoplayMount .sap .auto-cancel { height:auto; }
}
/* End temporary shared-autoplay 1.1.1 block. */

/* Floor-sized live lettering stays inside the existing compact art's clear
   main field. Move the title and win together; keep their mutual spacing and
   the art's uniform scale, with the amount clear of the lower gold border. */
.kit-banner.kit-banner--compact .kit-banner__title { top:calc(28.4463% - 4px); }
.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(3) { top:calc(40.1285% - 4px); }

/* NR-12 (z1797 item 10): short portrait uses four floor-sized control rows.
   The icons fill space beside BET, SPIN and BUY instead of owning another row.
   The existing message plaque keeps its ink backing and the board takes all remaining
   height. The existing compact feature art retains its uniform scale. */
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app .portrait-win .portrait-win__shell {
  grid-template-columns:repeat(4,minmax(0,1fr)) 48px 48px;
  grid-template-rows:48px auto minmax(0,1fr) 72px 48px 48px 48px;
  grid-template-areas:none; gap:0 2px;
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__shell {
  grid-template-rows:182px auto minmax(0,1fr) 72px 48px;
 }
 html body #app .portrait-win .portrait-win__header { grid-area:1/1/2/-1; height:48px; min-height:48px; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__header { height:174px !important; min-height:174px !important; }
 html body #app .portrait-win .portrait-win__paid {
  grid-area:2/1/3/-1; height:auto !important; min-height:54px !important;
  margin:0; padding:2px 0; border-width:0;
 }
 html body #app .portrait-win .portrait-win__paid > #status { line-height:1.3 !important; }
 html body #app .portrait-win .portrait-win__board { grid-area:3/1/4/-1; min-height:0; margin:0; }
 html body #app .portrait-win .portrait-win__meters,
 html body #app .portrait-win .portrait-win__primary,
 html body #app .portrait-win .portrait-win__secondary,
 html body #app .portrait-win .portrait-win__footer { display:contents; }
 html body #app .portrait-win .portrait-win__meters > .meter:not(.meter--bet) {
  grid-row:4; width:100%; min-width:0; height:72px; gap:0; margin:0;
 }
 html body #app .portrait-win .portrait-win__meters > .meter:first-child { grid-column:1/4; grid-area:4/1/5/4; }
 html body #app .portrait-win .portrait-win__meters > .meter:last-child { grid-area:4/4/5/-1; }
 html body #app .portrait-win .meter:not(.meter--bet) > strong.kit-plate {
  height:52px !important; min-height:52px; max-width:100%; padding:10px 0 !important;
  background:none !important; border:6px solid transparent !important;
  border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 }
 html body #app .portrait-win .meter--bet { grid-area:5/1/6/6; gap:0; min-width:0; height:48px; }
 html body #app .portrait-win .meter--bet > span { display:none; }
 html body #app .portrait-win .meter__bet-row { width:100%; gap:2px; }
 html body #app .portrait-win .meter--bet .lantern-select329 { flex:1; min-width:0; --dd-w:min(158px,100%); }
 html body #app .portrait-win .meter--bet .lantern-select329__button { width:100%; }
 html body #app .portrait-win .meter--bet .lantern-select329__value { width:auto; flex:1; min-width:0; padding:0 !important; }
 html body #app .portrait-win .portrait-win__primary > .action { margin:0; width:100% !important; height:48px; min-height:48px; justify-self:stretch; }
 html body #app .portrait-win .action--spin { grid-area:6/1/7/4; }
 html body #app .portrait-win .action--auto { grid-area:7/5/8/-1; }
 html body #app .portrait-win .action--bonus { grid-area:7/1/8/5; }
 html body #app .portrait-win .action .kit-plate--long { min-width:0; width:100% !important; }
 html body #app .portrait-win .wide-action, html body #app .portrait-win .footer-action,
 html body #app .portrait-win .portrait-speed-slot348 { margin:0; width:48px; height:48px; min-height:48px; align-self:center; }
 html body #app .portrait-win [data-action=menu] { grid-area:5/6/6/7; }
 html body #app .portrait-win [data-action=info] { grid-area:6/4/7/5; }
 html body #app .portrait-win .portrait-speed-slot348, html body #app .portrait-win [data-action=speed] { grid-area:6/5/7/6; }
 html body #app .portrait-win [data-action=sound] { grid-area:6/6/7/7; }
 html body #app .portrait-win .wide-action > span:not(.kit-icon), html body #app .portrait-win .footer-action > span:not(.kit-icon),
 html body #app .portrait-win .portrait-speed-slot348 > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 /* During the feature these controls are locked. Their rows belong to the
    board; MENU remains reachable beside the paid message. */
 html body #app.lantern-feature-visible .portrait-win .meter--bet,
 html body #app.lantern-feature-visible .portrait-win .action--auto,
 html body #app.lantern-feature-visible .portrait-win .action--bonus { display:none !important; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__paid { padding-right:50px !important; box-sizing:border-box; }
 html body #app.lantern-feature-visible .portrait-win [data-action=menu] { grid-area:2/6/3/7; z-index:1; }
 html body #app.lantern-feature-visible .portrait-win .action--spin { grid-area:5/1/6/4; }
 html body #app.lantern-feature-visible .portrait-win [data-action=info] { grid-area:5/4/6/5; }
 html body #app.lantern-feature-visible .portrait-win .portrait-speed-slot348,
 html body #app.lantern-feature-visible .portrait-win [data-action=speed] { grid-area:5/5/6/6; }
 html body #app.lantern-feature-visible .portrait-win [data-action=sound] { grid-area:5/6/6/7; }
}

/* NR-13/14 (z1792 item 3): the 568x320 rail keeps its controls above a
   separate full-width message. Meters occupy the left column above that band.
   During free spins the locked bet and unavailable actions give their space
   to the existing compact banner; usable controls keep one 48px row below it. */
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (max-width:799px) {
 html body #app #mainControlsMount .lantern-controls329__landscape { --ls-band:54px; padding-bottom:54px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape::before, html body #app #mainControlsMount .lantern-controls329__landscape::after { pointer-events:none; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand { display:block !important; height:0; min-height:0; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  width:268px !important; flex-basis:268px !important; padding:4px !important; gap:4px !important; overflow:visible !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary,
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower { margin:0 !important; min-height:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { gap:4px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > button { height:48px !important; min-height:48px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > button > .kit-plate { width:202px !important; height:48px !important; padding:0 !important; background-size:contain !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { margin:0 !important; height:48px; gap:4px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters {
  position:absolute !important; left:0 !important; right:278px !important; bottom:54px !important;
  height:84px !important; min-height:84px !important; padding:0 !important; gap:2px;
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:30px 52px;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter { display:contents; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__label { position:static; transform:none; grid-row:1; line-height:30px; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate {
  grid-row:2; width:100% !important; min-width:0; height:52px !important; min-height:52px !important; aspect-ratio:auto;
  padding:10px 0 !important; font-size:20px !important; background:none !important;
  border:6px solid transparent !important; border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status {
  width:100% !important; height:54px !important; min-height:54px !important; padding:0 !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { width:100% !important; max-width:100%; min-width:0; flex:1 1 0 !important; box-sizing:border-box; height:54px !important; min-height:54px !important; padding:0 !important; display:flex !important; align-items:center; justify-content:center; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { height:48px !important; min-height:48px !important; max-height:48px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button { height:48px !important; min-height:48px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques > button > .kit-plate { width:202px !important; height:48px !important; min-height:0 !important; padding:0 !important; background-size:contain !important; }
 html body #app #mainControlsMount #status { display:block !important; flex:0 1 100%; min-width:0; width:100% !important; max-width:100% !important; margin:0 !important; padding:0 4px; box-sizing:border-box; white-space:normal !important; line-height:1.3 !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-boardmount { padding-bottom:84px !important; }
 html body #app.lantern-feature-visible #featureBanner.kit-banner:not([hidden]) { display:block !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand { grid-area:1/1/2/-1; height:182px; min-height:182px; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  width:308px !important; flex-basis:308px !important; display:grid !important;
  grid-template-columns:minmax(0,1fr) repeat(3,48px); grid-template-rows:182px 48px; gap:4px !important;
 }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__bet,
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { display:none !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1; width:100% !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower { display:contents !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { display:contents !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > * { grid-row:2; width:48px !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__speed-cycle { width:48px !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { right:308px !important; }
}

/* z1802 item 5: restore the earlier board width at the two 500px-high
   landscape cells. The existing compact banner fits the original 34% rail;
   locked feature actions release their rows for the usable controls. */
@media (orientation:landscape) and (min-height:441px) and (max-height:550px) and (min-width:1000px) and (max-width:1300px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  width:34% !important; flex-basis:34% !important;
  grid-template-columns:minmax(0,1fr); grid-template-rows:198px 48px 48px 80px; gap:4px;
 }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet,
 html body #app.lantern-feature-visible #mainControlsMount .kit-rail-plaques > button { display:none !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-brand { grid-area:1/1/2/2; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1/3/2; width:min(100%,210px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .kit-rail-icons { grid-area:3/1/4/2; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__ls-meters { grid-area:4/1/5/2; }
}

@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app.lantern-feature-visible .portrait-win .portrait-win__paid[hidden],
 html body #app.lantern-feature-visible .portrait-win .portrait-win__paid:not([hidden]) { min-height:54px !important; height:auto !important; }
 html body #app .portrait-win .meter:not(.meter--bet) > strong.kit-plate { background-size:102.4% auto !important; }
}

/* z1811 item 1: reserve the landscape meters' actual rows. Short rails keep
   captions above values below the reels; wider bands put captions beside
   values, inside the existing band rather than over the last reel row. */
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters {
  position:absolute !important; left:0 !important; right:308px !important; bottom:54px !important;
  height:76px !important; min-height:76px !important; padding:0 !important;
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:30px 44px; gap:2px;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter { display:contents; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__label {
  position:static; transform:none; grid-row:1; line-height:30px; line-height:30px; text-align:center;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate {
  grid-row:2; width:100% !important; min-width:0; height:44px !important; min-height:44px !important;
  padding:6px 0 !important; aspect-ratio:auto; box-sizing:border-box;
  background:none !important; border:6px solid transparent !important;
  border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 }
}
@media (orientation:landscape) and (min-height:300px) and (max-height:500px) and (min-width:800px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters {
  height:52px !important; min-height:52px !important; align-items:center;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter {
  display:flex; flex-direction:row; align-items:center; gap:6px; width:auto;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__label {
  position:static; transform:none; line-height:30px;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status {
  padding-left:274px !important; padding-right:226px !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate {
  flex:none; width:164px !important; height:52px !important; min-height:52px !important; padding:10px 0 !important;
  background:none !important; border:6px solid transparent !important;
  border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 }
}

@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape { padding-bottom:54px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status {
  position:absolute !important; top:auto !important; bottom:0 !important; left:0 !important; right:auto !important;
  width:calc(100% - 308px) !important; height:54px !important; min-height:54px !important; padding:0 !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount {
  height:54px !important; min-height:54px !important; padding:0 !important; display:flex !important; align-items:center;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape #status {
  width:100% !important; margin:0 !important; padding:0 4px; box-sizing:border-box; line-height:1.3 !important;
 }
}

@media (orientation:landscape) and (min-height:350px) and (max-height:359px) and (min-width:800px) {
 html body #app.lantern-feature-visible #mainControlsMount .kit-rail-plaques > button:disabled { display:none !important; }
}

/* Cinzel's painted caption height exceeds its old one-em line box. Keep
   the full caption in normal flow before a landscape plate at every height. */
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__meter > .lantern-controls329__label {
 line-height:1.6 !important;
}

/* Status words use only their reserved region, including the longest
   existing catalogue line. Short views reserve its three readable lines. */
@media (orientation:landscape) and (min-height:300px) and (max-height:500px) and (min-width:800px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount {
  flex:1 1 0 !important; width:100% !important; max-width:100%; min-width:0; padding:0 !important;
 }
 html body #app #mainControlsMount .lantern-controls329__landscape #status {
  display:block !important; width:100% !important; max-width:100%; min-width:0; margin:0 !important;
  padding:0 !important; box-sizing:border-box; white-space:normal !important; line-height:1.3 !important;
 }
}
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape { padding-bottom:84px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { bottom:84px !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status,
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount {
  height:84px !important; min-height:84px !important;
 }
}

/* Clear inherited named grid ends when compact controls share fixed rows. */
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { grid-template-areas:none; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet { grid-area:1/1/2/2; }
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1/3/2; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__buy { grid-area:3/1/4/2; }
 html body #app #mainControlsMount .kit-rail-plaques > .lantern-controls329__auto { grid-area:4/1/5/2; }
 html body #app #mainControlsMount .kit-rail-icons { grid-area:1/2/5/3; }
}
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (max-width:799px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  display:flex !important; flex-direction:column; grid-template-areas:none; align-items:stretch;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-lower,
 html body #app:not(.lantern-feature-visible) #mainControlsMount .kit-rail-plaques { display:contents !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .kit-rail-icons {
  display:flex !important; flex:none; height:48px; gap:4px !important; justify-content:center;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .kit-rail-icons > .lantern-controls329__ls-speed {
  flex:none; width:48px !important; height:48px !important; padding:0;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__speed-cycle { width:48px !important; height:48px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { grid-template-areas:none; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1/3/2; }
}
@media (orientation:landscape) and (min-height:501px) {
 html body #app:not(.lantern-feature-visible)[data-main-mode=landscape] #mainControlsMount .lantern-controls329__ls-status {
  right:calc(34% + 8px); width:auto !important;
 }
}

@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques {
  display:contents !important; grid-area:auto;
 }
}
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (max-width:799px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
}

/* A feature's in-rail meters retain two compact columns. Captions sit above
   values there; side captions are for the full-width base status band. */
@media (orientation:landscape) and (min-height:441px) and (max-height:550px) and (min-width:800px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters {
  height:84px !important; min-height:84px !important;
 }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter {
  flex-direction:column; gap:2px; width:100%; min-width:0;
 }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate {
  width:100% !important; max-width:100%;
 }
}

/* Retain the established amount and touch-control floors at the adjacent
   desktop breakpoint and on every feature counter text fragment. */
html body #app #featureBanner #fsWin, html body #app #featureBanner #fsWin * { font-size:max(20px,1em) !important; }
@media (pointer:coarse) {
 html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__buy,
 html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__auto { min-height:48px !important; }
}

@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app .portrait-win .meter:not(.meter--bet) > span { line-height:24px; }
 html body #app .portrait-win .meter:not(.meter--bet) > strong.kit-plate {
  height:48px !important; min-height:48px; padding:8px 0 !important;
 }
}
/* R02-FAB-01: the portrait wide banner is the feature total's only visible
   carrier. The desktop/landscape duplicate fallback applies only there. */
@media (orientation:landscape) {
 html body #app #featureBanner.kit-banner:not(.kit-banner--compact) #fsWin { visibility:hidden !important; }
}

/* z1814: complete existing currency-bearing fields and six-pixel control gaps. */
html body #app .lantern-select329--field .lantern-select329__button {
 padding-left:6px !important; padding-right:6px !important;
 background:none !important; border:6px solid transparent !important;
 border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch !important;
 box-sizing:border-box;
}
html body #app .lantern-select329--field .lantern-select329__button::before,
html body #app .lantern-select329--field .lantern-select329__button::after { display:none !important; }
html body #app .lantern-select329--field .lantern-select329__value { font-size:20px !important; }
html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__buy .kit-plate,
html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__auto .kit-plate { font-size:20px !important; }
html body #app #mainControlsMount .lantern-controls329__bet,
html body #app #mainControlsMount .kit-rail-plaques,
html body #app #mainControlsMount .kit-rail-icons { gap:6px !important; }
.lantern-menu-host .lantern-menu__nav, .lantern-menu-host .lantern-menu__speeds,
.lantern-menu-host .lantern-menu__body { gap:6px !important; }
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app .portrait-win .portrait-win__shell { column-gap:6px; }
 html body #app .portrait-win .meter:not(.meter--bet) > strong.kit-plate { width:100% !important; }
 html body #app .portrait-win .action--spin { grid-area:6/1/7/-1; width:calc(100% - 108px) !important; justify-self:center; }
 html body #app .portrait-win [data-action=info] { grid-area:6/1/7/2; }
 html body #app .portrait-win .portrait-speed-slot348, html body #app .portrait-win [data-action=speed] { grid-area:7/6/8/7; }
 html body #app .portrait-win .action--bonus { grid-area:7/1/8/4; }
 html body #app .portrait-win .action--auto { grid-area:7/4/8/6; }
 html body #app.lantern-feature-visible .portrait-win .action--spin { grid-area:5/1/6/-1; width:104px !important; justify-self:center; }
 html body #app.lantern-feature-visible .portrait-win [data-action=info] { grid-area:5/1/6/2; }
 html body #app.lantern-feature-visible .portrait-win .portrait-speed-slot348 { grid-area:5/5/6/6; }
}
@media (orientation:portrait) {
 html body #app .portrait-win [data-action=sound] > span:not(.kit-icon) { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
}
/* The wheel's existing balance plate stays inside the safe viewport. */
#lanternWheel .lantern-wheel__balance { left:6px !important; right:6px !important; width:auto !important; max-width:calc(100% - 12px); box-sizing:border-box; gap:6px; }
#lanternWheel .lantern-wheel__balance > span { flex:none; }
#lanternWheel .lantern-wheel__balance > strong { min-width:0 !important; max-width:100%; }
@media (orientation:portrait) and (min-width:375px) and (max-width:500px) and (min-height:741px) {
 html body #app .portrait-win .portrait-win__primary { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:48px 58px; grid-template-areas:"spin spin" "buy autoplay"; gap:6px; }
 html body #app .portrait-win .portrait-win__primary > .action--spin { grid-area:spin; width:200px !important; height:48px; justify-self:center; }
 html body #app .portrait-win .portrait-win__primary > .action--bonus { grid-area:buy; width:100% !important; height:58px; }
 html body #app .portrait-win .portrait-win__primary > .action--auto { grid-area:autoplay; width:100% !important; height:58px; }
 html body #app .portrait-win .portrait-win__primary .kit-plate--long { width:100% !important; }
}
#lanternWheel .lantern-wheel__prize-win { padding:8px 12px; border:6px solid transparent; border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch; box-sizing:border-box; color:#fff4cf !important; text-shadow:none; line-height:1.4; }

.lantern-menu-host .lantern-menu__content { row-gap:6px !important; }
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app .portrait-win .portrait-win__primary > .action--spin { width:calc(100% - 108px) !important; justify-self:center; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__primary > .action--spin { width:104px !important; justify-self:center; }
}

#lanternWheel .lantern-wheel__balance { position:relative; display:flex; justify-content:center; gap:6px; font-size:20px; }
#lanternWheel .lantern-wheel__balance > span { flex:none; max-width:100px; font-size:20px; }
#lanternWheel .lantern-wheel__balance > strong { flex:1; width:calc(100% - 106px) !important; height:48px !important; padding:0 6px; background:none; border:6px solid transparent; border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch; box-sizing:border-box; }
#lanternWheel .lantern-wheel__prize-win { visibility:hidden !important; }
/* The existing full-width wheel message plaque has room for a larger, fully
   painted currency amount while keeping the standing floor and original contrast method. */
#lanternWheel .lantern-wheel__status { font-size:24px; font-weight:700; }
#lanternWheel .lantern-wheel__status { -webkit-text-stroke:.4px currentColor; }
#lanternWheel .lantern-wheel__status { -webkit-text-stroke:1px currentColor; }
/* z1814: remove the inherited two-pixel field overhang so both Bet gaps are
   truly six pixels; the short row uses its full existing control column. */
html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field { --dd-w:min(150px,100%) !important; }
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__ls-rail > .lantern-controls329__bet { width:100% !important; max-width:none !important; padding:0 !important; min-width:0; }
}
/* Currency-bearing feature meters share the existing row equally, including
   their intrinsic text widths. Neither column can push WIN outside the rail. */
@media (orientation:landscape) and (min-height:441px) and (max-height:550px) and (min-width:800px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px; min-width:0; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter { width:auto !important; min-width:0; }
}
/* The compact Bet field consumes the clear middle of its existing row. */
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet > .lantern-controls329__bet-mid { flex:1 1 0 !important; min-width:0 !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field { width:100% !important; }
}
/* The desktop message owns its full existing sixty-pixel row. */
html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop {
 grid-template-rows:max(calc(var(--plate-h) + 2 * var(--u)),calc(44px + 2 * var(--u))) var(--plaque-h) max(60px,calc(var(--spin-h) - var(--plaque-h))) auto;
}
@media (orientation:landscape) and (min-width:800px) and (min-height:300px) and (max-height:349px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { overflow:visible !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower > .kit-rail-plaques { display:contents !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet > .lantern-controls329__bet-mid { flex:1 1 0 !important; min-width:0 !important; }
}
/* Two existing status lines fit their reserved band at the standing floor. */
@media (orientation:landscape) and (min-width:800px) and (min-height:320px) and (max-height:500px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status { align-items:center !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { height:100% !important; min-height:0 !important; padding:0 !important; box-sizing:border-box; display:flex !important; align-items:center !important; }
 html body #app #mainControlsMount .lantern-controls329__landscape #status { font-size:20px !important; line-height:1.25 !important; margin:0 !important; }
}

/* The compact field uses its existing centered clear area rather than the
   inherited art-coordinate offset. Full currency values remain at 20 pixels. */
@media (orientation:landscape) and (max-height:280.98px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__bet-mid .lantern-select329--field .lantern-select329__button .lantern-select329__value { position:static !important; inset:auto !important; width:auto !important; height:auto !important; flex:1 1 auto !important; align-self:center !important; }
}

/* The compact currency meters use four spare pixels of their existing band;
   the 568-pixel row retains six pixels before the right-hand controls. */
@media (orientation:landscape) and (max-height:319px) and (max-width:600px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { right:304px !important; }
}

/* At narrow landscape widths both status lines keep their complete glyph
   bounds inside the existing fifty-two-pixel message band. */
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (max-width:799px) {
 html body #app #mainControlsMount .lantern-controls329__landscape #status { font-size:20px !important; line-height:1.2 !important; }
}

/* The wheel balance stays in its existing header row, with the plaque's
   percentage art insets replaced by its six-pixel clear frame. */
#lanternWheel .lantern-wheel__balance > strong.kit-plate.kit-plate--meter { padding:0 6px !important; aspect-ratio:auto !important; height:48px !important; min-height:48px !important; max-height:48px !important; }
#lanternWheel .lantern-wheel__status { min-height:48px; height:48px; padding:0 6px; border-width:6px; border-image-width:6px; line-height:1.2; display:flex; align-items:center; justify-content:center; }
#lanternWheel .lantern-wheel__continue { margin-top:-8px; }
/* These existing four control rows leave room for the bottom status band;
   the three icons occupy the adjacent column with six-pixel separations. */
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (max-width:799px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { display:grid !important; grid-template-columns:minmax(0,1fr) 48px !important; grid-template-rows:repeat(4,minmax(48px,auto)) !important; gap:6px !important; align-content:start !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__bet { grid-area:1/1/2/3; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1/3/2; width:100% !important; height:48px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > .lantern-controls329__buy { grid-area:3/1/4/2; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > .lantern-controls329__auto { grid-area:4/1/5/2; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { grid-area:2/2/5/3; display:flex !important; flex-direction:column !important; width:48px !important; height:auto !important; gap:6px !important; }
}
@media (orientation:landscape) and (min-width:800px) and (min-height:350px) and (max-height:500px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { gap:6px !important; }
}

/* The pre-spin prompt can use its complete existing line count; only the
   single landed amount needs the shorter row beside Continue. */
#lanternWheel .lantern-wheel__status { height:auto; }
#lanternWheel[data-state=landed] .lantern-wheel__status { height:48px; }
/* R02-FAB-07: the compact banner keeps its signed amount in the existing
   wide main field. An empty WIN panel is never drawn. */

/* z1849 G3: keep the approved desktop plaques large enough that the
   unchanged word fitter retains its initial twenty-pixel lettering. */
html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop {
 --plaque-h:max(60px,calc(84 * var(--u)));
}

/* G5/L10/FU12: six-pixel rows, with controls packed around the board.
   Existing plates and feature art retain their original proportions. */
@media (orientation:portrait) and (max-width:500px) {
 html body #app .portrait-win .portrait-win__shell { row-gap:6px; }
 html body #app .portrait-win .portrait-win__primary,
 html body #app .portrait-win .portrait-win__secondary,
 html body #app .portrait-win .portrait-win__footer,
 html body #app .portrait-win .portrait-win__paid { margin-top:0; }
 html body #app .portrait-win .portrait-win__meters { gap:6px; }
 html body #app .portrait-win .meter__bet-row { gap:6px; }
}
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app .portrait-win .portrait-win__shell { grid-template-rows:48px auto minmax(168px,1fr) 78px 48px 48px 48px; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__shell {
  grid-template-rows:174px 48px minmax(168px,1fr) 64px 48px;
  padding-bottom:max(4px,env(safe-area-inset-bottom));
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__header { height:174px !important; min-height:174px !important; }
 html body #app.lantern-feature-visible #featureBanner { height:174px !important; width:auto !important; max-width:100%; margin:auto; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__paid { min-height:48px !important; height:48px !important; }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__meters > .meter:not(.meter--bet) {
  height:64px; display:grid; grid-template-rows:16px 48px; gap:0;
 }
 html body #app.lantern-feature-visible .portrait-win .meter:not(.meter--bet) > span { line-height:16px; }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__meters > .meter:not(.meter--bet) { height:78px; }
}

/* G4/FU08: game-owned arrangement of the unchanged shared autoplay.
   Three columns put the existing START/Cancel alongside the two steppers. */
#autoplayMount { --lantern-auto-word:20px; }
@media (orientation:landscape) and (max-height:900px) {
 #autoplayMount .sap-modal.open { padding:4px; }
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error {
  width:100%; max-width:1100px; padding:6px; border-width:2px; overflow:auto;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 150px;
  grid-template-rows:48px 26px 48px 74px minmax(48px,auto); gap:6px;
  max-height:calc(100vh - 8px); max-height:calc(100dvh - 8px);
 }
 #autoplayMount .sap .auto-head { display:contents; }
 #autoplayMount .sap .auto-head h2 { grid-area:1/1; margin:0; font-size:22px; line-height:1.2; align-self:center; letter-spacing:0; }
 #autoplayMount .sap .auto-x { grid-area:1/3; justify-self:end; width:48px; height:48px; padding:0; }
 #autoplayMount .sap .auto-sub { grid-area:2/3; position:static; margin:0; align-self:center; }
 #autoplayMount .sap [data-sap=spinsLabel] { grid-area:2/1; }
 #autoplayMount .sap [data-sap=betLabel] { grid-area:2/2; }
 #autoplayMount .sap .auto-label { line-height:26px !important; margin:0; letter-spacing:0; white-space:nowrap; }
 #autoplayMount .sap [data-sap-stepper=spins] { grid-area:3/1; }
 #autoplayMount .sap [data-sap-stepper=bet] { grid-area:3/2; gap:6px; }
 #autoplayMount .sap .auto-stepper .step-btn { width:48px; height:48px; }
 #autoplayMount .sap .step-value { min-width:0; }
 #autoplayMount .sap [data-sap=spinsSlider] { grid-area:4/1; margin:0; height:48px; }
 #autoplayMount .sap [data-sap=betSlider] { grid-area:4/2; margin:0; height:48px; }
 #autoplayMount .sap .auto-scale { grid-area:4/1; align-self:end; margin:0; transform:none; }
 #autoplayMount .sap .auto-presets { grid-area:5/1; gap:6px; }
 #autoplayMount .sap .auto-credits { grid-area:1/2; margin:0; align-self:center; }
 #autoplayMount .sap .auto-total { grid-area:5/2; margin:0; padding:0; border:0; align-self:center; }
 #autoplayMount .sap .auto-card > p.auto-actions { grid-area:3/3; margin:0; }
 #autoplayMount .sap .auto-cancel-wrap { grid-area:4/3; margin:0; }
 #autoplayMount .sap .auto-start, #autoplayMount .sap .auto-stop, #autoplayMount .sap .auto-cancel { height:48px; min-height:48px; padding:0 4px; width:100%; }
 #autoplayMount .sap .auto-error:not(:empty) { grid-area:5/3; margin:0; }
}
@media (orientation:portrait) and (max-width:500px) {
 #autoplayMount .sap .auto-card { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 6px; }
 #autoplayMount .sap .auto-card > * { grid-column:1/-1; }
 #autoplayMount .sap .auto-card > p.auto-actions { grid-column:1; grid-row:14; }
 #autoplayMount .sap .auto-cancel-wrap { grid-column:2; grid-row:14; }
 #autoplayMount .sap .auto-start, #autoplayMount .sap .auto-stop, #autoplayMount .sap .auto-cancel { width:100%; }
 #autoplayMount .sap .auto-head { min-height:48px; height:48px; }
 #autoplayMount .sap .auto-sub:empty { display:none; }
}

/* Short portrait packs the existing icons beside the logo and the three
   main actions into one row. The board gets the released control row. */
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__shell {
  grid-template-rows:48px 48px minmax(168px,1fr) 64px 48px 52px;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__header { grid-area:1/2/2/5; }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__paid { height:48px !important; min-height:48px !important; }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__meters > .meter:not(.meter--bet) { height:64px; display:grid; grid-template-rows:16px 48px; }
 html body #app:not(.lantern-feature-visible) .portrait-win .meter:not(.meter--bet) > span { line-height:16px; }
 html body #app:not(.lantern-feature-visible) .portrait-win [data-action=info] { grid-area:1/1/2/2; }
 html body #app:not(.lantern-feature-visible) .portrait-win [data-action=sound] { grid-area:1/5/2/6; }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-speed-slot348 { grid-area:1/6/2/7; }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__primary > .action--spin { grid-area:6/3/7/5; width:100% !important; height:52px; }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--bonus { grid-area:6/1/7/3; }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--auto { grid-area:6/5/7/7; }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--bonus,
 html body #app:not(.lantern-feature-visible) .portrait-win .action--auto {
  height:52px; background:none; box-sizing:border-box; border:6px solid transparent;
  border-image:url(./assets/plaque/plaque.50cea69a7fb7a4ff.webp) 60 fill / 6px stretch;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win :is(.action--bonus,.action--auto) .kit-plate {
  background:none !important; padding:0 !important; width:100% !important;
  height:100%; aspect-ratio:auto; line-height:1 !important; white-space:normal !important;
 }
}

/* L10: the message occupies the unused right rail, so the left board can
   use the former full-width bottom band. The money row remains off reels. */
@media (orientation:landscape) and (min-height:300px) and (max-height:440px) and (max-width:999px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape { padding-bottom:0 !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-boardmount { padding-bottom:78px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters {
  left:0 !important; right:308px !important; bottom:0 !important; height:72px !important; min-height:72px !important;
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:24px 48px; gap:0 6px;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter { display:contents !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__label { grid-row:1; line-height:24px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { grid-row:2; height:48px !important; min-height:48px !important; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status {
  left:auto !important; right:0 !important; bottom:0 !important; width:300px !important; height:84px !important; min-height:84px !important;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { height:84px !important; min-height:84px !important; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape #status { width:100% !important; margin:0 !important; font-size:20px !important; line-height:1.2 !important; }
}
@media (orientation:landscape) and (min-height:350px) and (max-height:500px) and (min-width:800px) and (max-width:999px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { display:grid !important; grid-template-columns:minmax(0,1fr) 48px !important; grid-template-rows:repeat(4,minmax(48px,auto)) !important; gap:6px !important; align-content:start !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__bet { grid-area:1/1/2/3; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { grid-area:2/1/3/2; width:100% !important; height:48px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > .lantern-controls329__buy { grid-area:3/1/4/2; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques > .lantern-controls329__auto { grid-area:4/1/5/2; width:100% !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { grid-area:2/2/5/3; display:flex !important; flex-direction:column !important; width:48px !important; height:auto !important; gap:6px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower,
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { display:contents !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > .lantern-controls329__ls-speed { width:48px !important; height:48px !important; padding:0; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle { width:48px !important; height:48px !important; }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
}

/* Keep the relocated message band clear of the inherited meter padding. */
@media (orientation:landscape) and (min-height:300px) and (max-height:440px) and (max-width:999px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status { padding:0 !important; }
}

/* Four existing control rows fit the shorter landscape visual viewport.
   The headings share the top row; credit and total use separate columns. */
@media (orientation:landscape) and (max-height:280px) {
 #autoplayMount .sap-modal.open { padding:2px; }
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error {
  padding:0; grid-template-columns:minmax(176px,1fr) minmax(180px,1.3fr) 150px; grid-template-rows:repeat(4,48px); max-height:calc(100dvh - 4px);
 }
 #autoplayMount .sap .auto-head h2 { grid-area:1/1; align-self:start; line-height:1; }
 #autoplayMount .sap [data-sap=spinsLabel] { grid-area:1/1; align-self:end; line-height:1.1 !important; }
 #autoplayMount .sap [data-sap=betLabel] { grid-area:1/2; justify-self:start; align-self:end; line-height:1.1 !important; }
 #autoplayMount .sap .auto-x { grid-area:1/3; }
 #autoplayMount .sap [data-sap-stepper=spins] { grid-area:2/1; }
 #autoplayMount .sap [data-sap-stepper=bet] { grid-area:2/2; }
 #autoplayMount .sap [data-sap=spinsSlider] { grid-area:3/1; }
 #autoplayMount .sap [data-sap=betSlider] { grid-area:3/2; }
 #autoplayMount .sap .auto-scale { grid-area:3/1; align-self:end; line-height:1.1 !important; }
 #autoplayMount .sap [data-sap=spinsSlider] { padding-bottom:22px; box-sizing:border-box; }
 #autoplayMount .sap .auto-presets { grid-area:4/1; }
 #autoplayMount .sap .preset-btn { height:48px; min-height:48px; padding:0; }
 #autoplayMount .sap .auto-credits { grid-area:1/2/2/4; align-self:start; margin:0; padding-right:54px; white-space:nowrap; line-height:1.1 !important; }
 #autoplayMount .sap .auto-total { grid-area:4/2; align-self:center; }
 #autoplayMount .sap .auto-card > p.auto-actions { grid-area:2/3; }
 #autoplayMount .sap .auto-cancel-wrap { grid-area:3/3; }
 #autoplayMount .sap .auto-sub, #autoplayMount .sap .auto-error:not(:empty) { grid-area:4/3; line-height:1.2 !important; }
}

/* A short feature keeps the approved banner on the right. Existing controls
   occupy the left header, above the reels and the two money plates. */
@media (orientation:landscape) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #featureBanner.kit-banner:not([hidden]) { display:block !important; height:182px !important; width:auto !important; max-width:100%; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape { padding-bottom:0 !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { width:308px !important; flex-basis:308px !important; display:block !important; overflow:visible !important; padding:0 !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand { position:absolute; top:0; left:0; width:308px; height:182px; min-height:182px; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-boardmount { margin-top:60px !important; height:calc(100% - 60px) !important; padding-bottom:78px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { left:0 !important; right:308px !important; bottom:0 !important; height:72px !important; min-height:72px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { position:absolute; top:6px; left:calc(308px - 100vw + 6px); width:80px !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-lower,
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons { display:contents !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > * { position:absolute; top:6px; width:48px !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(1) { left:calc(308px - 100vw + 92px); }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(2) { left:calc(308px - 100vw + 146px); }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(3) { left:calc(308px - 100vw + 200px); }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-plaques { display:none !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-speed > .lantern-controls329__speed-label { display:none; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-cycle { width:48px !important; height:48px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__speed-value { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
}
@media (orientation:landscape) and (max-height:280px) {
 #autoplayMount .sap .auto-total, #autoplayMount .sap .auto-total-right { line-height:1.15 !important; }
}
@media (orientation:landscape) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:24px 48px; gap:0 6px; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter { display:contents !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__label { grid-row:1; line-height:24px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters .lantern-controls329__meter-value.kit-plate { grid-row:2; height:48px !important; min-height:48px !important; }
}

/* Clear the existing short feature's parent boxes as well as its banner. */
@media (orientation:landscape) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { position:relative !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand,
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__feature-mount { display:block !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__bet { display:none !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(2) { left:calc(308px - 100vw + 92px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(3) { left:calc(308px - 100vw + 146px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(4) { left:calc(308px - 100vw + 200px) !important; }
}
@media (orientation:landscape) and (max-height:319px) {
 html body #app #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { column-gap:6px !important; }
}

/* Late R02-CDX-03: CONTINUE stops six pixels above the existing win plate. */
@media (orientation:portrait) {
 #lanternWheel[data-state=landed] .lantern-wheel__continue { top:auto !important; bottom:66px; margin:0 !important; transform:translateX(-50%); }
}

/* Short-landscape feature boxes keep a single viewport coordinate system.
   Explicit banner placement overrides the old fixed-position carrier. */
@media (orientation:landscape) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail {
  position:absolute !important; right:0 !important; top:0 !important; bottom:0 !important;
  left:auto !important; margin:0 !important; border-width:0 !important; box-sizing:border-box;
 }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand { height:182px !important; min-height:182px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__feature-mount { width:100%; height:182px; }
 html body #app.lantern-feature-visible #featureBanner.kit-banner:not([hidden]) { position:absolute !important; left:0 !important; top:0 !important; right:auto !important; bottom:auto !important; transform:none !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-boardmount { flex:0 0 calc(100% - 314px) !important; width:calc(100% - 314px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-meters { position:absolute !important; left:calc(308px - 100vw) !important; right:auto !important; width:calc(100vw - 314px) !important; }
}

/* The feature message uses the open band beneath the right-hand banner. */
@media (orientation:landscape) and (min-height:281px) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status { display:flex !important; position:absolute !important; left:0 !important; right:auto !important; bottom:0 !important; width:308px !important; height:84px !important; min-height:84px !important; padding:0 !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__status-mount { display:flex !important; align-items:center !important; justify-content:center !important; flex:1 1 0 !important; width:100% !important; min-width:0; max-width:100%; height:84px !important; min-height:84px !important; padding:0 !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape #status { display:block !important; width:100% !important; max-width:100%; min-width:0; padding:0 !important; margin:0 !important; white-space:normal !important; font-size:20px !important; line-height:1.3 !important; }
}

/* The bottom row uses three equal button boxes around the viewport centre,
   independently of the header's fixed-size icon columns. */
@media (orientation:portrait) and (max-width:500px) and (max-height:740px), (orientation:portrait) and (max-width:374px) {
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__primary > :is(.action--bonus,.action--spin,.action--auto) {
  grid-area:6/1/7/-1; width:calc((100% - 12px) / 3) !important;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--bonus { justify-self:start; }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--spin { justify-self:center; }
 html body #app:not(.lantern-feature-visible) .portrait-win .action--auto { justify-self:end; }
 html body #app.lantern-feature-visible #featureBanner.kit-banner--compact .kit-banner__panel:nth-of-type(2) small { letter-spacing:-.07em; }
}
@media (orientation:landscape) and (max-height:280px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-status { display:none !important; }
}

/* A narrow desktop meter stays within its allocated column, with the
   existing six-pixel column gap before the adjacent control. */
@media (min-width:1024px) and (max-width:1199px) and (min-height:501px) {
 html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop .lantern-controls329__meter-value.kit-plate { flex:1 1 0 !important; width:auto !important; min-width:0 !important; max-width:100%; aspect-ratio:auto !important; }
}

/* Keep the tablet's two meter rows separated by the same clear gap as
   the phone rows, including the full-size balance and win plates. */
@media (orientation:portrait) and (min-width:501px) {
 html body #app .portrait-win .portrait-win__meters { row-gap:6px; }
 html body #app .portrait-win .meter__bet-row { gap:6px; }
}

/* The feature rail reserves the complete button box before its icon row. */
@media (orientation:landscape) and (min-height:441px) and (max-height:550px) and (min-width:1000px) and (max-width:1300px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail { gap:6px !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-rail > .lantern-controls329__primary { box-sizing:border-box; height:48px !important; min-height:48px !important; max-height:48px !important; }
}

/* The narrow desktop header retains a single readable title in the
   existing wide banner, clear of its frame at the standing text floor. */
@media (min-width:1024px) and (max-width:1599px) and (min-height:501px) and (max-height:600px) {
 html body #app[data-main-mode=desktop] #featureBanner.kit-banner:not(.kit-banner--compact) .kit-banner__title {
  letter-spacing:0; white-space:nowrap !important; min-height:16px;
  padding-top:2px; box-sizing:border-box;
 }
}

/* The narrow wide-banner counters retain their fields and font floors;
   their painted baseline stays inside the existing blank art area. */
@media (min-width:1024px) and (max-width:1199px) and (min-height:741px) {
 html body #app[data-main-mode=desktop] #featureBanner.kit-banner--narrow:not(.kit-banner--compact) .kit-banner__panel:nth-of-type(-n+2) > b { position:relative; top:1px; }
}

/* z1861/z1866: unchanged designer rule plates in the native rules scroll
   region. A raster plate keeps at least 352px of width in the existing scroll region; all art
   uses one scale and the original alpha bytes. */
#infoDialog { box-sizing:border-box; width:calc(100vw - 16px); max-width:920px; padding:10px; }
#infoDialog .lantern-rule-plate, .shared-paytable .lantern-rule-plate { display:block; margin:12px 0; padding:0; list-style:none; }
#infoDialog .lantern-rule-plate img, .shared-paytable .lantern-rule-plate img { display:block; width:100%; min-width:352px; height:auto; max-width:1024px; margin:0 auto; }

/* D-10: keep punctuation and the twenty-pixel amount floor. The original
   narrow price backing holds its ISO code and complete number on two lines.
   The named Buy bet keeps its original outer size and uses more clear width. */
html body #buyDialog .lantern-buyw__bet .lantern-select329__value { font-size:20px !important; letter-spacing:normal; }
/* Round05 rendering: dim the unselected card with a static tint over the
   original approved art. Full-art copies with animated filters and nested
   drop shadows are unnecessary for showing the current selection. */
#buyDialog .lantern-buyw__glow,
#buyDialog .lantern-buyw__card { filter:none !important; transition:none !important; }
#buyDialog .lantern-buyw__card { background-image:none !important; background-color:rgba(0,0,0,.45); }
#buyDialog .lantern-buyw__glow[data-chosen] .lantern-buyw__card { background-color:transparent; }
#buyDialog .lantern-buyw__glow[data-unavailable] .lantern-buyw__card { background-color:rgba(0,0,0,.62); }
@media (orientation:portrait) and (max-width:500px), (orientation:landscape) and (max-height:500px) {
 html body #buyDialog .lantern-buyw__bet .lantern-select329__button {
  padding-left:0 !important; padding-right:0 !important;
  border-width:4px !important; border-image-width:4px !important;
 }
 html body #buyDialog .lantern-buyw__price--iso { line-height:20px; text-align:center; }
 html body #buyDialog .lantern-buyw__price--iso > span { display:block; font-size:20px; line-height:20px; letter-spacing:normal; }
 html body #buyDialog .lantern-buyw__plate-box:has(.lantern-buyw__price--iso) {
  padding-top:0; padding-bottom:0; border-top-width:3px; border-bottom-width:3px;
  border-image-width:3px 6px !important;
 }
}

/* Round05: the original live rule words wrap; raster lettering appears only
   when its whole frame fits at the inherited 20px lettering scale. */
#infoDialog .h3-info-body, #graphicalPaytableMount .shared-paytable__content { min-width:0; overflow-x:hidden; overflow-wrap:anywhere; }
#infoDialog .h3-info-body { font-size:20px !important; line-height:1.35; }
#graphicalPaytableMount .shared-paytable :is(.shared-paytable__rule,.shared-paytable__paragraph,.shared-paytable__control-desc) { min-width:0; font-size:20px !important; white-space:normal; overflow-wrap:anywhere; }
#infoDialog .lantern-rule-plate, #graphicalPaytableMount .lantern-rule-plate { display:none; }
#graphicalPaytableMount .shared-paytable :is(table,th,td) { min-width:0; white-space:normal; overflow-wrap:anywhere; }
#graphicalPaytableMount .shared-paytable table { width:100%; table-layout:fixed; }
#graphicalPaytableMount .shared-paytable__payrow-amount { font-size:20px !important; white-space:normal; overflow-wrap:anywhere; }
#graphicalPaytableMount .shared-paytable__bet-meta { white-space:normal; overflow-wrap:anywhere; }
@media (min-width:768px) {
 #infoDialog .lantern-rule-plate, #graphicalPaytableMount .lantern-rule-plate { display:block; }
 #infoDialog .lantern-rule-plate img, #graphicalPaytableMount .lantern-rule-plate img { min-width:0; width:100%; max-width:1024px; }
}
/* Native fallback: title, build and Close have fixed rows. Only the existing
   body scrolls, including the shortest declared landscape viewport. */
#infoDialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; gap:6px; height:calc(100vh - 16px); height:calc(100dvh - 16px); max-height:calc(100dvh - 16px); overflow:hidden; }
#infoDialog > h2 { margin:0; font-size:20px; line-height:1.2; }
#infoDialog > .h3-info-body { min-height:0; max-height:none; margin:0; overflow-y:auto; }
#infoDialog > form, #infoDialog > .lantern-build { margin:0; }
#infoDialog .h3-close { margin:0; min-width:48px; min-height:48px; }
/* Existing shared autoplay labels each occupy their own grid allocation. */
@media (orientation:landscape) and (min-height:281px) and (max-height:900px) {
 #autoplayMount .sap .auto-sub { grid-area:5/3; line-height:1.2 !important; align-self:start; }
 #autoplayMount .sap .auto-card > p.auto-actions { align-self:start; }
 #autoplayMount .sap .auto-start, #autoplayMount .sap .auto-stop, #autoplayMount .sap .auto-cancel { height:auto; min-height:60px; padding:6px 4px; box-sizing:border-box; line-height:1.15 !important; }
}

/* Round05: the approved compact banner uses its original counter regions.
   The existing desktop header reserves its full art height during a feature. */
html body #app[data-main-mode=desktop].lantern-feature-visible { --h3-top-row:190px; }
html body #app #featureBanner.kit-banner--compact .kit-banner__panel { visibility:visible !important; }
html body #app #featureBanner #fsWin { visibility:visible !important; }
html body #app #featureBanner.kit-banner--compact .kit-banner__panel:nth-of-type(3) { top:36%; height:23%; flex-wrap:wrap; }
html body #app #featureBanner.kit-banner--compact .kit-banner__panel:nth-of-type(3) b { white-space:normal; overflow-wrap:anywhere; }
html body #app #featureBanner.kit-banner--compact .kit-banner__panel:nth-of-type(3) small { font-size:20px; }
.kit-banner__win-key { position:absolute; left:22.9972%; top:62.0327%; width:12.2583%; height:30.3738%; display:flex; flex-direction:column; align-items:center; justify-content:center; font:700 20px/1 var(--l07-font-display); color:var(--l07-colour-105); }
/* Round05: the existing wheel side contains result, message and Continue in
   flow. Its canvas uses only the remaining disc allocation. */
#lanternWheel .lantern-wheel__stage { gap:6px; padding:6px; }
#lanternWheel .lantern-wheel__side { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:0; }
#lanternWheel .lantern-wheel__prize { position:relative; left:auto !important; top:auto !important; flex:none; filter:none; }
#lanternWheel .lantern-wheel__continue { position:relative; inset:auto !important; bottom:auto !important; top:auto !important; left:auto !important; transform:none !important; margin:0 !important; flex:none; min-height:48px; }
#lanternWheel .lantern-wheel__prize-win { visibility:visible !important; padding:0; border:0; background:none; font-size:20px; line-height:1.1; white-space:normal; overflow-wrap:anywhere; }
#lanternWheel .lantern-wheel__prize-multiple { font-size:20px; line-height:1.1; letter-spacing:0; white-space:normal; }
#lanternWheel .lantern-wheel__prize-text { font-size:20px; gap:2px; }
#lanternWheel .lantern-wheel__status { width:100%; max-width:440px; flex:none; font-size:20px; -webkit-text-stroke:0; }
#lanternWheel .lantern-wheel__balance { gap:6px; flex-wrap:nowrap; }
#lanternWheel .lantern-wheel__balance strong { min-width:0; }
#lanternWheel .lantern-wheel__title { visibility:visible !important; }
@media (orientation:portrait) {
 #lanternWheel .lantern-wheel__stage { grid-template-rows:auto auto minmax(0,1fr) auto; }
 #lanternWheel .lantern-wheel__side { grid-column:1; grid-row:4; }
}
@media (orientation:landscape) {
 #lanternWheel .lantern-wheel__stage { grid-template-columns:minmax(0,1fr) minmax(308px,44vw); grid-template-rows:auto auto minmax(0,1fr); }
 #lanternWheel .lantern-wheel__title { grid-column:1; grid-row:1; }
 #lanternWheel .lantern-wheel__balance { grid-column:1; grid-row:2; flex-wrap:wrap; }
 #lanternWheel .lantern-wheel__disc { grid-column:1; grid-row:3; }
 #lanternWheel .lantern-wheel__side { grid-column:2; grid-row:1/4; }
}
/* Round05 measured follow-up: a two-line Start gets a sixty-four-pixel grid row;
   the shortest cells use a wider existing action column for a single line. */
@media (orientation:landscape) and (min-height:281px) and (max-height:900px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-rows:48px 26px 64px 74px minmax(48px,auto); }
}
@media (orientation:landscape) and (max-height:280px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-columns:minmax(176px,1fr) minmax(180px,1.3fr) 180px; }
 #autoplayMount .sap .auto-start { white-space:nowrap; line-height:1.15 !important; }
}

/* The prize already carries the signed result on landing. Releasing the
   duplicate message's row preserves the wheel's readable segment labels. */
#lanternWheel[data-state=landed] .lantern-wheel__status { display:none; }

#lanternWheel.lantern-wheel--short .lantern-wheel__stage { grid-template-rows:minmax(0,1fr); }
#lanternWheel.lantern-wheel--short .lantern-wheel__disc { grid-row:1; }
#lanternWheel.lantern-wheel--short .lantern-wheel__side { grid-row:1; }
#lanternWheel.lantern-wheel--short .lantern-wheel__balance { width:100%; flex-wrap:nowrap; height:48px; flex:none; }
#lanternWheel.lantern-wheel--short .lantern-wheel__balance strong { flex:1; }
@media (orientation:landscape) and (max-height:240px) {
 #lanternWheel.lantern-wheel--short .lantern-wheel__title { display:none; }
}

@media (orientation:portrait) and (min-width:501px) {
 html body #app.lantern-feature-visible .portrait-win__header { height:190px; min-height:190px; }
}
html body #app #featureBanner.kit-banner--compact .kit-banner__win-key { left:21.5%; width:15%; }
/* Round05: the graphical route follows the same fixed-header rule. Its
   existing content region owns scrolling; the shared component stays intact. */
#graphicalPaytableMount .shared-paytable__scroll { display:contents !important; }
#graphicalPaytableMount .shared-paytable__content { flex:1 1 auto; min-height:0; overflow-y:auto !important; }
@media (orientation:landscape) and (max-height:440px) {
 #graphicalPaytableMount .shared-paytable { padding:4px; }
 #graphicalPaytableMount .shared-paytable__panel { border-width:4px; border-image-width:4px; padding:2px; }
 #graphicalPaytableMount .shared-paytable__header { min-height:22px; height:22px; padding:0; }
 #graphicalPaytableMount .shared-paytable__title-image { height:22px; max-height:22px; width:auto; }
 #graphicalPaytableMount .shared-paytable__bet { padding:0; margin:0; flex:none; gap:0; }
 #graphicalPaytableMount .shared-paytable__bet-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 #graphicalPaytableMount .shared-paytable__bet-controls { margin:0; }
 #graphicalPaytableMount .shared-paytable__bet-meta { margin:0; line-height:1.2; }
 #graphicalPaytableMount .shared-paytable__footer.lantern-build-footer { flex-wrap:nowrap; gap:6px; padding-top:2px; }
 #graphicalPaytableMount .shared-paytable__footer .lantern-build { flex:1 1 auto; }
 #graphicalPaytableMount .shared-paytable__close { flex:none; margin:0; }
}

/* The fixed header/footer also override the historical short-height block
   panel. The short header reuses the original native live title words. */
#graphicalPaytableMount .shared-paytable__panel { display:flex; overflow:hidden; }
#graphicalPaytableMount .shared-paytable__footer { position:static; bottom:auto; }
#graphicalPaytableMount .lantern-live-rules-title { display:none; }
@media (orientation:landscape) and (max-height:440px) {
 #graphicalPaytableMount .shared-paytable__title-image { display:none; }
 #graphicalPaytableMount .lantern-live-rules-title { display:block; font-size:20px; line-height:23px; font-weight:700; }
 #graphicalPaytableMount .shared-paytable__header { min-height:23px; height:23px; }
}

/* A two-digit remaining/total count wraps within the original counter field. */
html body #app #featureBanner .kit-banner__panel--stacked-count > b { white-space:pre; line-height:1; }
html body #app #featureBanner .kit-banner__panel--stacked-count > small { display:none; }

/* The expanded two-line action row fits the declared304px height without
   scrolling the existing autoplay card. Controls and their gaps stay fixed. */
@media (orientation:landscape) and (min-height:281px) and (max-height:320px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { padding:4px 6px; }
}
@media (orientation:landscape) and (min-height:281px) and (max-height:900px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-columns:minmax(176px,1fr) minmax(180px,1.3fr) 150px; }
}
/* An existing refusal message owns the hint's allocation while present. */
#autoplayMount .sap .auto-card.has-error .auto-sub { display:none; }

/* Keep the maximum signed autoplay stake at20px in WebKit at568x220.
   Four pixels from the existing action column enlarge the field clear area. */
@media (orientation:landscape) and (max-height:280px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-columns:minmax(176px,1fr) minmax(184px,1.3fr) 176px; }
}

/* Reserve two extra pixels between the original wheel regions. WebKit
   fractional canvas sizing must still leave at least six painted pixels. */
#lanternWheel .lantern-wheel__stage { gap:8px; }

/* Round06 FAB05-MIN-01: the final section needs no trailing section gap
   in the shortest rules scroller; keep the audio line visible at its end. */
@media (orientation:landscape) and (max-height:240px) {
 #graphicalPaytableMount .shared-paytable__content > .shared-paytable__section:last-child { margin-bottom:0; }
}

/* Round06 FAB05-MIN-02: retain the shared portrait header's padding-edge
   offset so its background does not paint over the following hint. */
@media (orientation:portrait) and (max-width:760px) {
 #autoplayMount .sap .auto-head { top:-8px; }
}

/* Round07: game-owned floors and spacing around unchanged shared controls. */
#autoplayMount { --lantern-auto-word:20px; --lantern-auto-button:20px; --lantern-auto-target:48px; }
#autoplayMount .sap :is(.auto-x,.step-btn,.preset-btn,.auto-start,.auto-stop,.auto-cancel,input[type=range],.lantern-select329__button) { min-height:48px; }
#autoplayMount .sap .auto-x, #autoplayMount .sap .step-btn { min-width:48px; }
#autoplayMount .sap .auto-stepper { gap:6px; }
#autoplayMount .sap .auto-card input[type=range] { margin:6px 0 0; }
#autoplayMount .sap .auto-cancel-wrap { margin-top:6px; }
#graphicalPaytableMount .shared-paytable .shared-paytable__bet-select { min-height:48px; }
#graphicalPaytableMount .shared-paytable__symbol-name { overflow-wrap:normal; word-break:normal; hyphens:manual; }
#graphicalPaytableMount .shared-paytable__symbol { grid-template-columns:minmax(90px,35%) minmax(0,1fr); }
.portrait-win [data-action=sound] > span:not(.kit-icon) { min-height:56px; height:auto !important; line-height:1.4; }
@media (orientation:portrait) {
 #autoplayMount .sap .auto-card { row-gap:6px; }
 #autoplayMount .sap .auto-cancel-wrap { margin-top:0; }
}
@media (orientation:landscape) and (max-height:900px) {
 #autoplayMount .sap .auto-card input[type=range] { margin:0; }
 #autoplayMount .sap .auto-cancel-wrap { margin-top:0; }
}
@media (min-width:1000px) and (max-width:1179px) and (min-height:501px) {
 #app[data-main-mode=desktop] #mainControlsMount :is([data-bar=buy],[data-bar=aut]) { max-width:100%; width:100% !important; }
}
#autoplayMount .sap .auto-card { row-gap:6px !important; }
#autoplayMount .sap [data-sap-stepper=bet] { display:grid; grid-template-columns:48px minmax(0,1fr) 48px; column-gap:6px !important; }
#autoplayMount .sap [data-sap-stepper=bet] > .lantern-select329 { width:100%; min-width:0; --dd-w:100%; }
#autoplayMount .sap [data-sap-stepper=bet] .lantern-select329__button { width:100% !important; min-width:0 !important; }
html body #graphicalPaytableMount .shared-paytable .lantern-select329 { --dd-h:48px !important; }
html body #graphicalPaytableMount .shared-paytable .lantern-select329__button { height:48px !important; min-height:48px !important; }
@media (min-width:1000px) and (max-width:1179px) and (min-height:501px) {
 html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop :is([data-bar=buy],[data-bar=aut]) { max-width:100% !important; width:100% !important; }
}
@media (orientation:landscape) and (min-height:501px) and (max-height:900px) {
 #autoplayMount .sap .auto-cancel-wrap { margin-top:6px !important; }
}

/* Round07 narrow-wheel lettering uses the same floor as every player label. */
#lanternWheel .lantern-wheel__title { font-size:clamp(20px,3.4vmin,36px); }
#lanternWheel .lantern-wheel__status { font-size:clamp(20px,2.3vmin,22px); }
#lanternWheel .lantern-wheel__balance { font-size:20px; }
#lanternWheel .lantern-wheel__prize-cap { font-size:20px; }

/* The existing action text wraps inside the compact 48px control. */
@media (orientation:landscape) and (max-height:280px) {
 #autoplayMount .sap .auto-start { white-space:normal !important; line-height:22px !important; padding:2px 4px !important; }
}

/* A toolbar resize can leave the layout hit area below the visual height. */
#autoplayMount .sap-modal { bottom:auto; height:var(--lantern-autoplay-height,100dvh); box-sizing:border-box; }
#autoplayMount .sap .auto-card { max-height:calc(var(--lantern-autoplay-height,100dvh) - 16px); }

/* Existing compact columns reserve the longest formatted KWD amount. */
@media (orientation:landscape) and (max-width:600px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-columns:156px minmax(264px,1fr) 116px; }
 #autoplayMount .sap .auto-label { white-space:normal !important; }
 #autoplayMount .sap .auto-start { white-space:normal !important; line-height:22px !important; padding:2px 4px !important; letter-spacing:normal !important; }
}
@media (orientation:landscape) and (max-width:600px) and (max-height:280px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-rows:72px repeat(3,48px); }
}
@media (orientation:landscape) and (max-width:600px) and (min-height:281px) {
 #autoplayMount .sap .auto-card, #autoplayMount .sap .auto-card.has-error { grid-template-rows:48px minmax(26px,auto) 64px 74px minmax(48px,auto); }
}

/* Git #24: the supplied Scenario panel frame houses the reels. Its 9-slice
   retains the original corners; symbols keep their own image proportions. */
html body #app #board.h3-board {
 border:10px solid transparent !important;
 border-image:url(./assets/kit/panel-frame.6a947bae619f48f3.webp) 30.2734375% 32.2265625% 29.296875% 32.2265625% / 28px / 0 repeat !important;
 box-sizing:border-box; border-radius:0;
}

/* Git #27 layout proposal: use the supplied panel's broad plain interior.
   The absent named compact asset is not reconstructed. Complete labels and
   exact WIN share three generous rows instead of undersized art subfields. */
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact.kit-banner:not([hidden]) {
 width:var(--kb-w) !important; display:grid !important; grid-template-columns:1fr 1fr;
 grid-template-rows:30px 30px minmax(56px,1fr); gap:6px;
 padding:6px !important; border:16px solid transparent !important;
 border-image:url(./assets/kit/panel-frame.6a947bae619f48f3.webp) 30.2734375% 32.2265625% 29.296875% 32.2265625% fill / 24px / 0 repeat !important;
 background:none !important; box-sizing:border-box; aspect-ratio:auto !important;
}
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact :is(.kit-banner__title,.kit-banner__panel) {
 position:static !important; inset:auto !important; width:auto !important;
 height:100% !important; max-height:none !important; min-height:0 !important; margin:0 !important;
 padding:0 !important; display:flex !important; align-items:center;
 justify-content:center; flex-direction:row !important; gap:6px; font-size:20px !important;
 line-height:1.2 !important; letter-spacing:0 !important;
 white-space:nowrap !important; color:#fff4cf;
}
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact :is(b,small) {
 position:static !important; inset:auto !important; width:auto !important; height:auto !important; font-size:1em !important; line-height:1.2 !important; letter-spacing:0 !important;
}
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__title { grid-area:1/1/2/3; }
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(1) { grid-area:2/1/3/2; }
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(2) { grid-area:2/2/3/3; }
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__panel:nth-of-type(3) { grid-area:3/1/4/3; flex-direction:column !important; gap:0; }
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__win-key { display:none !important; }

html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact { width:308px !important; min-width:308px !important; max-width:none !important; }

/* Git #27: center the full panel on narrow portrait without fractional edge spill. */
@media (orientation:portrait) and (max-width:500px) {
 html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact { left:calc((100vw - 308px) / 2) !important; }
}

/* Git #27: keep the actual remaining/total count on one readable row with LEFT. */
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__panel--stacked-count > b { white-space:normal !important; }
html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact .kit-banner__panel--stacked-count > small { display:inline !important; }
