body {
  color: #222;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
}

.title {
  font-family: 'Google Sans', sans-serif;
}

.publication-header {
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
  border-bottom: 1px solid #dce5ea;
}

.hero-body {
  padding: 3.5rem 1.5rem 3rem;
}

.eyebrow {
  color: #28617a;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.publication-title {
  color: #17252e;
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.title-r {
  color: #b51f1f;
}

.title-g,
.title-a {
  color: #1f7a34;
}

.title-b,
.title-ge {
  color: #2557b8;
}

.title-dash {
  color: #7a7f85;
}

.title-s {
  color: #c96b00;
}

.title-im {
  color: #b83535;
}

.publication-authors {
  color: #33434c;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.author-block {
  display: inline-block;
  margin-right: 1.5rem;
}

.publication-venue {
  color: #4a5d66;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.link-block a {
  border-radius: 999px;
  font-weight: 700;
}

.section {
  padding: 3.25rem 1.5rem;
}

.section-title {
  color: #17252e;
  margin-bottom: 1.35rem;
}

.band {
  background: #f6f8f6;
}

.teaser-section {
  padding-top: 2rem;
}

.teaser-section .figure-block figcaption {
  max-width: 1120px;
}

.abstract-content {
  color: #2f3b42;
  font-size: 1.05rem;
  text-align: justify;
}

.figure-block {
  margin: 0 auto;
}

.figure-block img {
  background: #fff;
  border: 1px solid #dbe4e8;
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.figure-block figcaption {
  color: #344852;
  font-size: 1.02rem;
  margin: 1rem auto 0;
  max-width: 980px;
  text-align: center;
}

.figure-block.compact img {
  max-height: 560px;
  object-fit: contain;
}

.info-card,
.metric-card {
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 37, 46, 0.06);
  height: 100%;
  padding: 1.25rem;
}

.info-card h3 {
  color: #17252e;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #41525b;
  margin: 0;
}

.card-icon {
  align-items: center;
  background: #e8f3f6;
  border-radius: 8px;
  color: #28617a;
  display: inline-flex;
  font-size: 1.15rem;
  height: 2.25rem;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 2.25rem;
}

.results-section {
  background: #fff;
}

.metric-card {
  text-align: center;
}

.metric-value {
  color: #28617a;
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.metric-label {
  color: #40525b;
  display: block;
  font-size: 0.95rem;
}

.result-table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.result-table {
  border: 1px solid #dce5ea;
}

.result-table th {
  background: #eef4f8;
  color: #17252e;
}

.result-table td,
.result-table th {
  text-align: center;
}

.result-table td:first-child,
.result-table th:first-child {
  text-align: left;
}

.ours-row {
  background: #e8f3f6;
  color: #173847;
  font-weight: 800;
}

.attention-panel {
  --attention-card-width: 260px;
  --attention-image-gap: 0.45rem;
}

.attention-domain {
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 37, 46, 0.06);
  padding: 1.1rem;
}

.attention-domain + .attention-domain {
  margin-top: 1.5rem;
}

.attention-domain-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.attention-domain-header h3 {
  color: #17252e;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.attention-domain-header p {
  color: #40525b;
  margin: 0;
  max-width: 720px;
}

.attention-model-grid {
  display: grid;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.attention-model-grid-sim {
  grid-template-columns: repeat(3, var(--attention-card-width));
}

.attention-model-grid-real {
  grid-template-columns: repeat(4, var(--attention-card-width));
}

.attention-model-card {
  width: var(--attention-card-width);
}

.attention-model-card h4 {
  color: #17252e;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  text-align: center;
}

.attention-image-pair {
  display: grid;
  gap: var(--attention-image-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attention-image-frame {
  margin: 0;
}

.attention-image-frame img,
.attention-missing {
  aspect-ratio: 4 / 3;
  background: #101820;
  border: 1px solid #dbe4e8;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  width: 100%;
}

.attention-missing {
  align-items: center;
  color: #b8c5cc;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.attention-image-frame figcaption {
  color: #52646d;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.25rem;
  text-align: center;
}

.attention-colorbar {
  margin: 1rem auto 0;
  text-align: center;
}

.attention-colorbar img {
  display: inline-block;
  max-height: 44px;
  max-width: 420px;
  width: 100%;
}

.attention-colorbar figcaption {
  color: #52646d;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.ablation-video-panel,
.ablation-table-block {
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  padding: 1rem;
}

.ablation-video-panel {
  margin-bottom: 1.25rem;
}

.ablation-subsection {
  margin-top: 2rem;
}

.ablation-subsection h3 {
  color: #17252e;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.ablation-subsection p {
  color: #40525b;
  margin-bottom: 1rem;
}

.ablation-subsection .figure-block {
  margin-bottom: 1.25rem;
}

.ablation-video-strip {
  align-items: start;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(120px, 1fr) auto minmax(240px, 2fr) auto minmax(240px, 2fr);
}

.ablation-video-item h3,
.ablation-video-group h3,
.ablation-table-block h3 {
  color: #17252e;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.ablation-video-item h3,
.ablation-video-group h3 {
  font-size: 1.15rem;
  margin: 0.7rem 0 0;
  text-align: center;
}

.ablation-video-pair {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ablation-video-box {
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.ablation-video-box video {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  width: 100%;
}

.ablation-divider {
  align-self: stretch;
  border-left: 3px dashed #4775c7;
  min-height: 100%;
}

.ablation-table-block .result-table-wrapper {
  margin-top: 0;
}

.ablation-table-wide {
  grid-column: 1 / -1;
}

.video-panel {
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 37, 46, 0.07);
  padding: 1.25rem;
}

.video-panel-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.video-panel-header .section-title {
  margin-bottom: 0;
}

.task-select select {
  border-color: #bfd2dc;
  border-radius: 8px;
  color: #17252e;
  font-weight: 700;
}

.video-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.video-frame video {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.video-label {
  background: rgba(16, 24, 32, 0.78);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  position: absolute;
  top: 0.75rem;
  z-index: 1;
}

.video-controls {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr auto;
  margin-top: 1rem;
}

.video-play {
  height: 2.5rem;
  width: 2.5rem;
}

.video-progress {
  accent-color: #28617a;
  cursor: pointer;
  width: 100%;
}

.video-time {
  color: #40525b;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 6.5rem;
  text-align: right;
}

.video-status {
  background: #fff6e5;
  border: 1px solid #f0c36d;
  border-radius: 8px;
  color: #6f4b00;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.8rem;
}

.footer {
  background: #eef4f8;
  color: #40525b;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .abstract-content {
    text-align: left;
  }

  .video-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .attention-domain-header {
    align-items: stretch;
    flex-direction: column;
  }

  .attention-model-grid-sim,
  .attention-model-grid-real {
    grid-template-columns: repeat(1, var(--attention-card-width));
  }

  .ablation-video-strip,
  .ablation-video-pair {
    grid-template-columns: 1fr;
  }

  .ablation-divider {
    border-left: 0;
    border-top: 3px dashed #4775c7;
    min-height: 0;
  }

  .video-controls {
    grid-template-columns: auto 1fr;
  }

  .video-time {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
  }
}
