/* Live Blog page. Extracted from pages/live-blog.html. */
/* ============ LIVE BLOG PAGE ============ */
.lb-hero{margin:26px 0 30px;max-width:760px}
.lb-kicker{display:inline-flex;align-items:center;gap:7px;font-size:0.74rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red-ink);margin-bottom:8px}
.lb-kicker .dot{width:8px;height:8px;border-radius:50%;background:var(--red);animation:lbPulse 1.6s ease-in-out infinite}
.lb-kicker.is-idle .dot{background:var(--ink-faint);animation:none}
@keyframes lbPulse{0%,100%{opacity:1}50%{opacity:.35}}
.lb-hero h1{margin:0 0 12px}
.lb-hero p{color:var(--ink-soft);line-height:1.62;font-size:0.98rem;margin:0}
.lb-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--navy);color:#fff;border-radius:var(--r-md);padding:16px 20px;margin:24px 0 0}
.lb-banner[hidden]{display:none}
.lb-banner p{margin:0;font-size:0.92rem;line-height:1.5}
.lb-banner a{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:700;font-size:0.86rem;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,0.4)}
.lb-banner a:hover{color:var(--red-soft-ink);border-color:var(--red-soft)}
.lb-embeds{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:40px}
.lb-embeds.is-single{grid-template-columns:1fr;max-width:720px}
.lb-embed{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}
.lb-embed-frame{position:relative;aspect-ratio:16/9;background:#000}
.lb-embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lb-embed-body{padding:14px 16px}
.lb-embed-body h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:0.94rem;margin:0 0 4px;color:var(--ink)}
.lb-embed-body p{margin:0;color:var(--ink-soft);font-size:0.82rem;line-height:1.5}
@media (max-width:820px){.lb-embeds{grid-template-columns:1fr}}
@media (max-width:980px){.lb-embeds.is-single{max-width:none}}   /* tablet: one stream fills the column instead of stopping 60px short of the edge */
.lb-entries{list-style:none;margin:0 0 48px;padding:0;border-left:2px solid var(--border-2)}
.lb-entry{position:relative;padding:2px 0 28px 26px}
.lb-entry::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--red);border:2px solid var(--surface)}
.lb-entry:first-child::before{background:var(--red-soft)}
.lb-entry time{display:block;font-size:0.7rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:6px}
.lb-entry h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:1.08rem;line-height:1.3;margin:0 0 8px;color:var(--ink)}
.lb-entry .lb-entry-body{color:var(--ink-soft);line-height:1.62;font-size:0.94rem}
.lb-entry .lb-entry-body p{margin:0 0 10px}
.lb-entry .lb-entry-body p:last-child{margin-bottom:0}
.lb-idle{color:var(--ink-soft);font-size:0.92rem;padding:8px 0 40px;line-height:1.6}
.mr-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 48px;flex-wrap:wrap}
@media (max-width:520px){.mr-actions{flex-direction:column;align-items:stretch}.mr-actions .archive-link{justify-content:center;width:100%}}
.archive-link{display:inline-flex;align-items:center;gap:7px;margin:0;padding:10px 18px;border-radius:var(--r-sm);font-weight:700;font-size:0.8rem;color:var(--navy-ink);background:var(--surface);border:1px solid var(--border-2)}
.archive-link:hover{background:var(--active-bg);color:var(--active-fg);border-color:var(--active-bg)}
/* placeholder art */
.archive-link{display:inline-flex;align-items:center;gap:7px;padding:10px 18px;border-radius:var(--r-sm);font-weight:700;font-size:0.8rem;color:var(--navy-ink);background:var(--surface);border:1px solid var(--border-2)}
.archive-link:hover{background:var(--active-bg);color:var(--active-fg);border-color:var(--active-bg)}

/* next-update line, pinned key update, update photos */
.lb-next{margin:12px 0 0!important;font-size:0.86rem;color:var(--ink-soft)}
.lb-next[hidden]{display:none}
.lb-next .lb-next-k{font-weight:700;letter-spacing:0.06em;text-transform:uppercase;font-size:0.72rem;color:var(--red-ink);margin-right:6px}
.lb-next time{font-weight:700;color:var(--ink)}
.lb-pinned{background:var(--surface);border:1px solid var(--border-2);border-left:4px solid var(--red);border-radius:var(--r-md);padding:16px 20px 6px;margin:0 0 28px}
.lb-pinned-k{display:inline-block;font-size:0.68rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red-ink);margin-bottom:6px}
.lb-pinned .lb-pinned-list{list-style:none;margin:0;padding:0}
.lb-pinned .lb-entry{padding:2px 0 14px 0}
.lb-pinned .lb-entry::before{display:none}
.lb-fig{margin:14px 0 0;max-width:640px}
.lb-fig .lb-img{display:block;width:100%;height:auto;border-radius:var(--r-sm);border:1px solid var(--border)}
.lb-fig figcaption{margin-top:6px;font-size:0.78rem;color:var(--ink-faint);line-height:1.45}

/* ---- Viewer controls (two streams): watching bar, per-stream tools, theater / solo layouts ---- */
.lb-stage{margin:0}
.lb-watch{min-width:0}
.lb-viewbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.lb-viewbar[hidden],.lb-tools[hidden]{display:none}
.lb-viewbar-k{font-size:0.72rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--ink-faint);margin-right:4px}
.lb-viewbar button,.lb-tool{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;font:inherit;font-size:0.8rem;font-weight:600;line-height:1;padding:7px 12px;border-radius:999px;border:1px solid var(--border-2);background:var(--surface);color:var(--ink);cursor:pointer}
@media (hover:hover){.lb-viewbar button:not([aria-pressed="true"]):hover,.lb-tool:not([aria-pressed="true"]):not(:disabled):hover{border-color:var(--navy-ink);color:var(--navy-ink)}}
.lb-viewbar button[aria-pressed="true"],.lb-tool[aria-pressed="true"]{background:var(--active-bg);border-color:var(--active-bg);color:var(--active-fg)}
.lb-tool:disabled{opacity:.45;cursor:default}
.lb-viewbar button:focus-visible,.lb-tool:focus-visible{outline:2px solid var(--info);outline-offset:2px}
.lb-embed-body{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.lb-embed-text{min-width:0}
.lb-tools{display:flex;gap:6px;flex:none}
.lb-tool{padding:6px 10px;font-size:0.74rem}

/* one stream minimized: the other gets the full width; the minimized one is a slim bar */
.lb-stage[data-view="solo"] .lb-embeds,.lb-stage[data-view="theater"] .lb-embeds{grid-template-columns:1fr}
.lb-embed.is-min{order:2}
.lb-embed.is-min .lb-embed-frame{display:none}
.lb-embed.is-min .lb-embed-body{align-items:center;padding:10px 16px}
.lb-embed.is-min .lb-embed-body p{display:none}
.lb-embed.is-min .lb-embed-body h3{margin:0}

/* theater: a dark stage, the chosen stream full width, the other a small card beneath */
.lb-stage[data-view="theater"] .lb-watch{background:var(--navy-deep);border-radius:14px;padding:16px;margin-bottom:40px}
.lb-stage[data-view="theater"] .lb-embeds{gap:16px;margin-bottom:0}
.lb-stage[data-view="theater"] .lb-embed{background:var(--navy-700);border-color:rgba(255,255,255,.14)}
.lb-stage[data-view="theater"] .lb-embed-body h3{color:#fff}
.lb-stage[data-view="theater"] .lb-embed-body p{color:#b8c4d6}
.lb-stage[data-view="theater"] .lb-embed.is-focus{order:0}
.lb-stage[data-view="theater"] .lb-embed:not(.is-focus){order:1;max-width:380px}
.lb-stage[data-view="theater"] .lb-embed.is-min{max-width:none}
.lb-stage[data-view="theater"] .lb-viewbar-k{color:#8fa1ba}
.lb-stage[data-view="theater"] .lb-viewbar button,.lb-stage[data-view="theater"] .lb-tool{background:transparent;border-color:rgba(255,255,255,.28);color:#e6ecf5}
@media (hover:hover){.lb-stage[data-view="theater"] .lb-viewbar button:not([aria-pressed="true"]):hover,.lb-stage[data-view="theater"] .lb-tool:not([aria-pressed="true"]):not(:disabled):hover{border-color:#fff;color:#fff}}
.lb-stage[data-view="theater"] .lb-viewbar button[aria-pressed="true"],.lb-stage[data-view="theater"] .lb-tool[aria-pressed="true"]{background:#fff;border-color:#fff;color:var(--navy)}

/* theater on a wide screen: the live updates stay in view, in a column beside the player */
@media (min-width:1000px){
  .lb-stage[data-view="theater"].has-updates{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
  .lb-stage[data-view="theater"].has-updates .lb-watch{margin-bottom:0}
  .lb-stage[data-view="theater"] #lb-live-section{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;padding-right:6px}
  .lb-stage[data-view="theater"] #lb-live-section .section-head{margin-top:0}
  .lb-stage[data-view="theater"] #lb-live-section .lb-entries{margin-bottom:8px}
}
@media (max-width:520px){.lb-embed-body{flex-direction:column;gap:10px}.lb-tools{align-self:flex-start}}
.lb-embed.is-min .lb-embed-body{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.lb-embed.is-min .lb-embed-text{text-align:left}

/* Wide page (settings gear > Page width; html[data-wide], screens >= 1600px): the stream stays on screen in a left column while the
   running updates scroll beside it, instead of a 720px player over a 1,700px strip of one-line updates. */
@media (min-width:1600px){
  html[data-wide] .lb-stage.has-updates{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 48px;align-items:start}
  html[data-wide] .lb-stage.has-updates > .lb-watch{position:sticky;top:24px}
  html[data-wide] .lb-embeds.is-single{max-width:none}
}
