/* Alpha is preserved at every full-stage layer; content/media retain their colors. */
html.screenlink-overlay,html.screenlink-overlay body,html.screenlink-overlay #app,
.screenlink-overlay .live,.screenlink-overlay .live-main,.screenlink-overlay .live-visual,
.screenlink-overlay .word-stage,.screenlink-overlay .nebula-lab,
.screenlink-overlay .message-wall-participation-rail,.screenlink-overlay .tournament-stage{
  background:transparent!important;background-image:none!important;box-shadow:none!important;
}
.screenlink-overlay .live:before,.screenlink-overlay .live:after,
.screenlink-overlay .experience-background{display:none!important}
.screenlink-overlay{--overlay-ink:#fff}
.screenlink-overlay[data-overlay-tone=dark]{--overlay-ink:#10212b}
.screenlink-overlay .live :is(h1,h2,h3,p,blockquote,strong,small,span,b,em){color:var(--overlay-ink)!important}
/* Explicit mural message colors take priority over the URL's general tone. */
.screenlink-overlay .live .media-experience[style*="--media-text-color:"] :is(.media-text-ribbon,.media-entry-copy,.media-transcript),
.screenlink-overlay .live .media-experience[style*="--media-text-color:"] :is(.media-text-ribbon,.media-entry-copy,.media-transcript) :is(p,strong,small,span,blockquote,b,em){color:var(--media-text-color)!important}
.screenlink-overlay .live .badge{color:#165b46!important;text-shadow:none}
.screenlink-overlay .live,.screenlink-overlay .live-title h1,.screenlink-overlay .live-title p,
.screenlink-overlay .event-signature,.screenlink-overlay .qr-card>strong,
.screenlink-overlay .tournament-stage>h1,.screenlink-overlay .treasure-live-stage>h1,.screenlink-overlay .treasure-live-stage>p{color:var(--overlay-ink)!important}
.screenlink-overlay.overlay-outline .live-title,.screenlink-overlay.overlay-outline .live-head,
.screenlink-overlay.overlay-outline .qr-card>strong,.screenlink-overlay.overlay-outline .tournament-stage>h1{text-shadow:0 1px 4px #0008}
.screenlink-overlay .qr-card,.screenlink-overlay .qna-card,
.screenlink-overlay .tournament-match,.screenlink-overlay .quiz-lobby,
.screenlink-overlay .treasure-live-start{background:rgb(var(--overlay-panel))!important;box-shadow:none!important}
.screenlink-overlay .live:not(.live-type-message_wall) .live-visual article{background:rgb(var(--overlay-panel))!important}
.screenlink-overlay .qr-box{background:#fff!important;text-shadow:none}
.overlay-hide-question .live-title>h1,.overlay-hide-question .live-title>.eyebrow,
.overlay-hide-question .tournament-stage>h1,.overlay-hide-question .treasure-live-stage>h1,.overlay-hide-question .treasure-live-stage>.eyebrow{display:none!important}
.overlay-hide-results .live-visual,.overlay-hide-results .tournament-stage>:not(h1):not(.tournament-qr),.overlay-hide-results .treasure-champion-wall,.overlay-hide-results .treasure-winners{visibility:hidden!important}
.overlay-hide-logo .client-logo,.overlay-hide-logo .live-head>.event-signature,.overlay-hide-logo .live-head>.brand{display:none!important}
.overlay-hide-sponsor .sponsor-signature{display:none!important}
.overlay-hide-cta .live-title>p,.overlay-hide-cta .qr-card>strong,.overlay-hide-cta .tournament-qr>p,.overlay-hide-cta .treasure-live-stage>p,.overlay-hide-cta .treasure-live-start>small{display:none!important}
.overlay-hide-qr .qr-card>.qr-box,.overlay-hide-qr .tournament-qr .qr-box,.overlay-hide-qr .treasure-live-start .qr-box{display:none!important}
.overlay-dialog{width:min(640px,94vw);max-height:90vh;overflow:auto;border:1px solid #d4e4e6;border-radius:20px;padding:28px;color:#10212b;background:#fff}
.overlay-dialog::backdrop{background:#061b26aa}
.overlay-dialog fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;border:1px solid #d4e4e6;border-radius:12px;padding:16px}
.overlay-dialog .field{margin:16px 0}.overlay-dialog .header-actions{flex-wrap:wrap}
@media(max-width:480px){.overlay-dialog{padding:16px}.overlay-dialog fieldset{grid-template-columns:1fr}}

/* A full-width notice must not enlarge the QR rail or stretch the result stage. */
.live:has([data-youtube-live-notice]:not([hidden])){padding-bottom:clamp(100px,13vh,140px);box-sizing:border-box}
.live [data-youtube-live-notice]:not([hidden]){position:fixed;z-index:30;left:3vw;right:3vw;bottom:12px;width:auto;max-height:18vh;overflow:auto;padding:10px 16px;border-radius:12px;background:#07191ff0;color:#fff;text-align:left;font-size:clamp(12px,.85vw,16px)!important;line-height:1.35!important;text-shadow:none}
.live [data-youtube-live-notice] strong,.live [data-youtube-live-notice] p{color:#fff!important;font:inherit!important;line-height:1.35!important;letter-spacing:normal!important;text-transform:none!important;margin:0!important}
.live [data-youtube-live-notice] strong{display:block;font-weight:800!important;margin-bottom:4px!important}
.live:has([data-youtube-live-notice]:not([hidden])) .tube-wrap{min-height:0;grid-template-rows:auto minmax(0,1fr) auto}
.live:has([data-youtube-live-notice]:not([hidden])) .tube{min-height:0}
.live [data-youtube-live-notice] a{color:#bff251!important;font:inherit;text-decoration:underline}
.youtube-privacy-page{margin:0;background:#f4f8f8;color:#10212b;font:16px/1.6 system-ui,sans-serif}
.youtube-privacy-page main{max-width:760px;margin:6vh auto;padding:24px}
.youtube-privacy-page h1{font-size:clamp(24px,5vw,36px);line-height:1.2}
.youtube-privacy-page #youtube-full-notice{white-space:pre-wrap;overflow-wrap:anywhere}
.youtube-privacy-page a{color:#07636b}
