.page-home {
  --home-card-bg: rgba(11, 36, 56, 0.72);
  --home-rule: 1px solid rgba(46, 74, 95, 0.75);
  display: block;
  overflow-x: clip;
  color: var(--foam);
  background:
    radial-gradient(900px 540px at 88% 0%, rgba(26, 43, 76, 0.8), transparent 62%),
    radial-gradient(760px 460px at 2% 30%, rgba(11, 36, 56, 0.9), transparent 70%),
    var(--ink);
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-topbar {
  padding-top: 1.4rem;
}

.page-home .home-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.page-home .home-topbar__batch {
  color: var(--celadon);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---------- 舷窗首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: 1.75rem 0 clamp(2.5rem, 6vw, 4.75rem);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 82%;
  z-index: -1;
  background: linear-gradient(112deg, var(--harbor) 0%, rgba(11, 36, 56, 0.58) 46%, rgba(11, 36, 56, 0) 78%);
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 100%);
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.page-home .hero__title {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-4);
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--celadon);
  text-decoration: underline;
  text-decoration-color: rgba(127, 183, 163, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
}

.page-home .hero__lede {
  max-width: 42ch;
  margin: 1.25rem 0 0;
  font-size: var(--step-1);
  line-height: 1.82;
  color: var(--foam-dim);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.page-home .hero__window {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}

.page-home .window {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--steel);
  background: var(--night);
  box-shadow: var(--shadow-soft), 0 0 0 12px rgba(11, 36, 56, 0.5);
}

.page-home .window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
  transition: transform 0.9s var(--ease-out);
}

.page-home .window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 70px 22px rgba(6, 24, 38, 0.78),
    inset 0 0 0 1px rgba(255, 200, 87, 0.35);
  transition: box-shadow 0.5s var(--ease-out);
}

.page-home .window:hover::after {
  box-shadow: inset 0 0 60px 16px rgba(6, 24, 38, 0.66),
    inset 0 0 0 2px rgba(255, 200, 87, 0.7);
}

.page-home .window:hover img {
  transform: scale(1.045);
}

.page-home .countdown {
  width: min(100%, 430px);
  padding: 1rem 1.2rem 1.15rem;
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
  background: var(--home-card-bg);
  box-shadow: var(--shadow-hard);
}

.page-home .countdown__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-home .countdown__digits {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-home .countdown__digits span {
  animation: homePulse 2.8s ease-in-out infinite;
}

.page-home .countdown__digits span:nth-child(3) {
  animation-delay: 0.25s;
}

.page-home .countdown__digits span:nth-child(5) {
  animation-delay: 0.5s;
}

.page-home .countdown__digits i {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .countdown__note {
  margin: 0.6rem 0 0;
  color: var(--mist);
  letter-spacing: 0.08em;
}

@keyframes homePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ---------- 船期看板 ---------- */
.page-home .tide-section {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(46, 74, 95, 0.55);
}

.page-home .tide-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .tide-section__title {
  margin: 0.55rem 0 0;
}

.page-home .tide-section__text {
  margin: 0.9rem 0 0;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--foam-dim);
}

.page-home .tide-section__frame {
  margin: 1.35rem 0 0;
  border: 3px solid var(--steel);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-home .tide-section__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .tide-section__cap {
  display: block;
  padding: 0.6rem 0.85rem 0.7rem;
  background: rgba(6, 24, 38, 0.92);
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.page-home .tide-board {
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--harbor);
  box-shadow: var(--shadow-soft);
}

.page-home .tide-board__head {
  display: none;
}

.page-home .tide-row {
  display: grid;
  gap: 0.35rem 0.9rem;
  padding: 0.9rem 1rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "code tag"
    "meta meta"
    "note note";
  transition: background 0.35s var(--ease-out);
}

.page-home .tide-row + .tide-row {
  border-top: 1px solid rgba(46, 74, 95, 0.6);
}

.page-home .tide-row:nth-child(even) {
  background: rgba(6, 24, 38, 0.4);
}

.page-home .tide-row:hover {
  background: rgba(26, 43, 76, 0.82);
}

.page-home .tide-row__code {
  grid-area: code;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  color: var(--foam);
}

.page-home .tide-row__meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--foam-dim);
}

.page-home .tide-row__tag {
  grid-area: tag;
  justify-self: end;
  align-self: center;
}

.page-home .tide-row__note {
  grid-area: note;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--mist);
  opacity: 0.82;
  transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.page-home .tide-row:hover .tide-row__note {
  opacity: 1;
  color: var(--celadon);
}

.page-home .tide-section__foot {
  margin: 1.15rem 0 0;
  font-size: 0.76rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .tide-section__more {
  margin-top: 1.35rem;
}

/* ---------- 会员权益票根 ---------- */
.page-home .perks {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  background: linear-gradient(
    180deg,
    rgba(11, 36, 56, 0) 0%,
    rgba(11, 36, 56, 0.78) 22%,
    rgba(11, 36, 56, 0.78) 78%,
    rgba(11, 36, 56, 0) 100%
  );
}

.page-home .perks__title {
  margin: 0.55rem 0 0;
  max-width: 22ch;
}

.page-home .perks__lede {
  margin-top: 0.9rem;
}

.page-home .perks__visual {
  margin: 1.75rem 0 0;
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.page-home .perks__visual figcaption {
  padding: 0.6rem 0.95rem 0.7rem;
  background: rgba(6, 24, 38, 0.94);
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.page-home .perks__deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.page-home .ticket {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.2rem 1.1rem 1.3rem;
  background: var(--foam);
  color: var(--ink);
  border: 2px solid var(--ink-deep);
  border-radius: var(--radius-soft);
  box-shadow: 6px 6px 0 0 rgba(217, 164, 65, 0.26);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.page-home .ticket:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 0 rgba(217, 164, 65, 0.32);
}

.page-home .ticket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(6, 24, 38, 0.35);
}

.page-home .ticket__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--ink);
}

.page-home .ticket__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--harbor);
}

.page-home .ticket p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: #22384a;
}

.page-home .ticket__foot {
  margin-top: auto;
  padding-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--harbor);
}

.page-home .perks__cta {
  margin-top: 1.6rem;
}

/* ---------- 安装配置 ---------- */
.page-home .install {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 5.5rem) 0;
}

.page-home .install__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
}

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

.page-home .install__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    rgba(6, 24, 38, 0.62) 34%,
    rgba(4, 18, 29, 0.95) 100%
  );
}

.page-home .install__title {
  margin: 0.55rem 0 0;
  max-width: 24ch;
}

.page-home .install__lede {
  margin: 0.95rem 0 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--foam-dim);
}

.page-home .install__steps {
  list-style: none;
  counter-reset: home-step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.page-home .install__steps li {
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid rgba(46, 74, 95, 0.95);
  border-radius: var(--radius-soft);
  background: rgba(11, 36, 56, 0.76);
}

.page-home .install__steps li::before {
  counter-increment: home-step;
  content: "0" counter(home-step);
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--celadon);
}

.page-home .install__steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--foam);
}

.page-home .install__steps p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--foam-dim);
}

.page-home .spec-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.7rem 0 0;
  padding: 1.15rem 1.2rem;
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
  background: rgba(4, 18, 29, 0.82);
}

.page-home .spec-strip__item dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .spec-strip__item dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--step-1);
  color: var(--foam);
}

.page-home .install__cta {
  margin-top: 1.6rem;
}

/* ---------- 版本航线 ---------- */
.page-home .routes {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.page-home .routes__title {
  margin: 0.55rem 0 0;
  max-width: 24ch;
}

.page-home .routes__lede {
  margin-top: 0.9rem;
}

.page-home .routes__rail {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.4rem 0.15rem 1.35rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .routes__rail:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 4px;
}

.page-home .route-node {
  flex: 0 0 min(74vw, 245px);
  scroll-snap-align: start;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid rgba(46, 74, 95, 0.85);
  border-top: 3px solid var(--celadon);
  border-radius: var(--radius-soft);
  background: var(--home-card-bg);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.page-home .route-node:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 183, 163, 0.9);
}

.page-home .route-node--live {
  border-top-color: var(--gold);
}

.page-home .route-node--next {
  border-top-color: var(--coral);
}

.page-home .route-node__ver {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--celadon);
}

.page-home .route-node h3 {
  margin: 0.5rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--foam);
}

.page-home .route-node p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--foam-dim);
}

.page-home .review-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(46, 74, 95, 0.85);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-soft);
  background: var(--home-card-bg);
}

.page-home .review-note p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--foam-dim);
}

/* ---------- 双地域 ---------- */
.page-home .regions {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.page-home .regions__title {
  margin: 0.55rem 0 0;
  max-width: 26ch;
}

.page-home .regions__lede {
  margin-top: 0.9rem;
  max-width: 56ch;
}

.page-home .regions__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.page-home .region {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
}

.page-home .region--macau {
  background: linear-gradient(
    158deg,
    rgba(217, 164, 65, 0.32) 0%,
    rgba(242, 107, 74, 0.18) 52%,
    var(--harbor) 100%
  );
}

.page-home .region--qinghai {
  background: linear-gradient(
    158deg,
    rgba(26, 43, 76, 0.96) 0%,
    rgba(127, 183, 163, 0.17) 68%,
    var(--ink) 100%
  );
}

.page-home .region__tag {
  margin: 0;
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.page-home .region h3 {
  margin: 0.55rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--foam);
}

.page-home .region p {
  margin: 0;
  max-width: 40ch;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--foam-dim);
}

.page-home .regions__cta {
  margin-top: 1.6rem;
}

/* ---------- 收束 ---------- */
.page-home .outro {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid rgba(46, 74, 95, 0.55);
}

.page-home .outro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

.page-home .outro__title {
  margin: 0.55rem 0 0;
  max-width: 26ch;
}

.page-home .outro__text {
  margin: 0.9rem 0 0;
  max-width: 48ch;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--foam-dim);
}

.page-home .outro__contact {
  margin: 0.75rem 0 0;
  color: var(--gold);
  letter-spacing: 0.06em;
  word-break: break-word;
}

.page-home .outro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 中等屏幕 ---------- */
@media (min-width: 700px) {
  .page-home .perks__deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
  }

  .page-home .hero__window {
    justify-items: end;
  }

  .page-home .tide-section__grid {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }

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

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

  .page-home .outro__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .outro__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 760px) {
  .page-home .tide-board__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 0.9rem;
    padding: 0.8rem 1.25rem;
    background: rgba(6, 24, 38, 0.94);
    border-bottom: 1px solid rgba(46, 74, 95, 0.9);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--mist);
  }

  .page-home .tide-board__head span:last-child {
    justify-self: end;
  }

  .page-home .tide-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    grid-template-areas:
      "code meta tag"
      "note note note";
    align-items: center;
    padding: 1rem 1.25rem 1.05rem;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .countdown__digits span {
    animation: none;
  }

  .page-home .window img,
  .page-home .window::after,
  .page-home .ticket,
  .page-home .route-node,
  .page-home .tide-row,
  .page-home .tide-row__note {
    transition: none;
  }

  .page-home .window:hover img {
    transform: none;
  }

  .page-home .ticket:hover,
  .page-home .route-node:hover {
    transform: none;
  }
}
<<<END>>>
