/* Welcome composition only. Reuse the approved molded key and font tokens. */
#main-menu.menu-station {
  padding: calc(96px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(78px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
#main-menu .menu-content {
  width: min(100%, 640px);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#main-menu .menu-options {
  flex: none;
  width: min(100%, var(--ts-column-width));
  padding: 0;
}
#main-menu .menu-option { height: 76px; }
#main-menu .menu-label { letter-spacing: .08em; }
.welcome-hologram {
  /* Independent from the GPU feather mask. Set to 0 to remove only atmosphere. */
  --hologram-vignette-opacity: .5;
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  isolation: isolate;
}
.welcome-hologram::before {
  content: "";
  position: absolute;
  inset: -6% -12%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, #000c 0%, #0007 30%, #0003 53%, #0000 72%);
  opacity: 0;
}
.welcome-hologram[data-state="playing"]::before { opacity: var(--hologram-vignette-opacity); }
.welcome-hologram canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.welcome-hologram canvas:active { cursor: grabbing; }
.hologram-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hologram-status {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  top: 50%;
  margin: 0;
  text-align: center;
  color: var(--ts-color-text-secondary);
  font: 400 12px/20px var(--ts-font-body);
  pointer-events: none;
}
.hologram-status:empty { display: none; }
/* Large artwork above a bottom thumb target. Keep safe-area clearance below
   SHOP and retain the existing enlarged 3D projection, rather than scaling a bitmap. */
@media (max-width: 759px) {
  #main-menu.menu-station {
    padding: calc(92px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom));
  }
  #main-menu .menu-content { width: 100%; gap: 16px; }
  #main-menu .menu-options { width: min(var(--ts-column-width), calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  body[data-section="menu"] .ts-footer { display: none; }
}
.welcome-hologram canvas { opacity: 1; transition: opacity 140ms ease; }
.welcome-hologram[data-state="loading"] canvas { opacity: .25; }
@media (prefers-reduced-motion: reduce) { .welcome-hologram canvas { transition: none; } }
@media (max-height: 540px) {
  #main-menu.menu-station { padding-top: calc(84px + env(safe-area-inset-top)); padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  #main-menu .menu-option { height: 56px; }
  #main-menu .menu-content { gap: 4px; }
}
@media (max-width: 759px) and (max-height: 540px) {
  #main-menu.menu-station { padding-top: calc(80px + env(safe-area-inset-top)); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  #main-menu .menu-content { gap: 12px; }
}
