/*! academic (Nerfies-family, modernized) · MIT · original clean-room code */
:root {
  --pp-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
             "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --pp-bg: #ffffff; --pp-bg2: #f8fafc; --pp-ink: #1e293b; --pp-ink2: #64748b; --pp-hair: #e2e8f0;
  --pp-accent: #2563eb; --pp-radius: 12px; --pp-radius-sm: 8px;
  --ac-pill: #1e293b; --ac-pill-hover: #0f172a; --ac-chip: #f1f5f9;
  --ac-shadow: 0 12px 32px -12px rgba(15, 23, 42, .28);
}
.ac-body { font-size: 16px; line-height: 1.65; }
.ac-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.ac-wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ac-narrow { max-width: 780px; }

/* header */
.ac-hero { padding: 72px 0 28px; text-align: center; }
.ac-venue { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--ac-chip); color: var(--pp-ink2); font-weight: 600; font-size: 14px; }
.ac-title { margin: 0 0 20px; font-weight: 800; font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ac-title span { display: block; margin-top: 10px; font-weight: 600; font-size: .58em; letter-spacing: -.01em; color: var(--pp-ink2); }
.ac-authors { margin: 0 0 6px; font-size: 18px; }
.ac-authors > span { display: inline-block; margin: 0 .45em; white-space: nowrap; }
.ac-authors a { color: var(--pp-accent); text-decoration: none; font-weight: 500; }
.ac-authors a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-affil { margin: 0; color: var(--pp-ink2); font-size: 15px; }
.ac-affil > span { display: inline-block; margin: 0 .5em; }
.ac-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.ac-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ac-pill); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .2s, background .2s, box-shadow .2s; }
.ac-pill:hover { background: var(--ac-pill-hover); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(15,23,42,.45); }
.ac-pill svg { width: 16px; height: 16px; flex: none; }
.ac-pill.is-soon { background: var(--ac-chip); color: var(--pp-ink2); pointer-events: none; }

/* teaser */
.ac-teaser { padding: 8px 0 48px; }
.ac-teaser .pp-media { box-shadow: var(--ac-shadow); }
.ac-tagline { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--pp-ink2); }
.ac-tagline b { color: var(--pp-ink); }

/* sections */
.ac-section { padding: 56px 0; }
.ac-band { background: var(--pp-bg2); border-block: 1px solid var(--pp-hair); }
.ac-h2 { margin: 0 0 14px; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.ac-lead { margin: 0 auto 24px; max-width: 680px; text-align: center; color: var(--pp-ink2); }
.ac-prose p { margin: 0 0 1em; text-align: justify; hyphens: auto; }

/* carousel */
.ac-track { padding-bottom: 4px; }
.ac-card { width: min(80vw, 340px); margin: 0; }
.ac-card figcaption { margin-top: 8px; font-size: 14px; color: var(--pp-ink2); text-align: center; }

/* split (3D, figures) */
.ac-split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 769px) { .ac-split { grid-template-columns: 1.2fr 1fr; } }

/* bibtex */
.ac-bib-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ac-bib-head .ac-h2 { margin: 0; text-align: left; }

/* footer */
.ac-footer { padding: 36px 0 48px; border-top: 1px solid var(--pp-hair); color: var(--pp-ink2); font-size: 14px; text-align: center; }
.ac-footer a { color: inherit; }

@media (max-width: 600px) {
  .ac-hero { padding-top: 48px; }
  .ac-authors { font-size: 16px; }
  .ac-pill { height: 36px; padding: 0 14px; font-size: 14px; }
  .ac-section { padding: 44px 0; }
}

/* ---------- v2 additions: logo wall, stat strip, lite embed ---------- */
.ac-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; max-width: 880px; margin: 22px auto 0; }
.ac-logos div { height: 44px; display: grid; place-items: center; border: 1px dashed var(--pp-hair); border-radius: var(--pp-radius-sm); color: var(--pp-ink2); font: 600 11px/1 var(--pp-mono); letter-spacing: .1em; }
.ac-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ac-stats li { padding: 16px 18px; border-radius: var(--pp-radius); background: var(--ac-chip); text-align: center; }
.ac-stats b { display: block; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.ac-stats span { display: block; margin-top: 4px; font-size: 14px; color: var(--pp-ink2); }
.ac-embed { max-width: 860px; margin: 0 auto; }
.ac-embed .pp-embed, .ac-embed iframe { box-shadow: var(--ac-shadow); }
.ac-embed p { margin: 10px 0 0; text-align: center; color: var(--pp-ink2); font-size: 14px; }
