/* LIVE TV · Episode 02 (LS-004) on top of the LS-003 player stylesheet. */
.ls3-bubble[data-who="stanley"] .ls3-bubble__who { color: #138f8a; }
.ls3-bubble[data-who="bleep"] .ls3-bubble__who { color: #d0338f; }
.ls3-bubble[data-who="walter"] .ls3-bubble__who { color: #2a4ba8; }
/* lights (anim/ext/ls004/set4.js): alarm tint, darkness, the pink light of the takeover screen, and what still glows */
.ls4-red { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; background: radial-gradient(120% 90% at 50% 20%, #ff6a50, #c0202a 70%); mix-blend-mode: multiply; }
.ls4-dark { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; background: #06041a; }
.ls4-pink { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; background: radial-gradient(70% 90% at 78% 30%, rgba(255, 122, 200, 0.55), rgba(255, 122, 200, 0) 70%); mix-blend-mode: screen; }
.ls4-glow { z-index: 2; pointer-events: none; display: none; }   /* set4.js toggles display (never visibility: its parts set their own) */
/* the decision: three options in a row, the inspections as chips under them */
.ls4 .ls3-decide { width: min(980px, calc(100vw - 24px)); }
.ls4 .ls3-decide[hidden] { display: none; }
.ls4 .ls3-decide__opts { flex-wrap: nowrap; gap: 12px; }
.ls4 .ls3-opt { flex: 1 1 0; max-width: none; min-height: 56px; }
.ls4 .ls3-opt--finish { background: #ffd8d0; }
.ls3-decide__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 12px; }
.ls3-decide__chiplab { font-size: 13px; font-weight: 700; color: #c9c2e8; }
.ls3-chip { font: 800 13px/1 Inter, system-ui, sans-serif; color: var(--aqua); background: rgba(82, 240, 255, 0.08); border: 2px solid var(--aqua); border-radius: 999px; padding: 9px 14px; min-height: 40px; cursor: pointer; }
.ls3-chip:hover, .ls3-chip:focus-visible { background: rgba(82, 240, 255, 0.2); outline: 3px solid var(--amber); outline-offset: 2px; }
.ls3-chip.is-seen { color: var(--go); border-color: var(--go); }
.ls3-chip.is-seen::before { content: '✓ '; }
/* captions (CC) */
.ls4-cc { position: absolute; z-index: 7; left: 50%; transform: translateX(-50%); bottom: calc(clamp(12px, 2.4vh, 28px) + 58px + env(safe-area-inset-bottom)); max-width: min(760px, calc(100vw - 32px));
  margin: 0; padding: 8px 14px; border-radius: 10px; background: rgba(8, 6, 20, 0.86); color: #fff; font-size: clamp(14px, 1.6vw, 18px); font-weight: 600; line-height: 1.35; text-align: center; pointer-events: none; }
.ls4-cc[hidden] { display: none; }
.ls3-player.is-deciding .ls4-cc { display: none; }
.ls3-player.is-cinema:not(.is-peek) .ls4-cc { bottom: calc(14px + env(safe-area-inset-bottom)); }
.ls4-ccbtn { min-width: 52px; }
.ls3-player.ls4 .ls3-note { max-width: 36vw; }
@media (max-width: 760px) { .ls4 .ls3-decide__opts { flex-direction: column; flex-wrap: nowrap; } .ls4 .ls3-opt { flex: 0 0 auto; min-height: 48px; } }
@media (max-width: 560px) {
  .ls4 .ls3-decide { padding: 10px 12px; }
  .ls4 .ls3-opt { padding: 9px 12px; }
  .ls3-decide__chips { gap: 6px; margin-top: 8px; } .ls3-decide__chiplab { width: 100%; text-align: center; font-size: 12px; } .ls3-chip { padding: 8px 10px; font-size: 12.5px; min-height: 44px; }
  .ls4 .ls3-ctl { gap: 6px; }
  .ls4-cc { font-size: 14px; }
}
@media (max-width: 560px) and (max-height: 740px) { .ls4 .ls3-opt span { display: none; } .ls4 .ls3-decide__kick { display: block; } }
/* landscape phones: the panel docks to the right as a column (player `dock`: the camera frames the picture left of it) */
@media (max-height: 500px) and (orientation: landscape) {
  .ls4 .ls3-decide { left: auto; right: max(10px, env(safe-area-inset-right)); top: 10px; bottom: 10px; transform: none; width: min(42vw, 360px); overflow-y: auto; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; }
  .ls4 .ls3-decide h2 { font-size: 14px; margin: 2px 0 6px; } .ls4 .ls3-decide__kick { font-size: 11px; }
  .ls4 .ls3-decide__opts { flex-direction: column; gap: 6px; } .ls4 .ls3-opt { min-height: 44px; padding: 7px 10px; } .ls4 .ls3-opt strong { font-size: 14px; } .ls4 .ls3-opt span { font-size: 11.5px; }
  .ls3-decide__chips { margin-top: 6px; gap: 5px; } .ls3-decide__chiplab { display: none; } .ls3-chip { min-height: 40px; padding: 6px 9px; font-size: 11.5px; }
  .ls3-player.ls4.is-deciding .ls3-ctl { right: calc(min(42vw, 360px) + 20px); }
  .ls3-player.ls4.is-deciding .ls3-info { max-width: calc(58vw - 30px); }
  .ls3-player.ls4.is-deciding .ls3-cine { visibility: hidden; }
  .ls4-cc { font-size: 13px; padding: 6px 10px; max-width: 70vw; }
}
@media (max-height: 420px) and (orientation: landscape) { .ls4 .ls3-opt span { display: none; } }

/* an open Inspect card during the decision on a portrait phone: the panel keeps only the options (main.js clamps the
   card above them), so the card never covers a choice; Close (or Esc) brings the chips back */
@media (max-width: 560px) and (orientation: portrait) {
  .ls3-player.ls4.is-deciding.is-inspecting .ls3-decide__chips,
  .ls3-player.ls4.is-deciding.is-inspecting .ls3-decide__kick,
  .ls3-player.ls4.is-deciding.is-inspecting .ls3-decide h2,
  .ls3-player.ls4.is-deciding.is-inspecting .ls3-opt span { display: none; }
  .ls3-player.ls4.is-inspecting .ls3-info p { font-size: 14px; line-height: 1.35; }
}
/* very short portrait phones (360x640): the frozen frame above the panel is too small for the scene hotspots, which
   would overlap; the chips in the panel open the same three inspections */
@media (max-width: 560px) and (max-height: 700px) and (orientation: portrait) { .ls3-player.ls4.is-deciding .ls3-hot { display: none; } }

/* owner review 2: the prompt takes focus when a decision opens (no option looks preselected) */
.ls4 .ls3-decide h2:focus { outline: none; }
/* end menu: back to any decision on the path */
.ls3-endmenu__steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 4px; }
.ls3-endmenu__step { min-height: 44px; font-size: 14px; }
@media (max-width: 560px) { .ls3-endmenu__step { font-size: 12.5px; padding: 8px 12px; } }
@media (max-height: 500px) and (orientation: landscape) { .ls3-endmenu__steps { gap: 6px; margin: 4px 0 2px; } .ls3-endmenu__step { min-height: 40px; font-size: 12px; padding: 6px 10px; } }
