/* The film after a free practice answer (js/question-film.js). The desktop cut fills the card; the phone cut (9:16)
   is as wide as the card allows while the picture and its bar still fit on the screen. The verdict and Next come
   before the film. Controls sit under the picture: nothing covers the burned-in captions. */
.q-film{margin:16px 0 0}
.q-film-frame{position:relative;overflow:hidden;border-radius:12px 12px 0 0;background:#0b1d3f}
.q-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0b1d3f;cursor:pointer}
.q-film.is-phone .q-film-frame,.q-film.is-phone .q-film-bar{width:min(100%,calc((100vh - 128px) * 9 / 16));margin-left:auto;margin-right:auto}
@supports (height:100svh){.q-film.is-phone .q-film-frame,.q-film.is-phone .q-film-bar{width:min(100%,calc((100svh - 128px) * 9 / 16))}}
.q-film.is-phone video{aspect-ratio:9/16}
.q-film-play{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;width:100%;padding:0;border:0;background:rgb(11 29 63/.28);cursor:pointer}
.q-film-play[hidden],.q-film-bar [hidden]{display:none}
.q-film-play span{display:block;width:72px;height:72px;border-radius:50%;background:#ffd339 center/30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23112c46'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");box-shadow:0 8px 24px rgb(0 0 0/.35)}
.q-film-play:focus-visible span{outline:3px solid #fff;outline-offset:3px}
.q-film-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 6px;border-radius:0 0 12px 12px;background:#112c46}
.q-film-bar button{min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#fff;font:700 13px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer;white-space:nowrap}
.q-film-bar .q-film-sound.is-muted{background:#ffd339;color:#112c46;font-weight:800}
.q-film-bar button:focus-visible{outline:2px solid #ffd339;outline-offset:1px}
.q-film figcaption{margin-top:8px;font-size:13px;line-height:1.4;color:#4a5568;text-align:center}
.q-film.is-desktop figcaption{text-align:left}
.q-film figcaption span{white-space:nowrap}
.q-film-seek{flex:1 1 auto;min-width:60px;accent-color:#1758d8}
