.page-home{
  --hm-gap: 14px;
  --hm-pad: clamp(18px, 3vw, 30px);
  background: var(--ink-900);
  color: var(--mist);
  overflow-x: hidden;
}

.page-home .section{
  padding-block: clamp(48px, 7vw, 86px);
}
.page-home .section--tight{
  padding-block: clamp(32px, 4.5vw, 54px);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero{
  position: relative;
  padding: calc(var(--header-h) + 26px) 0 clamp(42px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(38, 224, 230, 0.16), transparent 62%),
    radial-gradient(95% 75% at 4% 100%, rgba(255, 138, 61, 0.13), transparent 68%),
    var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.page-home .hm-hero::after{
  content: "";
  position: absolute;
  right: -10%;
  top: 34%;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 224, 230, 0.65), transparent);
  transform: rotate(-13deg);
  pointer-events: none;
}

.page-home .hm-ctx{
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.page-home .hm-ctx-dot{
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  flex: none;
}

.page-home .hm-bento{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
}

.page-home .hm-lead h1{
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--mist);
}
.page-home .hm-lead-sub{
  margin: 16px 0 0;
  max-width: 40ch;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--slate);
}
.page-home .hm-lead-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .hm-hero-media{
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-700);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-home .hm-hero-media img{
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-home .hm-hero-media figcaption{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 14px;
  background: rgba(10, 20, 36, 0.86);
  border-top: 1px solid var(--line-strong);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.page-home .hm-entry{
  position: relative;
  display: block;
  padding: 16px 16px 18px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(158deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.page-home .hm-entry:hover,
.page-home .hm-entry:focus-visible{
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(158deg, var(--ink-600), var(--ink-800));
}
.page-home .hm-entry-no{
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.page-home .hm-entry-title{
  display: block;
  margin: 6px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mist);
}
.page-home .hm-entry-desc{
  display: block;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--slate);
}
.page-home .hm-entry--b{
  border-left-color: var(--amber);
  background: linear-gradient(158deg, rgba(255, 138, 61, 0.16), var(--ink-800) 62%);
}
.page-home .hm-entry--c{
  border-left-color: var(--violet);
}
.page-home .hm-entry--d{
  border-left-color: var(--green);
}

/* ---------- 开服表 ---------- */
.page-home .hm-server-card{
  padding: clamp(20px, 3.4vw, 36px);
  background: linear-gradient(150deg, var(--ink-700), var(--ink-800) 70%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.page-home .hm-server-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.page-home .hm-server-head h2{
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-home .hm-server-sub{
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--slate);
}
.page-home .hm-live{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(56, 217, 150, 0.4);
  background: rgba(56, 217, 150, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
}
.page-home .hm-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(56, 217, 150, 0.22);
}

.page-home .hm-board{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .hm-tab-input{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .hm-server-media{
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  background: var(--ink-900);
}
.page-home .hm-server-media img{
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .hm-switch{
  display: flex;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  background: rgba(10, 20, 36, 0.7);
  border: 1px solid var(--line);
}
.page-home .hm-switch label{
  padding: 7px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.page-home .hm-switch label:hover{
  color: var(--mist);
}
.page-home #hm-today:checked ~ .hm-switch label[for="hm-today"],
.page-home #hm-week:checked ~ .hm-switch label[for="hm-week"]{
  background: var(--cyan);
  color: var(--deep-ink);
}
.page-home #hm-today:focus-visible ~ .hm-switch label[for="hm-today"],
.page-home #hm-week:focus-visible ~ .hm-switch label[for="hm-week"]{
  outline: 2px solid var(--mist);
  outline-offset: 2px;
}

.page-home .hm-pane{
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .hm-pane--week{
  display: none;
}
.page-home #hm-week:checked ~ .hm-pane--week{
  display: grid;
}
.page-home #hm-week:checked ~ .hm-pane--today{
  display: none;
}

.page-home .hm-slot{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(10, 20, 36, 0.55);
  border-left: 2px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.page-home .hm-slot:hover{
  border-left-color: var(--cyan);
  background: rgba(38, 224, 230, 0.07);
}
.page-home .hm-slot-time{
  font-size: 0.76rem;
  color: var(--mist);
  white-space: nowrap;
}
.page-home .hm-slot-region{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.page-home .hm-region-tag{
  flex: none;
  padding: 2px 7px;
  background: rgba(38, 224, 230, 0.14);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.page-home .hm-region-name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--slate);
}
.page-home .hm-status{
  flex: none;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.page-home .hm-status--live{
  color: var(--green);
  background: rgba(56, 217, 150, 0.1);
}
.page-home .hm-status--soon{
  color: var(--amber);
  background: rgba(255, 138, 61, 0.12);
}
.page-home .hm-status--plan{
  color: var(--violet);
  background: rgba(167, 107, 255, 0.12);
}

/* ---------- 换号动线 ---------- */
.page-home .hm-flow{
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}
.page-home .hm-flow-media{
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-bottom: 3px solid var(--amber);
}
.page-home .hm-flow-media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}
.page-home .hm-flow-body h2{
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-home .hm-flow-sub{
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate);
}
.page-home .hm-steps{
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.page-home .hm-step{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.page-home .hm-step:last-child{
  border-bottom: 1px dashed var(--line);
}
.page-home .hm-step-no{
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 138, 61, 0.14);
  color: var(--amber);
  font-size: 0.72rem;
}
.page-home .hm-step h3{
  margin: 4px 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mist);
}
.page-home .hm-step p{
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 攻略与案例 ---------- */
.page-home .hm-sec-head{
  max-width: 56ch;
  margin-bottom: 26px;
}
.page-home .hm-sec-head h2{
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-home .hm-sec-sub{
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .hm-guide-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.page-home .hm-guide{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.page-home .hm-guide:nth-child(2){
  border-top-color: var(--amber);
}
.page-home .hm-guide:nth-child(3){
  border-top-color: var(--violet);
}
.page-home .hm-guide:nth-child(4){
  border-top-color: var(--green);
}
.page-home .hm-guide:hover,
.page-home .hm-guide:focus-visible{
  transform: translateY(-4px);
  background: var(--ink-700);
}
.page-home .hm-guide-tag{
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  font-weight: 700;
}
.page-home .hm-guide-desc{
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .hm-cases{
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(120deg, rgba(38, 224, 230, 0.1), rgba(167, 107, 255, 0.09));
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--violet);
}
.page-home .hm-cases-num{
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}
.page-home .hm-cases-num sup{
  font-size: 0.42em;
  vertical-align: super;
  color: var(--amber);
}
.page-home .hm-cases-text h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--mist);
}
.page-home .hm-cases-text p{
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 配置核对 ---------- */
.page-home .hm-config-panel{
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(22px, 4vw, 46px);
  background: var(--paper);
  color: var(--deep-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.page-home .hm-eyebrow-dark{
  color: rgba(16, 28, 46, 0.62);
}
.page-home .hm-config-body h2{
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--deep-ink);
}
.page-home .hm-config-sub{
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(16, 28, 46, 0.75);
}
.page-home .hm-check{
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}
.page-home .hm-check-item{
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 13px;
  background: rgba(16, 28, 46, 0.045);
  border: 1px solid rgba(16, 28, 46, 0.13);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-home .hm-check-item:hover{
  background: rgba(16, 28, 46, 0.08);
  border-color: rgba(16, 28, 46, 0.28);
}
.page-home .hm-check-input{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.page-home .hm-check-box{
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--deep-ink);
  background: transparent;
}
.page-home .hm-check-input:checked + .hm-check-box{
  background: var(--deep-ink);
}
.page-home .hm-check-input:checked + .hm-check-box::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(40deg);
}
.page-home .hm-check-input:focus-visible + .hm-check-box{
  outline: 2px solid var(--cyan-dim);
  outline-offset: 2px;
}
.page-home .hm-check-body strong{
  display: block;
  font-size: 0.88rem;
  color: var(--deep-ink);
}
.page-home .hm-check-body em{
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(16, 28, 46, 0.66);
}
.page-home .hm-config-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-home .hm-config-media{
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 28, 46, 0.18);
  align-self: start;
}
.page-home .hm-config-media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.page-home .hm-config-media figcaption{
  padding: 8px 12px;
  background: var(--deep-ink);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

/* ---------- 客服 ---------- */
.page-home .hm-help-card{
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3.4vw, 34px);
  background: linear-gradient(115deg, rgba(255, 138, 61, 0.14), var(--ink-800) 58%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-home .hm-help-text h2{
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem);
  line-height: 1.25;
  color: var(--mist);
}
.page-home .hm-help-text p{
  margin: 0;
  max-width: 62ch;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--slate);
}
.page-home .hm-help-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px){
  .page-home .hm-guide-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .hm-cases{
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .page-home .hm-cases .btn{
    justify-self: start;
    grid-column: 2;
  }
}

@media (min-width: 860px){
  .page-home .hm-bento{
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .hm-lead{
    grid-column: 1 / 8;
    grid-row: 1;
    padding-right: 12px;
  }
  .page-home .hm-hero-media{
    grid-column: 8 / 13;
    grid-row: 1 / 4;
  }
  .page-home .hm-hero-media img{
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }
  .page-home .hm-entry{
    display: flex;
    flex-direction: column;
  }
  .page-home .hm-entry--a{ grid-column: 1 / 4; grid-row: 2; }
  .page-home .hm-entry--b{ grid-column: 4 / 8; grid-row: 2; }
  .page-home .hm-entry--c{ grid-column: 1 / 4; grid-row: 3; }
  .page-home .hm-entry--d{ grid-column: 4 / 8; grid-row: 3; }
}

@media (min-width: 900px){
  .page-home .hm-board{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }
  .page-home .hm-server-media{
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    align-self: stretch;
  }
  .page-home .hm-server-media img{
    height: 100%;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .page-home .hm-switch{
    grid-column: 6 / 13;
    grid-row: 1;
    justify-self: start;
  }
  .page-home .hm-pane{
    grid-column: 6 / 13;
    grid-row: 2;
  }

  .page-home .hm-flow{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .page-home .hm-step:nth-child(2){
    margin-left: 22px;
  }
  .page-home .hm-step:nth-child(3){
    margin-left: 44px;
  }

  .page-home .hm-config-panel{
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }

  .page-home .hm-help-card{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1000px){
  .page-home .hm-guide-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .hm-cases{
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .page-home .hm-cases .btn{
    grid-column: auto;
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .hm-entry,
  .page-home .hm-guide,
  .page-home .hm-slot,
  .page-home .hm-check-item{
    transition: none;
  }
  .page-home .hm-entry:hover,
  .page-home .hm-guide:hover{
    transform: none;
  }
}
<<<END>>>
