.look-around > p { color: var(--muted); max-width: 620px; }
.look-box { position: relative; width: 100%; aspect-ratio: 2/1; margin-top: 24px; }
#look-stage { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; background: var(--bg); }
#look-stage:active { cursor: grabbing; }
#look-stage.fixed { position: fixed; z-index: 1000; }
#look-stage.fixed.touch { touch-action: none; }
#look-gl { position: absolute; left: 0; top: 0; display: block; visibility: hidden; }
#look-stage.look-wait { background: #000; }
#look-stage.look-wait #look-poster { visibility: hidden; }
#look-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
#look-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#look-frame path { fill: none; stroke: var(--visr-gold); stroke-width: 1.5; }
.look-compass { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
#look-heading { padding: 2px 10px; background: color-mix(in srgb, var(--hud-panel) 40%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--hud-cyan); font: 13px/1.4 var(--hud-mono); letter-spacing: .1em; }
#look-ticks { width: 220px; height: 10px; background-image: repeating-linear-gradient(90deg,var(--hud-cyan) 0 1px,transparent 1px 20px); opacity: .7; }
/* Sits just above the visor's nose bridge; whole-pixel offsets keep the 1px border from blurring away. */
#look-hint { position: absolute; left: 50%; top: round(66%, 1px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: color-mix(in srgb, var(--hud-panel) 40%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); font: 12px/1.4 var(--hud-mono); letter-spacing: .12em; pointer-events: none; white-space: nowrap; }
.look-around button { min-width: 44px; min-height: 44px; background: color-mix(in srgb, var(--hud-panel) 40%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
#look-close { display: none; position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; font-size: 24px; }
#look-stage.fixed #look-close { display: flex; }
#look-motion { display: none; position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 0 18px; white-space: nowrap; font: 12px/1.4 var(--hud-mono); letter-spacing: .1em; }
#look-stage.touch #look-motion { display: flex; }
#look-stage.touch:not(.fixed) #look-motion { bottom: 26%; }
#look-motion[aria-pressed=true] { background: color-mix(in srgb, var(--hud-cyan) 70%, transparent); color: var(--bg); }
@media (max-width: 640px) {
  .look-box { aspect-ratio: 16/10; }
  #look-hint { top: 36%; transform: translate(-50%,-50%); padding: 8px 10px; font-size: 10px; letter-spacing: .04em; }
  #look-motion { font-size: 10px; padding-inline: 12px; letter-spacing: .04em; }
}

.look-static .look-compass, .look-static #look-hint, .look-static #look-motion { display: none; }
#look-chief { position: absolute; left: 50%; top: 50%; width: 127.55%; max-width: none; height: auto; margin-left: -63.78%; margin-top: -63.29%; border-radius: 0; opacity: .28; pointer-events: none; }
html { overflow-x: clip; }
#behind-the-visor-like-never-before { font: 600 clamp(19px, 2.5vw, 26px)/1.3 Orbitron, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--hud-blue); }
.look-around > :not(.look-box) { position: relative; z-index: 1; }
.look-around { padding-top: max(0px, calc(38.3% - 370px)); }
.look-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; line-height: 1.35; color: var(--muted); }
.look-points li { display: flex; align-items: center; gap: 12px; margin: 0; }
.look-points svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--visr-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Glass on the visor, gone once the view is immersive. */
#look-glare { --glare: 40%; position: absolute; inset: 0; pointer-events: none; transition: opacity .8s ease-out; will-change: opacity; background:
  linear-gradient(112deg, transparent calc(var(--glare) - 20%), #ffffff0c calc(var(--glare) - 9%), #ffffff24 var(--glare), #ffffff09 calc(var(--glare) + 5%), transparent calc(var(--glare) + 16%)),
  radial-gradient(ellipse 75% 45% at 50% -8%, #cfeaff1f, transparent 100%); }
#look-stage.fixed #look-glare { opacity: 0; transition-duration: .25s; }
/* With WebGL the visor's shape and glass are drawn into the canvas itself (look.js drawGlass). */
#look-stage.gl-glass { clip-path: none !important; background: transparent; }
#look-stage.gl-glass #look-glare, #look-stage.gl-glass #look-poster { display: none; }
#look-glare-rim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#look-glare-edge { fill: none; stroke: #00040acc; }
