/* Film controls share the portrait video's dark glass and antique gold. */
.film-atelier { margin:clamp(2.6rem,6vw,4.2rem) 0 0; }
.film-player { background:var(--nero); border:1px solid rgba(199,168,104,.42); color:var(--crema); }
.film-player [hidden],.film-player__status[hidden] { display:none!important; }
.film-player__screen { position:relative; }
.film-player video { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:var(--nero); }
.film-player.is-enhanced video { cursor:pointer; }
.film-player__cover {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1rem; padding:1rem; border:0; color:var(--crema); cursor:pointer;
  background:linear-gradient(transparent,rgba(10,10,12,.22)); font:inherit;
}
.film-player__play-circle {
  display:grid; place-items:center; width:clamp(64px,7vw,92px); aspect-ratio:1;
  border-radius:50%; border:1px solid var(--oro); color:var(--oro);
  background:rgba(10,10,12,.74); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  transition:background .2s,color .2s,transform .2s;
}
.film-player__play-circle svg { width:30px; height:30px; fill:currentColor; transform:translateX(1px); }
.film-player__cover-label { font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; padding:.3rem .65rem; background:rgba(10,10,12,.78); }
.film-player__cover:hover .film-player__play-circle { background:var(--oro); color:var(--nero); transform:scale(1.04); }
.film-player__controls {
  display:grid; grid-template-columns:44px auto minmax(0,1fr) auto repeat(2,44px); align-items:center;
  gap:clamp(.4rem,1.5vw,1rem); padding:.65rem clamp(.65rem,2vw,1.3rem);
  border-top:1px solid rgba(199,168,104,.24); background:var(--nero);
}
.film-player__button {
  position:static; display:grid; place-items:center; width:44px; height:44px; padding:0;
  border-radius:50%; border:1px solid rgba(199,168,104,.55); background:rgba(255,255,255,.025);
  color:var(--oro); cursor:pointer; font:500 .7rem var(--testo); letter-spacing:.03em;
  transition:background .2s,color .2s;
}
.film-player__button:hover,.film-player__captions[aria-pressed=true] { background:var(--oro); color:var(--nero); }
.film-player__button svg { width:20px; height:20px; fill:currentColor; grid-area:1/1; }
.film-player__button .film-player__pause,.film-player.is-playing .film-player__play { display:none; }
.film-player.is-playing .film-player__pause { display:block; }
.film-player__audio { display:flex; align-items:center; gap:.25rem; }
.film-player__volume { --range-width:clamp(44px,8vw,90px); flex-shrink:0; }
.film-player__time { font-size:.75rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.film-player__separator { color:rgba(246,242,234,.5); }
:is(.film-player__progress,.film-player__volume) { --progress:0%; appearance:none; -webkit-appearance:none; width:var(--range-width,100%); min-width:0; height:44px; margin:0; background:transparent; cursor:pointer; }
:is(.film-player__progress,.film-player__volume)::-webkit-slider-runnable-track { height:3px; border-radius:2px; background:linear-gradient(to right,var(--oro) var(--progress),rgba(246,242,234,.25) var(--progress)); }
:is(.film-player__progress,.film-player__volume)::-moz-range-track { height:3px; border-radius:2px; background:rgba(246,242,234,.25); }
:is(.film-player__progress,.film-player__volume)::-moz-range-progress { height:3px; background:var(--oro); }
:is(.film-player__progress,.film-player__volume)::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:12px; height:12px; margin-top:-4.5px; border-radius:50%; background:var(--oro); border:0; }
:is(.film-player__progress,.film-player__volume)::-moz-range-thumb { width:12px; height:12px; border-radius:50%; background:var(--oro); border:0; }
.film-player__progress:disabled { opacity:.4; cursor:default; }
.film-player :focus-visible { outline:2px solid var(--oro); outline-offset:4px; }
.film-player__cover:focus-visible { outline-offset:-5px; }
.film-player__status { margin:.7rem 0 0; font-size:.875rem; color:var(--testo-c); }
.film-atelier figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; margin-top:.8rem; color:var(--fumo); font-size:.875rem; }
.film-player:fullscreen { display:flex; flex-direction:column; justify-content:center; width:100%; height:100%; border:0; }
.film-player:fullscreen .film-player__screen { flex:1; min-height:0; }
.film-player:fullscreen video { width:100%; height:100%; }
.film-player:fullscreen .film-player__controls { flex-shrink:0; padding-bottom:max(.65rem,env(safe-area-inset-bottom)); }
@media (max-width:600px) {
  .film-player__controls { grid-template-columns:44px minmax(0,1fr) auto repeat(2,44px); gap:.35rem; padding:.1rem .5rem .5rem; }
  .film-player__progress { grid-column:1/-1; grid-row:1; height:30px; }
  .film-player__time { text-align:center; font-size:.68rem; }
  .film-player__cover { gap:.5rem; }
  .film-player__cover-label { font-size:.6rem; }
}
@media (prefers-reduced-motion:reduce) {
  .film-player__play-circle,.film-player__button { transition:none; }
}
