/* =========================================================
   深圳舟游时代网络科技有限公司 - 站点样式
   ========================================================= */
:root {
  --ink: #14172b;
  --ink-2: #454b61;
  --muted: #7c8296;
  --line: #e9ebf2;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --cream: #fff6ee;
  --primary: #f2622d;
  --primary-dark: #d84a18;
  --primary-soft: #ffe9df;
  --mint: #12b3a8;
  --mint-soft: #e3f8f5;
  --gold: #e9a830;
  --danger: #d92d20;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(20, 23, 43, .28);
  --shadow-lg: 0 40px 80px -40px rgba(20, 23, 43, .35);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
svg { width: 18px; height: 18px; flex: none; }

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

::selection { background: var(--primary); color: #fff; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, #ff7c3f, #ef4b1f);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(239, 75, 31, .85);
}
.btn-primary:hover { box-shadow: 0 18px 32px -14px rgba(239, 75, 31, .95); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-soft { background: var(--primary-soft); color: var(--primary-dark); }
.btn-soft:hover { background: #ffddcd; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px dashed var(--line);
  color: #b1b5c3;
  font-size: 15px;
  font-weight: 600;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(20, 23, 43, .45);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff8a4c, #ef481d);
  box-shadow: 0 10px 22px -10px rgba(239, 72, 29, .9);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.nav-link {
  position: relative;
  padding: 8px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); background: var(--soft); }
.nav-link.active { color: var(--primary-dark); background: var(--primary-soft); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-auth { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* 用户菜单 */
.user-menu { position: relative; display: flex; align-items: center; gap: 4px; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.user-chip:hover { border-color: #f6c0a8; box-shadow: 0 10px 24px -20px rgba(20, 23, 43, .6); }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd9c6, #ffb18a);
  color: #b03a12;
  font-size: 15px;
  font-weight: 800;
}
.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.user-caret {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.user-caret:hover { background: var(--soft); color: var(--ink); }
.user-caret svg { width: 15px; height: 15px; transition: transform .2s ease; }
.user-menu.open .user-caret svg { transform: rotate(180deg); }
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 208px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown,
.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-head {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.dropdown-head span { color: var(--ink); font-weight: 700; }
.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.user-dropdown a:hover,
.user-dropdown button:hover { background: var(--soft); color: var(--ink); }
.user-dropdown .dropdown-logout { color: #c92a2a; }
.user-dropdown .dropdown-logout:hover { background: #fff1f0; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  --hero-tint: rgba(242, 98, 45, .16);
  position: relative;
  overflow: hidden;
  padding: 48px 0 62px;
  background:
    radial-gradient(58% 82% at 84% 12%, var(--hero-tint), transparent 68%),
    radial-gradient(48% 62% at 4% 96%, rgba(18, 179, 168, .1), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fff9f5 100%);
  transition: background .6s ease;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 23, 43, .055) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, .8), transparent 55%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, .8), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 58px;
  align-items: center;
  min-height: 500px;
}
.hero-copy { padding-bottom: 10px; transition: opacity .15s ease, transform .15s ease; }
.hero-copy.is-switching { opacity: 0; transform: translateY(8px); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 98, 45, .16);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 98, 45, .16); }
  50% { box-shadow: 0 0 0 7px rgba(242, 98, 45, .06); }
}
.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.hero-title span { display: block; }
.hero-title em {
  display: block;
  margin-top: 6px;
  color: var(--primary);
  position: relative;
  isolation: isolate;
  width: fit-content;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 4px;
  bottom: 4px;
  height: 10px;
  border-radius: 6px;
  background: rgba(242, 98, 45, .14);
  z-index: -1;
}
.hero-desc {
  max-width: 490px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 26px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.hero-score strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.03em;
}
.hero-score small { font-size: 12px; color: var(--muted); }
.meta-sep { width: 1px; height: 14px; background: var(--line); }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.hero-note svg { width: 15px; height: 15px; color: var(--mint); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 30px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-lg);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.03);
  transition: transform 7s ease;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  pointer-events: none;
}
.hero-float {
  position: absolute;
  left: -20px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  box-shadow: 0 24px 48px -28px rgba(20, 23, 43, .5);
}
.float-score {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.float-copy { display: flex; flex-direction: column; line-height: 1.35; }
.float-copy strong { font-size: 15px; font-weight: 800; }
.float-copy small { font-size: 12px; color: var(--muted); }

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}
.hero-counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hero-counter strong { font-size: 22px; color: var(--ink); font-weight: 900; }
.hero-counter span { font-size: 12px; }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d9dce6;
  transition: width .25s ease, background .25s ease;
}
.hero-dot.is-active { width: 34px; background: var(--primary); }
.hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-arrow svg { width: 18px; height: 18px; }

/* ---------------- 滚动公告 ---------------- */
.ticker {
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 46px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: var(--primary-dark);
  flex: none;
}
.ticker-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  overflow: hidden;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 9px; }
.ticker-track span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9ccd8;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 78px 0; }
.section-soft { background: var(--soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head.compact { align-items: center; margin-bottom: 22px; }
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.section-desc { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 580px; }
.section-count { font-size: 13px; color: var(--muted); }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
  flex: none;
}
.link-more:hover { color: var(--primary); border-color: var(--primary); }
.link-more svg { width: 16px; height: 16px; }

/* ---------------- 漫画卡片 ---------------- */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.comic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.comic-card:hover {
  transform: translateY(-7px);
  border-color: #f5c6b1;
  box-shadow: 0 28px 50px -32px rgba(20, 23, 43, .38);
}
.comic-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
}
.comic-cover .cover-link { display: block; width: 100%; height: 100%; }
.comic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.comic-card:hover .comic-cover img { transform: scale(1.055); }
.comic-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 43, .18) 0%, transparent 26%, transparent 62%, rgba(20, 23, 43, .6) 100%);
  pointer-events: none;
  z-index: 1;
}
.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  min-width: 40px;
  height: 30px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(20, 23, 43, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.status-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}
.cover-score {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.fav-btn {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--ink-2);
  box-shadow: 0 8px 18px -10px rgba(20, 23, 43, .6);
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.fav-btn:hover { transform: scale(1.08); color: var(--primary); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn.is-active { color: #e23b3b; background: #fff; }
.fav-btn.is-active svg path { fill: currentColor; }
.card-body { padding: 20px 20px 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.comic-title {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.comic-title a:hover { color: var(--primary); }
.comic-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.card-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--primary-dark);
}
.card-read svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card-read:hover svg { transform: translateX(3px); }

/* ---------------- 首页精选专题 ---------------- */
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(118deg, #fff5ec 0%, #fffdfb 48%, #eefaf7 100%);
}
.spotlight-copy {
  position: relative;
  z-index: 2;
  padding: 54px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f6d5c4;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.spotlight-title {
  margin: 16px 0 8px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.spotlight-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.spotlight-desc {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.spotlight-tags { margin: 20px 0 26px; }
.spotlight-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spotlight-art { position: relative; min-height: 380px; overflow: hidden; }
.spotlight-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.spotlight-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fffaf6 0%, rgba(255, 250, 246, .55) 18%, rgba(255, 250, 246, 0) 48%);
  pointer-events: none;
}
.spotlight-score {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.spotlight-score strong { font-size: 25px; font-weight: 900; color: var(--primary); line-height: 1; }
.spotlight-score small { font-size: 10px; color: var(--muted); margin-top: 4px; letter-spacing: .08em; }

/* ---------------- 平台特色 ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-icon.orange { background: var(--primary-soft); color: var(--primary-dark); }
.feature-icon.mint { background: var(--mint-soft); color: #0a8d84; }
.feature-icon.gold { background: #fdf1d8; color: #9a6a0a; }
.feature-icon.blue { background: #e8f1ff; color: #2b6cb0; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* ---------------- 加入 CTA ---------------- */
.cta-section { padding: 20px 0 86px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 52px 56px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #fff1e6 0%, #fffdfb 52%, #e9faf7 100%);
}
.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-panel::before {
  width: 220px;
  height: 220px;
  right: 18%;
  top: -120px;
  background: radial-gradient(circle, rgba(242, 98, 45, .16), transparent 68%);
}
.cta-panel::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(18, 179, 168, .16), transparent 68%);
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.cta-copy p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 58px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 4px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--primary-dark); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary-dark); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- 内页头部 ---------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 46px;
  background:
    radial-gradient(46% 90% at 92% 0%, rgba(242, 98, 45, .13), transparent 68%),
    radial-gradient(40% 80% at 0% 100%, rgba(18, 179, 168, .1), transparent 70%),
    #fffaf6;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 23, 43, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, .8), transparent 60%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, .8), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.page-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.page-sub { margin-top: 10px; max-width: 620px; color: var(--ink-2); font-size: 15px; }
.page-hero-stats { display: flex; gap: 34px; flex: none; }
.page-hero-stats div { display: flex; flex-direction: column; }
.page-hero-stats strong { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.page-hero-stats span { font-size: 12px; color: var(--muted); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb span { color: #c3c7d3; }
.breadcrumb em { font-style: normal; color: var(--ink); font-weight: 600; }

/* ---------------- 动漫中心 ---------------- */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 40px -38px rgba(20, 23, 43, .5);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  transition: all .2s ease;
}
.chip:hover { border-color: #f5b99f; color: var(--primary-dark); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.catalog-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 250px;
  height: 42px;
  padding: 0 16px 0 40px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fbfbfd;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 98, 45, .1);
}
.sort-select {
  height: 42px;
  padding: 0 34px 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8296' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 13.5px;
  color: var(--ink-2);
  appearance: none;
  -webkit-appearance: none;
}
.sort-select:focus { outline: none; border-color: var(--primary); }
.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}
.catalog-meta strong { color: var(--ink); font-weight: 800; }
.upcoming-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 420px;
  border: 1.5px dashed #dfe2ea;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbfbfd);
  color: var(--muted);
  text-align: center;
  padding: 30px;
}
.upcoming-card span { font-size: 30px; color: #d6d9e3; }
.upcoming-card strong { font-size: 16px; color: var(--ink-2); }
.upcoming-card p { font-size: 13px; max-width: 220px; line-height: 1.7; }

/* ---------------- 空状态 ---------------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed #dfe2ea;
  border-radius: 24px;
  background: #fff;
}
.empty-state.small { padding: 48px 24px; }
.empty-page { margin: 70px 0 90px; }
.empty-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
}
.empty-icon svg { width: 26px; height: 26px; }
.empty-state h1,
.empty-state h3 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0 auto 20px; line-height: 1.8; }

/* ---------------- 作品详情 ---------------- */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 58px;
  background:
    radial-gradient(46% 90% at 88% 4%, rgba(242, 98, 45, .12), transparent 70%),
    radial-gradient(36% 70% at 0% 100%, rgba(18, 179, 168, .09), transparent 70%),
    #fffaf6;
  border-bottom: 1px solid var(--line);
}
.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.detail-cover-wrap { position: relative; }
.detail-cover {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--soft);
}
.detail-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.detail-cover-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-2);
}
.detail-info { padding-top: 8px; }
.detail-title {
  margin: 14px 0 12px;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.detail-title span {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
}
.detail-lead { font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.detail-intro { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); max-width: 700px; }
.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.detail-meta-grid div { display: flex; flex-direction: column; gap: 3px; }
.detail-meta-grid small { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.detail-meta-grid strong { font-size: 16px; font-weight: 800; }
.score-text { color: var(--primary); font-size: 20px !important; }
.detail-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fav-detail.is-active { color: #d92d20; border-color: #f6b5b2; background: #fff5f4; }
.fav-detail.is-active svg path { fill: currentColor; }
.detail-update { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.detail-chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 44px;
  align-items: start;
}
.chapter-list { display: flex; flex-direction: column; gap: 10px; }
.chapter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.chapter-row:hover {
  border-color: #f5c0a8;
  transform: translateX(4px);
  box-shadow: 0 18px 30px -28px rgba(20, 23, 43, .55);
}
.chapter-row.is-current { background: #fff8f4; border-color: #f7cbb7; }
.chapter-no {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.chapter-row.is-current .chapter-no { background: var(--primary); color: #fff; }
.chapter-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chapter-main strong { font-size: 15px; font-weight: 700; }
.chapter-main small { font-size: 12px; color: var(--muted); }
.chapter-flag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
}
.chapter-arrow { margin-left: auto; color: #c3c7d3; display: grid; place-items: center; }
.chapter-row.is-current .chapter-arrow { margin-left: 0; }
.chapter-row:hover .chapter-arrow { color: var(--primary); }
.detail-aside {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.detail-aside h3 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.detail-aside h3:not(:first-child) { margin-top: 22px; }
.detail-aside p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.detail-aside .btn { margin-top: 20px; }

/* ---------------- 阅读器 ---------------- */
.reader-body { background: #f1f2f6; }
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8a4c, var(--primary));
  transition: width .12s linear;
}
.reader-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.reader-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.brand-sm .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.brand-sm .brand-mark svg { width: 20px; height: 20px; }
.brand-sm .brand-text { font-size: 13px; }
.brand-sm .brand-text small { font-size: 8px; }
.reader-divider { width: 1px; height: 26px; background: var(--line); }
.reader-title-wrap { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.reader-title-wrap strong { font-size: 14px; font-weight: 800; }
.reader-title-wrap span {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader-tools { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.reader-select {
  height: 38px;
  max-width: 210px;
  padding: 0 30px 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8296' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 13px;
  color: var(--ink-2);
  appearance: none;
  -webkit-appearance: none;
}
.reader-shell { padding-bottom: 56px; }
.reader-meta {
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 30px 22px;
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed var(--line);
}
.reader-meta-copy h1 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; margin: 8px 0 4px; }
.reader-meta-copy p { font-size: 12.5px; color: var(--muted); }
.reader-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
}
.reader-stage {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  line-height: 0;
  font-size: 0;
  box-shadow: 0 30px 60px -50px rgba(20, 23, 43, .5);
}
.reader-stage img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.reader-end {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 24px 0;
}
.reader-end-card {
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}
.reader-end-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}
.reader-end-title span {
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.reader-end-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}
.reader-back-link { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.reader-back-link:hover { color: var(--primary-dark); }
.reader-error { max-width: 560px; margin: 90px auto; text-align: center; padding: 40px; background: #fff; border-radius: 24px; border: 1px solid var(--line); }
.reader-error h1 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.reader-error p { color: var(--muted); margin-bottom: 20px; }

/* ---------------- 充值中心 ---------------- */
.recharge-wrap { padding: 56px 0 80px; }
.wallet-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 36px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(118deg, #fff0e5 0%, #fffdfb 54%, #e9faf7 100%);
}
.wallet-card::after {
  content: "";
  position: absolute;
  right: 16%;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 98, 45, .16), transparent 70%);
  pointer-events: none;
}
.wallet-main { position: relative; z-index: 1; display: flex; flex-direction: column; }
.wallet-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.wallet-value { font-size: 48px; font-weight: 900; line-height: 1.15; letter-spacing: -.04em; margin: 4px 0 2px; }
.wallet-card.is-guest .wallet-value { color: #c3c7d3; }
.wallet-sub { font-size: 13px; color: var(--muted); }
.wallet-user {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 9px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 30px -26px rgba(20, 23, 43, .5);
}
.wallet-user .avatar { width: 38px; height: 38px; }
.wallet-user div { display: flex; flex-direction: column; line-height: 1.35; }
.wallet-user strong { font-size: 14px; font-weight: 800; }
.wallet-user small { font-size: 11px; color: var(--mint); font-weight: 700; }
.gate-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid #f7d3bd;
  border-radius: 16px;
  background: #fff8f2;
  color: #8a4b2a;
  font-size: 14px;
}
.gate-notice strong { font-weight: 800; }
.gate-notice .btn { margin-left: auto; flex: none; }
.gate-notice[hidden] { display: none; }
.recharge-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.recharge-head h2 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.recharge-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 20px 24px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: #fff;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.package:hover {
  transform: translateY(-5px);
  border-color: #f5b696;
  box-shadow: 0 26px 44px -34px rgba(20, 23, 43, .45);
  background: #fffdfb;
}
.package.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #fff6f0, #fff);
}
.package-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a4c, #ef481d);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 8px 16px -10px rgba(239, 72, 29, .9);
}
.package-coins { font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.package-coins small { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-left: 4px; }
.package-bonus { min-height: 20px; font-size: 12px; color: var(--primary-dark); font-weight: 700; }
.package-bonus.muted { color: #b8bcc9; font-weight: 500; }
.package-price {
  margin: 8px 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.package-price span { font-size: 12px; color: var(--muted); font-weight: 500; }
.package-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.package:hover .package-cta { background: var(--primary); color: #fff; }
.package.featured .package-cta { background: var(--primary); color: #fff; }
.package.featured:hover .package-cta { background: var(--primary-dark); }
.recharge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}
.step-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.step-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-card p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.faq-block { margin-top: 54px; }
.faq-block h2 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0 22px;
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------------- 登录 / 注册 ---------------- */
.auth-page {
  padding: 52px 0 84px;
  background:
    radial-gradient(42% 70% at 94% 6%, rgba(242, 98, 45, .12), transparent 70%),
    radial-gradient(38% 60% at 4% 96%, rgba(18, 179, 168, .1), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff9f5 100%);
  min-height: calc(100vh - 78px);
}
.auth-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.auth-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 4 / 3.35;
  box-shadow: var(--shadow-lg);
  background: var(--soft);
}
.auth-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.auth-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(20, 23, 43, .58) 100%);
}
.auth-visual-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
}
.auth-visual-caption .caption-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.auth-visual-caption strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.auth-visual-caption p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.auth-visual-notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.auth-visual-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.auth-visual-notes span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}
.auth-panel {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: 38px 40px 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 70px -52px rgba(20, 23, 43, .5);
}
.auth-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
  margin-bottom: 26px;
}
.auth-switch a {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.auth-switch a.active { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -14px rgba(20, 23, 43, .5); }
.auth-panel h1 { font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.auth-sub { margin: 8px 0 26px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.form-field { margin-bottom: 18px; }
.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-label span { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.input-wrap { position: relative; }
.form-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fbfbfd;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-input::placeholder { color: #b3b7c4; }
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 98, 45, .1);
}
.form-input.is-invalid { border-color: var(--danger); background: #fff7f7; }
.input-wrap .form-input.has-action { padding-right: 58px; }
.input-action {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 44px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.input-action:hover { background: var(--soft); color: var(--ink); }
.input-action svg { width: 18px; height: 18px; }
.input-action .eye-off { display: none; }
.input-action.is-on .eye-open { display: none; }
.input-action.is-on .eye-off { display: block; }
.field-error {
  display: none;
  margin: 6px 2px 0;
  font-size: 12px;
  color: var(--danger);
}
.field-error.show { display: block; }
.form-hint { margin: -8px 0 16px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
  cursor: pointer;
}
.checkbox input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--primary);
  flex: none;
  cursor: pointer;
}
.checkbox a { color: var(--primary-dark); font-weight: 600; }
.checkbox a:hover { text-decoration: underline; }
.auth-submit { margin-top: 22px; height: 50px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--primary-dark); font-weight: 700; }
.auth-foot a:hover { text-decoration: underline; }
.auth-legal { margin-top: 14px; text-align: center; font-size: 11.5px; line-height: 1.7; color: #a0a5b4; }
.auth-legal a { color: var(--ink-2); }
.auth-legal a:hover { color: var(--primary-dark); }

/* ---------------- 个人中心 ---------------- */
.account-section { padding: 48px 0 82px; }
.account-grid {
  display: grid;
  grid-template-columns: 302px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.profile-card {
  position: sticky;
  top: 100px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px -46px rgba(20, 23, 43, .5);
}
.profile-top { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.profile-avatar {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd2ba, #ff9e6c);
  color: #a83c14;
  font-size: 25px;
  font-weight: 900;
  flex: none;
}
.profile-name { min-width: 0; }
.profile-name h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-name p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.profile-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.profile-stats strong { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.profile-stats span { font-size: 11px; color: var(--muted); }
.profile-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.profile-note { margin-top: 16px; font-size: 11px; line-height: 1.65; color: #a0a5b4; text-align: center; }
.account-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: var(--soft);
  margin-bottom: 22px;
}
.tab-btn {
  flex: 1;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -16px rgba(20, 23, 43, .5); }
.account-panel { display: none; }
.account-panel.is-active { display: block; animation: panelIn .28s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.account-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.account-item:hover { border-color: #f2c4ae; box-shadow: 0 20px 36px -34px rgba(20, 23, 43, .5); }
.item-cover {
  width: 92px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
}
.item-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.item-info { min-width: 0; flex: 1; }
.item-info h3 { font-size: 18px; font-weight: 900; margin: 6px 0 4px; letter-spacing: -.02em; }
.item-info h3 a:hover { color: var(--primary); }
.item-info p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.item-meta { display: block; margin-top: 6px; font-size: 11.5px; color: #a0a5b4; }
.item-kicker { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--primary); }
.item-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.account-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  margin-bottom: 14px;
}
.account-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.account-card p { font-size: 13px; line-height: 1.85; color: var(--muted); margin-bottom: 8px; }
.info-list { margin: 0; }
.info-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.info-list div:last-child { border-bottom: 0; }
.info-list dt { font-size: 13px; color: var(--muted); }
.info-list dd { margin: 0; font-size: 13.5px; font-weight: 700; }

/* ---------------- 协议页 ---------------- */
.legal-section { padding: 42px 0 84px; }
.legal-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}
.legal-toc h3 { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.legal-toc a:hover { background: #fff; color: var(--ink); }
.legal-toc a.is-active { background: #fff; color: var(--primary-dark); font-weight: 700; }
.legal-content {
  max-width: 830px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.legal-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 34px 0 12px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin-bottom: 12px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal-content li { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin-bottom: 4px; }
.legal-content strong { color: var(--ink); }
.legal-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid #f7ddca;
  font-size: 13px;
  line-height: 1.8;
  color: #8a4b2a;
}

/* ---------------- 五项制度页 ---------------- */
.policy-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.policy-hero-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.policy-side a { display: flex; align-items: center; gap: 9px; }
.policy-side a b {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--muted);
}
.policy-side a.is-active b { color: var(--primary); }
.policy-side-back {
  margin-top: 12px;
  padding-top: 12px !important;
  border-top: 1px dashed var(--line);
  border-radius: 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}
.policy-side-back:hover { background: transparent !important; color: var(--primary-dark) !important; }
.policy-content { max-width: 900px; }
.policy-content h3 {
  margin: 24px 0 9px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.policy-content ol {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: decimal;
}
.policy-content ul { margin-bottom: 14px; }
.policy-content li { margin-bottom: 5px; }
.policy-lead {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--primary-soft);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.policy-table-wrap {
  margin: 14px 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
}
.policy-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.75;
}
.policy-table th,
.policy-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.policy-table th {
  background: var(--soft);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.policy-table tr:last-child td { border-bottom: 0; }
.policy-table td:first-child { color: var(--ink); font-weight: 700; }

/* ---------------- 二维码弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 43, .46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 44px 90px -34px rgba(20, 23, 43, .55);
  transform: translateY(16px) scale(.97);
  transition: transform .24s ease;
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--primary-soft); color: var(--primary-dark); }
.modal-close svg { width: 17px; height: 17px; }
.modal-head { display: flex; align-items: center; gap: 12px; padding-right: 34px; }
.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e8f1ff;
  color: #1677ff;
  flex: none;
}
.modal-icon svg { width: 22px; height: 22px; }
.modal-head h2 { font-size: 18px; font-weight: 900; letter-spacing: -.01em; }
.modal-head p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.qr-frame {
  width: 218px;
  height: 218px;
  margin: 24px auto 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-info { display: flex; align-items: baseline; justify-content: center; gap: 12px; }
.qr-info strong { font-size: 25px; font-weight: 900; letter-spacing: -.02em; color: var(--primary-dark); }
.qr-info span { font-size: 13px; color: var(--muted); }
.qr-note { text-align: center; margin-top: 2px; font-size: 11.5px; color: var(--primary-dark); min-height: 18px; }
.qr-tip { margin: 14px 0 20px; font-size: 12px; line-height: 1.75; color: var(--muted); text-align: center; }

/* ---------------- 轻提示 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 50px -24px rgba(20, 23, 43, .55);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: #0a8d84;
  font-size: 12px;
  font-weight: 900;
  flex: none;
}
.toast.error .toast-mark { background: #ffeceb; color: var(--danger); }
.toast.info .toast-mark { background: #e8f1ff; color: #1677ff; }

/* ---------------- 滚动显现 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .62s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1300px) {
  .brand-text { font-size: 15px; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: -24px;
    right: -24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(20, 23, 43, .4);
    margin-left: 0;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: 12px; }
}

@media (max-width: 1080px) {
  .hero-inner { gap: 38px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
  .detail-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; }
  .detail-chapter-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
  .spotlight-copy { padding: 44px 38px; }
}

@media (max-width: 900px) {
  .header-inner { height: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; min-height: 0; }
  .hero-visual { max-width: 640px; width: 100%; }
  .hero-float { left: 16px; bottom: 16px; }
  .hero-title { max-width: 660px; }
  .hero-foot { margin-top: 26px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-copy { padding: 40px 34px; }
  .spotlight-art { min-height: 300px; order: -1; }
  .spotlight-art::before { background: linear-gradient(180deg, rgba(255, 250, 246, 0) 55%, #fffaf6 100%); }
  .page-hero-stats { display: none; }
  .page-hero-head { display: block; }
  .comic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .catalog-actions { justify-content: space-between; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-cover-wrap { max-width: 270px; }
  .detail-chapter-grid { grid-template-columns: 1fr; }
  .detail-aside { display: none; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 40px 34px; }
  .auth-grid { grid-template-columns: 1fr; gap: 30px; }
  .auth-visual { max-width: 560px; }
  .auth-panel { justify-self: start; max-width: 560px; }
  .account-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .legal-toc h3 { width: 100%; }
  .legal-toc a { padding: 6px 10px; background: #fff; }
  .reader-select { max-width: 180px; }
  .reader-bar .brand-text { display: none; }
  .reader-divider { display: none; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .header-inner { height: 68px; gap: 14px; }
  .brand-text { font-size: 13px; white-space: normal; max-width: 136px; line-height: 1.25; }
  .brand-text small { font-size: 7.5px; letter-spacing: .12em; margin-top: 2px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .header-auth .btn-ghost { display: none; }
  .user-name { max-width: 76px; }
  .main-nav { left: -16px; right: -16px; padding-inline: 16px; }
  .hero { padding: 32px 0 48px; }
  .hero-title { font-size: clamp(36px, 9vw, 48px); }
  .hero-desc { font-size: 15px; }
  .hero-actions .btn { flex: 1; min-width: 148px; }
  .hero-frame { border-radius: 22px; }
  .hero-float { padding: 9px 13px 9px 9px; }
  .float-score { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; }
  .hero-foot { flex-wrap: wrap; gap: 14px; }
  .hero-arrows { margin-left: 0; }
  .section { padding: 56px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .section-head.compact { flex-direction: row; align-items: center; }
  .comic-grid { gap: 16px; }
  .card-body { padding: 16px; }
  .comic-title { font-size: 19px; }
  .comic-desc { -webkit-line-clamp: 2; }
  .card-read { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 18px; }
  .cta-panel { padding: 32px 24px; border-radius: 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .package { padding: 24px 14px 18px; }
  .package-coins { font-size: 27px; }
  .recharge-steps { grid-template-columns: 1fr; gap: 12px; }
  .wallet-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .wallet-value { font-size: 40px; }
  .gate-notice { flex-wrap: wrap; }
  .gate-notice .btn { margin-left: 0; }
  .auth-page { padding: 34px 0 60px; }
  .auth-panel { padding: 30px 24px 28px; }
  .auth-visual-card { aspect-ratio: 4 / 3; }
  .account-item { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .item-cover { width: 74px; }
  .item-actions { flex-direction: row; width: 100%; }
  .item-actions .btn { flex: 1; }
  .profile-card { padding: 22px; }
  .legal-content { padding: 28px 22px; }
  .reader-bar-inner { height: 62px; gap: 9px; }
  .brand-sm .brand-text { display: none; }
  .reader-divider { display: none; }
  .reader-tag-wrap { display: none; }
  .reader-select { max-width: 128px; font-size: 12px; }
  .reader-tools .btn-ghost:last-child { display: none; }
  .reader-meta { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .reader-meta-copy h1 { font-size: 20px; }
  .reader-end { padding: 30px 16px 0; }
  .reader-end-card { padding: 26px 20px; }
  .modal-card { padding: 26px 22px 22px; }
  .qr-frame { width: 196px; height: 196px; }
}

@media (max-width: 460px) {
  .comic-grid { grid-template-columns: 1fr; }
  .comic-cover { aspect-ratio: 4 / 5; }
  .comic-desc { -webkit-line-clamp: 3; }
  .card-read { display: inline-flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .package { flex-direction: row; align-items: center; text-align: left; gap: 10px; padding: 18px; flex-wrap: wrap; }
  .package-coins { font-size: 24px; }
  .package-price { margin: 0; }
  .package-cta { width: auto; padding: 0 16px; margin-left: auto; }
  .auth-visual { display: none; }
  .button-row { flex-direction: column; }
  .search-box input { height: 40px; }
  .catalog-actions { flex-wrap: wrap; }
  .sort-select { flex: 1; }
  .detail-meta-grid { grid-template-columns: 1fr 1fr; }
  .detail-actions .btn { flex: 1; }
  .hero-arrows { display: none; }
  .reader-tools .btn-ghost { padding: 0 12px; }
  .qr-frame { width: 180px; height: 180px; }
}

@media (max-width: 720px) {
  .policy-hero-tags { margin-top: 12px; }
  .policy-content { padding: 28px 20px; }
}

@media (max-width: 920px) {
  .policy-side-back { margin-top: 4px; padding-top: 6px !important; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


