* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #020a1f; color: #eaf4ff;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; user-select: none; -webkit-user-select: none; touch-action: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
button { font: inherit; font-weight: 600; color: #eaf4ff; background: rgba(10,40,100,.65); border: 1px solid rgba(90,180,255,.55);
  border-radius: 999px; padding: 9px 16px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
button:hover { background: rgba(20,70,160,.8); }
button.on { background: #1f8bff; border-color: #8fd0ff; }

.panel { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; background: radial-gradient(ellipse at 50% 40%, rgba(15,60,160,.55), rgba(2,8,28,.95)); }
.panel[hidden] { display: none; }
.org { letter-spacing: .14em; text-transform: uppercase; font-size: 14px; opacity: .85; margin: 0 0 14px; }
.org span { color: #4fc3ff; }
h1 { margin: 0; font-size: clamp(32px, 7vw, 68px); font-style: italic; font-weight: 800; line-height: 1.05; max-width: 900px;
  text-shadow: 0 0 24px rgba(60,160,255,.55); }
h1 em { color: #39c6ff; }
.sub { font-size: clamp(16px, 2.6vw, 22px); opacity: .9; margin: 14px 0 30px; }
.btns { display: flex; gap: 12px; justify-content: center; }
button.big { font-size: 20px; padding: 16px 40px; background: linear-gradient(90deg, #1b8cff, #35d0ff); color: #021233; border: 0;
  box-shadow: 0 0 30px rgba(60,180,255,.55); }
.note { opacity: .65; font-size: 14px; margin-top: 18px; }

#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#hud[hidden] { display: none; }
#brand { position: absolute; left: 16px; top: max(14px, env(safe-area-inset-top)); font-weight: 700; font-style: italic;
  text-shadow: 0 1px 6px #000; }
#tourBar { position: absolute; left: 50%; top: max(18px, env(safe-area-inset-top)); width: 200px; height: 4px; margin-left: -100px;
  background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
#tourBar[hidden] { display: none; }
#tourBar i { display: block; height: 100%; width: 0; background: #39c6ff; }
#controls { position: absolute; right: 14px; top: max(10px, env(safe-area-inset-top)); display: flex; gap: 8px; pointer-events: auto; flex-wrap: wrap; justify-content: flex-end; }
#help { position: absolute; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center; font-size: 14px;
  opacity: .85; text-shadow: 0 1px 4px #000; padding: 0 12px; }

#handBox { position: fixed; left: 14px; bottom: max(44px, env(safe-area-inset-bottom)); z-index: 6; width: 200px;
  border: 1px solid rgba(90,180,255,.6); border-radius: 12px; overflow: hidden; background: #000; }
#handBox[hidden] { display: none; }
#handCv { display: block; width: 200px; height: 150px; }
#handState { font-size: 13px; padding: 6px 8px; background: rgba(5,25,70,.9); }

#booth { position: fixed; right: 14px; bottom: max(44px, env(safe-area-inset-bottom)); z-index: 6; width: min(340px, calc(100vw - 28px));
  padding: 16px 18px; border-radius: 16px; background: rgba(4,20,60,.86); border: 1px solid rgba(90,180,255,.6);
  box-shadow: 0 0 30px rgba(40,140,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#booth[hidden] { display: none; }
#booth .tagline { color: #39c6ff; font-weight: 700; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; }
#booth h2 { margin: 4px 0 8px; font-size: 21px; }
#booth p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; opacity: .92; }
#booth ul { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
#booth .soon { color: #8fd0ff; margin-top: 8px; }
@media (max-width: 640px) { #handBox { width: 140px; } #handCv { width: 140px; height: 105px; } #booth { bottom: 190px; } }
@media (max-width: 600px) { #brand { display: none; } }
