:root{
  --primary:#4c6ef5; --primary-dark:#364fc7; --card-bg:#222831; --dark:#121212;
  --text:#f0f0f0; --text2:#b0b0b0; --green:#22e584; --red:#ff4d5e; --gold:#ffcf5c; --cyan:#37c8ff;
}
*{box-sizing:border-box}
.odj-play-lock-banner{
  display:none;
  margin:0 0 0.75rem;
  padding:0.7rem 0.85rem;
  background:#664d03;
  color:#fff;
  border-radius:8px;
  font-size:0.9rem;
  text-align:center;
  line-height:1.4;
  z-index:40;
}
.odj-play-lock-banner:not([hidden]){
  display:block;
  position:fixed;
  top:calc(12px + env(safe-area-inset-top, 0px));
  left:12px;
  right:12px;
  width:auto;
  max-width:520px;
  margin:0 auto;
  z-index:10050;
  box-shadow:0 8px 24px rgba(0,0,0,0.45);
}
.odj-play-lock-banner .play-lock-takeover-btn{
  display:block;
  width:min(100%,240px);
  min-height:44px;
  margin:0.55rem auto 0;
  padding:0.45rem 1rem;
  border:0;
  border-radius:8px;
  background:#f0d060;
  color:#3a2a00;
  font-weight:700;
  font-size:0.95rem;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
  touch-action:manipulation;
}
.odj-play-lock-banner .play-lock-takeover-btn:disabled{
  opacity:0.65;
  cursor:wait;
}
body.odj-mobile-stage-active .play-area.active .odj-play-lock-banner:not([hidden]),
#odjPlayArea:fullscreen .odj-play-lock-banner:not([hidden]),
#odjPlayArea:-webkit-full-screen .odj-play-lock-banner:not([hidden]){
  position:absolute;
  top:env(safe-area-inset-top,0);
  left:0;
  right:0;
  margin:0;
  border-radius:0;
  z-index:50;
}
.odj-play-info,
.pf-info,
.fireworks-play-info{display:flex;justify-content:space-between;align-items:center;gap:0.75rem;margin-bottom:0.75rem;
  padding:0.5rem 0.75rem;background:rgba(255,255,255,0.05);border-radius:8px;font-size:1rem;min-width:0}
.odj-play-info-left,
.pf-info-left,
.fireworks-play-info-left{display:flex;flex-direction:column;gap:0.1rem;font-size:0.95rem;min-width:0;overflow:hidden}
.pf-route-sep{display:inline-block;margin:0 0.35rem;color:rgba(255,255,255,0.32)}
.odj-play-info-left .sub,
.pf-info-left .sub,
.fireworks-play-info-left .sub{font-size:0.78rem;color:#666}
.odj-play-info span,
.fireworks-play-info span{color:#aaa}
.odj-play-info strong,
.fireworks-play-info strong{color:#fff}
.odj-play-info-left .sub strong,
.fireworks-play-info-left .sub strong{color:#aaa;font-size:0.78rem}
.odj-balance-read,
.pf-info-right,
.fireworks-drops-remaining{color:var(--text2);font-size:0.95rem;white-space:nowrap}
.odj-play-controls,
.pf-controls,
.fireworks-play-controls{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.75rem;flex-wrap:wrap}
.odj-play-control-row,
.pf-play-control-row,
.fireworks-play-control-row{display:flex;align-items:center;gap:0.4rem;flex-shrink:0}
.odj-play-controls label,
.pf-controls label,
.fireworks-play-controls label{margin:0;font-size:0.78rem;color:#888;white-space:nowrap}
.odj-pill-group,
.pf-pill-group,
.fireworks-pill-group{display:flex;gap:0.3rem;flex-wrap:nowrap}
.plinko-quantity-controls{display:flex;align-items:center;gap:0.5rem;justify-content:flex-start;flex-wrap:wrap;min-width:0;max-width:100%}
.plinko-qty-more-wrapper{position:relative;display:inline-flex}
.plinko-qty-more-btn{letter-spacing:2px;font-size:1.2rem}
.plinko-qty-more-select{position:absolute;opacity:0;pointer-events:all;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:10}
.pf-sep,
.control-divider{width:1px;height:20px;background:rgba(255,255,255,0.15);flex-shrink:0}
.pf-pill,
.plinko-pill{min-width:48px;height:44px;border:2px solid rgba(255,255,255,0.3);background:rgba(255,255,255,0.1);
  color:#fff;border-radius:22px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  font-weight:600;font-size:1rem;padding:0 0.8rem;transition:all 0.2s;user-select:none}
.odj-play-controls .pf-pill,
.odj-play-controls .fireworks-pill,
.pf-controls .pf-pill,
.fireworks-play-controls .fireworks-pill{min-width:0;height:32px;font-size:0.82rem;padding:0 0.65rem;border-radius:16px;border-width:1.5px}
.odj-play-select{display:none}
.odj-play-select:disabled{opacity:0.38;cursor:not-allowed}
.pf-pill:hover:not(.active),
.plinko-pill:hover:not(:disabled):not(.active){background:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.5);transform:translateY(-2px)}
.pf-pill:disabled,
.plinko-pill:disabled{opacity:0.38;cursor:not-allowed;transform:none;pointer-events:none}
.pf-pill.active,
.plinko-pill.active{background:linear-gradient(180deg,#1c1f28 0%,#0c0d11 100%);border-color:rgba(76,110,245,0.65);color:#fff;
  box-shadow:0 0 12px rgba(76,110,245,0.11),inset 0 1px 0 rgba(255,255,255,0.06)}
.pf-pill.md.active,
.plinko-pill.md.active{background:linear-gradient(180deg,#1c1f28 0%,#0c0d11 100%);border-color:rgba(224,49,49,0.65);
  box-shadow:0 0 12px rgba(224,49,49,0.12),inset 0 1px 0 rgba(255,255,255,0.06)}
.pf-pill.md[data-m="demo"].active,
.plinko-pill.md[data-m="demo"].active{background:linear-gradient(180deg,#1c1f28 0%,#0c0d11 100%);border-color:rgba(76,110,245,0.65);
  box-shadow:0 0 12px rgba(76,110,245,0.11),inset 0 1px 0 rgba(255,255,255,0.06)}
.pf-bet-pill{height:44px;min-width:96px;border-radius:22px;border:2px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08);display:inline-flex;align-items:center;justify-content:center;
  font-weight:700;font-size:1.05rem;padding:0 1rem}
.odj-game-column,
.odj-control-rail,
.odj-route-stage-wrap,
.odj-stage-cluster,
.odj-rail-stack,
.odj-rail-deck{display:contents}
/* Regular play flattens the rail wrappers, so Mode/Trades would sit under the
   board. Keep Plinko order: status strip, config pills, canvas, results. */
.play-area.active .odj-form{
  display:flex;flex-direction:column
}
.play-area.active .odj-play-info{order:1}
.play-area.active .odj-play-controls{order:2}
.play-area.active .odj-board-wrap{order:3}
.play-area.active .pf-result-area{order:4}
.play-area.active .odj-play-stats{order:5}
.play-area.active .odj-play-actions{order:6}
.play-area.active .odj-verify-last{order:7}
.odj-trades-per-route{display:none}
.odj-rail-kicker,
.odj-rail-route,
.odj-rail-toolbar{display:none}
.odj-board-wrap,
.pf-board-wrap{position:relative;isolation:isolate;width:100%;max-width:min(600px,100%);aspect-ratio:100/86;max-height:calc(100dvh - 300px);
  min-width:0;min-height:0;margin:0 auto 0.5rem;border-radius:12px;
  overflow:hidden;background:#0d0e14;border:1px solid rgba(55,200,255,0.28);
  box-shadow:0 0 24px rgba(55,200,255,0.10);transition:box-shadow .35s ease,border-color .35s ease}
.pf-board-wrap.win{border-color:rgba(34,229,132,0.45);box-shadow:0 0 28px rgba(34,229,132,0.16)}
.pf-board-wrap.gold{border-color:rgba(255,207,92,0.55);box-shadow:0 0 34px rgba(255,207,92,0.22)}
.pf-board-wrap.lose{border-color:rgba(255,77,94,0.35);box-shadow:0 0 24px rgba(255,77,94,0.12)}
#pfCanvas{display:block;width:100%;height:100%}
.pf-outcome-hud{
  position:absolute;right:14px;bottom:12px;z-index:12;pointer-events:none;
  display:flex;align-items:baseline;justify-content:flex-end;gap:0.38rem;
  max-width:calc(100% - 28px);
  padding:0;
  background:none;
  border:none;
  box-shadow:none;
  opacity:0;transform:translateY(6px);
  transition:opacity .22s ease,transform .22s ease;
  white-space:nowrap;
  text-align:right;
  text-shadow:0 0 10px rgba(0,0,0,0.32),0 1px 10px rgba(0,0,0,0.55);
}
.pf-outcome-hud.is-active{opacity:1;transform:translateY(0)}
.pf-outcome-kicker{
  margin:0;
  flex:0 0 auto;
  font:700 0.56rem/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:rgba(127,168,200,0.9)
}
.pf-outcome-value{
  flex:0 0 auto;
  font:700 0.82rem/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-variant-numeric:tabular-nums;
  color:#f4f8ff;
  text-align:right
}
.pf-outcome-meta{
  margin:0;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font:600 0.72rem/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-variant-numeric:tabular-nums;
  color:#9eb1c4;
  text-align:right
}
.pf-outcome-hud.is-live .pf-outcome-kicker,
.pf-outcome-hud.is-live .pf-outcome-value{color:var(--cyan)}
.pf-outcome-hud.is-win .pf-outcome-kicker,
.pf-outcome-hud.is-win .pf-outcome-value{color:var(--green)}
.pf-outcome-hud.is-lose .pf-outcome-kicker,
.pf-outcome-hud.is-lose .pf-outcome-value{color:var(--red)}
.pf-outcome-hud.is-gold .pf-outcome-kicker,
.pf-outcome-hud.is-gold .pf-outcome-value{color:var(--gold)}
.odj-jackpot-stage{position:absolute;inset:0;z-index:10000;pointer-events:none;display:grid;place-items:center;opacity:0;
  overflow:hidden;container-type:inline-size;transition:opacity .16s ease,background .28s ease}
.odj-jackpot-stage.is-impact,
.odj-jackpot-stage.is-release{position:absolute;inset:0;z-index:10000;container-type:inline-size}
.odj-jackpot-stage.is-impact,
.odj-jackpot-stage.is-release,
.odj-jackpot-stage.is-chain{opacity:1;background:
  radial-gradient(ellipse at 50% 44%,rgba(255,251,218,0.22),rgba(255,190,55,0.11) 28%,rgba(255,190,55,0.035) 50%,rgba(4,6,10,0.06) 78%)}
.odj-jackpot-stage.is-ambient{opacity:1;background:radial-gradient(ellipse at 50% 40%,rgba(255,207,92,0.075),rgba(255,170,40,0.03) 34%,rgba(4,6,10,0) 72%)}
.odj-jackpot-stage.is-fading{opacity:0;transition:opacity .5s ease}
.odj-jackpot-flare,
.odj-jackpot-shock,
.odj-jackpot-rays{position:absolute;pointer-events:none;opacity:0}
.odj-jackpot-flare{inset:-8%;mix-blend-mode:screen;filter:blur(2px);background:
  radial-gradient(ellipse at 50% 45%,rgba(255,253,235,0.58),rgba(255,201,92,0.28) 23%,rgba(255,170,60,0.105) 44%,rgba(4,6,10,0) 74%)}
.odj-jackpot-shock{left:50%;top:48%;width:12%;min-width:74px;aspect-ratio:1;border:2px solid rgba(255,246,202,0.62);border-radius:50%;
  box-shadow:0 0 28px rgba(255,207,92,0.48),0 0 86px rgba(255,160,40,0.24),inset 0 0 22px rgba(255,230,160,0.34);transform:translate(-50%,-50%) scale(.4);mix-blend-mode:screen}
.odj-jackpot-rays{inset:-52%;mix-blend-mode:screen;filter:blur(7px);background:
  repeating-conic-gradient(from -8deg at 50% 50%,transparent 0deg 15deg,rgba(255,219,112,0.055) 17deg 24deg,transparent 27deg 43deg);
  -webkit-mask-image:radial-gradient(ellipse at 50% 50%,#000 0 47%,rgba(0,0,0,0.55) 62%,transparent 82%);
  mask-image:radial-gradient(ellipse at 50% 50%,#000 0 47%,rgba(0,0,0,0.55) 62%,transparent 82%)}
.odj-jackpot-stage.is-release .odj-jackpot-flare{animation:odjJackpotFlare .58s ease-out both}
.odj-jackpot-stage.is-release .odj-jackpot-shock{animation:odjJackpotImpactFlash .85s ease-out both}
.odj-jackpot-stage.is-release .odj-jackpot-rays,
.odj-jackpot-stage.is-ambient .odj-jackpot-rays{opacity:1;animation:odjJackpotRays 18s linear infinite}
.odj-jackpot-stage.is-chain .odj-jackpot-shock{animation:odjJackpotChainPulse .45s ease-out both}
.odj-jackpot-copy{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%) scale(.3);display:flex;flex-direction:column;align-items:center;
  gap:0.08rem;text-align:center;text-transform:uppercase;font-family:Arial,sans-serif;
  color:#fffdf0;opacity:0;text-shadow:0 8px 0 rgba(83,50,21,0.86),0 0 42px rgba(248,170,39,0.86),0 0 86px rgba(255,194,58,0.42),0 3px 22px rgba(0,0,0,0.78)}
.odj-jackpot-stage.is-impact .odj-jackpot-copy{opacity:1;animation:odjJackpotCopyPrime .22s ease-out both}
.odj-jackpot-stage.is-release .odj-jackpot-copy{opacity:1;animation:odjJackpotCopySlam .65s cubic-bezier(.15,.8,.2,1) both}
.odj-jackpot-stage.is-chain .odj-jackpot-copy,
.odj-jackpot-stage.is-ambient .odj-jackpot-copy{opacity:1}
.odj-jackpot-stage.is-resting .odj-jackpot-copy{top:50%;transform:translateY(-50%) scale(1);transition:none}
.odj-jackpot-kicker,.odj-jackpot-sub{display:block;font:900 clamp(13px,2.6cqw,28px)/1.5 monospace;letter-spacing:.34em;color:#fff0c0}
.odj-jackpot-number{font:900 clamp(108px,23cqw,260px)/0.92 Arial,sans-serif;letter-spacing:-.075em;padding-right:.07em;
  background:linear-gradient(#fffbea 12%,#ffda76 38%,#ed982b 65%,#fff2b3 82%);
  background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  animation:odjJackpotNumberPulse .65s ease-in-out infinite}
.odj-jackpot-stage.is-mega .odj-jackpot-copy{text-shadow:0 10px 0 rgba(103,50,24,0.9),0 0 54px rgba(255,208,95,0.95),0 0 112px rgba(255,148,38,0.56),0 4px 24px rgba(0,0,0,0.82)}
.odj-jackpot-stage.is-mega .odj-jackpot-number{font-size:clamp(132px,29cqw,340px)}
.odj-jackpot-stage.is-mega .odj-jackpot-flare{background:
  radial-gradient(ellipse at 50% 44%,rgba(255,252,229,0.7),rgba(255,207,91,0.36) 29%,rgba(255,161,62,0.14) 55%,rgba(4,6,10,0.02) 82%)}
.odj-jackpot-sub{letter-spacing:.16em;font-size:clamp(12px,2.2cqw,24px)}
.odj-jackpot-hit-hold #pfCanvas{filter:brightness(1.55) saturate(.72);transform:scale(1.018)}
.odj-jackpot-screenquake .odj-board-wrap{animation:odjJackpotScreenQuake .82s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion:reduce){
  .odj-jackpot-stage,
  .odj-jackpot-flare,
  .odj-jackpot-shock,
  .odj-jackpot-rays,
  .odj-jackpot-number,
  .odj-jackpot-screenquake .odj-board-wrap{animation:none!important;transition:none}
}
@keyframes odjJackpotSlam{0%{opacity:0;transform:translate(-50%,-50%) scale(.48)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.16)}100%{opacity:.24;transform:translate(-50%,-50%) scale(2.35)}}
@keyframes odjJackpotPrime{0%{opacity:0;transform:translate(-50%,-50%) scale(.42)}35%{opacity:.86;transform:translate(-50%,-50%) scale(.92)}100%{opacity:.26;transform:translate(-50%,-50%) scale(1.22)}}
@keyframes odjJackpotFlare{0%{opacity:.72}55%{opacity:.34}100%{opacity:0}}
@keyframes odjJackpotImpactFlash{0%{opacity:.7;transform:translate(-50%,-50%) scale(.32)}100%{opacity:0;transform:translate(-50%,-50%) scale(16)}}
@keyframes odjJackpotChainPulse{0%{opacity:1;transform:translate(-50%,-50%) scale(.65)}100%{opacity:0;transform:translate(-50%,-50%) scale(5.2)}}
@keyframes odjJackpotRays{to{transform:rotate(360deg)}}
@keyframes odjJackpotCopyPrime{0%{opacity:0;transform:translateY(-50%) scale(.78)}100%{opacity:1;transform:translateY(-50%) scale(1.04)}}
@keyframes odjJackpotCopySlam{0%{opacity:0;transform:translateY(-50%) scale(2.35) rotate(-5deg)}18%{opacity:1;transform:translateY(-50%) scale(.86) rotate(1.5deg)}38%{transform:translateY(-50%) scale(1.14) rotate(-1deg)}65%{transform:translateY(-50%) scale(.99)}100%{opacity:1;transform:translateY(-50%) scale(1)}}
@keyframes odjJackpotNumberPulse{0%,100%{filter:drop-shadow(0 0 2px rgba(255,181,43,.4))}50%{filter:drop-shadow(0 0 9px rgba(255,240,188,.95)) drop-shadow(0 0 18px rgba(255,191,73,.73))}}
@keyframes odjJackpotScreenQuake{0%{transform:translate3d(0,0,0) scale(1)}8%{transform:translate3d(-8px,5px,0) scale(1.006)}16%{transform:translate3d(10px,-6px,0) scale(1.01)}25%{transform:translate3d(-12px,-3px,0) scale(1.008)}35%{transform:translate3d(9px,7px,0) scale(1.006)}50%{transform:translate3d(-5px,2px,0) scale(1.003)}70%{transform:translate3d(3px,-2px,0) scale(1.001)}100%{transform:translate3d(0,0,0) scale(1)}}
.pf-result-area{position:relative;height:72px;margin-bottom:0.75rem;overflow:hidden}
.pf-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:var(--text2);
  font-size:0.95rem;background:rgba(255,255,255,0.04);border-radius:10px}
.pf-result-strip{display:flex;flex-direction:row;gap:0.4rem;align-items:stretch;height:100%}
.pf-result-chip{flex:1 1 0;min-width:0;border-radius:10px;display:flex;align-items:center;justify-content:center;
  border:1px solid transparent;background:rgba(255,255,255,0.07);overflow:hidden;
  transition:background 0.4s ease,border-color 0.4s ease,box-shadow 0.4s ease;
  animation:chipSlideIn 0.3s cubic-bezier(0.22,1,0.36,1)}
.pf-result-chip .m{font-size:1.1rem;font-weight:800;line-height:1;white-space:nowrap;color:#fff}
.pf-result-chip.dim .m{color:#8a94a3;font-size:0.95rem}
.pf-result-chip.red{background:rgba(255,77,94,0.10)}
.pf-result-chip.red .m{color:var(--red);font-size:0.95rem}
.pf-result-chip.green{background:rgba(34,229,132,0.10)}
.pf-result-chip.green .m{color:var(--green)}
.pf-result-chip.best{background:linear-gradient(135deg,rgba(255,207,92,0.28),rgba(255,160,40,0.18));
  border-color:rgba(255,207,92,0.6);box-shadow:0 0 14px rgba(255,207,92,0.25)}
.pf-result-chip.best .m{color:var(--gold)}
.pf-result-chip.latest{border-color:rgba(55,200,255,0.48);background:rgba(55,200,255,0.10);
  box-shadow:inset 0 0 12px rgba(55,200,255,0.08)}
.pf-result-chip.latest.green{border-color:rgba(34,229,132,0.58);background:rgba(34,229,132,0.16);
  box-shadow:inset 0 0 12px rgba(34,229,132,0.10)}
.pf-result-chip.latest.red{border-color:rgba(255,77,94,0.52);background:rgba(255,77,94,0.14);
  box-shadow:inset 0 0 12px rgba(255,77,94,0.10)}
.pf-result-chip.latest.best{border-color:rgba(255,207,92,0.72);box-shadow:0 0 14px rgba(255,207,92,0.25),inset 0 0 12px rgba(255,207,92,0.12)}
@keyframes chipSlideIn{from{opacity:0;transform:translateX(-14px) scale(0.9)}to{opacity:1;transform:none}}
.pf-chip-leaving{animation:pfChipOut 0.3s ease forwards;pointer-events:none}
@keyframes pfChipOut{to{opacity:0;transform:scale(0.72);flex-grow:0.0001;min-width:0}}
.odj-play-stats,
.pf-stats,
.fireworks-play-stats{display:flex;gap:0;margin-bottom:0.75rem;background:rgba(255,255,255,0.05);
  border-radius:8px;border:1px solid rgba(255,255,255,0.08);overflow:hidden;min-width:0}
.odj-play-stat,
.pf-stat,
.fireworks-play-stat{flex:1;min-width:0;background:rgba(255,255,255,0.05);padding:0.4rem 0.5rem;text-align:center;
  border-right:1px solid rgba(255,255,255,0.08);display:grid;grid-template-rows:auto minmax(0,1fr);align-content:center}
.odj-play-stat:last-child,
.pf-stat:last-child,
.fireworks-play-stat:last-child{border-right:none}
.odj-play-stat.stat-highlight,
.pf-stat.hl,
.fireworks-play-stat.stat-highlight{background:rgba(47,158,68,0.10);box-shadow:inset 0 0 18px rgba(47,158,68,0.12)}
.odj-stat-label,
.pf-stat-label,
.fireworks-stat-label{display:block;font-size:0.7rem;color:var(--text2);margin-bottom:0.15rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.odj-stat-value,
.pf-stat-value,
.fireworks-stat-value{display:block;min-width:0;max-width:100%;font-size:0.95rem;font-weight:700;margin-top:0;color:#fff;
  line-height:1.05;white-space:nowrap;overflow:visible;text-overflow:clip;font-variant-numeric:tabular-nums}
.odj-play-stat.stat-highlight .odj-stat-value,
.pf-stat.hl .pf-stat-value,
.fireworks-play-stat.stat-highlight .fireworks-stat-value{font-size:1.05rem;color:#4ade80}
.odj-play-actions,
.pf-bottom,
.fireworks-play-actions{display:flex;align-items:center;gap:0.65rem;margin-top:0.75rem;min-width:0}
.odj-play-actions .btn-plinko{
  flex:1 1 auto;min-width:0;width:auto;margin-top:0;padding:0.85rem 1rem;
  display:inline-flex;align-items:center;justify-content:center;gap:0.35rem;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2
}
.odj-play-actions .btn-plinko i{font-size:0.95em;line-height:1;flex:0 0 auto}
.odj-verify-last{text-align:center;margin-top:0.4rem}
.odj-verify-last-btn{background:none;border:none;color:#555;font-size:0.75rem;cursor:pointer;padding:0.2rem 0.5rem;transition:color 0.15s;letter-spacing:0.01em}
.odj-verify-last-btn:not(:disabled):hover{color:#aaa}
.odj-verify-last-btn:disabled{color:#333;cursor:default}
.odj-verify-last-btn i{margin-right:0.25rem;font-size:0.7rem}
.odj-auto-drop-row,
.pf-auto-row,
.fireworks-auto-drop-row{display:flex;align-items:center;justify-content:flex-start;gap:0.5rem;flex:0 0 auto;min-width:0}
.odj-auto-drop-label,
.pf-auto-label,
.fireworks-auto-drop-label{font-size:0.85rem;font-weight:500;color:#aaa;user-select:none;line-height:1.2;flex-shrink:0}
.odj-auto-drop-label-short,
.pf-auto-label-short,
.fireworks-auto-drop-label-short{display:none}
.odj-auto-drop-label-long,
.pf-auto-label-long,
.fireworks-auto-drop-label-long{display:inline}
.pf-toggle{width:46px;height:26px;border-radius:13px;border:none;background:rgba(255,255,255,0.18);
  cursor:pointer;position:relative;transition:background .2s;flex:none}
.pf-toggle::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;
  background:#fff;transition:left .2s}
.pf-toggle.is-on{background:var(--primary)}
.pf-toggle.is-on::after{left:23px}
.pf-audio,
.fw-audio-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;
  border-radius:10px;border:1px solid rgba(255,255,255,0.1);background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.82);
  cursor:pointer;transition:background 0.2s ease,border-color 0.2s ease,color 0.2s ease;-webkit-tap-highlight-color:transparent}
.pf-audio:hover,
.fw-audio-btn:hover{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.16)}
.pf-audio:focus-visible,
.fw-audio-btn:focus-visible{outline:2px solid rgba(232,192,71,0.5);outline-offset:2px}
.pf-audio.is-muted,
.fw-audio-btn.is-muted{color:rgba(255,255,255,0.45);background:rgba(0,0,0,0.2)}
.pf-audio i,
.fw-audio-btn i{font-size:1rem;pointer-events:none}
.pf-audio .pf-audio-icon-off{display:none}
.pf-audio.is-muted .pf-audio-icon-on{display:none}
.pf-audio.is-muted .pf-audio-icon-off{display:inline}
.btn-pf,
.btn-plinko,
.btn-fireworks{display:block;width:100%;flex:1 1 auto;min-width:0;padding:1rem;margin-top:1rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:1rem;transition:opacity 0.15s;color:#fff}
.btn-plinko-primary{background:linear-gradient(180deg,#1c1f28 0%,#0c0d11 100%);border:1px solid rgba(76,110,245,0.55);box-shadow:0 0 12px rgba(76,110,245,0.09),inset 0 1px 0 rgba(255,255,255,0.06);transition:background 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease,opacity 0.15s ease}
.btn-plinko-primary:hover:not(:disabled){opacity:1;border-color:rgba(76,110,245,0.78);background:linear-gradient(180deg,#22262f 0%,#14161c 100%);box-shadow:0 0 16px rgba(76,110,245,0.14),inset 0 1px 0 rgba(255,255,255,0.08)}
.btn-plinko-success,
.btn-fireworks{background:linear-gradient(180deg,#1c1f28 0%,#0c0d11 100%);border:2px solid rgba(63,185,90,0.78);box-shadow:0 0 12px rgba(47,158,68,0.09),inset 0 0 22px rgba(47,158,68,0.12),inset 0 1px 0 rgba(255,255,255,0.06);transition:background 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease,opacity 0.15s ease}
.btn-plinko-success:hover:not(:disabled),
.btn-fireworks:hover:not(:disabled){opacity:1;border-color:rgba(80,205,110,0.95);background:linear-gradient(180deg,#22262f 0%,#14161c 100%);box-shadow:0 0 16px rgba(47,158,68,0.14),inset 0 0 26px rgba(47,158,68,0.16),inset 0 1px 0 rgba(255,255,255,0.08)}
.btn-pf:hover:not(:disabled){opacity:0.9}
.btn-pf:disabled,
.btn-plinko:disabled,
.btn-fireworks:disabled{opacity:0.55;cursor:not-allowed}
.pf-verify{text-align:center;margin-top:0.7rem;font-size:0.8rem;color:#6a7684}
.pf-verify code{color:#7fa8c8}
.meme-pop .mm{position:absolute;right:4%;bottom:6%;transform:rotate(-8deg);
  font:900 clamp(15px,2.55cqw,26px) monospace;letter-spacing:0.02em;line-height:1;pointer-events:none;
  -webkit-text-stroke:2px #fff;paint-order:stroke fill;
  text-shadow:0 0 2px #fff,0 0 2px #fff,0 2px 8px rgba(0,0,0,0.55)}
.meme-pop .mm.w{color:#12b768}
.meme-pop.jackpot-meme{border-color:var(--gold);box-shadow:0 0 28px rgba(255,207,92,0.48),0 0 60px rgba(255,150,40,0.16)}
.meme-pop.jackpot-meme .hd{color:var(--gold);background:rgba(255,207,92,0.12)}
.meme-pop.jackpot-meme .mm.w{color:#ffbd35;animation:odjJackpotMemeFlash 0.65s ease-in-out infinite;
  text-shadow:0 0 3px #fffdf0,0 0 14px rgba(255,189,53,0.95),0 2px 8px rgba(0,0,0,0.55)}
@media (prefers-reduced-motion:reduce){
  .meme-pop.jackpot-meme .mm.w{animation:none;color:#ffbd35}
}
@keyframes odjJackpotMemeFlash{
  0%,100%{color:#ffbd35;filter:brightness(1);text-shadow:0 0 3px #fffdf0,0 0 12px rgba(255,189,53,0.72),0 2px 8px rgba(0,0,0,0.55)}
  50%{color:#fffdf0;filter:brightness(1.16);text-shadow:0 0 5px #fffdf0,0 0 22px rgba(255,189,53,1),0 0 36px rgba(255,207,92,0.55),0 2px 8px rgba(0,0,0,0.55)}
}
.meme-pop .mm.l{color:#e6293a}
.meme-pop{position:absolute;width:var(--odj-meme-w,25.5%);z-index:5;border-radius:8px;overflow:hidden;
  background:#070b12;border:1.5px solid var(--green);box-shadow:0 0 18px rgba(34,229,132,0.35);
  animation:memeIn 0.28s cubic-bezier(0.34,1.56,0.64,1);pointer-events:none}
.meme-pop.lose{border-color:var(--red);box-shadow:0 0 18px rgba(255,77,94,0.35)}
.meme-pop .hd{display:flex;justify-content:space-between;align-items:center;padding:3px 8px;
  background:rgba(255,255,255,0.06);font:600 10px monospace;color:var(--green)}
.meme-pop.lose .hd{color:var(--red)}
.meme-pop img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;filter:saturate(1.15)}
.meme-pop::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0.08),rgba(0,0,0,0.12))}
.meme-pop.out{animation:memeOut 0.3s forwards}
.odj-play-info-right{display:flex;align-items:center;justify-content:flex-end;gap:0.45rem;min-width:0}
.odj-stage-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;padding:0;
  border-radius:999px;border:1px solid rgba(255,255,255,0.14);background:rgba(5,9,14,0.34);color:rgba(255,255,255,0.72);
  cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background 0.18s ease,border-color 0.18s ease,color 0.18s ease,box-shadow 0.18s ease,transform 0.12s ease}
.odj-stage-toggle:hover:not(:disabled){background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.22);color:#fff}
.odj-stage-toggle:active:not(:disabled){transform:scale(0.96)}
.odj-stage-toggle:disabled{opacity:0.38;cursor:not-allowed;transform:none;pointer-events:none}
.odj-stage-toggle:focus-visible{outline:2px solid rgba(55,200,255,0.5);outline-offset:2px}
.odj-stage-toggle[aria-pressed="true"]{color:#fff;border-color:rgba(55,200,255,0.54);background:rgba(55,200,255,0.14);
  box-shadow:0 0 18px rgba(55,200,255,0.18),inset 0 1px 0 rgba(255,255,255,0.08)}
.odj-stage-debug-panel{position:fixed;right:8px;bottom:8px;z-index:50000;display:none;max-width:min(360px,calc(100vw - 16px));max-height:min(62vh,520px);
  padding:8px 10px;border-radius:8px;border:1px solid rgba(55,200,255,0.42);background:rgba(3,8,14,0.86);color:#d9f7ff;
  font:600 10px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;text-align:left;white-space:pre-wrap;overflow:auto;
  box-shadow:0 14px 44px rgba(0,0,0,0.42),0 0 24px rgba(55,200,255,0.13);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
@keyframes memeIn{from{opacity:0;transform:scale(0.6)}to{opacity:1;transform:scale(1)}}
@keyframes memeOut{30%{transform:translateX(3px) scaleY(1.02);opacity:0.8}
 60%{transform:translateX(-4px) scaleY(0.6);opacity:0.5}to{transform:scaleY(0.02);opacity:0}}
@media (min-width:901px){
  .odj-stage-toggle{display:none}
}
.odj-stage-toggle{display:inline-flex}
@media (min-width:561px) and (max-width:900px){
  body.odj-mobile-stage-active{overflow:hidden;touch-action:manipulation;background:#05070b}
  body.odj-mobile-stage-active .hero-modern--game,
  body.odj-mobile-stage-active .odj-recent{display:none!important}
  body.odj-mobile-stage-active .odj-container{
    position:fixed;inset:0;z-index:30000;width:100%;max-width:none;height:var(--odj-mobile-stage-vh,100dvh);
    margin:0;padding:0;background:#05070b;overflow:hidden
  }
  body.odj-mobile-stage-active .play-area.active{
    display:block;position:fixed;inset:0;width:100%;height:var(--odj-mobile-stage-vh,100dvh);
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background:radial-gradient(ellipse at 50% 18%,rgba(55,200,255,0.12),rgba(5,7,11,0) 42%),#05070b;overflow:hidden
  }
  body.odj-mobile-stage-active .play-area.active .odj-form{
    width:100%;height:100%;margin:0;padding:0.45rem;display:grid;
    grid-template-areas:
      "info"
      "board"
      "result"
      "stats"
      "config"
      "actions";
    grid-template-rows:auto minmax(0,1fr) 28px 40px auto 46px;
    gap:0.32rem;border-radius:0;background:transparent;overflow:hidden;container-type:normal
  }
  body.odj-mobile-stage-active .odj-play-info{
    grid-area:info;margin:0;min-height:0;padding:0.28rem 0.42rem;border-radius:8px;background:rgba(255,255,255,0.055)
  }
  body.odj-mobile-stage-active .odj-play-info-left{font-size:0.74rem;line-height:1.08;flex-direction:row;gap:0.5rem}
  body.odj-mobile-stage-active .odj-balance-read{font-size:0.74rem}
  body.odj-mobile-stage-active .odj-stage-toggle{width:30px;height:30px;background:rgba(0,0,0,0.28)}
  body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap{
    grid-area:board;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border-radius:10px
  }
  body.odj-mobile-stage-active .pf-result-area{grid-area:result;height:28px;margin:0}
  body.odj-mobile-stage-active .odj-play-stats{
    grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0.28rem;margin:0;min-height:0
  }
  body.odj-mobile-stage-active .odj-play-stat{min-height:0;padding:0.22rem 0.18rem;border-radius:8px}
  body.odj-mobile-stage-active .odj-stat-label{font-size:0.54rem;letter-spacing:0.02em}
  body.odj-mobile-stage-active .odj-stat-value{font-size:0.78rem}
  body.odj-mobile-stage-active .odj-play-controls{
    grid-area:config;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0.34rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active .odj-play-control-row{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0.28rem;align-items:center}
  body.odj-mobile-stage-active .odj-play-controls label{font-size:0.58rem;line-height:1;color:rgba(255,255,255,0.58)}
  body.odj-mobile-stage-active .odj-play-select{width:100%;height:34px;padding:0 0.32rem;font-size:0.76rem}
  body.odj-mobile-stage-active .odj-play-actions{
    grid-area:actions;display:grid;grid-template-columns:auto 40px 40px minmax(0,1fr);gap:0.35rem;margin:0;align-items:center
  }
  body.odj-mobile-stage-active .odj-auto-drop-row{height:40px;min-width:0}
  body.odj-mobile-stage-active .pf-audio,
  body.odj-mobile-stage-active .fw-audio-btn{width:40px;height:40px}
  body.odj-mobile-stage-active .odj-play-actions .btn-plinko{
    height:42px;padding:0 0.65rem;font-size:0.88rem;border-radius:10px
  }
  body.odj-mobile-stage-active .odj-verify-last{display:none}
}
@media (max-width:560px){
  body.odj-mobile-stage-active{overflow:hidden;touch-action:manipulation;background:#05070b}
  body.odj-mobile-stage-active .hero-modern--game,
  body.odj-mobile-stage-active .odj-recent{display:none!important}
  body.odj-mobile-stage-active .odj-container{
    position:fixed;inset:0;z-index:30000;width:100%;max-width:none;height:var(--odj-mobile-stage-vh,100dvh);
    margin:0;padding:0;background:#05070b;overflow:hidden
  }
  body.odj-mobile-stage-active .play-area.active{
    display:block;position:fixed;inset:0;width:100%;height:var(--odj-mobile-stage-vh,100dvh);
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background:radial-gradient(ellipse at 50% 18%,rgba(55,200,255,0.12),rgba(5,7,11,0) 42%),#05070b;overflow:hidden
  }
  body.odj-mobile-stage-active .play-area.active .odj-form{
    width:100%;height:100%;margin:0;padding:0.45rem;display:grid;
    grid-template-areas:
      "info"
      "board"
      "result"
      "stats"
      "config"
      "actions";
    grid-template-rows:auto minmax(0,1fr) 28px 40px auto 46px;
    gap:0.32rem;border-radius:0;background:transparent;overflow:hidden;container-type:normal
  }
  body.odj-mobile-stage-active .odj-play-info{
    grid-area:info;margin:0;min-height:0;padding:0.28rem 0.42rem;border-radius:8px;background:rgba(255,255,255,0.055)
  }
  body.odj-mobile-stage-active .odj-play-info-left{font-size:0.74rem;line-height:1.08;flex-direction:row;gap:0.5rem}
  body.odj-mobile-stage-active .odj-balance-read{font-size:0.74rem}
  body.odj-mobile-stage-active .odj-stage-toggle{width:30px;height:30px;background:rgba(0,0,0,0.28)}
  body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap{
    grid-area:board;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border-radius:10px
  }
  body.odj-mobile-stage-active .pf-result-area{grid-area:result;height:28px;margin:0}
  body.odj-mobile-stage-active .odj-play-stats{
    grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0.28rem;margin:0;min-height:0
  }
  body.odj-mobile-stage-active .odj-play-stat{min-height:0;padding:0.22rem 0.18rem;border-radius:8px}
  body.odj-mobile-stage-active .odj-stat-label{font-size:0.54rem;letter-spacing:0.02em}
  body.odj-mobile-stage-active .odj-stat-value{font-size:0.78rem}
  body.odj-mobile-stage-active .odj-play-controls{
    grid-area:config;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0.34rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active .odj-play-control-row{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0.28rem;align-items:center}
  body.odj-mobile-stage-active .odj-play-controls label{font-size:0.58rem;line-height:1;color:rgba(255,255,255,0.58)}
  body.odj-mobile-stage-active .odj-play-select{width:100%;height:34px;padding:0 0.32rem;font-size:0.76rem}
  body.odj-mobile-stage-active .odj-play-actions{
    grid-area:actions;display:grid;grid-template-columns:auto 40px 40px minmax(0,1fr);gap:0.35rem;margin:0;align-items:center
  }
  body.odj-mobile-stage-active .odj-auto-drop-row{height:40px;min-width:0}
  body.odj-mobile-stage-active .pf-audio,
  body.odj-mobile-stage-active .fw-audio-btn{width:40px;height:40px}
  body.odj-mobile-stage-active .odj-play-actions .btn-plinko{
    height:42px;padding:0 0.65rem;font-size:0.88rem;border-radius:10px
  }
  body.odj-mobile-stage-active .odj-verify-last{display:none}
  .odj-play-info,
  .pf-info,
  .fireworks-play-info{font-size:0.8rem;padding:0.3rem 0.55rem;margin-bottom:0.35rem}
  .odj-play-info-left,
  .pf-info-left,
  .fireworks-play-info-left{font-size:0.85rem}
  .odj-play-info-left .sub,
  .pf-info-left .sub,
  .fireworks-play-info-left .sub{font-size:0.72rem}
  .odj-balance-read,
  .pf-info-right,
  .fireworks-drops-remaining{font-size:0.85rem}
  .odj-play-controls{gap:0.4rem;margin-bottom:0.36rem;flex-wrap:wrap;align-items:center}
  .pf-controls{gap:0.34rem;margin-bottom:0.36rem;flex-wrap:nowrap;align-items:center}
  .odj-play-control-row,
  .pf-play-control-row,
  .fireworks-play-control-row{gap:0.35rem}
  .pf-controls label,
  .fireworks-play-controls label{font-size:0.72rem}
  .odj-play-controls .odj-pill-group{display:none}
  .odj-play-controls .control-divider{display:none}
  .odj-play-select{display:block;padding:0.3rem 0.5rem;border-radius:8px;border:1px solid #444;background:#0d0e14;color:#fff;font-size:0.85rem;cursor:pointer}
  .odj-pill-group,
  .pf-pill-group,
  .fireworks-pill-group{gap:0.25rem}
  .pf-sep,
  .control-divider{height:28px}
  .pf-pill{min-width:40px;height:32px;border-radius:16px;border-width:1.5px;font-size:0.82rem;padding:0 0.55rem}
  .pf-pill:hover:not(.active){transform:none}
  .pf-bet-pill{height:32px;min-width:70px;border-radius:16px;font-size:0.88rem;padding:0 0.7rem}
  .odj-board-wrap{aspect-ratio:100/130;max-height:none;margin-bottom:0.3rem}
  .pf-board-wrap{aspect-ratio:100/86;max-height:calc(100dvh - 260px);margin-bottom:0.35rem}
  .odj-board-wrap.pf-board-wrap{aspect-ratio:100/112;max-height:none;margin-bottom:0.3rem}
  .pf-outcome-hud{
    right:10px;bottom:10px;gap:0.3rem;max-width:calc(100% - 20px)
  }
  .pf-outcome-kicker{font-size:0.5rem;letter-spacing:0.18em}
  .pf-outcome-value{font-size:0.72rem}
  .pf-outcome-meta{font-size:0.62rem}
  .pf-result-area{height:28px;margin-bottom:0.32rem}
  .pf-result-strip{gap:0.25rem}
  .pf-result-chip{border-radius:7px}
  .pf-result-chip .m{font-size:0.78rem}
  .pf-result-chip.dim .m,.pf-result-chip.red .m{font-size:0.7rem}
  .pf-placeholder{font-size:0.78rem;border-radius:7px}
  .odj-play-stats{margin-bottom:0.34rem;min-height:37px}
  .pf-stats,
  .fireworks-play-stats{margin-bottom:0.45rem}
  .odj-play-stat{padding:0.24rem 0.22rem}
  .pf-stat,
  .fireworks-play-stat{padding:0.35rem 0.3rem}
  .odj-stat-label,
  .pf-stat-label,
  .fireworks-stat-label{font-size:0.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .odj-stat-value,
  .pf-stat-value,
  .fireworks-stat-value{font-size:0.85rem}
  .odj-play-stat.stat-highlight .odj-stat-value,
  .pf-stat.hl .pf-stat-value,
  .fireworks-play-stat.stat-highlight .fireworks-stat-value{font-size:0.92rem}
  .odj-play-actions,
  .pf-bottom,
  .fireworks-play-actions{gap:0.45rem;margin-top:0.4rem}
  .odj-auto-drop-row,
  .pf-auto-row,
  .fireworks-auto-drop-row{gap:0.35rem}
  .odj-auto-drop-label-long,
  .pf-auto-label-long,
  .fireworks-auto-drop-label-long{display:none}
  .odj-auto-drop-label-short,
  .pf-auto-label-short,
  .fireworks-auto-drop-label-short{display:inline}
  .odj-auto-drop-label,
  .pf-auto-label,
  .fireworks-auto-drop-label{font-size:0.72rem}
  .pf-toggle{width:40px;height:23px}
  .pf-toggle::after{width:17px;height:17px}
  .pf-toggle.is-on::after{left:20px}
  .pf-audio,
  .fw-audio-btn{width:40px;height:40px}
  .btn-pf,
  .btn-plinko,
  .btn-fireworks{padding:0.72rem 0.65rem;font-size:0.92rem}
  .odj-play-actions .btn-plinko{padding:0.72rem 0.65rem;font-size:0.92rem}
  .pf-verify{font-size:0.68rem}
  .meme-pop{width:var(--odj-meme-w,30.6%)}
  .meme-pop .hd{font:600 8.5px monospace}
  .meme-pop .mm{font-size:clamp(17px,2.89cqw,29px)}
}
.pf-banner{position:absolute;left:50%;top:32%;transform:translate(-50%,-50%);z-index:9999;
  font:800 clamp(28px,7cqw,52px) monospace;letter-spacing:0.02em;pointer-events:none;white-space:nowrap;
  animation:bannerIn 1.6s cubic-bezier(0.22,1,0.36,1) forwards}
.pf-banner.jp{font:900 clamp(42px,11cqw,84px) monospace;
  animation:bannerIn 2.3s cubic-bezier(0.22,1,0.36,1) forwards, jpFlash 0.14s steps(2,end) infinite}
@keyframes jpFlash{0%{filter:brightness(1)}50%{filter:brightness(1.9) saturate(1.4)}100%{filter:brightness(1)}}
@keyframes bannerIn{0%{opacity:0;transform:translate(-50%,-50%) scale(0.4)}
 12%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}
 20%{transform:translate(-50%,-50%) scale(1)}
 78%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.03)}}

/* Manual ODJ stage mode. Viewport-agnostic by design: the button should work
   on Fold, phones, tablets and desktop. Native fullscreen is progressive
   enhancement; this fixed CSS stage is the fallback that always matters. */
body.odj-mobile-stage-active{overflow:hidden;touch-action:manipulation;background:#05070b}
body.odj-mobile-stage-active .hero-modern--game,
body.odj-mobile-stage-active .odj-recent{display:none!important}
body.odj-mobile-stage-active .odj-container{
  position:fixed;inset:0;z-index:30000;width:100vw;max-width:none;height:var(--odj-mobile-stage-vh,100dvh);min-height:var(--odj-mobile-stage-vh,100dvh);
  margin:0;padding:0;background:#05070b;overflow:hidden
}
body.odj-mobile-stage-active .play-area.active{
  display:block;position:fixed;inset:0;width:100vw;height:var(--odj-mobile-stage-vh,100dvh);min-height:var(--odj-mobile-stage-vh,100dvh);
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background:radial-gradient(ellipse at 50% 18%,rgba(55,200,255,0.12),rgba(5,7,11,0) 42%),#05070b;overflow:hidden
}
#odjPlayArea:fullscreen,
#odjPlayArea:-webkit-full-screen,
#odjPlayArea:-moz-full-screen{
  display:block;width:100vw;height:var(--odj-mobile-stage-vh,100vh);min-height:var(--odj-mobile-stage-vh,100vh);background:#05070b;overflow:hidden
}
body.odj-mobile-stage-active .odj-calc-modal,
#odjPlayArea:fullscreen .odj-calc-modal,
#odjPlayArea:-webkit-full-screen .odj-calc-modal{
  left:0;right:0;width:auto;z-index:40000
}
#odjPlayArea:fullscreen .odj-form,
#odjPlayArea:-webkit-full-screen .odj-form{
  width:100%;height:100%;margin:0
}
body.odj-mobile-stage-active .play-area.active .odj-form,
#odjPlayArea:fullscreen .odj-form,
#odjPlayArea:-webkit-full-screen .odj-form{
  width:100%;height:100%;min-height:0;margin:0;padding:var(--odj-stage-pad,10px);display:grid;
  grid-template-areas:
    "info"
    "board"
    "result"
    "stats"
    "config"
    "actions";
  grid-template-rows:var(--odj-stage-info-h,34px) minmax(0,var(--odj-stage-board-h,1fr)) var(--odj-stage-result-h,28px) var(--odj-stage-stats-h,40px) var(--odj-stage-config-h,36px) var(--odj-stage-actions-h,46px);
  gap:var(--odj-stage-gap,6px);border-radius:0;background:transparent;overflow:hidden;container-type:normal
}
body.odj-mobile-stage-active .odj-play-info,
#odjPlayArea:fullscreen .odj-play-info,
#odjPlayArea:-webkit-full-screen .odj-play-info{
  grid-area:info;margin:0;min-height:0;height:100%;padding:0.18rem 0.42rem;border-radius:8px;background:rgba(255,255,255,0.055)
}
body.odj-mobile-stage-active .odj-play-info-left,
#odjPlayArea:fullscreen .odj-play-info-left,
#odjPlayArea:-webkit-full-screen .odj-play-info-left{font-size:0.74rem;line-height:1.08;flex-direction:row;gap:0.5rem}
body.odj-mobile-stage-active .odj-balance-read,
#odjPlayArea:fullscreen .odj-balance-read,
#odjPlayArea:-webkit-full-screen .odj-balance-read{font-size:0.74rem}
body.odj-mobile-stage-active .odj-stage-toggle,
#odjPlayArea:fullscreen .odj-stage-toggle,
#odjPlayArea:-webkit-full-screen .odj-stage-toggle{width:30px;height:30px;background:rgba(0,0,0,0.28)}
body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap,
#odjPlayArea:fullscreen .odj-board-wrap.pf-board-wrap,
#odjPlayArea:-webkit-full-screen .odj-board-wrap.pf-board-wrap{
  grid-area:board;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border-radius:10px
}
body.odj-mobile-stage-active .pf-result-area,
#odjPlayArea:fullscreen .pf-result-area,
#odjPlayArea:-webkit-full-screen .pf-result-area{grid-area:result;height:100%;margin:0}
body.odj-mobile-stage-active .odj-play-stats,
#odjPlayArea:fullscreen .odj-play-stats,
#odjPlayArea:-webkit-full-screen .odj-play-stats{
  grid-area:stats;display:grid;grid-template-columns:minmax(0,0.88fr) minmax(0,1.34fr) minmax(0,0.84fr);gap:var(--odj-stage-gap,6px);margin:0;min-height:0
}
body.odj-mobile-stage-active .odj-play-stat,
#odjPlayArea:fullscreen .odj-play-stat,
#odjPlayArea:-webkit-full-screen .odj-play-stat{
  min-height:0;padding:0.14rem 0.12rem;border-radius:8px;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center
}
body.odj-mobile-stage-active .odj-stat-label,
#odjPlayArea:fullscreen .odj-stat-label,
#odjPlayArea:-webkit-full-screen .odj-stat-label{
  max-width:100%;font-size:clamp(0.44rem,1.3vw,0.52rem);letter-spacing:0.01em;line-height:1;margin-bottom:0.04rem;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
body.odj-mobile-stage-active .odj-stat-value,
#odjPlayArea:fullscreen .odj-stat-value,
#odjPlayArea:-webkit-full-screen .odj-stat-value{
  width:100%;max-width:100%;font-size:var(--odj-stage-stat-font,0.72rem);line-height:1;
  overflow:hidden;text-overflow:clip;white-space:nowrap
}
body.odj-mobile-stage-active .odj-play-stat.stat-highlight .odj-stat-value,
#odjPlayArea:fullscreen .odj-play-stat.stat-highlight .odj-stat-value,
#odjPlayArea:-webkit-full-screen .odj-play-stat.stat-highlight .odj-stat-value{
  font-size:var(--odj-stage-stat-font,0.72rem);color:#4ade80
}
body.odj-mobile-stage-active .odj-play-controls,
#odjPlayArea:fullscreen .odj-play-controls,
#odjPlayArea:-webkit-full-screen .odj-play-controls{
  grid-area:config;display:grid;
  grid-template-columns:max-content minmax(0,1.35fr) minmax(0,1.35fr) max-content repeat(3,minmax(25px,0.52fr));
  gap:clamp(3px,0.75vw,var(--odj-stage-gap,6px));margin:0;align-items:stretch
}
body.odj-mobile-stage-active .odj-play-controls .control-divider,
#odjPlayArea:fullscreen .odj-play-controls .control-divider,
#odjPlayArea:-webkit-full-screen .odj-play-controls .control-divider{display:none}
body.odj-mobile-stage-active .odj-play-control-row,
#odjPlayArea:fullscreen .odj-play-control-row,
#odjPlayArea:-webkit-full-screen .odj-play-control-row{
  display:contents
}
body.odj-mobile-stage-active .odj-play-controls label,
#odjPlayArea:fullscreen .odj-play-controls label,
#odjPlayArea:-webkit-full-screen .odj-play-controls label{
  position:static;width:auto;height:auto;margin:0;align-self:center;padding:0 0.08rem;border:0;clip:auto;overflow:visible;
  color:#8d98a8;font-size:clamp(0.5rem,1vw,0.63rem);font-weight:700;line-height:1;
  letter-spacing:.08em;text-overflow:clip;white-space:nowrap;display:flex;align-items:center;justify-content:center;
  text-transform:uppercase;border-radius:0;background:none;box-shadow:none;pointer-events:none
}
body.odj-mobile-stage-active .odj-play-controls .odj-pill-group,
#odjPlayArea:fullscreen .odj-play-controls .odj-pill-group,
#odjPlayArea:-webkit-full-screen .odj-play-controls .odj-pill-group{
  display:contents
}
body.odj-mobile-stage-active .odj-play-controls .pf-pill,
#odjPlayArea:fullscreen .odj-play-controls .pf-pill,
#odjPlayArea:-webkit-full-screen .odj-play-controls .pf-pill{
  min-width:0;width:100%;height:100%;padding:0 0.18rem;font-size:clamp(0.62rem,1.58vw,0.86rem);
  border-radius:8px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
body.odj-mobile-stage-active .odj-mode-control .pf-pill,
#odjPlayArea:fullscreen .odj-mode-control .pf-pill,
#odjPlayArea:-webkit-full-screen .odj-mode-control .pf-pill{
  font-size:clamp(0.62rem,1.62vw,0.9rem)
}
body.odj-mobile-stage-active .odj-trades-control label,
#odjPlayArea:fullscreen .odj-trades-control label,
#odjPlayArea:-webkit-full-screen .odj-trades-control label{
  padding-inline:0.08rem
}
body.odj-mobile-stage-active .odj-trades-control .pf-pill,
#odjPlayArea:fullscreen .odj-trades-control .pf-pill,
#odjPlayArea:-webkit-full-screen .odj-trades-control .pf-pill{
  padding:0;font-size:clamp(0.62rem,1.45vw,0.84rem)
}
body.odj-mobile-stage-active .odj-play-select,
#odjPlayArea:fullscreen .odj-play-select,
#odjPlayArea:-webkit-full-screen .odj-play-select{display:none}
body.odj-mobile-stage-active .odj-play-actions,
#odjPlayArea:fullscreen .odj-play-actions,
#odjPlayArea:-webkit-full-screen .odj-play-actions{
  grid-area:actions;display:grid;grid-template-columns:minmax(0,0.88fr) var(--odj-stage-actions-h,46px) var(--odj-stage-actions-h,46px) minmax(0,2.18fr);
  gap:var(--odj-stage-gap,6px);margin:0;align-items:stretch
}
body.odj-mobile-stage-active .odj-auto-drop-row,
#odjPlayArea:fullscreen .odj-auto-drop-row,
#odjPlayArea:-webkit-full-screen .odj-auto-drop-row{
  height:100%;min-height:0;min-width:0;justify-content:center;padding:0 0.3rem;border-radius:8px;background:rgba(255,255,255,0.045);overflow:hidden
}
body.odj-mobile-stage-active .pf-audio,
#odjPlayArea:fullscreen .pf-audio,
#odjPlayArea:fullscreen .fw-audio-btn,
#odjPlayArea:-webkit-full-screen .pf-audio,
#odjPlayArea:-webkit-full-screen .fw-audio-btn{width:100%;height:100%;min-width:0;max-width:none}
body.odj-mobile-stage-active .fw-audio-btn{width:100%;height:100%;min-width:0;max-width:none}
body.odj-mobile-stage-active .odj-play-actions .btn-plinko,
#odjPlayArea:fullscreen .odj-play-actions .btn-plinko,
#odjPlayArea:-webkit-full-screen .odj-play-actions .btn-plinko{
  height:100%;padding:0 0.65rem;font-size:clamp(0.78rem,1.8vw,0.96rem);border-radius:10px
}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-info,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-info,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-info{gap:0.38rem;padding:0.14rem 0.34rem}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-info-left,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-info-left,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-info-left{font-size:0.7rem;gap:0.05rem}
body.odj-mobile-stage-active.odj-stage-narrow .odj-balance-read,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-balance-read,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-balance-read{font-size:0.7rem}
body.odj-mobile-stage-active.odj-stage-narrow .odj-stage-toggle,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-stage-toggle,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-stage-toggle{width:28px;height:28px}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-controls,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-controls,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-controls{
  grid-template-columns:max-content minmax(0,1.42fr) minmax(0,1.42fr) max-content repeat(3,minmax(24px,0.5fr));
  gap:0.18rem
}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-control-row,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-control-row,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-control-row{display:contents}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-controls label,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-controls label,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-controls label{
  padding-inline:0.14rem;font-size:clamp(0.46rem,1.45vw,0.58rem);text-align:center
}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-controls .pf-pill,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-controls .pf-pill,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-controls .pf-pill{
  padding-inline:0.08rem;font-size:clamp(0.58rem,2.1vw,0.76rem)
}
body.odj-mobile-stage-active.odj-stage-narrow .odj-play-actions,
body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-actions,
body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-actions{grid-template-columns:auto 38px 38px minmax(0,1fr);gap:0.28rem}
body.odj-mobile-stage-active .odj-verify-last,
#odjPlayArea:fullscreen .odj-verify-last,
#odjPlayArea:-webkit-full-screen .odj-verify-last{display:none}
body.odj-mobile-stage-active.odj-stage-short .play-area.active .odj-form,
body.odj-stage-short #odjPlayArea:fullscreen .odj-form,
body.odj-stage-short #odjPlayArea:-webkit-full-screen .odj-form{
  grid-template-rows:var(--odj-stage-info-h,30px) minmax(0,var(--odj-stage-board-h,1fr)) var(--odj-stage-result-h,24px) var(--odj-stage-stats-h,40px) var(--odj-stage-config-h,38px) var(--odj-stage-actions-h,42px)
}
body.odj-mobile-stage-active.odj-stage-wide .play-area.active .odj-form,
body.odj-stage-wide #odjPlayArea:fullscreen .odj-form,
body.odj-stage-wide #odjPlayArea:-webkit-full-screen .odj-form{
  max-width:100vw;
  margin:0 auto
}
@media (min-width:901px){
  body.odj-mobile-stage-active:not(.odj-stage-short):not(.odj-stage-rail) .play-area.active .odj-form{
    grid-template-areas:
      "game"
      "stats"
      "config"
      "actions";
    grid-template-rows:minmax(0,1fr) var(--odj-stage-stats-h,46px) var(--odj-stage-config-h,42px) var(--odj-stage-actions-h,54px);
    align-content:stretch;justify-items:stretch;padding:var(--odj-stage-pad,14px);
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-game-column{
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    grid-area:game;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-stage-cluster{
    display:flex;flex-direction:column;width:min(100%,var(--odj-stage-graph-w));
    max-width:100%;max-height:100%;min-height:0;gap:6px
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-route-stage-wrap{
    flex:1 1 auto;min-height:0;width:100%;height:auto
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-board-wrap.pf-board-wrap{
    width:100%;max-width:100%;height:auto;max-height:100%;aspect-ratio:100/86;margin:0 auto
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-play-info{
    grid-area:auto;width:100%;margin:0;height:auto;flex:0 0 auto;
    padding:0.16rem 0.42rem;border:1px solid rgba(255,255,255,.07);background:rgba(7,10,15,.72)
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .pf-result-area{
    grid-area:auto;width:100%;margin:0;height:48px;flex:0 0 auto
  }
  body.odj-mobile-stage-active .odj-play-info-left,
  body.odj-mobile-stage-active .odj-balance-read{font-size:0.86rem}
  body.odj-mobile-stage-active .odj-stage-toggle{width:36px;height:36px}
  body.odj-mobile-stage-active .pf-result-area{height:44px}
  body.odj-mobile-stage-active .odj-play-stats{min-height:46px}
  body.odj-mobile-stage-active .odj-stat-label{font-size:0.62rem}
  body.odj-mobile-stage-active .odj-stat-value{font-size:var(--odj-stage-stat-font,0.9rem)}
  body.odj-mobile-stage-active .odj-play-select{height:38px;font-size:0.84rem}
  body.odj-mobile-stage-active .odj-play-actions .btn-plinko{height:50px;font-size:0.98rem}
}

/* Desktop stage: keep the network at its native 100/86 frame. Stacked
   layouts leave room for bottom controls; the rail stage fills leftover
   height so the multiplier strip sits under the graph, not mid-screen. */
@media (min-width:901px){
  body.odj-mobile-stage-active,
  #odjPlayArea:fullscreen,
  #odjPlayArea:-webkit-full-screen{
    --odj-stage-graph-h:calc(100dvh - 280px);
    --odj-stage-graph-w:calc(var(--odj-stage-graph-h) * 100 / 86)
  }
  body.odj-mobile-stage-active .odj-route-stage-wrap,
  #odjPlayArea:fullscreen .odj-route-stage-wrap,
  #odjPlayArea:-webkit-full-screen .odj-route-stage-wrap{
    display:grid;place-items:start center;grid-area:board;min-width:0;min-height:0;width:100%;height:auto;padding:0
  }
  body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap,
  #odjPlayArea:fullscreen .odj-board-wrap.pf-board-wrap,
  #odjPlayArea:-webkit-full-screen .odj-board-wrap.pf-board-wrap{
    grid-area:auto;width:var(--odj-stage-graph-w);height:auto;
    max-width:100%;max-height:var(--odj-stage-graph-h);
    aspect-ratio:100/86;margin:0 auto
  }
  body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap #pfCanvas,
  #odjPlayArea:fullscreen .odj-board-wrap.pf-board-wrap #pfCanvas,
  #odjPlayArea:-webkit-full-screen .odj-board-wrap.pf-board-wrap #pfCanvas{
    position:absolute;inset:0;width:100%;height:100%
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-route-stage-wrap{
    flex:1 1 auto;min-height:0;width:100%;height:auto
  }
  body.odj-mobile-stage-active:not(.odj-stage-rail) .odj-board-wrap.pf-board-wrap{
    width:100%;max-width:100%;height:auto;max-height:100%;aspect-ratio:100/86;margin:0 auto
  }
}

@media (min-width:1600px){
  body.odj-mobile-stage-active,
  #odjPlayArea:fullscreen,
  #odjPlayArea:-webkit-full-screen{
    --odj-stage-graph-h:calc(var(--odj-mobile-stage-vh,100dvh) - 64px - 5vh);
    --odj-stage-graph-w:calc(var(--odj-stage-graph-h) * 100 / 86)
  }
  body.odj-mobile-stage-active:not(.odj-stage-short):not(.odj-stage-narrow) .play-area.active .odj-form,
  body.odj-mobile-stage-active.odj-stage-rail .play-area.active .odj-form,
  #odjPlayArea:fullscreen .odj-form,
  #odjPlayArea:-webkit-full-screen .odj-form{
    display:grid;height:100%;min-height:0;align-items:stretch;justify-content:center;justify-items:stretch;
    grid-template-columns:minmax(0,max-content) var(--odj-stage-side-w,330px);
    grid-template-rows:minmax(0,1fr);
    grid-template-areas:"game rail";
    gap:0 16px;padding:0 16px;overflow:hidden
  }
  body.odj-mobile-stage-active .odj-game-column,
  #odjPlayArea:fullscreen .odj-game-column,
  #odjPlayArea:-webkit-full-screen .odj-game-column{
    display:flex;flex-direction:column;grid-area:game;align-self:stretch;align-items:stretch;
    justify-content:flex-start;width:auto;max-width:100%;height:100%;min-width:0;min-height:0;
    padding:10px 0 5vh 0
  }
  body.odj-mobile-stage-active .odj-stage-cluster,
  #odjPlayArea:fullscreen .odj-stage-cluster,
  #odjPlayArea:-webkit-full-screen .odj-stage-cluster{
    display:flex;flex-direction:column;width:fit-content;max-width:100%;max-height:100%;
    flex:0 1 auto;min-width:0;min-height:0;gap:6px
  }
  body.odj-mobile-stage-active .odj-play-info,
  #odjPlayArea:fullscreen .odj-play-info,
  #odjPlayArea:-webkit-full-screen .odj-play-info{
    display:none
  }
  body.odj-mobile-stage-active .odj-rail-toolbar,
  #odjPlayArea:fullscreen .odj-rail-toolbar,
  #odjPlayArea:-webkit-full-screen .odj-rail-toolbar{
    display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;
    padding:0.7rem 0.9rem 0
  }
  body.odj-mobile-stage-active .odj-rail-toolbar .odj-stage-toggle,
  #odjPlayArea:fullscreen .odj-rail-toolbar .odj-stage-toggle,
  #odjPlayArea:-webkit-full-screen .odj-rail-toolbar .odj-stage-toggle{
    width:34px;height:34px;background:rgba(255,255,255,0.05)
  }
  body.odj-mobile-stage-active .odj-play-info-left,
  #odjPlayArea:fullscreen .odj-play-info-left,
  #odjPlayArea:-webkit-full-screen .odj-play-info-left{
    flex-direction:row;flex-wrap:wrap;gap:0.85rem;font-size:0.78rem;line-height:1.15
  }
  body.odj-mobile-stage-active .odj-balance-read,
  #odjPlayArea:fullscreen .odj-balance-read,
  #odjPlayArea:-webkit-full-screen .odj-balance-read{font-size:0.78rem}
  body.odj-mobile-stage-active .odj-route-stage-wrap,
  #odjPlayArea:fullscreen .odj-route-stage-wrap,
  #odjPlayArea:-webkit-full-screen .odj-route-stage-wrap{
    grid-area:auto;display:block;flex:0 1 auto;min-height:0;width:100%;height:auto;padding:0
  }
  body.odj-mobile-stage-active .odj-board-wrap.pf-board-wrap,
  #odjPlayArea:fullscreen .odj-board-wrap.pf-board-wrap,
  #odjPlayArea:-webkit-full-screen .odj-board-wrap.pf-board-wrap{
    width:var(--odj-stage-graph-w);max-width:min(100%,var(--odj-stage-graph-w));
    height:auto;max-height:var(--odj-stage-graph-h);aspect-ratio:100/86;margin:0;
    border-radius:12px
  }
  body.odj-mobile-stage-active .pf-result-area,
  #odjPlayArea:fullscreen .pf-result-area,
  #odjPlayArea:-webkit-full-screen .pf-result-area{
    grid-area:auto;flex:0 0 auto;width:100%;height:48px;margin:0
  }
  body.odj-mobile-stage-active .odj-control-rail,
  #odjPlayArea:fullscreen .odj-control-rail,
  #odjPlayArea:-webkit-full-screen .odj-control-rail{
    display:flex;flex-direction:column;grid-area:rail;align-self:stretch;
    width:var(--odj-stage-side-w,330px);
    min-width:var(--odj-stage-side-w,330px);max-width:var(--odj-stage-side-w,330px);
    height:100%;min-height:0;overflow:hidden;gap:0;padding:0;border-radius:0;
    border:0;border-left:1px solid rgba(255,255,255,.07);background:rgba(7,10,15,.94)
  }
  body.odj-mobile-stage-active .odj-rail-stack,
  #odjPlayArea:fullscreen .odj-rail-stack,
  #odjPlayArea:-webkit-full-screen .odj-rail-stack{
    display:flex;flex-direction:column;flex:0 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;
    gap:0.85rem;padding:0.9rem 0.9rem 0.55rem
  }
  body.odj-mobile-stage-active .odj-rail-kicker,
  #odjPlayArea:fullscreen .odj-rail-kicker,
  #odjPlayArea:-webkit-full-screen .odj-rail-kicker{
    display:block;margin:0;font-size:0.64rem;font-weight:800;letter-spacing:0.08em;
    text-transform:uppercase;color:rgba(255,255,255,0.48)
  }
  body.odj-mobile-stage-active .odj-stat-session-prefix,
  #odjPlayArea:fullscreen .odj-stat-session-prefix,
  #odjPlayArea:-webkit-full-screen .odj-stat-session-prefix{display:none}
  body.odj-mobile-stage-active .odj-play-stats,
  #odjPlayArea:fullscreen .odj-play-stats,
  #odjPlayArea:-webkit-full-screen .odj-play-stats{
    grid-area:auto;display:flex;flex-direction:column;gap:0.45rem;margin:0;min-height:0;
    overflow:visible;border-radius:0;background:transparent;border:0
  }
  body.odj-mobile-stage-active .odj-play-stat,
  #odjPlayArea:fullscreen .odj-play-stat,
  #odjPlayArea:-webkit-full-screen .odj-play-stat{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:0.2rem;padding:0.7rem 0.8rem;text-align:center;border-right:0;border-bottom:0;
    overflow:visible;border-radius:10px
  }
  body.odj-mobile-stage-active .odj-play-stat:last-child,
  #odjPlayArea:fullscreen .odj-play-stat:last-child,
  #odjPlayArea:-webkit-full-screen .odj-play-stat:last-child{border-right:0;border-bottom:0}
  body.odj-mobile-stage-active .odj-stat-label,
  #odjPlayArea:fullscreen .odj-stat-label,
  #odjPlayArea:-webkit-full-screen .odj-stat-label{
    max-width:none;margin:0;font-size:0.64rem;letter-spacing:0.06em;text-transform:uppercase;
    line-height:1.15;overflow:visible;white-space:nowrap
  }
  body.odj-mobile-stage-active .odj-stat-value,
  #odjPlayArea:fullscreen .odj-stat-value,
  #odjPlayArea:-webkit-full-screen .odj-stat-value{
    width:auto;font-size:1.22rem;line-height:1.05;overflow:visible
  }
  body.odj-mobile-stage-active .odj-play-stat.stat-highlight .odj-stat-value,
  #odjPlayArea:fullscreen .odj-play-stat.stat-highlight .odj-stat-value,
  #odjPlayArea:-webkit-full-screen .odj-play-stat.stat-highlight .odj-stat-value{
    width:auto;font-size:1.55rem;line-height:1.05;overflow:visible
  }
  body.odj-mobile-stage-active .odj-play-controls,
  #odjPlayArea:fullscreen .odj-play-controls,
  #odjPlayArea:-webkit-full-screen .odj-play-controls{
    grid-area:auto;display:flex;flex-direction:column;gap:0.8rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active .odj-play-control-row,
  #odjPlayArea:fullscreen .odj-play-control-row,
  #odjPlayArea:-webkit-full-screen .odj-play-control-row{
    display:flex;flex-direction:column;align-items:stretch;gap:0.35rem
  }
  body.odj-mobile-stage-active .odj-play-controls label,
  #odjPlayArea:fullscreen .odj-play-controls label,
  #odjPlayArea:-webkit-full-screen .odj-play-controls label{
    justify-content:flex-start;height:auto;padding:0;background:transparent;border-radius:0;
    display:block;font-size:0.64rem;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.48)
  }
  body.odj-mobile-stage-active .odj-play-controls .odj-pill-group,
  #odjPlayArea:fullscreen .odj-play-controls .odj-pill-group,
  #odjPlayArea:-webkit-full-screen .odj-play-controls .odj-pill-group{
    display:flex;width:100%;gap:0.35rem
  }
  body.odj-mobile-stage-active .odj-play-controls .pf-pill,
  #odjPlayArea:fullscreen .odj-play-controls .pf-pill,
  #odjPlayArea:-webkit-full-screen .odj-play-controls .pf-pill,
  body.odj-mobile-stage-active .odj-mode-control .pf-pill,
  #odjPlayArea:fullscreen .odj-mode-control .pf-pill,
  #odjPlayArea:-webkit-full-screen .odj-mode-control .pf-pill,
  body.odj-mobile-stage-active .odj-trades-control .pf-pill,
  #odjPlayArea:fullscreen .odj-trades-control .pf-pill,
  #odjPlayArea:-webkit-full-screen .odj-trades-control .pf-pill{
    flex:1 1 0;min-width:0;width:auto;height:38px;padding:0 0.4rem;font-size:0.82rem;border-radius:10px
  }
  body.odj-mobile-stage-active .odj-trades-per-route,
  #odjPlayArea:fullscreen .odj-trades-per-route,
  #odjPlayArea:-webkit-full-screen .odj-trades-per-route{display:inline}
  body.odj-mobile-stage-active .odj-play-select,
  #odjPlayArea:fullscreen .odj-play-select,
  #odjPlayArea:-webkit-full-screen .odj-play-select{display:none}
  body.odj-mobile-stage-active .odj-rail-route,
  #odjPlayArea:fullscreen .odj-rail-route,
  #odjPlayArea:-webkit-full-screen .odj-rail-route{
    display:flex;flex-direction:column;flex:0 0 auto;gap:0;margin:0;
    border:1px solid rgba(255,255,255,.06);border-radius:10px;
    padding:0.75rem 0.7rem;background:rgba(255,255,255,.02)
  }
  body.odj-mobile-stage-active .odj-rail-route .odj-rail-kicker,
  #odjPlayArea:fullscreen .odj-rail-route .odj-rail-kicker,
  #odjPlayArea:-webkit-full-screen .odj-rail-route .odj-rail-kicker{margin-bottom:0.45rem}
  body.odj-mobile-stage-active .odj-rail-route-row,
  #odjPlayArea:fullscreen .odj-rail-route-row,
  #odjPlayArea:-webkit-full-screen .odj-rail-route-row{
    display:flex;align-items:baseline;justify-content:space-between;gap:0.6rem;
    padding:0.42rem 0.15rem;border-bottom:1px solid rgba(255,255,255,0.06)
  }
  body.odj-mobile-stage-active .odj-rail-route-row:last-child,
  #odjPlayArea:fullscreen .odj-rail-route-row:last-child,
  #odjPlayArea:-webkit-full-screen .odj-rail-route-row:last-child{border-bottom:0}
  body.odj-mobile-stage-active .odj-rail-route-label,
  #odjPlayArea:fullscreen .odj-rail-route-label,
  #odjPlayArea:-webkit-full-screen .odj-rail-route-label{
    font-size:0.68rem;letter-spacing:0.04em;text-transform:uppercase;color:rgba(255,255,255,0.55)
  }
  body.odj-mobile-stage-active .odj-rail-route-value,
  #odjPlayArea:fullscreen .odj-rail-route-value,
  #odjPlayArea:-webkit-full-screen .odj-rail-route-value{
    font-size:0.92rem;font-weight:700;color:#fff;font-variant-numeric:tabular-nums
  }
  body.odj-mobile-stage-active .odj-rail-deck,
  #odjPlayArea:fullscreen .odj-rail-deck,
  #odjPlayArea:-webkit-full-screen .odj-rail-deck{
    display:flex;flex-direction:column;flex:0 0 auto;gap:0.55rem;
    padding:0.75rem 0.9rem 0.9rem;border-top:1px solid rgba(255,255,255,.07);
    background:rgba(7,10,15,.98)
  }
  body.odj-mobile-stage-active .odj-play-actions,
  #odjPlayArea:fullscreen .odj-play-actions,
  #odjPlayArea:-webkit-full-screen .odj-play-actions{
    grid-area:auto;display:grid;grid-template-columns:1fr 1fr;
    grid-template-areas:"autorow autorow" "music sound" "go go";
    gap:0.55rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active .odj-auto-drop-row,
  #odjPlayArea:fullscreen .odj-auto-drop-row,
  #odjPlayArea:-webkit-full-screen .odj-auto-drop-row{
    grid-area:autorow;grid-column:1/-1;height:44px;justify-content:space-between;padding:0 0.7rem
  }
  body.odj-mobile-stage-active .odj-play-actions #pfMusic,
  #odjPlayArea:fullscreen .odj-play-actions #pfMusic,
  #odjPlayArea:-webkit-full-screen .odj-play-actions #pfMusic{grid-area:music}
  body.odj-mobile-stage-active .odj-play-actions #pfAudio,
  #odjPlayArea:fullscreen .odj-play-actions #pfAudio,
  #odjPlayArea:-webkit-full-screen .odj-play-actions #pfAudio{grid-area:sound}
  body.odj-mobile-stage-active .odj-play-actions .fw-audio-btn,
  body.odj-mobile-stage-active .odj-play-actions .pf-audio,
  #odjPlayArea:fullscreen .odj-play-actions .fw-audio-btn,
  #odjPlayArea:fullscreen .odj-play-actions .pf-audio,
  #odjPlayArea:-webkit-full-screen .odj-play-actions .fw-audio-btn,
  #odjPlayArea:-webkit-full-screen .odj-play-actions .pf-audio{
    width:100%;height:42px;max-width:none;min-width:0
  }
  body.odj-mobile-stage-active .odj-play-actions .btn-plinko,
  #odjPlayArea:fullscreen .odj-play-actions .btn-plinko,
  #odjPlayArea:-webkit-full-screen .odj-play-actions .btn-plinko{
    grid-area:go;grid-column:1/-1;width:100%;height:48px;font-size:0.95rem
  }
  body.odj-mobile-stage-active .odj-verify-last,
  #odjPlayArea:fullscreen .odj-verify-last,
  #odjPlayArea:-webkit-full-screen .odj-verify-last{display:block;margin-top:0;text-align:center}
  body.odj-mobile-stage-active.odj-stage-narrow .odj-play-controls,
  body.odj-stage-narrow #odjPlayArea:fullscreen .odj-play-controls,
  body.odj-stage-narrow #odjPlayArea:-webkit-full-screen .odj-play-controls{
    grid-template-columns:none
  }
}

@media (min-width:901px) and (max-width:1599px){
  body.odj-mobile-stage-active.odj-stage-rail{
    --odj-stage-graph-h:calc(var(--odj-mobile-stage-vh,100dvh) - 64px - 5vh);
    --odj-stage-graph-w:calc(var(--odj-stage-graph-h) * 100 / 86)
  }
  body.odj-mobile-stage-active.odj-stage-rail .play-area.active .odj-form{
    display:grid;height:100%;min-height:0;align-items:stretch;justify-content:center;justify-items:stretch;
    grid-template-columns:minmax(0,max-content) var(--odj-stage-side-w,330px);
    grid-template-rows:minmax(0,1fr);
    grid-template-areas:"game rail";
    gap:0 16px;padding:0 16px;overflow:hidden
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-game-column{
    display:flex;flex-direction:column;grid-area:game;align-self:stretch;align-items:stretch;
    justify-content:flex-start;width:auto;max-width:100%;height:100%;min-width:0;min-height:0;
    padding:10px 0 5vh 0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-stage-cluster{
    display:flex;flex-direction:column;width:fit-content;max-width:100%;max-height:100%;
    flex:0 1 auto;min-width:0;min-height:0;gap:6px
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-info{display:none}
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-toolbar{
    display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;
    padding:0.7rem 0.9rem 0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-toolbar .odj-stage-toggle{
    width:34px;height:34px;background:rgba(255,255,255,0.05)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-route-stage-wrap{
    grid-area:auto;display:block;flex:0 1 auto;min-height:0;width:100%;height:auto;padding:0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-board-wrap.pf-board-wrap{
    width:var(--odj-stage-graph-w);max-width:min(100%,var(--odj-stage-graph-w));
    height:auto;max-height:var(--odj-stage-graph-h);aspect-ratio:100/86;margin:0;
    border-radius:12px
  }
  body.odj-mobile-stage-active.odj-stage-rail .pf-result-area{
    grid-area:auto;flex:0 0 auto;width:100%;height:48px;margin:0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-control-rail{
    display:flex;flex-direction:column;grid-area:rail;align-self:stretch;
    width:var(--odj-stage-side-w,330px);
    min-width:var(--odj-stage-side-w,330px);max-width:var(--odj-stage-side-w,330px);
    height:100%;min-height:0;overflow:hidden;gap:0;padding:0;border-radius:0;
    border:0;border-left:1px solid rgba(255,255,255,.07);background:rgba(7,10,15,.94)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-stack{
    display:flex;flex-direction:column;flex:0 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;
    gap:0.85rem;padding:0.9rem 0.9rem 0.55rem
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-kicker{
    display:block;margin:0;font-size:0.64rem;font-weight:800;letter-spacing:0.08em;
    text-transform:uppercase;color:rgba(255,255,255,0.48)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-stat-session-prefix{display:none}
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-stats{
    grid-area:auto;display:flex;flex-direction:column;gap:0.45rem;margin:0;min-height:0;
    overflow:visible;border-radius:0;background:transparent;border:0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-stat{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:0.2rem;padding:0.7rem 0.8rem;text-align:center;border-right:0;border-bottom:0;
    overflow:visible;border-radius:10px
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-stat-label{
    max-width:none;margin:0;font-size:0.64rem;letter-spacing:0.06em;text-transform:uppercase;
    line-height:1.15;overflow:visible;white-space:nowrap
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-stat-value{
    width:auto;font-size:1.22rem;line-height:1.05;overflow:visible
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-stat.stat-highlight .odj-stat-value{
    width:auto;font-size:1.55rem;line-height:1.05;overflow:visible
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-controls{
    grid-area:auto;display:flex;flex-direction:column;gap:0.8rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-control-row{
    display:flex;flex-direction:column;align-items:stretch;gap:0.35rem
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-controls label{
    justify-content:flex-start;height:auto;padding:0;background:transparent;border-radius:0;
    display:block;font-size:0.64rem;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.48)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-controls .odj-pill-group{
    display:flex;width:100%;gap:0.35rem
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-controls .pf-pill,
  body.odj-mobile-stage-active.odj-stage-rail .odj-mode-control .pf-pill,
  body.odj-mobile-stage-active.odj-stage-rail .odj-trades-control .pf-pill{
    flex:1 1 0;min-width:0;width:auto;height:38px;padding:0 0.4rem;font-size:0.82rem;border-radius:10px
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-trades-per-route{display:inline}
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-select{display:none}
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route{
    display:flex;flex-direction:column;flex:0 0 auto;gap:0;margin:0;
    border:1px solid rgba(255,255,255,.06);border-radius:10px;
    padding:0.75rem 0.7rem;background:rgba(255,255,255,.02)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route .odj-rail-kicker{margin-bottom:0.45rem}
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route-row{
    display:flex;align-items:baseline;justify-content:space-between;gap:0.6rem;
    padding:0.42rem 0.15rem;border-bottom:1px solid rgba(255,255,255,0.06)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route-row:last-child{border-bottom:0}
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route-label{
    font-size:0.68rem;letter-spacing:0.04em;text-transform:uppercase;color:rgba(255,255,255,0.55)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-route-value{
    font-size:0.92rem;font-weight:700;color:#fff;font-variant-numeric:tabular-nums
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-rail-deck{
    display:flex;flex-direction:column;flex:0 0 auto;gap:0.55rem;
    padding:0.75rem 0.9rem 0.9rem;border-top:1px solid rgba(255,255,255,.07);
    background:rgba(7,10,15,.98)
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions{
    grid-area:auto;display:grid;grid-template-columns:1fr 1fr;
    grid-template-areas:"autorow autorow" "music sound" "go go";
    gap:0.55rem;margin:0;align-items:stretch
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-auto-drop-row{
    grid-area:autorow;grid-column:1/-1;height:44px;justify-content:space-between;padding:0 0.7rem
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions #pfMusic{grid-area:music}
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions #pfAudio{grid-area:sound}
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions .fw-audio-btn,
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions .pf-audio{
    width:100%;height:42px;max-width:none;min-width:0
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-play-actions .btn-plinko{
    grid-area:go;grid-column:1/-1;width:100%;height:48px;font-size:0.95rem
  }
  body.odj-mobile-stage-active.odj-stage-rail .odj-verify-last{display:block;margin-top:0;text-align:center}
}

@media (max-width:1599px){
  body.odj-mobile-stage-active .odj-control-rail,
  #odjPlayArea:fullscreen .odj-control-rail,
  #odjPlayArea:-webkit-full-screen .odj-control-rail{width:auto;max-width:none;min-width:0}
}
