:root {
  --ink: #14213d;
  --muted: #526079;
  --blue: #1d4ed8;
  --blue-dark: #123a7a;
  --soft-blue: #edf4ff;
  --line: rgba(33, 63, 119, 0.14);
  --card: rgba(255,255,255,0.88);
  --shadow: 0 22px 70px rgba(24, 45, 91, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fbff;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.tutorial-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem min(5vw, 64px);
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { 
  display: inline-flex; 
  align-items: center; 
  gap: .75rem; 
  font-weight: 400; 
  color: var(--ink); 
}

.nav-brand > span {
  font-weight: 800;
}
/* .nav-brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; color: var(--ink); } */
.nav-brand img { height: 34px; width: 112px; border-radius: 9px; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; font-size: .96rem; font-weight: 650; }
.nav-links a { color: #32405a; }
.tutorial-hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 12% 16%, rgba(219, 233, 255, .96), transparent 31%),
    radial-gradient(circle at 86% 13%, rgba(255, 238, 201, .85), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 50%, #ffffff 100%);
  overflow: hidden;
}

.hero-content-centered {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.6rem, 4vw, 3.2rem) 0;
}
.top-logo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  flex-wrap: wrap;
  margin: 0 auto 2rem;
}
.top-logo-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-logo-row img {
  display: block;
  width: auto;
  object-fit: contain;
}
.top-logo-vldb { max-height: 82px; max-width: 240px; }
.top-logo-cuhk { max-height: 112px; max-width: 290px; }
.top-logo-xidian { max-height: 82px; max-width: 240px; }
.top-logo-hkustgz { max-height: 122px; max-width: 210px; }
.centered-pill { justify-content: center; }
.centered-title {
  width: 100%;
  max-width: min(1120px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}
.centered-title .title-line {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  text-align: center;
}
@media (min-width: 900px) {
  .centered-title .title-line {
    white-space: nowrap;
  }
}

.venue-pill {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.venue-pill span, .venue-pill a {
  border: 1px solid rgba(30, 64, 175, .18);
  background: rgba(255,255,255,.72);
  color: #1f3d74;
  border-radius: 999px;
  padding: .46rem .78rem;
  font-weight: 750;
  font-size: .88rem;
}
.publication-title {
  font-size: clamp(2.45rem, 4.15vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  color: #0f2344;
  margin: 0 auto 1.1rem;
  max-width: min(1120px, calc(100vw - 2rem));
  text-align: center;
}
.publication-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 780px;
}
.compact-authors { margin: 1.3rem 0 .7rem; font-size: 1.08rem; line-height: 1.7; text-align: center; }
.author-block { margin: 0 .55rem; white-space: nowrap; font-weight: 750; }
.affiliations { color: var(--muted); line-height: 1.65; font-size: .98rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; justify-content: center; }
.button.is-link { background-color: var(--blue); }
.button.is-light { border: 1px solid var(--line); background: rgba(255,255,255,.82); }
.button.is-disabled { opacity: .72; cursor: not-allowed; }
.section { padding: 5.2rem 1.5rem; }
.light-section { background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.2rem; color: #102043; font-weight: 850; }
.body-copy { font-size: 1.12rem; line-height: 1.85; color: #37465e; }
.section-note { color: var(--muted); line-height: 1.65; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.schedule-badge { border: 1px solid var(--line); color: #25406d; background: #fff; border-radius: 999px; padding: .65rem 1rem; font-weight: 750; white-space: nowrap; }
.outline-grid, .bib-grid { display: grid; gap: 1.15rem; }
.outline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.outline-card, .bib-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.45rem;
  box-shadow: 0 12px 38px rgba(20, 38, 80, .06);
}
.outline-card span { display: inline-flex; height: 36px; width: 36px; align-items: center; justify-content: center; border-radius: 12px; background: var(--soft-blue); color: var(--blue); font-weight: 850; }
.outline-card h3 { font-size: 1.18rem; font-weight: 850; margin: 1rem 0 .45rem; color: #14213d; }
.outline-card p { color: var(--muted); line-height: 1.65; }
.contributor-heading { margin-bottom: 1.4rem; }
.contributors-list { display: grid; gap: 1.2rem; }
.contributor-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.45rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.25rem;
  box-shadow: 0 12px 38px rgba(20, 38, 80, .06);
}
.portrait-link {
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.portrait-link:hover { transform: none; box-shadow: none; }
.portrait-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}
.contributor-content { padding: .3rem .35rem .25rem 0; }
.contributor-content h3 { font-size: clamp(1.55rem, 2.2vw, 2.05rem); letter-spacing: -0.035em; font-weight: 860; color: #102043; margin-bottom: .25rem; }
.contributor-role { color: #24477d; font-weight: 760; margin-bottom: .85rem; }
.contributor-content p { color: #46536a; line-height: 1.76; margin-bottom: .75rem; }
.bib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bib-header { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.bib-header h3 { font-weight: 850; font-size: 1.18rem; }
.copy-button { border: 1px solid var(--line); background: var(--soft-blue); color: var(--blue-dark); border-radius: 999px; padding: .45rem .85rem; font-weight: 850; cursor: pointer; }
pre { background: #0e1728; color: #d9e6ff; border-radius: 18px; padding: 1.1rem; overflow: auto; font-size: .9rem; line-height: 1.55; }
.citation-note { margin-top: 1.1rem; }
.tutorial-footer { background: #0f1e36; color: #dbe8ff; padding: 2.5rem 1.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner img { max-height: 60px; width: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
@media (max-width: 1024px) {
  .outline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bib-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .contributor-row { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tutorial-nav { padding: .7rem 1rem; }
  .nav-brand span { font-size: .9rem; }
  .section { padding: 3.5rem 1rem; }
  .outline-grid { grid-template-columns: 1fr; }
  .section-heading-row, .footer-inner { display: block; }
  .schedule-badge { display: inline-flex; margin-top: 1rem; }
  .contributor-row { grid-template-columns: 1fr; gap: 1rem; }
  .portrait-link { max-width: 210px; }
  .contributor-content { padding: 0; }
  .centered-title {
    max-width: calc(100vw - 1.5rem);
    padding-left: .5rem;
    padding-right: .5rem;
  }
  .centered-title .title-line {
    white-space: normal;
  }
  .publication-title {
    font-size: clamp(2.1rem, 9vw, 3.25rem);
    letter-spacing: -0.045em;
  }
}

.material-card { min-height: 145px; display:flex; flex-direction:column; justify-content:flex-start; }
.material-card p:empty { display:none; }

@media (max-width: 760px) {
  .top-logo-row { gap: .9rem; margin-bottom: 1.4rem; }
  .top-logo-vldb { max-height: 60px; max-width: 190px; }
  .top-logo-cuhk { max-height: 82px; max-width: 200px; }
  .top-logo-xidian { max-height: 52px; max-width: 200px; }
  .top-logo-hkustgz { max-height: 66px; max-width: 160px; }
}

.visitor-map {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: .72rem 1rem .82rem;
}

.visitor-map-inner {
  width: min(280px, 100%);
  margin: 0 auto;
  padding: .38rem;
  border: 1px solid rgba(33,63,119,.10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 38, 80, .045);
  overflow: hidden;
  opacity: .9;
}