* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #17202a;
  background: #ffffff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e7e2d6;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #17202a;
  text-decoration: none;
}

.brand-name {
  color: #17202a;
}

.brand-tag {
  color: #d04f2f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.nav a {
  color: #17202a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 6px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: #f0eee8;
  color: #000;
}

/* 主体布局 */
.page {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 56px 0;
}

.hero-logo {
  flex: none;
  width: 240px;
  height: auto;
  transform: translateY(-16px);
}

.hero-text {
  min-width: 0;
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: #d04f2f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  max-width: none;
  margin: 24px 0 0;
  color: #4d5b66;
  font-size: 20px;
  line-height: 1.7;
  text-align: left;
  text-wrap: balance;
}

/* 按钮 */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.baseline-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.baseline-actions .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .baseline-actions {
    flex-direction: column;
  }
}

.leaderboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-icon svg {
  flex: none;
  transform: translateX(-1px);
}

.btn-primary {
  background: #d04f2f;
  color: #fff;
}

.btn-primary:hover {
  background: #b9421f;
}

.btn-ghost {
  background: transparent;
  color: #17202a;
  border: 1px solid #cfc9ba;
}

.btn-ghost:hover {
  border-color: #d04f2f;
  color: #d04f2f;
}

/* 内容板块 */
.block {
  padding: 40px 0;
  border-top: 1px solid #e7e2d6;
  scroll-margin-top: 80px;
}

.block h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.block p {
  max-width: none;
  margin: 0;
  color: #4d5b66;
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}

/* 新闻列表 */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* display:flex 会覆盖 hidden 属性的默认 display:none，需显式处理 */
.news-list li[hidden] {
  display: none;
}

.news-date {
  flex: none;
  width: 150px;
  color: #d04f2f;
  font-weight: 700;
  font-size: 15px;
  line-height: 30.6px;
}

.news-text a {
  color: #d04f2f;
  font-weight: 700;
  text-decoration: underline;
}

.news-text a:hover {
  color: #b9421f;
}

.news-text {
  flex: 1;
  margin: 0;
  max-width: none;
  color: #17202a;
  font-size: 17px;
  line-height: 1.6;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  display: inline-flex;
  color: #d04f2f;
}

.title-icon svg {
  width: 26px;
  height: 26px;
}

/* 时间线 */
.timeline-note {
  margin: 0 0 28px;
  color: #6b7680;
  font-size: 15px;
  line-height: 1.6;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 2px;
  background: #e7e2d6;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 0 0 26px 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d04f2f;
  box-sizing: border-box;
}

/* 已结束的节点：橙色实心点 */
.timeline-item.is-past::before {
  background: #d04f2f;
}

/* 当前进行中的节点：橙色实心点 + 缓慢呼吸光圈 */
.timeline-item.is-current::before {
  background: #d04f2f;
  animation: timeline-pulse 1s ease-in-out infinite;
}

@keyframes timeline-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(208, 79, 47, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(208, 79, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(208, 79, 47, 0);
  }
}

.timeline-item.is-current .timeline-date {
  color: #b9421f;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item.is-current::before {
    animation: none;
  }
}

.timeline-date {
  flex: none;
  width: 110px;
  color: #d04f2f;
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

/* 改期节点：被划掉的原日期 */
.timeline-date-old {
  display: block;
  color: #9aa3ab;
  font-weight: 600;
  text-decoration: line-through;
}

/* 第二次改期时被划掉的日期 */
.timeline-date-old2 {
  color: #c77f5e;
}

/* 第三轮推迟的旧日期 */
.timeline-date-old3 {
  color: #4f8f8b;
}

.timeline-content {
  flex: 1;
  margin: 0;
  color: #17202a;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .timeline-item {
    flex-direction: column;
    gap: 4px;
  }

  .timeline-date {
    width: auto;
  }
}

@media (max-width: 560px) {
  .news-list li {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}

.news-toggle {
  margin-top: 18px;
  padding: 10px 22px;
  border: 1px solid #cfc9ba;
  border-radius: 999px;
  background: transparent;
  color: #17202a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.news-toggle:hover {
  background: #f0eee8;
  border-color: #d04f2f;
}

/* 赛道卡片 */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.track {
  padding: 24px 28px;
  border: 1px solid #e7e2d6;
  border-radius: 16px;
  background: #fbfaf7;
}

.track h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #d04f2f;
}

.track p {
  margin: 0;
  max-width: none;
  color: #4d5b66;
  font-size: 16px;
  line-height: 1.7;
}

/* 数据集 */
.data-sets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.data-set {
  padding: 24px 28px;
  border: 1px solid #e7e2d6;
  border-radius: 16px;
  background: #fbfaf7;
}

.data-set h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #d04f2f;
}

/* 视觉退化示例视频 */
.data-demo-title {
  margin: 36px 0 16px;
  font-size: 20px;
  color: #d04f2f;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}

@media (max-width: 520px) {
  .video-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-item {
  margin: 0;
}

.video-item video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 16px rgba(23, 32, 42, 0.08);
}

.video-item figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #17202a;
}

.data-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0 0;
  padding: 16px 20px;
  background: #fbf2ef;
  border: 1px solid #f0d6cd;
  border-left: 4px solid #d04f2f;
  border-radius: 12px;
}

.data-note-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.data-note-label {
  flex: none;
  padding: 4px 12px;
  background: #d04f2f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.data-note p {
  margin: 0;
  font-size: 15px;
  color: #4d5b66;
  line-height: 1.6;
}

.data-note a {
  color: #d04f2f;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 79, 47, 0.35);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.data-note a:hover {
  color: #b9421f;
  border-bottom-color: #b9421f;
}

/* News 区置顶通知：沿用 Note 卡片样式，置于新闻列表上方且不参与折叠 */
.news-notice {
  margin: 0 0 24px;
}

.news-notice p {
  font-size: 16px;
  color: #17202a;
  /* 左对齐:justify 遇到 ISCSLP2026 这类长词会把上一行词距拉得很开 */
  text-align: left;
  text-wrap: pretty;
}

/* 多条置顶通知合并在同一外框内，条目间用虚线分隔 */
.news-notice-multi {
  flex-direction: column;
  align-items: stretch;
}

.news-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.news-notice-item + .news-notice-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #dfa78f;
}

/* Baseline 模型架构图 */
.baseline-figure {
  margin: 28px 0 0;
}

.baseline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.baseline-figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #4d5b66;
}

/* 评测指标表格 */
.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.eval-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.eval-table th,
.eval-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.eval-table thead th {
  background: #fbf2ef;
  color: #d04f2f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid #f0d6cd;
  white-space: nowrap;
}

.eval-table tbody td {
  color: #4d5b66;
  border-bottom: 1px solid #e7e2d6;
}

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

.eval-table tbody td:first-child {
  font-weight: 700;
  color: #17202a;
}

.eval-table tbody tr:hover td {
  background: #faf8f3;
}

.data-set p {
  margin: 0;
  max-width: none;
  color: #4d5b66;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}

.track-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.track-col h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #17202a;
}

/* 联系方式 */
.contact-intro {
  margin: 0 0 24px;
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: #17202a;
}

/* Contact 专属：仅用横线分隔，无方框 */
#contact .news-list {
  gap: 0;
}

#contact .news-list li {
  padding: 22px 0;
}

#contact .news-list li + li {
  border-top: 1px solid #e7e2d6;
}

#contact .news-list li:last-child {
  align-items: flex-start;
}

#contact .news-date {
  width: 96px;
  font-size: 16px;
}

.contact-collapse {
  margin: 0;
}

.contact-collapse > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  width: max-content;
  padding: 8px 14px;
  border: 1px solid #d04f2f;
  border-radius: 8px;
  color: #d04f2f;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.contact-collapse > summary::-webkit-details-marker {
  display: none;
}

.contact-collapse > summary::before {
  content: "▸";
  font-size: 0.85em;
  transition: transform 0.18s ease;
}

.contact-collapse[open] > summary::before {
  transform: rotate(90deg);
}

.contact-collapse > summary:hover {
  background: #d04f2f;
  color: #fff;
}

.contact-qr {
  display: block;
  width: 180px;
  height: auto;
  margin-top: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 32, 42, 0.08);
}

/* 主办方名单 */
.organizers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px 32px;
}

.organizers li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.org-name {
  font-weight: 700;
  font-size: 18px;
  color: #17202a;
}

.org-affil {
  font-size: 15px;
  color: #4d5b66;
}

/* 页脚 */
.site-footer {
  padding: 32px;
  border-top: 1px solid #e7e2d6;
  text-align: center;
  color: #8a8a80;
  font-size: 14px;
}
