/* CloudStream "How to activate" video player (cs-activate-video.js), homepage + /pay/. */
.cs-av { --av-acc: var(--acc, #FFD400); --av-line: var(--line, rgba(255,255,255,.14)); width: min(960px, 100%); margin: 28px auto 0; }
.cs-av-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #09080C; border: 1px solid var(--av-line); }
.cs-av-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: #09080C; cursor: pointer; }
.cs-av-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cs-av-poster:hover img { transform: scale(1.02); }
.cs-av-poster:focus-visible { outline: 3px solid var(--av-acc); outline-offset: -3px; }
.cs-av-play { position: absolute; inset: 0; display: grid; place-items: center; width: 92px; height: 92px; margin: auto; border-radius: 50%;
  background: var(--av-acc); color: #0F0D14; box-shadow: 0 0 0 10px rgba(255, 212, 0, .18), 0 12px 40px rgba(0,0,0,.55); }
.cs-av-play svg { margin-left: 5px; }
.cs-av-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.cs-av-langs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.cs-av-label { margin-inline-end: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(237, 235, 243, .7); }
.cs-av-lang { min-width: 40px; height: 32px; padding: 0 8px; border: 1px solid var(--av-line); background: transparent; color: #EDEBF3;
  font: 700 13px/1 system-ui, sans-serif; letter-spacing: .04em; cursor: pointer; }
.cs-av-lang:hover { border-color: var(--av-acc); color: var(--av-acc); }
.cs-av-lang[aria-pressed="true"] { background: var(--av-acc); border-color: var(--av-acc); color: #0F0D14; }
.cs-av-lang:focus-visible { outline: 2px solid var(--av-acc); outline-offset: 2px; }

/* /pay/: a slim card until it is played, so the form stays close on phones. */
.cs-av--compact { width: 100%; margin: 0 0 24px; }
.cs-av--compact:not(.is-playing) .cs-av-stage { aspect-ratio: auto; height: 84px; }
.cs-av--compact:not(.is-playing) .cs-av-poster { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; text-align: start; }
.cs-av--compact:not(.is-playing) .cs-av-poster img { flex: none; width: 112px; height: 63px; object-fit: cover; border: 1px solid var(--av-line); }
.cs-av--compact:not(.is-playing) .cs-av-play { position: static; flex: none; width: 44px; height: 44px; margin: 0; box-shadow: 0 0 0 6px rgba(255, 212, 0, .16); }
.cs-av--compact:not(.is-playing) .cs-av-play svg { width: 20px; height: 20px; margin-left: 3px; }
.cs-av-cta { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.25; }
.cs-av--compact:not(.is-playing) .cs-av-langs { display: none; }
.cs-av--compact.is-playing .cs-av-langs { justify-content: flex-start; }
/* homepage activation popup: under 'Where can I find my Device ID?' */
.cs-av--modal { margin: 14px 0 4px; }
.cs-av--modal:not(.is-playing) .cs-av-stage { height: 76px; }
.cs-av--modal:not(.is-playing) .cs-av-poster img { width: 98px; height: 55px; }
@media (max-width: 640px) {
  .cs-av-play { width: 68px; height: 68px; }
  .cs-av-play svg { width: 26px; height: 26px; }
  .cs-av-lang { min-width: 36px; height: 30px; padding: 0 6px; font-size: 12px; }
}
