/* 蜜桃视频 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-focus: 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;
  --radius: 14px;
  --radius-lg: 18px;
  --nav-height: 72px;
  --max-width: 1280px;
  --transition: 0.25s ease;
}

*,
*::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;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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);
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  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.6rem;
}

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

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

li {
  margin-bottom: 0.4rem;
}

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

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

/* ========== 顶部导航 ========== */
.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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-title);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.logo-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  color: var(--brand);
  letter-spacing: 0.02em;
}

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

.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--transition);
}

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

.nav-menu a.active {
  color: var(--brand);
  background: var(--bg-secondary);
  box-shadow: inset 0 -2px 0 var(--brand);
}

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

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

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

.nav-btn-search {
  font-size: 1.1rem;
}

.nav-btn-collection {
  border: 1px solid var(--border-focus);
  color: var(--brand);
}

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

.nav-btn-app:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* 手机顶部：菜单按钮 + logo + APP */
.mobile-menu-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--text-title);
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.mobile-menu-btn:hover {
  background: var(--bg-hover);
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
  .nav-btn-collection {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .nav-left {
    flex: 1;
    justify-content: center;
  }
  .logo-link {
    margin: 0 auto;
  }
  .nav-inner {
    padding: 0 12px;
  }
}

/* ========== 频道面板 ========== */
.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 88vw;
  height: 100%;
  background: var(--bg-content);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(45, 27, 36, 0.12);
}

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

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

.channel-panel-header .logo-link {
  font-size: 1.05rem;
}

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

.channel-close:hover {
  background: var(--bg-hover);
  color: var(--brand);
}

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

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

.channel-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-aux);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-left: 4px;
}

.channel-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 6px;
  transition: background var(--transition);
  color: inherit;
}

.channel-item:hover {
  background: var(--bg-secondary);
}

.channel-item-name {
  font-weight: 600;
  color: var(--text-title);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.channel-item-desc {
  font-size: 0.82rem;
  color: var(--text-aux);
  line-height: 1.45;
}

/* 遮罩 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 27, 36, 0.35);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

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

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-content);
  z-index: 1800;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
  display: flex;
  flex-direction: column;
}

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

.search-panel-inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 20px 40px;
  flex: 1;
  overflow-y: auto;
}

.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.search-close {
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.search-input-wrap {
  position: relative;
  margin-bottom: 28px;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 1.05rem;
  background: var(--bg-main);
  color: var(--text-title);
  outline: none;
  transition: border-color var(--transition);
}

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

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

.search-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-aux);
  margin-bottom: 12px;
}

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

.search-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
}

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

.search-links {
  list-style: none;
  padding: 0;
}

.search-links li {
  margin-bottom: 8px;
}

.search-links a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--text-body);
  transition: background var(--transition);
}

.search-links a:hover {
  background: var(--bg-secondary);
  color: var(--brand);
}

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

.mobile-bottom-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 56px;
}

.mobile-bottom-nav li {
  flex: 1;
  margin: 0;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 48px;
  color: var(--text-aux);
  font-size: 0.7rem;
  font-weight: 500;
  gap: 2px;
}

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

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

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0) + 12px);
  }
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

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

.btn-primary:hover {
  filter: brightness(1.06);
  color: #fff;
  transform: translateY(-1px);
}

.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);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.2rem 0;
}

/* ========== 通用卡片与区块 ========== */
.section {
  padding: 48px 0;
}

.section-title {
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 640px;
}

.card {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-secondary);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.tag-light {
  background: var(--peach-light);
  color: var(--text-secondary);
}

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

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

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-deep);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.hero-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #FFE4EC 0%, #FFD6E3 50%, #FFB3C6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

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

.hero-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

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

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero-rec-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.hero-rec-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-rec-list li:last-child {
  border-bottom: none;
}

.hero-rec-list a {
  color: var(--text-body);
  font-weight: 500;
}

.hero-rec-list a:hover {
  color: var(--brand);
}

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

/* 频道快捷条 */
.quick-bar {
  padding: 16px 0 28px;
  overflow: hidden;
}

.quick-bar-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.quick-bar-inner::-webkit-scrollbar {
  display: none;
}

.quick-item {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}

.quick-item:hover,
.quick-item.active {
  background: var(--bg-hover);
  color: var(--brand);
  border-color: var(--border-focus);
}

/* 灵感胶囊 */
.inspire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.inspire-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: all var(--transition);
}

.inspire-item:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow);
}

.inspire-name {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.inspire-desc {
  font-size: 0.82rem;
  color: var(--text-aux);
  line-height: 1.5;
  margin: 0;
}

/* 热议主推 */
.buzz-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

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

.buzz-feature-type {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.buzz-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buzz-side-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: all var(--transition);
}

.buzz-side-item:hover {
  border-color: var(--border-focus);
  background: var(--bg-secondary);
}

.buzz-side-item h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.buzz-side-item p {
  font-size: 0.85rem;
  color: var(--text-aux);
  margin: 0;
}

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

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

.track-item {
  flex: 0 0 220px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.track-item:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow);
}

/* 电影精选宽幅 */
.cinema-feature {
  background: var(--bg-content);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

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

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

/* 短片编号目录 */
.micro-list {
  display: grid;
  gap: 12px;
}

.micro-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--transition);
}

.micro-item:hover {
  border-color: var(--border-focus);
}

.micro-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--peach);
  line-height: 1;
}

/* 剧集浅粉底 */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.drama-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--transition);
}

.drama-card:hover {
  background: var(--bg-hover);
  box-shadow: var(--shadow);
}

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

.magazine-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.magazine-item:nth-child(odd) {
  transform: translateY(0);
}

.magazine-item:nth-child(even) {
  margin-top: 24px;
}

@media (max-width: 700px) {
  .magazine {
    grid-template-columns: 1fr;
  }
  .magazine-item:nth-child(even) {
    margin-top: 0;
  }
}

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

.collection-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.collection-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
}

/* 大编号榜单 */
.rank-list {
  list-style: none;
  padding: 0;
}

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

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

.rank-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--peach);
  line-height: 1;
}

/* 时间轨道 */
.timeline {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.timeline-item {
  flex: 0 0 240px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

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

/* 编辑观点 */
.critique-list {
  display: grid;
  gap: 18px;
}

.critique-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.critique-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--bg-secondary);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* 知识索引 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

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

.knowledge-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow);
}

/* APP 介绍 */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-content);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow);
}

.app-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-visual img {
  width: 100%;
  object-fit: contain;
  max-height: 360px;
}

.app-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 360px;
  background: linear-gradient(160deg, #FFE4EC, #FFB3C6);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 700;
}

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

/* 版权与分级双栏 */
.dual-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .dual-block {
    grid-template-columns: 1fr;
  }
}

.dual-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

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

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

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 品牌宣言 */
.brand-manifesto {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
}

.brand-manifesto p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}

/* 内页通用头部 */
.page-header {
  padding: 36px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0;
}

/* 内容区 */
.content-block {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.content-block h2 {
  margin-top: 1.6rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  line-height: 1.8;
}

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

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

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

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

.footer-brand-en {
  font-size: 0.8rem;
  color: var(--peach-light);
  letter-spacing: 0.1em;
  margin-left: 8px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--peach-light);
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0.9;
}

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

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  color: var(--peach-light);
  font-size: 0.9rem;
  padding: 5px 0;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

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

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

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

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

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

/* 工具类 */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* 减少动画 */
@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;
  }
}

/* 正文链接 */
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* 防止横向滚动 */
body, .site-header, .container, main {
  max-width: 100vw;
  overflow-x: hidden;
}
