.arena-prefrontal { --arena-color:#95e9df; --arena-surface:#182f43; }
.arena-world-stop.arena-prefrontal .arena-world-tile {
  border-color:#497a8e;
  background:radial-gradient(ellipse at 50% 0,#233a58,#151d2c 72%);
}
.prefrontal-arcs { opacity: .62; }
.prefrontal-brain-nodes { opacity: .82; }
@media (prefers-reduced-motion: no-preference) {
  .arena-in-view .prefrontal-brain { animation: prefrontal-float 4.2s ease-in-out infinite; }
  .arena-in-view .prefrontal-arcs { opacity: 1; filter: drop-shadow(0 0 2px #64e1d18c); }
  .arena-in-view .prefrontal-arcs path {
    stroke-dasharray: 27 13 10 8;
    animation: prefrontal-current 2.9s linear infinite;
  }
  .arena-in-view .prefrontal-arcs path:nth-child(2) { animation-delay: -.9s; }
  .arena-in-view .prefrontal-arcs path:nth-child(3) { animation-delay: -1.7s; }
}
@keyframes prefrontal-float {
  50% { transform: translateY(-7px); }
}
@keyframes prefrontal-current {
  from, to { stroke-dashoffset: 0; opacity: .4; }
  40% { opacity: 1; }
  99.9% { stroke-dashoffset: -58; opacity: .4; }
}
.arena-world-dialog .arena-world-stop.current .arena-world-tile {
  border:3px solid var(--arena-color);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--arena-color) 22%,transparent),
    0 0 28px color-mix(in srgb,var(--arena-color) 25%,transparent);
}
.arena-world-stop.current .arena-world-caption .arena-here {
  padding:6px 10px;
  background:var(--arena-color);
  color:#160f20;
  font-size:12px;
  font-weight:900;
}
.arena-world-stop.current .arena-world-milestone b {
  border:3px solid var(--arena-color);
  min-width:102px;
  padding:7px 14px;
  font-size:15px;
}
.arena-leg {
  --stage-accent: var(--arena-color, #c39afa);
  --stage-line: color-mix(in srgb, var(--stage-accent) 29%, var(--line));
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 14px auto 4px;
}
.arena-stage {
  display: grid;
  gap: 5px;
}
.arena-stage .arena-reward {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 9px 13px;
  border-color: var(--stage-line);
  border-inline-start: 3px solid var(--stage-accent);
  background: color-mix(in srgb, var(--arena-surface, var(--surface2)) 45%, var(--surface));
  color: var(--text);
  font-size: 14px;
}
.arena-stage .arena-reward-iq { color: var(--stage-accent); }
.arena-stage .arena-reward.available {
  background: color-mix(in srgb, var(--arena-surface, var(--surface2)) 73%, var(--surface));
}
.arena-stage .arena-reward.locked {
  border-inline-start-color: var(--stage-line);
  color: var(--muted);
}
.arena-stage .arena-reward.locked .arena-reward-iq { color: var(--text); }
.arena-stage .arena-reward-action {
  min-height: 44px;
  padding-inline: 10px;
  font-size: 12px;
  border-color: transparent;
  background: var(--stage-accent);
  color: #1a1022;
}
.arena-stage .arena-reward-action:hover:not(:disabled) {
  background: color-mix(in srgb, var(--stage-accent) 82%, white);
}
.arena-stage .arena-reward[aria-current="step"] {
  border-color: var(--stage-accent);
  border-inline-start-width: 6px;
}
.arena-stage .arena-reward-status { font-size: 11px; }
.arena-stage .slot-trigger {
  min-height: 49px;
}
.arena-stage-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.arena-stage .slot-trigger:not(.slot-gold) {
  border-color: var(--stage-line);
  background: var(--surface);
  color: var(--text);
}
.arena-stage .slot-trigger:not(.slot-gold) .slot-trigger-icon {
  border-color: var(--stage-line);
  background: var(--arena-surface, var(--surface2));
  color: var(--stage-accent);
}
.arena-stage .slot-trigger:not(.slot-gold):not(:disabled):hover {
  border-color: var(--stage-accent);
}

#dialog.slot-dialog { width:calc(100% - 24px); max-width:460px; border-color:#724e97; }
.slot-back-wrapper .back { margin-bottom:10px; }
.slot-trigger {
  display:grid;
  width:100%;
  grid-template-columns:30px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:5px 8px;
  border:1px solid #614083;
  border-radius:9px;
  background:#261835;
  color:#f3defd;
  text-align:left;
  line-height:1.25;
}
.slot-trigger:disabled { opacity:.65; }
.slot-trigger:not(:disabled):hover { border-color:#c085fc; background:#342146; }
.slot-trigger-icon {
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:7px;
  border:1px solid #8c59bb75;
  background:#35234a;
  color:#c89dff;
}
.slot-trigger .slot-logo,.slot-trigger .slot-leaf { width:19px; height:19px; }
.slot-trigger b,.slot-trigger strong { font-size:11px; }
.slot-trigger small { display:block; font-size:9px; opacity:.83; }
.slot-trigger.slot-gold { border-color:#97743d; background:#30231a; color:#ffe7b5; }
.slot-trigger.slot-gold .slot-trigger-icon { border-color:#dba34b95; background:#4d3520; color:#ffdb8d; }
.slot-trigger.slot-gold:hover:not(:disabled) { border-color:#edbe72; background:#47301f; }
.slot-cabinet {
  --slot-accent: #c39afa;
  --slot-edge: #655078;
  padding: 15px;
  border: 1px solid var(--slot-edge);
  border-top: 3px solid var(--slot-accent);
  border-radius: 15px;
  background: #1b1523;
  position:relative;
  isolation:isolate;
}
.slot-cabinet.slot-gold {
  --slot-accent: #edcd8b;
  --slot-edge: #8c704a;
  background: #211a16;
}
.slot-cabinet.slot-daily { --slot-accent:#efabd7; --slot-edge:#77516c; background:#211522; }
.slot-cabinet.is-revealed { border-color:var(--slot-accent); }
.slot-cabinet.is-revealed::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  background:radial-gradient(ellipse at 50% 5%,color-mix(in srgb,var(--slot-accent) 24%,transparent),transparent 65%);
  pointer-events:none;
}
.slot-cabinet.is-revealed.jackpot { box-shadow:0 0 28px #edcd8b30,inset 0 0 28px #edcd8b0c; }
.slot-origin {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  color:var(--slot-accent);
  margin-bottom:12px;
}
.slot-origin > span { display:flex; gap:5px; }
.slot-origin i { width:6px; height:6px; border-radius:50%; background:var(--slot-accent); opacity:.35; }
.slot-cabinet.spinning .slot-origin i,.slot-cabinet.jackpot .slot-origin i { opacity:1; }
.slot-reels {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  position:relative;
  padding:9px;
  border:1px solid var(--slot-edge);
  border-radius:11px;
  background:#0c0b10;
}
.slot-reels::after {
  content:"";
  position:absolute;
  inset:50% 1px auto;
  height:1px;
  background:var(--slot-accent);
  opacity:.26;
  pointer-events:none;
}
.slot-reels::before { content:""; position:absolute; inset:9px; z-index:2; border-radius:7px; box-shadow:inset 0 10px 12px #08060c88,inset 0 -10px 12px #08060c77; pointer-events:none; }
.slot-reel {
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:1;
  overflow:hidden;
  border:1px solid var(--slot-edge);
  border-radius:7px;
  background:#17131f;
  min-width:0;
}
.slot-gold .slot-reel { background:#211914; }
.slot-reel.settled,.slot-cabinet.jackpot .slot-reel,.slot-cabinet.triple-won .slot-reel { border-color:var(--slot-accent); }
.slot-gold .slot-spin-button:not(:disabled) { background:var(--slot-accent); color:#28200e; }
.slot-symbol { font-size:clamp(22px,8vw,39px); color:#e2bfff; display:grid; place-items:center; }
.slot-reel > .slot-symbol { width:100%; height:100%; }
.slot-gold .slot-symbol { color:#ffe0a0; }
.slot-symbol .slot-logo,.slot-symbol .slot-leaf { width:clamp(24px,8vw,50px); height:clamp(24px,8vw,50px); }
.slot-spin-button { margin-top:13px; }
.slot-payout { padding:12px 1px 0; }
.slot-payout h3 { font-size:19px; color:#f0d1ff; }
.slot-payout h3 { margin:0 0 8px; line-height:1.25; }
.slot-cabinet.is-revealed .slot-payout { padding:15px 2px 2px; }
.slot-cabinet.is-revealed .slot-payout > [role=status] > ul { padding:8px 11px; border:1px solid color-mix(in srgb,var(--slot-accent) 30%,transparent); border-radius:9px; background:#0b081440; }
.slot-cabinet.is-revealed .slot-payout li:first-child { color:#fff1ff; font-size:16px; font-weight:750; line-height:1.35; }
.slot-motion-status { margin:9px 0 -3px; text-align:center; color:var(--slot-accent); font-size:11px; line-height:1.5; letter-spacing:.04em; }
.slot-gold .slot-payout h3 { color:#ffe6ad; }
.slot-payout ul,.slot-odds ul { list-style:none; padding:0; margin:6px 0 0; font-size:12px; }
.slot-payout li { padding:4px 0; }
.slot-booster-pack {
  margin-top:8px;
  padding:8px 10px;
  border:1px solid color-mix(in srgb,var(--slot-accent) 35%,transparent);
  border-radius:8px;
}
.slot-booster-pack summary { color:var(--slot-accent); font-size:14px; font-weight:700; cursor:pointer; }
.slot-payout + .slot-spin-button { margin-top:12px; }
.slot-odds { margin-top:14px; font-size:12px; color:#d2b6ec; }
.slot-odds summary { cursor:pointer; }
.slot-odds li { display:flex; justify-content:space-between; gap:8px; padding:4px 0; border-bottom:1px solid #423150; }
.slot-odds li b { white-space:nowrap; }
.slot-status { padding:8px 0; font-size:13px; color:#ebc7f2; }
.slot-strip {
  position:absolute;
  inset:0 0 auto;
  will-change:transform;
}
.slot-strip .slot-symbol { width:100%; aspect-ratio:1; }
@media (prefers-reduced-motion:no-preference) {
  .slot-strip { animation:slot-roll .21s linear infinite; filter:blur(.45px); }
  .slot-reel:nth-child(2) .slot-strip { animation-duration:.24s; animation-delay:-.09s; }
  .slot-reel:nth-child(3) .slot-strip { animation-duration:.27s; animation-delay:-.18s; }
  .slot-reel.settled .slot-symbol { animation:slot-lock .14s ease-out; }
  .slot-cabinet.spinning .slot-origin i { animation:slot-light .32s ease-in-out infinite alternate; }
  .slot-cabinet.spinning .slot-origin i:nth-child(2) { animation-delay:.09s; }
  .slot-cabinet.spinning .slot-origin i:nth-child(3) { animation-delay:.18s; }
  .slot-cabinet.is-revealed .slot-payout { animation:slot-reveal .28s cubic-bezier(.2,.8,.2,1); }
  .slot-cabinet.is-revealed::before { animation:slot-flash .5s ease-out; }
  .slot-cabinet.is-revealed.jackpot .slot-payout h3 { animation:slot-wow .4s cubic-bezier(.2,.8,.2,1); }
}
@keyframes slot-roll { to { transform:translateY(-85.7143%); } }
@keyframes slot-lock { 0% { transform:translateY(-16%); } 65% { transform:translateY(5%); } 100% { transform:translateY(0); } }
@keyframes slot-reveal { from { opacity:0; transform:translateY(7px) scale(.98); } }
@keyframes slot-light { from { opacity:.3; } to { opacity:1; } }
@keyframes slot-flash { from { opacity:.2; } 30% { opacity:1; } }
@keyframes slot-wow { from { transform:scale(.92); letter-spacing:.07em; } }
.camp-machine-label { color:#ffe0a4; font-weight:700; }
.camp-machine-panel { scroll-margin-top:15px; margin-top:26px; }
.camp-machine-panel h2 { font-size:21px; margin-bottom:10px; }
.camp-machine-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.camp-result .slot-trigger { width:min(100%,360px); margin:12px auto; }
.solo-camp-machines { margin-top:15px; text-align:center; }
@media (max-width:405px) {
  .arena-stage .arena-reward { padding-inline:9px; font-size:13px; }
  .camp-machine-grid { grid-template-columns:1fr; }
}
