* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* 顶部开奖横幅 */
.draw-banner {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.banner-header {
  background: linear-gradient(90deg, #ff6b6b, #ee5a5a);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.banner-header h2 {
  font-size: 0.95rem;
  margin: 0;
}

.deadline {
  font-size: 0.75rem;
  opacity: 0.95;
}

.draw-info {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.draw-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.draw-label {
  color: #666;
  font-size: 0.8rem;
}

.draw-period {
  color: #e74c3c;
  font-size: 0.8rem;
}

.draw-balls {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.draw-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  box-shadow: 
    inset 0 2px 6px rgba(255,255,255,0.8),
    inset 0 -2px 6px rgba(0,0,0,0.2),
    0 3px 8px rgba(0,0,0,0.2);
  position: relative;
}

/* 模拟图中的立体光泽效果 */
.draw-ball::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  width: 12px;
  height: 8px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.9), transparent);
  border-radius: 50%;
}

.draw-ball.red { 
  background: linear-gradient(145deg, #ff6b6b, #c0392b);
}
.draw-ball.blue { 
  background: linear-gradient(145deg, #74b9ff, #2980b9);
}
.draw-ball.green { 
  background: linear-gradient(145deg, #55efc4, #27ae60);
}
.draw-ball.special { border: 2px solid #f39c12; }

.plus-sign {
  color: #e74c3c;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 2px;
  align-self: center;
}

.draw-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e74c3c;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.history-link {
  color: #e74c3c;
  text-decoration: none;
  font-size: 0.8rem;
}

/* 直播按钮（红底白字，与历史查询同行） */
.draw-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-btn {
  background: #d80011;
  color: white;
  border: none;
  padding: 7px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(216, 0, 17, 0.35);
  transition: background 0.2s, transform 0.1s;
}

.live-btn:hover {
  background: #b0000e;
}

.live-btn:active {
  transform: scale(0.95);
}

/* 直播弹窗（内嵌源站直播播放器） */
.live-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: liveFadeIn 0.2s ease-out;
}

@keyframes liveFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.live-box {
  width: 94%;
  max-width: 960px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.live-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1b1b1b;
  color: white;
}

.live-title {
  font-weight: bold;
  font-size: 0.95rem;
  white-space: nowrap;
}

.live-time {
  font-size: 0.72rem;
  color: #aaa;
  margin-right: auto;
}

.live-open {
  color: #74b9ff;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.live-open:hover {
  text-decoration: underline;
}

.live-close {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.live-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 本站自建播放器容器 */
.live-player-wrap {
  position: relative;
  width: 100%;
  height: 72vh;
  background: #000;
}

.live-player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 未开播/加载中的离线层（覆盖在播放器上） */
.live-offline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: #ccc;
  text-align: center;
  padding: 20px;
}

.offline-icon {
  font-size: 3rem;
}

.offline-text {
  font-size: 1.05rem;
  color: white;
  font-weight: bold;
}

.offline-sub {
  font-size: 0.78rem;
  color: #888;
}

.offline-retry {
  margin-top: 6px;
  background: #d80011;
  color: white;
  border: none;
  padding: 8px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.offline-retry:hover {
  background: #b0000e;
}

.offline-alt {
  font-size: 0.72rem;
  color: #74b9ff;
  text-decoration: none;
}

.offline-alt:hover {
  text-decoration: underline;
}

/* 直播弹窗：源切换按钮 / 源信息条 / iframe 容器 / 备用入口 */
.live-switch {
  background: rgba(255, 255, 255, 0.12);
  color: #74b9ff;
  border: 1px solid rgba(116, 185, 255, 0.4);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.live-switch:hover {
  background: rgba(116, 185, 255, 0.25);
}

.live-source-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 14px;
  background: #161616;
  color: #aaa;
  font-size: 0.75rem;
}

.live-source-bar strong {
  color: #74b9ff;
}

.live-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.live-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.offline-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #888;
}

.offline-alt-links a,
.live-backup-link {
  color: #74b9ff;
  text-decoration: none;
}

.offline-alt-links a:hover,
.live-backup-link:hover {
  text-decoration: underline;
}

/* 每个号码球 + 正下方生肖的竖排组合 */
.ball-with-zodiac {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.zodiac-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 18px;
  border-radius: 9px;
  background: #f3e5f5;
  color: #8e44ad;
  font-size: 0.7rem;
  font-weight: bold;
  border: 1px solid #d7bde2;
}

/* 三连肖：生肖胶囊（只显示生肖、不显示号码；今日区大胶囊） */
.zodiac-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8e44ad 0%, #b06ab3 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(142, 68, 173, 0.35);
}
/* 三连肖：历史记录里的小生肖胶囊 */
.zodiac-chip-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  background: #f3e5f5;
  color: #8e44ad;
  font-size: 0.95rem;
  font-weight: bold;
  border: 1px solid #d7bde2;
}

/* 单双抓头：头数+单双标签（今日区大标签） */
.sd-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(230, 126, 34, 0.35);
}
/* 单双抓头：历史记录里的小标签 */
.sd-tag-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  background: #fef3e2;
  color: #e67e22;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #f5d8a8;
}

/* 单双抓2头：两个头+单双标签（今日区大标签，蓝紫色区分） */
.sd-tag-2 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}
/* 单双抓2头：历史记录里的小标签（蓝紫色区分） */
.sd-tag-sm-2 {
  background: #eef0fe !important;
  color: #667eea !important;
  border-color: #c3c9f5 !important;
}

/* 直播状态提示 */
.live-status {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 12px;
  min-height: 18px;
  line-height: 1.4;
}

.live-status.live-on {
  background: #ffe5e5;
  color: #e74c3c;
  animation: livePulse 1.2s ease-in-out infinite;
}

.live-status.live-wait {
  background: #fff4e6;
  color: #f39c12;
}

.live-status.live-done {
  background: #eafaf1;
  color: #27ae60;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.history-link:hover {
  text-decoration: underline;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 主页 h1 中的 🎲 可点击链接：跳转学习二页面 */
.h1-emoji-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.h1-emoji-link:hover {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 3px 6px rgba(255,215,0,0.6));
}
.h1-emoji-link:active {
  transform: scale(1.05) rotate(8deg);
}

header .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 今日号码区域 */
.today-box {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.today-box h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* 区域切换按钮（5/7/10/15/20 个号码） */
.area-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.area-btn {
  background: white;
  border: 2px solid #e0e4f0;
  color: #555;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.area-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.area-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 计划切换按钮（计划1~计划5） */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-tab {
  background: #f0f2f8;
  border: 2px solid transparent;
  color: #666;
  padding: 6px 24px;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-tab:hover {
  border-color: #667eea;
  color: #667eea;
}

.plan-tab.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: white;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.number-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* 复制当前号码按钮 */
.copy-line {
  display: flex;
  justify-content: center;
  margin: -10px 0 18px;   /* 与上方号码行贴近，与下方说明拉开 */
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
  transition: all 0.2s ease;
}
.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(102, 126, 234, 0.45);
}
.copy-btn:active {
  transform: translateY(0) scale(0.97);
}
/* 复制成功：变绿 + ✓ */
.copy-btn.copied {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  box-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

/* 今日号码命中特别号的标记（准 [球] 中！） */
.hit-mark {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.05rem;
  align-self: center;
  animation: hitPulse 1s ease-in-out infinite;
}

@keyframes hitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* 随机号码小球（历史列表）下方的生肖，比大球的略小 */
.zodiac-ball-sm {
  width: auto;
  min-width: 20px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  font-size: 0.65rem;
}

/* 历史记录里的中/错标记（和号码球差不多大） */
.hit-mark-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  font-size: 1rem;
  align-self: center;
  animation: none;
  color: #ff1744;          /* 显眼的亮红色"中" */
  background: #ffe3e3;
  white-space: nowrap;
}

/* 未命中标记：显眼的亮蓝色"错" */
.hit-mark-sm.mark-miss {
  color: #0d8bff;
  background: #e3f1ff;
}

/* 手机上跟随小球尺寸 */
@media (max-width: 520px) {
  .hit-mark-sm {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}

.number-ball {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: popIn 0.5s ease-out;
}

.number-ball.red, .history-ball.red { background: linear-gradient(145deg, #e74c3c, #c0392b); }
.number-ball.blue, .history-ball.blue { background: linear-gradient(145deg, #3498db, #2980b9); }
.number-ball.green, .history-ball.green { background: linear-gradient(145deg, #2ecc71, #27ae60); }

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.btn-secondary {
  background: #9b59b6;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #8e44ad;
}

.info-note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 12px;
}

/* 历史记录区域 */
.history-box {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.history-box h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.history-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.history-box h2 {
  font-size: 1.4rem;
}

/* 连续不中统计（"历史记录"标题文字正下方） */
.streak-info {
  font-size: 0.85rem;
  color: #888;
  margin: 8px 0 14px;
  padding-top: 8px;
  border-top: 1px dashed #e3e6ee;
  line-height: 1.7;
}

.streak-info b {
  font-size: 1rem;
  padding: 0 2px;
}

.streak-info .streak-cur {
  color: #0d8bff;      /* 当前连续不中期数：亮蓝 */
}

.streak-info .streak-last {
  color: #ff1744;      /* 上一次不中期数：亮红 */
}

.streak-info .streak-hit {
  color: #ff1744;
}

.streak-info .streak-max {
  color: #e8590c;      /* 500期内最大连错：橙色 */
}

.history-count {
  margin-left: auto;   /* 记录总数贴最右 */
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* 全部展开显示，不再下拉滚动 */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: 32px auto 1fr;   /* 号码列占满剩余宽度 */
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.history-item:hover {
  background: #eef1ff;
  border-left-color: #667eea;
  transform: translateX(2px);
}

/* 今日记录高亮 */
.history-item.is-today {
  background: #fff4e6;
  border-left-color: #f39c12;
}

.history-index {
  color: #aaa;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
}

.history-date {
  font-weight: bold;
  color: #444;
  font-size: 0.9rem;
  white-space: nowrap;
}

.history-numbers {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: nowrap;      /* 每行不换行 */
  overflow-x: auto;       /* 号码多放不下时横向滑动 */
  min-width: 0;           /* 允许在网格里收缩，否则滚动条不生效 */
  scrollbar-width: thin;  /* 细滚动条（Firefox） */
}

/* 细滚动条（Chrome/Edge） */
.history-numbers::-webkit-scrollbar {
  height: 6px;
}
.history-numbers::-webkit-scrollbar-thumb {
  background: #cfd4e4;
  border-radius: 3px;
}

/* 5组三中三：每组3个球用圆角胶囊包起来，组间留间隔（今日区/历史区通用） */
.group-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #dbe1f0;
  border-radius: 999px;
  margin-right: 10px;
  box-shadow: 0 1px 3px rgba(35, 45, 80, 0.07);
}
.area-today-numbers .group-block {
  gap: 12px;
  padding: 6px 14px;
  margin-right: 14px;
}

/* 号码多的区域（15个）：球略小，保证一行全部显示 */
.history-numbers[data-count="15"] {
  gap: 8px;
}
.history-numbers[data-count="15"] .history-ball {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}
.history-numbers[data-count="15"] .hit-mark-sm {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-size: 0.9rem;
}

/* 号码最多的区域（20个）：球更小 */
.history-numbers[data-count="20"] {
  gap: 6px;
}
.history-numbers[data-count="20"] .history-ball {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}
.history-numbers[data-count="20"] .hit-mark-sm {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  font-size: 0.85rem;
}

/* 5组三中三历史行：5组共15个计划球 + 6个开奖球，球体更小、组距更紧，保证一行完整显示 */
.history-numbers.is-five3 {
  gap: 5px;
}
.history-numbers.is-five3 .group-block {
  padding: 2px 7px;
  gap: 4px;
  margin-right: 6px;
  border-radius: 8px;
}
.history-numbers.is-five3 .history-ball {
  width: 26px;
  height: 26px;
  font-size: 0.75rem;
}
.history-numbers.is-five3 .hit-mark-sm {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  font-size: 0.75rem;
}

/* 连肖历史行（三连肖/四连肖）：左侧生肖胶囊 + 右侧 7 个球（前6位+特别号，带生肖） */
.history-numbers.is-zodiacn {
  gap: 8px;
  justify-content: flex-end;
}
.history-numbers.is-zodiacn .zodiac-chip-sm {
  margin-right: 6px;
}
.history-numbers.is-zodiacn .history-ball {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}
.history-numbers.is-zodiacn .hit-mark-sm {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.history-ball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* 精准15码历史行：15个计划球 + 开奖特别号球（共16个），窄屏时略缩小保证一行完整显示 */
@media (max-width: 950px) {
  .history-numbers.is-precise {
    gap: 4px;
  }
  .history-numbers.is-precise .history-ball {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .history-numbers.is-precise .hit-mark-sm {
    width: 26px;
    height: 26px;
    border-radius: 13px;
    font-size: 0.72rem;
  }
}

/* 响应式：窄屏时改为纵向堆叠 */
@media (max-width: 520px) {
  .history-item {
    grid-template-columns: 24px 1fr;
    gap: 8px 10px;
  }
  .history-numbers {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 34px;
    gap: 8px;
  }
  .history-ball {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  /* 手机上的直播弹窗适配 */
  .live-box {
    width: 98%;
    border-radius: 8px;
  }
  .live-head {
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 8px 10px;
  }
  .live-time {
    width: 100%;
    margin-right: 0;
  }
  .live-player-wrap {
    height: 42vh;   /* 竖屏手机上比 72vh 更协调 */
  }
}

.empty-note, .info-note {
  text-align: center;
  color: #888;
  font-size: 1rem;
}

footer {
  text-align: center;
  color: white;
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}
