/* ============================================================
   跑跑跑吹吹吹 · 班级活动规则特刊
   ============================================================ */

.activity-page {
  --night: #11110f;
  --night-2: #1b1b17;
  --cream: #fff9ef;
  --cyan: #75e6ff;
  --pink: #ff8e7f;
  background: var(--paper);
}

.activity-page ::selection {
  background: var(--yellow);
  color: var(--ink);
}

.grain--dark {
  z-index: 90;
  opacity: 0.11;
  mix-blend-mode: screen;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 3px;
  background: rgba(17, 17, 15, 0.16);
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width 0.08s linear;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------------- 顶栏 ---------------- */
.activity-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px var(--page-gutter);
  color: var(--paper);
}

.activity-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.activity-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(243, 236, 223, 0.7);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  transform: rotate(-8deg);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.activity-brand:hover .activity-brand-mark {
  transform: rotate(5deg);
  background: var(--yellow);
  color: var(--ink);
}

.activity-brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.activity-brand-copy b {
  font-size: 14px;
  letter-spacing: 0.13em;
}

.activity-brand-copy small {
  color: rgba(243, 236, 223, 0.56);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.activity-head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(243, 236, 223, 0.78);
  transition: color 0.2s ease;
}

.back-index:hover {
  color: var(--yellow);
}

.quick-open {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px 9px 14px;
  border: 1px solid rgba(243, 236, 223, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.quick-open i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-style: normal;
  font-size: 11px;
}

.quick-open:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

/* ---------------- 海报首屏 ---------------- */
.poster {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 92px var(--page-gutter) 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(41, 71, 255, 0.28), transparent 33%),
    radial-gradient(circle at 6% 82%, rgba(255, 91, 50, 0.12), transparent 30%),
    linear-gradient(rgba(243, 236, 223, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 236, 223, 0.035) 1px, transparent 1px),
    var(--night);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
  color: var(--paper);
}

.poster::before {
  content: "";
  position: absolute;
  top: 21%;
  right: -8%;
  width: clamp(260px, 42vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(243, 236, 223, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.poster::after {
  content: "RULEBOOK";
  position: absolute;
  left: -0.05em;
  bottom: 12%;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(110px, 22vw, 350px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(243, 236, 223, 0.07);
  pointer-events: none;
}

.poster-topline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(243, 236, 223, 0.19);
  color: rgba(243, 236, 223, 0.57);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.poster-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
}

.poster-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 91, 50, 0.18);
  animation: status-pulse 2.4s ease-out infinite;
}

@keyframes status-pulse {
  0%,
  45% {
    box-shadow: 0 0 0 0 rgba(255, 91, 50, 0.45);
  }
  80% {
    box-shadow: 0 0 0 8px rgba(255, 91, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 91, 50, 0);
  }
}

.poster-body {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 4.5vw, 78px);
  align-items: center;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding: clamp(34px, 5.4vh, 72px) 0 clamp(34px, 5vh, 64px);
}

.poster-copy {
  min-width: 0;
}

.poster-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(78px, 13.6vw, 208px);
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: -0.075em;
}

.title-line {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.4vw, 20px);
  width: max-content;
  max-width: 100%;
  animation: title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-line:nth-child(2) {
  margin-top: 0.08em;
  margin-left: clamp(10px, 4vw, 74px);
  animation-delay: 0.1s;
}

.title-line b {
  display: block;
  white-space: nowrap;
}

.title-run b {
  color: var(--paper);
  text-shadow: 6px 6px 0 rgba(41, 71, 255, 0.55);
}

.title-blow b {
  color: var(--orange);
  text-shadow: 6px 6px 0 rgba(243, 236, 223, 0.11);
}

.title-line i {
  display: block;
  padding-bottom: 0.8em;
  color: rgba(243, 236, 223, 0.46);
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.85vw, 11px);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(0.38em) rotate(1.3deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.poster-summary {
  max-width: 500px;
  margin: clamp(24px, 3.4vh, 38px) 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--orange);
  color: rgba(243, 236, 223, 0.78);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.poster-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 490px;
  margin-top: clamp(20px, 3vh, 30px);
  border-top: 1px solid rgba(243, 236, 223, 0.18);
  border-bottom: 1px solid rgba(243, 236, 223, 0.18);
}

.poster-stats div {
  padding: 12px 12px 11px 0;
}

.poster-stats div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(243, 236, 223, 0.18);
}

.poster-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.poster-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(243, 236, 223, 0.5);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3.2vh, 32px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button span {
  font-size: 15px;
  line-height: 1;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}

.button-primary:hover {
  box-shadow: 7px 7px 0 var(--orange);
}

.button-ghost {
  border-color: rgba(243, 236, 223, 0.4);
  background: transparent;
  color: var(--paper);
}

.button-ghost:hover {
  border-color: var(--paper);
  background: rgba(243, 236, 223, 0.08);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 rgba(17, 17, 15, 0.22);
}

.button-dark:hover {
  background: var(--blue);
  box-shadow: 7px 7px 0 rgba(17, 17, 15, 0.22);
}

/* 封面海报卡 */
.poster-art {
  position: relative;
  justify-self: end;
  width: min(100%, 408px);
  transform: rotate(2deg);
  animation: art-breathe 7s ease-in-out infinite;
}

@keyframes art-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

.poster-art-frame {
  overflow: hidden;
  border: 1.5px solid var(--paper);
  background: var(--orange);
  box-shadow: 12px 12px 0 var(--blue);
}

.poster-art-bar,
.poster-art-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 31px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.poster-art-bar {
  border-bottom: 1.5px solid var(--ink);
}

.poster-art-foot {
  border-top: 1.5px solid var(--ink);
}

.poster-art-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

.poster-sticker {
  position: absolute;
  left: -25px;
  bottom: 32px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-11deg);
  box-shadow: 3px 3px 0 var(--blue);
}

.poster-bottomline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding: 13px 0;
  border-top: 1px solid rgba(243, 236, 223, 0.17);
  color: rgba(243, 236, 223, 0.46);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.poster-bottomline a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
  transition: color 0.2s ease;
}

.poster-bottomline a:hover {
  color: var(--yellow);
}

.poster-bottomline a span {
  animation: nudge-down 2s ease-in-out infinite;
}

@keyframes nudge-down {
  50% {
    transform: translateY(3px);
  }
}

.poster-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin: 0 calc(var(--page-gutter) * -1);
  border-top: 1px solid rgba(17, 17, 15, 0.65);
  background: var(--yellow);
  color: var(--ink);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 9px 0;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.marquee-track i {
  color: var(--orange-deep);
  font-style: normal;
  font-size: 8px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- 章节导航 ---------------- */
.chapter-nav {
  position: sticky;
  top: 0;
  z-index: 70;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 236, 223, 0.95);
  backdrop-filter: blur(12px);
}

.chapter-nav-inner {
  display: flex;
  align-items: stretch;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.chapter-nav-inner::-webkit-scrollbar {
  display: none;
}

.chapter-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 13px 18px;
  border-left: 1px solid rgba(23, 23, 20, 0.1);
  font-size: 11px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.chapter-nav a:first-child {
  border-left: 0;
}

.chapter-nav a b {
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.chapter-nav a:hover {
  background: rgba(255, 91, 50, 0.08);
}

.chapter-nav a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.chapter-nav a.is-active b {
  color: var(--yellow);
}

.nav-total {
  margin-left: auto;
  align-self: center;
  padding-left: 18px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

/* ---------------- 章节通用 ---------------- */
.chapter {
  position: relative;
  padding: clamp(68px, 9vw, 132px) var(--page-gutter);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 56px;
}

.chapter-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(84px, 150px) minmax(0, 1fr) minmax(240px, 0.46fr);
  gap: clamp(22px, 3.6vw, 54px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 78px);
}

.chapter-no {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(78px, 9vw, 134px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 1.4px rgba(23, 23, 20, 0.38);
  user-select: none;
}

.chapter-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.chapter-kicker span {
  padding: 4px 7px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.1em;
}

.chapter-heading h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.3vw, 88px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.chapter-heading h2 em {
  color: var(--orange);
  font-style: normal;
}

.chapter-deck {
  max-width: 350px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.85;
}

.rule-lead {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.6vw, 50px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.rule-lead em {
  position: relative;
  color: var(--orange-deep);
  font-style: normal;
  white-space: nowrap;
}

.rule-lead em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  z-index: -1;
  height: 0.22em;
  background: var(--yellow);
}

.body-copy {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

/* ---------------- 00 分组 ---------------- */
.chapter-setup {
  background:
    linear-gradient(90deg, rgba(23, 23, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 88px 100%;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.setup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.setup-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.setup-note {
  display: flex;
  gap: 11px;
  max-width: 540px;
  margin-top: 24px;
  padding: 13px 15px;
  border-left: 4px solid var(--orange);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.setup-note span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.team-board {
  padding: clamp(16px, 2vw, 22px);
  background: var(--night);
  color: var(--paper);
  box-shadow: 9px 9px 0 var(--orange);
}

.team-board-head,
.team-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(243, 236, 223, 0.55);
}

.team-board-head {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(243, 236, 223, 0.18);
}

.team-board-foot {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 236, 223, 0.18);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 13px 0;
}

.team-card {
  --team-tone: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 10px 9px 8px;
  border: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.18s ease;
  transition-delay: calc(var(--i) * 45ms);
}

.team-board.is-in .team-card {
  opacity: 1;
  transform: none;
}

.team-card:nth-child(3n + 1) {
  --team-tone: var(--orange);
}

.team-card:nth-child(3n + 2) {
  --team-tone: var(--yellow);
}

.team-card:nth-child(3n) {
  --team-tone: var(--mint);
}

.team-card:hover {
  background: var(--yellow);
  transform: translateY(-3px) rotate(-1deg);
}

.team-no {
  position: absolute;
  top: 7px;
  right: 7px;
  color: rgba(23, 23, 20, 0.48);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-jersey {
  display: grid;
  place-items: center;
  width: 38px;
  height: 40px;
  margin-top: 7px;
  background: var(--team-tone);
  clip-path: polygon(24% 0, 76% 0, 100% 31%, 86% 100%, 14% 100%, 0 31%);
}

.team-jersey span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
}

.team-people {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 66px;
}

.team-people i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(23, 23, 20, 0.65);
}

.team-size {
  margin-top: 1px;
  color: rgba(23, 23, 20, 0.48);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.02em;
}

.commentary {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.5vw, 28px);
  margin-top: clamp(40px, 6vw, 66px);
  padding: 16px 20px;
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-0.25deg);
}

.commentary-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding-right: 18px;
  border-right: 1px solid rgba(23, 23, 20, 0.32);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.commentary-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-deep);
  animation: blink 1.9s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.commentary p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.commentary-dark {
  border-color: rgba(243, 236, 223, 0.5);
  background: transparent;
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--orange);
}

.commentary-dark .commentary-tag {
  border-color: rgba(243, 236, 223, 0.26);
}

.commentary-dark .commentary-tag i {
  background: var(--yellow);
}

/* ---------------- 01 A4 接力 ---------------- */
.chapter-relay {
  background:
    radial-gradient(circle at 90% 10%, rgba(41, 71, 255, 0.08), transparent 26%),
    var(--paper);
}

.rule-quote {
  max-width: 980px;
  margin: 0 0 clamp(30px, 4.5vw, 48px);
  padding-left: clamp(15px, 2vw, 22px);
  border-left: 5px solid var(--orange);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.rule-quote em {
  display: inline;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  font-style: normal;
}

.track-board {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--blue);
  color: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
}

.track-topline,
.track-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.track-topline {
  border-bottom: 1px solid rgba(243, 236, 223, 0.35);
}

.track-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
}

.track-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  animation: blink 1.4s steps(1) infinite;
}

.track-scene {
  position: relative;
  height: clamp(265px, 31vw, 360px);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 212, 71, 0.2), transparent 23%),
    repeating-linear-gradient(90deg, transparent 0 81px, rgba(243, 236, 223, 0.05) 81px 82px),
    linear-gradient(180deg, #1d34d6 0%, #2947ff 65%, #243edc 100%);
}

.track-scene::before {
  content: "A4";
  position: absolute;
  right: 4%;
  top: 2%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(150px, 22vw, 280px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1.5px rgba(243, 236, 223, 0.16);
  pointer-events: none;
}

.track-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  height: 1px;
  background: rgba(243, 236, 223, 0.17);
}

.track-lane {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 88px;
  border-top: 2px dashed rgba(243, 236, 223, 0.45);
}

.track-lane-2 {
  bottom: 60px;
  border-top-width: 1px;
  opacity: 0.38;
}

.track-label {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(243, 236, 223, 0.45);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(243, 236, 223, 0.78);
}

.track-label-start {
  left: 5%;
  top: 18px;
}

.track-label-turn {
  right: 5%;
  top: 18px;
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.track-arrow {
  position: absolute;
  top: 54%;
  z-index: 1;
  color: rgba(243, 236, 223, 0.23);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1;
}

.track-arrow-out {
  left: 12%;
}

.track-arrow-back {
  right: 18%;
  top: 36%;
}

.track-paper-label {
  position: absolute;
  right: 5.5%;
  bottom: 18px;
  z-index: 3;
  color: rgba(243, 236, 223, 0.45);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  transform: rotate(-3deg);
}

.runner {
  position: absolute;
  bottom: 46px;
  z-index: 4;
  width: clamp(80px, 10vw, 126px);
  opacity: 0;
  will-change: left, opacity;
}

.runner svg {
  width: 100%;
  height: auto;
  color: var(--paper);
  filter: drop-shadow(0 8px 0 rgba(17, 17, 15, 0.16));
}

.runner-back {
  color: var(--yellow);
  transform: scaleX(-1);
}

.runner-out {
  animation: run-out 8.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.runner-back {
  animation: run-back 8.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes run-out {
  0%,
  4% {
    left: 3.5%;
    opacity: 1;
    transform: translateY(0);
  }
  41% {
    left: 73%;
    opacity: 1;
    transform: translateY(-2px);
  }
  44%,
  49% {
    left: 73%;
    opacity: 0;
  }
  50%,
  100% {
    left: 3.5%;
    opacity: 0;
  }
}

@keyframes run-back {
  0%,
  49% {
    left: 73%;
    opacity: 0;
  }
  50%,
  55% {
    left: 73%;
    opacity: 1;
  }
  91% {
    left: 3.5%;
    opacity: 1;
    transform: translateY(0) scaleX(-1);
  }
  94%,
  100% {
    left: 3.5%;
    opacity: 0;
    transform: translateY(0) scaleX(-1);
  }
}

.wind-lines i {
  position: absolute;
  z-index: 2;
  display: block;
  width: clamp(24px, 4vw, 56px);
  height: 1.5px;
  background: var(--yellow);
  opacity: 0.5;
  animation: wind 1.6s ease-in-out infinite;
}

.wind-lines i:nth-child(1) {
  left: 18%;
  top: 42%;
}

.wind-lines i:nth-child(2) {
  left: 30%;
  top: 57%;
  width: clamp(16px, 2.8vw, 38px);
  animation-delay: 0.35s;
}

.wind-lines i:nth-child(3) {
  left: 45%;
  top: 34%;
  width: clamp(22px, 3.2vw, 44px);
  animation-delay: 0.7s;
}

.wind-lines i:nth-child(4) {
  left: 58%;
  top: 65%;
  width: clamp(30px, 4.4vw, 62px);
  animation-delay: 0.15s;
}

@keyframes wind {
  0%,
  100% {
    transform: translateX(-8px);
    opacity: 0.18;
  }
  50% {
    transform: translateX(13px);
    opacity: 0.62;
  }
}

.track-bottom {
  justify-content: flex-start;
  border-top: 1px solid rgba(243, 236, 223, 0.35);
}

.track-bottom span {
  position: relative;
  padding-right: 26px;
}

.track-bottom span + span::before {
  content: "→";
  position: absolute;
  left: -21px;
  color: var(--yellow);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

.step-card {
  position: relative;
  padding: 20px 18px 19px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--orange);
  background: var(--cream);
  transition: background 0.2s ease, transform 0.2s ease;
}

.step-card:nth-child(2) {
  border-top-color: var(--blue);
}

.step-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.step-card:nth-child(4) {
  border-top-color: var(--ink);
}

.step-card:hover {
  background: var(--yellow);
  transform: translateY(-3px);
}

.step-no {
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin: 12px 0 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.75;
}

/* ---------------- 02 气球对决 ---------------- */
.chapter-balloon {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 91, 50, 0.18), transparent 26%),
    radial-gradient(circle at 10% 78%, rgba(117, 230, 255, 0.06), transparent 25%),
    var(--night);
  color: var(--paper);
}

.chapter-balloon .chapter-no {
  -webkit-text-stroke-color: rgba(243, 236, 223, 0.34);
}

.chapter-balloon .chapter-kicker {
  color: rgba(243, 236, 223, 0.58);
}

.chapter-balloon .chapter-kicker span {
  background: var(--orange);
  color: var(--ink);
}

.chapter-balloon .chapter-heading h2 em {
  color: var(--yellow);
}

.chapter-balloon .chapter-deck {
  border-color: rgba(243, 236, 223, 0.3);
  color: rgba(243, 236, 223, 0.62);
}

.lock-banner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(26px, 3.5vw, 38px);
  padding: 14px 20px;
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--orange);
  transform: rotate(-0.25deg);
}

.lock-tag {
  flex-shrink: 0;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.lock-banner p {
  font-size: 12.5px;
  line-height: 1.7;
}

.lock-banner strong {
  border-bottom: 2px solid var(--orange-deep);
  font-weight: 900;
}

.duel-stage {
  overflow: hidden;
  border: 1px solid rgba(243, 236, 223, 0.32);
  background: #0d0e0c;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.duel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(243, 236, 223, 0.2);
  color: rgba(243, 236, 223, 0.58);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
}

.timer-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}

.stage-hint {
  display: none;
}

.duel-svg-wrap {
  position: relative;
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(243, 236, 223, 0.12);
}

.duel-svg-wrap svg {
  width: 100%;
  height: auto;
}

.stage-tag {
  display: none;
}

.duel-caption {
  padding: 12px 16px;
  border-top: 1px solid rgba(243, 236, 223, 0.2);
  color: rgba(243, 236, 223, 0.5);
  font-size: 10px;
  line-height: 1.65;
}

.duel-a {
  transform-origin: 250px 400px;
  animation: duel-a-bob 4.8s ease-in-out infinite;
}

@keyframes duel-a-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.duel-balloon {
  transform-origin: 330px 290px;
  animation: balloon-breathe 4.8s ease-in-out infinite;
}

@keyframes balloon-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.duel-b {
  transform-origin: 760px 370px;
  animation: duel-b-wobble 5.2s ease-in-out infinite;
}

@keyframes duel-b-wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(1.2deg);
  }
}

.duel-ghost {
  animation: ghost-flicker 5.2s ease-in-out infinite;
}

@keyframes ghost-flicker {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.2;
  }
}

.contact-burst {
  transform-origin: 650px 296px;
  animation: contact-pulse 1.8s ease-out infinite;
}

@keyframes contact-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  55% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.5;
  }
}

.balance-gauge circle {
  animation: balance-wobble 3.2s ease-in-out infinite;
}

@keyframes balance-wobble {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(9px);
  }
}

.duel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(22px, 3.5vw, 42px);
  align-items: start;
  margin-top: clamp(24px, 3.5vw, 38px);
}

.flow-list {
  padding: clamp(20px, 2.8vw, 30px);
  border: 1px solid rgba(243, 236, 223, 0.24);
  background: rgba(243, 236, 223, 0.035);
}

.flow-list h3 {
  margin-bottom: 15px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.flow-list ol {
  border-top: 1px solid rgba(243, 236, 223, 0.2);
}

.flow-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 236, 223, 0.14);
}

.flow-list li > span {
  padding-top: 3px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.flow-list b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.flow-list p {
  color: rgba(243, 236, 223, 0.56);
  font-size: 11.5px;
  line-height: 1.75;
}

.verdict-card {
  overflow: hidden;
  border: 1.5px solid var(--paper);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--orange);
  transform: rotate(0.35deg);
}

.verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.verdict-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.verdict-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-deep);
  animation: blink 1.6s steps(1) infinite;
}

.verdict-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1.5px solid var(--ink);
}

.verdict-tabs button {
  min-height: 48px;
  padding: 8px 7px;
  border: 0;
  border-right: 1px solid rgba(23, 23, 20, 0.24);
  background: transparent;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.18s ease, color 0.18s ease;
}

.verdict-tabs button:last-child {
  border-right: 0;
}

.verdict-tabs button:hover {
  background: rgba(255, 212, 71, 0.35);
}

.verdict-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.verdict-panel {
  min-height: 168px;
  padding: clamp(20px, 2.6vw, 28px);
  background: #fff9ef;
}

.verdict-result {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  animation: verdict-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes verdict-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.verdict-team {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1.5px solid var(--ink);
  background: var(--orange);
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.verdict-result.is-b .verdict-team {
  background: var(--cyan);
}

.verdict-eyebrow {
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.verdict-result.is-b .verdict-eyebrow {
  color: #1345c9;
}

.verdict-copy h3 {
  margin: 5px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.7vw, 37px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.verdict-copy p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.75;
}

.verdict-badge {
  position: absolute;
  top: -2px;
  right: 0;
  padding: 4px 7px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(3deg);
}

.verdict-result.is-b .verdict-badge {
  background: var(--cyan);
}

.verdict-foot {
  padding: 11px 14px;
  border-top: 1px dashed rgba(23, 23, 20, 0.4);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------------- 03 积分排名 ---------------- */
.chapter-score {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 71, 0.23), transparent 24%),
    var(--paper);
}

.score-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(8px, 1.4vw, 16px);
  align-items: stretch;
  margin-bottom: clamp(50px, 7vw, 82px);
}

.score-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(150px, 16vw, 200px);
  padding: clamp(18px, 2.2vw, 28px);
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}

.score-box:nth-of-type(2) {
  background: rgba(117, 230, 255, 0.42);
}

.score-box.score-total {
  background: var(--orange);
  color: var(--paper);
}

.score-index {
  position: absolute;
  top: 16px;
  left: clamp(18px, 2.2vw, 28px);
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.score-total .score-index {
  color: var(--ink);
}

.score-box b {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.score-box em {
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.score-total em {
  color: rgba(243, 236, 223, 0.72);
}

.score-op {
  display: grid;
  place-items: center;
  min-width: 24px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
  color: var(--orange-deep);
}

.podium-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
}

.podium-copy .body-copy {
  max-width: 520px;
}

.podium-copy .rule-lead {
  max-width: 760px;
  font-size: clamp(28px, 3.1vw, 44px);
}

.podium-copy .rule-lead br {
  display: block;
}

.score-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.score-notes span {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.podium {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  min-height: 330px;
  padding-bottom: 48px;
}

.podium-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 15px 10px;
  border: 2px solid var(--ink);
  background: var(--night);
  color: var(--paper);
  box-shadow: 5px 5px 0 rgba(23, 23, 20, 0.22);
}

.podium-1 {
  min-height: 222px;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.podium-2 {
  min-height: 158px;
}

.podium-3 {
  min-height: 118px;
}

.podium-rank {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.podium-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.podium-2 .podium-label,
.podium-3 .podium-label {
  color: rgba(243, 236, 223, 0.62);
}

.podium-medal {
  position: absolute;
  top: -26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 25px;
  transform: translateX(-50%) rotate(-7deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.podium-others {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.podium-others span {
  color: var(--ink-soft);
  font-weight: 400;
}

.final-callout {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-top: clamp(58px, 8vw, 96px);
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--ink);
}

.final-callout::after {
  content: "END";
  position: absolute;
  right: -0.06em;
  bottom: -0.21em;
  z-index: 0;
  color: rgba(23, 23, 20, 0.08);
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.final-kicker {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.final-callout h3 {
  position: relative;
  z-index: 1;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.final-callout .button {
  position: relative;
  z-index: 1;
}

.original-rules {
  margin-top: clamp(54px, 7vw, 82px);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.original-rules summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.original-rules summary::-webkit-details-marker {
  display: none;
}

.original-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.original-rules summary b {
  font-size: 15px;
  font-weight: 800;
}

.original-rules summary i {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: normal;
  line-height: 1;
  transition: transform 0.24s ease;
}

.original-rules[open] summary i {
  transform: rotate(45deg);
}

.original-rules summary:hover b {
  color: var(--orange-deep);
}

.original-body {
  max-width: 930px;
  padding: 4px 0 30px;
  animation: details-in 0.3s ease both;
}

@keyframes details-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.original-body p {
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.original-body p:last-child {
  margin-bottom: 0;
}

.original-body strong {
  color: var(--ink);
  font-weight: 800;
}

/* ---------------- 速览弹层 ---------------- */
.quick-dialog {
  width: min(92vw, 720px);
  max-height: 88svh;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 16px 16px 0 var(--orange);
}

.quick-dialog::backdrop {
  background: rgba(17, 17, 15, 0.8);
  backdrop-filter: blur(7px);
}

.quick-dialog[open] {
  animation: dialog-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.quick-inner {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(rgba(23, 23, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

.quick-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-close:hover {
  background: var(--orange);
  color: var(--paper);
  transform: rotate(8deg);
}

.quick-close:focus-visible {
  outline-color: var(--ink);
  outline-offset: 3px;
}

.quick-kicker {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.quick-inner h2 {
  margin: 12px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(35px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.quick-list {
  border-top: 2px solid var(--ink);
}

.quick-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.quick-list li > span {
  padding-top: 2px;
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.quick-list b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 800;
}

.quick-list p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.quick-jump {
  margin-top: 24px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
  .poster-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 34px;
  }

  .poster-title {
    font-size: clamp(74px, 13.3vw, 150px);
  }

  .chapter-head {
    grid-template-columns: 110px minmax(0, 1fr) minmax(230px, 0.42fr);
    gap: 26px;
  }

  .chapter-no {
    font-size: 100px;
  }

  .setup-grid {
    gap: 38px;
  }

  .team-grid {
    gap: 6px;
  }
}

@media (max-width: 920px) {
  .poster {
    padding-top: 82px;
  }

  .poster-body {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .poster-art {
    justify-self: start;
    width: min(74vw, 365px);
    margin-left: auto;
    margin-right: clamp(8px, 5vw, 46px);
  }

  .poster::before {
    top: 28%;
    right: -16%;
  }

  .chapter-head {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .chapter-deck {
    grid-column: 2;
    max-width: 530px;
    margin-top: 4px;
  }

  .chapter-no {
    font-size: 88px;
  }

  .setup-grid,
  .podium-wrap {
    grid-template-columns: 1fr;
  }

  .setup-copy {
    max-width: 700px;
  }

  .team-board {
    max-width: 660px;
  }

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

  .verdict-card {
    max-width: 640px;
  }

  .podium {
    max-width: 560px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .activity-head {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .activity-brand-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .activity-brand-copy b {
    font-size: 12px;
  }

  .activity-brand-copy small {
    font-size: 7px;
  }

  .activity-head-actions {
    gap: 12px;
  }

  .back-index {
    font-size: 10px;
  }

  .quick-open {
    padding: 8px 9px 8px 12px;
    font-size: 9px;
  }

  .quick-open i {
    width: 18px;
    height: 18px;
  }

  .poster {
    padding-top: 73px;
  }

  .poster-topline {
    font-size: 7px;
  }

  .poster-meta {
    display: none;
  }

  .poster-body {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .poster-title {
    font-size: clamp(63px, 20.2vw, 112px);
    line-height: 0.82;
  }

  .title-line {
    gap: 8px;
  }

  .title-line:nth-child(2) {
    margin-left: 7px;
  }

  .title-line i {
    font-size: 7px;
    padding-bottom: 0.5em;
  }

  .title-run b {
    text-shadow: 4px 4px 0 rgba(41, 71, 255, 0.55);
  }

  .title-blow b {
    text-shadow: 4px 4px 0 rgba(243, 236, 223, 0.1);
  }

  .poster-summary {
    margin-top: 22px;
    padding-left: 13px;
    font-size: 13px;
    line-height: 1.8;
  }

  .poster-stats {
    margin-top: 20px;
  }

  .poster-stats div {
    padding: 10px 8px 9px 0;
  }

  .poster-stats div + div {
    padding-left: 10px;
  }

  .poster-stats strong {
    font-size: 24px;
  }

  .poster-actions .button {
    min-height: 41px;
    padding: 10px 13px;
    font-size: 11px;
  }

  .poster-art {
    width: min(76vw, 325px);
    margin-top: 16px;
    margin-left: 4px;
    margin-right: auto;
  }

  .poster-sticker {
    left: -12px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    font-size: 9px;
  }

  .poster-bottomline {
    font-size: 7px;
  }

  .poster-bottomline > span {
    max-width: 210px;
  }

  .chapter-nav-inner {
    padding: 0 8px;
  }

  .chapter-nav a {
    gap: 5px;
    padding: 12px 11px;
    font-size: 10px;
  }

  .chapter-nav a b {
    font-size: 7px;
  }

  .nav-total {
    display: none;
  }

  .chapter {
    padding-top: 56px;
    padding-bottom: 62px;
    scroll-margin-top: 48px;
  }

  .chapter-head {
    display: block;
    margin-bottom: 36px;
  }

  .chapter-no {
    display: block;
    margin-bottom: 13px;
    font-size: 72px;
  }

  .chapter-heading h2 {
    margin-top: 11px;
    font-size: clamp(39px, 11.8vw, 62px);
    line-height: 0.9;
  }

  .chapter-deck {
    max-width: 100%;
    margin-top: 22px;
    font-size: 11.5px;
    line-height: 1.8;
  }

  .rule-lead {
    font-size: clamp(29px, 8.4vw, 42px);
  }

  .body-copy {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .setup-grid {
    gap: 30px;
  }

  .setup-tags {
    margin-top: 21px;
  }

  .setup-note {
    padding: 12px;
    font-size: 11px;
  }

  .team-board {
    padding: 12px;
    box-shadow: 6px 6px 0 var(--orange);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 8px;
    align-items: center;
    min-height: 70px;
    padding: 8px;
  }

  .team-jersey {
    grid-row: 1 / 3;
    margin-top: 0;
  }

  .team-people {
    align-self: end;
  }

  .team-size {
    align-self: start;
  }

  .commentary {
    display: block;
    padding: 14px 15px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .commentary-tag {
    padding-right: 0;
    padding-bottom: 7px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 20, 0.28);
    margin-bottom: 8px;
  }

  .commentary p {
    font-size: 11.5px;
  }

  .commentary-dark .commentary-tag {
    border-bottom-color: rgba(243, 236, 223, 0.24);
  }

  .rule-quote {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.65;
  }

  .track-board {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .track-scene {
    height: 235px;
  }

  .track-label {
    font-size: 6px;
    padding: 4px 6px;
  }

  .track-label-start {
    left: 4%;
  }

  .track-label-turn {
    right: 4%;
  }

  .track-lane {
    bottom: 67px;
  }

  .track-lane-2 {
    bottom: 46px;
  }

  .runner {
    bottom: 33px;
    width: 78px;
  }

  .track-bottom {
    flex-wrap: wrap;
    gap: 10px 0;
    padding: 10px 12px;
    font-size: 7px;
  }

  .track-bottom span {
    padding-right: 18px;
  }

  .track-bottom span + span::before {
    left: -14px;
  }

  .steps-grid {
    gap: 8px;
    margin-top: 22px;
  }

  .step-card {
    padding: 15px 12px;
  }

  .step-card h3 {
    font-size: 14px;
  }

  .step-card p {
    font-size: 10.5px;
  }

  .lock-banner {
    display: block;
    padding: 12px 14px;
    box-shadow: 5px 5px 0 var(--orange);
  }

  .lock-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .lock-banner p {
    font-size: 11px;
  }

  .duel-topbar {
    font-size: 7px;
  }

  .duel-svg-wrap {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .duel-svg-wrap svg {
    width: 760px;
    max-width: none;
  }

  .stage-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(243, 236, 223, 0.18);
    background: rgba(255, 212, 71, 0.09);
    color: var(--yellow);
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: 0.04em;
  }

  .duel-caption {
    font-size: 9px;
  }

  .flow-list {
    padding: 17px;
  }

  .flow-list h3 {
    font-size: 21px;
  }

  .flow-list li {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 0;
  }

  .flow-list b {
    font-size: 13px;
  }

  .flow-list p {
    font-size: 10.5px;
  }

  .verdict-card {
    box-shadow: 6px 6px 0 var(--orange);
  }

  .verdict-head {
    font-size: 6.5px;
  }

  .verdict-tabs button {
    min-height: 45px;
    padding: 7px 4px;
    font-size: 9px;
  }

  .verdict-panel {
    min-height: 148px;
    padding: 17px;
  }

  .verdict-result {
    grid-template-columns: 59px minmax(0, 1fr);
    gap: 13px;
  }

  .verdict-team {
    width: 59px;
    height: 59px;
    font-size: 34px;
  }

  .verdict-copy h3 {
    font-size: 25px;
  }

  .verdict-copy p {
    font-size: 10.5px;
  }

  .verdict-badge {
    top: -4px;
    font-size: 6px;
  }

  .verdict-foot {
    font-size: 9px;
  }

  .score-formula {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 38px;
  }

  .score-box {
    min-height: 112px;
    padding: 18px;
  }

  .score-op {
    min-height: 20px;
    font-size: 29px;
    line-height: 0.8;
  }

  .score-index {
    top: 13px;
    left: 18px;
  }

  .score-box b {
    font-size: 20px;
  }

  .podium-wrap {
    gap: 34px;
  }

  .podium {
    min-height: 270px;
    max-width: 100%;
  }

  .podium-step {
    padding: 11px 6px;
  }

  .podium-1 {
    min-height: 184px;
  }

  .podium-2 {
    min-height: 132px;
  }

  .podium-3 {
    min-height: 100px;
  }

  .podium-rank {
    font-size: 36px;
  }

  .podium-medal {
    top: -21px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .podium-others {
    font-size: 6.5px;
  }

  .podium-others span {
    display: none;
  }

  .final-callout {
    display: block;
    padding: 23px 19px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .final-callout h3 {
    margin: 20px 0 22px;
    font-size: 31px;
  }

  .final-callout .button {
    width: 100%;
  }

  .original-rules summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 15px 0;
  }

  .original-label {
    grid-column: 1;
    font-size: 7px;
  }

  .original-rules summary b {
    grid-column: 1;
    font-size: 13px;
  }

  .original-rules summary i {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 22px;
  }

  .original-body p {
    font-size: 11.5px;
    line-height: 1.9;
  }

  .quick-dialog {
    width: calc(100vw - 24px);
    max-height: 90svh;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .quick-inner {
    padding: 26px 20px 24px;
  }

  .quick-inner h2 {
    padding-right: 28px;
    font-size: 36px;
  }

  .quick-list li {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 0;
  }

  .quick-list b {
    font-size: 12.5px;
  }

  .quick-list p {
    font-size: 10.5px;
  }

  .quick-jump {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .poster-title {
    font-size: 61px;
  }

  .poster-stats strong {
    font-size: 21px;
  }

  .poster-stats span {
    font-size: 7px;
  }

  .poster-art {
    width: 80vw;
  }

  .chapter-heading h2 {
    font-size: 38px;
  }

  .team-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .team-jersey {
    width: 34px;
    height: 36px;
  }

  .verdict-tabs button {
    font-size: 8px;
  }

  .score-box b {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-art,
  .title-line,
  .reader,
  .marquee-track,
  .duel-a,
  .duel-b,
  .duel-balloon,
  .duel-ghost,
  .contact-burst,
  .balance-gauge circle {
    animation: none !important;
  }

  .poster-art {
    transform: rotate(2deg);
  }

  .runner-out {
    left: 38%;
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }

  .runner-back,
  .wind-lines {
    display: none;
  }

  .marquee-track {
    transform: none;
  }
}

/* 打印：留住内容，去掉动效 */
@media print {
  .activity-head,
  .chapter-nav,
  .reading-progress,
  .grain,
  .poster-marquee,
  .poster-bottomline,
  .quick-open,
  .verdict-tabs,
  .site-footer {
    display: none !important;
  }

  .poster,
  .chapter-balloon {
    color: #000;
    background: #fff;
  }

  .poster {
    min-height: 0;
    padding-top: 24px;
  }

  .poster-art {
    display: none;
  }

  .chapter {
    padding: 28px 0;
    break-inside: avoid;
  }

  .track-board,
  .duel-stage,
  .verdict-card,
  .lock-banner {
    box-shadow: none;
    break-inside: avoid;
  }
}
