/* A film, edge to edge. Controls belong to OILIVE, not the browser chrome. */
.vf-lock { overflow: hidden; }
.vf { --vf-white: #FAFAF7; position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: #080a07; color: var(--vf-white); overflow: hidden; font-family: 'Instrument Sans',system-ui,sans-serif; cursor: auto; color-scheme: dark; }
.vf:not([open]) { display: none; }
.vf[open] { display: block; }
.vf::backdrop { background: #080a07; }
.vf [hidden] { display: none !important; }
.vf button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vf button:focus-visible, .vf-progress:focus-visible { outline: 2px solid var(--vf-white); outline-offset: 5px; }
.vf-stage { position: absolute; inset: 0; }
.vf video { display: block; width: 100%; height: 100%; object-fit: contain; background: #080a07; }
.vf-hit { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.vf-big { pointer-events: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid rgba(250,250,247,.7); border-radius: 50%; background: rgba(8,10,7,.2); transition: opacity .25s,transform .25s; }
.vf-big svg { width: 36px; height: 36px; }
.vf-playing .vf-big, .vf-ended .vf-big, .vf-waiting .vf-big { opacity: 0; transform: translate(-50%,-50%) scale(1.1); }
.vf-top { position: absolute; top: 0; left: 0; right: 0; padding: max(28px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) 56px max(32px,env(safe-area-inset-left)); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; background: linear-gradient(rgba(8,10,7,.8),transparent); pointer-events: none; transition: opacity .25s; }
.vf-titles, .vf-top-actions { pointer-events: auto; }
.vf-eyebrow { display: block; font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .24em; text-transform: uppercase; color: rgba(250,250,247,.7); }
.vf-title { margin: 8px 0 0; font: 400 clamp(20px,2.2vw,32px)/1.25 'Playfair Display',serif; }
.vf-top-actions { display: flex; align-items: center; gap: 24px; }
.vf-choose { padding: 12px 0 6px; min-height: 44px; border: 0; border-bottom: 1px solid rgba(250,250,247,.5); background: transparent; font-size: 10px !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .14em; }
.vf-icon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.vf-icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vf-close { border: 1px solid rgba(250,250,247,.4); border-radius: 50%; }
.vf-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px max(32px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left)); background: linear-gradient(transparent,rgba(8,10,7,.85)); transition: opacity .25s; }
.vf-controls { display: flex; gap: 14px; align-items: center; }
.vf-controls-space { flex: 1; }
.vf-time { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.vf-progress { height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin-bottom: 8px; }
.vf-rail { width: 100%; height: 2px; background: rgba(250,250,247,.25); position: relative; }
.vf-buffer, .vf-fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: rgba(250,250,247,.3); }
.vf-fill { background: var(--vf-white); }
.vf-knob { position: absolute; top: -4px; left: 0; height: 10px; width: 10px; margin-left: -5px; border-radius: 50%; background: var(--vf-white); opacity: 0; transition: opacity .2s; }
.vf-progress:hover .vf-knob, .vf-progress:focus-visible .vf-knob { opacity: 1; }
.vf:not(.vf-active) .vf-bottom, .vf:not(.vf-active) .vf-titles, .vf:not(.vf-active) .vf-top .vf-choose { opacity: 0; pointer-events: none; }
.vf-top:focus-within .vf-titles, .vf-top:focus-within .vf-choose, .vf-bottom:focus-within { opacity: 1 !important; pointer-events: auto !important; }
/* Close is always available, including touch and keyboard. */
.vf-close { opacity: .85; }
.vf:not(.vf-playing) .vf-i-pause, .vf-playing .vf-i-play, .vf-muted .vf-i-wave, .vf:not(.vf-muted) .vf-i-x { display: none; }
.vf-cc { width: auto; min-width: 44px; }
.vf-quality { width: auto; min-width: 52px; font-size: 11px !important; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; border: 1px solid rgba(250,250,247,.35) !important; border-radius: 3px; padding: 0 8px !important; height: 30px !important; }
.vf-cc-code { font-size: 9px; letter-spacing: .1em; }
.vf-cc-off { --vf-cc-opacity: .55; }
.vf-cc { opacity: var(--vf-cc-opacity,1); }
.vf-caption { position: absolute; bottom: 138px; left: 16px; right: 16px; text-align: center; pointer-events: none; font-size: clamp(14px,1.5vw,22px); line-height: 1.6; }
.vf-caption span { display: table; margin: 2px auto; padding: 2px 9px; color: #fff; background: rgba(0,0,0,.7); }
.vf:not(.vf-active) .vf-caption { bottom: max(56px,env(safe-area-inset-bottom)); }
.vf-sound { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); }
.vf-unmute, .vf-retry { min-height: 48px; padding: 12px 22px; font-size: 12px !important; border: 1px solid rgba(250,250,247,.6); background: rgba(8,10,7,.7); }
.vf-loading { position: absolute; width: 36px; height: 36px; left: calc(50% - 18px); top: calc(50% - 18px); border: 1px solid rgba(250,250,247,.2); border-top-color: var(--vf-white); border-radius: 50%; animation: vf-spin 1s linear infinite; pointer-events: none; }
@keyframes vf-spin { to { transform: rotate(360deg); } }
.vf-end, .vf-error { position: absolute; inset: 0; background: rgba(8,10,7,.94); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 100px 24px 150px; text-align: center; }
.vf-end-title { margin: 0; font: 400 clamp(32px,5vw,64px)/1.2 'Playfair Display',serif; }
.vf-end-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.vf-replay { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 28px; border: 1px solid rgba(250,250,247,.6); background: transparent; font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; }
.vf-error p { font-size: 15px; line-height: 1.8; }
.vf-direct { color: var(--vf-white); text-decoration: underline; text-underline-offset: .25em; }
@media (hover:hover) { .vf-icon:hover { background: rgba(250,250,247,.1); } .vf-replay:hover { background: rgba(250,250,247,.08); } }
@media (max-width: 700px) {
  .vf-top { padding: max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 44px max(18px,env(safe-area-inset-left)); gap: 12px; }
  .vf-top .vf-choose { display: none; }
  .vf-eyebrow { font-size: 9px; letter-spacing: .15em; }
  .vf-title { font-size: 22px; max-width: 24ch; }
  .vf-bottom { padding: 56px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); }
  .vf-controls { gap: 6px; }
  .vf-time { font-size: 10px; letter-spacing: .02em; }
  .vf-caption { bottom: 128px; }
  .vf-big { width: 68px; height: 68px; }
}
@media (max-height: 480px) { .vf-top { padding-top: max(12px,env(safe-area-inset-top)); } .vf-bottom { padding-top: 30px; padding-bottom: max(10px,env(safe-area-inset-bottom)); } .vf-title { font-size: 20px; } .vf-end { gap: 12px; padding: 80px 24px; } .vf-end-title { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .vf *, .vf *::before, .vf *::after { transition: none !important; } .vf-loading { animation: none; border-color: var(--vf-white); } }
