.page-home {
  --home-line: rgba(11, 38, 32, 0.16);
  --home-line-soft: rgba(11, 38, 32, 0.08);
  --home-dark-line: rgba(216, 210, 196, 0.2);
  --home-pad: clamp(46px, 7vw, 80px);
  background: var(--porcelain);
  color: var(--black);
}

.page-home .container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 30px);
}

/* ---------- 首屏 ---------- */

.page-home .hero-cut {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
  padding-block: calc(var(--header-h) + 26px) clamp(34px, 6vw, 56px);
  border-bottom: 6px solid var(--ink-deep);
}

.page-home .hero-cut::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -10%;
  width: 86%;
  height: 78%;
  background: linear-gradient(150deg, rgba(216, 168, 78, 0.24), rgba(216, 168, 78, 0) 66%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero-cut-inner {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: start;
}

.page-home .hero-cut .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
}

.page-home .hero-cut .breadcrumb-link {
  color: var(--text-dim);
  text-decoration: none;
}

.page-home .hero-cut .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(216, 210, 196, 0.4);
}

.page-home .hero-cut .breadcrumb-item[aria-current="page"] .breadcrumb-link {
  color: var(--amber);
}

.page-home .hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 6.2vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--porcelain);
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--amber);
}

.page-home .hero-lede {
  max-width: 30em;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-amber);
  list-style: none;
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .hero-facts .mono {
  color: var(--amber-light);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--line-amber);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.page-home .hero-board {
  position: relative;
  z-index: 2;
  margin: -52px 10px 0;
  padding: 18px;
  background: rgba(7, 26, 22, 0.94);
  border: 2px solid var(--line-amber-strong);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .hero-board-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-amber);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}

.page-home .board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line-amber);
}

.page-home .board-cell {
  padding: 11px 12px;
  background: rgba(11, 38, 32, 0.98);
}

.page-home .board-cell dt {
  margin: 0 0 5px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.page-home .board-cell dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(15px, 3.4vw, 18px);
  color: var(--amber-light);
  line-height: 1.3;
}

.page-home .board-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 状态速览带 ---------- */

.page-home .status-band {
  background: var(--ink-deep);
  color: var(--porcelain);
}

.page-home .status-band .desk-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-amber);
  border-block: 1px solid var(--line-amber);
}

.page-home .status-band .desk-strip-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 16px;
  background: var(--ink-deep);
}

.page-home .status-band .desk-strip-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-home .status-band .desk-strip-value {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--amber-light);
  line-height: 1.3;
}

/* ---------- 通用区块 ---------- */

.page-home .home-block {
  padding-block: var(--home-pad);
}

.page-home .home-block--dark {
  background: var(--ink);
  color: var(--porcelain);
}

.page-home .block-head {
  max-width: 58ch;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-home .block-title {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 36px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.page-home .block-lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(16, 21, 18, 0.72);
}

.page-home .home-block--dark .block-lede {
  color: var(--text-dim);
}

/* ---------- 房间列表 ---------- */

.page-home .rooms-visual {
  margin: 0 0 22px;
}

.page-home .rooms-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 94% 100%, 0 100%);
}

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

.page-home .room-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--porcelain);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .room-row:hover {
  transform: translate(-2px, -2px);
  border-color: var(--amber);
  box-shadow: var(--shadow-hard);
}

.page-home .room-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.page-home .room-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(16, 21, 18, 0.7);
}

.page-home .room-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(16, 21, 18, 0.62);
}

/* ---------- 段位 ---------- */

.page-home .rank-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.page-home .rank-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px;
  background: rgba(216, 168, 78, var(--fill, 0.1));
  border: 1px solid var(--line-amber);
  border-bottom: 3px solid var(--amber);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .rank-step:hover {
  border-color: var(--amber-light);
  background: rgba(216, 168, 78, 0.3);
}

.page-home .rank-step:nth-child(1) { --fill: 0.05; }
.page-home .rank-step:nth-child(2) { --fill: 0.09; }
.page-home .rank-step:nth-child(3) { --fill: 0.13; }
.page-home .rank-step:nth-child(4) { --fill: 0.17; }
.page-home .rank-step:nth-child(5) { --fill: 0.21; }
.page-home .rank-step:nth-child(6) { --fill: 0.26; }
.page-home .rank-step:nth-child(7) { --fill: 0.31; }
.page-home .rank-step:nth-child(8) { --fill: 0.36; }
.page-home .rank-step:nth-child(9) { --fill: 0.42; }

.page-home .rank-index {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.page-home .rank-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--porcelain);
}

.page-home .rank-step::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  width: max-content;
  max-width: 210px;
  padding: 8px 10px;
  background: var(--ink-deep);
  color: var(--porcelain);
  border: 1px solid var(--amber);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
  z-index: 6;
  display: none;
}

.page-home .rank-body {
  gap: 28px;
}

.page-home .sub-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-home .game-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-dark-line);
}

.page-home .game-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--home-dark-line);
}

.page-home .game-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--porcelain);
}

.page-home .game-gate {
  font-size: 13px;
  color: var(--amber-light);
}

.page-home .rank-note {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .rank-visual {
  margin: 0;
}

.page-home .rank-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 2px solid var(--line-amber);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

/* ---------- 下载 ---------- */

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

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

.page-home .dl-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--porcelain);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-home .dl-card:hover {
  border-color: var(--amber);
  transform: translate(-2px, -2px);
}

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

.page-home .dl-name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.page-home .dl-version {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}

.page-home .dl-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.page-home .dl-meta dt {
  margin: 0 0 4px;
  font-size: 11.5px;
  color: rgba(16, 21, 18, 0.55);
}

.page-home .dl-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.page-home .dl-card .copy-btn {
  justify-self: start;
}

.page-home .dl-visual {
  margin: 0;
}

.page-home .dl-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.page-home .dl-foot {
  margin: 24px 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: rgba(216, 168, 78, 0.1);
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(16, 21, 18, 0.78);
}

/* ---------- 帮助文档 ---------- */

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

.page-home .help-card {
  display: block;
  padding: 20px;
  background: var(--porcelain);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .help-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--amber);
  box-shadow: var(--shadow-hard);
}

.page-home .help-index {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
}

.page-home .help-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-home .help-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(16, 21, 18, 0.7);
}

.page-home .help-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.page-home .help-qa {
  margin-top: 28px;
  border-top: 2px solid var(--ink);
}

.page-home .help-qa details {
  border-bottom: 1px solid var(--home-line);
}

.page-home .help-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.page-home .help-qa summary::-webkit-details-marker {
  display: none;
}

.page-home .help-qa summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--amber);
}

.page-home .help-qa details[open] summary::after {
  content: "−";
}

.page-home .help-qa p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(16, 21, 18, 0.72);
}

/* ---------- 运营与支持 ---------- */

.page-home .support-layout {
  display: grid;
  gap: 28px;
}

.page-home .support-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .support-facts li {
  position: relative;
  padding-left: 16px;
}

.page-home .support-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

.page-home .support-facts .mono {
  color: var(--amber-light);
}

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

.page-home .support-card {
  padding: 20px;
  background: rgba(7, 26, 22, 0.72);
  border: 2px solid var(--line-amber-strong);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .support-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--porcelain);
}

.page-home .support-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.page-home .support-card dt {
  margin: 0 0 4px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.page-home .support-card dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--porcelain);
  word-break: break-word;
}

.page-home .support-card p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .support-card .support-icp {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-amber);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.page-home .support-card .copy-btn {
  margin-bottom: 14px;
}

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

@media (min-width: 720px) {
  .page-home .rank-ladder {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 6px;
  }

  .page-home .rank-step::after {
    display: block;
  }

  .page-home .rank-step:hover::after,
  .page-home .rank-step:focus-within::after {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .page-home .rooms-visual img {
    aspect-ratio: 3 / 1;
  }

  .page-home .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .room-meta {
    justify-content: flex-end;
    text-align: right;
  }

  .page-home .status-band .desk-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero-cut-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .hero-lede {
    font-size: 17px;
  }

  .page-home .downloads-layout {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .support-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
  }
}
<<<END>>>
