  :root {
    --ink: #0a0805;
    --noir: #141009;
    --paper: #f1e6d0;
    --paper-dim: #d9cdb4;
    --cream: #ebdfc6;
    --blood: #b8231c;
    --gold: #c69a4b;
    --rust: #8a4a2a;
    --shadow: rgba(0,0,0,0.85);
    --grain-opacity: 0.08;
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Film grain overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.9  0 0 0 0 0.8  0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
    opacity: var(--grain-opacity);
    mix-blend-mode: overlay;
    animation: grain 0.4s steps(3) infinite;
  }
  
  @keyframes grain {
    0%,100% { transform: translate(0,0); }
    33% { transform: translate(-2%, 1%); }
    66% { transform: translate(1%, -2%); }
  }
  
  /* Letterbox bars */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    background:
      linear-gradient(var(--ink), var(--ink)) top / 100% 32px no-repeat,
      linear-gradient(var(--ink), var(--ink)) bottom / 100% 32px no-repeat;
  }
  
  /* Slide container */
  .deck {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    padding: 80px 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    overflow-y: auto;
  }
  
  .slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
  }
  
  .slide.active .reveal {
    animation: reveal 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .slide.active .reveal:nth-child(1) { animation-delay: 0.1s; }
  .slide.active .reveal:nth-child(2) { animation-delay: 0.25s; }
  .slide.active .reveal:nth-child(3) { animation-delay: 0.4s; }
  .slide.active .reveal:nth-child(4) { animation-delay: 0.55s; }
  .slide.active .reveal:nth-child(5) { animation-delay: 0.7s; }
  .slide.active .reveal:nth-child(6) { animation-delay: 0.85s; }
  .slide.active .reveal:nth-child(7) { animation-delay: 1.0s; }
  
  @keyframes reveal {
    from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  
  /* Typography */
  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    max-width: 200px;
  }
  
  h1.title {
    font-family: 'Bodoni Moda', serif;
    font-weight: 800;
    font-size: clamp(48px, 8vw, 128px);
    line-height: 0.95;
    color: var(--paper);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  
  h1.title .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
  }
  
  h2.chapter-num {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: clamp(120px, 18vw, 280px);
    font-weight: 400;
    color: var(--blood);
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    opacity: 0.95;
  }
  
  h2.heading {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.05;
    color: var(--paper);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
  }
  
  h2.heading .accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
  }
  
  h3 {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
  }
  
  p.lede {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.65;
    color: var(--paper-dim);
    max-width: 720px;
    font-weight: 300;
  }
  
  p.body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--paper-dim);
    font-weight: 300;
  }
  
  .meta-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--paper-dim);
    opacity: 0.55;
    text-transform: uppercase;
  }
  
  /* Cover slide */
  .cover {
    background: 
      radial-gradient(ellipse at 30% 40%, rgba(198,154,75,0.08), transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(184,35,28,0.06), transparent 60%),
      var(--ink);
  }
  
  .cover .frame-corners {
    position: absolute;
    inset: 80px 8vw;
    pointer-events: none;
  }
  .cover .frame-corners::before,
  .cover .frame-corners::after {
    content: '';
    position: absolute;
    width: 40px; height: 40px;
    border: 1px solid var(--gold);
  }
  .cover .frame-corners::before {
    top: 0; left: 0;
    border-right: none; border-bottom: none;
  }
  .cover .frame-corners::after {
    bottom: 0; right: 0;
    border-left: none; border-top: none;
  }
  
  .cover-content {
    max-width: 900px;
  }
  
  .cover h1 {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-weight: 800;
    font-size: clamp(56px, 9vw, 140px);
    line-height: 0.92;
    margin-bottom: 0;
  }
  .cover h1 .line1 { display: block; color: var(--paper); }
  .cover h1 .line2 { 
    display: block; 
    font-style: italic; 
    font-weight: 400; 
    color: var(--gold);
    font-size: 0.5em;
    letter-spacing: 0.04em;
    margin-top: 12px;
  }
  
  .cover .subtitle {
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--paper-dim);
    max-width: 580px;
    font-weight: 300;
  }
  
  .cover .roll {
    position: absolute;
    bottom: 90px;
    right: 8vw;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    opacity: 0.6;
    text-align: right;
    line-height: 1.8;
  }
  
  /* TOC slide */
  .toc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 80px;
    margin-top: 40px;
  }
  
  .toc-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(241,230,208,0.12);
  }
  
  .toc-num {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 42px;
    color: var(--blood);
    line-height: 1;
  }
  
  .toc-text h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .toc-text .toc-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
  }
  
  /* Chapter divider */
  .chapter-slide {
    background: var(--noir);
    align-items: flex-start;
    justify-content: center;
  }
  
  .chapter-slide::before {
    content: '';
    position: absolute;
    left: 8vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    opacity: 0.4;
  }
  
  .chapter-slide .content-wrap {
    padding-left: 60px;
    max-width: 1000px;
  }
  
  .chapter-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 32px;
  }
  
  .chapter-slide h2.chapter-title {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    line-height: 1;
    color: var(--paper);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  
  .chapter-slide h2.chapter-title .italic {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
  }
  
  .chapter-slide .chapter-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--paper-dim);
    max-width: 640px;
    margin-top: 24px;
  }

  .chapter-slide .chapter-tldr {
    margin-top: 22px;
    max-width: 640px;
    padding: 14px 0 14px 18px;
    border-left: 2px solid var(--gold);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(245, 233, 210, 0.82);
    letter-spacing: 0.01em;
  }
  .chapter-slide .chapter-tldr .tldr-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-right: 10px;
    transform: translateY(-1px);
  }
  
  .chapter-slide .level-bar {
    display: flex;
    gap: 8px;
    margin-top: 40px;
  }
  .chapter-slide .level-bar span {
    width: 28px;
    height: 2px;
    background: var(--paper-dim);
    opacity: 0.2;
  }
  .chapter-slide .level-bar span.on {
    background: var(--gold);
    opacity: 1;
  }
  
  /* Content layouts */
  .two-col {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: start;
  }
  
  .three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
  }

  /* Force 3 rows × 2 cols for the 6 advanced-movement cards */
  .card-grid.card-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media (max-width: 720px) {
    .card-grid.card-2col { grid-template-columns: 1fr; }
  }

  /* Force 2 rows × 3 cols for 6 cards */
  .card-grid.card-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  @media (max-width: 900px) {
    .card-grid.card-3col { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .card-grid.card-3col { grid-template-columns: 1fr; }
  }

  /* Force 2 rows × 4 cols for 8 cards */
  .card-grid.card-4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .card-grid.card-4col { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 800px) {
    .card-grid.card-4col { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 540px) {
    .card-grid.card-4col { grid-template-columns: 1fr; }
  }

  /* Locked 1 row × 6 cols for 6 cards (色彩 mood swatches) — never wraps */
  .card-grid.card-6col {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }
  .card-grid.card-6col .card { padding: 16px 12px 14px; }
  
  .card {
    padding: 24px;
    background: rgba(241,230,208,0.03);
    border: 1px solid rgba(241,230,208,0.08);
    border-left: 2px solid var(--gold);
    transition: all 0.3s ease;
  }
  
  .card:hover {
    background: rgba(241,230,208,0.05);
    border-left-color: var(--blood);
  }
  
  .card .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 12px;
  }
  
  .card h4 {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 8px;
  }
  
  .card h4 .en {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--gold);
    margin-left: 6px;
  }
  
  .card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--paper-dim);
  }
  
  /* Shot size visualization */
  .shot-vis {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 32px 0 16px;
  }
  
  .shot-frame {
    aspect-ratio: 1.85 / 1;
    border: 1px solid rgba(198,154,75,0.4);
    background: rgba(20,16,9,0.6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .shot-frame svg {
    width: 100%;
    height: 100%;
  }
  
  .shot-frame::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
  }
  
  /* Quote block */
  .quote {
    border-left: 2px solid var(--blood);
    padding: 8px 0 8px 28px;
    margin: 24px 0;
    max-width: 640px;
  }
  
  .quote p {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.45;
    color: var(--cream);
    font-weight: 400;
  }
  
  .quote cite {
    display: block;
    margin-top: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
  }
  /* R19 structured cite: name primary + source secondary */
  .quote cite .cite-name { display: block; }
  .quote cite .cite-source {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(196, 153, 84, 0.7);
    text-transform: none;
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
  }
  
  /* Spec list */
  .spec-list {
    list-style: none;
    margin-top: 16px;
  }
  
  .spec-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(241,230,208,0.08);
    align-items: baseline;
  }
  
  .spec-list .term {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
  }
  
  .spec-list .def {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--paper-dim);
  }
  .spec-list .def strong {
    color: var(--paper);
    font-weight: 500;
  }
  
  /* Director profiles */
  .director-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
  
  .director {
    padding: 24px 20px;
    border: 1px solid rgba(198,154,75,0.2);
    background: linear-gradient(180deg, rgba(241,230,208,0.02), rgba(184,35,28,0.04));
    position: relative;
  }
  
  .director .name-cn {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 4px;
  }
  
  .director .name-en {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }
  
  .director .style {
    font-size: 13px;
    line-height: 1.65;
    color: var(--paper-dim);
    margin-bottom: 12px;
  }
  
  .director .signature {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--blood);
    text-transform: uppercase;
    padding-top: 12px;
    border-top: 1px solid rgba(198,154,75,0.15);
  }
  
  /* Pull-out side panel */
  .side-note {
    background: rgba(184,35,28,0.06);
    border-left: 2px solid var(--blood);
    padding: 20px 24px;
    margin-top: 24px;
  }
  
  .side-note .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--blood);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  .side-note p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cream);
    font-style: italic;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  }
  
  /* Navigation chrome */
  .nav-chrome {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
  }
  
  .nav-chrome > * { pointer-events: auto; }
  
  .frame-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
    opacity: 0.7;
  }
  
  .nav-buttons {
    display: flex;
    gap: 12px;
  }
  
  .nav-btn {
    width: 32px;
    height: 22px;
    border: 1px solid rgba(198,154,75,0.4);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }
  .nav-btn:hover {
    background: var(--gold);
    color: var(--ink);
  }
  
  .progress {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(198,154,75,0.15);
    z-index: 200;
  }
  
  .progress-fill {
    height: 100%;
    background: var(--gold);
    transition: width 0.5s ease;
  }
  
  .top-bar {
    position: fixed;
    top: 0;
    left: 24px;
    right: 24px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    pointer-events: none;
  }
  
  .top-bar .brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    opacity: 0.7;
    text-transform: uppercase;
  }
  
  .top-bar .reel {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--paper-dim);
    opacity: 0.4;
  }
  
  /* Closing slide */
  .closing {
    text-align: center;
    align-items: center;
    background: 
      radial-gradient(ellipse at center, rgba(198,154,75,0.08), transparent 60%),
      var(--ink);
  }
  
  .closing .end-mark {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: clamp(72px, 12vw, 180px);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 40px;
  }
  
  .closing .end-text {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--paper-dim);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto 32px;
  }
  
  /* Film strip decoration */
  .film-strip {
    position: absolute;
    right: 8vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.5;
  }
  
  .film-strip .frame {
    width: 60px;
    height: 80px;
    border: 1px solid var(--gold);
    position: relative;
  }
  
  .film-strip .frame::before,
  .film-strip .frame::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--ink);
    border: 1px solid var(--gold);
    left: -12px;
  }
  .film-strip .frame::before { top: 8px; }
  .film-strip .frame::after { bottom: 8px; }
  
  /* Underline emphasis */
  .ink-mark {
    color: var(--paper);
    font-weight: 500;
    position: relative;
    padding: 0 2px;
  }
  .ink-mark::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -1px;
    height: 4px;
    background: var(--blood);
    opacity: 0.35;
    z-index: -1;
  }
  
  /* Make all scrollbars subtle */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--gold); opacity: 0.3; }
  
  /* Responsive adjustments */
  @media (max-width: 900px) {
    .two-col, .three-col { grid-template-columns: 1fr; gap: 32px; }
    .toc-grid { grid-template-columns: 1fr; gap: 24px; }
    .director-grid { grid-template-columns: 1fr; }
    .shot-vis { grid-template-columns: repeat(3, 1fr); }
    .slide { padding: 60px 6vw; }
  }
  
  /* Print styles */
  @media print {
    .slide { 
      position: relative; 
      opacity: 1; 
      page-break-after: always; 
      height: auto;
      min-height: 100vh;
    }
    .nav-chrome, .top-bar, .progress { display: none; }
    body::before, body::after { display: none; }
  }

  /* ===== ADDITIONS for split-deck + media enrichment ===== */

  /* Chapter divider hero image: full-bleed image with dark gradient over */
  .chapter-slide.has-hero {
    background: var(--noir);
  }
  .chapter-slide .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    z-index: 0;
    filter: saturate(0.85) contrast(1.05);
  }
  .chapter-slide .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(10,8,5,0.92) 0%, rgba(10,8,5,0.55) 55%, rgba(10,8,5,0.35) 100%),
      linear-gradient(180deg, rgba(10,8,5,0.4) 0%, transparent 30%, transparent 70%, rgba(10,8,5,0.85) 100%);
  }
  .chapter-slide .content-wrap { position: relative; z-index: 2; }

  /* Inline hero (for content slides — appears beside text) */
  .inline-hero {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(198,154,75,0.35);
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 40px rgba(0,0,0,0.45), inset 0 0 80px rgba(0,0,0,0.4);
  }
  .inline-hero::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 8px; left: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  }

  /* Video embed (inline) */
  .inline-video {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(198,154,75,0.35);
    background: var(--noir);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
  }
  .inline-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* Audio toggle (bg music) — top right */
  .audio-toggle {
    position: fixed;
    top: 40px;
    right: 24px;
    z-index: 250;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(198,154,75,0.4);
    background: rgba(10,8,5,0.6);
    color: var(--gold);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
  }
  .audio-toggle:hover { background: var(--gold); color: var(--ink); }
  .audio-toggle.playing { color: var(--blood); border-color: var(--blood); }

  /* Chapter footer nav — cross-page links */
  .chapter-pager {
    position: fixed;
    bottom: 44px;
    left: 8vw;
    right: 8vw;
    z-index: 220;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }
  .chapter-pager a,
  .chapter-pager .pager-btn {
    pointer-events: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid rgba(198,154,75,0.4);
    background: rgba(10,8,5,0.65);
    transition: all 0.25s;
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-weight: 400;
  }
  .chapter-pager a:hover,
  .chapter-pager .pager-btn:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
  }
  .chapter-pager .label {
    font-size: 11px;
    letter-spacing: 0.25em;
  }
  .chapter-pager .target { font-weight: 500; }

  /* Index TOC: cards become links */
  .toc-grid a.toc-item {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
  }
  .toc-grid a.toc-item:hover {
    border-bottom-color: var(--gold);
  }
  .toc-grid a.toc-item:hover .toc-num { color: var(--gold); }
  .toc-grid a.toc-item:hover h3 { color: var(--gold); }

  /* Director portrait grid (chapter 5) */
  .director.has-portrait {
    padding-top: 0;
    overflow: hidden;
  }
  .director .portrait {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center top;
    margin: -24px -20px 16px;
    filter: grayscale(0.4) contrast(1.05);
  }

  /* Hero background video — covers chapter divider full-bleed, muted/looped */
  .chapter-slide .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
    filter: saturate(0.85) contrast(1.05);
  }
  .chapter-slide .hero-bg-video + .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(10,8,5,0.92) 0%, rgba(10,8,5,0.55) 55%, rgba(10,8,5,0.35) 100%),
      linear-gradient(180deg, rgba(10,8,5,0.4) 0%, transparent 30%, transparent 70%, rgba(10,8,5,0.85) 100%);
  }

  /* ===== ROUND-2 ADDITIONS ===== */

  /* Make top-bar elements clickable */
  .top-bar { pointer-events: none; }
  .top-bar .brand-link {
    pointer-events: auto;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.25s, opacity 0.25s;
    opacity: 0.7;
  }
  .top-bar .brand-link:hover {
    opacity: 1;
    color: var(--paper);
  }
  .top-bar .nav-trigger {
    pointer-events: auto;
    background: transparent;
    border: 1px solid rgba(198,154,75,0.3);
    color: var(--gold);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    padding: 4px 12px;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.2s;
  }
  .top-bar .nav-trigger:hover {
    background: var(--gold);
    color: var(--ink);
  }
  .top-bar .reel-group {
    display: flex;
    align-items: center;
    gap: 0;
  }

  /* TOC drawer */
  .toc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: rgba(10,8,5,0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(198,154,75,0.25);
    z-index: 400;
    padding: 80px 36px 60px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto;
  }
  .toc-drawer.open { transform: translateX(0); }
  .toc-drawer h3 {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 32px;
  }
  .toc-drawer h3 .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
  }
  .toc-drawer ul { list-style: none; padding: 0; }
  .toc-drawer li { padding: 14px 0; border-bottom: 1px solid rgba(241,230,208,0.08); }
  .toc-drawer a {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: baseline;
    color: var(--paper-dim);
    text-decoration: none;
    transition: color 0.25s;
  }
  .toc-drawer a:hover { color: var(--paper); }
  .toc-drawer a.current { color: var(--gold); }
  .toc-drawer a.current .roman { color: var(--blood); }
  .toc-drawer .roman {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--gold);
    line-height: 1;
  }
  .toc-drawer .title-cn {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 2px;
  }
  .toc-drawer .title-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--gold);
    opacity: 0.55;
    text-transform: uppercase;
  }
  .toc-drawer-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(198,154,75,0.35);
    color: var(--gold);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .toc-drawer-close:hover {
    background: var(--gold);
    color: var(--ink);
  }
  .toc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 350;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .toc-backdrop.open { opacity: 1; pointer-events: auto; }

  /* External links (Wikipedia) */
  a.ext-link {
    color: var(--paper);
    text-decoration: none;
    border-bottom: 1px dotted rgba(198,154,75,0.5);
    transition: all 0.2s;
    padding-bottom: 1px;
  }
  a.ext-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    border-bottom-style: solid;
  }
  a.ext-link::after {
    content: '↗';
    font-size: 0.7em;
    margin-left: 1px;
    opacity: 0.6;
    vertical-align: super;
    line-height: 0;
  }
  /* Inside director.name-cn and similar bold-title contexts, keep look tight */
  .director .name-cn a.ext-link,
  .director .name-en a.ext-link {
    color: inherit;
    border-bottom-color: rgba(198,154,75,0.4);
  }
  .director .name-cn a.ext-link:hover {
    color: var(--gold);
  }

  /* ===== Floating tooltip-popup cards (compact mode) ===== */
  /* JS-controlled: .show-popup class toggles popup visibility with a small
     close-delay so the cursor can travel from card → popup without flicker.
     Popup uses a visually distinct paper-tone bg (vs the dark card). */

  .card-grid.card-compact .card {
    cursor: help;
    position: relative;
    padding: 22px 22px 22px;
    min-height: 92px;
    transition: all 0.2s;
  }
  .card-grid.card-compact .card .num { margin-bottom: 10px; }
  .card-grid.card-compact .card h4 { margin-bottom: 0; }

  /* The popup is the <p> child, styled to look like an inverted "note" */
  .card-grid.card-compact .card > p {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 4px);
    background: var(--paper);
    color: var(--ink);
    border: none;
    border-radius: 2px;
    padding: 14px 18px;
    font-size: 13.5px;
    line-height: 1.6;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 22px 48px rgba(0,0,0,0.75),
      0 0 0 1px rgba(198,154,75,0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.18s;
    z-index: 80;
    width: 260px;
    max-width: min(320px, 84vw);
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
    font-weight: 400;
  }
  /* Pointer notch */
  .card-grid.card-compact .card > p::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--paper);
    box-shadow: -1px -1px 0 rgba(198,154,75,0.6);
  }
  .card-grid.card-compact .card > p strong {
    color: var(--blood);
    font-weight: 600;
  }
  .card-grid.card-compact .card > p a.ext-link {
    color: var(--rust);
    border-bottom-color: var(--rust);
  }
  .card-grid.card-compact .card > p a.ext-link:hover {
    color: var(--blood);
    border-bottom-color: var(--blood);
  }

  /* Bounds-checking modifiers — JS toggles these */
  .card-grid.card-compact .card.popup-up > p {
    top: auto;
    bottom: 100%;
    transform: translate(-50%, -4px);
  }
  .card-grid.card-compact .card.popup-up > p::before {
    top: auto;
    bottom: -6px;
    box-shadow: 1px 1px 0 rgba(198,154,75,0.6);
  }
  .card-grid.card-compact .card.popup-left > p {
    left: auto;
    right: 0;
    transform: translate(0, 4px);
  }
  .card-grid.card-compact .card.popup-left > p::before {
    left: auto;
    right: 22px;
    transform: rotate(45deg);
  }
  .card-grid.card-compact .card.popup-right > p {
    left: 0;
    transform: translate(0, 4px);
  }
  .card-grid.card-compact .card.popup-right > p::before {
    left: 22px;
    transform: rotate(45deg);
  }
  .card-grid.card-compact .card.popup-up.popup-left > p,
  .card-grid.card-compact .card.popup-up.popup-right > p {
    transform: translate(var(--tx, 0), -4px);
  }
  .card-grid.card-compact .card.popup-up.popup-left > p { --tx: 0; right: 0; left: auto; }
  .card-grid.card-compact .card.popup-up.popup-right > p { --tx: 0; left: 0; right: auto; }

  /* Reveal when .show-popup is set (JS managed) */
  .card-grid.card-compact .card.show-popup > p {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .card-grid.card-compact .card.show-popup > p { transform: translate(-50%, 0); }
  .card-grid.card-compact .card.show-popup.popup-up > p { transform: translate(-50%, 0); }
  .card-grid.card-compact .card.show-popup.popup-left > p,
  .card-grid.card-compact .card.show-popup.popup-up.popup-left > p { transform: translate(0, 0); }
  .card-grid.card-compact .card.show-popup.popup-right > p,
  .card-grid.card-compact .card.show-popup.popup-up.popup-right > p { transform: translate(0, 0); }

  .card-grid.card-compact .card.show-popup {
    background: rgba(241,230,208,0.08);
    border-left-color: var(--blood);
    z-index: 70;
  }
  .card-grid.card-compact .card:hover {
    background: rgba(241,230,208,0.05);
    border-left-color: var(--blood);
  }

  /* Subtle hint icon at card corner */
  .card-grid.card-compact .card::after {
    content: '⌕';
    position: absolute;
    top: 12px;
    right: 14px;
    color: var(--gold);
    opacity: 0.35;
    font-size: 13px;
    transition: opacity 0.2s, color 0.2s;
  }
  .card-grid.card-compact .card:hover::after,
  .card-grid.card-compact .card.show-popup::after {
    opacity: 1;
    color: var(--blood);
  }

  /* ===== Director card popup — same paper-tone style ===== */
  .director-grid.director-grid-compact .director {
    cursor: help;
    position: relative;
    padding-bottom: 36px;
  }
  .director-grid.director-grid-compact .director .style {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 4px);
    background: var(--paper);
    color: var(--ink);
    border-radius: 2px;
    padding: 14px 18px;
    font-size: 13.5px;
    line-height: 1.6;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 22px 48px rgba(0,0,0,0.75),
      0 0 0 1px rgba(198,154,75,0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.18s;
    z-index: 80;
    width: 260px;
    max-width: min(320px, 84vw);
    margin: 0;
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  }
  .director-grid.director-grid-compact .director .style::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--paper);
    box-shadow: -1px -1px 0 rgba(198,154,75,0.6);
  }
  .director-grid.director-grid-compact .director.popup-up .style {
    top: auto;
    bottom: 100%;
    transform: translate(-50%, -4px);
  }
  .director-grid.director-grid-compact .director.popup-up .style::before {
    top: auto; bottom: -6px;
    box-shadow: 1px 1px 0 rgba(198,154,75,0.6);
  }
  .director-grid.director-grid-compact .director.popup-left .style {
    left: auto; right: 0;
    transform: translate(0, 4px);
  }
  .director-grid.director-grid-compact .director.popup-left .style::before {
    left: auto; right: 22px;
  }
  .director-grid.director-grid-compact .director.popup-right .style {
    left: 0;
    transform: translate(0, 4px);
  }
  .director-grid.director-grid-compact .director.popup-right .style::before {
    left: 22px;
  }
  .director-grid.director-grid-compact .director.show-popup .style {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .director-grid.director-grid-compact .director.show-popup.popup-up .style { transform: translate(-50%, 0); }
  .director-grid.director-grid-compact .director.show-popup.popup-left .style,
  .director-grid.director-grid-compact .director.show-popup.popup-right .style { transform: translate(0, 0); }
  .director-grid.director-grid-compact .director.show-popup {
    background: linear-gradient(180deg, rgba(241,230,208,0.08), rgba(184,35,28,0.12));
    z-index: 70;
  }

  /* Mobile layout adjustments */
  @media (max-width: 720px) {
    .chapter-pager {
      bottom: 44px;
      left: 4vw;
      right: 4vw;
    }
    .chapter-pager a,
    .chapter-pager .pager-btn {
      padding: 8px 12px;
      font-size: 10px;
      letter-spacing: 0.15em;
    }
    .chapter-pager .label { font-size: 10px; letter-spacing: 0.18em; }
    .top-bar .brand-link span.brand { font-size: 9px; }
    .top-bar .nav-trigger { font-size: 9px; padding: 3px 9px; }
    .top-bar .reel { display: none; }
    .audio-toggle { width: 24px; height: 24px; font-size: 10px; top: 38px; right: 16px; }
    .card-grid.card-compact .card { padding: 18px 14px 32px; }
    .card-grid.card-compact .card h4 { font-size: 17px; }
    .toc-drawer { padding: 70px 24px 40px; }
    .toc-drawer h3 { font-size: 24px; margin-bottom: 24px; }
  }

  /* Cover slide hero video — like chapter-slide but darker veil for cover */
  .cover.has-hero .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 0;
    filter: saturate(0.9) contrast(1.05);
  }
  .cover.has-hero .hero-bg-video + .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 30% 45%, rgba(10,8,5,0.4), rgba(10,8,5,0.9) 70%),
      linear-gradient(180deg, rgba(10,8,5,0.55) 0%, rgba(10,8,5,0.3) 40%, rgba(10,8,5,0.85) 100%);
  }
  .cover.has-hero .cover-content,
  .cover.has-hero .roll,
  .cover.has-hero .frame-corners { position: relative; z-index: 5; }

  /* Inline-hero variants — preserve full image (no cropping) via contain.
     Cap height with vh so it never dominates a slide. */
  .inline-hero[data-caption*="Color"],
  .inline-hero[data-caption*="lighting"],
  .inline-hero.shot-strip {
    aspect-ratio: auto !important;
    width: 100%;
    height: auto;
    max-height: 28vh;
    background-color: rgba(10,8,5,0.45);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(198,154,75,0.25);
  }
  /* For the wide shot-strip image specifically, give it room to be wider */
  .inline-hero.shot-strip {
    aspect-ratio: 21/9 !important;
    max-height: 30vh;
  }
  /* When inline-hero contains an explicit <img>, show it (override the prior display:none in injected markup) */
  .inline-hero img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ===== ROUND-5: left-side TOC + bottom-band hero + term tooltips ===== */

  /* Top-left brand cluster: brand link + 目录 button stacked vertically */
  .top-bar .brand-cluster {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .top-bar .brand-cluster .brand-link { pointer-events: auto; }
  .top-bar .brand-cluster .nav-trigger {
    margin-left: 0;
    align-self: flex-start;
  }

  /* Override top-bar layout to allow cluster to extend below the 32px letterbox */
  .top-bar {
    align-items: flex-start;
    padding-top: 8px;
  }

  /* Left-side drawer override (default class is right-side) */
  .toc-drawer.toc-drawer-left {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(198,154,75,0.25);
    transform: translateX(-100%);
  }
  .toc-drawer.toc-drawer-left.open { transform: translateX(0); }
  .toc-drawer.toc-drawer-left .toc-drawer-close {
    right: auto;
    left: 28px;
  }

  /* ===== Bottom-band hero image (replaces letterboxed inline-hero) ===== */
  /* The image occupies the bottom of the slide full-width, with a gradient
     fade-to-black at the top that meets the text content cleanly. */
  .slide.has-bottom-band {
    justify-content: flex-start;
    padding-bottom: 0 !important;
  }
  .bottom-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 46vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
  }
  .bottom-band img,
  .bottom-band .img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
  }
  /* Gradient fade-to-ink at the top of the band, plus subtle vignette */
  .bottom-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, var(--ink) 0%, rgba(10,8,5,0.85) 6%, rgba(10,8,5,0.45) 18%, rgba(10,8,5,0.05) 35%, transparent 60%);
    pointer-events: none;
  }
  .bottom-band::after {
    content: attr(data-caption);
    position: absolute;
    left: 8vw;
    bottom: 14px;
    z-index: 3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    opacity: 0.55;
    text-transform: uppercase;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  }
  /* Slide content inside has-bottom-band uses ~50vh top area */
  .slide.has-bottom-band > *:not(.bottom-band) {
    position: relative;
    z-index: 4;
  }
  .slide.has-bottom-band .content-top {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* ===== Inline term tooltips on .spec-list .term ===== */
  /* When a term has [data-tip], it pops a small paper-tone explainer */
  .spec-list .term[data-tip] {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--gold);
    padding-bottom: 1px;
  }
  .spec-list .term[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 240px;
    max-width: 60vw;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: normal;
    text-transform: none;
    padding: 10px 14px;
    border-radius: 2px;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 18px 36px rgba(0,0,0,0.7),
      0 0 0 1px rgba(198,154,75,0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.2s ease, visibility 0.16s;
    z-index: 90;
    white-space: normal;
  }
  .spec-list .term[data-tip]::before {
    content: '';
    position: absolute;
    left: 20px;
    top: calc(100% + 4px);
    width: 8px;
    height: 8px;
    background: var(--paper);
    transform: rotate(45deg);
    box-shadow: -1px -1px 0 rgba(198,154,75,0.6);
    opacity: 0;
    transition: opacity 0.16s ease;
    z-index: 91;
  }
  .spec-list .term[data-tip]:hover::after,
  .spec-list .term[data-tip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* ===== Angle-card with image in tooltip ===== */
  /* The popup <p> may now have a leading <img> as visual reference */
  .card-grid.card-compact .card > p img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: -14px -18px 10px;
    width: calc(100% + 36px);
    border-bottom: 1px solid rgba(198,154,75,0.4);
    filter: contrast(1.05);
  }

  /* Layout: lede + quote 左右排, cards in their own row below */
  .slide-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }
  .slide-stack .row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .slide-stack .row-2col .quote { margin-top: 0; }

  /* ===== Slide-centered: narrow content column centered in slide ===== */
  .slide.slide-centered { align-items: center; justify-content: center; }
  .slide.slide-centered .centered-col {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
  }
  .slide.slide-centered .centered-col .shot-strip {
    max-width: 100%;
  }
  .slide.slide-centered .centered-col .lede {
    max-width: 100%;
  }

  /* ===== Hero-layer slide (cover-style): image fills entire slide as
     background, dark veil + content overlaid. Used for §4.2 光影. ===== */
  .slide.hero-layer-slide { position: relative; }
  .slide.hero-layer-slide .hero-layer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
    z-index: 0;
    filter: saturate(0.9) contrast(1.05);
  }
  .slide.hero-layer-slide .hero-layer-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 30% 40%, rgba(10,8,5,0.55), rgba(10,8,5,0.92) 75%),
      linear-gradient(180deg, rgba(10,8,5,0.7) 0%, rgba(10,8,5,0.4) 35%, rgba(10,8,5,0.85) 100%);
  }
  .slide.hero-layer-slide .hero-layer-content {
    position: relative;
    z-index: 5;
    width: 100%;
  }

  /* ===== Hero-sandwich (光影): image with TOP + BOTTOM dark gradients,
     heading overlaid on top dark band, row-2col-lede on bottom dark band ===== */
  .hero-sandwich {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    aspect-ratio: 21 / 9;
  }
  .hero-sandwich > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    filter: contrast(1.04);
  }
  .hero-sandwich-veil-top {
    position: absolute;
    inset: 0 0 auto 0;
    height: 42%;
    background: linear-gradient(180deg,
      rgba(10,8,5,0.95) 0%,
      rgba(10,8,5,0.78) 35%,
      rgba(10,8,5,0.42) 70%,
      transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .hero-sandwich-veil-bottom {
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background: linear-gradient(0deg,
      rgba(10,8,5,0.96) 0%,
      rgba(10,8,5,0.85) 30%,
      rgba(10,8,5,0.45) 65%,
      transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .hero-sandwich-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 22px 28px 0;
    z-index: 3;
  }
  .hero-sandwich-top .eyebrow { margin-bottom: 8px; }
  .hero-sandwich-top .heading { margin-bottom: 0; }
  .hero-sandwich-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 28px 22px;
    z-index: 3;
  }
  .hero-sandwich-bottom .row-2col-lede .lede {
    color: var(--paper);
  }

  /* ===== Hero-overlay: full-bleed image at top with heading/lede overlaid =====
     Image takes its natural ratio (no crop). A linear-gradient veil at the top
     fades from ink → transparent so text in the top region stays readable. */
  .slide.hero-overlay-slide {
    padding-top: 0 !important;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero-overlay {
    position: relative;
    margin: 0 0 24px;
    overflow: hidden;
    width: 100%;
  }
  .hero-overlay > img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    object-fit: cover;
  }
  .hero-overlay-veil {
    position: absolute;
    inset: 0 0 auto 0;
    height: 55%;
    background: linear-gradient(180deg,
      var(--ink) 0%,
      rgba(10,8,5,0.95) 18%,
      rgba(10,8,5,0.75) 38%,
      rgba(10,8,5,0.35) 64%,
      rgba(10,8,5,0.08) 86%,
      transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .hero-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 56px 32px 0;
    z-index: 3;
  }
  .hero-overlay-text .eyebrow { margin-bottom: 12px; }
  .hero-overlay-text .heading { margin-bottom: 0; }
  /* For 色彩: tall overlay variant fits heading + row-2col-lede on image */
  .hero-overlay-tall .hero-overlay-veil { height: 70%; }
  .hero-overlay-tall .hero-overlay-text .row-2col-lede {
    margin-top: 22px;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .hero-overlay-tall .hero-overlay-text .row-2col-lede .lede,
  .hero-overlay-tall .hero-overlay-text .row-2col-lede .side-note {
    color: var(--paper);
  }
  .hero-overlay-tall .hero-overlay-text .row-2col-lede .side-note {
    background: rgba(184,35,28,0.18);
    border-left-color: var(--blood);
  }

  /* ===== Slide-with-bottom-img (光影): image flush at slide bottom edge,
     fades into the ink above where it meets the text. No frame/border. ===== */
  .slide.slide-with-bottom-img {
    padding-bottom: 0 !important;
    justify-content: flex-start;
  }
  .slide.slide-with-bottom-img > *:not(.slide-bottom-img) {
    position: relative;
    z-index: 2;
  }
  .slide-bottom-img {
    position: relative;
    margin: 12px -8vw -80px;  /* bleed to slide edges + into padding */
    overflow: hidden;
    pointer-events: none;
  }
  .slide-bottom-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 38vh;
    object-fit: cover;
    object-position: center top;
    border: none;
    box-shadow: none;
  }
  .slide-bottom-img::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 40%;
    background: linear-gradient(180deg,
      var(--ink) 0%,
      rgba(10,8,5,0.92) 18%,
      rgba(10,8,5,0.55) 50%,
      rgba(10,8,5,0.12) 85%,
      transparent 100%);
    z-index: 2;
    pointer-events: none;
  }
  .slide-bottom-img[data-caption]::after {
    content: attr(data-caption);
    position: absolute;
    left: 8vw;
    top: 16px;
    z-index: 3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    opacity: 0.65;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    pointer-events: none;
  }

  /* ===== 色彩 slide: lede + side-note side-by-side, full-bleed strip, 6-col cards aligned ===== */
  .slide.slide-color {
    justify-content: center;
  }
  .row-2col-lede {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 8px;
  }
  .row-2col-lede .lede { margin: 0; max-width: 100%; }
  .row-2col-lede .side-note { margin: 0; }
  @media (max-width: 800px) {
    .row-2col-lede { grid-template-columns: 1fr; gap: 24px; }
  }

  .color-strip {
    margin: 22px 0 0 0;
    padding: 0;
    width: 100%;
  }
  /* Show full 21:9 — short side completely visible (natural aspect, no crop) */
  .color-strip img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    box-shadow: 0 18px 32px rgba(0,0,0,0.45);
    filter: contrast(1.05);
  }

  /* ===== Full-strip (光影 heading 下) — same treatment ===== */
  .full-strip {
    margin: 18px 0 22px;
    padding: 0;
    width: 100%;
  }
  .full-strip img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    box-shadow: 0 18px 32px rgba(0,0,0,0.45);
    filter: contrast(1.05);
  }
  /* Color cards: 6 zero-gap columns aligned with the 6 image segments */
  .card-grid.color-cards {
    margin-top: 0 !important;
    gap: 0;
  }
  .card-grid.color-cards .card {
    border-radius: 0;
    border-left: none;
    border-top: 4px solid var(--gold);  /* top-color rail (overridden per-card via inline style? - keep gold default) */
    padding: 14px 12px 14px;
    background: rgba(241,230,208,0.025);
    border-right: 1px solid rgba(241,230,208,0.06);
  }
  .card-grid.color-cards .card:last-child { border-right: none; }
  .card-grid.color-cards .card .num { margin-bottom: 6px; }
  /* Override inline border-left-color → use as border-top-color via custom selector */
  .card-grid.color-cards .card[style*="border-left-color: #b8231c"] { border-top-color: #b8231c; }
  .card-grid.color-cards .card[style*="border-left-color: #4a7ba7"] { border-top-color: #4a7ba7; }
  .card-grid.color-cards .card[style*="border-left-color: #c69a4b"] { border-top-color: #c69a4b; }
  .card-grid.color-cards .card[style*="border-left-color: #6b8e4e"] { border-top-color: #6b8e4e; }
  .card-grid.color-cards .card[style*="border-left-color: #8a4a2a"] { border-top-color: #8a4a2a; }
  .card-grid.color-cards .card[style*="border-left-color: #e8e8e8"] { border-top-color: #e8e8e8; }

  /* ===== Inline-figure (光影/色彩 full-image, no letterbox) =====
     Long side fills container, short side natural height, no crop.
     Caption strip below image (paper-tone label). */
  .inline-figure {
    margin: 12px auto 18px;
    padding: 0;
    max-width: 1080px;
    width: 100%;
    position: relative;
    text-align: center;
  }
  .inline-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 32vh;
    object-fit: contain;
    border: 1px solid rgba(198,154,75,0.28);
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    filter: contrast(1.04);
  }
  .inline-figure[data-caption]::after {
    content: attr(data-caption);
    display: block;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--gold);
    opacity: 0.7;
    text-transform: uppercase;
  }

  /* ===== Fixed-aspect strip (光影 / 色彩 inline image) =====
     Aspect-ratio is locked so the image area doesn't reflow on browser zoom or
     content reflow. Image is object-fit:cover with center positioning to trim
     top/bottom evenly. */
  .fixed-strip {
    margin: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 18px 32px rgba(0,0,0,0.45);
    border: 1px solid rgba(198,154,75,0.18);
  }
  .fixed-strip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: none;
    box-shadow: none;
    filter: contrast(1.05);
  }

  /* Lighting page (§4.2): balanced 2-col under the strip image */
  .slide-lighting .lighting-cols {
    grid-template-columns: 5fr 6fr;
    gap: 48px;
  }
  @media (max-width: 800px) {
    .slide-lighting .lighting-cols { grid-template-columns: 1fr; gap: 28px; }
  }

  /* §4.2 光影 / §4.3 色彩：内容宽度对齐 §4.1 构图（满宽，撤掉 880px 上限），
     但 strip 图只放宽、不增高 —— 高度锁 min(293px, 28vw)：
     28vw = 满宽内容的 3:1 高度，min 保证永不超过原 880px 宽时的 293px。 */
  .slide.slide-centered.slide-lighting .centered-col,
  .slide.slide-centered.slide-color .centered-col { max-width: none; }
  .slide-lighting .fixed-strip,
  .slide-color .fixed-strip {
    aspect-ratio: auto;
    height: min(293px, 28vw);
  }

  /* ===== Inline shot-strip (景别 6-step illustration) ===== */
  /* Sits right under the lede, constrained to lede max-width (720px),
     no gradient, with an ELS → ECU arrow ruler below. */
  .shot-strip {
    margin: 24px 0 0 0;
    padding: 0;
    width: 100%;
  }
  .shot-strip img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(198,154,75,0.28);
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    filter: contrast(1.04);
  }
  .shot-strip-axis {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 0 4px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold);
  }
  .shot-strip-axis .axis-tip {
    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: 500;
    color: var(--paper);
    opacity: 0.95;
  }
  .shot-strip-axis .axis-arrow {
    position: relative;
    display: flex;
    align-items: center;
    height: 1px;
  }
  .shot-strip-axis .axis-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
      rgba(241,230,208,0.18) 0%,
      rgba(198,154,75,0.85) 40%,
      var(--gold) 100%);
  }
  .shot-strip-axis .axis-head {
    width: 0; height: 0;
    border-left: 8px solid var(--gold);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: -1px;
    filter: drop-shadow(0 0 2px rgba(198,154,75,0.6));
  }
  .shot-strip-axis .axis-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--gold);
    opacity: 0.7;
    text-transform: uppercase;
    margin-left: 6px;
  }
  @media (max-width: 720px) {
    .shot-strip-axis { grid-template-columns: auto 1fr auto; }
    .shot-strip-axis .axis-label { display: none; }
  }

  /* ===== Axis-line (180° rule) — refined SVG container ===== */
  .axis-diagram {
    width: 100%;
    height: auto;
    display: block;
    background:
      radial-gradient(ellipse at 50% 45%, rgba(198,154,75,0.05), transparent 70%),
      rgba(20,16,9,0.55);
    border: 1px solid rgba(198,154,75,0.22);
    padding: 8px;
    border-radius: 2px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  }
  .axis-diagram text { font-family: 'JetBrains Mono', monospace; }

  /* ===== Wiki popup (.ext-link hover preview) ===== */
  .wiki-popup {
    position: fixed;
    z-index: 240;
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    background: var(--paper);
    color: var(--ink);
    border-radius: 3px;
    padding: 0;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 24px 56px rgba(0,0,0,0.75),
      0 0 0 1px rgba(198,154,75,0.55);
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.22s ease;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }
  .wiki-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .wiki-popup .wiki-thumb {
    display: block;
    width: 100%;
    height: auto;
    background: #16110a;
    border-bottom: 1px solid rgba(198,154,75,0.4);
    flex-shrink: 0;
  }
  .wiki-popup .wiki-body {
    padding: 12px 16px 14px;
  }
  .wiki-popup .wiki-title {
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: 0.01em;
  }
  .wiki-popup .wiki-desc {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    color: rgba(35,28,18,0.6);
    text-transform: uppercase;
    margin: 0 0 8px;
  }
  .wiki-popup .wiki-extract {
    font-size: 13px;
    color: rgba(35,28,18,0.85);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wiki-popup .wiki-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(35,28,18,0.55);
    text-transform: uppercase;
  }
  .wiki-popup .wiki-foot a {
    color: var(--blood);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
  }
  .wiki-popup .wiki-loading {
    padding: 24px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: rgba(35,28,18,0.55);
    text-align: center;
  }

  /* ===== Camera-movement demo (inline SVG in tooltip) ===== */
  .card-grid.card-compact .card > p .move-demo {
    display: block;
    width: calc(100% + 36px);
    margin: -14px -18px 10px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, #1c150c 0%, #0a0805 100%);
    border-bottom: 1px solid rgba(198,154,75,0.4);
    overflow: hidden;
    position: relative;
  }
  .card-grid.card-compact .card > p .move-demo svg.md {
    display: block;
    width: 100%;
    height: 100%;
  }
  .md .frame { fill: none; stroke: rgba(198,154,75,0.45); stroke-width: 0.6; stroke-dasharray: 2 2; }
  .md text.md-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5.2px;
    letter-spacing: 0.18em;
    fill: #c69a4b;
    opacity: 0.78;
  }
  .md .subject, .md .subject-c, .md .subject-b { fill: #f1e6d0; }
  .md .bg line, .md .bg polygon, .md .track, .md .arm { stroke: rgba(241,230,208,0.45); stroke-width: 0.7; fill: none; }
  .md .bg polygon { fill: rgba(198,154,75,0.18); stroke: rgba(198,154,75,0.55); }
  .md .arc { stroke: #c69a4b; stroke-width: 0.8; }
  .md .arrow { fill: #c69a4b; }
  .md .cam { fill: #b8231c; }
  .md .cam-dot { fill: #b8231c; }
  .md .orbit { stroke: rgba(198,154,75,0.5); stroke-width: 0.6; stroke-dasharray: 2 2; }
  .md .trail line { stroke: rgba(241,230,208,0.3); stroke-width: 0.8; }
  .md .rings circle { stroke: #c69a4b; stroke-width: 0.6; opacity: 0.7; }
  .md .streaks line { stroke: rgba(241,230,208,0.55); stroke-width: 0.7; }
  .md .glide { stroke: #c69a4b; stroke-width: 1; stroke-linecap: round; }

  /* Animations: paused; run only when card is hovered */
  .card-grid.card-compact .card .move-demo svg.md * { animation-play-state: paused; }
  .card-grid.card-compact .card:hover .move-demo svg.md *,
  .card-grid.card-compact .card.show-popup .move-demo svg.md * { animation-play-state: running; }

  @keyframes md-push { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }
  .md-push .subject { transform-origin: 50px 36px; animation: md-push 3.2s ease-in-out infinite; }

  @keyframes md-pull { 0%,100% { transform: scale(1.5); } 50% { transform: scale(1); } }
  .md-pull .subject { transform-origin: 50px 36px; animation: md-pull 3.2s ease-in-out infinite; }

  @keyframes md-pan-bg { 0% { transform: translateX(12px); } 100% { transform: translateX(-12px); } }
  .md-pan .bg { animation: md-pan-bg 3.4s ease-in-out infinite alternate; }
  .md-pan .arrow, .md-pan .arc { animation: md-fade 3.4s ease-in-out infinite alternate; }

  @keyframes md-tilt-bg { 0% { transform: translateY(6px); } 100% { transform: translateY(-6px); } }
  .md-tilt .bg { animation: md-tilt-bg 3.4s ease-in-out infinite alternate; }
  .md-tilt .arrow, .md-tilt .arc { animation: md-fade 3.4s ease-in-out infinite alternate; }

  @keyframes md-dolly-bg { 0% { transform: translateX(18px); } 100% { transform: translateX(-18px); } }
  @keyframes md-dolly-cam { 0% { transform: translateX(-22px); } 100% { transform: translateX(22px); } }
  .md-dolly .bg { animation: md-dolly-bg 3.6s ease-in-out infinite alternate; }
  .md-dolly .cam { animation: md-dolly-cam 3.6s ease-in-out infinite alternate; }

  @keyframes md-crane { 0% { transform: translateY(20px); } 100% { transform: translateY(0); } }
  .md-crane .arm, .md-crane .cam { animation: md-crane 3s ease-in-out infinite alternate; }

  @keyframes md-follow-bg { 0% { transform: translateX(0); } 100% { transform: translateX(-30px); } }
  @keyframes md-follow-feet { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }
  .md-follow .bg { animation: md-follow-bg 2.4s linear infinite; }
  .md-follow .trail line { animation: md-follow-feet 0.5s ease-in-out infinite alternate; }
  .md-follow .trail line:last-child { animation-delay: 0.25s; }

  @keyframes md-arc { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  .md-arc .cam-dot { transform-origin: 50px 32px; animation: md-arc 4s linear infinite; }

  @keyframes md-shake {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    25%     { transform: translate(1.2px,-0.8px) rotate(-0.6deg); }
    50%     { transform: translate(-1px,1.1px) rotate(0.5deg); }
    75%     { transform: translate(0.8px,0.6px) rotate(-0.3deg); }
  }
  .md-handheld .shake { transform-origin: 50px 28px; animation: md-shake 0.42s steps(8) infinite; }

  @keyframes md-glide-x { 0% { transform: translateX(-2px); } 100% { transform: translateX(82px); } }
  @keyframes md-glide-y {
    0% { transform: translateY(0); }
    25% { transform: translateY(-12px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
  }
  .md-steadicam .cam-dot { animation: md-glide-x 4.2s linear infinite, md-glide-y 4.2s linear infinite; }

  @keyframes md-crash {
    0%,80% { transform: scale(1); opacity: 0.7; }
    90% { transform: scale(2.2); opacity: 0.3; }
    100% { transform: scale(2.6); opacity: 0; }
  }
  .md-crashzoom .rings circle { transform-origin: 50px 30px; animation: md-crash 1.8s ease-in infinite; }
  .md-crashzoom .rings circle:nth-child(2) { animation-delay: 0.6s; }
  .md-crashzoom .rings circle:nth-child(3) { animation-delay: 1.2s; }

  @keyframes md-whip {
    0%,40% { transform: translateX(-100px); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
    60%,100% { transform: translateX(100px); opacity: 0; }
  }
  .md-whippan .streaks line { animation: md-whip 0.6s linear infinite; }

  @keyframes md-fade { 0% { opacity: 1; } 100% { opacity: 0.2; } }

  /* ===== Composition demos (static, geometric) ===== */
  .md-compo .grid line { stroke: rgba(198,154,75,0.55); stroke-width: 0.5; stroke-dasharray: 2 2; }
  .md-compo .dots circle { fill: #b8231c; }
  .md-compo .axis { stroke: rgba(198,154,75,0.75); stroke-width: 0.6; stroke-dasharray: 3 2; }
  .md-compo .sym rect, .md-compo .sym polygon { fill: #f1e6d0; opacity: 0.85; }
  .md-compo .lines line { stroke: rgba(198,154,75,0.7); stroke-width: 0.6; }
  .md-compo .vp { fill: #b8231c; }
  .md-compo .inner { stroke: rgba(198,154,75,0.65); stroke-width: 0.8; stroke-dasharray: 2 2; }
  .md-compo .subject circle, .md-compo .subject path { fill: #f1e6d0; }
  .md-compo .md-hint { font-family: 'JetBrains Mono', monospace; font-size: 16px; fill: rgba(241,230,208,0.18); }
  .md-compo .layer-bg polygon { fill: rgba(198,154,75,0.35); }
  .md-compo .layer-mid rect { fill: rgba(241,230,208,0.45); }
  .md-compo .layer-fg circle, .md-compo .layer-fg path { fill: #f1e6d0; }
  .md-compo .hr line { stroke: #b8231c; stroke-width: 0.7; }
  .md-compo .hr polygon { fill: #b8231c; }
  .md-compo .diag { stroke: #c69a4b; stroke-width: 1.2; }

  /* ===== Composition gallery (cinematic stills + analytic guide overlay) ===== */
  .compo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
  }
  @media (max-width: 1100px) { .compo-gallery { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .compo-gallery { grid-template-columns: 1fr; } }

  .compo-shot {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(198,154,75,0.25);
    background: var(--noir);
    box-shadow: 0 8px 24px rgba(0,0,0,0.42);
  }
  .compo-shot img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: saturate(0.95) contrast(1.03);
    transition: transform 0.6s ease;
  }
  .compo-shot:hover img { transform: scale(1.045); }

  .compo-shot .guide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 2; pointer-events: none;
    filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.6));
    opacity: 0.92;
  }
  .compo-shot .guide .grid line { stroke: rgba(241,230,208,0.5); stroke-width: 0.5; stroke-dasharray: 2.5 2.5; }
  .compo-shot .guide .dots circle { fill: rgba(184,35,28,0.85); }
  .compo-shot .guide .dots .hot { fill: var(--blood); stroke: rgba(241,230,208,0.9); stroke-width: 0.8; }
  .compo-shot .guide .axis { stroke: rgba(241,230,208,0.78); stroke-width: 0.6; stroke-dasharray: 4 3; }
  .compo-shot .guide .line line { stroke: rgba(198,154,75,0.85); stroke-width: 0.55; }
  .compo-shot .guide .vp { fill: var(--blood); }
  .compo-shot .guide .bracket path { fill: none; stroke: rgba(241,230,208,0.82); stroke-width: 0.9; }
  .compo-shot .guide .ring { fill: none; stroke: var(--blood); stroke-width: 0.9; }
  .compo-shot .guide .hint { fill: rgba(241,230,208,0.45); font-size: 18px; font-family: 'JetBrains Mono', monospace; text-anchor: middle; }
  .compo-shot .guide .hint-s { fill: rgba(241,230,208,0.72); font-size: 4.4px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; }
  .compo-shot .guide .hr line { stroke: var(--blood); stroke-width: 0.7; }
  .compo-shot .guide .hr path { fill: none; stroke: var(--blood); stroke-width: 0.7; }
  .compo-shot .guide .diag { stroke: var(--gold); stroke-width: 1.1; }
  .compo-shot .guide .depth-tag .scale { stroke: rgba(198,154,75,0.6); stroke-width: 0.5; stroke-dasharray: 2 2; }
  .compo-shot .guide .depth-tag circle { fill: var(--gold); }
  .compo-shot .guide .depth-tag text { fill: rgba(241,230,208,0.78); font-size: 4px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; }

  .compo-shot figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 32px 13px 11px;
    background: linear-gradient(to top, rgba(8,6,4,0.95) 0%, rgba(8,6,4,0.62) 46%, rgba(8,6,4,0) 100%);
  }
  .compo-shot .c-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.16em;
    color: var(--gold); margin-bottom: 3px;
  }
  .compo-shot .c-name {
    font-size: 19px; font-weight: 500;
    color: var(--paper); margin: 0; line-height: 1.12;
  }
  .compo-shot .c-desc {
    font-size: 12.5px; line-height: 1.5;
    color: var(--paper-dim); margin: 0;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
  }
  .compo-shot:hover .c-desc { max-height: 96px; opacity: 1; margin-top: 7px; }
  .compo-shot .c-desc a.ext-link { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(198,154,75,0.4); }
  .compo-shot .c-desc a.ext-link:hover { color: var(--paper); }
  .compo-shot.is-zoomable,
  .fixed-strip.is-zoomable { cursor: zoom-in; }

  /* ===== Composition lightbox (click a still to enlarge) ===== */
  .compo-lightbox {
    position: fixed; inset: 0;
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 4vh 4vw;
    background: rgba(8,6,4,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .compo-lightbox.open { opacity: 1; pointer-events: auto; }
  .compo-lightbox .cl-stage {
    transform: scale(0.96);
    transition: transform 0.3s ease;
  }
  .compo-lightbox.open .cl-stage { transform: scale(1); }
  .compo-lightbox .compo-shot {
    width: min(90vw, calc(86vh * 16 / 9));
    height: auto; aspect-ratio: 16 / 9;
    cursor: default;
    box-shadow: 0 24px 70px rgba(0,0,0,0.7);
    border-color: rgba(198,154,75,0.4);
  }
  .compo-lightbox .compo-shot:hover img { transform: none; }
  .compo-lightbox .compo-shot figcaption { padding: 56px 26px 22px; }
  .compo-lightbox .compo-shot .c-tag { font-size: 12px; }
  .compo-lightbox .compo-shot .c-name { font-size: 30px; }
  .compo-lightbox .compo-shot .c-desc {
    max-height: none; opacity: 1; margin-top: 9px;
    font-size: 16px; max-width: 62ch;
  }
  .compo-lightbox .compo-shot .c-desc a.ext-link { pointer-events: auto; }
  /* fixed-strip (光影/色彩 strip) in lightbox: show the full, un-cropped image */
  .compo-lightbox .fixed-strip {
    width: auto; height: auto;
    aspect-ratio: auto;
    max-width: 92vw; max-height: 88vh;
    cursor: default;
    border-color: rgba(198,154,75,0.4);
    box-shadow: 0 24px 70px rgba(0,0,0,0.7);
  }
  .compo-lightbox .fixed-strip img {
    width: auto; height: auto;
    max-width: 92vw; max-height: 88vh;
    object-fit: contain;
  }
  .compo-lightbox .cl-close {
    position: absolute; top: 22px; right: 28px;
    width: 44px; height: 44px;
    background: rgba(20,16,9,0.7);
    border: 1px solid rgba(198,154,75,0.4);
    border-radius: 50%;
    color: var(--paper); font-size: 26px; line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .compo-lightbox .cl-close:hover { background: var(--blood); transform: scale(1.08); }

  /* R13.5 · 通用 img / video lightbox 内容 */
  .compo-lightbox .cl-img-zoom {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 92vw;
    max-height: 88vh;
  }
  .compo-lightbox .cl-img-zoom img {
    max-width: 92vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(198,154,75,0.4);
    box-shadow: 0 24px 70px rgba(0,0,0,0.7);
    border-radius: 2px;
    background: #000;
  }
  .compo-lightbox .cl-img-zoom figcaption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--paper-dim);
    text-transform: uppercase;
    text-align: center;
    max-width: 80ch;
    opacity: 0.7;
  }
  .compo-lightbox .cl-video-zoom {
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .compo-lightbox .cl-video-zoom video {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border: 1px solid rgba(198,154,75,0.4);
    box-shadow: 0 24px 70px rgba(0,0,0,0.7);
    border-radius: 2px;
    background: #000;
  }

  /* 提示可点击放大 */
  .slide img.is-zoomable-img,
  .slide video.is-zoomable-video {
    cursor: zoom-in;
    transition: filter 0.25s ease, transform 0.25s ease;
  }
  .slide img.is-zoomable-img:hover {
    filter: brightness(1.08);
  }
  .slide video.is-zoomable-video:hover {
    filter: brightness(1.05);
  }

  /* R14 · director card 顶部签名剧照（16:9 bleed 到 card 边缘） */
  .director .director-still {
    margin: -24px -20px 16px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(198,154,75,0.2);
    background: #050402;
  }
  .director .director-still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.25s ease;
  }
  .director .director-still:hover img {
    transform: scale(1.04);
    filter: brightness(1.06);
  }

  /* R14 · §3.1 蒙太奇 5 类 + §6.3b 母题 4 帧 — 底部缩略图 strip */
  .montage-gallery,
  .motif-gallery {
    display: grid;
    gap: 12px;
    margin-top: 20px;
  }
  .montage-gallery { grid-template-columns: repeat(5, 1fr); }
  .motif-gallery   { grid-template-columns: repeat(4, 1fr); }
  .editing-gallery { grid-template-columns: repeat(4, 1fr); }
  .pov-gallery     { grid-template-columns: repeat(3, 1fr); }
  .metaphor-gallery { grid-template-columns: repeat(3, 1fr); }
  .vt-gallery      { grid-template-columns: repeat(5, 1fr); }
  .practice-gallery { grid-template-columns: repeat(3, 1fr); }
  .editing-gallery,
  .pov-gallery,
  .metaphor-gallery,
  .vt-gallery,
  .practice-gallery { display: grid; gap: 12px; margin-top: 18px; }

  /* R14 batch 7-10 · §6.4b vs-still + §4.4 layer-still bleed-to-edge hero */
  .vs-step .vs-still {
    margin: -16px -14px 10px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(198,154,75,0.2);
    background: #050402;
  }
  .vs-step .vs-still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
  }
  .vs-step:hover .vs-still img { filter: brightness(1.08); }

  .layer .layer-still {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid rgba(198,154,75,0.18);
    margin-bottom: 10px;
    background: #050402;
  }
  .layer .layer-still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
  }
  .layer:hover .layer-still img { filter: brightness(1.08); }
  .m-shot {
    margin: 0;
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(198,154,75,0.22);
    border-radius: 2px;
    background: #050402;
    /* overflow: visible 必要——popup 要溢出 figure 框 */
  }
  .m-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    transition: filter 0.25s ease;
  }
  .m-shot:hover img,
  .m-shot.show-popup img {
    filter: brightness(1.1) contrast(1.04);
  }
  .m-shot figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 10px 7px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--paper);
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 0 0 2px 2px;
    transition: opacity 0.25s ease;
  }
  .m-shot.show-popup figcaption {
    opacity: 0;
  }
  .m-shot figcaption .m-tag {
    color: var(--gold);
    font-weight: 500;
    margin-right: 6px;
  }
  @media (max-width: 900px) {
    .montage-gallery { grid-template-columns: repeat(3, 1fr); }
    .motif-gallery { grid-template-columns: repeat(2, 1fr); }
  }

  /* R14.1 · m-shot hover popup (paper-tone)，承载从 spec-list/case-studies 移过来的案例文本 */
  .m-shot { cursor: zoom-in; }
  .m-shot .m-desc {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-width: 88vw;
    padding: 15px 18px 14px;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    border-radius: 2px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 200;
    font-family: 'Noto Serif SC', 'Bodoni Moda', serif;
    font-size: 12.5px;
    line-height: 1.65;
    font-weight: 300;
  }
  .m-shot .m-desc::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
  }
  .m-shot.show-popup .m-desc {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .m-shot.show-popup.popup-up .m-desc {
    bottom: auto;
    top: calc(100% + 14px);
  }
  .m-shot.show-popup.popup-up .m-desc::after {
    top: auto;
    bottom: 100%;
  }
  .m-shot.show-popup.popup-right .m-desc {
    left: 0;
    right: auto;
    transform: translateX(0);
  }
  .m-shot.show-popup.popup-left .m-desc {
    left: auto;
    right: 0;
    transform: translateX(0);
  }
  .m-shot .m-desc strong {
    display: block;
    font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blood);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(184,35,28,0.18);
  }
  .m-shot .m-desc em {
    font-style: italic;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    color: var(--blood);
    font-size: 13px;
  }
  .m-shot .m-desc a.ext-link {
    color: var(--blood);
    text-decoration: underline;
    text-decoration-color: rgba(184,35,28,0.4);
    text-underline-offset: 2px;
    pointer-events: auto;
  }
  .m-shot .m-desc a.ext-link:hover {
    color: #5b1a16;
    text-decoration-color: var(--blood);
  }

  /* lede 末尾"悬停下图..."提示 */
  .montage-hint {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border: 1px dashed rgba(198,154,75,0.5);
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-style: normal;
    text-transform: uppercase;
    vertical-align: middle;
  }

  .motif-method { margin-top: 22px; }

  /* R13.5 · Cinema footer decoration —— 短页填底 */
  .slide-footer-deco {
    position: absolute;
    bottom: 92px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.32;
    pointer-events: none;
    z-index: 5;
    width: max-content;
    max-width: 60vw;
    user-select: none;
  }
  .slide-footer-deco .deco-perfs {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .slide-footer-deco .deco-perf {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 4px rgba(198,154,75,0.6);
  }
  .slide-footer-deco .deco-perf:nth-child(odd) {
    opacity: 0.55;
  }
  .slide-footer-deco .deco-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.34em;
    color: var(--gold);
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
  }


  /* ===== R11 §4.2 五种人像布光 lighting-pattern cards ===== */
  .lighting-pattern {
    margin: 0;
    background: rgba(20,16,9,0.5);
    border: 1px solid rgba(198,154,75,0.18);
    border-radius: 2px;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .lighting-pattern svg,
  .lighting-pattern img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    background: radial-gradient(ellipse at center, rgba(10,8,5,0.6), rgba(10,8,5,0.9));
    border-radius: 2px;
    object-fit: cover;
    object-position: center 28%;
  }
  .lighting-pattern figcaption { display: flex; flex-direction: column; gap: 4px; }
  .lighting-pattern .lp-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 2.2px;
    color: var(--gold);
  }
  .lighting-pattern h5 {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--paper);
    letter-spacing: 0.5px;
  }
  .lighting-pattern p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--paper-dim);
  }
  .lighting-pattern p strong { color: var(--paper); font-weight: 500; }
  .lighting-pattern p a.ext-link { color: var(--gold); }
  @media (max-width: 1100px) {
    .slide-lighting .lighting-pattern + .lighting-pattern + .lighting-pattern + .lighting-pattern + .lighting-pattern { display: none; }
    .slide-lighting > .centered-col > .reveal > div[style*="repeat(5"] { grid-template-columns: repeat(4, 1fr) !important; }
  }
  @media (max-width: 820px) {
    .slide-lighting > .centered-col > .reveal > div[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
    .slide-lighting .lighting-pattern + .lighting-pattern + .lighting-pattern + .lighting-pattern + .lighting-pattern { display: flex; }
  }

  /* ===== R11 §4.4 调度四层 dispatch-layers cards ===== */
  .dispatch-layers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
  }
  .dispatch-layers .layer {
    border-top: 2px solid var(--gold);
    padding: 12px 14px;
    background: rgba(20,16,9,0.55);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .dispatch-layers .layer .lnum {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--gold);
    opacity: 0.85;
  }
  .dispatch-layers .layer h5 {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    color: var(--paper);
  }
  .dispatch-layers .layer .en {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--paper-dim);
    opacity: 0.7;
    margin-bottom: 4px;
  }
  .dispatch-layers .layer p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--paper-dim);
  }
  @media (max-width: 1000px) { .dispatch-layers { grid-template-columns: repeat(2, 1fr); } }

  /* ===== R11 §6.4b 视觉剧本 5-step ===== */
  .vs-step {
    background: rgba(20,16,9,0.55);
    border: 1px solid rgba(198,154,75,0.18);
    border-top: 3px solid var(--gold);
    border-radius: 2px;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }
  .vs-step .vs-num {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.85;
    font-weight: 600;
  }
  .vs-step .vs-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 2.2px;
    color: var(--paper-dim);
    opacity: 0.7;
  }
  .vs-step h4 {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    color: var(--paper);
    letter-spacing: 0.4px;
  }
  .vs-step p {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--paper-dim);
  }
  .vs-step p strong { color: var(--paper); font-weight: 500; }
  .vs-step p em { color: var(--gold); font-style: italic; }
  @media (max-width: 1100px) {
    section.slide > .reveal > div[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
  }
  @media (max-width: 760px) {
    section.slide > .reveal > div[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  }

  /* ===== R12 §3.0 Kuleshov experiment montage ===== */
  .kuleshov-experiment {
    display: grid;
    grid-template-columns: 1fr 2.4fr;
    gap: 18px;
    margin-top: 8px;
  }
  .kuleshov-experiment .kx-face {
    margin: 0;
    border: 1px solid rgba(198,154,75,0.28);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(20,16,9,0.55);
    display: flex;
    flex-direction: column;
  }
  .kuleshov-experiment .kx-face img,
  .kuleshov-experiment .kx-face video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    filter: contrast(1.04);
  }
  .kuleshov-experiment .kx-face figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 2px;
    color: var(--gold);
  }
  .kuleshov-experiment .kx-face .kx-arrow {
    font-size: 16px;
    color: var(--gold);
    opacity: 0.85;
  }
  .kuleshov-experiment .kx-reactions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .kuleshov-experiment .kx-cell {
    margin: 0;
    border: 1px solid rgba(198,154,75,0.18);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(20,16,9,0.55);
    display: flex;
    flex-direction: column;
  }
  .kuleshov-experiment .kx-cell img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }
  .kuleshov-experiment .kx-cell figcaption {
    padding: 7px 11px 9px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .kuleshov-experiment .kx-cap {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 1.8px;
    color: var(--paper-dim);
    opacity: 0.75;
  }
  .kuleshov-experiment .kx-verdict {
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    color: var(--paper);
  }
  .kuleshov-experiment .kx-verdict em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
  }
  @media (max-width: 1000px) {
    .kuleshov-experiment { grid-template-columns: 1fr; }
    .kuleshov-experiment .kx-reactions { grid-template-columns: repeat(3, 1fr); }
  }

  /* ===== R12 §1.1b lens-card with hero image ===== */
  .lens-card { padding-top: 0 !important; overflow: hidden; }
  .lens-card .lens-img {
    width: calc(100% + 32px);
    margin: 0 -16px 10px;
    height: 105px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(198,154,75,0.18);
  }
  .card-grid.card-compact .card.lens-card { padding: 0 16px 12px; }
  .card-grid.card-compact .card.lens-card .num { margin-top: 6px; font-size: 9.5px; }
  .card-grid.card-compact .card.lens-card h4 { font-size: 14px; }
  .card-grid.card-compact .card.lens-card > p { font-size: 11.5px; line-height: 1.55; }

  /* ===== R12 §1.1b dof-strip 3-image ===== */
  .dof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 4px;
  }
  .dof-strip figure {
    margin: 0;
    background: rgba(20,16,9,0.55);
    border: 1px solid rgba(198,154,75,0.18);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .dof-strip img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    display: block;
  }
  .dof-strip figcaption {
    padding: 6px 10px 8px;
    font-size: 11.5px;
    color: var(--paper-dim);
    line-height: 1.5;
  }
  .dof-strip .d-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--gold);
    margin-right: 4px;
  }

  /* ===== R12 §2.3 longtake-strip 4-image ===== */
  .longtake-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 0 12px;
  }
  .longtake-strip figure {
    margin: 0;
    border: 1px solid rgba(198,154,75,0.18);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(20,16,9,0.5);
  }
  .longtake-strip img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
  }
  .longtake-strip figcaption {
    padding: 5px 9px 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--gold);
    opacity: 0.85;
    text-align: center;
  }

  /* ===== R12 §1.3 axis demo video ===== */
  .axis-demo-vid {
    margin: 14px 0 0;
    border: 1px solid rgba(198,154,75,0.22);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(20,16,9,0.55);
  }
  .axis-demo-vid video {
    width: 100%;
    height: 105px;
    object-fit: cover;
    display: block;
  }
  .axis-demo-vid figcaption {
    padding: 6px 12px 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 1.2px;
    color: var(--paper-dim);
    opacity: 0.85;
  }

  /* ===== R12 §1.3 bottom row: video + side-note ===== */
  .axis-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 18px;
    margin-top: 16px;
    align-items: stretch;
  }
  .axis-bottom-row .axis-demo-vid { margin: 0; display: flex; flex-direction: column; }
  .axis-bottom-row .axis-demo-vid video { height: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; }
  .axis-bottom-row .axis-demo-vid figcaption { flex: 1 1 auto; display: flex; align-items: center; }

  /* ===== R12.1 §1.3 axis page rebalanced layout ===== */
  .axis-2col {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
    margin-top: 14px;
  }
  .axis-2col .axis-left {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .axis-2col .axis-left .lede { font-size: 16px; line-height: 1.65; margin: 0; }
  .axis-2col .axis-left .side-note { margin-top: 16px; }
  .axis-2col .axis-left .axis-method {
    font-size: 12.5px;
    line-height: 1.7;
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(198,154,75,0.06);
    border-left: 2px solid var(--gold);
    border-radius: 2px;
  }
  .axis-2col .axis-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .axis-2col .axis-right .axis-diagram {
    width: 100%;
    max-height: 320px;
    height: auto;
    display: block;
  }
  @media (max-width: 1000px) {
    .axis-2col { grid-template-columns: 1fr; }
  }

  /* ===== R12.2 §1.3 axis page: 4-col text strip + 2-col media strip ===== */
  .axis-textrow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
  }
  .axis-cell {
    background: rgba(20,16,9,0.55);
    border: 1px solid rgba(198,154,75,0.18);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .axis-cell .axis-cell-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.4px;
    color: var(--gold);
    opacity: 0.85;
  }
  .axis-cell p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--paper-dim);
  }
  .axis-cell p strong { color: var(--paper); font-weight: 600; }
  .axis-cell p em { color: var(--gold); font-style: italic; }
  .axis-cell .ink-mark { color: var(--paper); }
  .axis-cell-rule { border-top-color: var(--blood); }
  .axis-cell-rule .axis-cell-label { color: var(--blood); }

  .axis-mediarow {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 18px;
    margin-top: 18px;
    align-items: stretch;
  }
  .axis-svg-cell {
    background: rgba(20,16,9,0.55);
    border: 1px solid rgba(198,154,75,0.18);
    border-radius: 2px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .axis-svg-cell .axis-diagram {
    width: 100%;
    max-height: 320px;
    height: auto;
    display: block;
  }
  .axis-mediarow .axis-vid-cell {
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  .axis-mediarow .axis-vid-cell video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    object-fit: cover;
    flex: 0 0 auto;
    display: block;
  }
  .axis-mediarow .axis-vid-cell figcaption {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }
  @media (max-width: 1100px) {
    .axis-textrow { grid-template-columns: repeat(2, 1fr); }
    .axis-mediarow { grid-template-columns: 1fr; }
  }

  /* ============================================================
     R13 · 内容页统一容器（2026-05-28）
     ------------------------------------------------------------
     问题：原 deck 内容页混用三种容器（默认 .slide / .slide-centered /
     .slide-lighting+color 局部撤覆盖），导致页宽和标题垂直位置漂移。
     方案：除「章节封面（.chapter-slide）+ 站点封面（.cover）」外，
     所有 slide 内容页统一为：
       · 顶端对齐（justify-content: flex-start）
       · padding: 72px 7vw 56px
       · 直接子内容元素 max-width: 1120px / margin auto 居中
     eyebrow → heading → lede 恒定基线，不再随内容长度上下漂移。
     ============================================================ */
  .slide:not(.chapter-slide):not(.cover) {
    justify-content: flex-start;
    padding: 72px 7vw 56px;
  }

  /* 直接子元素统一中宽（排除绝对定位层 + 全屏背景 + lightbox） */
  .slide:not(.chapter-slide):not(.cover) > *:not(.hero-bg):not(.hero-bg-video):not(.hero-veil):not(.hero-layer-bg):not(.hero-layer-veil):not(.frame-corners):not(.slide-bottom-img):not(.bottom-band):not(.compo-lightbox):not(.kuleshov-overlay):not(.slide-footer-deco) {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* slide-centered 列容器跟随新基线 880 → 1120；
     同时撤销 §4.2/§4.3 之前 max-width: none 的局部覆盖 */
  .slide.slide-centered .centered-col,
  .slide.slide-centered.slide-lighting .centered-col,
  .slide.slide-centered.slide-color .centered-col {
    max-width: 1120px;
  }

  /* 小屏断点对齐 */
  @media (max-width: 720px) {
    .slide:not(.chapter-slide):not(.cover) {
      padding: 56px 6vw 48px;
    }
  }

  /* ===== R15 章末·思考+观影 ===== */
  .think-q {
    margin-top: 22px;
    padding: 16px 22px 16px 24px;
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(196, 153, 84, 0.07), rgba(196, 153, 84, 0.0));
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  .think-q-tag {
    flex: 0 0 auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    padding-top: 4px;
    white-space: nowrap;
  }
  .think-q-text {
    margin: 0;
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: var(--paper);
  }
  .think-q-text strong {
    font-style: normal;
    color: var(--gold);
  }

  .watchlist-title {
    margin: 28px 0 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--gold);
    font-weight: 400;
  }
  .watchlist-hint {
    margin: 0 0 16px;
    font-size: 12px;
    color: var(--paper-dim);
  }
  .watchlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .watch-card {
    margin: 0;
    padding: 14px 16px 14px;
    border: 1px solid rgba(196, 153, 84, 0.22);
    border-top: 2px solid var(--gold);
    background: rgba(20, 18, 14, 0.55);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s, transform 0.2s;
  }
  .watch-card:hover {
    background: rgba(28, 24, 18, 0.78);
    transform: translateY(-2px);
  }
  .wc-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.85;
  }
  .wc-meta .wc-tc {
    color: rgba(196, 153, 84, 0.65);
  }
  .wc-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.3;
  }
  .wc-title .wc-orig {
    display: block;
    font-size: 10.5px;
    color: var(--paper-dim);
    font-weight: 400;
    margin-top: 2px;
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 0.02em;
  }
  .wc-dir {
    font-size: 11px;
    color: var(--paper-dim);
    letter-spacing: 0.04em;
  }
  .wc-scene {
    margin: 4px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(245, 233, 210, 0.78);
  }
  .wc-scene em {
    color: var(--gold);
    font-style: normal;
  }
  @media (max-width: 980px) {
    .watchlist-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .watchlist-grid { grid-template-columns: 1fr; }
  }

  /* ===== R15 §0 序章 ===== */
  .slide.prologue {
    background:
      radial-gradient(ellipse at 18% 12%, rgba(196, 153, 84, 0.10), transparent 55%),
      radial-gradient(ellipse at 85% 90%, rgba(196, 153, 84, 0.06), transparent 60%),
      var(--ink, #0c0a07);
  }
  .prologue-col {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
  }
  .prologue-answer {
    margin: 18px 0 8px;
    font-family: 'EB Garamond', 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.45;
    font-style: italic;
    color: var(--paper);
    max-width: 900px;
    letter-spacing: 0.01em;
  }
  .prologue-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0 18px;
  }
  .pthree-card {
    padding: 16px 18px 18px;
    border: 1px solid rgba(196, 153, 84, 0.22);
    border-top: 2px solid var(--gold);
    background: rgba(20, 18, 14, 0.55);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s, transform 0.2s;
  }
  .pthree-card:hover {
    background: rgba(28, 24, 18, 0.78);
    transform: translateY(-2px);
  }
  .pthree-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    opacity: 0.85;
  }
  .pthree-card h4 {
    margin: 4px 0 4px;
    font-size: 16px;
    color: var(--paper);
    line-height: 1.3;
  }
  .pthree-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(245, 233, 210, 0.82);
  }
  .pthree-card p em {
    color: var(--gold);
    font-style: normal;
  }
  .prologue-footnote {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(196, 153, 84, 0.18);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--paper-dim);
  }
  .prologue-footnote em {
    color: var(--gold);
    font-style: italic;
  }
  @media (max-width: 980px) {
    .prologue-three { grid-template-columns: 1fr; }
  }

  /* ===== R16 §5.4 导演风格诊断卡 ===== */
  .diag-slide .lede {
    max-width: 980px;
    margin-top: 6px;
  }
  .diag-body {
    margin-top: 22px;
    max-width: 1120px;
  }
  .diag-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 10px;
    margin-bottom: 18px;
  }
  .diag-chip {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 8px 14px;
    border: 1px solid rgba(196, 153, 84, 0.32);
    background: rgba(20, 18, 14, 0.55);
    color: var(--paper-dim);
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    border-radius: 2px;
    transition: all 0.18s ease;
    user-select: none;
  }
  .diag-chip:hover {
    border-color: var(--gold);
    color: var(--paper);
  }
  .diag-chip.on {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1612;
    font-weight: 600;
    box-shadow: 0 1px 8px rgba(196, 153, 84, 0.35);
  }
  .diag-chip .diag-chip-en {
    display: inline-block;
    margin-right: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.75;
    transform: translateY(-1px);
  }
  .diag-chip.on .diag-chip-en {
    color: rgba(26, 22, 18, 0.7);
    opacity: 1;
  }

  .diag-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(196, 153, 84, 0.22);
  }
  .diag-run, .diag-reset {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #1a1612;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 2px;
    transition: all 0.18s ease;
  }
  .diag-run:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,153,84,0.35); }
  .diag-run:disabled, .diag-run.disabled {
    background: transparent;
    color: rgba(196, 153, 84, 0.55);
    border-color: rgba(196, 153, 84, 0.32);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
  .diag-reset {
    background: transparent;
    color: var(--gold);
  }
  .diag-reset:hover { background: rgba(196, 153, 84, 0.12); }
  .diag-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--paper-dim);
  }
  .diag-count strong {
    color: var(--gold);
    font-weight: 400;
  }

  .diag-result {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 18px;
    align-items: start;
    animation: diagFade 0.4s ease backwards;
  }
  .diag-result[hidden] { display: none !important; }
  @keyframes diagFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .diag-arche, .diag-watch, .diag-second {
    background: rgba(20, 18, 14, 0.65);
    border-left: 2px solid var(--gold);
    padding: 16px 20px 18px;
  }
  .diag-watch { background: rgba(20, 18, 14, 0.45); }
  .diag-second {
    grid-column: 1 / -1;
    border-left-color: rgba(196, 153, 84, 0.35);
    padding: 10px 20px 12px;
    background: rgba(20, 18, 14, 0.35);
    display: flex;
    gap: 12px;
    align-items: baseline;
  }
  .diag-pill {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin-bottom: 6px;
  }
  .diag-pill-faint { color: rgba(196, 153, 84, 0.55); margin-bottom: 0; }
  .diag-name {
    margin: 0 0 8px;
    font-family: 'Bodoni Moda', 'EB Garamond', serif;
    font-size: clamp(24px, 2.4vw, 32px);
    color: var(--paper);
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .diag-name .diag-name-en {
    display: block;
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--paper-dim);
    letter-spacing: 0.02em;
    margin-top: 2px;
  }
  .diag-bio {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(245, 233, 210, 0.85);
  }
  .diag-bio em { color: var(--gold); font-style: normal; }
  .diag-rec {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(245, 233, 210, 0.82);
  }
  .diag-rec strong {
    display: block;
    font-size: 15px;
    color: var(--paper);
    margin-bottom: 4px;
  }
  .diag-rec strong em {
    font-style: italic;
    font-weight: 400;
    color: var(--paper-dim);
    font-size: 12px;
    margin-left: 4px;
    letter-spacing: 0.02em;
  }
  .diag-second-name {
    font-size: 13px;
    color: var(--paper-dim);
  }
  .diag-second-name strong {
    color: var(--paper);
    font-weight: 600;
    margin-right: 6px;
  }
  .diag-second-name em {
    color: var(--gold);
    font-style: normal;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  @media (max-width: 820px) {
    .diag-result { grid-template-columns: 1fr; }
  }

  /* ===== R17 Glossary 单页 ===== */
  .glossary-slide {
    overflow-y: auto;
  }
  .glossary-slide .lede { max-width: 1120px; }
  .glossary-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(196, 153, 84, 0.22);
    max-width: 1120px;
  }
  .glossary-search {
    flex: 0 1 320px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(20, 18, 14, 0.6);
    border: 1px solid rgba(196, 153, 84, 0.32);
    color: var(--paper);
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 9px 14px;
    border-radius: 2px;
    transition: border-color 0.2s;
    outline: none;
  }
  .glossary-search::placeholder { color: rgba(245,233,210,0.45); }
  .glossary-search:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196,153,84,0.14);
  }
  .glossary-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .gl-filter {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(196, 153, 84, 0.28);
    color: var(--paper-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    padding: 6px 11px;
    border-radius: 2px;
    transition: all 0.16s;
  }
  .gl-filter:hover {
    border-color: var(--gold);
    color: var(--paper);
  }
  .gl-filter.on {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1612;
    font-weight: 600;
  }
  .gl-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--paper-dim);
  }
  .gl-count strong { color: var(--gold); font-weight: 400; }

  .glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    max-width: 1120px;
  }
  @media (max-width: 720px) {
    .glossary-grid { grid-template-columns: 1fr; }
  }
  .gl-letter {
    grid-column: 1 / -1;
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 38px;
    color: rgba(196, 153, 84, 0.55);
    line-height: 1;
    margin: 18px 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(196, 153, 84, 0.18);
    letter-spacing: 0.06em;
  }
  .gl-card {
    padding: 13px 16px 14px;
    border: 1px solid rgba(196, 153, 84, 0.2);
    border-left: 2px solid var(--gold);
    background: rgba(20, 18, 14, 0.55);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s, transform 0.2s;
  }
  .gl-card:hover {
    background: rgba(28, 24, 18, 0.78);
    transform: translateY(-2px);
  }
  .gl-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.85;
  }
  .gl-anchor {
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    opacity: 0.55;
    transition: opacity 0.2s;
  }
  .gl-anchor:hover { opacity: 1; }
  .gl-zh {
    margin: 2px 0 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.25;
  }
  .gl-en {
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12.5px;
    color: var(--paper-dim);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
  }
  .gl-def {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(245, 233, 210, 0.82);
  }
  .gl-def em {
    color: var(--gold);
    font-style: normal;
  }
  .glossary-empty {
    padding: 32px 24px;
    text-align: center;
    color: var(--paper-dim);
    font-style: italic;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    border: 1px dashed rgba(196, 153, 84, 0.22);
    border-radius: 2px;
    max-width: 600px;
    margin: 24px auto;
  }
  /* drawer separator between chapters and glossary */
  .toc-drawer ul li.toc-sep {
    height: 1px;
    background: rgba(196, 153, 84, 0.18);
    margin: 10px 4px;
    pointer-events: none;
  }

  /* ===== R18 §5.5 大师识别 quiz ===== */
  .quiz-body {
    max-width: 1120px;
    margin-top: 12px;
  }
  .quiz-stage[hidden], .quiz-end[hidden] { display: none !important; }

  .quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(196, 153, 84, 0.18);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--paper-dim);
  }
  .quiz-meta strong {
    color: var(--gold);
    font-weight: 400;
    font-size: 14px;
    padding: 0 4px;
  }

  .quiz-still {
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid rgba(196, 153, 84, 0.25);
    border-radius: 2px;
    background: rgba(20, 18, 14, 0.55);
    display: flex;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .quiz-still img {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: filter 0.3s;
  }
  .quiz-still.correct {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 4px 24px rgba(196,153,84,0.25);
  }
  .quiz-still.wrong {
    border-color: var(--blood, #b04646);
    box-shadow: 0 0 0 1px var(--blood, #b04646);
  }

  .quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
  }
  /* after answer: collapse to a single row of dim chips (recap) */
  .quiz-options.answered {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }
  .quiz-options.answered .qo-btn {
    padding: 5px 9px;
    font-size: 11.5px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .quiz-options.answered .qo-btn .qo-en { display: none; }
  .qo-btn {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    text-align: left;
    background: rgba(20, 18, 14, 0.55);
    border: 1px solid rgba(196, 153, 84, 0.28);
    color: var(--paper);
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    padding: 11px 16px;
    border-radius: 2px;
    transition: all 0.18s;
    line-height: 1.35;
  }
  .qo-btn:hover {
    border-color: var(--gold);
    background: rgba(28, 24, 18, 0.78);
    transform: translateX(2px);
  }
  .qo-btn:disabled { cursor: default; transform: none; }
  .qo-btn .qo-en {
    display: block;
    font-family: 'EB Garamond', 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 11px;
    color: var(--paper-dim);
    margin-top: 2px;
    letter-spacing: 0.02em;
  }
  .qo-btn.correct {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1612;
    font-weight: 600;
  }
  .qo-btn.correct .qo-en { color: rgba(26,22,18,0.7); }
  .qo-btn.wrong {
    background: rgba(176, 70, 70, 0.18);
    border-color: var(--blood, #b04646);
    color: var(--paper);
  }
  .qo-btn.dim {
    opacity: 0.45;
  }

  .quiz-feedback {
    background: rgba(20, 18, 14, 0.55);
    border-left: 2px solid var(--gold);
    padding: 12px 18px 14px;
    animation: diagFade 0.35s ease backwards;
  }
  .qf-verdict {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.28em;
    margin-bottom: 6px;
  }
  .qf-verdict.correct { color: var(--gold); }
  .qf-verdict.wrong { color: var(--blood, #b04646); }
  .qf-reveal {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(245, 233, 210, 0.85);
    margin-bottom: 10px;
  }
  .qf-reveal strong { color: var(--paper); font-weight: 600; }
  .qf-reveal em { color: var(--gold); font-style: normal; }
  .quiz-next, .quiz-restart {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background: var(--gold);
    color: #1a1612;
    border: 1px solid var(--gold);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 2px;
    transition: all 0.18s;
  }
  .quiz-next:hover, .quiz-restart:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196,153,84,0.35);
  }

  .quiz-end {
    text-align: center;
    padding: 40px 0 24px;
  }
  .qe-score-big {
    font-family: 'Bodoni Moda', 'EB Garamond', serif;
    font-size: clamp(72px, 9vw, 120px);
    line-height: 1;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .qe-score-big .qe-total {
    font-size: 0.45em;
    color: var(--paper-dim);
    font-weight: 400;
    margin-left: 8px;
    letter-spacing: 0;
  }
  .qe-verdict {
    margin: 16px auto 24px;
    max-width: 640px;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: var(--paper);
  }
  .qe-verdict em { color: var(--gold); font-style: normal; }

  @media (max-width: 640px) {
    .quiz-options { grid-template-columns: 1fr; }
  }

  /* R20 §1.1d 景别 quiz: 6 选项 3×2 grid */
  .quiz-options.shotsize-options {
    grid-template-columns: repeat(3, 1fr);
  }
  .quiz-options.shotsize-options.answered {
    grid-template-columns: repeat(6, 1fr);
  }
  @media (max-width: 640px) {
    .quiz-options.shotsize-options { grid-template-columns: 1fr; }
  }
