/* Wistia's own player in our video tile, on the VSL page and the thank-you page (28 Nov 2026, Krishna: "will be using
   wistia from now on", then "Yes, swap them"). The player fills the 16:9 picture (.wv__stage). Wistia's own play bar
   (time and scrubber) is switched off in the embed, so the thick blue progress line is ours (assets/wline.js), as on
   the old player: 12 px, 8 px on a phone. Later the same day (Krishna: "any way for the icons to not be hidden by the
   bar? looks awkward"): the line sits UNDER the picture instead of over its bottom edge, so Wistia's buttons (pause,
   sound, full screen) stay whole; the tile is the picture plus the line. */
/* (A dark frame round the player, copied from a reference picture he sent, was tried and taken out the same day:
   "the 'black surrounding' is just part of the fucking website of that dude". Copy only the player from a reference.) */
.vid.wv { aspect-ratio: auto; }
.wv__stage { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; }
.wv__stage wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wv__line { position: relative; display: block; height: 12px; background: rgba(255, 255, 255, 0.4); pointer-events: none; }
.wv__line-fill { display: block; width: 0; height: 100%; background: rgb(72, 132, 255); }
@media (max-width: 640px) { .wv__line { height: 8px; } }

/* The big blue unmute box, back on top of Wistia's player (Krishna, 28 Nov 2026: "put the big blue unmute box back on
   top"): the same box as on the old player (assets/wplayer.css, version 4: 49% x 58% of the player, blue, white border,
   a speaker with moving waves, "Your video is playing / Click to unmute"), shown while the video plays muted by itself.
   A click anywhere on the picture then turns the sound on from the beginning (assets/wline.js); Wistia's own small
   speaker button is hidden. Sizes that follow the player use container units (cqw = 1% of the player's width). */
.wv { --wv-blue: 29, 78, 216; }
.wv.is-silent { cursor: pointer; }
.wv__unmute { position: absolute; top: 50%; left: 50%; z-index: 7; transform: translate(-50%, -50%); display: none; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; width: 49%; height: 58%; margin: 0; padding: 0 2.6cqw; border: 2px solid #fff; border-radius: 12px; background: rgba(var(--wv-blue), 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #fff; font: 700 clamp(0.85rem, 2.6vw, 2.2rem)/1.38 var(--sans); font-size: max(3.3cqw, 12.5px); text-align: center; cursor: pointer; box-shadow: 0 26px 70px -18px rgba(0, 0, 0, 0.55); transition: background-color 0.25s ease; }
.wv.is-silent .wv__unmute { display: flex; }
.wv__unmute:hover { background: rgba(var(--wv-blue), 0.72); }
.wv__unmute::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(var(--wv-blue), 0.6); animation: wvBoxPulse 2s ease infinite 1s; }
@keyframes wvBoxPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--wv-blue), 0.6); } 70% { box-shadow: 0 0 0 1.5cqw rgba(var(--wv-blue), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--wv-blue), 0); } }
.wv__unmute span { display: block; white-space: nowrap; }
.wv__spk { display: block; width: 17%; min-width: 26px; height: auto; margin-bottom: 4.5%; fill: #fff; }
.wv__w1, .wv__w2 { opacity: 0; }
.wv__w1 { animation: wvWave1 2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.wv__w2 { animation: wvWave2 2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes wvWave1 { 0% { opacity: 0; } 25%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wvWave2 { 0%, 25% { opacity: 0; } 50%, 75% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 640px) { .wv__unmute { border-width: 1.5px; border-radius: 8px; } .wv__spk { width: 20%; margin-bottom: 3.5%; } }
@media (prefers-reduced-motion: reduce) { .wv__unmute::after, .wv__w1, .wv__w2 { animation: none; } .wv__w1, .wv__w2 { opacity: 1; } }

/* 30 Nov 2026, Krishna: "when the video has not been clicked yet (video thumbnail is playing) the bar at the bottom
   doesnt show? it defeats the purpose. this is for both videos." While the video plays silently by itself, a clear
   cover lies over Wistia's player, so hovering never brings up Wistia's control strip (pause, sound, settings, full
   screen, logo), and our progress line under the picture is hidden; both come in with the first click. */
.wv__shield { position: absolute; inset: 0; z-index: 6; display: none; cursor: pointer; background: transparent; }
.wv.is-silent .wv__shield { display: block; }
.wv:not(.is-heard) .wv__line { background: transparent; }
.wv:not(.is-heard) .wv__line-fill { opacity: 0; }

/* Same day: "the pause button shows properly, like the blue one that was there before? rn there is no button when you
   pause". Paused (after the sound is on), one play button dead centre, the old player's own (assets/wplayer.css,
   version 4): a blue rounded rectangle, 3 wide to 2 high, white border, a soft pulse. Over the stretches with reviews
   or text on screen (data-wv-see, the same ranges as before) it lets the picture through, as Krishna asked on 27 Nov. */
.wv__big { position: absolute; top: 50%; left: 50%; z-index: 7; transform: translate(-50%, -50%); display: none; place-items: center; box-sizing: border-box; width: 13%; min-width: 60px; height: auto; aspect-ratio: 3 / 2; margin: 0; padding: 0; border: 2px solid rgba(255, 255, 255, 0.92); border-radius: 12px; background: rgba(var(--wv-blue), 0.9); color: #fff; cursor: pointer; box-shadow: 0 16px 44px -12px rgba(0, 0, 0, 0.6); transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease; }
.wv.is-paused .wv__big { display: grid; }
.wv__big:hover { transform: translate(-50%, -50%) scale(1.06); background: rgb(var(--wv-blue)); }
.wv__big::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; color: rgb(var(--wv-blue)); opacity: 0.5; box-shadow: 0 0 0 0 currentColor; animation: wvPulse 2s ease infinite 0.7s; pointer-events: none; }
@keyframes wvPulse { 0% { opacity: 0.5; box-shadow: 0 0 0 0 currentColor; } 70% { opacity: 0; box-shadow: 0 0 0 20px currentColor; } 100% { opacity: 0; box-shadow: 0 0 0 0 currentColor; } }
.wv__big svg { display: block; width: 38%; height: auto; margin-left: 3%; fill: currentColor; }
.wv__big:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wv.is-see .wv__big { background: rgba(var(--wv-blue), 0.26); border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.wv.is-see .wv__big::after { animation: none; opacity: 0; }
.wv.is-see .wv__big svg { opacity: 0.8; }
@media (max-width: 640px) { .wv__big { width: 18%; border-radius: 8px; border-width: 1.5px; } }
@media (prefers-reduced-motion: reduce) { .wv__big::after { animation: none; } .wv__big { transition: none; } }