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

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin: 0.35rem 0.28rem;
}

.hero {
  background: #fff;
}

.section {
  background: transparent;
  padding-top: 3.4rem !important;
  padding-bottom: 3.4rem !important;
}

.hero-body {
  padding-top: 4.8rem;
  padding-bottom: 2.4rem;
}

.publication-title.title.is-1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.subtitle.publication-title {
  color: #333;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
}

.publication-links {
  margin-top: 1rem;
}

.publication-links .button {
  background: #222;
  border-radius: 999px;
  font-family: 'Google Sans', sans-serif;
  height: 2.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

.title-camera {
  color: #20242a;
  display: inline-block;
  font-size: 0.72em;
  margin-right: 0.35rem;
  transform: translateY(-0.06em);
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
  line-height: 1.75;
}

.publication-venue-line {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin-top: 1.3rem;
}

.publication-venue {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

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

.author-block {
  display: inline-block;
}

.teaser-figure {
  margin: 0 auto;
  width: 100%;
}

.teaser-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.teaser-section {
  padding-top: 1.8rem !important;
}

.abstract-section {
  padding-top: 3.2rem !important;
}

.abstract-section .content {
  color: #333;
  font-size: 1.02rem;
}

.section .title.is-3 {
  margin-bottom: 1.4rem;
}

pre {
  margin-top: 0.4rem;
  padding: 1.25rem;
  line-height: 1.55;
  border-radius: 6px;
}

.paper-figure {
  margin: 1.4rem auto 0;
  width: 100%;
}

.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.control-viewer {
  margin: 0 auto;
  max-width: 100%;
  position: relative;
}

.results-container {
  max-width: 960px !important;
}

.more-results-container {
  max-width: 960px !important;
}

.control-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  color: #222;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 44px;
  z-index: 2;
}

.control-arrow-left {
  left: 0.8rem;
  right: auto;
}

.control-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.04);
}

.result-panel {
  display: none;
  margin-top: 0;
  min-width: 0;
}

.result-panel.is-active {
  display: block;
}

.result-panel figcaption {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.control-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.control-dot {
  background: #d7d7d7;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  height: 12px;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
  width: 12px;
}

.control-dot.is-active {
  background: #222;
  transform: scale(1.05);
  width: 28px;
}

.more-result-figure {
  max-width: 100%;
}

.more-results {
  padding-top: 0.75rem;
}

.more-results summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  gap: 0.55rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 1rem;
}

.more-results summary::-webkit-details-marker {
  display: none;
}

.more-results summary .icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.more-results[open] summary .icon {
  transform: rotate(180deg);
}

.more-results-body {
  padding-top: 0.6rem;
}

.more-results-body .paper-figure {
  margin-top: 0;
}

.more-results-body .title {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 640px) {
  .section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-body {
    padding-top: 3.2rem;
    padding-bottom: 1.8rem;
  }

  .control-arrow {
    height: 34px;
    width: 34px;
  }

  .result-panel figcaption {
    font-size: 1rem;
  }
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

/* Placeholder image style */
.placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;
  border-radius: 4px;
}

.placeholder-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #d0d0d0 25%, #e8e8e8 50%, #d0d0d0 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;
  border-radius: 8px;
}

/* Comparison slider */
.comparison-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: ew-resize;
  user-select: none;
}

.comparison-container img {
  display: block;
  width: 100%;
}

.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}

.comparison-overlay img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.comparison-slider {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: white;
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.comparison-slider::after {
  content: '⟨⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #333;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Parameter badge */
.param-badge {
  display: inline-block;
  background: #3273dc;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}
