html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #222;
  background: white;
  line-height: 1.45;
}

header {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 20px 8px;
}

h1 {
  font-size: 46px;
  margin: 0 0 6px;
}

.jump-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.jump-links a {
  min-width: 72px;
  padding: 8px 14px;
  color: #4d7195;
  background: #f5faff;
  border: 1px solid #dcecf8;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.jump-links a:hover,
.jump-links a:focus-visible {
  background: #ebf6ff;
  border-color: #bedcf2;
}

h2 {
  font-size: 24px;
  text-align: center;
  margin: 0 0 12px;
}

.code-data-heading {
  margin-top: 32px;
}

h3 {
  font-size: 22px;
  text-align: center;
  margin: 24px 0 8px;
}

section {
  max-width: 950px;
  margin: 0 auto;
  padding: 18px 20px;
}

p {
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.authors {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 12px 0 8px;
}

.authors a {
  color: #222;
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.affiliations {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

sup {
  vertical-align: super;
  font-size: 0.75em;
}

.buttons {
  margin-top: 8px;
}

.buttons a {
  display: inline-block;
  margin: 4px;
  padding: 8px 15px;
  background: #164a7a;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 600;
}

.buttons a:hover {
  background: #0f3558;
}

.pub-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto 0;
  max-width: 900px;
}

.pub-box {
  flex: 1 1 320px;
  max-width: 400px;
  border: 1px solid #e0e6ec;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
  background: #fafcfe;
}

.pub-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.pub-authors {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 8px;
}

.pub-authors a {
  color: inherit;
  text-decoration: none;
}

.pub-authors a:visited {
  color: inherit;
}

.pub-authors a:hover {
  color: inherit;
  text-decoration: underline;
}

.pub-affiliations {
  font-size: 0.75rem;
  color: #777;
  margin: 0 0 10px;
}

.pub-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f5a99;
  background: #e3edf8;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 10px;
}

.pub-tag-soon {
  color: #777;
  background: #eee;
}

.pub-link {
  display: inline-block;
  margin: 4px;
  padding: 8px 15px;
  background: #164a7a;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 600;
}

.pub-link:hover {
  background: #0f3558;
}

.pub-note {
  text-align: center;
  color: #444;
  font-size: 0.88rem;
  margin: 14px auto 0;
  max-width: 800px;
  white-space: pre-wrap;
}

.pub-note a {
  color: #1f5a99;
  text-decoration: underline;
}

.pub-note a:hover,
.pub-note a:focus-visible {
  color: #1f5a99;
}

.pub-note a:focus-visible {
  outline: 2px solid #bedcf2;
  outline-offset: 2px;
}

.pub-note-icon {
  vertical-align: -3px;
  margin-right: 6px;
  fill: #444;
}

.clone-code-block {
  max-width: 800px;
  margin: 22px auto 0;
  text-align: left;
}

.clone-code-block p {
  margin: 0 0 8px;
  color: #444;
  font-size: 0.88rem;
  font-weight: 600;
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  color: #4d7195;
  background: #f5faff;
  border: 1px solid #dcecf8;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
}

.code-toolbar button {
  padding: 3px 9px;
  color: #1f5a99;
  background: #fff;
  border: 1px solid #bedcf2;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

.code-toolbar button:hover,
.code-toolbar button:focus-visible {
  color: #164a7a;
  background: #ebf6ff;
  border-color: #8fc3e8;
}

.clone-code-block pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  color: #222;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 0 0 7px 7px;
  text-align: left;
  white-space: pre;
}

.clone-code-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

.hero-video {
  padding-top: 8px;
  padding-bottom: 18px;
}

.hero-summary {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.hero-summary span {
  margin: 0 7px;
}

.hero-video video {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.hero-caption {
  text-align: center;
  max-width: 900px;
  margin: 10px auto 0;
}

#overview p,
#framework p,
#abstract p {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 10px;
}

.content-media {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 10px auto 12px;
  border-radius: 8px;
}

.figure-note {
  text-align: center;
  color: #666;
  font-size: 0.88rem;
  max-width: 850px;
  margin: 6px auto 0;
}

.media-gallery {
  padding-top: 24px;
  padding-bottom: 24px;
}

.media-gallery-item {
  width: 100%;
  max-width: 680px;
  margin: 8px auto 28px;
  text-align: center;
}

.media-gallery-item h3 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #4f6b86;
}

.media-gallery-item video,
.media-gallery-item img {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

#representative-gallery .gallery-tabs {
  margin: 18px auto 20px;
}

#representative-gallery .gallery-btn {
  font-size: 0.95rem;
  padding: 10px 18px;
}

pre {
  background: #f4f4f4;
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
}

.side-nav {
  position: fixed;
  left: 24px;
  top: 160px;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.side-nav a {
  color: #164a7a;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-left: 3px solid transparent;
}

.side-nav a:hover {
  background: #f0f5fa;
  border-left: 3px solid #164a7a;
  border-radius: 4px;
}

@media (max-width: 1200px) {
  .side-nav {
    display: none;
  }
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-top: -6px;
  margin-bottom: 22px;
}

#findings {
  margin-top: 40px;
  margin-bottom: 40px;
}

.finding-tabs,
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.finding-btn,
.gallery-btn {
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  background: #f1f4f8;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.finding-btn:hover,
.gallery-btn:hover {
  background: #dfeaf8;
  transform: translateY(-2px);
}

.finding-btn.active,
.gallery-btn.active {
  background: #1f5a99;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.finding-panel {
  margin-top: 8px;
}

.finding-summary {
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #333;
}

.finding-summary b {
  color: #1f5a99;
}

.finding-figure {
  width: 70%;
  max-width: 800px;
  display: block;
  margin: 18px auto;
}

#planning-gallery {
  margin-top: 40px;
  margin-bottom: 40px;
}

.gallery-panel {
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-panel h3{
  text-align:center;

  margin-top:20px;
  margin-bottom:6px;

  font-size:18px;
  font-weight:600;

  color:#4f6b86;
}

.gallery-panel video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.project-title{
  font-size:46px;
  font-weight:700;
  letter-spacing:-1px;
  margin-bottom:0;
}
.contact-text{
  color:#111111;
}

.world-text{
  color:#1f6fff;
}

.affiliation-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 10px auto 12px;
  flex-wrap: wrap;
}

.affiliation-logos img {
  height: 17px;
  width: auto;
  display: block;
  object-fit: contain;
}

.affiliation-logos a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.affiliation-logos a:hover {
  opacity: 0.8;
}
