/* FRESH SQUEEZE cabinet: the canvas fills the viewport, #ui is the design box (1080x1920 or 1920x1080) scaled by
   layout.js; every control is generated art, text is Fredoka with a dark round stroke. */
@font-face { font-family: Fredoka; src: url(assets/fonts/fredoka-700.woff2) format('woff2'); font-weight: 700; font-display: block; }
/* the page never scrolls, zooms or drags: the body is pinned (a turn of the phone left iOS free to pan it), text never
   autosizes, a double tap never zooms (touch-action is not inherited, so it sits on every element; the stage takes no
   browser gesture at all, the scroll boxes keep their vertical pan) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: #2a6b3a; }
* { touch-action: manipulation; }
#stage { touch-action: none; }
/* no grey/black tap flash on iOS anywhere (it showed as a dark square around PLAY), and no focus ring on any button: a
   key press (an iPhone screenshot's hardware keys among them) can turn on :focus-visible for the last tapped button, and
   round the wide SPIN box that ring showed as a gold oval */
* { -webkit-tap-highlight-color: transparent; }
button, button:focus, button:focus-visible { outline: none; }
body { font-family: Fredoka, system-ui, sans-serif; font-weight: 700; color: #fff4d6; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#stage { position: fixed; inset: 0; overflow: hidden; }
#cv { position: absolute; left: 0; top: 0; }
#ui { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
#ui > * { position: absolute; pointer-events: auto; }
#ui img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.btn { background: none; border: 0; padding: 0; cursor: pointer; transition: transform .12s, filter .12s; -webkit-tap-highlight-color: transparent; }
.btn.down { transform: scale(.93); }
.btn.off { filter: grayscale(.7) brightness(.6); cursor: default; }
#respins { opacity: 0; transform: translateY(-20px); transition: opacity .35s, transform .35s; pointer-events: none; }
#respins.on { opacity: 1; transform: none; }
/* RESPINS v2 (generated taller, three unlit lamps with room under them): a lit lamp is the lamp_on sprite from the same
   sheet laid over its socket; boxes MEASURED by tools/fs_cut_respins2.py (the chrome rings matched) */
.lamp { position: absolute; aspect-ratio: 1; background: url(assets/img/lamp_on.webp?v=232) center / 100% 100% no-repeat; opacity: 0;
  transition: opacity .25s, transform .25s; transform: scale(.85); pointer-events: none; }
.lamp.lit { opacity: 1; transform: none; }
#lamp0 { left: 20.64%; top: 45.10%; width: 18.55%; }
#lamp1 { left: 40.36%; top: 44.97%; width: 18.55%; }
#lamp2 { left: 60.03%; top: 44.97%; width: 18.55%; }
.jp span { position: absolute; display: flex; align-items: center; justify-content: center; line-height: 1; font-weight: 700; font-size: 50px; white-space: nowrap;
  color: #fff4d6; -webkit-text-stroke: 5px #2a1405; paint-order: stroke fill; font-variant-numeric: tabular-nums; }
#ui[data-layout="land"] .jp span { font-size: 46px; }
.plate span { position: absolute; display: flex; align-items: center; justify-content: center; line-height: 1; font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums; -webkit-text-stroke: 6px #0f2a12; paint-order: stroke fill; }
/* the status plate: a headline and an optional second line, each shrunk by hud.js to fit between the leaves */
#statusVal { flex-direction: column; gap: 2px; color: #fff4d6; }
#statusVal b { display: block; font-size: 50px; white-space: nowrap; }
#status.two #statusVal b { font-size: 44px; }
#statusVal i { display: block; font-style: normal; font-size: 32px; white-space: nowrap; color: #fff4d6; -webkit-text-stroke: 5px #0f2a12; }
#status.big #statusVal b { color: #ffe36b; }
#balVal, #betVal { font-size: 52px; color: #ffffff; }
/* SPIN stays calm while a round plays: no light over its face (only the juice droplets of the press itself) */
#btnBuy.hideInBonus { opacity: 0; pointer-events: none; }
#autoLeft { position: absolute; right: -14%; top: -18%; min-width: 58%; height: 50%; padding: 0 8px; box-sizing: border-box; display: none;
  align-items: center; justify-content: center; border-radius: 999px; background: url(assets/img/r121/plate_status.webp?v=232) center / 100% 100% no-repeat;
  font-weight: 700; font-size: 30px; color: #ffe36b; -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill; pointer-events: none; }
#btnAuto.running #autoLeft { display: flex; }
.pips { position: absolute; left: 20%; right: 20%; bottom: -16%; display: flex; gap: 8%; justify-content: center; }
.pips i { width: 16%; aspect-ratio: 1; border-radius: 50%; background: #0f3b1c; border: 3px solid #d9a93a; }
#btnTurbo[data-speed="fast"] .pips i:nth-child(1),
#btnTurbo[data-speed="quick"] .pips i:nth-child(-n+2),
#btnTurbo[data-speed="turbo"] .pips i { background: #ffd43b; }
#btnSound.muted img { filter: grayscale(1) brightness(.7); }

/* panels on the painted frame */
#panelWrap { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 24, 12, .62); z-index: 20; }
#panelWrap.on { display: flex; }
.panel { position: relative; width: min(94vw, 560px); max-height: 88vh; box-sizing: border-box; padding: 26px 14px 18px;
  border: 30px solid transparent; border-image: url(assets/img/panel.webp?v=232) 150 fill / 30px stretch; container-type: inline-size; }
.panel h2 { margin: 0 0 12px; text-align: center; font-size: 30px; color: #ffe36b; -webkit-text-stroke: 5px #3b1b02; paint-order: stroke fill; letter-spacing: .03em; }
.panel h3 { margin: 16px 0 6px; color: #ffe36b; font-size: 20px; }
.panel p { margin: 8px 0; font-size: 15px; line-height: 1.35; font-weight: 700; color: #f2f8ea; -webkit-text-stroke: 3px #0f2a12; paint-order: stroke fill; }
.panel p b { font-weight: 700; color: #fff4d6; }
.panel .small { font-size: 13px; opacity: .85; text-align: center; }
.panel .mono { font-family: ui-monospace, Menlo, monospace; font-size: 11px; word-break: break-all; opacity: .8; }
.panel .scroll { max-height: 64vh; overflow-y: auto; overflow-x: hidden; touch-action: pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* the close button is the game's own round button with its cross turned in (tools/mkclose_fs.py): the cross is part of
   the picture, so it sits exactly on the centre; no text glyph, no CSS ring */
#panelX { position: absolute; right: -18px; top: -20px; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%;
  background: url(assets/img/r121/btn_close.webp?v=232) center / contain no-repeat; cursor: pointer; transition: transform .12s;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45)); -webkit-tap-highlight-color: transparent; }
#panelX:active { transform: scale(.92); }
/* the bonus buy: two generated offer cards side by side; the citrus it starts with, the name, the terms, and the
   price on its own orange button at the bottom (sizes follow the card width: container query units) */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 auto; }
.panel.buy { padding-left: 4px; padding-right: 4px; }
/* a short landscape screen: the cards are sized by the height so the prices stay on screen */
@media (orientation: landscape) and (max-height: 700px) { .offers { width: min(100%, 72vh); } }
.offer { position: relative; display: block; aspect-ratio: 560 / 753; min-height: 0; overflow: hidden; padding: 0; border: 0;
  background: url(assets/img/r121/card_offer.webp?v=232) center / 100% 100% no-repeat; color: #fff4d6; font-family: Fredoka, sans-serif;
  cursor: pointer; container-type: inline-size; transition: transform .12s; -webkit-tap-highlight-color: transparent; }
/* container units resolve against the nearest container ANCESTOR, so the card's own layout lives on an inner box */
.offer .oin { position: absolute; inset: 0; box-sizing: border-box; padding: 13cqw 9cqw 6cqw; display: grid;
  grid-template-rows: 34cqw 25cqw 20cqw 1fr; justify-items: center; align-items: center; }
.offer:active { transform: scale(.96); }
.offer.poor { filter: grayscale(.6) brightness(.7); }
/* the buy's own bet under the cards: the game's minus / plus buttons around the bet plate */
.bbet { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px auto 2px; }
.bstep { width: 58px; height: 58px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .12s, opacity .12s; }
.bstep img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bstep:active { transform: scale(.9); }
.bstep.end { opacity: .4; }
/* the number sits where the HUD's bet panel has it: centred on 64 % of the plate's height, under the baked BET */
.bval { position: relative; width: 200px; aspect-ratio: 900 / 262; }
.bval img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bval b { position: absolute; left: 0; right: 0; top: 64.2%; transform: translateY(-50%); text-align: center; line-height: 1;
  font-size: 25px; color: #fff; -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill; }
.offer .ocit { display: grid; grid-template-columns: repeat(3, 16cqw); grid-auto-rows: 16cqw; gap: 1cqw 3cqw; justify-content: center; align-content: center; }
.offer .ocit.c8 { grid-template-columns: repeat(4, 16cqw); gap: 1cqw 1cqw; }
.offer .ocit img { width: 100%; height: 100%; object-fit: contain; }
.offer b { font-size: 12.5cqw; line-height: 1; text-align: center; color: #ffe36b; -webkit-text-stroke: 1.2cqw #0f2a12; paint-order: stroke fill; }
.offer .terms { display: flex; flex-direction: column; align-items: center; }
.offer i { display: block; font-style: normal; font-size: 8.5cqw; line-height: 1.15; text-align: center; -webkit-text-stroke: 1cqw #0f2a12; paint-order: stroke fill; }
.offer i.om span { color: #ffe36b; }
.offer em { position: relative; display: block; width: 100%; align-self: end; font-style: normal; }
.offer em img { display: block; width: 100%; }
.offer em span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12.5cqw; color: #fff;
  -webkit-text-stroke: 1.3cqw #6a2600; paint-order: stroke fill; font-variant-numeric: tabular-nums; }
/* the fairness panel's REVEAL SEED: the autoplay count's round button, stretched into a pill */
.count.wide { display: block; width: 70%; aspect-ratio: auto; margin: 10px auto 4px; padding: 12px 0; border-radius: 999px;
  background: linear-gradient(#1f7a39, #10491f); border: 3px solid #e2b34c; font-size: 18px; }
#fairOut { word-break: break-all; }
.counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.count { padding: 0; border: 0; aspect-ratio: 1; background: radial-gradient(circle, #1f7a39 58%, #e2b34c 60%, #9a6b1c 66%, transparent 68%); color: #fff4d6;
  -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill;
  font-family: Fredoka, sans-serif; font-size: 22px; font-weight: 700; cursor: pointer; }
table.pays { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11.5px; margin: 8px 0; }
table.pays th { color: #ffe36b; font-weight: 700; padding: 2px 0; }
table.pays th:first-child, table.pays td:first-child { width: 12%; }
table.pays td { text-align: center; padding: 3px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.pays img { width: 26px; height: 26px; object-fit: contain; display: inline-block; }
.panel .ic { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; display: inline-block; }
/* the RTP of every way to play: the name on the left, the certified figure on the right */
table.rtp { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 15px; font-weight: 700; }
table.rtp th { color: #ffe36b; text-align: left; padding: 2px 0 4px; -webkit-text-stroke: 3px #3b1b02; paint-order: stroke fill; }
table.rtp td { padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #f2f8ea; -webkit-text-stroke: 3px #0f2a12; paint-order: stroke fill; }
table.rtp td + td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #fff4d6; }
.panel p.legal { font-size: 13px; opacity: .9; }

/* TURBO offer: a banner at the top, closes only on its buttons or its own timer */
#offer { position: absolute; left: 50%; top: 12px; transform: translate(-50%, -140%); z-index: 30; width: min(92vw, 520px); box-sizing: border-box;
  padding: 12px 16px 16px; border-radius: 18px; border: 3px solid #e7b64a; background: linear-gradient(#1f7a39, #10491f);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transition: transform .35s; overflow: hidden; }
#offer.on { transform: translate(-50%, 0); }
#offer b { grid-column: 1 / 3; font-size: 20px; color: #ffe36b; } #offer span { grid-column: 1 / 3; font-size: 15px; font-weight: 700; }
#offer button { padding: 10px; border-radius: 12px; border: 2px solid #e7b64a; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; }
#offerYes { background: #ffb21e; color: #3b1b02; } #offerNo { background: #0f3b1c; color: #fff4d6; }
#offer .bar { position: absolute; left: 0; bottom: 0; height: 4px; background: #ffd43b; width: 100%; }
#offer.on .bar { animation: drain 7s linear forwards; }
@keyframes drain { to { width: 0; } }
#toast { position: absolute; left: 50%; top: 16px; transform: translate(-50%, -150%); z-index: 25; padding: 10px 18px; border-radius: 14px;
  background: rgba(16, 52, 22, .92); border: 2px solid #e7b64a; font-size: 16px; transition: transform .3s; white-space: nowrap; }
#toast.on { transform: translate(-50%, 0); }

/* the golden-citrus meter (base game): 6 lit = BONUS, 8 = SUPER */
#meter { height: 250px; transition: opacity .35s, transform .35s; }
#ui[data-layout="land"] #meter { height: 170px; }
#meter .mbg { position: absolute; inset: 0; width: 100%; height: 100%; }
#meterLab { position: absolute; left: 0; right: 0; top: 13%; text-align: center; font-size: 26px; color: #ffe36b; white-space: nowrap;
  -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill; }
#meterLab2 { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font-size: 26px; color: #ffe36b; white-space: nowrap;
  -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill; }
#meter .mcs { position: absolute; left: 10%; right: 10%; top: 31%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 6px; }
#ui[data-layout="land"] #meter .mcs { grid-template-columns: repeat(8, 1fr); top: 38%; left: 7%; right: 7%; }
#meter .mcs img { width: 100%; opacity: .55; filter: grayscale(1) brightness(.55) contrast(.8); transition: opacity .2s, filter .2s; }
#meter .mcs img.lit { opacity: 1; filter: drop-shadow(0 0 6px #ffd84a); }
#meter .mcs img.pop { animation: mpop .45s ease-out; }
@keyframes mpop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
#meter.near .mcs { animation: near 0.8s ease-in-out infinite; }
@keyframes near { 50% { transform: scale(1.06); } }
#meter.full { animation: mfull .5s ease-in-out 4; }
@keyframes mfull { 50% { transform: scale(1.1); } }
#meter.away { opacity: 0; transform: scale(.85); pointer-events: none; }

/* SPIN in the bonus: the arrows face with the respins left in the middle */
#btnSpin .bface { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s; }
#btnSpin.inBonus .face { opacity: 0; }
#btnSpin.inBonus .bface { opacity: 1; }
/* the respins left, big in the middle of the plain orange face (the disc centre MEASURED at 50 % / 49 % of the art) */
#spinCount { position: absolute; left: 0; right: 0; top: 49%; transform: translateY(-50%); text-align: center; font-weight: 700; font-size: 150px; line-height: 1;
  color: #fff; -webkit-text-stroke: 14px #8a3200; paint-order: stroke fill; pointer-events: none; font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 0 rgba(122, 44, 0, .35); }
#btnSpin:not(.inBonus) #spinCount { display: none; }
/* the juice droplets around SPIN (cut from its art by tools/fs_spin_drops.py): hidden at rest; a press bursts each one
   out of the rim onto its place, then it flies on outward, falls and fades, each with its own small delay */
#btnSpin .drops { position: absolute; inset: 0; pointer-events: none; }
#btnSpin .drop { position: absolute; inset: 0; background: url(assets/img/btn_spin_splash.webp?v=232) center / 100% 100% no-repeat; opacity: 0; }
#btnSpin.burst .drop { animation: dropOut .95s cubic-bezier(.2, .8, .3, 1) var(--d) both; }
@keyframes dropOut {
  0% { opacity: 0; transform: translate(calc(var(--dx) * -.45), calc(var(--dy) * -.45)) scale(.3); }
  20% { opacity: 1; transform: translate(0, 0) scale(1.08); }
  45% { opacity: 1; transform: translate(calc(var(--dx) * .22), calc(var(--dy) * .22 + 6px)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * .6), calc(var(--dy) * .6 + 48px)) scale(.65); }
}
@media (prefers-reduced-motion: reduce) { #btnSpin.burst .drop { animation: none; } }
/* hold SPIN for auto: a juice-gold ring fills round the button over the hold's last 0.58 s (circle r 46 of 100 -> length 289), and flashes
   out when the turbo autoplay starts; centred on the button's measured disc (49.4 % / 49.8 %) */
#btnSpin .holdRing { position: absolute; left: 49.4%; top: 49.8%; width: 94%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-90deg);
  pointer-events: none; opacity: 0; overflow: visible; transition: opacity .12s; }
#btnSpin .holdRing .track { fill: none; stroke: rgba(40, 20, 0, .45); stroke-width: 5.5; }
#btnSpin .holdRing .fill { fill: none; stroke: url(#holdGrad); stroke-width: 5.5; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289;
  filter: drop-shadow(0 0 2.5px #ffd24a); }
#btnSpin.holding .holdRing { opacity: 1; }
#btnSpin.holding .holdRing .fill { stroke-dashoffset: 0; transition: stroke-dashoffset .58s linear; }
#btnSpin.held .holdRing { animation: ringOut .55s ease-out forwards; }
#btnSpin.held .holdRing .fill { stroke-dashoffset: 0; }
@keyframes ringOut { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(-90deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(1.18); } }
#btnSpin { -webkit-touch-callout: none; touch-action: none; }

/* the juice wave: a top layer above everything, painted crest over a solid block of the same juice */
#wave { position: fixed; left: 0; top: 0; width: 100vw; z-index: 50; display: none; overflow: hidden; will-change: transform; pointer-events: none; }
#wave.on { display: block; pointer-events: auto; }
#waveArt { position: relative; z-index: 1; display: block; max-width: none; }
#waveBack { position: absolute; left: 0; right: 0; bottom: 0; background: #f9920a; }

/* the bonus intro: four rules, each on its own plate, and CONTINUE */
#intro { position: fixed; inset: 0; z-index: 45; display: none; align-items: center; justify-content: center; background: rgba(8, 30, 14, .5); }
#intro.on { display: flex; }
.introPanel { width: min(94vw, 600px); max-height: 94vh; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; animation: introIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes introIn { from { transform: translateY(24px) scale(.94); opacity: 0; } }
.introRows { display: grid; gap: 0; margin-top: 2px; }
/* the rules are plain rows on the panel (no plates), so the CONTINUE plate is the one thing that reads as a button */
.rule { display: grid; grid-template-columns: 27% 1fr; align-items: center; gap: 10px; min-height: 58px; padding: 6px 4px;
  border-bottom: 2px solid rgba(231, 182, 74, .28); }
.rule:last-child { border-bottom: 0; }
.rt { display: flex; flex-direction: column; gap: 3px; line-height: 1.05; }
.rt b { font-size: 20px; color: #ffe36b; -webkit-text-stroke: 4px #0f2a12; paint-order: stroke fill; letter-spacing: .01em; }
.rt i { font-style: normal; font-size: 14px; color: #fff4d6; -webkit-text-stroke: 3px #0f2a12; paint-order: stroke fill; }
.iic { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; }
.iic img { width: 32%; max-height: 60px; object-fit: contain; }
.iic img.tall { width: 24%; }
.iic img.wide { width: 94%; max-height: 56px; }
.iic.big img { width: 62%; max-height: 66px; }
.iic.big em { position: absolute; font-style: normal; font-size: 30px; color: #fff; -webkit-text-stroke: 5px #7a2c00; paint-order: stroke fill; }
#introGo { display: flex; align-items: center; justify-content: center; margin: 16px auto 0; width: 78%; min-height: 76px; border: 0;
  background: url(assets/img/r121/plate_status.webp?v=232) center / 100% 100% no-repeat; color: #ffe36b; font-family: Fredoka, sans-serif; font-weight: 700;
  font-size: 30px; -webkit-text-stroke: 5px #0f2a12; paint-order: stroke fill; cursor: pointer; animation: goPulse 1.4s ease-in-out infinite; }
@keyframes goPulse { 50% { transform: scale(1.05); } }
/* a short landscape screen: the four rules in two columns so CONTINUE stays on screen */
@media (orientation: landscape) and (max-height: 700px) {
  .introPanel { width: min(94vw, 880px); padding-top: 12px; padding-bottom: 10px; }
  .introPanel h2 { font-size: 24px; margin-bottom: 4px; }
  .introRows { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .rule { min-height: 52px; padding: 4px; }
  .rule:nth-last-child(2) { border-bottom: 0; }
  .rt b { font-size: 16px; } .rt i { font-size: 12px; }
  .iic img { max-height: 11vh; }
  #introGo { min-height: 54px; font-size: 22px; margin-top: 8px; width: 50%; }
}

/* splash: the logo, three feature cards on the generated offer card, the max win on the game's plate, a loading bar
   that turns into PLAY (the plain orange face with the word on it) */
#splash { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(ellipse at 50% 38%, rgba(255, 236, 170, .32), rgba(14, 58, 26, .8) 78%), url(assets/img/r200/plate7v_port_1x.webp?v=232) center / cover;
  transition: opacity .5s; text-align: center; padding: 20px 16px; box-sizing: border-box; overflow: hidden; }
#splash.out { opacity: 0; pointer-events: none; }
#splashLogo { width: min(80vw, 470px); height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); animation: logoIn .7s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes logoIn { from { transform: scale(.6); opacity: 0; } }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(94vw, 540px); }
.feat { position: relative; aspect-ratio: 560 / 753; background: url(assets/img/r121/card_offer.webp?v=232) center / 100% 100% no-repeat; container-type: inline-size;
  animation: featIn .5s cubic-bezier(.2,.9,.3,1.2) both; }
.feat:nth-child(2) { animation-delay: .12s; } .feat:nth-child(3) { animation-delay: .24s; }
@keyframes featIn { from { transform: translateY(24px) scale(.9); opacity: 0; } }
/* container units resolve against the card (the inner box is its child). Each card is a little scene that fills its
   window: the art large and overlapping on a warm burst of light (static gradients, nothing repaints), a gold badge with
   the number that matters, the title and one line under it. */
.fin { position: absolute; inset: 0; box-sizing: border-box; padding: 15cqw 7cqw 11cqw; display: grid; grid-template-rows: 1fr auto auto;
  justify-items: center; align-items: center; gap: 1.5cqw; }
.fin b { font-size: 12.5cqw; line-height: 1; color: #ffe36b; -webkit-text-stroke: 1.4cqw #0f2a12; paint-order: stroke fill; white-space: nowrap; }
.fin > i { font-style: normal; font-size: 9cqw; line-height: 1.1; color: #fff4d6; -webkit-text-stroke: 1.15cqw #0f2a12; paint-order: stroke fill; }
.fic { position: relative; width: 86cqw; height: 78cqw; }
.fic::before { content: ''; position: absolute; inset: -4cqw -8cqw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 190, .62) 0%, rgba(255, 196, 70, .3) 34%, rgba(255, 196, 70, 0) 66%); }
.fic::after { content: ''; position: absolute; inset: -10cqw; z-index: 0;
  background: repeating-conic-gradient(from 4deg, rgba(255, 236, 160, .2) 0deg 8deg, rgba(255, 236, 160, 0) 8deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 22%, transparent 64%); mask: radial-gradient(circle, #000 22%, transparent 64%); }
.fic img, .fic > span { position: absolute; z-index: 1; display: block; }
.fic img { object-fit: contain; filter: drop-shadow(0 1.2cqw 1.4cqw rgba(0, 0, 0, .45)); }
.fic > em { position: absolute; z-index: 3; left: 50%; bottom: -3cqw; transform: translateX(-50%); min-width: 22cqw; padding: .5cqw 4cqw 1cqw;
  border-radius: 999px; border: 1.1cqw solid #7a4a06; background: linear-gradient(#ffe07a, #f5b82a 55%, #c98612); box-sizing: border-box;
  font-style: normal; font-size: 11cqw; line-height: 1.05; color: #3b1b02; -webkit-text-stroke: 0; text-align: center; white-space: nowrap; }
/* SQUEEZE: four strawberries pressed together */
.fic.grp img { width: 50%; }
.fic.grp img:nth-child(1) { left: 2%; top: 0; transform: rotate(-8deg); }
.fic.grp img:nth-child(2) { left: 48%; top: -2%; transform: rotate(7deg); }
.fic.grp img:nth-child(3) { left: 0; top: 40%; transform: rotate(5deg); }
.fic.grp img:nth-child(4) { left: 50%; top: 38%; transform: rotate(-6deg); }
/* JUICE DROPS: a fan of three, the biggest in front */
.fic.drops > span { width: 44%; top: 30%; }
.fic.drops > span img { position: relative; width: 100%; }
.fic.drops .m2 { left: -4%; transform: rotate(-15deg); }
.fic.drops .m5 { right: -4%; transform: rotate(15deg); }
.fic.drops .m25 { left: 20%; width: 60%; top: 6%; z-index: 2; }
.fic.drops em { position: absolute; z-index: 2; left: 0; right: 0; top: 60%; transform: translateY(-50%); font-style: normal; font-size: 11cqw; color: #fffbe8;
  text-align: center; -webkit-text-stroke: 1.6cqw #3a1604; paint-order: stroke fill; }
.fic.drops .m25 em { font-size: 14cqw; }
/* 6 GOLDEN: a pyramid of six golden citrus */
.fic.gold img { width: 35%; }
.fic.gold img:nth-child(1) { left: 32.5%; top: -2%; }
.fic.gold img:nth-child(2) { left: 15%; top: 23%; } .fic.gold img:nth-child(3) { left: 50%; top: 23%; }
.fic.gold img:nth-child(4) { left: -2%; top: 48%; } .fic.gold img:nth-child(5) { left: 32.5%; top: 48%; } .fic.gold img:nth-child(6) { left: 67%; top: 48%; }
.maxwin { position: relative; width: min(78vw, 400px); aspect-ratio: 900 / 218; background: url(assets/img/r121/plate_status.webp?v=232) center / 100% 100% no-repeat;
  container-type: inline-size; display: flex; align-items: center; justify-content: center; }
.maxwin span { display: flex; flex-direction: column; align-items: center; line-height: .95; color: #fff4d6; -webkit-text-stroke: 1.1cqw #0f2a12;
  paint-order: stroke fill; white-space: nowrap; }
.maxwin small { font-size: 5.6cqw; letter-spacing: .06em; }
.maxwin em { font-style: normal; color: #ffe36b; font-size: 11.5cqw; -webkit-text-stroke: 1.4cqw #3b1b02; }
#build { position: absolute; right: 10px; bottom: 8px; font-style: normal; font-size: 11px; opacity: .55; -webkit-text-stroke: 2px #10351a; paint-order: stroke fill; }
.go { position: relative; display: grid; place-items: center; width: min(40vw, 190px); aspect-ratio: 1.02; }
#loadbar { position: absolute; left: -10%; right: -10%; top: 50%; height: 16px; margin-top: -8px; border-radius: 999px; border: 3px solid #e7b64a;
  background: #0f3b1c; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5); overflow: hidden; transition: opacity .3s; }
#loadfill { display: block; height: 100%; width: 4%; border-radius: 999px; background: linear-gradient(#ffe38a, #f7a21b 60%, #e0780a); transition: width .25s; }
#splash.ready #loadbar { opacity: 0; }
#play { position: relative; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.2,.9,.3,1.4); container-type: inline-size; }
#play.ready { opacity: 1; transform: none; pointer-events: auto; animation: breathe 1.6s ease-in-out .4s infinite; }
#play img { width: 100%; display: block; }
#play b { position: absolute; left: 0; right: 0; top: 49%; transform: translateY(-50%); font-size: 25cqw; line-height: 1; color: #fff;
  -webkit-text-stroke: 3.2cqw #8a3200; paint-order: stroke fill; text-shadow: 0 1cqw 0 rgba(122, 44, 0, .35); }
#splashMsg { margin: 0; min-height: 1em; font-size: 16px; -webkit-text-stroke: 4px #10351a; paint-order: stroke fill; }
@keyframes breathe { 50% { transform: scale(1.05); } }
/* a short landscape screen: the logo and PLAY on the left, the cards and the max win on the right */
@media (orientation: landscape) and (max-height: 700px) {
  #splash { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto; grid-template-areas: "logo feats" "go maxwin";
    gap: 10px 20px; padding: 14px 24px; align-items: center; justify-items: center; }
  #splashLogo { grid-area: logo; width: auto; height: min(40vh, 250px); max-width: 100%; }
  .feats { grid-area: feats; width: min(100%, 120vh); }
  .maxwin { grid-area: maxwin; width: min(70%, 330px); }
  .go { grid-area: go; width: min(30vh, 150px); }
  #splashMsg { position: absolute; bottom: 8px; left: 0; right: 0; }
}
@media (prefers-reduced-motion: reduce) { #play.ready { animation: none; } }
/* a refused bet: the title, one clear sentence and OK */
.panel.notice p.notice { font-size: 17px; line-height: 1.4; text-align: center; opacity: 1; margin: 6px 4px 14px; }

/* ---- folded in from style.fixes.css (the rules the Stake build has appended until now) ---- */
/* Fixes on top of style.css. The Stake build appends this file to its copy of style.css (tools/stake_dev/build_stake.py);
   the live demo serves style.css alone until these rules are merged into it with its next release. */

/* the loader: opaque from the first frame (nothing of the game shows through it), its painting on a layer of its own,
   and everything on it hidden until its own art is in; then it fades in whole (main.js adds .art) */
#splash { background: #2a1710; }
#splash::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 214, 150, .12), rgba(42, 23, 16, .72) 80%),
    url(assets/img/r200/plate7v_port_1x.webp?v=232) center / cover; }
@media (orientation: landscape) {
  #splash::before { background: radial-gradient(ellipse at 50% 40%, rgba(255, 214, 150, .12), rgba(42, 23, 16, .72) 80%),
    url(assets/img/r200/plate7v_land_1x.webp?v=232) center / cover; }
}
#splash > * { opacity: 0; transition: opacity .45s; }
/* the loader never moves and is never a bare screen: the logo's box has the picture's proportions before any picture is
   in, and the logo shows from the first paint (its small copy is inline in the platform build's page, the full one
   replaces it as it arrives), over the plate's soft thumbnail under the veil */
#splashLogo { aspect-ratio: 1400 / 610; }
#splash > #splashLogo { opacity: 1; }
/* its painted backgrounds are fetched only once the code runs (main.js adds .ld), after game.js, like its pictures */
#splash:not(.ld)::before, #splash:not(.ld) .feat, #splash:not(.ld) .maxwin { background-image: none !important; }
#splash.art::before, #splash.art > *, #splash > .go { opacity: 1; }     /* the bar is drawn by CSS: it shows at once */
#splash, #intro, #stkBlock { touch-action: manipulation; }

/* pictures only the respins and a press of SPIN show: fetched after PLAY (main.js adds .late), not with the loader */
body:not(.late) .lamp, body:not(.late) #btnSpin .drop { background-image: none !important; }

/* the toast is fully hidden when it is not showing (its shadowless edge used to peek in at the top) */
#toast { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
#toast.on { visibility: visible; transition: transform .3s; }

/* the bonus buy on a landscape phone: the two cards as tall as the screen allows (their words then read at 11 CSS px or
   more), with the buy's own bet and its note in a column beside them, so the whole panel fits inside its frame */
@media (orientation: landscape) and (max-height: 500px) {
  /* the panel is a size container (its own width cannot come from its content): the cards' height --oh is the
     screen's height less the frame, or less when the screen is too narrow for both cards and the bet column */
  .panel.buy { --col: 240px; --oh: min(calc(100vh - 128px), 300px, calc((100vw - 102px - var(--col)) / 2 * 753 / 560));
    width: calc(2 * var(--oh) * 560 / 753 + 86px + var(--col)); max-width: calc(100vw - 16px); padding: 10px 10px 8px; }
  .panel.buy #panelBody { display: grid; grid-template-columns: auto auto; grid-template-rows: auto 1fr auto;
    grid-template-areas: "t t" "o b" "o s"; column-gap: 14px; align-items: center; }
  .panel.buy h2 { grid-area: t; font-size: 22px; margin-bottom: 4px; -webkit-text-stroke-width: 4px; }
  .panel.buy .offers { grid-area: o; width: auto; grid-template-columns: auto auto; gap: 8px; margin: 0; }
  .panel.buy .offer { height: var(--oh); width: calc(var(--oh) * 560 / 753); justify-self: start; }
  .panel.buy .bbet { grid-area: b; margin: 0; gap: 6px; align-self: end; }
  .panel.buy .bstep { width: 44px; height: 44px; }
  .panel.buy .bval { width: 140px; }
  .panel.buy .bval b { font-size: 18px; -webkit-text-stroke-width: 4px; }
  .panel.buy p.small { grid-area: s; width: 240px; margin: 8px auto 0; font-size: 12px; align-self: start; }
}
/* a narrow landscape screen (a small phone, a casino's mini player): the bet plate on top, - and + under it */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 720px) {
  .panel.buy { --col: 130px; }
  .panel.buy .bbet { display: grid; grid-template-columns: 44px 44px; grid-template-areas: "v v" "m p"; gap: 6px 30px;
    justify-content: center; }
  .panel.buy .bval { grid-area: v; width: 124px; }
  .panel.buy .bstep[data-d="-1"] { grid-area: m; }
  .panel.buy .bstep[data-d="1"] { grid-area: p; }
  .panel.buy p.small { width: 130px; }
}
/* a narrow portrait phone: the buy panel takes the whole width, so the cards are wide enough for their words */
@media (orientation: portrait) and (max-width: 380px) {
  .panel.buy { width: calc(100vw - 8px); border-width: 22px; border-image-width: 22px; padding-left: 2px; padding-right: 2px; }
}
/* the cards' terms: one size up, still one line per term inside the card */
.offer i { font-size: 9.5cqw; line-height: 1.05; }

/* a bonus buy the player cannot take at the buy bet: the card's art (a dimmed copy of its own picture, so its shape
   stays) and its parts dim, and its reason stands in the terms' row in a warm warning colour, undimmed (the terms come
   back once the card fits) */
.offer.poor { filter: none; background-image: none; }
.offer.poor::before { content: ''; position: absolute; inset: 0; background: url(assets/img/r121/card_offer.webp?v=232) center / 100% 100% no-repeat;
  filter: grayscale(.6) brightness(.7); }
.offer.poor .ocit, .offer.poor b, .offer.poor em { filter: grayscale(.6) brightness(.72); }
.offer.poor .terms { visibility: hidden; }
.offer .why { position: absolute; left: 6cqw; right: 6cqw; top: 71cqw; height: 22cqw; display: none; align-items: center;
  justify-content: center; text-align: center; font-size: max(9cqw, 11.2px); line-height: 1.05; color: #ffb59a;
  -webkit-text-stroke: 1.2cqw #3b0f02; paint-order: stroke fill; pointer-events: none; }
.offer.poor .why { display: flex; }

/* Landscape phones and small landscape players: every panel and card fits the screen and its own painted frame. The
   frame is thinner, titles and lines are tighter, and every button is sized by the screen's height (never under 44 CSS
   px). The platform's own panel style (ui/rgs.stake.js) is injected after this sheet, so its button rules are outranked
   here by the extra .panel in the selector. */
@media (orientation: landscape) and (max-height: 500px) {
  .panel { max-height: calc(100vh - 24px); padding-top: 10px; padding-bottom: 8px; border-width: 22px; border-image-width: 22px; }
  .panel h2 { font-size: 22px; margin-bottom: 4px; -webkit-text-stroke-width: 4px; }
  .panel .scroll { max-height: calc(100vh - 128px); }
  .panel.auto .counts { width: min(100%, max(58vh, 200px)); margin: 2px auto 0; gap: 2vh; }
  .panel.auto .count { font-size: 18px; -webkit-text-stroke-width: 4px; }
  .panel p.small { margin: 4px 0; font-size: 12px; line-height: 1.25; }
  .panel.notice p.notice { margin: 2px 4px 6px; font-size: 14px; line-height: 1.3; }
  .panel .count.wide.pbtn { width: calc(max(44px, min(20vh, 74px)) * 600 / 242); height: max(44px, min(20vh, 74px));
    margin: 4px auto 2px; font-size: 18px; }
  .panel .count.wide.pbtn.alt { width: calc(max(44px, min(14vh, 52px)) * 900 / 218); height: max(44px, min(14vh, 52px));
    margin: 2px auto 0; font-size: 15px; }
  /* the bonus intro: the rules in two columns, every row and CONTINUE sized by the height */
  .introPanel { max-height: calc(100vh - 16px); padding-top: 8px; padding-bottom: 6px; border-width: 22px; border-image-width: 22px; }
  .introPanel h2 { font-size: 20px; margin-bottom: 2px; }
  .rule { min-height: 0; padding: 2px 4px; }
  .iic img { max-height: 10vh; }
  .iic img.wide { max-height: 9vh; }
  .iic.big img { max-height: 11vh; }
  .iic.big em { font-size: 22px; }
  #introGo { min-height: 44px; height: max(44px, 13vh); font-size: 20px; margin-top: 4px; }
}

/* no text on the cabinet is drawn under 11 CSS px: --floor is that size in design px on this screen (layout.js), and the
   meter's lines take their short form where the floor does not fit the plate (ui/hud.js fitMeter) */
#meterLab, #meterLab2 { font-size: max(26px, var(--floor, 0px)); }
#statusVal i { font-size: max(32px, var(--floor, 0px)); }
#autoLeft { font-size: max(30px, var(--floor, 0px)); }

/* every button on a panel is at least 44 CSS px tall (the second, plate-shaped button is wide enough for that) */
.panel .count.wide.pbtn.alt { width: max(min(62%, 260px), calc(44px * 900 / 218)); }
/* a short portrait screen: the bonus intro's rows and CONTINUE sized by the height, so CONTINUE is always on screen */
@media (orientation: portrait) and (max-height: 700px) {
  .introPanel { padding-top: 10px; padding-bottom: 8px; border-width: 22px; border-image-width: 22px; }
  .introPanel h2 { font-size: 24px; margin-bottom: 2px; }
  .rule { min-height: 0; padding: 3px 4px; }
  .iic img { max-height: 8vh; }
  .iic img.wide { max-height: 7vh; }
  .iic.big img { max-height: 9vh; }
  .rt b { font-size: 18px; }
  .rt i { font-size: 13px; }
  #introGo { min-height: 52px; font-size: 24px; margin-top: 8px; }
}

/* idle life: the logo or BUY breathes once when the status hint speaks of it (flow/wager.js); finite, on the compositor
   (the scale property, so it adds to a press's transform) */
@keyframes fsBreathe { 0%, 100% { scale: 1; } 45% { scale: 1.04; } }
#logo.breathe, #btnBuy.breathe { animation: fsBreathe 1.6s ease-in-out 1; }
/* - and + sit on the ends of the BET plate: they stand over it, so the plate never takes their taps */
#btnMinus, #btnPlus { z-index: 4; }
/* ===== r70: the cartoon redesign's controls (ui/skin.js builds the bar, the fields and the icons) ===== */
/* the old painted plates and button faces are not shown; the logo, BONUS and the meter's citrus keep their pictures */
#ui.r70 .plate > img, #ui.r70 .jp > img, #ui.r70 .btn:not(#btnBuy) > img, #ui.r70 #btnSpin .drops { display: none; }
#ui.r70 #bar { height: 120px; background: linear-gradient(#0b1d27f2, #07141bf7); border-top: 3px solid #ffffff1f;
  box-shadow: 0 -6px 18px #0006; pointer-events: none; }
#ui.r70[data-layout="land"] #bar { height: 104px; }
/* money fields: a small caps label over the amount, plain type on the bar */
#ui.r70 .field { height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: none; }
#ui.r70[data-layout="land"] .field { height: 84px; }
#ui.r70 .field .flab { font-size: 30px; font-weight: 700; letter-spacing: .08em; color: #8fb4c4; line-height: 1; }
#ui.r70 .field > span { position: static; display: block; font-size: 44px; font-weight: 700; color: #fff; line-height: 1.05;
  -webkit-text-stroke: 0; text-shadow: 0 2px 0 #0008; }
#ui.r70[data-layout="land"] .field .flab { font-size: 24px; }
#ui.r70[data-layout="land"] .field > span { font-size: 38px; }
#ui.r70 #win > span { color: #ffd75a; }
/* round buttons: deep navy discs with a light ring and a white line icon, as in the concept */
#ui.r70 .btn:not(#btnBuy) { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #1c4258, #0c2433 72%);
  border: 5px solid #e9f4f8d9; box-shadow: 0 6px 0 #04121a, 0 10px 18px #0007; color: #fff; display: flex; align-items: center;
  justify-content: center; }
#ui.r70 .btn .ic { width: 56%; height: 56%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
  stroke-linejoin: round; pointer-events: none; }
#ui.r70 #btnSpin { border-width: 9px; background: radial-gradient(circle at 50% 36%, #245271, #0b2232 70%);
  box-shadow: 0 8px 0 #03101a, 0 14px 26px #0009, inset 0 0 0 4px #0b2232; }
#ui.r70 #btnSpin .ic { width: 62%; height: 62%; stroke-width: 2.6; }
#ui.r70 #btnSpin.inBonus .ic { opacity: .35; }
/* the bet arrows sit inside the BET field: no disc, just the chevron */
#ui.r70 #btnMinus:not(#btnBuy), #ui.r70 #btnPlus:not(#btnBuy) { background: none; border: 0; box-shadow: none; z-index: 4; }
#ui.r70 #btnMinus .ic, #ui.r70 #btnPlus .ic { width: 62%; height: 62%; stroke-width: 2.8; color: #ffd75a; }
#ui.r70 #btnSound.muted .w, #ui.r70 #btnSound:not(.muted) .x { display: none; }
#ui.r70 #btnBuy { aspect-ratio: 1; }
#ui.r70 #btnBuy > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px #0008); }
/* jackpot tags: a dark pill, the name in its colour over the amount */
#ui.r70 .jp { height: 74px; border-radius: 37px; background: #0b1f2bd9; border: 3px solid #ffffff2e; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 4px 10px #0006; }
#ui.r70 .jp > b { font-size: 24px; font-weight: 800; letter-spacing: .06em; line-height: 1; }
#ui.r70 .jp > span { position: static; font-size: 30px; color: #fff; line-height: 1; -webkit-text-stroke: 0; }
#ui.r70 #jp0 > b { color: #8be04e; } #ui.r70 #jp1 > b { color: #5cc0ff; } #ui.r70 #jp2 > b { color: #cf93ff; } #ui.r70 #jp3 > b { color: #ffb12e; }
/* the hint line and the meter: dark pills, the meter's eight citrus in one row */
#ui.r70 #status { height: 64px; border-radius: 32px; background: #0b1f2bcc; border: 3px solid #ffffff24; }
#ui.r70 #status.two { height: 84px; border-radius: 42px; }
#ui.r70 #statusVal { position: absolute; inset: 0; }
#ui.r70 #statusVal b { font-size: 34px; } #ui.r70 #status.two #statusVal b { font-size: 26px; }
#ui.r70 #statusVal i { font-size: 22px; -webkit-text-stroke: 0; }
#ui.r70 #meter, #ui.r70 #respins { height: 72px; border-radius: 36px; background: #0b1f2be6; border: 3px solid #ffffff2e; }
#ui.r70 #meter .mbg { display: none; }
#ui.r70 #meter .mcs { left: 6%; right: 6%; top: 50%; transform: translateY(-50%); grid-template-columns: repeat(8, 1fr); gap: 0 6px; }
#ui.r70 #meterLab, #ui.r70 #meterLab2 { display: none; }
/* the loader in the machine's own look, from its first frame (no class needed): the cards, the max-win plate and the bar
   are the machine's dark-brown face with its orange rim and dark outline, the type cream and gold, and PLAY is the
   machine's painted push button, as SPIN is in the game */
#splash .feat { background: #4a2c1c !important; border: 6px solid #2a1710; border-radius: 26px; box-sizing: border-box;
  box-shadow: inset 0 0 0 5px #e78a27, inset 0 0 0 8px #2a1710, 0 8px 18px #0008; }
#splash .fic::after { display: none; }
#splash .fic::before { background: radial-gradient(circle, rgba(255, 200, 110, .45) 0%, rgba(255, 170, 60, .16) 40%, rgba(255, 170, 60, 0) 66%); }
#splash .fin b { color: #ffc53d; -webkit-text-stroke: 1.5cqw #2a1710; font-family: Fredoka, sans-serif; }
#splash .fin > i { color: #fff0d2; -webkit-text-stroke: 1.1cqw #2a1710; }
#splash .fic > em { background: #e78a27; color: #fff8e8; border: 1.1cqw solid #2a1710; -webkit-text-stroke: 1cqw #2a1710; paint-order: stroke fill; }
#splash .maxwin { background: #4a2c1c !important; border: 6px solid #2a1710; border-radius: 999px; box-sizing: border-box;
  box-shadow: inset 0 0 0 5px #e78a27, inset 0 0 0 8px #2a1710, 0 8px 18px #0008; }
#splash .maxwin span { color: #fff0d2; -webkit-text-stroke: 1.2cqw #2a1710; }
#splash .maxwin em { color: #ffc53d; -webkit-text-stroke: 1.5cqw #2a1710; }
/* PLAY: the painted button and its shadow on a layer of their own (a filter on the button itself rasterised its word at
   the breathing scale, and the word went soft) */
#splash #play { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; filter: none; }
#splash #play::before { content: ''; position: absolute; inset: 0; z-index: 0; background: url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 7px 0 #2a1710) drop-shadow(0 12px 14px #0007); }
#splash #play > b { z-index: 1; }
#splash #play.ready { animation: none; }
#splash #play > img { display: none; }
#splash #play > b { font-family: Fredoka, sans-serif; font-weight: 700; font-size: 24cqw; color: #fff8e8; letter-spacing: .02em;
  -webkit-text-stroke: 4.2cqw #2a1710; paint-order: stroke fill; text-shadow: 0 1.6cqw 0 #e8761b; }
#splash #play:active { transform: translateY(5px) scale(.97); }
#splash #loadbar { border: 4px solid #2a1710; background: #4a2c1c; box-shadow: inset 0 0 0 3px #e78a27; }
#splash #loadfill { background: #ffc53d; }
#splashMsg { color: #fff0d2; -webkit-text-stroke: 4px #2a1710; }
/* the speed is told by the icon itself (ui/skin.js), not by dots under the button */
#ui.r70 #btnTurbo .pips { display: none; }
#ui.r70 #btnTurbo .ic g { display: none; }
#ui.r70 #btnTurbo[data-speed="normal"] .ic .s1, #ui.r70 #btnTurbo:not([data-speed]) .ic .s1, #ui.r70 #btnTurbo[data-speed="fast"] .ic .s2,
#ui.r70 #btnTurbo[data-speed="quick"] .ic .s3, #ui.r70 #btnTurbo[data-speed="turbo"] .ic .s4 { display: inline; }
#ui.r70[data-layout="port"] #bar, #ui.r70[data-layout="port"] .field { height: 86px; }
#ui.r70[data-layout="port"] .field .flab { font-size: 24px; }
#ui.r70[data-layout="port"] .field > span { font-size: 38px; }
/* portrait: the bar's height and type grow with the phone's spare height (layout.js sets --barH and --barK) */
#ui.r70[data-layout="port"] #bar, #ui.r70[data-layout="port"] .field { height: var(--barH, 108px); }
#ui.r70[data-layout="port"] .field .flab { font-size: calc(32px * var(--barK, 1)); }
#ui.r70[data-layout="port"] .field > span { font-size: calc(48px * var(--barK, 1)); }
/* portrait jackpots across the whole width, taller, larger type */
#ui.r70[data-layout="port"] .jp { height: 96px; border-radius: 48px; }
#ui.r70[data-layout="port"] .jp > b { font-size: 30px; }
#ui.r70[data-layout="port"] .jp > span { font-size: 40px; }
#ui.r70[data-layout="port"] #status { height: 76px; border-radius: 38px; }
#ui.r70[data-layout="port"] #statusVal b { font-size: 40px; }
#ui.r70[data-layout="port"] #status.two #statusVal b { font-size: 30px; }
#ui.r70[data-layout="port"] #statusVal i { font-size: 26px; }
/* portrait hint: printed on the machine's yellow front panel, dark type; a win in white with a brown outline */
#ui.r70[data-layout="port"] #status, #ui.r70[data-layout="port"] #status.two { height: 78px; background: none; border: 0; border-radius: 0; }
#ui.r70[data-layout="port"] #statusVal b, #ui.r70[data-layout="port"] #statusVal i { color: #4a2106; -webkit-text-stroke: 0;
  text-shadow: 0 2px 0 #ffd88a; }
#ui.r70[data-layout="port"] #statusVal b { font-size: 38px; }
#ui.r70[data-layout="port"] #status.two #statusVal b { font-size: 32px; }
#ui.r70[data-layout="port"] #statusVal i { font-size: 27px; }
#ui.r70[data-layout="port"] #status.big #statusVal b { color: #fff; -webkit-text-stroke: 9px #4a2106; paint-order: stroke fill;
  text-shadow: 0 4px 0 #4a2106; font-size: 46px; }
/* the meter's feature marks: a chip under the 6th socket (BONUS) and the 8th (SUPER) */
#ui.r70 #meter .mtag { position: absolute; top: 100%; transform: translate(-50%, -42%); padding: 3px 10px 2px; border-radius: 14px;
  font: 700 21px/1 Fredoka, sans-serif; letter-spacing: .04em; font-style: normal; white-space: nowrap; border: 3px solid #1d1208; }
#ui.r70 #meter .mtag.m6 { left: 66.5%; background: #ffb12e; color: #2a1405; }
#ui.r70 #meter .mtag.m8 { left: 88.5%; background: #c24dff; color: #fff; }
/* portrait meter: wider and taller, bigger sockets and feature chips */
#ui.r70[data-layout="port"] #meter { height: 84px; border-radius: 42px; }
#ui.r70[data-layout="port"] #meter .mtag { font-size: 25px; padding: 4px 12px 3px; }
/* ===== the controls in the machine's own palette, seen straight from the front: a flat face, an even orange rim, a
   thick dark-brown outline, no gloss and no tilt. Faces are the dark brown of the machine's grill, text and icons
   cream; SPIN alone is the machine's orange ===== */
#ui.r70 { --ink: #2a1710; --face: #4a2c1c; --rim: #e78a27; --cream: #fff0d2; --lab: #f4b552; }
#ui.r70 .btn:not(#btnBuy) { border: 6px solid var(--ink); background: var(--face); color: var(--cream);
  box-shadow: inset 0 0 0 7px var(--rim), inset 0 0 0 10px var(--ink), 0 4px 10px #0006; }
#ui.r70 .btn .ic { stroke-width: 2.4; filter: none; }
#ui.r70 #btnSpin:not(#btnBuy) { border: 8px solid var(--ink); background: var(--rim); color: #fff8e8;
  box-shadow: inset 0 0 0 9px #ffd27a, inset 0 0 0 13px var(--ink), 0 6px 14px #0007; }
#ui.r70 #btnSpin:not(#btnBuy) .ic { width: 58%; height: 58%; stroke-width: 2.9;
  filter: drop-shadow(1.4px 0 0 var(--ink)) drop-shadow(-1.4px 0 0 var(--ink)) drop-shadow(0 1.4px 0 var(--ink)) drop-shadow(0 -1.4px 0 var(--ink)); }
/* a button marked .disc (layout.js: − and +, landscape AUTO and TURBO) is an invisible tap area at least the least tap
   size; its round face is drawn inside it at --disc, so it fits the bar */
#ui.r70 .btn.disc:not(#btnBuy) { border: 0; background: none; box-shadow: none; transform: none; }
#ui.r70 .btn.disc::before { content: ''; display: block; position: absolute; left: 50%; top: calc(50% + var(--discDy, 0px)); width: var(--disc); height: var(--disc);
  transform: translate(-50%, -50%); box-sizing: border-box; border-radius: 50%; border: 4px solid var(--ink); background: var(--face);
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink), 0 3px 8px #0006; }
#ui.r70 .btn.disc.down::before { transform: translate(-50%, -50%) scale(.93); }
#ui.r70 .btn.disc .ic { position: relative; top: var(--discDy, 0px); width: calc(var(--disc) * .56); height: calc(var(--disc) * .56); }
#ui.r70 #btnMinus .ic, #ui.r70 #btnPlus .ic { stroke-width: 3.4; color: var(--cream); }
/* the bar: dark brown with the machine's orange edge; labels light orange, amounts cream */
#ui.r70 #bar { background: #3a2215; border-top: 0; box-shadow: inset 0 7px 0 var(--rim), inset 0 13px 0 var(--ink), 0 -4px 0 var(--ink); }
#ui.r70 .field .flab { color: var(--lab); }
#ui.r70 .field > span { color: var(--cream); text-shadow: 0 3px 0 var(--ink); }
#ui.r70 #win > span { color: #ffd04a; }
#ui.r70 .field { padding-top: 10px; box-sizing: border-box; }
/* jackpots, the meter and the landscape hint: the same dark face with the even orange rim */
#ui.r70 .jp, #ui.r70 #meter, #ui.r70 #respins { background: var(--face); border: 5px solid var(--ink);
  box-shadow: inset 0 0 0 5px var(--rim), 0 4px 10px #0006; }
#ui.r70 .jp > span { color: var(--cream); text-shadow: 0 3px 0 var(--ink); }
#ui.r70 #meter .mtag { border-color: var(--ink); }
/* the hint is printed on the machine's yellow front panel in both layouts */
#ui.r70[data-layout="land"] #status, #ui.r70[data-layout="land"] #status.two { height: 50px; background: none; border: 0; border-radius: 0; box-shadow: none; }
#ui.r70[data-layout="land"] #statusVal b, #ui.r70[data-layout="land"] #statusVal i { color: #4a2106; -webkit-text-stroke: 0; text-shadow: 0 2px 0 #ffd88a; }
#ui.r70[data-layout="land"] #statusVal { gap: 0; }
#ui.r70[data-layout="land"] #statusVal b { font-size: max(28px, var(--floor, 0px)); line-height: 1.05; }
#ui.r70[data-layout="land"] #status.two #statusVal b { font-size: max(24px, var(--floor, 0px)); }
#ui.r70[data-layout="land"] #statusVal i { font-size: max(19px, var(--floor, 0px)); line-height: 1.05; }
#ui.r70[data-layout="land"] #status.big #statusVal b { color: #fff; -webkit-text-stroke: 7px #4a2106; paint-order: stroke fill; text-shadow: 0 3px 0 #4a2106;
  font-size: max(34px, var(--floor, 0px)); }
/* landscape: no bar across the screen; three pods under the machine (layout.js POD_H = 80) hold the controls */
#ui.r70 .pod { display: none; }
#ui.r70[data-layout="land"] #bar { display: none; }
#ui.r70[data-layout="land"] .pod { display: block; position: absolute; height: 80px; box-sizing: border-box; border-radius: 40px;
  background: var(--face); border: 5px solid var(--ink); box-shadow: inset 0 0 0 5px var(--rim), 0 4px 10px #0006; pointer-events: none; }
#ui.r70[data-layout="land"] .field { height: 72px; padding-top: 0; gap: 2px; }
#ui.r70[data-layout="land"] .field .flab { font-size: max(20px, var(--floor, 0px)); }
#ui.r70[data-layout="land"] .field > span { font-size: max(32px, var(--floor, 0px)); }
/* the hint's two lines side by side on a plate too low for both (ui/hud.js fitStatus) */
#ui.r70 #status.row #statusVal { flex-direction: row; align-items: baseline; justify-content: center; gap: .45em; }
/* ===== panels, the buy cards, the bonus intro: the machine's palette (dark brown face, orange rim, dark-brown outline,
   cream type), flat cel shading, no painted green plates ===== */
body.r70 { --ink: #2a1710; --face: #4a2c1c; --face2: #3a2215; --rim: #e78a27; --cream: #fff0d2; --lab: #f4b552; --gold: #ffc53d; }
body.r70 #panelWrap, body.r70 #intro { background: rgba(26, 12, 6, .66); }
body.r70 .panel { border: 6px solid var(--ink); border-image: none; border-radius: 34px; background: var(--face);
  box-shadow: inset 0 0 0 7px var(--rim), inset 0 0 0 10px var(--ink), 0 12px 34px #000a; padding: 26px 22px 22px; }
body.r70 .panel h2 { font-family: Fredoka, sans-serif; color: var(--gold); -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--ink); }
body.r70 .panel h3, body.r70 table.pays th, body.r70 table.rtp th, body.r70 .panel .stkGuide b { color: var(--gold); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
body.r70 .panel p, body.r70 table.rtp td, body.r70 .stkGroups figcaption { color: var(--cream); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
body.r70 .panel p b, body.r70 table.rtp td + td { color: #fff8e8; }
body.r70 table.pays td, body.r70 table.rtp td { border-top-color: rgba(231, 138, 39, .3); }
/* close: a small round machine button with a cream cross */
body.r70 #panelX { right: -14px; top: -16px; width: 56px; height: 56px; box-sizing: border-box; border: 5px solid var(--ink);
  background: var(--face) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='%23fff0d2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 56% no-repeat;
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink), 0 4px 10px #0007; filter: none; }
/* the buy cards: a dark card with the orange rim, the price on an orange pill */
body.r70 .offer { background: var(--face2); border: 5px solid var(--ink); border-radius: 26px; box-sizing: border-box;
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink); }
body.r70 .offer.poor::before { background: var(--face2); border-radius: 22px; }
body.r70 .offer .oin { padding: 9cqw 7cqw 7cqw; }
body.r70 .offer b { color: var(--gold); -webkit-text-stroke: 1.4cqw var(--ink); font-family: Fredoka, sans-serif; }
body.r70 .offer i { color: var(--cream); -webkit-text-stroke: 1cqw var(--ink); }
body.r70 .offer i.om span { color: var(--gold); }
body.r70 .offer em img { display: none; }
body.r70 .offer em span { position: static; height: 20cqw; box-sizing: border-box; border: 1.2cqw solid var(--ink); border-radius: 999px;
  background: var(--rim); box-shadow: inset 0 0 0 1.4cqw #ffd27a; color: #fff8e8; -webkit-text-stroke: 1.3cqw var(--ink); }
/* the buy's own bet: − and + discs either side of the amount, as on the bar */
body.r70 .bstep, body.r70 .count:not(.wide) { box-sizing: border-box; border: 5px solid var(--ink); border-radius: 50%; background: var(--face2);
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink); color: var(--cream); -webkit-text-stroke: 4px var(--ink); }
body.r70 .bstep img { display: none; }
body.r70 .bstep { background: var(--face2) center / 56% no-repeat; }
body.r70 .bstep[data-d="-1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' stroke='%23fff0d2' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.r70 .bstep[data-d="1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12M12 6v12' stroke='%23fff0d2' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.r70 .bval { aspect-ratio: auto; height: 58px; box-sizing: border-box; border: 5px solid var(--ink); border-radius: 999px; background: var(--face2);
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink); }
body.r70 .bval img { display: none; }
body.r70 .bval b { top: 50%; color: var(--cream); -webkit-text-stroke: 5px var(--ink); }
body.r70 .count.sel { background: var(--rim); box-shadow: inset 0 0 0 5px #ffd27a, inset 0 0 0 7px var(--ink); color: #fff8e8; }
/* the panel's main button: an orange pill like SPIN; the second one a dark pill */
body.r70 .count.wide, body.r70 .count.wide.pbtn, body.r70 #introGo { box-sizing: border-box; aspect-ratio: auto; height: 74px; min-height: 0;
  border: 6px solid var(--ink); border-radius: 999px; background: var(--rim); box-shadow: inset 0 0 0 6px #ffd27a, inset 0 0 0 9px var(--ink), 0 5px 12px #0007;
  color: #fff8e8; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; filter: none; font-family: Fredoka, sans-serif; }
body.r70 .count.wide.pbtn.alt { height: 58px; background: var(--face2); box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 8px var(--ink); color: var(--cream); }
body.r70 #stkBar button { background: var(--rim); border: 6px solid var(--ink); border-radius: 999px; box-shadow: inset 0 0 0 6px #ffd27a, inset 0 0 0 9px var(--ink);
  -webkit-text-stroke: 6px var(--ink); }
/* the bonus intro */
body.r70 .rule { border-bottom-color: rgba(231, 138, 39, .3); }
body.r70 .rt b { color: var(--gold); -webkit-text-stroke: 5px var(--ink); font-family: Fredoka, sans-serif; }
body.r70 .rt i { color: var(--cream); -webkit-text-stroke: 3px var(--ink); }
body.r70 .iic .rdisc { position: relative; width: 58px; height: 58px; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--ink); border-radius: 50%; background: var(--rim); box-shadow: inset 0 0 0 4px #ffd27a; color: #fff8e8; }
body.r70 .iic .rdisc .ic { width: 64%; height: 64%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
body.r70 .iic.big em { z-index: 1; color: #fff8e8; -webkit-text-stroke: 6px var(--ink); font-family: Fredoka, sans-serif; }
body.r70 .iic.big .rdisc + em { position: absolute; }
body.r70 .iic.big .rdisc .ic { opacity: .45; }
body.r70 .iic .gchip { padding: 7px 14px 6px; border: 4px solid var(--ink); border-radius: 999px; background: var(--face2); box-shadow: inset 0 0 0 4px var(--rim);
  font: 700 20px/1 Fredoka, sans-serif; letter-spacing: .06em; color: #ffb12e; -webkit-text-stroke: 0; }
body.r70 #introGo { width: 70%; color: #fff8e8; }
/* the cartoon wave's solid juice colour under its painting */
body.r70 #waveBack { background: #f97101; }
/* the respins left: three round lamps; a spent one stays as an empty socket (gone, it read as no counter at all) */
#ui.r70 .lamp { width: 56px; top: 50%; box-sizing: border-box; border: 5px solid var(--ink); border-radius: 50%; opacity: 1;
  background: var(--face2) !important; box-shadow: inset 0 0 0 4px rgba(231, 138, 39, .45); transform: translate(-50%, -50%) scale(.9); }
#ui.r70 .lamp.lit { background: #ffc53d !important; box-shadow: inset 0 -9px 0 #e2860f, inset 0 0 0 4px #ffe58a; transform: translate(-50%, -50%); }
#ui.r70 #lamp0 { left: calc(50% - 74px); } #ui.r70 #lamp1 { left: 50%; } #ui.r70 #lamp2 { left: calc(50% + 74px); }
/* in the bonus SPIN shows only the respins left: no spin arrows under the number */
#ui.r70 #btnSpin.inBonus .ic { display: none; }
/* SPIN is the machine's own push button, painted like the machine (assets/img/r121/spin_base.webp, the word SPIN in the
   logo's lettering on its face). It is pushed in like a real button: while held it sinks onto its shadow, and a tap
   gives one short press and spring back. No spinning arrow. In the bonus its face shows the respins left */
#ui.r70 #btnSpin:not(#btnBuy) { border: 0; border-radius: 50%; box-shadow: none; color: #fff8e8;
  background: url(assets/img/r121/spin_word.webp?v=232) center 50% / 66% auto no-repeat, url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 7px 0 #2a1710) drop-shadow(0 12px 14px #0007); transition: transform .12s ease-out, filter .12s ease-out; }
#ui.r70 #btnSpin:not(#btnBuy) .ic { display: none; }
#ui.r70 #btnSpin.inBonus:not(#btnBuy) { background: url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat; }
#ui.r70 #btnSpin.down { transform: translateY(6px) scale(.97); filter: drop-shadow(0 1px 0 #2a1710) drop-shadow(0 4px 6px #0006) brightness(.94); }
#ui.r70 #btnSpin.burst { animation: spinPress .26s ease-out; }
@keyframes spinPress { 0% { transform: translateY(6px) scale(.97); } 60% { transform: translateY(-2px) scale(1.01); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { #ui.r70 #btnSpin.burst { animation: none; } }
#ui.r70 #btnSpin #spinCount { color: #fff8e8; -webkit-text-stroke: 14px #2a1710; paint-order: stroke fill; }
/* no build number on the screen */
#build { display: none !important; }
/* the autoplay count on AUTO: a small orange chip with the machine's dark outline, cream digits (no painted green plate) */
#ui.r70 #autoLeft { background: #e78a27; border: 4px solid #2a1710; box-shadow: inset 0 0 0 3px #ffd27a, 0 3px 0 #2a1710;
  color: #fff8e8; -webkit-text-stroke: 5px #2a1710; paint-order: stroke fill; font-family: Fredoka, sans-serif;
  right: -18%; top: -16%; height: 46%; min-width: 54%; z-index: 2; }
/* the last pieces of the old green look, in the machine's palette: the TURBO offer banner, Stake's replay bar, block
   screen, session line and the rules' group pictures */
body.r70 #offer { border: 6px solid #2a1710; border-radius: 22px; background: #4a2c1c;
  box-shadow: inset 0 0 0 5px #e78a27, inset 0 0 0 8px #2a1710, 0 8px 20px #0009; }
body.r70 #offer b { color: #ffc53d; -webkit-text-stroke: 4px #2a1710; paint-order: stroke fill; font-family: Fredoka, sans-serif; }
body.r70 #offer span { color: #fff0d2; -webkit-text-stroke: 3px #2a1710; paint-order: stroke fill; }
body.r70 #offer button { border: 4px solid #2a1710; border-radius: 999px; -webkit-text-stroke: 0; }
body.r70 #offerYes { background: #e78a27; color: #fff8e8; box-shadow: inset 0 0 0 3px #ffd27a; }
body.r70 #offerNo { background: #3a2215; color: #fff0d2; box-shadow: inset 0 0 0 3px #e78a27; }
body.r70 #offer .bar { background: #ffc53d; }
body.r70 #stkBar { color: #fff0d2; -webkit-text-stroke: 8px #2a1710; }
body.r70 #stkBar .tag, body.r70 #stkBar .win { color: #ffc53d; -webkit-text-stroke: 8px #2a1710; }
body.r70 #stkBlock { background: rgba(26, 12, 6, .82); }
body.r70 #stkInfo { background: rgba(42, 23, 16, .78); -webkit-text-stroke: 2px #2a1710; }
body.r70 .stkGroups .g { background: #3a2215; border-color: #e78a27; }
body.r70 .stkGroups figcaption { color: #fff0d2; -webkit-text-stroke: 2px #2a1710; }
body.r70 .plate span { -webkit-text-stroke-color: #2a1710; }
/* the bonus meter: eight sockets set into the plate. An empty one is a dark recess with a faint orange ring (no grey
   ghost of a fruit); a lit one holds its golden citrus on a warm light, pops in once without leaving the plate, and the
   lit ones shimmer while one more starts the bonus. A full meter glows round the plate instead of jumping */
#ui.r70 #meter .mcs img { box-sizing: border-box; aspect-ratio: 1; padding: 7%; border-radius: 50%; object-fit: contain; opacity: 1;
  filter: none; background: radial-gradient(circle at 50% 42%, #2a1710 52%, #3a2215 72%); box-shadow: inset 0 3px 0 #0007, 0 0 0 3px #e78a2759;
  transition: background .2s, box-shadow .2s; }
#ui.r70 #meter .mcs img:not(.lit) { object-position: -900px 0; }
#ui.r70 #meter .mcs img.lit { background: radial-gradient(circle at 50% 45%, #fff1c2 0%, #ffc53d 42%, #e78a27 64%, #3a2215 74%);
  box-shadow: 0 0 0 3px #ffc53d, 0 0 0 5px #2a1710; filter: none; }
#ui.r70 #meter .mcs img.pop { animation: msock .42s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes msock { 0% { transform: scale(.45); } 60% { transform: scale(1.12); } 100% { transform: none; } }
#ui.r70 #meter.near .mcs { animation: none; }
/* one away from the bonus: the lit sockets beat and the next one pulses its gold ring. Both beat by scale and opacity
   only (the compositor's work); a breathing filter or shadow repainted the meter on every frame */
#ui.r70 #meter.near .mcs img.lit { will-change: transform; }
#ui.r70:not(.rest) #meter.near .mcs img.lit { animation: mshine .9s ease-in-out infinite; }
/* at rest each beat is started by ui/motion.js (calm loops) */
#ui.r70.rest #meter.near .mcs img.lit.nb { animation: mshine .9s ease-in-out; }
@keyframes mshine { 50% { transform: scale(1.08); } }
#ui.r70 #meter.near .mcs img:nth-child(6):not(.lit) { box-shadow: inset 0 3px 0 #0007, 0 0 0 4px #ffc53d, 0 0 14px 4px #ffc53d99;
  will-change: opacity; }
#ui.r70:not(.rest) #meter.near .mcs img:nth-child(6):not(.lit) { animation: mnext .9s ease-in-out infinite; }
#ui.r70.rest #meter.near .mcs img:nth-child(6):not(.lit).nb { animation: mnext .9s ease-in-out; }
@keyframes mnext { 50% { opacity: .55; } }
#ui.r70 #meter.full { animation: mglow .5s ease-in-out 4; }
@keyframes mglow { 50% { box-shadow: inset 0 0 0 5px #e78a27, 0 0 0 5px #ffc53d, 0 0 26px 10px #ffc53dcc; } }
@media (prefers-reduced-motion: reduce) { #ui.r70 #meter .mcs img, #ui.r70 #meter { animation: none !important; } }
/* SPIN waits with a slow warm glow round it (only between rounds; it stops while a round or autoplay runs). The glow is
   a soft disc of light behind the capsule's middle whose opacity breathes: opacity is the compositor's own work, while
   a breathing filter on SPIN itself repainted the button on every frame. SPIN's size never changes: a button that grows
   and shrinks is never still under a pointer */
#ui.r70.sdkbar #sdkstep::after { content: ''; position: absolute; left: 50%; top: 50%; height: 218%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0; will-change: opacity;
  background: radial-gradient(circle, rgba(255, 197, 61, .85) 0 32%, rgba(255, 197, 61, .35) 48%, rgba(255, 197, 61, 0) 68%); }
#ui.r70.sdkbar:has(#btnSpin.idle:not(.down):not(.burst)) #sdkstep.glow::after { animation: spinGlow 2.4s ease-in-out; }
@keyframes spinGlow { 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { #ui.r70.sdkbar #sdkstep::after { animation: none !important; } }
/* the respins count on SPIN: an outline drawn by shadows (a text stroke traced the font's inner overlaps: a bar showed
   inside the 3) */
#ui.r70 #btnSpin #spinCount { font-family: Fredoka, sans-serif; color: #fff8e8; -webkit-text-stroke: 0;
  text-shadow: 0 6px 0 #e8761b, 5px 0 0 #2a1710, -5px 0 0 #2a1710, 0 5px 0 #2a1710, 0 -5px 0 #2a1710, 4px 4px 0 #2a1710,
    -4px 4px 0 #2a1710, 4px -4px 0 #2a1710, -4px -4px 0 #2a1710, 0 10px 0 #2a1710; }
/* PLAY appears by fading in only: grown from a smaller scale, a phone's browser kept the word rasterised at that scale
   and it stayed soft */
#splash #play, #splash #play.ready { transform: none; transition: opacity .35s; }
/* the respins left on SPIN and the word on PLAY are pictures drawn in the painted SPIN word's style (art-src glyphs:
   Fredoka Bold, an even outline, nothing inside a letter); the text stays in the page for screen readers, invisible */
#ui.r70 #btnSpin #spinCount[data-n] { color: transparent; text-shadow: none; -webkit-text-stroke: 0; left: 18%; right: 18%; top: 17%; bottom: 17%;
  transform: none; background: center / contain no-repeat; }
#ui.r70 #btnSpin #spinCount[data-n="0"] { background-image: url(assets/img/r121/digit_0.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="1"] { background-image: url(assets/img/r121/digit_1.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="2"] { background-image: url(assets/img/r121/digit_2.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="3"] { background-image: url(assets/img/r121/digit_3.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="4"] { background-image: url(assets/img/r121/digit_4.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="5"] { background-image: url(assets/img/r121/digit_5.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="6"] { background-image: url(assets/img/r121/digit_6.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="7"] { background-image: url(assets/img/r121/digit_7.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="8"] { background-image: url(assets/img/r121/digit_8.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="9"] { background-image: url(assets/img/r121/digit_9.webp?v=232); }
#splash #play > b { color: transparent !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; position: absolute; inset: 0;
  transform: none; background: url(assets/img/r121/play_word.webp?v=232) center / 64% auto no-repeat; }

/* landscape from a laptop up (a phone on its side keeps its two columns): one column on the centre line, sized by the
   height and capped at the full size, in reading order: the logo, the three features, the max win, PLAY. Two columns
   put PLAY in a corner, and the full-size column ran off the top and the bottom of a 724 px frame. */
@media (orientation: landscape) and (min-height: 431px) {
  #splash { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh;
    padding: 2.5vh 24px; grid-template-columns: none; grid-template-rows: none; grid-template-areas: none; }
  #splash > * { grid-area: auto; }
  #splashLogo { width: auto; height: min(21vh, 205px); max-width: 90vw; }
  .feats { width: min(84vh, 540px, 92vw); gap: 1.6vh; }
  .maxwin { width: min(36vh, 400px, 70vw); }
  .go { width: min(16vh, 170px); }
  #splashMsg { position: absolute; bottom: 1vh; left: 0; right: 0; }
}
/* ===== the painted panel frame: the machine's orange rim with its screws, two tufts of leaves and a lacquered wood face
   (the game's own painted art), as a border-image. Its slices hold the corners with the leaves; the rim's outer edge
   sits a few px inside the box, so the content keeps its old distance from it ===== */
body.r70 #panel.panel, body.r70 .panel.introPanel {
  border-style: solid; border-color: transparent; border-width: 28px 30px 16px 30px; border-radius: 0;
  border-image: url(assets/img/r121/panel_frame.webp?v=232) 140 150 80 150 fill / 28px 30px 16px 30px stretch;
  background: none; box-shadow: none; padding: 16px 5px 12px; }
body.r70 #panel.panel #panelX { right: -8px; top: -2px; }
/* a card's title (SUPER SQUEEZE on the buy confirmation) keeps clear of the ✕ in the corner: room for it on both sides, so
   it stays centred and wraps before it runs under the ✕ */
body.r70 #panel.panel.notice h2 { padding-inline: 50px; box-sizing: border-box; text-wrap: balance; }
@media (orientation: landscape) and (max-height: 500px) {
  body.r70 #panel.panel, body.r70 .panel.introPanel { border-width: 22px 24px 13px 24px; border-image-width: 22px 24px 13px 24px;
    padding: 6px 4px 4px; }
}
/* the buy cards: the name on the card's dark face at the top, where it always reads (two lines' room on both cards, so
   the two pictures match); under it the card's picture in a framed window, one calm scene of the game's own sprites
   (tools/fs_buy_cards.py: SQUEEZE one glass between two golden citrus, SUPER three glasses in a brighter glow); the
   terms and the price under it */
body.r70 .offer[data-tier] { background: var(--face2); }
body.r70 .offer .ocit { display: none; }
body.r70 .offer .oin { grid-template-rows: 21cqw 1fr auto auto; row-gap: 2.4cqw; padding: 7cqw 6cqw 7cqw; }
body.r70 .offer b { grid-row: 1; font-size: 11cqw; line-height: .95; }
body.r70 .offer .opic { grid-row: 2; align-self: stretch; justify-self: stretch; min-height: 0; box-sizing: border-box;
  border: 1.1cqw solid var(--ink); border-radius: 8cqw; box-shadow: 0 0 0 1cqw var(--rim);
  background: 50% 58% / contain no-repeat var(--face2); }
body.r70 .offer[data-tier="squeeze"] .opic { background-image: url(assets/img/r126/card_squeeze3.webp?v=232); }
body.r70 .offer[data-tier="super"] .opic { background-image: url(assets/img/r126/card_super3.webp?v=232); }
body.r70 .offer .terms { grid-row: 3; }
body.r70 .offer em { grid-row: 4; }
body.r70 .offer i { font-size: max(14px, 9cqw); white-space: normal; }
/* a phone held upright: the buy panel takes the screen's width with a thinner frame, so each card is wide enough for its
   terms at 14 CSS px or more (they wrap rather than shrink on the narrowest phones) */
@media (orientation: portrait) and (max-width: 480px) {
  body.r70 .panel.buy { width: calc(100vw - 8px); border-width: 22px; border-image-width: 22px; padding-left: 2px; padding-right: 2px; }
}
body.r70 .offer em span { height: 16cqw; font-size: 11cqw; }
body.r70 .offer .why { top: 90cqw; height: 19cqw; }
body.r70 .offer.poor::before { background: var(--face2); border-radius: 22px; filter: none; }
body.r70 .offer.poor .opic { filter: grayscale(.6) brightness(.62); }
/* the bar's WIN takes each squeeze's pay as it flies in (render/fx.js, flow/wager.js): one small pop */
#ui.r70 .field > #winVal.catch { animation: winCatch .32s ease-out; }
@keyframes winCatch { 40% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { #ui.r70 .field > #winVal.catch { animation: none; } }
/* ===== the bet bar as the platform's SDK lays it out (layout.js sdkPlaces): each amount is its label over its value,
   standing free over the scenery (no bar, no pods); the buttons are the machine's round buttons ===== */
#ui.r70.sdkbar #bar, #ui.r70.sdkbar .pod { display: none; }
#ui.r70.sdkbar .field { height: auto; padding: 0; background: none; border: 0; box-shadow: none; gap: calc(4px * var(--fieldK, 1));
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
#ui.r70.sdkbar .field > img { display: none; }
#ui.r70.sdkbar .field .flab { font-size: max(var(--floor, 0px), calc(36px * var(--fieldK, 1))); letter-spacing: .1em; color: var(--lab);
  -webkit-text-stroke: calc(7px * var(--fieldK, 1)) var(--ink); paint-order: stroke fill; }
#ui.r70.sdkbar .field > span { font-size: max(calc(var(--floor, 0px) * 1.5), calc(56px * var(--fieldK, 1))); color: var(--cream); width: 100%; text-align: center;
  -webkit-text-stroke: calc(9px * var(--fieldK, 1)) var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
#ui.r70.sdkbar #win > span { color: #ffd04a; }
#ui.r70.sdkbar[data-layout="land"] .field .flab { font-size: max(var(--floor, 0px), calc(30px * var(--fieldK, 1))); }
#ui.r70.sdkbar[data-layout="land"] .field > span { font-size: max(calc(var(--floor, 0px) * 1.4), calc(46px * var(--fieldK, 1))); }
/* − and + are round machine buttons like the rest of the row */
#ui.r70.sdkbar #btnMinus:not(#btnBuy), #ui.r70.sdkbar #btnPlus:not(#btnBuy) { background: none; }
/* ===== the SDK bar as one block: a dark rounded panel behind the controls, and a dark pill behind each read-out, so
   the controls read as a grouped bar (not buttons scattered on the scene), as on the platform's top games ===== */
#ui.r70.sdkbar #sdkpanel { position: absolute; z-index: 0; border-radius: 40px 40px 0 0;
  background: linear-gradient(180deg, rgba(26,14,6,.46), rgba(18,10,5,.74) 46%, rgba(12,7,3,.82));
  box-shadow: inset 0 3px 0 rgba(255,214,150,.18), 0 -4px 22px rgba(0,0,0,.35); pointer-events: none; }
#ui.r70.sdkbar #hud, #ui.r70.sdkbar .btn, #ui.r70.sdkbar .field { position: absolute; z-index: 1; }
#ui.r70.sdkbar .field { background: rgba(8,5,3,.5); border: 2px solid rgba(255,214,150,.16); border-radius: 18px;
  padding: calc(5px * var(--fieldK, 1)) calc(10px * var(--fieldK, 1)); justify-content: center; }
#ui.r70.sdkbar .field .flab { font-size: max(var(--floor, 0px), calc(30px * var(--fieldK, 1))); opacity: .85; }
#ui.r70.sdkbar .field > span { font-size: max(calc(var(--floor, 0px) * 1.4), calc(46px * var(--fieldK, 1))); }
/* the stepper capsule SPIN sits on (layout.js p.stepper): the machine's own button face, its rim in the machine's orange;
   − and + are glyphs on its two ends, with no coin of their own, so the bet stepper reads as part of SPIN */
#ui.r70.sdkbar #sdkstep { position: absolute; z-index: 1; box-sizing: border-box; border-radius: 999px; pointer-events: none;
  background: var(--face); border: 4px solid var(--ink);
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink), 0 4px 10px #0006; }
/* − and + are round keys sunk into the capsule's ends: a darker well lit from above, the glyph in the machine's cream
   with its ink outline; a press sinks the key */
#ui.r70.sdkbar #btnMinus.disc::before, #ui.r70.sdkbar #btnPlus.disc::before { width: var(--disc); height: var(--disc);
  border: 0; background: radial-gradient(circle at 50% 36%, #74472c, #43271a 60%, #2b170d);
  box-shadow: 0 0 0 4px var(--ink), inset 0 4px 0 rgba(255,226,182,.18), inset 0 -5px 8px rgba(0,0,0,.5);
  transition: transform .1s ease-out; }
#ui.r70.sdkbar #btnMinus .ic, #ui.r70.sdkbar #btnPlus .ic { width: calc(var(--disc) * .62); height: calc(var(--disc) * .62);
  stroke-width: 3.8; color: var(--cream); transition: transform .1s ease-out;
  filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink)); }
#ui.r70.sdkbar #btnMinus.down::before, #ui.r70.sdkbar #btnPlus.down::before { transform: translate(-50%, -50%) scale(.92); }
#ui.r70.sdkbar #btnMinus.down .ic, #ui.r70.sdkbar #btnPlus.down .ic { transform: scale(.88); }
/* a phone on its side: the panel is a rounded block behind the right-hand cluster only */
#ui.r70.sdkbar[data-layout="land"]:not(.roomy) #sdkpanel { border-radius: 40px; }

/* a short phone: the controls stand over the machine's base and the hint line sits up on the tray under the taps, where
   there is no painted panel behind it: it gets a lacquered plate of its own, its words in cream */
#ui.r70.overbase[data-layout="port"] #status, #ui.r70.overbase[data-layout="port"] #status.two { background: #2a1710e8;
  border: 4px solid var(--rim); border-radius: 40px; box-sizing: border-box; box-shadow: 0 4px 10px #0007; }
#ui.r70.overbase[data-layout="port"] #statusVal b, #ui.r70.overbase[data-layout="port"] #statusVal i { color: #fff1d6; text-shadow: none; }

/* Nothing ever looks blocked: a control that cannot act right now (BONUS during the respins, a buy the balance does not
   cover) looks exactly as it always does, and a tap on it is simply refused (its handler answers with the refusal sound
   and, on a card, the reason it gives). */
#ui .btn.off, #ui.r70 .btn.off { filter: none; cursor: pointer; }
.offer.poor::before, .offer.poor .ocit, .offer.poor b, .offer.poor em, body.r70 .offer.poor .opic { filter: none; }

/* ===== the pod bar (layout.js POD; ?bar=cap shows the capsule bar): the bet is one block − BET +, the capsule's
   machine-button face its frame, its amount between its keys; BALANCE and WIN are the same machine-button face (the
   flat dark boxes with a thin line read as stock UI), each read-out in the machine's own make ===== */
#ui.r70.sdkbar.pod .field { height: var(--fieldH, auto); box-sizing: border-box; padding-top: 0; padding-bottom: 0;
  justify-content: center; background: var(--face); border: 4px solid var(--ink); border-radius: 26px;
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 7px var(--ink), inset 0 10px 14px rgba(255,214,150,.08), 0 4px 10px #0006; }
#ui.r70.sdkbar.pod #bet { background: none; border-color: transparent; box-shadow: none; }
#ui.r70.sdkbar.pod #sdkstep { border-radius: 26px; }

/* SPIN's waiting glow in the pod bar: the same breathing disc of light, under SPIN (layout.js #spinglow); the bet's
   block, which is the capsule's element now, has none */
#ui.r70.sdkbar.pod #sdkstep::after { content: none; }
#ui.r70.sdkbar #spinglow { position: absolute; z-index: 0; pointer-events: none; }
#ui.r70.sdkbar #spinglow::after { content: ''; position: absolute; left: 50%; top: 50%; height: 135%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; opacity: 0; will-change: opacity;
  background: radial-gradient(circle, rgba(255, 197, 61, .85) 0 32%, rgba(255, 197, 61, .35) 48%, rgba(255, 197, 61, 0) 68%); }
#ui.r70.sdkbar:has(#btnSpin.idle:not(.down):not(.burst)) #spinglow.glow::after { animation: spinGlow 2.4s ease-in-out; }
@media (prefers-reduced-motion: reduce) { #ui.r70.sdkbar #spinglow::after { animation: none !important; } }

/* the loader's WIN UP TO plate grows with its words: its rims are fixed px, so a plate drawn small (a short landscape
   window: 163 px wide) kept only a sliver inside them and the amount ran over the rim */
#splash .maxwin { aspect-ratio: auto; padding-block: 14px; }

/* ===== the painted scene's life (render/scene.js): a layer between the canvas and the controls, never in the way of a
   tap; every part is placed in CSS px and moved by the compositor (transform and opacity only). The glints, the birds
   and the fireflies are drawn flat, in the plate's own colours: a cream glint (a cool one at night), the dark slate of
   the painted far palms for a bird, a small warm light for a firefly ===== */
#scene { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; contain: strict; }
#scene .sc, #scene .sc-band, #scene .sc-sky { position: absolute; left: 0; top: 0; pointer-events: none; }
#scene .sc { will-change: transform, opacity; }
#scene .sc-band { overflow: hidden; }
#scene .sc-sky { width: 100%; height: 100%; }
#scene .sc-glint { opacity: 0; background: no-repeat center / 100% 100%
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C8.9 5.1 10.9 7.1 16 8C10.9 8.9 8.9 10.9 8 16C7.1 10.9 5.1 8.9 0 8C5.1 7.1 7.1 5.1 8 0Z' fill='%23fff4cf'/%3E%3C/svg%3E"); }
#scene .sc-glint.night { background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C8.9 5.1 10.9 7.1 16 8C10.9 8.9 8.9 10.9 8 16C7.1 10.9 5.1 8.9 0 8C5.1 7.1 7.1 5.1 8 0Z' fill='%23f1f0ff'/%3E%3C/svg%3E"); }
#scene .sc-wing { position: absolute; inset: 0; will-change: transform; background: no-repeat center / 100% 100%
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M20 11.5C17 6.5 11.5 2.5 1.5 3.5C9 5 14 8 18 12.5C19 13.5 21 13.5 22 12.5C26 8 31 5 38.5 3.5C28.5 2.5 23 6.5 20 11.5Z' fill='%233b3f52'/%3E%3C/svg%3E"); }
#scene .sc-dot { position: absolute; inset: 0; opacity: 0; will-change: opacity; background: no-repeat center / 100% 100%
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5.5' fill='%23ffe46a' fill-opacity='.32'/%3E%3Ccircle cx='6' cy='6' r='2.7' fill='%23fffbd6'/%3E%3C/svg%3E"); }
/* the glow round a lamp (warm), round the sun (gold) and round the moon (cool); the sun's beams into the bar; a mote of
   dust or pollen in the warm light (a pale speck, a cool one at night) */
#scene .sc-halo { border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 200, 110, .8), rgba(255, 170, 70, .34) 42%, rgba(255, 150, 60, 0) 100%); }
#scene .sc-halo.sun { background: radial-gradient(closest-side, rgba(255, 228, 160, .7), rgba(255, 186, 104, .3) 48%, rgba(255, 160, 90, 0) 100%); }
#scene .sc-halo.night { background: radial-gradient(closest-side, rgba(255, 200, 120, .5), rgba(255, 170, 80, .18) 45%, rgba(255, 150, 60, 0) 100%); }
#scene .sc-halo.sun.night { background: radial-gradient(closest-side, rgba(210, 226, 255, .42), rgba(170, 196, 255, .14) 50%, rgba(160, 190, 255, 0) 100%); }
#scene .sc-ray { opacity: 0;
  background: linear-gradient(90deg, rgba(255, 220, 160, 0) 0%, rgba(255, 224, 168, .55) 10%, rgba(255, 210, 146, .3) 55%, rgba(255, 200, 130, 0) 100%);
  -webkit-mask: linear-gradient(0deg, transparent, #000 50%, transparent); mask: linear-gradient(0deg, transparent, #000 50%, transparent); }
#scene .sc-mote .sc-dot { opacity: 1; will-change: auto; background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5.5' fill='%23ffe9b8' fill-opacity='.28'/%3E%3Ccircle cx='6' cy='6' r='2.2' fill='%23fff8e6'/%3E%3C/svg%3E"); }
#scene .sc-mote.night .sc-dot { background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5.5' fill='%23dfe6ff' fill-opacity='.24'/%3E%3Ccircle cx='6' cy='6' r='2' fill='%23f4f6ff'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { #scene { display: none; } }

/* the bar's living loop under the canvas (render/backdrop.js); the plate leaves a hole for it */
#backdrop { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; }
#backdrop .bdLoop { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; }
#backdrop .bdLoop.on { opacity: 1; }
#bdEdge { position: absolute; left: 0; top: 0; pointer-events: none; }
/* ---- the studio's splash (ui/studio.js): the Oddcoin wordmark and coin, Spine rig or the CSS version, over the
   loading screen; the box is made by the code ---- */
#studio{position:fixed;inset:0;z-index:95;display:grid;place-items:center;cursor:pointer;
  background:radial-gradient(ellipse at 50% 45%,#232c3d 0%,#141a25 55%,#0b0e14 100%)}
#studio .logo{position:relative;width:min(78vw,560px);aspect-ratio:1200/746}
#studio .logo > *{position:absolute;inset:0;width:100%;height:100%}
#studio .word,#studio .coin{display:block;object-fit:contain;transform-origin:50% 100%;opacity:0}
#studio .coinwin{-webkit-mask:url("assets/img/oddcoin_window.webp?v=232") center/100% 100% no-repeat;
  mask:url("assets/img/oddcoin_window.webp?v=232") center/100% 100% no-repeat}
#studio .coinwin .coin{position:absolute;inset:0;width:100%;height:100%}
#studio .spark{pointer-events:none;position:absolute;inset:auto;width:9%;height:auto;aspect-ratio:1;margin:-4.5% 0 0 -4.5%;opacity:0;
  background:center/contain no-repeat}
#studio canvas.spineSplash{position:absolute;inset:0;width:100%;height:100%}
/* the studio splash's two pictures are asked for as soon as this sheet is in, before the game's code has run (its box is
   made by ui/studio.js): a hidden pixel of the loading screen names them, so the wordmark is in when its splash opens */
#splash::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none;
  background: url("assets/img/oddcoin_word.webp?v=232") 0 0 / 1px 1px no-repeat, url("assets/img/oddcoin_coin.webp?v=232") 0 0 / 1px 1px no-repeat; }
#studio.spine .logo{display:none}
/* the loading screen's logo rig (ui/logospine.js): a canvas over the logo picture, never taking a tap */
#splash canvas.logoSpine{position:absolute;pointer-events:none;z-index:2}
/* ---- the loading screen comes alive after the studio's splash (ui/splashlive.js) ---- */
#splash.wait .feat, #splash.wait .maxwin { visibility: hidden; animation: none; }
#splash .spLoop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0;
  transition: opacity .8s ease; pointer-events: none; }
#splash.looping .spLoop { opacity: 1; }
#splash .spLoop { filter: brightness(.74) saturate(1.04); }
#splash.logowait #splashLogo { visibility: hidden; }
#splash.enter .feat { animation: featPop .6s cubic-bezier(.2,.9,.3,1.25) both; }
#splash.enter .feat:nth-child(1) { animation-delay: .62s; }
#splash.enter .feat:nth-child(2) { animation-delay: .76s; }
#splash.enter .feat:nth-child(3) { animation-delay: .9s; }
@keyframes featPop { 0% { transform: translateY(46px) scale(.55) rotate(-7deg); opacity: 0; }
  55% { transform: translateY(-8px) scale(1.07) rotate(1.5deg); opacity: 1; }
  78% { transform: translateY(2px) scale(.98) rotate(-.5deg); } 100% { transform: none; opacity: 1; } }
/* each card's beat once every 2.8 s, 1.7 s / 2.6 s / 3.5 s after the entrance (started by ui/motion.js, calm loops) */
#splash.enter .feat .fic.beat { animation: ficBeatA .84s ease-in-out; }
@keyframes ficBeat { 0%, 30%, 100% { transform: none; } 8% { transform: scale(1.1, .9); } 16% { transform: scale(.95, 1.07); }
  24% { transform: scale(1.02, .99); } }
/* the beat alone: ficBeat's 0-30 % stretched over the whole animation */
@keyframes ficBeatA { 0%, 100% { transform: none; } 26.667% { transform: scale(1.1, .9); } 53.333% { transform: scale(.95, 1.07); }
  80% { transform: scale(1.02, .99); } }
#splash.enter .maxwin { animation: plaqueSlam .5s cubic-bezier(.2,.9,.3,1.2) 1.1s both; }
@keyframes plaqueSlam { 0% { transform: scale(1.7); opacity: 0; } 55% { transform: scale(.94); opacity: 1; }
  80% { transform: scale(1.03); } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #splash .spLoop { display: none; } }

/* ===== screens and transitions in the top games' manner: the bonus intro's act, the respin counters, the panels' opening
   and the chosen buy, the wave's spray, and the waiting screen's calm life (flow/bonus.js, ui/wave.js, ui/hud.js,
   ui/panels.js). Transforms and opacity only (the individual translate / scale / rotate properties, so the layout's own
   transforms stay as they are); every loop stops under reduced motion and none of it paints the canvas ===== */
/* the juice and slices thrown off the wave's crest */
.waveSpray { position: fixed; inset: 0; z-index: 51; pointer-events: none; overflow: hidden; }
.waveSpray img { position: absolute; display: block; will-change: transform, opacity; }

/* the bonus intro: under the wave the card waits unseen; as the juice falls away the act plays first (a splash, the
   merged piece drops onto the card's edge and squashes, two golden citrus hop in), then the card springs up, its title
   stamps in, the rules follow one by one, and CONTINUE pops up and breathes */
.introHero { position: fixed; z-index: 46; pointer-events: none; display: none; }
#intro.on .introHero:not(.none) { display: block; }
.introHero img { position: absolute; display: block; opacity: 0; }
.introHero .hsplash { left: 14%; width: 72%; bottom: -4%; transform-origin: 50% 90%; }
.introHero .hpiece { bottom: 8%; left: 50%; height: 92%; translate: -50% 0; transform-origin: 50% 100%; }
.introHero.orb .hpiece { height: 64%; bottom: 14%; }
.introHero .hg2 { left: 31%; height: 74%; } .introHero .hg3 { left: 69%; height: 74%; }
.introHero.orb .hg2, .introHero.orb .hg3 { height: 50%; }
.introHero .hcit { height: 40%; bottom: 0; transform-origin: 50% 100%; }
.introHero .hc1 { left: 2%; } .introHero .hc2 { right: 2%; }
#intro.on:not(.enter) .introPanel { opacity: 0; }
#intro.enter .introHero .hsplash { animation: hSplash .5s cubic-bezier(.2,.9,.3,1.3) .02s both, hSway 3.2s ease-in-out .6s infinite; }
#intro.enter .introHero .hpiece { animation: hDrop .62s cubic-bezier(.3,.7,.4,1) .1s both, hBob 2.6s ease-in-out .9s infinite; }
#intro.enter .introHero .hg2 { animation-delay: .2s, 1.1s; } #intro.enter .introHero .hg3 { animation-delay: .26s, 1.3s; }
#intro.enter .introHero .hc1 { animation: hHopL .55s cubic-bezier(.3,.8,.4,1.2) .3s both, hHop 1.9s ease-in-out 1s infinite; }
#intro.enter .introHero .hc2 { animation: hHopR .55s cubic-bezier(.3,.8,.4,1.2) .38s both, hHop 1.9s ease-in-out 1.5s infinite; }
@keyframes hSplash { 0% { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes hSway { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 1; transform: scale(1.05) rotate(2deg); } }
@keyframes hDrop { 0% { opacity: 0; transform: translateY(-110%) scale(.9, 1.12); } 55% { opacity: 1; transform: translateY(0) scale(1.2, .78); }
  75% { opacity: 1; transform: translateY(-7%) scale(.94, 1.07); } 100% { opacity: 1; transform: none; } }
@keyframes hBob { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 1; transform: translateY(-5%) rotate(-2deg); } }
@keyframes hHopL { 0% { opacity: 0; transform: translate(-70%, 30%) rotate(-40deg) scale(.6); } 60% { opacity: 1; transform: translate(0, -30%) rotate(8deg) scale(1.08); }
  100% { opacity: 1; transform: none; } }
@keyframes hHopR { 0% { opacity: 0; transform: translate(70%, 30%) rotate(40deg) scale(.6); } 60% { opacity: 1; transform: translate(0, -30%) rotate(-8deg) scale(1.08); }
  100% { opacity: 1; transform: none; } }
@keyframes hHop { 0%, 60%, 100% { opacity: 1; transform: none; } 70% { opacity: 1; transform: scale(1.08, .9); } 82% { opacity: 1; transform: translateY(-16%) scale(.96, 1.05); } }
#intro.enter .introPanel { animation: introSpring .5s cubic-bezier(.2,.9,.3,1.25) .04s both; }
@keyframes introSpring { 0% { opacity: 0; translate: 0 70px; scale: .55; } 60% { opacity: 1; translate: 0 -6px; scale: 1.03; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
#intro.enter #introTitle { animation: titleStamp .4s cubic-bezier(.3,.8,.4,1.2) .08s both; }
@keyframes titleStamp { 0% { opacity: 0; scale: 2.2; } 60% { opacity: 1; scale: .93; } 100% { opacity: 1; scale: 1; } }
#intro.enter .rule { animation: ruleIn .34s cubic-bezier(.2,.8,.3,1.15) both; }
#intro.enter .rule:nth-child(1) { animation-delay: .12s; } #intro.enter .rule:nth-child(2) { animation-delay: .17s; }
#intro.enter .rule:nth-child(3) { animation-delay: .22s; } #intro.enter .rule:nth-child(4) { animation-delay: .27s; }
#intro.enter .rule:nth-child(5) { animation-delay: .32s; }
@keyframes ruleIn { 0% { opacity: 0; translate: -36px 0; } 100% { opacity: 1; translate: 0 0; } }
#intro.enter #introGo { animation: goPop .42s cubic-bezier(.2,.9,.3,1.4) .5s both, goBreath 1.7s ease-in-out 1s infinite; }
@keyframes goPop { 0% { opacity: 0; scale: .3; } 65% { opacity: 1; scale: 1.1; } 100% { opacity: 1; scale: 1; } }
@keyframes goBreath { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
.introRows img.tall.orb { height: auto; aspect-ratio: 1; }

/* the respin counters punch: the number on SPIN drops in, a spent lamp flashes and sinks into its socket, a catch relights
   the lamps one after another and jolts their plate, the machine's total jumps as it grows */
#ui.r70 #btnSpin #spinCount.tick { animation: countTick .42s cubic-bezier(.2,.9,.3,1.3); }
@keyframes countTick { 0% { scale: 1.8; opacity: .2; } 55% { scale: .9; opacity: 1; } 100% { scale: 1; } }
#ui.r70 .lamp.spent { animation: lampSpent .5s ease-out; }
@keyframes lampSpent { 0% { scale: 1.3; } 35% { scale: .7; } 100% { scale: 1; } }
#ui.r70 .lamp.relit { animation: lampRelit .45s cubic-bezier(.2,.9,.3,1.4) calc(var(--i, 0) * 90ms) both; }
@keyframes lampRelit { 0% { scale: .3; } 60% { scale: 1.32; } 100% { scale: 1; } }
#ui.r70 #respins.jolt { animation: plateJolt .42s ease-out; }
@keyframes plateJolt { 30% { translate: 0 -6px; scale: 1.04; } 65% { translate: 0 2px; scale: .99; } }
#statusVal.punch { animation: statusPunch .36s ease-out; }
@keyframes statusPunch { 35% { scale: 1.12; } }

/* every panel opens in the game's way: the frame springs up, the title stamps, the buy cards come in one after the
   other; the chosen buy punches and lights up while the rest steps back */
#panel.fresh { animation: panelUp .42s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes panelUp { 0% { opacity: 0; translate: 0 60px; scale: .6; } 60% { opacity: 1; translate: 0 -6px; scale: 1.03; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
#panel.fresh h2 { animation: titleStamp .36s cubic-bezier(.3,.8,.4,1.2) .14s both; }
#panel.fresh .offer { animation: cardIn .46s cubic-bezier(.2,.9,.3,1.3) .2s both; }
#panel.fresh .offer:nth-child(2) { animation-delay: .32s; }
@keyframes cardIn { 0% { opacity: 0; translate: 0 40px; rotate: -6deg; scale: .7; } 65% { opacity: 1; translate: 0 -6px; rotate: 1.5deg; scale: 1.03; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; } }
#panel.fresh .bbet, #panel.fresh p.small, #panel.fresh .pbtn { animation: fadeUp .3s ease-out .4s both; }
@keyframes fadeUp { 0% { opacity: 0; translate: 0 14px; } 100% { opacity: 1; translate: 0 0; } }
#panel .cpic { height: min(24vh, 190px); aspect-ratio: 680 / 456; max-width: 92%; margin: 2px auto 6px; background: center / contain no-repeat; }
#panel .cpic[data-tier="squeeze"] { background-image: url(assets/img/r126/card_squeeze3.webp?v=232); }
#panel .cpic[data-tier="super"] { background-image: url(assets/img/r126/card_super3.webp?v=232); aspect-ratio: 869 / 474; }
#panel.fresh .cpic { animation: cardIn .5s cubic-bezier(.2,.9,.3,1.3) .12s both; }
#panel .offer.chosen, #panel #buyGo.chosen { animation: chosen .38s ease-out both; }
@keyframes chosen { 0% { scale: 1; filter: none; } 30% { scale: 1.1; filter: brightness(1.5); } 100% { scale: 1.04; filter: brightness(1.18); } }
#panel.choosing .offer:not(.chosen), #panel.choosing .bbet, #panel.choosing p.small, #panel.choosing h2 { transition: opacity .25s; opacity: .35; }

/* the waiting screen's calm life (#ui.rest: no round running, no autoplay, no bonus): SPIN breathes and the WIN box glows
   softly while it shows a win (one breath per class, restarted every period by ui/motion.js). The twinkling stars, the BONUS pineapple, GRAND's amount and SPIN's press burst are in the
   build 126 block at the end of this file (ui/motion.js); no light band crosses any control */
@media (prefers-reduced-motion: no-preference) {
  #ui.r70.rest #btnSpin.idle.breath:not(.down):not(.burst) { animation: spinBreath 2.8s ease-in-out; }
  #ui.r70.rest #win.haswin > span.glow:not(.catch) { animation: winGlow 2.4s ease-in-out; }
}
@keyframes spinBreath { 0%, 100% { scale: 1; } 50% { scale: 1.03; } }
@keyframes winGlow { 0%, 100% { scale: 1; } 50% { scale: 1.045; } }
@media (prefers-reduced-motion: reduce) {
  .introHero { display: none !important; }
  #intro.on:not(.enter) .introPanel { opacity: 1; }
  #intro.enter .introPanel, #intro.enter #introTitle, #intro.enter .rule, #intro.enter #introGo, #panel.fresh, #panel.fresh *,
  #ui.r70 #btnSpin #spinCount.tick, #ui.r70 .lamp.spent, #ui.r70 .lamp.relit, #ui.r70 #respins.jolt, #statusVal.punch,
  #panel .offer.chosen, #panel #buyGo.chosen { animation: none !important; }
}

/* ===== r117 art pass 2: the painted jackpot plaques and respin lamps (assets/img/r117) =====
   A jackpot box keeps its size and its 5 px border, so its label and amount stay where they were; the border is drawn by
   a border-image instead: the tier's painted plaque (240 px tall), its round ends sliced at half its height (120 px) and
   drawn at half the box's height (106 px tall in portrait, 84 in landscape), so they stay round at any width; its top and
   bottom slices are 15 % of its height on both sides. The amount keeps clear of the gem studs at the ends: its room is
   the face between them, and fitAmount (ui/hud.js) shrinks a long amount to that room. */
#ui.r70 .jp { border-color: transparent; background: none; box-shadow: 0 4px 10px #0006;
  border-image: url(assets/img/r121/plaque_mini.webp?v=232) 36 120 fill / 15% 53px stretch; }
#ui.r70 #jp1 { border-image-source: url(assets/img/r121/plaque_minor.webp?v=232); }
#ui.r70 #jp2 { border-image-source: url(assets/img/r121/plaque_major.webp?v=232); }
#ui.r70 #jp3 { border-image-source: url(assets/img/r121/plaque_grand.webp?v=232); }
#ui.r70[data-layout="land"] .jp { border-image-width: 15% 42px; }
#ui.r70 .jp > span { max-width: calc(100% - 32px); }
/* the respin lamps: the painted lamp (a glass dome in the machine's orange bezel) unlit in its socket, lit when a respin
   is left; same 56 px box, same scale and pops as before */
#ui.r70 .lamp { border: 0; box-shadow: none; background: url(assets/img/r121/rlamp_off.webp?v=232) center / 100% 100% no-repeat !important; }
#ui.r70 .lamp.lit { box-shadow: none; background: url(assets/img/r121/rlamp_on.webp?v=232) center / 100% 100% no-repeat !important; }

/* the text floor (ui/textfloor.js) measures a panel or the bonus intro with its entry animations held off, so a box
   caught mid-spring (scaled down) never reads as small text */
.tfHold, .tfHoldAll, .tfHoldAll * { animation: none !important; }
/* the close button sits above the panel's own content: the panel title (h2, which the entry animation lifts into its
   own layer) is drawn over the button's centre at desktop sizes and took its taps */
#panel #panelX { z-index: 5; }
#panel h2 { pointer-events: none; }
/* before the game's code runs (ui/splashlive.js adds .booted), the loading screen shows neither the game's logo nor its
   bar: on a slow link they flashed ahead of the studio's splash */
#splash:not(.booted) #splashLogo, #splash:not(.booted) .go { visibility: hidden; }

/* ===== r121: the golden-hour tiki controls, screens and type (assets/img/r121, made by art-src/r121/ui) =====
   Every control is a painted object of the tiki bar: polished brass bezels and rivets round carved mahogany, enamel insets
   for the jackpot tiers; no control is drawn by CSS shapes or gradients any more. One display face everywhere (Spicy
   Rice, SIL OFL, assets/fonts/spicyrice-400.woff2, declared for every weight so no faux bold is synthesised); its words
   get a material treatment: a cream or gold fill, a dark carved-wood outline and a hard shadow under it; the static
   headings are filled with gold leaf (a lit gradient clipped to the letters, outlined by drop shadows in em). */
@font-face { font-family: 'Spicy Rice'; src: url(assets/fonts/spicyrice-400.woff2?v=232) format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --tk-font: 'Spicy Rice', Fredoka, sans-serif; --tk-ink: #1f0e04; --tk-cream: #fff1cf; --tk-gold: #ffd36a; --tk-lab: #f5c66a; }
body, button, #ui, #ui *, #panelWrap, #panelWrap *, #intro, #intro *, #splash, #splash *, #offer, #offer *, #toast,
body.r70 #stkBar, body.r70 #stkBar *, body.r70 #stkInfo, body.r70 #stkBlock { font-family: var(--tk-font) !important; }
.panel .mono { font-family: ui-monospace, Menlo, monospace !important; }
/* the rules' running text (paragraphs only; their headings, tables and amounts stay in the display face) is set in a
   plain condensed text face, so long copy reads easily at the text floor: Barlow Semi Condensed 600, SIL OFL, fetched only
   when the rules open */
@font-face { font-family: 'Barlow Semi Condensed'; src: url(assets/fonts/barlowsc-600.woff2?v=232) format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }
body.r70 #panel.menu .scroll p, body.r70 #panel.menu .scroll p *, body.r70 #panel.menu .scroll li { font-family: 'Barlow Semi Condensed', var(--tk-font) !important;
  -webkit-text-stroke-width: 1.6px; letter-spacing: .01em; line-height: 1.32; }
body.r70 #panel.menu .scroll p b { color: #ffe39a; }
/* gold leaf on the static headings: panel titles, the buy cards' names, the bonus intro's rules, the loader's cards */
body.r70 .panel h2, body.r70 .rt b, body.r70 .offer b, #splash .fin b, #splash .maxwin em, body.r70 #offer b {
  background: linear-gradient(180deg, #fff6d2 12%, #ffd877 40%, #e9a12a 62%, #c97a12 76%, #ffd36a 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-stroke: 0 !important;
  text-shadow: none !important; paint-order: normal;
  filter: drop-shadow(.055em 0 0 var(--tk-ink)) drop-shadow(-.055em 0 0 var(--tk-ink)) drop-shadow(0 .055em 0 var(--tk-ink))
    drop-shadow(0 -.055em 0 var(--tk-ink)) drop-shadow(0 .07em 0 #120701); }
body.r70 .panel h2 { letter-spacing: .02em; }

/* ---- the round controls: the painted brass-bezel buttons (one picture per state); the line icons are not shown ---- */
#ui.r70 #btnMenu { --tk-face: url(assets/img/r121/btn_menu.webp?v=232); }
#ui.r70 #btnSound { --tk-face: url(assets/img/r121/btn_sound.webp?v=232); }
#ui.r70 #btnSound.muted { --tk-face: url(assets/img/r121/btn_sound_off.webp?v=232); }
#ui.r70 #btnAuto { --tk-face: url(assets/img/r121/btn_auto.webp?v=232); }
#ui.r70 #btnTurbo { --tk-face: url(assets/img/r121/btn_turbo.webp?v=232); }
#ui.r70 #btnTurbo[data-speed="fast"] { --tk-face: url(assets/img/r121/btn_turbo_2.webp?v=232); }
#ui.r70 #btnTurbo[data-speed="quick"] { --tk-face: url(assets/img/r121/btn_turbo_3.webp?v=232); }
#ui.r70 #btnTurbo[data-speed="turbo"] { --tk-face: url(assets/img/r121/btn_turbo_4.webp?v=232); }
#ui.r70 #btnMinus { --tk-face: url(assets/img/r121/btn_minus.webp?v=232); }
#ui.r70 #btnPlus { --tk-face: url(assets/img/r121/btn_plus.webp?v=232); }
#ui.r70 .btn:not(#btnBuy):not(#btnSpin) .ic { display: none; }
#ui.r70 .btn:not(#btnBuy):not(#btnSpin):not(.disc) { border: 0; box-shadow: none; background: var(--tk-face) center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 2px #0009); }
#ui.r70 .btn.disc:not(#btnBuy)::before, #ui.r70.sdkbar #btnMinus.disc::before, #ui.r70.sdkbar #btnPlus.disc::before { border: 0;
  box-shadow: none; background: var(--tk-face) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 2px #0009); }
#ui.r70 .btn:not(#btnBuy):not(#btnSpin):not(.disc).down { transform: scale(.93); }

/* SPIN: the brass porthole with the carved gold-leaf word on its mahogany face, between its two laurels; in the bonus the
   face holds the respins left in the same gold-leaf digits */
#ui.r70 #btnSpin:not(#btnBuy) { background: url(assets/img/r121/spin_word.webp?v=232) center 50% / 58% auto no-repeat,
  url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 6px 0 #160902) drop-shadow(0 11px 12px #000a); }
#ui.r70 #btnSpin.inBonus:not(#btnBuy) { background: url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat; }
#ui.r70 #btnSpin.down { filter: drop-shadow(0 1px 0 #160902) drop-shadow(0 4px 6px #0008) brightness(.94); }
#ui.r70 #btnSpin #spinCount[data-n] { left: 27%; right: 27%; top: 28%; bottom: 30%; }
#ui.r70 #btnSpin #spinCount[data-n="0"] { background-image: url(assets/img/r121/digit_0.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="1"] { background-image: url(assets/img/r121/digit_1.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="2"] { background-image: url(assets/img/r121/digit_2.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="3"] { background-image: url(assets/img/r121/digit_3.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="4"] { background-image: url(assets/img/r121/digit_4.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="5"] { background-image: url(assets/img/r121/digit_5.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="6"] { background-image: url(assets/img/r121/digit_6.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="7"] { background-image: url(assets/img/r121/digit_7.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="8"] { background-image: url(assets/img/r121/digit_8.webp?v=232); }
#ui.r70 #btnSpin #spinCount[data-n="9"] { background-image: url(assets/img/r121/digit_9.webp?v=232); }
/* the free spins start at 10: the two painted digits set as one word (assets/img/r121/digit_10.webp, made from
   digit_1 and digit_0), in a wider box so they stand as tall as one digit */
#ui.r70 #btnSpin #spinCount[data-n="10"] { left: 21%; right: 21%; background-image: url(assets/img/r121/digit_10.webp?v=232); }
#ui.r70 #btnSpin::after { inset: 20%; }
/* the autoplay count on AUTO: a small brass value tag, the count in cream */
#ui.r70 #autoLeft { background: none; border: 0 solid transparent; box-shadow: none; border-image: url(assets/img/r121/tag_value.webp?v=232) 40 104 fill / 22% 30% stretch;
  color: var(--tk-cream); -webkit-text-stroke: 5px var(--tk-ink); paint-order: stroke fill; }

/* ---- the jackpot plaques: the brass bezel round the tier's enamel face (r121, same nine-slice as r117: round ends at half
   the box's height); the tier's name in gold, its amount in cream, both carved in dark wood ---- */
#ui.r70 .jp { border-image-source: url(assets/img/r121/plaque_mini.webp?v=232); box-shadow: none; filter: drop-shadow(0 4px 4px #0008); }
#ui.r70 #jp1 { border-image-source: url(assets/img/r121/plaque_minor.webp?v=232); }
#ui.r70 #jp2 { border-image-source: url(assets/img/r121/plaque_major.webp?v=232); }
#ui.r70 #jp3 { border-image-source: url(assets/img/r121/plaque_grand.webp?v=232); }
#ui.r70 #jp0 > b, #ui.r70 #jp1 > b, #ui.r70 #jp2 > b, #ui.r70 #jp3 > b { color: #ffe39a; -webkit-text-stroke: 6px var(--tk-ink); paint-order: stroke fill;
  text-shadow: 0 3px 0 #000a; letter-spacing: .07em; }
#ui.r70 .jp > span { color: var(--tk-cream); -webkit-text-stroke: 7px var(--tk-ink); paint-order: stroke fill; text-shadow: 0 3px 0 #000a; }

/* ---- the read-outs: BALANCE, BET and WIN each on a painted brass plate round a mahogany face (a nine-slice: its corners
   at their own proportion of the box's height); the label in gold, the amount in cream, WIN's amount in gold ---- */
#ui.r70.sdkbar #sdkpanel { background: none; box-shadow: none; }
#ui.r70.sdkbar .field, #ui.r70.sdkbar.pod .field, #ui.r70.sdkbar #sdkstep, #ui.r70.sdkbar.pod #sdkstep { background: none; box-shadow: none;
  border: 4px solid transparent; border-radius: 0;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / calc(var(--fieldH, 112px) * .2) calc(var(--fieldH, 112px) * .3) stretch; }
#ui.r70.sdkbar.pod #bet { border-image: none; }
#ui.r70.sdkbar .field .flab { color: var(--tk-lab); -webkit-text-stroke: calc(7px * var(--fieldK, 1)) var(--tk-ink); paint-order: stroke fill;
  text-shadow: 0 calc(3px * var(--fieldK, 1)) 0 #000a; opacity: 1; letter-spacing: .09em; }
#ui.r70.sdkbar .field > span { color: var(--tk-cream); -webkit-text-stroke: calc(9px * var(--fieldK, 1)) var(--tk-ink); paint-order: stroke fill;
  text-shadow: 0 calc(4px * var(--fieldK, 1)) 0 #000a; }
#ui.r70.sdkbar #win > span { color: var(--tk-gold); }

/* ---- the bonus meter and the respins plate: a brass plate; each socket is the respin lamp's dark glass, lit warm under its
   golden citrus; BONUS and SUPER on small brass tags (amber and purple enamel) ---- */
#ui.r70 #meter, #ui.r70 #respins { background: none; box-shadow: none; border-color: transparent; border-radius: 0;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 17px 26px stretch; filter: drop-shadow(0 4px 4px #0008); }
#ui.r70 #meter .mcs img { padding: 9%; background: url(assets/img/r121/rlamp_off.webp?v=232) center / 100% 100% no-repeat; box-shadow: none; border-radius: 0; }
#ui.r70 #meter .mcs img.lit { background: url(assets/img/r121/rlamp_on.webp?v=232) center / 100% 100% no-repeat; box-shadow: none; }
#ui.r70 #meter.near .mcs img:nth-child(6):not(.lit) { box-shadow: 0 0 0 3px #ffc53d, 0 0 14px 4px #ffc53d99; border-radius: 50%; }
#ui.r70 #meter .mtag { background: none; border: 0 solid transparent; border-radius: 0; padding: 6px 16px 5px;
  border-image: url(assets/img/r121/tag_value.webp?v=232) 40 104 fill / 8px 19px stretch;
  font: 400 21px/1 var(--tk-font); letter-spacing: .05em; color: #ffe39a; -webkit-text-stroke: 4px var(--tk-ink); paint-order: stroke fill; }
#ui.r70 #meter .mtag.m6 { background: none; color: #ffe39a; }
#ui.r70 #meter .mtag.m8 { background: none; border-image-source: url(assets/img/r121/tag_jp.webp?v=232); color: #f6e2ff; }
#ui.r70[data-layout="port"] #meter .mtag { font-size: 25px; padding: 7px 18px 6px; }
#ui.r70 .lamp { background: url(assets/img/r121/rlamp_off.webp?v=232) center / 100% 100% no-repeat !important; }
#ui.r70 .lamp.lit { background: url(assets/img/r121/rlamp_on.webp?v=232) center / 100% 100% no-repeat !important; }

/* ---- the hint line on the machine's carved sign: cream letters carved in dark wood; a win in gold ---- */
#ui.r70[data-layout] #statusVal b, #ui.r70[data-layout] #statusVal i { color: #ffe9b8; -webkit-text-stroke: 6px var(--tk-ink); paint-order: stroke fill;
  text-shadow: 0 3px 0 #000a; }
#ui.r70[data-layout] #status.big #statusVal b { color: var(--tk-gold); -webkit-text-stroke: 9px var(--tk-ink); text-shadow: 0 4px 0 #000a; }
/* the hint stands on the free face of the machine's painted plaque (r121 plates, design px): portrait frame x 147-932,
   face y 1435-1538, its right end under BONUS (x 771-950), so the line keeps x 168-756; landscape frame x 685-1240, face
   y 892-948. On a short phone (overbase) SPIN stands over that plaque and the layout moves the hint up onto its own plate */
#ui.r70[data-layout="port"]:not(.overbase) #status, #ui.r70[data-layout="port"]:not(.overbase) #status.two {
  left: 168px !important; top: 1447px !important; width: 588px !important; height: 80px !important; }
#ui.r70[data-layout="land"] #status, #ui.r70[data-layout="land"] #status.two { left: 706px !important; width: 508px !important; }
#ui.r70.overbase[data-layout="port"] #status, #ui.r70.overbase[data-layout="port"] #status.two { left: 168px !important; width: 588px !important; }
#ui.r70.overbase[data-layout="port"] #status, #ui.r70.overbase[data-layout="port"] #status.two { background: none; box-shadow: none;
  border: 4px solid transparent; border-radius: 0; border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 17px 26px stretch; }

/* ---- panels (buy, menu and rules, autoplay, confirmations) and the bonus intro: the carved mahogany frame with brass
   strips, corner caps and the hibiscus tufts on its top corners (panel_frame, nine-slice: the tufts in the top corners) ---- */
body.r70 #panelWrap, body.r70 #intro { background: rgba(20, 9, 3, .7); }
body.r70 #panel.panel, body.r70 .panel.introPanel {
  border-image: url(assets/img/r121/panel_frame.webp?v=232) 180 220 90 220 fill / 40px 48px 20px 48px stretch; }
@media (orientation: landscape) and (max-height: 500px) {
  body.r70 #panel.panel, body.r70 .panel.introPanel { border-image-width: 30px 36px 15px 36px; }
}
@media (orientation: portrait) and (max-width: 480px) {
  body.r70 #panel.panel, body.r70 .panel.introPanel { border-image-width: 34px 40px 17px 40px; }
}
body.r70 #panel.panel #panelX { width: 52px; height: 52px; right: -10px; top: -8px; border: 0; box-shadow: none; filter: drop-shadow(0 3px 3px #000a);
  background: url(assets/img/r121/btn_close.webp?v=232) center / 100% 100% no-repeat; }
body.r70 .panel p, body.r70 table.rtp td, body.r70 .stkGroups figcaption { color: var(--tk-cream); -webkit-text-stroke: 2.5px var(--tk-ink); }
body.r70 .panel h3, body.r70 table.pays th, body.r70 table.rtp th, body.r70 .panel .stkGuide b { color: var(--tk-gold); -webkit-text-stroke: 3.5px var(--tk-ink); }
body.r70 .panel p { letter-spacing: .015em; }
body.r70 table.pays td, body.r70 table.rtp td { border-top-color: rgba(201, 144, 47, .35); }
body.r70 table.pays td { color: var(--tk-cream); }
body.r70 .rule { border-bottom-color: rgba(201, 144, 47, .35); }

/* the buy cards: the brass-framed mahogany card with leaves in its corners; the picture in a brass window; the price on
   an amber enamel pill */
body.r70 .offer, body.r70 .offer[data-tier] { background: none; box-shadow: none; border: 0 solid transparent; border-radius: 0;
  border-image: url(assets/img/r121/card_offer.webp?v=232) 170 160 fill / 22.6% 28.6% stretch; filter: drop-shadow(0 6px 8px #000a); }
body.r70 .offer.poor::before { background: none; }
body.r70 .offer .opic { border: 0 solid transparent; border-radius: 0; box-shadow: none; background-color: transparent;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 4cqw 6cqw stretch; }
body.r70 .offer .opic { position: relative; }
body.r70 .offer .opic::after { content: ''; position: absolute; inset: 2cqw 1cqw; background: 50% 58% / contain no-repeat; pointer-events: none; }
body.r70 .offer[data-tier="squeeze"] .opic, body.r70 .offer[data-tier="super"] .opic { background: none; }
body.r70 .offer[data-tier="squeeze"] .opic::after { background-image: url(assets/img/r126/card_squeeze3.webp?v=232); }
body.r70 .offer[data-tier="super"] .opic::after { background-image: url(assets/img/r126/card_super3.webp?v=232); }
body.r70 .offer i { color: var(--tk-cream); -webkit-text-stroke: .9cqw var(--tk-ink); }
body.r70 .offer i.om span { color: var(--tk-gold); }
body.r70 .offer em span { background: none; border: 0 solid transparent; box-shadow: none; border-radius: 0;
  border-image: url(assets/img/r121/btn_price.webp?v=232) 40 121 fill / 2.6cqw 8cqw stretch;
  color: #fff8e8; -webkit-text-stroke: 1.3cqw #3a1602; paint-order: stroke fill; text-shadow: 0 .5cqw 0 #0008; }
#panel .cpic[data-tier="squeeze"] { background-image: url(assets/img/r126/card_squeeze3.webp?v=232); }
#panel .cpic[data-tier="super"] { background-image: url(assets/img/r126/card_super3.webp?v=232); }
/* the buy's own bet: the painted − and + buttons either side of the amount on its brass plate */
body.r70 .bstep { background: none; border: 0; box-shadow: none; border-radius: 50%; filter: drop-shadow(0 3px 2px #0009); }
body.r70 .bstep img { display: block; }
body.r70 .bval { border: 4px solid transparent; border-radius: 0; box-shadow: none; background: none;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 12px 18px stretch; }
body.r70 .bval b { color: var(--tk-cream); -webkit-text-stroke: 5px var(--tk-ink); paint-order: stroke fill; text-shadow: 0 3px 0 #0009; }
/* autoplay's counts: a painted brass button each; the picked one glows like a lit lamp */
body.r70 .count:not(.wide) { border: 0; box-shadow: none; border-radius: 50%; background: url(assets/img/r121/btn_disc.webp?v=232) center / 100% 100% no-repeat;
  color: var(--tk-cream); -webkit-text-stroke: 4px var(--tk-ink); paint-order: stroke fill; text-shadow: 0 2px 0 #000a; filter: drop-shadow(0 3px 2px #0009); }
body.r70 .count.sel { background: url(assets/img/r121/rlamp_on.webp?v=232) center / 100% 100% no-repeat; box-shadow: none; color: #fff8e8; }
/* the panels' buttons: an amber enamel pill in a brass rim (the main one), a mahogany one (the second) */
body.r70 .count.wide, body.r70 .count.wide.pbtn, body.r70 #introGo, body.r70 #stkBar button { border: 0 solid transparent; border-radius: 0; box-shadow: none;
  background: none; border-image: url(assets/img/r121/btn_wide.webp?v=232) 40 112 fill / 13px 37px stretch;
  color: #fff8e8; -webkit-text-stroke: 6px #3a1602; paint-order: stroke fill; text-shadow: 0 3px 0 #0009; filter: drop-shadow(0 5px 6px #000a); }
body.r70 .count.wide.pbtn.alt { border-image-source: url(assets/img/r121/btn_wide_alt.webp?v=232); color: var(--tk-cream); -webkit-text-stroke-color: var(--tk-ink);
  background: none; box-shadow: none; }

/* ---- the bonus intro: the three respins on a lit lamp, GRAND on its plaque, CONTINUE on the amber pill ---- */
body.r70 .iic .rdisc { border: 0; box-shadow: none; background: url(assets/img/r121/rlamp_on.webp?v=232) center / 100% 100% no-repeat; }
body.r70 .iic .rdisc .ic { display: none; }
body.r70 .iic.big em { color: #fff8e8; -webkit-text-stroke: 6px var(--tk-ink); text-shadow: 0 3px 0 #000a; }
body.r70 .iic .gchip { border: 0 solid transparent; border-radius: 0; box-shadow: none; background: none; padding: 7px 15px 6px;
  font-size: 17px; border-image: url(assets/img/r121/plaque_grand.webp?v=232) 36 120 fill / 7px 15px stretch;
  color: #ffe39a; -webkit-text-stroke: 4px var(--tk-ink); paint-order: stroke fill; text-shadow: 0 2px 0 #000a; }
body.r70 .rt i { color: var(--tk-cream); -webkit-text-stroke: 2.5px var(--tk-ink); }
/* the act over the card: the painted juice splash is round (the old one was a crown), so its lower drips would run over
   the card's title; only its upper part shows, a crown of juice behind the orbs */
.introHero .hsplash { -webkit-mask: linear-gradient(#000 58%, transparent 74%); mask: linear-gradient(#000 58%, transparent 74%); }

/* ---- the TURBO offer banner, the toast, Stake's replay bar ---- */
body.r70 #offer { background: none; box-shadow: none; border: 6px solid transparent; border-radius: 0;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 24px 36px stretch; filter: drop-shadow(0 8px 10px #000b); }
body.r70 #offer span { color: var(--tk-cream); -webkit-text-stroke: 3px var(--tk-ink); }
body.r70 #offer button { border: 0 solid transparent; border-radius: 0; box-shadow: none; background: none;
  border-image: url(assets/img/r121/btn_wide.webp?v=232) 40 112 fill / 9px 25px stretch; color: #fff8e8; -webkit-text-stroke: 4px #3a1602; paint-order: stroke fill; }
body.r70 #offerNo { border-image-source: url(assets/img/r121/btn_wide_alt.webp?v=232); color: var(--tk-cream); }
body.r70 #offer .bar { background: #ffcf57; }
#toast { background: none; border: 4px solid transparent; border-radius: 0; box-shadow: none;
  border-image: url(assets/img/r121/plate_read.webp?v=232) 64 100 fill / 16px 24px stretch; color: var(--tk-cream);
  -webkit-text-stroke: 3px var(--tk-ink); paint-order: stroke fill; filter: drop-shadow(0 6px 8px #000b); }

/* ---- the loader: the feature cards are the brass-framed mahogany card, their counts on brass value tags, WIN UP TO on
   the hibiscus plaque, PLAY the painted porthole button with its carved word, the bar a mahogany pill filling with amber ---- */
#splash .feat { background: url(assets/img/r121/card_offer.webp?v=232) center / 100% 100% no-repeat !important; border: 0; border-radius: 0;
  box-shadow: none; filter: drop-shadow(0 8px 10px #000a); }
#splash .fin > i { color: var(--tk-cream); -webkit-text-stroke: 1.1cqw var(--tk-ink); }
#splash .fic > em { background: none; border: 0 solid transparent; border-radius: 0; border-image: url(assets/img/r121/tag_value.webp?v=232) 40 104 fill / 3cqw 7cqw stretch;
  color: #ffe39a; -webkit-text-stroke: 1.2cqw var(--tk-ink); paint-order: stroke fill; }
#splash .fic.drops em { color: #fff8e8; -webkit-text-stroke: 1.4cqw var(--tk-ink); paint-order: stroke fill; }
#splash .maxwin { background: url(assets/img/r121/plaque_win.webp?v=232) center / 100% 100% no-repeat !important; border: 0; border-radius: 0;
  box-shadow: none; aspect-ratio: 1800 / 436; padding-block: 0; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 8px 10px #000a); }
#splash .maxwin span { color: var(--tk-cream); -webkit-text-stroke: 1.1cqw var(--tk-ink); margin-top: -2.6%; }
#splash #play::before { background: url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 7px 0 #160902) drop-shadow(0 12px 14px #000a); }
#splash #play > b { background: url(assets/img/r121/play_word.webp?v=232) center / 56% auto no-repeat; }
#splash #loadbar { border: 0 solid transparent; border-radius: 0; box-shadow: none; background: none;
  border-image: url(assets/img/r121/btn_wide_alt.webp?v=232) 40 112 fill / 7px 20px stretch; }
#splash #loadfill { border-radius: 999px; background: url(assets/img/r121/btn_wide.webp?v=232) left center / auto 100% no-repeat; }
#splashMsg { color: var(--tk-cream); -webkit-text-stroke: 4px var(--tk-ink); }
/* the text floor (11 CSS px: --floor in design px, layout.js) holds on the jackpot names and amounts, the meter's chips and
   the hint's second line too (their design sizes drew 8-10 CSS px on a small phone) */
#ui.r70 .jp > b { font-size: max(24px, var(--floor, 0px)) !important; }
#ui.r70[data-layout="port"] .jp > b { font-size: max(30px, var(--floor, 0px)) !important; }
#ui.r70 .jp > span { font-size: max(30px, calc(var(--floor, 0px) * 1.02)) !important; }
#ui.r70[data-layout="port"] .jp > span { font-size: max(40px, calc(var(--floor, 0px) * 1.02)) !important; }
#ui.r70 #meter .mtag, #ui.r70[data-layout="port"] #meter .mtag { font-size: max(21px, calc(var(--floor, 0px) * 1.02)); }
#ui.r70[data-layout] #statusVal i { font-size: max(27px, calc(var(--floor, 0px) * 1.02)); }
#ui.r70[data-layout] #status.plate #statusVal b, #ui.r70[data-layout] #status.plate.two #statusVal b { font-size: max(var(--tk-hint, 32px), calc(var(--floor, 0px) * 1.02)); }
#ui.r70[data-layout="port"] #status:not(.two) #statusVal b { --tk-hint: 38px; }
#ui.r70[data-layout="land"] #status:not(.two) #statusVal b { --tk-hint: 28px; }
#ui.r70[data-layout="land"] #status.two #statusVal b { --tk-hint: 24px; }
#ui.r70[data-layout] #status.big #statusVal b { --tk-hint: 46px; }
/* a landscape meter is narrow for the floor-sized chips: BONUS leans left of its socket and SUPER right of its own */
#ui.r70[data-layout="land"] #meter .mtag { padding: 5px 11px 4px; }
#ui.r70[data-layout="land"] #meter .mtag.m6 { transform: translate(-72%, -42%); }
#ui.r70[data-layout="land"] #meter .mtag.m8 { transform: translate(-26%, -42%); }

/* BONUS's attention effect on the brass porthole: a warm halo breathing behind it (its pineapple and stars: the build 126
   block) */
#ui.r70 #btnBuy::before { content: ''; position: absolute; left: -14%; top: -14%; width: 128%; height: 128%; z-index: -1; pointer-events: none;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 206, 110, .55), rgba(255, 170, 60, .22) 55%, rgba(255, 150, 40, 0) 100%); }
@media (prefers-reduced-motion: no-preference) {
  #ui.r70.rest #btnBuy.halo::before { animation: bonusHalo 2.8s ease-in-out forwards; }   /* restarted every 2.8 s */
}
@keyframes bonusHalo { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
/* the game's logo rig (ui/logospine.js): a canvas over #logo in #ui, never taking a tap */
#ui canvas.logoGame { position: absolute; pointer-events: none; transform-origin: 50% 50%; }
/* the Spine juice wave (ui/wave.js): a full-screen canvas over everything while it covers; it takes the taps */
#waveSpine { position: fixed; left: 0; top: 0; z-index: 50; display: none; pointer-events: auto; touch-action: manipulation; }

/* ===== the bonus intro card, alive (flow/bonus.js adds #intro.enter as the juice uncovers it): the rules slide in one
   after another from the side with a small overshoot, each icon pops in after its row and then bobs, the gold-leaf title
   stamps in and stars twinkle round its letters, CONTINUE pops up and breathes with a warm glow (the stars and CONTINUE's
   glow and hop: the build 126 block); the night bar shows behind the card through a lighter shade. Transforms and opacity
   only; every loop is finite ===== */
body.r70 #intro { background: rgba(14, 8, 22, .42); }
#intro.enter .rule { animation: ruleIn2 .46s cubic-bezier(.2, .9, .3, 1.25) both; }
#intro.enter .rule:nth-child(1) { animation-delay: .12s; } #intro.enter .rule:nth-child(2) { animation-delay: .17s; }
#intro.enter .rule:nth-child(3) { animation-delay: .22s; } #intro.enter .rule:nth-child(4) { animation-delay: .27s; }
#intro.enter .rule:nth-child(5) { animation-delay: .32s; }
@keyframes ruleIn2 { 0% { opacity: 0; translate: -70px 0; } 70% { opacity: 1; translate: 6px 0; } 100% { opacity: 1; translate: 0 0; } }
#intro .rule .iic > * { transform-origin: 50% 70%; --ci: 0; }
#intro .rule .iic > :nth-child(2) { --ci: 1; } #intro .rule .iic > :nth-child(3) { --ci: 2; }
#intro .rule:nth-child(1) { --rd: .12s; } #intro .rule:nth-child(2) { --rd: .17s; } #intro .rule:nth-child(3) { --rd: .22s; }
#intro .rule:nth-child(4) { --rd: .27s; } #intro .rule:nth-child(5) { --rd: .32s; }
#intro.enter .rule .iic > * { animation: iconPop .42s cubic-bezier(.3, 1.6, .5, 1) both, iconBob 2.2s ease-in-out 4;
  animation-delay: calc(var(--rd, .8s) + .2s + var(--ci) * .07s), calc(var(--rd, .8s) + 1.4s + var(--ci) * .15s); }
@keyframes iconPop { 0% { opacity: 0; scale: .2; rotate: -25deg; } 65% { opacity: 1; scale: 1.25; rotate: 6deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes iconBob { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -5px; rotate: -4deg; } 60% { translate: 0 1px; rotate: 3deg; } }
/* the respins lamp glows like a lit lamp as it pops */
#intro.enter .rule .iic > .rdisc { animation: iconPop .42s cubic-bezier(.3, 1.6, .5, 1) .4s both, lampGlow 1.4s ease-in-out .9s 5; }
@keyframes lampGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25) drop-shadow(0 0 10px #ffb43a); } }
/* the gold-leaf title, stamped in */
body.r70 #intro #introTitle { background: linear-gradient(180deg, #fff6d2 12%, #ffd877 40%, #e9a12a 62%, #c97a12 76%, #ffd36a 96%);
  -webkit-background-clip: text; background-clip: text; }
#intro.enter #introTitle { animation: titleStamp .4s cubic-bezier(.3, .8, .4, 1.2) .08s both; }
#intro .introPanel { position: relative; }
/* CONTINUE: pops up, then breathes (its glow and hop: the build 126 block) */
body.r70 #introGo { position: relative; overflow: visible; }
#intro.enter #introGo { animation: goPop .5s cubic-bezier(.2, .9, .3, 1.45) .5s both, goBreath 1.7s ease-in-out 1s 8; }
@media (prefers-reduced-motion: reduce) {
  #intro.enter .rule .iic > *, #intro.enter .rule .iic > .rdisc { animation: none !important; }
}
/* the lit respin lamps glow softly at rest (brightness only: the lamp's position and its pop animations keep transform) */
@keyframes fsLampGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18) drop-shadow(0 0 6px #ffcf6a); } }
#ui.r70 .lamp.lit:not(.relit):not(.spent) { animation: fsLampGlow 2.6s ease-in-out infinite; }
/* the TURBO offer: its box border is the painted brass frame's own width, so the title, the line, both buttons and the
   timer bar stay inside the wood face in every layout */
body.r70 #offer { border-width: 22px 34px 24px; border-image-width: 22px 34px 24px; padding: 4px 6px 10px; gap: 6px 10px; overflow: visible; }
body.r70 #offer b, body.r70 #offer span { padding-inline: 2px; min-width: 0; overflow-wrap: anywhere; }
body.r70 #offer .bar { left: 0; right: 0; bottom: 2px; width: auto; border-radius: 3px; }
/* the bonus intro's title flanked by two golden citrus inside the card (flow/bonus.js placeHero sets their box): they pop in
   with the title's stamp, then bob a few times */
#intro .introPanel .tcit { position: absolute; z-index: 2; display: block; object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 4px 4px #0009); opacity: 0; }
#intro.enter .introPanel .tcit { animation: iconPop .46s cubic-bezier(.3, 1.6, .5, 1) .12s both, iconBob 2.2s ease-in-out 1.1s 4; }
#intro.enter .introPanel .tcit.r { animation-delay: .18s, 1.2s; }
@media (prefers-reduced-motion: reduce) { #intro .introPanel .tcit { opacity: 1; animation: none !important; } }
/* the transitions' canvases (render/trans.js): the story over everything (it takes the taps while it plays), and the
   sunset over the scenery just over the game's canvas, under the HUD */
#transFx { position: fixed; left: 0; top: 0; z-index: 50; display: none; pointer-events: auto; touch-action: manipulation; }
#transDusk { position: absolute; left: 0; top: 0; display: none; pointer-events: none; }
/* the hint centred on the painted plaque's free face (MEASURED on the r121 plates, design px): portrait face x 159.5-920.5,
   y 1454.5-1539.5, its right end under the round BONUS (whose edge is at x 780 on the face's middle line), so the box is
   the face left of it; landscape face x 687.5-1233, y 889-948. The lines are centred in the box both ways (flex) */
#ui.r70[data-layout="port"]:not(.overbase) #status, #ui.r70[data-layout="port"]:not(.overbase) #status.two {
  left: 160px !important; top: 1455px !important; width: 620px !important; height: 85px !important; }
#ui.r70[data-layout="land"] #status, #ui.r70[data-layout="land"] #status.two { left: 700px !important; width: 520px !important;
  top: 889px !important; height: 59px !important; }
#ui.r70[data-layout] #status #statusVal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
#ui.r70[data-layout] #status.row #statusVal { flex-direction: row; flex-wrap: wrap; align-items: baseline; align-content: center; gap: 0 .45em; }
#ui.r70[data-layout] #status #statusVal b, #ui.r70[data-layout] #status #statusVal i { line-height: 1.04; }
#ui.r70[data-layout="land"] #status #statusVal i { font-size: max(19px, calc(var(--floor, 0px) * 1.02)); }
/* one row: the capitals' ink sits a little above the line box's middle; the row is nudged down to centre the letters */
#ui.r70[data-layout] #status.row #statusVal { translate: 0 .08em; }
/* in one row both halves of the hint read as one line: the same size */
#ui.r70[data-layout] #status.row #statusVal i { font-size: max(var(--tk-hint, 32px), calc(var(--floor, 0px) * 1.02)); }
#ui.r70[data-layout] #status.row #statusVal b, #ui.r70[data-layout] #status.row #statusVal i { --tk-hint: 30px; }
#ui.r70[data-layout="land"] #status.row #statusVal b, #ui.r70[data-layout="land"] #status.row #statusVal i { --tk-hint: 26px; }
/* a SUPER buy starts with 10 golden citrus: their icon row on the plain card look (hidden in the painted skins) */
.offer .ocit.c10 { grid-template-columns: repeat(5, 13cqw); grid-auto-rows: 13cqw; gap: 1cqw 1cqw; }

/* ===== build 126: motion without light bands (ui/motion.js builds the pieces). Small painted stars (assets/img/r126)
   twinkle in place on SPIN's brass rim, on BONUS and on the jackpot plaques' bezels; the BONUS pineapple hops out of its
   carved socket; GRAND's amount breathes, and every amount beats while one more golden citrus would start the bonus; SPIN
   squashes and springs back on a press and throws a ring of juice drops and sparks; the loader's WIN UP TO plaque and the
   bonus intro's title twinkle after they land; CONTINUE glows and hops. Transform and opacity only; the calm loops run
   only under #ui.rest, and every loop of a waiting screen is finite: ui/motion.js (calm loops) gives an element its
   class at the loop's period, and a twinkle, a hop or a beat plays only its visible part (the old cycle's quiet part
   is the wait until the next class); nothing moves under reduced motion ===== */
/* SPIN's face is drawn by its ::before, with the button's shadow on that layer only: the stars and the press burst are
   children of the button and would otherwise cast the face's hard shadow */
#ui.r70 #btnSpin:not(#btnBuy) { background: none; filter: none; }
#ui.r70 #btnSpin:not(#btnBuy)::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url(assets/img/r121/spin_word.webp?v=232) center 50% / 58% auto no-repeat, url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 6px 0 #160902) drop-shadow(0 11px 12px #000a); transition: filter .12s ease-out; }
#ui.r70 #btnSpin.inBonus:not(#btnBuy)::before { background: url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat; }
#ui.r70 #btnSpin.down:not(#btnBuy)::before { filter: drop-shadow(0 1px 0 #160902) drop-shadow(0 4px 6px #0008) brightness(.94); }
/* the plaques' shadow follows their pill outline as a box shadow (a drop-shadow filter shadowed their stars too) */
#ui.r70 .jp { filter: none; box-shadow: 0 4px 5px #0009; }
/* the stars: centred on their spot, hidden between twinkles */
.moStars { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.moStars > i { position: absolute; display: block; aspect-ratio: 1; translate: -50% -50%; background: center / contain no-repeat;
  opacity: 0; scale: .2; mix-blend-mode: screen; }
/* the BONUS pineapple over its socket (the box cut_pine.py printed), hopping from its base */
#ui.r70 #btnBuy .moPine { position: absolute; left: 29.3%; top: 13.48%; width: 28.52%; height: 40.62%; pointer-events: none; z-index: 1; }
#ui.r70 #btnBuy .moPine > i { position: absolute; inset: 0; display: block; background: center / 100% 100% no-repeat; }
#ui.r70 #btnBuy .moPine .pine { transform-origin: 50% 96%; }
/* SPIN's press burst: drops and sparks leave the rim and fly out, the drops falling a little */
#ui.r70 #btnSpin .moBurst { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
#ui.r70 #btnSpin .moBurst > i { position: absolute; display: block; aspect-ratio: 1; background: center / contain no-repeat; opacity: 0; }
#ui.r70 #btnSpin.burst { animation: moSpinPress .46s cubic-bezier(.3, .7, .4, 1); }
#ui.r70 #btnSpin.burst .moBurst > i { animation: moBurstOut .64s cubic-bezier(.15, .75, .35, 1) var(--d) both; }
#ui.r70 #btnSpin.burst .moBurst > i.sp { animation-name: moSparkOut; }
/* the intro title's stars (placed by ui/motion.js) and CONTINUE's glow (a layer under the button, placed the same way) */
#intro .moStars.moTitle { inset: auto; z-index: 3; }
#intro .moGoGlow { position: absolute; display: block; pointer-events: none; opacity: 0; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255, 196, 84, .75), rgba(255, 160, 40, .3) 62%, rgba(255, 140, 30, 0) 100%); }
#intro.enter .moGoGlow.go { animation: moGoGlow 1.7s ease-in-out .45s 8 both; }
@media (prefers-reduced-motion: no-preference) {
  /* a twinkle every 6 s (SPIN, BONUS) or 8.4 s (the plaques), each star at its own --d */
  #ui.r70.rest .moSpin > i.tw, #ui.r70.rest .moBuy > i.tw { animation: moTwinkleA .84s ease-in-out; }
  #ui.r70.rest .moJp > i.tw { animation: moTwinkleA 1.176s ease-in-out; }
  /* a hop every 5.2 s */
  #ui.r70.rest #btnBuy:not(.off) .moPine .pine.hop { animation: moPineHopA 1.976s linear; }
  #ui.r70.rest #jp3 > span.beat { animation: moGrandBeat 2.6s ease-in-out; }
  /* one golden citrus away from the bonus: endless while a round runs, one beat per class at rest */
  #ui.r70:not(.rest):has(#meter.near) .jp > span { animation: moJpNear .9s ease-in-out infinite; }
  #ui.r70:not(.rest):has(#meter.near) .moJp > i { animation: moTwinkle 2.7s ease-in-out calc(var(--d) * -1) infinite; }
  #ui.r70.rest:has(#meter.near) .jp > span.nb { animation: moJpNear .9s ease-in-out; }
  #ui.r70.rest:has(#meter.near) .moJp > i.twn { animation: moTwinkleA .378s ease-in-out; }
  /* the loader's plaque: it slams in, then breathes every 2.6 s; its stars twinkle every 4.8 s */
  #splash.enter .maxwin { animation: plaqueSlam .5s cubic-bezier(.2,.9,.3,1.2) 1.1s both; }
  #splash.enter .maxwin.pulse { animation: plaqueSlam .5s cubic-bezier(.2,.9,.3,1.2) 1.1s both, moWinPulse 2.6s ease-in-out; }
  #splash.enter .maxwin .moStars > i.tw { animation: moTwinkleA .672s ease-in-out; }
  #intro.enter .moTitle.go > i { animation: moSpark 2.6s ease-in-out var(--d) 4 both; }
  #intro.enter #introGo { animation: goPop .5s cubic-bezier(.2, .9, .3, 1.45) 1.55s both, goBreath 1.7s ease-in-out 2.05s 8,
    moGoHop 3.4s ease-in-out 3.75s 4; }
}
@keyframes moTwinkle { 0%, 100% { opacity: 0; scale: .2; rotate: -20deg; } 5% { opacity: 1; scale: 1.15; rotate: 10deg; }
  9% { opacity: .95; scale: .9; rotate: 25deg; } 14% { opacity: 0; scale: .35; rotate: 50deg; } }
/* the twinkle alone: moTwinkle's 0-14 % stretched over the whole animation (the rest of its cycle was invisible) */
@keyframes moTwinkleA { 0% { opacity: 0; scale: .2; rotate: -20deg; } 35.714% { opacity: 1; scale: 1.15; rotate: 10deg; }
  64.286% { opacity: .95; scale: .9; rotate: 25deg; } 100% { opacity: 0; scale: .35; rotate: 50deg; } }
@keyframes moSpark { 0%, 100% { opacity: 0; scale: .2; rotate: -20deg; } 12% { opacity: 1; scale: 1.15; rotate: 12deg; }
  24% { opacity: 1; scale: .9; rotate: 30deg; } 40% { opacity: 0; scale: .3; rotate: 60deg; } }
/* the hop: wait, squash, leap with a tilt, tilt back at the top, land with a squash, settle */
@keyframes moPineHop { 0%, 62%, 100% { transform: none; animation-timing-function: ease-in-out; }
  67% { transform: scale(1.07, .91); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  74% { transform: translateY(-19%) rotate(-8deg) scale(.95, 1.07); animation-timing-function: ease-in-out; }
  79% { transform: translateY(-22%) rotate(6deg) scale(1.01, 1); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  85% { transform: scale(1.08, .9); animation-timing-function: ease-out; }
  90% { transform: scale(.97, 1.04); } 95% { transform: scale(1.01, .99); } }
/* the hop alone: moPineHop's 62-100 % stretched over the whole animation */
@keyframes moPineHopA { 0%, 100% { transform: none; animation-timing-function: ease-in-out; }
  13.158% { transform: scale(1.07, .91); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  31.579% { transform: translateY(-19%) rotate(-8deg) scale(.95, 1.07); animation-timing-function: ease-in-out; }
  44.737% { transform: translateY(-22%) rotate(6deg) scale(1.01, 1); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  60.526% { transform: scale(1.08, .9); animation-timing-function: ease-out; }
  73.684% { transform: scale(.97, 1.04); } 86.842% { transform: scale(1.01, .99); } }
@keyframes moGrandBeat { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@keyframes moJpNear { 0%, 100% { scale: 1; } 50% { scale: 1.1; } }
@keyframes moWinPulse { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }
@keyframes moSpinPress { 0% { transform: translateY(6px) scale(.96); } 28% { transform: translateY(-3px) scale(1.05, .95); }
  52% { transform: translateY(1px) scale(.98, 1.03); } 76% { transform: scale(1.01, .995); } 100% { transform: none; } }
@keyframes moBurstOut { 0% { opacity: 0; translate: 0 0; scale: .3; rotate: var(--r); } 14% { opacity: 1; scale: 1; }
  70% { opacity: 1; } 100% { opacity: 0; translate: var(--ux) calc(var(--uy) + var(--fall)); scale: .55; rotate: var(--r); } }
@keyframes moSparkOut { 0% { opacity: 0; translate: 0 0; scale: .2; rotate: 0deg; } 18% { opacity: 1; scale: 1.1; }
  100% { opacity: 0; translate: var(--ux) var(--uy); scale: .3; rotate: 120deg; } }
@keyframes moGoGlow { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@keyframes moGoHop { 0%, 70%, 100% { transform: none; } 75% { transform: scale(1.04, .93); } 82% { transform: translateY(-11%) scale(.98, 1.04); }
  89% { transform: translateY(0) scale(1.04, .95); } 94% { transform: scale(.99, 1.02); } }
@media (prefers-reduced-motion: reduce) {
  .moStars, .moBurst, #ui.r70 #btnBuy .moPine, #intro .moGoGlow { display: none !important; }
}
/* ===== end of build 126 motion ===== */
/* the buy panel's footer breaks into lines of even length (its last two words are also joined by a no-break space in
   ui/panels.js), so no word is left alone on the last line */
#panel p.small { text-wrap: balance; }

/* ===== build 127: the intro card leaves by folding away (flow/bonus.js showIntro adds .leave for 0.3 s), so the respins
   start under a card that is going, never after a one-frame cut ===== */
#intro.on.leave { pointer-events: none; animation: introFade .28s ease-in both; }
#intro.leave .introPanel { animation: introLeave .28s cubic-bezier(.5, 0, .8, .4) both !important; }
@keyframes introFade { to { opacity: 0; } }
@keyframes introLeave { to { translate: 0 -4%; scale: .92; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #intro.leave, #intro.leave .introPanel { animation: none !important; opacity: 0; } }
/* the card's shade comes up over 0.3 s instead of dropping over the whole screen in one frame */
#intro.on { animation: introVeil .3s ease-out both; }
@keyframes introVeil { from { background-color: rgba(14, 8, 22, 0); } }
/* the card's own title stamps in from 1.4x (from 2.2x the panel's edges clipped it for a moment) */
#intro.enter #introTitle { animation: titleStampIn .36s cubic-bezier(.3, .8, .4, 1.2) .08s both; }
@keyframes titleStampIn { 0% { opacity: 0; scale: 1.4; } 60% { opacity: 1; scale: .96; } 100% { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { #intro.on { animation: none !important; } }
/* ===== end of build 127 ===== */

/* ===== build 128: the intro card never shows a scroll bar. Its entrance (icons popping, the title stamp, CONTINUE's
   breath and glow) overflows the panel for a moment and the browser drew a bar; a phone that is too short still scrolls
   it by touch ===== */
.introPanel { overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.introPanel::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* the bonus meter and the respins lamps sit straight in the brass capsule painted on the machine's plate: their own
   square wooden plaque over it read as a second, crooked board */
#ui.r70 #meter, #ui.r70 #respins { border-image: none; filter: none; }
/* in the wide capsule the three respin lamps stand larger and further apart (on the old small plaque they fitted it) */
#ui.r70 .lamp { width: 72px; }
#ui.r70 #lamp0 { left: calc(50% - 100px); } #ui.r70 #lamp2 { left: calc(50% + 100px); }
/* the landscape capsule is lower: the lamps stay inside its brass rim */
#ui.r70[data-layout="land"] .lamp { width: 56px; }
#ui.r70[data-layout="land"] #lamp0 { left: calc(50% - 84px); } #ui.r70[data-layout="land"] #lamp2 { left: calc(50% + 84px); }
/* the larger lamps' punches stay inside the capsule's rim at their peak (a later @keyframes of the same name wins) */
@keyframes lampSpent { 0% { scale: 1.12; } 35% { scale: .72; } 100% { scale: 1; } }
@keyframes lampRelit { 0% { scale: .3; } 60% { scale: 1.12; } 100% { scale: 1; } }
@keyframes plateJolt { 30% { translate: 0 -3px; scale: 1.02; } 65% { translate: 0 1px; scale: .995; } }
/* the studio splash's pictures for the version without WebGL: the paws without the coin's rim strokes and the coin
   without its see-through slits */
#splash::after { background: url("assets/img/oddcoin_word_r128.webp?v=232") 0 0 / 1px 1px no-repeat,
  url("assets/img/oddcoin_coin_r128.webp?v=232") 0 0 / 1px 1px no-repeat; }
#studio .coinwin { -webkit-mask: url("assets/img/oddcoin_window_r128.webp?v=232") center/100% 100% no-repeat;
  mask: url("assets/img/oddcoin_window_r128.webp?v=232") center/100% 100% no-repeat; }
/* ===== end of build 128 ===== */
/* ===== build 129: a modal's buttons come in with it. The bonus intro card's CONTINUE popped in 1.55 s after the card and
   the buy panel's buttons 0.4 s after the panel, so a player who wanted to go on waited for a button ===== */
#intro.enter #introGo { animation: goPop .3s cubic-bezier(.2, .9, .3, 1.4) .1s both, goBreath 1.7s ease-in-out .6s 8,
  moGoHop 3.4s ease-in-out 2.6s 4; }
#panel.fresh .bbet, #panel.fresh p.small, #panel.fresh .pbtn { animation: fadeUp .22s ease-out .08s both; }
#panel.fresh .offer { animation-delay: .08s; }
#panel.fresh .offer:nth-child(2) { animation-delay: .14s; }
@media (prefers-reduced-motion: reduce) { #intro.enter #introGo { animation: none; } }
/* ===== end of build 129 ===== */

/* ===== build 152: the bet bar is painted again, in the machine's own make: BALANCE, BET and WIN on the brass and
   mahogany read-out plates, and every round key a brass porthole like SPIN (the speed key shows one to three gold
   bolts by speed). SPIN and BUY keep their painted faces and stay the two largest controls. The flat keys and pills of
   build 132 are gone; the two rules below are the ones of that block that are not about the bar ===== */
/* the modals' pictures stay decoded and painted from the start: a nearly invisible frame in the top corner holds the
   panel frame and the buy cards (a frame decoded only when its panel first showed came in after the panel's text on a
   phone) */
body.r70::after { content: ''; position: fixed; left: 0; top: 0; width: 140px; height: 90px; opacity: .004; pointer-events: none;
  z-index: 0; box-sizing: border-box; border-style: solid; border-color: transparent; border-width: 40px 48px 20px 48px;
  border-image: url(assets/img/r121/panel_frame.webp?v=232) 180 220 90 220 fill / 40px 48px 20px 48px stretch;
  background: url(assets/img/r126/card_squeeze3.webp?v=232) 0 0 / 60px 40px no-repeat,
    url(assets/img/r126/card_super3.webp?v=232) 70px 0 / 60px 40px no-repeat; }
/* asleep (ui/sleep.js: no touch for 30 s): the controls' calm life holds still until the next touch */
#ui.r70.sleep *, #ui.r70.sleep *::before, #ui.r70.sleep *::after { animation-play-state: paused !important; }
/* ===== end of build 152 ===== */

/* ===== build 134 ===== */
/* the bonus intro's rule lines are running text: the plain condensed text face of the rules, a size up, so the small
   copy under each heading reads cleanly (the display face at 13 px read as decoration) */
body.r70 .rt i { font-family: 'Barlow Semi Condensed', var(--tk-font); font-size: 15px; -webkit-text-stroke-width: 1.6px;
  letter-spacing: .01em; line-height: 1.2; }
@media (max-height: 700px) { body.r70 .rt i { font-size: 14px; } }
/* SPIN in the bonus without a respin count (the way in before the lamps, the collect, the end card): its own word on a
   dimmed face, as a control that waits, instead of a bare brass disc */
#ui.r70 #btnSpin.inBonus:not(#btnBuy):has(#spinCount[data-n=""])::before,
#ui.r70 #btnSpin.inBonus:not(#btnBuy):not(:has(#spinCount[data-n]))::before {
  background: url(assets/img/r121/spin_word.webp?v=232) center 50% / 58% auto no-repeat, url(assets/img/r121/spin_base.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 6px 0 #160902) drop-shadow(0 11px 12px #000a) brightness(.72) saturate(.8); }
/* ===== end of build 134 ===== */

/* ===== build 143: the bonus result (flow/result.js). The result panel is the bonus intro card's panel (the carved frame,
   the gold-leaf heading, the amber pill) standing low on the screen, so the tier titles stamp in on the canvas above it.
   It comes in three layers: the panel springs up, the stat rows slide in one by one with their icons, then the total's
   plaque pops and its amount counts up. A tier washes the scene in its colour (the painted soft light, screen-blended,
   under the panel), nudges the panel (at most 5 px) and punches the total. COLLECT pops up once the count has landed and
   breathes. Back on the base game a plaque in the same frame names the win while the balance glows. Transforms and
   opacity only; every loop is finite ===== */
#result { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; box-sizing: border-box; padding: 0 8px max(10px, 1.4vh); visibility: hidden; pointer-events: none;
  touch-action: manipulation; }
#result.on { visibility: visible; pointer-events: auto; }
#result, #result *, #resPlaque, #resPlaque * { font-family: var(--tk-font) !important; }
#result .resPanel { position: relative; z-index: 1; width: min(94vw, 520px); max-height: none; overflow: visible;
  padding-top: 6px; padding-bottom: 12px; }
#result:not(.enter) .resPanel { opacity: 0; }
#result.enter .resPanel { animation: introSpring .5s cubic-bezier(.2, .9, .3, 1.25) .02s both; }
#result .resTitle { font-size: min(30px, 5.6vw); line-height: 1.05; margin: 0 0 4px; text-wrap: balance; }
#result.enter .resTitle { animation: titleStampIn .36s cubic-bezier(.3, .8, .4, 1.2) .12s both; }
#result .resRows { display: grid; gap: 0; }
#result .resRow { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; min-height: 41px;
  padding: 2px 6px; border-bottom: 1px solid rgba(201, 144, 47, .35); opacity: 0; }
#result .resRow:last-child { border-bottom: 0; }
#result .resRow.in { opacity: 1; animation: ruleIn2 .42s cubic-bezier(.2, .9, .3, 1.25) both; }
#result .resRow .iic { width: 44px; height: 40px; }
#result .resRow .iic img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: drop-shadow(0 3px 2px #0009); }
#result .resRow .iic .rdisc { width: 38px; height: 38px; }
#result .resRow.in .iic > * { animation: iconPop .42s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
#result .resRow .rt b { font-size: 18px; letter-spacing: .02em; }
#result .resVal { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; font-style: normal;
  font-size: 26px; line-height: 1; color: #fff8e8; -webkit-text-stroke: 6px var(--tk-ink); paint-order: stroke fill;
  text-shadow: 0 3px 0 #120701; }
#result .jchip { display: inline-block; padding: 6px 12px 5px; font-size: 14px; letter-spacing: .03em; color: #fff1cf;
  -webkit-text-stroke: 4px var(--tk-ink); text-shadow: 0 2px 0 #000a; border: 0 solid transparent;
  border-image: url(assets/img/r121/plaque_mini.webp?v=232) 36 120 fill / 7px 15px stretch; }
#result .jchip.minor { border-image-source: url(assets/img/r121/plaque_minor.webp?v=232); }
#result .jchip.major { border-image-source: url(assets/img/r121/plaque_major.webp?v=232); }
#result .jchip.grand { border-image-source: url(assets/img/r121/plaque_grand.webp?v=232); color: #ffe39a; }
#result .resTotal { position: relative; width: 96%; margin: 6px auto 0; text-align: center; opacity: 0; }
#result .resTotal.in { opacity: 1; animation: goPop .34s cubic-bezier(.2, .9, .3, 1.4) both; }
#result .resTotal > i { display: block; font-style: normal; font-size: 16px; letter-spacing: .08em; color: var(--tk-cream);
  -webkit-text-stroke: 4px var(--tk-ink); paint-order: stroke fill; text-shadow: 0 2px 0 #000a; }
#result .resPlate { position: relative; width: 100%; aspect-ratio: 1800 / 436; display: flex; align-items: center;
  justify-content: center; background: url(assets/img/r121/plaque_win.webp?v=232) center / 100% 100% no-repeat; }
/* the total's light: the painted soft light in the tier's colour (flow/result.js sets --glow) behind the plaque */
#result .resPlate::before { content: ''; position: absolute; inset: -75% -16%; z-index: -1; pointer-events: none; opacity: 0;
  background: var(--glow, none) center / 100% 100% no-repeat; }
#result .resAmt { position: relative; margin-top: -2%; font-size: var(--fs, 44px); line-height: 1; white-space: nowrap;
  color: #ffe36b; -webkit-text-stroke: 7px #2a1710; paint-order: stroke fill; text-shadow: 0 4px 0 #120701; }
#result.plain .resAmt { color: var(--tk-cream); }
#result .resPlate.punch { animation: resPunch .42s cubic-bezier(.2, .9, .3, 1.3); }
#result:not(.plain) .resPlate.landed::before { animation: resGlowIn .5s ease-out both, resGlowBreath 2.4s ease-in-out .5s 30; }
#result.nudge { animation: resNudge .34s ease-out; }
#result .resGo { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 70%; height: 60px;
  margin: 8px auto 0; padding: 0; cursor: pointer; visibility: hidden; font-size: 28px; letter-spacing: .03em; }
body.r70 #result .resGo { border: 0 solid transparent; border-radius: 0; box-shadow: none; background: none;
  border-image: url(assets/img/r121/btn_wide.webp?v=232) 40 112 fill / 13px 37px stretch; color: #fff8e8;
  -webkit-text-stroke: 6px #3a1602; paint-order: stroke fill; text-shadow: 0 3px 0 #0009; filter: drop-shadow(0 5px 6px #000a); }
#result.ready .resGo { visibility: visible; animation: goPop .34s cubic-bezier(.2, .9, .3, 1.4) both, goBreath 1.7s ease-in-out .5s 30; }
#result.ready .resGo.pressed { animation: resPress .22s ease-out both; }
#result .resFx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
#result .resFx img { position: absolute; display: block; height: auto; will-change: transform, opacity; }
#resWash { position: fixed; inset: 0; z-index: 44; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: var(--glow, none) 50% 26% / 190% 110% no-repeat; }
#resWash.wash { animation: resWash 1.5s ease-out both; }
@keyframes resWash { 0% { opacity: 0; } 16% { opacity: .62; } 100% { opacity: .2; } }
@keyframes resPunch { 0% { scale: 1; } 30% { scale: 1.13; } 62% { scale: .97; } 100% { scale: 1; } }
@keyframes resNudge { 0%, 100% { translate: 0 0; } 20% { translate: -5px 2px; } 45% { translate: 4px -2px; } 70% { translate: -2px 1px; } }
@keyframes resGlowIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes resGlowBreath { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes resPress { 0% { scale: 1; } 40% { scale: .92; } 100% { scale: 1; } }
/* landscape: a wider panel with the rows in two columns, so it stays low and leaves the title its room */
@media (orientation: landscape) {
  #result .resPanel { width: min(86vw, 760px); padding-top: 4px; padding-bottom: 8px; }
  #result .resTitle { font-size: min(34px, 5.4vh); margin-bottom: 4px; }
  #result .resRows { grid-template-columns: 1fr 1fr; column-gap: 26px; }
  #result .resRow { min-height: min(52px, 7.4vh); }
  #result .resRow .rt b { font-size: min(21px, 3vh); }
  #result .resVal { font-size: min(30px, 4.2vh); }
  #result .resRow:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  #result .resTotal { width: 58%; margin-top: 4px; }
  #result .resTotal > i { font-size: min(18px, 2.6vh); }
  #result .resAmt { --fs: min(54px, 7.6vh); }
  #result .resGo { width: 38%; height: min(60px, 8.4vh); font-size: min(26px, 3.8vh); margin-top: 6px; }
}
/* a short screen: tighter rows, the total and COLLECT a size down */
@media (max-height: 700px) {
  #result .resRow { min-height: 40px; }
  #result .resRow .iic { width: 38px; height: 38px; }
  #result .resRow .iic .rdisc { width: 36px; height: 36px; }
  #result .resRow .rt b { font-size: 16px; }
  #result .resVal { font-size: 22px; }
  #result .resGo { height: 52px; font-size: 22px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  #result .resRow { min-height: 34px; }
  #result .resTotal { width: 50%; }
  #result .resGo { height: 46px; }
}
/* the base game's plaque: the win in the same carved frame over the machine, springing up as the cover opens; the balance
   glows while it counts the win in */
#resPlaque { position: fixed; z-index: 44; translate: -50% -50%; box-sizing: border-box; padding: 2px 10px 6px; text-align: center;
  pointer-events: none; border-style: solid; border-color: transparent; border-width: 34px 40px 17px 40px;
  border-image: url(assets/img/r121/panel_frame.webp?v=232) 180 220 90 220 fill / 34px 40px 17px 40px stretch;
  filter: drop-shadow(0 10px 16px #000b); animation: resPlaqueIn .5s cubic-bezier(.2, .9, .3, 1.25) .4s both; }
#resPlaque { max-width: calc(100vw - 16px); }
#resPlaque b { display: block; font-size: min(22px, 5.2vw); line-height: 1.1; letter-spacing: .03em; white-space: nowrap;
  background: linear-gradient(180deg, #fff6d2 12%, #ffd877 40%, #e9a12a 62%, #c97a12 76%, #ffd36a 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(.06em 0 0 var(--tk-ink)) drop-shadow(-.06em 0 0 var(--tk-ink)) drop-shadow(0 .06em 0 var(--tk-ink))
    drop-shadow(0 -.06em 0 var(--tk-ink)) drop-shadow(0 .08em 0 #120701); }
#resPlaque em { display: block; margin-top: 2px; font-style: normal; font-size: min(44px, 11vw); line-height: 1.05; white-space: nowrap;
  color: #ffe36b; -webkit-text-stroke: 7px #2a1710; paint-order: stroke fill; text-shadow: 0 4px 0 #120701; }
#resPlaque.out { animation: resPlaqueOut .34s ease-in both; }
@keyframes resPlaqueIn { 0% { opacity: 0; scale: .68; rotate: -7deg; } 72% { opacity: 1; scale: 1.05; rotate: 1deg; }
  100% { opacity: 1; scale: 1; rotate: -1.5deg; } }
@keyframes resPlaqueOut { from { opacity: 1; scale: 1; rotate: -1.5deg; } to { opacity: 0; scale: 1.06; translate: -50% -62%; rotate: -1.5deg; } }
#ui #bal.resGlow { animation: resBalGlow .8s ease-in-out 3; }
@keyframes resBalGlow { 0%, 100% { filter: brightness(1); scale: 1; } 50% { filter: brightness(1.3) drop-shadow(0 0 12px #ffc23a); scale: 1.04; } }
@media (prefers-reduced-motion: reduce) {
  #result *, #result, #resWash, #resPlaque, #ui #bal.resGlow { animation: none !important; }
  #result:not(.enter) .resPanel { opacity: 1; }
  #resWash.wash { opacity: .26; }
}
/* ===== end of build 143 ===== */

/* ===== build 147: the bonus result stands in the middle of the screen, its tier title over it (the title is placed in the
   room between the tubes' top and the panel's top, flow/result.js rsTitleAt): the panel is centred in the screen below a
   band kept for the title ===== */
#result { justify-content: center; padding-top: min(22vh, 190px); }
@media (orientation: landscape) { #result { padding-top: min(11vh, 90px); } }
/* ===== end of build 147 ===== */


/* ---- juice stains (frontend-stain): the GRAND plate's count of the slots at x2 or more, shown in the bonus ---- */
#jpProg { display: none; position: absolute; left: 50%; top: 100%; transform: translate(-50%, -28%); z-index: 2;
  padding: 3px 12px 2px; border-radius: 16px; background: #2a1204eb; border: 3px solid #ff9a1e; color: #ffd9a0;
  font: 400 22px 'Spicy Rice', Fredoka, sans-serif; letter-spacing: .02em; line-height: 1.1; white-space: nowrap;
  font-style: normal; box-shadow: 0 3px 8px #0008; }
#jpProg.on { display: block; }
#ui[data-layout="port"] #jpProg { font-size: 27px; padding: 4px 14px 3px; }
#jpProg.tick { animation: jpProgTick .42s ease-out; }
#jpProg.full { background: #ffd23c; color: #2a1405; border-color: #fff3c0; animation: jpProgFull 1s ease-in-out infinite; }
@keyframes jpProgTick { 0% { transform: translate(-50%, -28%) scale(1.3); } 100% { transform: translate(-50%, -28%) scale(1); } }
@keyframes jpProgFull { 0%, 100% { box-shadow: 0 0 6px #ffd23c; } 50% { box-shadow: 0 0 22px #ffd23c; } }
/* the intro card's stains row: two fruit with an x2 badge on them */
#intro .iic.stain { position: relative; }
#intro .iic.stain em { position: absolute; right: -4px; bottom: -6px; padding: 1px 8px; border-radius: 12px; font-style: normal;
  background: #2a1204eb; border: 2px solid #ff9a1e; color: #ff9a1e; font-size: 22px; line-height: 1.15; }

/* ---- charges (frontend-charge): no jackpots; the respin plate in the "lives" rule shows the rule instead of lamps ---- */
#ui .jp { display: none !important; }
#respinsRule { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  font: 400 26px 'Spicy Rice', Fredoka, sans-serif; color: #ffe9b8; letter-spacing: .03em; text-shadow: 0 3px 0 #000a; }
#ui[data-layout="port"] #respinsRule { font-size: 32px; }
#respins.lives .lamp, #respins.count .lamp { display: none; }
#respins.lives #respinsRule, #respins.count #respinsRule { display: block; }
#intro .rule[hidden] { display: none; }

/* ---- AI-tells pass (own-game references/ai-tells.md AT5 / AT6 / AT9): no stock effects, no loops shared by everything,
   SPIN never changes size ---- */
/* AT6: no rays and no glow disc behind the loading screen's feature icons */
.fic::before, .fic::after { display: none !important; }
/* AT6: no four-point twinkles anywhere (SPIN's rim, BUY, the intro and result titles) */
.moStars { display: none !important; }
/* AT6: one light at rest, SPIN's own; BUY has no halo of its own */
#ui #btnBuy::before { display: none !important; }
/* SPIN never changes size: no breathing scale at rest (its light answers instead) */
#ui.r70.rest #btnSpin.idle.breath:not(.down):not(.burst) { animation: none !important; }
/* AT9: the BUY pineapple does not hop by itself */
#ui.r70.rest #btnBuy:not(.off) .moPine .pine.hop { animation: none !important; }
/* AT9: the intro card's icons pop in once and stand still (no bob shared by all of them); CONTINUE pops in and breathes,
   the one thing on the card that asks for a tap */
#intro.enter .rule .iic > * { animation: iconPop .42s cubic-bezier(.3, 1.6, .5, 1) both !important; }
#intro.enter .introPanel .tcit { animation: iconPop .46s cubic-bezier(.3, 1.6, .5, 1) .12s both !important; }
#intro.enter #introGo { animation: goPop .5s cubic-bezier(.2, .9, .3, 1.45) .5s both, goBreath 1.7s ease-in-out 1s 8 !important; }
#intro .moGoGlow { display: none !important; }
/* AT6: the result's plate lands with its light once, no breathing glow after */
#result:not(.plain) .resPlate.landed::before { animation: resGlowIn .5s ease-out both !important; }
/* AT5: the studio splash on a flat ground */
#studio, #studio.spine { background: #11151d !important; }

/* the 7x7 board's bonus meter: five golden-citrus sockets (3 = BONUS, 5 = SUPER) at the size the eight had, centred on
   the plate; the feature chips stand under the 3rd and the 5th socket */
#ui.r70 #meter .mcs { left: 22.5%; right: 22.5%; grid-template-columns: repeat(5, 1fr); }
#ui.r70 #meter .mtag.m6 { left: 50%; }
#ui.r70 #meter .mtag.m8 { left: 72%; }
/* a full meter: its lit sockets flare twice where they stand, after the last one has popped in; the glow follows each
   round lamp. The plate itself stays still: a square box-shadow round the element blinked over the capsule's round ends */
#ui.r70 #meter.full { animation: none; }
#ui.r70 #meter.full .mcs img.lit { animation: mfullLamp .55s cubic-bezier(.3, 0, .3, 1) .42s 2; }
#ui.r70 #meter.full .mcs img.lit.pop { animation: msock .42s cubic-bezier(.2, 1.5, .4, 1), mfullLamp .55s cubic-bezier(.3, 0, .3, 1) .42s 2; }
@keyframes mfullLamp { 45% { transform: scale(1.16); filter: drop-shadow(0 0 9px #ffc53d) brightness(1.18); } }

/* Focus (slot-visual-hierarchy): SPIN is the one lit control on the screen, a glowing dome of orange juice in its brass
   bezel (img/r200/spin_juice; in the bonus the same dome without the word holds the respins left). The round keys
   (menu, sound, auto, speed) step back: darker and less saturated, so SPIN and BONUS lead */
#ui.r70 #btnSpin:not(#btnBuy)::before { background: url(assets/img/r200/spin_juice.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 6px 0 #160902) drop-shadow(0 0 18px #ff9a1e88) drop-shadow(0 11px 12px #000a); }
#ui.r70 #btnSpin.inBonus:not(#btnBuy)::before { background: url(assets/img/r200/spin_juice_blank.webp?v=232) center / contain no-repeat; }
#ui.r70 #btnSpin.down:not(#btnBuy)::before { filter: drop-shadow(0 1px 0 #160902) drop-shadow(0 0 10px #ff9a1e66) drop-shadow(0 4px 6px #0008) brightness(.94); }
#ui.r70 .btn:is(#btnMenu, #btnSound, #btnAuto, #btnTurbo, #btnMinus, #btnPlus):not(#btnBuy):not(#btnSpin) { filter: drop-shadow(0 3px 2px #0009) brightness(.68) saturate(.55); }
/* BONUS is the second accent: its own lime glow and a little more light than the keys, under SPIN's size and fire */
#ui.r70 #btnBuy:not(.off) > img { filter: drop-shadow(0 0 12px #a6f03aaa) drop-shadow(0 6px 8px #0008) brightness(1.12) saturate(1.15); }
/* SUPER only by buy: three sockets for the bonus, no SUPER mark, and the meter's second line is not drawn */
#ui.r70 #meter.nosuper .mcs { left: 33%; right: 33%; grid-template-columns: repeat(3, 1fr); }
#ui.r70 #meter.nosuper #mc3, #ui.r70 #meter.nosuper #mc4, #ui.r70 #meter.nosuper .mtag.m8, #ui.r70 #meter.nosuper #meterLab2 { display: none; }
#ui.r70 #meter.nosuper .mtag.m6 { left: 50%; }

/* ui/plaque.js: a nine-slice plate drawn as one picture of its exact screen size replaces the border-image (no thin
   lines where the nine pieces meet) */
.plqd { border-image-source: none !important; border-color: transparent !important; background-size: 100% 100% !important; background-origin: border-box !important;
  background-clip: border-box !important; background-repeat: no-repeat !important; background-position: 0 0 !important; }

/* the loader's cards: one composed picture each (art-src/sr7/compose211.py: five touching strawberries, the painted
   multipliers on their juice light, three golden oranges with their BONUS plaques) */
#splash .fic.one img { left: -4%; top: -6%; width: 108%; height: 104%; object-fit: contain; }

/* the buy cards' pictures: golden oranges with their BONUS plaques, three for SQUEEZE and five for SUPER
   (assets/img/r211, art-src/sr7/compose211.py) */
body.r70 .offer[data-tier="squeeze"] .opic::after { background-image: url(assets/img/r211/card_squeeze3.webp?v=232); }
body.r70 .offer[data-tier="super"] .opic::after { background-image: url(assets/img/r211/card_super3.webp?v=232); }
#panel .cpic[data-tier="squeeze"] { background-image: url(assets/img/r211/card_squeeze3.webp?v=232); aspect-ratio: 831 / 520; }
#panel .cpic[data-tier="super"] { background-image: url(assets/img/r211/card_super3.webp?v=232); aspect-ratio: 912 / 560; }

/* the loader's PLAY is the game's own SPIN: the same orange juice dome in its brass porthole, with PLAY painted in the
   same lettering (assets/img/r211/play_juice, made from r200/spin_juice) */
#splash #play::before { background: url(assets/img/r211/play_juice.webp?v=232) center / contain no-repeat;
  filter: drop-shadow(0 6px 0 #160902) drop-shadow(0 0 18px #ff9a1e88) drop-shadow(0 11px 12px #000a); }
#splash #play > b { background: none !important; }

/* SPIN answers a press in light only: it keeps its size and place (no drop, no shrink), no burst of drops and stars
   flies out from under it, and the hold-for-autoplay ring shows only on a real hold (input.js HOLD_SHOW), as a gold
   arc on the rim with no dark track behind it */
#ui.r70 #btnSpin.down { transform: none !important; }
#ui.r70 #btnSpin .moBurst { display: none !important; }
#btnSpin .holdRing .track { stroke: transparent !important; }
#btnSpin.holding .holdRing .fill { transition: stroke-dashoffset .48s linear; }
