:root {
  color-scheme: dark;
  --bg: #0b0908;
  --surface: #1a1613;
  --raised: #262019;
  --border: #3d352d;
  --text: #f3ece0;
  --muted: #b8ad9c;
  --accent: #e0b44c;
  --accent-dim: #e0b44c59;
  --accent-text: #1a1408;
  --velvet: #6d1420; --velvet-dark: #3a0a12;
  --spot: #e0b44c21;
  --veil: #0b0908f5;
  --shadow: #000a;
  --error: #ff8a80;
  --komoedie-bg: #ffd84d; --komoedie-accent: #e8336d; --komoedie-title: #2a1a5e; --komoedie-text: #3b2a00;
  --krimi-bg: #0e1116; --krimi-accent: #d32f2f; --krimi-title: #ece6d6; --krimi-text: #a9a59b;
  --doku-bg: #ece8df; --doku-accent: #2e7d4f; --doku-title: #111; --doku-text: #444;
  --action-bg: #1f0a02; --action-accent: #ff6a13; --action-title: #ffc23a; --action-text: #f2d6c0;
  --envelope-light: #f3d27a; --envelope-mid: #c99a2e; --envelope-dark: #a87a1c; --flap-light: #f0cc6c; --flap-dark: #b88a24; --seal-light: #c0392b; --seal-dark: #7a1414; --glow: #e0b44c55; --glow-strong: #e0b44c66; --sun-core: #fff3b0; --sun-edge: #ffb81f; --sun-glow: #ffb81f73; --paper: #fff; --eebus: #ec7206; --eebus-glow: #ec720680; --ocpp-pink: #f06b93; --ocpp-violet: #5a3f9e; --ocpp-glow: #f06b9380; --bdl-coral: #ff7373; --bdl-blue: #237efa; --bdl-glow: #ff737380; --moon: #f3efc8; --moon-glow: #f3efc866; --night: #0a1a3acc; --vm-orange: #ff3e17; --vm-glow: #ff3e1780;
  --drama-bg: #3a0d1c; --drama-accent: #d9a86c; --drama-title: #f6e7cb; --drama-text: #d8bfb0;
  --display: Didot, "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "DejaVu Serif", serif;
  --ui: "Avenir Next", Avenir, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}
:root[data-phase=envelope] { --spot: #e0b44c40; }
:root[data-phase=aftershow], :root[data-phase=closing] { --spot: #c0392b38; }
* { box-sizing: border-box; }
html { background: radial-gradient(ellipse 60rem 30rem at 50% -8rem, var(--spot), transparent 70%) no-repeat var(--bg); scroll-behavior: smooth; }
body { font-family: var(--ui); max-width: 46rem; min-height: 100dvh; margin: 0 auto; padding: 1.25rem 1rem 3rem; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; }
h1 { margin: 0 0 .5rem; font-size: clamp(2.25rem, 9vw, 3.5rem); font-style: italic; }
h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
a { color: var(--accent); }
.eyebrow, legend, #bar { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.15rem; }
form { display: grid; gap: .75rem; margin-bottom: 2rem; }
label { display: grid; gap: .3rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input, select, button { font: inherit; color: inherit; min-height: 44px; }
input:not([type=radio]), select { padding: .6rem .8rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 2px; max-width: 100%; font-size: 1rem; letter-spacing: normal; transition: border-color .2s, box-shadow .2s; }
input:not([type=radio]):focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); outline: 0; }
input[type=radio] { min-height: 0; accent-color: var(--accent); }
button { padding: .6rem 1.25rem; background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); border-radius: 2px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: transform .15s, box-shadow .2s, filter .2s; }
button:hover:enabled { filter: brightness(1.1); box-shadow: 0 0 1.25rem var(--glow-strong); }
button:active:enabled { transform: scale(.97); }
button.ghost { background: none; color: var(--accent); }
#effects { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
button:disabled { background: var(--surface); color: var(--muted); border-color: var(--border); cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.error { color: var(--error); }
.error:empty, [role=status]:empty { display: none; }
#status { position: sticky; top: .75rem; z-index: 10; width: fit-content; margin: 0 auto 1rem; padding: .5rem 1rem; background: var(--raised); border: 1px solid var(--accent); border-radius: 1rem; box-shadow: 0 .5rem 1.5rem var(--shadow); }
#film-saved, #vote-saved { width: fit-content; margin: 0; padding: .35rem .8rem; border: 1px solid var(--accent-dim); border-radius: 1rem; color: var(--accent); }

#bar { display: flex; justify-content: space-between; gap: 1rem; }
#bar strong { color: var(--accent); letter-spacing: .25em; }
#name { letter-spacing: normal; text-transform: none; }
#steps { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; padding: 0; margin: .75rem 0 1.75rem; }
#steps li { height: .3rem; overflow: hidden; border-radius: 1rem; background: var(--border); color: transparent; font-size: 1px; }
#steps li.done { background: var(--accent-dim); }
#steps li[aria-current] { background: var(--accent); box-shadow: 0 0 .75rem var(--glow-strong); }
#hint { margin: 0 0 1.5rem; color: var(--muted); }
#hint:empty { display: none; }
main section, #browser, #film { animation: enter .45s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(1rem); } }
.titlecard { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 2rem; text-align: center; pointer-events: none; opacity: 0; background: var(--veil); font-family: var(--display); font-style: italic; font-size: clamp(2.5rem, 11vw, 7rem); line-height: 1.05; color: var(--accent); text-shadow: 0 0 2rem var(--glow-strong); animation: titlecard 1.5s ease-in-out; }
@keyframes titlecard { 0% { opacity: 0; transform: scale(1.08); } 15%, 70% { opacity: 1; } 100% { opacity: 0; transform: none; } }

.marquee { max-width: 28rem; margin: 2rem auto; padding: 2rem 1.5rem; text-align: center; background: linear-gradient(var(--velvet), var(--velvet-dark)); border: .5rem dotted var(--accent); border-radius: .75rem; box-shadow: 0 0 3rem var(--glow), inset 0 0 2rem var(--shadow); animation: bulbs 1.4s steps(1) infinite; }
@keyframes bulbs { 50% { border-color: var(--envelope-dark); box-shadow: 0 0 1.5rem var(--glow), inset 0 0 2rem var(--shadow); } }
.marquee p { margin: 0; color: var(--envelope-light); }
.marquee strong { display: block; margin: .5rem 0; font-family: var(--display); font-size: clamp(1.9rem, 8vw, 2.75rem); font-style: italic; font-weight: 400; line-height: 1.1; }
#join-info { text-align: center; font-size: 2rem; }
#join-info strong { color: var(--accent); }
#seats, #claps { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; max-width: 72rem; margin: 2.5rem auto; padding: 0; list-style: none; }
#seats li { min-width: 9rem; max-width: 20rem; padding: 1.75rem 1.25rem 1rem; overflow-wrap: anywhere; text-align: center; font-size: 1.5rem; background: linear-gradient(var(--velvet), var(--velvet-dark)); border-bottom: .5rem solid var(--velvet-dark); border-radius: 1.75rem 1.75rem .4rem .4rem; box-shadow: inset 0 0 1.25rem var(--shadow); }
#seats li.reveal { animation: enter .6s ease-out both; }
#shoot { text-align: center; }
#shoot .lead { font-family: var(--display); font-size: 2.75rem; font-style: italic; line-height: 1.15; text-wrap: balance; }
#claps { gap: 2rem; margin-top: 5rem; }
#claps li { position: relative; width: 7rem; height: 5rem; background: var(--surface); border: 2px solid var(--border); border-radius: 0 0 .3rem .3rem; }
#claps li::before { content: ""; position: absolute; inset: auto -2px 100%; height: 1.2rem; background: repeating-linear-gradient(-45deg, var(--muted) 0 .7rem, var(--bg) .7rem 1.4rem); border-radius: .2rem; transform-origin: 0 100%; rotate: -22deg; }
#claps li.shut { background: var(--raised); border-color: var(--accent); box-shadow: 0 0 2rem var(--glow); }
#claps li.shut::before { background: repeating-linear-gradient(-45deg, var(--accent) 0 .7rem, var(--bg) .7rem 1.4rem); rotate: 0deg; }
#claps li.shut.reveal::before { animation: clap .6s ease-in both; animation-delay: inherit; }
@keyframes clap { from { rotate: -22deg; } 55% { rotate: 0deg; } 70% { rotate: -6deg; } }
#shoot-count { font-size: 2rem; color: var(--accent); }
.credits { position: fixed; inset: 0; z-index: 25; overflow: hidden; pointer-events: none; opacity: 0; background: var(--bg); text-align: center; animation: credits-box var(--t) linear; }
.credits > div { max-width: 72rem; margin: 0 auto; padding: 0 2rem; animation: credits-roll var(--t) linear both; }
.credits .title { padding: 6rem 0; font-family: var(--display); font-size: 5rem; font-style: italic; line-height: 1.1; text-wrap: balance; color: var(--accent); }
.credits h3 { margin: 3rem 0 .5rem; font-family: var(--display); font-size: 3rem; font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
.credits p { margin: 0; font-size: 1.75rem; color: var(--muted); overflow-wrap: anywhere; }
.credits .eyebrow { margin-top: 6rem; font-size: 1.25rem; color: var(--accent); }
.credits .cheer { margin-top: 2.5rem; font-family: var(--display); font-size: 2.25rem; font-style: italic; line-height: 1.25; color: var(--text); }
@keyframes credits-box { 3%, 96% { opacity: 1; } }
@keyframes credits-roll { from { transform: translateY(100vh); } to { transform: translateY(-100%); } }
.spot { position: fixed; inset: 0; z-index: 15; display: grid; place-content: center; padding: 4rem 12vw; pointer-events: none; opacity: 0; background: var(--veil); text-align: center; font-family: var(--display); font-size: clamp(2.25rem, 4.5vw, 4.5rem); font-style: italic; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; text-shadow: 0 0 2rem var(--glow-strong); animation: spot 3.5s ease-in-out; }
.spot::before { content: "🥂"; display: block; margin-bottom: .4em; font-style: normal; }
@keyframes spot { 0% { opacity: 0; scale: .85; } 12%, 82% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .6; translate: 0 20vh; } }
#keys { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }

.poster { --p-bg: var(--surface); --p-accent: var(--muted); --p-title: var(--text); --p-text: var(--muted); --p-font: system-ui, sans-serif; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; }
.poster[data-genre="Komödie"] { --p-bg: var(--komoedie-bg); --p-accent: var(--komoedie-accent); --p-title: var(--komoedie-title); --p-text: var(--komoedie-text); --p-font: ui-rounded, "Arial Rounded MT Bold", "Varela Round", "Trebuchet MS", sans-serif; }
.poster[data-genre="Krimi"] { --p-bg: var(--krimi-bg); --p-accent: var(--krimi-accent); --p-title: var(--krimi-title); --p-text: var(--krimi-text); --p-font: "Courier New", Courier, "Nimbus Mono PS", ui-monospace, monospace; }
.poster[data-genre="Doku"] { --p-bg: var(--doku-bg); --p-accent: var(--doku-accent); --p-title: var(--doku-title); --p-text: var(--doku-text); --p-font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif; }
.poster[data-genre="Action"] { --p-bg: var(--action-bg); --p-accent: var(--action-accent); --p-title: var(--action-title); --p-text: var(--action-text); --p-font: Impact, Haettenschweiler, "Arial Narrow", "Liberation Sans Narrow", "DejaVu Sans Condensed", sans-serif; }
.poster[data-genre="Drama"] { --p-bg: var(--drama-bg); --p-accent: var(--drama-accent); --p-title: var(--drama-title); --p-text: var(--drama-text); --p-font: Didot, "Bodoni 72", "Bodoni MT", Georgia, "DejaVu Serif", "Times New Roman", serif; }
.sheet { container-type: inline-size; width: 16rem; max-width: 100%; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: end; padding: 1.25rem; background: var(--p-bg); color: var(--p-text); border: 1px solid var(--border); border-top: .5rem solid var(--p-accent); border-radius: 4px; line-height: 1.3; box-shadow: 0 .5rem 1.5rem var(--shadow); }
.sheet h3 { margin: 0 0 .5em; font-family: var(--p-font); font-size: 12cqi; line-height: 1.05; color: var(--p-title); overflow-wrap: anywhere; }
.sheet h3.long { font-size: 7.5cqi; }
.sheet p { margin: 0; font-size: 5.5cqi; overflow-wrap: anywhere; }
.sheet .genre { order: -1; margin-bottom: auto; color: var(--p-accent); text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.sheet .own { margin-top: .75em; font-style: italic; }
.sheet { rotate: var(--tilt, 0deg); }
.sheet .quote { margin-top: .9em; font-size: 4.2cqi; font-style: italic; opacity: .8; }
#winners .sheet { rotate: none; }
.sheet .laurel { display: flex; align-items: center; gap: .6em; margin-bottom: .6em; color: var(--accent); font-size: 4cqi; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.laurel::before, .laurel::after { content: ""; width: 1.9em; aspect-ratio: 56 / 100; background: currentColor; mask: url(/laurel.svg) center / contain no-repeat; }
.laurel::after { scale: -1 1; }
.poster[data-genre="Komödie"] h3 { font-weight: 900; transform: rotate(-2deg); }
.poster[data-genre="Krimi"] h3 { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.poster[data-genre="Doku"] h3 { font-weight: 300; letter-spacing: -.02em; border-left: .3em solid var(--p-accent); padding-left: .3em; }
.poster[data-genre="Action"] h3 { font-weight: 900; font-style: italic; font-stretch: condensed; text-transform: uppercase; }
.poster[data-genre="Drama"] h3 { font-weight: 400; font-style: italic; font-variant: small-caps; letter-spacing: .03em; }
#posters .sheet.reveal { animation: reveal .6s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: perspective(60rem) scale(.9) rotateY(25deg); } }
#posters .template.reveal, .toast.reveal { animation: enter .6s ease-out both; }
.poster .template { flex: 1 1 8rem; margin: 0; color: var(--muted); }
.poster .template img { width: 6rem; margin-top: .25rem; border-radius: 2px; box-shadow: 0 .25rem 1rem var(--shadow); }
#posters, #nominees { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: 1.5rem 1.25rem; align-items: start; }
#nominees { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin-bottom: 1rem; }
#posters .sheet, #nominees .sheet, #preview .sheet { width: 100%; }
#posters .poster { scroll-margin: 5rem; }
#winners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.nominee { position: relative; display: block; max-width: 16rem; font-size: 1rem; letter-spacing: normal; text-transform: none; color: inherit; cursor: pointer; transition: transform .2s, opacity .2s; }
.nominee input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.nominee:hover:has(:enabled) { transform: translateY(-.25rem); }
.nominee:has(:checked) .sheet { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 2rem var(--glow-strong); }
.nominee:has(:checked)::after { content: "✓"; position: absolute; top: -.6rem; right: -.6rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; }
.nominee:has(:focus-visible) .sheet { outline: 3px solid var(--text); outline-offset: 3px; }
.nominee:has(:disabled:not(:checked)) { opacity: .45; cursor: default; }
#ballot > button { position: sticky; bottom: 1rem; z-index: 2; justify-self: center; min-width: min(20rem, 100%); box-shadow: 0 .5rem 2rem var(--shadow); }

#envelope { text-align: center; }
#envelope-closed { position: relative; isolation: isolate; max-width: 22rem; aspect-ratio: 3 / 2; margin: 2rem auto; padding: 1rem; display: grid; place-items: end center; overflow: hidden; text-align: center; font-weight: 700; color: var(--accent-text); background: linear-gradient(135deg, var(--envelope-light), var(--envelope-mid) 55%, var(--envelope-dark)); border-radius: 6px; box-shadow: 0 0 2rem var(--glow), 0 .5rem 1.5rem var(--shadow); animation: float 2.5s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-.6rem) rotate(-1deg); box-shadow: 0 0 4rem var(--glow-strong), 0 1.25rem 2rem var(--shadow); } }
#envelope-closed::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 58%; background: linear-gradient(var(--flap-light), var(--flap-dark)); clip-path: polygon(0 0, 100% 0, 50% 100%); }
#envelope-closed::after { content: ""; position: absolute; z-index: -1; left: calc(50% - 1.25rem); top: calc(58% - 1.5rem); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--seal-light), var(--seal-dark)); box-shadow: 0 .15rem .4rem var(--shadow); }
#envelope-open h2 { font-size: clamp(1.5rem, 6.5vw, 2.75rem); font-style: italic; color: var(--accent); text-shadow: 0 0 1rem var(--glow-strong); }
#envelope-open.opening { animation: envelope-open 1s ease-out both; }
#envelope-closed.suspense { animation: suspense 2.2s ease-in both; }
@keyframes suspense { 10% { rotate: -1deg; } 20% { rotate: 1deg; } 30% { rotate: -2deg; } 40% { rotate: 2deg; } 50% { rotate: -3deg; } 60% { rotate: 3deg; } 70% { rotate: -4deg; } 80% { rotate: 4deg; scale: 1.04; } 90% { rotate: -5deg; scale: 1.08; } 100% { scale: 1.14; filter: brightness(1.7); } }
@keyframes envelope-open { 0% { opacity: 0; transform: translateY(2rem) scale(.94); filter: brightness(2.5); } 60% { opacity: 1; } 100% { transform: none; filter: none; } }
#winners .poster { justify-content: center; text-align: left; }
#no-oscar { font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.confetti { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -1.5rem; width: .6rem; height: 1rem; animation: confetti var(--t) var(--d) cubic-bezier(.2, .6, .4, 1) both; }
@keyframes confetti { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }
.sunrise { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 50% 100%, var(--sun-glow), transparent 75%); animation: sun-fade 6s ease-in-out both; }
.sunrise::before, .sunrise::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; animation: sunrise 6s ease-in-out both; }
.sunrise::before { width: 100vmin; height: 100vmin; margin: -50vmin; background: repeating-conic-gradient(var(--sun-glow) 0 8deg, transparent 8deg 24deg); mask: radial-gradient(circle, var(--bg) 30%, transparent 70%); animation-name: sunrise, sun-spin; animation-timing-function: ease-in-out, linear; }
.sunrise::after { width: 40vmin; height: 40vmin; margin: -20vmin; background: radial-gradient(circle at 40% 35%, var(--sun-core), var(--sun-edge)); box-shadow: 0 0 8vmin 2vmin var(--sun-glow); }
.sunrise .logo { position: absolute; left: 50%; top: 50%; z-index: 1; width: min(72vw, 34rem); aspect-ratio: 3; translate: -50% -50%; background: var(--paper) url(sungrow.svg) center / 80% auto no-repeat; border-radius: 1rem; box-shadow: 0 0 4rem var(--sun-glow); animation: solax-pop 6s 1.3s ease-out both; }
@keyframes sunrise { 0% { translate: 0 80vh; scale: .5; } 45% { translate: 0 0; scale: 1; } 85%, 100% { translate: 0 0; scale: 6; } }
@keyframes sun-spin { to { rotate: 120deg; } }
@keyframes sun-fade { 0% { opacity: 0; } 10%, 85% { opacity: 1; } 100% { opacity: 0; } }
.solax { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: var(--veil); animation: sun-fade 6s ease-in-out both; }
.solax i { position: absolute; top: 50%; }
.solax .dc { left: 0; width: 50%; height: .4rem; margin-top: -.2rem; background: linear-gradient(90deg, transparent, var(--sun-edge) 40%); box-shadow: 0 0 1.5rem var(--sun-glow); transform-origin: left; animation: solax-dc 6s ease-in both; }
.solax .ac { left: 50%; width: 50%; height: 34vmin; margin-top: -17vmin; background: linear-gradient(90deg, var(--sun-edge), var(--sun-core)); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none' fill='none' stroke='black'%3E%3Cpath d='M-200 50Q-150 -20 -100 50T0 50T100 50T200 50T300 50T400 50' stroke-width='16' stroke-opacity='.3' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M-200 50Q-150 -20 -100 50T0 50T100 50T200 50T300 50T400 50' stroke-width='5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 22vmin 100% repeat-x; animation: solax-ac 6s ease-out both, solax-flow .7s linear infinite; }
.solax .inverter { left: 50%; width: min(56vw, 30rem); aspect-ratio: 600 / 250; translate: -50% -50%; background: var(--paper) url(solax-logo.png) center / 100% auto no-repeat; border-radius: 1rem; box-shadow: 0 0 4rem var(--sun-glow); animation: solax-pop 6s ease-out both, solax-hum .9s 2.2s ease-in-out infinite alternate; }
.solax .inverter::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--sun-edge); border-radius: inherit; animation: solax-ring 6s ease-out both; }
@keyframes solax-dc { 0%, 6% { scale: 0 1; } 24%, 100% { scale: 1 1; } }
@keyframes solax-pop { 0%, 24% { scale: 0; } 31% { scale: 1.15; } 36%, 100% { scale: 1; } }
@keyframes solax-ring { 0%, 28% { opacity: 0; scale: 1; } 30% { opacity: 1; } 52%, 100% { opacity: 0; scale: 2.6; } }
@keyframes solax-hum { to { box-shadow: 0 0 7rem var(--sun-edge); } }
@keyframes solax-ac { 0%, 33% { clip-path: inset(0 100% 0 0); } 58%, 100% { clip-path: inset(0); } }
@keyframes solax-flow { to { mask-position: 22vmin 0; } }
.eebus { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: var(--veil); animation: sun-fade 6s ease-in-out both; }
.eebus i { position: absolute; left: 50%; top: 50%; }
.eebus .spoke { --a: calc(30deg + var(--n) * 60deg); --d: calc(.7s + var(--n) * .2s); width: 38vmin; height: .25rem; margin-top: -.125rem; transform-origin: 0 50%; rotate: var(--a); background: linear-gradient(var(--eebus), var(--eebus)) no-repeat; animation: eebus-line .4s var(--d) ease-out both; }
.eebus .spoke:nth-child(1) { --n: 0; --icon: "☀️"; }
.eebus .spoke:nth-child(2) { --n: 1; --icon: "🔋"; }
.eebus .spoke:nth-child(3) { --n: 2; --icon: "🚗"; }
.eebus .spoke:nth-child(4) { --n: 3; --icon: "🌡️"; }
.eebus .spoke:nth-child(5) { --n: 4; --icon: "🏠"; }
.eebus .spoke:nth-child(6) { --n: 5; --icon: "⚡"; }
.eebus .spoke::before { content: ""; position: absolute; left: -.5rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; border-radius: 50%; background: var(--sun-core); box-shadow: 0 0 1rem .25rem var(--eebus); animation: eebus-in .2s calc(var(--d) + .5s) both, eebus-packet 1.1s calc(var(--d) + .5s) linear infinite alternate; }
.eebus .spoke:nth-child(even)::before { animation-direction: normal, alternate-reverse; }
.eebus .spoke::after { content: var(--icon); position: absolute; right: -7vmin; top: 50%; display: grid; place-items: center; width: 14vmin; height: 14vmin; margin-top: -7vmin; font-style: normal; font-size: 7vmin; line-height: 1; border-radius: 50%; background: var(--raised); border: .25rem solid var(--eebus); box-shadow: 0 0 2rem var(--eebus-glow); rotate: calc(-1 * var(--a)); animation: eebus-pop .4s calc(var(--d) + .3s) cubic-bezier(.3, 1.6, .6, 1) both; }
.eebus .hub { width: 54vmin; aspect-ratio: 791 / 260; padding: 2vmin 3vmin; translate: -50% -50%; background: var(--paper) url(eebus.png) center / contain no-repeat; background-origin: content-box; border-radius: 1.5vmin; box-shadow: 0 0 4rem var(--eebus-glow); animation: eebus-pop .5s .2s cubic-bezier(.3, 1.6, .6, 1) both; }
.eebus .hub::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--eebus); border-radius: inherit; animation: eebus-ring 1.4s .7s ease-out infinite both; }
@keyframes eebus-line { from { background-size: 0 100%; } }
@keyframes eebus-pop { from { scale: 0; } }
@keyframes eebus-in { from { opacity: 0; } }
@keyframes eebus-packet { to { translate: 38vmin; } }
@keyframes eebus-ring { from { opacity: 0; } 15% { opacity: 1; } to { opacity: 0; scale: 1.5 2.2; } }
.ocpp { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: var(--veil); animation: sun-fade 6s ease-in-out both; }
.ocpp i { position: absolute; top: 50%; }
.ocpp .cable { left: 0; width: calc(50% - 22vmin); height: 1.2vmin; margin-top: -.6vmin; background: repeating-linear-gradient(90deg, var(--ocpp-violet) 0 3vmin, var(--ocpp-pink) 3vmin 6vmin); box-shadow: 0 0 2vmin var(--ocpp-glow); animation: ocpp-cable 6s ease-in both, ocpp-flow .5s linear infinite; }
.ocpp .cable::after { content: ""; position: absolute; right: 0; top: 50%; width: 3.5vmin; height: 5vmin; translate: 0 -50%; background: var(--ocpp-violet); border-radius: .8vmin; box-shadow: 0 0 2vmin var(--ocpp-glow); }
.ocpp .logo { left: 50%; width: 44vmin; aspect-ratio: 406 / 289; translate: -50% -50%; background: var(--paper) url(ocpp.png) center / 88% no-repeat; border-radius: 1.5vmin; box-shadow: 0 0 4rem var(--ocpp-glow); animation: solax-pop 6s ease-out both; }
.ocpp .logo::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--ocpp-pink); border-radius: inherit; animation: solax-ring 6s ease-out both; }
.ocpp .battery { left: 50%; top: calc(50% + 19vmin); width: 30vmin; height: 10vmin; padding: .6vmin; translate: -50% 0; border: .6vmin solid var(--ocpp-pink); border-radius: 1.5vmin; background: linear-gradient(90deg, var(--ocpp-violet), var(--ocpp-pink)) 0 0 / calc(var(--pct) * 1%) 100% no-repeat content-box; box-shadow: 0 0 3vmin var(--ocpp-glow); counter-reset: pct var(--pct); animation: eebus-pop .4s 1.8s cubic-bezier(.3, 1.6, .6, 1) both, ocpp-charge 2.7s 2s ease-in-out both; }
.ocpp .battery::before { content: ""; position: absolute; left: 100%; top: 50%; width: 1.6vmin; height: 4vmin; margin-left: .6vmin; translate: 0 -50%; background: var(--ocpp-pink); border-radius: 0 .5vmin .5vmin 0; }
.ocpp .battery::after { content: "⚡ " counter(pct) "%"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 4.5vmin; color: var(--paper); text-shadow: 0 0 1vmin var(--ocpp-violet); }
@property --pct { syntax: "<integer>"; inherits: false; initial-value: 0; }
@keyframes ocpp-cable { 0%, 5% { width: 0; } 24%, 100% { width: calc(50% - 22vmin); } }
@keyframes ocpp-flow { to { background-position: 6vmin 0; } }
@keyframes ocpp-charge { to { --pct: 100; } }
.bdlnext { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: var(--veil); animation: sun-fade 6s ease-in-out both; }
.bdlnext i { position: absolute; top: 50%; }
.bdlnext .sky { inset: 0; }
.bdlnext .sky::before, .bdlnext .sky::after { content: ""; position: absolute; inset: 0; animation: bdl-day 6s ease-in-out both; }
.bdlnext .sky::before { background: radial-gradient(circle at 88% 26%, var(--sun-glow), transparent 55%); }
.bdlnext .sky::after { background: radial-gradient(circle, var(--paper) .2vmin, transparent .35vmin) 3vmin 2vmin / 23vmin 19vmin, radial-gradient(circle, var(--paper) .12vmin, transparent .25vmin) 11vmin 7vmin / 17vmin 13vmin, radial-gradient(circle, var(--moon) .15vmin, transparent .3vmin) 7vmin 15vmin / 29vmin 23vmin, linear-gradient(var(--night), transparent 70%); mask: linear-gradient(#000 25%, transparent 55%); animation-name: bdl-night; }
.bdlnext .sun, .bdlnext .moon { left: 88%; top: calc(50% - 24vmin); width: 12vmin; height: 12vmin; margin: -6vmin; border-radius: 50%; }
.bdlnext .sun { background: radial-gradient(circle at 40% 35%, var(--sun-core), var(--sun-edge)); box-shadow: 0 0 6vmin 1vmin var(--sun-glow); animation: bdl-sun 6s ease-in-out both; }
.bdlnext .moon { box-shadow: inset -3.5vmin 2vmin 0 0 var(--moon); filter: drop-shadow(0 0 3vmin var(--moon-glow)); animation: bdl-moon 6s ease-in-out both; }
.bdlnext .flow { left: 12%; right: 12%; height: 2.4vmin; margin-top: -1.2vmin; mask: radial-gradient(circle, #000 35%, transparent 40%) 0 50% / 4vmin 100% repeat-x; animation: bdl-grow .6s .4s ease-out both, bdl-flow 6s linear both; }
.bdlnext .car, .bdlnext .house { width: 18vmin; height: 18vmin; margin: -9vmin; display: grid; place-items: center; font-style: normal; font-size: 9vmin; line-height: 1; border-radius: 50%; background: var(--raised); border: .6vmin solid var(--bdl-blue); box-shadow: 0 0 3vmin var(--bdl-blue); animation-duration: .4s, 6s; animation-delay: .2s, 0s; animation-timing-function: cubic-bezier(.3, 1.6, .6, 1), ease-in-out; animation-fill-mode: both; }
.bdlnext .car { left: 12%; counter-reset: pct var(--pct); animation-name: eebus-pop, bdl-battery; }
.bdlnext .house { left: 88%; animation-name: eebus-pop, bdl-lit; }
.bdlnext .car::before { content: "🚗"; }
.bdlnext .house::before { content: "🏠"; }
.bdlnext .car::after { content: "🔋 " counter(pct) "%"; position: absolute; left: 50%; top: calc(100% + 2vmin); translate: -50% 0; font-size: 4vmin; font-weight: 700; white-space: nowrap; color: var(--paper); }
.bdlnext .logo { left: 50%; top: calc(50% - 30vmin); width: 44vmin; aspect-ratio: 1741 / 270; box-sizing: content-box; padding: 3vmin 4vmin; translate: -50% -50%; background: var(--paper) url(bdl-next.png) center / contain no-repeat; background-origin: content-box; border-radius: 1.5vmin; box-shadow: 0 0 4rem var(--bdl-glow); animation: eebus-pop .5s .3s cubic-bezier(.3, 1.6, .6, 1) both; }
@keyframes bdl-day { 0%, 40% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes bdl-night { 0%, 48% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes bdl-sun { 0% { translate: 0 10vmin; opacity: 0; } 8%, 40% { translate: 0 0; opacity: 1; } 52%, 100% { translate: 0 24vmin; opacity: 0; } }
@keyframes bdl-moon { 0%, 50% { translate: 0 24vmin; opacity: 0; } 64%, 100% { translate: 0 0; opacity: 1; } }
@keyframes bdl-flow { 0%, 10% { mask-position: 0 50%; background-color: var(--sun-edge); } 43% { mask-position: -40vmin 50%; background-color: var(--sun-edge); opacity: 1; } 49% { opacity: .15; } 55% { mask-position: -40vmin 50%; background-color: var(--bdl-blue); opacity: 1; } 85%, 100% { mask-position: 0 50%; background-color: var(--bdl-blue); } }
@keyframes bdl-battery { 0%, 10% { --pct: 25; } 43%, 55% { --pct: 95; } 85%, 100% { --pct: 40; } }
@keyframes bdl-lit { 0%, 55% { box-shadow: 0 0 3vmin var(--bdl-blue); } 65%, 100% { box-shadow: 0 0 6vmin 1vmin var(--sun-edge); } }
@keyframes bdl-grow { from { clip-path: inset(0 50%); } }
.viessmann { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: var(--veil); animation: sun-fade 6s ease-in-out both; }
.viessmann i { position: absolute; left: 50%; top: 50%; }
.viessmann .logo { top: calc(50% - 22vmin); width: 50vmin; aspect-ratio: 1473 / 312; box-sizing: content-box; padding: 3vmin 4vmin; translate: -50% -50%; background: var(--paper) url(viessmann.png) center / contain no-repeat; background-origin: content-box; border-radius: 1.5vmin; box-shadow: 0 0 4rem var(--vm-glow); animation: eebus-pop .5s .2s cubic-bezier(.3, 1.6, .6, 1) both; }
.viessmann .bar { --h: 10vmin; top: auto; bottom: calc(50% - 32vmin); left: calc(50% + (var(--n) - 3) * 8vmin - 3vmin); width: 6vmin; border-radius: .8vmin .8vmin 0 0; background: linear-gradient(var(--sun-core), var(--sun-edge)); box-shadow: 0 0 2vmin var(--sun-glow); animation: vm-bar 4s calc(.8s + var(--n) * .08s) ease-in-out both; }
.viessmann .bar:nth-child(1) { --n: 0; --h: 10vmin; }
.viessmann .bar:nth-child(2) { --n: 1; --h: 16vmin; }
.viessmann .bar:nth-child(3) { --n: 2; --h: 25vmin; }
.viessmann .bar:nth-child(4) { --n: 3; --h: 30vmin; }
.viessmann .bar:nth-child(5) { --n: 4; --h: 27vmin; }
.viessmann .bar:nth-child(6) { --n: 5; --h: 17vmin; }
.viessmann .bar:nth-child(7) { --n: 6; --h: 11vmin; }
.viessmann .bar:nth-child(n + 3):nth-child(-n + 5) { animation-name: vm-bar, vm-hot; }
.viessmann .limit { top: calc(50% + 12vmin); width: 64vmin; margin-left: -32vmin; border-top: .5vmin dashed var(--vm-orange); filter: drop-shadow(0 0 1vmin var(--vm-orange)); animation: bdl-grow .6s .6s ease-out both; }
.viessmann .limit::before { content: "LPP"; position: absolute; white-space: nowrap; right: 100%; bottom: 0; margin-right: 1.5vmin; translate: 0 50%; font-style: normal; font-weight: 700; font-size: 3.5vmin; color: var(--vm-orange); }
@keyframes vm-bar { 0% { height: 0; } 40%, 55% { height: var(--h); } 75%, 100% { height: min(var(--h), 20vmin); } }
@keyframes vm-hot { 0%, 36% { box-shadow: inset 0 0 0 0 var(--vm-orange), 0 0 2vmin var(--sun-glow); } 45%, 60% { box-shadow: inset 0 0 0 10vmin var(--vm-orange), 0 0 4vmin var(--vm-orange); } 80%, 100% { box-shadow: inset 0 0 0 0 var(--vm-orange), 0 0 2vmin var(--sun-glow); } }
.impact { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; background: color-mix(in srgb, var(--veil) 60%, transparent); animation: sun-fade 6s ease-in-out both; }
.impact i { position: absolute; left: 40%; top: 100%; }
.impact .meteor { --s: 70vmin; width: var(--s); height: var(--s); margin: calc(var(--s) * -.77) 0 0 calc(var(--s) * -.18); transform-origin: 18% 77%; rotate: calc(39deg - atan2(130vh, 78vw)); background: url(schweif.webp) center / 100% no-repeat; animation: impact-fly 1.8s both; }
.impact .meteor::before { content: ""; position: absolute; left: -1.7%; top: 41.8%; width: 55%; height: 55%; background: url(meteor.webp) center / 100% no-repeat; }
.impact .flash { inset: 0; opacity: 0; background: radial-gradient(circle at 40% 100%, var(--sun-core), var(--sun-edge) 30%, transparent 75%); animation: impact-flash .9s 1.8s ease-out; }
.impact .ring { width: 20vmin; height: 20vmin; margin: -10vmin; opacity: 0; border: .5vmin solid var(--sun-core); border-radius: 50%; box-shadow: 0 0 4vmin var(--sun-edge), inset 0 0 4vmin var(--sun-edge); animation: impact-ring 1.1s 1.8s ease-out; }
.impact .crater { width: 70vmin; height: 26vmin; margin: -13vmin 0 0 -35vmin; opacity: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--sun-core), var(--sun-edge) 45%, transparent); animation: impact-crater 3.6s 1.8s ease-out; }
.impact .smoke { width: 90vmin; height: 90vmin; margin: -88vmin 0 0 -44vmin; opacity: 0; transform-origin: 49% 98%; background: url(rauch.webp) center / 100% no-repeat; animation: impact-smoke 4s 1.8s ease-out; }
.impact .shard { z-index: 1; animation: impact-x var(--t) 1.8s linear both; }
.impact .shard::before { content: ""; position: absolute; width: 13vmin; height: 13vmin; margin: -6.5vmin; opacity: 0; background: url(partikel.webp) calc(var(--c) * 50%) calc(var(--r) * 50%) / 300% 300%; animation: impact-y var(--t) 1.8s, impact-tumble var(--t) 1.8s linear; }
.impact .shard:nth-child(1) { --c: 0; --r: 0; --dx: -62vmin; --h: 58vmin; --t: 2.2s; }
.impact .shard:nth-child(2) { --c: 1; --r: 0; --dx: 48vmin; --h: 74vmin; --t: 2.5s; }
.impact .shard:nth-child(3) { --c: 2; --r: 0; --dx: -24vmin; --h: 88vmin; --t: 2.7s; }
.impact .shard:nth-child(4) { --c: 0; --r: 1; --dx: 84vmin; --h: 46vmin; --t: 1.9s; }
.impact .shard:nth-child(5) { --c: 1; --r: 1; --dx: 16vmin; --h: 62vmin; --t: 2.3s; }
.impact .shard:nth-child(6) { --c: 2; --r: 1; --dx: -90vmin; --h: 34vmin; --t: 1.7s; }
.impact .shard:nth-child(7) { --c: 0; --r: 2; --dx: 112vmin; --h: 70vmin; --t: 2.4s; }
.impact .shard:nth-child(8) { --c: 1; --r: 2; --dx: -42vmin; --h: 28vmin; --t: 1.5s; }
.impact .shard:nth-child(9) { --c: 2; --r: 2; --dx: 34vmin; --h: 96vmin; --t: 2.8s; }
.impact .shard:nth-child(even)::before { animation-direction: normal, reverse; }
body:has(.impact) main { animation: impact-shake .7s 1.8s linear; }
@keyframes impact-fly { 0%, 26% { translate: 78vw -130vh; animation-timing-function: ease-in; } 99.9% { translate: 0; opacity: 1; } 100% { translate: 0; opacity: 0; } }
@keyframes impact-flash { from { opacity: 1; } }
@keyframes impact-ring { from { opacity: 1; scale: 0; } to { scale: 14 6; } }
@keyframes impact-crater { 0% { opacity: 1; scale: 0; } 6% { opacity: 1; scale: 1.2; } 100% { scale: .7; } }
@keyframes impact-smoke { 0% { scale: .1; } 12% { opacity: .95; } 55% { opacity: .8; } 100% { scale: 1.25; translate: 5vmin -10vmin; } }
@keyframes impact-x { to { translate: var(--dx); } }
@keyframes impact-y { 0% { opacity: 1; animation-timing-function: cubic-bezier(.33, .67, .67, 1); } 45% { translate: 0 calc(-1 * var(--h)); animation-timing-function: cubic-bezier(.33, 0, .67, .33); } 99.9% { opacity: 1; } 100% { translate: 0 calc(var(--h) * .5 + 10vmin); } }
@keyframes impact-tumble { to { rotate: 2turn; } }
@keyframes impact-shake { 10% { translate: -1.2vmin .8vmin; } 25% { translate: 1vmin -1vmin; } 40% { translate: -.8vmin -.5vmin; } 55% { translate: .6vmin .6vmin; } 70% { translate: -.4vmin .3vmin; } 85% { translate: .2vmin -.2vmin; } }

#wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: .75rem; align-items: start; }
#closing { margin: 0 0 2rem; padding: 1rem 1.25rem; border-left: .35rem solid var(--accent); background: var(--surface); color: var(--accent); font-family: var(--display); font-size: 1.5rem; font-style: italic; line-height: 1.25; }
.toast { position: relative; display: grid; gap: .6rem; justify-items: start; padding: 1rem 4.5rem .8rem 1rem; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: 2px; }
.toast p { margin: 0; font-family: var(--display); font-size: 1.15rem; font-style: italic; line-height: 1.35; }
.toast button { min-height: 44px; padding: .3rem .9rem; background: none; color: var(--accent); border-color: var(--accent-dim); border-radius: 99px; font-size: .75rem; }
.glasses { position: absolute; right: 1rem; top: .5rem; display: flex; font-size: 1.5rem; pointer-events: none; }
.glasses span { display: inline-block; animation: clink-left 1.5s ease-in-out forwards; }
.glasses .right { transform: scaleX(-1); animation-name: clink-right; }
@keyframes clink-left { 0% { opacity: 0; transform: translateX(-1.5rem) rotate(-25deg); } 30% { opacity: 1; transform: translateX(0) rotate(0); } 40% { transform: translateX(.3rem) rotate(10deg); } 50% { transform: translateX(0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes clink-right { 0% { opacity: 0; transform: scaleX(-1) translateX(-1.5rem) rotate(-25deg); } 30% { opacity: 1; transform: scaleX(-1) translateX(0) rotate(0); } 40% { transform: scaleX(-1) translateX(.3rem) rotate(10deg); } 50% { transform: scaleX(-1) translateX(0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; } }

#genres { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
#genres legend { padding: 0; margin-bottom: .5rem; }
#genres label { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--border); border-radius: 99px; font-size: .9rem; letter-spacing: normal; text-transform: none; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
#genres input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
#genres label:hover { border-color: var(--accent); }
#genres label:has(:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
#genres label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
#browser { grid-template-columns: 1fr auto; }
#browser > * { grid-column: 1 / -1; margin-block: 0; }
#browser > input { grid-column: 1; }
#browser > input + button { grid-column: 2; }
#movies { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .5rem; transition: opacity .2s; }
#movies[aria-busy=true] { opacity: .35; }
#movies li { animation: enter .4s ease-out backwards; }
#movies button { width: 100%; height: 100%; padding: 0; overflow: hidden; display: grid; align-content: start; background: var(--surface); color: var(--text); border-color: var(--border); font-size: .78rem; font-weight: 400; letter-spacing: normal; text-transform: none; text-align: left; }
#movies button:hover { border-color: var(--accent); transform: translateY(-.2rem); }
#movies img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--raised); }
#movies span { padding: .35rem .45rem; }
#template { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; padding: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; }
#template img { width: 3.5rem; border-radius: 2px; }
#template span { flex: 1 1 12rem; }
#film > p { margin: 0; }
#examples { margin: 0; padding-left: 1.2rem; color: var(--muted); font-family: var(--display); font-style: italic; }
#preview { width: 11rem; justify-self: center; }
@media (min-width: 40rem) {
  #film { grid-template-columns: 1fr 14rem; column-gap: 2rem; }
  #film > * { grid-column: 1; }
  #preview { grid-column: 2; grid-row: 1 / span 7; width: auto; justify-self: stretch; align-self: start; }
}

#players { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; }
#players li { padding: .2rem .8rem; border: 1px solid var(--border); border-radius: 99px; }
details { margin-top: 2.5rem; border-top: 1px solid var(--border); }
summary { padding: 1rem 0; color: var(--muted); cursor: pointer; }

body[data-page=show] { max-width: none; padding: 1.5rem 3rem; }
body[data-page=show] h1 { font-size: 3rem; }
body[data-page=show] h2 { font-size: 2.5rem; }
body[data-page=show] #posters, body[data-page=show] #nominees { display: flex; flex-wrap: wrap; gap: 2rem; }
body[data-page=show] #winners { gap: 2rem; }
body[data-page=show] .poster { font-size: 1.5rem; }
body[data-page=show] #posters .sheet, body[data-page=show] #nominees .sheet, body[data-page=show] .sheet { width: 26rem; padding: 2rem; }
body[data-page=show] .marquee { max-width: 48rem; padding: 4rem 2rem; font-size: 1.5rem; }
body[data-page=show] .marquee strong { font-size: 5rem; }
body[data-page=show] #envelope-closed { max-width: 40rem; font-size: 1.75rem; }
body[data-page=show] #envelope-open h2 { font-size: 5rem; line-height: 1.1; }
body[data-page=show] #winners .sheet { width: 40rem; aspect-ratio: 3 / 2; }
body[data-page=show] #winners .sheet h3 { font-size: 15cqi; }
body[data-page=show] #winners .sheet h3.long { font-size: 9.5cqi; }
body[data-page=show] #no-oscar { font-size: 4rem; }
body[data-page=show] #wall { grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); gap: 1.25rem; }
body[data-page=show] #closing { font-size: 2.5rem; }
body[data-page=show] .toast p { font-size: 1.75rem; }

footer { margin-top: 4rem; font-size: 0.75rem; color: var(--muted); text-align: center; }
footer p { margin: 0.25rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
