/* VAAS-X film pages (/watch/). Dark, to match the site; uses the site's own variables with fallbacks. */
.vxf { --f-red: var(--primary-color, #ff2b45); --f-red2: #ff4a5e; --f-bg2: var(--dark-bg-2, #12121a); --f-bg3: var(--dark-bg-3, #1a1a24); --f-line: var(--border-color, #2d2d35);
  --f-text: var(--text-primary, #f5f5f5); --f-dim: var(--text-secondary, #a0a0a0); --f-mono: ui-monospace, "Cascadia Mono", Consolas, monospace; padding-bottom: 3rem; }
.vxf .container { max-width: 1320px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

.vxf-skip { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--f-red, #ff2b45); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; }
.vxf-skip:focus { left: 0; }
.vxf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vxf-top { padding-top: 2rem; padding-bottom: 1.2rem; }
.vxf-crumbs { margin: 0 0 1.1rem; font-size: 0.85rem; color: var(--f-dim); }
.vxf-crumbs a { color: var(--f-dim); text-decoration: underline; text-underline-offset: 3px; }
.vxf-crumbs a:hover { color: var(--f-text); }
.vxf-kicker { margin: 0 0 0.7rem; font: 600 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; color: var(--f-red); }
.vxf-kicker i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--f-red); margin-right: 0.5rem; vertical-align: 1px; box-shadow: 0 0 10px var(--f-red); }
.vxf-top h1 { margin: 0 0 0.8rem; font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; max-width: 22em; }
.vxf-lede { margin: 0; max-width: 46rem; font-size: 1.08rem; color: var(--f-dim); }
.vxf-lede a { color: var(--f-text); }
.vxf-aud { display: block; margin-top: 0.5rem; color: var(--f-text); font-weight: 600; }

/* the film */
.vxf-stage { padding-bottom: 1.5rem; }
.vxf-player { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--f-line); box-shadow: 0 20px 60px rgba(255, 43, 69, 0.12); }
.vxf-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.vxf-player video:focus-visible { outline: 2px solid var(--f-red2); outline-offset: -2px; }
.vxf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 0.7rem; font-size: 0.85rem; color: var(--f-dim); }
.vxf-tools button { font: inherit; color: var(--f-text); background: var(--f-bg2); border: 1px solid var(--f-line); border-radius: 8px; padding: 0.4rem 0.8rem; cursor: pointer; }
.vxf-tools button:hover { border-color: var(--f-red); }
.vxf-tools button[aria-pressed="true"] { border-color: var(--f-red); background: rgba(255, 43, 69, 0.12); }
.vxf-tools .vxf-now { margin-left: auto; color: var(--f-text); font-weight: 600; }

/* the red thread under the film: one segment per chapter */
.vxf-tl-wrap { margin: 0.9rem 0 0.4rem; }
.vxf-tl { display: flex; gap: 4px; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.vxf-tl > li { display: flex; min-width: 6px; }
.vxf-seg { position: relative; flex: 1 1 auto; width: 100%; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.vxf-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 3px; background: #2a2a34; }
.vxf-seg .vxf-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--f-red), var(--f-red2)); box-shadow: 0 0 8px rgba(255, 43, 69, 0.7); }
.vxf-seg:hover::before { background: #3a3a46; }
.vxf-seg:focus-visible { outline: 2px solid var(--f-red2); outline-offset: 1px; border-radius: 4px; }
.vxf-seg[aria-current="true"]::after { content: ""; position: absolute; left: var(--p, 0%); top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--f-red); }

/* chapters and the "on screen now" panel */
.vxf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.2rem; margin-top: 1.1rem; align-items: start; }
.vxf-chapters h2, .vxf-live h2, .vxf-next h2, .vxf-transcript h2 { margin: 0 0 0.7rem; font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--f-red2); }
.vxf-chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.vxf-ch { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.7rem; padding: 0.65rem 0.8rem; border: 1px solid var(--f-line); border-radius: 10px; background: var(--f-bg2); color: var(--f-text); text-decoration: none; }
.vxf-ch:hover { border-color: #55303a; }
.vxf-ch[aria-current="true"] { border-color: var(--f-red); background: rgba(255, 43, 69, 0.08); }
.vxf-ch:focus-visible { outline: 2px solid var(--f-red2); outline-offset: 2px; }
.vxf-time { font: 600 0.8rem/1.5 var(--f-mono); color: var(--f-red2); font-variant-numeric: tabular-nums; }
.vxf-ct { display: block; min-width: 0; }
.vxf-ct b { display: block; font-size: 0.95rem; line-height: 1.35; }
.vxf-ct em { display: block; margin-top: 0.15rem; font-style: normal; font-size: 0.83rem; line-height: 1.45; color: var(--f-dim); }

.vxf-live { position: sticky; top: 5rem; border: 1px solid var(--f-line); border-radius: 12px; background: var(--f-bg2); padding: 1rem 1.15rem 1.1rem; min-height: 11rem; }
#vxf-live h3 { margin: 0 0 0.25rem; font-size: 1.1rem; line-height: 1.3; }
.vxf-sum { margin: 0 0 0.6rem; color: var(--f-dim); font-size: 0.93rem; }
.vxf-lbl { margin: 0.9rem 0 0.1rem; font: 600 0.7rem/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--f-red2); }
.vxf-note { margin: 0 0 0.5rem; font-size: 0.8rem; color: var(--f-dim); }
.vxf-data dl, #vxf-live dl { margin: 0; display: grid; gap: 0.5rem; }
.vxf-data dt, #vxf-live dt { margin: 0.4rem 0 0; font: 600 0.72rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--f-dim); }
.vxf-data dd, #vxf-live dd { margin: 0.1rem 0 0; font-size: 0.93rem; line-height: 1.5; overflow-wrap: anywhere; }
dd.code { font-family: var(--f-mono); font-size: 0.82rem; background: #0a0a0f; border: 1px solid var(--f-line); border-radius: 8px; padding: 0.5rem 0.65rem; white-space: pre-wrap; user-select: all; }
dd.quote { border-left: 3px solid var(--f-red); padding-left: 0.75rem; color: #ececf0; }

.vxf-next { padding-top: 1.2rem; padding-bottom: 1rem; }
.vxf-nx { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.9rem; }
.vxf-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.05rem 1.15rem; border: 1px solid var(--f-line); border-radius: 12px; background: var(--f-bg2); color: var(--f-text); text-decoration: none; }
.vxf-card:hover { border-color: var(--f-red); }
.vxf-card:focus-visible { outline: 2px solid var(--f-red2); outline-offset: 2px; }
.vxf-card b { font-size: 1.02rem; line-height: 1.3; }
.vxf-card em { font-style: normal; font-size: 0.86rem; color: var(--f-dim); }
.vxf-lab { font: 600 0.68rem/1 var(--f-mono); letter-spacing: 0.14em; color: var(--f-red2); }
.vxf-main { border-color: #6b2a36; background: linear-gradient(160deg, rgba(255, 43, 69, 0.12), var(--f-bg2) 70%); }
.vxf-next.vxf-done .vxf-main { box-shadow: 0 0 0 1px var(--f-red), 0 0 24px rgba(255, 43, 69, 0.35); }

/* the transcript */
.vxf-transcript { padding-top: 1.5rem; }
.vxf-tr { padding: 1rem 0; border-top: 1px solid var(--f-line); }
.vxf-tr h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.vxf-tr h3 a { color: var(--f-text); text-decoration: none; }
.vxf-tr h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vxf-tr h4 { margin: 0.8rem 0 0.3rem; font: 600 0.7rem/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--f-red2); }
.vxf-words p { margin: 0 0 0.45rem; max-width: 52rem; font-size: 0.95rem; }
.vxf-data { max-width: 52rem; }
.vxf-transcript > .vxf-sum { max-width: 46rem; }

/* the films index */
.vxf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; padding-bottom: 1.5rem; }
@media (max-width: 1250px) { .vxf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vxf-fc { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.8rem 0.8rem 1.1rem; border: 1px solid var(--f-line); border-radius: 14px; background: var(--f-bg2); }
.vxf-fc:hover { border-color: #55303a; }
.vxf-fc h2 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; line-height: 1.3; }
.vxf-fc h2 a { color: var(--f-text); text-decoration: none; }
.vxf-fc h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vxf-fc p { margin: 0 0 0.4rem; font-size: 0.93rem; color: var(--f-dim); }
.vxf-fc .vxf-kicker { margin-top: 0.8rem; }
.vxf-fc .vxf-meta { font-size: 0.8rem; font-family: var(--f-mono); }
.vxf-fp { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.vxf-fp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vxf-fp:focus-visible { outline: 2px solid var(--f-red2); outline-offset: 2px; }
.vxf-play { position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: rgba(10, 10, 15, 0.7); border: 2px solid var(--f-red); box-shadow: 0 0 18px rgba(255, 43, 69, 0.6); }
.vxf-play::after { content: ""; position: absolute; left: 1.35rem; top: 1rem; border-left: 0.85rem solid #fff; border-top: 0.7rem solid transparent; border-bottom: 0.7rem solid transparent; }
.vxf-fp:hover .vxf-play { background: rgba(255, 43, 69, 0.85); }
.vxf-dur { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.15rem 0.45rem; border-radius: 5px; background: rgba(0, 0, 0, 0.8); font: 600 0.75rem/1.3 var(--f-mono); color: #fff; }

@media (max-width: 900px) {
  .vxf-grid { grid-template-columns: minmax(0, 1fr); }
  .vxf-live { position: static; order: -1; }
  .vxf-cards { grid-template-columns: minmax(0, 1fr); }
  .vxf-nx { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .vxf-top { padding-top: 1.2rem; }
  .vxf-tools .vxf-now { margin-left: 0; flex-basis: 100%; }
  .vxf-ch { grid-template-columns: 2.5rem minmax(0, 1fr); padding: 0.6rem 0.65rem; }
}
@media (prefers-reduced-motion: reduce) { .vxf * { transition: none !important; animation: none !important; } }
@media print { .vxf-player, .vxf-tl-wrap, .vxf-tools, .vxf-chapters, .vxf-live, .vxf-skip { display: none !important; } }

/* the short upright cut, made for phones: under the film on a wide screen, above it on a phone */
main.vxf { display: flex; flex-direction: column; }
main.vxf > .vxf-skip-anchor { display: none; }
.vxf-top { order: 0; } .vxf-stage { order: 1; } .vxf-short { order: 2; } .vxf-next { order: 3; } .vxf-transcript { order: 4; }
.vxf-shortbox { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.2rem; border: 1px solid var(--f-line); border-radius: 14px; background: var(--f-bg2); }
.vxf-shortv { border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--f-line); }
.vxf-shortv video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; }
.vxf-shortv video:focus-visible { outline: 2px solid var(--f-red2); outline-offset: -2px; }
.vxf-shortt h2 { margin: 0 0 0.4rem; font-size: 1.25rem; line-height: 1.3; }
.vxf-shortt p { color: var(--f-dim); margin: 0 0 0.7rem; }
.vxf-shortt .vxf-kicker { color: var(--f-red); margin-bottom: 0.6rem; }
.vxf-shortwords summary { cursor: pointer; color: var(--f-text); font-weight: 600; }
.vxf-shortwords summary:focus-visible { outline: 2px solid var(--f-red2); outline-offset: 2px; }
.vxf-shortwords p { margin: 0.6rem 0 0; font-size: 0.93rem; color: #d6d6dc; }
@media (max-width: 700px) {
  .vxf-stage { order: 2; } .vxf-short { order: 1; padding-bottom: 0.5rem; }
  .vxf-shortbox { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; padding: 0.9rem; }
  .vxf-shortv { width: min(100%, 300px); }
  .vxf-shortt { width: 100%; }
}
@media print { .vxf-short { display: none !important; } }
main.vxf > .container { width: 100%; box-sizing: border-box; }
