body {
  font-family: 'Noto Sans', sans-serif;
}

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

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

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

.publication-authors .author-block {
  margin-right: 0.35em;
}

.publication-affiliations {
  margin-top: 0.25rem;
  color: #4a4a4a;
}

.hero .publication-title {
  font-size: 2.3rem;
  line-height: 1.25;
}

.hero .publication-title .method-name {
  font-variant: small-caps;
  letter-spacing: 0.01em;
}

.tldr {
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid #7a5fb5;
  background: #f7f4fc;
  border-radius: 4px;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.5;
}

.tldr strong {
  color: #4a3286;
}

.overview-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.overview-image,
.method-image {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.method-image {
  margin-top: 1.5rem;
}

.overview-image img,
.method-image img {
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.results-intro {
  margin-bottom: 2.5rem;
  color: #555;
  font-size: 1.05rem;
}

.platform-header {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #5b3fa0;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0 1.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e4dcf3;
}

.task-card + .platform-header {
  margin-top: 1rem;
}

.task-card {
  margin-bottom: 3rem;
}

.task-header {
  background: #7a5fb5;
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Google Sans', sans-serif;
  margin-bottom: 0.65rem;
  border-left: 5px solid #5b3fa0;
}

.task-badge {
  background: rgba(255, 255, 255, 0.22);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
}

.task-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.task-instruction {
  background: #efe9f9;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  border-left: 5px solid #9a7fd1;
}

.instruction-label {
  background: #ded2f0;
  color: #4a3286;
  padding: 0.2rem 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  font-family: 'Google Sans', sans-serif;
}

.instruction-text {
  color: #4a3286;
  font-weight: 700;
}

.task-variant {
  background: #f6f2fb;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid #ded3ef;
  margin-bottom: 1rem;
}

.variant-label {
  color: #5b3fa0;
  font-weight: 700;
  font-family: 'Google Sans', sans-serif;
  white-space: nowrap;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.variant-btn {
  padding: 0.35rem 0.9rem;
  border: 1px solid #c9b8e8;
  border-radius: 999px;
  background: white;
  color: #5b3fa0;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.variant-btn:hover {
  background: #e9e0f7;
  border-color: #9a7fd1;
}

.variant-btn.is-active {
  background: #5b3fa0;
  border-color: #5b3fa0;
  color: white;
}

.variant-btn:focus {
  outline: none;
}

.variant-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(91, 63, 160, 0.28);
}

.task-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-block video {
  width: 100%;
  border-radius: 6px;
  background: black;
  display: block;
}

.video-caption {
  margin-top: 0.6rem;
  font-weight: 600;
  font-family: 'Google Sans', sans-serif;
  text-align: center;
}

.video-caption.base {
  color: #6b6b76;
}

.video-caption.ours {
  color: #5b3fa0;
}

@media (max-width: 900px) {
  .hero .publication-title {
    font-size: 1.7rem;
  }

  .title-break {
    display: none;
  }
}

@media (max-width: 768px) {
  .task-videos {
    grid-template-columns: 1fr;
  }

  .task-instruction,
  .task-variant {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
