/* =========================================
   首页 · 哨声频道
   ========================================= */
.page-home {
  --home-hair: rgba(215, 224, 238, 0.12);
  --home-hair-soft: rgba(215, 224, 238, 0.07);
  background: var(--ink-900);
  color: var(--text-on-dark);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: 56px 0 52px;
  background:
    radial-gradient(120% 76% at 82% 4%, rgba(232, 255, 59, 0.11), transparent 60%),
    radial-gradient(96% 70% at 4% 96%, rgba(59, 224, 200, 0.09), transparent 62%),
    var(--ink-900);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--home-hair-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-hair-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 86%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 86%);
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .hero__spine { display: none; }

.page-home .hero__kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.4vw, 3.6rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .hero__lede {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-on-dark-dim);
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .hero__visual {
  margin: 0;
}

.page-home .hero__visual .media {
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-card);
}

.page-home .hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__cap {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* 首屏入口卡 */
.page-home .hero__entries {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(18, 41, 74, 0.92), rgba(10, 27, 51, 0.72));
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}

.page-home .entry-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--whistle), transparent);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  border-color: rgba(232, 255, 59, 0.42);
  transform: translateY(-3px);
}

.page-home .entry-card:hover::after,
.page-home .entry-card:focus-visible::after { opacity: 1; }

.page-home .entry-card__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--whistle);
}

.page-home .entry-card__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .entry-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-on-dark-dim);
}

.page-home .entry-card__more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.8125rem;
  color: var(--cyan);
  transition: max-height 320ms var(--ease), opacity 240ms var(--ease), margin-top 320ms var(--ease);
}

.page-home .entry-card:hover .entry-card__more,
.page-home .entry-card:focus-visible .entry-card__more {
  max-height: 3.5em;
  opacity: 1;
  margin-top: 6px;
}

@media (hover: none) {
  .page-home .entry-card__more {
    max-height: 3.5em;
    opacity: 1;
    margin-top: 6px;
  }
}

/* ---------- 坐标索引 ---------- */
.page-home .spot-index {
  position: relative;
  z-index: 4;
  background: rgba(10, 27, 51, 0.86);
  border-bottom: 1px solid var(--home-hair-soft);
}

.page-home .spot-index__list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .spot-index__list::-webkit-scrollbar { display: none; }

.page-home .spot-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  font-size: 0.8125rem;
  color: var(--text-on-dark-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .spot-index__link .mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .spot-index__link:hover { color: var(--ice); }

.page-home .spot-index__link[aria-current="true"] {
  color: var(--ice);
  border-bottom-color: var(--whistle);
}

.page-home .spot-index__link[aria-current="true"] .mono { color: var(--whistle); }

/* ---------- 章节通用 ---------- */
.page-home .chapter {
  position: relative;
  padding: 64px 0;
}

.page-home .chapter__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.page-home .chapter__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--whistle);
  padding-top: 0.5em;
}

.page-home .chapter__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ice);
}

.page-home .chapter__lede {
  margin: 0 0 30px;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-on-dark-dim);
}

.page-home .chapter__foot {
  margin: 30px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .link-more {
  color: var(--whistle);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 255, 59, 0.4);
  margin-left: 4px;
  padding-bottom: 1px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .link-more:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .block-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--whistle);
}

/* ---------- 01 榜单 ---------- */
.page-home .board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .data-panel {
  background: linear-gradient(180deg, rgba(18, 41, 74, 0.88), rgba(10, 27, 51, 0.7));
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-home .data-panel__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .board-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-home .board-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--whistle);
  border-bottom: 1px solid var(--home-hair);
  white-space: nowrap;
}

.page-home .board-table tbody tr {
  transition: background-color 200ms var(--ease);
}

.page-home .board-table tbody tr:hover { background: rgba(232, 255, 59, 0.06); }

.page-home .board-table tbody th {
  padding: 15px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--ice);
  border-bottom: 1px solid var(--home-hair-soft);
  white-space: nowrap;
  transition: color 200ms var(--ease);
}

.page-home .board-table tbody td {
  padding: 15px 16px;
  color: var(--text-on-dark-dim);
  border-bottom: 1px solid var(--home-hair-soft);
  line-height: 1.6;
}

.page-home .board-table tbody tr:last-child th,
.page-home .board-table tbody tr:last-child td { border-bottom: 0; }

.page-home .board-table tbody tr:hover th { color: var(--whistle); }

.page-home .side-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .read-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .read-list li {
  position: relative;
  padding: 14px 0 14px 20px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-on-dark-dim);
  border-top: 1px solid var(--home-hair-soft);
}

.page-home .read-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 哨声波形分隔 ---------- */
.page-home .whistle-wave {
  padding: 0 var(--gutter);
  color: rgba(232, 255, 59, 0.3);
}

.page-home .whistle-wave svg {
  display: block;
  width: 100%;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  animation: home-whistle-breathe 3.6s var(--ease) infinite;
}

@keyframes home-whistle-breathe {
  0%, 100% { transform: translateY(-1.5px); }
  50% { transform: translateY(1.5px); }
}

/* ---------- 02 场馆 ---------- */
.page-home .step-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .step {
  position: relative;
  padding: 26px 20px 22px;
  background: linear-gradient(180deg, rgba(18, 41, 74, 0.82), rgba(10, 27, 51, 0.55));
  border: 1px solid var(--home-hair);
  border-top: 2px solid var(--whistle);
  border-radius: var(--radius);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}

.page-home .step:nth-child(2) { border-top-color: var(--cyan); }
.page-home .step:nth-child(3) { border-top-color: var(--mist); }

.page-home .step:hover { transform: translateY(-3px); }

.page-home .step__num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  line-height: 1;
  color: rgba(232, 255, 59, 0.2);
}

.page-home .step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .step__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-on-dark-dim);
}

/* ---------- 03 周末 ---------- */
.page-home .chapter--weekend {
  padding: 72px 0;
  overflow: hidden;
}

.page-home .weekend__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-home .weekend__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .weekend__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink-900) 0%, rgba(10, 27, 51, 0.66) 40%, var(--ink-900) 100%),
    linear-gradient(90deg, var(--ink-900) 0%, transparent 58%);
}

.page-home .weekend__inner { position: relative; z-index: 1; }

.page-home .weekend__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .weekend__block p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text-on-dark);
}

.page-home .weekend__note {
  margin: 32px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
  max-width: 60ch;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 04 栏目 ---------- */
.page-home .chapter--channels {
  background: linear-gradient(180deg, var(--ink-900), #0c1f3a 44%, var(--ink-900));
  overflow: hidden;
}

.page-home .channels__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-home .channels__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.2;
}

.page-home .channels__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(92% 72% at 50% 50%, transparent 18%, rgba(10, 27, 51, 0.92) 80%);
}

.page-home .channels__inner { position: relative; z-index: 1; }

.page-home .index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-hair);
}

.page-home .index-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-hair-soft);
  transition: background-color 220ms var(--ease);
}

.page-home .index-item:hover { background: rgba(232, 255, 59, 0.05); }

.page-home .index-item__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--whistle);
}

.page-home .index-item__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .index-item__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-on-dark-dim);
}

.page-home .channels__foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
}

.page-home .channels__foot p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 05 升级与吉林 ---------- */
.page-home .upgrade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .upgrade-copy p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text-on-dark-dim);
}

.page-home .upgrade-copy .upgrade-meta {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .check-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .check-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--home-hair-soft);
}

.page-home .check-list li:first-child { border-top: 1px solid var(--home-hair-soft); }

.page-home .check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 10px;
  height: 1px;
  background: var(--whistle);
}

.page-home .jilin-figure {
  margin: 0 0 18px;
  border: 1px solid rgba(59, 224, 200, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
}

.page-home .jilin-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .jilin-panel {
  position: relative;
  padding: 26px 22px;
  background: var(--turf);
  border: 1px solid rgba(59, 224, 200, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .jilin-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(242, 246, 252, 0.1) 47%, rgba(242, 246, 252, 0.1) 48%, transparent 49%),
    linear-gradient(63deg, transparent 46%, rgba(242, 246, 252, 0.07) 47%, rgba(242, 246, 252, 0.07) 48%, transparent 49%);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}

.page-home .jilin-panel > * { position: relative; z-index: 1; }

.page-home .jilin-panel__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .jilin-panel p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(242, 246, 252, 0.82);
}

.page-home .jilin-panel .jilin-panel__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--cyan);
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  border-top: 1px solid var(--home-hair);
}

.page-home .closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .closing__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.page-home .closing__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ice);
}

.page-home .closing__text p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-on-dark-dim);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .index-item {
    grid-template-columns: 52px minmax(0, 200px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 20px 10px;
  }
}

@media (min-width: 760px) {
  .page-home .hero { padding: 72px 0 64px; }
  .page-home .hero__lede { font-size: 1.0625rem; }

  .page-home .hero__entries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
  }

  .page-home .entry-card:nth-child(2) { margin-top: 16px; }
  .page-home .entry-card:nth-child(3) { margin-top: 32px; }
}

@media (min-width: 780px) {
  .page-home .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 860px) {
  .page-home .weekend__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .page-home .closing__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .page-home .chapter { padding: 100px 0; }
  .page-home .chapter--weekend { padding: 110px 0; }
}

@media (min-width: 960px) {
  .page-home .upgrade-grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 4.6fr);
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .hero__inner {
    grid-template-columns: 52px minmax(0, 6.4fr) minmax(0, 4.6fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .hero__spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 340px;
    padding-top: 6px;
  }

  .page-home .hero__spine-label {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.34em;
    color: var(--mist);
  }

  .page-home .hero__spine-num {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 2.6rem;
    line-height: 1;
    color: rgba(232, 255, 59, 0.42);
  }

  .page-home .hero__visual { margin-top: 64px; }

  .page-home .hero__entries { padding-left: 96px; }

  .page-home .board-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 44px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .whistle-wave svg { animation: none; }
  .page-home .entry-card,
  .page-home .step,
  .page-home .entry-card__more { transition: none; }
}
</style>
