/* Menu-only presentation. Removing this stylesheet restores the original layout. */
.menu-atmosphere {
  --menu-accent: #efce79;
  --menu-secondary: #e85d59;
  --menu-surface: #25292a;
  --menu-edge: #655b42;
  --menu-ink: #f7eac9;
}
html[data-season="halloween"] .menu-atmosphere {
  --menu-accent: #ffb566;
  --menu-secondary: #a9e28b;
  --menu-surface: #2b2330;
  --menu-edge: #80517e;
  --menu-ink: #ffe9ce;
}
html[data-season="christmas"] .menu-atmosphere {
  --menu-accent: #ebcb79;
  --menu-secondary: #94d5b1;
  --menu-surface: #1b3029;
  --menu-edge: #64826a;
  --menu-ink: #fff1d6;
}
.menu-atmosphere .page-head { margin-bottom: 16px; }
.menu-atmosphere .page-head h1 { font-size: 32px; line-height: 1.1; }
.menu-atmosphere .eyebrow { color: var(--menu-accent); }
.menu-scene {
  position: relative;
  height: 112px;
  overflow: hidden;
  margin-bottom: 24px;
  border-block: 1px solid var(--menu-edge);
  background: var(--menu-surface);
  isolation: isolate;
  pointer-events: none;
}
.menu-scene img { position: absolute; right: 0; top: 0; width: 42%; height: 100%; object-fit: contain; object-position: right center; }
.menu-scene-label { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); display: flex; gap: 12px; align-items: center; color: var(--menu-ink); font: 700 22px 'Barlow Condensed', sans-serif; }
.menu-scene-label svg { width: 30px; height: 30px; color: var(--menu-secondary); }
.menu-lights { display: none; }
.menu-atmosphere .arc-tabs { border-bottom: 1px solid var(--menu-edge); padding-bottom: 12px; }
.menu-atmosphere .arc-tabs button.active { background: var(--menu-surface); color: var(--menu-ink); border-color: var(--menu-accent); }
.menu-atmosphere .phase.selected { border-color: var(--menu-accent); box-shadow: inset 3px 0 var(--menu-accent); background: var(--menu-surface); }
.menu-atmosphere .stage-detail { border-top: 2px solid var(--menu-accent); }
.menu-atmosphere .character-detail { border-top: 2px solid var(--menu-accent); padding-top: 20px; }
.menu-atmosphere .hero-card.selected { border-color: var(--menu-accent); background: var(--menu-surface); }
.recruit-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.recruit-main > * { min-width: 0; }
.recruit-main .draw-panel { display: block; padding: 0 0 18px; border: 0; }
.recruit-main .draw-panel h2 { font-size: 22px; margin-bottom: 18px; }
.recruit-main .draw-guarantees { margin-top: 24px; gap: 18px; }
.recruit-main .draw-actions { gap: 10px; }
.recruit-main .draw-actions button { min-height: 84px; padding: 10px; }
.recruit-main .draw-actions strong { font-size: 18px; }
.recruit-main .draw-actions small { font-variant-numeric: tabular-nums; }
.recruit-main .draw-ten { border-color: var(--menu-accent, #efce79); background: #362e22; color: #ffe6a5; }
.recruit-main .fragment-draw-band { display: grid; gap: 10px; margin: 0; padding: 16px 0; border-block: 1px solid var(--menu-edge, #655b42); }
.recruit-main .fragment-draw-band button { width: 100%; }
.recruit-main .gacha-carousel .recruit-feature,
.recruit-main .gacha-carousel .skin-feature { flex-basis: calc((100% - 12px) / 2); height: 344px; background: transparent; }
.recruit-main .recruit-showcase, .recruit-main .skin-showcase { background: transparent; border: 0; }
.recruit-main .recruit-feature > div, .recruit-main .skin-feature > div:last-child { background: #171c20f5; min-height: 84px; }
.recruit-main .recruit-feature img { height: calc(100% - 70px); object-fit: contain; }
.recruit-main .skin-feature .skin-figure { margin: 0 auto; width: 100%; height: calc(100% - 70px); aspect-ratio: auto; background: transparent; }
.recruit-main .skin-feature .skin-figure img { height: 100%; width: 100%; object-fit: contain; }
.recruit-main .recruit-feature strong, .recruit-main .skin-feature strong { font-size: 23px; }
.recruit-main .carousel-controls button { width: 44px; height: 44px; }
.menu-atmosphere .recruit-wallet { padding-left: 16px; border-left: 2px solid var(--menu-accent); color: var(--menu-accent); }
.menu-atmosphere .draw-rates { margin-top: 16px; gap: 14px; }
.menu-atmosphere .draw-rate { padding: 6px 12px; border-left: 2px solid var(--draw-color); background: #1b2022; }
.menu-atmosphere .ssr-choice-band { border-color: var(--menu-edge); }
.menu-atmosphere button:focus-visible, .menu-atmosphere summary:focus-visible { outline: 2px solid var(--menu-secondary); outline-offset: 3px; }
html[data-season="halloween"] .menu-scene { border-left: 4px solid #ffb566; }
html[data-season="halloween"] .recruit-main .draw-ten { background: #35253e; color: #efd7ff; }
html[data-season="christmas"] .menu-scene { border-bottom: 3px solid #b64b53; }
html[data-season="christmas"] .menu-lights { position: absolute; inset: 7px 12px auto; display: flex; justify-content: space-between; height: 15px; border-top: 1px solid #779386; }
.menu-lights span { position: relative; width: 8px; height: 12px; border-radius: 3px 3px 5px 5px; background: #ffd577; color: #ffd577; box-shadow: 0 0 8px currentColor; animation: menu-bulb 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--bulb) * -.3s); }
.menu-lights span:nth-child(3n+1) { background: #f16b72; color: #f16b72; }
.menu-lights span:nth-child(3n+2) { background: #9ae3b7; color: #9ae3b7; }
.menu-lights span::before { content: ''; position: absolute; top: -3px; left: 2px; width: 4px; height: 3px; background: #d8e4d9; }
@keyframes menu-bulb { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 1000px) {
  .recruit-main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .recruit-main .draw-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .recruit-main .draw-guarantees { margin: 0; }
  .recruit-main .fragment-draw-band { display: flex; }
  .recruit-main .fragment-draw-band button { width: auto; }
  .recruit-main .gacha-carousel .recruit-feature, .recruit-main .gacha-carousel .skin-feature { height: 300px; flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 600px) {
  .menu-atmosphere .page-head { flex-wrap: wrap; gap: 14px; }
  .menu-atmosphere .page-head > .row { width: 100%; min-width: 0; flex-wrap: wrap; }
  .menu-atmosphere .page-head label, .menu-atmosphere .page-head select { max-width: 100%; }
  .menu-scene { height: 88px; margin-bottom: 18px; }
  .menu-scene-label { left: 12px; font-size: 18px; gap: 8px; max-width: 59%; }
  .menu-scene-label svg { width: 22px; height: 22px; flex: 0 0 22px; }
  .menu-atmosphere .page-head h1 { font-size: 28px; }
  .menu-atmosphere .recruit-wallet { padding-left: 10px; gap: 6px; }
  .menu-atmosphere .recruit-wallet strong { font-size: 20px; }
  .menu-atmosphere .recruit-wallet svg { width: 22px; height: 22px; }
  .recruit-main .gacha-carousel .recruit-feature, .recruit-main .gacha-carousel .skin-feature { flex-basis: 76%; height: 300px; }
  .recruit-main .draw-panel { display: block; }
  .recruit-main .draw-guarantees { margin-top: 20px; }
  .recruit-main .fragment-draw-band { display: grid; }
  .recruit-main .fragment-draw-band button { width: 100%; }
  .menu-atmosphere .ssr-choice-band { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .menu-atmosphere .draw-rates { gap: 8px; }
  .menu-atmosphere .draw-rate { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) { .menu-lights span { animation: none; } }
body.playing .menu-lights span { animation-play-state: paused; }
