html,
body {
  margin: 0;
  padding: 0;
  background: #fcfcfd;
}

body {
  color: #1f2937;
}

.hero-kicker {
  margin-bottom: 0.75rem;
  color: #c5d4ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.publication-header {
  background:
    linear-gradient(180deg, rgba(247, 248, 252, 1) 0%, rgba(243, 245, 250, 1) 100%);
}

.publication-header .hero-body {
  padding-top: 4rem;
  padding-bottom: 2.25rem;
}

.static-kicker {
  color: #4f6ddf;
}

.hero-abstract-snippet {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.15rem;
  color: #475569;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e7ebf5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  line-height: 1.65;
}

.publication-authors {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.link-block {
  display: flex;
}

.link-block .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 54px;
  margin: 0;
}

.button-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.65rem;
  flex: 0 0 auto;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.paper-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(86, 110, 217, 0.1);
  color: #4052af;
  font-size: 0.92rem;
  font-weight: 600;
}

.caption-text {
  margin-top: 1rem;
  color: #5b6472;
}

.highlight-name {
  color: rgb(155, 114, 170);
  font-size: 1.1em;
}

.soft-section {
  background: linear-gradient(180deg, #faf8ff 0%, #f4f6fb 100%);
}

.contribution-grid {
  margin-top: 1.5rem;
}

.info-card {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.method-text {
  margin-top: 2rem;
}

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

.method-panel-column .content {
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.method-panel {
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid #e7ebf5;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.figure-note {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  background: #f6f8ff;
  border-left: 3px solid #6a7ee8;
  border-radius: 10px;
  color: #445064;
}

.publication-image img,
.publication-image video,
.task-video {
  width: 100%;
  height: auto;
}

.publication-image img {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.task-grid-row {
  margin-top: 1rem;
}

.task-card-panel {
  height: 100%;
  padding: 0.9rem 0.9rem 1.2rem;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.task-card-panel .subtitle {
  margin-bottom: 0;
}

.platform-subsection {
  margin-top: 2.25rem;
}

.platform-media-row {
  margin-top: 0.6rem;
}

.platform-card {
  padding-bottom: 1rem;
}

.platform-gif {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.top-gap {
  margin-top: 1rem;
}

.quant-table {
  margin-top: 0.9rem;
}

.quant-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.table-card {
  height: 100%;
  padding: 1.15rem 1.15rem 1.05rem;
  background: #fff;
  border: 1px solid #e5eaf4;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.quant-table-card {
  margin-top: 1rem;
}

.table-title {
  margin-bottom: 0.3rem;
  color: #2f3b52;
  font-family: "Google Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.table-subtitle {
  margin: 0 0 0.85rem;
  color: #667286;
  font-size: 0.95rem;
  line-height: 1.55;
}

.quant-side-card {
  margin-top: 0;
}

.ablation-intro {
  margin-bottom: 0.85rem;
  color: #586476;
  font-size: 0.95rem;
  line-height: 1.65;
}

.quant-table table {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
}

.quant-table thead th {
  background: #f6f8fc;
  color: #334155;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.quant-table th,
.quant-table td,
.ablation-cell {
  padding: 0.9rem 1rem;
}

.quant-table tbody tr:last-child td {
  border-bottom: none;
}

.quant-table th,
.quant-table td {
  vertical-align: middle;
}

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

.ablation-cell {
  background: #f8faff;
  border: 1px solid #e3e9f5;
  border-radius: 14px;
}

.ablation-label {
  color: #445064;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ablation-value {
  margin-top: 0.55rem;
  color: #2f3b52;
  font-family: "Google Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .ablation-grid {
    grid-template-columns: 1fr;
  }
}

.tall-card {
  min-height: 220px;
}

.section-lead {
  max-width: 760px;
  margin: 0.4rem auto 1.6rem;
  color: #5f6b7a;
  line-height: 1.7;
}

.takeaway-grid {
  align-items: stretch;
}

.takeaway-card {
  border-color: #dfe5f2;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}

.resource-box {
  display: block;
  padding: 1.6rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.resource-box:hover,
.resource-box:focus-visible {
  transform: translateY(-3px);
  border-color: #cfd7ff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.is-disabled-link {
  opacity: 0.88;
  cursor: default;
  pointer-events: none;
}

.footer {
  background: #f5f7fb;
}

pre code {
  white-space: pre-wrap;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  .link-block,
  .link-block .button {
    width: 100%;
  }

  .method-panel-column .content {
    max-width: 100%;
  }
}
