/* 首页样式 */

.hero { padding: 122px 0 30px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  display: block;
  background: linear-gradient(96deg, #5f7cf5 0%, #9f8bff 42%, #ff8f6b 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .dot { color: var(--coral); }

.lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 33em;
}

.hero-en {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s;
}

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

.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 16px 30px -18px rgba(23, 22, 27, 0.9); }
.btn--ink:hover { background: #2b2935; box-shadow: 0 22px 40px -20px rgba(23, 22, 27, 0.75); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-2);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }

.quick-row {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}

.quick-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px dashed var(--line-2);
  transition: color 0.2s, border-color 0.2s;
}

.quick-row a:hover { color: var(--ink); border-color: var(--ink-3); }

/* ------------------------------ 角色舞台 ------------------------------ */

.stage {
  position: relative;
  border-radius: 34px;
  padding: 18px 18px 16px;
  background: linear-gradient(168deg, #ffffff 0%, #fcfdff 42%, #eef3ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 44% at 50% 26%, rgba(107, 135, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.stage-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 6px 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.stage-top .st-left { display: flex; align-items: center; gap: 8px; }

.stage-top .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(79, 195, 161, 0.14);
  color: #1f8f6d;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.stage-body {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 6px 0 8px;
  min-height: 318px;
}

.mascot-holder {
  width: min(292px, 72%);
  filter: drop-shadow(0 22px 34px rgba(90, 116, 190, 0.2));
}

.bubble {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translate(-50%, 8px) scale(0.97);
  max-width: min(84%, 320px);
  padding: 11px 15px;
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px -20px rgba(40, 44, 80, 0.5);
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 3;
}

.bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

.bubble.typing::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 3px;
  background: var(--blue);
  border-radius: 2px;
  vertical-align: -2px;
  animation: caret 1s steps(2) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

.stage-input {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px -20px rgba(40, 44, 80, 0.6);
}

.stage-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 13.5px;
  padding: 8px 0;
}

.stage-input input::placeholder { color: var(--ink-4); }

.stage-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.stage-send:hover { transform: scale(1.06); background: #33313f; }
.stage-send:disabled { opacity: 0.45; cursor: wait; }

.stage-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.jar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 22, 27, 0.07);
  overflow: hidden;
}

.jar i {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8ea6ff, #ffb09a);
  transition: width 0.6s var(--ease);
}

/* ------------------------------ 今日发生 ------------------------------ */

.today-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.day-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 18px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 268px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.dc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.dc-main { flex: 1; }

.dc-title {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.dc-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

.dc-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }

.dc-list li {
  display: flex;
  gap: 8px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--ink-2);
}

.dc-list li i {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ink-4);
}

.dc-list li span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.idx-row { display: grid; gap: 9px; margin-top: 10px; }

.idx-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}

.idx-item .nm { color: var(--ink-2); }

.idx-item .vl { font-family: var(--mono); font-weight: 600; letter-spacing: -0.01em; }

.idx-item .pc { font-family: var(--mono); font-size: 11.5px; width: 62px; text-align: right; }

.spark-wrap { margin-top: auto; }

.spark-wrap svg { width: 100%; height: 44px; overflow: visible; }

.rank-one { display: flex; gap: 12px; align-items: flex-start; }

.rank-badge {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: #cf5f3b;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}

.dc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-3);
}

.dc-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink-2); }
.dc-foot a:hover { color: var(--ink); }

.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, #f1efea 25%, #f8f7f3 37%, #f1efea 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ------------------------------ 频道 ------------------------------ */

.ch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ch-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  overflow: hidden;
}

.ch-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 135, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.ch-card:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow); }
.ch-card:hover::after { opacity: 1; }

.ch-ico {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.ch-ico svg { width: 21px; height: 21px; stroke-width: 1.6; }

.ch-card h3 { margin: 0 0 6px; font-size: 16.5px; letter-spacing: -0.01em; }
.ch-card p { margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: var(--ink-3); }

.ch-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.ch-card:hover .ch-go { color: var(--blue); }

/* ------------------------------ 数据条 ------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.stat { padding: 26px 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }

.stat .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.stat b {
  display: block;
  margin: 8px 0 4px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.stat span { font-size: 11.5px; color: var(--ink-3); }

/* ------------------------------ 关于 ------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.about-copy {
  padding: 36px 36px 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.about-copy p { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }

.about-side {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(165deg, #fff, #f3f6ff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.about-side .mini-stage { display: grid; place-items: center; padding: 4px 0; }
.about-side .mini-stage .mascot-holder { width: 170px; }

.side-note {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 1080px) {
  .hero { padding: 104px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(40px, 8vw, 64px); }
  .stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .today-grid { grid-template-columns: 1fr 1fr; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 92px 0 10px; }
  .today-grid { grid-template-columns: 1fr; }
  .ch-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stage-body { min-height: 268px; }
  .mascot-holder { width: min(230px, 68%); }
  .about-copy { padding: 26px 22px; }
  .about-side { padding: 22px; }
}
