:root {
  --accent: #ee8234;
  --accent-text: #b34f09;
  --ink: #363636;
  --muted: #666;
  --rule: #e8e8e8;
  --wash: #fafafa;
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: #0e3b5d; text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
p { line-height: 1.5; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; padding: 8px; background: #fff; z-index: 10; }

/* Match the spare centered project-page masthead rather than a portfolio navigation bar. */
.top-nav { height: 52px; display: flex; align-items: flex-start; justify-content: center; }
.top-nav a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--ink); }
.top-nav svg { width: 15px; height: 15px; fill: currentColor; }
.publication-header { text-align: center; max-width: 1050px; margin: 0 auto; padding: 46px 20px 0; }
.publication-header h1 {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  font-size: clamp(30px, 3.05vw, 40px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 auto;
}
.accent, .method-name { color: var(--accent-text); font-weight: 700; }
.publication-status { color: var(--accent-text); font-size: 15px; font-weight: 600; letter-spacing: .055em; margin: 24px 0 0; line-height: 1.4; }
.publication-authors { font-family: "Google Sans", "Noto Sans", Arial, sans-serif; font-size: 20px; margin: 27px 0 0; line-height: 1.5; }
.publication-authors a { color: var(--ink); }
.publication-affiliation { font-size: 15px; margin: 10px 0 0; color: #666; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 41px auto 0; }
.publication-links a {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--ink); border-radius: 999px;
  padding: 8px 17px; min-height: 34px; font-size: 14px; line-height: 1.1;
}
.publication-links a:hover { background: #4a4a4a; color: #fff; }
.publication-links svg { width: 14px; height: 14px; margin-right: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.teaser-section { padding: 69px 18px 63px; }
.teaser-figure { max-width: 960px; margin: 0 auto; text-align: center; font-family: "Google Sans", "Noto Sans", Arial, sans-serif; }
.teaser-figure img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.teaser-figure figcaption { max-width: 790px; margin: 14px auto 0; }
figcaption, .figure-caption { font-size: 13px; color: #666; line-height: 1.55; text-align: center; }
figcaption { margin-top: 10px; }

.section { padding: 72px 20px; }
/* Alternate from a white Abstract, matching the reference paper-page rhythm. */
.section-alt { background: #fff; }
.section:not(.section-alt) { background: var(--wash); }
.container { max-width: 960px; margin: 0 auto; }
.prose { max-width: 790px; }
.section h2 { margin: 0 0 27px; text-align: center; font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.prose > p:not(.resource-links) { font-size: 16px; line-height: 1.72; text-align: justify; margin: 0; }
.intro { text-align: center; font-size: 16px; line-height: 1.75; max-width: 860px; margin: 0 auto 25px; }

.contrib-list { list-style: none; margin: 0; padding: 0; }
.contrib-list li { position: relative; padding-left: 25px; margin: 0 0 20px; font-size: 16px; line-height: 1.72; }
.contrib-list li:last-child { margin-bottom: 0; }
.contrib-list li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px;
  background: var(--accent-text); border-radius: 50%;
}
.paper-figure { margin: 0; }
.paper-figure img { width: 100%; height: auto; border-radius: 6px; }
.wide-figure { max-width: 940px; margin: 0 auto; }
.video-container { max-width: 780px; }
.replay-figure { margin: 0 auto 35px; }
.paper-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #111; box-shadow: 0 2px 16px rgba(0, 0, 0, .08); }
.figure-caption { margin: 11px auto 0; }
.table-wrap { overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; font: 15px/1.45 "Noto Sans", Arial, sans-serif; }
.results-table caption { padding: 0 0 16px; text-align: left; font-size: 14px; color: var(--muted); }
.results-table th, .results-table td { padding: 11px 15px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.results-table th { background: #fafafa; font-weight: 700; border-bottom: 2px solid #ccc; }
.results-table tbody tr:nth-last-child(-n+2) { background: #fff6ee; }
.results-table td:first-child { font-weight: 600; width: 34%; }
.table-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 27px; }
.evidence-note { max-width: 790px; margin: 28px auto 0; padding-left: 20px; border-left: 3px solid var(--accent); font-size: 16px; line-height: 1.72; }
.evidence-followup { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule); }
.evidence-followup h3 { text-align: center; font-size: 24px; font-weight: 600; margin: 0 0 22px; }
.supplement { margin-top: 30px; padding: 20px 0 0; border-top: 1px solid var(--rule); font-size: 15px; }
.supplement summary { cursor: pointer; color: #0e3b5d; font-weight: 600; line-height: 1.5; }
.supplement summary::marker { color: var(--accent-text); }
.supplement p { line-height: 1.72; }
.supplement-links { text-align: center; line-height: 1.8; }
.supplement-limit { font-size: 14px; color: var(--muted); }
.resource-links { margin: 21px 0 0; text-align: center; font-size: 15px; }
.citation-section { padding: 74px 20px 72px; }
.citation-container { max-width: 1200px; margin: 0 auto; }
.citation-section h2 { text-align: left; font-size: 28px; line-height: 1.125; margin: 0 0 29px; font-weight: 600; }
.citation-note { font-size: 14px; color: var(--muted); margin: -10px 0 21px; }
.citation-code { margin: 0; padding: 29px 32px; overflow-x: auto; background: #f4f4f4; color: #4a4a4a; font: 14px/1.5 monospace; }
.citation-code code { font: inherit; }
.footer { padding: 75px 20px 85px; text-align: center; background: #fafafa; color: var(--ink); font-size: 16px; }
.footer-github { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: #111; margin-bottom: 40px; }
.footer-github:hover { color: var(--accent-text); }
.footer-github svg { width: 36px; height: 36px; fill: currentColor; }
.footer p { margin: 0 auto 6px; max-width: 900px; line-height: 1.5; }
.footer-meta { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .top-nav { height: 42px; }
  .publication-header { padding-top: 27px; }
  .publication-header h1 { font-size: clamp(26px, 6.5vw, 34px); line-height: 1.18; }
  .desktop-break { display: none; }
  .publication-status { font-size: 13px; margin-top: 20px; }
  .publication-authors { font-size: 17px; }
  .publication-affiliation { font-size: 13px; }
  .publication-links { margin-top: 28px; }
  .publication-links a { font-size: 12px; padding: 8px 12px; }
  .teaser-section { padding: 47px 17px 50px; }
  .section { padding: 49px 18px; }
  .section h2 { font-size: 27px; margin-bottom: 19px; }
  .prose > p:not(.resource-links), .intro, .contrib-list li { text-align: left; font-size: 16px; }
  .image-pair { grid-template-columns: 1fr; gap: 28px; }
  .results-table { min-width: 650px; font-size: 13px; }
  .results-table th, .results-table td { padding: 9px 10px; }
  .citation-section { padding: 52px 18px; }
  .citation-section h2 { font-size: 27px; margin-bottom: 22px; }
  .citation-code { font-size: 13px; padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .footer { padding: 54px 20px 60px; font-size: 14px; }
  .footer-github { margin-bottom: 27px; }
}
