:root {
  --ink: #041226;
  --paper: #fff7d1;
  --muted: #9cabc0;
  --red: #ffd400;
  --gold: #ffd400;
  --acid: #ffd400;
  --blue: #1d5da5;
  --panel: #071b36;
  --line: rgba(239, 231, 208, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--ink); }

.site-starfield-layer { position: fixed !important; z-index: 0; inset: 0; pointer-events: none; }
.topbar,.game-shell,footer { position: relative; z-index: 1; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 212, 0, 0.15), transparent 34rem),
    linear-gradient(130deg, #020b19 0%, #09244a 48%, #041226 100%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  transition: background 700ms ease, filter 250ms ease;
}

body[data-round="2"] { background: radial-gradient(circle at 50% -10%, rgba(68,139,255,.24), transparent 34rem), linear-gradient(130deg,#020b19,#0a2853 48%,#041226); }
body[data-round="3"] { background: radial-gradient(circle at 50% -10%, rgba(94,230,130,.16), transparent 34rem), linear-gradient(130deg,#020b19,#0a2b45 48%,#041226); }
body[data-round="4"] { background: radial-gradient(circle at 50% -10%, rgba(255,212,0,.22), transparent 34rem), linear-gradient(130deg,#020b19,#10294b 48%,#041226); }
body[data-round="5"] { background: radial-gradient(circle at 50% -10%, rgba(255,212,0,.32), transparent 34rem), linear-gradient(130deg,#020b19,#122d51 48%,#041226); }
body[data-round="6"] { background: radial-gradient(circle at 50% -10%, rgba(255,55,199,.22), transparent 35rem), linear-gradient(130deg,#020b19,#12264b 48%,#041226); }
body.bonus-mode { background: radial-gradient(circle at 50% 35%, rgba(255,0,190,.38), transparent 28rem), linear-gradient(125deg,#09000e,#2a0735 48%,#07000e); }
body.round-enter .machine { animation: roundPowerUp .75s cubic-bezier(.2,.8,.2,1); }
@keyframes roundPowerUp { 0% { filter: brightness(.5); transform: scale(.97); } 45% { filter: brightness(1.65) saturate(1.5); } 100% { filter: none; transform: scale(1); } }

button { font: inherit; }
button:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 18% 24%, rgba(255,255,255,.38) 0 1px, transparent 1px 5px),
    repeating-radial-gradient(circle at 73% 61%, rgba(255,255,255,.2) 0 1px, transparent 1px 7px);
  background-size: 31px 29px, 43px 37px;
  mix-blend-mode: soft-light;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}
.lucky-header-left { display: flex; align-items: center; gap: clamp(12px,2vw,28px); min-width: 0; }

.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup img { width: 96px; height: 48px; object-fit: contain; }
.brand-lockup h1 { margin: 0; font: 900 clamp(24px, 3vw, 38px)/0.95 Impact, "Arial Black", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-lockup h1 strong { color: var(--gold); font-weight: inherit; }
.eyebrow { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; }

.top-actions { display: flex; align-items: center; gap: 14px; }
.virtual-only { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.icon-button, .text-button, .close-button {
  color: var(--paper);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; }
.icon-button[aria-pressed="true"] { color: var(--muted); text-decoration: line-through; }
#fullscreen-toggle { font-size: 20px; line-height: 1; }
#fullscreen-toggle[aria-pressed="true"] { color: var(--gold); border-color: rgba(255,212,0,.65); text-decoration: none; }
.text-button { padding: 10px 0; border-bottom: 1px solid currentColor; font-size: 11px; text-transform: uppercase; }

.profile-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 156px;
  min-height: 40px;
  gap: 9px;
  padding: 7px 13px 7px 11px;
  overflow: hidden;
  color: var(--paper);
  border: 1px solid rgba(238,231,208,.25);
  background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(0,0,0,.16));
  clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);
  font-family: "Courier New",monospace;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease,border-color 180ms ease,background 180ms ease,transform 180ms ease;
}
.profile-trigger::after { position: absolute; right: 5px; bottom: 4px; width: 13px; height: 2px; content: ""; background: currentColor; opacity: .25; }
.profile-trigger:hover { color: var(--gold); border-color: rgba(255,211,79,.58); transform: translateY(-1px); }
.profile-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; box-shadow: inset 0 0 0 2px var(--gold); }
.profile-trigger i { flex: 0 0 auto; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; background: transparent; opacity: .55; }
.profile-trigger-copy { display: grid; min-width: 0; gap: 3px; text-align: left; }
.profile-trigger-copy small { color: var(--muted); font: 700 5px/1 "Courier New",monospace; letter-spacing: .18em; white-space: nowrap; }
.profile-trigger-copy b { min-width: 0; overflow: hidden; font: 900 8px/1 "Courier New",monospace; letter-spacing: .11em; text-overflow: ellipsis; white-space: nowrap; }
.profile-trigger.signed-in { color: var(--gold); border-color: rgba(255,211,79,.62); background: linear-gradient(145deg,rgba(255,211,79,.1),rgba(0,0,0,.18)); }
.profile-trigger.signed-in i { border-color: var(--gold); background: var(--gold); opacity: 1; box-shadow: 0 0 9px rgba(255,211,79,.78); }
.profile-trigger.loading i { border-color: var(--gold); border-right-color: transparent; opacity: 1; animation: playerPassConnecting .8s linear infinite; }
@keyframes playerPassConnecting { to { transform: rotate(360deg); } }

body.focus-mode, body.native-fullscreen {
  --fullscreen-header: 54px;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}
body.focus-mode {
  position: fixed;
  inset: 0;
}
html:fullscreen, html:-webkit-full-screen { width: 100%; min-height: 100%; background: var(--ink); }
body.focus-mode .topbar, body.native-fullscreen .topbar {
  min-height: var(--fullscreen-header);
  height: var(--fullscreen-header);
  padding: 5px 18px;
}
body.focus-mode .brand-lockup img, body.native-fullscreen .brand-lockup img { width: 68px; height: 36px; }
body.focus-mode .brand-lockup h1, body.native-fullscreen .brand-lockup h1 { font-size: 24px; }
body.focus-mode .eyebrow, body.native-fullscreen .eyebrow { display: none; }
body.focus-mode .game-shell, body.native-fullscreen .game-shell {
  height: calc(100dvh - var(--fullscreen-header));
  grid-template-columns: minmax(180px, .72fr) minmax(380px, 1.65fr) minmax(210px, .82fr);
  width: min(1560px, calc(100% - 16px));
  gap: clamp(10px,1.4vw,24px);
  padding: 6px 0 8px;
  overflow: hidden;
  align-items: center;
}
body.focus-mode .machine-area, body.native-fullscreen .machine-area {
  max-width: min(640px, calc(100dvh - var(--fullscreen-header) - 168px));
}
body.chef-bonus-mode.focus-mode .machine-area,
body.chef-bonus-mode.native-fullscreen .machine-area {
  max-width: min(600px, calc(100dvh - var(--fullscreen-header) - 260px));
}
body.focus-mode .controls, body.native-fullscreen .controls {
  flex-wrap: wrap;
  gap: 8px;
}
body.focus-mode .bet-controls, body.native-fullscreen .bet-controls { min-width: 108px; padding: 7px 8px; }
body.focus-mode .buy-feature-button, body.native-fullscreen .buy-feature-button { min-width: 112px; min-height: 50px; padding: 8px 10px; }
body.focus-mode .buy-feature-button span, body.native-fullscreen .buy-feature-button span { font-size: 15px; }
body.focus-mode .autoplay-controls, body.native-fullscreen .autoplay-controls { min-width: 148px; padding: 7px 8px; }
body.focus-mode .chef-cauldron-hud, body.native-fullscreen .chef-cauldron-hud {
  grid-template-columns: 120px 62px;
  width: 202px;
  min-height: 106px;
  margin-bottom: 5px;
}
body.focus-mode .chef-pot-visual, body.native-fullscreen .chef-pot-visual {
  width: 120px;
  height: 104px;
}
body.focus-mode .panel, body.native-fullscreen .panel {
  max-height: calc(100dvh - var(--fullscreen-header) - 18px);
  padding: clamp(12px,1.4vw,20px);
  overflow: auto;
}
body.focus-mode .panel-title, body.native-fullscreen .panel-title { margin-bottom: 14px; }
body.focus-mode footer, body.native-fullscreen footer { display: none; }

.game-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(420px, 1.65fr) minmax(220px, 0.82fr);
  gap: clamp(16px, 2.4vw, 38px);
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 58px) 0 36px;
  align-items: center;
}

.panel {
  align-self: stretch;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(9, 34, 68, 0.94), rgba(3, 15, 32, 0.96));
  box-shadow: var(--shadow);
}
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.panel-title i { height: 1px; flex: 1; background: var(--line); }

.round-display { display: flex; align-items: end; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.round-display span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.round-display strong { font: 900 28px Impact, "Arial Black", sans-serif; }
.round-display strong b { color: var(--acid); font-weight: inherit; }

.meter-block { margin: 22px 0; }
.meter-label { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 10px; text-transform: uppercase; }
.meter-label span:last-child { color: var(--acid); }
.meter { height: 8px; overflow: hidden; border: 1px solid rgba(215, 255, 50, 0.3); background: #080a0d; }
.meter div { width: 0; height: 100%; background: linear-gradient(90deg, #8eb30d, var(--acid)); transition: width 350ms ease; }

.round-contract { --deadline-color: #ffd34f; margin: -6px 0 14px; padding: 14px; border: 1px solid color-mix(in srgb,var(--deadline-color) 48%,transparent); background: linear-gradient(135deg,color-mix(in srgb,var(--deadline-color) 10%,transparent),rgba(3,15,32,.7)); box-shadow: inset 0 0 22px color-mix(in srgb,var(--deadline-color) 5%,transparent); transition: border-color .25s ease,background .25s ease,box-shadow .25s ease; }
.round-contract-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-transform: uppercase; }
.round-contract-head > span { color: var(--deadline-color); font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.round-contract-head strong { font: 900 13px Impact,"Arial Black",sans-serif; white-space: nowrap; }
.round-contract-head strong b { color: var(--deadline-color); font: inherit; }
.spin-pips { display: grid; grid-template-columns: repeat(var(--spin-count,5),1fr); gap: 5px; margin: 11px 0; }
.spin-pips i { height: 8px; border: 1px solid color-mix(in srgb,var(--deadline-color) 42%,transparent); background: rgba(255,255,255,.035); }
.spin-pips i.available { background: var(--deadline-color); box-shadow: 0 0 10px color-mix(in srgb,var(--deadline-color) 45%,transparent); }
.round-contract p { margin: 0; color: #e6ecf5; font-size: 10px; line-height: 1.45; }
.round-contract small { display: block; margin-top: 8px; color: #9ca9ba; font-size: 7px; font-weight: 800; line-height: 1.5; text-transform: uppercase; }
.round-contract.warning { --deadline-color: #ff9b35; }
.round-contract.danger { --deadline-color: #ff4259; animation: deadlinePulse .72s ease-in-out infinite alternate; }
.round-contract.cleared { --deadline-color: var(--acid); animation: none; }
.round-contract.failed { --deadline-color: #ff4259; background: rgba(111,4,25,.28); animation: none; }
@keyframes deadlinePulse { to { box-shadow: inset 0 0 26px rgba(255,37,75,.13),0 0 19px rgba(255,37,75,.22); } }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-card { min-height: 82px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.stat-card span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 8px; font: 900 27px Impact, "Arial Black", sans-serif; }
.stat-card strong b { font: inherit; }
.stat-card strong i { color: var(--muted); font: 900 15px Impact,"Arial Black",sans-serif; font-style: normal; }
.spins-card strong b { color: var(--acid); }
.coins-card strong { color: var(--gold); }
.run-message { min-height: 54px; margin-top: 18px; padding: 12px; color: #d3deec; border-left: 2px solid var(--gold); background: rgba(255,212,0,.06); font-size: 10px; line-height: 1.5; }
.round-modifier { margin-top: 12px; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.round-modifier span { display: block; color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.round-modifier b { display: block; margin-top: 6px; color: var(--acid); font-size: 9px; line-height: 1.45; text-transform: uppercase; }
.scatter-hint { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; border: 1px solid rgba(255,35,190,.35); background: rgba(255,0,190,.06); }
.scatter-hint img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 9px #ff19c8); }
.scatter-hint span { color: #d3a8ce; font-size: 8px; line-height: 1.4; text-transform: uppercase; }
.scatter-hint b { color: #ff62d5; }

.machine-area { position: relative; width: 100%; max-width: 720px; justify-self: center; }
.bonus-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto 12px; padding: 11px 16px; border: 1px solid #ff35c7; background: linear-gradient(90deg,rgba(255,0,190,.22),rgba(113,0,255,.18)); box-shadow: 0 0 30px rgba(255,0,190,.22); text-transform: uppercase; }
.bonus-hud[hidden], .gusto-hud[hidden], .egg-progress[hidden] { display: none !important; }
.bonus-hud span { color: #ff71da; font-size: 8px; letter-spacing: .18em; }
.bonus-hud strong { font: 900 20px Impact,"Arial Black",sans-serif; }
.bonus-hud strong b { color: var(--gold); }
.bonus-hud small { color: #d3a8ce; font-size: 8px; }
.chef-cauldron-hud { --chef-fill: 0%; --liquid-scale-x: .55; --liquid-scale-y: .28; --liquid-opacity: .3; position: relative; z-index: 12; display: grid; grid-template-columns: 184px 76px; width: 270px; min-height: 174px; align-items: center; justify-items: center; gap: 4px; margin: 0 auto 10px; padding: 0 5px; background: transparent; text-align: center; }
.chef-pot-visual { position: relative; width: 184px; height: 174px; transform: perspective(460px) rotateX(7deg); transform-origin: 50% 70%; }
.chef-pot-visual::before { content: ""; position: absolute; z-index: 3; left: 14%; top: 12%; width: 72%; height: 27%; border-radius: 50%; background: radial-gradient(ellipse at 50% 58%,#080b12 0 45%,#1c1012 72%,#040609 100%); box-shadow: inset 0 5px 12px #000; }
.chef-pot-visual img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 8px rgba(0,0,0,.72)); }
.chef-liquid { position: absolute; z-index: 4; left: 14%; top: 12%; width: 72%; height: 27%; overflow: visible; border-radius: 50%; background: radial-gradient(ellipse at 48% 38%,#fff9a6 0 5%,#ffc43b 17%,#ff6a24 48%,#d91976 76%,#67103c 100%); box-shadow: inset 0 3px 7px rgba(255,255,255,.64),0 0 22px rgba(255,84,174,.8); opacity: var(--liquid-opacity); transform: scale(var(--liquid-scale-x),var(--liquid-scale-y)); transition: transform .5s ease,opacity .5s ease,filter .45s ease; }
.chef-bonus-mode .chef-liquid {
  transition: transform .85s cubic-bezier(.2,.72,.2,1),opacity .85s ease,filter .7s ease;
}
.chef-liquid::after { content: ""; position: absolute; inset: -2px 5%; border-radius: 50%; border-top: 2px solid rgba(255,255,255,.85); animation: liquidRipple .9s ease-in-out infinite alternate; }
.chef-liquid i { position: absolute; width: 7px; height: 7px; bottom: 30%; border: 1px solid #fff9ba; border-radius: 50%; opacity: 0; }
.chef-liquid i:nth-child(1) { left: 18%; }
.chef-liquid i:nth-child(2) { left: 48%; animation-delay: .25s; }
.chef-liquid i:nth-child(3) { left: 76%; animation-delay: .5s; }
.chef-cauldron-hud[data-fill-tier="simmering"] .chef-liquid i,.chef-cauldron-hud[data-fill-tier="boiling"] .chef-liquid i { animation: chefBubble 1.1s ease-in infinite; }
.chef-cauldron-hud[data-fill-tier="boiling"] .chef-liquid { filter: brightness(1.35) saturate(1.25); animation: liquidBoil .24s ease-in-out infinite alternate; }
.chef-fill-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chef-cauldron-hud span { margin-top: 5px; color: #ffc168; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.chef-cauldron-hud strong { color: var(--gold); font: 900 32px Impact,"Arial Black",sans-serif; text-shadow: 3px 3px #000,0 0 15px #ff4bab; }
.chef-cauldron-hud.spill { animation: cauldronSpill 1.35s cubic-bezier(.2,.72,.2,1); }
.chef-cauldron-hud.finalize { animation: cauldronFinalize 1.7s ease; }
@keyframes cauldronSpill { 35% { transform: rotate(-8deg) scale(1.1); filter: brightness(1.45); } 65% { transform: rotate(7deg) scale(1.08); } }
@keyframes cauldronFinalize { 45% { transform: scale(1.25); filter: brightness(1.8); box-shadow: 0 0 70px #ffd34f; } }
@keyframes liquidRipple { to { transform: scaleX(.9) translateY(1px); } }
@keyframes liquidBoil { to { transform: translateY(-2px) scaleX(1.02); } }
@keyframes chefBubble { 0% { opacity: 0; transform: translateY(0) scale(.3); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-28px) scale(1.35); } }
.machine-lights { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3%; width: 88%; margin: 0 auto -7px; padding: 0 5%; }
.machine-lights i { display: block; aspect-ratio: 1; max-width: 13px; justify-self: center; border-radius: 50%; background: #665900; box-shadow: inset 0 0 3px #000; }
.machine-lights i:nth-child(odd) { animation: blink 1.3s steps(2) infinite; }
.machine-lights i:nth-child(even) { animation: blink 1.3s .65s steps(2) infinite; }
@keyframes blink { 50% { background: var(--gold); box-shadow: 0 0 16px var(--gold); } }

.machine {
  position: relative;
  padding: clamp(13px, 2vw, 24px);
  border: clamp(7px, 1.2vw, 13px) solid #e5bf00;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(150deg, #123866, #061a35 32%, #0c2d58 70%, #041329);
  box-shadow: inset 0 0 0 2px #020a16, inset 0 0 0 4px #ffe34e, 0 0 46px rgba(255,212,0,.14), var(--shadow);
}
.machine::before { content: ""; position: absolute; inset: 3px; pointer-events: none; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; }
.machine-header { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 10px 14px; color: #9fb2ca; font-size: 8px; text-transform: uppercase; }
.machine-header strong { color: var(--paper); font: 900 clamp(22px, 4vw, 44px) Impact, "Arial Black", sans-serif; letter-spacing: .04em; }
.machine-header strong::first-letter { color: var(--gold); }

.reel-window { position: relative; overflow: hidden; padding: 2.4%; border: 5px solid #020a16; border-radius: 13px; background: #020b19; box-shadow: inset 0 0 28px #000, 0 0 0 2px #f0c900; }
.bonus-action-layer { position: fixed; z-index: 117; inset: 0; overflow: hidden; pointer-events: none; }
.collector-action-face { position: fixed; display: grid; width: clamp(108px,16vw,190px); aspect-ratio: 1; place-items: center; transform-origin: center; will-change: transform,opacity,filter; }
.collector-action-face::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: repeating-conic-gradient(from 0deg,rgba(255,211,79,.7) 0 4deg,transparent 4deg 13deg); filter: blur(1px); animation: collectorAuraSpin 2.4s linear infinite; }
.collector-action-face img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.72)) drop-shadow(0 0 18px #ffd34f); }
.collector-action-face > b { position: absolute; z-index: 4; right: -5px; bottom: 7px; min-width: 50px; padding: 5px 8px; color: #07152a; border: 3px solid #fff6bd; border-radius: 12px; background: #ffd34f; box-shadow: 3px 4px 0 #000,0 0 22px rgba(255,211,79,.9); font: 900 clamp(23px,4vw,42px)/1 Impact,"Arial Black",sans-serif; text-align: center; }
.collector-action-face > b.level-up { color: #fff; background: #ff38cf; animation: collectorBadgeLevel .52s cubic-bezier(.15,1.5,.3,1); }
.collector-action-face > span { position: absolute; z-index: 5; top: calc(100% + 5px); left: 50%; width: max-content; max-width: 88vw; padding: 6px 11px; color: #fff; border: 1px solid rgba(255,211,79,.7); background: rgba(3,13,28,.94); box-shadow: 0 5px 18px rgba(0,0,0,.6); font-size: clamp(8px,1.6vw,12px); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.collector-action-face.absorbing img { animation: collectorAbsorb .34s ease-in-out; }
.egg-collection-orb { position: fixed; display: grid; width: clamp(50px,8vw,82px); aspect-ratio: 1; place-items: center; will-change: transform,opacity; }
.egg-collection-orb::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 2px solid #ffd34f; box-shadow: 0 0 20px #ff38cf; }
.egg-collection-orb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 13px #ffd34f); }
.egg-collection-orb b { position: absolute; z-index: 2; bottom: -6px; padding: 3px 6px; color: #07152a; border-radius: 8px; background: #ffd34f; font: 900 15px Impact,"Arial Black",sans-serif; box-shadow: 2px 2px #000; }
.reel-cell.collector-activating { z-index: 10; border-color: #fff6bd; box-shadow: inset 0 0 30px rgba(255,211,79,.72),0 0 28px #ffd34f; animation: collectorCellCall .62s ease-in-out infinite alternate; }
.reel-cell.prize-being-collected { z-index: 9; border-color: #ffd34f; animation: prizeEggHarvest .7s ease-in-out infinite alternate; }
.collector-stage-badge { position: absolute; z-index: 5; right: 2px; bottom: 2px; min-width: 28px; padding: 2px 4px; color: #07152a; border: 1px solid #fff4b0; border-radius: 7px; background: #ffd34f; box-shadow: 2px 2px #000,0 0 9px rgba(255,211,79,.9); font: 900 15px/1 Impact,"Arial Black",sans-serif; }
.collector-stage-badge.level-up { color: #fff; background: #ff38cf; animation: collectorBadgeLevel .52s cubic-bezier(.15,1.5,.3,1); }
.egg-progress.stage-up { animation: eggProgressLevel 1s cubic-bezier(.16,.85,.2,1); }
.gusto-ingredient-mote { position: fixed; width: clamp(14px,2.4vw,25px); aspect-ratio: 1; border: 2px solid #fff; border-radius: 50%; background: var(--mote-color,#ffd34f); box-shadow: 0 0 12px var(--mote-color,#ffd34f),0 0 28px var(--mote-color,#ffd34f); will-change: transform,opacity; }
.gusto-flying-multiplier { position: fixed; min-width: 70px; padding: 9px 13px; color: #07152a; border: 3px solid #fff; border-radius: 14px; background: #ffd34f; box-shadow: 5px 6px #000,0 0 28px #ffd34f; font: 900 clamp(34px,7vw,72px)/1 Impact,"Arial Black",sans-serif; text-align: center; will-change: transform,opacity; }
.gusto-flying-multiplier[data-rarity="rare"],.gusto-flying-multiplier[data-rarity="epic"] { color: #fff; background: #ff38cf; box-shadow: 5px 6px #000,0 0 30px #ff38cf; }
.gusto-flying-multiplier[data-rarity="legendary"],.gusto-flying-multiplier[data-rarity="jackpot"] { background: #fff; box-shadow: 5px 6px #000,0 0 34px #fff,0 0 58px #ffd34f; }
.gusto-flying-multiplier.missing { filter: grayscale(.75); }
.gusto-hud.cooking .gusto-character { animation: gustoCooking .42s ease-in-out infinite alternate !important; }
.gusto-hud.fed .gusto-character { animation: gustoFed .5s cubic-bezier(.16,1.2,.3,1) !important; }
.gusto-tray > strong.catching { animation: gustoMultiplierCatch .62s cubic-bezier(.16,1.35,.3,1); }
.reel-cell.gusto-ingredient-source { z-index: 8; border-color: #65e8ff; box-shadow: inset 0 0 30px rgba(101,232,255,.5),0 0 24px rgba(255,56,207,.75); animation: gustoIngredientSource .42s ease-in-out infinite alternate; }
@keyframes collectorAuraSpin { to { transform: rotate(360deg); } }
@keyframes collectorAbsorb { 50% { transform: scale(1.23); filter: brightness(1.75) drop-shadow(0 0 28px #ffd34f); } }
@keyframes collectorBadgeLevel { 45% { transform: scale(1.65) rotate(-8deg); filter: brightness(1.8); } }
@keyframes collectorCellCall { to { transform: scale(.94); filter: brightness(1.3); } }
@keyframes prizeEggHarvest { to { transform: scale(.93); filter: brightness(1.65); box-shadow: inset 0 0 34px rgba(255,211,79,.7),0 0 25px #ff38cf; } }
@keyframes eggProgressLevel { 42% { transform: scale(1.045); border-color: #fff; box-shadow: 0 0 38px #ffd34f; filter: brightness(1.45); } }
@keyframes gustoCooking { to { transform: translateY(-3px) rotate(3deg) scale(1.04); filter: brightness(1.2); } }
@keyframes gustoFed { 45% { transform: scale(1.14) rotate(-4deg); filter: brightness(1.5); } }
@keyframes gustoMultiplierCatch { 45% { transform: scale(1.45); color: #fff; text-shadow: 0 0 18px #ffd34f; } }
@keyframes gustoIngredientSource { to { transform: scale(.94); filter: brightness(1.4); } }
@media (prefers-reduced-motion: reduce) {
  .collector-action-face::before,.collector-action-face.absorbing img,.reel-cell.collector-activating,.reel-cell.prize-being-collected,.egg-progress.stage-up,.gusto-hud.cooking .gusto-character,.gusto-hud.fed .gusto-character,.reel-cell.gusto-ingredient-source { animation: none !important; }
}
.reels { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(4px, .65vw, 8px); }
.reel-cell {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: radial-gradient(circle, #12315a, #061429 72%);
  transition: border-color 150ms, background 150ms, transform 150ms;
}
.reel-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.05) 49%, transparent 58%); }
.reel-cell img { width: 92%; height: 92%; object-fit: contain; image-rendering: -webkit-optimize-contrast; backface-visibility: hidden; filter: drop-shadow(0 6px 5px rgba(0,0,0,.62)); }
.reel-cell.spinning img {
  animation: reelFlow 270ms linear infinite;
  animation-delay: var(--reel-phase,0ms);
  will-change: transform, filter, opacity;
}
.reel-cell.settling img { animation: reelSettle 240ms cubic-bezier(.2,.9,.25,1.35); }
.chef-bonus-mode .reel-cell.spinning img {
  animation: gustoReelFlow 560ms linear infinite;
  animation-delay: var(--reel-phase,0ms);
}
.chef-bonus-mode .reel-cell.settling img {
  animation: gustoReelSettle 520ms cubic-bezier(.16,.82,.2,1.08);
}
.reel-cell.winner { z-index: 4; border-color: var(--gold); background: radial-gradient(circle, rgba(244,185,66,.26), #11141a 70%); transform: scale(.96); }
.reel-cell.winner img { animation: winnerPulse .5s ease-in-out infinite alternate; }
.reel-cell.cluster-break { z-index: 6; overflow: visible; animation: clusterCellBurst .68s cubic-bezier(.15,.75,.2,1) forwards; }
.reel-cell.cluster-break img { animation: clusterSymbolBreak .68s cubic-bezier(.12,.75,.2,1) forwards; }
.reel-cell.cluster-break::after {
  background: conic-gradient(from 20deg,transparent 0 10%,#fff 10% 12%,transparent 12% 24%,var(--gold) 24% 27%,transparent 27% 46%,#ff38cf 46% 49%,transparent 49% 100%);
  animation: clusterShards .68s ease-out forwards;
}
.reel-cell.cascade-drop img { animation: cascadeDrop .58s cubic-bezier(.12,.78,.2,1.2) var(--cascade-delay,0ms) both; }
.machine-area.scatter-suspense .reel-cell.cascade-drop img { animation-duration: 1.12s; animation-timing-function: cubic-bezier(.12,.62,.18,1); }
.chef-bonus-mode .reel-cell.cascade-drop img { animation-duration: .76s; animation-timing-function: cubic-bezier(.16,.76,.2,1.08); }
.reel-cell[data-rarity]::before { content: attr(data-rarity); position: absolute; z-index: 3; top: 4px; left: 5px; color: rgba(255,255,255,.72); font-size: 6px; letter-spacing: .1em; text-transform: uppercase; }
.reel-cell.rarity-common { box-shadow: inset 0 0 13px rgba(85,128,190,.11); }
.reel-cell.rarity-uncommon { border-color: rgba(97,255,75,.26); box-shadow: inset 0 0 18px rgba(62,255,48,.12); }
.reel-cell.rarity-rare { border-color: rgba(255,55,48,.4); box-shadow: inset 0 0 22px rgba(255,39,29,.16); }
.reel-cell.rarity-legendary { border-color: rgba(255,194,50,.58); box-shadow: inset 0 0 25px rgba(255,190,36,.21), 0 0 7px rgba(255,190,36,.15); }
.reel-cell.rarity-wild { border-color: rgba(215,255,50,.62); box-shadow: inset 0 0 26px rgba(215,255,50,.2), 0 0 8px rgba(215,255,50,.18); }
.reel-cell.rarity-scatter { border-color: #ff35c7; background: radial-gradient(circle,rgba(255,0,190,.25),#0d0712 72%); animation: scatterFrame .72s ease-in-out infinite alternate; }
.reel-cell.rarity-scatter img { width: 98%; height: 98%; filter: none; transform: translateZ(0); }
.reel-cell.sticky-egg {
  z-index: 4;
  border-color: #ffd34f;
  background: radial-gradient(circle,rgba(255,211,79,.32),#231604 72%);
  box-shadow: inset 0 0 26px rgba(255,211,79,.35),0 0 17px rgba(255,211,79,.62);
  animation: stickyEggPulse .72s ease-in-out infinite alternate;
}
.reel-cell.sticky-egg::before { content: "held"; color: #fff0a3; }
.reel-cell.sticky-egg img { filter: drop-shadow(0 0 12px rgba(255,211,79,.95)); }
.reel-cell.new-sticky-egg { animation: eggLockIn .85s cubic-bezier(.15,.85,.2,1) var(--egg-lock-delay,0ms) both; }
.reel-cell.egg-reveal { overflow: visible; animation: eggRevealCell 1s ease var(--egg-reveal-delay,0ms) both; }
.reel-cell.egg-reveal img { animation: eggGridCrack .72s cubic-bezier(.2,.75,.25,1) var(--egg-reveal-delay,0ms) forwards; }
.egg-multiplier {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff6b8;
  font: 900 clamp(18px,3.4vw,42px) Impact,"Arial Black",sans-serif;
  opacity: 0;
  text-shadow: 3px 3px 0 #000,0 0 18px #ffd34f;
  animation: eggMultiplierPop .9s cubic-bezier(.1,.85,.15,1.3) calc(var(--egg-reveal-delay,0ms) + 360ms) forwards;
}
.egg-multiplier[data-rarity="uncommon"] { color: #86ff72; animation-name: eggMultiplierBounce; text-shadow: 3px 3px 0 #000,0 0 18px #57ff45; }
.egg-multiplier[data-rarity="rare"] { color: #ff756b; animation-name: eggMultiplierShake; text-shadow: 3px 3px 0 #000,0 0 22px #ff4137; }
.egg-multiplier[data-rarity="epic"] { color: #df7cff; animation-name: eggMultiplierSlam; text-shadow: 3px 3px 0 #000,0 0 25px #c234ff; }
.egg-multiplier[data-rarity="legendary"] { color: #ffd34f; animation-name: eggMultiplierLegendary; text-shadow: 4px 4px 0 #000,0 0 14px #fff,0 0 34px #ffd34f; }
.egg-multiplier[data-rarity="jackpot"] { color: #fff; animation-name: eggMultiplierJackpot; text-shadow: 4px 4px 0 #000,0 0 12px #fff,0 0 34px #ffd34f,0 0 58px #ff38cf; }
.reel-cell.multiplier-epic { box-shadow: inset 0 0 30px rgba(213,108,255,.55),0 0 24px rgba(213,108,255,.8); }
.reel-cell.multiplier-legendary { box-shadow: inset 0 0 36px rgba(255,211,79,.65),0 0 34px rgba(255,211,79,.95); }
.reel-cell.multiplier-jackpot { z-index: 8; box-shadow: inset 0 0 40px rgba(255,255,255,.85),0 0 28px #ffd34f,0 0 52px #ff38cf; }
.reel-cell.stacking-egg { outline: 1px solid rgba(255,255,255,.72); outline-offset: -3px; }
@keyframes reelFlow {
  0% { transform: translateY(-28%) scale(.88); filter: blur(3px) drop-shadow(0 8px 7px #000); opacity: .58; }
  50% { transform: translateY(0) scale(.94); filter: blur(1px) drop-shadow(0 8px 7px #000); opacity: .92; }
  100% { transform: translateY(28%) scale(.88); filter: blur(3px) drop-shadow(0 8px 7px #000); opacity: .58; }
}
@keyframes reelSettle {
  0% { transform: translateY(-18%) scale(.94); filter: blur(1px); }
  65% { transform: translateY(5%) scale(1.03); }
  100% { transform: translateY(0) scale(1); filter: none; }
}
@keyframes gustoReelFlow {
  0% { transform: translateY(-34%) scale(.9); filter: blur(2.2px) drop-shadow(0 8px 7px #000); opacity: .62; }
  45% { transform: translateY(-2%) scale(.96); filter: blur(.7px) drop-shadow(0 8px 7px #000); opacity: .96; }
  55% { transform: translateY(2%) scale(.96); filter: blur(.7px) drop-shadow(0 8px 7px #000); opacity: .96; }
  100% { transform: translateY(34%) scale(.9); filter: blur(2.2px) drop-shadow(0 8px 7px #000); opacity: .62; }
}
@keyframes gustoReelSettle {
  0% { transform: translateY(-24%) scale(.92); filter: blur(2px); opacity: .7; }
  58% { transform: translateY(4%) scale(1.025); filter: blur(.3px); opacity: 1; }
  78% { transform: translateY(-2%) scale(.99); }
  100% { transform: translateY(0) scale(1); filter: none; opacity: 1; }
}
@keyframes winnerPulse { to { transform: scale(1.08) rotate(1deg); filter: drop-shadow(0 0 12px rgba(244,185,66,.9)); } }
@keyframes scatterFrame { to { border-color: #ff8ee3; box-shadow: inset 0 0 24px rgba(255,0,190,.28),0 0 14px rgba(255,0,190,.58); } }
@keyframes clusterCellBurst {
  0%,28% { border-color: var(--gold); box-shadow: 0 0 7px rgba(255,211,79,.6); }
  48% { background: rgba(255,211,79,.22); box-shadow: 0 0 16px rgba(255,211,79,.65); transform: scale(1.06); }
  100% { background: rgba(255,211,79,.08); box-shadow: none; transform: scale(.72); }
}
@keyframes clusterSymbolBreak {
  0%,22% { opacity: 1; transform: scale(1.06); filter: brightness(1.1) drop-shadow(0 0 7px var(--gold)); }
  46% { opacity: 1; transform: scale(1.26) rotate(-4deg); filter: brightness(1.7); }
  100% { opacity: 0; transform: scale(.08) rotate(24deg); filter: blur(4px) brightness(2.2); }
}
@keyframes clusterShards {
  0%,34% { opacity: 0; transform: scale(.3) rotate(0); }
  48% { opacity: 1; transform: scale(1.1) rotate(15deg); }
  100% { opacity: 0; transform: scale(2.25) rotate(85deg); }
}
@keyframes cascadeDrop {
  0% { opacity: 0; transform: translateY(-85%) scale(.78); filter: blur(4px) brightness(1.8); }
  68% { opacity: 1; transform: translateY(9%) scale(1.06); filter: none; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes stickyEggPulse { to { transform: scale(.97); box-shadow: inset 0 0 34px rgba(255,211,79,.5),0 0 25px rgba(255,211,79,.78); } }
@keyframes eggLockIn {
  0% { opacity: 0; transform: scale(.18) rotate(-18deg); filter: brightness(2.4); }
  62% { opacity: 1; transform: scale(1.14) rotate(4deg); }
  100% { transform: scale(1); filter: none; }
}
@keyframes eggRevealCell {
  0%,35% { filter: none; }
  48% { filter: brightness(3); transform: scale(1.08); }
  100% { filter: none; transform: scale(1); }
}
@keyframes eggGridCrack {
  0%,38% { opacity: 1; transform: scale(1); }
  54% { opacity: 1; transform: scale(1.18) rotate(-5deg); filter: brightness(2.4); }
  100% { opacity: 0; transform: scale(1.7) rotate(12deg); filter: blur(5px) brightness(3); }
}
@keyframes eggMultiplierPop {
  0% { opacity: 0; transform: scale(.12) rotate(-14deg); }
  55% { opacity: 1; transform: scale(1.32) rotate(3deg); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes eggMultiplierBounce {
  0% { opacity: 0; transform: translateY(25%) scale(.1); }
  42% { opacity: 1; transform: translateY(-18%) scale(1.25); }
  68% { transform: translateY(8%) scale(.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes eggMultiplierShake {
  0% { opacity: 0; transform: scale(.1) rotate(-12deg); }
  38% { opacity: 1; transform: scale(1.42) rotate(5deg); }
  52% { transform: translateX(-8%) scale(1.12) rotate(-4deg); }
  66% { transform: translateX(7%) scale(1.08) rotate(3deg); }
  82% { transform: translateX(-3%) scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes eggMultiplierSlam {
  0% { opacity: 0; transform: scale(3.4) rotate(-16deg); filter: blur(8px); }
  42% { opacity: 1; transform: scale(.82) rotate(3deg); filter: none; }
  62% { transform: scale(1.3) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes eggMultiplierLegendary {
  0% { opacity: 0; transform: scale(.05) rotate(-180deg); filter: brightness(4); }
  48% { opacity: 1; transform: scale(1.65) rotate(12deg); filter: brightness(2); }
  72% { transform: scale(.9) rotate(-3deg); filter: brightness(1.35); }
  100% { opacity: 1; transform: scale(1); filter: none; }
}
@keyframes eggMultiplierJackpot {
  0% { opacity: 0; transform: scale(.02) rotate(-260deg); filter: brightness(5) blur(6px); }
  36% { opacity: 1; transform: scale(2.1) rotate(16deg); filter: brightness(2.6); }
  56% { transform: scale(.8) rotate(-8deg); }
  72% { transform: scale(1.55) rotate(4deg); }
  86% { transform: scale(.92) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1); filter: none; }
}

.machine-readout { display: flex; align-items: baseline; justify-content: space-between; min-height: 58px; margin-top: 14px; padding: 13px 17px; border: 2px solid #020a16; background: #041329; box-shadow: inset 0 0 15px #000; color: #8fa7c4; }
.machine-readout span { font-size: 9px; letter-spacing: .18em; }
.machine-readout strong { overflow: hidden; color: var(--acid); font: 900 clamp(22px, 4vw, 38px) Impact, "Arial Black", sans-serif; text-overflow: ellipsis; white-space: nowrap; }

.wallet-strip { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; width: min(520px,94%); margin: 15px auto 0; padding: 12px 18px; border: 1px solid rgba(255,212,0,.42); background: linear-gradient(90deg,rgba(7,31,63,.95),rgba(4,18,38,.95)); box-shadow: 0 10px 26px rgba(0,0,0,.25); text-transform: uppercase; }
.wallet-strip > span { display: grid; gap: 4px; color: var(--muted); font-size: 7px; letter-spacing: .15em; }
.wallet-strip > span > b { color: inherit; font: inherit; font-weight: inherit; }
.wallet-strip > span:last-child { text-align: right; }
.wallet-strip strong { color: var(--paper); font: 900 18px Impact,"Arial Black",sans-serif; letter-spacing: .04em; }
.wallet-strip strong b { color: var(--gold); }
.wallet-strip i { width: 1px; height: 28px; background: rgba(255,212,0,.25); }
.controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 15px; }
.bet-controls { display: grid; gap: 6px; min-width: 132px; padding: 9px 10px; border: 1px solid rgba(255,211,79,.42); background: rgba(3,23,47,.92); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.bet-controls[hidden], .buy-feature-button[hidden] { display: none !important; }
.bet-controls > span { color: var(--gold); font-size: 7px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.bet-controls > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.bet-controls button { min-height: 31px; padding: 5px; color: #ffe777; border: 1px solid rgba(255,211,79,.35); background: #09213f; cursor: pointer; font: 900 10px Arial,sans-serif; }
.bet-controls button:hover:not(:disabled), .bet-controls button[aria-pressed="true"] { color: #071627; border-color: var(--gold); background: var(--gold); box-shadow: 0 0 14px rgba(255,211,79,.3); }
.bet-controls button:disabled { cursor: not-allowed; opacity: .45; }
.spin-button, .primary-button {
  position: relative;
  border: 0;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 7px 0 #8e7600, 0 13px 30px rgba(255,212,0,.22);
  cursor: pointer;
  text-transform: uppercase;
}
.spin-button { width: 150px; min-height: 76px; border-radius: 50%; }
.spin-button span { display: block; font: 900 28px Impact, "Arial Black", sans-serif; letter-spacing: .05em; }
.spin-button small { display: block; margin-top: -2px; opacity: .62; font-size: 8px; }
.spin-button:hover:not(:disabled), .primary-button:hover { background: #ffe75a; transform: translateY(-1px); }
.spin-button:active:not(:disabled), .primary-button:active { transform: translateY(5px); box-shadow: 0 2px 0 #8e7600; }
.spin-button:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .55; }
.buy-feature-button { min-width: 132px; min-height: 58px; padding: 10px 14px; color: #fff; border: 1px solid #ff38cf; background: linear-gradient(145deg,#4b1248,#171333); box-shadow: 0 0 24px rgba(255,56,207,.18); cursor: pointer; text-transform: uppercase; }
.buy-feature-button span { display: block; font: 900 17px Impact,"Arial Black",sans-serif; letter-spacing: .06em; }
.buy-feature-button small { display: block; margin-top: 4px; color: #ffd34f; font-size: 7px; letter-spacing: .05em; }
.buy-feature-button:hover:not(:disabled) { border-color: #ffd34f; background: linear-gradient(145deg,#76205f,#22204d); transform: translateY(-2px); }
.buy-feature-button:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .42; }
.cash-out-button { padding: 13px 15px; color: var(--ink); border: 0; background: var(--acid); cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.autoplay-controls { display: grid; gap: 6px; min-width: 180px; padding: 9px 10px; border: 1px solid rgba(75,220,255,.4); background: rgba(3,23,47,.9); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.autoplay-controls[hidden], .autoplay-stop[hidden], .autoplay-choices[hidden] { display: none !important; }
.autoplay-controls > span { color: #91e9ff; font-size: 7px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.autoplay-choices { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.autoplay-choices button, .autoplay-stop { min-height: 30px; padding: 5px 7px; color: #dffaff; border: 1px solid rgba(75,220,255,.45); background: #09294b; cursor: pointer; font: 900 9px/1 Arial,sans-serif; }
.autoplay-choices button:hover { color: #061627; background: #68e7ff; }
.autoplay-stop { color: #171004; border-color: #ffd34f; background: #ffd34f; text-transform: uppercase; }
.autoplay-stop b { font-size: 11px; }
.bonus-mode .bet-controls,
.bonus-mode .buy-feature-button,
.bonus-mode .autoplay-controls { display: none !important; }
.fun-mode .round-display,
.fun-mode .meter-block,
.fun-mode .round-contract,
.fun-mode .round-modifier,
.fun-mode .loadout-title,
.fun-mode .loadout,
.fun-mode .cash-out-button,
.fun-mode .spins-card { display: none !important; }
.fun-mode .stats-grid { grid-template-columns: repeat(2,1fr); }
.fun-mode .stats-panel { border-color: rgba(75,220,255,.32); }
.machine-area.scatter-suspense .machine { animation: suspensePulse .55s ease-in-out infinite alternate; }
.machine-area.scatter-suspense .reel-cell.spinning img { animation-duration: var(--suspense-speed,520ms); }
@keyframes suspensePulse { to { box-shadow: inset 0 0 0 2px #020a16,inset 0 0 0 4px #fff5a8,0 0 58px rgba(255,212,0,.5),var(--shadow); } }

.paytable { display: grid; gap: 5px; }
.paytable-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; min-height: 48px; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.paytable-row img { width: 38px; height: 38px; object-fit: contain; }
.paytable-row span { color: #d1cdbf; font-size: 9px; text-transform: uppercase; }
.paytable-row b { color: var(--gold); font-size: 11px; }
.paytable-row::after { content: attr(data-rarity); grid-column: 2; margin-top: -13px; color: var(--muted); font-size: 6px; letter-spacing: .14em; text-transform: uppercase; }
.paytable-row[data-rarity="rare"] b { color: #ff6259; }.paytable-row[data-rarity="legendary"] b { color: #ffd35f; }.paytable-row[data-rarity="wild"] b { color: var(--acid); }.paytable-row[data-rarity="scatter"] b { color: #ff58d3; }
.loadout-title { margin-top: 25px; margin-bottom: 14px; }
.loadout { display: flex; flex-wrap: wrap; gap: 7px; }
.loadout p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.upgrade-chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 8px; text-transform: uppercase; }
.upgrade-chip[data-tier="basic"] { border-color: #57e36b; }
.upgrade-chip[data-tier="rare"] { border-color: #4b9dff; }
.upgrade-chip[data-tier="legendary"] { border-color: #ff5148; }
.upgrade-chip[data-tier="mythic"] { border-color: #ffd34f; }
.upgrade-chip b { color: var(--acid); }

footer { display: flex; justify-content: center; gap: 8vw; padding: 20px 30px 27px; color: #686963; border-top: 1px solid var(--line); font-size: 8px; text-transform: uppercase; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; max-width: calc(100% - 40px); padding: 12px 18px; color: var(--paper); border: 1px solid rgba(255,212,0,.5); background: #071d3c; box-shadow: var(--shadow); font-size: 10px; font-weight: 700; text-transform: uppercase; transform: translate(-50%, 120px); transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); }

.screen-flash { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.screen-flash.flash { animation: screenFlash .42s ease-out; }
@keyframes screenFlash { 0% { opacity: .18; background: var(--flash-color,#ffd74f); } 45% { opacity: .08; background: var(--flash-color,#ffd74f); } 100% { opacity: 0; } }
.fx-layer { position: fixed; inset: 0; z-index: 85; overflow: hidden; pointer-events: none; }
.particle { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); background: var(--color); clip-path: polygon(50% 0,61% 35%,100% 50%,61% 65%,50% 100%,39% 65%,0 50%,39% 35%); animation: particleBurst var(--duration) cubic-bezier(.1,.7,.2,1) forwards; transform: translate(-50%,-50%); }
@keyframes particleBurst { to { transform: translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(540deg) scale(.2); opacity: 0; } }
.win-slam { position: fixed; z-index: 90; left: 50%; top: 44%; display: grid; justify-items: center; pointer-events: none; opacity: 0; transform: translate(-50%,-50%) scale(.45) rotate(-6deg); text-transform: uppercase; }
.win-slam.show { animation: winSlam 1.15s cubic-bezier(.15,.85,.2,1) forwards; }
.win-slam span { color: #fff; font: 900 clamp(34px,7vw,84px)/.85 Impact,"Arial Black",sans-serif; text-shadow: 4px 4px 0 #000,0 0 28px var(--slam-color,#ffd74f); white-space: nowrap; }
.win-slam b { color: var(--slam-color,#ffd74f); font: 900 clamp(25px,5vw,58px) Impact,"Arial Black",sans-serif; text-shadow: 3px 3px 0 #000; }
@keyframes winSlam { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.35) rotate(-7deg); } 18%,65% { opacity: 1; transform: translate(-50%,-50%) scale(1.06) rotate(-2deg); } 100% { opacity: 0; transform: translate(-50%,-62%) scale(1.22) rotate(2deg); } }
.machine-area.hit-shake { animation: hitShake .45s linear; }
@keyframes hitShake { 0%,100% { transform: translate(0); } 20% { transform: translate(-7px,3px) rotate(-.4deg); } 40% { transform: translate(6px,-3px) rotate(.4deg); } 60% { transform: translate(-4px,2px); } 80% { transform: translate(3px,-1px); } }
.bonus-announcement { position: fixed; z-index: 110; inset: 0; display: grid; place-content: center; justify-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle,rgba(255,212,0,.24),rgba(255,0,190,.22) 34%,rgba(4,18,38,.97) 72%); pointer-events: none; opacity: 0; text-align: center; text-transform: uppercase; }
.bonus-announcement::before { content: ""; position: absolute; inset: -55%; opacity: 0; background: repeating-conic-gradient(from 0deg,rgba(255,212,0,.25) 0 2deg,transparent 2deg 9deg,rgba(255,255,255,.14) 9deg 10deg,transparent 10deg 17deg); filter: blur(2px); }
.bonus-announcement.show { animation: eggBonusVeil 6.4s ease forwards; }
.bonus-announcement.show::before { animation: eggBurstTunnel 6.4s cubic-bezier(.1,.7,.15,1) forwards; }
.egg-break-stage { position: absolute; z-index: 2; inset: 0; }
.breaking-egg { position: absolute; top: 50%; width: min(23vw,230px); aspect-ratio: 1; transform: translate(-50%,-50%); }
.breaking-egg:nth-child(1) { left: 24%; --egg-delay: 0ms; }
.breaking-egg:nth-child(2) { left: 50%; --egg-delay: 90ms; }
.breaking-egg:nth-child(3) { left: 76%; --egg-delay: 180ms; }
.breaking-egg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 0 22px rgba(255,212,0,.95)); will-change: transform,opacity; }
.breaking-egg .shell-left { clip-path: polygon(0 0,56% 0,44% 12%,58% 23%,43% 35%,58% 47%,43% 59%,57% 71%,44% 83%,55% 100%,0 100%); }
.breaking-egg .shell-right { clip-path: polygon(56% 0,100% 0,100% 100%,55% 100%,44% 83%,57% 71%,43% 59%,58% 47%,43% 35%,58% 23%,44% 12%); }
.bonus-announcement.show .shell-left { animation: eggShellLeft 1.85s cubic-bezier(.15,.7,.2,1) var(--egg-delay) forwards; }
.bonus-announcement.show .shell-right { animation: eggShellRight 1.85s cubic-bezier(.15,.7,.2,1) var(--egg-delay) forwards; }
.bonus-caricature { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(640px,74vw); opacity: 0; image-rendering: -webkit-optimize-contrast; filter: drop-shadow(0 0 28px rgba(255,212,0,.95)) drop-shadow(0 0 58px #ff37d1); will-change: transform,opacity,filter; }
.bonus-announcement.show .bonus-caricature { animation: caricatureHatch 6.4s cubic-bezier(.08,.6,.1,1) forwards; }
.bonus-charge-copy { position: relative; z-index: 4; display: grid; justify-items: center; opacity: 0; }
.bonus-announcement.show .bonus-charge-copy { animation: eggBonusCopy 6.4s ease forwards; }
.bonus-charge-copy span { color: #ffe774; font-size: clamp(9px,1.6vw,13px); letter-spacing: .28em; }
.bonus-charge-copy strong { max-width: 94vw; font: 900 clamp(42px,9vw,110px)/.82 Impact,"Arial Black",sans-serif; text-shadow: 5px 5px 0 #000,0 0 40px #ff19ca; }
.bonus-charge-copy b { margin-top: 14px; color: var(--gold); font-size: clamp(14px,3vw,28px); }
@keyframes eggBonusVeil { 0%,100% { opacity: 0; } 3%,95% { opacity: 1; } }
@keyframes eggBurstTunnel { 0% { opacity: 0; transform: scale(.12) rotate(0); } 30% { opacity: .22; } 88% { opacity: .76; transform: scale(1.25) rotate(28deg); } 100% { opacity: 0; transform: scale(1.6) rotate(34deg); } }
@keyframes eggShellLeft {
  0% { opacity: 0; transform: scale(.22) rotate(0); }
  14% { opacity: 1; transform: scale(1) rotate(-2deg); }
  22% { transform: translate(-4px,2px) scale(1.04) rotate(3deg); }
  30% { transform: translate(4px,-2px) scale(.98) rotate(-4deg); }
  38% { transform: translate(-5px,1px) scale(1.03) rotate(4deg); }
  46% { opacity: 1; transform: translate(0) scale(1.08); }
  100% { opacity: 0; transform: translate(-170px,-130px) scale(1.65) rotate(-68deg); }
}
@keyframes eggShellRight {
  0% { opacity: 0; transform: scale(.22) rotate(0); }
  14% { opacity: 1; transform: scale(1) rotate(2deg); }
  22% { transform: translate(4px,-2px) scale(1.04) rotate(-3deg); }
  30% { transform: translate(-4px,2px) scale(.98) rotate(4deg); }
  38% { transform: translate(5px,-1px) scale(1.03) rotate(-4deg); }
  46% { opacity: 1; transform: translate(0) scale(1.08); }
  100% { opacity: 0; transform: translate(170px,-130px) scale(1.65) rotate(68deg); }
}
@keyframes caricatureHatch {
  0%,24% { opacity: 0; transform: translate(-50%,-50%) scale(.05) rotate(-5deg); }
  32% { opacity: 1; transform: translate(-50%,-50%) scale(.22) rotate(4deg); }
  48% { transform: translate(-50%,-50%) scale(1.02) rotate(-2deg); }
  66% { opacity: 1; transform: translate(-50%,-52%) scale(1.02) rotate(1deg); }
  80% { transform: translate(-50%,-50%) scale(1.38); }
  94% { opacity: 1; filter: brightness(1.2) drop-shadow(0 0 62px #ffd400); transform: translate(-50%,-50%) scale(2.35); }
  100% { opacity: 0; filter: brightness(1.65); transform: translate(-50%,-48%) scale(3.8); }
}
@keyframes eggBonusCopy { 0%,68% { opacity: 0; transform: scale(.6); } 75%,96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }

.chef-announcement { position: fixed; z-index: 115; inset: 0; display: grid; place-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 55%,rgba(255,124,39,.27),rgba(132,25,100,.25) 38%,rgba(3,16,27,.98) 78%); pointer-events: none; opacity: 0; text-align: center; text-transform: uppercase; }
.chef-announcement.show { animation: chefVeil 6.8s ease forwards; }
.chef-cloud-scene { position: absolute; z-index: 2; left: 50%; top: 47%; width: min(560px,78vw); aspect-ratio: 1; opacity: 0; transform: translate(-50%,-50%) scale(.12); transform-origin: 50% 50%; }
.chef-announcement.show .chef-cloud-scene { animation: chefSceneZoom 6.8s cubic-bezier(.12,.64,.12,1) forwards; }
.chef-cloud-face { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 13px 16px rgba(0,0,0,.62)); }
.chef-charge-copy { position: relative; z-index: 5; display: grid; justify-items: center; margin-top: 65vh; opacity: 0; }
.chef-charge-copy span { color: #ffc167; font-size: clamp(9px,1.5vw,13px); letter-spacing: .24em; }
.chef-charge-copy strong { font: 900 clamp(42px,8vw,100px)/.86 Impact,"Arial Black",sans-serif; text-shadow: 5px 5px #000,0 0 35px #ff6a29; }
.chef-charge-copy b { margin-top: 10px; color: var(--gold); font-size: clamp(14px,2.6vw,26px); }
.chef-announcement.show .chef-charge-copy { animation: chefCopy 6.8s ease forwards; }
.chef-announcement[data-tier="4"] { filter: saturate(1.15); }
.chef-announcement[data-tier="5"] { filter: saturate(1.3) contrast(1.06); }
.chef-announcement[data-tier="5"] .chef-cloud-face { filter: drop-shadow(0 0 35px #ffd34f); }
@keyframes chefVeil { 0%,100% { opacity: 0; } 3%,95% { opacity: 1; } }
@keyframes chefSceneZoom { 0%,7% { opacity: 0; transform: translate(-50%,-50%) scale(.1); } 20% { opacity: 1; transform: translate(-50%,-50%) scale(.42); } 48% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 72% { opacity: 1; transform: translate(-50%,-50%) scale(1.16); } 90% { opacity: 1; transform: translate(-50%,-50%) scale(1.75); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(5.6); filter: brightness(1.48); } }
@keyframes chefCopy { 0%,68% { opacity: 0; transform: scale(.5); } 76%,96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }

.chef-spill-overlay { position: fixed; z-index: 118; inset: 0; display: grid; place-content: center; justify-items: center; overflow: hidden; pointer-events: none; opacity: 0; color: #fff; text-align: center; text-transform: uppercase; }
.chef-spill-overlay i { position: absolute; width: 45vmax; height: 45vmax; border-radius: 44% 56% 63% 37% / 46% 34% 66% 54%; background: radial-gradient(circle at 40% 35%,#fff8a1,#ff8e2b 18%,#ff34ad 52%,#701141 76%,transparent 77%); opacity: .78; transform: scale(.05) rotate(var(--spill-rotate,0deg)); mix-blend-mode: screen; }
.chef-spill-overlay i:nth-child(2) { left: -14%; top: -17%; --spill-rotate: 34deg; }
.chef-spill-overlay i:nth-child(3) { right: -18%; top: -10%; --spill-rotate: -22deg; }
.chef-spill-overlay i:nth-child(4) { left: -12%; bottom: -20%; --spill-rotate: -48deg; }
.chef-spill-overlay i:nth-child(5) { right: -14%; bottom: -18%; --spill-rotate: 56deg; }
.chef-spill-overlay i:nth-child(6) { left: 28%; top: 22%; --spill-rotate: 12deg; }
.chef-spill-overlay strong { position: relative; z-index: 2; font: 900 clamp(76px,18vw,220px)/.8 Impact,"Arial Black",sans-serif; text-shadow: 7px 7px #000,0 0 55px #ffd34f; }
.chef-spill-overlay span { position: relative; z-index: 2; margin-top: 14px; color: #ffd34f; font-size: clamp(10px,2vw,18px); letter-spacing: .22em; }
.chef-spill-overlay.show { animation: spillVeil 1.35s ease forwards; }
.chef-spill-overlay.show i { animation: spillSplat 1.35s cubic-bezier(.12,.7,.15,1) forwards; }
@keyframes spillVeil { 0%,100% { opacity: 0; } 12%,82% { opacity: 1; background: rgba(20,3,26,.28); } }
@keyframes spillSplat { 0% { transform: scale(.04) rotate(var(--spill-rotate)); } 48%,84% { transform: scale(1) rotate(var(--spill-rotate)); } 100% { transform: scale(1.28) rotate(var(--spill-rotate)); opacity: 0; } }

.bonus-payout-announcement {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle,rgba(255,211,79,.42),rgba(255,44,205,.27) 34%,rgba(3,15,32,.98) 74%);
  pointer-events: none;
  opacity: 0;
  text-align: center;
  text-transform: uppercase;
}
.bonus-payout-announcement::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: repeating-conic-gradient(from 0deg,rgba(255,211,79,.34) 0 2deg,transparent 2deg 8deg);
  opacity: 0;
}
.bonus-payout-announcement.show { animation: payoutVeil 3.2s ease forwards; }
.bonus-payout-announcement.show::before { animation: payoutRays 3.2s ease-out forwards; }
.payout-egg { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(380px,60vw); aspect-ratio: 1; transform: translate(-50%,-50%); }
.payout-egg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 0 35px #ffd34f); }
.payout-egg .shell-left { clip-path: polygon(0 0,56% 0,44% 12%,58% 23%,43% 35%,58% 47%,43% 59%,57% 71%,44% 83%,55% 100%,0 100%); }
.payout-egg .shell-right { clip-path: polygon(56% 0,100% 0,100% 100%,55% 100%,44% 83%,57% 71%,43% 59%,58% 47%,43% 35%,58% 23%,44% 12%); }
.bonus-payout-announcement.show .payout-egg .shell-left { animation: payoutShellLeft 1.35s cubic-bezier(.15,.75,.2,1) forwards; }
.bonus-payout-announcement.show .payout-egg .shell-right { animation: payoutShellRight 1.35s cubic-bezier(.15,.75,.2,1) forwards; }
.bonus-payout-copy { position: relative; z-index: 3; display: grid; justify-items: center; opacity: 0; }
.bonus-payout-announcement.show .bonus-payout-copy { animation: payoutCopy 3.2s cubic-bezier(.1,.8,.15,1) forwards; }
.bonus-payout-copy > span { color: #fff0a3; font-size: clamp(11px,2vw,19px); font-weight: 900; letter-spacing: .22em; }
.bonus-payout-copy > strong { color: #fff; font: 900 clamp(72px,17vw,220px)/.86 Impact,"Arial Black",sans-serif; text-shadow: 7px 7px 0 #000,0 0 48px #ffd34f; }
.bonus-payout-copy > strong b { color: inherit; }
.bonus-payout-copy > small { padding: 9px 14px; color: #071d3c; background: #ffd34f; font-size: clamp(9px,1.5vw,15px); font-weight: 900; letter-spacing: .12em; }
@keyframes payoutVeil { 0%,100% { opacity: 0; } 3%,94% { opacity: 1; } }
@keyframes payoutRays { 0% { opacity: 0; transform: scale(.15) rotate(0); } 40%,88% { opacity: .78; } 100% { opacity: 0; transform: scale(1.5) rotate(35deg); } }
@keyframes payoutShellLeft {
  0% { opacity: 0; transform: scale(.2); }
  12%,42% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: translate(-240px,-150px) scale(1.5) rotate(-85deg); }
}
@keyframes payoutShellRight {
  0% { opacity: 0; transform: scale(.2); }
  12%,42% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: translate(240px,-150px) scale(1.5) rotate(85deg); }
}
@keyframes payoutCopy {
  0%,35% { opacity: 0; transform: scale(.2) rotate(-4deg); }
  52% { opacity: 1; transform: scale(1.18) rotate(2deg); }
  66%,90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

.modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(28px, 5vw, 54px);
  color: var(--paper);
  border: 1px solid rgba(239,231,208,.25);
  background: linear-gradient(145deg, #171c25, #080a0e);
  box-shadow: 0 35px 100px #000;
}
.modal::backdrop { background: rgba(2,3,5,.85); backdrop-filter: blur(7px); }
.modal h2 { max-width: 600px; margin: 6px 0 12px; font: 900 clamp(40px, 7vw, 76px)/.96 Impact, "Arial Black", sans-serif; text-transform: uppercase; }
.modal > p { max-width: 650px; color: #aaa79e; font-size: 12px; line-height: 1.75; }
.modal-kicker { color: var(--red); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; }
.primary-button { min-width: 200px; margin-top: 22px; padding: 16px 24px; font-weight: 700; }
.modal > small { display: block; margin-top: 26px; color: #5f625e; font-size: 8px; text-transform: uppercase; }
.mode-modal { width: min(980px,calc(100% - 28px)); }
.mode-modal > h2 { max-width: none; }
.profile-modal {
  width: min(620px,calc(100% - 28px));
  padding: clamp(30px,5vw,54px);
  overflow: hidden auto;
  border: 3px solid var(--gold);
  outline: 1px solid rgba(255,211,79,.24);
  outline-offset: 7px;
  background:
    radial-gradient(circle at 92% 8%,rgba(255,211,79,.12),transparent 28%),
    linear-gradient(145deg,#0d2443 0%,#061427 60%,#030a13 100%);
  box-shadow: 0 35px 100px #000,inset 0 0 0 1px rgba(255,255,255,.08),inset 0 0 70px rgba(0,0,0,.48);
}
.profile-modal::before,
.profile-modal::after { position: absolute; top: 15px; width: 8px; height: 8px; content: ""; border: 1px solid rgba(0,0,0,.7); border-radius: 50%; background: var(--gold); box-shadow: inset 1px 1px rgba(255,255,255,.5),0 2px 4px #000; }
.profile-modal::before { left: 15px; }
.profile-modal::after { right: 15px; }
.profile-modal h2 { max-width: 510px; margin-top: 9px; color: var(--gold); font-size: clamp(42px,8vw,76px); letter-spacing: -.025em; }
.profile-close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; font-size: 24px; }
.profile-modal .modal-kicker { color: rgba(242,238,226,.55); }
.profile-modal section > p { max-width: 440px; color: #aaa79e; font-size: 12px; line-height: 1.7; }
.profile-modal section > small { display: block; margin-top: 20px; color: #666963; font-size: 8px; line-height: 1.55; text-transform: uppercase; }
.auth-heading { position: relative; padding: 17px 0 20px; border-bottom: 1px solid rgba(255,211,79,.25); }
.auth-heading::after { position: absolute; right: 0; bottom: -3px; width: 74px; height: 5px; content: ""; background: repeating-linear-gradient(90deg,var(--gold) 0 7px,transparent 7px 11px); }
.auth-heading p { max-width: 410px; margin: 0; color: rgba(242,238,226,.66); font-size: 10px; line-height: 1.65; }
.auth-step { color: var(--red); font: 900 8px/1 "Courier New",monospace; letter-spacing: .18em; text-transform: uppercase; }
.auth-switch { display: grid; grid-template-columns: repeat(2,1fr); margin: 24px 0 22px; border: 1px solid rgba(255,211,79,.4); background: rgba(0,0,0,.2); }
.auth-switch[hidden],.auth-form[hidden] { display: none; }
.auth-switch button { min-height: 43px; padding: 10px 14px; color: rgba(242,238,226,.48); border: 0; background: transparent; font: 900 9px/1 "Courier New",monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.auth-switch button + button { border-left: 1px solid rgba(255,211,79,.4); }
.auth-switch button[aria-selected="true"] { color: #07162b; background: var(--gold); }
.auth-switch button:focus-visible,.auth-form input:focus-visible,.auth-text-button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.auth-form { display: grid; grid-template-columns: 1fr; gap: 8px; }
.auth-form label { margin-top: 10px; color: rgba(242,238,226,.57); font: 800 8px/1 "Courier New",monospace; letter-spacing: .16em; text-transform: uppercase; }
.auth-form input { width: 100%; min-height: 50px; padding: 13px 15px; color: var(--paper); caret-color: var(--gold); border: 1px solid rgba(255,211,79,.38); border-radius: 0; background: rgba(1,7,14,.72); box-shadow: inset 0 3px 12px rgba(0,0,0,.4); font: 700 15px/1.2 "Courier New",monospace; }
.auth-form input:hover { border-color: rgba(255,211,79,.7); }
.auth-form input:user-invalid { border-color: var(--red); }
.auth-form .primary-button { width: 100%; min-height: 50px; margin-top: 15px; color: #07162b; border-color: var(--gold); background: var(--gold); text-transform: uppercase; }
.auth-form[aria-busy="true"] { opacity: .72; }
.auth-form > small { margin: 3px 0 1px; color: rgba(242,238,226,.38); font: 700 7px/1.5 "Courier New",monospace; letter-spacing: .08em; text-transform: uppercase; }
.auth-actions { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
.auth-actions .primary-button { width: auto; min-width: 170px; }
.auth-text-button { justify-self: start; margin: 15px 0 3px; padding: 5px 0; color: rgba(242,238,226,.62); border: 0; border-bottom: 1px solid currentColor; background: transparent; font: 800 8px/1 "Courier New",monospace; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.auth-text-button:hover { color: var(--gold); }
.auth-text-button:disabled { cursor: wait; opacity: .45; }
.auth-secondary-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.auth-code-form input[autocomplete="one-time-code"] { color: var(--gold); font-size: 24px; font-weight: 900; letter-spacing: .38em; text-align: center; }
.profile-modal .auth-footnote { margin-top: 25px; padding-top: 13px; color: rgba(242,238,226,.31); border-top: 1px solid rgba(242,238,226,.11); letter-spacing: .08em; }
.profile-wallet { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 24px 0; padding: 16px; border: 1px solid rgba(255,211,79,.38); background: rgba(255,211,79,.055); text-transform: uppercase; }
.profile-wallet span { color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.profile-wallet strong { color: var(--gold); font: 900 26px/1 Impact,"Arial Black",sans-serif; }
.profile-form { margin-top: 22px; }
.profile-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.profile-form > div { display: flex; gap: 8px; }
.profile-form input { min-width: 0; flex: 1; padding: 13px 14px; color: var(--paper); border: 1px solid var(--line); background: #090d14; font: 700 14px/1.2 "Courier New",monospace; }
.profile-form .primary-button { min-width: 104px; margin: 0; padding: 12px 16px; }
.profile-wallet-note { margin-top: 16px; color: #777a75 !important; font-size: 9px !important; }
.profile-sign-out { margin-top: 18px; padding: 8px 0; color: var(--muted); border: 0; border-bottom: 1px solid currentColor; background: transparent; font: 700 9px/1 "Courier New",monospace; text-transform: uppercase; cursor: pointer; }
.profile-status { min-height: 16px; margin: 16px 0 0; color: var(--red); font-size: 9px; line-height: 1.5; }
.mode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 26px; }
.mode-card { position: relative; display: grid; grid-template-columns: 1fr; align-items: end; min-height: 220px; overflow: hidden; padding: 0; color: #fff; border: 2px solid currentColor; background: #10151e; box-shadow: 0 18px 45px rgba(0,0,0,.38); cursor: pointer; text-align: left; isolation: isolate; }
.mode-card::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .86; transition: transform .25s ease,opacity .25s ease; }
.mode-card::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 58%; background: linear-gradient(transparent,rgba(0,0,0,.85)); }
.mode-card:hover { transform: translateY(-4px) rotate(-.35deg); }
.mode-card:hover::before { opacity: 1; transform: scale(1.04); }
.mode-card-copy { position: relative; z-index: 2; display: grid; align-self: stretch; align-content: end; gap: 9px; padding: 28px 22px; }
.mode-card-copy small { font-size: 8px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.mode-card-copy strong { font: 900 clamp(26px,3.4vw,46px)/.88 Impact,"Arial Black",sans-serif; text-transform: uppercase; }
.mode-card-copy b { color: #f2eee2; font-size: 10px; line-height: 1.55; }
.adventure-card { color: #ff525e; }
.adventure-card::before { background: radial-gradient(circle at 20% 35%,rgba(255,71,92,.48),transparent 45%),repeating-linear-gradient(125deg,rgba(255,37,84,.12) 0 2px,transparent 2px 16px),#28101b; }
.adventure-card .mode-card-copy small { color: #ff9ba3; }
.fun-card { color: #55e5ff; }
.fun-card::before { background: radial-gradient(circle at 22% 35%,rgba(255,211,79,.36),transparent 42%),repeating-linear-gradient(55deg,rgba(68,222,255,.13) 0 2px,transparent 2px 16px),#09243d; }
.fun-card .mode-card-copy small { color: #ffd34f; }
.intro-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.intro-rules div { padding: 15px; border: 1px solid var(--line); }
.intro-rules b { display: block; margin-bottom: 8px; color: var(--acid); font: 900 23px Impact, "Arial Black", sans-serif; }
.intro-rules span { font-size: 9px; line-height: 1.4; text-transform: uppercase; }
.machine-win-warning { display: grid; gap: 7px; margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(255,66,89,.58); background: rgba(255,35,65,.08); }
.machine-win-warning b { color: #ff697b; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.machine-win-warning span { color: #d9bdc3; font-size: 9px; line-height: 1.55; }

.shop-modal { width: min(1050px, calc(100% - 32px)); }
.shop-balance { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 15px; border: 1px solid rgba(255,211,79,.42); background: rgba(255,211,79,.06); }
.shop-balance span { color: #aaa79e; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.shop-balance strong { color: var(--gold); font: 900 24px Impact,"Arial Black",sans-serif; }
.mobile-run-status { display: none; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.shop-card { --tier-color: #57e36b; position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 21px; color: var(--paper); text-align: left; border: 2px solid var(--tier-color); background: rgba(255,255,255,.025); box-shadow: inset 0 0 24px color-mix(in srgb,var(--tier-color) 8%,transparent); cursor: pointer; }
.shop-card[data-tier="rare"] { --tier-color: #4b9dff; }
.shop-card[data-tier="legendary"] { --tier-color: #ff5148; }
.shop-card[data-tier="mythic"] { --tier-color: #ffd34f; box-shadow: inset 0 0 28px rgba(255,211,79,.1),0 0 18px rgba(255,211,79,.15); }
.shop-card:hover:not(:disabled) { background: color-mix(in srgb,var(--tier-color) 9%,#11151d); transform: translateY(-3px); }
.shop-card:disabled { cursor: not-allowed; opacity: .45; }
.shop-card .rarity { color: var(--tier-color); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.shop-card h3 { margin: 20px 0 10px; font: 900 28px/1 Impact, "Arial Black", sans-serif; text-transform: uppercase; }
.shop-card p { flex: 1; margin: 0; color: #a7a49a; font-size: 10px; line-height: 1.55; }
.upgrade-symbol { display: inline-grid; width: 32px; height: 32px; margin: -9px 3px -10px; place-items: center; vertical-align: middle; }
.upgrade-symbol img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.7)); }
.shop-card .price { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 9px; text-transform: uppercase; }
.shop-card .price b { color: var(--gold); font-size: 15px; }
.feature-buy-modal { width: min(980px,calc(100% - 28px)); }
.feature-buy-modal h2 { max-width: none; }
.feature-buy-balance { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 13px 16px; border: 1px solid rgba(255,211,79,.34); background: rgba(255,211,79,.055); text-transform: uppercase; }
.feature-buy-balance span { color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.feature-buy-balance strong { font: 900 20px Impact,"Arial Black",sans-serif; }
.feature-buy-balance b { color: var(--gold); }
.feature-buy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.feature-buy-card { position: relative; display: grid; grid-template-rows: 145px auto auto 1fr auto; gap: 8px; min-height: 390px; overflow: hidden; padding: 20px; color: #fff; border: 2px solid var(--feature-color); background: linear-gradient(160deg,var(--feature-wash),#090c13 68%); box-shadow: inset 0 0 40px rgba(255,255,255,.025); cursor: pointer; text-align: left; }
.feature-buy-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 22%,var(--feature-glow),transparent 42%); pointer-events: none; }
.feature-buy-card:hover:not(:disabled) { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.4),0 0 28px var(--feature-glow); }
.feature-buy-card:disabled { cursor: not-allowed; filter: grayscale(.72); opacity: .48; }
.egg-feature-card { --feature-color:#ff38cf; --feature-wash:#35133b; --feature-glow:rgba(255,56,207,.35); }
.chef-feature-card { --feature-color:#ff9c32; --feature-wash:#3d1d14; --feature-glow:rgba(255,148,45,.38); }
.feature-buy-art { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 145px; }
.feature-buy-art img { width: 135px; height: 135px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,.65)); }
.chef-feature-card .feature-buy-art img { width: 145px; height: 145px; margin: 0; }
.feature-buy-card > small,.feature-buy-card > strong,.feature-buy-card > p,.feature-buy-value { position: relative; z-index: 1; }
.feature-buy-card > small { color: var(--feature-color); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.feature-buy-card > strong { font: 900 clamp(28px,4vw,46px)/.9 Impact,"Arial Black",sans-serif; text-transform: uppercase; }
.feature-buy-card > p { margin: 0; color: #b9b5aa; font-size: 10px; line-height: 1.55; }
.feature-buy-value { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.14); }
.feature-buy-value i { color: #8f918e; font-size: 7px; font-style: normal; text-transform: uppercase; }
.feature-buy-value b { color: var(--gold); font: 900 19px Impact,"Arial Black",sans-serif; white-space: nowrap; }
.bonus-brief-modal { width: min(850px,calc(100% - 28px)); text-align: center; }
.bonus-brief-modal h2 { margin-inline: auto; }
.bonus-brief-modal > p { margin-inline: auto; }
.bonus-brief-mechanics { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin: 28px 0 10px; }
.bonus-brief-mechanics > span { display: grid; min-height: 145px; place-content: center; justify-items: center; padding: 14px; border: 1px solid rgba(255,211,79,.32); background: rgba(255,211,79,.055); }
.bonus-brief-mechanics img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 7px 5px rgba(0,0,0,.6)); }
.bonus-brief-mechanics b { color: #fff; font-size: 10px; text-transform: uppercase; }
.bonus-brief-mechanics > i { color: var(--gold); font: 900 32px Impact,"Arial Black",sans-serif; }
.bonus-brief-mechanics .brief-multiplier b { color: var(--gold); font: 900 clamp(38px,6vw,64px) Impact,"Arial Black",sans-serif; text-shadow: 3px 3px #000; }
.bonus-brief-mechanics small { color: #aaa79e; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.bonus-brief-modal .primary-button { min-width: 240px; }
.bonus-total { display: grid; justify-items: center; margin: 28px 0 8px; padding: 24px; border: 1px solid rgba(255,211,79,.4); background: rgba(255,211,79,.06); text-transform: uppercase; }.bonus-total span,.bonus-total small { color: var(--muted); font-size: 9px; }.bonus-total strong { color: var(--gold); font: 900 clamp(50px,9vw,100px) Impact,"Arial Black",sans-serif; }
.bonus-breakdown { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 24px; }
.bonus-breakdown span { padding: 12px; color: var(--muted); border: 1px solid rgba(255,211,79,.22); font-size: 8px; text-align: center; text-transform: uppercase; }
.bonus-breakdown b { display: block; margin-top: 7px; color: var(--gold); font: 900 24px Impact,"Arial Black",sans-serif; }
.shop-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.shop-actions .text-button:disabled { cursor: not-allowed; opacity: .4; }
.shop-actions .primary-button { margin-left: auto; }

.result-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 26px; }
.result-stats div { padding: 16px; border: 1px solid var(--line); }
.result-stats span { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.result-stats b { display: block; margin-top: 8px; color: var(--gold); font: 900 28px Impact, "Arial Black", sans-serif; }
.result-verdict { margin-top: 22px; padding: 17px; border: 1px solid rgba(255,66,89,.62); background: linear-gradient(135deg,rgba(255,36,70,.13),rgba(63,2,20,.16)); }
.result-verdict[hidden] { display: none !important; }
.result-verdict > b { color: #ff697b; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.result-verdict > p { max-width: none; margin: 9px 0 14px; color: #f1dfe2; font-size: 11px; }
.result-verdict > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.result-verdict span { padding: 10px; color: #a99499; border: 1px solid rgba(255,255,255,.1); font-size: 7px; text-transform: uppercase; }
.result-verdict strong { display: block; margin-top: 6px; color: #fff; font: 900 19px Impact,"Arial Black",sans-serif; }
.result-verdict small { display: block; margin-top: 12px; color: #ff9daa; font-size: 7px; font-weight: 800; line-height: 1.5; text-transform: uppercase; }
.close-button { position: absolute; top: 18px; right: 20px; font-size: 35px; }
.rules-modal { position: relative; }
.rules-modal ol { display: grid; gap: 13px; padding-left: 25px; color: #b5b1a7; font-size: 11px; line-height: 1.6; }

@media (max-width: 1040px) {
  .game-shell { grid-template-columns: minmax(170px, .7fr) minmax(440px, 1.6fr); align-items: start; }
  .info-panel { grid-column: 1 / -1; }
  .paytable { grid-template-columns: repeat(3, 1fr); }
  .loadout { min-height: 32px; }
  .chef-cauldron-hud { grid-template-columns: 150px 66px; width: 224px; min-height: 140px; }
  .chef-pot-visual { width: 150px; height: 140px; }
}

.back-home {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: var(--paper);
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}
.back-home:hover,
.back-home:focus-visible { color: var(--gold); }
.back-home:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }

.egg-progress {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  margin: 0 auto 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255,211,79,.42);
  background: rgba(5,15,31,.94);
}
.egg-progress > span { color: #b9c3d1; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.egg-progress > span b { display: block; margin-top: 2px; color: var(--gold); font: 900 20px Impact,"Arial Black",sans-serif; }
.egg-progress-track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.egg-stage-group { position: relative; display: grid; grid-template-columns: repeat(4,minmax(9px,1fr)); gap: 3px; padding-right: 9px; }
.egg-stage-group:not(:last-child)::after { content: ""; position: absolute; top: -4px; right: -8px; bottom: -4px; width: 2px; background: linear-gradient(transparent,#ffd34f 20% 80%,transparent); box-shadow: 0 0 8px rgba(255,211,79,.7); }
.egg-progress-track i { aspect-ratio: .78; border: 1px solid #6f7580; border-radius: 55% 55% 48% 48%; background: linear-gradient(145deg,#303641,#111721); box-shadow: inset 0 0 7px #000; transform: rotate(4deg); }
.egg-progress-track i:nth-child(even) { transform: rotate(-4deg); }
.egg-progress-track i.filled { border-color: #ffe15c; background: radial-gradient(circle at 38% 30%,#fff9ac,#ffd34f 38%,#c5700c 75%); box-shadow: 0 0 10px rgba(255,211,79,.6); }
.egg-stage-gate { position: absolute; z-index: 2; right: -13px; bottom: -11px; padding: 1px 4px; color: #858b94; border: 1px solid #555d69; background: #111721; font: 900 8px Impact,"Arial Black",sans-serif; transform: rotate(-3deg); }
.egg-stage-gate.unlocked { color: #07152a; border-color: #fff0a3; background: #ffd34f; box-shadow: 0 0 10px rgba(255,211,79,.75); }

.gusto-hud {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: 104px minmax(0,1fr);
  width: min(100%,420px);
  min-height: 96px;
  align-items: center;
  gap: 8px;
  margin: 0 auto 8px;
  padding: 5px 10px;
  overflow: hidden;
  border: 1px solid rgba(255,211,79,.42);
  background: linear-gradient(100deg,rgba(5,15,31,.96),rgba(68,15,70,.9));
}
.gusto-character { width: 104px; height: 96px; align-self: end; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 6px 8px rgba(0,0,0,.7)); transform-origin: 55% 78%; }
.gusto-character.throwing { animation: gustoThrow .62s cubic-bezier(.2,.8,.25,1); }
.gusto-tray { min-width: 0; }
.gusto-tray > span { color: #ffc168; font-size: 7px; letter-spacing: .14em; text-transform: uppercase; }
.gusto-tray > strong { display: block; color: var(--gold); font: 900 30px Impact,"Arial Black",sans-serif; text-shadow: 3px 3px #000,0 0 14px #ff4bab; }
.gusto-tokens { display: flex; min-height: 31px; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gusto-tokens::-webkit-scrollbar { display: none; }
.gusto-token { flex: 0 0 auto; padding: 4px 7px; color: #07152a; border-radius: 50%; background: var(--gold); font: 900 14px Impact,"Arial Black",sans-serif; animation: gustoTokenLand .42s var(--token-delay,0ms) cubic-bezier(.2,1.4,.4,1) both; }
@keyframes gustoThrow { 45% { transform: rotate(-8deg) translateX(-5px) scale(1.04); } 72% { transform: rotate(7deg) translateX(4px); } }
@keyframes gustoTokenLand { from { opacity: 0; transform: translate(-70px,-30px) rotate(-120deg) scale(.3); } to { opacity: 1; transform: none; } }
.gusto-hud.finalize { animation: gustoFinalize 1.2s ease; }
@keyframes gustoFinalize { 50% { filter: brightness(1.6); transform: scale(1.03); } }

.gusto-throw-overlay { position: fixed; z-index: 118; left: 50%; top: 42%; pointer-events: none; opacity: 0; }
.gusto-throw-overlay strong { display: block; color: var(--gold); font: 900 clamp(54px,12vw,120px) Impact,"Arial Black",sans-serif; text-shadow: 6px 6px #000,0 0 35px #ff38cf; }
.gusto-throw-overlay.show { animation: gustoThrowOverlay .72s ease forwards; }
@keyframes gustoThrowOverlay { 0% { opacity: 0; transform: translate(-80%,-80%) rotate(-18deg) scale(.25); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(10%,-5%) rotate(12deg) scale(1); } }

.reel-cell.rarity-prize-egg,.reel-cell.rarity-collector { position: relative; border-color: #ffd34f; background: radial-gradient(circle,rgba(255,211,79,.18),#071326 72%); }
.reel-cell.rarity-collector img { width: 100%; height: 100%; object-fit: contain; }
.prize-egg-value { position: absolute; z-index: 4; left: 50%; bottom: 8%; min-width: 55%; padding: 2px 3px; color: #07152a; border: 1px solid rgba(255,255,255,.6); border-radius: 8px; background: #f3e5ae; font: 900 clamp(8px,1.6vw,16px) Impact,"Arial Black",sans-serif; text-align: center; transform: translateX(-50%); box-shadow: 0 2px 5px #000; }
.prize-egg-value[data-tier="bright"] { background: linear-gradient(135deg,#d8ff74,#55d651); }
.prize-egg-value[data-tier="rare"] { color: #fff; background: linear-gradient(135deg,#42cfff,#2460d7); box-shadow: 0 0 8px #35bfff,0 2px 5px #000; }
.prize-egg-value[data-tier="epic"] { color: #fff; background: linear-gradient(135deg,#ff68de,#a421c7); box-shadow: 0 0 10px #f847d4,0 2px 5px #000; }
.prize-egg-value[data-tier="legendary"] { background: linear-gradient(135deg,#fff7ae,#ff9f21,#ff4b38); box-shadow: 0 0 13px #ffab36,0 2px 5px #000; }
.prize-egg-value[data-tier="jackpot"] { color: #fff; background: linear-gradient(115deg,#ff38cf,#4edcff,#fff6a2,#ff38cf); background-size: 250% 100%; box-shadow: 0 0 17px #fff,0 2px 5px #000; animation: prizeFoil 1.4s linear infinite; }
@keyframes prizeFoil { to { background-position: 250% 0; } }

.egg-hunt-modal { width: min(960px,calc(100% - 24px)); padding: 0; overflow: hidden; border-color: rgba(255,211,79,.55); background: #07111e; }
.egg-hunt-scene { position: relative; min-height: min(70vh,620px); overflow: hidden; }
.egg-hunt-scene > img { position: absolute; width: 100%; height: 100%; object-fit: cover; animation: eggHuntSearch 2.8s ease-in-out both; }
.egg-hunt-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,8,17,.92) 0 32%,rgba(2,8,17,.08) 65%),linear-gradient(0deg,rgba(2,8,17,.82),transparent 55%); pointer-events: none; }
.egg-hunt-copy { position: relative; z-index: 2; display: grid; align-content: end; width: min(44%,430px); min-height: min(70vh,620px); padding: clamp(24px,5vw,54px); }
.egg-hunt-copy small { color: #ffd34f; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.egg-hunt-copy h2 { margin: 9px 0; font: 900 clamp(31px,5vw,62px)/.9 Impact,"Arial Black",sans-serif; text-shadow: 4px 4px #000; }
.egg-hunt-copy p { color: #e7deca; }
.egg-hunt-reward { margin: 14px 0; padding: 13px; border: 1px solid #ffd34f; background: rgba(7,21,42,.88); box-shadow: 0 0 25px rgba(255,211,79,.2); }
.egg-hunt-reward[hidden], .egg-hunt-copy .primary-button[hidden] { display: none !important; }
.egg-hunt-reward b,.egg-hunt-reward span { display: block; }
.egg-hunt-reward b { color: #ffd34f; font: 900 24px Impact,"Arial Black",sans-serif; }
.egg-hunt-reward span { margin-top: 4px; color: #fff; font-size: 10px; }
@keyframes eggHuntSearch { 0% { transform: scale(1.03) translateX(0); } 35% { transform: scale(1.08) translateX(-1%); } 65% { transform: scale(1.06) translateX(1%); } 100% { transform: scale(1.11); } }

@media (max-width: 620px) {
  .egg-hunt-scene { min-height: min(78vh,650px); }
  .egg-hunt-scene::after { background: linear-gradient(0deg,rgba(2,8,17,.96) 0 47%,rgba(2,8,17,.05) 82%); }
  .egg-hunt-scene > img { object-position: 58% center; }
  .egg-hunt-copy { align-content: end; width: auto; min-height: min(78vh,650px); padding: 22px; }
  .egg-hunt-copy h2 { font-size: 35px; }
  .egg-progress-track { gap: 10px; }
  .egg-stage-group { padding-right: 5px; gap: 2px; }
  .egg-stage-gate { right: -10px; bottom: -9px; font-size: 7px; }
}

/* Refined bonus overlays */
.egg-progress { grid-template-columns: auto minmax(0,1fr); }
.egg-run-modifiers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 0; }
.egg-run-modifiers:empty { display: none; }
.egg-run-modifiers b { padding: 3px 7px; color: #07152a; border-radius: 10px; background: #ffd34f; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 8px rgba(255,211,79,.45); }
.egg-progress-track i.collector-face { aspect-ratio: 1; border-radius: 50%; background: #202934 url("symbols/bonus-egg-caricature.webp") center 18%/145% auto no-repeat; filter: grayscale(1) brightness(.38); transform: rotate(3deg); }
.egg-progress-track i.collector-face:nth-child(even) { transform: rotate(-3deg); }
.egg-progress-track i.collector-face.filled { border-color: #ffe15c; background: #ffd34f url("symbols/bonus-egg-caricature.webp") center 18%/145% auto no-repeat; filter: none; box-shadow: 0 0 12px rgba(255,211,79,.8); }

.chef-bonus-mode .machine-area { position: relative; }
.chef-bonus-mode .gusto-hud { position: absolute; z-index: 35; top: 52px; right: max(4px,calc(50% - 360px)); display: block; width: 158px; min-height: 185px; margin: 0; padding: 0; overflow: visible; border: 0; background: none; pointer-events: none; }
.chef-bonus-mode .gusto-character { position: absolute; right: 0; bottom: 0; width: 150px; height: 178px; animation: gustoBreathe 2.6s ease-in-out infinite; }
.chef-bonus-mode .gusto-arm { position: absolute; z-index: 2; right: 0; bottom: 0; width: 150px; height: 178px; object-fit: contain; clip-path: polygon(45% 40%,100% 34%,100% 100%,49% 100%); filter: drop-shadow(0 6px 8px rgba(0,0,0,.7)); transform-origin: 58% 66%; animation: gustoArmIdle 2.6s ease-in-out infinite; }
.chef-bonus-mode .gusto-character.throwing { animation: gustoAliveThrow .72s cubic-bezier(.2,.85,.2,1); }
.chef-bonus-mode .gusto-character.throwing + .gusto-arm { animation: gustoSpatulaThrow .72s cubic-bezier(.12,.85,.2,1); }
.chef-bonus-mode .gusto-tray { position: absolute; top: 4px; right: 112px; width: 106px; padding: 7px 9px; border: 1px solid rgba(255,211,79,.65); background: rgba(5,15,31,.94); box-shadow: 0 8px 20px rgba(0,0,0,.55); text-align: center; }
.chef-bonus-mode .gusto-tray > span { font-size: 6px; }
.chef-bonus-mode .gusto-tray > strong { font-size: 34px; }
.chef-bonus-mode .gusto-tokens { position: absolute; top: 63px; left: 0; width: 106px; min-height: 36px; justify-content: center; overflow: visible; }
.chef-bonus-mode .gusto-token { border-radius: 5px; animation: gustoTokenLand .48s cubic-bezier(.2,1.4,.4,1) both; }
.chef-bonus-mode .gusto-token[data-rarity="rare"],.chef-bonus-mode .gusto-token[data-rarity="epic"] { color: #fff; background: #ff38cf; box-shadow: 0 0 18px #ff38cf; }
.chef-bonus-mode .gusto-token[data-rarity="legendary"],.chef-bonus-mode .gusto-token[data-rarity="jackpot"] { color: #07152a; background: #fff; box-shadow: 0 0 28px #fff,0 0 50px #ffd34f; }
.chef-bonus-mode .gusto-hud[data-throw-tier="jackpot"]::after,.chef-bonus-mode .gusto-hud[data-throw-tier="legendary"]::after { content: ""; position: absolute; inset: -20px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 30px #ffd34f; animation: gustoSpatulaFlash .2s steps(2) 3; }
@keyframes gustoBreathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.018); } }
@keyframes gustoArmIdle { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(1deg); } }
@keyframes gustoAliveThrow { 0% { transform: translateY(0) rotate(0); } 35% { transform: translate(-6px,-4px) rotate(-11deg) scale(1.04); } 62% { transform: translate(8px,2px) rotate(12deg) scale(1.06); } 100% { transform: none; } }
@keyframes gustoSpatulaThrow { 0% { transform: rotate(0); } 30% { transform: translate(-7px,-8px) rotate(-24deg); } 58% { transform: translate(10px,-5px) rotate(30deg) scale(1.08); } 100% { transform: none; } }
@keyframes gustoSpatulaFlash { 50% { opacity: .15; transform: scale(1.15) rotate(5deg); } }

.egg-hunt-hands { position: absolute; z-index: 2; left: 47%; right: 9%; bottom: 9%; height: 27%; pointer-events: none; }
.egg-hunt-hands i { position: absolute; bottom: 18%; width: 18%; height: 38%; border-radius: 52% 48% 45% 55%; background: linear-gradient(145deg,#e59a61,#8f452a); opacity: .9; filter: drop-shadow(0 8px 5px rgba(0,0,0,.55)); }
.egg-hunt-hands i:first-child { left: 4%; transform: rotate(18deg); }
.egg-hunt-hands i:last-child { right: 7%; transform: rotate(-18deg); }
.egg-hunt-modal.searching .egg-hunt-hands i:first-child { animation: hayHandLeft .42s ease-in-out infinite alternate; }
.egg-hunt-modal.searching .egg-hunt-hands i:last-child { animation: hayHandRight .38s ease-in-out infinite alternate; }
.egg-hunt-hay { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.egg-hunt-hay i { position: absolute; left: 68%; top: 70%; width: 4px; height: 54px; border-radius: 50%; background: #ffc942; opacity: 0; transform-origin: center; }
.egg-hunt-modal.searching .egg-hunt-hay i { animation: hayFly .75s ease-out infinite; }
.egg-hunt-hay i:nth-child(2) { animation-delay: .12s!important; left: 61%; }.egg-hunt-hay i:nth-child(3) { animation-delay: .23s!important; left: 75%; }.egg-hunt-hay i:nth-child(4) { animation-delay: .31s!important; left: 64%; }.egg-hunt-hay i:nth-child(5) { animation-delay: .4s!important; left: 72%; }
.egg-hunt-finds { position: absolute; z-index: 5; right: 18px; top: 18px; display: grid; gap: 6px; justify-items: end; }
.egg-hunt-find { padding: 7px 10px; color: #07152a; border: 2px solid #fff0a3; background: #ffd34f; font: 900 13px Impact,"Arial Black",sans-serif; box-shadow: 0 0 20px rgba(255,211,79,.75); }
.egg-hunt-find.flying { animation: foundFly .7s cubic-bezier(.15,1.2,.3,1) both; }
.egg-hunt-reward.broken { border-color: #c7c7c7; filter: grayscale(.75); }
@keyframes hayHandLeft { to { transform: translate(28px,-7px) rotate(-12deg); } }
@keyframes hayHandRight { to { transform: translate(-26px,-5px) rotate(13deg); } }
@keyframes hayFly { 0% { opacity: 0; transform: translate(0,0) rotate(0); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(70px,-230px) rotate(220deg); } }
@keyframes foundFly { from { opacity: 0; transform: translate(-240px,180px) rotate(-12deg) scale(.3); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .chef-bonus-mode .gusto-hud { top: 46px; right: 0; width: 108px; min-height: 124px; }
  .chef-bonus-mode .gusto-character { width: 102px; height: 122px; }
  .chef-bonus-mode .gusto-arm { width: 102px; height: 122px; }
  .chef-bonus-mode .gusto-tray { top: 0; right: 75px; width: 76px; padding: 4px; }
  .chef-bonus-mode .gusto-tray > strong { font-size: 25px; }
  .chef-bonus-mode .gusto-tokens { top: 47px; width: 76px; }
  .egg-run-modifiers { gap: 2px; }
  .egg-run-modifiers b { padding: 2px 4px; font-size: 6px; }
  .egg-hunt-hands { left: 35%; right: 0; bottom: 20%; }
}

@media (max-width: 760px) {
  body:not(.focus-mode):not(.native-fullscreen) .lucky-header-left { gap: 8px; }
  body:not(.focus-mode):not(.native-fullscreen) .lucky-header-left > .brand-lockup > img { display: none; }
}

/* Final responsive Gusto placement: clean strip above the reels, never over them. */
body.chef-bonus-mode .machine .gusto-hud,
body.chef-bonus-mode.focus-mode .machine .gusto-hud,
body.chef-bonus-mode.native-fullscreen .machine .gusto-hud {
  position: relative;
  inset: auto;
  z-index: 8;
  display: grid;
  grid-template-columns: 118px 118px;
  place-content: end center;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin: 0 0 5px;
  padding: 0 8px;
  overflow: visible;
  border: 0;
  background: linear-gradient(90deg,transparent 12%,rgba(5,15,31,.82) 50%,transparent 88%);
}

@media (max-width: 760px) {
  .mobile-run-status { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; width: 100%; margin: 4px auto 0; padding: 6px; border: 1px solid rgba(255,211,79,.4); background: rgba(5,15,31,.96); }
  .fun-mode .mobile-run-status { display: none; }
  .mobile-run-status > div { min-width: 0; padding: 5px 3px; border: 1px solid rgba(255,255,255,.08); text-align: center; }
  .mobile-run-status span { display: block; color: #8f98a7; font-size: 5px; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-run-status strong { display: block; margin-top: 2px; color: #fff; font: 900 16px Impact,"Arial Black",sans-serif; white-space: nowrap; }
  .mobile-run-status strong b:first-child { color: var(--gold); }
  .mobile-run-status strong i { color: #9ca4af; font-size: 9px; font-style: normal; }
  .mobile-run-status p { grid-column: 1/-1; margin: 0; padding: 4px 6px; overflow: hidden; color: #d7d1bf; border-left: 2px solid var(--gold); background: rgba(255,255,255,.035); font-size: 6px; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .shop-balance { position: sticky; z-index: 4; top: -28px; margin-top: 12px; padding: 9px 11px; background: #111722; }
  .shop-balance strong { font-size: 21px; }
}
body.chef-bonus-mode .machine .gusto-character {
  position: relative;
  inset: auto;
  display: block;
  width: 108px;
  height: 108px;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  justify-self: end;
  transform-origin: 50% 82%;
}
body.chef-bonus-mode .machine .gusto-tray {
  position: relative;
  inset: auto;
  width: 112px;
  min-height: 78px;
  display: grid;
  place-content: center;
  padding: 8px;
  border: 1px solid rgba(255,211,79,.65);
  background: rgba(5,15,31,.95);
  box-shadow: 0 8px 20px rgba(0,0,0,.5),0 0 15px rgba(255,56,207,.16);
  text-align: center;
}
body.chef-bonus-mode .machine .gusto-tray > strong { font-size: 36px; line-height: 1; }
body.chef-bonus-mode .machine .gusto-tokens {
  position: absolute;
  inset: auto auto -35px 50%;
  width: max-content;
  min-width: 74px;
  min-height: 30px;
  justify-content: center;
  overflow: visible;
  transform: translateX(-50%);
}
body.chef-bonus-mode .machine .gusto-character.throwing { animation: gustoCleanThrow .7s cubic-bezier(.2,.85,.2,1); }
@keyframes gustoCleanThrow {
  0%,100% { transform: none; }
  35% { transform: translate(-3px,-3px) rotate(-5deg) scale(1.025); }
  62% { transform: translate(4px,1px) rotate(6deg) scale(1.035); }
}
.egg-hunt-modal.searching .egg-hunt-scene > img { animation: eggCottageSearch .5s ease-in-out infinite alternate; }
@keyframes eggCottageSearch {
  from { transform: scale(1.06) translate(-2px,1px) rotate(-.18deg); }
  to { transform: scale(1.065) translate(3px,-1px) rotate(.18deg); }
}

@media (max-width: 760px) {
  body.chef-bonus-mode .machine .gusto-hud,
  body.chef-bonus-mode.focus-mode .machine .gusto-hud,
  body.chef-bonus-mode.native-fullscreen .machine .gusto-hud {
    grid-template-columns: 78px 92px;
    min-height: 76px;
    margin-bottom: 3px;
    padding: 0 4px;
  }
  body.chef-bonus-mode .machine .gusto-character { width: 74px; height: 74px; }
  body.chef-bonus-mode .machine .gusto-tray { width: 88px; min-height: 57px; padding: 5px; }
  body.chef-bonus-mode .machine .gusto-tray > span { font-size: 5px; }
  body.chef-bonus-mode .machine .gusto-tray > strong { font-size: 27px; }
  body.chef-bonus-mode .machine .gusto-tokens { bottom: -29px; min-width: 60px; min-height: 26px; }
}

@media (max-width: 760px) {
  body { min-height: 100dvh; }
  .topbar { min-height: 52px; align-items: center; padding: 6px 10px; }
  .brand-lockup img { width: 52px; height: 34px; }
  .brand-lockup h1 { font-size: 20px; }
  .brand-lockup .eyebrow { display: none; }
  .game-shell { width: min(100% - 10px,620px); padding-top: 5px; }
  .stats-panel,.info-panel,footer { display: none; }
  .machine-area { order: 1; }
  .machine { padding: 7px; border-width: 5px; border-radius: 16px; }
  .machine-header { padding-bottom: 5px; }
  .machine-header strong { font-size: 22px; }
  .reel-window { padding: 1.5%; border-width: 3px; }
  .reels { gap: 4px; }
  .machine-readout { min-height: 38px; margin-top: 5px; padding: 5px 8px; }
  .machine-readout strong { font-size: 20px; }
  .wallet-strip { margin-top: 5px; padding: 6px 10px; }
  .controls { margin-top: 5px; }
  .spin-button { min-height: 54px; }
  .bonus-hud { margin-bottom: 5px; padding: 6px 9px; }
  .egg-progress { grid-template-columns: 58px 1fr; margin-bottom: 4px; padding: 4px 7px; }
  .egg-progress-track { gap: 2px; }
  .gusto-hud { grid-template-columns: 72px 1fr; min-height: 66px; margin-bottom: 4px; padding: 3px 7px; }
  .gusto-character { width: 72px; height: 66px; }
  .gusto-tray > strong { font-size: 24px; }
  .gusto-token { padding: 3px 6px; font-size: 12px; }
  .mode-card { min-height: 160px; }
}

@media (max-height: 680px) {
  .topbar { min-height: 44px; padding-block: 3px; }
  .brand-lockup div,.virtual-only,.top-actions .text-button { display: none; }
  .game-shell { padding-top: 3px; }
  .stats-panel,.info-panel,footer { display: none; }
  .machine-area { max-width: min(510px,calc(100dvh - 150px)); }
  .machine-header { display: none; }
  .machine-readout { min-height: 32px; }
  .wallet-strip { padding-block: 4px; }
  .bonus-hud { padding-block: 4px; }
  .egg-progress,.gusto-hud { margin-bottom: 3px; }
}

@media (min-width: 761px) {
  body { height: 100dvh; overflow: hidden; }
  .game-shell { height: calc(100dvh - 92px); padding: 14px 0; overflow: hidden; }
  .machine-area { max-width: min(620px,calc(100dvh - 440px)); }
  .panel { max-height: calc(100dvh - 122px); overflow: auto; }
  footer { display: none; }
  body.bonus-mode .machine-area { max-width: min(570px,calc(100dvh - 520px)); }
}

@media (min-width: 761px) and (max-height: 900px) {
  .topbar { min-height: 54px; height: 54px; padding-block: 4px; }
  .brand-lockup img { width: 66px; height: 36px; }
  .brand-lockup h1 { font-size: 23px; }
  .eyebrow,.virtual-only { display: none; }
  .game-shell { height: calc(100dvh - 54px); }
  .panel { max-height: calc(100dvh - 76px); padding: 14px; }
  .panel-title { margin-bottom: 12px; }
  .machine-header { padding-bottom: 6px; }
  .machine-header strong { font-size: 24px; }
  .machine-readout { min-height: 40px; margin-top: 6px; padding: 6px 10px; }
  .wallet-strip { margin-top: 6px; padding: 7px 12px; }
  .controls { margin-top: 6px; }
  body.bonus-mode .info-panel { visibility: hidden; }
}

@media (max-width: 760px) {
  .topbar { align-items: flex-start; padding: 13px 16px; }
  .brand-lockup img { width: 74px; }
  .virtual-only, .top-actions .text-button { display: none; }
  .profile-trigger { max-width: 104px; min-height: 36px; padding: 6px 9px; }
  .profile-trigger-copy small { display: none; }
  .game-shell { display: flex; flex-direction: column; width: min(100% - 24px, 620px); padding-top: 20px; }
  .machine-area { order: 1; }
  .stats-panel { order: 2; width: 100%; }
  .info-panel { order: 3; width: 100%; }
  .machine-header span { display: none; }
  .machine-header { justify-content: center; }
  .paytable { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: center; gap: 7px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { min-height: 190px; }
  .shop-actions { align-items: stretch; flex-direction: column; }
  .shop-actions .primary-button { width: 100%; margin: 0; }
  .intro-rules, .result-stats, .result-verdict > div { grid-template-columns: 1fr; }
  .bonus-breakdown { grid-template-columns: 1fr; }
  .bonus-hud { flex-wrap: wrap; }
  .bonus-hud small { width: 100%; text-align: center; }
  .chef-cauldron-hud { width: min(100%,240px); min-height: 112px; grid-template-columns: 120px 1fr; gap: 5px; margin: 0 auto 8px; }
  .chef-pot-visual { width: 120px; height: 108px; }
  .chef-cauldron-hud strong { grid-column: 2; font-size: 28px; }
  .bonus-brief-mechanics { grid-template-columns: 1fr; }
  .bonus-brief-mechanics > i { transform: rotate(90deg); }
  .bonus-brief-mechanics > span { min-height: 112px; }
  .bonus-brief-mechanics img { width: 72px; height: 72px; }
  .feature-buy-grid { grid-template-columns: 1fr; }
  .feature-buy-card { min-height: 340px; grid-template-rows: 115px auto auto 1fr auto; }
  .feature-buy-art { min-height: 115px; }
  .feature-buy-art img { width: 110px; height: 110px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 230px; grid-template-columns: 38% 1fr; }
  .mode-card img { width: 115%; }
  .reel-cell { box-shadow: none; }
  .reel-cell img { filter: drop-shadow(0 3px 2px rgba(0,0,0,.48)); }
  .reel-cell.spinning img {
    animation-name: reelFlowMobile;
    will-change: transform, opacity;
  }
  .reel-cell.rarity-scatter { animation: none; }
  .reel-cell.winner img { animation-duration: .7s; }
}

@keyframes reelFlowMobile {
  0% { transform: translateY(-24%) scale(.9); opacity: .65; }
  50% { transform: translateY(0) scale(.95); opacity: .92; }
  100% { transform: translateY(24%) scale(.9); opacity: .65; }
}

@media (max-width: 430px) {
  .game-shell { width: calc(100% - 14px); }
  .machine { padding: 10px; border-width: 6px; }
  .reels { gap: 5px; }
  .controls { gap: 9px; }
  .fun-mode .controls { flex-direction: column; }
  .bet-controls { width: min(100%,280px); }
  .buy-feature-button { width: min(100%,280px); }
  .autoplay-controls { width: min(100%,280px); }
  .spin-button { width: 125px; min-height: 65px; }
  .cost-chip { padding: 7px; }
  .paytable { grid-template-columns: 1fr; }
  .modal { padding: 28px 20px 35px; }
  .profile-modal { padding: 44px 20px 30px; outline-offset: 3px; }
  .profile-modal h2 { font-size: clamp(39px,14vw,58px); }
  .auth-heading { padding-top: 8px; }
  .auth-actions { grid-template-columns: 1fr; gap: 0; }
  .auth-actions .primary-button { width: 100%; }
  .auth-code-form input[autocomplete="one-time-code"] { letter-spacing: .25em; }
  .profile-form > div { align-items: stretch; }
  .profile-form .primary-button { min-width: 82px; }
  .mode-card { min-height: 190px; }
  .mode-card-copy { gap: 6px; padding: 18px 14px; }
  .mode-card-copy strong { font-size: 25px; }
  .mode-card-copy b { font-size: 8px; }
}

@media (max-height: 760px) {
  body.focus-mode, body.native-fullscreen { --fullscreen-header: 44px; }
  body.focus-mode .topbar, body.native-fullscreen .topbar { padding-block: 3px; }
  body.focus-mode .brand-lockup img, body.native-fullscreen .brand-lockup img { width: 54px; height: 30px; }
  body.focus-mode .brand-lockup h1, body.native-fullscreen .brand-lockup h1 { font-size: 20px; }
  body.focus-mode .icon-button, body.native-fullscreen .icon-button { width: 34px; height: 34px; }
  body.focus-mode .machine-area, body.native-fullscreen .machine-area { max-width: min(540px, calc(100dvh - var(--fullscreen-header) - 170px)); }
  body.chef-bonus-mode.focus-mode .machine-area, body.chef-bonus-mode.native-fullscreen .machine-area { max-width: min(520px, calc(100dvh - var(--fullscreen-header) - 240px)); }
  body.focus-mode .machine, body.native-fullscreen .machine { padding: 9px; border-width: 7px; }
  body.focus-mode .machine-header, body.native-fullscreen .machine-header { padding-bottom: 6px; }
  body.focus-mode .machine-header strong, body.native-fullscreen .machine-header strong { font-size: 24px; }
  body.focus-mode .machine-readout, body.native-fullscreen .machine-readout { min-height: 40px; margin-top: 6px; padding: 7px 10px; }
  body.focus-mode .machine-readout strong, body.native-fullscreen .machine-readout strong { font-size: 24px; }
  body.focus-mode .wallet-strip, body.native-fullscreen .wallet-strip { margin-top: 7px; padding: 7px 12px; }
  body.focus-mode .wallet-strip strong, body.native-fullscreen .wallet-strip strong { font-size: 15px; }
  body.focus-mode .controls, body.native-fullscreen .controls { margin-top: 7px; }
  body.focus-mode .spin-button, body.native-fullscreen .spin-button { width: 112px; min-height: 56px; }
  body.focus-mode .spin-button span, body.native-fullscreen .spin-button span { font-size: 23px; }
  body.focus-mode .bonus-hud, body.native-fullscreen .bonus-hud { margin-bottom: 6px; padding: 7px 10px; }
  body.focus-mode .chef-cauldron-hud, body.native-fullscreen .chef-cauldron-hud { grid-template-columns: 100px 54px; width: 168px; min-height: 82px; }
  body.focus-mode .chef-pot-visual, body.native-fullscreen .chef-pot-visual { width: 100px; height: 80px; }
}

@media (max-width: 760px) and (orientation: portrait) {
  body.focus-mode .game-shell, body.native-fullscreen .game-shell {
    overflow-y: auto;
    align-items: center;
    overscroll-behavior: contain;
    padding-bottom: max(12px,env(safe-area-inset-bottom));
  }
  body.focus-mode .machine-area, body.native-fullscreen .machine-area { width: min(100%,560px); max-width: none; }
}

@media (max-height: 600px) and (orientation: landscape) {
  body.focus-mode .brand-lockup div, body.native-fullscreen .brand-lockup div,
  body.focus-mode .virtual-only, body.native-fullscreen .virtual-only,
  body.focus-mode .top-actions .text-button, body.native-fullscreen .top-actions .text-button,
  body.focus-mode .stats-panel, body.native-fullscreen .stats-panel,
  body.focus-mode .info-panel, body.native-fullscreen .info-panel { display: none; }
  body.focus-mode .game-shell, body.native-fullscreen .game-shell {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    width: 100%;
    padding: 3px 6px 5px;
  }
  body.focus-mode .machine-area, body.native-fullscreen .machine-area {
    display: grid;
    grid-template-columns: minmax(0,calc(100dvh - var(--fullscreen-header) - 58px)) minmax(150px,170px);
    grid-template-areas:
      "bonus bonus"
      "lights cauldron"
      "machine cauldron"
      "machine wallet"
      "machine controls";
    gap: 3px 7px;
    width: min(calc(100vw - 12px),calc(100dvh - var(--fullscreen-header) + 112px));
    max-width: none;
    align-items: center;
  }
  body.chef-bonus-mode.focus-mode .machine-area, body.chef-bonus-mode.native-fullscreen .machine-area { max-width: none; }
  body.focus-mode .bonus-hud, body.native-fullscreen .bonus-hud { grid-area: bonus; width: 100%; margin: 0; }
  body.focus-mode .chef-cauldron-hud, body.native-fullscreen .chef-cauldron-hud { grid-area: cauldron; width: 100%; min-height: 84px; grid-template-columns: 104px 1fr; margin: 0; }
  body.focus-mode .chef-pot-visual, body.native-fullscreen .chef-pot-visual { width: 104px; height: 82px; }
  body.focus-mode .chef-cauldron-hud strong, body.native-fullscreen .chef-cauldron-hud strong { font-size: 22px; }
  body.focus-mode .machine-lights, body.native-fullscreen .machine-lights { grid-area: lights; }
  body.focus-mode .machine, body.native-fullscreen .machine { grid-area: machine; padding: 5px; border-width: 5px; border-radius: 15px; }
  body.focus-mode .machine-header, body.native-fullscreen .machine-header { display: none; }
  body.focus-mode .reel-window, body.native-fullscreen .reel-window { padding: 1.5%; border-width: 3px; }
  body.focus-mode .machine-readout, body.native-fullscreen .machine-readout { min-height: 31px; margin-top: 4px; padding: 4px 7px; }
  body.focus-mode .machine-readout span, body.native-fullscreen .machine-readout span { font-size: 6px; }
  body.focus-mode .machine-readout strong, body.native-fullscreen .machine-readout strong { font-size: 18px; }
  body.focus-mode .wallet-strip, body.native-fullscreen .wallet-strip {
    grid-area: wallet;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 8px 5px;
  }
  body.focus-mode .wallet-strip > span, body.native-fullscreen .wallet-strip > span { text-align: center; }
  body.focus-mode .wallet-strip i, body.native-fullscreen .wallet-strip i { display: none; }
  body.focus-mode .controls, body.native-fullscreen .controls { grid-area: controls; display: grid; grid-template-columns: 1fr; gap: 5px; width: 100%; margin: 0; }
  body.focus-mode .bet-controls, body.native-fullscreen .bet-controls,
  body.focus-mode .buy-feature-button, body.native-fullscreen .buy-feature-button,
  body.focus-mode .autoplay-controls, body.native-fullscreen .autoplay-controls { width: 100%; min-width: 0; }
  body.focus-mode .bet-controls, body.native-fullscreen .bet-controls,
  body.focus-mode .autoplay-controls, body.native-fullscreen .autoplay-controls { padding: 5px; }
  body.focus-mode .buy-feature-button, body.native-fullscreen .buy-feature-button { min-height: 38px; padding: 5px; }
  body.focus-mode .buy-feature-button small, body.native-fullscreen .buy-feature-button small { display: none; }
  body.focus-mode .spin-button, body.native-fullscreen .spin-button { width: 88px; min-height: 50px; justify-self: center; }
  body.focus-mode .spin-button small, body.native-fullscreen .spin-button small { display: none; }
  body.focus-mode .cash-out-button, body.native-fullscreen .cash-out-button { width: 96px; padding: 8px 4px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 760px) {
  .fun-mode .controls {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 5px;
    width: 100%;
  }
  .fun-mode .bet-controls,
  .fun-mode .buy-feature-button,
  .fun-mode .autoplay-controls {
    width: 100%;
    min-width: 0;
    padding: 5px;
  }
  .fun-mode .spin-button { width: 100%; min-height: 54px; }
  .fun-mode .autoplay-choices { gap: 2px; }
  .fun-mode .autoplay-choices button { min-width: 0; padding-inline: 2px; }
}

/* Keep the character overlay out of legacy cauldron layout rules. */
body.chef-bonus-mode .chef-cauldron-hud,
body.chef-bonus-mode.focus-mode .chef-cauldron-hud,
body.chef-bonus-mode.native-fullscreen .chef-cauldron-hud {
  position: absolute;
  z-index: 35;
  top: 52px;
  right: max(4px,calc(50% - 360px));
  display: block;
  grid-area: auto;
  width: 158px;
  min-height: 185px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  pointer-events: none;
}
@media (max-width: 760px) {
  body.chef-bonus-mode .chef-cauldron-hud,
  body.chef-bonus-mode.focus-mode .chef-cauldron-hud,
  body.chef-bonus-mode.native-fullscreen .chef-cauldron-hud { top: 46px; right: 0; width: 108px; min-height: 124px; }
}

/* Normal mobile pages scroll naturally; viewport-locking stays exclusive to fullscreen. */
body.focus-mode .back-home,
body.native-fullscreen .back-home { display: none; }

@media (max-width: 760px) {
  body:not(.focus-mode):not(.native-fullscreen) {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body:not(.focus-mode):not(.native-fullscreen) .topbar {
    position: relative;
    min-height: 70px;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
  }

  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup { gap: 8px; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup img { width: 56px; height: 38px; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup div { display: block; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup h1 { font-size: 19px; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup .eyebrow { display: none; }
  body:not(.focus-mode):not(.native-fullscreen) .top-actions { gap: 7px; }
  body:not(.focus-mode):not(.native-fullscreen) .virtual-only,
  body:not(.focus-mode):not(.native-fullscreen) .top-actions .text-button { display: none; }
  body:not(.focus-mode):not(.native-fullscreen) .back-home {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 8px 0;
    font-size: 9px;
    white-space: nowrap;
  }
  body:not(.focus-mode):not(.native-fullscreen) .icon-button { width: 36px; height: 36px; }

  body:not(.focus-mode):not(.native-fullscreen) .game-shell {
    display: flex;
    height: auto;
    min-height: 0;
    width: min(100% - 20px,620px);
    padding: 18px 0 36px;
    overflow: visible;
  }
  body:not(.focus-mode):not(.native-fullscreen) .machine-area {
    width: 100%;
    max-width: 620px;
  }
  body:not(.focus-mode):not(.native-fullscreen) .machine { padding: 10px; }
  body:not(.focus-mode):not(.native-fullscreen) .machine-header { display: flex; }
  body:not(.focus-mode):not(.native-fullscreen) .stats-panel,
  body:not(.focus-mode):not(.native-fullscreen) .info-panel { display: block; }
  body:not(.focus-mode):not(.native-fullscreen) footer { display: flex; }
}

@media (max-width: 370px) {
  body:not(.focus-mode):not(.native-fullscreen) .topbar { padding-inline: 8px; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup img { width: 46px; }
  body:not(.focus-mode):not(.native-fullscreen) .brand-lockup h1 { font-size: 17px; }
  body:not(.focus-mode):not(.native-fullscreen) .top-actions { gap: 5px; }
  body:not(.focus-mode):not(.native-fullscreen) .back-home { font-size: 8px; }
  body:not(.focus-mode):not(.native-fullscreen) .icon-button { width: 33px; height: 33px; }
  .profile-trigger { max-width: 78px; min-height: 33px; gap: 6px; padding-inline: 8px; }
  .profile-trigger-copy b { font-size: 7px; letter-spacing: .07em; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-trigger { transition: none; }
  .profile-trigger.loading i { animation: none; border-right-color: currentColor; }
}

/* Balanced bonus pacing: simultaneous Egg collection and a soft Gusto reveal. */
.egg-progress.stage-up { animation-duration: .62s; }
.egg-collection-orb { width: clamp(38px,6vw,62px); }
.reel-cell.prize-being-collected { animation-duration: .4s; }
body.bonus-mode:not(.chef-bonus-mode) .reel-cell.cluster-break,
body.bonus-mode:not(.chef-bonus-mode) .reel-cell.cluster-break img { animation-duration: .46s; }

.gusto-spatula-reveal {
  --spatula-x: 50vw;
  --spatula-y: 50vh;
  --stack-dx: 0px;
  --stack-dy: -120px;
  position: fixed;
  z-index: 220;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  background: radial-gradient(circle at var(--spatula-x) var(--spatula-y),rgba(4,14,31,.04) 0 22%,rgba(3,10,24,.2) 48%,rgba(1,6,17,.46) 100%);
  backdrop-filter: saturate(.84) brightness(.9);
  pointer-events: none;
  transition: opacity 300ms ease,visibility 0s linear 300ms;
}
.gusto-spatula-reveal.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 320ms cubic-bezier(.22,.65,.3,1),visibility 0s;
}
.gusto-spatula-card {
  position: fixed;
  left: var(--spatula-x);
  top: var(--spatula-y);
  display: grid;
  width: min(88vw,520px);
  place-items: center;
  gap: 5px;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translate(-50%,calc(-50% + 12px)) scale(.88);
  filter: brightness(.82) blur(2px);
}
.gusto-spatula-reveal.show .gusto-spatula-card { animation: gustoSpatulaCardIn 460ms cubic-bezier(.18,.78,.24,1) forwards; }
.gusto-spatula-card > span {
  color: #ffd34f;
  font-size: clamp(9px,1.4vw,14px);
  font-weight: 900;
  letter-spacing: .22em;
  text-shadow: 0 0 16px rgba(255,211,79,.85);
}
.gusto-spatula-card > strong {
  color: #fff;
  font: 900 clamp(86px,20vw,190px)/.86 Impact,"Arial Black",sans-serif;
  text-shadow: 0 0 10px #fff,0 0 28px #ffd34f,0 0 72px #ff38cf,7px 8px #000;
  transform-origin: center;
}
.gusto-spatula-card > strong[data-rarity="rare"],
.gusto-spatula-card > strong[data-rarity="epic"] { color: #ff8ce9; text-shadow: 0 0 12px #fff,0 0 35px #ff38cf,0 0 80px #8a2cff,7px 8px #000; }
.gusto-spatula-card > strong[data-rarity="legendary"],
.gusto-spatula-card > strong[data-rarity="jackpot"] { color: #fffbd0; text-shadow: 0 0 15px #fff,0 0 42px #ffd34f,0 0 92px #fff,7px 8px #000; }
.gusto-spatula-card > b {
  padding: 6px 14px;
  color: #fff;
  border: 1px solid rgba(255,211,79,.7);
  background: rgba(6,17,38,.88);
  box-shadow: 0 0 24px rgba(255,211,79,.22);
  font: 900 clamp(19px,4vw,38px)/1.1 Impact,"Arial Black",sans-serif;
  letter-spacing: .04em;
}
.gusto-spatula-card > small { color: #ffd34f; font-size: clamp(8px,1.5vw,13px); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gusto-spatula-reveal.stacked .gusto-spatula-card > strong { animation: gustoSpatulaIntoStack 500ms cubic-bezier(.32,.05,.45,1) forwards; }
.gusto-spatula-reveal.stacked .gusto-spatula-card > b { animation: gustoCalculationConfirm 420ms ease both; }
.gusto-spatula-reveal.miss { background: radial-gradient(circle at var(--spatula-x) var(--spatula-y),rgba(4,14,31,.03),rgba(1,6,17,.34)); }
.gusto-spatula-reveal.miss .gusto-spatula-card > strong { color: #8793a6; filter: grayscale(1); text-shadow: 4px 5px #000; }
@keyframes gustoSpatulaCardIn { to { opacity: 1; transform: translate(-50%,-50%) scale(1); filter: brightness(1) blur(0); } }
@keyframes gustoSpatulaIntoStack {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--stack-dx),var(--stack-dy)) scale(.12); }
}
@keyframes gustoCalculationConfirm { 50% { color: #07152a; background: #ffd34f; transform: scale(1.06); } }

body.chef-bonus-mode .machine .gusto-hud,
body.chef-bonus-mode.focus-mode .machine .gusto-hud,
body.chef-bonus-mode.native-fullscreen .machine .gusto-hud { grid-template-columns: 110px minmax(220px,280px); }
body.chef-bonus-mode .machine .gusto-tray {
  width: min(100%,280px);
  min-height: 82px;
  grid-template-columns: minmax(82px,1fr) minmax(106px,1.12fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 7px;
  place-content: stretch;
}
body.chef-bonus-mode .machine .gusto-tray > span { grid-column: 1; grid-row: 1; align-self: end; }
body.chef-bonus-mode .machine .gusto-tray > strong { grid-column: 1; grid-row: 2; align-self: center; }
body.chef-bonus-mode .machine .gusto-tokens {
  position: static;
  grid-column: 1/-1;
  grid-row: 3;
  width: auto;
  min-height: 20px;
  justify-content: center;
  transform: none;
}
.gusto-pot {
  grid-column: 2;
  grid-row: 1/3;
  display: grid;
  min-width: 0;
  place-content: center;
  padding-left: 7px;
  border-left: 1px solid rgba(255,211,79,.45);
}
.gusto-pot span { color: #aeb9c8; font-size: 6px; letter-spacing: .16em; text-transform: uppercase; }
.gusto-pot strong { color: #fff; font: 900 clamp(18px,3vw,28px)/1 Impact,"Arial Black",sans-serif; text-shadow: 0 0 14px rgba(255,211,79,.65); white-space: nowrap; }
.gusto-pot strong b { color: #ffd34f; }

@media (max-width: 760px) {
  body.chef-bonus-mode .machine .gusto-hud,
  body.chef-bonus-mode.focus-mode .machine .gusto-hud,
  body.chef-bonus-mode.native-fullscreen .machine .gusto-hud { grid-template-columns: 70px minmax(164px,1fr); }
  body.chef-bonus-mode .machine .gusto-tray { width: 100%; min-height: 60px; grid-template-columns: 72px minmax(82px,1fr); padding: 4px 6px; }
  body.chef-bonus-mode .machine .gusto-tray > strong { font-size: 25px; }
  .gusto-pot strong { font-size: 17px; }
  .gusto-spatula-card > strong { font-size: clamp(72px,28vw,125px); }
}

@media (prefers-reduced-motion: reduce) {
  .gusto-spatula-reveal.show .gusto-spatula-card,
  .gusto-spatula-reveal.stacked .gusto-spatula-card > strong,
  .gusto-spatula-reveal.stacked .gusto-spatula-card > b { animation: none !important; }
}

/* Fit the complete desktop cabinet using its measured content height. */
@media (min-width: 761px) {
  body .game-shell {
    width: calc(100% - 32px);
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) minmax(190px, 280px);
    gap: clamp(12px, 1.6vw, 28px);
  }
  body .machine-area { min-width: 0; }
  body[class] .machine-area[data-fitted],
  body .machine-area[data-fitted] {
    width: var(--cabinet-width);
    max-width: none !important;
    zoom: var(--cabinet-scale, 1);
  }
  body .controls { flex-wrap: wrap; gap: 8px; }
}
@media (min-width: 761px) and (max-height: 680px) {
  body .game-shell { grid-template-columns: minmax(0, 1fr); }
}
