/* ============================================================
   CHATJL — 中间竖条内容区 · 两侧留黑 · 红金主题
   ============================================================ */

:root {
  --bg-deep: #180000;
  --bg-mid: #300000;
  --surface: #410001;
  --surface-hi: #600000;
  --border-gold: rgba(255, 205, 62, 0.46);
  --border-soft: rgba(255, 241, 83, 0.14);

  --text: #fff8e7;
  --text-2: #f2d7b0;
  --text-3: #c99370;

  --gold-1: #fff153;
  --gold-2: #ffcd3e;
  --gold-3: #ff9500;
  --gold-deep: #7a2d00;
  --wine-glow: rgba(226, 0, 4, 0.34);

  --grad-gold-btn: linear-gradient(180deg, #fff153 0%, #ffcd3e 42%, #ff9500 100%);
  --grad-red-btn: linear-gradient(98deg, #e20004 0.53%, #960002 99.47%);
  --grad-red-bg: linear-gradient(180deg, #4d0200 0%, #a50600 48%, #4d0200 100%);
  --grad-strip-bg:
    radial-gradient(88% 48% at 50% 0%, rgba(255, 241, 83, 0.18), transparent 58%),
    radial-gradient(80% 54% at 100% 26%, rgba(255, 24, 0, 0.16), transparent 54%),
    radial-gradient(72% 48% at 0% 78%, rgba(255, 149, 0, 0.13), transparent 48%);

  --radius: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);

  --good: #16e7df;
  --ok: #ffcd3e;
  --bad: #fe5760;

  /* 中间竖条最大宽度：手机较窄，PC 加宽 */
  --strip-max: min(100%, 460px);
}

@media (min-width: 768px) {
  :root {
    --strip-max: min(100%, 560px);
  }
}

@media (min-width: 1100px) {
  :root {
    --strip-max: min(100%, 680px);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
}

/* 整页两侧：纯黑留白，不铺金底 */
body {
  font-family:
    'Plus Jakarta Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

/* 外侧留黑，仅将中间竖条居中 */
.letterbox {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #000;
}

/* 中间内容竖条：红金氛围底图 + 暗角与光斑叠层（仅在此竖条内） */
.content-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--strip-max);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 14px 14px 88px;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 0, 0, 0.86) 0%,
      rgba(77, 2, 0, 0.7) 30%,
      rgba(140, 0, 0, 0.42) 56%,
      rgba(24, 0, 0, 0.92) 100%
    ),
    radial-gradient(90% 28% at 50% 0%, rgba(255, 205, 62, 0.22), transparent 64%),
    radial-gradient(44% 22% at 86% 42%, rgba(255, 24, 0, 0.28), transparent 70%),
    radial-gradient(52% 28% at 12% 74%, rgba(255, 149, 0, 0.16), transparent 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, transparent 16%, transparent 84%, rgba(0, 0, 0, 0.58) 100%),
    url('images/red-gold-casino-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  box-shadow:
    0 0 0 1px rgba(255, 205, 62, 0.1),
    0 0 72px rgba(226, 0, 4, 0.12);
}

.content-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.72;
  background:
    radial-gradient(100% 55% at 50% 0%, rgba(255, 241, 83, 0.18), transparent 58%),
    radial-gradient(62% 38% at 80% 60%, rgba(255, 24, 0, 0.18), transparent 54%),
    radial-gradient(54% 35% at 15% 70%, rgba(255, 149, 0, 0.12), transparent 60%);
}

.content-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.content-strip > * {
  position: relative;
  z-index: 1;
}

/* ========== 顶栏 ========== */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* padding: 4px 0 12px; */
  padding: 0 0 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  transition: opacity 0.15s ease;
}
.brand:hover {
  opacity: 0.88;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* Premium SERVICE capsule — gold bezel, matte black well, metallic type */
.service-pill {
  display: inline-flex;
  flex-shrink: 0;
  padding: 2px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: linear-gradient(
    148deg,
    #fff153 0%,
    #ffcd3e 20%,
    #ff9500 42%,
    #7a2d00 54%,
    #ffcd3e 70%,
    #a50600 84%,
    #fff153 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 3px 12px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(255, 149, 0, 0.15);
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}
.service-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(255, 205, 62, 0.2);
}
.service-pill:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.service-pill-body {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 6px;
  border-radius: inherit;
  background: linear-gradient(180deg, #300000 0%, #120000 56%, #030000 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -6px 14px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(0, 0, 0, 0.65);
}

.service-pill-icon-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75));
}
.service-pill-headset {
  display: block;
  width: 100%;
  height: 100%;
}

.service-pill-text {
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
  align-items: center;
  line-height: 1.05;
  text-align: left;
}

.service-pill-title {
  font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff7b0 0%, #ffcd3e 42%, #ff9500 74%, #7a2d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(255, 205, 62, 0.34);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .service-pill-title {
    color: transparent;
  }
}

.service-pill-sub {
  margin-top: 2px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 7.5px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--gold-2);
  opacity: 0.92;
}

/* ========== Banner — 细金边画框（低调不抢图） ========== */
.hero-section {
  position: relative;
  margin-bottom: 12px;
  padding: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(148deg, #fff153 0%, #ffcd3e 30%, #7a2d00 52%, #ff9500 72%, #fff153 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 18px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(255, 149, 0, 0.14);
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none;
  z-index: 1;
  box-shadow:
    0 0 16px rgba(255, 205, 62, 0.08) inset,
    0 0 0 1px rgba(0, 0, 0, 0.22) inset;
}
.hero-picture,
.hero-banner {
  position: relative;
  z-index: 0;
  width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 1px);
}
.hero-banner {
  height: auto;
}

/* ========== 广播条 ========== */
.broadcast-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 205, 62, 0.22);
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.26);
}
.broadcast-ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 205, 62, 0.45));
}
.broadcast-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  /* 不用 mask-image：iOS Safari 常与 transform 动画不同步，导致要交互后才滚动 */
}
.broadcast-marquee::before,
.broadcast-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16px;
  z-index: 2;
  pointer-events: none;
}
.broadcast-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgb(0, 0, 0), transparent);
}
.broadcast-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgb(0, 0, 0), transparent);
}

.broadcast-track {
  display: inline-flex;
  width: max-content;
  flex-wrap: nowrap;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: broadcast-marquee 28s linear infinite;
  animation: broadcast-marquee 28s linear infinite;
}
.broadcast-track:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.broadcast-item {
  padding-right: 3rem;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: #e7dede;
  white-space: nowrap;
}

@-webkit-keyframes broadcast-marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes broadcast-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ========== 区块标题 ========== */
.section-block {
  margin-bottom: 20px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.section-head-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.section-trophy {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 9px rgba(255, 205, 62, 0.35));
}
.section-title {
  font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: 0 0 22px rgba(255, 205, 62, 0.28);
  white-space: nowrap;
}

.section-count {
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.32);
  font-variant-numeric: tabular-nums;
}

.section-refresh {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(180deg, rgba(96, 0, 0, 0.92), rgba(24, 0, 0, 0.94));
  color: var(--gold-2);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.section-refresh:hover {
  background: var(--grad-red-btn);
}
.section-refresh svg {
  width: 18px;
  height: 18px;
}
.section-refresh.spinning svg {
  animation: spin-refresh 0.85s linear infinite;
}
.section-refresh:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
@keyframes spin-refresh {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 线路卡片（与 Banner 同系圆角 + 测速） ========== */
.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 8px;
}

.route-card {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-height: 76px;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 205, 62, 0.32);
  background:
    linear-gradient(165deg, rgba(96, 0, 0, 0.94), rgba(24, 0, 0, 0.98)),
    var(--grad-red-bg);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 83, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
  outline: none;
}
.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 205, 62, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 83, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(226, 0, 4, 0.16);
}
.route-card:focus-visible {
  box-shadow: 0 0 0 2px var(--wine-glow);
}

.route-card-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #180000;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}
.route-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.route-card-thumb-fallback {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(145deg, rgba(255, 149, 0, 0.78), rgba(96, 0, 0, 0.95));
}

.route-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
}

.route-card-host {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-card-speed {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 12px;
  color: var(--text-2);
}

.route-card-ms {
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
}
.route-card-ms-unit {
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  margin-left: 1px;
}

.route-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.route-card-chip .route-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good, #4ade80);
  flex-shrink: 0;
}
.route-card-chip[data-q='testing'] .route-chip-dot {
  background: #fff;
  animation: chip-blink 1s steps(2) infinite;
}
.route-card-chip[data-q='slow'] .route-chip-dot {
  background: var(--ok, #fbbf24);
}
.route-card-chip[data-q='offline'] .route-chip-dot {
  background: var(--bad, #f87171);
}
.route-card-chip[data-q='excellent'] .route-chip-dot,
.route-card-chip[data-q='good'] .route-chip-dot {
  background: var(--good, #4ade80);
}
@keyframes chip-blink {
  50% {
    opacity: 0.25;
  }
}

.route-card .visit-btn {
  align-self: center;
  min-height: 40px;
  height: auto;
  padding: 0 16px;
}

.visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 246, 220, 0.35);
  background: var(--grad-gold-btn);
  color: #410001;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease;
}
.visit-btn:hover {
  transform: scale(1.03);
}
.visit-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.85;
}

/* ========== 页脚 ========== */
.site-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}
.footer-brand {
  color: var(--text-2);
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}
.footer-nav a {
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: var(--gold-2);
}

/* ========== 启动页（纯 CSS，低开销：transform + opacity） ========== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.35s ease;
}

.loading-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 38% at 50% 38%, rgba(255, 205, 62, 0.18), transparent 70%),
    radial-gradient(ellipse 70% 46% at 50% 58%, rgba(226, 0, 4, 0.16), transparent 74%);
  opacity: 0.85;
  animation: loading-breathe 4.2s ease-in-out infinite;
}

@keyframes loading-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

.loading-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 32px;
}

.loading-stage {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}

.loading-emblem {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
}

.loading-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 149, 0, 0.16);
  border-top-color: rgba(255, 205, 62, 0.95);
  border-right-color: rgba(255, 149, 0, 0.42);
  box-shadow: 0 0 22px rgba(226, 0, 4, 0.14);
  animation: loading-spin 3.2s linear infinite;
  will-change: transform;
}

.loading-orbit--delay {
  inset: 12px;
  border-color: rgba(255, 149, 0, 0.12);
  border-bottom-color: rgba(255, 205, 62, 0.78);
  border-left-color: rgba(255, 149, 0, 0.34);
  animation-duration: 2.1s;
  animation-direction: reverse;
  opacity: 0.85;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 字标：不要做成可点击按钮的块面，仅用字重与金属渐变字 */
.loading-wordmark {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 4vw, 1.42rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-indent: 0.32em;
  line-height: 1.2;
  background: linear-gradient(185deg, #fff7b0 0%, #ffcd3e 42%, #ff9500 78%, #7a2d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(255, 205, 62, 0.94);
  animation: loading-word-breathe 3.6s ease-in-out infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .loading-wordmark {
    color: transparent;
  }
}

@keyframes loading-word-breathe {
  0%,
  100% {
    opacity: 0.78;
    filter: drop-shadow(0 0 10px rgba(255, 149, 0, 0.26));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(255, 205, 62, 0.34));
  }
}

.loading-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.loading-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  opacity: 0.35;
  animation: loading-dot 1.45s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.22s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.44s;
}

@keyframes loading-dot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
  }
}

.loading-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-overlay.hidden .loading-orbit,
.loading-overlay.hidden .loading-dots span,
.loading-overlay.hidden .loading-wordmark,
.loading-overlay.hidden::before {
  animation: none !important;
}

/* ========== 通知 ========== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  left: 20px;
  max-width: var(--strip-max);
  margin: 0 auto;
  background: var(--surface-hi);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 13.5px;
  z-index: 10000;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .content-strip {
    padding: 6px 12px 80px;
  }
  .brand-logo {
    height: 52px;
  }
  .service-pill-body {
    padding: 4px 10px 4px 5px;
    gap: 6px;
  }
  .service-pill-title {
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .service-pill-sub {
    font-size: 7px;
    letter-spacing: 0.05em;
  }
  .service-pill-icon-wrap {
    width: 20px;
    height: 20px;
  }
  .route-card {
    min-height: 72px;
    padding: 10px 12px 10px 10px;
    gap: 12px;
  }
  .route-card-thumb {
    width: 50px;
    height: 50px;
  }
  .route-card-host {
    font-size: 13px;
  }
  .route-card-ms {
    font-size: 12px;
  }

  .broadcast-item {
    font-size: 11px;
    padding-right: 2.5rem;
  }
  .broadcast-ico {
    width: 22px;
    height: 22px;
  }
  .broadcast-marquee::before,
  .broadcast-marquee::after {
    width: 12px;
  }

  .loading-stage {
    width: 112px;
    height: 112px;
  }
  .loading-wordmark {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    letter-spacing: 0.26em;
    text-indent: 0.26em;
  }
  .loading-content {
    gap: 12px;
    padding: 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .broadcast-track {
    -webkit-animation: none !important;
    animation: none !important;
    white-space: normal;
    flex-wrap: wrap;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .loading-overlay::before {
    opacity: 0.75 !important;
    transform: none !important;
  }
  .loading-orbit {
    opacity: 0.65 !important;
    transform: rotate(42deg) !important;
  }
  .loading-orbit--delay {
    transform: rotate(-28deg) !important;
  }
  .loading-dots span {
    opacity: 0.75 !important;
    transform: none !important;
  }
  .loading-wordmark {
    opacity: 0.92 !important;
    filter: none !important;
    transform: none !important;
  }
}
