/* ==========================================================================
   溪璐 Shiro · 首页样式 (home.css)
   只用于 index.html；依赖 tokens.css + base.css。所有颜色/字号引用令牌。
   ========================================================================== */

/* ---------- 通用小件 ---------- */
.skip-link {
  position: fixed;
  left: var(--sp-4);
  top: -64px;
  z-index: var(--z-toast);
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  color: var(--text);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus-visible { top: var(--sp-4); }

.section-sub {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.section-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--sp-5) 0 0;
  color: var(--muted-2);
  font-size: var(--fs-sm);
}
.section-note svg { flex: 0 0 auto; color: var(--accent); opacity: 0.8; }

.chip--gold {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--surface);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + var(--sp-8)) 0 var(--sp-9);
  overflow: hidden;
  text-align: center;
}

.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero__glow--moon {
  width: min(74vw, 780px);
  aspect-ratio: 1;
  top: -20%;
  right: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-2-rgb), 0.10) 40%, transparent 68%);
  animation: hero-drift-a 22s var(--ease-in-out) infinite alternate;
}
.hero__glow--violet {
  width: min(62vw, 640px);
  aspect-ratio: 1;
  bottom: -28%;
  left: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-2-rgb), 0.15), transparent 66%);
  animation: hero-drift-b 28s var(--ease-in-out) infinite alternate;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, transparent 34%, var(--bg-0) 100%);
  opacity: 0.72;
}

@keyframes hero-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-5%, 4%, 0) scale(1.06); }
}
@keyframes hero-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(6%, -5%, 0) scale(1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 6px;
}
.hero .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--accent));
}

.hero__title {
  margin-top: var(--sp-5);
  display: grid;
  gap: 0.02em;
  text-wrap: balance;
}
.hero__line { display: block; }

.hero__title-en {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  color: rgba(190, 200, 226, 0.86);
}

.hero__tagline {
  margin: var(--sp-5) auto 0;
  max-width: 46ch;
  text-wrap: balance;
}

.hero__ctas {
  justify-content: center;
  margin-top: var(--sp-6);
  gap: var(--sp-3);
}
.hero__cta { min-height: 46px; }

/* 首屏入场（CSS 兜底，不依赖 JS） */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__inner > * {
  animation: hero-rise var(--dur-slow) var(--ease-out) both;
}
.hero__inner > :nth-child(1) { animation-delay: 60ms; }
.hero__inner > :nth-child(2) { animation-delay: 120ms; }
.hero__inner > :nth-child(3) { animation-delay: 200ms; }
.hero__inner > :nth-child(4) { animation-delay: 260ms; }
.hero__inner > :nth-child(5) { animation-delay: 340ms; }
.hero__inner > :nth-child(6) { animation-delay: 420ms; }

/* 数字统计 */
.hero__stats {
  list-style: none;
  margin: var(--sp-8) 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.stat {
  display: grid;
  justify-items: center;
  gap: var(--sp-1);
  padding-inline: clamp(18px, 4.4vw, 54px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat__num {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-en);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__suffix {
  font-size: 0.62em;
  font-weight: 500;
  color: var(--accent);
}
.stat__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: rgba(178, 188, 214, 0.92);
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  right: clamp(16px, 3.4vw, 44px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--muted-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  transition: color var(--dur-fast);
}
.scroll-hint:hover { color: var(--accent); }
.scroll-hint__label { writing-mode: vertical-rl; text-orientation: mixed; }
.scroll-hint__line {
  position: relative;
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: var(--line);
}
.scroll-hint__line i {
  position: absolute;
  inset: 0 0 auto 0;
  height: 18px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scroll-dot 2.6s var(--ease-in-out) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(-18px); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}

/* ---------- ABOUT ---------- */
.about {
  overflow: hidden; /* 月晕伪元素向外扩散，裁掉以免产生横向滚动 */
}
.about__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(var(--sp-6), 6vw, var(--sp-10));
  align-items: center;
}
.about__title { margin-top: var(--sp-3); }
.about__text {
  margin-top: var(--sp-5);
  color: var(--muted);
}
.about__text p {
  margin: 0;
  max-width: 54ch;
  line-height: 1.95;
}

.about__facts {
  list-style: none;
  margin: var(--sp-6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.fact {
  display: grid;
  gap: 2px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.fact__label {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.fact__value {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text);
}

.about__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 52ch;
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--muted-2);
}
.about__disclaimer svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent); opacity: 0.75; }

.about__figure {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 380px);
  margin: 0;
}
.about__figure::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(var(--accent-rgb), 0.24), transparent 62%);
  filter: blur(10px);
}
.moon-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(var(--accent-rgb), 0.14);
}
.moon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moon-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, var(--bg-0));
  opacity: 0.5;
}
.moon-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.55), transparent 42%, rgba(var(--accent-2-rgb), 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.moon-frame__caption {
  margin-top: var(--sp-3);
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  color: var(--muted-2);
}

/* ---------- SCHEDULE ---------- */
.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--sp-3);
}
.day {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), background-color var(--dur), opacity var(--dur);
}
.day:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
}
.day__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 22px;
}
.day__en {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  color: var(--muted-2);
}
.day__today {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 1px 7px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: var(--radius-pill);
  background: rgba(var(--accent-rgb), 0.12);
}
.day__name {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
}
.day__time {
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--accent);
}
.day__title {
  margin-top: var(--sp-1);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--muted);
}

.day--off {
  opacity: 0.46;
  border-style: dashed;
  background: transparent;
}
.day--off .day__time { color: var(--muted-2); }
.day--off:hover { opacity: 0.72; transform: none; }

.day.is-today {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.13), var(--surface) 70%);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12), var(--glow-accent);
}
.day.is-today .day__en { color: var(--accent); }
.day.is-today .day__title { color: var(--text); }
/* 今天是休息日时也保留清楚的 TODAY 提示，不完全压暗 */
.day--off.is-today {
  opacity: 0.88;
  border-style: solid;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), var(--surface) 72%);
}

/* 移动端横向滑动提示（桌面隐藏） */
.week-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.week-hint svg { flex: 0 0 auto; color: var(--accent); opacity: 0.8; }

/* ---------- HIGHLIGHTS ---------- */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
.hl {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
}
.hl:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 44px rgba(var(--accent-rgb), 0.12);
}
.hl__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.hl__media--empty,
.merch-card__media--empty {
  background:
    radial-gradient(circle at 30% 22%, rgba(var(--accent-rgb), 0.2), transparent 58%),
    radial-gradient(circle at 78% 80%, rgba(var(--accent-2-rgb), 0.14), transparent 60%),
    var(--bg-2);
}
.hl__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.hl:hover .hl__media img { transform: scale(1.045); }
.hl__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--bg-0));
  opacity: 0.55;
}
.hl__tag {
  position: absolute;
  z-index: 2;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--surface-strong);
  backdrop-filter: blur(8px);
}
.hl__dur {
  position: absolute;
  z-index: 2;
  right: var(--sp-3);
  bottom: var(--sp-3);
  padding: 2px 8px;
  font-size: var(--fs-xs);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--bg-0);
}
.hl__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
}
.hl__body .h3 {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
}
.hl__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding-top: 3px;
  font-size: var(--fs-xs);
  color: var(--muted-2);
  white-space: nowrap;
  transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.hl:hover .hl__go { color: var(--accent); transform: translate(2px, -2px); }

/* ---------- MERCH ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.merch-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.merch-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.merch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.merch-card:hover .merch-card__media img { transform: scale(1.035); }
.merch-card__body {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5);
}
.merch-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.merch-card__desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.merch-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--sp-6) 0 0;
  padding: var(--sp-4) var(--sp-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.merch-hint > svg { flex: 0 0 auto; color: var(--accent); }
.merch-hint__link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  white-space: nowrap;
  transition: gap var(--dur-fast) var(--ease-out);
}
.merch-hint__link:hover { gap: 10px; }

/* ---------- MAP TEASER ---------- */
.map-teaser {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(var(--sp-5), 5vw, var(--sp-8));
  padding: clamp(var(--sp-6), 5vw, var(--sp-9));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 420px at 78% 0%, rgba(var(--accent-2-rgb), 0.16), transparent 62%),
    radial-gradient(700px 380px at 8% 100%, rgba(var(--accent-rgb), 0.10), transparent 66%),
    var(--grad-card);
  backdrop-filter: blur(14px);
}
.map-teaser::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.55), transparent);
}
.map-teaser__body {
  display: grid;
  justify-items: start;
  gap: var(--sp-4);
}
.map-teaser__body .lead { max-width: 46ch; }
.map-teaser__actions { gap: var(--sp-4); margin-top: var(--sp-1); }
.map-teaser__meta {
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  color: var(--muted-2);
}

.map-teaser__visual {
  display: grid;
  place-items: center;
}
.orb {
  width: min(100%, 420px);
  height: auto;
  overflow: visible;
  animation: orb-float 14s var(--ease-in-out) infinite alternate;
}
.orb__spin {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: orb-spin 96s linear infinite;
}
.orb__dots circle { animation: orb-dot 5.2s var(--ease-in-out) infinite; }
.orb__dots circle:nth-child(2) { animation-delay: -1.2s; }
.orb__dots circle:nth-child(3) { animation-delay: -2.4s; }
.orb__dots circle:nth-child(4) { animation-delay: -3.1s; }
.orb__dots circle:nth-child(5) { animation-delay: -4.3s; }
.orb__sat { animation: orb-dot 6.4s var(--ease-in-out) infinite; }

@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-float {
  from { transform: translateY(-5px); }
  to { transform: translateY(7px); }
}
@keyframes orb-dot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- JOIN ---------- */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--sp-4);
}
.join-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}
.join-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.10);
  color: var(--accent);
  transition: background-color var(--dur), transform var(--dur) var(--ease-out);
}
.join-card:hover .join-card__icon {
  background: rgba(var(--accent-rgb), 0.18);
  transform: translateY(-2px);
}
.join-card__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.join-card__label {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.join-card__value {
  font-size: var(--fs-body);
  color: var(--text);
  overflow-wrap: anywhere;
}
.join-card__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--muted-2);
  transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.join-card:hover .join-card__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { gap: var(--sp-7); }
}

@media (max-width: 1023px) {
  /* 日程改为单行横向滚动，保留「一周」的阅读方式 */
  .week-hint { display: flex; }
  .week {
    display: flex;
    gap: var(--sp-3);
    overflow-x: auto;
    padding-right: var(--sp-6);
    padding-bottom: var(--sp-3);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  .day {
    flex: 0 0 clamp(142px, 24vw, 180px);
    scroll-snap-align: start;
  }
  /* 一天多场：时间行是「14:00 / 20:00」，卡片放宽一档才不折行 */
  .day--multi {
    flex-basis: clamp(184px, 30vw, 216px);
  }
  .day--multi .day__time { white-space: nowrap; }
}

@media (max-width: 980px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__body { max-width: 640px; }
  .about__figure { width: min(100%, 340px); }
  .map-teaser { grid-template-columns: minmax(0, 1fr); }
  .map-teaser__visual { order: -1; }
  .orb { width: min(100%, 340px); }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-h) + var(--sp-7)); padding-bottom: var(--sp-8); }
  .hero__stats { margin-top: var(--sp-7); }
  .stat { padding-inline: clamp(10px, 3.6vw, 26px); }
  .scroll-hint { display: none; }
  .section-head { margin-bottom: var(--sp-6); }
  .merch-hint { align-items: flex-start; }
  .merch-hint__link { margin-left: 0; }
}

@media (max-width: 620px) {
  .hl-grid { grid-template-columns: minmax(0, 1fr); }
  .merch-grid { grid-template-columns: minmax(0, 1fr); }
  .merch-card { flex-direction: row; align-items: stretch; }
  .merch-card__media { flex: 0 0 38%; aspect-ratio: 1; }
  .merch-card__body { flex: 1; align-content: center; padding: var(--sp-4); }
  .merch-card__head { flex-wrap: wrap; }
  .about__facts { gap: var(--sp-2); }
  .fact { padding: var(--sp-3); }
}

@media (max-width: 560px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }
  .hero__eyebrow { letter-spacing: 0.14em; }
  .hero__title-en { letter-spacing: 0.3em; text-indent: 0.3em; }
  .stat { padding-inline: var(--sp-3); }
  .stat__num { font-size: var(--fs-h3); }
  .stat__label { font-size: var(--fs-xs); letter-spacing: 0.1em; }
  .join-card { gap: var(--sp-3); padding: var(--sp-4); }
  .join-card__value { font-size: var(--fs-sm); }
  .join-card__icon { width: 42px; height: 42px; }
  .map-teaser { padding: var(--sp-5); }
  .map-teaser__meta { letter-spacing: 0.18em; }
}

@media (max-width: 380px) {
  .hero__stats { gap: 0; }
  .stat__label { font-size: var(--fs-xs); letter-spacing: 0.06em; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__inner > *,
  .hero__glow,
  .scroll-hint__line i,
  .orb,
  .orb__spin,
  .orb__dots circle,
  .orb__sat {
    animation: none !important;
  }
  .hero__inner > * { opacity: 1; transform: none; }
  .hl:hover,
  .merch-card:hover,
  .day:hover,
  .join-card:hover { transform: none; }
  .hl:hover .hl__media img,
  .merch-card:hover .merch-card__media img { transform: none; }
  .hl__media img,
  .merch-card__media img { transition: none; }
}

/* ==========================================================================
   首屏个人图背景 + 内容分组（精选片段 / 周边）
   ========================================================================== */

/* 溪璐的个人图作为首屏底图：大半径模糊 + 低透明度 + 径向遮罩，
   避免抢标题、也避免小图放大后的像素感。图片路径由 site.json 的
   hero.background 通过 CSS 变量 --hero-bg 注入，缺失时退回头像。 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg, url("/assets/img/hero-kamui.webp"));
  background-size: cover;
  background-position: 52% 32%;
  background-repeat: no-repeat;
  filter: brightness(0.52) saturate(1.06) contrast(1.04);
  pointer-events: none;
}

/* 首屏动画层：有视频时盖在静态图上，被同一套渐变压暗 */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
  filter: brightness(0.5) saturate(1.06) contrast(1.04);
  opacity: 0;
  transition: opacity 900ms var(--ease-out, ease);
  pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* 左侧再压一层底色，保证标题区域永远是干净的深色 */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(74% 62% at 50% 46%, rgba(5, 6, 13, 0.52) 0%, rgba(5, 6, 13, 0.18) 62%, transparent 82%),
    linear-gradient(180deg, rgba(5, 6, 13, 0.62) 0%, rgba(5, 6, 13, 0.34) 42%, rgba(5, 6, 13, 0.9) 100%);
}

@media (max-width: 720px) {
  .hero__bg { background-position: 38% 20%; filter: brightness(0.5) saturate(1.04); }
  .hero__video { object-position: 38% 20%; filter: brightness(0.48) saturate(1.04); }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(5, 6, 13, 0.66) 0%, rgba(5, 6, 13, 0.5) 40%, rgba(5, 6, 13, 0.9) 100%);
  }
}

/* 分组之间的呼吸感：精选片段两组、周边三组 */
.hl-group + .hl-group,
.merch-group + .merch-group {
  margin-top: var(--sp-8);
}

.group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--sp-3);
  row-gap: 6px;
  margin: 0 0 var(--sp-4);
}

.group-head .h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

/* 小标题左侧一道光条，和页面其他 eyebrow 呼应 */
.group-head .h3::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.group-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* 周边卡片支持整卡跳转时不要出现下划线 */
a.merch-card {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   粉丝现场：舰长 / 近期录播 / 弹幕词云
   ========================================================================== */

.fan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: 0 0 var(--sp-7);
}

.fan-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: var(--sp-5) var(--sp-3);
  border-radius: 18px;
  border: 1px solid rgba(185, 199, 255, 0.12);
  background: linear-gradient(180deg, rgba(185, 199, 255, 0.06), rgba(185, 199, 255, 0.015));
}

.fan-metric__value {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 650;
  white-space: nowrap;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.fan-metric__label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.fan-block + .fan-block {
  margin-top: var(--sp-8);
}

/* 近期录播 */
.replay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

/* 6 条正好 3×2；1080 以下保持 2 列，平板不塌成单列长图 */
@media (min-width: 1080px) {
  .replay-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  /* 窄屏用「左图右文」的紧凑列表：169px 的双列卡会把标题砍成两行省略号，
     角标也会糊在封面上。横排后标题能放下三行，信息可读性明显更好。 */
  .replay-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-3);
  }

  .replay-card.card {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
  }

  .replay-card__media {
    width: 42%;
    flex: none;
    align-self: center;
    border-radius: 12px;
    margin: 10px 0 10px 10px;
  }

  .replay-card__tag {
    display: none;
  }

  .replay-card__dur {
    right: 6px;
    bottom: 6px;
    font-size: 0.66rem;
    padding: 2px 6px;
  }

  .replay-card__body {
    flex: 1;
    padding: 12px 12px 12px 14px;
  }

  .replay-card__title {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 360px) {
  .replay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.replay-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 0;
  /* 卡片背景本就是深色，6 层 backdrop-filter 在移动端只是白烧 GPU */
  backdrop-filter: none;
}

.replay-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0b0f1c;
  overflow: hidden;
}

.replay-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out, ease-out);
}

.replay-card:hover .replay-card__media img {
  transform: scale(1.035);
}

.replay-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(5, 6, 13, 0.66);
  border: 1px solid rgba(185, 199, 255, 0.22);
  color: #cfd6ef;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.replay-card__dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 6, 13, 0.74);
  border: 1px solid rgba(185, 199, 255, 0.16);
  font-size: 0.72rem;
  color: #dfe4f7;
}

.replay-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.replay-card__title {
  flex: 1;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.replay-card__meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.8rem;
}

/* 词云 */
.cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  max-width: 900px;
  margin-inline: auto;
  padding: var(--sp-4) 0;
}

.cloud__word {
  color: hsl(var(--h, 230) 62% 84%);
  line-height: 1.25;
  transition: transform 0.2s var(--ease-out, ease-out);
  cursor: default;
}

.cloud__word:hover {
  transform: scale(1.08);
}

@media (max-width: 860px) {
  .fan-metrics {
    gap: 8px;
  }

  .fan-metric {
    padding: 12px 4px;
  }

  .fan-metric__label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .cloud {
    gap: 8px 12px;
  }
}

.group-link {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 199, 255, 0.22);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.group-link:hover {
  color: var(--text);
  border-color: rgba(185, 199, 255, 0.55);
}

@media (max-width: 640px) {
  .group-link {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .replay-card__media img { transition: none; }
  .replay-card:hover .replay-card__media img { transform: none; }
  .cloud__word:hover { transform: none; }
}

.cloud__word.is-strong {
  font-weight: 600;
}

/* ==========================================================================
   直播战报：大航海构成 / 礼物榜 / 弹幕画像
   ========================================================================== */

.fan-boards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  align-items: start;   /* 两栏内容长短不一时不要拉成等高，否则左侧空一大片 */
}

.fan-board {
  padding: var(--sp-5);
  border: 1px solid rgba(185, 199, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(185, 199, 255, 0.05), rgba(185, 199, 255, 0.012));
}

.fan-board--wide {
  margin-bottom: var(--sp-6);
}

.fan-board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.fan-board__head .h3 {
  margin: 0;
  font-size: 1rem;
}

.fan-board__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

/* 大航海 */
.guard-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guard-row {
  display: grid;
  grid-template-columns: 3.4em 1fr 3em;
  align-items: center;
  gap: 10px;
}

.guard-row__label {
  color: var(--muted);
  font-size: 0.82rem;
}

.guard-row__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(185, 199, 255, 0.1);
  overflow: hidden;
}

.guard-row__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 199, 255, 0.35), rgba(185, 199, 255, 0.85));
}

.guard-row.is-gov .guard-row__bar i {
  background: linear-gradient(90deg, rgba(255, 214, 138, 0.35), rgba(255, 214, 138, 0.9));
}

.guard-row.is-adm .guard-row__bar i {
  background: linear-gradient(90deg, rgba(201, 167, 255, 0.35), rgba(201, 167, 255, 0.9));
}

.guard-row__num {
  color: var(--text);
  font-size: 0.86rem;
  text-align: right;
}

/* 礼物榜 */
.gift-rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.gift-row {
  display: grid;
  grid-template-columns: 1.8em 1fr auto;
  align-items: center;
  gap: 10px;
}

.gift-row__rank {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.gift-row__name {
  color: var(--text);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-row__score {
  color: rgba(255, 214, 138, 0.9);
  font-size: 0.82rem;
}

/* 亲密度榜：名字后面挂勋章/大航海只作标识，不抢数字 */
.intimacy-badge {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
}

.intimacy-badge--guard {
  color: rgba(255, 214, 138, 0.85);
}

/* 弹幕画像 */
.danmaku-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.danmaku-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.danmaku-stat b {
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.danmaku-stat span {
  color: var(--muted);
  font-size: 0.76rem;
}

.danmaku-curve {
  display: block;
  width: 100%;
  height: 110px;
}

@media (max-width: 860px) {
  .fan-boards {
    grid-template-columns: minmax(0, 1fr);
  }

  .danmaku-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2) var(--sp-3);
  }

  .danmaku-stat b {
    font-size: 1.3rem;
  }

  .danmaku-curve {
    height: 90px;
  }
}

/* ==========================================================================
   直播战报（列表条 + 独立页 report.html）
   ========================================================================== */

.group-link--second {
  margin-left: var(--sp-3);
}

.report-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: var(--sp-4);
}

.report-strip__label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.report-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 199, 255, 0.16);
  background: rgba(185, 199, 255, 0.05);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.report-chip:hover {
  border-color: rgba(185, 199, 255, 0.42);
  background: rgba(185, 199, 255, 0.1);
}

.report-chip__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.report-chip__meta {
  font-size: 0.82rem;
}

/* 独立页 */
.report-page {
  padding-top: calc(var(--nav-h) + var(--sp-7));
  padding-bottom: var(--sp-9);
}

.report-head {
  margin-bottom: var(--sp-4);
}

.report-head .h3 {
  margin: 0 0 6px;
}

.report-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.report-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-src {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
}

.report-detail .fan-board + .fan-board,
.report-detail .fan-boards + .fan-board,
.report-detail .fan-board + .fan-boards {
  margin-top: var(--sp-4);
}

.report-subhead {
  margin: var(--sp-5) 0 var(--sp-3);
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.report-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.report-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  font-size: 0.88rem;
}

.report-list li.is-current a {
  color: var(--text-strong);
}

.report-list__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-list__val {
  color: var(--muted);
  font-size: 0.8rem;
}

/* 榜单只列前 N 位时补的「其余」行：弱化但保持对齐，让可见行与标题汇总自洽 */
.report-list__rest {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed rgba(185, 199, 255, 0.14);
}

.report-list__rest .report-list__name,
.report-list__rest .report-list__val {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.report-list--sc li {
  grid-template-columns: 1fr auto;
  row-gap: 4px;
}

.report-sc-msg {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 6px 10px;
  border-left: 2px solid rgba(185, 199, 255, 0.25);
  background: rgba(185, 199, 255, 0.04);
  border-radius: 0 8px 8px 0;
}

/* 点歌记录（抄自「点歌 歌名」弹幕/SC，不是她实际唱的曲目） */
.songreq { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.songreq li {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  grid-template-areas: 'no song at' 'no who at';
  column-gap: 12px;
  row-gap: 2px;
  align-items: baseline;
  padding: 10px 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.songreq li:last-child { border-bottom: 0; }
.songreq__no { grid-area: no; color: rgba(255, 255, 255, 0.32); font-size: 0.78rem; }
.songreq__song { grid-area: song; color: #f2f5ff; font-size: 1rem; overflow-wrap: anywhere; }
.songreq__who { grid-area: who; color: var(--muted); font-size: 0.8rem; }
.songreq__sc,
.songreq__rep { font-weight: 400; font-size: 0.74rem; color: rgba(255, 214, 138, 0.9); }
.songreq__rep { color: rgba(255, 255, 255, 0.45); }
.songreq__at { grid-area: at; color: rgba(255, 255, 255, 0.35); font-size: 0.78rem; }

.report-index {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(185, 199, 255, 0.1);
}

.report-index a {
  color: var(--text);
  text-decoration: none;
}

.report-index a:hover {
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-empty {
  margin: var(--sp-6) 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.report-empty--sm {
  font-size: 0.82rem;
  margin: var(--sp-3) 0 0;
}

.report-note--offair {
  margin-top: var(--sp-3);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.report-note--offair b {
  color: rgba(255, 214, 138, 0.9);
  font-weight: 600;
}

.report-empty code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(185, 199, 255, 0.1);
  font-size: 0.8rem;
}

@media (max-width: 620px) {
  .report-strip {
    gap: 8px;
  }

  .report-chip {
    padding: 7px 12px;
  }

  .report-list li {
    font-size: 0.84rem;
  }
}

/* 粉丝现场空态：数据为空时不留截图里的假榜单 */
.fan-empty {
  margin: 0;
  padding: var(--sp-5) 0;
  color: var(--muted-2);
  font-size: .86rem;
  line-height: 1.7;
  text-align: center;
}

.guard-row__bar i.is-zero { display: none; }
.guard-row__bar i { min-width: 2px; border-radius: var(--radius-pill); }

.fan-metric__unit {
  font-size: .58em;
  font-weight: 600;
  color: var(--muted);
  margin-left: .14em;
}

/* 移动端只露 3 条回放，其余收进「全部回放」 */
@media (max-width: 620px) {
  .replay-grid > .replay-card:nth-child(n + 4) { display: none; }
}

/* ---------- 收藏集：11 款卡的陈列 ---------- */
.collection__intro {
  max-width: 62ch;
  margin: var(--sp-3) 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.collection__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
}

.collection__meta li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.collection__meta-label {
  color: var(--ink-faint);
  font-size: var(--fs-xs);
}

.collection__meta-value {
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 600;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.collection-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.collection-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.collection-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 10px 10px;
}

.collection-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-soft);
}

.collection-card__rarity {
  flex: none;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 1px 6px;
}

.collection-card.is-hidden {
  border-color: rgba(214, 188, 110, 0.45);
}

.collection-card.is-hidden .collection-card__rarity {
  color: var(--gold, #d6bc6e);
  border-color: rgba(214, 188, 110, 0.45);
}

.collection-card:hover {
  transform: translateY(-3px);
}

.collection__cta {
  display: inline-flex;
  margin-top: var(--sp-5);
}

.collection__note {
  margin: var(--sp-3) 0 0;
  color: var(--ink-faint);
  font-size: var(--fs-xs);
}

@media (max-width: 620px) {
  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
  }

  .collection-card figcaption {
    padding: 6px 8px 8px;
  }
}


/* 「关于」里可点的事实（直播间 / 歌单 / 粉丝群） */
.fact__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-0);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.fact__link:hover {
  color: rgb(var(--accent-3-rgb));
  border-color: rgba(var(--accent-3-rgb), 0.8);
}

.fact__arrow {
  font-size: 0.76em;
  opacity: 0.7;
}

/* 本周已播：录播封面 + 标题 */
.day--done .day__time {
  color: rgb(var(--accent-2-rgb));
}

.day__done-tag {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-3-rgb));
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.day__replay {
  position: relative;
  display: block;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2, #0b0d16);
  transition: border-color 0.25s, transform 0.25s;
}

.day__replay:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-2px);
}

.day__replay img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.92;
}

.day__replay-title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 9px 7px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--fg-0);
  background: linear-gradient(transparent, rgba(4, 5, 11, 0.78) 45%, rgba(4, 5, 11, 0.97));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 词云：撑满宽度，字号/颜色分层更像 StarBot */
.cloud {
  max-width: none;
  min-height: 260px;
  gap: 6px 18px;
  padding: 20px 0 30px;
  align-content: center;
  align-items: center;
}

/* 高频词只有个位数时不要留 260px 的空洞 */
.cloud--sparse {
  min-height: 120px;
  padding: 12px 0 8px;
}

.cloud__word {
  color: hsl(var(--h, 230) 72% 82%);
}

.cloud__word.is-strong {
  font-weight: 700;
  text-shadow: 0 0 26px hsl(var(--h, 276) 85% 62% / 0.32);
}

@media (max-width: 620px) {
  .cloud {
    gap: 8px 14px;
    padding: 18px 0 24px;
  }

  .day__replay-title {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   设定档案 + 形象年鉴（资料整理自萌娘百科，标注来源）
   ========================================================================== */
.profile {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.profile__hint {
  margin: 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.52);
}

.profile__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-3) var(--sp-5);
  margin: 0;
}

.profile__grid > div {
  display: grid;
  gap: 2px;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile__grid dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.52);
}

.profile__grid dd {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-strong, #ece9ff);
}

.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sw);
  vertical-align: -1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 12px rgba(var(--accent-rgb), 0.5);
}

.profile__foot {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}

.profile__quote {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.profile__like {
  margin: 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.profile__like b {
  margin-right: 6px;
  color: rgba(var(--accent-3-rgb), 0.85);
  font-weight: 500;
}

.source-note {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.6;
  /* 0.34 实测仅 2.99–3.06:1（12.5px 正文级字号需 4.5:1） */
  color: rgba(255, 255, 255, 0.52);
}

.source-note a {
  color: rgba(var(--accent-rgb), 0.8);
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .profile { padding: var(--sp-4); }
  .profile__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
}

/* ==========================================================================
   歌声回廊 / 名场面图鉴 / 溪行足迹
   ========================================================================== */
.live-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

/* 1ST LIVE 卡：用她的寒武纪动态壁纸做底，压一层暗色渐变保证文字可读 */
.live-strip--video { overflow: hidden; }
@media (min-width: 768px) { .live-strip--video { min-height: 214px; } }
.live-strip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 24%;
  opacity: 0.82;
  filter: saturate(1.06) contrast(1.02);
  pointer-events: none;
}
.live-strip__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 16, 0.93) 0%, rgba(6, 8, 16, 0.66) 34%, rgba(6, 8, 16, 0.26) 58%, rgba(6, 8, 16, 0.66) 78%, rgba(6, 8, 16, 0.8) 100%),
    radial-gradient(120% 160% at 0% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%);
  pointer-events: none;
}
.live-strip--video > .live-strip__body,
.live-strip--video > .live-strip__facts { position: relative; z-index: 1; }

@media (max-width: 620px) {
  .live-strip__bg { filter: brightness(0.62) saturate(1.02); opacity: 0.9; }
  .live-strip__scrim {
    background:
      linear-gradient(180deg, rgba(6, 8, 16, 0.55) 0%, rgba(6, 8, 16, 0.72) 42%, rgba(6, 8, 16, 0.9) 100%),
      radial-gradient(120% 160% at 0% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-strip__bg { display: none; }
  .live-strip--video {
    background-image:
      linear-gradient(90deg, rgba(6, 8, 16, 0.93) 0%, rgba(6, 8, 16, 0.66) 34%, rgba(6, 8, 16, 0.26) 58%, rgba(6, 8, 16, 0.66) 78%, rgba(6, 8, 16, 0.8) 100%),
      url("/assets/img/kamui-poster.webp");
    background-size: cover;
    background-position: 46% 24%;
  }
}

.live-strip::after {
  content: "EVENT ARCHIVE";
  position: absolute;
  z-index: 2;
  top: var(--sp-4);
  right: var(--sp-5);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

@media (max-width: 620px) {
  .live-strip::after { top: var(--sp-3); right: var(--sp-3); }
}

.live-strip__title {
  display: block;
  margin: 6px 0 4px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.01em;
}

.live-strip__desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
}

.live-strip__facts {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
}

.fact-num {
  display: grid;
  gap: 2px;
  min-width: 84px;
}

.fact-num .mono {
  font-size: 1.65rem;
  line-height: 1;
  color: var(--text-strong, #fff);
}

.fact-num small {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.52);
}

.song-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4) var(--sp-3);
  margin: var(--sp-5) 0 0;
}
.song-cards.is-collapsed .song-card:nth-child(n + 13) { display: none; }

.song-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.song-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out, ease);
}
.song-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.song-card:hover .song-card__media {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-2px);
}
.song-card__dur {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.6875rem;
  color: #fff;
  background: rgba(5, 6, 13, 0.72);
  backdrop-filter: blur(4px);
}
.song-card__title {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.song-card:hover .song-card__title { color: #fff; }
.song-card__meta {
  display: flex;
  gap: 8px;
  margin: 0;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.52);
}

.song-more-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
}
.song-more { cursor: pointer; }
.song-more__hint { font-size: 0.75rem; color: rgba(255, 255, 255, 0.52); }

/* ---- 名场面图鉴 ---- */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(14px);
}

.legend__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: var(--radius-pill, 999px);
  background: rgba(var(--accent-rgb), 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(var(--accent-3-rgb), 0.9);
}

.legend__title {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.45;
}

.legend__desc {
  flex: 1;
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.legend__src {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.75rem;
  color: rgba(var(--accent-rgb), 0.75);
  text-decoration: none;
}

.legend__src:hover { color: rgba(var(--accent-rgb), 1); text-decoration: underline; text-underline-offset: 3px; }

/* ---- 编年史（形象年鉴 × 溪行足迹） ---- */
.chron {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--sp-6);
  margin-top: var(--sp-5);
}

/* 第三列：2025 与 2026 竖着叠，避免年份越新节点越少、右边一大片空白 */
.chron__col {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: var(--sp-5);
}

.chron__col .chron__year { border-left: 0; padding-left: 0; }

.chron__year {
  padding: 0 var(--sp-5);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.chron__year:first-child { padding-left: 0; border-left: 0; }
.chron__year:last-child { padding-right: 0; }

.chron__yhead {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding-bottom: var(--sp-4);
}

.chron__ynum {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: rgba(var(--accent-3-rgb), 0.95);
}

.chron__ymeta {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.chron__rail {
  margin: 0;
  padding: 0 0 0 var(--sp-4);
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.chron__node {
  position: relative;
  padding: 2px 0 var(--sp-5);
}

.chron__node:last-child { padding-bottom: 2px; }

.chron__dot {
  position: absolute;
  left: calc(var(--sp-4) * -1 - 3.5px);
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.85);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.chron__node--look .chron__dot { border-radius: 2px; transform: rotate(45deg); }

.chron__date {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.chron__body b {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.chron__body span {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1023px) {
  .song-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chron { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .chron__year { padding: 0; border-left: 0; }
  .chron__yhead {
    position: sticky;
    top: calc(var(--nav-h) + 6px);
    z-index: 2;
    width: fit-content;
    padding: 6px 14px 6px 10px;
    margin: calc(var(--sp-2) * -1) 0 var(--sp-3) calc(var(--sp-2) * -1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    background: rgba(5, 6, 13, 0.86);
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 860px) {
  .legend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .legend-grid { grid-template-columns: minmax(0, 1fr); }
  .song-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .live-strip { padding: var(--sp-4); }
}

/* --------------------------------------------------------------------------
   皮套档案（#pets）
   -------------------------------------------------------------------------- */
.pets-section { position: relative; }

.pet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}

.pet {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: 0;
  border: 0;
  background: none;
}

.pet__fig {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(72% 60% at 50% 34%, rgba(var(--accent-rgb), 0.16), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.pet__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

.pet__no {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(236, 241, 255, 0.92);
  background: rgba(8, 10, 18, 0.66);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.pet__body { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; flex: 1; }
.pet__name { margin: 0; font-size: var(--fs-md); line-height: 1.4; letter-spacing: 0.01em; }
.pet__date { margin: 0; font-size: 0.75rem; color: var(--muted); }
.pet__note { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.pet__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin: auto 0 0;
  padding-top: var(--sp-2);
  font-size: 0.78rem;
  color: var(--muted);
}
.pet__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(var(--accent-rgb), 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.45);
  text-underline-offset: 3px;
}
.pet__link:hover { color: var(--accent); text-decoration-color: currentColor; }

@media (max-width: 1023px) {
  .pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .pet__link { min-height: 44px; }

  .pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
}

/* NO.01 是官方形象卡（浅底海报）：深色卡纸上装裱一张印刷品，不做去背 */
.pet__fig--sheet { padding: 12px; align-items: center; }
.pet__fig--sheet .pet__img {
  object-fit: contain;
  object-position: center;
  filter: none;
  border-radius: var(--radius-sm);
  background: #f7f9ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* ---- 直播数据：列表缩略图 + 详情页汇总图 ---- */
.report-list__link { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.report-list__thumb {
  flex: 0 0 auto;
  width: 54px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.report-list__title { display: block; }
.report-poster { margin: 20px 0 8px; }
.report-poster img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.report-poster figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 620px) {
  .report-list__thumb { width: 44px; height: 58px; }
  .report-poster img { max-width: 100%; }
}

/* ============================ 本月流水进度 ============================ */
/* 目标写在 site.json 的 monthGoal，数字由 ops/month-goal.mjs 算进 data/month.json。
   渐变填充用 --gold → --accent，和站内「进度/成长」的语言保持一致。 */
.month__intro { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.month__title { margin: 0; }

.month__panel {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-soft, 0 30px 80px -50px rgba(0, 0, 0, 0.9));
}

.month__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
}
.month__label {
  margin: 0;
  font-size: var(--fs-md, 1.0625rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.month__sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.month__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
.month__figure b {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.month__target { color: var(--muted-2); font-size: var(--fs-sm); }

.month__track {
  position: relative;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid var(--line);
}
.month__fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  box-shadow: 0 0 18px -4px rgba(255, 214, 138, 0.55);
  transition: width 900ms var(--ease-out);
}

.month__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.month__pct { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }
.month__rest b { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  .month__figure b { font-size: 1.5rem; }
  .month__foot { font-size: 0.8rem; }
}

/* 战报页头里的本月进度：一条细线 + 文案，不抢本场数据的主角位置 */
.report-src--month {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.report-src--month b { color: var(--gold); font-weight: 600; }
.report-month__bar {
  position: relative;
  display: inline-block;
  width: 88px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex: 0 0 auto;
}
.report-month__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--month-pct, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}
