/* LIVE STORIES Episode 06 (LS-014): the simplified episode's own few rules (on top of ../episode/ls-014.css, unchanged). */
.ls14s-facts{margin:4px 0 0;padding:0 0 0 16px;font-size:12.5px;line-height:1.45;color:var(--body)}
.ls14s-facts li{margin:1px 0}
.ls-opt .ls14s-facts{display:block}
.ls14s-adv{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}
.ls14s-adv>summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--gold);min-height:32px;display:flex;align-items:center}
.ls14s-adv h4{margin:14px 0 4px;font-size:13px}
.ls14s-own{margin-top:6px}
.ls14s-ledger{margin-top:10px}
.ls14s-ledger>summary{cursor:pointer;font-size:12.5px;color:var(--muted)}
.ls14s-cmp td:first-child{white-space:normal}
.ls14s-cmp td:not(:first-child),.ls14s-cmp th:not(:first-child){text-align:right}
.ls14s-sentence{margin:10px 0 4px;font-size:14px;color:var(--ink)}
.ls14s-pfacts{margin:2px 0 8px;font-size:12px;line-height:1.4;color:var(--body)}
.ls-prompt .ls14s-pcmp{margin:4px 0 6px;font-size:12px}
.ls-prompt .ls14s-pcmp td,.ls-prompt .ls14s-pcmp th{padding:3px 5px}
@media (max-width:560px){.ls14s-cmp{font-size:.78rem}}
/* phones: the shared stylesheet hides Advanced (the live episodes move it into a menu this page does not have). Here
   Advanced (playback speed) shows on the toolbar and its panel opens inline below it; it closes after a speed is picked. */
@media (max-width:560px),(max-width:980px) and (max-height:500px) and (orientation:landscape){
  .ls-bar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ls-adv{display:block;min-width:0}
  .ls-adv>summary{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;cursor:pointer}
  .ls-adv[open]{grid-column:1/-1}
  .ls-adv-panel{position:static;width:auto;margin-top:6px;box-shadow:none}
  .ls-adv-row .ls-tb{min-width:64px}
}
/* Simple Replay (owner review 2026-11-05): each decision says whether it was newly selected, kept, adapted or not applied */
.ls14s-inh{list-style:none;margin:8px 0 6px;padding:0;display:grid;gap:8px}
.ls14s-inh li{font-size:13px;line-height:1.45;color:var(--body);padding:8px 10px;border:1px solid var(--line);border-radius:10px}
.ls14s-inh b{display:block;font-size:12px;font-weight:600;color:var(--ink);margin-bottom:3px}
.ls14s-tag{display:inline-block;margin:0 6px 2px 0;padding:0 7px;border-radius:999px;font-size:11px;font-weight:600;line-height:18px;border:1px solid var(--line);color:var(--muted);vertical-align:1px}
.ls14s-tag.is-new,.ls14s-tag.is-same{color:var(--gold);border-color:rgba(226,174,94,.6)}
.ls14s-tag.is-inherited{color:var(--cyan);border-color:currentColor}
.ls14s-tag.is-adapted,.ls14s-tag.is-not-applied,.ls14s-tag.is-not-decided{color:#f2b880;border-color:rgba(242,184,128,.6)}
.ls14s-prev{display:block;margin-top:5px;font-size:12px;line-height:1.4;color:var(--muted)}
.ls14s-ways{margin-top:4px}
.ls-prompt .ls14s-pinh{margin:0 0 6px;font-size:12px;line-height:1.4;color:var(--body)}
/* a caption that cannot float clear of the stage prompt is read inside it (main14s.js placeCC) */
.ls-prompt .ls14-prompt-cc{margin:0 0 6px;font-size:13px;line-height:1.4;font-style:italic;color:#e9edf4}
/* landscape phones: the actions stand in a column on the scene's left edge (--ls-hl); captions and docked bubbles start
   to its right instead of running under Sound and Captions (overlay geometry check, 2026-11-05) */
@media (max-width:980px) and (max-height:500px) and (orientation:landscape){
  .ls14-cc{left:calc(var(--ls-hl,0px) + 8px)}
  .ls14-say.is-docked{left:calc(var(--ls-hl,0px) + 8px)!important}
}
/* the stage prompt goes compact while a caption is read above it and would not otherwise fit (placeCC): the comparison
   table and the carry-over line stay in the story column */
.ls-prompt.is-tight .ls14s-pcmp,.ls-prompt.is-tight .ls14s-pinh{display:none}
/* landscape phones (owner review 2026-11-05): the actions stand in a 58 px column of 44 px buttons, so their labels go
   compact there. Sound: the icon (its "Sound on/off" text stays for screen readers); Captions: "CC" (on/off is the gold
   pressed state and aria-pressed); Advanced: "Speed", its panel opening beside the column instead of inside it. Accessible
   names: aria-label on each (index.html). Measured by tests/ls014-poc/toolbar14s.py. */
@media (max-width:980px) and (max-height:500px) and (orientation:landscape){
  #ls-sound .ls-snd-label,#ls14-cc .ls14-cc-v{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
  #ls-sound,#ls14-cc,#ls-adv>summary{position:relative;padding:0;gap:0}
  #ls14-cc{font-size:0}
  #ls14-cc::before{content:"CC";font-size:13px;margin:0}
  #ls-adv>summary{font-size:0}
  #ls-adv>summary::before{content:"Speed";font-size:11px;letter-spacing:0}
  #ls-adv>summary::after{content:none}
  .ls-adv[open]{grid-column:auto}
  .ls-adv-panel{position:absolute;z-index:8;top:0;left:calc(100% + 14px);width:min(250px,calc(100vw - 140px));margin:0;padding:8px 10px 10px;border:1px solid var(--line);border-radius:12px;
    background:rgba(5,9,20,.97);box-shadow:0 18px 40px rgba(0,0,0,.5)}
  .ls-adv-row{display:flex;gap:6px}
  .ls-adv-row .ls-tb{width:auto;min-width:64px;padding:0 8px}
}
