@charset "UTF-8";
:root {
  --ink: #252d3d;
  --text: #485262;
  --muted: #717b8b;
  --blue: #315f9d;
  --purple: #7b59ac;
  --line: #e2e6ee;
  --width: 1120px;
  --section-heading: 34px;
  --section-space: 88px;
  --ambient-opacity: .25;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; isolation: isolate; }
/* Keep a soft, proportional backdrop even when the content gutters become narrow. */
.ambient-background { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; user-select: none; }
.ambient-wing { position: absolute; top: 0; bottom: 0; width: max(20%, calc((100% - var(--width)) / 2 - 24px)); opacity: var(--ambient-opacity); background-repeat: no-repeat; background-size: cover; -webkit-mask-image: linear-gradient(var(--fade-direction), #000 0%, rgba(0,0,0,.9) 16%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.12) 72%, transparent 100%); mask-image: linear-gradient(var(--fade-direction), #000 0%, rgba(0,0,0,.9) 16%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.12) 72%, transparent 100%); }
.ambient-left { --fade-direction: to right; left: 0; background-image: url('assets/ambient-left.webp'); background-position: left center; }
.ambient-right { --fade-direction: to left; right: 0; background-image: url('assets/ambient-right.webp'); background-position: right center; }
main, footer { position: relative; z-index: 1; }
/* Compact screens get a quieter edge; reading columns keep their existing width. */
@media (min-width: 761px) and (max-width: 1100px) { :root { --ambient-opacity: .14; } }
@media (max-width: 760px) { .ambient-background { display: none; } }
@media print { .ambient-background { display: none; } }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--blue); line-height: 1.23; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 19px; height: 19px; flex: none; }
sup { font-size: .7em; line-height: 0; vertical-align: super; margin-left: 1px; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.reading-width { width: min(900px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: #fff; padding: 8px 15px; }
.skip-link:focus { top: 12px; }

/* Balance the outer whitespace while keeping the header's internal gaps fixed. */
.intro-screen { min-height: 100vh; min-height: 100svh; min-height: 100dvh; display: grid; align-items: center; padding: clamp(32px, 5svh, 64px) 0; }
.paper-header { --intro-group-gap: 48px; width: 100%; text-align: center; }
.wordmark { display: block; position: relative; width: min(320px, 100%); aspect-ratio: 1901 / 390; margin: 0 auto 34px; overflow: hidden; }
.wordmark:hover { text-decoration: none; }
.wordmark img { position: absolute; width: 107.1541%; max-width: none; height: auto; left: -4.1557%; top: -47.6923%; }
.hero-slogan { margin: 40px auto 0; font-size: clamp(17px, 1.32vw, 19px); line-height: 1.5; font-weight: 400; color: var(--blue); }
.hero-slogan span { display: inline; }
.hero-slogan span:last-child { color: var(--purple); }
h1 { color: var(--ink); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.23; font-weight: 750; letter-spacing: -1px; max-width: 1120px; margin: auto; text-wrap: balance; }
.paper-header h1 { margin: 0 auto; }
.title-line { display: block; white-space: normal; }
.contributors { font-size: 14px; line-height: 1.95; margin: var(--intro-group-gap) auto 0; color: #515967; }
.contributors > span, .author-pair > span { display: inline-block; white-space: nowrap; }
.contributors > .author-pair { display: block; margin-top: 10px; white-space: nowrap; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 20px; row-gap: 6px; margin: 36px auto 0; font-size: 12.5px; color: #626b79; line-height: 1.8; }
.affiliations > span { display: inline-block; white-space: nowrap; }
.affiliations sup { margin-right: 3px; }
.author-note { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.paper-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(380px, 100%); gap: 10px; margin: var(--intro-group-gap) auto 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-width: 0; min-height: 44px; white-space: nowrap; background: var(--ink); color: #fff; padding: 9px 20px; border: 0; border-radius: 30px; font-size: 14px; line-height: 1.5; transition: background .15s, transform .15s; }
.pill:not(:disabled):hover { background: var(--purple); text-decoration: none; transform: translateY(-1px); }
.pill:disabled { cursor: default; opacity: 1; -webkit-text-fill-color: currentColor; }
.pill svg { width: 18px; height: 18px; }
/* The introduction supplies the upper gap; avoid stacking a second video margin. */
.video-section { --video-fit-gap: clamp(24px, 4svh, 48px); padding-block: 0; }
.video-figure { width: 100%; }
.video-frame { width: 100%; margin-inline: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.video-frame video:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; }

/* Apply the chapter gap once, above each section, so adjacent paddings never add up. */
h2 { font-size: var(--section-heading); font-weight: 700; text-align: center; letter-spacing: -.7px; margin-bottom: 38px; }
h3 { font-size: 24px; letter-spacing: -.35px; font-weight: 650; }
.section, .overview-section { padding: var(--section-space) 0 0; }
.section-soft { background: transparent; }
.research-figure { margin: 0; width: 100%; }
.figure-button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; border-radius: 5px; }
.figure-button img { width: 100%; height: auto; }
.enlarge { position: absolute; right: 9px; bottom: 9px; display: flex; align-items: center; gap: 6px; background: #fffffff0; border: 1px solid var(--line); border-radius: 5px; padding: 5px 9px; font-size: 11px; color: var(--blue); opacity: 0; transition: opacity .15s; pointer-events: none; }
.enlarge svg { width: 14px; height: 14px; }
.figure-button:hover .enlarge, .figure-button:focus-visible .enlarge { opacity: 1; }
figcaption { font-size: 13px; line-height: 1.7; text-align: center; max-width: 930px; margin: 18px auto 0; color: #637082; }
figcaption strong { color: #4d596c; font-weight: 600; }
.overview-section .figure-button { width: 100%; margin-inline: auto; }
.overview-section figcaption { max-width: 860px; font-size: 12px; line-height: 1.6; }
.overview-section .enlarge { opacity: 1; }
.abstract-text { text-align: justify; font-size: 17px; line-height: 1.85; }
.highlights { margin: 0; padding: 0 0 0 24px; line-height: 1.85; }
.highlights li { padding-left: 7px; margin-bottom: 22px; }
.highlights li:last-child { margin-bottom: 0; }
.highlights li::marker { color: var(--purple); }
.highlights strong { display: block; color: var(--ink); margin-bottom: 6px; }
.section-intro { text-align: center; margin: -12px auto 40px; max-width: 850px; font-size: 17px; }
.result-block { padding-top: 58px; margin-top: 58px; }
.result-block:first-of-type { margin-top: 0; padding-top: 14px; }
.result-block h3 { text-align: center; margin-bottom: 32px; }
.result-block .research-figure { max-width: 1000px; margin-inline: auto; }
/* Five independent cases: scientific figure on the left, original-ratio video on the right. */
.application-case { max-width: 1000px; margin: 92px auto 0; }
.application-case-heading { margin: 0 auto 30px; text-align: center; }
.application-case-title { margin: 0; color: var(--blue); font-size: 23px; font-weight: 650; line-height: 1.4; text-wrap: balance; }
.application-case-subtitle { margin: 8px 0 0; color: #637082; font-size: 15px; font-weight: 400; line-height: 1.6; text-wrap: balance; }
.application-media-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: start; }
.application-figure-column { min-width: 0; }
.case-notes-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--blue); font-size: 12px; line-height: 1.5; text-align: left; }
.case-notes-trigger svg { width: 17px; height: 17px; }
.case-notes-trigger:hover { background: #f2f5fa; }
.application-case-figure { min-width: 0; aspect-ratio: 4 / 3; }
.application-figure-frame { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: 0; }
.application-composite { display: block; position: relative; width: 100%; height: 100%; }
.application-composite > .figure-crop { position: absolute; }
#performance .research-figure { max-width: 1000px; margin-inline: auto; }
.figure-crop { display: block; position: relative; aspect-ratio: var(--crop-ratio); overflow: hidden; }
.figure-crop img, .dialog-image .figure-crop img { position: absolute; width: var(--crop-width); max-width: none; height: auto; left: var(--crop-left); top: var(--crop-top); }
.application-video { display: block; width: 100%; min-width: 0; height: auto; aspect-ratio: var(--video-ratio); object-fit: contain; background: #fff; border: 0; border-radius: 0; }
.application-video:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
/* Controls sit below the intact video frame; no native dark hover overlay. */
.application-player { position: relative; min-width: 0; background: #fff; }
.application-stage { position: relative; aspect-ratio: 4 / 3; min-width: 0; }
.application-preview { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 0; background: #fff; }
.application-preview[hidden] { display: none; }
/* Hide the still cover's bottom narration band; the original video stays intact. */
.application-preview > img { position: absolute; width: var(--preview-width); max-width: none; height: auto; left: var(--preview-left); top: var(--preview-top); clip-path: inset(0 0 16.667% 0); }
.preview-play { position: absolute; left: 16px; bottom: 0; display: flex; align-items: center; gap: 9px; min-height: 26px; padding: 0; background: #fff; color: var(--blue); font-size: 12px; line-height: 1.5; transition: color .18s; }
.preview-play svg { width: 17px; height: 17px; }
.preview-duration { color: #717b8b; font-size: 11px; margin-left: 4px; }
.application-preview:hover .preview-play { color: var(--purple); }
.application-controls { display: flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 8px; color: var(--blue); background: #f6f8fb; border-radius: 6px; padding: 0 5px; opacity: 0; pointer-events: none; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; }
.application-player.pointer-active .application-controls,
.application-player.controls-visible .application-controls,
.application-player.is-scrubbing .application-controls,
.using-keyboard .application-player:focus-within .application-controls { opacity: 1; pointer-events: auto; transform: translateY(0); }
.application-player.has-preview .application-controls { opacity: 0; pointer-events: none; }
.application-controls [hidden], .application-controls[hidden], .application-playback-status[hidden] { display: none; }
.application-controls button { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: transparent; }
.application-controls button:hover { background: #e8eef6; }
.application-controls button span { display: flex; }
.application-controls svg { width: 17px; height: 17px; }
.application-time { white-space: nowrap; font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; color: #637082; }
.application-controls input { flex: 1; min-width: 24px; width: 100%; height: 28px; margin: 0 3px; accent-color: var(--blue); cursor: pointer; touch-action: none; }
.application-controls input:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.application-playback-status { margin-top: 8px; font-size: 12px; }
.application-video-note { display: flex; align-items: center; justify-content: center; flex: none; min-height: 44px; margin: 8px 0 0; padding: 0 4px; color: #717b8b; font-size: 10px; line-height: 18px; text-align: center; text-wrap: balance; }
/* Keep the note level with the left-hand reference link; hover controls use the gap below. */
.application-player:not(:fullscreen):not(.is-expanded) .application-controls { position: absolute; inset-inline: 0; top: 100%; margin-top: 4px; z-index: 1; }
.application-player:fullscreen, .application-player.is-expanded { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; padding: 16px; background: #fff; }
.application-player.is-expanded { position: fixed; inset: 0; z-index: 20; }
.application-player:fullscreen .application-stage, .application-player.is-expanded .application-stage { flex: 1; min-height: 0; height: 0; }
.application-player:fullscreen .application-video, .application-player.is-expanded .application-video { height: 100%; }
.application-player:fullscreen .application-controls, .application-player.is-expanded .application-controls { flex: none; width: min(900px, 100%); margin: 12px auto 0; }
body.player-expanded { overflow: hidden; }
.application-figure-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; color: #7e8a9b; background: #fff; border: 0; border-radius: 0; font-size: 14px; }
.application-group-caption { max-width: 930px; margin: 0 auto; color: #637082; text-align: center; font-size: 13px; line-height: 1.7; }
@media (max-width: 760px) {
  .application-case { margin-top: 64px; }
  .application-case-heading { margin-bottom: 24px; }
  .application-case-title { font-size: 21px; }
  .application-case-subtitle { font-size: 14px; }
  .application-media-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.citation-section .citation-title { margin: 0 0 14px; text-align: left; font-size: 22px; line-height: 1.4; letter-spacing: 0; }
.citation-box { position: relative; border-radius: 6px; background: #fff; border: 1px solid var(--line); padding: 49px 25px 22px; }
.citation-box pre { margin: 0; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #46536a; overflow-x: auto; }
.citation-box button { position: absolute; right: 15px; top: 12px; display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; padding: 6px 10px; }
.citation-box button svg { width: 14px; height: 14px; }
#copy-status:not(:empty) { font-size: 12px; color: var(--blue); margin-top: 10px; }
footer { text-align: center; padding: 32px 0 36px; font-size: 12px; color: var(--muted); }
.footer-top { display: inline-block; margin-bottom: 13px; }
.design-credit { margin-top: 10px; font-size: 11px; }
.media-credit { margin-top: 6px; font-size: 11px; }
.video-music-credit { max-width: 100%; margin: 14px auto 0; color: var(--muted, #637082); font-size: 12px; line-height: 1.7; text-wrap: balance; }
.video-music-credit a { text-decoration: underline; text-underline-offset: 2px; }

/* Figure viewer controls retain their own compact type scale. */
dialog { width: min(1450px, 96vw); max-height: 95vh; border: 1px solid var(--line); border-radius: 8px; padding: 0; background: #fff; box-shadow: 0 25px 100px #13234540; }
dialog::backdrop { background: #1c2639bc; backdrop-filter: blur(3px); }
.dialog-toolbar { display: flex; align-items: center; gap: 20px; padding: 13px 18px; position: sticky; top: 0; background: #fff; z-index: 1; }
.dialog-toolbar h2 { font-size: 15px; font-weight: 600; margin: 0; text-align: left; letter-spacing: 0; }
.dialog-toolbar > a { margin-left: auto; white-space: nowrap; font-size: 12px; }
.dialog-toolbar button { display: flex; border: 1px solid var(--line); background: #fff; border-radius: 50%; padding: 8px; }
.dialog-image { padding: 15px; overflow: auto; max-height: calc(95vh - 66px); }
.dialog-image img { width: 100%; height: auto; }
body.dialog-open { overflow: hidden; }

/* A quiet, scalable reading view, separate from the figure and video frames. */
.case-notes-dialog { --notes-font-size: 16px; width: min(850px, calc(100vw - 32px)); max-width: calc(100vw - 32px); height: min(850px, 88dvh); max-height: calc(100dvh - 32px); border: 0; border-radius: 12px; overflow: hidden; }
.case-notes-dialog[open] { display: flex; flex-direction: column; }
.case-notes-dialog.is-wide { width: min(1240px, calc(100vw - 32px)); height: calc(100dvh - 32px); }
.case-notes-dialog::backdrop { background: #26344b65; backdrop-filter: blur(3px); }
.case-notes-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 12px 20px; border-bottom: 1px solid #edf0f5; background: #fff; }
.case-notes-toolbar > p { font-size: 12px; color: #637082; }
.case-notes-actions, .case-text-zoom { display: flex; align-items: center; gap: 5px; }
.case-text-zoom { margin-right: 10px; }
.case-notes-actions button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 5px; background: #f4f6fa; color: var(--blue); font-size: 13px; }
.case-notes-actions button:hover:not(:disabled) { background: #e9eef6; }
.case-notes-actions button:disabled { opacity: .35; cursor: default; }
.case-notes-actions button[aria-pressed="true"] { background: #e5edf8; }
.case-text-zoom output { min-width: 40px; text-align: center; font-size: 11px; color: #637082; font-variant-numeric: tabular-nums; }
.case-notes-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px clamp(22px, 4vw, 44px) 36px; font-size: var(--notes-font-size); line-height: 1.7; scroll-behavior: smooth; }
.case-notes-scroll:focus-visible { outline: 2px solid var(--purple); outline-offset: -3px; }
.case-notes-intro, .case-notes-content { width: 100%; max-width: 76ch; margin-inline: auto; }
.case-notes-label { font-size: .75em; font-weight: 700; color: var(--purple); letter-spacing: .06em; }
.case-notes-intro h2 { margin: 7px 0 8px; font-size: 1.5em; line-height: 1.35; text-align: left; letter-spacing: -.3px; }
.case-notes-topic { color: #637082; font-size: .9em; }
.case-notes-section { margin-top: 28px; }
.case-notes-section h3 { margin: 0 0 10px; color: var(--blue); font-size: 1em; line-height: 1.4; letter-spacing: 0; }
.case-pdb-group + .case-pdb-group { margin-top: 16px; }
.case-pdb-group h4 { margin: 0 0 7px; color: #637082; font-size: .8em; font-weight: 600; }
.case-pdb-group ul { list-style: none; padding: 0; margin: 0; }
.case-pdb-group li { display: flex; align-items: baseline; gap: .8em; margin-top: 9px; font-size: .9em; }
.case-pdb-id { flex: none; white-space: nowrap; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.case-structure-note { margin-top: 15px; color: #637082; font-size: .85em; }
.case-mechanism-steps { padding-left: 1.6em; margin: 0; }
.case-mechanism-steps li { padding-left: .35em; margin-bottom: 14px; }
.case-mechanism-steps li:last-child { margin-bottom: 0; }
.case-mechanism-steps li::marker { color: var(--purple); font-weight: 700; }
.case-mechanism-steps strong, .case-reading strong { color: var(--ink); font-weight: 600; }
.case-reading > p + p { margin-top: 13px; }
.case-reading .case-interpretation { padding: 13px 16px; background: #f6f8fb; border-radius: 6px; font-size: .9em; }
.case-ref-link { display: inline-block; margin-left: 3px; font-size: .8em; white-space: nowrap; }
.case-reference-list { margin: 0; padding-left: 1.5em; font-size: .86em; }
.case-reference-list li { padding-left: .3em; margin-bottom: 13px; scroll-margin-block: 20px; overflow-wrap: anywhere; }
.case-reference-list li:focus { outline: 2px solid #c8d7ed; outline-offset: 5px; border-radius: 2px; }
.case-reference-list li::marker { color: #637082; }
.case-reference-list a { text-decoration: underline; text-decoration-color: #c5d1e2; text-underline-offset: 3px; }
.case-reference-list p { margin-top: 3px; color: #637082; font-size: .9em; }
@media (max-width: 600px) {
  .case-notes-dialog, .case-notes-dialog.is-wide { width: calc(100vw - 16px); max-width: calc(100vw - 16px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); border-radius: 9px; }
  .case-notes-toolbar { flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
  .case-notes-toolbar > p { flex: 1 0 100%; }
  .case-notes-actions { width: 100%; }
  .case-text-zoom { margin-right: auto; }
  .case-notes-scroll { padding: 22px 20px 28px; }
}
@media (prefers-reduced-motion: reduce) { .case-notes-scroll { scroll-behavior: auto; } }

@media (min-width: 1500px) {
  :root { --width: 1180px; }
  .wordmark { width: 340px; }
  .contributors { font-size: 15px; }
  .affiliations { font-size: 13px; }
}
/* Keep the complete video visible on short desktop / landscape screens. */
@media (max-height: 620px) {
  .video-frame { width: min(100%, calc((100svh - 2 * var(--video-fit-gap) - 60px) * 16 / 9)); }
}
@media (min-width: 761px) and (max-height: 680px) {
  .intro-screen { padding-block: 24px; }
  .paper-header { --intro-group-gap: 36px; }
  .wordmark { width: 280px; margin-bottom: 28px; }
  .hero-slogan { font-size: 17px; margin: 36px auto 0; }
}
@media (max-width: 760px) {
  :root { --section-heading: 28px; --section-space: 64px; }
  .container, .reading-width { width: calc(100% - 36px); }
  .intro-screen { padding-block: 32px; }
  .wordmark { width: min(280px, 100%); margin-bottom: 30px; }
  .hero-slogan { font-size: 15px; margin: 36px auto 0; }
  h1 { font-size: 32px; letter-spacing: -.6px; line-height: 1.22; }
  .title-line { display: inline; white-space: normal; }
  .paper-header { --intro-group-gap: 36px; }
  .contributors { font-size: 13px; line-height: 1.95; }
  .affiliations { column-gap: 16px; row-gap: 4px; font-size: 11.5px; }
  .affiliations > span { max-width: 100%; white-space: normal; }
  .author-note { margin-top: 12px; }
  h2 { margin-bottom: 32px; }
  h3 { font-size: 22px; }
  .abstract-text { text-align: left; font-size: 16px; line-height: 1.8; }
  .highlights { font-size: 16px; padding-left: 20px; }
  .section-intro { font-size: 16px; margin-top: -8px; margin-bottom: 32px; }
  .result-block { padding-top: 44px; margin-top: 44px; }
  .result-block h3 { margin-bottom: 28px; }
  .enlarge { opacity: 1; font-size: 10px; padding: 4px 6px; right: 5px; bottom: 5px; }
  .enlarge svg { width: 12px; height: 12px; }
  figcaption { font-size: 12px; margin-top: 14px; }
  .overview-section figcaption { font-size: 11px; }
  .citation-box { padding: 50px 16px 19px; }
  .citation-box pre { font-size: 11px; }
  .dialog-toolbar { gap: 10px; padding: 11px; }
  .dialog-toolbar h2 { font-size: 12px; }
  .dialog-toolbar > a { font-size: 10px; }
  .dialog-image { padding: 6px; }
}
@media (max-width: 430px) {
  h1 { font-size: 28px; }
  .wordmark { width: 240px; }
  .contributors { font-size: 12px; }
  .paper-links { gap: 8px; }
  .pill { padding: 8px 12px; font-size: 11px; }
  .citation-box pre { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
