html,body { width:100%; height:100%; margin:0; overflow:hidden; background:#050409; color:#eee; font:16px system-ui,sans-serif; }
#unity-container { position:fixed; inset:0; z-index:1; display:grid; place-items:center; overflow:hidden; }
#unity-canvas { display:block; width:100%; height:100%; max-width:100%; max-height:100%; background:#050409; }
#cinema-player-panel { position:fixed; background:transparent; z-index:2; pointer-events:none; }
#cinema-video { display:block; width:100%; height:100%; border:0; background:transparent; object-fit:contain; pointer-events:none; }
#cinema-player-panel.seated { pointer-events:auto; }
#cinema-player-panel.seated #cinema-video { pointer-events:auto; }
#cinema-sound, #cinema-exit { position:fixed; top:12px; z-index:3; background:#242031; color:#fff; border:1px solid #877789; padding:10px 18px; border-radius:4px; cursor:pointer; }
#cinema-sound { left:18px; }
#cinema-exit { right:18px; }
#cinema-status { position:fixed; bottom:8px; left:20px; right:20px; text-align:center; z-index:3; margin:0; font-size:14px; pointer-events:none; }
#server-clock { position:fixed; inset:0 0 auto; z-index:4; box-sizing:border-box; padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left)); padding-top:max(8px,env(safe-area-inset-top)); border-bottom:1px solid #73532b; background:#110b18; color:#f5e6c1; pointer-events:none; display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:center; column-gap:20px; row-gap:4px; }
.clock-caption { color:#caab6c; font:700 10px system-ui,sans-serif; letter-spacing:.12em; }
#server-clock-time { font:700 21px Georgia,serif; font-variant-numeric:tabular-nums; white-space:nowrap; line-height:1.2; }
#server-clock-film { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:right; font:600 12px system-ui,sans-serif; line-height:1.4; }
#server-clock-mode { grid-column:1 / -1; color:#ffb877; font:700 10px system-ui,sans-serif; letter-spacing:.04em; text-align:center; overflow-wrap:anywhere; }
@media (max-width:700px) {
  #server-clock { grid-template-columns:auto minmax(0,1fr); column-gap:12px; padding-left:10px; padding-right:10px; }
  .clock-caption { display:none; }
  #server-clock-time { font-size:18px; }
  #server-clock-film { font-size:11px; }
}
#loading { position:fixed; inset:0; display:grid; place-items:center; background:#090611; z-index:5; }
#experience-gate { position:fixed; inset:0; z-index:10; display:grid; place-items:center; padding:16px; box-sizing:border-box; overflow:auto; background:rgba(5,4,9,.9); }
.experience-card { width:min(520px,calc(100vw - 48px)); box-sizing:border-box; padding:34px 38px; text-align:center; background:#100b19; border:2px solid #c69035; box-shadow:0 18px 70px #000; }
.experience-card h1 { margin:0 0 14px; color:#ffd479; font:700 clamp(30px,6vw,48px) Georgia,serif; letter-spacing:.04em; }
.experience-card p { margin:12px 0; line-height:1.5; color:#eee5d7; }
#experience-start { margin:14px 0 4px; min-width:230px; padding:13px 24px; border:1px solid #ffd479; border-radius:3px; background:#7d1d22; color:#fff4d7; font:700 17px system-ui,sans-serif; cursor:pointer; }
#experience-start:disabled { opacity:.58; cursor:wait; }
#experience-audio-status { min-height:1.5em; color:#c8bda9; font-size:14px; }
@media (max-width:540px), (max-height:480px) {
  .experience-card { width:min(520px,100%); padding:16px 20px; }
  .experience-card h1 { font-size:28px; }
  #experience-start { min-width:0; max-width:100%; }
}
[hidden] { display:none !important; }
