/* ============================================================
   首页 · page-home
   ============================================================ */

.page-home {
  --home-sec: clamp(48px, 8vw, 96px);
  --home-glow: rgba(200, 162, 74, 0.16);
  display: block;
  background: var(--felt);
  color: var(--pale);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
}

/* ---------- 面包屑 ---------- */

.page-home .crumbs {
  padding: clamp(16px, 3vw, 26px) 0 0;
}

.page-home .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.page-home .crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .crumbs li + li::before {
  content: "/";
  color: var(--slate);
}

.page-home .crumbs a {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .crumbs a:hover,
.page-home .crumbs a:focus-visible {
  color: var(--amber);
}

.page-home .crumbs [aria-current="page"] {
  color: var(--goldsoft);
}

/* ---------- 通用章节节奏 ---------- */

.page-home .home-section {
  position: relative;
  padding: var(--home-sec) 0;
}

/* ============================================================
   01 首屏
   ============================================================ */

.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(110% 88% at 88% 2%, var(--home-glow), transparent 56%),
    linear-gradient(180deg, var(--felt) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 52px);
  padding-top: clamp(30px, 5vw, 58px);
  padding-bottom: clamp(30px, 5vw, 52px);
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

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

@media (min-width: 960px) {
  .page-home .home-hero__lead {
    padding-left: clamp(20px, 3vw, 42px);
  }

  .page-home .home-hero__lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(200, 162, 74, 0));
  }
}

.page-home .home-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--pale);
}

.page-home .home-hero__dek {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(242, 246, 243, 0.82);
}

/* 三格关键数字 */

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--sage);
}

.page-home .home-hero__facts .mono {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

@media (min-width: 560px) {
  .page-home .home-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    border-top: 0;
  }

  .page-home .home-hero__facts li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0 0;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
}

/* 索引胶囊 */

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

.page-home .home-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-index a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible {
  color: var(--pale);
  border-color: var(--amber);
  background: rgba(200, 162, 74, 0.12);
}

/* ---------- 查询台 ---------- */

.page-home .qconsole {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--felt2);
  box-shadow: var(--shadow);
}

.page-home .qconsole__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .qconsole::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10, 39, 35, 0.76), rgba(4, 21, 18, 0.9));
  pointer-events: none;
}

.page-home .qconsole__inner {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3.2vw, 32px);
}

.page-home .qconsole__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .qconsole__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pale);
}

.page-home .qconsole__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .qconsole__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 20px;
}

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

.page-home .qfield {
  display: block;
}

.page-home .qfield__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-home .qfield__input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: rgba(4, 21, 18, 0.62);
  color: var(--pale);
  font-family: var(--font-mono);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .qfield__input::placeholder {
  color: rgba(143, 169, 155, 0.72);
}

.page-home .qfield__input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 184, 92, 0.18);
}

@media (min-width: 620px) {
  .page-home .qfield__input {
    font-size: 14px;
  }
}

.page-home .qconsole__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.page-home .qconsole__hint {
  font-size: 13px;
  color: var(--sage);
}

/* ---------- 公告条 ---------- */

.page-home .home-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.16), rgba(30, 74, 66, 0.3));
}

.page-home .home-notice__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 246, 243, 0.86);
}

.page-home .home-notice__text strong {
  color: var(--gold);
  font-weight: 700;
  margin-right: 6px;
}

.page-home .home-notice__link {
  align-self: center;
  color: var(--amber);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 92, 0.5);
  white-space: nowrap;
}

.page-home .home-notice__link:hover,
.page-home .home-notice__link:focus-visible {
  color: var(--pale);
}

/* ---------- 信任条 ---------- */

.page-home .home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--sage);
}

.page-home .home-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.page-home .home-hero__trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
}

.page-home .home-hero__trust a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 92, 0.45);
}

.page-home .home-hero__trust a:hover,
.page-home .home-hero__trust a:focus-visible {
  color: var(--pale);
}

/* ============================================================
   02 段位与牌型
   ============================================================ */

.page-home .home-rank {
  background:
    radial-gradient(80% 62% at 100% 0%, rgba(30, 74, 66, 0.6), transparent 62%),
    var(--felt);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-rank__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 38px);
  margin-top: clamp(26px, 4vw, 44px);
}

@media (min-width: 960px) {
  .page-home .home-rank__split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    align-items: start;
  }
}

.page-home .home-rank__ruler {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.page-home .home-rank__media {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

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

.page-home .home-stat {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(16, 56, 47, 0.72), rgba(8, 32, 28, 0.58));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-stat:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.page-home .home-stat__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--pale);
}

.page-home .home-stat__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
}

/* ============================================================
   03 房间分类
   ============================================================ */

.page-home .home-rooms {
  background: linear-gradient(180deg, var(--ink) 0%, var(--felt) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .roomswitch {
  position: relative;
  display: block;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .roomswitch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-home .roomswitch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .roomswitch__tab {
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--sage);
  user-select: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .roomswitch__tab:hover {
  color: var(--pale);
  border-color: var(--amber);
}

.page-home .roomswitch__input:focus-visible + .roomswitch__tabs {
  outline: none;
}

.page-home .roomswitch__input:focus-visible ~ .roomswitch__tabs .roomswitch__tab {
  outline: none;
}

.page-home #rc-classic:focus-visible ~ .roomswitch__tabs label[for="rc-classic"],
.page-home #rc-speed:focus-visible ~ .roomswitch__tabs label[for="rc-speed"],
.page-home #rc-strategy:focus-visible ~ .roomswitch__tabs label[for="rc-strategy"],
.page-home #rc-casual:focus-visible ~ .roomswitch__tabs label[for="rc-casual"] {
  box-shadow: 0 0 0 3px rgba(232, 184, 92, 0.35);
}

.page-home #rc-classic:checked ~ .roomswitch__tabs label[for="rc-classic"],
.page-home #rc-speed:checked ~ .roomswitch__tabs label[for="rc-speed"],
.page-home #rc-strategy:checked ~ .roomswitch__tabs label[for="rc-strategy"],
.page-home #rc-casual:checked ~ .roomswitch__tabs label[for="rc-casual"] {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

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

.page-home #rc-classic:checked ~ .roomswitch__panels #rcp-classic,
.page-home #rc-speed:checked ~ .roomswitch__panels #rcp-speed,
.page-home #rc-strategy:checked ~ .roomswitch__panels #rcp-strategy,
.page-home #rc-casual:checked ~ .roomswitch__panels #rcp-casual {
  display: block;
}

.page-home .rpanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--glass);
}

@media (min-width: 780px) {
  .page-home .rpanel {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
}

.page-home .rpanel__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--pale);
}

.page-home .rpanel__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 246, 243, 0.82);
}

.page-home .rpanel__meta {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line-soft);
}

.page-home .rpanel__meta > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .rpanel__meta dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.page-home .rpanel__meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pale);
}

/* ============================================================
   04 新手练习与赛季
   ============================================================ */

.page-home .home-rookie {
  background: var(--felt2);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-rookie__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .home-rookie__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.page-home .home-rookie__title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.14;
  color: var(--pale);
}

.page-home .home-rookie__text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 246, 243, 0.82);
}

.page-home .home-rookie__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.page-home .home-rookie__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 246, 243, 0.84);
}

.page-home .home-rookie__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

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

.page-home .home-rookie__media {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .home-season {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--wine);
  border-radius: var(--r-m);
  background: rgba(122, 46, 59, 0.12);
}

.page-home .home-season__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 246, 243, 0.82);
}

.page-home .home-season__link {
  color: var(--amber);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 92, 0.5);
  white-space: nowrap;
}

.page-home .home-season__link:hover,
.page-home .home-season__link:focus-visible {
  color: var(--pale);
}

/* ============================================================
   05 复盘路径
   ============================================================ */

.page-home .home-flow {
  background: linear-gradient(180deg, var(--felt) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-flow__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 26px);
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .page-home .home-flow__steps {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-flow__steps::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
  }
}

.page-home .home-flow__step {
  position: relative;
  z-index: 1;
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  background: rgba(16, 56, 47, 0.55);
  transition: border-color 0.25s ease;
}

.page-home .home-flow__step:hover {
  border-color: var(--line);
}

.page-home .home-flow__num {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .home-flow__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  color: var(--pale);
}

.page-home .home-flow__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sage);
}

/* ============================================================
   06 客服支持
   ============================================================ */

.page-home .home-help {
  background: var(--ink);
}

.page-home .home-help__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(26px, 4.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(200, 162, 74, 0.14), transparent 60%),
    rgba(16, 56, 47, 0.52);
}

@media (min-width: 860px) {
  .page-home .home-help__panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }
}

.page-home .home-help__copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.16;
  color: var(--pale);
}

.page-home .home-help__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 246, 243, 0.82);
}

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

.page-home .home-help__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-help__list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-help__key {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--sage);
}

.page-home .home-help__val {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pale);
  word-break: break-word;
}

/* ============================================================
   窄屏兜底
   ============================================================ */

@media (max-width: 400px) {
  .page-home .home-hero__facts .mono {
    font-size: 19px;
  }

  .page-home .home-stat {
    padding: 18px 16px;
  }

  .page-home .rpanel__meta > div,
  .page-home .home-help__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-home .home-help__val {
    font-size: 13px;
  }
}
<<<END>>>
