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

html,
body {
  width: 100%;
  min-height: 100%;
  background: #030914;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

button {
  font-family: inherit;
}

/* =========================
   背景视频
========================= */

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030914;
}

.fallback-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(31, 221, 214, 0.2), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(41, 132, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #07192b 0%, #020713 100%);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.05) 28%,
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    radial-gradient(circle at 50% 12%, rgba(97, 225, 255, 0.13), transparent 34%);
}

/* =========================
   页面
========================= */

.page {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 14px;
}

/* =========================
   顶部 LOGO
========================= */

.top-logo {
  padding-top: 4.2vh;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.logo-stage {
  position: relative;
  width: min(82vw, 352px);
  height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 26% 50%, rgba(36, 238, 220, 0.35), transparent 48%),
    radial-gradient(circle at 73% 50%, rgba(255, 225, 53, 0.2), transparent 44%),
    rgba(3, 16, 30, 0.2);
  filter: blur(20px);
  opacity: 0.9;
  animation: logoAura 4.5s ease-in-out infinite;
}

.logo-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(205, 246, 255, 0.16);
  background:
    radial-gradient(circle at 50% 42%, rgba(39, 236, 226, 0.16), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024));
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 36px rgba(9, 38, 61, 0.18);
  backdrop-filter: blur(10px) saturate(138%);
  -webkit-backdrop-filter: blur(10px) saturate(138%);
}

.logo-float {
  position: relative;
  z-index: 3;
  width: 72%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  overflow: hidden;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, rgba(42, 238, 224, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(3, 24, 39, 0.26), rgba(8, 32, 51, 0.1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 26px rgba(0, 0, 0, 0.13);
}

.logo-float::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 42%;
  height: 230%;
  transform: rotate(22deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  animation: logoShine 5.2s ease-in-out infinite;
}

.top-brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 218px;
  max-height: 68px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 7px 16px rgba(0, 0, 0, 0.64))
    drop-shadow(0 0 12px rgba(34, 228, 220, 0.48))
    brightness(1.28)
    contrast(1.12)
    saturate(1.18);
}

.logo-line {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 4;
  width: 42%;
  height: 1px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(74, 235, 255, 0.82), transparent);
  box-shadow: 0 0 14px rgba(74, 235, 255, 0.66);
  opacity: 0.75;
}

.pg-subtitle {
  margin-top: 2px;
  font-size: clamp(13px, 3.85vw, 17px);
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow:
    0 3px 14px rgba(0, 0, 0, 0.68),
    0 0 12px rgba(64, 210, 255, 0.2);
}





@keyframes logoAura {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes logoShine {
  0% {
    left: -70%;
    opacity: 0;
  }

  35% {
    opacity: 0;
  }

  50% {
    opacity: 0.9;
  }

  65% {
    opacity: 0;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

/* =========================
   底部 Dock
========================= */

.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 13px;
  z-index: 6;
  width: calc(100% - 28px);
  max-width: 432px;
  transform: translateX(-50%);
  padding: 9px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(10, 28, 50, 0.26), rgba(3, 11, 24, 0.42));
  border: 1px solid rgba(206, 242, 255, 0.12);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.glass-card {
  border: 1px solid rgba(221, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.032));
  box-shadow:
    0 9px 22px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(14px) saturate(142%);
  -webkit-backdrop-filter: blur(14px) saturate(142%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.13) 46%,
      transparent 72%
    );
  opacity: 0;
  transition: opacity 0.16s ease;
}

.glass-card:active {
  transform: scale(0.965);
  border-color: rgba(221, 245, 255, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05));
}

.glass-card:active::before {
  opacity: 1;
}

/* =========================
   主入口
========================= */

.main-entry {
  width: 100%;
  height: 56px;
  border-radius: 19px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  background:
    radial-gradient(circle at 8% 16%, rgba(45, 228, 219, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(27, 96, 156, 0.38), rgba(6, 21, 45, 0.31));
}

.brand-icon {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.42))
    brightness(1.14)
    saturate(1.1);
}

.brand-text {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.brand-text strong {
  display: block;
  font-size: 17px;
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.98);
  white-space: nowrap;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(225, 243, 255, 0.62);
  white-space: nowrap;
}

.entry-tag {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(65, 209, 255, 0.32), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(198, 238, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
   小按钮
========================= */

.mini-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mini-card {
  min-height: 47px;
  border-radius: 17px;
  padding: 6px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026)),
    rgba(5, 19, 41, 0.23);
}

.mini-icon {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.27), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 4px 12px rgba(0,0,0,0.16);
}

.mini-icon span {
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.94);
}

.mini-gift span {
  color: #ffe08a;
}

.mini-vip span {
  color: #9ee9ff;
}

.mini-wechat span {
  color: #67f5a4;
}

.mini-qq span {
  color: #7abbff;
}

.mini-group span {
  color: #65edff;
}

.mini-service span {
  color: #ffbf72;
}

.mini-text {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
}

.mini-text strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 780;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-text span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.08;
  color: rgba(225, 243, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer {
  padding: 7px 0 0;
  text-align: center;
  font-size: 9px;
  color: rgba(225, 243, 255, 0.34);
}

/* =========================
   弹窗：多图切换
========================= */

.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(45, 201, 255, 0.14), transparent 36%),
    rgba(0, 0, 0, 0.78);
}

.popup-mask.show {
  display: flex;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  animation: popupIn 0.2s ease;
  background:
    linear-gradient(180deg, rgba(13, 40, 73, 0.72), rgba(4, 12, 26, 0.92));
  border: 1px solid rgba(210, 242, 255, 0.14);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.popup-img-wrap {
  position: relative;
  width: 100%;
  min-height: 260px;
  background: rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-img-wrap img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  cursor: pointer;
}

.popup-nav {
  position: absolute;
  top: 43%;
  z-index: 5;
  width: 36px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup-prev {
  left: 8px;
}

.popup-next {
  right: 8px;
}

.popup-info {
  padding: 13px 15px 14px;
  text-align: center;
}

.popup-title {
  font-size: 17px;
  font-weight: 850;
  color: rgba(255,255,255,0.96);
}

.popup-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(230, 246, 255, 0.62);
}

.popup-link {
  margin-top: 11px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(56, 216, 255, 0.88), rgba(35, 134, 255, 0.76));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(35, 172, 255, 0.28);
}

.popup-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0 13px;
}

.popup-dot {
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.popup-dot.active {
  width: 18px;
  background: rgba(77, 226, 255, 0.88);
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================
   手机小屏
========================= */

@media (max-width: 370px) {
  .page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-logo {
    padding-top: 3.6vh;
  }

  .logo-stage {
    width: min(88vw, 330px);
    height: 104px;
  }

  .logo-orbit {
    height: 76px;
  }

  .logo-float {
    height: 84px;
    padding: 9px 10px;
  }

  .top-brand-logo {
    max-width: 198px;
    max-height: 62px;
  }

  

  .worldcup-slogan::before,
  .worldcup-slogan::after {
    width: 24px;
  }

  .pg-subtitle {
    font-size: 12px;
    letter-spacing: 1.4px;
  }

  .bottom-dock {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 8px;
    border-radius: 22px;
  }

  .main-entry {
    height: 52px;
    border-radius: 17px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 13px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 9px;
  }

  .entry-tag {
    height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .mini-grid {
    gap: 6px;
  }

  .mini-card {
    min-height: 44px;
    border-radius: 15px;
    padding: 5px 6px;
    gap: 6px;
  }

  .mini-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 11px;
  }

  .mini-icon span {
    font-size: 13px;
  }

  .mini-text strong {
    font-size: 12px;
  }

  .mini-text span {
    font-size: 8.5px;
  }

  .footer {
    padding-top: 6px;
    font-size: 8.5px;
  }
}

/* =========================
   PC 端：全屏，不再小窗口
========================= */

@media (min-width: 768px) {
  .page {
    max-width: none;
    width: 100%;
    min-height: 100vh;
    padding: 0;
  }

  .bg-video,
  .fallback-bg,
  .bg-overlay {
    left: 0;
    width: 100%;
    transform: none;
  }

  .top-logo {
    position: fixed;
    top: 7vh;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0;
    z-index: 8;
  }

  .logo-stage {
    width: 420px;
    height: 132px;
  }

  .logo-orbit {
    height: 96px;
  }

  .top-brand-logo {
    max-width: 260px;
    max-height: 78px;
  }

  

  .pg-subtitle {
    font-size: 18px;
  }

  .bottom-dock {
    left: 50%;
    bottom: 28px;
    width: 430px;
    max-width: 430px;
    transform: translateX(-50%);
  }

  .popup-box {
    max-width: 520px;
  }
}


/* ===========================================================
   2028 体育 · 视频展示 / 广告区 / 手机适配（统一放在 CSS）
   保持原有主入口、客服、弹窗与 link.js 数据逻辑不变
   =========================================================== */

.watch-live-entry {
  margin-top: 9px;
  width: 100%;
  cursor: pointer;
}
.watch-live-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8648, #df4062);
  box-shadow: 0 4px 18px rgba(232, 62, 91, .25);
}
.watch-live-symbol svg { width: 24px; height: 24px; fill: #fff; margin-left: 2px; }
.watch-live-entry .brand-text { text-align: left; }
.watch-live-entry .brand-text strong { font-size: clamp(14px, 4vw, 17px); }
.watch-live-entry .entry-tag { white-space: nowrap; }

.live-showcase {
  position: relative;
  z-index: 2;
  width: min(92vw, 480px);
  max-width: 100%;
  margin: 18px auto 0;
  text-align: center;
  pointer-events: auto;
}
.live-showcase-title {
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(14px, 3.8vw, 19px);
  font-weight: 800;
  letter-spacing: .8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
}
.live-showcase-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff5269;
  vertical-align: middle;
  box-shadow: 0 0 10px #ff5269;
}
.live-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .27);
  background: linear-gradient(145deg, #142546, #0a1226);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
}
.live-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(150deg, #15294b, #111629);
  pointer-events: none;
}
.live-video-fallback[hidden] { display: none; }
.live-video-fallback svg { width: 34px; height: 34px; fill: #fff; }
.live-showcase-hint {
  margin: 9px auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

/* 竖屏广告设计稿建议为 240×600，展示时等比缩放。 */
.side-ads-mobile { display: contents; }
.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: clamp(80px, 9vw, 144px);
  aspect-ratio: 2 / 5;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(165deg, #162b49, #0d1427);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
  color: #fff;
  cursor: pointer;
}
.side-ad-left { left: max(10px, 2vw); }
.side-ad-right { right: max(10px, 2vw); }
.side-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.side-ad img:not([hidden]) + .side-ad-placeholder { display: none; }
.side-ad-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 9px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  background: linear-gradient(155deg, rgba(26, 70, 110, .92), rgba(23, 18, 49, .9));
}
.side-ad-placeholder small { font-size: 10px; color: rgba(255, 255, 255, .7); }
.side-ad:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* PC：控制视频占用的垂直空间，避免盖住底部固定按钮。 */
@media (min-width: 768px) {
  .top-logo { width: min(680px, calc(100vw - 360px)); top: clamp(16px, 4vh, 54px); }
  .live-showcase {
    width: min(460px, 92%, calc((100dvh - 490px) * 16 / 9));
    min-width: 210px;
    margin-top: clamp(9px, 2vh, 20px);
  }
  .side-ad { width: clamp(78px, 8.5vw, 145px); }
}

/* 平板与手机：竖版 GIF 不在左右占位，视频始终水平居中。
   底部 Dock 保留固定；文档尾部预留等高空间以便滚动至广告完整可见。 */
@media (max-width: 767px) {
  html, body { min-height: 100%; }
  .page {
    width: 100%;
    max-width: 460px;
    min-height: 100dvh;
    padding: 0 12px calc(286px + env(safe-area-inset-bottom, 0px));
  }
  .top-logo { position: relative; padding-top: clamp(10px, 2.5vh, 22px); pointer-events: auto; }
  .logo-stage { height: clamp(86px, 13vh, 112px); }
  .pg-subtitle { font-size: clamp(11px, 3.4vw, 15px); letter-spacing: 1.2px; }
  .live-showcase { width: min(100%, 430px); margin-top: 13px; }
  .live-video-frame { border-radius: 12px; }
  .live-showcase-title { margin-bottom: 7px; }
  .live-showcase-hint { font-size: 11px; margin-top: 7px; padding: 0 4px; }
  .side-ads-mobile {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(10px, 4vw, 18px);
    width: 100%;
    margin: 13px auto 0;
  }
  .side-ad {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: min(26vw, 100px);
    flex: 0 0 min(26vw, 100px);
    border-radius: 11px;
  }
  .bottom-dock {
    bottom: max(9px, env(safe-area-inset-bottom, 0px));
    z-index: 10;
    max-height: calc(100dvh - 18px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .bottom-dock::-webkit-scrollbar { display: none; }
  .watch-live-entry { margin-top: 7px; }
}

/* 高度偏矮的屏幕：保持底部操作按钮优先可触达。 */
@media (max-width: 767px) and (max-height: 700px) {
  .top-logo { padding-top: 7px; }
  .logo-stage { height: 82px; }
  .live-showcase { margin-top: 8px; }
  .side-ads-mobile { margin-top: 10px; }
  .bottom-dock { padding: 7px; }
  .main-entry { height: 49px; }
  .watch-live-symbol { width: 35px; height: 35px; flex-basis: 35px; }
  .mini-card { min-height: 41px; }
}
@media (max-width: 370px) {
  .page { padding-left: 10px; padding-right: 10px; }
  .live-showcase-hint { font-size: 10px; }
  .side-ad { width: 25vw; flex-basis: 25vw; }
  .watch-live-entry .brand-text strong { font-size: 14px; }
  .watch-live-symbol { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (min-width: 768px) and (max-height: 740px) {
  .top-logo { top: 10px; }
  .logo-stage { height: 102px; }
  .live-showcase { width: min(300px, 90%); }
  .bottom-dock { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-showcase-title::before { box-shadow: none; }
}

/* 2028体育 · 最终手机布局：PC 端不受影响 */
.mobile-top-entry { display: none; }
.live-video-frame { cursor: pointer; }
.live-video-frame:focus-visible { outline: 3px solid #5ee4ff; outline-offset: 3px; }
@media (max-width: 767px) {
  .page { padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)); }
  .live-showcase { width: 100%; max-width: 440px; margin-top: 10px; }
  .live-showcase-title { margin-bottom: 7px; }
  .live-video-frame { width: 100%; aspect-ratio: 16 / 9; }
  .live-showcase-hint { margin-top: 7px; }
  .side-ads-mobile { margin: 12px auto 0; gap: 12px; align-items: stretch; }
  .side-ad {
    width: min(38vw, 142px);
    flex: 0 1 min(38vw, 142px);
    height: auto;
    aspect-ratio: 4 / 5;
    min-width: 0;
    border-radius: 12px;
  }
  .side-ad img { object-fit: cover; object-position: center 48%; }
  .bottom-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 432px;
    max-height: none;
    overflow: visible;
    margin: 12px auto 0;
  }
  .mobile-top-entry {
    display: flex;
    margin-bottom: 7px;
    background: radial-gradient(circle at 7% 10%, rgba(67,230,237,.26), transparent 43%), linear-gradient(135deg, rgba(17,110,157,.58), rgba(6,29,64,.74));
    border-color: rgba(116,236,255,.38);
  }
  .mobile-top-entry .brand-text strong { font-size: clamp(14px, 4.2vw, 17px); }
  .mobile-top-entry .watch-live-symbol { background: linear-gradient(135deg,#31c9f3,#2864d5); }
  .watch-live-entry { margin-top: 7px; }
}
@media (max-width: 370px) {
  .side-ad { width: 39vw; flex-basis: 39vw; }
  .mobile-top-entry .brand-text strong { font-size: 14px; }
}
