/* yt-end.css (Nov 7, 2026): the closing card drawn over a YouTube embed by
   js/yt-stop.js. It matches the "Read more on my website" card in the video and
   covers YouTube's end screen, whose boxes show empty outside youtube.com. */
.video-embed { container-type: inline-size; }
.yt-end { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4cqw; background: linear-gradient(180deg, #060c13 0%, #10202f 45%, #1c2e46 100%); color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; font-family: var(--text, "Atkinson Next", Verdana, sans-serif); }
.yt-end.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.yt-end-bar { width: 8cqw; height: 0.7cqw; min-height: 4px; border-radius: 999px; background: #3f9b45; margin-bottom: 3cqw; }
.yt-end-kicker { color: #3f9b45; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: max(11px, 1.9cqw); margin: 0 0 3cqw; }
.yt-end-lead { color: #9aa9b8; font-size: max(13px, 2.9cqw); margin: 0 0 0.8cqw; }
.yt-end-url { color: #fff; font-weight: 700; font-size: max(15px, 4.1cqw); line-height: 1.15; margin: 0 0 4.5cqw; overflow-wrap: anywhere; }
.yt-end-name { color: #fff; font-weight: 700; font-size: max(14px, 3.1cqw); margin: 0 0 0.8cqw; }
.yt-end-role { color: #9aa9b8; font-size: max(12px, 2.1cqw); margin: 0 0 4cqw; }
.yt-end-again { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: inherit; font-weight: 700; font-size: max(13px, 1.9cqw); color: #fff; background: transparent; border: 2px solid rgba(255,255,255,0.6); border-radius: 999px; padding: 0.9cqw 2.6cqw; min-height: 40px; }
.yt-end-again:hover, .yt-end-again:focus-visible { background: rgba(255,255,255,0.12); border-color: #fff; }
.yt-end-again svg { width: 1.1em; height: 1.1em; }
@media (prefers-reduced-motion: reduce) { .yt-end, .yt-end.is-on { transition: none; } }
