/* Editorial film-library composition. See design/GAPS.md, film player entry.
   Shared controls and tokens stay intact; the native video controls are unstyled. */
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--gb-100); }
a:not(.btn) { color: var(--gb-200); }
a:not(.btn):hover { color: var(--yellow-bd); }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: none; box-shadow: var(--focus-ring); }
[hidden] { display: none !important; }
.shell { max-width: 1280px; padding: 0 40px; margin: auto; }
header { border-bottom: 1px solid var(--sidebar-border); }
header .shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 24px; font-weight: 750; letter-spacing: .12em; }
.brand b { color: var(--yellow-bd); }
nav { display: flex; gap: 24px; font-size: 13px; }
.hero { overflow: hidden; border-bottom: 1px solid var(--sidebar-border); }
.hero .shell { min-height: 570px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; }
.eyebrow, .section-kicker { color: var(--yellow-bd); letter-spacing: .15em; font-size: 11px; font-weight: 650; text-transform: uppercase; }
.eyebrow { margin-bottom: 24px; }
h1 { color: var(--gb-25); font-size: clamp(40px,4.5vw,60px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; }
h1 em { color: var(--yellow-bd); font-style: normal; }
.intro { margin-top: 24px; max-width: 540px; color: var(--gb-300); font-size: 16px; line-height: 1.75; font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.plain-link { font-size: 13px; }
.portrait { position: relative; align-self: stretch; display: flex; align-items: end; }
.portrait img { width: 100%; height: 570px; object-fit: contain; object-position: bottom; mix-blend-mode: lighten; }
.guide-label { position: absolute; left: 16px; bottom: 40px; background: var(--sidebar-bg); border: 1px solid var(--gb-800); border-radius: var(--r-md); padding: 12px 24px; }
.guide-label small { display: block; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; color: var(--gb-300); }
.guide-label strong { display: block; font-size: 20px; font-weight: 500; color: var(--yellow-bd); }
.meta { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 0 16px; color: var(--gb-400); font-size: 12px; }
.meta b { color: var(--gb-100); margin-right: 5px; }
.playback-note { font-size: 12px; color: var(--gb-300); }
.evidence-guide { padding: 32px 0 40px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--gb-900); border-radius: var(--r-lg); margin-top: 16px; overflow: hidden; }
.evidence-item { padding: 24px; background: var(--sidebar-bg); }
.evidence-item + .evidence-item { border-left: 1px solid var(--gb-900); }
.evidence-item strong { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.evidence-item p { color: var(--gb-300); margin-top: 10px; font-size: 12px; line-height: 1.7; font-weight: 400; }
.dot, .evidence i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-300); flex-shrink: 0; }
.dot.actual, .evidence.actual i { background: var(--teal-bd); }
.dot.context, .evidence.context i { background: var(--blue-bd); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { color: var(--gb-25); font-size: 32px; font-weight: 550; letter-spacing: -.03em; }
.section-heading p { color: var(--gb-400); font-size: 13px; }
.films { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; padding-bottom: 56px; }
.film-card { background: var(--sidebar-bg); border: 1px solid var(--gb-900); border-radius: var(--r-lg); overflow: hidden; padding: 24px 24px 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.scenario-id { color: var(--yellow-bd); font-size: 12px; letter-spacing: .1em; font-weight: 650; }
.evidence { display: inline-flex; align-items: center; gap: 8px; color: var(--gb-300); font-size: 10px; }
.film-card h2 { color: var(--gb-50); font-size: 23px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.025em; }
.description { min-height: 48px; margin-bottom: 24px; font-size: 13px; line-height: 1.7; color: var(--gb-300); font-weight: 400; }
.player { background: var(--ink); border: 1px solid var(--gb-900); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; }
.player video { display: block; width: 100%; height: 100%; background: var(--ink); object-fit: contain; }
.player-status { color: var(--yellow-bd); padding-top: 12px; font-size: 12px; }
.film-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.runtime { font-size: 10px; color: var(--gb-400); }
.film-tools > div { display: flex; gap: 16px; }
.film-tools a { white-space: nowrap; font-size: 11px; }
details { border-top: 1px solid var(--gb-900); margin: 0 -24px; padding: 0 24px; }
summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; padding: 20px 0; font-size: 12px; color: var(--gb-300); }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--yellow-bd); font-size: 20px; line-height: 1; }
details[open] summary span { transform: rotate(45deg); }
.bounds { padding-bottom: 24px; font-size: 12px; font-weight: 400; line-height: 1.7; color: var(--gb-300); }
.bounds ul { margin: 0; padding-left: 16px; }
.bounds li + li { margin-top: 12px; }
.reading-note { background: var(--sidebar-bg); border: 1px solid var(--gb-800); border-radius: var(--r-lg); padding: 24px 32px; display: grid; grid-template-columns: 190px 1fr; gap: 24px; margin-bottom: 56px; }
.reading-note strong { color: var(--yellow-bd); font-size: 15px; }
.reading-note p { color: var(--gb-300); font-size: 13px; line-height: 1.75; font-weight: 400; }
footer { border-top: 1px solid var(--sidebar-border); padding: 24px 0 32px; color: var(--gb-400); font-size: 11px; }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer strong { color: var(--gb-300); font-size: 13px; letter-spacing: .1em; }
.playing { border-color: var(--primary-300); }
@media(max-width:1000px) {
  .shell { padding: 0 24px; }
  .hero .shell { min-height: 500px; }
  .portrait img { height: 500px; }
  .film-tools { align-items: start; flex-direction: column; gap: 8px; padding: 16px 0; }
  .description { min-height: 64px; }
}
@media(max-width:640px) {
  .shell { padding: 0 20px; }
  header .shell { flex-wrap: wrap; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  header .badge { display: none; }
  nav { gap: 16px; font-size: 11px; }
  .hero .shell { display: block; padding-top: 40px; }
  .hero-actions { gap: 16px; }
  .portrait { width: 85%; height: 340px; margin: 24px auto 0; }
  .portrait img { height: 340px; }
  .guide-label { bottom: 24px; left: 0; }
  .meta { gap: 12px; font-size: 10px; }
  .evidence-grid, .section-heading { display: block; }
  .evidence-item + .evidence-item { border-left: none; border-top: 1px solid var(--gb-900); }
  .section-heading p { margin-top: 12px; }
  .films { grid-template-columns: 1fr; }
  .film-card h2 { font-size: 21px; }
  .description { min-height: 0; }
  .film-tools > div { gap: 24px; }
  .reading-note { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  footer .shell { flex-direction: column; align-items: start; gap: 12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
