/* ===== 首页 · 内容中心 ===== */
.page-home {
  --home-grid: 72px;
  --home-shadow: 8px 8px 0 rgba(5, 7, 15, .9);
  --home-shadow-hover: 12px 14px 0 rgba(5, 7, 15, .95);
  background-image: linear-gradient(90deg, rgba(42, 53, 102, .18) 1px, transparent 1px);
  background-size: var(--home-grid) 100%;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 5vw, 52px) 0 clamp(48px, 8vw, 96px);
  border-bottom: 2px solid var(--line);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .3;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .25) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .25) 72%, transparent 100%);
  pointer-events: none;
}

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

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

.page-home .home-hero__context {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-home .home-hero__title {
  margin: 8px 0 0;
  max-width: 18ch;
  color: var(--ink);
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--ink);
  opacity: .82;
}

/* ---------- 非对称四宫格 ---------- */
.page-home .hexa {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 52px);
}

.page-home .hexa__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  padding: 22px 20px 20px;
  background: var(--mid);
  border: 2px solid var(--line);
  box-shadow: var(--home-shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.page-home .hexa__cell:hover,
.page-home .hexa__cell:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: var(--mid);
  box-shadow: var(--home-shadow-hover);
}

.page-home .hexa__cell:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .hexa__num {
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .18s var(--ease);
}

.page-home .hexa__title {
  display: block;
  font-size: clamp(19px, 4.6vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .hexa__text {
  display: block;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hexa__go {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .hexa__cell:hover .hexa__go,
.page-home .hexa__cell:focus-visible .hexa__go {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-home .hexa__cell--01:hover .hexa__num,
.page-home .hexa__cell--01:focus-visible .hexa__num { color: var(--cyan); }

.page-home .hexa__cell--02:hover .hexa__num,
.page-home .hexa__cell--02:focus-visible .hexa__num { color: var(--info); }

.page-home .hexa__cell--03:hover .hexa__num,
.page-home .hexa__cell--03:focus-visible .hexa__num { color: var(--magenta); }

.page-home .hexa__cell--04:hover .hexa__num,
.page-home .hexa__cell--04:focus-visible .hexa__num { color: var(--amber); }

/* 切角门牌细节 */
.page-home .hexa__cell::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border-left: 2px solid var(--line);
  border-top: 2px solid var(--line);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  transition: border-color .18s var(--ease);
}

.page-home .hexa__cell:hover::after,
.page-home .hexa__cell:focus-visible::after {
  border-color: var(--cyan);
}

@media (min-width: 841px) {
  .page-home .hexa {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .page-home .hexa__cell--01 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    margin-left: -14px;
    min-height: 320px;
    padding: 30px 28px 26px;
    justify-content: flex-start;
  }

  .page-home .hexa__cell--02 {
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  .page-home .hexa__cell--03 {
    grid-column: 8 / span 2;
    grid-row: 2;
  }

  .page-home .hexa__cell--04 {
    grid-column: 10 / span 3;
    grid-row: 2;
  }

  .page-home .hexa__cell--01 .hexa__text {
    max-width: 42ch;
    font-size: 16px;
  }
}

/* ---------- 一局时长 ---------- */
.page-home .pace {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-home .pace__body .prose + .prose {
  margin-top: 14px;
}

.page-home .pace__points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-home .pace__points li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}

.page-home .pace__k {
  flex: 0 0 auto;
  width: 2.4em;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .pace__v {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

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

@media (min-width: 841px) {
  .page-home .pace {
    grid-template-columns: 1.12fr .88fr;
  }
}

/* ---------- 六类房间 ---------- */
.page-home .rooms {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

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

.page-home .rooms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-home .rooms__item {
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 4px 14px;
  align-items: baseline;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .18s var(--ease), background-color .18s var(--ease);
}

.page-home .rooms__item:hover {
  padding-left: 12px;
  background: rgba(53, 230, 210, .06);
}

.page-home .rooms__code {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .rooms__item:nth-child(1) .rooms__code { color: var(--cyan); }
.page-home .rooms__item:nth-child(2) .rooms__code { color: var(--info); }
.page-home .rooms__item:nth-child(3) .rooms__code { color: var(--amber); }
.page-home .rooms__item:nth-child(4) .rooms__code { color: var(--magenta); }
.page-home .rooms__item:nth-child(5) .rooms__code { color: var(--cyan); }
.page-home .rooms__item:nth-child(6) .rooms__code { color: var(--amber); }

.page-home .rooms__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .rooms__desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .rooms__note {
  margin: 22px 0 0;
  padding: 14px 16px;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 3px solid var(--amber);
  background: rgba(255, 194, 75, .07);
}

@media (min-width: 841px) {
  .page-home .rooms {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }
}

/* ---------- 新手三步 ---------- */
.page-home .home-steps__list {
  margin: 0;
  padding: 0;
}

.page-home .home-steps__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
}

.page-home .home-steps__list li p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-steps__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.page-home .home-steps__hint {
  margin: 0;
  flex: 1 1 320px;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 段位区间 ---------- */
.page-home .home-tiers__lede {
  max-width: 60ch;
}

.page-home .tiers__bar {
  margin-top: 26px;
  padding: 8px;
  border: 2px solid var(--line);
  background: rgba(5, 7, 15, .55);
}

.page-home .tiers__bar svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .tiers__bar text {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

.page-home .tiers__labels {
  display: flex;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  gap: 6px;
}

.page-home .tiers__labels li {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 2px;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.page-home .tiers__labels li:hover,
.page-home .tiers__labels:focus-within li:focus {
  color: var(--ink);
  border-color: var(--cyan);
  background: rgba(53, 230, 210, .1);
}

.page-home .tiers__media {
  margin: 26px 0 0;
  aspect-ratio: 2 / 1;
}

.page-home .home-tiers__cta {
  margin-top: 24px;
}

/* ---------- 赛季与更新 ---------- */
.page-home .home-season__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

.page-home .home-season__stats .stat {
  padding: 18px 16px;
  background: var(--bg-deep);
}

.page-home .home-season__stats .stat__num {
  display: block;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-season__stats .stat:nth-child(2) .stat__num { color: var(--info); }
.page-home .home-season__stats .stat:nth-child(3) .stat__num { color: var(--amber); }
.page-home .home-season__stats .stat:nth-child(4) .stat__num { color: var(--magenta); }

.page-home .home-season__stats .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .home-season__row {
  margin-top: 26px;
  max-width: 66ch;
}

.page-home .home-season__row .prose + .prose {
  margin-top: 14px;
}

.page-home .home-season__cta {
  margin-top: 26px;
}

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

/* ---------- 收束 ---------- */
.page-home .home-next {
  border-top: 2px solid var(--line);
}

.page-home .home-next__lede {
  max-width: 62ch;
}

.page-home .home-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-next__fold {
  margin-top: 26px;
  max-width: 62ch;
  border: 2px solid var(--line);
  background: rgba(5, 7, 15, .6);
}

@media (max-width: 520px) {
  .page-home .home-steps__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .tiers__labels li {
    font-size: 11px;
    padding: 6px 0;
  }
}
<<<END>>>
