/* Crew-specific layout. The shared Bridge stylesheet provides the UI system. */
:root { font-synthesis: none; }
#scene:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.topbar { pointer-events: none; }
.identity, .tools, #settings { pointer-events: auto; }
.tools { position: relative; }
.tools .tool-button { font-size: 12px; }
#settings { top: 96px; right: 34px; width: 360px; max-height: calc(100dvh - 124px); text-align: left; }
#settings .control-list { margin: 14px 0; }
.settings-actions { display: flex; flex-direction: column; gap: 8px; }
.settings-actions > .tool-button { justify-content: flex-start; width: 100%; height: auto; min-height: 38px; font-size: 11px; text-align: left; }
.look-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 18px; }
.look-controls .tool-button { padding: 0; font-size: 18px; }
.view-actions { margin-top: 14px; gap: 0; align-items: flex-start; }
.scene-links { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 16px; }
.typewriter-marker { z-index: 3; cursor: pointer; }
.typewriter-marker.is-objective { border-color: var(--accent); box-shadow: 0 0 0 4px #d7bb871a, 0 4px 24px #0006; }
.room-hint { position: fixed; z-index: 7; bottom: 28px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 13px 20px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink); background: var(--panel); font-size: 12px; line-height: 1.6; text-align: center; }
.exhibit-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.exhibit-copy p { font-size: 13px; line-height: 1.8; color: #d2dbd0; }
.vignette-note { font-size: 10px !important; color: var(--muted) !important; margin: 8px 0 0; }
.story-active .topbar, .story-active .typewriter-marker, .story-active .room-hint, .story-active .notice,
.photo-gallery-open .topbar, .photo-gallery-open .typewriter-marker, .photo-gallery-open .room-hint, .photo-gallery-open .notice { visibility: hidden; }
#diagnostics { position: fixed; z-index: 7; top: 104px; left: 16px; padding: 10px; color: #caffc9; background: #000a; font: 11px/1.5 monospace; white-space: pre; pointer-events: none; }
@media (max-width: 1050px) {
  #settings { right: 22px; }
}
@media (max-width: 720px) {
  #settings { top: 80px; right: 12px; width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 96px); }
  .typewriter-marker { padding: 10px 13px; font-size: 10px; }
}
@media (max-width: 520px) {
  #settings { top: 120px; max-height: calc(100dvh - 136px); }
  #diagnostics { top: 126px; }
}
