/* 蜜桃视频 MITAO VIDEO - 全站样式 */
/* 柔和粉色系娱乐资讯品牌官网 */

:root {
  --bg-main: #FFF5F8;
  --bg-deep: #FFEBF1;
  --bg-content: #FFFFFF;
  --bg-secondary: #FFF0F5;
  --bg-hover: #FFE4EC;
  --text-title: #2D1B24;
  --text-body: #3D2A32;
  --text-secondary: #6B4E58;
  --text-aux: #9A7A85;
  --brand: #FF6B9D;
  --brand-light: #FF8FAB;
  --peach: #FFB3C6;
  --peach-light: #FFD6E3;
  --border: rgba(255,107,157,0.15);
  --border-strong: rgba(255,107,157,0.35);
  --shadow: 0 12px 36px rgba(255,107,157,0.12);
  --shadow-pink: 0 10px 28px rgba(255,107,157,0.18);
  --footer-bg: #2D1B24;
  --footer-text: #FFD6E3;
  --nav-height: 72px;
  --max-width: 1280px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--brand-light);
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.35;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); margin-bottom: 0.7rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.4rem;
}

li { margin-bottom: 0.4rem; }

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 245, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-title);
}

.brand-logo img {
  height: 36px;
  width: auto;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  position: relative;
}

.nav-menu a:hover {
  background: var(--bg-hover);
  color: var(--brand);
}

.nav-menu a.active {
  color: var(--brand);
  background: var(--bg-secondary);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--bg-hover);
  color: var(--brand);
}

.nav-btn-search {
  border: 1px solid var(--border);
}

.nav-btn-collection {
  border: 1px solid rgba(255,107,157,0.4);
  color: var(--brand);
}

.nav-btn-app {
  background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-pink);
}

.nav-btn-app:hover {
  color: #FFFFFF;
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(255,107,157,0.28);
}

.nav-btn-menu {
  display: none;
  background: var(--bg-secondary);
  color: var(--brand);
}

/* 移动端顶部 */
.mobile-brand {
  display: none;
  flex: 1;
  justify-content: center;
}

@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-btn-collection { display: none; }
  .nav-btn-menu { display: inline-flex; }
  .mobile-brand { display: flex; }
  .nav-left .brand-logo { display: none; }
  .nav-right { gap: 8px; }
}

/* ========== 主内容区 ========== */
main {
  min-height: calc(100vh - var(--nav-height) - 200px);
  padding-bottom: 40px;
}

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

@media (max-width: 640px) {
  .container { padding: 0 15px; }
}

/* ========== 首页首屏 ========== */
.hero {
  padding: 32px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-deep);
  min-height: 360px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(145deg, #FFE4EC 0%, #FFD6E3 40%, #FFB3C6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.hero-brand {
  font-size: 0.95rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 16px;
  color: var(--text-title);
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  color: #FFFFFF;
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(255,107,157,0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,107,157,0.4);
  color: var(--brand);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--brand);
}

.hero-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-tip span {
  color: var(--brand);
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
    min-height: 240px;
  }
  .hero-content {
    order: 1;
  }
}

/* ========== 频道快捷条 ========== */
.channel-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 36px;
}

.channel-strip-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
}

.channel-strip-inner::-webkit-scrollbar {
  display: none;
}

.channel-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-body);
  white-space: nowrap;
}

.channel-chip:hover,
.channel-chip.active {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--brand);
}

/* ========== 通用区块 ========== */
.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  margin: 0;
}

.section-more {
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}

.section-more:hover {
  color: var(--brand-light);
}

/* 卡片 */
.card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-pink);
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--text-aux);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 网格 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

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

/* 主题胶囊 */
.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-width: 140px;
  flex: 1 1 160px;
  max-width: 280px;
  transition: all 0.2s ease;
}

.theme-pill:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
  box-shadow: var(--shadow);
}

.theme-pill strong {
  color: var(--text-title);
  font-size: 0.98rem;
}

.theme-pill span {
  font-size: 0.82rem;
  color: var(--text-aux);
  line-height: 1.5;
}

/* 主推荐 + 列表 */
.feature-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .feature-main { grid-template-columns: 1fr; }
}

.feature-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  padding: 16px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.feature-item .tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--brand);
  background: var(--bg-secondary);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

/* 横向轨道 */
.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.track-card {
  flex: 0 0 220px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: all 0.2s ease;
}

.track-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

/* 编号目录 */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.num-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.num-item .num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  min-width: 36px;
}

/* 杂志不对称 */
.magazine {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.magazine-wide {
  grid-column: 1 / -1;
}

@media (max-width: 800px) {
  .magazine { grid-template-columns: 1fr; }
}

/* 片单 */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.collection-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
}

.collection-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-pink);
}

.collection-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* 榜单编号 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.rank-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  min-width: 42px;
  line-height: 1;
}

/* 时间轨道 */
.timeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.timeline-item {
  flex: 0 0 200px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.timeline-status {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--brand);
  margin-bottom: 8px;
}

/* 观点列表 */
.critique-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.critique-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 20px 22px;
}

.critique-label {
  display: inline-block;
  font-size: 0.75rem;
  color: #FFFFFF;
  background: var(--brand);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

/* 页面通用标题区 */
.page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-main) 100%);
  margin-bottom: 32px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.75;
}

.page-content {
  padding-bottom: 40px;
}

.prose {
  max-width: 800px;
}

.prose p {
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.content-block {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

/* FAQ */
details {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}

summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-title);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-body {
  padding: 16px 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ========== 频道面板 ========== */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 27, 36, 0.45);
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.panel-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 88vw);
  height: 100%;
  background: var(--bg-content);
  z-index: 2010;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  box-shadow: -12px 0 40px rgba(255,107,157,0.15);
}

.channel-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.panel-header .brand-logo img {
  height: 32px;
}

.panel-close {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  color: var(--brand);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.panel-group {
  margin-bottom: 28px;
}

.panel-group-title {
  font-size: 0.82rem;
  color: var(--text-aux);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 600;
}

.panel-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 0.2s ease;
}

.panel-link:hover {
  background: var(--bg-hover);
}

.panel-link strong {
  display: block;
  color: var(--text-title);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.panel-link span {
  font-size: 0.82rem;
  color: var(--text-aux);
  line-height: 1.45;
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-content);
  z-index: 1500;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.search-panel.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.search-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  background: var(--bg-secondary);
  color: var(--text-body);
  outline: none;
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,107,157,0.15);
}

.search-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-content);
  color: var(--brand);
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search-tag {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-body);
  border: 1px solid transparent;
}

.search-tag:hover {
  border-color: var(--border-strong);
  color: var(--brand);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-main);
  color: var(--text-body);
}

.search-result-item:hover {
  background: var(--bg-hover);
  color: var(--brand);
}

.search-result-item.hidden {
  display: none;
}

@media (max-width: 640px) {
  .search-panel {
    top: 0;
    height: 100%;
    max-height: 100%;
  }
}

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 245, 248, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  gap: 2px;
  padding: 4px;
}

.mobile-bottom-nav a.active {
  color: var(--brand);
  font-weight: 600;
}

.mobile-bottom-nav .icon {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 960px) {
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 32px;
  margin-top: 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 34px;
  width: auto;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand-en {
  font-size: 0.8rem;
  color: var(--peach-light);
  letter-spacing: 0.08em;
}

.footer-intro {
  font-size: 0.9rem;
  color: var(--peach-light);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--peach-light);
  font-size: 0.88rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-col a:hover {
  color: #FFFFFF;
  opacity: 1;
}

.footer-note {
  font-size: 0.82rem;
  color: var(--peach-light);
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 16px;
  max-width: 800px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--peach);
  opacity: 0.7;
  padding-top: 16px;
  border-top: 1px solid rgba(255,214,227,0.15);
}

/* ========== 工具类 ========== */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--brand);
}

.text-aux { color: var(--text-aux); }
.text-secondary { color: var(--text-secondary); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }

/* 图片占位 */
.img-placeholder {
  background: linear-gradient(145deg, #FFE4EC, #FFD6E3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-aux);
  font-size: 0.9rem;
  min-height: 160px;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* 防止横向滚动 */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 内页特殊布局补充 */
.idol-track .track-card { flex: 0 0 200px; }
.cinema-wall {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .cinema-wall { grid-template-columns: 1fr; }
}

.drama-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .drama-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .drama-cats { grid-template-columns: 1fr; }
}

.idea-cover {
  background: linear-gradient(135deg, var(--bg-deep), var(--peach-light));
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  margin-bottom: 32px;
}

.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .app-showcase { grid-template-columns: 1fr; }
}

.brand-statement {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}

/* 确保按钮可点击区域 */
button, .btn, .nav-btn, a.btn {
  -webkit-tap-highlight-color: transparent;
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
