/* Zhaozhou shouts Fire: left, the passage beat by beat; right, the stage (canvas) with sky cards. */
[data-slide-id="zhaozhou-fire"] .zf-layout { display: grid; grid-template-rows: auto 1fr auto; gap: 1.1cqw; width: 37.4cqw; height: 100%; padding: 2.9cqw 0 2cqw 4.4cqw; }
[data-slide-id="zhaozhou-fire"] .scene-eyebrow { margin-bottom: .7cqw; }
[data-slide-id="zhaozhou-fire"] .scene-title { margin: 0; font-size: 4.3cqw; line-height: .95; }
[data-slide-id="zhaozhou-fire"] .zf-citation { margin: .7cqw 0 0; color: var(--muted); font-size: .86cqw; line-height: 1.5; }
[data-slide-id="zhaozhou-fire"] .zf-citation strong { color: var(--ink); font: 600 .8cqw var(--mono); }
[data-slide-id="zhaozhou-fire"] .zf-beats { display: grid; align-content: center; gap: .42cqw; margin: 0; padding: 0; list-style: none; counter-reset: zf; }
[data-slide-id="zhaozhou-fire"] .zf-beat { position: relative; padding: .42cqw .8cqw .46cqw 2.3cqw; border-left: .2cqw solid var(--line); background: color-mix(in srgb, var(--panel) 90%, transparent); counter-increment: zf; }
[data-slide-id="zhaozhou-fire"] .zf-beat::before { content: counter(zf); position: absolute; left: .6cqw; top: .55cqw; color: var(--accent); font: 700 .78cqw var(--mono); }
[data-slide-id="zhaozhou-fire"] .zf-zh { margin: 0 0 .12cqw; font: 500 1.24cqw/1.4 var(--serif); letter-spacing: .04em; color: var(--ink); }
[data-slide-id="zhaozhou-fire"] .zf-en { margin: 0; color: var(--muted); font-size: .95cqw; line-height: 1.4; }
[data-slide-id="zhaozhou-fire"][data-step="0"] .zf-beat:nth-child(1), [data-slide-id="zhaozhou-fire"][data-step="1"] .zf-beat:nth-child(2), [data-slide-id="zhaozhou-fire"][data-step="2"] .zf-beat:nth-child(3), [data-slide-id="zhaozhou-fire"][data-step="3"] .zf-beat:nth-child(4), [data-slide-id="zhaozhou-fire"][data-step="4"] .zf-beat:nth-child(5), [data-slide-id="zhaozhou-fire"][data-step="5"] .zf-beat:nth-child(6), [data-slide-id="zhaozhou-fire"][data-step="6"] .zf-beat:nth-child(7) { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
[data-slide-id="zhaozhou-fire"] .zf-footer { margin-top: 0; padding-top: .9cqw; }
[data-slide-id="zhaozhou-fire"] .zf-footer a { font-weight: 700; text-decoration-color: var(--accent); }

/* Sky cards over the stage (static; nothing animates beneath them). */
[data-slide-id="zhaozhou-fire"] .zf-card { position: absolute; top: 2.6cqw; padding: .85cqw 1.05cqw; border: 1px solid var(--line); border-radius: .45cqw; background: color-mix(in srgb, var(--panel-strong) 95%, transparent); box-shadow: 0 .6cqw 1.6cqw color-mix(in srgb, var(--shadow) 60%, transparent); }
[data-slide-id="zhaozhou-fire"] .zf-card-label { margin: 0 0 .5cqw; color: var(--accent); font: 800 .72cqw var(--sans); letter-spacing: .1em; text-transform: uppercase; }
[data-slide-id="zhaozhou-fire"] .zf-card-label span, [data-slide-id="zhaozhou-fire"] .zf-card-label strong { color: var(--muted); font-weight: 600; letter-spacing: .02em; text-transform: none; }
[data-slide-id="zhaozhou-fire"] .zf-card-label strong { font-family: var(--mono); }
[data-slide-id="zhaozhou-fire"] .zf-reading { left: 66.6cqw; width: 30.4cqw; border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
[data-slide-id="zhaozhou-fire"] .zf-diagram { display: grid; grid-template-columns: 1fr 1.3cqw 1fr; align-items: stretch; gap: .5cqw; }
[data-slide-id="zhaozhou-fire"] .zf-side { display: grid; justify-items: center; align-content: start; gap: .3cqw; padding: .45cqw .4cqw; border-radius: .3cqw; text-align: center; }
[data-slide-id="zhaozhou-fire"] .zf-side b { font: 800 .7cqw var(--sans); letter-spacing: .12em; text-transform: uppercase; }
[data-slide-id="zhaozhou-fire"] .zf-side small { color: var(--muted); font-size: .78cqw; line-height: 1.3; }
[data-slide-id="zhaozhou-fire"] .zf-side-in { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); }
[data-slide-id="zhaozhou-fire"] .zf-side-out { background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold); }
[data-slide-id="zhaozhou-fire"] .zf-mini-bar { width: 5.2cqw; height: .7cqw; margin-top: .3cqw; border-radius: .15cqw; background: var(--accent); }
[data-slide-id="zhaozhou-fire"] .zf-mini-lock { position: relative; width: 1.2cqw; height: 1cqw; margin-top: .6cqw; border-radius: .15cqw; background: var(--gold); }
[data-slide-id="zhaozhou-fire"] .zf-mini-lock::before { content: ''; position: absolute; left: .22cqw; top: -.55cqw; width: .76cqw; height: .75cqw; border: .16cqw solid var(--gold); border-bottom: 0; border-radius: .5cqw .5cqw 0 0; box-sizing: border-box; }
[data-slide-id="zhaozhou-fire"] .zf-mini-door { border-radius: .15cqw; background: repeating-linear-gradient(90deg, #7a4d2c 0 .55cqw, #5e3a20 .55cqw .65cqw); }
[data-slide-id="zhaozhou-fire"] .zf-reading-note { margin: .55cqw 0 0; color: var(--ink); font-size: .9cqw; line-height: 1.4; }
[data-slide-id="zhaozhou-fire"] .zf-reading-line { margin: .55cqw 0 0; padding-top: .5cqw; border-top: 1px solid var(--line); color: var(--ink); font: 500 1.02cqw/1.4 var(--serif); }
[data-slide-id="zhaozhou-fire"] .zf-variant { left: 39.2cqw; width: 26cqw; }
[data-slide-id="zhaozhou-fire"] .zf-variant-zh { margin: 0 0 .45cqw; color: var(--ink); font: 500 1.08cqw/1.55 var(--serif); letter-spacing: .03em; }
[data-slide-id="zhaozhou-fire"] .zf-variant-en { margin: 0 0 .5cqw; color: var(--ink); font-size: .9cqw; line-height: 1.4; }
[data-slide-id="zhaozhou-fire"] .zf-variant-en em { color: var(--accent); font-style: normal; font-weight: 700; }
[data-slide-id="zhaozhou-fire"] .zf-muted { color: var(--muted); }
[data-slide-id="zhaozhou-fire"] .zf-variant a { font-size: .82cqw; font-weight: 700; text-decoration-color: var(--accent); }

/* Reader fallback picture (hidden while the canvas is live). */
[data-slide-id="zhaozhou-fire"] .zf-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
[data-slide-id="zhaozhou-fire"] .zf-art span { position: absolute; display: block; }
[data-slide-id="zhaozhou-fire"] .zf-art-roof { left: 39cqw; top: 22cqw; width: 31cqw; height: 3.6cqw; border-radius: 40% 40% 0 0 / 100% 100% 0 0; background: color-mix(in srgb, var(--ink) 80%, var(--green)); }
[data-slide-id="zhaozhou-fire"] .zf-art-hall { left: 40.5cqw; top: 25.5cqw; width: 28cqw; height: 17cqw; border: .2cqw solid var(--ink); background: color-mix(in srgb, var(--gold) 14%, var(--panel)); }
[data-slide-id="zhaozhou-fire"] .zf-art-stove { left: 2cqw; bottom: 0; width: 4.5cqw; height: 4cqw; border-radius: .5cqw .5cqw 0 0; background: color-mix(in srgb, var(--accent) 45%, var(--ink)); box-shadow: 0 -1cqw 2cqw color-mix(in srgb, var(--gold) 60%, transparent); }
[data-slide-id="zhaozhou-fire"] .zf-art-window { right: 3.6cqw; top: 1.2cqw; width: 7cqw; height: 3.4cqw; border: .2cqw solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 .9cqw, var(--ink) .9cqw 1.05cqw); }
[data-slide-id="zhaozhou-fire"] .zf-art-door { right: 3.6cqw; bottom: 0; width: 7cqw; height: 11.5cqw; background: #7a4d2c; border: .2cqw solid var(--ink); }
[data-slide-id="zhaozhou-fire"] .zf-art-bar { left: -1.5cqw; top: 5cqw; width: 10cqw; height: .8cqw; border: .12cqw dashed var(--accent); background: color-mix(in srgb, var(--accent) 30%, transparent); }
[data-slide-id="zhaozhou-fire"] .zf-art-key { left: 72cqw; top: 35cqw; width: 3cqw; height: .5cqw; background: var(--gold); border-radius: .3cqw; }
[data-slide-id="zhaozhou-fire"] .zf-art-key::before { content: ''; position: absolute; left: -1cqw; top: -.55cqw; width: 1.2cqw; height: 1.2cqw; border: .3cqw solid var(--gold); border-radius: 50%; box-sizing: border-box; }
[data-slide-id="zhaozhou-fire"] .zf-art-field { left: 76cqw; top: 38.5cqw; width: 18cqw; height: 4cqw; border-radius: 50%; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--green) 60%, transparent) 0 1cqw, transparent 1cqw 2cqw); }

@container (max-width: 700px) {
  [data-slide-id="zhaozhou-fire"] .zf-layout { width: 100%; height: auto; gap: 12px; padding: 26px 20px 20px; }
  [data-slide-id="zhaozhou-fire"] .scene-title { font-size: 38px; }
  [data-slide-id="zhaozhou-fire"] .zf-citation { font-size: 11px; }
  [data-slide-id="zhaozhou-fire"] .zf-citation strong { font-size: 10px; }
  [data-slide-id="zhaozhou-fire"] .zf-beat { padding: 7px 10px 7px 28px; }
  [data-slide-id="zhaozhou-fire"] .zf-beat::before { left: 9px; top: 9px; font-size: 10px; }
  [data-slide-id="zhaozhou-fire"] .zf-zh { font-size: 15px; }
  [data-slide-id="zhaozhou-fire"] .zf-en { font-size: 12px; }
  [data-slide-id="zhaozhou-fire"] .zf-card { position: static; width: auto; padding: 12px 14px; }
  [data-slide-id="zhaozhou-fire"] .zf-card-label { font-size: 10px; }
  [data-slide-id="zhaozhou-fire"] .zf-side b { font-size: 9px; }
  [data-slide-id="zhaozhou-fire"] .zf-side small, [data-slide-id="zhaozhou-fire"] .zf-reading-note, [data-slide-id="zhaozhou-fire"] .zf-variant-en, [data-slide-id="zhaozhou-fire"] .zf-variant a { font-size: 12px; }
  [data-slide-id="zhaozhou-fire"] .zf-mini-bar { width: 60px; height: 8px; }
  [data-slide-id="zhaozhou-fire"] .zf-mini-lock { width: 14px; height: 12px; margin-top: 10px; }
  [data-slide-id="zhaozhou-fire"] .zf-mini-lock::before { left: 3px; top: -7px; width: 9px; height: 9px; border-width: 2px; }
  [data-slide-id="zhaozhou-fire"] .zf-diagram { grid-template-columns: 1fr 14px 1fr; }
  [data-slide-id="zhaozhou-fire"] .zf-reading-line, [data-slide-id="zhaozhou-fire"] .zf-variant-zh { font-size: 14px; }
  [data-slide-id="zhaozhou-fire"] .zf-art { display: none; }
  [data-slide-id="zhaozhou-fire"] .zf-footer { font-size: 11px; }
}
