@charset "utf-8";

/* ==========================================================================
   栗子漫画 · 单页站点样式
   主题：奶油白底 + 栗子金 + 深可可棕 + 薄荷点缀
   ========================================================================== */

:root {
  --bg: #FFFCF4;
  --bg-tint: #FFF7E6;
  --surface: #FFFFFF;
  --ink: #2A2118;
  --muted: #8B7D6C;
  --line: #F0E3CE;
  --amber: #F7B02C;
  --amber-soft: #FFF0CC;
  --amber-deep: #D98600;
  --shell: #38281A;
  --shell-soft: #4C3625;
  --mint: #12A88B;
  --mint-soft: #E3FAF4;
  --radius: 18px;
  --shadow-sm: 0 10px 28px rgba(74, 52, 26, .07);
  --shadow: 0 18px 44px rgba(74, 52, 26, .10);
  --shadow-lg: 0 28px 64px rgba(58, 42, 28, .18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 图标 ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.125em;
  flex: 0 0 auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .ic { font-size: 17px; }

.btn-primary {
  background: linear-gradient(135deg, #FFC74A, #F39A08);
  color: #3A2A10;
  box-shadow: 0 10px 22px rgba(240, 156, 14, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(240, 156, 14, .34); }

.btn-dark {
  background: #2C1E12;
  color: #FFEFD0;
  box-shadow: 0 12px 26px rgba(44, 30, 18, .26);
}
.btn-dark:hover { transform: translateY(-2px); background: #20160D; }

.btn-ghost-light {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 236, 200, .35);
  color: #FFEBC6;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }

.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 10px; }
.btn-sm .ic { font-size: 15px; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 14px; }
.btn-lg .ic { font-size: 18px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 244, .92);
  border-bottom: 1px solid rgba(240, 227, 206, .9);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(74, 52, 26, .07); }

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(74, 52, 26, .08);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text strong { display: block; font-size: 18px; line-height: 1.15; letter-spacing: .02em; }
.brand-text small { display: block; color: var(--amber-deep); font-size: 9.5px; font-weight: 800; letter-spacing: .18em; }

.main-nav { flex: 1 1 auto; }
.main-nav ul { display: flex; justify-content: center; align-items: center; gap: 2px; padding: 0; list-style: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav .ic { font-size: 16px; color: #BFB0A0; transition: color .2s ease; }
.main-nav a:hover { color: var(--ink); background: var(--amber-soft); }
.main-nav a:hover .ic { color: var(--amber-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-search {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--shell);
  background: #fff;
  font-size: 18px;
  transition: border-color .2s ease, color .2s ease;
}
.header-search:hover { border-color: var(--amber); color: var(--amber-deep); }

.menu-toggle {
  display: none;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-a {
  width: 560px; height: 560px;
  top: -160px; right: -80px;
  background: radial-gradient(circle at 40% 40%, rgba(247, 176, 44, .32), rgba(247, 176, 44, 0) 68%);
}
.blob-b {
  width: 460px; height: 460px;
  bottom: -120px; left: -140px;
  background: radial-gradient(circle at 50% 50%, rgba(18, 168, 139, .16), rgba(18, 168, 139, 0) 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: 48px;
}
.hero-grid > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow .ic { font-size: 14px; }

.hero h1 {
  margin: 16px 0 8px;
  font-size: clamp(46px, 6.6vw, 80px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hero-lead {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  color: #4A3A29;
}
.hero-desc {
  margin-top: 12px;
  max-width: 545px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--shell);
  font-size: 13.5px;
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 3px;
  transition: color .2s ease, gap .2s ease;
}
.text-link:hover { color: var(--amber-deep); gap: 10px; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 500px;
}
.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.hero-stats dt span { font-size: 15px; color: var(--amber-deep); margin-left: 1px; }
.hero-stats dd { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

/* 首屏视觉组 */
.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.stage-ring {
  position: absolute;
  width: 76%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, #FFEFCB 0%, rgba(255, 239, 203, .55) 52%, rgba(255, 239, 203, 0) 72%);
}

.phone {
  position: relative;
  width: 262px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(90, 66, 42, .12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.phone-bar { height: 20px; background: #fff; }
.phone-bar::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 62px; height: 5px;
  border-radius: 99px;
  background: #EDE2D0;
}
.phone img { display: block; width: 100%; height: auto; }
.phone-hero { z-index: 2; }

.float-card {
  position: absolute;
  width: 132px;
  margin: 0;
  border-radius: 14px;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(58, 42, 28, .2);
  z-index: 3;
}
.float-card img { display: block; width: 100%; height: 166px; object-fit: cover; }
.float-a { top: 28px; left: 0; transform: rotate(-8deg); }
.float-b { bottom: 26px; right: 0; transform: rotate(7deg); }

.float-tag {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--shell);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.tag-a { top: 104px; right: -4px; transform: rotate(3deg); }
.tag-b { bottom: 112px; left: -10px; color: var(--amber-deep); transform: rotate(-4deg); }

/* ---------- 功能条 ---------- */
.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 24px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.feature-item { display: flex; align-items: flex-start; gap: 12px; padding: 0 16px; }
.feature-item + .feature-item { border-left: 1px dashed #F1E4D0; }
.feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 19px;
  margin-top: 2px;
}
.feature-item strong { display: block; font-size: 14px; font-weight: 700; }
.feature-item p { margin-top: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

/* ---------- 搜索 ---------- */
.search-panel { margin-top: 40px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 7px 7px 7px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-box:focus-within { border-color: #F4C96C; box-shadow: 0 12px 30px rgba(240, 156, 14, .16); }
.search-box > .ic { font-size: 19px; color: var(--amber-deep); }
.search-box input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}
.search-box input::placeholder { color: #B6A895; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-box button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  padding: 11px 26px;
  background: var(--shell);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease;
}
.search-box button:hover { background: #251A10; }

.search-hint {
  min-height: 18px;
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-deep);
}
.hot-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.hot-search > span { margin-right: 2px; }
.hot-search button {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: #6E6053;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hot-search button:hover { background: var(--amber-soft); border-color: #F6DDA4; color: var(--amber-deep); }

/* ---------- 区块通用 ---------- */
.section { margin-top: 92px; }
.section-tint {
  margin-top: 92px;
  padding: 76px 0 80px;
  background: linear-gradient(180deg, #FFF7E5, #FFFCF4);
  border-top: 1px solid #F7EAD5;
  border-bottom: 1px solid #F7EAD5;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}
.section-index {
  display: block;
  color: var(--amber-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
}
.section-heading h2,
.rank-head h2 {
  margin: 7px 0 5px;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
}
.section-heading p { color: var(--muted); font-size: 13.5px; max-width: 620px; }

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--amber);
  color: var(--shell);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, gap .2s ease;
}
.view-all:hover { color: var(--amber-deep); gap: 10px; }

/* ---------- 漫画网格 ---------- */
.comic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.comic-grid-6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }

.comic-card { min-width: 0; }
.cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #F2E7D6;
  box-shadow: 0 12px 28px rgba(74, 52, 26, .09);
}
.cover img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.comic-card:hover .cover img { transform: scale(1.05); }
.badge {
  position: absolute;
  left: 10px; top: 10px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-new { background: var(--shell); color: #FFD98A; }

.comic-meta h3 {
  margin: 12px 0 2px;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comic-meta p { color: var(--muted); font-size: 11.5px; }

/* ---------- 分类 ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(240, 227, 206, .95);
  border-radius: 16px;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.category-card:hover {
  background: #fff;
  border-color: #F8E4BD;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 13px;
  font-size: 20px;
}
.category-text { min-width: 0; }
.category-text strong { display: block; font-size: 14.5px; font-weight: 700; }
.category-text small { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; }
.category-arrow { margin-left: auto; color: #CBBBA6; font-size: 15px; transition: color .22s ease, transform .22s ease; }
.category-card:hover .category-arrow { color: var(--amber-deep); transform: translate(2px, -2px); }

.tone-flame { color: #F4663B; background: #FFEDE4; }
.tone-heart { color: #EF5D80; background: #FFE9EF; }
.tone-spark { color: #8C6BE0; background: #F0EAFF; }
.tone-mint { color: var(--mint); background: var(--mint-soft); }
.tone-amber { color: #D98600; background: #FFF2D2; }
.tone-sky { color: #3D8BD6; background: #E7F1FD; }
.tone-rose { color: #C9638F; background: #FBEAF2; }
.tone-cocoa { color: #8A6448; background: #F4E9DF; }

/* ---------- 榜单 + 留言 ---------- */
.split { display: grid; grid-template-columns: 1.06fr .94fr; gap: 20px; align-items: stretch; }

.rank-card {
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.rank-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.rank-head h2 { font-size: 22px; }
.rank-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 22px;
}
.rank-list { list-style: none; padding: 0; margin: 14px 0 0; }
.rank-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  column-gap: 10px;
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--line);
}
.rank-list li:last-child { border-bottom: 0; padding-bottom: 6px; }
.rank-no { font-size: 15px; font-weight: 800; color: #C9B9A3; }
.rank-list li:nth-child(1) .rank-no { color: var(--amber-deep); }
.rank-list li:nth-child(2) .rank-no { color: #B96A3C; }
.rank-list li:nth-child(3) .rank-no { color: #9C7A56; }
.rank-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-heat { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 11.5px; font-style: normal; }
.rank-heat .ic { color: #F4663B; font-size: 13px; }
.rank-track {
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 9px;
  border-radius: 99px;
  background: #F6EBD9;
  overflow: hidden;
}
.rank-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #F7B02C, #FFD877);
}
.rank-note { margin-top: 16px; color: #AEA091; font-size: 11px; }

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 36px;
  border-radius: 20px;
  background: linear-gradient(155deg, #3B2B1C 0%, #55402A 58%, #6A4E32 100%);
  color: #FFF4E2;
  overflow: hidden;
}
.quote-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 176, 44, .35), rgba(247, 176, 44, 0) 70%);
  pointer-events: none;
}
.quote-icon { font-size: 32px; color: rgba(255, 203, 110, .75); }
.quote-card blockquote {
  margin: 12px 0 10px;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.01em;
}
.quote-from { color: rgba(255, 240, 214, .62); font-size: 12px; }
.quote-note {
  max-width: 380px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 236, 200, .14);
  color: rgba(255, 244, 226, .58);
  font-size: 12.5px;
  line-height: 1.8;
}
.quote-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 236, 200, .16);
}
.quote-stat { display: inline-flex; align-items: baseline; gap: 5px; color: rgba(255, 240, 214, .68); font-size: 11.5px; }
.quote-stat strong { color: #FFD98A; font-size: 15px; font-weight: 800; }

/* ---------- 深色界面区 ---------- */
.section-shell {
  margin-top: 92px;
  padding: 74px 0 80px;
  background: var(--shell);
  color: #FFF6E7;
  overflow: hidden;
}
.heading-on-dark .section-index { color: #FFC861; }
.heading-on-dark h2 { color: #FFF6E7; }
.heading-on-dark p { color: rgba(255, 244, 226, .68); }
.view-all-light { color: #FFD98A; border-bottom-color: #FFC861; }
.view-all-light:hover { color: #FFF0C6; }

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: center;
  margin-top: 8px;
}
.screen-item { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.phone-dark {
  width: 240px;
  background: #1E1710;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.phone-dark .phone-bar { height: 18px; background: #1E1710; }
.phone-dark .phone-bar::after { background: #3B2B1C; }
.screen-item figcaption { text-align: center; }
.screen-item figcaption strong { display: block; font-size: 14px; color: #FFE7B8; font-weight: 700; }
.screen-item figcaption span { display: block; margin-top: 2px; color: rgba(255, 244, 226, .58); font-size: 11.5px; }

/* ---------- 更新手记 ---------- */
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-card {
  padding: 24px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.note-date {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.note-card h3 { margin: 13px 0 7px; font-size: 16px; font-weight: 700; line-height: 1.55; }
.note-card p { color: var(--muted); font-size: 12.5px; min-height: 40px; }
.note-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--shell);
  font-size: 12.5px;
  font-weight: 700;
  transition: color .2s ease, gap .2s ease;
}
.note-card a:hover { color: var(--amber-deep); gap: 9px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.about-intro h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.42;
}
.about-intro h2 em { font-style: normal; color: var(--amber-deep); }
.about-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.about-brand .brand-mark { width: 52px; height: 52px; border-radius: 15px; }
.about-copy p { color: #6B5D4F; font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.about-points li { display: flex; align-items: center; gap: 8px; color: #4F4235; font-size: 12.5px; font-weight: 600; }
.about-points .ic { color: var(--mint); font-size: 17px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}
.faq-intro h2 { margin: 7px 0 8px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.28; }
.faq-intro > p { max-width: 330px; color: var(--muted); font-size: 13.5px; }
.faq-help {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  padding: 18px;
  background: #FFF8E9;
  border: 1px solid #F7E6C8;
  border-radius: 14px;
}
.faq-help .feature-icon { margin-top: 0; }
.faq-help strong { display: block; font-size: 13px; }
.faq-help p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.faq-list { max-width: none; }
.faq-item {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #F6DDA4; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 22px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--amber-deep); font-size: 18px; transition: transform .25s ease; }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 19px; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* ---------- 下载 ---------- */
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.32fr .68fr;
  gap: 40px;
  align-items: center;
  padding: 52px 56px;
  border-radius: 26px;
  background: linear-gradient(135deg, #FFD466 0%, #F8B233 48%, #F0960A 100%);
  box-shadow: 0 30px 64px rgba(240, 150, 10, .28);
  overflow: hidden;
}
.download-glow {
  position: absolute;
  width: 460px; height: 460px;
  top: -180px; right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}
.download-copy { position: relative; z-index: 1; }
.eyebrow-light { color: #7A5512; }
.download-copy h2 {
  margin: 10px 0 12px;
  color: #33230F;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.34;
}
.download-copy > p { max-width: 470px; color: rgba(51, 35, 15, .78); font-size: 14px; line-height: 1.8; }
.download-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.download-tip { color: rgba(51, 35, 15, .66); font-size: 11.5px; }

.download-spec {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.spec-logo {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 14px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(120, 78, 10, .16);
}
.spec-logo img { width: 56px; height: 56px; object-fit: contain; }
.download-spec dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 0;
}
.download-spec dt { color: rgba(51, 35, 15, .62); font-size: 10.5px; letter-spacing: .04em; }
.download-spec dd { margin: 1px 0 0; color: #33230F; font-size: 13.5px; font-weight: 700; }
.spec-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(90, 60, 14, .16);
  color: rgba(51, 35, 15, .72);
  font-size: 11.5px;
  font-weight: 600;
}
.spec-note .ic { font-size: 16px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 96px;
  padding: 56px 0 22px;
  background: var(--shell);
  color: rgba(255, 244, 226, .72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 34px;
}
.footer-brand-col .brand { margin-bottom: 14px; }
.footer-brand-col .brand-mark { background: #fff; border-color: transparent; }
.footer-brand-col .brand-text strong { color: #FFF3DC; }
.footer-brand-col .brand-text small { color: #FFC861; }
.site-footer p { color: rgba(255, 244, 226, .58); font-size: 12px; line-height: 1.85; }
.site-footer h3 { margin: 0 0 13px; color: #FFE7B8; font-size: 13px; font-weight: 700; }
.site-footer > .footer-grid > div > a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: rgba(255, 244, 226, .6);
  font-size: 12px;
  transition: color .2s ease;
}
.site-footer > .footer-grid > div > a:not(.brand):hover { color: #FFC861; }
.footer-mail {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 10px !important;
  color: #FFC861 !important;
  font-size: 12.5px !important;
  font-weight: 700;
}
.copyright {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 244, 226, .42);
  font-size: 11px;
  letter-spacing: .02em;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--shell);
  font-size: 19px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--amber-deep); border-color: #F6DDA4; }

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .main-nav a { padding: 8px 8px; font-size: 12.5px; }
  .comic-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1020px) {
  .header-inner { gap: 14px; }
  .main-nav ul { gap: 0; }
  .main-nav a span { display: none; }
  .main-nav a { padding: 9px; }
  .main-nav .ic { font-size: 18px; }
  .hero { padding-top: 54px; }
  .hero-grid { gap: 34px; }
  .hero-stats { gap: 26px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    background: #FFFCF4;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(74, 52, 26, .1);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .main-nav a {
    justify-content: flex-start;
    padding: 12px 14px;
    background: #FFF8E9;
    border-radius: 12px;
    font-size: 13px;
    color: #6B5D4F;
  }
  .main-nav a span { display: inline; }
  .menu-toggle { display: grid; }
  .header-search { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-stage { min-height: 500px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); padding: 20px 6px; row-gap: 20px; }
  .feature-item + .feature-item { border-left: 0; }
  .feature-item { padding: 0 12px; }
  .comic-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card p { min-height: auto; }
  .screen-row { gap: 16px; }
  .phone-dark { width: 200px; border-radius: 24px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro > p { max-width: none; }
  .faq-help { max-width: 460px; }
  .download-card { grid-template-columns: 1fr; gap: 28px; padding: 38px 30px; }
  .download-spec { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 8.5px; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 12px; }
  .header-actions .btn-sm .ic { font-size: 14px; }

  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(38px, 13vw, 54px); }
  .hero-desc { font-size: 13.5px; }
  .hero-actions { gap: 16px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-stats { gap: 18px; padding-top: 20px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 10.5px; }

  .hero-stage { min-height: 430px; }
  .phone { width: 200px; border-radius: 24px; }
  .phone .phone-bar { height: 16px; }
  .phone .phone-bar::after { width: 48px; height: 4px; top: 6px; }
  .float-card { width: 100px; border-width: 3px; }
  .float-card img { height: 128px; }
  .float-a { top: 10px; left: 4px; }
  .float-b { bottom: 8px; right: 4px; }
  .float-tag { font-size: 10px; padding: 5px 9px; }
  .tag-a { top: 74px; right: -2px; }
  .tag-b { bottom: 78px; left: -2px; }

  .feature-strip { grid-template-columns: 1fr; margin-top: 40px; padding: 18px; row-gap: 16px; }
  .feature-item { padding: 0; }

  .search-panel { margin-top: 30px; }
  .search-box { padding: 5px 5px 5px 14px; border-radius: 14px; }
  .search-box button { padding: 10px 18px; font-size: 13px; }
  .hot-search { gap: 8px; }

  .section, .section-tint, .section-shell { margin-top: 64px; }
  .section-tint { padding: 52px 0 56px; }
  .section-shell { padding: 52px 0 58px; }
  .section-heading { margin-bottom: 22px; }

  .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 13px; }
  .comic-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .comic-meta h3 { font-size: 14px; }

  .category-grid { grid-template-columns: 1fr; }
  .category-card { padding: 15px; }

  .rank-card, .quote-card { padding: 24px 20px; }

  .screen-row { grid-template-columns: 1fr; gap: 26px; }
  .phone-dark { width: 236px; }

  .download-card { padding: 30px 20px; border-radius: 20px; }
  .download-copy h2 { font-size: 26px; }
  .download-actions { gap: 12px; }
  .download-actions .btn { width: 100%; }
  .download-spec { max-width: none; }

  .about-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand-col { grid-column: auto; }
  .to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

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