.board[data-board=phoenix-spindle] { --room:url('/assets/hidden-vault-room.webp'); }
.board[data-board=aureon-wheel] { --room:url('/assets/elemental-circle-room.webp'); }
.colour-options { display:flex; justify-content:center; gap:7px; position:relative; z-index:2; }
.colour-options button {
  flex:1; max-width:156px; min-height:46px; padding:7px 4px;
  border:1px solid #be9059; border-radius:10px; color:#fff1d8; font:600 15px/1.2 Georgia,serif;
  box-shadow:inset 0 1px 2px #ffe0ac70, inset 0 -3px 4px #13081099, 0 3px 6px #11071099;
}
.colour-options button[data-colour=Ruby] { background:linear-gradient(165deg,#9d4549,#581726 66%,#481422); }
.colour-options button[data-colour=Sapphire] { background:linear-gradient(165deg,#486692,#1c3558 66%,#192844); }
.colour-options button[data-colour=Gold] { background:linear-gradient(165deg,#997035,#654318 66%,#483017); }
.colour-options button[aria-pressed=true] { outline:2px solid #ffdf94; outline-offset:-3px; }
.chance-stage { display:grid; width:100%; justify-items:center; align-content:center; gap:8px; }
.relic-frame {
  position:relative; isolation:isolate; container-type:inline-size; width:min(100%,480px);
  aspect-ratio:1; border-radius:14px; overflow:hidden;
  background:#16060d; box-shadow:0 8px 24px #10040b9c,0 0 0 1px #a9763e87;
}
.relic-housing,.wheel-hub,.wheel-pointer { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.rotor-window { position:absolute; left:20%; top:15.08333%; width:60%; height:59%; }
.wheel-disc { display:block; width:100%; height:100%; border-radius:50%; }
.wheel-hub { clip-path:polygon(50% 34.6%,52% 36.5%,55% 37.2%,56% 39%,57.3% 40%,57.5% 42%,60% 44.5%,57.6% 46%,57% 49%,55% 50%,53% 51%,50% 54.3%,47.7% 51.7%,44.5% 50.5%,43.2% 48.7%,42.3% 46.4%,40% 44.5%,42.3% 42.8%,43% 40%,45.5% 37.7%,47.5% 36.8%); }
.wheel-pointer { clip-path:polygon(46.4% 11%,53.6% 11%,52% 17.4%,50.1% 25.5%,48.2% 17.6%); }
.drum-window {
  --drum-radius:18.9cqw; position:absolute; top:34.95%; height:26.35%; overflow:hidden;
  perspective:105cqw; background:#420e18; border-radius:8% / 10%; pointer-events:none;
}
.drum-0 { left:20.4%; width:16.95%; }
.drum-1 { left:41.85%; width:16.45%; }
.drum-2 { left:62.85%; width:16.55%; }
.drum-cylinder { position:absolute; inset:0; transform-style:preserve-3d; }
.drum-facet {
  position:absolute; top:50%; left:0; right:0; height:calc(var(--drum-radius) * .263305 + 1px);
  background-size:100% 600%; background-repeat:no-repeat; backface-visibility:hidden;
}
.drum-glass {
  position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:linear-gradient(180deg,#100407a8,transparent 30%,#ffd9a408 47%,transparent 66%,#11040b8f),
             linear-gradient(90deg,#18050e55,transparent 14%,transparent 88%,#14050963);
}
.chance-caption {
  border:1px solid #b4854f; border-radius:30px; background:#29121ced; color:#ffe7b4;
  padding:7px 15px; text-align:center; font:600 clamp(15px,2vw,19px)/1.25 Georgia,serif; margin:0;
}
@media(max-width:600px) {
  .colour-options {gap:4px;} .colour-options button {font-size:14px;}
  .chance-stage {gap:6px;}
}
