.page-home {
  --home-radius: 26px;
  --home-hair: rgba(110, 127, 120, 0.34);
  --home-hair-dark: rgba(11, 31, 26, 0.16);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

@media (min-width: 1024px) {
  .page-home .shell {
    padding-left: calc(var(--gutter) + var(--rail-w));
  }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: calc(var(--top-h) + 20px) clamp(38px, 6vw, 76px);
  background:
    radial-gradient(58% 42% at 84% 6%, rgba(43, 228, 197, 0.1), transparent 72%),
    var(--ink);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 22px;
}

.page-home .home-hero__kicker {
  margin: 0;
  color: var(--dim-on-dark);
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 8.4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.page-home .home-hero__lede {
  margin: 16px 0 0;
  max-width: 33em;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dim-on-dark);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .home-hero__actions .btn {
  min-width: 132px;
  text-align: center;
}

/* 轮次摘要 */
.page-home .home-rounds {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--home-hair);
}

.page-home .home-rounds__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
}

.page-home .home-rounds__head .num {
  color: var(--lime);
  font-size: 13px;
}

.page-home .home-rounds__wrap {
  display: grid;
  gap: 14px;
}

.page-home .home-rounds__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .home-round {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "tag time"
    "num place";
  gap: 6px 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--home-hair);
}

.page-home .home-round__tag {
  grid-area: tag;
  justify-self: start;
}

.page-home .home-round__num {
  grid-area: num;
  align-self: center;
  font-size: 13px;
  color: var(--lime);
}

.page-home .home-round__time {
  grid-area: time;
  justify-self: end;
  color: var(--white);
  font-size: 14px;
}

.page-home .home-round__place {
  grid-area: place;
  font-size: 12.5px;
  color: var(--dim-on-dark);
}

.page-home .home-rounds__figure {
  margin: 0;
  height: 190px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-2);
}

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

@media (min-width: 560px) {
  .page-home .home-rounds__wrap {
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: stretch;
  }
  .page-home .home-rounds__figure {
    height: auto;
    min-height: 150px;
  }
}

/* 订阅流 */
.page-home .home-feed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--home-hair);
  border-radius: var(--home-radius);
  background: var(--ink-2);
}

.page-home .home-feed__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  z-index: -1;
  filter: saturate(0.7);
}

.page-home .home-feed__inner {
  position: relative;
}

.page-home .home-feed__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .home-feed__meta {
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim-on-dark);
}

.page-home .home-feed__meta .num {
  color: var(--lime);
  font-size: 14px;
}

.page-home .home-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .feed-card {
  padding: 14px 16px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  background: rgba(11, 31, 26, 0.76);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.page-home .feed-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .feed-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .feed-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.page-home .feed-card__state {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-home .feed-card__state--on {
  color: var(--cyan);
  border: 1px solid rgba(43, 228, 197, 0.42);
  background: rgba(43, 228, 197, 0.12);
}

.page-home .feed-card__state--open {
  color: var(--lime);
  border: 1px solid rgba(198, 255, 61, 0.42);
  background: rgba(198, 255, 61, 0.12);
}

.page-home .feed-card__meta {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--dim-on-dark);
}

.page-home .feed-card__next {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .feed-card__next .num {
  color: var(--white);
}

/* ---------- 近七天日历 ---------- */
.page-home .home-calendar {
  margin-top: clamp(28px, 5vw, 54px);
  padding-block: clamp(36px, 6vw, 74px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--home-radius) var(--home-radius) 0 0;
}

.page-home .home-calendar__eyebrow {
  margin: 0;
  color: var(--dim-on-light);
}

.page-home .home-calendar__title {
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .home-calendar__intro {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dim-on-light);
}

.page-home .home-calendar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

.page-home .home-calendar .chip {
  padding: 7px 15px;
  border: 1px solid var(--home-hair-dark);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.page-home .home-calendar .chip:hover,
.page-home .home-calendar .chip:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .home-day {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 12px 12px 14px;
  border: 1px solid var(--home-hair-dark);
  border-radius: var(--r-md);
  background: var(--white);
}

.page-home .home-day--now {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-home .home-day--peak {
  border-color: var(--score);
  box-shadow: inset 0 3px 0 var(--score);
}

.page-home .home-day__dow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim-on-light);
}

.page-home .home-day--now .home-day__dow {
  color: var(--cyan);
}

.page-home .home-day__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .home-day--now .home-day__label {
  color: var(--paper);
}

.page-home .home-day__count {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}

.page-home .home-day--now .home-day__count {
  color: var(--lime);
}

.page-home .home-day__count span {
  margin-left: 3px;
  font-size: 11px;
}

.page-home .home-day__note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim-on-light);
}

.page-home .home-day--now .home-day__note {
  color: var(--dim-on-dark);
}

.page-home .home-calendar__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim-on-light);
}

@media (min-width: 720px) {
  .page-home .home-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .home-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

/* ---------- 战报速览 ---------- */
.page-home .home-briefs {
  padding-block: clamp(36px, 6vw, 76px);
  background: var(--ink);
}

.page-home .home-briefs__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-briefs .eyebrow {
  margin: 0;
  color: var(--cyan);
}

.page-home .home-briefs__title {
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-briefs__intro {
  margin: 0;
  max-width: 40em;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dim-on-dark);
}

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

.page-home .brief {
  padding: 16px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .brief__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .brief__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim-on-dark);
}

.page-home .brief__title {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-home .brief__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dim-on-dark);
}

.page-home .home-briefs__more {
  margin-top: 20px;
}

.page-home .home-briefs__media {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .home-briefs__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.9;
}

@media (min-width: 960px) {
  .page-home .home-briefs__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 38px;
  }
}

/* ---------- 服务路径 ---------- */
.page-home .home-path {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 76px);
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-path .eyebrow {
  margin: 0;
  color: var(--dim-on-light);
}

.page-home .home-path__head {
  display: grid;
  gap: 20px;
}

.page-home .home-path__title {
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .home-path__intro {
  margin: 0;
  max-width: 38em;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dim-on-light);
}

.page-home .home-path__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .home-path__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.page-home .path-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.page-home .path-step {
  position: relative;
  z-index: 1;
  padding: 16px 16px 18px;
  border: 1px solid var(--home-hair-dark);
  border-radius: var(--r-lg);
  background: var(--white);
}

.page-home .path-step__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.page-home .path-step:nth-child(2n) .path-step__dot {
  color: var(--cyan);
}

.page-home .path-step:nth-child(3n) .path-step__dot {
  color: var(--lime);
}

.page-home .path-step__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .path-step__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dim-on-light);
}

@media (min-width: 860px) {
  .page-home .home-path__head {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 32px;
  }
  .page-home .home-path__media img {
    aspect-ratio: 1 / 1;
  }
  .page-home .path-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .page-home .path-list::before {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 33px;
    border-top: 1px dashed rgba(11, 31, 26, 0.3);
    z-index: 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-path__line {
    display: block;
    position: absolute;
    right: -40px;
    bottom: -30px;
    width: min(520px, 52%);
    height: auto;
    color: var(--ink);
    opacity: 0.16;
    pointer-events: none;
  }
  .page-home .home-path__line path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-dasharray: 6 8;
  }
}

/* ---------- 信任与咨询 ---------- */
.page-home .home-trust {
  padding-block: clamp(38px, 6vw, 82px);
  background: var(--ink);
  border-top: 1px solid var(--home-hair);
}

.page-home .home-trust__grid {
  display: grid;
  gap: 26px;
}

.page-home .home-trust .eyebrow {
  margin: 0;
  color: var(--lime);
}

.page-home .home-trust__title {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-trust__note {
  margin: 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--dim-on-dark);
}

.page-home .home-trust__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-trust__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dim-on-dark);
}

.page-home .home-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.page-home .home-trust__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .home-trust__stat {
  padding: 14px 15px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: rgba(36, 53, 47, 0.55);
}

.page-home .home-trust__statValue {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  line-height: 1.1;
  color: var(--lime);
}

.page-home .home-trust__statLabel {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--dim-on-dark);
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-home .home-trust__links .btn {
  min-width: 132px;
  text-align: center;
}

@media (min-width: 900px) {
  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
    gap: 44px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 26px;
  }
  .page-home .home-hero__lead {
    position: sticky;
    top: calc(var(--top-h) + 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .feed-card,
  .page-home .home-calendar .chip {
    transition: none;
  }
  .page-home .feed-card:hover {
    transform: none;
  }
}
