/*! Typhoon Container Port: Photoreal Chest Cam 1.1.0 | SkillBay Agent Skill | https://skillbay.dev/skills/typhoon-container-terminal | MIT License */
:root {
  --ink: #efe9df;
  --dim: rgba(239, 233, 223, 0.62);
  --panel: rgba(10, 9, 8, 0.62);
  --line: rgba(239, 233, 223, 0.18);
  --accent: #f0a43a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #050403; overflow: hidden; }
body { font-family: "Inter Variable", system-ui, sans-serif; color: var(--ink); }
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; touch-action: none; image-rendering: auto; }
.ui[hidden] { display: none; }
.card {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px)); padding: 20px 22px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card[hidden] { display: none; }
.kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.card h1 { margin: 0 0 8px; font-family: "Archivo Variable", "Inter Variable", sans-serif; font-weight: 750; font-size: clamp(24px, 6vw, 32px); line-height: 1.05; }
.lede { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--dim); }
.go {
  appearance: none; border: 0; border-radius: 999px; padding: 12px 20px; font: 600 15px/1 "Inter Variable", sans-serif;
  background: var(--accent); color: #1a1206; cursor: pointer;
}
.go:focus-visible, .pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.keys { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }
.keys span { color: var(--ink); }
.keys.touch { display: none; }
@media (pointer: coarse) { .keys { display: none; } .keys.touch { display: block; } }
.tools { position: fixed; right: max(16px, env(safe-area-inset-right)); top: max(16px, env(safe-area-inset-top)); display: flex; gap: 8px; }
.pause {
  appearance: none; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: 500 13px/1 "Inter Variable", sans-serif; cursor: pointer;
}
.note {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom));
  margin: 0; font-size: 11px; color: var(--dim); text-shadow: 0 1px 2px #000; pointer-events: none;
}
@media (max-width: 520px) { .note { bottom: auto; top: max(58px, env(safe-area-inset-top)); } }
.loader { position: fixed; inset: 0; display: grid; place-content: center; text-align: center; background: #050403; }
.loader[hidden] { display: none; }
.loader-mark { margin: 0; font-family: "Archivo Variable", sans-serif; font-weight: 750; font-size: 28px; }
.loader-step { margin: 8px 0 0; color: var(--dim); font-size: 14px; }
.fallback { position: fixed; inset: 0; display: grid; place-content: center; padding: 24px; background: #050403; }
.fallback[hidden] { display: none; }
.fallback p { max-width: 460px; line-height: 1.5; color: var(--dim); }
