/* ==========================================================================
   包子漫画 · 二次元高颜值正版 APP 下载落地页 (Anime Manga App Landing Page)
   ========================================================================== */

:root {
  --primary: #FF477E;
  --primary-hover: #FF1F60;
  --primary-glow: rgba(255, 71, 126, 0.35);
  --secondary: #FF7096;
  --accent: #FF85A1;
  --bg-page: #FFF0F4;
  --bg-card: #FFFFFF;
  --border: rgba(255, 71, 126, 0.16);
  --text: #261523;
  --text-sub: #5C4356;
  --text-muted: #8A7082;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.page-huangguo-app {
  background-color: var(--bg-page);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(255, 71, 126, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 68%, rgba(255, 112, 150, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: min(92vw, 1320px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. 顶部粉色二次元品牌导航
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(255, 71, 126, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}
.brand-logo img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255, 71, 126, 0.2);
}
.brand-badge {
  font-size: 0.68rem;
  padding: 2px 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
}
.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 126, 0.45);
}

/* 移动端药丸导航 */
.mobile-pill-bar {
  display: none;
  background: #FFF;
  border-top: 1px solid rgba(255, 71, 126, 0.1);
  padding: 6px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-pill-bar::-webkit-scrollbar { display: none; }
.mobile-pill-scroll { display: flex; gap: 8px; width: max-content; }
.mobile-pill-item {
  padding: 4px 14px;
  border-radius: 16px;
  background: #FFF5F8;
  color: var(--text-sub);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--border);
}
.mobile-pill-item.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 面包屑 */
.breadcrumb-bar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(255, 71, 126, 0.1);
  padding: 10px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.current-crumb { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   2. Hero 软件详情大卡 (高颜值二次元落地页)
   ========================================================================== */
.hero-section {
  padding: 28px 0 36px;
}

.hero-app-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(255, 71, 126, 0.1);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.app-header-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.app-main-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(255, 71, 126, 0.25);
  flex-shrink: 0;
  border: 2px solid #FFF;
}
.app-main-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-header-texts {
  flex: 1;
}
.app-h1 {
  font-size: 1.55rem;
  font-weight: 950;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.app-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.rating-stars { color: #E67E22; font-weight: 800; }
.badge-pill {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-pink { background: rgba(255, 71, 126, 0.1); color: var(--primary); border: 1px solid rgba(255, 71, 126, 0.2); }
.badge-green { background: #E8F9F1; color: #0E8A51; border: 1px solid rgba(14, 138, 81, 0.2); }

.time-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ac-tf-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.ac-tf-time { background: #FFF5F8; color: var(--primary); border: 1px solid rgba(255, 71, 126, 0.25); }
.ac-tf-ver { background: #FFF; color: #5C4356; border: 1px solid rgba(255, 71, 126, 0.18); }
.ac-tf-safe { background: #E8F9F1; color: #0E8A51; border: 1px solid rgba(14, 138, 81, 0.2); }

/* 8维规格网格小表 */
.app-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
  background: #FFF5F8;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.84rem;
  margin-bottom: 22px;
}
.spec-k { color: var(--text-muted); }
.spec-v { color: var(--text); font-weight: 700; }
.text-pink { color: var(--primary) !important; }

/* 核心下载按键 */
.dl-buttons-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.btn-dl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 28px;
  text-decoration: none;
  transition: var(--transition);
  flex: 1;
}
.btn-dl-android {
  background: linear-gradient(135deg, var(--primary) 0%, #FF2668 100%);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 71, 126, 0.35);
}
.btn-dl-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 71, 126, 0.5);
}
.btn-dl-ios {
  background: #FFF;
  color: var(--text) !important;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.btn-dl-ios:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
}
.btn-dl-icon { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.btn-dl-text strong { display: block; font-size: 0.94rem; line-height: 1.2; }
.btn-dl-text small { font-size: 0.72rem; opacity: 0.88; }

.dl-safe-tip {
  background: #FFF8FA;
  border: 1px solid rgba(255, 71, 126, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.76rem;
  color: #8A4060;
}

/* 右侧视觉大图 */
.hero-app-visual {
  display: flex;
  justify-content: center;
}
.visual-frame {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #FFF;
  box-shadow: 0 10px 30px rgba(255, 71, 126, 0.18);
  background: #FFF;
  text-align: center;
}
.visual-frame img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.visual-caption {
  display: block;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: #FFF5F8;
}

/* ==========================================================================
   3. 通栏全景分层与精选漫画橱窗
   ========================================================================== */
.section-block {
  padding: 48px 0;
}
.section-white {
  background: #FFFFFF;
  border-top: 1px solid rgba(255, 71, 126, 0.1);
  border-bottom: 1px solid rgba(255, 71, 126, 0.1);
}
.section-pink {
  background: #FFF5F8;
  border-bottom: 1px solid rgba(255, 71, 126, 0.1);
}

.panel-header {
  margin-bottom: 24px;
}
.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 16px;
  background: rgba(255, 71, 126, 0.1);
  border: 1px solid rgba(255, 71, 126, 0.22);
  color: var(--primary);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.panel-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}
.panel-subtitle {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.drama-card {
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 71, 126, 0.15);
  box-shadow: 0 4px 16px rgba(255, 71, 126, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.drama-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 71, 126, 0.18);
}
.poster-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: #FCE8EE;
  overflow: hidden;
}
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}
.drama-card:hover .poster-wrap img { transform: scale(1.05); }

.drama-badge-category {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}
.drama-heat {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(38, 21, 35, 0.78);
  color: #FFE5EE;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

.drama-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.drama-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drama-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.drama-eps {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 700;
  background: rgba(255, 71, 126, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
}
.drama-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.drama-footer {
  margin-top: auto;
  padding-top: 6px;
}
.drama-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 7px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #FF6088 100%);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(255, 71, 126, 0.25);
  transition: var(--transition);
}
.drama-cta-btn:hover {
  background: linear-gradient(135deg, #FF1F60 0%, var(--primary) 100%);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. 主流手机安装排错指引与问答 (双列并排)
   ========================================================================== */
.faq-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.dual-col {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(255, 71, 126, 0.05);
}
.col-head { margin-bottom: 16px; }
.col-title { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.col-subtitle { font-size: 0.8rem; color: var(--text-sub); }

.trouble-box-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trouble-card-item {
  background: #FFF5F8;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.trouble-card-item h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.trouble-card-item p {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #FFF5F8;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icon { font-size: 1.1rem; color: var(--primary); font-weight: 800; }
.faq-a {
  display: none;
  padding: 0 14px 12px;
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.5;
  border-top: 1px dashed rgba(255, 71, 126, 0.16);
  padding-top: 8px;
}
.faq-item.active .faq-a { display: block; }

/* ==========================================================================
   5. 极简粉色正规页脚 (Slim Footer)
   ========================================================================== */
.footer-slim {
  background: #FFF;
  border-top: 1px solid var(--border);
  padding: 26px 0 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
}
.footer-brand-line strong { font-weight: 800; }
.footer-links-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
}
.footer-links-line a { color: var(--text-sub); font-weight: 600; }
.footer-links-line a:hover { color: var(--primary); }
.footer-legal-line p { font-size: 0.72rem; color: var(--text-muted); }

/* ==========================================================================
   6. 移动端吸底工具条 (<= 52px)
   ========================================================================== */
.mobile-sticky-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 71, 126, 0.25);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
}
.m-sticky-left { display: flex; align-items: center; gap: 8px; }
.m-sticky-text { display: flex; flex-direction: column; }
.m-sticky-text strong { font-size: 0.8rem; color: var(--text); line-height: 1.2; font-weight: 800; }
.m-sticky-text small { font-size: 0.68rem; color: var(--primary); line-height: 1.1; font-weight: 700; }
.m-sticky-right { display: flex; align-items: center; gap: 8px; }
.m-sticky-btn {
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), #FF2668);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.m-sticky-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ==========================================================================
   7. 响应式适配
   ========================================================================== */
@media (max-width: 992px) {
  .hero-app-card { grid-template-columns: 1fr; }
  .hero-app-visual { display: none; }
  .faq-dual-panel { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-pill-bar { display: block; }
  .mobile-sticky-bottom { display: flex; }
  .header .nav-inner { height: 56px; }
  .app-specs-grid { grid-template-columns: repeat(2, 1fr); font-size: 0.78rem; }
  .dl-buttons-row { flex-direction: column; }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .poster-wrap { height: 150px; }
  .hero-app-card { padding: 20px 16px; }
  .app-main-icon { width: 64px; height: 64px; }
  .app-h1 { font-size: 1.25rem; }
}

.single-page-sitemap{margin:20px auto 0;text-align:left}.single-page-sitemap>summary{cursor:pointer;font-size:13px;color:#6e4d62;padding:12px 0}.single-page-sitemap ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.single-page-sitemap li a{display:block;padding:10px 12px;background:#fff5f8;border:1px solid #ffd7e5;border-radius:8px;font-size:12px;color:#6e4d62}.single-page-sitemap li a:hover{color:#ff4d79}@media(max-width:600px){.single-page-sitemap ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ==========================================================================
   8. 权威深度档案、更新日志、安全认证与生态矩阵组件 (SEO 12满星适配)
   ========================================================================== */
.ac-safety-cert-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #FFF0F4;
  border: 1px dashed rgba(255, 71, 126, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #7A3350;
  margin-top: 14px;
}
.ac-safety-cert-bar .cert-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.ac-changelog-box {
  background: #FFF9FB;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 16px;
}
.ac-changelog-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.ac-changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-sub);
}
.ac-changelog-list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}
.ac-changelog-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 900;
}

.ac-trouble-brand {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.ac-trouble-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}

.ac-matrix-nav {
  margin: 18px auto 8px;
  padding: 14px 18px;
  background: #FFF5F8;
  border: 1px solid rgba(255, 71, 126, 0.2);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
}
.ac-matrix-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.ac-matrix-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.ac-matrix-item {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--text-sub);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.ac-matrix-item:hover {
  background: #FFE5EE;
  color: var(--primary);
  border-color: var(--primary);
}
.ac-matrix-active {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary) !important;
}

