/* LOOTR opening theatre. Load after the shared theme; JS owns the exact reel stop. */
#opening-theatre {
  --tile-width: clamp(144px, 13.1vw, 188px);
  --tile-height: clamp(218px, 29vh, 270px);
  --tile-gap: 12px;
  --theatre-ice: #a6efff;
  --theatre-edge: #8bd8ed38;
  --theatre-muted: #8daebf;
  --theatre-ease: cubic-bezier(.2, .8, .2, 1);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr) 88px;
  color: #eefaff;
  background: #03111b;
  animation: theatre-arrive 300ms var(--theatre-ease) both;
}
#opening-theatre::before {
  inset: 0;
  z-index: -2;
  opacity: .78;
  background: linear-gradient(180deg, #03111b 0%, #03111b40 25%, #03111b00 65%, #020b15c7 100%), url('stage-environment.webp') center 73% / cover no-repeat;
  mask-image: none;
  pointer-events: none;
}
#opening-theatre::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 55% at 50% 45%, #50b6d011, transparent 75%), linear-gradient(90deg, #010b14b3, transparent 24%, transparent 76%, #010b14b3);
}
#opening-theatre [hidden] { display: none !important; }
#opening-theatre .theatre-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0 clamp(18px, 3.1vw, 48px);
  gap: 25px;
  border: 0;
  background: linear-gradient(180deg, #03131df2, #03131dad 65%, #03131d00);
  box-shadow: none;
}
#opening-theatre .theatre-header::after { content: ''; position: absolute; left: clamp(18px, 3.1vw, 48px); right: clamp(18px, 3.1vw, 48px); bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--active-tier, #87d9ea) 48%, transparent) 27%, color-mix(in srgb, var(--active-tier, #87d9ea) 12%, transparent) 72%, transparent); pointer-events: none; }
#opening-theatre .theatre-brand { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: 23px; font-style: italic; font-weight: 800; letter-spacing: -.035em; gap: 0; color: #b6cbd5; }
#opening-theatre .theatre-brand .brand-mark { display: none; }
#opening-theatre .theatre-heading-group { display: flex; align-items: center; gap: 12px; min-width: 0; padding-left: 23px; border-left: 1px solid #7fa3b329; }
#opening-theatre .theatre-heading-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
#opening-theatre #theatre-heading { font-family: var(--font-display, 'Barlow Condensed', sans-serif); margin: 0; color: #effaff; font-size: 32px; font-style: italic; line-height: .95; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; text-transform: uppercase; }
#opening-theatre .theatre-demo { padding: 0; border: 0; border-radius: 0; color: #88a9bb; background: none; font-size: 9px; font-weight: 500; line-height: 1.25; letter-spacing: .055em; }
#opening-theatre .theatre-chest-thumb { display: block; flex: 0 0 58px; width: 58px; height: 52px; background: url('chest-selector-atlas.webp') 50% center / 300% auto no-repeat; filter: drop-shadow(0 3px 7px color-mix(in srgb, var(--active-tier, #87d9ea) 20%, transparent)); }
#opening-theatre[data-tier='bronze'] .theatre-chest-thumb { background-position-x: 0%; }
#opening-theatre[data-tier='gold'] .theatre-chest-thumb { background-position-x: 100%; }
#opening-theatre[data-tier='platinum'] .theatre-chest-thumb { background-image: url('platinum-chest.webp'); background-position: center; background-size: contain; }
#opening-theatre[data-tier='diamond'] .theatre-chest-thumb { background-image: url('diamond-chest.webp'); background-position: center; background-size: contain; }
#opening-theatre .theatre-controls { justify-self: end; gap: 4px; margin: 0; }
#opening-theatre .theatre-controls button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid transparent; background: transparent; color: #a7c2d1; border-radius: 50%; transition: background 180ms, border-color 180ms, transform 120ms, color 180ms; }
#opening-theatre .theatre-controls button:hover { background: color-mix(in srgb, var(--active-tier, #87d9ea) 9%, transparent); border-color: color-mix(in srgb, var(--active-tier, #87d9ea) 32%, transparent); color: #fff; }
#opening-theatre .theatre-controls button:active { transform: scale(.96); }
#opening-theatre .theatre-controls svg { display: block; width: 20px; height: 20px; }
#opening-theatre .theatre-sound { margin-left: 0; }
#opening-theatre .theatre-sound svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
#opening-theatre .theatre-sound[aria-pressed='true'] { color: color-mix(in srgb, var(--active-tier, #87d9ea) 65%, #e8f7ff); }
#opening-theatre .theatre-sound-off { display: none; }
#opening-theatre .theatre-sound[aria-pressed='false'] .theatre-sound-waves { display: none; }
#opening-theatre .theatre-sound[aria-pressed='false'] .theatre-sound-off { display: block; }
#opening-theatre button:focus-visible { outline: 2px solid #c5f6ff; outline-offset: 4px; }
#opening-theatre .theatre-body { display: block; position: relative; min-height: 0; width: 100%; padding: 0; gap: 0; overflow: hidden; }
#opening-theatre .theatre-title {
  position: absolute;
  left: 50%;
  top: clamp(22px, 5.2vh, 54px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 8;
  width: max-content;
  max-width: calc(100% - 40px);
  max-height: none;
  padding: 0;
  margin: 0;
  transition: opacity 220ms;
}
#opening-theatre .theatre-phase-number { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #6e98ad; font-variant-numeric: tabular-nums; }
#opening-theatre #theatre-description { margin: 0; color: #cae8f5; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#opening-theatre .roulette-window {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1800px;
  height: calc(var(--tile-height) + 68px);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 1;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  transition: opacity 280ms var(--theatre-ease), transform 500ms var(--theatre-ease);
}
#opening-theatre .roulette-window::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  bottom: 0;
  width: calc(var(--tile-width) + 28px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #89e5ff00, #77dfff12 26%, #a9f7ff18 70%, #83e8ff00);
  pointer-events: none;
}
#opening-theatre .roulette-window::after {
  z-index: 3;
  top: 27px;
  bottom: 27px;
  width: calc(var(--tile-width) + 8px);
  border: 1px solid #baf6ff6b;
  border-radius: 13px;
  background: linear-gradient(180deg, #bff7ff0b, transparent 16%, transparent 84%, #b4f0ff0d);
  box-shadow: 0 0 35px #63dcff12, inset 0 1px #d0faff33;
}
#opening-theatre .roulette-track { padding: 34px 0; height: 100%; gap: var(--tile-gap); align-items: stretch; }
#opening-theatre .roulette-tile {
  flex: 0 0 var(--tile-width);
  width: var(--tile-width);
  height: var(--tile-height);
  padding: 13px 13px 16px;
  border: 1px solid #58889b50;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 36%, color-mix(in srgb, var(--rarity) 12%, transparent), transparent 75%), linear-gradient(155deg, #143547f2, #061d2bf7 72%);
  box-shadow: inset 0 1px #cef3ff0c, 0 10px 25px #00000025;
  transition: opacity 260ms, border-color 260ms, box-shadow 260ms, scale 350ms var(--theatre-ease);
}
#opening-theatre .roulette-tile::after { left: 35%; right: 35%; height: 2px; opacity: .85; box-shadow: 0 0 8px var(--rarity); }
#opening-theatre .roulette-rarity { align-self: flex-start; display: flex; align-items: center; gap: 5px; margin: 0; color: #aec7d7; font-size: 9px; letter-spacing: .08em; font-weight: 600; }
#opening-theatre .roulette-rarity i { width: 4px; height: 4px; border-radius: 50%; background: var(--rarity); }
#opening-theatre .roulette-art { flex: 1; min-height: 0; height: auto; width: 100%; margin: 0 0 9px; overflow: visible; }
#opening-theatre .roulette-art > .atlas-art { flex: none; height: calc(var(--tile-height) * .52); margin: 0; transform: rotate(-5deg); filter: drop-shadow(0 12px 12px #0007); }
#opening-theatre .roulette-art > .atlas-gift { width: calc(var(--tile-height) * .28); }
#opening-theatre .roulette-art > .atlas-stock { width: calc(var(--tile-height) * .34); }
#opening-theatre .roulette-art > .atlas-digital { width: calc(var(--tile-height) * .41); }
#opening-theatre .roulette-art > .upcoming-art { width: calc(var(--tile-height) * .53); height: calc(var(--tile-height) * .53); }
#opening-theatre .roulette-name { max-width: 100%; min-height: 17px; font-size: 12px; line-height: 1.3; font-weight: 500; color: #a9c5d6; letter-spacing: -.01em; }
#opening-theatre .roulette-value { margin-top: 7px; color: #f4fbff; font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#opening-theatre .roulette-pointer { z-index: 5; top: 0; bottom: 0; width: 1px; background: linear-gradient(#a9f3ff00, #bcf8ff 8%, transparent 18%, transparent 82%, #bcf8ff 92%, #a9f3ff00); }
#opening-theatre .roulette-pointer::before, #opening-theatre .roulette-pointer::after { width: 17px; height: 12px; background: #c7f8ff; filter: drop-shadow(0 0 8px #83e7ffbd); }
#opening-theatre .roulette-pointer::before { top: 14px; }
#opening-theatre .roulette-pointer::after { bottom: 14px; }
#opening-theatre .roulette-pointer > * { display: none; }
#opening-theatre[data-phase='locked'] .roulette-tile:not(.is-winner) { opacity: .38; }
#opening-theatre .roulette-tile.is-winner { scale: 1.025; border-color: #d0faff; box-shadow: inset 0 0 36px #83e7ff0a, 0 0 36px #57dfff26; }
#opening-theatre .roulette-tile.is-winner .roulette-name, #opening-theatre .roulette-tile.is-winner .roulette-rarity { color: #e0f8ff; }
#opening-theatre .theatre-chest-slot {
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(880px, 84vw);
  height: min(550px, 65dvh);
  margin: 0;
  background: none;
  opacity: 0;
  transform: translate(-50%, -42%) scale(.86);
  pointer-events: none;
  transition: transform 650ms var(--theatre-ease), opacity 420ms var(--theatre-ease);
}
#opening-theatre .theatre-chest-slot::before, #opening-theatre .theatre-chest-slot::after { display: none; }
#opening-theatre .theatre-chest-slot .hero-stage { height: 100%; width: 100%; min-height: 0; margin: 0; overflow: visible; background: none; }
#opening-theatre .theatre-chest-slot .stage-grid, #opening-theatre .theatre-chest-slot .stage-light, #opening-theatre .theatre-chest-slot .showcase-rewards, #opening-theatre .theatre-chest-slot .scene-floor { display: none; }
#opening-theatre .theatre-chest-slot .opening-reward { top: 10%; width: 220px; height: 220px; }
#opening-theatre .theatre-chest-slot .reward-front > .atlas-art { height: 190px; }
#opening-theatre .theatre-chest-slot .reward-front > .atlas-gift { width: 103px; }
#opening-theatre .theatre-chest-slot .reward-front > .atlas-stock { width: 123px; }
#opening-theatre .theatre-chest-slot .reward-front > .atlas-digital { width: 155px; }
#opening-theatre:is([data-phase='chest'], [data-phase='revealing'], [data-phase='result']) .roulette-window { height: calc(var(--tile-height) + 68px); max-height: none; margin: 0; opacity: 0; transform: translate(-50%, -58%); pointer-events: none; }
#opening-theatre:is([data-phase='chest'], [data-phase='revealing'], [data-phase='result']) .theatre-chest-slot { height: min(550px, 65dvh); opacity: 1; transform: translate(-50%, -50%) scale(1); }
#opening-theatre[data-phase='result'] .theatre-chest-slot { transform: translate(-69%, -50%) scale(.95); }
#opening-theatre[data-phase='result'] .theatre-title, #opening-theatre[data-phase='error'] .theatre-title { display: none; }
#opening-theatre .theatre-result {
  position: absolute;
  top: 50%;
  left: calc(50% + min(160px, 13vw));
  width: min(350px, 30vw);
  max-height: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: visible;
  transform: translateY(-34%);
  text-align: left;
  pointer-events: none;
}
#opening-theatre[data-phase='result'] .theatre-result { max-height: none; opacity: 1; pointer-events: auto; animation: theatre-result-in 450ms var(--theatre-ease) both; }
#opening-theatre .theatre-result-kicker { display: block; color: #91cee2; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
#opening-theatre #theatre-result-title { margin: 12px 0 9px; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
#opening-theatre #theatre-result-value { margin: 0 0 24px; color: #c4f5ff; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#opening-theatre .theatre-result > div { display: flex; align-items: stretch; justify-content: flex-start; flex-wrap: wrap; gap: 9px; }
#opening-theatre .theatre-result button, #opening-theatre .theatre-error button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 12px 18px; border: 1px solid #75b7cf45; border-radius: 7px; font-size: 12px; font-weight: 600; color: #d9f2ff; background: #0e2d3fd9; box-shadow: none; transition: transform 150ms, background 180ms, border-color 180ms; }
#opening-theatre .theatre-result button:hover, #opening-theatre .theatre-error button:hover { border-color: #c7f7ff99; background: #1c4559; }
#opening-theatre .theatre-result button:active, #opening-theatre .theatre-error button:active { transform: scale(.97); }
#opening-theatre .theatre-result button.pink, #opening-theatre[data-preview='true'] .theatre-result button[data-theatre='again'], #opening-theatre .theatre-error button.pink { color: #05202c; background: linear-gradient(130deg, #cbf8ff, #82dbf2); border-color: #b9f3ff; box-shadow: inset 0 1px #ffffff88, 0 8px 30px #4ed8ff18; }
#opening-theatre .theatre-result button svg { width: 15px; height: 15px; }
#opening-theatre #theatre-result-note { margin: 16px 0 0; font-size: 12px; line-height: 1.55; color: #99b9cb; }
#opening-theatre .theatre-footer { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 12px; margin: 0; padding: 10px 24px max(12px, env(safe-area-inset-bottom)); border-top: 0; background: linear-gradient(transparent, #02101be6); }
#opening-theatre .theatre-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 26px; width: min(650px, 100%); }
#opening-theatre .theatre-steps { display: flex; align-items: center; gap: 18px; }
#opening-theatre .theatre-steps span { gap: 8px; color: #5e8297; font-size: 12px; letter-spacing: 0; transition: color 250ms; }
#opening-theatre .theatre-steps span::before { display: none; }
#opening-theatre .theatre-steps em { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid #5e82972f; border-radius: 6px; font-size: 10px; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
#opening-theatre .theatre-steps b { font-weight: 500; }
#opening-theatre .theatre-steps > i { width: 24px; background: #2c4d60; }
#opening-theatre .theatre-steps .active { color: #c0f6ff; }
#opening-theatre .theatre-steps .active em { border-color: #9beaff80; color: #c0f6ff; background: #62dbff14; box-shadow: 0 0 17px #4bcfff12; }
#opening-theatre .theatre-steps .is-done { color: #8abacc; }
#opening-theatre .theatre-steps .is-done em { border-color: #6cb8cd55; }
#opening-theatre .theatre-footer > small { position: static; font-size: 10px; font-weight: 400; letter-spacing: .015em; line-height: 1.2; color: #8eafc1; text-transform: none; }
#opening-theatre .theatre-skip { color: #c1deeb; padding: 8px 13px; min-height: 36px; font-size: 11px; white-space: nowrap; border: 1px solid #7daabd35; border-radius: 6px; background: #082133a3; transition: border-color 150ms, color 150ms; }
#opening-theatre .theatre-skip:hover { color: #fff; border-color: #b9f2ff88; background: #17394b; }
#opening-theatre .theatre-skip:disabled { color: #6b8a9c; opacity: .6; }
#opening-theatre[data-phase='result'] .theatre-footer-main { justify-content: center; }
#opening-theatre .theatre-error { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); margin: 0; padding: 24px; width: min(440px, calc(100% - 32px)); text-align: center; }
#opening-theatre .theatre-error h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; color: #e6f9ff; }
#opening-theatre .theatre-error p { margin: 0 0 24px; color: #a6c4d3; font-size: 13px; }
#opening-theatre .theatre-error > div { display: flex; justify-content: center; gap: 10px; }
#opening-theatre[data-phase='error'] .roulette-window, #opening-theatre[data-phase='error'] .theatre-chest-slot { opacity: 0; pointer-events: none; }
@keyframes theatre-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes theatre-result-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 760px) {
  #opening-theatre { --tile-width: 142px; --tile-height: 225px; --tile-gap: 10px; grid-template-rows: 64px minmax(0, 1fr) 88px; }
  #opening-theatre::before { top: -35%; background-position: center bottom; background-size: auto 100%; mask-image: linear-gradient(180deg, transparent 66%, #000 96%); }
  #opening-theatre::after { background: radial-gradient(ellipse 100% 20% at 50% 55%, #226b825c, #0a344a45 42%, transparent 75%), radial-gradient(ellipse 75% 58% at 50% 51%, #07527248, transparent 75%), linear-gradient(90deg, #010b145c, transparent 28%, transparent 72%, #010b145c); }
  #opening-theatre .theatre-header { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; padding: 0 12px; }
  #opening-theatre .theatre-header::after { left: 12px; right: 12px; }
  #opening-theatre .theatre-brand > span:last-child { display: none; }
  #opening-theatre .theatre-brand .brand-mark { display: block; width: 28px; height: 28px; }
  #opening-theatre .theatre-heading-group { gap: 0; padding-left: 0; border-left: 0; }
  #opening-theatre .theatre-chest-thumb { display: none; }
  #opening-theatre #theatre-heading { font-size: 28px; }
  #opening-theatre .theatre-demo { font-size: 8px; padding: 0; }
  #opening-theatre .theatre-controls { gap: 0; }
  #opening-theatre .theatre-controls button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; }
  #opening-theatre .theatre-title { top: 28px; }
  #opening-theatre .roulette-window { top: 46%; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  #opening-theatre .roulette-tile { padding: 12px 10px 15px; }
  #opening-theatre .roulette-name { font-size: 11px; }
  #opening-theatre .roulette-value { font-size: 22px; }
  #opening-theatre .theatre-chest-slot, #opening-theatre:is([data-phase='chest'], [data-phase='revealing'], [data-phase='result']) .theatre-chest-slot { width: min(640px, 100vw); height: min(460px, 58dvh); }
  #opening-theatre .theatre-chest-slot::after { content: ''; display: block; position: absolute; bottom: 4%; left: 50%; z-index: 0; width: 62%; height: 11%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, #000a, #00101a55 42%, transparent 72%); filter: blur(7px); pointer-events: none; }
  #opening-theatre[data-phase='result'] .theatre-chest-slot { transform: translate(-50%, -68%) scale(.91); }
  #opening-theatre .theatre-chest-slot .opening-reward { width: 185px; height: 185px; top: 10%; }
  #opening-theatre .theatre-chest-slot .reward-front > .atlas-art { height: 155px; }
  #opening-theatre .theatre-chest-slot .reward-front > .atlas-gift { width: 84px; }
  #opening-theatre .theatre-chest-slot .reward-front > .atlas-stock { width: 100px; }
  #opening-theatre .theatre-chest-slot .reward-front > .atlas-digital { width: 127px; }
  #opening-theatre .theatre-result { top: auto; left: 50%; bottom: clamp(24px, 7.5dvh, 64px); width: calc(100% - 40px); max-width: 440px; transform: translateX(-50%); text-align: center; }
  #opening-theatre .theatre-result > div { justify-content: center; gap: 8px; }
  #opening-theatre .theatre-result-kicker { font-size: 10px; letter-spacing: .12em; }
  #opening-theatre #theatre-result-title { font-size: 30px; margin: 9px 0 5px; }
  #opening-theatre #theatre-result-value { font-size: 36px; margin-bottom: 17px; }
  #opening-theatre .theatre-result button { font-size: 12px; min-height: 42px; padding: 11px 16px; }
  #opening-theatre #theatre-result-note { font-size: 11px; margin-top: 10px; }
  #opening-theatre .theatre-footer { padding: 8px 16px max(12px, env(safe-area-inset-bottom)); gap: 12px; }
  #opening-theatre .theatre-footer-main { gap: 14px; }
  #opening-theatre .theatre-steps { gap: 8px; }
  #opening-theatre .theatre-steps span { font-size: 10px; gap: 5px; }
  #opening-theatre .theatre-steps em { width: 22px; height: 22px; font-size: 9px; }
  #opening-theatre .theatre-steps > i { width: 10px; }
  #opening-theatre .theatre-skip { font-size: 10px; padding: 8px 9px; }
}
@media (max-width: 360px) {
  #opening-theatre .theatre-footer { padding-left: 12px; padding-right: 12px; }
  #opening-theatre .theatre-footer-main { gap: 8px; }
  #opening-theatre .theatre-steps { gap: 4px; }
  #opening-theatre .theatre-steps span { gap: 3px; }
  #opening-theatre .theatre-steps em { width: 18px; height: 22px; }
  #opening-theatre .theatre-steps > i { width: 6px; }
  #opening-theatre .theatre-skip { flex: none; min-height: 44px; }
}
@media (max-height: 620px) {
  #opening-theatre { --tile-height: min(215px, 46dvh); --tile-width: 142px; grid-template-rows: 54px minmax(0, 1fr) 66px; }
  #opening-theatre .theatre-title { top: 8px; }
  #opening-theatre .theatre-phase-number, #opening-theatre #theatre-description { font-size: 9px; }
  #opening-theatre .roulette-window { top: 54%; height: calc(var(--tile-height) + 38px); }
  #opening-theatre .roulette-track { padding: 19px 0; }
  #opening-theatre .roulette-window::after { top: 13px; bottom: 13px; }
  #opening-theatre .roulette-pointer::before { top: 1px; }
  #opening-theatre .roulette-pointer::after { bottom: 1px; }
  #opening-theatre .roulette-tile { padding: 9px 10px 10px; }
  #opening-theatre .roulette-art { margin-bottom: 4px; }
  #opening-theatre .roulette-value { font-size: 19px; margin-top: 4px; }
  #opening-theatre .theatre-footer { gap: 7px; padding-top: 0; }
  #opening-theatre .theatre-footer > small { font-size: 9px; }
  #opening-theatre .theatre-chest-slot, #opening-theatre:is([data-phase='chest'], [data-phase='revealing'], [data-phase='result']) .theatre-chest-slot { height: 73dvh; width: min(620px, 73vw); }
  #opening-theatre[data-phase='result'] .theatre-chest-slot { transform: translate(-72%, -50%) scale(.95); }
  #opening-theatre .theatre-result { top: 50%; bottom: auto; left: 61%; width: 34%; max-width: 300px; transform: translateY(-45%); text-align: left; }
  #opening-theatre .theatre-result > div { justify-content: flex-start; gap: 6px; }
  #opening-theatre .theatre-result-kicker { font-size: 9px; }
  #opening-theatre #theatre-result-title { font-size: 23px; margin: 6px 0; }
  #opening-theatre #theatre-result-value { font-size: 30px; margin-bottom: 13px; }
  #opening-theatre .theatre-result button { min-height: 36px; padding: 8px 11px; font-size: 10px; }
  #opening-theatre #theatre-result-note { font-size: 10px; margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #opening-theatre, #opening-theatre *, #opening-theatre::before, #opening-theatre::after { animation: none !important; transition: none !important; }
  #opening-theatre .roulette-track { will-change: auto; }
}
