/* GaussianDiT project page. Layout and typography follow the Nerfies project page template (CC BY-SA 4.0). */
:root {
  --ink: #1f2430;
  --ink-soft: #4a5163;
  --muted: #6f7687;
  --line: #e4e6ec;
  --panel: #f6f7fa;
  --accent: #3b5bdb;
  --accent-soft: #e8edff;
}
body { font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif; color: var(--ink); background: #ffffff; }
.publication-title { font-family: 'Google Sans', 'Noto Sans', sans-serif !important; letter-spacing: -0.01em; }
.publication-title .highlight { color: var(--accent); }
.publication-authors { font-family: 'Google Sans', 'Noto Sans', sans-serif; }
.publication-authors a { color: var(--accent) !important; }
.publication-authors a:hover { text-decoration: underline; }
.author-block { display: inline-block; margin: 0 0.35em; }
.publication-venue { color: var(--ink-soft); font-weight: 600; }
.publication-links { margin-top: 0.6rem; }
.link-block { display: inline-block; margin: 0.2rem; }
.link-block a { margin-top: 5px; margin-bottom: 5px; }
.button.is-dark { background-color: #2b2f3a; }
.button.is-dark[disabled] { opacity: 0.55; }
.title.is-3 { font-family: 'Google Sans', 'Noto Sans', sans-serif; }
.section { padding: 2.5rem 1.5rem; }
.section.alt { background: var(--panel); }
.subtitle-note { color: var(--muted); font-size: 0.95rem; }
.content.has-text-justified p { line-height: 1.7; }
.teaser img, .figure img { width: 100%; height: auto; border-radius: 6px; }
.figure-caption { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.6rem; text-align: center; }

/* key numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; text-align: center; }
.stat .num { font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat .lbl { color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.35rem; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* video galleries */
.gallery { display: grid; gap: 0.9rem; }
.gallery.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.cols-1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1024px) { .gallery.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery.cols-3, .gallery.cols-2 { grid-template-columns: minmax(0, 1fr); } }
.card-video { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-video video { display: block; width: 100%; height: auto; background: #fff; }
.card-video .cap { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.45rem 0.7rem; font-size: 0.85rem; color: var(--ink-soft); }
.card-video .cap .tag { color: var(--accent); font-weight: 600; }
.split-labels { display: grid; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); padding-top: 0.4rem; }
.split-labels.two { grid-template-columns: 1fr 1fr; }
.split-labels.three { grid-template-columns: 1fr 1fr 1fr; }
.split-labels .ours { color: var(--accent); }

/* tables */
.table-wrap { overflow-x: auto; }
table.results { margin: 0 auto 1.5rem; font-size: 0.95rem; }
table.results th, table.results td { text-align: center !important; white-space: nowrap; }
table.results tr.ours td { background: var(--accent-soft); font-weight: 600; }
.table-title { font-weight: 600; text-align: center; margin-bottom: 0.5rem; }

pre.bibtex { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; white-space: pre-wrap; }
.footer { padding: 2rem 1.5rem; background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer a { color: var(--accent); }
.links-note { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

.title-logo { height: 1.05em; width: auto; vertical-align: -0.17em; margin-right: 0.18em; }

/* authors with photos */
.author-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 1.2rem; max-width: 840px; margin: 1.4rem auto 0.9rem; }
.author-card { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; text-decoration: none; }
.author-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease; }
.author-card:hover img { transform: translateY(-2px); border-color: var(--accent); }
.author-name { font-size: 1.02rem; line-height: 1.25; color: var(--accent); }
.author-card:hover .author-name { text-decoration: underline; }
.author-break { display: none; }
@media (min-width: 769px) { .author-break { display: block; flex-basis: 100%; height: 0; } }
@media (max-width: 480px) {
  .author-grid { gap: 0.9rem 0.6rem; }
  .author-card { width: 100px; }
  .author-card img { width: 64px; height: 64px; }
  .author-name { font-size: 0.9rem; }
}
/* 4 + 5 rows from tablet up (break before Kanzhi Wu), a fixed 3 x 3 grid below */
@media (min-width: 769px) and (max-width: 1023px) { .author-grid { column-gap: 0.6rem; } .author-card { width: 124px; } .author-name { font-size: 0.95rem; } }
@media (max-width: 768px) { .author-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 460px; } .author-card { width: auto; } }

/* TL;DR and video */
.tldr { display: flex; gap: 0.9rem; align-items: baseline; max-width: 860px; margin: 1.4rem auto 0; padding: 0.95rem 1.2rem;
  background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; text-align: left; }
.tldr-label { font-family: 'Google Sans', 'Noto Sans', sans-serif; font-weight: 700; letter-spacing: 0.04em; color: var(--accent);
  white-space: nowrap; font-size: 1.1rem; }
.tldr p { margin: 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.video-embed { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.top-video { margin-top: 1.6rem; }
.abstract-teaser { margin: 0 auto 1.5rem; }
@media (max-width: 600px) {
  .tldr { flex-direction: column; gap: 0.3rem; }
  .tldr p { font-size: 1rem; }
}
@media (max-width: 600px) { .content.has-text-justified, .has-text-justified { text-align: left !important; } }
