:root {
  color-scheme: light;
  --ink: #14213d;
  --ink-soft: #506078;
  --paper: #fbfcfe;
  --canvas: #e9eff7;
  --line: #d5dce8;
  --blue: #2455d6;
  --blue-dark: #172d69;
  --yellow: #f5c451;
  --white: #ffffff;
  font-family:
    "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background-color: var(--canvas);
  background-image:
    linear-gradient(rgba(20, 33, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 61, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.migration-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.notice-card {
  width: min(1120px, 100%);
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 6px 28px 6px 6px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(23, 45, 105, 0.14);
  animation: card-arrival 600ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.status-strip {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(20px, 4vw, 44px);
  color: var(--ink);
  background: var(--yellow);
  font-size: 14px;
}

.status-strip strong {
  letter-spacing: 0.02em;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
  border-right: 1px solid rgba(20, 33, 61, 0.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.status-label i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.12);
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(36px, 6vw, 76px);
  padding: clamp(42px, 7vw, 84px) clamp(28px, 7vw, 82px) clamp(40px, 5vw, 62px);
}

.notice-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 span {
  position: relative;
  z-index: 0;
  color: var(--blue);
}

h1 span::after {
  position: absolute;
  z-index: -1;
  right: -3px;
  bottom: 5px;
  left: -3px;
  height: 12px;
  background: var(--yellow);
  content: "";
  transform: rotate(-1.5deg);
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.85;
}

.primary-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 20px 0 24px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.primary-action svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-action:hover {
  color: var(--blue);
  background: transparent;
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.route-stop:focus-visible,
.wechat-copy button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.action-hint {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.action-hint strong {
  color: var(--ink);
  font-weight: 750;
}

.route-board {
  position: relative;
  align-self: stretch;
  min-height: 350px;
  overflow: hidden;
  padding: 28px;
  border-radius: 4px 22px 4px 4px;
  color: var(--white);
  background: var(--blue-dark);
}

.route-board::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.route-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.route-title small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.route-list {
  position: relative;
  z-index: 1;
  padding: 36px 4px 28px;
}

.route-stop {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.route-stop small,
.route-stop strong {
  display: block;
}

.route-stop small {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.route-stop strong {
  font-size: 18px;
}

.route-dot {
  display: block;
  width: 18px;
  height: 18px;
  border: 4px solid var(--blue-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.old-stop {
  opacity: 0.66;
}

.old-stop strong {
  text-decoration: line-through;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

.route-line {
  width: 2px;
  height: 54px;
  margin-left: 11px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.route-line span {
  display: block;
  width: 100%;
  height: 48%;
  background: var(--yellow);
  animation: route-flow 1.7s ease-in-out infinite;
}

.new-stop {
  margin: 0 -12px;
  padding: 15px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.new-stop:hover {
  background: rgba(255, 255, 255, 0.16);
}

.new-stop .route-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow), 0 0 0 7px rgba(245, 196, 81, 0.15);
}

.new-stop small {
  color: var(--yellow);
}

.new-stop strong {
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2vw, 25px);
}

.new-stop svg {
  width: 23px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.route-note {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 24px;
  left: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.points-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 0 clamp(28px, 7vw, 82px);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #e6ecff;
}

.support-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-copy h2 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.3;
}

.support-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.wechat-copy {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px 14px;
  align-items: center;
  min-width: 254px;
  padding: 10px 11px 10px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.wechat-copy > span:first-child {
  color: var(--ink-soft);
  font-size: 11px;
}

.wechat-copy code {
  grid-column: 1;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
  font-weight: 800;
}

.wechat-copy button {
  grid-row: 1 / 3;
  grid-column: 2;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 180ms ease;
}

.wechat-copy button:hover,
.wechat-copy button.is-copied {
  background: var(--blue);
}

.notice-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(28px, 7vw, 82px) 22px;
  color: #78869c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes card-arrival {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes route-flow {
  from {
    transform: translateY(-110%);
  }

  to {
    transform: translateY(230%);
  }
}

@media (max-width: 860px) {
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .route-board {
    min-height: 330px;
  }

  .points-support {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wechat-copy {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .migration-shell {
    display: block;
    padding: 0;
  }

  .notice-card {
    min-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .status-strip {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 20px;
  }

  .status-label {
    padding-right: 10px;
    white-space: nowrap;
  }

  .notice-layout {
    gap: 34px;
    padding: 42px 20px 36px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .lead {
    line-height: 1.72;
  }

  .primary-action {
    display: flex;
    width: 100%;
  }

  .route-board {
    min-height: 340px;
    margin: 0 -2px;
    padding: 24px 22px;
    border-radius: 4px 18px 4px 4px;
  }

  .route-note {
    right: 22px;
    left: 22px;
  }

  .points-support {
    gap: 14px;
    margin: 0 20px;
    padding: 24px 0;
  }

  .support-icon {
    width: 42px;
    height: 42px;
  }

  .support-copy h2 {
    font-size: 17px;
  }

  .wechat-copy {
    min-width: 0;
  }

  .notice-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
