/* The live-3D room trial's page: one full-window canvas and a few quiet pills over it. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #d9d6cf; font: 14px/1.3 system-ui, "Segoe UI", sans-serif; color: #1d1c1a;
  -webkit-user-select: none; user-select: none; touch-action: none; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
#view:active { cursor: grabbing; }
.hidden { display: none !important; }
.pill { position: fixed; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); pointer-events: none; }
#loading { left: 50%; top: 50%; transform: translate(-50%, -50%); }
#title { left: 14px; top: 14px; font-weight: 600; }
#fps { right: 14px; top: 14px; font-variant-numeric: tabular-nums; }
#hint { left: 50%; top: 14px; transform: translateX(-50%); }
#note { left: 50%; top: 58px; transform: translateX(-50%); background: rgba(160, 40, 30, 0.92); color: #fff; max-width: 90vw; border-radius: 12px; }
.bar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 8px; }
.bar button { font: inherit; font-weight: 600; padding: 11px 18px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16); color: inherit; cursor: pointer; }
.bar button.on { background: #1d1c1a; color: #fff; }
#divider { position: fixed; top: 0; bottom: 0; left: 50%; width: 0; pointer-events: none; }
#divider i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  pointer-events: auto; cursor: ew-resize; }
#divider i::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); display: grid; place-items: center; font-size: 13px; letter-spacing: 1px; }
#divider span { position: absolute; top: 60px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(29, 28, 26, 0.78); color: #fff; font-weight: 600; }
#divider span:first-child { right: 14px; }
#divider span:last-child { left: 14px; }
#stick { position: fixed; left: 34px; bottom: 34px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.6); pointer-events: none; }
#stick .knob { position: absolute; left: 35px; top: 35px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
#turn { position: fixed; inset: 0; background: #1d1c1a; color: #fff; display: grid; place-items: center; font-size: 18px; z-index: 10; }
.panel { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.16); flex-wrap: wrap; justify-content: center; max-width: 94vw; }
.panel .row { display: flex; align-items: center; gap: 6px; }
.panel .row span { font-weight: 600; margin-right: 2px; }
.panel .row b { min-width: 26px; text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.panel button { font: inherit; font-weight: 600; min-width: 40px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: #eceae4; color: inherit; cursor: pointer; }
.panel button.on { background: #1d1c1a; color: #fff; }
.panel button.go { background: #1d1c1a; color: #fff; padding: 0 20px; }
.panel p { margin: 0; flex-basis: 100%; text-align: center; font-size: 12.5px; color: #5b5953; }
#veil { position: fixed; inset: 0; background: rgba(29, 28, 26, 0.55); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 5; }
#veil span { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-weight: 600; }
