/* Cabinet components; palette primitives and shared semantics live in duotone.css. */
.home-hero-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: var(--sp-m);
  min-height: clamp(8rem, 13vw, 11rem);
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--r-l);
  background: var(--surface);
}
.home-hero-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(95deg, transparent, var(--accent));
  mask: url('/media/nl-surface.webp') right center / cover no-repeat luminance;
  opacity: .5;
}
.home-hero-head .notice { background: var(--surface-2); align-self: center; }
.home-hero-copy .eyebrow { color: var(--accent-onsoft); }
.home-hero-logo-wrap {
  background: var(--accent); box-shadow: none; animation: none; overflow: hidden;
}
.theme-seg { grid-template-columns: repeat(3,minmax(0,1fr)); }
.theme-seg button { position: relative; min-height: 44px; }
.theme-seg button small { font-size: .7rem; }
.theme-ico {
  position: relative; overflow: hidden;
  width: 28px; height: 14px; border-radius: 3px;
  border: 1px solid var(--ink-3);
  background: linear-gradient(115deg,var(--duo-base) 50%,var(--duo-signal) 50%);
}
.theme-ico::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--duo-base); opacity: .22;
  mask: url('/media/nl-surface.webp') center / cover no-repeat luminance;
}
.theme-seg [aria-pressed="true"] small { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 700px) {
  #appearance-card .theme-seg { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero-logo-wrap::after, [data-theme-choice] .theme-ico::after {
    content: none; display: block; position: absolute; inset: 0; pointer-events: none;
    border: 0; box-shadow: none; border-radius: inherit;
    background: var(--preview-material, none) center / cover;
    mix-blend-mode: screen; animation: nl-sheen-pass 1.2s ease-out both;
  }
  .home-hero-logo-wrap:focus-visible::after, [data-theme-choice]:focus-visible .theme-ico::after { content: ""; --preview-material: url('/media/nl-sheen.webp'); }
  @media (hover: hover) and (pointer: fine) {
    .home-hero-logo-wrap:hover::after, [data-theme-choice]:hover .theme-ico::after { content: ""; --preview-material: url('/media/nl-sheen.webp'); }
  }
}
@keyframes nl-sheen-pass { 0%,100% { opacity: 0; } 22%,70% { opacity: .48; } }
.snow-status-indicator.off { background: var(--surface-3); }
.quote-resize-handle { background: var(--accent); }
/* Theme the play surfaces; retain full color for rewards and loss indicators. */
#tab-bonuses :is(.dice-stage,.coinflip-stage,.mines-board-stage,.tower-stage-wrap,.upgrader-stage-wrap,.crash-stage-wrap,.case-roulette-container) {
  background: radial-gradient(ellipse at top, var(--surface-3), var(--bg));
  color: var(--ink); border-color: var(--line-strong);
}
#tab-bonuses .wheel-center-cap { background: var(--bg); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-ring); }
#tab-bonuses :is(.mines-cell.is-idle,.tower-door-btn.is-active-door) { background: var(--surface-3); border-color: var(--line-strong); color: var(--ink); }
#tab-bonuses .dice-track-win { background: linear-gradient(90deg,var(--accent-strong),var(--accent)); }
#tab-bonuses .coinflip-face-heads { background: radial-gradient(circle at 35% 30%,var(--accent-strong),var(--accent)); color:var(--accent-ink); border-color: var(--accent); }
#tab-bonuses #upgWinGrad stop { stop-color: var(--accent); }
#tab-bonuses #upgWinGrad stop:nth-child(2) { stop-color: var(--accent-strong); }
