/* gbx-hover-film.css · the still to film hover on a voice card. GOLDFINGER 9.7.
   Ruled by Patrick 2026-10-01 for DDIF, and 2026-10-13 for every property:
   "cgti bils scli aio gbx circle dont have and mevo the ddif transition from
   image to 15 sec cut reel". The values are DDIF's, measured on live:
   the still rests in the dark grade, the film arrives over it in the hover
   grade, 0.45 s, ease. IMAGE_GRADE in law.mjs holds the pair.
   SOURCE: 00_canonical/gbx-hover-film.css. Every forum copy is byte identical. npm run kit. */
[data-hover-film] .gbx-hf-frame{position:relative}
.gbx-hf-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;
  filter:grayscale(1) contrast(1.06) brightness(.82);opacity:0;transition:opacity .45s ease;pointer-events:none}
[data-hover-film].is-playing .gbx-hf-film{opacity:1}
/* the person outro, 3 s of the house eye, sits over the film only while it plays */
[data-hover-film] .gbx-hf-outro,[data-hover-film].is-playing .gbx-hf-outro{opacity:0}
[data-hover-film].is-playing .gbx-hf-outro.on{opacity:1}
/* DDIF plays the voice's own film in colour, GOLDFINGER 9.10 as amended by Patrick 2026-11-15:
   "DDIF hover videos are in colour". The light colour grade, GRADE.hero. BILS follows, Patrick 2026-11-15 in
   Brandmaster's chat, as read by Popi: "same for BILS hover is colour unlwess there is none use the BW hover video".
   Every other room stays mono */
html[data-gbx-room="ddif"] .gbx-hf-film,html[data-gbx-room="bils"] .gbx-hf-film{filter:saturate(.82) contrast(1.06) brightness(.96) sepia(.12)}
/* a BILS hover film held only in black and white plays that version, never tinted: measured mono at source on 2026-11-15
   (mean saturation 0.06, 0.07 and 0.04). A colour original replaces the file and the line goes with it */
html[data-gbx-room="bils"] .gbx-hf-film[src*="gbx-circle_bils_jens-vogel_hover"],html[data-gbx-room="bils"] .gbx-hf-film[src*="judy-chou-bils-reel-v2"],html[data-gbx-room="bils"] .gbx-hf-film[src*="nuno-fontes_wuxi-biologics_reel"]{filter:grayscale(1) contrast(1.06) brightness(.82)}
/* one eye, GOLDFINGER 20.10: the house film is a mark, never graded */
.gbx-hf-film[src*="gbx-circle-intro-holder"],.gbx-hf-outro{filter:none!important}
/* a person film's own opening eye, until the cut to the person (gbx-hover-film.js EYE_CUT) */
.gbx-hf-film.gbx-hf-eyein{filter:none!important}
@media (prefers-reduced-motion:reduce){.gbx-hf-film{display:none}}
