:root {
  --cream: #FDF6EC;
  --white: #FFFFFF;
  --ink: #3A2E2A;
  --ink-light: #7A6A62;
  --pink: #FFB7C5;
  --pink-deep: #FF8FA9;
  --blue: #5BC8F5;
  --orange: #F26522;
  --yellow: #FFE9A8;
  --border-thick: 2px solid var(--ink);
  --border-thicker: 3px solid var(--ink);
  --border-dashed: 1px dashed #E7DCD0;
  --shadow-card: 4px 4px 0 rgba(58,46,42,.10);
  --shadow-panel: 6px 6px 0 rgba(58,46,42,.12);
  --radius-lg: 18px;
  --radius-card: 14px;
  --radius-tag: 8px;
  --radius-bubble: 16px;
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 网点纸装饰 */
.screentone {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(58,46,42,.28) 1px, transparent 1.4px);
  background-size: 5px 5px; opacity: .06;
}
.st-corner-tl { top: 0; left: 0; width: 140px; height: 140px; }
.st-corner-br { bottom: 0; right: 0; width: 140px; height: 140px; }

/* 拟声词 */
.onomatopoeia {
  position: absolute; font-size: clamp(40px, 6vw, 90px); font-weight: 900;
  color: rgba(58,46,42,.06); pointer-events: none; z-index: 0;
  white-space: nowrap; user-select: none;
}

/* 容器 */
.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1; }

/* 信息条 */
.top-bar {
  background-color: var(--ink); color: var(--white);
  font-size: 13px; padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--pink); font-weight: 700; }
.top-bar span { opacity: .8; }

/* 导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background-color: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thick);
  height: 66px;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.brand img { height: 34px; width: 34px; border-radius: 8px; border: var(--border-thick); }
.brand .num { color: var(--pink-deep); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; font-weight: 600; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 3px;
  background-color: var(--pink-deep); border-radius: 4px; transition: width .18s;
}
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  background-color: var(--pink); color: var(--ink);
  border: var(--border-thick); border-radius: 50px;
  padding: 0 18px; height: 38px; line-height: 34px;
  font-size: 14px; font-weight: 800; box-shadow: var(--shadow-card);
  transition: transform .18s, box-shadow .18s;
}
.btn-nav:hover { transform: translateY(2px); box-shadow: 2px 2px 0 rgba(58,46,42,.1); }
.menu-toggle { display: none; background: none; border: var(--border-thick); border-radius: 8px; width: 38px; height: 38px; font-size: 20px; font-weight: 800; cursor: pointer; }

/* 首屏 */
.hero { padding: clamp(72px, 8vw, 96px) 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-left { position: relative; z-index: 1; }
.hero-badge { display: inline-block; background-color: var(--pink); color: var(--ink); font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-tag); margin-bottom: 20px; letter-spacing: .06em; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 .line1 { display: block; position: relative; }
.hero h1 .line1::after { content: ''; display: block; width: 60%; height: 6px; background-color: var(--pink); border-radius: 4px; margin-top: 6px; transform: skewX(-10deg); }
.hero h1 .line2 { display: block; background: linear-gradient(90deg, var(--pink-deep), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .line3 { display: inline; background-color: var(--yellow); padding: 0 6px; transform: skewX(-2deg); display: inline-block; }
.hero-desc { font-size: 16px; color: var(--ink-light); max-width: 460px; margin-bottom: 24px; }
.hero-desc strong { color: var(--pink-deep); }
.hero-btns { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.btn-primary {
  background-color: var(--orange); color: var(--white);
  border: var(--border-thick); border-radius: 50px;
  padding: 12px 28px; font-size: 16px; font-weight: 800;
  box-shadow: 0 4px 0 #C94A12; transition: transform .18s, box-shadow .18s;
  display: inline-block;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #C94A12; }
.btn-secondary {
  background-color: var(--white); color: var(--ink);
  border: var(--border-thick); border-radius: 50px;
  padding: 12px 28px; font-size: 16px; font-weight: 800;
  box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s;
  display: inline-block;
}
.btn-secondary:active { transform: translateY(2px); box-shadow: 2px 2px 0 rgba(58,46,42,.1); }
.flash { position: relative; }
.flash::before, .flash::after { content: '✦'; position: absolute; color: var(--pink); font-size: 14px; opacity: .8; }
.flash::before { top: -10px; right: -6px; }
.flash::after { bottom: -10px; left: -6px; color: var(--blue); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px dashed var(--ink-light); padding-top: 20px; }
.stat-item { font-size: 22px; font-weight: 800; }
.stat-item span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-light); margin-top: 4px; }

.hero-right { position: relative; z-index: 1; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage .img-main { grid-column: 1 / -1; aspect-ratio: 16/10; border: var(--border-thick); border-radius: 10px; position: relative; }
.hero-collage .img-sub { aspect-ratio: 16/9; border: var(--border-thick); border-radius: 10px; }
.hero-sticker {
  position: absolute; top: -12px; right: -8px;
  background-color: var(--pink); color: var(--ink);
  font-size: 11.5px; font-weight: 800; padding: 6px 10px;
  border: var(--border-thick); border-radius: 6px; transform: rotate(-3deg);
  z-index: 2; box-shadow: 2px 2px 0 rgba(58,46,42,.15);
}
.hero-blob {
  position: absolute; top: -20px; right: -40px; width: 300px; height: 300px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  opacity: .35; border-radius: 50%; pointer-events: none; z-index: 0;
}

/* 分格带 */
.band { padding: clamp(72px, 8vw, 96px) 0; background-color: var(--cream); border-top: var(--border-thick); border-bottom: var(--border-thick); position: relative; }
.sec-head { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.sec-head-left { max-width: 600px; }
.sec-head .num-tag { font-size: 11.5px; font-weight: 800; color: var(--pink-deep); letter-spacing: .06em; display: block; margin-bottom: 12px; }
.sec-head h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
.sec-head h2 em { color: var(--pink-deep); font-style: normal; }
.sec-head .bubble {
  background: var(--white); border: var(--border-thick); border-radius: var(--radius-bubble);
  padding: 12px 20px; font-size: 14px; color: var(--ink-light); position: relative;
  max-width: 320px;
}
.sec-head .bubble::after { content: ''; position: absolute; bottom: -10px; left: 20px; border-width: 10px 10px 0 0; border-style: solid; border-color: var(--white) transparent transparent transparent; filter: drop-shadow(0 2px 0 var(--ink)); }
.sec-head .bubble::before { content: ''; position: absolute; bottom: -12px; left: 19px; border-width: 12px 12px 0 0; border-style: solid; border-color: var(--ink) transparent transparent transparent; }

/* 分类 */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-tag { background: var(--white); border: 1px dashed var(--ink); border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s; }
.filter-tag.active, .filter-tag:hover { background: var(--pink); border-style: solid; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-card { background: var(--white); border: 1px dashed var(--ink); border-radius: 12px; padding: 12px 14px; transition: all .18s; }
.cat-card:hover { border-style: solid; border-color: var(--ink); background: var(--cream); }
.cat-card h3 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.cat-card p { font-size: 11.5px; color: var(--ink-light); }

/* 专题 */
.topic-block { margin-bottom: 32px; }
.topic-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.topic-tag { background: var(--pink); color: var(--ink); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 4px; }
.topic-head h3 { font-size: 17px; font-weight: 800; }
.topic-head .more { margin-left: auto; font-size: 13px; color: var(--ink-light); }
.book-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.book-item { cursor: pointer; }
.book-item .cover { aspect-ratio: 3/4; border: var(--border-thick); border-radius: 10px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.book-item:hover .cover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.book-item h4 { font-size: 14px; font-weight: 700; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-item p { font-size: 12px; color: var(--ink-light); }
.book-item p span { color: var(--pink-deep); }

/* 榜单 */
.rank-band { background-color: var(--yellow); border-top: var(--border-thick); border-bottom: var(--border-thick); }
.rank-top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.rank-card { background: var(--white); border: var(--border-thick); border-radius: var(--radius-card); display: flex; align-items: center; gap: 14px; padding: 12px; position: relative; overflow: hidden; }
.rank-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pink); }
.rank-card .num { font-size: 20px; font-weight: 800; width: 32px; }
.rank-card .num.n1 { color: var(--pink-deep); }
.rank-card .num.n2 { color: var(--blue); }
.rank-card .num.n3 { color: var(--orange); }
.rank-card img { width: 74px; height: 98px; border: var(--border-thick); border-radius: 6px; }
.rank-card .info h4 { font-size: 15px; font-weight: 800; }
.rank-card .info p { font-size: 12px; color: var(--ink-light); }
.rank-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rank-list { background: var(--white); border: 1px dashed var(--ink); border-radius: 12px; padding: 16px; }
.rank-list h4 { font-size: 16px; font-weight: 800; border-bottom: var(--border-thick); padding-bottom: 8px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.rank-list h4 span { font-size: 12px; font-weight: 400; color: var(--ink-light); }
.rank-item { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px dashed #E7DCD0; font-size: 14px; }
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: #FFF7FA; }
.rank-item .idx { font-weight: 800; width: 24px; font-size: 14px; }
.rank-item .idx.top1 { color: var(--pink-deep); }
.rank-item .idx.top2 { color: var(--blue); }
.rank-item .idx.top3 { color: var(--orange); }
.rank-item .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.rank-item .status { font-size: 12px; color: var(--ink-light); }

/* 好用在哪 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--border-thick); border-radius: var(--radius-card); overflow: hidden; background: var(--white); }
.feature-item { padding: 24px; border-bottom: var(--border-dashed); border-right: var(--border-dashed); }
.feature-item:nth-child(3n) { border-right: none; }
.feature-item:nth-child(n+4) { border-bottom: none; }
.feature-item:hover { background: #FFFDF7; }
.feature-icon { width: 30px; height: 30px; border: var(--border-thick); border-radius: 6px; margin-bottom: 16px; position: relative; }
.feature-icon::after { content: ''; position: absolute; inset: 4px; background: var(--pink); border-radius: 3px; }
.feature-item h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feature-item h3 span { background: var(--pink); font-size: 11px; padding: 0 6px; border-radius: 4px; }
.feature-item p { font-size: 13px; color: var(--ink-light); }

/* 界面实拍 */
.shot-band { background: var(--cream); border-top: var(--border-thick); border-bottom: var(--border-thick); }
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot-item { background: var(--white); border: var(--border-thick); border-radius: 26px; padding: 10px; transition: transform .18s; }
.shot-item:hover { transform: translateY(-4px); }
.shot-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; }
.shot-dots { display: flex; gap: 4px; }
.shot-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.shot-top .label { font-size: 11px; color: var(--ink-light); }
.shot-img { aspect-ratio: 9/16; border-radius: 14px; border: var(--border-thick); overflow: hidden; }
.shot-title { font-size: 13px; font-weight: 800; margin-top: 10px; text-align: center; }
.shot-desc { font-size: 11px; color: var(--ink-light); text-align: center; margin-top: 2px; }

/* 今日更新 */
.update-panel { background: var(--white); border: 1px dashed var(--ink); border-radius: 12px; overflow: hidden; }
.update-row { display: grid; grid-template-columns: 86px 1fr 120px 90px; align-items: center; padding: 12px 16px; border-bottom: 1px dashed #E7DCD0; font-size: 14px; }
.update-row:nth-child(even) { background: #FFFBF5; }
.update-row:hover { background: #FFF7FA; }
.update-row .time { font-size: 13px; color: var(--ink-light); }
.update-row .title { font-weight: 600; }
.update-row .title span { color: var(--pink-deep); }
.update-row .tag { font-size: 11px; border: 1px dashed var(--ink); border-radius: 4px; padding: 2px 6px; display: inline-block; }
.update-row .status { font-size: 12px; text-align: right; }
.status.new { color: var(--pink-deep); }
.status.done { color: var(--ink-light); }

/* 下载区 */
.download-band { background: var(--yellow); border-top: var(--border-thick); border-bottom: var(--border-thick); position: relative; }
.download-layout { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: center; position: relative; z-index: 1; }
.download-left h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.download-left h2 em { color: var(--pink-deep); font-style: normal; }
.download-left p { font-size: 15px; color: #4A3A32; margin-bottom: 24px; }
.download-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.download-version { font-size: 12px; color: #4A3A32; opacity: .8; }
.download-cards { display: flex; flex-direction: column; gap: 12px; }
.d-card { background: var(--white); border: var(--border-thick); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.d-card h3 { font-size: 16px; font-weight: 800; }
.d-card p { font-size: 12px; color: var(--ink-light); }
.btn-app { display: block; text-align: center; background: var(--pink); color: var(--ink); border: var(--border-thick); border-radius: 6px; padding: 8px 0; font-weight: 800; font-size: 14px; box-shadow: 2px 2px 0 rgba(58,46,42,.1); transition: transform .18s; }
.btn-app:active { transform: translateY(2px); box-shadow: 0 0 0 rgba(58,46,42,.1); }
.btn-app.disabled { background: #E0E0E0; color: #888; box-shadow: none; cursor: not-allowed; }

/* 常见问题 */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--ink-light); transition: color .18s; }
.faq-item[open] summary::after { content: '−'; color: var(--pink-deep); }
.faq-item p { padding: 0 26px 16px 0; font-size: 14px; color: var(--ink-light); }

/* 页脚 */
.site-footer { padding-top: 40px; padding-bottom: 40px; border-top: var(--border-thick); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-left .brand { margin-bottom: 12px; }
.footer-left p { font-size: 13px; color: var(--ink-light); margin-bottom: 12px; }
.footer-links { display: flex; gap: 16px; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--pink-deep); }
.footer-right { text-align: right; font-size: 12px; color: var(--ink-light); }
.footer-right p { margin-bottom: 8px; }
.about-details { margin-top: 16px; text-align: left; }
.about-details summary { font-size: 12px; color: var(--ink-light); cursor: pointer; outline: none; }
.about-details summary:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.about-content { margin-top: 12px; padding: 12px; background: var(--cream); border: 1px dashed var(--ink); border-radius: 8px; font-size: 12px; line-height: 2; }
.about-content a { display: inline-block; margin-right: 12px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 2px; }
.about-content a:hover { color: var(--pink-deep); }
.footer-time { margin-top: 10px; font-size: 11px; }

/* 响应式 */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .hero-collage { grid-template-columns: 1fr; }
  .hero-collage .img-main { aspect-ratio: 16/9; }
  .hero-collage .img-sub { aspect-ratio: 16/9; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .rank-top3 { grid-template-columns: 1fr; }
  .rank-lists { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2n) { border-right: none; }
  .feature-item:nth-child(3n) { border-right: var(--border-dashed); }
  .feature-item:nth-child(n+3) { border-bottom: var(--border-dashed); }
  .feature-item:nth-child(n+5) { border-bottom: none; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .download-layout { grid-template-columns: 1fr; }
  .download-cards { flex-direction: row; }
  .d-card { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-right { text-align: left; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.show { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--white); border-bottom: var(--border-thick); padding: 16px; gap: 16px; z-index: 99; }
}
@media (max-width: 560px) {
  .top-bar .container { flex-direction: column; gap: 4px; align-items: flex-start; }
  .hero h1 { font-size: 28px; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; text-align: center; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; border-bottom: var(--border-dashed) !important; }
  .feature-item:last-child { border-bottom: none !important; }
  .shot-grid { grid-template-columns: 1fr; }
  .download-cards { flex-direction: column; }
  .update-row { grid-template-columns: 60px 1fr 70px; }
  .update-row .tag { display: none; }
  .filter-row { gap: 8px; }
  .footer-links { flex-wrap: wrap; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head .bubble::after, .sec-head .bubble::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}