/* ================= 大全朋友圈助手 ================= */
:root {
  --ink: #14191d;
  --coal: #1b2227;
  --paper: #f4efe6;
  --card: #fffdf9;
  --gold: #c8a24b;
  --gold-2: #e0c078;
  --orange: #d85b2d;
  --muted: #8b8f8b;
  --line: #e3dacb;
  --soft: #f8f3e9;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: #e6dfd2;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.hidden { display: none !important; }

.app {
  position: relative;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(20, 25, 29, 0.16);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 18px;
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 218, 203, 0.8);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 20px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(20, 25, 29, 0.22);
}
.brand-word b { display: block; font-size: 15.5px; letter-spacing: 1px; line-height: 1.2; font-weight: 700; }
.brand-word small { display: block; margin-top: 2px; font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.top-link { font-size: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; background: rgba(255, 255, 255, 0.45); }

/* ---------------- 首页 ---------------- */
.view { animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hero {
  position: relative;
  overflow: hidden;
  margin: 14px 16px 0;
  padding: 30px 24px 22px;
  border-radius: 26px;
  background: radial-gradient(circle at 90% 0%, #2b353b 0%, #14191d 58%);
  color: var(--paper);
  box-shadow: 0 18px 36px rgba(20, 25, 29, 0.25);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 70%);
  pointer-events: none;
}
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  position: relative;
  margin: 12px 0 14px;
  font-size: 31px;
  line-height: 1.38;
  letter-spacing: 0.5px;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-sub {
  position: relative;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(244, 239, 230, 0.66);
  letter-spacing: 0.3px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.12s, opacity 0.12s;
}
.btn:active { transform: scale(0.985); }
.btn-gold { width: 100%; margin-top: 22px; background: var(--gold-2); color: #1b1a13; box-shadow: 0 10px 24px rgba(200, 162, 75, 0.24); }
.btn-gold span { font-size: 17px; }
.btn-primary { width: 100%; background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.hero-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(244, 239, 230, 0.48);
}
.hero-meta i { width: 1px; height: 10px; background: rgba(244, 239, 230, 0.18); }
.hero-meta b { color: var(--gold-2); font-size: 13px; margin-right: 2px; }
.hero-stamp {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 162, 75, 0.5);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  transform: rotate(7deg);
  border-radius: 5px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.eyebrow { margin: 0; font-size: 9px; letter-spacing: 2.6px; color: var(--gold); font-weight: 600; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.section-title { margin: 6px 0 0; font-size: 22px; font-weight: 800; letter-spacing: 1.2px; line-height: 1.4; }
.section-more { font-size: 10px; color: var(--muted); }
.tiny-note { margin: 10px 0 0; font-size: 9.5px; color: #a39b8c; line-height: 1.7; }

.before-after, .types-section, .how-section, .audience { padding: 28px 20px 0; }
.example-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.example-card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.example-raw {
  padding: 13px 15px;
  background: #eee7da;
  font-size: 11.5px;
  color: #77756b;
  line-height: 1.8;
}
.example-raw b { display: block; font-size: 9px; letter-spacing: 1.5px; color: #a39b8c; margin-bottom: 3px; }
.example-out { padding: 15px; }
.example-out .etag { display: inline-block; font-size: 9px; letter-spacing: 1px; color: var(--gold); border: 1px solid rgba(200, 162, 75, 0.35); padding: 2px 8px; border-radius: 999px; }
.example-out p { margin: 9px 0 0; white-space: pre-wrap; font-size: 13px; line-height: 2; color: #2a2f31; }
.example-note { margin-top: 9px; font-size: 9.5px; color: #a39b8c; }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.type-card {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  text-align: left;
  min-height: 82px;
  transition: border-color 0.15s, transform 0.12s;
}
.type-card:active { transform: scale(0.98); }
.type-card .ticon { display: block; font-size: 16px; color: var(--gold); line-height: 1; }
.type-card b { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px; }
.type-card span { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); line-height: 1.5; }

.persona-card {
  position: relative;
  margin: 28px 16px 0;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(155deg, #f7f0e3, #efe6d6);
  border: 1px solid #e8ddc9;
  overflow: hidden;
}
.persona-card::after {
  content: "大";
  position: absolute;
  right: -18px;
  bottom: -40px;
  font-family: var(--serif);
  font-size: 150px;
  color: rgba(20, 25, 29, 0.045);
  pointer-events: none;
}
.persona-head { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.persona-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-size: 25px; flex: none; }
.persona-head h3 { margin: 0; font-size: 18px; letter-spacing: 1px; }
.persona-head p { margin: 3px 0 0; font-size: 9.5px; color: var(--muted); line-height: 1.5; }
.persona-seal { margin-left: auto; width: 38px; height: 38px; border: 1px solid rgba(200, 162, 75, 0.55); color: var(--gold); font-family: var(--serif); font-size: 9.5px; line-height: 1.3; display: grid; place-items: center; text-align: center; transform: rotate(6deg); border-radius: 4px; }
.persona-quote { position: relative; margin: 16px 0 8px; font-family: var(--serif); font-size: 15px; line-height: 1.85; color: #3d4645; }
.persona-desc { position: relative; margin: 0; font-size: 11px; line-height: 1.85; color: #7d7c70; }
.persona-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.persona-tags span { font-size: 9.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(200, 162, 75, 0.2); color: #5f665f; }

.how-list { margin-top: 14px; border-top: 1px solid var(--line); }
.how-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.how-item > span { flex: none; width: 28px; font-family: var(--serif); font-size: 17px; color: var(--gold); }
.how-item b { display: block; font-size: 13px; letter-spacing: 0.5px; }
.how-item p { margin: 2px 0 0; font-size: 10.5px; color: var(--muted); line-height: 1.7; }

.audience-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.audience-chips span { font-size: 11px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #4d534f; background: var(--card); }
.footer { padding: 30px 20px 12px; text-align: center; }
.footer-brand { font-size: 11.5px; letter-spacing: 1.2px; color: #6d6d62; }
.footer p { margin: 8px 0 0; font-size: 9px; line-height: 1.8; color: #a39b8c; }
.footer .footer-small { margin-top: 10px; color: #b0a898; }

/* ---------------- 写朋友圈 ---------------- */
.page-head { padding: 24px 20px 16px; }
.page-head h1 { margin: 5px 0 0; font-size: 30px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.35; }
.page-head p:last-child { margin: 7px 0 0; font-size: 11.5px; line-height: 1.8; color: var(--muted); }

.composer-card, .upload-card, .option-card {
  margin: 0 16px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.composer-card { padding: 16px; }
.composer-card textarea {
  width: 100%;
  min-height: 178px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
.composer-card textarea::placeholder { color: #b3aa9a; }
.composer-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 10px; }
.prompt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.prompt-chips button { font-size: 9.5px; padding: 4px 8px; border-radius: 999px; background: var(--soft); color: #7c7b6e; border: 1px solid #eee6d7; }
.char-count { flex: none; font-size: 9.5px; color: #aaa192; font-variant-numeric: tabular-nums; }

.upload-card { padding: 10px; }
.upload-empty { width: 100%; padding: 20px 12px; border: 1px dashed #d8cdb9; border-radius: 13px; display: flex; flex-direction: column; align-items: center; gap: 3px; background: #fcf8f0; }
.upload-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 18px; color: var(--gold); margin-bottom: 3px; }
.upload-empty b { font-size: 12.5px; }
.upload-empty small { font-size: 9px; color: var(--muted); }
.image-editor { display: flex; gap: 12px; align-items: center; }
.image-thumb { position: relative; width: 92px; height: 112px; flex: none; border-radius: 10px; overflow: hidden; background: #eee; }
.image-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-thumb button { position: absolute; top: 4px; right: 4px; width: 21px; height: 21px; border-radius: 50%; background: rgba(20, 25, 29, 0.65); color: #fff; font-size: 13px; display: grid; place-items: center; }
.image-info { flex: 1; min-width: 0; }
.image-info b { display: block; font-size: 12.5px; }
.image-info > span { display: block; margin-top: 2px; font-size: 9px; color: var(--muted); }
.image-info label { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 10px; color: #77756b; }
.image-info select { flex: 1; min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 0 8px; font-size: 11px; outline: none; }

.option-card { padding: 16px; }
.option-block { margin-bottom: 16px; }
.option-block:last-child { margin-bottom: 0; }
.option-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.option-label b { font-size: 12px; letter-spacing: 0.3px; }
.option-label span { font-size: 8.5px; color: #a39b8c; }
.chip-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll button {
  flex: none;
  font-size: 11px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fcf8f0;
  color: #66685f;
  white-space: nowrap;
}
.chip-scroll button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.segment { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.segment button { flex: 1; padding: 7px 0; font-size: 10.5px; color: #77756b; background: #fcf8f0; border-right: 1px solid var(--line); }
.segment button:last-child { border-right: 0; }
.segment button.active { background: var(--ink); color: var(--paper); }
.text-input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: #fcf8f0; padding: 0 11px; font-size: 12px; outline: none; }
.text-input:focus { border-color: var(--gold); }
#generateBtn { margin: 4px 16px 0; width: calc(100% - 32px); }
.hint { margin: 10px 20px 20px; font-size: 9.5px; line-height: 1.8; color: #a39b8c; text-align: center; }

/* ---------------- 结果页 ---------------- */
.fullpage {
  position: fixed;
  z-index: 70;
  inset: 0;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--paper);
  overflow-y: auto;
}
.subpage-head {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 14px;
  background: rgba(244, 239, 230, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
.round-btn { width: 34px; height: 34px; border-radius: 50%; background: #eae1d1; color: var(--ink); font-size: 24px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.head-action { font-size: 10.5px; color: var(--ink); border: 1px solid #d8cdb9; padding: 5px 10px; border-radius: 999px; }
.result-body { padding: 16px 16px 40px; }
.result-intro { margin-bottom: 12px; }
.result-intro .eyebrow { margin-bottom: 4px; }
.result-intro h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.result-intro p { margin: 5px 0 0; font-size: 10.5px; color: var(--muted); line-height: 1.7; }
.result-card {
  position: relative;
  margin-bottom: 13px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(20, 25, 29, 0.04);
}
.result-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--gold); border-radius: 2px; opacity: 0.7; }
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.result-label { font-size: 10px; letter-spacing: 0.8px; color: var(--gold); }
.result-label b { color: var(--ink); font-size: 11.5px; letter-spacing: 0.5px; }
.result-count { font-size: 9px; color: #a8a08f; }
.copy-text { white-space: pre-wrap; font-size: 14.5px; line-height: 2; color: #2c3234; word-break: break-word; }
.result-actions { display: flex; gap: 7px; margin-top: 14px; }
.result-actions button { flex: 1; height: 36px; border-radius: 9px; border: 1px solid #dfd5c4; background: #fcf8f0; font-size: 10.5px; color: #5f6259; }
.result-actions button.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.result-actions button.fav { color: var(--gold); }
.result-tips { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.result-tips summary { font-size: 9.5px; color: #9a9384; cursor: pointer; list-style: none; }
.result-tips summary::-webkit-details-marker { display: none; }
.result-tips p { margin: 6px 0 0; font-size: 9.5px; line-height: 1.75; color: #8b877a; }
.result-foot { display: flex; gap: 8px; margin-top: 16px; }
.result-foot button { flex: 1; height: 44px; border-radius: 11px; font-size: 12.5px; }
.result-foot .again { background: var(--ink); color: var(--paper); }
.result-foot .home { border: 1px solid #d8cdb9; color: var(--ink); background: var(--card); }

/* ---------------- 配图工作室 ---------------- */
.studio-body { padding: 14px 16px 30px; }
.canvas-wrap { border-radius: 16px; background: #1a1e21; padding: 10px; display: grid; place-items: center; min-height: 300px; }
#studioCanvas { max-width: 100%; max-height: 56vh; border-radius: 6px; display: block; }
.studio-controls { margin-top: 16px; }
.check-row { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 10.5px; color: #77756b; }
.check-row input { accent-color: var(--ink); width: 14px; height: 14px; }
#downloadBtn { color: var(--gold); border-color: rgba(200, 162, 75, 0.4); }

/* ---------------- 我的 ---------------- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(150deg, #1b2227, #2b3438);
  color: var(--paper);
}
.profile-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: #1b1a13; font-family: var(--serif); font-size: 25px; flex: none; }
.profile-main b { display: block; font-size: 18px; letter-spacing: 1px; }
.profile-main span { display: block; margin-top: 3px; font-size: 9.5px; color: rgba(244, 239, 230, 0.6); line-height: 1.5; }
.stat-row { display: flex; margin: 12px 16px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.stat-row > div { flex: 1; text-align: center; padding: 13px 6px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.stat-row span { display: block; margin-top: 2px; font-size: 9px; color: var(--muted); }
.mine-block { padding: 24px 20px 0; }
.mine-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.mine-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.mini-tabs { display: flex; gap: 4px; background: #eae1d1; border-radius: 999px; padding: 3px; }
.mini-tabs button { font-size: 9.5px; padding: 4px 10px; border-radius: 999px; color: #77756b; }
.mini-tabs button.active { background: var(--card); color: var(--ink); }
.history-item { width: 100%; text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); }
.history-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.history-top b { font-size: 12.5px; }
.history-top span { font-size: 9px; color: #a39b8c; }
.history-raw { margin: 5px 0 0; font-size: 10.5px; line-height: 1.7; color: #77756b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.history-meta { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 9px; color: #a8a08f; }
.history-meta .star { color: var(--gold); }
.empty-state { padding: 34px 16px; text-align: center; color: var(--muted); font-size: 11.5px; }
.empty-state .eicon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: #eae1d1; display: grid; place-items: center; font-size: 22px; color: var(--gold); }
.link-list { padding: 22px 20px 0; }
.link-row { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.link-row i { font-style: normal; color: #b0a898; }
.link-row.subtle { font-size: 11px; color: #a39b8c; }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  display: flex;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  background: rgba(244, 239, 230, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(227, 218, 203, 0.9);
  box-shadow: 0 -8px 24px rgba(20, 25, 29, 0.05);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; color: #9d9789; font-size: 10px; letter-spacing: 0.5px; }
.tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.tab.active { color: var(--ink); font-weight: 700; }

/* ---------------- 提示 / 弹层 ---------------- */
.toast {
  position: fixed;
  z-index: 95;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -12px);
  max-width: 320px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(20, 25, 29, 0.94);
  color: var(--paper);
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; z-index: 90; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 25, 29, 0.5); backdrop-filter: blur(2px); }
.sheet { width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); background: var(--paper); border-radius: 24px 24px 0 0; animation: sheetUp 0.26s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0.5; } to { transform: none; opacity: 1; } }
.sheet h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.sheet .sheet-sub { margin: 0 0 16px; font-size: 10.5px; color: var(--muted); line-height: 1.8; }
.sheet p { font-size: 12px; line-height: 1.9; color: #5f6259; }
.sheet-actions { display: flex; gap: 8px; margin-top: 16px; }
.sheet-actions .btn { flex: 1; height: 44px; font-size: 12.5px; background: var(--ink); color: var(--paper); }
.help-list { margin: 12px 0 0; padding: 0; list-style: none; }
.help-list li { position: relative; padding: 8px 0 8px 16px; font-size: 11.5px; line-height: 1.8; color: #5f6259; border-bottom: 1px dashed var(--line); }
.help-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.copy-area {
  width: 100%;
  height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  padding: 12px;
  font-size: 13px;
  line-height: 1.9;
  resize: none;
  outline: none;
}

@media (min-width: 521px) { .app { box-shadow: 0 0 60px rgba(20, 25, 29, 0.16); } }
@media (max-width: 360px) {
  .hero h1 { font-size: 33px; }
  .hero { padding: 26px 20px 20px; }
  .type-card b { font-size: 12px; }
}
