/* TERESA ARC · THE GUNS ARE PAINTED (2026-10-22, the author's art in
   assets/images/scenes/teresa/guns/ — sources in src/, the second round in
   src/redo/, the first round's cel-shaded cut-outs in src/prev/). The two scenes
   that drew the weapon as CSS blocks keep their DOM and their states; the blocks
   wear the pictures. Loads after teresa-street.css and teresa-fight.css. The list
   the art was made to: IFBClaudeFIles/TERESA_GUN_ART_LIST.md.
   The arc's rule stands — a man is a shape, never a face: both men came back
   with the head down, the face in the hair / under the cap, so the shadow the
   first round needed is gone. */

/* ── 1 · "The Hand" — the called shot on Dark Street (#tzShot) ──
   Second take (2026-10-22, the author's three plates in the bike / Luber illustration style, daylight
   as the text has it — "Dark Street with the sun up", 14:40): no cut-outs to line up. The scene opens on
   the wide plate from behind the pallets (dark_street_1, ::before, 1.5 s), cuts to his hand coming out of
   the jacket (dark_street_2) where the sight lives, and the shot cuts to the sidewalk after
   (dark_street_3). .tzs-gun is no picture now, only the place of his hand in plate 2, so the sight's
   drift (scene-teresa-street.js reads its offsets) aims at the painted hand. Our .38 from the first
   person is revolver_fp, its front sight on the bead. Sources in guns/src/street2, the night take's
   layers in guns/src/prev3. */
#tzShot {
  container-type: size;
  background: #2a2220 url('../assets/images/scenes/teresa/guns/dark_street_2.jpg') center / cover no-repeat;
}
#tzShot > * { --s: max(calc(100cqw / 1920), calc(100cqh / 1080)); }
#tzShot::before {                       /* the wide plate: the street from behind the pallets, then the cut */
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: #2a2220 url('../assets/images/scenes/teresa/guns/dark_street_1.jpg') center / cover no-repeat;
  animation: tzsWide 2s ease forwards;
}
@keyframes tzsWide { 0%, 72% { opacity: 1; } 100% { opacity: 0; } }
#tzShot .tzs-say, #tzShot .tzs-ammo, #tzShot .tzs-chip { z-index: 5; }
#tzShot .tzs-flash { z-index: 4; }
#tzShot .tzs-window, #tzShot .tzs-door, #tzShot .tzs-man { display: none; }
#tzShot .tzs-gun, #tzShot.tzs-fired .tzs-gun {          /* his hand with the pistol in plate 2 — the sight's target */
  left: calc(50% + (1166 - 960) * var(--s)); top: calc(50% + (540 - 540) * var(--s)); width: calc(172 * var(--s)); height: calc(109 * var(--s)); right: auto; bottom: auto; border-radius: 0; background: none; transform: none; opacity: 1; transition: none;
}
#tzShot.tzs-fired {                     /* the shot cuts to the sidewalk after (the flash covers the cut) */
  background-image: url('../assets/images/scenes/teresa/guns/dark_street_3.jpg');
}
#tzShot .tzs-sight { z-index: 3; }
#tzShot.tzs-fired .tzs-sight { opacity: 0; transition: opacity .3s ease .35s; }
#tzShot .tzs-sight::before {            /* the bead, on the top of the front sight */
  left: calc(-5 * var(--s)); top: calc(-5 * var(--s)); width: calc(10 * var(--s)); height: calc(10 * var(--s));
}
#tzShot .tzs-sight::after {             /* our .38, the snub revolver, from the first person: its front sight on the bead */
  left: calc(-625 * var(--s)); top: calc(-59 * var(--s)); width: calc(1254 * var(--s)); height: calc(706 * var(--s));   /* big enough that the hands reach the bottom edge even when the eye goes up to his face */
  border-radius: 0; filter: none;
  background: url('../assets/images/scenes/teresa/guns/revolver_fp.webp') center top / 100% 100% no-repeat;
}

/* ── 2 · "Two inches" — FIRE / HOLD on LEVEL THREE (#tzKill) ──
   Second take (2026-10-22): two whole frames in the gunmetal of the arc, daylight 13:15 — level3_1 (the
   gray sedan nose-in, trunk open, the bag on the lip, the pillar, Bracco against the rear tire, his
   pistol on the concrete, the driver at the wall) and level3_2 (the same frame, him slumped). His flat
   hand is cut from level3_1's own pixels (level3_flathand) and the plate under it filled with the
   concrete (src/level3_2nd/hand_job.js), so on "two inches" the hand that slides is his. The first
   take's collage in src/prev4. */
#tzKill {
  container-type: size;
  background: #1c1e22 url('../assets/images/scenes/teresa/guns/level3_1.jpg') center / cover no-repeat;
}
#tzKill > * { --s: max(calc(100cqw / 1920), calc(100cqh / 1080)); }
#tzKill.tzk-fired, #tzKill.tzk-hers { background-image: url('../assets/images/scenes/teresa/guns/level3_2.jpg'); }
#tzKill .tzk-floor, #tzKill .tzk-tire, #tzKill .tzk-car, #tzKill .tzk-man, #tzKill .tzk-gun { display: none; }
#tzKill .tzk-hand {                     /* his flat hand, out of the frame itself */
  left: calc(50% + (1186 - 960) * var(--s)); top: calc(50% + (700 - 540) * var(--s)); width: calc(230 * var(--s)); height: calc(138 * var(--s)); right: auto; bottom: auto; z-index: 1; border-radius: 0; transform: none;
  background: url('../assets/images/scenes/teresa/guns/level3_flathand.webp') center / 100% 100% no-repeat;
  transition: left .9s cubic-bezier(.3, .8, .3, 1), opacity .25s ease;
}
#tzKill.tzk-reach .tzk-hand { left: calc(50% + (1209 - 960) * var(--s)); }   /* two inches, toward the pistol */
#tzKill.tzk-fired .tzk-hand, #tzKill.tzk-hers .tzk-hand { opacity: 0; transition: opacity .05s; }   /* the flash covers the cut */
#tzKill .tzk-sight, #tzKill .tzk-flash, #tzKill .tzk-side, #tzKill .tzk-say, #tzKill .tzk-choices { z-index: 2; }
#tzKill .tzk-sight { left: calc(50% + (1045 - 960) * var(--s)); top: calc(50% + (590 - 540) * var(--s)); }   /* on his chest */
#tzKill .tzk-sight::before {             /* the bead */
  left: calc(-5 * var(--s)); top: calc(-5 * var(--s)); width: calc(10 * var(--s)); height: calc(10 * var(--s)); border-radius: 50%; box-shadow: none;
  background: radial-gradient(circle at 40% 35%, #f0d58f, #9b7a33);   /* "the little brass bead" — the text keeps it brass */
}
#tzKill .tzk-sight::after {              /* our .38 from the first person — the same as on Dark Street */
  left: calc(-625 * var(--s)); top: calc(-59 * var(--s)); width: calc(1254 * var(--s)); height: calc(706 * var(--s)); border-radius: 0; filter: none;
  background: url('../assets/images/scenes/teresa/guns/revolver_fp.webp') center top / 100% 100% no-repeat;
}
