@charset "UTF-8";
/* =========================================================
   空匣子 EmptyBox — 单页官网样式
   配色：米白纸面 / 雾紫 / 藕粉 / 淡金
   说明：全站静态呈现，无自动滚动、无入场动画
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
  --paper: #fdfaf7;
  --paper-2: #fffefc;
  --ink: #2a1f32;
  --ink-2: #6b5c73;
  --ink-3: #9b8ca3;
  --violet-ink: #33203f;
  --violet: #7a57a3;
  --violet-deep: #452a5b;
  --rose: #c26f8d;
  --rose-deep: #a9536f;
  --blush: #f8e9ed;
  --lilac: #f0e8f9;
  --cream: #fbf3e9;
  --gold: #b08a55;
  --line: rgba(69, 42, 91, 0.14);
  --line-soft: rgba(69, 42, 91, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 22px 50px -34px rgba(56, 32, 72, 0.55);
  --shadow-soft: 0 14px 34px -26px rgba(56, 32, 72, 0.45);
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif SC", SimSun, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.5vw, 48px);
  --header-h: 76px;
}

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

html {
  scroll-behavior: auto; /* 静态站：不使用平滑滚动 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  background:
    radial-gradient(920px 620px at 2% -4%, #f9e6ec 0%, rgba(249, 230, 236, 0) 62%),
    radial-gradient(820px 540px at 102% 1%, #ece4f8 0%, rgba(236, 228, 248, 0) 60%),
    var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(194, 111, 141, 0.22);
  color: var(--violet-ink);
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  scroll-margin-top: 96px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  color: #fffaf7;
  background: linear-gradient(140deg, #5d3b78 0%, #40264f 55%, #35203f 100%);
  box-shadow: 0 14px 30px -16px rgba(53, 32, 63, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(53, 32, 63, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  color: var(--violet-deep);
  background: rgba(255, 255, 255, 0.66);
  border-color: var(--line);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(69, 42, 91, 0.26);
  box-shadow: var(--shadow-soft);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15.5px;
}

.btn-xl {
  padding: 17px 38px;
  font-size: 16.5px;
}

.btn .ico {
  width: 17px;
  height: 17px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 247, 0.86);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(253, 250, 247, 0.94);
  box-shadow: 0 12px 30px -28px rgba(56, 32, 72, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px -12px rgba(56, 32, 72, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--violet-ink);
}

.brand-text em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.nav a:hover {
  color: var(--violet-deep);
  background: rgba(240, 232, 249, 0.55);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--violet-deep);
}

.menu-btn .ico-close {
  display: none;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 82px) 0 clamp(50px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--violet);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--rose);
}

.hero h1 {
  margin: 14px 0 6px;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.08em;
  color: var(--violet-ink);
}

.hero-latin {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.lede {
  max-width: 22em;
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.66;
  color: var(--violet-ink);
}

.lede-hl {
  position: relative;
  z-index: 0;
  color: var(--rose-deep);
}

.lede-hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  z-index: -1;
  height: 8px;
  background: linear-gradient(90deg, rgba(194, 111, 141, 0.24), rgba(240, 232, 249, 0));
  border-radius: 4px;
}

.hero-desc {
  max-width: 46em;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid rgba(194, 111, 141, 0.34);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.6;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 46px);
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.2;
  color: var(--violet-ink);
}

.stat-num small {
  font-size: 13px;
  color: var(--ink-2);
  margin-left: 3px;
}

.stat-label {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* 首屏视觉 */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 468px;
  min-width: 0;
  justify-self: end;
  isolation: isolate;
}

.art-frame {
  position: relative;
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(158deg, #ffffff 0%, #f5edfa 52%, #fceff2 100%);
  box-shadow: 0 40px 80px -48px rgba(53, 32, 63, 0.65);
  transform: rotate(-1.2deg);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 18px;
  filter: saturate(1.02) contrast(1.02);
}

.art-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(176, 138, 85, 0.55);
  pointer-events: none;
}

.art-corner.tl {
  top: -4px;
  left: -4px;
  border-right: 0;
  border-bottom: 0;
}

.art-corner.tr {
  top: -4px;
  right: -4px;
  border-left: 0;
  border-bottom: 0;
}

.art-corner.bl {
  bottom: -4px;
  left: -4px;
  border-right: 0;
  border-top: 0;
}

.art-corner.br {
  bottom: -4px;
  right: -4px;
  border-left: 0;
  border-top: 0;
}

.art-card {
  position: absolute;
  left: -30px;
  bottom: -32px;
  z-index: 3;
  width: 196px;
  padding: 8px 8px 9px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px -24px rgba(53, 32, 63, 0.6);
  transform: rotate(3.4deg);
}

.art-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 9px;
}

.art-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.art-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(150deg, #d0879f, #a9536f);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(169, 83, 111, 0.9);
  transform: rotate(7deg);
}

.art-badge strong {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.art-badge small {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.art-chip {
  position: absolute;
  right: -18px;
  bottom: 26px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -20px rgba(53, 32, 63, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--violet-deep);
  backdrop-filter: blur(6px);
}

.art-chip .ico {
  width: 14px;
  height: 14px;
  color: var(--rose);
}

/* ---------- 通用区块头 ---------- */
.section {
  padding: clamp(58px, 7.5vw, 96px) 0;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
}

.sec-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(176, 138, 85, 0.4);
  border-radius: 4px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(29px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--violet-ink);
}

.sec-sub {
  max-width: 62em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.sec-foot {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}

/* ---------- 剧情章节 ---------- */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.chapter-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.chapter-thumb {
  position: relative;
  overflow: hidden;
}

.chapter-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.chapter-card:hover .chapter-thumb img {
  transform: scale(1.03);
}

.chapter-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 31, 50, 0.22) 0%, rgba(42, 31, 50, 0) 46%);
  pointer-events: none;
}

.tag {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(69, 42, 91, 0.82);
  backdrop-filter: blur(4px);
}

.tag--main {
  background: rgba(69, 42, 91, 0.84);
}

.tag--route {
  background: rgba(169, 83, 111, 0.86);
}

.tag--memory {
  background: rgba(151, 113, 58, 0.86);
}

.tag--extra {
  background: rgba(52, 47, 53, 0.82);
}

.chapter-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 17px 18px 18px;
}

.chapter-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--violet-ink);
}

.chapter-desc {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.chapter-meta {
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ---------- 角色 ---------- */
.characters {
  background: linear-gradient(180deg, rgba(240, 232, 249, 0.5) 0%, rgba(253, 250, 247, 0) 72%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.char-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.char-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.char-photo {
  position: relative;
  overflow: hidden;
}

.char-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 16%;
  transition: transform 0.5s ease;
}

.char-card:hover .char-photo img {
  transform: scale(1.03);
}

.char-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 31, 50, 0.05) 0%, rgba(42, 31, 50, 0.32) 100%);
  pointer-events: none;
}

.char-role {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(42, 31, 50, 0.28);
  backdrop-filter: blur(6px);
}

.char-info {
  padding: 18px 18px 20px;
}

.char-latin {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.char-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet-ink);
}

.char-title {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
}

.char-quote {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.char-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.char-tags li {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(240, 232, 249, 0.8);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--violet-deep);
}

.char-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 24px;
  border: 1px solid rgba(194, 111, 141, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fdf0f4 0%, #f7f0fb 58%, #fffaf5 100%);
}

.char-banner img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 22px -14px rgba(53, 32, 63, 0.6);
}

.banner-copy h3 {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--violet-ink);
}

.banner-copy p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.banner-note {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--violet-deep);
  white-space: nowrap;
}

/* ---------- 特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, #f4ecfa, #fbeef1);
  border: 1px solid rgba(194, 111, 141, 0.16);
  color: var(--violet);
}

.feature-icon .ico {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.feature-title {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--violet-ink);
}

.feature-desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 人气榜 ---------- */
.ranking {
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(248, 233, 237, 0.9) 0%, rgba(248, 233, 237, 0) 70%),
    rgba(255, 253, 251, 0.5);
  border-top: 1px solid var(--line-soft);
}

.rank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.rank-list {
  border-top: 1px solid var(--line);
}

.rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.22s ease;
}

.rank-row:hover {
  background: rgba(240, 232, 249, 0.32);
}

.rank-no {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: var(--rose);
}

.rank-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--violet-ink);
}

.rank-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(240, 232, 249, 0.9);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.rank-bar {
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(69, 42, 91, 0.08);
  overflow: hidden;
}

.rank-fill {
  display: block;
  width: var(--w, 60%);
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(194, 111, 141, 0.9), rgba(122, 87, 163, 0.85));
}

.rank-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-2);
  white-space: nowrap;
}

.rank-value small {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-left: 2px;
}

.rank-quote {
  position: relative;
  padding: 34px 30px 28px;
  border: 1px solid rgba(194, 111, 141, 0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fdf2f5, #faf4fb);
  transform: rotate(-1.2deg);
  box-shadow: var(--shadow-soft);
}

.quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.8;
  color: rgba(194, 111, 141, 0.5);
}

.quote-text {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--violet-ink);
}

.quote-by {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* ---------- 更新手记 ---------- */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-soft);
  border-top: 3px solid rgba(122, 87, 163, 0.34);
  border-radius: 4px var(--radius) var(--radius) var(--radius);
  background: rgba(255, 255, 255, 0.66);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.note-card:nth-child(2) {
  border-top-color: rgba(194, 111, 141, 0.4);
}

.note-card:nth-child(3) {
  border-top-color: rgba(176, 138, 85, 0.4);
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line);
}

.note-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.note-date {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--violet-ink);
}

.note-cat {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(240, 232, 249, 0.8);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.note-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--violet-ink);
}

.note-text {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 关于 ---------- */
.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(244, 237, 250, 0.9) 0%, rgba(251, 238, 241, 0.86) 54%, rgba(253, 248, 240, 0.9) 100%);
  box-shadow: 0 30px 70px -50px rgba(56, 32, 72, 0.55);
}

.about-panel::before {
  content: "匣";
  position: absolute;
  right: -6px;
  bottom: -72px;
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
  color: rgba(69, 42, 91, 0.055);
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.about-title {
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--violet-ink);
}

.about-text {
  margin-top: 18px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
}

.about-text + .about-text {
  margin-top: 10px;
}

.about-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--violet-deep);
}

.about-list li .ico {
  width: 15px;
  height: 15px;
  color: var(--rose-deep);
}

.about-seal {
  justify-self: center;
  text-align: center;
}

.about-seal img {
  width: min(180px, 38vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 44px -28px rgba(56, 32, 72, 0.6);
  transform: rotate(3deg);
}

.seal-cap {
  margin-top: 18px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------- 下载 ---------- */
.download {
  padding: clamp(24px, 3.6vw, 48px) 0 clamp(24px, 3vw, 36px);
}

.dl-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(122, 87, 163, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 400px at 92% 12%, rgba(194, 111, 141, 0.2) 0%, rgba(194, 111, 141, 0) 68%),
    radial-gradient(600px 380px at 4% 100%, rgba(176, 138, 85, 0.14) 0%, rgba(176, 138, 85, 0) 70%),
    linear-gradient(140deg, #f7f0fb 0%, #fdf3f5 56%, #fffaf3 100%);
  box-shadow: 0 36px 80px -56px rgba(56, 32, 72, 0.6);
}

.dl-panel::after {
  content: "EMPTY BOX · ANDROID";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.4em;
  color: rgba(69, 42, 91, 0.22);
  white-space: nowrap;
}

.dl-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.36;
  color: var(--violet-ink);
}

.dl-desc {
  max-width: 36em;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

.dl-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.dl-spec dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.dl-spec dd {
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--violet-ink);
}

.dl-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 40px -34px rgba(56, 32, 72, 0.5);
  backdrop-filter: blur(8px);
}

.dl-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  box-shadow: 0 18px 36px -20px rgba(53, 32, 63, 0.7);
}

.dl-action .btn {
  width: 100%;
  max-width: 260px;
}

.dl-note {
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  color: var(--ink-3);
}

.dl-note span {
  display: block;
  color: var(--rose-deep);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 900px;
}

#faq.section {
  padding-top: clamp(34px, 4.5vw, 58px);
}

#faq .sec-title {
  font-size: clamp(24px, 3.4vw, 44px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--violet-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--rose-deep);
}

.faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--violet);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-plus .ico {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: rgba(240, 232, 249, 0.9);
}

.faq-body {
  padding: 0 4px 24px;
}

.faq-body p {
  max-width: 60em;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 54px 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(250, 245, 240, 0.7) 0%, rgba(247, 240, 234, 0.9) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.75fr));
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  gap: 10px;
}

.footer-brand .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.footer-tagline {
  max-width: 22em;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}

.footer-col h3 {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-col a {
  font-size: 12.5px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--rose-deep);
}

.domain-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.domain-row span {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--violet-deep);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.copy-btn:hover {
  color: var(--violet-deep);
  background: #fff;
}

.copy-tip {
  min-height: 1em;
  margin-top: 6px;
  font-size: 10px;
  color: var(--rose-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-3);
}

.footer-bottom .disclaimer {
  max-width: 46em;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid var(--line);
  color: var(--violet-deep);
  box-shadow: 0 14px 30px -20px rgba(53, 32, 63, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: #fff;
}

.to-top .ico {
  width: 18px;
  height: 18px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .chapter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid .note-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-art {
    max-width: 440px;
    justify-self: center;
  }

  .hero-copy {
    max-width: 620px;
  }

  .rank-panel {
    grid-template-columns: 1fr;
  }

  .rank-quote {
    max-width: 520px;
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-seal {
    justify-self: start;
    text-align: left;
  }

  .dl-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dl-action {
    align-items: flex-start;
  }

  .dl-action .btn {
    max-width: 300px;
  }

  .dl-note {
    text-align: left;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 66px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px var(--gutter) 20px;
    background: #fdfaf7;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(56, 32, 72, 0.6);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 14.5px;
  }

  .nav a::after {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-actions .header-cta {
    display: none;
  }

  .menu-btn[aria-expanded="true"] .ico-menu {
    display: none;
  }

  .menu-btn[aria-expanded="true"] .ico-close {
    display: block;
  }

  .hero h1 {
    letter-spacing: 0.06em;
  }

  .char-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .char-grid .char-card:last-child {
    grid-column: 1 / -1;
  }

  .char-grid .char-card:last-child .char-photo img {
    aspect-ratio: 16 / 9;
    object-position: 50% 18%;
  }

  .char-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .banner-note {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-art {
    max-width: 380px;
  }

  .art-card {
    left: 6px;
    bottom: -26px;
    width: 162px;
  }

  .art-badge {
    width: 70px;
    height: 70px;
    top: -12px;
    right: -2px;
  }

  .art-badge strong {
    font-size: 13px;
  }

  .art-chip {
    right: -2px;
    bottom: 18px;
    padding: 7px 12px;
    font-size: 10.5px;
  }

  .stats {
    gap: 18px 28px;
  }

  .dl-spec {
    gap: 10px 16px;
  }

  .about-panel::before {
    font-size: 170px;
    bottom: -30px;
    right: 4px;
  }
}

@media (max-width: 640px) {
  .chapter-grid,
  .feature-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .notes-grid .note-card:last-child {
    grid-column: auto;
  }

  .char-grid {
    grid-template-columns: 1fr;
  }

  .char-grid .char-card:last-child {
    grid-column: auto;
  }

  .char-photo img {
    aspect-ratio: 16 / 11;
    object-position: 50% 16%;
  }

  .char-grid .char-card:last-child .char-photo img {
    aspect-ratio: 16 / 11;
  }

  .rank-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .rank-no {
    font-size: 20px;
  }

  .rank-name {
    font-size: 15px;
    gap: 8px;
  }

  .rank-value {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 460px) {
  .hero-art {
    max-width: 300px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn-lg {
    padding: 13px 16px;
    font-size: 15px;
    gap: 7px;
  }

  .hero-cta .btn .ico {
    width: 15px;
    height: 15px;
  }

  .art-card {
    width: 132px;
    left: 0;
    bottom: -20px;
    padding: 6px;
  }

  .art-chip {
    display: none;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 0 1 auto;
    padding-inline: 14px;
  }

  .char-banner {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .banner-note {
    grid-column: auto;
  }

  .dl-action {
    padding: 26px 20px;
  }

  .stat-num {
    font-size: 26px;
  }
}

/* ---------- 可访问性 / 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
