@import url("fonts/noto-serif-sc/index.css");

@font-face {
  font-family: "Ma Shan Zheng";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/ma-shan-zheng/files/ma-shan-zheng-chinese-simplified-400-normal.woff2") format("woff2");
}

:root {
  --ink: #2b211c;
  --ink-soft: #68584d;
  --paper: #f7f1e8;
  --paper-2: #efe5d7;
  --white: #fffdf9;
  --wine: #7f3e32;
  --wine-dark: #52271f;
  --gold: #b48a4d;
  --gold-soft: #e6d1aa;
  --line: rgba(74, 50, 36, 0.14);
  --shadow: 0 24px 70px rgba(55, 34, 21, 0.14);
  --radius: 22px;
  --text-scale: 1;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #e8ded1; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.58), transparent 30%),
    linear-gradient(rgba(232,222,209,.7), rgba(217,203,187,.7)),
    url("assets/ink-wash-paper-v1.png") center top / 720px auto repeat;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: calc(16px * var(--text-scale));
}

button, textarea, input { font: inherit; }
button { color: inherit; }
.ambient { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; opacity: .55; }
.ambient-one { width: 420px; height: 420px; background: rgba(180,138,77,.15); left: -130px; top: 38%; }
.ambient-two { width: 360px; height: 360px; background: rgba(127,62,50,.1); right: -120px; top: -80px; }

.product-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(440px, 1fr) 470px;
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px;
}

.story-panel {
  min-height: calc(100vh - 56px);
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  padding: 42px 48px;
  background: #241914;
  color: #f9f2e8;
  box-shadow: var(--shadow);
}
.story-brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--gold-soft); font-family: STSong, SimSun, serif; }
.brand-mark.small { width: 34px; height: 34px; font-size: 16px; color: var(--wine); border-color: rgba(127,62,50,.42); }
.story-copy { position: relative; z-index: 2; max-width: 680px; margin-top: clamp(70px, 12vh, 145px); }
.eyebrow { margin: 0 0 20px; color: var(--gold-soft); font-size: 13px; font-weight: 700; letter-spacing: .25em; }
.story-copy h1 { margin: 0; font-family: STSong, SimSun, serif; font-size: clamp(48px, 5vw, 78px); line-height: 1.14; font-weight: 400; letter-spacing: -.04em; }
.story-copy > p:last-child { max-width: 580px; margin-top: 28px; color: rgba(255,255,255,.69); font-size: 17px; line-height: 1.9; }
.story-photo { position: absolute; inset: auto 0 0 44%; height: 58%; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.story-photo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #241914 0%, rgba(36,25,20,.7) 18%, transparent 60%), linear-gradient(0deg, rgba(36,25,20,.78), transparent 45%); }
.story-photo blockquote { position: absolute; right: 40px; bottom: 38px; margin: 0; color: rgba(255,255,255,.82); font-family: STSong, SimSun, serif; font-size: 18px; line-height: 1.8; text-align: right; }

.app-frame {
  position: relative;
  height: calc(100vh - 56px);
  min-height: 680px;
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr) 76px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 34px;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(247,241,232,.1), rgba(247,241,232,.1)),
    url("assets/ink-wash-paper-v1.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  box-shadow: 0 30px 90px rgba(47,28,18,.2);
}
.app-header { display: flex; align-items: center; justify-content: space-between; padding: 0 23px; border-bottom: 1px solid var(--line); background: rgba(255,253,249,.9); backdrop-filter: blur(18px); }
.wordmark { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.wordmark b { display: block; font-family: STSong, SimSun, serif; font-size: 18px; letter-spacing: .08em; }
.wordmark small { display: block; margin-top: 3px; color: #9c8979; font-size: 8px; letter-spacing: .12em; }
.header-book-magic { position: relative; flex: 0 0 48px; width: 48px; height: 38px; margin-left: -2px; overflow: hidden; pointer-events: none; filter: drop-shadow(0 5px 7px rgba(89,55,31,.22)); }
.header-book-sprite { position: absolute; inset: 0; display: block; background: url("assets/ancient-book-wind-sprite.png") 0 100% / 400% auto no-repeat; transform-origin: 50% 85%; will-change: transform, background-position; animation: ancientBookBreeze 2.8s steps(1, end) infinite; }
.header-book-light {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255,211,103,.72) 44%, rgba(255,246,201,.98) 49%, rgba(255,208,94,.64) 54%, transparent 64%) -145% 0 / 245% 100% no-repeat;
  -webkit-mask: url("assets/ancient-book-wind-sprite.png") 0 100% / 400% auto no-repeat;
  mask: url("assets/ancient-book-wind-sprite.png") 0 100% / 400% auto no-repeat;
  mix-blend-mode: screen;
  will-change: background-position, opacity, -webkit-mask-position, mask-position;
  animation: bookLightSweep 3.6s ease-in-out infinite, ancientBookLightMask 2.8s steps(1, end) infinite;
}
@keyframes ancientBookBreeze {
  0%, 17% { background-position: 0 100%; transform: rotate(-.7deg) translateY(0); }
  18%, 36% { background-position: 33.333% 100%; transform: rotate(.5deg) translateY(-1px); }
  37%, 55% { background-position: 66.666% 100%; transform: rotate(-.3deg) translateY(-1px); }
  56%, 75% { background-position: 100% 100%; transform: rotate(.4deg) translateY(0); }
  76%, 87% { background-position: 66.666% 100%; transform: rotate(-.2deg) translateY(-1px); }
  88%, 96% { background-position: 33.333% 100%; transform: rotate(.3deg) translateY(0); }
  97%, 100% { background-position: 0 100%; transform: rotate(-.7deg) translateY(0); }
}
@keyframes bookLightSweep {
  0%, 12% { opacity: 0; background-position: -145% 0; }
  20% { opacity: .9; }
  43% { opacity: .58; }
  52%, 100% { opacity: 0; background-position: 165% 0; }
}
@keyframes ancientBookLightMask {
  0%, 17% { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
  18%, 36% { -webkit-mask-position: 33.333% 100%; mask-position: 33.333% 100%; }
  37%, 55% { -webkit-mask-position: 66.666% 100%; mask-position: 66.666% 100%; }
  56%, 75% { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }
  76%, 87% { -webkit-mask-position: 66.666% 100%; mask-position: 66.666% 100%; }
  88%, 96% { -webkit-mask-position: 33.333% 100%; mask-position: 33.333% 100%; }
  97%, 100% { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
}
.header-actions { display: flex; align-items: center; gap: 9px; }
.beta-label { padding: 5px 8px; border: 1px solid rgba(180,138,77,.35); border-radius: 999px; color: #8b6739; background: rgba(247,235,213,.72); font-size: 9px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.invite-beta-banner { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin-bottom: 12px; padding: 11px 13px; border: 1px solid rgba(180,138,77,.25); border-radius: 14px; background: rgba(255,250,242,.86); box-shadow: 0 8px 24px rgba(78,49,32,.05); }
.invite-beta-banner span { padding: 5px 8px; border-radius: 999px; color: #fff8ed; background: var(--wine); font-size: 9px; font-weight: 750; white-space: nowrap; }
.invite-beta-banner p { margin: 0; color: #756257; font-size: 9px; line-height: 1.55; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.icon-button.active { color: white; background: var(--wine); border-color: var(--wine); }

.view {
  overflow-y: auto;
  padding: 22px 22px 34px;
  background: rgba(247,241,232,.12);
  scroll-behavior: smooth;
}
.view::-webkit-scrollbar { width: 5px; }
.view::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(90,61,45,.2); }
.view-enter { animation: viewIn .34s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-card { position: relative; overflow: hidden; min-height: 218px; padding: 25px 24px; border-radius: 25px; background: linear-gradient(145deg, #35231b, #6b382d); color: #fff8ed; box-shadow: 0 18px 38px rgba(71,38,28,.24); }
.hero-card::after { content: "传"; position: absolute; right: -7px; bottom: -42px; color: rgba(255,255,255,.055); font-family: STSong, SimSun, serif; font-size: 190px; line-height: 1; }
.hero-card .mini-label { color: var(--gold-soft); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.hero-card h2 { position: relative; z-index: 1; margin: 16px 0 10px; font-family: STSong, SimSun, serif; font-size: 34px; line-height: 1.22; font-weight: 400; }
.hero-card p { position: relative; z-index: 1; max-width: 300px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; }
.hero-card .primary-button { position: relative; z-index: 2; margin-top: 22px; }
.home-brand-hero { min-height: 330px; padding: 0; background: #211613; }
.home-brand-hero::after { display: none; }
.hero-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-card-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,16,13,.98) 0%, rgba(30,19,15,.9) 43%, rgba(30,19,15,.34) 74%, rgba(30,19,15,.14) 100%), linear-gradient(0deg, rgba(26,16,13,.68), transparent 55%); }
.hero-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 92%; min-height: 330px; padding: 27px 24px; }
.home-brand-hero h2 { max-width: none; margin-top: 13px; font-size: clamp(31px, 8.2vw, 39px); line-height: 1.16; }
.home-brand-hero h2 span { display: block; white-space: nowrap; }
.home-brand-hero p { max-width: 285px; color: rgba(255,255,255,.82); text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.home-brand-hero .primary-button { margin-top: 19px; }

.poet-guide-card {
  position: relative;
  min-height: 184px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(125,91,65,.17);
  border-radius: 22px;
  background: linear-gradient(125deg, rgba(255,253,248,.96), rgba(236,225,207,.88));
  box-shadow: 0 14px 34px rgba(69,44,30,.08);
}
.poet-guide-card::after { content: "诗"; position: absolute; right: 3px; top: -24px; color: rgba(127,62,50,.045); font-family: STSong, SimSun, serif; font-size: 142px; line-height: 1; }
.poet-guide-copy { position: relative; z-index: 2; width: 68%; padding: 19px 0 15px 18px; }
.poet-guide-copy > span { color: var(--gold); font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.poet-guide-copy h3 { margin: 8px 0 6px; font-family: STSong, SimSun, serif; font-size: 21px; font-weight: 500; }
.poet-guide-copy p { margin: 0; color: #735f52; font-size: 10px; line-height: 1.6; }
.poet-guide-copy button { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; padding: 9px 11px; border: 0; border-radius: 11px; color: white; background: var(--wine); cursor: pointer; font-size: 10px; font-weight: 700; box-shadow: 0 7px 17px rgba(103,51,41,.2); }
.poet-guide-copy button i { font-style: normal; font-size: 14px; }
.poet-guide-copy small { display: block; margin-top: 8px; color: #9d8b7d; font-size: 7px; line-height: 1.4; }
.poet-guide-card > img { position: absolute; z-index: 1; right: -15px; bottom: -49px; width: 150px; height: auto; filter: drop-shadow(0 9px 16px rgba(45,29,20,.2)); }

.primary-button, .secondary-button, .text-button { border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.primary-button:active, .secondary-button:active { transform: scale(.98); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 14px; color: #3f2a21; background: #f5e8cf; font-weight: 700; box-shadow: 0 9px 22px rgba(0,0,0,.15); }
.primary-button.dark { color: #fff; background: var(--wine); box-shadow: 0 10px 24px rgba(127,62,50,.25); }
.primary-button.wide, .secondary-button.wide { width: 100%; }
.secondary-button { min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 650; }
.text-button { padding: 5px; color: var(--wine); background: transparent; font-weight: 650; }

.section-title { display: flex; align-items: end; justify-content: space-between; margin: 26px 2px 14px; }
.section-title h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 22px; font-weight: 500; }
.section-title span { color: #8c7868; font-size: 11px; }
.resume-card { display: grid; grid-template-columns: 1fr 72px; gap: 16px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.resume-card .kicker { color: var(--gold); font-size: 11px; font-weight: 700; }
.resume-card h4 { margin: 8px 0 6px; font-family: STSong, SimSun, serif; font-size: 21px; font-weight: 500; }
.resume-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.progress-ring { --p: 0; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: conic-gradient(var(--wine) calc(var(--p) * 1%), #eadfd3 0); }
.progress-ring::before { content: attr(data-label); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); font-size: 12px; font-weight: 700; }
.resume-actions { grid-column: 1 / -1; display: flex; gap: 10px; }
.resume-actions button { flex: 1; }
.cover-start-card { align-items: center; background: linear-gradient(135deg, #fffdf9, #f3e7d8); }
.cover-start-card > div:first-child { align-self: center; }
.cover-start-card .user-book-cover { justify-self: end; width: 62px; height: 88px; padding: 7px 6px; border-radius: 2px 5px 5px 2px; box-shadow: 8px 9px 16px rgba(61,37,24,.2); }
.cover-start-card .user-book-cover span { font-size: 4px; }
.cover-start-card .user-book-cover h3 { font-size: 9px; }
.cover-start-card .user-book-cover p { font-size: 4px; }
.cover-start-card .user-book-cover b { font-size: 4px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.feature-card { position: relative; min-height: 132px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,253,249,.74); text-align: left; cursor: pointer; }
.feature-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: var(--wine); background: #efe0d3; font-size: 18px; }
.movie-feature-icon, .voice-feature-icon { display: flex; width: 66px; padding: 0 8px; gap: 7px; }
.movie-feature-icon b, .voice-feature-icon b { font-family: STSong, SimSun, serif; font-size: 18px; font-weight: 500; line-height: 1; }
.movie-feature-icon svg, .voice-feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.movie-feature-icon svg path:last-child { fill: currentColor; stroke: none; }
.voice-feature-icon svg { width: 23px; height: 23px; }
.feature-badge { position: absolute; top: 18px; right: 14px; padding: 4px 7px; border-radius: 999px; color: #8b5c34; background: #f5e7c9; font-size: 7px; font-style: normal; font-weight: 700; letter-spacing: .03em; }
.feature-card h4 { margin: 20px 0 5px; font-size: 14px; }
.feature-card p { margin: 0; color: #867263; font-size: 11px; line-height: 1.5; }
.feature-card i { display: block; margin-top: 11px; color: var(--wine); font-size: 9px; font-style: normal; font-weight: 700; }
.home-tools { display: grid; gap: 9px; margin-top: 13px; }
.home-tools button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: left; cursor: pointer; }
.home-tools button > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--wine); background: #eee1d5; font-family: STSong, SimSun, serif; }
.home-tools button div { flex: 1; }
.home-tools b, .home-tools small { display: block; }
.home-tools b { font-size: 13px; }
.home-tools small { margin-top: 3px; color: #938073; font-size: 10px; }
.home-tools i { color: #a99587; font-size: 20px; font-style: normal; }
.commerce-strip { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 12px; padding: 16px; border-radius: 17px; color: #f8efe5; background: #30211b; }
.commerce-strip span, .commerce-strip b, .commerce-strip small { display: block; }
.commerce-strip span { color: var(--gold-soft); font-size: 9px; letter-spacing: .1em; }
.commerce-strip b { margin-top: 4px; font-family: STSong, SimSun, serif; font-size: 16px; font-weight: 500; }
.commerce-strip small { margin-top: 3px; color: rgba(255,255,255,.5); font-size: 8px; }
.commerce-strip button { flex: 0 0 auto; padding: 9px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: white; background: rgba(255,255,255,.08); cursor: pointer; font-size: 10px; }

.founder-contact {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  margin-top: 13px;
  padding: 15px;
  border: 1px solid rgba(128,91,67,.18);
  border-radius: 20px;
  background: rgba(255,253,249,.84);
  box-shadow: 0 12px 32px rgba(68,43,28,.07);
  backdrop-filter: blur(10px);
}
.founder-contact > img {
  display: block;
  width: 92px;
  height: 116px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 0 9px 24px rgba(50,31,21,.15);
}
.founder-contact-copy > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .18em;
}
.founder-contact-copy h3 {
  margin: 5px 0 4px;
  font-family: STSong, SimSun, serif;
  font-size: 21px;
  font-weight: 500;
}
.founder-contact-copy p {
  margin: 0;
  color: #806d60;
  font-size: 10px;
  line-height: 1.55;
}
.founder-contact-copy button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px;
  align-items: baseline;
  width: 100%;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(127,62,50,.2);
  border-radius: 11px;
  color: var(--wine-dark);
  background: #f3e7da;
  cursor: pointer;
  text-align: left;
}
.founder-contact-copy button small { color: #957e6d; font-size: 8px; letter-spacing: .1em; }
.founder-contact-copy button b { font-family: Georgia, serif; font-size: 14px; letter-spacing: .06em; }
.founder-contact-copy button i { color: var(--wine); font-size: 8px; font-style: normal; font-weight: 700; }

.public-showcase { margin: 28px -22px 0; padding: 1px 0 6px; overflow: hidden; border-top: 1px solid var(--line); }
.public-showcase .section-title { padding: 0 24px; }
.showcase-shelf-heading { display: flex; align-items: baseline; gap: 10px; padding: 5px 24px 10px; }
.showcase-shelf-heading span { color: var(--gold); font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.showcase-shelf-heading b { color: var(--ink); font-family: STSong, SimSun, serif; font-size: 16px; font-weight: 500; }
.student-shelf-heading { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(128,91,67,.15); }
.showcase-marquee { position: relative; overflow: hidden; padding: 4px 0 12px; }
.showcase-marquee::before, .showcase-marquee::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 28px; pointer-events: none; }
.showcase-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.showcase-marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.showcase-track { display: flex; gap: 12px; width: max-content; padding: 0 6px; animation: showcaseMove 48s linear infinite; }
.showcase-track.reverse { animation-direction: reverse; animation-duration: 56s; }
.showcase-marquee:hover .showcase-track, .showcase-marquee:focus-within .showcase-track, .showcase-marquee:active .showcase-track { animation-play-state: paused; }
@keyframes showcaseMove { to { transform: translateX(calc(-50% - 6px)); } }
.showcase-book { flex: 0 0 125px; width: 125px; padding: 0 0 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; cursor: pointer; box-shadow: 0 10px 24px rgba(64,40,26,.07); }
.showcase-cover { position: relative; display: block; height: 166px; overflow: hidden; background: #e9ddd0; perspective: 600px; }
.showcase-cover::after { content: ""; position: absolute; inset: 0; box-shadow: inset -8px 0 13px rgba(46,28,18,.16); pointer-events: none; }
.showcase-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; transform-origin: left center; }
.showcase-book:hover .showcase-cover img, .showcase-book:focus .showcase-cover img { transform: rotateY(-7deg) scale(1.025); }
.showcase-book b, .showcase-book small { display: block; overflow: hidden; padding: 0 10px; text-overflow: ellipsis; white-space: nowrap; }
.showcase-book b { margin-top: 10px; font-family: STSong, SimSun, serif; font-size: 13px; font-weight: 500; }
.showcase-book small { margin-top: 3px; color: #947f71; font-size: 9px; }
.review-title { margin-top: 22px; }
.showcase-review { position: relative; flex: 0 0 230px; width: 230px; min-height: 144px; padding: 18px 17px 15px; border: 1px solid rgba(180,138,77,.2); border-radius: 17px; color: #f9eee2; background: linear-gradient(145deg, #39261e, #5b342a); text-align: left; cursor: pointer; }
.showcase-review .quote-mark { position: absolute; top: 5px; right: 14px; color: rgba(230,209,170,.4); font-family: Georgia, serif; font-size: 43px; }
.showcase-review blockquote { min-height: 70px; margin: 0; padding-right: 10px; font-family: STSong, SimSun, serif; font-size: 12px; line-height: 1.75; }
.review-by { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.review-by b, .review-by small { display: block; }
.review-by b { color: var(--gold-soft); font-size: 11px; }
.review-by small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 8px; }

.showcase-modal { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(31,20,16,.72); backdrop-filter: blur(7px); cursor: pointer; }
.showcase-modal-panel { position: relative; z-index: 1; width: min(100%, 350px); max-height: calc(100% - 24px); overflow-y: auto; padding: 25px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.35); text-align: center; animation: modalIn .3s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: white; background: rgba(45,29,23,.82); cursor: pointer; font-size: 21px; }
.preview-book { width: 158px; height: 224px; margin: 0 auto 20px; perspective: 800px; }
.preview-book img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 15px 18px 26px rgba(50,30,20,.25); transform: rotateY(-8deg); transform-origin: left center; animation: bookBreathe 3.2s ease-in-out infinite; }
@keyframes bookBreathe { 50% { transform: rotateY(-2deg) translateY(-4px); } }
.modal-kicker { margin: 0 0 9px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.showcase-modal-panel blockquote { margin: 0; color: #4a382e; font-family: STSong, SimSun, serif; font-size: 18px; line-height: 1.75; }
.modal-author { margin: 13px 0 0; color: #8f796a; font-size: 11px; }
.review-proof-panel h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 25px; font-weight: 500; }
.modal-role { margin: 4px 0 15px; color: #8f796a; font-size: 10px; }
.proof-image { display: block; width: 100%; max-height: 295px; margin-bottom: 18px; border-radius: 12px; object-fit: contain; background: #e8ded2; }
.review-proof-panel blockquote { font-size: 13px; }

.page-heading .back { margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: #7d6a5c; cursor: pointer; }
.page-heading .eyebrow { margin-bottom: 9px; color: var(--gold); }
.page-heading h2 { margin: 0; font-family: STSong, SimSun, serif; font-size: 30px; line-height: 1.25; font-weight: 500; }
.page-heading > p { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.slim-progress { height: 6px; margin: 20px 0 24px; overflow: hidden; border-radius: 99px; background: #e7ddd2; }
.slim-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wine), #b1705b); transition: width .3s ease; }
.question-card { padding: 23px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 14px 34px rgba(69,44,30,.06); }
.question-no { color: var(--gold); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.question-card h3 { margin: 14px 0 10px; font-family: STSong, SimSun, serif; font-size: 25px; line-height: 1.45; font-weight: 500; }
.question-tip { margin: 0 0 18px; color: #887466; font-size: 12px; line-height: 1.65; }
.answer-box { width: 100%; min-height: 130px; resize: vertical; padding: 15px; border: 1px solid #dfd1c4; border-radius: 15px; outline: none; background: #fbf8f3; color: var(--ink); line-height: 1.7; }
.answer-box:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,77,.1); }
.voice-row { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.voice-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid #dbc8b8; border-radius: 999px; background: #f3e8dc; color: var(--wine); cursor: pointer; font-weight: 700; }
.voice-button.listening { color: white; background: var(--wine); animation: pulse 1s ease infinite; }
.voice-button.transcribing, .voice-button:disabled { cursor: wait; opacity: .72; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(127,62,50,.1); } }
.voice-row small { color: #948276; }
.page-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 11px; margin-top: 18px; }

.generating { min-height: 100%; display: grid; place-content: center; text-align: center; }
.ink-loader { position: relative; width: 92px; height: 92px; margin: 0 auto 24px; }
.ink-loader::before, .ink-loader::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 48% 52% 54% 46%; animation: spin 2.4s linear infinite; }
.ink-loader::after { inset: 13px; border-color: var(--wine); animation-direction: reverse; animation-duration: 1.8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.generating h2 { margin: 0; font-family: STSong, SimSun, serif; font-size: 28px; font-weight: 500; }
.generating p { color: var(--ink-soft); font-size: 13px; }

.outline-list { display: grid; gap: 10px; margin-top: 20px; }
.outline-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 11px; align-items: center; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); text-align: left; cursor: pointer; }
.outline-item .number { color: var(--gold); font-family: Georgia, serif; }
.outline-item h4 { margin: 0 0 4px; font-family: STSong, SimSun, serif; font-size: 18px; font-weight: 500; }
.outline-item p { margin: 0; color: #8a7668; font-size: 11px; }
.outline-item .count { color: #9b887a; font-size: 10px; }
.notice { margin: 15px 0; padding: 13px 14px; border-radius: 13px; color: #6f5b4d; background: #eee2d4; font-size: 11px; line-height: 1.6; }

.chat-day { margin: 9px 0 18px; color: #9a8779; font-size: 10px; text-align: center; }
.message-list { display: grid; gap: 14px; }
.message { display: flex; align-items: flex-start; gap: 8px; }
.message.user { flex-direction: row-reverse; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: var(--wine); font-family: STSong, SimSun, serif; }
.message.user .avatar { color: var(--wine); background: #e8d7c8; }
.bubble { max-width: 79%; padding: 13px 14px; border-radius: 7px 17px 17px 17px; background: var(--white); box-shadow: 0 8px 24px rgba(70,43,28,.07); font-size: 13px; line-height: 1.65; }
.message.user .bubble { border-radius: 17px 7px 17px 17px; color: white; background: var(--wine); }
.quick-replies { display: flex; gap: 7px; overflow-x: auto; margin: 17px 0 11px 42px; padding-bottom: 4px; }
.quick-replies button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #dbcabd; border-radius: 999px; background: var(--white); color: #715d50; font-size: 11px; cursor: pointer; }
.composer { position: sticky; bottom: -20px; display: grid; grid-template-columns: 43px 1fr 48px; gap: 8px; margin: 17px -5px 0; padding: 12px 5px 10px; background: linear-gradient(transparent, var(--paper) 20%); }
.composer button, .composer input { height: 44px; border: 1px solid var(--line); }
.composer .mic { border-radius: 50%; color: var(--wine); background: #efe1d5; cursor: pointer; }
.composer .mic.listening { color: #fff; background: var(--wine); animation: pulse 1s ease infinite; }
.composer input { min-width: 0; padding: 0 13px; border-radius: 14px; outline: none; background: var(--white); }
.composer .send { border: 0; border-radius: 14px; color: #fff; background: var(--wine); cursor: pointer; }
.chapter-finish { margin-top: 16px; }

.paper-preview { position: relative; margin-top: 18px; padding: 31px 26px 34px; border: 1px solid #d8c6b6; background: #fffdf8; box-shadow: 0 18px 42px rgba(65,41,26,.11); }
.paper-preview::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 13px; width: 1px; background: #e6d5c5; }
.paper-preview .chapter-mark { color: var(--gold); font-size: 10px; letter-spacing: .2em; }
.paper-preview h3 { margin: 12px 0 19px; font-family: STSong, SimSun, serif; font-size: 26px; font-weight: 500; }
.paper-preview p { margin: 0; color: #4f4037; font-family: STSong, SimSun, serif; font-size: 16px; line-height: 2; text-align: justify; }
.draft-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.draft-actions .wide { grid-column: 1 / -1; }

.bookshelf { margin-top: 21px; padding: 28px 20px 22px; border-radius: 24px; background: linear-gradient(#39261d, #281a15); color: white; }
.book-stage { position: relative; display: grid; place-items: end center; min-height: 268px; }
.book-stage::after { content: ""; position: absolute; left: -20px; right: -20px; bottom: 0; height: 13px; border-radius: 4px; background: linear-gradient(#9d6e45, #553720); box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.book-stage img { position: relative; z-index: 1; width: 162px; height: 226px; object-fit: cover; object-position: left center; border-radius: 3px 7px 7px 3px; box-shadow: 13px 15px 25px rgba(0,0,0,.42); }
.book-stage .user-book-cover { position: relative; z-index: 1; width: 162px; height: 226px; box-shadow: 13px 15px 25px rgba(0,0,0,.42); }
.bookshelf h3 { margin: 22px 0 5px; font-family: STSong, SimSun, serif; font-size: 24px; font-weight: 500; }
.bookshelf p { margin: 0; color: rgba(255,255,255,.6); font-size: 12px; }
.book-stats { display: grid; grid-template-columns: repeat(3,1fr); margin: 20px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.book-stats div { padding: 15px 6px; text-align: center; }
.book-stats div + div { border-left: 1px solid rgba(255,255,255,.13); }
.book-stats b { display: block; color: var(--gold-soft); font-size: 17px; }
.book-stats span { display: block; margin-top: 4px; color: rgba(255,255,255,.52); font-size: 9px; }
.section-title.compact { margin-top: 23px; }
.chapter-list { display: grid; gap: 8px; }
.chapter-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: center; width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: left; cursor: pointer; }
.chapter-row:disabled { cursor: default; opacity: .62; }
.chapter-row > span { color: var(--gold); font-family: Georgia, serif; }
.chapter-row b, .chapter-row small { display: block; }
.chapter-row b { font-family: STSong, SimSun, serif; font-size: 16px; font-weight: 500; }
.chapter-row small { margin-top: 3px; color: #947f71; font-size: 10px; }
.chapter-row i { color: var(--wine); font-size: 10px; font-style: normal; }

.form-card { display: grid; gap: 17px; margin-top: 20px; padding: 21px; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.form-card label { color: #705d50; font-size: 12px; font-weight: 700; }
.form-card input, .form-card textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #dfd1c4; border-radius: 13px; outline: none; color: var(--ink); background: #fbf8f3; font-weight: 400; }
.form-card textarea { min-height: 94px; resize: vertical; line-height: 1.65; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,77,.1); }
.form-card label small { display: block; margin-top: 5px; color: #a18e80; font-size: 9px; font-weight: 400; text-align: right; }

.cover-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 20px 0 10px; }
.cover-preview-heading b { font-family: STSong, SimSun, serif; font-size: 16px; font-weight: 500; }
.cover-preview-heading small { color: #927d6d; font-size: 8px; text-align: right; }
.cover-wrap-preview { position: relative; display: grid; width: 100%; aspect-ratio: 302 / 210; overflow: hidden; border: 1px solid rgba(66,43,31,.19); border-radius: 5px; color: #fff8ea; font-family: "Noto Serif SC Variable", STSong, SimSun, serif; box-shadow: 0 18px 36px rgba(55,34,21,.18); isolation: isolate; }
.cover-wrap-preview::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 35px rgba(30,20,15,.11); }
.cover-back-panel, .cover-front-panel, .cover-spine-panel { position: relative; z-index: 1; overflow: hidden; }
.cover-back-panel, .cover-front-panel { display: flex; flex-direction: column; padding: 15px 13px; }
.cover-back-panel::after, .cover-front-panel::after { content: attr(data-panel-label); position: absolute; right: 7px; top: 7px; z-index: 4; padding: 3px 5px; border-radius: 6px; color: currentColor; background: rgba(255,255,255,.5); font-size: 5px; font-weight: 700; letter-spacing: .12em; opacity: .68; }
.cover-back-panel { border-right: 1px solid rgba(255,255,255,.14); }
.cover-front-panel { border-left: 1px solid rgba(255,255,255,.14); }
.cover-back-panel > *, .cover-front-panel > *:not(img), .user-book-cover > *:not(img) { position: relative; z-index: 2; }
.cover-back-panel > span, .cover-front-panel > span { font-size: 6px; letter-spacing: .18em; opacity: .72; }
.cover-back-panel blockquote { width: 80%; margin: auto; font-size: 10px; line-height: 1.8; text-align: center; }
.cover-back-panel small { font-size: 5px; opacity: .66; }
.cover-front-panel h3 { max-width: 88%; margin: auto; font-size: 20px; line-height: 1.25; font-weight: 500; text-align: center; }
.cover-front-panel p { max-width: 85%; margin: 0 auto auto; font-size: 6px; line-height: 1.55; text-align: center; opacity: .82; }
.cover-front-panel > b { align-self: flex-end; font-size: 6px; font-weight: 500; }
.cover-spine-panel { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 5px; border-color: rgba(255,255,255,.14); writing-mode: vertical-rl; text-orientation: upright; }
.cover-spine-panel b { font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.cover-spine-panel small { font-size: 5px; opacity: .7; }
.cover-output-specs { display: grid; grid-template-columns: 1fr .72fr 1fr; gap: 7px; margin-top: 12px; }
.cover-output-specs div { min-width: 0; padding: 10px 8px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,253,249,.88); text-align: center; }
.cover-output-specs div.spine { color: #fff8e9; background: #604032; }
.cover-output-specs b, .cover-output-specs span { display: block; }
.cover-output-specs b { font-family: STSong, SimSun, serif; font-size: 10px; font-weight: 600; }
.cover-output-specs span { margin-top: 3px; color: #927d6f; font-size: 6px; white-space: nowrap; }
.cover-output-specs .spine span { color: rgba(255,248,233,.7); }
.cover-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.cover-choice-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; }
.cover-choice-intro b { color: var(--ink); font-size: 12px; }
.cover-choice-intro span { color: #947f70; font-size: 8px; text-align: right; }
.ai-cover-studio { margin-top: 16px; padding: 17px; border: 1px solid rgba(165,119,63,.32); border-radius: 19px; background: linear-gradient(145deg, rgba(255,252,244,.96), rgba(239,224,201,.8)); box-shadow: 0 13px 28px rgba(78,49,30,.08); }
.ai-cover-heading { display: flex; align-items: center; gap: 10px; }
.ai-cover-heading > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; color: #fff5de; background: linear-gradient(145deg, #402920, #956244); font-family: Georgia, serif; font-size: 13px; letter-spacing: .06em; box-shadow: 0 7px 15px rgba(64,41,32,.18); }
.ai-cover-heading b, .ai-cover-heading small { display: block; }
.ai-cover-heading b { color: var(--ink); font-size: 12px; }
.ai-cover-heading small { margin-top: 2px; color: #9b7f67; font-size: 7px; }
.ai-cover-studio > p { margin: 11px 0 13px; color: #806d60; font-size: 9px; line-height: 1.7; }
.ai-cover-studio > label:not(.ai-cover-reference) { display: block; margin-top: 9px; color: #705d50; font-size: 9px; font-weight: 700; }
.ai-cover-studio select, .ai-cover-studio input[type="text"], .ai-cover-studio input[name="coverAiTheme"] { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #dcc8b5; border-radius: 11px; outline: none; color: var(--ink); background: rgba(255,253,249,.92); font: inherit; }
.ai-cover-studio select:focus, .ai-cover-studio input[name="coverAiTheme"]:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,77,.1); }
.ai-cover-reference { display: flex; align-items: center; gap: 9px; margin: 12px 0; padding: 10px 11px; border: 1px solid rgba(127,62,50,.14); border-radius: 12px; background: rgba(255,253,249,.72); cursor: pointer; }
.ai-cover-reference.disabled { opacity: .55; cursor: default; }
.ai-cover-reference input { width: 17px; height: 17px; accent-color: var(--wine); }
.ai-cover-reference span, .ai-cover-reference b, .ai-cover-reference small { display: block; }
.ai-cover-reference b { font-size: 9px; }
.ai-cover-reference small { margin-top: 2px; color: #9a8576; font-size: 7px; font-weight: 400; }
.ai-cover-studio button:disabled { opacity: .68; cursor: wait; }
.cover-choice { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,249,.82); cursor: pointer; text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cover-choice.selected { border-color: var(--wine); box-shadow: 0 0 0 2px rgba(127,62,50,.1), 0 12px 24px rgba(76,46,31,.1); transform: translateY(-3px); }
.cover-choice .user-book-cover { width: 100%; aspect-ratio: .705; margin-bottom: 10px; }
.cover-choice > b, .cover-choice > small { display: block; }
.cover-choice > b { color: var(--ink); font-size: 10px; }
.cover-choice > small { margin-top: 3px; color: #9a8576; font-size: 7px; }
.cover-guide { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; margin: 15px 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.cover-guide b, .cover-guide span, .cover-guide small { display: block; }
.cover-guide b { font-size: 12px; }
.cover-guide span { color: var(--ink); font-family: STSong, SimSun, serif; font-size: 15px; }
.cover-guide small { grid-column: 1; color: #917d6f; font-size: 9px; }
.cover-guide button { grid-column: 2; grid-row: 1 / span 3; font-size: 9px; }
.user-book-cover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 13px 13px; border-radius: 3px 7px 7px 3px; color: #fff8ea; font-family: "Noto Serif SC Variable", STSong, SimSun, serif; box-shadow: 8px 10px 20px rgba(50,31,21,.22); isolation: isolate; }
.user-book-cover::after { content: ""; position: absolute; z-index: -1; width: 120%; height: 42%; left: -10%; bottom: -13%; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.09); transform: rotate(-7deg); }
.user-book-cover span { font-size: 7px; letter-spacing: .18em; opacity: .75; }
.user-book-cover h3 { margin: auto 0 8px; font-size: 18px; line-height: 1.25; font-weight: 500; text-align: center; }
.user-book-cover p { margin: 0 0 auto; font-size: 7px; line-height: 1.55; text-align: center; opacity: .78; }
.user-book-cover b { font-size: 7px; font-weight: 500; text-align: right; }
.cover-title.vertical { width: auto; max-height: 72%; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .08em; }
.cover-title.font-song { font-family: "Noto Serif SC Variable", STSong, SimSun, serif; }
.cover-title.font-kai { font-family: "Ma Shan Zheng", KaiTi, STKaiti, "Kaiti SC", serif; font-weight: 400; }
.cover-front-panel .cover-title.size-small { font-size: 16px; }
.cover-front-panel .cover-title.size-large { font-size: 24px; }
.user-book-cover .cover-title.size-small { font-size: 14px; }
.user-book-cover .cover-title.size-large { font-size: 22px; }
.cover-choice .cover-title.size-small { font-size: 12px; }
.cover-choice .cover-title.size-large { font-size: 20px; }
.cover-start-card .user-book-cover .cover-title.size-small { font-size: 7px; }
.cover-start-card .user-book-cover .cover-title.size-large { font-size: 11px; }
.user-book-cover.cover-classic, .cover-wrap-preview.cover-classic { background: linear-gradient(145deg, #2f201b, #714739 70%, #a77948); }
.user-book-cover.cover-classic::before { content: "传"; position: absolute; z-index: -1; right: -8px; top: 18%; color: rgba(232,205,157,.12); font-size: 72px; }
.user-book-cover.cover-ink { color: #26211d; background: #f4efe5 url("assets/cover-literati-ink-v1.png") center/cover no-repeat; }
.user-book-cover.cover-ink::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(244,239,229,.18), transparent 45%); }
.cover-wrap-preview.cover-ink { color: #26211d; background: #eee6d8; }
.cover-wrap-preview.cover-ink .cover-back-panel,
.cover-wrap-preview.cover-ink .cover-front-panel { background: #f4efe5 url("assets/cover-literati-ink-v1.png") center/cover no-repeat; }
.cover-wrap-preview.cover-ink .cover-spine-panel { background: #c7b9a4; }
.cover-ink .cover-title.vertical { align-self: flex-start; margin-left: 10%; text-align: left; }
.cover-ink .cover-title.font-song { font-weight: 400; letter-spacing: .08em; }
.user-book-cover.cover-warm, .cover-wrap-preview.cover-warm { color: #402c26; background: radial-gradient(circle at 78% 23%, rgba(255,238,188,.95) 0 8%, transparent 9%), linear-gradient(165deg, #f2d8bd, #d49a82 63%, #814d45); }
.user-book-cover.cover-photo, .cover-wrap-preview.cover-photo { background: linear-gradient(155deg, #1c1715, #5b4037 58%, #a5775f); }
.user-book-cover.cover-jade, .cover-wrap-preview.cover-jade { color: #f7f0df; background: radial-gradient(circle at 18% 14%, rgba(222,203,151,.25), transparent 22%), linear-gradient(150deg, #172824, #3f6159 62%, #182d29); }
.user-book-cover.cover-blue, .cover-wrap-preview.cover-blue { color: #263b45; background: radial-gradient(circle at 78% 20%, rgba(255,245,207,.92) 0 6%, transparent 7%), linear-gradient(155deg, #e5f2f0, #a9cdd2 60%, #638998); }
.user-book-cover.cover-custom, .cover-wrap-preview.cover-custom { color: #5f5147; background: #fdfbf6; }
.user-book-cover.cover-custom { border: 1px dashed #bda998; }
.cover-wrap-preview.cover-custom { border-style: dashed; }
.user-book-cover.cover-award { color: #2b211d; background: #f6f2ee url("assets/cover-award-portrait-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-award { color: #2b211d; background: #401018; }
.cover-wrap-preview.cover-award .cover-back-panel, .cover-wrap-preview.cover-award .cover-front-panel { background: #f6f2ee url("assets/cover-award-portrait-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-award .cover-spine-panel { color: #fff4de; background: #47131c; }
.cover-award .cover-title { margin: 12% auto auto; }
.cover-award .cover-motto-text { color: #3f3030; }
.cover-award .cover-person-photo { bottom: 6%; width: 58%; height: 49%; opacity: 1; mix-blend-mode: normal; }
.user-book-cover.cover-executive { background: #111316 url("assets/cover-executive-black-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-executive { background: #111316; }
.cover-wrap-preview.cover-executive .cover-back-panel, .cover-wrap-preview.cover-executive .cover-front-panel { background: #111316 url("assets/cover-executive-black-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-executive .cover-spine-panel { background: #a77e3d; }
.cover-executive .cover-person-photo { bottom: 18%; width: 90%; height: 79%; opacity: .9; mix-blend-mode: normal; -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.cover-executive .cover-title { margin: auto auto 22%; text-shadow: 0 2px 8px #000; }
.cover-executive .cover-motto-text { text-shadow: 0 1px 5px #000; }
.user-book-cover.cover-petals { color: #3a337e; background: #f6f0e5 url("assets/cover-violet-paper-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-petals { color: #3a337e; background: #e4dbc9; }
.cover-wrap-preview.cover-petals .cover-back-panel, .cover-wrap-preview.cover-petals .cover-front-panel { background: #f6f0e5 url("assets/cover-violet-paper-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-petals .cover-spine-panel { background: #6d68a0; color: white; }
.user-book-cover.cover-magnolia { color: #2d6865; background: #f7f3e9 url("assets/cover-magnolia-mountain-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-magnolia { color: #2d6865; background: #dbe8e3; }
.cover-wrap-preview.cover-magnolia .cover-back-panel, .cover-wrap-preview.cover-magnolia .cover-front-panel { background: #f7f3e9 url("assets/cover-magnolia-mountain-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-magnolia .cover-spine-panel { background: #487b75; color: white; }
.cover-magnolia .cover-title { align-self: flex-start; margin-left: 9%; }
.user-book-cover.cover-meadow { color: #203d35; background: #eef7ef url("assets/cover-spring-hills-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-meadow { color: #203d35; background: #dfeee6; }
.cover-wrap-preview.cover-meadow .cover-back-panel, .cover-wrap-preview.cover-meadow .cover-front-panel { background: #eef7ef url("assets/cover-spring-hills-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-meadow .cover-spine-panel { background: #7aa98b; color: white; }
.cover-meadow .cover-title { margin-top: 18%; }
.user-book-cover.cover-brush { color: #201c19; background: #eee7d9 url("assets/cover-bold-brush-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-brush { color: #201c19; background: #c8b69d; }
.cover-wrap-preview.cover-brush .cover-back-panel, .cover-wrap-preview.cover-brush .cover-front-panel { background: #eee7d9 url("assets/cover-bold-brush-v1.jpg") center/cover no-repeat; }
.cover-wrap-preview.cover-brush .cover-spine-panel { background: #2b2723; color: white; }
.cover-brush .cover-title { max-width: 67%; margin-left: 6%; text-align: left; }
.cover-person-photo, .custom-cover-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-person-photo { --photo-x: 50%; --photo-scale: 1; top: auto; left: var(--photo-x); right: auto; bottom: 0; width: 68%; height: 66%; opacity: .78; object-position: center top; mix-blend-mode: luminosity; transform: translateX(-50%) scale(var(--photo-scale)); transform-origin: center bottom; }
.cover-person-photo.photo-pos-left { --photo-x: 29%; }
.cover-person-photo.photo-pos-center { --photo-x: 50%; }
.cover-person-photo.photo-pos-right { --photo-x: 72%; }
.cover-person-photo.photo-size-small { --photo-scale: .78; }
.cover-person-photo.photo-size-medium { --photo-scale: 1; }
.cover-person-photo.photo-size-large { --photo-scale: 1.18; }
.cover-person-photo.cutout { width: 79%; height: 82%; opacity: .92; mix-blend-mode: normal; -webkit-mask-image: radial-gradient(ellipse 64% 66% at 55% 48%, #000 52%, rgba(0,0,0,.88) 67%, transparent 82%); mask-image: radial-gradient(ellipse 64% 66% at 55% 48%, #000 52%, rgba(0,0,0,.88) 67%, transparent 82%); }
.custom-cover-art { opacity: .94; }
.cover-front-panel .custom-cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(28,20,16,.32)); }
.cover-choice .cover-person-photo { width: 74%; height: 66%; }
.cover-customizer { margin-top: 16px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,253,249,.82); }
.cover-control-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cover-control-title b { font-size: 12px; }
.cover-control-title small { color: #9a8576; font-size: 8px; }
.cover-control-label { display: block; margin-top: 13px; color: #846f60; font-size: 9px; font-weight: 700; }
.cover-option-switch { display: grid; gap: 4px; margin-top: 6px; padding: 4px; border-radius: 12px; background: #eee4d9; }
.cover-option-switch button { min-height: 38px; border: 0; border-radius: 9px; color: #826f61; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.cover-option-switch button.active { color: white; background: var(--wine); box-shadow: 0 5px 12px rgba(94,49,39,.18); }
.cover-font-switch { grid-template-columns: 1fr 1fr; }
.cover-font-switch button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.cover-font-switch i { font-size: 19px; font-style: normal; font-weight: 400; }
.font-song-preview { font-family: "Noto Serif SC Variable", STSong, SimSun, serif; }
.font-kai-preview { font-family: "Ma Shan Zheng", KaiTi, STKaiti, "Kaiti SC", serif; }
.cover-size-switch { grid-template-columns: repeat(3, 1fr); }
.cover-photo-position, .cover-photo-size { grid-template-columns: repeat(3, 1fr); }
.cover-direction-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; padding: 4px; border-radius: 12px; background: #eee4d9; }
.cover-direction-switch button { min-height: 34px; border: 0; border-radius: 9px; color: #826f61; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.cover-direction-switch button.active { color: white; background: var(--wine); box-shadow: 0 5px 12px rgba(94,49,39,.18); }
.cover-field { display: block; margin-top: 14px; color: #705d50; font-size: 11px; font-weight: 700; }
.cover-field input, .cover-field textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #dfd1c4; border-radius: 11px; outline: none; color: var(--ink); background: #fbf8f3; font: inherit; }
.cover-field textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
.cover-field input:focus, .cover-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,77,.1); }
.cover-field small { display: block; margin-top: 5px; color: #a18e80; font-size: 8px; font-weight: 400; }
.cover-upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.cover-upload, .cover-tool { min-width: 0; min-height: 90px; display: grid; grid-template-columns: 30px 1fr; gap: 1px 8px; align-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fffaf4; cursor: pointer; text-align: left; }
.cover-upload input, .custom-cover-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cover-upload > span, .cover-tool > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--wine); background: #efe0d3; font-family: STSong, SimSun, serif; }
.cover-upload b, .cover-tool b { font-size: 9px; }
.cover-upload small, .cover-tool small { color: #9a8576; font-size: 7px; line-height: 1.4; }
.cover-tool.active { border-color: var(--wine); background: #f8eee7; }
.cover-tool:disabled { cursor: default; opacity: .48; }
.remove-cover-photo { margin-top: 10px; }
.cover-download-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; margin-top: 16px; padding: 17px; border-radius: 18px; color: #fff8e9; background: linear-gradient(135deg, #2f201a, #614034); box-shadow: 0 13px 27px rgba(57,35,25,.16); }
.cover-download-card span, .cover-download-card b, .cover-download-card small { display: block; }
.cover-download-card span { color: #d8b884; font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.cover-download-card b { margin-top: 4px; font-family: STSong, SimSun, serif; font-size: 13px; font-weight: 500; }
.cover-download-card small { max-width: 280px; margin-top: 5px; color: rgba(255,248,233,.62); font-size: 7px; line-height: 1.55; }
.cover-download-card .primary-button { min-width: 124px; color: #412a20; background: #f5dfb6; }
.custom-cover-upload { display: block; margin-top: 13px; padding: 14px; border: 1px dashed #b99d84; border-radius: 13px; background: #fbf7f0; cursor: pointer; text-align: center; }
.custom-cover-upload span, .custom-cover-upload small { display: block; }
.custom-cover-upload span { color: var(--wine); font-size: 10px; font-weight: 700; }
.custom-cover-upload small { margin-top: 4px; color: #9a8576; font-size: 8px; }

.upload-card { display: grid; place-items: center; min-height: 150px; margin-top: 20px; padding: 22px; border: 1px dashed #c9ad94; border-radius: 21px; background: rgba(255,253,249,.68); cursor: pointer; text-align: center; }
.upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-card > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 50%; color: white; background: var(--wine); font-size: 25px; font-weight: 300; }
.upload-card b { font-size: 14px; }
.upload-card small { margin-top: 5px; color: #938073; font-size: 10px; }
.upload-card.disabled { cursor: default; opacity: .55; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.material-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.material-card img { display: block; width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.material-card div { padding: 10px 11px 12px; }
.material-card b, .material-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.material-card b { font-size: 12px; }
.material-card small { margin-top: 3px; color: #968275; font-size: 9px; }
.material-card button { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 25px; height: 25px; border: 0; border-radius: 50%; color: white; background: rgba(35,24,19,.76); cursor: pointer; }
.empty-state { padding: 37px 20px 25px; text-align: center; }
.empty-state span { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 15px; color: var(--wine); background: #ecddd0; font-family: STSong, SimSun, serif; font-size: 22px; }
.empty-state h3 { margin: 0 0 6px; font-family: STSong, SimSun, serif; font-size: 20px; font-weight: 500; }
.empty-state p { margin: 0; color: #907c6e; font-size: 11px; }

.privacy-hero { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 17px; border-radius: 17px; color: #315b37; background: #e2ece0; }
.privacy-hero > span { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; border-radius: 50%; color: white; background: #52785a; }
.privacy-hero b { font-size: 13px; }
.privacy-hero p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; }
.choice-card { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.choice-card label, .consent-row { display: flex; align-items: flex-start; gap: 12px; padding: 16px; cursor: pointer; }
.choice-card label + label { border-top: 1px solid var(--line); }
.choice-card input, .consent-row input { margin-top: 3px; accent-color: var(--wine); }
.choice-card b, .choice-card small, .consent-row b, .consent-row small { display: block; }
.choice-card b, .consent-row b { font-size: 13px; }
.choice-card small, .consent-row small { margin-top: 4px; color: #927f72; font-size: 10px; line-height: 1.5; }
.consent-row { margin-top: 11px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.family-card { margin-top: 20px; padding: 24px 20px; border-radius: 22px; color: white; background: linear-gradient(145deg, #3b271f, #714034); text-align: center; }
.family-illustration { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--gold-soft); font-family: STSong, SimSun, serif; font-size: 25px; }
.family-card h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 22px; font-weight: 500; }
.family-card p { margin: 10px 0 19px; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.7; }
.permission-list { margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.permission-list div { padding: 15px 16px; }
.permission-list div + div { border-top: 1px solid var(--line); }
.permission-list b, .permission-list span { display: block; }
.permission-list b { color: var(--wine); font-size: 12px; }
.permission-list span { margin-top: 5px; color: #837064; font-size: 10px; line-height: 1.5; }

.media-hero { position: relative; min-height: 190px; margin-top: 19px; overflow: hidden; border-radius: 23px; color: white; }
.voice-hero { display: flex; align-items: center; gap: 20px; padding: 25px; background: radial-gradient(circle at 25% 40%, rgba(230,209,170,.22), transparent 34%), linear-gradient(145deg, #30221c, #704136); }
.media-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--gold-soft); font-family: STSong, SimSun, serif; font-size: 39px; box-shadow: 0 0 0 13px rgba(255,255,255,.04), 0 0 0 27px rgba(255,255,255,.025); animation: voicePulse 2.7s ease-in-out infinite; }
@keyframes voicePulse { 50% { box-shadow: 0 0 0 17px rgba(255,255,255,.05), 0 0 0 35px rgba(255,255,255,.025); } }
.voice-hero p { margin: 0 0 7px; color: rgba(255,255,255,.58); font-size: 10px; }
.voice-hero h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 25px; line-height: 1.35; font-weight: 500; }
.media-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 13px; }
.media-steps div { padding: 13px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.media-steps span, .media-steps b, .media-steps small { display: block; }
.media-steps span { color: var(--gold); font-family: Georgia, serif; font-size: 10px; }
.media-steps b { margin-top: 8px; font-size: 11px; }
.media-steps small { margin-top: 4px; color: #948175; font-size: 8px; line-height: 1.45; }
.audio-preview { display: flex; align-items: center; gap: 14px; margin-top: 13px; padding: 16px; border-radius: 16px; color: white; background: #34251f; }
.audio-play { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; border-radius: 50%; color: var(--wine-dark); background: var(--gold-soft); font-size: 13px; }
.audio-preview div { min-width: 0; }
.audio-preview b, .audio-preview small, .waveform { display: block; }
.audio-preview b { font-size: 12px; }
.waveform { margin: 5px 0; overflow: hidden; color: var(--gold-soft); letter-spacing: 2px; white-space: nowrap; }
.audio-preview small { color: rgba(255,255,255,.46); font-size: 8px; }
.media-cta { margin-top: 13px; }
.media-cta:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.author-access-card { display: grid; gap: 13px; margin: 18px 0; padding: 20px; border: 1px solid rgba(151,122,91,.24); border-radius: 20px; background: linear-gradient(135deg,#fffdf8,#f4eadb); }
.author-access-card span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.author-access-card h3 { margin: 6px 0; font-family: STSong,SimSun,serif; font-size: 22px; font-weight: 400; }
.author-access-card p { margin: 0; color: #7f6f65; font-size: 11px; line-height: 1.7; }
.author-access-card details { padding-top: 11px; border-top: 1px solid var(--line); }
.author-access-card summary { cursor: pointer; color: #7f6f65; font-size: 11px; }
.author-access-card form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.author-access-card input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: white; font: 11px monospace; }
.author-access-card form button { min-height: 42px; padding: 0 13px; }
.author-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px; border-radius: 10px; background: #2f211b; color: #f7dfaa; }
.author-code code { overflow-wrap: anywhere; font-size: 11px; }
.author-code button { flex: 0 0 auto; border: 0; background: transparent; color: #f7dfaa; font-size: 11px; cursor: pointer; }
.movie-hero { min-height: 220px; display: grid; place-items: center; background: linear-gradient(rgba(33,22,17,.18), rgba(33,22,17,.66)), url("assets/family-memoir.png") center/cover; }
.film-frame { position: relative; z-index: 1; display: grid; place-items: center; width: 74%; aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,.45); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.film-frame::before, .film-frame::after { content: ""; position: absolute; left: -7px; right: -7px; height: 6px; opacity: .6; background: repeating-linear-gradient(90deg, white 0 7px, transparent 7px 14px); }
.film-frame::before { top: -9px; }
.film-frame::after { bottom: -9px; }
.film-frame i { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(38,25,19,.45); }
.film-frame i::after { content: ""; display: block; margin: 13px 0 0 17px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid white; }
.film-frame b { margin-top: 8px; font-family: STSong, SimSun, serif; font-size: 14px; font-weight: 500; }
.film-grain { position: absolute; inset: 0; opacity: .11; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 4px 4px; animation: grain 1s steps(2) infinite; }
@keyframes grain { 50% { transform: translate(2px,-2px); } }
.movie-flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: start; gap: 5px; margin-top: 17px; }
.movie-flow div { text-align: center; }
.movie-flow div span { display: grid; place-items: center; width: 26px; height: 26px; margin: auto; border-radius: 50%; color: #a69284; background: #e6dbd0; font-size: 9px; }
.movie-flow div.active span { color: white; background: var(--wine); }
.movie-flow div p { margin: 6px -8px 0; color: #8d796b; font-size: 8px; white-space: nowrap; }
.movie-flow > i { height: 1px; margin-top: 13px; background: #d8c8bb; }
.movie-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.movie-options article, .movie-options button { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; color: inherit; background: var(--white); font: inherit; text-align: left; }
.movie-options button { min-width: 0; cursor: pointer; }
.movie-options button.active { border-color: var(--wine); background: #f4e8dd; box-shadow: inset 0 0 0 1px var(--wine); }
.movie-options article > span { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; color: var(--wine); background: #eee0d5; font-size: 10px; font-weight: 700; }
.movie-options button > span { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; color: var(--wine); background: #eee0d5; font-size: 10px; font-weight: 700; }
.movie-options b, .movie-options small { display: block; }
.movie-options b { font-size: 11px; }
.movie-options small { margin-top: 3px; color: #947f71; font-size: 8px; line-height: 1.4; }
.movie-request-card, .movie-preview-card { margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: var(--white); }
.movie-request-card > span, .movie-preview-card > span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.movie-request-card h3, .movie-preview-card h3 { margin: 7px 0 0; font-family: STSong, SimSun, serif; font-size: 17px; font-weight: 500; }
.movie-request-card > p, .movie-preview-card > p { margin: 6px 0 0; color: #856f61; font-size: 9px; line-height: 1.6; }
.movie-request-card .movie-options { grid-template-columns: 1fr; margin: 13px 0; }
.movie-field { display: grid; gap: 7px; margin: 12px 0; color: #6f5c50; font-size: 9px; font-weight: 700; }
.movie-field select, .movie-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; color: #392a23; background: #fffdf9; font: 10px sans-serif; }
.movie-field select { height: 42px; padding: 0 11px; }
.movie-field textarea { min-height: 76px; padding: 11px; line-height: 1.6; resize: vertical; }
.movie-price-note { margin-top: 9px !important; text-align: center; }
.movie-jobs { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.movie-jobs > div:first-child { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.movie-jobs > div:first-child span { font-size: 11px; font-weight: 700; }
.movie-jobs > div:first-child button { border: 0; color: var(--wine); background: transparent; font-size: 9px; cursor: pointer; }
.movie-job { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; padding: 14px 15px; }
.movie-job + .movie-job { border-top: 1px solid var(--line); }
.movie-job-status { padding: 5px 7px; border-radius: 999px; color: #866c5e; background: #eadfd4; font-size: 7px; white-space: nowrap; }
.movie-job-status.completed { color: #36613d; background: #dcebdd; }
.movie-job-status.failed { color: #8c3e32; background: #f4ddd7; }
.movie-job b, .movie-job small, .movie-job p { display: block; }
.movie-job b { font-size: 10px; }
.movie-job small { margin-top: 4px; color: #927f72; font-size: 8px; }
.movie-job p { margin: 6px 0 0; color: #77645a; font-size: 8px; line-height: 1.5; }
.movie-job a { color: var(--wine); font-size: 8px; font-weight: 700; text-decoration: none; }
.movie-jobs-empty { padding: 17px !important; border: 0 !important; color: #907d70; font-size: 9px; line-height: 1.6; text-align: center; }

.old-photo-lab, .concierge-movie-card { margin-top: 14px; padding: 18px; border: 1px solid rgba(148,119,91,.25); border-radius: 21px; background: linear-gradient(145deg, rgba(255,253,249,.96), rgba(242,232,218,.9)); box-shadow: 0 13px 34px rgba(70,45,31,.07); }
.movie-section-title > span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.movie-section-title h3 { margin: 7px 0 0; font-family: STSong, SimSun, serif; font-size: 19px; font-weight: 500; }
.movie-section-title p { margin: 7px 0 0; color: #806c60; font-size: 9px; line-height: 1.65; }
.region-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 15px; padding: 4px; border-radius: 15px; background: #e9ddd0; }
.region-switch button { min-width: 0; padding: 11px 7px; border: 0; border-radius: 12px; color: #846f62; background: transparent; cursor: pointer; font: inherit; }
.region-switch button.active { color: white; background: var(--wine); box-shadow: 0 6px 16px rgba(94,49,39,.2); }
.region-switch b, .region-switch small { display: block; }
.region-switch b { font-size: 10px; }
.region-switch small { margin-top: 3px; font-size: 7px; opacity: .75; }
.provider-guide { margin-top: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); }
.provider-heading { display: flex; align-items: center; gap: 10px; }
.provider-heading > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: var(--wine); background: #eee0d5; font-size: 8px; font-weight: 800; }
.provider-heading b, .provider-heading small { display: block; }
.provider-heading b { font-size: 12px; }
.provider-heading small { margin-top: 3px; color: #927e71; font-size: 8px; }
.prompt-box { position: relative; margin-top: 11px; padding: 12px 12px 40px; border-radius: 12px; background: #f1e8dd; }
.prompt-box p { display: -webkit-box; overflow: hidden; margin: 0; color: #6e5b50; font-size: 8px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.prompt-box button { position: absolute; right: 8px; bottom: 8px; padding: 7px 10px; border: 0; border-radius: 9px; color: white; background: #6f3a30; font-size: 8px; cursor: pointer; }
.provider-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; text-decoration: none; }
.provider-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 11px 0 0; padding: 0; list-style: none; }
.provider-steps li { color: #806e62; font-size: 7px; line-height: 1.45; text-align: center; }
.provider-steps span { display: grid; place-items: center; width: 19px; height: 19px; margin: 0 auto 5px; border-radius: 50%; color: white; background: #aa7d50; font-family: Georgia, serif; font-size: 8px; }
.return-upload-card, .compact-upload { display: flex; align-items: center; gap: 11px; margin-top: 11px; padding: 12px; border: 1px dashed #cdb9a7; border-radius: 15px; color: inherit; background: rgba(255,255,255,.66); cursor: pointer; text-align: left; }
.return-upload-card.has-file, .compact-upload.ready { border-style: solid; border-color: #a2b39b; background: #f3f7ef; }
.return-upload-card input, .compact-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.return-upload-card > span, .compact-upload > span { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; color: var(--wine); background: #eee0d5; font-family: STSong, SimSun, serif; font-size: 13px; }
.return-upload-card.has-file > span, .compact-upload.ready > span { color: #fff; background: #72866b; }
.return-upload-card b, .return-upload-card small, .compact-upload b, .compact-upload small { display: block; }
.return-upload-card b, .compact-upload b { font-size: 10px; }
.return-upload-card small, .compact-upload small { margin-top: 3px; color: #927e71; font-size: 7px; line-height: 1.4; }
.returned-video { margin-top: 10px; overflow: hidden; border-radius: 14px; background: #251a16; }
.returned-video video { display: block; width: 100%; aspect-ratio: 16/9; background: #160f0d; }
.returned-video > div { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; color: rgba(255,255,255,.7); font-size: 8px; }
.returned-video button { border: 0; color: var(--gold-soft); background: transparent; cursor: pointer; font-size: 8px; }
.concierge-movie-card { color: white; background: radial-gradient(circle at 100% 0, rgba(205,167,104,.17), transparent 31%), linear-gradient(145deg, #30211c, #513027); }
.concierge-movie-card .movie-section-title > span { color: var(--gold-soft); }
.concierge-movie-card .movie-section-title p { color: rgba(255,255,255,.6); }
.service-deliverables { display: grid; gap: 7px; margin-top: 15px; }
.service-deliverables > div { display: grid; grid-template-columns: 29px 1fr; align-items: start; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045); }
.service-deliverables > div > span { color: var(--gold-soft); font-family: Georgia, serif; font-size: 9px; }
.service-deliverables p { margin: 0; }
.service-deliverables b, .service-deliverables small { display: block; }
.service-deliverables b { font-size: 10px; }
.service-deliverables small { margin-top: 3px; color: rgba(255,255,255,.52); font-size: 7px; line-height: 1.5; }
.movie-input-grid { display: grid; gap: 7px; margin-top: 12px; }
.movie-input-grid .compact-upload { width: 100%; margin: 0; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.movie-input-grid .compact-upload.ready { border-color: rgba(206,222,194,.54); background: rgba(105,135,93,.22); }
.movie-input-grid .compact-upload > span { color: #f7e6c0; background: rgba(255,255,255,.11); }
.movie-input-grid .compact-upload small { color: rgba(255,255,255,.52); }
.button-upload { appearance: none; font: inherit; }
.movie-setting { margin-top: 13px; }
.movie-setting > span { color: rgba(255,255,255,.62); font-size: 8px; }
.movie-setting > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 7px; }
.movie-setting button { min-height: 34px; padding: 6px 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.04); cursor: pointer; font-size: 8px; }
.movie-setting button.active { border-color: #d8bd86; color: #30211c; background: #f3dcae; }

.currency-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0 14px; padding: 4px; border-radius: 13px; background: #e9ded2; }
.currency-switch button { height: 38px; border: 0; border-radius: 10px; color: #806e61; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.currency-switch button.active { color: white; background: var(--wine); box-shadow: 0 5px 13px rgba(94,49,39,.2); }
.plan-list { display: grid; gap: 11px; }
.plan-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.plan-card.featured { color: white; background: linear-gradient(145deg, #36251e, #593329); border-color: transparent; }
.plan-card > span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.plan-card.featured > span { color: var(--gold-soft); }
.plan-card h3 { display: inline-block; margin: 10px 0 0; font-family: STSong, SimSun, serif; font-size: 22px; font-weight: 500; }
.plan-price { float: right; margin: 11px 0 0; color: var(--wine); font-family: Georgia, serif; font-size: 19px; }
.plan-card.featured .plan-price { color: var(--gold-soft); }
.plan-card ul { clear: both; margin: 17px 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan-card.featured ul { border-color: rgba(255,255,255,.14); }
.plan-card li { margin: 8px 0; color: #756256; font-size: 10px; }
.plan-card.featured li { color: rgba(255,255,255,.7); }
.addon-card { margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #eee2d5; }
.addon-card > span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.addon-card div { padding: 12px 0 0; }
.addon-card div + div { margin-top: 11px; border-top: 1px solid rgba(82,58,44,.12); }
.addon-card b, .addon-card small { display: block; }
.addon-card b { font-size: 12px; }
.addon-card small { margin-top: 3px; color: #816e61; font-size: 9px; }
.test-banner { margin: 16px 0 12px; padding: 10px 12px; border: 1px solid #d8b870; border-radius: 12px; color: #7b5d20; background: #fff2cd; font-size: 9px; line-height: 1.5; text-align: center; }
.manual-unlock-banner { display: grid; gap: 5px; margin: 16px 0 12px; padding: 17px; border: 1px solid #d9c39a; border-radius: 17px; background: linear-gradient(145deg, #fff7e5, #f2e3c8); }
.manual-unlock-banner span { color: #9a7137; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.manual-unlock-banner b { color: #3e2b23; font-family: STSong, SimSun, serif; font-size: 18px; font-weight: 600; }
.manual-unlock-banner p { margin: 0; color: #7e6858; font-size: 9px; line-height: 1.65; }
.checkout-summary { position: relative; padding: 20px; border-radius: 18px; color: white; background: #34241e; }
.checkout-summary span { color: var(--gold-soft); font-size: 9px; }
.checkout-summary h3 { margin: 8px 0 3px; font-family: STSong, SimSun, serif; font-size: 24px; font-weight: 500; }
.checkout-summary p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; }
.checkout-summary > b { position: absolute; right: 20px; top: 37px; color: var(--gold-soft); font-family: Georgia, serif; font-size: 20px; }
.manual-unlock-steps { display: grid; gap: 8px; margin: 12px 0; }
.manual-unlock-steps > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.manual-unlock-steps > div > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff8e8; background: var(--wine); font-family: Georgia, serif; font-size: 13px; }
.manual-unlock-steps p, .manual-unlock-steps b, .manual-unlock-steps small { display: block; margin: 0; }
.manual-unlock-steps b { color: #3c2b24; font-size: 11px; }
.manual-unlock-steps small { margin-top: 3px; color: #8f7b6e; font-size: 8px; line-height: 1.5; }
.manual-xianyu-link { display: grid; place-items: center; margin-top: 10px; text-decoration: none; }
.payment-methods { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.payment-methods label { display: flex; align-items: center; gap: 11px; padding: 14px 15px; cursor: pointer; }
.payment-methods label + label { border-top: 1px solid var(--line); }
.payment-methods input { accent-color: var(--wine); }
.pay-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: white; font-size: 12px; font-weight: 700; }
.pay-logo.wechat { background: #1aad5b; }
.pay-logo.card { background: #395b9a; }
.payment-methods b, .payment-methods small { display: block; }
.payment-methods b { font-size: 12px; }
.payment-methods small { margin-top: 3px; color: #917e70; font-size: 9px; }
.payment-footnote { margin: 12px 8px 0; color: #938073; font-size: 9px; line-height: 1.6; text-align: center; }
.payment-order-card { position: relative; margin-top: 18px; padding: 20px; border-radius: 18px; color: white; background: linear-gradient(145deg, #34241e, #543027); box-shadow: 0 16px 34px rgba(61,35,27,.16); }
.payment-order-card > span { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.payment-order-card h3 { margin: 8px 0 18px; font-family: STSong, SimSun, serif; font-size: 24px; font-weight: 500; }
.payment-order-card > strong { position: absolute; top: 31px; right: 20px; color: var(--gold-soft); font-family: Georgia, serif; font-size: 20px; }
.payment-order-card label { display: grid; gap: 6px; color: rgba(255,255,255,.62); font-size: 9px; }
.payment-order-card input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: white; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.checkout-actions { display: grid; gap: 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.checkout-actions .primary-button, .checkout-actions .secondary-button, .manual-xianyu-link { min-height: 52px; }
.success-card { margin-top: 24px; padding: 30px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); text-align: center; }
.success-card > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; border-radius: 50%; color: white; background: #52785a; font-size: 25px; }
.success-card h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 25px; font-weight: 500; }
.success-card p { margin: 8px 0 20px; color: #897568; font-size: 11px; }
.test-success-note { display: block; margin-top: 12px; color: #9a877a; font-size: 9px; line-height: 1.5; }

.export-status { display: flex; align-items: center; gap: 14px; margin: 19px 0 14px; padding: 18px; border: 1px solid #dacbbc; border-radius: 19px; background: #eee3d8; }
.export-status > span { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; color: #816c5d; background: #fffaf3; font-family: STSong, SimSun, serif; font-size: 17px; }
.export-status b, .export-status p { display: block; }
.export-status b { font-size: 14px; }
.export-status p { margin: 5px 0 0; color: #887568; font-size: 10px; line-height: 1.55; }
.export-status.unlocked { border-color: rgba(70,117,78,.22); background: #e4eee3; }
.export-status.unlocked > span { color: white; background: #52785a; }
.typeset-preview-card { margin: 14px 0; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, #fffdfa, #efe4d9); }
.typeset-preview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.typeset-preview-heading span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.typeset-preview-heading h3 { margin: 4px 0 0; font-family: STSong, SimSun, serif; font-size: 15px; font-weight: 500; }
.typeset-preview-heading > b { color: #756357; font-size: 9px; }
.typeset-pages { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: 16px; perspective: 700px; }
.typeset-cover-page, .typeset-text-page { width: 30%; aspect-ratio: .705; overflow: hidden; box-shadow: 7px 10px 18px rgba(57,37,27,.16); }
.typeset-cover-page { transform: rotateY(6deg); transform-origin: right center; }
.typeset-cover-page .user-book-cover { width: 100%; height: 100%; }
.typeset-text-page { position: relative; padding: 13px 10px; border: 1px solid #ded2c7; background: #fffdfa; color: #463730; }
.typeset-text-page:nth-child(3) { transform: rotateY(-6deg); transform-origin: left center; }
.typeset-text-page > span { color: #ac814f; font-size: 5px; letter-spacing: .12em; }
.typeset-text-page h4 { margin: 7px 0 9px; font-family: STSong, SimSun, serif; font-size: 10px; font-weight: 500; }
.typeset-text-page p { display: -webkit-box; margin: 0; overflow: hidden; color: #6e5e54; font-size: 5px; line-height: 1.9; text-align: justify; text-indent: 2em; -webkit-box-orient: vertical; -webkit-line-clamp: 11; }
.typeset-text-page small { position: absolute; right: 8px; bottom: 8px; color: #a49489; font-size: 4px; }
.typeset-preview-card > p { margin: 15px 0 0; color: #806d60; font-size: 9px; line-height: 1.65; }
.manuscript-typeset-card { margin: 14px 0; padding: 17px; border: 1px solid rgba(107,135,96,.28); border-radius: 19px; background: linear-gradient(145deg, #f8faf4, #edf2e6); }
.manuscript-typeset-card > div > span { color: #6d825f; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.manuscript-typeset-card h3 { margin: 5px 0; font-family: STSong, SimSun, serif; font-size: 17px; font-weight: 500; }
.manuscript-typeset-card p, .manuscript-typeset-card > small { color: #71806b; font-size: 9px; line-height: 1.6; }
.manuscript-typeset-card form { display: grid; gap: 9px; margin: 14px 0 10px; }
.manuscript-file { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(107,135,96,.3); border-radius: 14px; background: #fffdf9; cursor: pointer; }
.manuscript-file.secondary { border-style: dashed; }
.manuscript-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.manuscript-file span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #fff; background: #6d825f; font-family: STSong, SimSun, serif; font-size: 16px; }
.manuscript-file b { font-size: 12px; }
.manuscript-file small { color: #8b9785; font-size: 8px; }
.manuscript-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.manuscript-meta label, .manuscript-motto { color: #6e7b67; font-size: 8px; }
.manuscript-meta input, .manuscript-motto input { display: block; width: 100%; margin-top: 5px; padding: 10px 11px; border: 1px solid rgba(107,135,96,.25); border-radius: 11px; background: #fffdf9; color: #322721; font: inherit; font-size: 10px; }
.export-list { display: grid; gap: 9px; margin-bottom: 14px; }
.export-format { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: left; cursor: pointer; }
.export-format > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--wine); background: #efe1d5; font-size: 9px; font-weight: 800; }
.export-format b, .export-format small { display: block; }
.export-format b { font-size: 13px; }
.export-format small { margin-top: 4px; color: #907d70; font-size: 9px; line-height: 1.45; }
.export-format i { color: var(--wine); font-size: 10px; font-style: normal; font-weight: 700; }
.export-format.locked { cursor: not-allowed; opacity: .58; }
.locked-benefits { display: grid; gap: 8px; margin: 12px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.locked-benefits b { margin-bottom: 2px; font-size: 12px; }
.locked-benefits span { color: #806d60; font-size: 10px; }
.locked-benefits span::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.raw-export { margin-top: 12px; }
.export-footnote { margin: 10px 8px 0; color: #948175; font-size: 9px; line-height: 1.6; text-align: center; }

.settings-list { display: grid; gap: 10px; margin-top: 20px; }
.setting-card { display: flex; align-items: center; gap: 13px; width: 100%; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); text-align: left; }
.setting-card .setting-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--wine); background: #eee1d5; }
.setting-card div { flex: 1; }
.setting-card b { display: block; font-size: 14px; }
.setting-card small { display: block; margin-top: 4px; color: #907e71; font-size: 10px; }
.setting-card > span:last-child { color: #ad9a8b; }

.referral-locked { margin-top: 20px; padding: 27px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); text-align: center; }
.referral-locked > span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 17px; color: var(--wine); background: #efe1d5; font-family: STSong, SimSun, serif; font-size: 25px; }
.referral-locked h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 23px; font-weight: 500; }
.referral-locked p { margin: 9px 0 19px; color: #826f62; font-size: 11px; line-height: 1.7; }
.member-status { display: flex; align-items: center; gap: 12px; margin: 18px 0 11px; padding: 13px 15px; border: 1px solid rgba(70,117,78,.2); border-radius: 15px; background: #e5eee2; }
.member-status > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: white; background: #52785a; }
.member-status b, .member-status small { display: block; }
.member-status b { font-size: 12px; }
.member-status small { margin-top: 3px; color: #657966; font-size: 8px; }
.member-status div { flex: 1; min-width: 0; }
.member-status > button { padding: 5px 7px; border: 0; color: #657966; background: transparent; cursor: pointer; font-size: 8px; }
.referral-loading { display: grid; place-items: center; min-height: 190px; margin-top: 20px; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.referral-loading span { width: 34px; height: 34px; border: 3px solid #eadfd3; border-top-color: var(--wine); border-radius: 50%; animation: referralSpin .8s linear infinite; }
.referral-loading p { margin: -45px 0 0; color: #8c7868; font-size: 10px; }
@keyframes referralSpin { to { transform: rotate(360deg); } }
.referral-login-card { margin-top: 20px; padding: 25px 21px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); text-align: center; }
.referral-login-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 17px; color: var(--wine); background: #efe1d5; font-family: STSong, SimSun, serif; font-size: 25px; }
.referral-login-card h3 { margin: 0; font-family: STSong, SimSun, serif; font-size: 23px; font-weight: 500; }
.referral-login-card > p { margin: 8px auto 18px; max-width: 300px; color: #826f62; font-size: 10px; line-height: 1.65; }
.referral-login-card label { display: block; margin-bottom: 12px; color: #7e6b5e; font-size: 9px; text-align: left; }
.referral-login-card input { display: block; width: 100%; height: 45px; margin-top: 6px; padding: 0 12px; border: 1px solid #d9cabc; border-radius: 12px; color: var(--ink); background: #fffaf4; font-size: 10px; }
.referral-login-card button:disabled { opacity: .62; cursor: wait; }
.wechat-login-button { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: 1fr 1fr; align-items: center; width: 100%; padding: 11px 13px; border: 0; border-radius: 13px; color: white; background: #16a05d; text-align: left; cursor: pointer; }
.wechat-login-button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #16a05d; background: white; font-family: STSong, SimSun, serif; font-size: 17px; font-weight: 700; }
.wechat-login-button b { align-self: end; font-size: 11px; }
.wechat-login-button small { align-self: start; margin-top: 2px; color: rgba(255,255,255,.76); font-size: 7px; }
.author-account-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-bottom: 14px; padding: 17px; border: 1px solid rgba(126,92,70,.16); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(246,238,226,.86)); box-shadow: 0 10px 28px rgba(71,49,35,.06); }
.author-account-card.signed-in { border-color: rgba(22,160,93,.24); background: linear-gradient(145deg, rgba(245,255,249,.96), rgba(239,246,235,.88)); }
.author-account-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: #16a05d; font-family: STSong, SimSun, serif; font-size: 18px; font-weight: 700; }
.author-account-card small { display: block; color: #a47845; font-size: 9px; letter-spacing: .08em; }
.author-account-card h3 { margin: 4px 0 5px; color: #2f211b; font-family: STSong, SimSun, serif; font-size: 18px; font-weight: 600; }
.author-account-card p { margin: 0; color: #806e61; font-size: 10px; line-height: 1.65; }
.author-account-card .wechat-login-button { grid-column: 1 / -1; margin-top: 3px; }
.author-account-card .auth-divider, .author-account-card .email-login-form { grid-column: 1 / -1; width: 100%; }
.author-account-card .email-login-form label { display: block; margin-bottom: 10px; color: #7e6b5e; font-size: 9px; text-align: left; }
.author-account-card .email-login-form input { display: block; width: 100%; height: 45px; margin-top: 6px; padding: 0 12px; border: 1px solid #d9cabc; border-radius: 12px; color: var(--ink); background: #fffaf4; font-size: 10px; }
.auth-pending-note { padding: 12px 13px; border: 1px dashed rgba(180,138,77,.45); border-radius: 13px; color: #725c4c; background: #f6eddf; }
.auth-pending-note b, .auth-pending-note small { display: block; }
.auth-pending-note b { font-size: 11px; }
.auth-pending-note small { margin-top: 4px; color: #927d6e; font-size: 8px; line-height: 1.5; }
.auth-divider { display: flex; align-items: center; gap: 9px; margin: 17px 0 13px; color: #a28f82; font-size: 8px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-login-form label { margin-bottom: 10px; }
.email-code-row { display: grid; grid-template-columns: 1fr 92px; gap: 7px; margin-top: 6px; }
.email-code-row input { margin: 0; }
.email-code-row button { border: 1px solid #d1b99e; border-radius: 12px; color: var(--wine); background: #fff7ec; font-size: 8px; font-weight: 700; cursor: pointer; }
.member-code-login { margin-top: 11px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; color: #7d685b; background: rgba(255,253,249,.72); font-size: 9px; }
.member-code-login summary { cursor: pointer; font-weight: 700; }
.member-code-login form { margin-top: 12px; }
.member-code-login label { color: #7e6b5e; font-size: 8px; }
.member-code-login input { display: block; width: 100%; height: 43px; margin: 6px 0 9px; padding: 0 11px; border: 1px solid #d9cabc; border-radius: 11px; color: var(--ink); background: #fffaf4; font-size: 9px; }
.referral-hero { padding: 22px 20px; border-radius: 21px; color: white; background: radial-gradient(circle at 86% 18%, rgba(230,209,170,.2), transparent 32%), linear-gradient(145deg, #34231d, #6c392f); box-shadow: 0 17px 35px rgba(61,34,26,.18); }
.referral-hero > span { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.referral-hero > strong { display: block; margin: 6px 0 4px; color: #f4dfb7; font-family: Georgia, serif; font-size: 41px; font-weight: 500; }
.referral-hero > p { margin: 0 0 16px; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.65; }
.referral-hero label { display: block; color: rgba(255,255,255,.63); font-size: 8px; }
.referral-hero input { display: block; width: 100%; margin: 6px 0 11px; padding: 11px 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: white; background: rgba(255,255,255,.08); font-size: 9px; text-overflow: ellipsis; }
.referral-qr-card { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 15px; margin: 1px 0 17px; padding: 13px; border: 1px solid rgba(244,223,183,.24); border-radius: 16px; background: rgba(255,255,255,.08); }
.referral-qr-image { overflow: hidden; padding: 7px; border-radius: 12px; background: #fffaf4; box-shadow: 0 9px 22px rgba(27,15,11,.22); }
.referral-qr-image img { display: block; width: 100%; aspect-ratio: 1; }
.referral-qr-card b { display: block; color: #fff7e8; font-family: STSong, SimSun, serif; font-size: 16px; font-weight: 600; }
.referral-qr-card p { margin: 6px 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.65; }
.referral-qr-card small { color: var(--gold-soft); font-size: 8px; }
.referral-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.referral-share-actions .primary-button { display: grid; place-items: center; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; color: #39241e; background: #f4e2bf; font-family: inherit; font-size: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
.commission-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 11px; }
.commission-summary article { padding: 13px 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.commission-summary span, .commission-summary b { display: block; }
.commission-summary span { color: #927e70; font-size: 8px; }
.commission-summary b { margin-top: 6px; color: var(--wine); font-family: Georgia, serif; font-size: 18px; }
.commission-summary small { font-family: inherit; font-size: 8px; }
.section-title.compact { margin-top: 21px; }
.commission-ledger { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.commission-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 13px; }
.commission-row + .commission-row { border-top: 1px solid var(--line); }
.commission-row > span { padding: 4px 6px; border-radius: 999px; color: #80602e; background: #f4e7ca; font-size: 7px; font-weight: 700; }
.commission-row div { min-width: 0; }
.commission-row b, .commission-row small { display: block; }
.commission-row b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.commission-row small { margin-top: 3px; color: #9a877a; font-size: 7px; }
.commission-row strong { color: #52785a; font-family: Georgia, serif; font-size: 13px; }
.referral-empty { padding: 24px; text-align: center; }
.referral-empty span { color: #c2b2a5; font-family: Georgia, serif; font-size: 28px; }
.referral-empty p { margin: 5px 0 0; color: #938073; font-size: 9px; }
.referral-demo-button { margin-top: 11px; }
.referral-rules { margin-top: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,249,.7); }
.referral-rules > b { color: var(--wine); font-size: 12px; }
.referral-rules ol { margin: 10px 0 0; padding-left: 18px; color: #806d60; font-size: 9px; line-height: 1.75; }
.referral-attribution { margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(70,117,78,.2); border-radius: 12px; color: #4e6e50; background: #e7f0e4; font-size: 9px; line-height: 1.55; text-align: center; }

@media (max-width: 420px) {
  .referral-qr-card { grid-template-columns: 104px 1fr; gap: 11px; padding: 11px; }
  .referral-share-actions { grid-template-columns: 1fr; }
  .cover-download-card { grid-template-columns: 1fr; }
  .cover-download-card .primary-button { width: 100%; }
}

.bottom-nav { display: grid; grid-template-columns: repeat(4,1fr); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,249,.96); backdrop-filter: blur(18px); }
.nav-item { border: 0; background: transparent; color: #988578; cursor: pointer; }
.nav-item span { display: block; height: 25px; font-family: Georgia, serif; font-size: 23px; line-height: 1; }
.nav-item b { display: block; font-size: 10px; font-weight: 600; }
.nav-item.active { color: var(--wine); }
.toast { position: fixed; z-index: 99; left: 50%; bottom: 35px; transform: translate(-50%, 16px); padding: 11px 18px; border-radius: 999px; color: white; background: rgba(38,27,22,.92); font-size: 12px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.elder { --text-scale: 1.14; }
body.elder .question-card h3, body.elder .page-heading h2 { font-size: 32px; }
body.elder .answer-box, body.elder .bubble { font-size: 17px; }
body.elder .primary-button, body.elder .secondary-button { min-height: 54px; }

@media (max-width: 920px) {
  body { background: var(--paper); }
  .ambient, .story-panel { display: none; }
  .product-shell { display: block; min-height: 100vh; padding: 0; }
  .app-frame { width: 100%; height: 100vh; min-height: 620px; border: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 380px) {
  .app-header, .view { padding-left: 17px; padding-right: 17px; }
  .wordmark { gap: 8px; }
  .header-book-magic { flex-basis: 40px; width: 40px; height: 34px; margin-left: -4px; }
  .hero-card h2 { font-size: 30px; }
  .home-brand-hero, .hero-card-content { min-height: 310px; }
  .hero-card-content { width: 94%; padding: 24px 20px; }
  .home-brand-hero h2 { font-size: 31px; }
  .poet-guide-copy { width: 70%; padding-left: 15px; }
  .poet-guide-card > img { right: -24px; width: 141px; }
  .founder-contact { grid-template-columns: 78px minmax(0, 1fr); gap: 13px; padding: 13px; }
  .founder-contact > img { width: 78px; height: 105px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .showcase-marquee { overflow-x: auto; }
}
