:root {
  /* Brand Colors - 与神广视 SRTS 官方台标完美呼应 */
  /* 主品牌色：取自 Logo "SRTS" 宝石科技蓝与广电融媒蓝 */
  --color-primary: #0D5CE5;
  --color-primary-hover: #0947B8;
  --color-primary-light: #EFF6FF;
  --color-primary-border: #BFDBFE;
  
  /* 品牌深色：取自 Logo "神广视" 沉稳权威的深海藏青 */
  --color-brand-navy: #0A2044;
  --color-brand-navy-dark: #07152B;
  
  /* 辅助金色：视听金牌、重要头条、VIP */
  --color-secondary: #D97706;
  --color-secondary-hover: #B45309;
  --color-secondary-light: #FFFBEB;
  
  /* 活力点缀色：取自 Logo "神" 与 "视" 顶部的灵动电光天青蓝 */
  --color-accent: #00A3FF;
  --color-accent-hover: #008FE0;
  --color-accent-light: #E0F2FE;
  
  /* 状态与功能色 */
  --color-live: #FF4D4F;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-info: #00A3FF;

  /* Neutral Colors */
  --text-title: #0F172A;
  --text-body: #334155;
  --text-secondary: #64748B;
  --text-placeholder: #94A3B8;
  --text-inverse: #FFFFFF;

  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-secondary: #F1F5F9;
  --bg-dark: #08162B;
  --bg-dark-card: #0F2342;

  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Songti SC', 'Source Han Serif SC', 'SimSun', STSong, Georgia, serif;
  
  /* Radii & Shadows */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 4px 14px rgba(13, 92, 229, 0.22);

  /* Layout */
  --container-max: 1240px;
  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body.accessible-mode {
  background: #fff !important;
  color: #111 !important;
  font-size: 18px;
  line-height: 1.8;
}

body.accessible-mode a,
body.accessible-mode button,
body.accessible-mode input,
body.accessible-mode p,
body.accessible-mode li,
body.accessible-mode span {
  color: #111 !important;
  font-size: inherit;
}

body.accessible-mode a,
body.accessible-mode button {
  text-decoration: underline;
  outline-offset: 3px;
}

body.large-reading-mode .article-body-text {
  font-size: 20px !important;
  line-height: 2 !important;
}

/* 全国性哀悼日 · 全站黑白致哀模式 */
html.sbn-memorial-mode {
  filter: grayscale(1) !important;
  -webkit-filter: grayscale(1) !important;
}

html.sbn-memorial-mode,
html.sbn-memorial-mode body {
  background: #F2F2F2;
}

/* 致哀铭牌：独立于灰度滤镜之外，保持肃穆的黑白呈现 */
.sbn-memorial-ribbon {
  position: relative;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1A1A1A;
  color: #E8E8E8;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0 12px;
  border-bottom: 1px solid #000;
}

.sbn-memorial-ribbon i {
  font-size: 13px;
  opacity: 0.85;
}

.sbn-memorial-ribbon strong {
  font-weight: 600;
  color: #FFF;
}

@media (max-width: 767px) {
  .sbn-memorial-ribbon {
    height: auto;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11.5px;
    line-height: 1.5;
  }
  .sbn-memorial-ribbon i {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================================
   1. GLOBAL TOPBAR & NAVIGATION (融合CCTV权威 + GRTN敏捷)
======================================================== */
.top-bar {
  background-color: #f5f7fa;
  color: #303846;
  font-size: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.top-bar a,
.top-bar #currentDateDisplay,
.top-bar .top-bar-left > span:not(.live-badge-top) {
  color: #303846;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 顶部栏 APP 下载入口 */
.top-bar-app-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--color-accent, #0D5CE5) !important;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-bar-app-download:hover {
  opacity: 0.8;
  text-decoration: none;
}

.live-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 77, 79, 0.15);
  color: #ff7875;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-live);
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 77, 79, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

.weather-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.weather-frame-wrap {
  width: 360px;
  height: 40px;
  overflow: hidden;
  border-radius: 4px;
}

.weather-frame {
  display: block;
  width: 360px;
  height: 40px;
  border: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .weather-frame-wrap {
    width: min(360px, 42vw);
    height: 40px;
  }

  .weather-frame {
    width: 360px;
    height: 40px;
  }
}

.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00A3FF 0%, #0D5CE5 60%, #071E3D 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(13, 92, 229, 0.3);
}

.brand-text-block h1 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-text-block p {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.8px;
}

/* 全平台搜索框升级版视觉规范 */
.header-search {
  flex: 0 1 480px;
  position: relative;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-pill);
  padding: 3px 4px 3px 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.header-search:hover {
  border-color: #CBD5E1;
  background: #FFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.header-search:focus-within {
  border-color: var(--color-primary);
  background: #FFF;
  box-shadow: 0 0 0 3.5px rgba(13, 92, 229, 0.16), 0 4px 14px rgba(13, 92, 229, 0.08);
}

.header-search form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.search-prefix-icon {
  color: #94A3B8;
  font-size: 13px;
  margin-right: 8px;
  transition: color 0.2s ease;
  pointer-events: none;
}

.header-search:focus-within .search-prefix-icon {
  color: var(--color-primary);
}

.header-search input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 13.5px;
  color: var(--text-title);
  padding: 6px 0;
}

.header-search input::placeholder {
  color: #94A3B8;
  font-size: 13px;
}

.search-clear-btn {
  border: none;
  background: transparent;
  color: #CBD5E1;
  font-size: 14px;
  padding: 0 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
}

.search-clear-btn:hover {
  color: #64748B;
}

.search-btn {
  background: linear-gradient(135deg, #0D5CE5 0%, #0084FF 100%);
  color: #FFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  font-size: 13.5px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(13, 92, 229, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn:hover {
  background: linear-gradient(135deg, #0947B8 0%, #0070DB 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(13, 92, 229, 0.35);
  color: #FFF;
}

.search-btn:active {
  transform: scale(0.98);
}

/* 搜索抖动校验动画 */
@keyframes searchShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.header-search.is-invalid {
  animation: searchShake 0.4s ease-in-out;
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* 智能推荐与热搜下拉面板 */
.search-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 16px;
  z-index: 1060;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-dropdown-panel.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.search-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
}

.dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-tip {
  font-size: 11px;
  color: #94A3B8;
}

.search-hot-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.search-hot-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #334155;
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.search-hot-list li a:hover {
  background: #F1F5F9;
  color: var(--color-primary);
}

.rank-num {
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #F1F5F9;
  color: #64748B;
  display: inline-block;
  flex-shrink: 0;
}

.rank-num.rank-1 {
  background: #FEE2E2;
  color: #EF4444;
}

.rank-num.rank-2 {
  background: #FFEDD5;
  color: #F97316;
}

.rank-num.rank-3 {
  background: #FEF3C7;
  color: #D97706;
}

.hot-word {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-tag {
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
  line-height: 1.2;
}

.hot-tag-red {
  background: #FEE2E2;
  color: #EF4444;
}

.hot-tag-orange {
  background: #FFEDD5;
  color: #F97316;
}

.hot-tag-blue {
  background: #E0F2FE;
  color: #0284C7;
}

.search-dropdown-tags {
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 8px;
}

.tags-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-tag {
  font-size: 11.5px;
  background: #FFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 3px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.quick-tag:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

/* 移动端搜索按钮与下拉栏 */
.mobile-search-toggle {
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-search-toggle:hover,
.mobile-search-toggle.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.mobile-search-bar {
  display: none;
  background: #FFF;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 15px;
  animation: slideDownSearch 0.25s ease-out;
}

.mobile-search-bar.show {
  display: block;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-pill);
  padding: 3px 4px 3px 12px;
}

.mobile-search-form:focus-within {
  border-color: var(--color-primary);
  background: #FFF;
}

.mobile-search-form input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  font-size: 13.5px;
  padding: 4px 6px;
  color: var(--text-title);
}

.mobile-search-form .btn-mobile-search {
  background: var(--color-primary);
  border: none;
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
}

@keyframes slideDownSearch {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 检索中心页大搜索框美化 */
.sbn-search-form .input-group {
  border-radius: var(--radius-pill);
  background: #FFF;
  border: 2px solid var(--color-primary);
  padding: 4px;
  box-shadow: 0 4px 16px rgba(13, 92, 229, 0.12) !important;
  transition: all 0.25s ease;
}

.sbn-search-form .input-group:focus-within {
  box-shadow: 0 6px 24px rgba(13, 92, 229, 0.22) !important;
}

.sbn-search-form input.form-control {
  border: none !important;
  box-shadow: none !important;
  padding-left: 20px;
  background: transparent;
  font-size: 15px;
}

.sbn-search-form .btn-primary {
  border-radius: var(--radius-pill) !important;
  padding: 10px 30px !important;
  background: linear-gradient(135deg, #0D5CE5 0%, #0084FF 100%) !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(13, 92, 229, 0.3) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sbn-search-form .btn-primary:hover {
  background: linear-gradient(135deg, #0947B8 0%, #0070DB 100%) !important;
  transform: translateY(-1px);
}

.media-search-card {
  border: 1px solid #E2E8F0 !important;
  transition: all 0.25s ease;
}

.media-search-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  border-color: var(--color-primary-border) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-upload-report {
  background: linear-gradient(135deg, #0D5CE5 0%, #00A3FF 100%);
  color: #FFF !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(13, 92, 229, 0.35);
}

.btn-upload-report:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.user-quick-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.user-quick-profile:hover {
  background: var(--bg-secondary);
}

.avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-color);
}

/* Nav Menu Bar */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  padding: 12px 2px;
  position: relative;
  display: inline-block;
}

.nav-link.active, .nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

.nav-badge-hot {
  font-size: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: top;
}

.nav-matrix-link {
  color: var(--color-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-title);
  cursor: pointer;
}

/* ========================================================
   2. HERO TOP HEADLINE & TV NEWS TICKER (电视屏幕滚动字幕规范)
======================================================== */
.headline-bar-wrapper {
  background: linear-gradient(90deg, #07152B 0%, #0B254E 50%, #07152B 100%);
  color: #FFF;
  padding: 12px 0;
  margin-bottom: 24px;
  border-bottom: 2px solid #00A3FF;
}

/* 电视屏幕滚动字幕专业条 (TV News Ticker) */
.headline-bar-wrapper.tv-ticker-bar {
  background: linear-gradient(90deg, #051126 0%, #082147 50%, #051126 100%);
  color: #FFF;
  padding: 8px 0;
  margin-bottom: 24px;
  border-top: 1px solid rgba(0, 163, 255, 0.35);
  border-bottom: 2px solid #00A3FF;
  box-shadow: 0 4px 18px rgba(5, 17, 38, 0.45);
  position: relative;
  overflow: hidden;
}

.tv-ticker-container {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  gap: 16px;
}

/* 左侧固定权威电视标牌：全域新闻 */
.tv-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E6AF35 0%, #C98818 100%);
  color: #55070E;
  font-weight: 900;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: var(--radius-xs);
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(232, 175, 50, 0.35);
  user-select: none;
}

/* 电视广播 LIVE 呼吸脉冲小圆点 */
.tv-ticker-dot {
  width: 7px;
  height: 7px;
  background-color: #E60012;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(230, 0, 18, 0.7);
  animation: tvDotPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes tvDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.8);
    transform: scale(0.95);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(230, 0, 18, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0);
    transform: scale(0.95);
  }
}

.tv-ticker-badge-title {
  font-weight: 900;
  letter-spacing: 1px;
}

/* 右侧走字跑马灯视口 */
.tv-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  /* 两端电视播控羽化渐隐遮罩 */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  cursor: default;
}

/* 跑马灯轨道 */
.tv-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tvTickerScroll 45s linear infinite;
}

.tv-ticker-viewport:hover .tv-ticker-track {
  animation-play-state: paused;
}

/* 单组容器 */
.tv-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 单个新闻项 */
.tv-ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 36px;
  white-space: nowrap;
  font-size: 14.5px;
  line-height: 1;
  color: #FFF;
}

/* 每两条新闻前面带 SRTS 白色水印 (即第 1, 3, 5, 7, 9... 条新闻的前面) */
.tv-ticker-item:nth-child(2n+1)::before {
  content: "SRTS";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Arial Black", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.22), inset 0 0 4px rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
  user-select: none;
}

/* 偶数项（第 2, 4, 6, 8... 条新闻）前面的微型电视点 */
.tv-ticker-item:nth-child(2n)::before {
  content: "•";
  display: inline-block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1;
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* 新闻链接 */
.tv-ticker-link {
  color: #F0F4F8;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
}

.tv-ticker-link:hover {
  color: #FFE699;
  text-shadow: 0 0 8px rgba(255, 230, 153, 0.5);
  text-decoration: none;
}

/* 无缝滚动关键帧：从 0% 滚动到 -50% 后平滑重置 */
@keyframes tvTickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.headline-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.headline-main-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.headline-tag {
  background: #E8AF32;
  color: #61040D;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.headline-title-text {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: #FFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.5px;
  min-width: 0;
  flex: 1;
}

.headline-title-text a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #FFF;
}

.headline-title-text a:hover {
  color: #FFE699;
}

.headline-links-sub {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #FFCCD1;
  white-space: nowrap;
}

/* Hero Section Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-main-carousel {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.hero-main-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-carousel:hover img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.88) 95%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFF;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.badge-stream {
  background: #E60012;
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #FFF;
}

.hero-desc {
  font-size: 13px;
  color: #D3D8E0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero Right: News Feed & Highlights */
.hero-news-feed {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: 10px;
  margin-bottom: 12px;
  min-width: 0;
}

.feed-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  position: relative;
  padding-left: 10px;
  margin-bottom: 0;
  min-width: 0;
}

.feed-header h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3.5px;
  background: var(--color-primary);
  border-radius: var(--radius-xs);
}

.feed-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.feed-item-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.feed-item-main a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-index {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-secondary);
  min-width: 20px;
}

.feed-item:nth-child(1) .feed-index { color: var(--color-primary); }
.feed-item:nth-child(2) .feed-index { color: #FA541C; }
.feed-item:nth-child(3) .feed-index { color: #FA8C16; }

.feed-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.45;
  margin-bottom: 4px;
}

.feed-item-title:hover {
  color: var(--color-primary);
}

.feed-meta {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================================================
   3. BROADCAST MATRIX (广播电视矩阵 - 央视台矩阵整合)
======================================================== */
.channel-matrix-section {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.matrix-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.matrix-title-bar h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.channel-card {
  background: linear-gradient(135deg, #0B2E66 0%, #071938 100%);
  color: #FFF;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid rgba(0, 163, 255, 0.25);
}

.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 18, 37, 0.35);
}

.channel-card .channel-code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: block;
}

.channel-card .channel-name {
  font-size: 11px;
  color: #FFE699;
  margin-top: 2px;
  display: block;
}

.channel-card.radio {
  background: linear-gradient(135deg, #1B365D 0%, #0F2038 100%);
}

.channel-card.radio .channel-name {
  color: #8FD5FF;
}

/* ========================================================
   4. SECTION CARDS & MEDIA GRID (融媒视讯与板块)
======================================================== */
.section-wrapper {
  margin-bottom: 36px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.section-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-tabs {
  display: flex;
  gap: 12px;
}

.section-tab-btn {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  border: none;
  font-weight: 500;
  transition: var(--transition-base);
}

.section-tab-btn.active, .section-tab-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

.section-more-link {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-more-link:hover {
  color: var(--color-primary);
}

/* Video Grid Layout */
.media-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.media-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Media Card (GRTN-style duration & clean elevation) */
.media-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.media-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.media-thumb-wrap .media-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.media-thumb-wrap img,
.media-thumb-wrap .media-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.media-card:hover .media-thumb-wrap img,
.media-thumb-wrap:hover img {
  transform: scale(1.05);
}

.badge-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
  pointer-events: none;
}

.badge-channel-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(13, 92, 229, 0.9);
  color: #FFF;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  z-index: 2;
  pointer-events: none;
}

.play-hover-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #00A3FF 0%, #0D5CE5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  opacity: 0;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 92, 229, 0.4);
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
}

.media-card:hover .play-hover-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.media-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.media-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-card-title:hover {
  color: var(--color-primary);
}

.media-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.card-source-tag {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-interact-icons {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.card-interact-icons span:hover {
  color: var(--color-primary);
}

/* Featured Two-Column Banner Section (like GRTN 大赛 & CCTV专题) */
.promo-banner-feature {
  background: linear-gradient(135deg, #780206 0%, #061161 100%);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  color: #FFF;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.promo-banner-feature::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: rgba(255, 215, 0, 0.12);
  border-radius: 50%;
  filter: blur(40px);
}

.promo-text-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.promo-text-wrap p {
  color: #E2E8F0;
  font-size: 14px;
}

.promo-action-btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #5A0808;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 165, 0, 0.4);
}

.promo-action-btn:hover {
  color: #000;
  transform: scale(1.04);
}

/* ========================================================
   5. FOOTER COMPONENT (融合国家台版权声明与融媒体矩阵)
======================================================== */
.site-footer {
  background: #F4F6F9;
  color: #5A6578;
  padding-top: 48px;
  padding-bottom: 28px;
  border-top: 3px solid var(--color-accent);
  font-size: 13px;
}

.footer-top-links {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E2E8F0;
}

.footer-col h4 {
  color: #1D2129;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #5A6578;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-apps-grid {
  display: flex;
  gap: 12px;
}

.app-qr-card {
  background: #FFFFFF;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 11px;
  border: 1px solid #E2E8F0;
}

.app-qr-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 6px auto;
  border-radius: 4px;
  background: #FFF;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: #86909C;
}

.footer-bottom a {
  color: #5A6578;
  margin: 0 6px;
}

/* ========================================================
   6. RESPONSIVE BREAKPOINTS (Desktop / Tablet / Mobile)
======================================================== */
@media (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .media-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .matrix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .top-bar {
    display: none;
  }
  .header-search {
    display: none;
  }
  .mobile-search-toggle {
    display: inline-flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-bar {
    padding: 8px 0;
  }
  .nav-links {
    gap: 14px;
    font-size: 14px;
  }
  .headline-bar-wrapper {
    padding: 7px 0;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .headline-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
    min-width: 0;
  }
  .headline-links-sub {
    display: none !important;
  }
  .media-grid-4, .media-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .promo-banner-feature {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .site-footer {
    padding-top: 30px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .footer-top-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 10px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    border-bottom: 1px dashed #E2E8F0;
  }
  .footer-col-nav h4 {
    font-size: 13.5px;
    margin-bottom: 10px;
  }
  .footer-col-nav ul li a {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .media-grid-4, .media-grid-3 {
    grid-template-columns: 1fr;
  }
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================
   7. EXTENDED COMPONENTS (原型组件深度融合与扩展)
======================================================== */

/* 面包屑与栏目导航条 */
.breadcrumb-wrap {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.breadcrumb-wrap a { color: var(--text-secondary); }
.breadcrumb-wrap a:hover { color: var(--color-primary); }

.sort-subnav-box {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
}
.sort-subnav-label {
  font-weight: 700;
  color: var(--text-title);
  font-size: 13px;
}
.sort-subnav-list {
  display: flex;
  gap: 8px;
}
.sort-chip {
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-secondary);
  border: 1px solid transparent;
  transition: var(--transition-base);
}
.sort-chip:hover, .sort-chip.active {
  background: var(--color-primary);
  color: #FFF !important;
  font-weight: 600;
}

/* 多维筛选器容器 */
.filter-box-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.filter-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}
.filter-row:last-child {
  border-bottom: none;
}
.filter-label {
  min-width: 80px;
  font-weight: 700;
  color: var(--text-title);
  font-size: 13px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-chip {
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition-base);
}
.filter-chip:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.filter-chip.active {
  background: var(--color-primary);
  color: #FFF !important;
  font-weight: 600;
}

/* 列表主次双栏布局 */
.list-layout-container {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 28px;
  margin-bottom: 40px;
}
@media (max-width: 991px) {
  .list-layout-container {
    grid-template-columns: 1fr;
  }
}

/* 视图工具栏 */
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}
.result-count {
  font-size: 14px;
  color: var(--text-secondary);
}
.result-count strong {
  color: var(--color-primary);
}
.view-switcher {
  display: flex;
  gap: 8px;
}
.view-btn {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  background: #FFF;
  cursor: pointer;
  font-size: 12px;
}
.view-btn.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

/* 侧边热榜栏 */
.sidebar-hot-panel {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.hot-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
}
.hot-rank-item:last-child { border-bottom: none; }
.rank-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #F2F3F5;
  color: #86909C;
  flex-shrink: 0;
}
.hot-rank-item:nth-child(1) .rank-num { background: #0D5CE5; color: #FFF; }
.hot-rank-item:nth-child(2) .rank-num { background: #00A3FF; color: #FFF; }
.hot-rank-item:nth-child(3) .rank-num { background: #38BDF8; color: #FFF; }

/* 正文详情页布局 */
.detail-layout {
  display: grid;
  grid-template-columns: 8.5fr 3.5fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.player-container {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.video-mock-screen {
  aspect-ratio: 16 / 9;
  position: relative;
  background: #0a0d14;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-mock-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-mock-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.big-play-trigger {
  position: absolute;
  width: 72px;
  height: 72px;
  background: rgba(13, 92, 229, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 92, 229, 0.45);
  transition: var(--transition-base);
}
.big-play-trigger:hover {
  transform: scale(1.1);
  background: var(--color-primary-hover);
}
.player-control-bar {
  background: rgba(18, 21, 26, 0.95);
  padding: 12px 20px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.control-left, .control-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.progress-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.progress-bar-current {
  width: 35%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
}

.article-box {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.article-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 14px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 13px;
}
.article-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.article-font-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.font-tool-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  cursor: pointer;
}

.audio-broadcast-box {
  background: #FFF9F9;
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.audio-btn-play {
  background: var(--color-primary);
  color: #FFF;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body-text {
  font-size: 16px;
  line-height: 1.85;
  color: #2D3748;
}
.article-body-text p {
  margin-bottom: 20px;
}
.article-body-text img {
  border-radius: var(--radius-sm);
  margin: 16px auto;
}
.article-highlight-quote {
  border-left: 4px solid var(--color-primary);
  background: var(--bg-secondary);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-title);
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.action-button-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 32px 0;
}
.action-btn-large {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  background: #FFF;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition-base);
}
.action-btn-large:hover, .action-btn-large.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 评论互动区 */
.comment-card-box {
  margin-top: 36px;
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}
.comment-input-area {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.comment-input-area textarea {
  flex: 1;
  height: 90px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  resize: vertical;
}
.comment-input-area textarea:focus {
  border-color: var(--color-primary);
}
.comment-submit-btn {
  background: var(--color-primary);
  color: #FFF;
  border: none;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}
.comment-submit-btn:hover {
  background: var(--color-primary-hover);
}
.comment-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  gap: 14px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-main {
  flex: 1;
}
.comment-user-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
}
.comment-user-name {
  font-weight: 700;
  color: var(--text-title);
}
.comment-time {
  color: var(--text-secondary);
  font-size: 12px;
}
.comment-content {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* 融媒报料/表单样式 */
.form-hero-banner {
  background: linear-gradient(135deg, #07152B 0%, #0D5CE5 50%, #00A3FF 100%);
  color: #FFF;
  padding: 36px 0;
  border-radius: var(--radius-md);
  margin: 20px 0 32px 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(13, 92, 229, 0.25);
}
.form-hero-banner h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-hero-banner p {
  font-size: 14px;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto;
}
.form-container-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  max-width: 880px;
  margin: 0 auto 48px auto;
}
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  background: #FFF;
  padding: 0 10px;
  text-align: center;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F2F3F5;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 6px auto;
  border: 2px solid #FFF;
}
.step-item.active .step-circle {
  background: var(--color-primary);
  color: #FFF;
  box-shadow: 0 0 0 4px var(--color-primary-light);
}
.step-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.step-item.active .step-label {
  color: var(--color-primary);
  font-weight: 700;
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}
.form-label.required::after {
  content: ' *';
  color: var(--color-primary);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition-base);
  background: #FFF;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 92, 229, 0.15);
}
.form-textarea {
  height: 120px;
  resize: vertical;
}
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .radio-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.radio-card-item {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
}
.radio-card-item:hover {
  border-color: var(--color-primary);
}
.radio-card-item.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
}
.upload-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: var(--transition-base);
}
.upload-dropzone:hover {
  border-color: var(--color-primary);
  background: #FFF9F9;
}
.upload-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.form-actions-row {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}
.btn-submit-primary {
  flex: 2;
  background: var(--color-primary);
  color: #FFF;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition-base);
}
.btn-submit-primary:hover {
  background: var(--color-primary-hover);
}
.btn-reset-secondary {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-body);
  cursor: pointer;
}

/* 个人中心与会员系统 */
.profile-hero {
  background: linear-gradient(135deg, #1A1E26 0%, #2A313D 100%);
  color: #FFF;
  border-radius: var(--radius-md);
  padding: 32px 40px;
  margin: 20px 0 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.profile-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-avatar-box {
  position: relative;
}
.profile-avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #FFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  object-fit: cover;
}
.vip-badge-tag {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #FFD700;
  color: #5A0808;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.profile-info h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.verify-badge {
  font-size: 12px;
  background: linear-gradient(135deg, #0D5CE5 0%, #00A3FF 100%);
  color: #FFF;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.profile-info p {
  font-size: 13px;
  color: #A6ADB9;
}
.profile-stats-row {
  display: flex;
  gap: 36px;
  text-align: center;
}
.stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
}
.stat-label {
  font-size: 12px;
  color: #A6ADB9;
  margin-top: 2px;
}
.user-layout-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .user-layout-grid {
    grid-template-columns: 1fr;
  }
}
.user-side-menu {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.user-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  margin-bottom: 4px;
  transition: var(--transition-base);
}
.user-nav-item:hover, .user-nav-item.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.user-panel-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.panel-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.panel-head-bar h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
}

/* 统一PbootCMS分页组件样式 */
.pagination-wrap, .page-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.page-btn, .page-index, .page-pre, .page-num, .page-next, .page-last {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}
.page-btn:hover, .page-index:hover, .page-pre:hover, .page-num:hover, .page-next:hover, .page-last:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary-border);
}
.page-btn.active, .page-current {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary) !important;
  color: #FFF !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* 招聘与岗位卡片 */
.job-item-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  transition: var(--transition-base);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-item-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}
.job-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}
.job-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.job-salary {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

/* 右侧浮动辅助挂件 */
.sbn-float-widget {
  position: fixed;
  right: 20px;
  bottom: 160px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sbn-float-widget .widget-item {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.sbn-float-widget .widget-item:hover {
  background: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.sbn-float-widget .widget-item a {
  color: inherit;
  text-decoration: none;
}
.sbn-float-widget a.widget-item {
  text-decoration: none;
  color: var(--text-body);
}
.sbn-float-widget a.widget-item:hover {
  color: #FFF;
}
.sbn-float-widget .widget-tip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.75);
  color: #FFF;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sbn-float-widget .widget-item:hover .widget-tip {
  opacity: 1;
}
.sbn-float-widget .scroll-to-top {
  margin-top: 4px;
}

/* ========================================================
   8. MOBILE APPS & TOUCH EXPERIENCE 移动端体验深度优化
======================================================== */

/* 全局触控与防溢出基底 */
html, body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 767px) {
  /* 页面底边距自动避让底部吸底 Tabbar + 全面屏安全区 */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  
  body.mobile-drawer-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* 输入框防止 iOS 自动放大 (保持不小于16px) */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* 容器移动端紧凑排布 */
  .container, .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 头部内边距优化 */
  .site-header {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .header-main {
    padding: 10px 0;
  }
  .brand-logo-wrap .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .brand-text-block h1 {
    font-size: 17px !important;
  }
  .brand-text-block p {
    font-size: 10px !important;
  }

  /* 顶部移动端水平横向滚动条 (APP 风格) */
  .nav-bar {
    padding: 4px 0 !important;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .nav-bar::-webkit-scrollbar {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
    margin-bottom: 0;
  }
  .nav-links li {
    flex-shrink: 0;
  }
  .nav-link {
    font-size: 14px !important;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: var(--radius-pill);
    color: var(--text-title);
    background: #F1F5F9;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  .nav-link.active {
    background: var(--color-primary);
    color: #FFF !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(13, 92, 229, 0.35);
  }
  .nav-link.active::after {
    display: none; /* 移动端采用胶囊背景代替下划线 */
  }

  /* 汉堡按钮微交互 */
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-title);
    background: #F1F5F9;
    border: none;
    font-size: 18px;
    transition: all 0.2s ease;
  }
  .mobile-nav-toggle:active,
  .mobile-nav-toggle.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
  }

  .mobile-search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #F1F5F9;
    color: var(--text-title);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 首页全域新闻电视滚动字幕通栏与今日要闻即时榜 移动端深度适配 */
  .headline-bar-wrapper {
    padding: 7px 0;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .headline-bar-wrapper.tv-ticker-bar {
    padding: 6px 0;
    margin-bottom: 12px;
  }
  .tv-ticker-container {
    gap: 10px;
  }
  .tv-ticker-badge {
    font-size: 11.5px;
    padding: 3px 8px;
    gap: 5px;
  }
  .tv-ticker-item {
    font-size: 13px;
    margin-right: 22px;
  }
  .tv-ticker-item:nth-child(2n+1)::before {
    font-size: 10px;
    padding: 1px 5px;
    margin-right: 8px;
    letter-spacing: 1px;
  }
  .tv-ticker-item:nth-child(2n)::before {
    margin-right: 8px;
    font-size: 11px;
  }
  .headline-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
    min-width: 0;
  }
  .headline-main-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .headline-tag {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .headline-title-text {
    font-size: 14px;
    line-height: 1.4;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .headline-title-text a {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #FFF;
  }
  .headline-links-sub {
    display: none !important;
  }

  /* 今日热点 · 要闻简报移动端防溢出适配 */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
  }
  .hero-main-carousel {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .hero-news-feed {
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 10px;
    width: 100%;
    min-width: 0;
  }
  .feed-header h3,
  .feed-header .feed-title {
    font-size: 15px;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .feed-header .badge {
    font-size: 10px;
    padding: 2px 6px;
    flex-shrink: 0;
    margin-left: 6px;
  }
  .hero-featured-news {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .hero-featured-news a {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
  }
  .feed-list {
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
  }
  .feed-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .feed-item-main {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .feed-item-main .badge {
    font-size: 10px !important;
    padding: 2px 5px !important;
    flex-shrink: 0;
  }
  .feed-item-main a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px !important;
    line-height: 1.35;
    display: block;
  }
}

/* 移动端侧滑抽屉面板 (Offcanvas Mobile Drawer) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 84%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.2);
}
.mobile-drawer-panel.show {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #F1F5F9;
  background: #FAFBFD;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0D5CE5 0%, #0084FF 100%);
  color: #FFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(13, 92, 229, 0.3);
}
.drawer-brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
}
.drawer-brand-text span {
  font-size: 10px;
  color: #64748B;
}
.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-close-btn:active {
  background: #CBD5E1;
  transform: scale(0.92);
}

.drawer-user-card {
  margin: 14px 16px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}
.drawer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E0E7FF;
  color: #0D5CE5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.drawer-nav-section {
  padding: 10px 16px;
}
.drawer-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.drawer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #EDF2F7;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.drawer-nav-item:hover,
.drawer-nav-item.active {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #0D5CE5;
}
.drawer-nav-item i {
  font-size: 14px;
  color: #64748B;
}
.drawer-nav-item.active i {
  color: #0D5CE5;
}

.drawer-quick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none !important;
}
.drawer-quick-link.highlight {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}
.drawer-quick-link:hover {
  color: #0D5CE5;
}

.drawer-footer-tools {
  margin-top: auto;
  padding: 16px;
  background: #FAFBFD;
  border-top: 1px solid #F1F5F9;
}
.drawer-hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

/* 升级版移动端底部吸底导航栏 (Bottom Tabbar) */
.mobile-fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(18, 24, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px)) 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.16);
}
.mobile-tabbar-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 480px;
}
.mobile-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #94A3B8;
  padding: 2px 0;
  position: relative;
  transition: transform 0.15s ease, color 0.2s ease;
}
.mobile-tab-item:hover,
.mobile-tab-item:focus {
  color: #CBD5E1;
}
.mobile-tab-item:active {
  transform: scale(0.92);
}
.mobile-tab-item.active {
  color: #38BDF8 !important;
}
.mobile-tab-item.active .tab-icon-wrap {
  color: #38BDF8;
  animation: tabActivePop 0.3s ease;
}
.mobile-tab-item.active .tab-label {
  color: #38BDF8;
  font-weight: 700;
}
.tab-icon-wrap {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 3px;
  position: relative;
  display: inline-block;
}
.tab-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
}
.tab-badge-dot {
  position: absolute;
  top: -2px;
  right: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  border: 1.5px solid #121826;
  animation: liveBadgePulse 1.8s infinite;
}
@keyframes liveBadgePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
@keyframes tabActivePop {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* 移动端轻量悬浮返回顶部按钮 */
.mobile-back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 92, 229, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFF;
  border: none;
  box-shadow: 0 4px 16px rgba(13, 92, 229, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1030;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.mobile-back-to-top:active {
  transform: scale(0.88);
}

/* 移动端悬浮 APP 下载按钮（右下角，与返回顶部按钮同规格） */
.mobile-app-download {
  position: fixed;
  right: 16px;
  bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 92, 229, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(13, 92, 229, 0.4);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.mobile-app-download:active {
  transform: scale(0.88);
}

/* 移动端详情页、列表页、正文及组件微调 */
@media (max-width: 767px) {
  /* 内页通用通栏横幅 Banner */
  .sbn-page-banner {
    padding: 24px 0 !important;
  }
  .banner-title {
    font-size: 22px !important;
  }
  .banner-subtitle {
    font-size: 13px !important;
  }

  /* 文章与新闻详情 */
  .article-box {
    padding: 16px 14px !important;
    border-radius: 8px !important;
  }
  .article-title {
    font-size: 19px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
  .article-meta-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .article-meta-left {
    font-size: 12px;
    gap: 8px 12px !important;
  }
  .article-body-text {
    font-size: 15.5px !important;
    line-height: 1.75 !important;
  }
  .article-body-text img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }
  .article-body-text table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 筛选面板在移动端横滑化 */
  .filter-box-card {
    padding: 14px !important;
  }
  .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 0;
  }
  .filter-label {
    min-width: unset;
    font-size: 12px;
    color: var(--text-secondary);
  }
  .filter-options {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-options::-webkit-scrollbar { display: none; }
  .filter-chip, .btn-filter-chip {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 子分类横滑卡片移动端自适应 */
  .sbn-subnav-filter .filter-card {
    padding: 10px 12px !important;
  }
  .sbn-subnav-filter .filter-card > div {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .sbn-subnav-filter .filter-card > div::-webkit-scrollbar {
    display: none;
  }
  .sbn-subnav-filter .filter-label {
    flex-shrink: 0;
    font-size: 13px;
  }

  /* 移动端剧目轮播高度优化 */
  #productCarousel .carousel-item img {
    height: 230px !important;
  }

  /* 移动端投递引导按钮组满宽化 */
  .article-box .d-inline-flex {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .article-box .d-inline-flex .btn {
    width: 100% !important;
  }

  /* 搜索页在移动端紧凑化 */
  .sbn-search-form .input-group-lg > .form-control {
    font-size: 14px !important;
    height: 44px !important;
    padding-left: 8px !important;
  }
  .sbn-search-form .input-group-lg > .input-group-append > .btn {
    height: 44px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
  }

  /* 分页器紧凑防换行折叠 */
  .pagination-wrap {
    gap: 4px;
    margin: 20px 0;
  }
  .page-btn, .page-index, .page-pre, .page-num, .page-next, .page-last {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
  .page-index, .page-last {
    display: none; /* 移动端隐藏首页/尾页以防溢出 */
  }

  /* 会员中心英雄区 */
  .profile-hero {
    padding: 20px 16px;
  }
  .profile-left {
    gap: 14px;
  }
  .profile-avatar-img {
    width: 64px;
    height: 64px;
  }
  .profile-info h2 {
    font-size: 18px;
  }
  .profile-stats-row {
    gap: 20px;
    width: 100%;
    justify-content: space-around;
  }
  .stat-val {
    font-size: 18px;
  }
}

/* ==========================================================================
   9. 胶囊筛选与分类芯片组件通用规范 (btn-filter-chip)
   ========================================================================== */
.btn-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-regular, #4B5563);
  background: var(--bg-neutral, #F3F4F6);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-filter-chip:hover {
  color: var(--brand-primary, #0D5CE5);
  background: rgba(13, 92, 229, 0.08);
  border-color: rgba(13, 92, 229, 0.2);
  text-decoration: none;
}
.btn-filter-chip.active {
  color: #FFFFFF !important;
  background: var(--brand-primary, #0D5CE5) !important;
  border-color: var(--brand-primary, #0D5CE5) !important;
  box-shadow: 0 2px 6px rgba(13, 92, 229, 0.3);
}
.btn-filter-chip .chip-count {
  font-size: 11px;
  opacity: 0.8;
  margin-left: 4px;
}

/* ==========================================================================
   10. 新闻详情页融媒自研播放器卡片 (sbn-article-player-wrap)
   适配微博 if 框架、视频及 HLS 直播自动替换
   ========================================================================== */
.sbn-article-player-wrap {
  position: relative;
  background: #0B0E14;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.16);
  border: 1px solid #1E293B;
  margin: 24px 0;
  transition: box-shadow 0.3s ease;
}

.sbn-article-player-wrap:hover {
  box-shadow: 0 10px 32px rgba(13, 92, 229, 0.2);
}

.sbn-player-ratio-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 标准黄金视听比例 */
  height: 0;
  background: #000000;
}

.sbn-player-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: #000;
}

.sbn-player-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #111827;
  color: #E2E8F0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sbn-player-info-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-right: 12px;
}

.sbn-player-info-left .badge {
  font-size: 11px;
  padding: 3px 8px;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
}

.sbn-player-title-text {
  color: #F1F5F9;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbn-player-source-link {
  color: #94A3B8;
  font-size: 12px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.sbn-player-source-link:hover {
  color: #38BDF8;
}

@media (max-width: 767px) {
  .sbn-article-player-wrap {
    margin: 16px 0;
    border-radius: 6px;
  }
  .sbn-player-info-bar {
    padding: 8px 12px;
    font-size: 12px;
  }
  .sbn-player-title-text {
    font-size: 12px;
  }
}

/* ==========================================================================
   11. App 内嵌模式 (html.app-mode)
   由 URL 参数 ?source=app 或 sessionStorage(sbn-app-mode) 触发
   保留顶栏与导航（App 套网页时依赖页面自身导航），全面隐藏所有"APP下载"入口
   ========================================================================== */
/* 全面隐藏 APP 下载入口：PC顶部栏、移动端右下角常驻悬浮按钮、抽屉菜单项及任何下载链接 */
html.app-mode .mobile-app-download,
html.app-mode .top-bar-app-download,
html.app-mode .drawer-quick-link[href*="download.php"],
html.app-mode a[href*="download.php"],
html.app-mode a[aria-label*="下载神兵融媒APP"],
html.app-mode a[title*="下载神兵融媒APP"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
/* 状态栏/安全区由 App 端原生导航栏负责，网页端不再写入 padding，避免双重留白 */


