:root {
  color-scheme: dark;
  font-family: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --menu-background: oklch(0.13 0.015 160);
  --menu-text: oklch(0.99 0 0);
  --menu-muted: oklch(0.8 0.01 160);
  --menu-gold: oklch(0.86 0.17 90);
  --menu-gold-deep: oklch(0.62 0.14 80);
  --menu-ink: oklch(0.17 0.025 100);
  --menu-glass: oklch(0.16 0.02 160 / 0.55);
  --menu-border: oklch(0.99 0 0 / 0.16);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--menu-background); overscroll-behavior: none; touch-action: none; }
body { position: fixed; inset: 0; }
canvas { display: block; outline: 0; touch-action: none; }
#chf2 { position: absolute; inset: 0; }
#launch-screen { position: fixed; z-index: 1000; inset: 0; color: var(--menu-text); background: var(--menu-background); overflow: hidden; touch-action: manipulation; display: grid; place-items: center; }
#launch-screen[hidden] { display: none; }
.menu-art { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(22px) saturate(1.2) brightness(.6); transform: scale(1.05); }
.menu-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, oklch(0.08 0.01 160 / .75) 85%); pointer-events: none; }
.menu-top { position: absolute; top: max(10px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 2; }
.studio { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--menu-muted); }
.privacy-link { font-size: 11px; color: var(--menu-muted); text-decoration: none; padding: 8px 10px; border: 1px solid var(--menu-border); border-radius: 999px; background: var(--menu-glass); backdrop-filter: blur(8px); }
.privacy-link:hover { color: var(--menu-gold); }
.launch-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(300px, 86vw); padding: 18px 18px 16px; text-align: center; border: 1px solid var(--menu-border); border-radius: 22px; background: var(--menu-glass); backdrop-filter: blur(14px); box-shadow: 0 20px 50px oklch(0 0 0 / .45); animation: pop .45s cubic-bezier(.2,.9,.3,1.2); }
.menu-icon { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; border: 2px solid oklch(0.99 0 0 / .25); box-shadow: 0 8px 22px oklch(0 0 0 / .5); }
.menu-icon:not([src]) { visibility: hidden; }
.season { color: var(--menu-gold); font-size: 9px; font-weight: 800; letter-spacing: .2em; margin: 0 0 4px; }
h1 { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 800; }
.menu-actions { width: 100%; }
#loading-status { min-height: 16px; margin: 0 0 8px; color: var(--menu-muted); font-size: 11px; line-height: 1.4; }
#start-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 200px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--menu-gold), oklch(0.78 0.16 85)); color: var(--menu-ink); box-shadow: 0 4px 0 var(--menu-gold-deep), 0 10px 22px oklch(0 0 0 / .35); font: 900 15px/1 system-ui, Arial, sans-serif; letter-spacing: .12em; cursor: pointer; transition: transform .12s, box-shadow .12s, opacity .15s; touch-action: manipulation; }
#start-button::after { content: '▶'; font-size: 11px; }
#start-button:enabled { animation: pulse 2s ease-in-out infinite; }
#start-button:disabled { opacity: .5; cursor: wait; }
#start-button:enabled:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--menu-gold-deep), 0 4px 10px oklch(0 0 0 / .3); }
#start-button:focus-visible, .privacy-link:focus-visible { outline: 2px solid var(--menu-text); outline-offset: 3px; }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 4px 0 var(--menu-gold-deep), 0 0 0 6px oklch(0.86 0.17 90 / .18), 0 10px 22px oklch(0 0 0 / .35); } }
/* Phone landscape: icon beside text, compact */
@media (max-height: 500px) and (orientation: landscape) {
  .launch-card { flex-direction: row; width: auto; max-width: 92vw; gap: 14px; padding: 12px 16px; text-align: left; border-radius: 18px; }
  .menu-icon { width: 64px; height: 64px; border-radius: 16px; }
  .menu-actions { width: 150px; text-align: center; }
  h1 { font-size: 15px; max-width: 170px; }
  #start-button { height: 36px; font-size: 13px; }
  #loading-status { font-size: 10px; margin-bottom: 6px; }
}
@media (max-height: 340px) { .menu-icon { width: 48px; height: 48px; } .season { display: none; } }
@media (prefers-reduced-motion: reduce) { #start-button, .launch-card { animation: none; transition: none; } }
