/* On-screen display after arcmarumo.com: VCR type in the corners of the tube,
   a running timecode, Brasília clock, current channel and a B&W switch. */
/* VT323, SIL Open Font License 1.1 (assets/fonts/VT323-OFL.txt). */
@font-face{font-family:VT323;src:url(fonts/VT323-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{--osd-font:VT323,"Cascadia Mono",Consolas,ui-monospace,Menlo,monospace}
.osd-play,.tv-osd{font-family:var(--osd-font);font-size:19px;line-height:1;font-weight:400;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 0 6px rgba(255,255,255,.45),0 0 1px #fff}
.osd-play{position:absolute;left:calc(var(--gutter) + 205px);top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:10px;white-space:nowrap}
.osd-play-mark{width:0;height:0;border-left:8px solid currentColor;border-top:5px solid transparent;border-bottom:5px solid transparent}
.osd-timecode{font-variant-numeric:tabular-nums}

.tv-osd{position:fixed;left:0;right:0;bottom:56px;z-index:110;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:0 46px;padding:0 var(--gutter);color:#fff;mix-blend-mode:difference;pointer-events:none;transition:transform .45s cubic-bezier(.16,1,.3,1)}
.tv-osd>*{white-space:nowrap}
.osd-bw{pointer-events:auto;min-height:44px;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-shadow:inherit;background:none;border:0;cursor:pointer}
.osd-bw:hover,.osd-bw:focus-visible{color:var(--accent)}
.osd-channel{justify-self:center}
.osd-scrim{position:fixed;left:0;right:0;bottom:0;height:150px;z-index:93;pointer-events:none;background:linear-gradient(0deg,#050507 0%,rgba(5,5,7,.9) 40%,rgba(5,5,7,0) 100%);opacity:0;transition:opacity .35s ease,transform .45s cubic-bezier(.16,1,.3,1)}
.header-solid .osd-scrim{opacity:1}
.header-hidden .tv-osd{transform:translate3d(0,170%,0)}
.header-hidden .osd-scrim{transform:translate3d(0,100%,0)}

/* Room for the OSD under the last line of the hero and the footer. */
.hero{padding-bottom:104px}
.footer{padding-bottom:84px}
.award-scroll-active .award-stage-footer{bottom:100px}

/* Saturation blend over the whole screen keeps fixed and pinned layers intact,
   where a filter on body would break them. */
.tv-bw-layer{position:fixed;inset:0;z-index:119;background:#808080;mix-blend-mode:saturation;pointer-events:none;display:none}
.tv-bw .tv-bw-layer{display:block}

@media(max-width:1023px){.osd-play{display:none}.osd-source{display:none}.tv-osd{grid-template-columns:auto auto 1fr;gap:0 28px}.osd-channel{justify-self:end}}
@media(max-width:767px){.tv-osd{bottom:22px;font-size:15px;gap:0 16px}.osd-scrim{height:110px}.hero{padding-bottom:62px}.footer{padding-bottom:58px}}

/* Channel switch between sections, after arcmarumo.com: full-tube snow, then
   the VCR blue screen with the channel number, then the new content. It sits
   under the header and OSD (z-index 110) and over the page and CRT layers. */
.tv-channel{position:fixed;inset:0;z-index:105;pointer-events:none;visibility:hidden;overflow:hidden}
.tv-channel.is-on{visibility:visible}
.tv-channel-static{position:absolute;inset:-160px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.2' intercept='-.8'/%3E%3CfeFuncG type='linear' slope='2.2' intercept='-.8'/%3E%3CfeFuncB type='linear' slope='2.2' intercept='-.8'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/160px 160px,#3a3a3c;opacity:0;image-rendering:pixelated}
.tv-channel-band{position:absolute;left:0;right:0;top:0;height:18%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.12) 35%,rgba(255,255,255,.3) 50%,rgba(255,255,255,.1) 62%,transparent);transform:translate3d(0,-120%,0);opacity:0}
.tv-channel-blue{position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(0,0,0,.14) 0 1px,transparent 1px 3px),radial-gradient(ellipse at 50% 45%,#3338b8,#262a99 70%,#1d2080);opacity:0}
.tv-channel-label{position:absolute;top:150px;right:calc(var(--gutter) + 10px);display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding:12px 14px 10px;font-family:var(--osd-font);text-transform:uppercase;color:#fff;text-shadow:-2px 0 rgba(255,60,110,.55),2px 0 rgba(80,220,255,.55),0 0 14px rgba(255,255,255,.5);opacity:0}
.tv-channel-label b{font-weight:400;font-size:clamp(64px,7vw,104px);line-height:.8;letter-spacing:.02em}
.tv-channel-label span{font-size:26px;line-height:1;letter-spacing:.08em}
.tv-channel.is-on .tv-channel-static{animation:tv-snow-cut .75s steps(1,end) both,tv-snow-roll .16s steps(4) infinite}
.tv-channel.is-on .tv-channel-band{animation:tv-channel-band .4s cubic-bezier(.3,.1,.2,1) both}
.tv-channel.is-on .tv-channel-blue{animation:tv-blue-cut .75s steps(1,end) both}
.tv-channel.is-on .tv-channel-label{animation:tv-channel-label .75s steps(1,end) both}
/* Paused or reduced motion: only the channel number, on a dark tag. */
.tv-channel.is-still .tv-channel-static,.tv-channel.is-still .tv-channel-band,.tv-channel.is-still .tv-channel-blue{display:none}
.tv-channel.is-still .tv-channel-label{animation:none;opacity:1;background:rgba(5,5,7,.78)}
@keyframes tv-snow-cut{0%{opacity:.55}6%{opacity:.85}10%,52%{opacity:1}53%,100%{opacity:0}}
@keyframes tv-snow-roll{0%{transform:translate3d(0,0,0)}25%{transform:translate3d(-61px,37px,0)}50%{transform:translate3d(43px,-79px,0)}75%{transform:translate3d(-97px,-23px,0)}}
@keyframes tv-channel-band{0%{opacity:1;transform:translate3d(0,-120%,0)}100%{opacity:.7;transform:translate3d(0,620%,0)}}
@keyframes tv-blue-cut{0%,52%{opacity:0}53%,88%{opacity:1}92%{opacity:.55}96%{opacity:.25}100%{opacity:0}}
@keyframes tv-channel-label{0%,9%{opacity:0}10%,88%{opacity:1}92%{opacity:.6}96%,100%{opacity:0}}
@media(max-width:767px){.tv-channel-label{top:108px}.tv-channel-label b{font-size:64px}.tv-channel-label span{font-size:20px}}
.motion-paused :is(.tv-osd,.osd-scrim){transition:none}
@media(prefers-reduced-motion:reduce){.tv-osd,.osd-scrim{transition:none}}

/* Language switch (PT / EN), in the header and the footer. */
.lang-link{display:inline-flex;align-items:center;min-height:44px;font-family:var(--osd-font);font-size:19px;line-height:1;letter-spacing:.08em;text-shadow:0 0 6px rgba(255,255,255,.45),0 0 1px #fff}
.lang-link::before{content:"B8";margin-right:6px;font-size:.8em}
.lang-link:hover,.lang-link:focus-visible{color:var(--accent)}
.footer-bottom .lang-link{font-size:17px;color:var(--fg)}
@media(max-width:767px){.lang-link{font-size:16px}.footer-bottom .lang-link{font-size:15px}}

/* Site credit (xGhostx), in every footer. */
.site-credit{color:inherit;text-decoration:none;opacity:.75}
.site-credit:hover,.site-credit:focus-visible{color:var(--accent);opacity:1}
