.credit-poster{display:block;width:min(100%,360px);margin-top:16px;color:#fff;text-decoration:none;border-radius:10px;font-size:.85rem;font-weight:750;line-height:1.3}
.credit-poster img{width:100%;height:auto;border:1px solid #8ea4b3;border-radius:10px;background:#252e36}
.credit-poster span{display:block;margin-top:6px}
.credit-poster:hover span{text-decoration:underline;text-underline-offset:.2em}
.credit-open:not(.framed){overflow:hidden}
.credit-player{
  --credit-space:100vh;
  position:fixed;inset:var(--credit-top,50%) auto auto 50%;transform:translate(-50%,-50%);
  width:min(calc(100% - 20px),390px);max-width:none;max-height:calc(var(--credit-space) - 12px);margin:0;
  padding:0;border:1px solid #506470;border-radius:16px;overflow:auto;
  overscroll-behavior:contain;box-shadow:0 20px 70px #0009;color:#fff;background:#202a31;
}
@supports(height:100dvh){.credit-player{--credit-space:100dvh}}
.credit-player::backdrop{background:rgba(18,25,31,.82)}
.credit-player-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px 6px 14px}
.credit-player-head h2{font-size:1rem;line-height:1.2;margin:0}
.credit-close{min-height:44px;flex:none;padding:3px 11px;border-radius:8px;border:1px solid #8ea4b3;background:transparent;color:inherit;font:inherit;font-size:.85rem;font-weight:750;cursor:pointer}
.credit-close:hover,.credit-close:focus-visible{background:#405461}
.credit-player video{display:block;width:100%;height:clamp(88px,calc(var(--credit-space) - 118px),600px);object-fit:contain;background:#111619}
.credit-download{display:inline-block;margin:0;padding:9px 14px;color:#a8e5fd;text-underline-offset:.18em;font-size:.8rem}

.credit-player:not([open]){display:none}

/* The email prompt lives below the video, clear of native controls. The
   visual pill is small; the real button has a full 44px+ tap target. */
.credit-email-player video{height:clamp(88px,calc(var(--credit-space) - 130px),600px)}
.credit-email-actions{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding-right:8px}
.credit-email-actions .credit-download{padding-inline:12px 3px;white-space:nowrap}
.credit-audio{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex:none;padding:0 2px;border:0;border-radius:8px;background:transparent;color:#edf5fa;cursor:pointer;font:inherit}
.credit-audio[hidden],.credit-audio-label[hidden],.credit-audio[data-silent="true"] .credit-audio-on,.credit-audio[data-silent="false"] .credit-audio-muted{display:none}
.credit-audio-face{display:flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #8299aa;border-radius:999px;background:#26333c;font-size:.75rem;line-height:1.35;font-weight:750;white-space:nowrap}
.credit-audio-face svg{height:16px;width:16px;flex:none}
.credit-audio:hover .credit-audio-face{background:#405461}
.credit-audio:focus-visible{outline:2px solid #a8e5fd;outline-offset:-2px}
