.L-open .h-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgb(205 229 253 / 10%) 1px, transparent 1px),
    linear-gradient(rgb(205 229 253 / 10%) 1px, transparent 1px);
  background-size: clamp(32px, 4vw, 65px) clamp(32px, 4vw, 65px);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent 92%);
}

.h-slot { color: transparent; }
.hud-file { white-space: nowrap; }
@media (max-width: 640px) {
  .hud-file { font-size: clamp(9px, 2.5vw, 12px); }
  .hud__l { min-width: 0; }
}

.L-open .h-floor {
  background-color: #b5babc;
  background-blend-mode: luminosity;
}

.c4-wall {
  background-image: url("./assets/trace-voice-wall.webp"), url("./assets/sk4-room-wall-Nbn46MJ0.webp");
  background-repeat: repeat-x, repeat;
}

/* Keep the voice and its end marker between the rails in the narrow shot. */
@media (max-width: 600px) {
  .c4-wall {
    background-position: calc(var(--bx, 0px) - 20vw) 100%, var(--bx, 0px) 100%;
  }
}

/* The lens center is also the origin of the existing return-home iris. */
.hud-mug {
  background-image: url("./assets/lab-sensor.svg");
}
.hud-mug:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.hud-mug__eye {
  inset: 39.2% auto auto 20.65%;
  width: 25.82%;
  height: 25.82%;
  background: radial-gradient(circle at 42% 40%, #254952, #10272e 76%);
  border-radius: 50%;
  overflow: hidden;
}
.hud-mug__eye::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid #719b97;
  border-radius: 50%;
  transform: scaleY(var(--lens-aperture, 1));
}
.hud-mug__eye::after {
  content: "";
  position: absolute;
  left: clamp(24%, var(--mug-x, 50%), 76%);
  top: clamp(24%, var(--mug-y, 50%), 76%);
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: #d6fff1;
  transform: translate(-50%, -50%) scaleY(var(--lens-aperture, 1));
}

@media (max-width: 350px) {
  .hud { left: 10px; right: 10px; }
  .hud__l { gap: 2px; }
  .hud-mug { width: 46px; height: 46px; margin-right: 0; }
  .hud .pill { padding-inline: 10px; }
}

/* The table hosts both the overview and the original chapter handoffs. */
.tb-cam:not([data-chapter-stations="1"]) :is(
  .match-chapter-art, .obj-teeth, .obj-mug, .p-steam,
  .obj-notepad, .obj-sketch, .p-ball, .gp-mono
),
.tb-cam[data-chapter-stations="1"] .match-log-art {
  display: none;
}
