/* 麻豆 MADOU FILMS - 官方网站样式 */
/* 纯黑、深灰、白色、银灰色极简影视品牌视觉 */

:root {
  --bg-page: #000000;
  --bg-deep: #050505;
  --bg-content: #0B0B0B;
  --bg-secondary: #121212;
  --bg-hover: #1A1A1A;
  --white: #FFFFFF;
  --title: #F7F7F7;
  --text: #DDDDDD;
  --text-secondary: #A5A5A5;
  --text-muted: #727272;
  --light-bg: #EDEDED;
  --silver: #C7C7C7;
  --dark-gray: #2A2A2A;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.40);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
  --glow: 0 12px 34px rgba(255, 255, 255, 0.08);
  --max-width: 1320px;
  --nav-height: 64px;
  --topbar-height: 36px;
  --channel-height: 48px;
}

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

html {
  font-size: 16px;
  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-page);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.panel-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

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

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

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

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

/* ========== 顶部信息栏 ========== */
.topbar {
  background: #000;
  border-bottom: 1px solid var(--border);
  height: var(--topbar-height);
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  z-index: 100;
}

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

.topbar-left {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-center {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.topbar-center a {
  color: var(--text-secondary);
}

.topbar-center a:hover {
  color: var(--white);
}

.topbar-right {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}

.topbar-right a,
.topbar-right button {
  color: var(--text-secondary);
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.topbar-right a:hover,
.topbar-right button:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .topbar-center {
    display: none;
  }
  .topbar-left {
    font-size: 11px;
  }
  .topbar-right a:not(.topbar-search),
  .topbar-right .topbar-help {
    display: none;
  }
}

/* ========== 品牌导航 ========== */
.brand-nav {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-height);
}

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

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

.btn-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-menu:hover {
  border-color: var(--border-strong);
  color: var(--white);
}

.btn-menu svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.current-channel {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 120px;
}

.nav-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.nav-logo img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--silver);
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 44px;
  background: var(--white);
  color: #000 !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid var(--white);
}

.btn-primary:hover {
  background: var(--light-bg);
  color: #000 !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  background: transparent;
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .current-channel {
    display: none;
  }
  .nav-right .btn-secondary {
    display: none;
  }
  .nav-logo {
    min-width: 80px;
  }
  .logo-text {
    font-size: 16px;
  }
  .logo-sub {
    font-size: 9px;
  }
}

/* ========== 影视频道导航 ========== */
.channel-nav {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  height: var(--channel-height);
  position: relative;
  z-index: 80;
}

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

.channel-list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}

.channel-list::-webkit-scrollbar {
  display: none;
}

.channel-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  min-height: 44px;
}

.channel-list a:hover {
  color: var(--white);
}

.channel-list a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

.channel-more {
  position: relative;
  flex-shrink: 0;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  min-height: 44px;
  cursor: pointer;
  border: none;
  background: none;
}

.btn-more:hover {
  color: var(--white);
}

.more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 180px;
  padding: 8px 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

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

.more-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.more-menu a:hover {
  background: var(--bg-hover);
  color: var(--white);
}

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}

.page-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}

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

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

/* ========== 首页主视觉 ========== */
.hero-screen {
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-banner {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.05);
}

.hero-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0B0B0B 0%, #1A1A1A 100%);
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.hero-content h1 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.06em;
}

.hero-content .intro {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.8;
  font-size: 0.98rem;
}

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

.hero-news {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-news-item {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.hero-news-item:first-child {
  border-top: none;
  padding-top: 0;
}

.hero-news-item .tag {
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: block;
}

.hero-news-item a {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}

.hero-news-item a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-content {
    order: -1;
  }
}

/* ========== 通用区块 ========== */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
  margin-bottom: 0;
}

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

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

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

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

.card-media {
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.35s ease, filter 0.35s;
}

.card:hover .card-media img {
  transform: scale(1.03);
  filter: grayscale(10%);
}

.card-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--bg-secondary);
}

.card-body {
  padding: 18px 18px 20px;
}

.card-tag {
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.card-title {
  font-size: 1.05rem;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: block;
  color: inherit;
}

.card-link:hover .card-title {
  color: var(--white);
}

/* 列表式内容 */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

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

.list-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1;
  letter-spacing: -0.02em;
}

.list-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.list-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .list-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .list-num {
    font-size: 1.4rem;
  }
}

/* 双栏 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* 信息块 */
.info-block {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}

.info-block h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.info-block p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.info-block p:last-child {
  margin-bottom: 0;
}

/* 按钮组 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* 页面正文 */
.page-content {
  padding: 40px 0 60px;
}

.page-content .prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

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

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

.prose ul, .prose ol {
  margin: 1rem 0 1.2rem 1.4rem;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.prose strong {
  color: var(--title);
  font-weight: 600;
}

/* FAQ */
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--title);
  font-size: 1rem;
  padding: 4px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-right: 24px;
}

/* ========== 全站栏目面板 ========== */
.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.side-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.side-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.side-panel.open .side-panel-overlay {
  opacity: 1;
}

.side-panel-content {
  position: absolute;
  top: 0;
  left: 0;
  width: min(520px, 90vw);
  height: 100%;
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-panel.open .side-panel-content {
  transform: translateX(0);
}

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

.side-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-panel-brand img {
  height: 26px;
  width: auto;
}

.side-panel-brand .logo-text {
  font-size: 16px;
}

.btn-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-close:hover {
  color: var(--white);
  border-color: var(--border);
}

.btn-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

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

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

.panel-group-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.panel-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.panel-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 4px;
  display: block;
}

.panel-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.panel-item:hover .panel-item-name {
  color: var(--white);
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: #000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
  display: flex;
  flex-direction: column;
}

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

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

.search-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 20px 60px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.search-form {
  margin-bottom: 40px;
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  background: var(--bg-content);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--white);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--white);
}

.search-section {
  margin-bottom: 36px;
}

.search-section h3 {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 500;
}

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

.search-tags a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
}

.search-tags a:hover {
  border-color: var(--white);
  color: var(--white);
}

.search-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-links a {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-links a:hover {
  color: var(--white);
}

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

.search-result-item.visible {
  display: block;
}

/* ========== 手机底部导航 ========== */
.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(0, 0, 0, 0.96);
  border-top: 1px solid var(--border);
  z-index: 70;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-height: 48px;
  font-size: 11px;
  color: var(--text-muted);
  gap: 2px;
  padding: 6px 0;
}

.mobile-bottom-nav a.active {
  color: var(--white);
}

.mobile-bottom-nav a span {
  font-size: 10px;
  letter-spacing: 0.02em;
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  main {
    padding-bottom: 80px;
  }
  .footer {
    padding-bottom: 80px;
  }
}

/* ========== 页脚 ========== */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand .logo-text {
  font-size: 20px;
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 13px;
  color: var(--title);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-notice {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 20px;
}

.footer-notice p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 900px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

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

/* ========== 通用工具 ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.focus-visible:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 内容页特殊 */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.feature-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.meta-row span strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.notice-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.notice-box strong {
  color: var(--title);
}

/* 日历/计划 */
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plan-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.plan-status {
  font-size: 12px;
  color: var(--silver);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.plan-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.plan-body p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .plan-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* APP 页面 */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.app-visual {
  aspect-ratio: 4 / 5;
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  background: linear-gradient(160deg, #0B0B0B, #1A1A1A);
}

@media (max-width: 768px) {
  .app-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-visual {
    max-width: 240px;
  }
  .app-hero .btn-group {
    justify-content: center;
  }
}

/* 评级说明 */
.rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.rating-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
}

.rating-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--title);
}

.rating-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* 联系表单样式（无提交） */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.contact-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

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

/* 打印与基础可读性 */
@media print {
  .topbar, .brand-nav, .channel-nav, .mobile-bottom-nav, .side-panel, .search-panel {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}