:root {
  --ink: #121d37;
  --ink-soft: #34415f;
  --muted: #67738c;
  --blue: #1769e0;
  --blue-deep: #0f55bd;
  --blue-light: #62a3f4;
  --blue-soft: #eaf3ff;
  --coral: #f16357;
  --coral-soft: #fff0ee;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --line: rgba(18, 29, 55, 0.105);
  --line-strong: rgba(18, 29, 55, 0.16);
  --bg: #f4f7fb;
  --radius-xl: 28px;
  --radius-lg: 21px;
  --radius-md: 15px;
  --shadow-xl: 0 30px 90px rgba(30, 47, 77, 0.11), 0 8px 28px rgba(30, 47, 77, 0.06);
  --shadow-md: 0 18px 52px rgba(30, 47, 77, 0.08), 0 4px 14px rgba(30, 47, 77, 0.04);
  --shadow-sm: 0 8px 26px rgba(30, 47, 77, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(920px 570px at 8% -4%, rgba(41, 115, 232, 0.14), transparent 64%),
    radial-gradient(760px 540px at 94% 13%, rgba(98, 163, 244, 0.12), transparent 64%),
    radial-gradient(680px 500px at 52% 103%, rgba(241, 99, 87, 0.055), transparent 62%),
    linear-gradient(180deg, #fbfaf8 0%, var(--bg) 38%, #edf2f8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(18, 29, 55, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 29, 55, 0.016) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 76%);
}

a {
  color: var(--blue-deep);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: #0b448f;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 13px 0 8px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 38px rgba(30, 47, 77, 0.085), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.nav-brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-status {
  padding: 4px 9px;
  border: 1px solid rgba(23, 105, 224, 0.13);
  border-radius: 999px;
  color: #275caa;
  background: rgba(234, 243, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #536079;
  font-size: 13px;
  font-weight: 600;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.nav-links a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  margin: 15px 0 22px;
  padding: 48px 46px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 300px at 94% 2%, rgba(98, 163, 244, 0.16), transparent 70%),
    radial-gradient(430px 300px at 8% 12%, rgba(23, 105, 224, 0.08), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.86) 56%, rgba(255, 255, 255, 0.75));
  box-shadow: var(--shadow-xl);
}

.hero::after {
  position: absolute;
  top: -170px;
  right: -140px;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(23, 105, 224, 0.12), transparent 66%);
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 13px auto 0;
  color: #0d1931;
  font-size: clamp(42px, 6.4vw, 74px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-subtitle {
  max-width: 890px;
  margin: 14px auto 0;
  color: #263653;
  font-size: clamp(21px, 3vw, 33px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.15;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 9px;
  margin-top: 25px;
  color: #2a3853;
  font-size: 15px;
  font-weight: 650;
}

.authors a {
  color: #1d4f99;
}

.authors sup,
.affiliations sup {
  margin-left: 2px;
  color: #6b7690;
  font-size: 0.66em;
}

.separator {
  color: #a0a8b8;
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 15px;
  max-width: 970px;
  margin: 11px auto 0;
  color: #68748b;
  font-size: 12px;
  line-height: 1.45;
}

.resource-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 23px;
}

.resource-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #283751;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 20px rgba(30, 47, 77, 0.05);
  font-size: 13px;
  font-weight: 720;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.resource-chip:hover {
  border-color: rgba(23, 105, 224, 0.34);
  color: #174c9b;
  box-shadow: 0 9px 24px rgba(23, 105, 224, 0.11);
  text-decoration: none;
  transform: translateY(-1px);
}

.resource-chip.primary {
  border-color: #1769e0;
  color: white;
  background: linear-gradient(135deg, #2377e8, #1057c5);
  box-shadow: 0 9px 24px rgba(23, 105, 224, 0.23);
}

.resource-chip.primary:hover {
  color: white;
  border-color: #0e4da9;
  box-shadow: 0 11px 28px rgba(23, 105, 224, 0.29);
}

.resource-chip.pending {
  color: #7b8497;
  background: rgba(246, 248, 251, 0.84);
  cursor: default;
  box-shadow: none;
}

.resource-chip.pending:hover {
  border-color: var(--line-strong);
  color: #7b8497;
  box-shadow: none;
  transform: none;
}

.resource-mark {
  display: inline-grid;
  min-width: 27px;
  min-height: 23px;
  place-items: center;
  padding: 0 4px;
  border-radius: 7px;
  color: inherit;
  background: rgba(18, 29, 55, 0.055);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.primary .resource-mark {
  background: rgba(255, 255, 255, 0.16);
}

.metric-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 890px;
  margin: 34px auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(249, 251, 254, 0.76);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 13px 15px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.metric span {
  color: #6c7890;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.3;
}

.metric.accent {
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.82), rgba(241, 247, 255, 0.56));
}

.metric.accent strong {
  color: var(--blue-deep);
}

.hero-figure {
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: inset 0 1px 0 white, var(--shadow-sm);
}

.hero-figure picture {
  display: block;
  width: 100%;
}

.hero-figure img {
  width: 100%;
  border-radius: 12px;
}

figcaption {
  margin-top: 10px;
  color: #6b768c;
  font-size: 12px;
  line-height: 1.48;
  text-align: center;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.section-card {
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 80px;
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(15px) saturate(120%);
  -webkit-backdrop-filter: blur(15px) saturate(120%);
}

.section-card h2 {
  margin: 5px 0 0;
  color: #13203a;
  font-size: clamp(27px, 3.3vw, 41px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-card h3 {
  margin: 5px 0 0;
  color: #17243d;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.section-card p {
  color: var(--ink-soft);
}

.tldr-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
  gap: 28px 50px;
  align-items: start;
  background:
    radial-gradient(460px 240px at 3% 15%, rgba(23, 105, 224, 0.09), transparent 70%),
    rgba(255, 255, 255, 0.91);
}

.tldr-card .section-label {
  grid-column: 1;
}

.tldr-card h2 {
  grid-column: 1;
  margin-top: -17px;
}

.tldr-card .lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 2px 0 0;
  color: #34415b;
  font-size: 17px;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 27px;
}

.section-heading > p {
  margin: 0 0 2px;
  color: #4c5870;
  line-height: 1.72;
}

.finding-grid {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1.35fr;
  gap: 12px;
  margin: 3px 0 18px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #f8fafc;
}

.stat-card.blue {
  background: linear-gradient(145deg, #eef6ff, #f8fbff);
}

.stat-card.coral {
  background: linear-gradient(145deg, #fff1ef, #fff9f8);
}

.stat-card.ink {
  background: linear-gradient(145deg, #f1f4f9, #fbfcfe);
}

.stat-kicker {
  color: #758097;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 27px;
  font-weight: 810;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.stat-card.blue strong {
  color: var(--blue-deep);
}

.stat-card.coral strong {
  color: #c94d44;
}

.stat-card > span:last-child {
  margin-top: 4px;
  color: #6a758c;
  font-size: 12px;
  line-height: 1.42;
}

.figure-card {
  margin: 0;
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 white, 0 8px 23px rgba(30, 47, 77, 0.045);
}

.figure-card img {
  width: 100%;
  border-radius: 10px;
  background: white;
}

.medium-figure {
  max-width: 820px;
  margin: 0 auto;
}

.evidence-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 17px;
}

.evidence-metrics > div,
.result-numbers > div,
.environment-facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 17px;
  border: 1px solid rgba(23, 105, 224, 0.11);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(236, 245, 255, 0.78), rgba(250, 252, 255, 0.94));
}

.evidence-metrics strong,
.result-numbers strong,
.environment-facts strong {
  color: var(--blue-deep);
  font-size: 22px;
  font-weight: 790;
  letter-spacing: -0.035em;
}

.evidence-metrics span,
.result-numbers span,
.environment-facts span {
  color: #68748b;
  font-size: 12px;
  line-height: 1.4;
}

.two-figure-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.38fr;
  gap: 14px;
  align-items: stretch;
}

.two-figure-grid .figure-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-figure-grid .wide-content img {
  margin: auto 0;
}

.cpr-card {
  background:
    radial-gradient(560px 330px at 94% 1%, rgba(23, 105, 224, 0.09), transparent 68%),
    rgba(255, 255, 255, 0.91);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.method-steps li {
  display: flex;
  gap: 13px;
  min-height: 122px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(249, 251, 254, 0.9);
}

.step-number {
  color: #8e98aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.method-steps strong {
  color: #1d2b45;
  font-size: 15px;
  font-weight: 760;
}

.method-steps p {
  margin: 5px 0 0;
  color: #68748b;
  font-size: 13px;
  line-height: 1.48;
}

.result-grid,
.ablation-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.78);
}

.result-copy {
  padding: 4px 4px 4px 2px;
}

.result-copy > p,
.ablation-copy > p {
  margin: 14px 0 0;
  color: #4c5870;
  font-size: 14px;
  line-height: 1.65;
}

.result-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 17px;
}

.result-numbers > div {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.84);
}

.result-numbers strong {
  font-size: 18px;
}

.clean-figure {
  border-color: rgba(18, 29, 55, 0.08);
  background: white;
  box-shadow: none;
}

.ablation-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  margin-top: 18px;
  background: rgba(252, 252, 252, 0.82);
}

.ablation-copy {
  padding: 6px 7px;
}

.mini-bars {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.mini-bars > div {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #536079;
  background: white;
  font-size: 11px;
}

.mini-bars > div::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--value);
  content: "";
  background: rgba(97, 112, 139, 0.09);
}

.mini-bars .best::before {
  background: rgba(23, 105, 224, 0.12);
}

.mini-bars span,
.mini-bars strong {
  position: relative;
  z-index: 1;
}

.mini-bars strong {
  color: #34415b;
}

.mini-bars .best strong {
  color: var(--blue-deep);
}

.environment-facts {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.4fr;
  gap: 10px;
  margin-bottom: 17px;
}

.environment-facts > div {
  background: #f8fafc;
  border-color: var(--line);
}

.environment-facts strong {
  color: #243451;
}

.environment-figure {
  padding: 15px;
}

.bibtex-card {
  background: linear-gradient(145deg, rgba(246, 249, 253, 0.96), rgba(255, 255, 255, 0.91));
}

.bibtex-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bibtex-heading button {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: #3d4a64;
  background: white;
  font-family: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.bibtex-heading button:hover,
.bibtex-heading button.copied {
  border-color: rgba(23, 105, 224, 0.34);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.bibtex-card pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(18, 29, 55, 0.09);
  border-radius: 15px;
  color: #21304b;
  background: rgba(255, 255, 255, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.62;
  white-space: pre;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 8px 34px;
  color: #7a8497;
  font-size: 11px;
}

@media (max-width: 960px) {
  .hero {
    padding: 42px 30px 26px;
  }

  .section-card {
    padding: 32px 30px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .tldr-card {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .tldr-card .section-label,
  .tldr-card h2,
  .tldr-card .lead {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .two-figure-grid,
  .result-grid,
  .ablation-grid {
    grid-template-columns: 1fr;
  }

  .two-figure-grid .figure-card:first-child {
    max-width: 620px;
    margin: 0 auto;
  }

  .finding-grid {
    grid-template-columns: 1fr 1fr;
  }

  .finding-grid .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    min-height: 0;
  }
}

@media (max-width: 740px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    width: calc(100% - 20px);
    max-width: 1160px;
  }

  .top-nav {
    padding-top: 8px;
  }

  .nav-inner {
    gap: 7px;
    min-height: 47px;
    padding: 7px 9px 7px 12px;
    border-radius: 15px;
  }

  .nav-status {
    display: none;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: calc(100% - 52px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 11px;
  }

  .hero {
    margin-top: 9px;
    padding: 34px 16px 17px;
    border-radius: 22px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.075em;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-subtitle {
    margin-top: 12px;
    font-size: 20px;
  }

  .authors {
    margin-top: 20px;
    font-size: 13px;
  }

  .affiliations {
    display: grid;
    gap: 3px;
    font-size: 10px;
  }

  .resource-row {
    margin-top: 18px;
  }

  .resource-chip {
    min-height: 39px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric {
    padding: 11px 9px;
  }

  .hero-figure {
    padding: 7px 7px 8px;
    border-radius: 14px;
  }

  .hero-figure img {
    border-radius: 8px;
  }

  figcaption {
    margin-top: 7px;
    font-size: 10px;
  }

  main {
    gap: 13px;
  }

  .section-card {
    padding: 25px 17px;
    border-radius: 21px;
  }

  .section-card h2 {
    font-size: 28px;
  }

  .section-card h3 {
    font-size: 22px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading > p,
  .tldr-card .lead {
    font-size: 14px;
  }

  .finding-grid,
  .evidence-metrics,
  .environment-facts {
    grid-template-columns: 1fr;
  }

  .finding-grid .stat-card:last-child {
    grid-column: auto;
  }

  .stat-card {
    min-height: 118px;
  }

  .two-figure-grid {
    gap: 10px;
  }

  .figure-card {
    padding: 8px 8px 7px;
    border-radius: 14px;
  }

  .result-grid,
  .ablation-grid {
    gap: 14px;
    padding: 13px;
    border-radius: 16px;
  }

  .result-numbers {
    grid-template-columns: 1fr;
  }

  .method-steps {
    gap: 8px;
  }

  .method-steps li {
    padding: 14px;
  }

  .bibtex-card pre {
    margin-right: -6px;
    margin-left: -6px;
    padding: 13px;
    font-size: 10px;
  }

  footer {
    flex-direction: column;
    gap: 3px;
    padding: 20px 5px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.mini-bars .value-499 { --value: 49.9%; }
.mini-bars .value-475 { --value: 47.5%; }
.mini-bars .value-633 { --value: 63.3%; }
