  #zuvi-midnight {
    color-scheme: dark;
    --night: #180e1b;
    --plum: #28152a;
    --paper: #fff3e0;
    --quiet: #e8cdd6;
    --amber: #ffd085;
    --moon: #c5e5ef;
    --ink: #241524;
    --soft-line: #e8cdd641;
    overflow: clip;
    background: var(--night);
    color: var(--paper);
    font: 400 15px/1.55 'DM Sans',system-ui,sans-serif;
  }
  #zuvi-midnight *, #zuvi-midnight *::before, #zuvi-midnight *::after { box-sizing: border-box; }
  #zuvi-midnight h1, #zuvi-midnight h2, #zuvi-midnight p, #zuvi-midnight figure { margin: 0; }
  #zuvi-midnight a { color: inherit; }
  #zuvi-midnight .midnight-hero { position: relative; isolation: isolate; background: var(--plum); }
  #zuvi-midnight .midnight-cover { display: contents; }
  #zuvi-midnight .midnight-art {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    max-width: none; object-fit: cover; object-position: 58% center;
    transform: translateY(var(--cover-offset, 0px)) scale(1.07);
    transform-origin: 65% 48%;
  }
  #zuvi-midnight .midnight-hero::before {
    position: absolute; inset: 0; z-index: -1; content: '';
    background: linear-gradient(90deg,#211021 3%,#211021eb 26%,#2110212b 62%,transparent 84%);
  }
  #zuvi-midnight .midnight-hero { overflow: clip; }
  #zuvi-midnight .midnight-beam {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 39%, #ffcd80ad 67%, #ffab661d 88%);
    clip-path: polygon(40% 33%,100% 53%,100% 91%);
    opacity: var(--beam-light, .13);
    transform: rotate(var(--beam-tilt, 0deg));
    transform-origin: 40% 33%;
    mix-blend-mode: screen;
  }
  #zuvi-midnight .midnight-inner { width: min(100%, 1180px); margin-inline: auto; padding-inline: clamp(22px,6.1%,72px); }
  #zuvi-midnight nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 23px; }
  #zuvi-midnight .midnight-wordmark { display: inline-flex; align-items: center; gap: 9px; font: 700 32px/1 'DM Sans',system-ui,sans-serif; letter-spacing: -.065em; text-decoration: none; }
  #zuvi-midnight .midnight-copy em { color: var(--amber); }
  #zuvi-midnight .midnight-nav-link {
    display: inline-flex; gap: 9px; align-items: center; min-height: 44px; padding: 0 13px;
    border: 1px solid var(--soft-line); background: var(--night); text-decoration: none;
  }
  #zuvi-midnight .midnight-copy { padding-block: clamp(63px,9vw,110px) clamp(60px,8vw,91px); max-width: 500px; }
  #zuvi-midnight h1 { font: 600 clamp(50px,8.2vw,96px)/.98 'Playfair Display',Georgia,serif; letter-spacing: -.075em; }
  #zuvi-midnight .midnight-copy p { margin-top: 21px; max-width: 32ch; color: var(--paper); font-size: clamp(15px,2vw,19px); }
  #zuvi-midnight .midnight-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
  #zuvi-midnight .midnight-download {
    display: inline-flex; justify-content: space-between; gap: 13px; align-items: center;
    min-height: 56px; padding: 0 16px; border: 1px solid transparent; border-radius: 7px;
    color: var(--ink); font: 600 14px/1.2 'DM Sans',system-ui,sans-serif;
    box-shadow: 0 3px 0 #13091488; transition: translate 160ms, filter 160ms;
  }
  #zuvi-midnight .midnight-download:hover { translate: 0 -2px; filter: brightness(1.09); }
  #zuvi-midnight .midnight-download strong { font-weight: 700; }
  #zuvi-midnight .mac { background: var(--amber); }
  #zuvi-midnight .linux { background: var(--moon); }
  #zuvi-midnight figure img { display: block; width: 100%; height: auto; background: var(--plum); border-radius: 6px; }
  #zuvi-midnight figcaption { color: var(--quiet); font-size: 13px; margin-top: 7px; }
  #zuvi-midnight .chapter-guide {
    position: sticky; top: 0; z-index: 3; isolation: isolate;
    background: #1e1122; border-block: 1px solid #e4c1d329;
  }
  #zuvi-midnight .chapter-guide-inner {
    width: min(100%, 1180px); margin-inline: auto; padding-inline: clamp(16px,6.1%,72px);
    display: flex; align-items: center;
  }
  #zuvi-midnight .chapter-guide nav { padding: 0; width: 100%; justify-content: flex-start; gap: clamp(4px,2vw,24px); }
  #zuvi-midnight .chapter-guide a {
    display: grid; place-items: center; min-height: 53px; padding-inline: clamp(6px,1vw,13px);
    color: var(--quiet); font-size: .875rem; text-decoration: none; white-space: nowrap;
  }
  #zuvi-midnight .chapter-guide a[aria-current="location"] { color: var(--amber); box-shadow: inset 0 -2px var(--amber); }
  #zuvi-midnight .chapter-progress {
    position: absolute; height: 1px; bottom: 0; left: 0; right: 0; transform-origin: left;
    background: var(--amber); transform: scaleX(var(--reading-progress,0)); pointer-events: none;
  }
  #zuvi-midnight .story-chapter {

    position: relative; scroll-margin-top: 68px; width: min(100%,1180px); margin-inline: auto;
    padding: clamp(56px,10vw,118px) clamp(22px,6.1%,72px);
    display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: clamp(14px,2.4vw,28px); row-gap: 26px;
    border-bottom: 1px solid #e8cdd61d; align-items: center;
  }
  #zuvi-midnight .chapter-heading { grid-column: 1 / 5; }
  #zuvi-midnight .story-chapter h2, #zuvi-midnight .midnight-closing h2 {
    font: 600 clamp(37px,5.8vw,78px)/.99 'Playfair Display',Georgia,serif; letter-spacing: -.065em;
    text-wrap: balance;
  }
  #zuvi-midnight .chapter-heading h2 + p { margin-top: 17px; color: var(--quiet); font-size: 1rem; max-width: 34ch; }
  #zuvi-midnight .story-lead { grid-column: 5 / -1; }
  #zuvi-midnight .chapter-invite { background: linear-gradient(145deg,#211121 35%,#311927 100%); }
  #zuvi-midnight .chapter-invite .story-lead { grid-column: 1 / 9; grid-row: 1; }
  #zuvi-midnight .chapter-invite .chapter-heading { grid-column: 9 / -1; grid-row: 1; }
  #zuvi-midnight .story-inset { grid-column: 7 / -1; }
  #zuvi-midnight .chapter-watch { background: radial-gradient(ellipse at 38% 44%,#26304080 2%,transparent 65%); }
  #zuvi-midnight .chapter-watch .chapter-heading { grid-column: 3 / 11; text-align: center; }
  #zuvi-midnight .chapter-watch .chapter-heading h2 + p { max-width: 46ch; margin-inline: auto; }
  #zuvi-midnight .story-wide { grid-column: 1 / -1; }
  #zuvi-midnight .midnight-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,2vw,24px); }
  #zuvi-midnight .chapter-personal { background: linear-gradient(152deg,#24152b,transparent 82%); }
  #zuvi-midnight .compact-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #zuvi-midnight .midnight-closing { background: linear-gradient(95deg,#281528,#1c1729); padding-block: clamp(46px,7vw,78px); }
  #zuvi-midnight .motion-ready [data-reveal] { opacity: .20; translate: 0 22px; }
  #zuvi-midnight .motion-ready figure[data-reveal] { filter: saturate(.72); }
  #zuvi-midnight .motion-ready .story-lead[data-reveal] {
    transform: perspective(1100px) rotateY(-7deg); transform-origin: left center;
  }
  #zuvi-midnight .motion-ready .chapter-invite .story-lead[data-reveal] {
    transform: perspective(1100px) rotateY(7deg); transform-origin: right center;
  }
  #zuvi-midnight .motion-ready [data-reveal].in-view {
    opacity: 1; translate: 0 0; filter: none;
    transition: opacity .64s ease, translate .68s cubic-bezier(.22,.68,.28,1), filter .72s ease, transform .85s cubic-bezier(.22,.68,.28,1);
  }
  #zuvi-midnight .motion-ready .story-chapter .story-lead[data-reveal].in-view {
    transform: perspective(1100px) rotateY(0deg);
  }
  @media (max-width: 615px) {
    #zuvi-midnight .midnight-art { height: 69%; object-position: 78% top; }
    #zuvi-midnight .midnight-hero::before { background: linear-gradient(180deg,#2110213b 0%,transparent 20%,#2110211a 27%,#211021eb 55%,#211021 74%); }
    #zuvi-midnight .midnight-copy { padding-block: 145px 38px; }
    #zuvi-midnight h1 { font-size: clamp(47px,10.8vw,65px); }
    #zuvi-midnight .midnight-beam { display: none; }
    #zuvi-midnight .chapter-guide nav { width: 100%; justify-content: space-between; }
    #zuvi-midnight .story-chapter { grid-template-columns: minmax(0,1fr); row-gap: 20px; }
    #zuvi-midnight .story-chapter :is(.chapter-heading,.story-lead,.story-inset,.midnight-grid) { grid-column: 1; grid-row: auto; }
    #zuvi-midnight .chapter-watch .chapter-heading { text-align: start; }
    #zuvi-midnight .chapter-watch .chapter-heading h2 + p { margin-inline: 0; }
    #zuvi-midnight .compact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  }
  @media (max-width: 435px) {
    #zuvi-midnight .midnight-downloads { display: grid; grid-template-columns: 1fr; max-width: 345px; }
    #zuvi-midnight .midnight-grid { grid-template-columns: 1fr; gap: 17px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #zuvi-midnight .midnight-download { transition: none; translate: none; }
    #zuvi-midnight .motion-ready [data-reveal] { opacity: 1; translate: none; filter: none; transition: none; }
    #zuvi-midnight .motion-ready .story-chapter .story-lead[data-reveal] { transform: none; }
    #zuvi-midnight .midnight-art, #zuvi-midnight .midnight-beam { transform: none; }
  }
html { background: #180e1b; color-scheme: dark; }
body { margin: 0; }
#zuvi-midnight .midnight-wordmark img { display: block; width: 44px; height: 44px; object-fit: contain; }
#zuvi-midnight .midnight-download { justify-content: center; min-width: 174px; text-decoration: none; }
#zuvi-midnight .midnight-download.mac, #zuvi-midnight .midnight-download.linux { color: var(--ink); }
#zuvi-midnight .midnight-compat { margin-top: 12px; color: var(--quiet); font-size: .875rem; }
#zuvi-midnight .midnight-compat summary { width: fit-content; padding-block: 6px; cursor: pointer; }
#zuvi-midnight .midnight-compat p { max-width: 45ch; margin-top: 6px; color: inherit; font-size: inherit; }
#zuvi-midnight .midnight-help { padding-block: 28px; font-size: 1rem; }
#zuvi-midnight .midnight-help summary { width: fit-content; cursor: pointer; }
#zuvi-midnight .midnight-help dt { font-weight: 700; }
#zuvi-midnight .midnight-help dd { margin: 0 0 12px; color: var(--quiet); }
#zuvi-midnight .midnight-footer > p { flex-basis: 100%; margin-bottom: 6px; }
#zuvi-midnight .midnight-footer {
  display: flex; align-items: baseline; gap: 2px 12px; flex-wrap: wrap;
  padding-block: 18px; color: var(--quiet); font-size: .8125rem;
}
#zuvi-midnight :is(a, summary):focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }


/* Fit the cover to the viewport while letting enlarged text remain reachable. */
#zuvi-midnight .midnight-hero { min-height: 100svh; }
#zuvi-midnight .midnight-hero > .midnight-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
#zuvi-midnight .midnight-copy {
  margin-block: auto;
  padding-block: clamp(28px, 6svh, 76px);
}
#zuvi-midnight h1 { font-size: clamp(46px, min(8.2vw, 11.5svh), 96px); }
@media (max-width: 615px) {
  #zuvi-midnight .midnight-copy { margin-top: auto; margin-bottom: 0; padding-block: 100px 30px; }
  #zuvi-midnight h1 { font-size: clamp(39px, min(10.8vw, 10svh), 65px); }
}
@media (max-height: 680px) {
  #zuvi-midnight .midnight-copy { padding-block: 26px; }
  #zuvi-midnight .midnight-copy > p { margin-top: 13px; }
  #zuvi-midnight .midnight-copy .midnight-downloads { margin-top: 16px; }
}
@media (max-width: 435px) {
  #zuvi-midnight .midnight-copy .midnight-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #zuvi-midnight .midnight-download { min-width: 0; padding-inline: 9px; text-align: center; }
}

html:has(.screenshot-viewer[open]) { overflow: hidden; }
#zuvi-midnight .screenshot-card { position: relative; }
#zuvi-midnight .screenshot-zoom {
  position: absolute;
  border-radius: 6px;
  cursor: zoom-in;
}

#zuvi-midnight .screenshot-viewer {
  width: max-content;
  max-width: 94vw;
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
#zuvi-midnight .screenshot-viewer:focus { outline: none; }
#zuvi-midnight .screenshot-viewer::backdrop {
  background: #100a15d9;
  cursor: zoom-out;
}
#zuvi-midnight .screenshot-frame {
  position: relative;
  width: min(94vw, var(--preview-width), var(--preview-native-width));
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--plum);
  background-repeat: no-repeat;
  box-shadow: 0 24px 34px #0009;
}
#zuvi-midnight .screenshot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep swipes inside the page and hide the scrollbar while retaining scrolling. */
html { overscroll-behavior: none; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { overscroll-behavior: none; }
#zuvi-midnight .midnight-downloads[hidden] { display: none; }
#zuvi-midnight .midnight-copy .mobile-download-note {
  max-width: 38ch;
  margin-top: 18px;
  color: var(--quiet);
  font-size: 1rem;
}
#zuvi-midnight .mobile-download-note strong { color: var(--paper); }
#zuvi-midnight .mobile-download-note:not([hidden]) ~ .midnight-compat summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 7px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}
#zuvi-midnight .mobile-download-note:not([hidden]) ~ .midnight-compat summary::-webkit-details-marker { display: none; }
#zuvi-midnight #mac-downloads:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
@media (max-width: 615px) {
  #zuvi-midnight .midnight-hero, #zuvi-midnight .midnight-hero > .midnight-inner { min-height: 100dvh; }
  #zuvi-midnight .midnight-copy { padding-block-end: max(24px, env(safe-area-inset-bottom)); }
  #zuvi-midnight .midnight-copy .midnight-downloads { grid-template-columns: minmax(0, 1fr); }
  #zuvi-midnight .chapter-guide nav { flex-wrap: wrap; gap: 0; }
  #zuvi-midnight .chapter-guide a { min-height: 44px; }
}

html:has(.download-dialog[open]) { overflow: hidden; }
#zuvi-midnight .download-dialog {
  position: fixed;
  width: min(610px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #e8cdd638;
  border-radius: 12px;
  background: #1e1421;
  color: var(--paper);
  box-shadow: 0 26px 90px #09050bdd;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
#zuvi-midnight .download-dialog::-webkit-scrollbar { display: none; }
#zuvi-midnight .download-dialog::backdrop { background: #0d0713a8; }
#zuvi-midnight .download-panel { padding: clamp(16px, 4vw, 28px); }
#zuvi-midnight .midnight-compat .download-panel {
  margin-top: 8px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #211524;
}
#zuvi-midnight .midnight-compat .download-dismiss { display: none; }
#zuvi-midnight .download-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
#zuvi-midnight #download-title:focus { outline: none; }
#zuvi-midnight .download-panel-header h2 {
  font: 600 clamp(1.7rem, 4vw, 2.25rem)/1.05 'Playfair Display', Georgia, serif;
  letter-spacing: -.05em;
}
#zuvi-midnight .download-dismiss button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--quiet);
  font: 400 1.5rem/1 system-ui;
  cursor: pointer;
}
#zuvi-midnight .download-platforms section {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto;
  grid-template-areas: 'name choices' 'note choices';
  align-items: center;
  column-gap: 12px;
  padding-block: 13px;
  border-top: 1px solid #e8cdd629;
}
#zuvi-midnight .download-platforms h3 { grid-area: name; margin: 0; font-size: 1rem; }
#zuvi-midnight .download-panel p { grid-area: note; color: var(--quiet); font-size: .875rem; margin: 2px 0 0; }
#zuvi-midnight .download-options { grid-area: choices; display: flex; flex-wrap: wrap; gap: 4px 12px; }
#zuvi-midnight .download-options a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 3px;
  text-decoration: underline;
  text-decoration-color: #e8cdd659;
  text-underline-offset: .28em;
  font-size: .875rem;
  font-weight: 600;
}
#zuvi-midnight .download-dismiss button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

@media (max-width: 615px) {
  #zuvi-midnight .download-dialog {
    width: 100%;
    margin: auto 0 0;
    border-radius: 14px 14px 0 0;
  }
  #zuvi-midnight .download-dialog .download-panel { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  #zuvi-midnight .download-platforms section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'name' 'note' 'choices';
    padding-block: 10px 5px;
  }
  #zuvi-midnight .download-options { gap: 0 18px; }
}

#zuvi-midnight .chapter-guide nav { position: relative; }
#zuvi-midnight .chapter-guide a[aria-current="location"] { box-shadow: none; }
#zuvi-midnight .chapter-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tab-width, 0px);
  height: 2px;
  transform: translate(var(--tab-x, 0px), calc(var(--tab-y, 0px) - 2px));
  background: var(--amber);
  pointer-events: none;
}
#zuvi-midnight .story-chapter { scroll-margin-top: calc(var(--guide-height, 54px) + 14px); }
#zuvi-midnight .screenshot-zoom::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: '';
  box-shadow: inset 0 0 0 1px #ffe5b8a0;
  background: #ffd08512;
  opacity: 0;
}
#zuvi-midnight .screenshot-zoom:is(:focus-visible, :active)::after { opacity: 1; }
#zuvi-midnight :is(.midnight-wordmark,.midnight-nav-link,.midnight-download,.midnight-compat > summary,
  .download-options a,.download-dismiss button,.chapter-guide a,.troubleshooting summary):active {
  filter: brightness(.9);
}
#zuvi-midnight .midnight-footer a {
  text-decoration-color: #e8cdd65e;
  text-underline-offset: .22em;
}
#zuvi-midnight .midnight-footer a:is(:hover,:focus-visible,:active) {
  color: var(--paper);
  text-decoration-color: currentColor;
}
#zuvi-midnight .troubleshooting summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; }
#zuvi-midnight .troubleshooting summary::-webkit-details-marker { display: none; }
#zuvi-midnight .troubleshooting summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  rotate: 45deg;
}
#zuvi-midnight .troubleshooting[open]:not([data-closing]) summary::after { rotate: 225deg; }

@media (hover: hover) {
  #zuvi-midnight .download-options a:hover { color: var(--amber); text-decoration-color: currentColor; }
  #zuvi-midnight .download-dismiss button:hover { color: var(--paper); background: #e8cdd619; }
  #zuvi-midnight .screenshot-zoom:hover::after { opacity: 1; }
  #zuvi-midnight :is(.midnight-nav-link,.midnight-compat > summary,.chapter-guide a,.troubleshooting summary):hover { color: var(--amber); }
  #zuvi-midnight .mobile-download-note:not([hidden]) ~ .midnight-compat > summary:hover { color: var(--ink); filter: brightness(1.08); }
}
@media (prefers-reduced-motion: no-preference) {
  #zuvi-midnight .midnight-copy > :is(h1,p,.midnight-downloads,.midnight-compat) { animation: site-reveal 460ms cubic-bezier(.2,.75,.25,1) backwards; }
  #zuvi-midnight .midnight-copy > :is(p,.midnight-downloads,.midnight-compat) { animation-delay: 65ms; }
  #zuvi-midnight #walkthrough:not([hidden]) .chapter-guide { animation: backdrop-in 200ms ease-out; }
  #zuvi-midnight .chapter-indicator { transition: transform 220ms ease, width 220ms ease; }
  #zuvi-midnight :is(.midnight-wordmark,.midnight-nav-link,.midnight-download,.midnight-compat > summary,
    .download-options a,.download-dismiss button,.chapter-guide a,.troubleshooting summary) {
    transition: scale 120ms ease, translate 160ms ease, filter 130ms ease, color 140ms ease, background-color 140ms ease, text-decoration-color 140ms ease;
  }
  #zuvi-midnight :is(.midnight-wordmark,.midnight-nav-link,.midnight-download,.midnight-compat > summary,
    .download-options a,.download-dismiss button,.chapter-guide a,.troubleshooting summary):active { scale: .975; }
  #zuvi-midnight .midnight-footer a { transition: color 140ms ease, text-decoration-color 140ms ease; }
  #zuvi-midnight .screenshot-zoom::after { transition: opacity 150ms ease; }
  #zuvi-midnight .motion-ready [data-reveal] { opacity: .62; translate: 0 13px; }
  #zuvi-midnight .motion-ready [data-reveal].in-view { opacity: 1; translate: 0 0; }
  #zuvi-midnight .motion-ready .story-lead.in-view { transition-delay: 55ms; }
  #zuvi-midnight .motion-ready .story-inset.in-view { transition-delay: 105ms; }
  #zuvi-midnight .motion-ready .midnight-grid figure.in-view:nth-child(2) { transition-delay: 55ms; }
  #zuvi-midnight .motion-ready .midnight-grid figure.in-view:nth-child(3) { transition-delay: 100ms; }
  #zuvi-midnight .download-dialog[open] { animation: download-arrive 260ms cubic-bezier(.19,.8,.26,1) backwards; }
  #zuvi-midnight :is(.download-dialog,.screenshot-viewer)[open]::backdrop { animation: backdrop-in 230ms ease-out backwards; }
  #zuvi-midnight :is(.download-dialog,.screenshot-viewer)[data-closing]::backdrop { animation: backdrop-out 180ms ease-in forwards; }
  #zuvi-midnight .screenshot-frame img { animation: backdrop-in 150ms ease-out backwards; }
  #zuvi-midnight .troubleshooting summary::after { transition: rotate 180ms ease; }
  @keyframes site-reveal { from { opacity: 0; translate: 0 12px; } }
  @keyframes backdrop-in { from { opacity: 0; } }
  @keyframes backdrop-out { to { opacity: 0; } }
  @keyframes download-arrive { from { opacity: 0; transform: translateY(14px) scale(.985); } }
}
@media (max-width: 615px) and (prefers-reduced-motion: no-preference) {
  #zuvi-midnight .download-dialog[open] { animation-name: sheet-arrive; }
  #zuvi-midnight .motion-ready .story-chapter figure[data-reveal] { transform: none; transition-delay: 0ms; }
  @keyframes sheet-arrive { from { transform: translateY(100%); } }
}

#zuvi-midnight.release-page { min-height: 100svh; font-size: 1rem; }
#zuvi-midnight .release-inner { width: min(100%, 760px); margin-inline: auto; padding: 20px clamp(16px, 5vw, 44px) 54px; }
#zuvi-midnight .release-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(40px, 8vw, 76px); }
#zuvi-midnight .release-header > a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--quiet); }
#zuvi-midnight .release-inner h1 { font-size: clamp(2.35rem, 7vw, 4.5rem); line-height: 1.05; text-wrap: balance; }
#zuvi-midnight .release-inner em { color: var(--amber); }
#zuvi-midnight .release-version { margin-top: 14px; color: var(--quiet); }
#zuvi-midnight .release-inner h2 { margin: 34px 0 8px; font-size: 1.2rem; }
#zuvi-midnight .release-inner ul { padding-inline-start: 20px; }
#zuvi-midnight .release-inner li + li { margin-top: 8px; }
#zuvi-midnight .release-checksums { margin: 20px 0 0; }
#zuvi-midnight .release-checksums div { padding-block: 12px; border-top: 1px solid var(--soft-line); }
#zuvi-midnight .release-checksums dt { font-weight: 700; overflow-wrap: anywhere; }
#zuvi-midnight .release-checksums dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--quiet); }
#zuvi-midnight .release-checksums code { font-size: .875rem; }

#zuvi-midnight .watch-guide h2 { scroll-margin-top: 16px; }
#zuvi-midnight .watch-guide .guide-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; }
#zuvi-midnight .watch-guide .guide-links a { display: inline-flex; align-items: center; min-height: 44px; }
#zuvi-midnight .watch-guide ol { padding-inline-start: 24px; }
#zuvi-midnight .watch-guide .guide-intro { max-width: 62ch; margin-top: 18px; color: var(--quiet); }
