/* ============================================================
 * 全局样式 —— 移动端优先，深色主题
 * ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(160deg, #14143a 0%, #1a1a3e 45%, #2d1b4e 100%);
  background-attachment: fixed;
  color: #f5f5fa;
  min-height: 100dvh;            /* 移动端地址栏收缩适配 */
  overflow-x: hidden;            /* 禁止横向滚动 */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
 * 帝王生涯档案 · 官修本纪 / 朱批史书
 * ============================================================ */
.catalog-card.theme-card-imperial{position:relative;overflow:hidden;background:#eee4cf;border-color:#7b332b;color:#241f1a;}
.catalog-card.theme-card-imperial::before{content:'本纪';position:absolute;right:116px;top:18px;border:1px solid rgba(147,50,41,.38);padding:3px 5px;color:rgba(147,50,41,.65);font:700 11px "Songti SC",serif;transform:rotate(-5deg);}
.catalog-card.theme-card-imperial .catalog-card-tags span{background:#9a3d30;color:#fff6e3;}
.catalog-card.theme-card-imperial .catalog-card-tags span+span{background:#d9c6a0;color:#4b3428;}
.catalog-card.theme-card-imperial p,.catalog-card.theme-card-imperial .catalog-card-meta{color:#726454;}
.catalog-card.theme-card-imperial .catalog-card-art img{width:96px;height:116px;border:1px solid #8d705a;border-radius:4px;object-fit:cover;filter:saturate(.78) contrast(1.06);}
.catalog-card.theme-card-imperial .catalog-card-art b{background:#973c30;color:#fff4df;}
body.theme-imperial{--imp-paper:#eae0ca;--imp-paper-light:#f5eddc;--imp-ink:#25211b;--imp-red:#963c30;--imp-gold:#b68a45;--imp-muted:#756857;--imp-line:rgba(54,43,31,.28);background:#ded3bc;color:var(--imp-ink);}
body.theme-imperial::before{content:'';position:fixed;inset:0;z-index:-1;opacity:.22;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(58,43,24,.05) 6px),linear-gradient(90deg,rgba(255,255,255,.2),transparent 20%,transparent 80%,rgba(79,52,25,.08));}
body.theme-imperial #app{max-width:660px;padding:0 14px 76px;}
body.theme-imperial .platform-header{border-color:var(--imp-line);}
body.theme-imperial .platform-brand span,body.theme-imperial .records-link span{color:var(--imp-red);}
body.theme-imperial .platform-brand b,body.theme-imperial .records-link{color:var(--imp-ink);}
.imperial-landing{padding-bottom:20px;}
.imperial-folio,.imperial-fileline{display:flex;justify-content:space-between;gap:10px;padding:9px 1px;border-top:2px solid var(--imp-ink);border-bottom:1px solid var(--imp-line);color:var(--imp-muted);font:800 9px/1.2 monospace;letter-spacing:1px;text-transform:uppercase;}
.imperial-hero{position:relative;height:480px;margin-top:12px;overflow:hidden;border:1px solid var(--imp-ink);background:#1f201c;}
.imperial-hero>img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.72) contrast(1.08);}
.imperial-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,12,10,.06) 18%,rgba(14,12,10,.88) 92%),linear-gradient(90deg,rgba(20,16,13,.5),transparent 60%);}
.imperial-hero-copy{position:absolute;left:0;right:0;bottom:0;padding:28px 24px;color:#f5ead5;}
.imperial-hero-copy>span{display:inline-block;padding:4px 9px;background:var(--imp-red);font-size:10px;font-weight:800;letter-spacing:1.1px;}
.imperial-hero-copy h1{margin:12px 0 10px;font-family:"Songti SC",Georgia,serif;font-size:clamp(34px,8.6vw,50px);line-height:1.14;letter-spacing:-1px;}
.imperial-hero-copy h1 em{color:#e4bd75;font-style:normal;}
.imperial-hero-copy p{max-width:530px;color:#d8cdb9;font-size:12px;line-height:1.75;}
.imperial-meta{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--imp-ink);border-top:0;background:var(--imp-paper-light);}
.imperial-meta span{display:flex;min-height:57px;flex-direction:column;align-items:center;justify-content:center;color:var(--imp-muted);font-size:9px;text-align:center;}
.imperial-meta span+span{border-left:1px solid var(--imp-line);}
.imperial-meta b{color:var(--imp-ink);font:700 15px Georgia,"Songti SC",serif;}
body.theme-imperial .entitlement-card{border:1px solid var(--imp-ink);border-radius:0;background:var(--imp-paper-light);box-shadow:7px 7px 0 rgba(55,42,27,.12);}
body.theme-imperial .entitlement-top span,body.theme-imperial .mock-notice b{color:var(--imp-red);}
body.theme-imperial .entitlement-top b{color:var(--imp-ink);}
body.theme-imperial .entitlement-top strong{border-radius:2px;background:#e8d9bc;color:var(--imp-red);}
body.theme-imperial .tier-choice{border-radius:2px;background:rgba(255,255,255,.24);border-color:var(--imp-line);}
body.theme-imperial .tier-choice.selected{border-color:var(--imp-red);box-shadow:inset 0 0 0 1px var(--imp-red);background:rgba(150,60,48,.06);}
body.theme-imperial .tier-choice span{color:var(--imp-red);}
body.theme-imperial .btn-primary{border-radius:2px;background:var(--imp-red);color:#fff5e2;box-shadow:4px 4px 0 var(--imp-gold);}
.imperial-brief{margin-top:28px;padding:19px;border-left:5px solid var(--imp-red);background:rgba(245,237,220,.76);}
.imperial-brief>span,.imperial-chapters>span{color:var(--imp-red);font:900 9px monospace;letter-spacing:1.4px;}
.imperial-brief h2{margin:8px 0 15px;font-family:"Songti SC",Georgia,serif;font-size:19px;line-height:1.6;}
.imperial-brief>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.imperial-brief p{padding:9px;border:1px solid var(--imp-line);color:var(--imp-muted);font-size:10px;}
.imperial-brief p b{margin-right:7px;color:var(--imp-gold);font-family:Georgia,serif;}
.imperial-chapters{display:grid;grid-template-columns:1fr 1fr;margin-top:18px;border-top:2px solid var(--imp-ink);}
.imperial-chapters>span{grid-column:1/-1;padding:9px 2px;border-bottom:1px solid var(--imp-line);}
.imperial-chapters>div{display:grid;grid-template-columns:28px 1fr;padding:10px;border-bottom:1px solid var(--imp-line);}
.imperial-chapters>div:nth-child(even){border-right:1px solid var(--imp-line);}
.imperial-chapters b{grid-row:1/3;color:var(--imp-red);font:700 15px Georgia,serif;}
.imperial-chapters p{font:700 13px "Songti SC",serif;}
.imperial-chapters small{color:var(--imp-muted);font-size:9px;}
.imperial-note{margin:18px auto 0;max-width:540px;color:var(--imp-muted);font-size:10px;line-height:1.7;text-align:center;}
body.theme-imperial #app.quiz-mode{padding-top:18px;}
body.theme-imperial .progress-fill{background:var(--imp-red);}
body.theme-imperial .quiz-section{color:var(--imp-red);font-family:"Songti SC",serif;letter-spacing:.5px;}
body.theme-imperial .quiz-card{border:1px solid var(--imp-ink);border-radius:0;background:var(--imp-paper-light);box-shadow:7px 7px 0 rgba(55,42,27,.1);}
body.theme-imperial .quiz-emoji{color:var(--imp-red);font-family:"Songti SC",serif;}
body.theme-imperial .quiz-question{font-family:"Songti SC",Georgia,serif;}
body.theme-imperial .option-btn{border-radius:2px;border-color:var(--imp-line);background:rgba(255,255,255,.22);color:var(--imp-ink);}
body.theme-imperial .option-btn.picked{border-color:var(--imp-red);background:rgba(150,60,48,.08);}
body.theme-imperial .option-mark{border-radius:2px;color:var(--imp-red);}
body.theme-imperial .option-btn.picked .option-mark{border-color:var(--imp-red);background:var(--imp-red);color:#fff;}
body.theme-imperial .quiz-nav{background:linear-gradient(180deg,transparent,rgba(222,211,188,.97) 38%);}
body.theme-imperial .quiz-map-panel{border-radius:0;background:var(--imp-ink);color:var(--imp-paper-light);}
body.theme-imperial .quiz-map-cell.done{background:var(--imp-red);color:#fff;}
.imperial-report-cover{position:relative;overflow:hidden;padding:12px;border:1px solid var(--imp-ink);background:var(--imp-paper-light);box-shadow:8px 8px 0 rgba(55,42,27,.13);text-align:center;}
.imperial-cover-art{height:275px;margin-top:10px;overflow:hidden;border:1px solid var(--imp-line);}
.imperial-cover-art img{width:100%;height:100%;object-fit:cover;object-position:center 38%;filter:saturate(.74) contrast(1.06);}
.imperial-eyebrow{margin-top:16px;color:var(--imp-red);font:900 10px monospace;letter-spacing:1.3px;}
.imperial-report-cover h1{margin:5px 48px 3px;font-family:"Songti SC",Georgia,serif;font-size:clamp(29px,8vw,43px);line-height:1.2;}
.imperial-tag{color:var(--imp-muted);font-size:12px;}
.imperial-seal{position:absolute;right:18px;top:323px;width:46px;height:46px;border:2px solid var(--imperial-accent);color:var(--imperial-accent);font:700 24px/36px "Songti SC",serif;transform:rotate(4deg);}
.imperial-seal small{display:block;margin-top:-10px;font-size:9px;line-height:10px;}
.imperial-reign-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:15px;border-top:1px solid var(--imp-ink);border-bottom:1px solid var(--imp-ink);}
.imperial-reign-grid>div{padding:10px 3px;}
.imperial-reign-grid>div+div{border-left:1px solid var(--imp-line);}
.imperial-reign-grid span{display:block;color:var(--imp-red);font-size:9px;letter-spacing:1px;}
.imperial-reign-grid b{display:block;margin-top:2px;font:700 18px "Songti SC",Georgia,serif;}
.imperial-report-cover blockquote{margin:17px auto 7px;max-width:520px;color:var(--imp-ink);font:700 16px/1.75 "Songti SC",Georgia,serif;}
.imperial-tier-note{color:var(--imp-muted);font-size:9px;}
body.theme-imperial .imperial-radar{border:1px solid var(--imp-ink);border-radius:0;background:var(--imp-paper-light);}
.imperial-details{display:grid;gap:8px;}
body.theme-imperial .report-accordion{overflow:hidden;border:1px solid var(--imp-ink);border-radius:0;background:var(--imp-paper-light);}
body.theme-imperial .report-accordion summary{display:grid;grid-template-columns:38px minmax(0,1fr) 32px;align-items:center;min-height:58px;padding:0 13px;cursor:pointer;list-style:none;}
body.theme-imperial .report-accordion summary::-webkit-details-marker{display:none;}
body.theme-imperial .report-accordion summary span{color:var(--imp-red);font:900 11px Georgia,serif;}
body.theme-imperial .report-accordion summary b{font-family:"Songti SC",Georgia,serif;font-size:15px;}
body.theme-imperial .report-accordion summary i{color:var(--imp-muted);font-size:9px;font-style:normal;}
body.theme-imperial .report-accordion[open] summary{background:var(--imp-ink);color:var(--imp-paper-light);}
body.theme-imperial .report-accordion[open] summary span{color:#d8aa5e;}
body.theme-imperial .accordion-body{padding:16px;border-top:1px solid var(--imp-line);}
body.theme-imperial .accordion-body>p{margin-bottom:10px;color:var(--imp-muted);font-size:13px;line-height:1.85;}
body.theme-imperial .accordion-body blockquote{margin-bottom:12px;padding:16px;border:1px solid var(--imp-red);color:var(--imp-ink);font:700 16px/1.75 "Songti SC",serif;}
.imperial-entry{margin-bottom:10px;padding:13px;border-left:4px solid var(--imp-gold);background:var(--imp-paper);}
.imperial-entry.danger{border-left-color:var(--imp-red);}
.imperial-entry span,.imperial-turn span,.imperial-lesson span{color:var(--imp-red);font:900 9px monospace;letter-spacing:1px;}
.imperial-entry h3{margin:4px 0;font-size:14px;}
.imperial-entry p,.imperial-turn p,.imperial-lesson p{color:var(--imp-muted);font-size:12px;line-height:1.8;}
.imperial-dimensions .dim-block{margin:0;padding:10px 0;border-bottom:1px solid rgba(54,43,31,.1);}
.imperial-dimensions .dim-value{color:var(--imp-red);}
.imperial-dimensions p{margin-top:6px;color:var(--imp-muted);font-size:11px;line-height:1.65;}
.imperial-folk{margin:0 0 13px;padding:17px;border:1px dashed var(--imp-red);text-align:center;}
.imperial-folk span{color:var(--imp-red);font-size:10px;letter-spacing:2px;}
.imperial-folk p{margin-top:7px;font:700 16px/1.75 "Songti SC",serif;}
.imperial-turn{padding:17px;background:#302c25;color:#f3e8d2;}
.imperial-turn p{margin-top:7px;color:#e2d4bd;}
.imperial-lesson{margin-bottom:15px;padding:16px;background:#d9c39a;}
.imperial-lesson p{margin-top:5px;color:var(--imp-ink);font-family:"Songti SC",serif;font-size:15px;font-weight:700;}
body.theme-imperial .share-section{border:1px solid var(--imp-ink);border-radius:0;background:var(--imp-paper-light);}
body.theme-imperial .share-image{border:1px solid var(--imp-line);}
body.theme-imperial .share-buttons .btn-ghost,body.theme-imperial .result-actions .btn-ghost{border:1px solid var(--imp-ink);border-radius:2px;background:transparent;color:var(--imp-ink);}
@media(max-width:420px){
  .catalog-card.theme-card-imperial .catalog-card-art img{width:82px;height:102px;}
  .imperial-hero{height:450px;}
  .imperial-hero-copy{padding:23px 17px;}
  .imperial-meta{grid-template-columns:1fr 1fr;}
  .imperial-meta span:nth-child(3){border-left:0;border-top:1px solid var(--imp-line);}
  .imperial-meta span:nth-child(4){border-top:1px solid var(--imp-line);}
  .imperial-brief>div{grid-template-columns:1fr;}
  .imperial-report-cover h1{margin-left:35px;margin-right:35px;}
  .imperial-cover-art{height:230px;}
  .imperial-seal{top:278px;width:40px;height:40px;font-size:20px;line-height:31px;}
  .imperial-reign-grid b{font-size:15px;}
}
@media(max-width:350px){.imperial-chapters{grid-template-columns:1fr}.imperial-chapters>div:nth-child(even){border-right:0}.imperial-report-cover{padding:9px}.imperial-fileline{font-size:8px}.imperial-reign-grid b{font-size:14px}}

#app {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));  /* iPhone 底部安全区 */
}

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

.loading { text-align: center; padding: 60px 0; color: rgba(255,255,255,0.6); }

.hidden { display: none !important; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 16px;
  cursor: pointer;
  transition: transform .1s ease, opacity .2s;
  font-family: inherit;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, #ff9a6c, #ff6b9d);
  color: #fff;
  font-weight: 600;
}
.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}
.btn:disabled { opacity: 0.4; cursor: default; }

/* 未完成的"查看结果"按钮：暗色不可用 */
.btn-inactive {
  background: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.4) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.4) !important;
  box-shadow: none !important;
  cursor: default;
}

/* ---------- 分析中过渡页 ---------- */
.analyzing-wrap { text-align: center; padding: 28vh 0 0; }
.analyzing-spinner {
  width: 64px; height: 64px;
  margin: 0 auto 26px;
  border: 5px solid rgba(255,255,255,0.15);
  border-top-color: #ff9a6c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.analyzing-text { font-size: 15px; color: rgba(255,255,255,0.85); }
.analyzing-bar {
  width: 72%; max-width: 260px;
  margin: 22px auto 0;
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.analyzing-bar-fill {
  height: 100%; width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff9a6c, #ff6b9d);
  transition: width .6s ease;
}

/* ---------- Toast 弹窗 ---------- */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 130px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 22px;
  border-radius: 14px;
  z-index: 200;
  max-width: 82%;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  animation: toast-in .22s ease;
  pointer-events: none;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- 首页 ---------- */
.home-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin: 26px 0 6px;
  background: linear-gradient(135deg, #ffd98a, #ff9a6c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-sub { text-align: center; color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 26px; }

.test-grid { display: flex; flex-direction: column; gap: 14px; }
.test-card {
  display: block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 18px 14px;
  transition: transform .15s ease, background .2s;
}
.test-card:active { transform: scale(0.98); background: rgba(255,255,255,0.10); }
.test-card-emoji { font-size: 34px; }
.test-card-name { font-size: 20px; font-weight: 700; margin: 8px 0 4px; }
.test-card-tagline {
  font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.test-card-meta { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
.badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.badge-free { background: rgba(120,220,160,0.18); color: #7ce8a8; }
.badge-paid { background: rgba(255,170,90,0.18); color: #ffb46e; }

.foot-note { text-align: center; color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 34px; }

/* ---------- 心象测试集平台外壳 ---------- */
body:not(.theme-love-animal) {
  background: #f5efe9;
  color: #272326;
}
body:not(.theme-love-animal) #app { max-width: 760px; padding: 0 16px 88px; }
.platform-home { min-height: 100dvh; }
.platform-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid #ddd1ca; }
.platform-brand { display: flex; flex-direction: column; line-height: 1.15; }
.platform-brand span, .platform-kicker, .catalog-head span { color: #b35f5d; font-size: 9px; font-weight: 900; letter-spacing: 1.6px; }
.platform-brand b { margin-top: 4px; font-family: Georgia, "Songti SC", serif; font-size: 19px; }
.records-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: #6f6663; font-size: 12px; }
.records-link span { color: #b35f5d; }
.platform-hero { padding: 45px 0 34px; }
.platform-hero h1 { margin: 12px 0 14px; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 9vw, 54px); line-height: 1.18; letter-spacing: -1.5px; }
.platform-hero h1 em { color: #c56663; font-style: normal; }
.platform-hero p { max-width: 510px; color: #756b67; font-size: 13px; line-height: 1.9; }
.catalog-section { margin-top: 18px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 13px; }
.catalog-head h2 { margin-top: 4px; font-family: Georgia, "Songti SC", serif; font-size: 23px; }
.catalog-head small { color: #928681; font-size: 11px; }
.catalog-grid { display: grid; gap: 12px; }
.catalog-card { display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 10px; min-height: 202px; padding: 18px; overflow: hidden; border: 1px solid #ded2cb; border-radius: 18px; background: rgba(255,253,250,.78); box-shadow: 0 12px 34px rgba(75,54,47,.06); }
.catalog-card-copy { min-width: 0; }
.catalog-card-tags { display: flex; gap: 6px; }
.catalog-card-tags span { padding: 3px 8px; border-radius: 999px; background: #f2dfd9; color: #aa5656; font-size: 10px; font-weight: 800; }
.catalog-card h3 { margin: 18px 0 7px; font-family: Georgia, "Songti SC", serif; font-size: 25px; }
.catalog-card p { color: #756b67; font-size: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-card-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 15px; color: #8e817d; font-size: 10px; }
.catalog-card-art { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.catalog-card-art img { width: 108px; height: 108px; object-fit: contain; }
.catalog-card-emoji { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #f0e3dc; font-size: 43px; }
.catalog-card-art b { align-self: end; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 8px; border-radius: 50%; background: #2b2729; color: #fff; }
.category-chips { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.category-chips button { min-width: max-content; min-height: 44px; padding: 0 15px; border: 1px solid #d9cbc4; border-radius: 999px; background: transparent; color: #6e6461; font: inherit; font-size: 12px; }
.category-chips button.active { border-color: #2b2729; background: #2b2729; color: #fff; }
.platform-disclaimer { margin-top: 38px; color: #9b8f8a; font-size: 10px; line-height: 1.7; text-align: center; }
.generic-detail { min-height: 100dvh; }
.generic-detail-hero { padding: 44px 0 24px; text-align: center; }
.generic-detail-icon { display: grid; place-items: center; width: 112px; height: 112px; margin: 18px auto; border: 1px solid #dfd1c9; border-radius: 50%; background: #fffaf7; font-size: 50px; }
.generic-detail-hero h1 { font-family: Georgia, "Songti SC", serif; font-size: 34px; }
.generic-detail-hero > p { max-width: 500px; margin: 10px auto; color: #776c68; font-size: 13px; line-height: 1.85; }
.generic-detail-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.generic-detail-meta span { padding: 5px 10px; border-radius: 999px; background: #eadfd9; color: #756a66; font-size: 10px; }
body:not(.theme-love-animal) .entitlement-card { max-width: 540px; margin-left: auto; margin-right: auto; border-color: #d9c8c0; background: #fffaf7; }
body:not(.theme-love-animal) .entitlement-top span, body:not(.theme-love-animal) .mock-notice b { color: #b55d5b; }
body:not(.theme-love-animal) .entitlement-top b { color: #292527; }
body:not(.theme-love-animal) .entitlement-top strong { background: #f1ded8; color: #ad5756; }
body:not(.theme-love-animal) .mock-notice, body:not(.theme-love-animal) .device-warning { color: #817570; }
@media (max-width: 360px) {
  .catalog-card { grid-template-columns: minmax(0,1fr) 88px; padding: 15px; }
  .catalog-card-art img { width: 88px; height: 88px; }
}

/* ---------- 答题页 ---------- */
.back-link { color: rgba(255,255,255,0.7); font-size: 14px; }
.quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.progress-bar {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.12); overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #ff9a6c, #ff6b9d);
  transition: width .3s ease;
}
.progress-text { font-size: 13px; color: rgba(255,255,255,0.6); min-width: 44px; text-align: right; }

.quiz-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 24px 20px;
  position: relative;
}
.quiz-emoji { font-size: 40px; }
.quiz-question { font-size: 20px; font-weight: 700; margin: 10px 0 6px; line-height: 1.5; }

.help-btn {
  position: absolute; top: 20px; right: 20px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: rgba(255,255,255,0.6);
  font-size: 14px; cursor: pointer; font-family: inherit;
}
.help-text {
  font-size: 13px; color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border-radius: 10px; padding: 8px 12px; margin: 8px 0 14px;
}

.option-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.option-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 14px;
  color: #f5f5fa;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.option-btn:active { background: rgba(255,255,255,0.14); }
.option-btn.picked {
  border-color: #ff9a6c;
  background: rgba(255,154,108,0.14);
}
.option-mark {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #ffd98a;
}
.option-btn.picked .option-mark { border-color: #ff9a6c; }
.option-text { flex: 1; line-height: 1.5; }

/* 答题导航：固定在屏幕底部，不受题目长短影响 */
.quiz-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(20,20,58,0) 0%, rgba(20,20,58,0.92) 35%);
  z-index: 20;
}
/* 答题模式下给页面底部留出导航的高度，避免最后内容被遮住 */
#app.quiz-mode { padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 答题卡按钮 ---------- */
.map-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
}
.map-btn:active { background: rgba(255,255,255,0.16); }

/* ---------- 答题卡弹层 ---------- */
.quiz-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.quiz-map-panel {
  width: 100%;
  max-width: 640px;
  max-height: 75dvh;
  overflow-y: auto;
  background: #23234d;
  border-radius: 20px 20px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  animation: slide-up .22s ease;
}
@keyframes slide-up {
  from { transform: translateY(30px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.quiz-map-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.quiz-map-count { color: #ffd98a; flex: 1; font-size: 14px; }
.quiz-map-close {
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.quiz-map-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.quiz-map-cell {
  aspect-ratio: 1;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .1s ease;
}
.quiz-map-cell:active { transform: scale(0.92); }
.quiz-map-cell.done { background: rgba(255,154,108,0.78); color: #fff; font-weight: 600; }
.quiz-map-cell.current { outline: 2px solid #ffd98a; outline-offset: 1px; }
.quiz-map-tip { text-align: center; font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 14px; }

/* ---------- 结果页 ---------- */
.result-top { margin-bottom: 12px; }
.result-wrap { display: flex; flex-direction: column; gap: 16px; }

.report-cover {
  text-align: center;
  background: linear-gradient(150deg, rgba(255,154,108,0.20), rgba(255,107,157,0.16));
  border: 1px solid rgba(255,154,108,0.35);
  border-radius: 22px;
  padding: 30px 20px 26px;
}
.report-emoji { font-size: 52px; }
.report-name { font-size: 40px; font-weight: 800; margin: 10px 0 4px; background: linear-gradient(135deg, #ffd98a, #ff9a6c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.report-tag {
  display: inline-block; font-size: 14px; color: #ffd98a;
  background: rgba(255,217,138,0.14);
  border-radius: 999px; padding: 4px 16px; margin-bottom: 14px;
}
.report-cover-text { font-size: 15px; color: rgba(255,255,255,0.85); }

/* ---------- 八维盘图 ---------- */
.radar-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.radar-title {
  font-size: 20px; font-weight: 800;
  color: #ffd98a;
  margin-bottom: 2px;
  letter-spacing: 1px;
}
.radar-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.radar-canvas { width: 100%; max-width: 340px; height: auto; }

.report-section {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 18px;
}
.report-section h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 10px;
  color: #ffd98a;
}
.report-section p { font-size: 14.5px; color: rgba(255,255,255,0.88); margin-bottom: 10px; }
.report-section p:last-child { margin-bottom: 0; }

.dim-block { margin-bottom: 14px; }
.dim-block:last-child { margin-bottom: 0; }
.dim-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dim-code {
  font-size: 18px; font-weight: 800;
  letter-spacing: 1px;
  margin-right: 4px;
}
.dim-name { font-size: 15px; font-weight: 600; flex: 1; text-align: left; }
.dim-value { font-size: 13px; color: #ffb46e; }
.dim-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.10); margin-bottom: 10px; overflow: hidden; }
.dim-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ff9a6c, #ff6b9d); }

.advice-block { margin-bottom: 12px; }
.advice-block h4 { font-size: 14px; color: #ffb46e; margin-bottom: 6px; }
.advice-block:last-child { margin-bottom: 0; }

.action-list { list-style: none; }
.action-list li {
  font-size: 14.5px; color: rgba(255,255,255,0.88);
  padding: 8px 0 8px 26px; position: relative;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.action-list li:last-child { border-bottom: none; }
.action-list li::before { content: '✓'; position: absolute; left: 2px; color: #7ce8a8; }

/* 解锁框 */
.unlock-box {
  background: rgba(255,217,138,0.10);
  border: 1px dashed rgba(255,217,138,0.5);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}
.unlock-title { font-size: 16px; font-weight: 700; color: #ffd98a; margin-bottom: 6px; }
.unlock-box p { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.unlock-box input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(255,217,138,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 15px; text-align: center;
  margin-bottom: 12px; font-family: inherit; outline: none;
}
.unlock-box .btn { width: 100%; }

/* 分享卡 */
.share-section { text-align: center; margin-top: 22px; }
.share-section h3 { font-size: 17px; font-weight: 700; color: #ffd98a; margin-bottom: 14px; }
.share-canvas {
  width: 100%; max-width: 360px;
  border-radius: 20px;
  background: #1a1a3e;
  display: block; margin: 0 auto;
}
.share-tip { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* 结果页底部操作 */
.result-actions {
  display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}

/* ---------- 欢迎页 / 落地页 ---------- */
.welcome-wrap, .landing-wrap { text-align: center; padding: 12vh 0 0; }
.welcome-emoji { font-size: 64px; }
.landing-emoji { font-size: 72px; }
.landing-name {
  font-size: 40px; font-weight: 800; margin: 12px 0 8px;
  background: linear-gradient(135deg, #ffd98a, #ff9a6c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-tagline { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 18px; }
.landing-meta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px;
}
.landing-dims {
  font-size: 13px; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border-radius: 999px; padding: 6px 16px;
  display: inline-block; margin-bottom: 24px;
}
.btn-block { display: block; width: 100%; text-align: center; padding: 16px 0; font-size: 17px; }
.landing-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 14px; }

/* ---------- 答题板块标题 ---------- */
.quiz-section {
  font-size: 13px; color: #ffd98a;
  letter-spacing: 2px;
  margin: 6px 0 10px;
  text-align: center;
}

/* ---------- 小屏适配（窄手机） ---------- */
@media (max-width: 360px) {
  #app { padding-left: 12px; padding-right: 12px; }
  .home-title { font-size: 28px; }
  .quiz-question { font-size: 17px; }
  .option-btn { padding: 12px 12px; font-size: 14px; }
  .report-name { font-size: 32px; }
  .btn { padding: 12px 20px; font-size: 15px; }
}

/* ---------- 大屏（平板/桌面）居中卡片化 ---------- */
@media (min-width: 641px) {
  #app { padding-top: 40px; }
  .quiz-card, .report-section, .test-card { background: rgba(255,255,255,0.07); }
}

/* ============================================================
 * 恋爱动物档案主题
 * 只由 body.theme-love-animal 启用，避免影响后续其他测试主题
 * ============================================================ */
body.theme-love-animal {
  --love-bg: #fff8f3;
  --love-paper: #ffffff;
  --love-ink: #29252a;
  --love-muted: #756b68;
  --love-coral: #f26d6d;
  --love-coral-soft: #fff0ec;
  --love-lilac: #8d7cf6;
  --love-mint: #9dd8c4;
  --love-line: #f0e5de;
  background:
    radial-gradient(circle at 10% 0%, rgba(242,109,109,.10), transparent 30%),
    radial-gradient(circle at 100% 30%, rgba(157,216,196,.15), transparent 28%),
    var(--love-bg);
  color: var(--love-ink);
}

body.theme-love-animal #app {
  max-width: 680px;
  padding-top: 18px;
  padding-bottom: 56px;
}

body.theme-love-animal .loading,
body.theme-love-animal .foot-note { color: var(--love-muted); }

body.theme-love-animal .btn {
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(242,109,109,.16);
  font-weight: 700;
}

body.theme-love-animal .btn-primary {
  background: var(--love-coral);
  color: #fff;
}

body.theme-love-animal .btn-ghost {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  color: var(--love-ink);
  box-shadow: none;
}

body.theme-love-animal .back-link {
  color: var(--love-muted);
  font-weight: 600;
}

body.theme-love-animal .welcome-wrap,
body.theme-love-animal .landing-wrap {
  padding-top: 4vh;
}

body.theme-love-animal .landing-wrap {
  text-align: left;
  animation: love-enter .45s ease both;
}

@keyframes love-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body.theme-love-animal .landing-topline,
body.theme-love-animal .report-cover-top,
body.theme-love-animal .quiz-progress-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--love-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

body.theme-love-animal .landing-animal-stack {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  height: 192px;
  margin: 22px 0 20px;
}

body.theme-love-animal .landing-animal-stack img {
  width: 31%;
  max-width: 154px;
  filter: drop-shadow(0 12px 12px rgba(41,37,42,.10));
}

body.theme-love-animal .landing-animal-stack img:nth-child(2) {
  width: 37%;
  margin-bottom: 12px;
}

body.theme-love-animal .landing-kicker {
  display: inline-block;
  color: var(--love-coral);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

body.theme-love-animal .landing-name {
  color: var(--love-ink);
  font-size: clamp(34px, 10vw, 52px);
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 0 0 16px;
  background: none;
  -webkit-text-fill-color: initial;
}

body.theme-love-animal .landing-name em {
  color: var(--love-coral);
  font-style: normal;
}

body.theme-love-animal .landing-tagline {
  max-width: 34em;
  color: var(--love-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
}

body.theme-love-animal .landing-meta {
  justify-content: stretch;
  gap: 8px;
  margin-bottom: 26px;
}

body.theme-love-animal .landing-meta span {
  flex: 1;
  padding: 12px 8px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 14px;
  color: var(--love-muted);
  text-align: center;
  font-size: 12px;
}

body.theme-love-animal .landing-meta b {
  display: block;
  color: var(--love-ink);
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 4px;
}

body.theme-love-animal .landing-explore {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(72,50,42,.06);
}

body.theme-love-animal .section-eyebrow {
  color: var(--love-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 13px;
}

body.theme-love-animal .explore-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
}

body.theme-love-animal .explore-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--love-ink);
  font-size: 14px;
  font-weight: 700;
}

body.theme-love-animal .explore-list b {
  color: var(--love-coral);
  font-size: 11px;
}

body.theme-love-animal .landing-note {
  color: var(--love-muted);
  text-align: center;
  margin-top: 13px;
}

body.theme-love-animal .quiz-top {
  gap: 10px;
  margin-bottom: 8px;
}

body.theme-love-animal .quiz-progress-copy {
  flex: 1;
  display: flex;
  gap: 7px;
  align-items: baseline;
  justify-content: flex-start;
}

body.theme-love-animal .quiz-progress-copy b {
  color: var(--love-ink);
  font-size: 13px;
  letter-spacing: .3px;
}

body.theme-love-animal .progress-bar {
  height: 5px;
  background: #f2e5de;
  margin: 0 0 22px;
}

body.theme-love-animal .progress-fill {
  background: var(--love-coral);
}

body.theme-love-animal .map-btn {
  border: 1px solid var(--love-line);
  background: var(--love-paper);
  color: var(--love-muted);
  border-radius: 10px;
  padding: 7px 10px;
}

body.theme-love-animal .quiz-section {
  display: inline-block;
  color: var(--love-coral);
  background: var(--love-coral-soft);
  border-radius: 999px;
  letter-spacing: .5px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  margin: 0 0 10px;
  text-align: left;
}

body.theme-love-animal .quiz-card {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 18px;
  padding: 22px 18px 20px;
  box-shadow: 0 12px 30px rgba(72,50,42,.06);
}

body.theme-love-animal .quiz-card-head {
  display: flex;
  justify-content: space-between;
  color: var(--love-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
}

body.theme-love-animal .quiz-helper {
  letter-spacing: 0;
  font-weight: 500;
}

body.theme-love-animal .quiz-question {
  color: var(--love-ink);
  font-size: clamp(20px, 5.6vw, 25px);
  line-height: 1.5;
  margin: 20px 0 16px;
}

body.theme-love-animal .option-list {
  gap: 9px;
  margin-top: 0;
}

body.theme-love-animal .option-btn {
  min-height: 58px;
  background: #fffdfc;
  border: 1.5px solid var(--love-line);
  border-radius: 14px;
  color: var(--love-ink);
  padding: 13px 12px;
}

body.theme-love-animal .option-btn:active,
body.theme-love-animal .option-btn.picked {
  background: var(--love-coral-soft);
  border-color: var(--love-coral);
}

body.theme-love-animal .option-mark {
  width: 28px;
  height: 28px;
  border: 1px solid #e8d8d0;
  border-radius: 9px;
  color: var(--love-coral);
  font-size: 12px;
  font-weight: 800;
}

body.theme-love-animal .option-btn.picked .option-mark {
  background: var(--love-coral);
  border-color: var(--love-coral);
  color: #fff;
}

body.theme-love-animal .option-text {
  font-size: 15px;
}

body.theme-love-animal .option-check {
  color: #d6c8c1;
  font-size: 14px;
}

body.theme-love-animal .option-btn.picked .option-check {
  color: var(--love-coral);
}

body.theme-love-animal .help-btn {
  border-color: var(--love-line);
  color: var(--love-muted);
}

body.theme-love-animal .help-text {
  color: var(--love-muted);
  background: #fff8f3;
}

body.theme-love-animal .quiz-nav {
  background: rgba(255,248,243,.94);
  border-top: 1px solid rgba(240,229,222,.85);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(12px);
}

body.theme-love-animal #app.quiz-mode {
  padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

body.theme-love-animal .quiz-nav .btn {
  min-width: 112px;
}

body.theme-love-animal .quiz-map-overlay {
  background: rgba(41,37,42,.28);
}

body.theme-love-animal .quiz-map-panel {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
}

body.theme-love-animal .quiz-map-head,
body.theme-love-animal .quiz-map-count {
  color: var(--love-ink);
}

body.theme-love-animal .quiz-map-cell {
  background: #fff8f3;
  border: 1px solid var(--love-line);
  color: var(--love-muted);
}

body.theme-love-animal .quiz-map-cell.done {
  background: var(--love-coral);
  color: #fff;
}

body.theme-love-animal .quiz-map-cell.current {
  outline-color: var(--love-coral);
}

body.theme-love-animal .quiz-map-tip { color: var(--love-muted); }

body.theme-love-animal .result-top {
  margin-bottom: 14px;
}

body.theme-love-animal .result-wrap {
  gap: 14px;
}

body.theme-love-animal .report-cover {
  position: relative;
  overflow: hidden;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 24px;
  padding: 18px 18px 24px;
  box-shadow: 0 14px 36px rgba(72,50,42,.08);
}

body.theme-love-animal .report-cover::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--love-coral-soft);
}

body.theme-love-animal .report-cover-top {
  position: relative;
  z-index: 1;
}

body.theme-love-animal .report-eyebrow {
  position: relative;
  z-index: 1;
  color: var(--love-muted);
  font-size: 13px;
  margin: 28px 0 6px;
}

body.theme-love-animal .report-art {
  position: relative;
  z-index: 1;
  width: 158px;
  height: 158px;
  margin: 0 auto 7px;
}

body.theme-love-animal .report-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(41,37,42,.12));
}

body.theme-love-animal .report-name {
  position: relative;
  z-index: 1;
  color: var(--love-ink);
  font-size: 46px;
  line-height: 1.1;
  margin: 2px 0 8px;
  background: none;
  -webkit-text-fill-color: initial;
}

body.theme-love-animal .report-tag {
  position: relative;
  z-index: 1;
  color: var(--love-coral);
  background: var(--love-coral-soft);
  padding: 6px 12px;
}

body.theme-love-animal .report-keywords {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

body.theme-love-animal .report-keywords span {
  color: var(--love-ink);
  background: #f7eee9;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

body.theme-love-animal .report-cover-text {
  position: relative;
  z-index: 1;
  color: var(--love-muted);
  font-size: 14px;
  line-height: 1.75;
}

body.theme-love-animal .radar-wrap,
body.theme-love-animal .report-section,
body.theme-love-animal .share-section {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(72,50,42,.05);
}

body.theme-love-animal .radar-wrap {
  padding: 18px 12px 14px;
}

body.theme-love-animal .section-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0 6px;
}

body.theme-love-animal .section-number {
  color: var(--love-coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  padding-top: 4px;
}

body.theme-love-animal .radar-title {
  color: var(--love-ink);
  font-size: 18px;
  letter-spacing: 0;
  text-align: left;
}

body.theme-love-animal .radar-sub {
  color: var(--love-muted);
  margin-bottom: 6px;
}

body.theme-love-animal .report-section {
  padding: 20px 18px;
}

body.theme-love-animal .report-section h3 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--love-ink);
  font-size: 18px;
  margin-bottom: 14px;
}

body.theme-love-animal .report-section h3 span {
  color: var(--love-coral);
  font-size: 11px;
  letter-spacing: 1px;
}

body.theme-love-animal .report-section p,
body.theme-love-animal .dim-desc,
body.theme-love-animal .action-list li {
  color: var(--love-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

body.theme-love-animal .dim-block {
  padding: 14px 0;
  border-top: 1px solid #f4ebe6;
}

body.theme-love-animal .dim-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

body.theme-love-animal .dim-name {
  color: var(--love-ink);
}

body.theme-love-animal .dim-value {
  color: var(--love-coral);
}

body.theme-love-animal .dim-bar {
  background: #f5ebe6;
}

body.theme-love-animal .advice-block h4 {
  color: var(--love-coral);
}

body.theme-love-animal .action-list li {
  border-bottom-color: #f4ebe6;
}

body.theme-love-animal .action-list li::before {
  color: var(--love-coral);
}

body.theme-love-animal .unlock-box {
  background: #fff8e8;
  border-color: #eacb8a;
}

body.theme-love-animal .unlock-title {
  color: #9b6e23;
}

body.theme-love-animal .unlock-box p {
  color: var(--love-muted);
}

body.theme-love-animal .unlock-box input {
  background: var(--love-paper);
  border-color: #eacb8a;
  color: var(--love-ink);
}

body.theme-love-animal .share-section {
  padding: 18px 14px 14px;
}

body.theme-love-animal .share-section h3 {
  color: var(--love-ink);
  font-size: 17px;
}

body.theme-love-animal .share-canvas {
  background: var(--love-bg);
  border: 1px solid var(--love-line);
  border-radius: 16px;
}

body.theme-love-animal .share-tip {
  color: var(--love-muted);
}

body.theme-love-animal .result-actions {
  margin-top: 10px;
}

@media (max-width: 360px) {
  body.theme-love-animal .landing-animal-stack { height: 156px; }
  body.theme-love-animal .landing-meta span { font-size: 11px; }
  body.theme-love-animal .quiz-nav .btn { min-width: 98px; }
}

/* ============================================================
 * 恋爱动物档案 v2 —— 编辑部档案视觉
 * 以下规则覆盖旧主题，旧主题仍为其它测试保留。
 * ============================================================ */
body.theme-love-animal {
  --love-bg: #fbf6f1;
  --love-paper: #fffdfb;
  --love-ink: #252124;
  --love-muted: #766d6a;
  --love-coral: #ee6d70;
  --love-coral-dark: #d95359;
  --love-coral-soft: #fff0ed;
  --love-mint: #a8d8c8;
  --love-line: #eadfd8;
  background:
    radial-gradient(circle at 0 0, rgba(238,109,112,.12), transparent 26rem),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(37,33,36,.025) calc(100% - 1px)),
    var(--love-bg);
  background-size: auto, 24px 24px, auto;
  color: var(--love-ink);
  line-height: 1.65;
}

body.theme-love-animal #app {
  width: 100%;
  max-width: 520px;
  padding: 14px 14px 58px;
}

body.theme-love-animal .btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 13px 20px;
  box-shadow: none;
  letter-spacing: .1px;
}
body.theme-love-animal .btn-primary {
  background: var(--love-coral);
  box-shadow: 0 10px 22px rgba(238,109,112,.2);
}
body.theme-love-animal .btn-primary:active { background: var(--love-coral-dark); }
body.theme-love-animal .btn-block { display: flex; align-items: center; justify-content: space-between; width: 100%; }
body.theme-love-animal .section-eyebrow {
  display: block; color: var(--love-coral); font-size: 10px; font-weight: 900;
  letter-spacing: 1.6px; margin-bottom: 8px;
}

/* 落地页 */
body.theme-love-animal .landing-wrap { padding-top: 0; text-align: left; }
body.theme-love-animal .landing-topline {
  min-height: 28px; padding-bottom: 9px; border-bottom: 1px solid var(--love-line);
  color: var(--love-ink); font-size: 9px;
}
body.theme-love-animal .landing-hero { position: relative; padding: 20px 0 10px; }
body.theme-love-animal .landing-kicker {
  margin-bottom: 5px; padding: 3px 8px; border: 1px solid rgba(238,109,112,.35);
  border-radius: 999px; background: rgba(255,255,255,.45); font-size: 11px;
}
body.theme-love-animal .landing-name {
  max-width: 330px; margin: 0; font-size: clamp(34px, 9.8vw, 48px); line-height: 1.05;
  letter-spacing: -1.5px;
}
body.theme-love-animal .landing-tagline {
  max-width: 300px; margin: 13px 0 0; font-size: 13px; line-height: 1.65;
}
body.theme-love-animal .landing-animal-preview {
  position: absolute; right: -8px; bottom: 0; display: grid; grid-template-columns: repeat(3, 48px);
  width: 150px; align-items: end; justify-content: end;
}
body.theme-love-animal .landing-animal-preview img {
  width: 66px; height: 66px; margin-left: -18px; object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(37,33,36,.10));
}
body.theme-love-animal .landing-animal-preview img:nth-child(4),
body.theme-love-animal .landing-animal-preview img:nth-child(5) { margin-top: -22px; }
body.theme-love-animal .landing-meta { margin: 12px 0 10px; gap: 6px; }
body.theme-love-animal .landing-meta span {
  min-height: 55px; padding: 8px 6px; border-radius: 10px; background: rgba(255,253,251,.82);
  box-shadow: 0 6px 16px rgba(78,56,48,.035);
}
body.theme-love-animal .landing-meta b { font-size: 17px; margin-bottom: 2px; }
body.theme-love-animal .landing-main-cta { font-size: 16px; }
body.theme-love-animal .landing-note { font-size: 10px; margin: 8px 0 16px; }
body.theme-love-animal .landing-explore,
body.theme-love-animal .chapter-preview {
  border: 1px solid var(--love-line); border-radius: 14px; padding: 16px;
  background: rgba(255,253,251,.82); box-shadow: 0 8px 22px rgba(78,56,48,.04); margin: 0 0 12px;
}
body.theme-love-animal .explore-list { gap: 9px 6px; }
body.theme-love-animal .explore-list div { font-size: 12px; }
body.theme-love-animal .chapter-preview > div:not(.section-eyebrow) {
  display: grid; grid-template-columns: 28px 78px 1fr; align-items: center; gap: 8px;
  min-height: 40px; border-top: 1px solid #f1e8e3;
}
body.theme-love-animal .chapter-preview b { color: var(--love-coral); font-size: 10px; }
body.theme-love-animal .chapter-preview span { font-size: 13px; font-weight: 800; }
body.theme-love-animal .chapter-preview small { color: var(--love-muted); font-size: 11px; }

/* 答题 */
body.theme-love-animal #app.quiz-mode { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body.theme-love-animal .quiz-shell { min-height: calc(100dvh - 120px); }
body.theme-love-animal .quiz-top { min-height: 38px; margin: 0; }
body.theme-love-animal .back-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
body.theme-love-animal .quiz-progress-copy { flex-direction: column; gap: 0; line-height: 1.2; }
body.theme-love-animal .quiz-progress-copy span { color: var(--love-coral); font-size: 8px; }
body.theme-love-animal .quiz-progress-copy b { font-size: 12px; }
body.theme-love-animal .map-btn { min-height: 44px; font-size: 12px; }
body.theme-love-animal .progress-bar { height: 4px; margin: 3px 0 18px; }
body.theme-love-animal .quiz-section {
  display: grid; grid-template-columns: 30px auto 1fr; align-items: baseline; gap: 6px;
  width: 100%; margin: 0 0 10px; padding: 0; border-radius: 0; background: none;
}
body.theme-love-animal .quiz-section span { color: var(--love-coral); font-size: 10px; font-weight: 900; }
body.theme-love-animal .quiz-section b { color: var(--love-ink); font-size: 13px; }
body.theme-love-animal .quiz-section small { color: var(--love-muted); font-size: 10px; text-align: right; }
body.theme-love-animal .quiz-card {
  padding: 18px 14px 14px; border-radius: 16px; background: var(--love-paper);
  box-shadow: 0 12px 30px rgba(74,50,43,.06);
}
body.theme-love-animal .quiz-card-head { font-size: 9px; }
body.theme-love-animal .quiz-question {
  min-height: 72px; margin: 17px 0 14px; font-size: clamp(19px,5.4vw,24px); line-height: 1.45;
}
body.theme-love-animal .option-list { gap: 8px; }
body.theme-love-animal .option-btn {
  min-height: 54px; padding: 10px; border-radius: 11px; background: #fff;
  transition: border-color .15s, background .15s, transform .15s;
}
body.theme-love-animal .option-btn:active { transform: scale(.985); }
body.theme-love-animal .option-mark { width: 30px; height: 30px; border-radius: 8px; }
body.theme-love-animal .option-text { font-size: 14px; line-height: 1.45; }
body.theme-love-animal .quiz-save-note { text-align: center; color: var(--love-muted); font-size: 10px; margin: 10px 0 0; }
body.theme-love-animal .quiz-nav {
  max-width: 520px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251,246,241,.92);
}
body.theme-love-animal .quiz-nav .btn { min-width: 106px; min-height: 46px; }
body.theme-love-animal .quiz-map-panel { max-width: 520px; border-radius: 18px 18px 0 0; }
body.theme-love-animal .quiz-map-cell { min-height: 44px; aspect-ratio: auto; }
body.theme-love-animal .quiz-map-close { width: 44px; height: 44px; }
body.theme-love-animal .help-btn { width: 44px; height: 44px; top: 10px; right: 10px; }

/* 章节过渡与生成 */
body.theme-love-animal .chapter-break,
body.theme-love-animal .pair-error {
  min-height: calc(100dvh - 80px); display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: 22px 8px;
}
body.theme-love-animal .chapter-stamp { color: var(--love-coral); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
body.theme-love-animal .chapter-check,
body.theme-love-animal .error-mark {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 22px auto;
  border: 2px solid var(--love-coral); border-radius: 50%; color: var(--love-coral); font-size: 32px; font-weight: 900;
}
body.theme-love-animal .chapter-break p { color: var(--love-muted); margin: 0; }
body.theme-love-animal .chapter-break h1 { font-size: 36px; margin-bottom: 24px; }
body.theme-love-animal .chapter-next {
  display: flex; flex-direction: column; padding: 16px; margin-bottom: 16px;
  border: 1px solid var(--love-line); border-radius: 14px; background: var(--love-paper);
}
body.theme-love-animal .chapter-next small { color: var(--love-coral); font-size: 9px; letter-spacing: 1px; }
body.theme-love-animal .chapter-next b { margin: 5px 0; }
body.theme-love-animal .chapter-next span { color: var(--love-muted); font-size: 12px; }
body.theme-love-animal .analyzing-wrap { padding-top: 27vh; }
body.theme-love-animal .analyzing-file { color: var(--love-coral); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; margin-bottom: 18px; }
body.theme-love-animal .analyzing-spinner { border-color: #eadfd8; border-top-color: var(--love-coral); }
body.theme-love-animal .analyzing-text { color: var(--love-ink); }
body.theme-love-animal .analyzing-bar { background: #eadfd8; }

/* 单人结果摘要 */
body.theme-love-animal .result-top { min-height: 44px; margin: 0 0 4px; }
body.theme-love-animal .result-wrap { gap: 12px; }
body.theme-love-animal .report-cover {
  padding: 15px 14px 18px; border-radius: 18px; text-align: center;
  background: var(--love-paper); box-shadow: 0 12px 30px rgba(74,50,43,.06);
}
body.theme-love-animal .report-cover::after { background: color-mix(in srgb, var(--result-color, var(--love-coral)) 10%, white); }
body.theme-love-animal .report-eyebrow { margin: 14px 0 0; font-size: 11px; }
body.theme-love-animal .report-art { width: 128px; height: 128px; margin: 0 auto 2px; }
body.theme-love-animal .report-name { font-size: 38px; margin: 0 0 6px; }
body.theme-love-animal .report-tag { max-width: 100%; margin-bottom: 10px; font-size: 12px; }
body.theme-love-animal .report-keywords { margin-bottom: 9px; }
body.theme-love-animal .report-keywords span { padding: 4px 9px; font-size: 11px; }
body.theme-love-animal .report-cover-text { max-width: 360px; margin: 0 auto; font-size: 12px; line-height: 1.65; }
body.theme-love-animal .result-snapshot {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px;
}
body.theme-love-animal .result-snapshot > div {
  display: flex; flex-direction: column; align-items: flex-start; min-height: 54px; padding: 9px;
  border: 1px solid var(--love-line); border-radius: 10px; background: #fffafa; text-align: left;
}
body.theme-love-animal .result-snapshot b { font-size: 12px; }
body.theme-love-animal .result-snapshot span { color: var(--love-muted); font-size: 10px; }
body.theme-love-animal .result-snapshot .result-reminder { grid-column: 1 / -1; min-height: 46px; }
body.theme-love-animal .invite-card,
body.theme-love-animal .pair-return-card {
  padding: 16px; border: 1px solid rgba(238,109,112,.35); border-radius: 16px;
  background: linear-gradient(145deg,#fff7f3,#fffdfb); box-shadow: 0 10px 26px rgba(238,109,112,.08);
}
body.theme-love-animal .invite-card h2,
body.theme-love-animal .pair-return-card h2 { font-size: 19px; line-height: 1.4; margin-bottom: 5px; }
body.theme-love-animal .invite-card p,
body.theme-love-animal .pair-return-card p { color: var(--love-muted); font-size: 11px; margin-bottom: 11px; }
body.theme-love-animal .invite-form { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
body.theme-love-animal .invite-form input,
body.theme-love-animal .generated-link input,
body.theme-love-animal .nickname-label input {
  min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--love-line);
  border-radius: 10px; background: #fff; color: var(--love-ink); font: inherit; outline: none;
}
body.theme-love-animal .invite-form .btn { min-height: 46px; padding: 10px 13px; font-size: 13px; }
body.theme-love-animal .generated-link { display: grid; grid-template-columns: 1fr 52px; gap: 6px; margin-top: 7px; }
body.theme-love-animal .generated-link button { border: 0; border-radius: 10px; background: var(--love-ink); color: #fff; }

body.theme-love-animal .radar-wrap { padding: 15px 8px 8px; border-radius: 16px; }
body.theme-love-animal .radar-canvas { max-width: 390px; margin-top: -6px; }
body.theme-love-animal .section-heading { padding: 0 7px; }
body.theme-love-animal .section-heading h2 { font-size: 17px; margin: 0; }
body.theme-love-animal .report-details { display: flex; flex-direction: column; gap: 7px; }
body.theme-love-animal .report-accordion {
  overflow: hidden; border: 1px solid var(--love-line); border-radius: 13px; background: var(--love-paper);
  box-shadow: 0 6px 16px rgba(74,50,43,.035);
}
body.theme-love-animal .report-accordion summary {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; min-height: 58px;
  padding: 0 14px; cursor: pointer; list-style: none;
}
body.theme-love-animal .report-accordion summary::-webkit-details-marker { display: none; }
body.theme-love-animal .report-accordion summary span { color: var(--love-coral); font-size: 10px; font-weight: 900; }
body.theme-love-animal .report-accordion summary b { font-size: 15px; }
body.theme-love-animal .report-accordion summary i { color: var(--love-muted); font-size: 10px; font-style: normal; }
body.theme-love-animal .report-accordion[open] summary i { font-size: 0; }
body.theme-love-animal .report-accordion[open] summary i::after { content: '收起'; font-size: 10px; }
body.theme-love-animal .accordion-body { padding: 0 14px 16px; border-top: 1px solid #f3ebe6; }
body.theme-love-animal .accordion-body > p:first-child { margin-top: 13px; }
body.theme-love-animal .accordion-body p { color: var(--love-muted); font-size: 13px; line-height: 1.8; }
body.theme-love-animal .dim-block { padding: 14px 0; }
body.theme-love-animal .dim-desc { margin: 7px 0 3px; font-size: 11px; }

/* 分享区 */
body.theme-love-animal .share-section { margin-top: 12px; padding: 16px 12px; border-radius: 16px; }
body.theme-love-animal .share-section h2 { margin-bottom: 10px; font-size: 18px; }
body.theme-love-animal .hidden-canvas { display: none; }
.hidden-canvas { display:none !important; }
body.theme-love-animal .share-image { display: block; width: 100%; height: auto; border: 1px solid var(--love-line); border-radius: 13px; background: var(--love-bg); }
body.theme-love-animal .share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
body.theme-love-animal .share-buttons .btn { min-width: 0; padding: 10px; font-size: 12px; }
body.theme-love-animal .share-buttons .btn:last-child:nth-child(3) { grid-column: 1 / -1; }
body.theme-love-animal .result-actions { margin: 12px 0; }

/* 双人加入与报告 */
body.theme-love-animal .pair-join { padding-top: 0; text-align: center; }
body.theme-love-animal .pair-invite-art { display: flex; align-items: center; justify-content: center; margin: 30px 0 18px; }
body.theme-love-animal .pair-invite-art img,
body.theme-love-animal .mystery-animal { width: 125px; height: 125px; }
body.theme-love-animal .mystery-animal { display: grid; place-items: center; border-radius: 50%; background: #eee4df; color: var(--love-coral); font-size: 48px; font-weight: 900; }
body.theme-love-animal .pair-invite-art > span { margin: 0 -6px; color: var(--love-coral); font-size: 28px; font-weight: 900; z-index: 2; }
body.theme-love-animal .pair-join h1 { font-size: 32px; line-height: 1.2; margin: 5px 0 12px; }
body.theme-love-animal .pair-join h1 em { color: var(--love-coral); font-style: normal; }
body.theme-love-animal .pair-join > p { color: var(--love-muted); font-size: 13px; }
body.theme-love-animal .nickname-label { display: flex; flex-direction: column; gap: 6px; margin: 20px 0 10px; color: var(--love-muted); font-size: 11px; text-align: left; }
body.theme-love-animal .privacy-note { margin-top: 10px; font-size: 10px !important; }
body.theme-love-animal .pair-cover,
body.theme-love-animal .pair-summary-card {
  padding: 15px 14px 18px; border: 1px solid var(--love-line); border-radius: 18px;
  background: var(--love-paper); box-shadow: 0 12px 30px rgba(74,50,43,.06); text-align: center;
}
body.theme-love-animal .pair-animals { display: flex; align-items: center; justify-content: center; margin: 14px 0 2px; }
body.theme-love-animal .pair-person { display: flex; flex-direction: column; align-items: center; width: 42%; }
body.theme-love-animal .pair-animal-art { width: 118px; height: 118px; }
body.theme-love-animal .pair-animal-art img { width: 100%; height: 100%; object-fit: contain; }
body.theme-love-animal .pair-person b { font-size: 13px; }
body.theme-love-animal .pair-person span { color: var(--love-muted); font-size: 11px; }
body.theme-love-animal .pair-x { color: var(--love-coral); font-size: 26px; font-weight: 900; }
body.theme-love-animal .pair-type { display: inline-block; margin: 8px 0; padding: 4px 11px; border-radius: 999px; background: var(--love-coral-soft); color: var(--love-coral); font-size: 11px; font-weight: 800; }
body.theme-love-animal .pair-cover h1 { font-size: 27px; line-height: 1.3; margin: 0 0 7px; }
body.theme-love-animal .pair-cover > p { color: var(--love-muted); font-size: 12px; }
body.theme-love-animal .pair-cover .pair-signature-line { max-width: 360px; margin: 0 auto 9px; color: var(--love-ink); font-weight: 700; line-height: 1.65; }
body.theme-love-animal .pair-metaphor-note {
  display: inline-block; padding: 4px 9px; border-radius: 999px; background: #f7eee9;
  color: var(--love-muted); font-size: 9px; letter-spacing: .03em;
}
body.theme-love-animal .pair-summary-card { text-align: left; }
body.theme-love-animal .pair-dim-list { margin-top: 12px; }
body.theme-love-animal .pair-dim-row { display: grid; grid-template-columns: 66px 1fr 28px; align-items: center; gap: 6px; min-height: 48px; border-top: 1px solid #f2e9e4; }
body.theme-love-animal .pair-dim-row > div:first-child { display: flex; flex-direction: column; }
body.theme-love-animal .pair-dim-row b { font-size: 10px; color: var(--love-coral); }
body.theme-love-animal .pair-dim-row span { font-size: 11px; }
body.theme-love-animal .pair-bars { display: flex; flex-direction: column; gap: 4px; }
body.theme-love-animal .pair-bars i { display: block; height: 5px; border-radius: 5px; opacity: .8; }
body.theme-love-animal .pair-dim-row strong { color: var(--love-muted); font-size: 11px; text-align: right; }
body.theme-love-animal .pair-legend { display: flex; justify-content: flex-end; gap: 13px; color: var(--love-muted); font-size: 9px; margin-top: 7px; }
body.theme-love-animal .pair-summary-note { margin: 11px 0 0; padding-top: 10px; border-top: 1px dashed var(--love-line); color: var(--love-muted); font-size: 10px; line-height: 1.6; }
body.theme-love-animal .pair-return-card { margin-top: 0; }

body.theme-love-animal .ecology-details { counter-reset: ecology; }
body.theme-love-animal .ecology-section .accordion-body { display: flex; flex-direction: column; gap: 10px; padding-top: 13px; }
body.theme-love-animal .ecology-section .accordion-body p { margin: 4px 0 0; }
body.theme-love-animal .ecology-observation,
body.theme-love-animal .ecology-translation,
body.theme-love-animal .ecology-action,
body.theme-love-animal .ecology-people > div,
body.theme-love-animal .ecology-signature-grid > div {
  min-width: 0; padding: 11px 12px; border-radius: 11px; background: #fffafa; overflow-wrap: anywhere;
}
body.theme-love-animal .ecology-observation { border-left: 3px solid var(--love-coral); }
body.theme-love-animal .ecology-observation > span,
body.theme-love-animal .ecology-translation > span,
body.theme-love-animal .ecology-action > span,
body.theme-love-animal .ecology-signature-grid span {
  color: var(--love-coral); font-size: 9px; font-weight: 900; letter-spacing: .1em;
}
body.theme-love-animal .ecology-people { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
body.theme-love-animal .ecology-people > div { border: 1px solid #f2e8e3; }
body.theme-love-animal .ecology-people b { display: block; color: var(--love-ink); font-size: 11px; }
body.theme-love-animal .ecology-translation { background: #f3f8f5; }
body.theme-love-animal .ecology-action { background: var(--love-coral-soft); }
body.theme-love-animal .ecology-action p { color: var(--love-ink); font-weight: 650; }
body.theme-love-animal .ecology-signature-grid { display: grid; gap: 8px; }
body.theme-love-animal .ecology-signature-grid ul { margin: 6px 0 0; padding-left: 18px; color: var(--love-muted); font-size: 13px; line-height: 1.75; }

@media (max-width: 360px) {
  body.theme-love-animal #app { padding-left: 10px; padding-right: 10px; }
  body.theme-love-animal .landing-animal-preview { opacity: .82; transform: scale(.88); transform-origin: right bottom; }
  body.theme-love-animal .landing-tagline { max-width: 270px; font-size: 12px; }
  body.theme-love-animal .invite-form { grid-template-columns: 1fr; }
  body.theme-love-animal .chapter-preview > div:not(.section-eyebrow) { grid-template-columns: 24px 68px 1fr; }
  body.theme-love-animal .quiz-question { font-size: 19px; }
  body.theme-love-animal .pair-animal-art { width: 102px; height: 102px; }
  body.theme-love-animal .report-accordion summary { grid-template-columns: 28px minmax(0,1fr) 28px; padding: 0 10px; }
  body.theme-love-animal .report-accordion summary b { font-size: 14px; }
  body.theme-love-animal .ecology-section .accordion-body { padding-left: 10px; padding-right: 10px; }
  body.theme-love-animal .ecology-people { grid-template-columns: 1fr; }
}

/* ---------- 平台权益、记录与底部导航 ---------- */
.platform-page-head { max-width: 640px; margin: 0 auto 12px; }
body.theme-love-animal .platform-header { border-color: var(--love-line); }
body.theme-love-animal .platform-brand b { color: var(--love-ink); }
body.theme-love-animal .records-link { color: var(--love-muted); }
.platform-nav {
  position: fixed; z-index: 90; left: 50%; bottom: 0; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 760px); min-height: 66px;
  padding: 6px 22px calc(6px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #ded3cc;
  background: rgba(250,246,242,.94); backdrop-filter: blur(18px);
}
.platform-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #918580; font-size: 10px; }
.platform-nav a span { font-size: 19px; line-height: 1.1; }
.platform-nav a.active { color: #b75e5d; font-weight: 800; }
.entitlement-card { margin: 14px 0 0; padding: 15px; border: 1px solid rgba(238,109,112,.38); border-radius: 16px; background: rgba(255,253,251,.92); }
.zpay-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.zpay-actions .btn{min-height:48px;padding:10px}.zpay-actions .btn-ghost{background:#fff}
.zpay-status{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:rgba(219,162,37,.12);font-size:12px;line-height:1.6}
@media(max-width:359px){.zpay-actions{grid-template-columns:1fr}}
.finance-page{width:min(760px,calc(100% - 28px));margin:0 auto;padding:22px 0 70px}.finance-login,.finance-head{margin-top:36px}.finance-login>span,.finance-head>span{font-size:10px;font-weight:900;letter-spacing:1.8px;color:#ad5756}.finance-login h1,.finance-head h1{margin:8px 0;font:700 clamp(34px,8vw,54px)/1.1 Georgia,"Noto Serif SC",serif}.finance-login p,.finance-head p{color:#766e69}.finance-login form{display:grid;gap:10px;margin-top:26px;padding:20px;border:1px solid #d9c8c0;border-radius:18px;background:#fffaf7}.finance-login label{font-weight:800}.finance-login input{min-height:48px;padding:0 13px;border:1px solid #b9afa9;border-radius:10px;font:inherit;background:#fff}.finance-login small{color:#827974}.finance-total{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.finance-total>div{padding:18px;border-radius:16px;background:#24251f;color:#f7f0e5}.finance-total span{display:block;font-size:11px;opacity:.7}.finance-total b{display:block;margin-top:7px;font:700 30px/1 Georgia,serif}.finance-section{margin-top:28px}.finance-section h2{font-size:18px}.finance-list{display:grid;gap:8px}.finance-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:13px 15px;border:1px solid #e0d5cd;border-radius:12px;background:#fff}.finance-list span{font-weight:700}.finance-list b{font-family:Georgia,serif}.finance-list small{grid-column:1/-1;color:#827974}.finance-empty,.finance-caveat,.finance-limit{color:#827974;font-size:12px;line-height:1.7}.finance-caveat,.finance-limit{margin-top:18px;padding:14px;border-left:3px solid #ad5756;background:#fff7f2}.finance-limit{color:#8c3f35;font-weight:700}@media(max-width:359px){.finance-total{grid-template-columns:1fr}}
.finance-unavailable{min-height:70vh;display:grid;place-content:center;justify-items:start}.finance-unavailable>span{font:700 64px/1 Georgia,serif;color:#d8c9be}.finance-unavailable h1{margin:10px 0 4px;font-size:28px}.finance-unavailable p{color:#827974}
.entitlement-loading { min-height: 92px; display: grid; place-items: center; color: var(--love-muted); font-size: 12px; }
.entitlement-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.entitlement-top > div { display: flex; flex-direction: column; }
.entitlement-top span { color: var(--love-coral); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.entitlement-top b { color: var(--love-ink); font-family: Georgia, serif; font-size: 27px; line-height: 1.2; }
.entitlement-top strong { padding: 5px 9px; border-radius: 999px; background: var(--love-coral-soft); color: var(--love-coral); font-size: 11px; }
.mock-notice, .device-warning, .attempt-rule { color: var(--love-muted); font-size: 10px; line-height: 1.65; text-align: left; }
.attempt-rule { margin: 8px 2px 2px; }
.mock-notice { margin: 10px 0 3px; }
.mock-notice b { color: var(--love-coral); }
.redeem-form { margin-top: 11px; padding-top: 11px; border-top: 1px dashed rgba(38,35,32,.2); }
.redeem-form label { display: block; margin-bottom: 7px; color: var(--love-ink); font-size: 12px; font-weight: 800; }
.redeem-form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.redeem-form input { min-width: 0; min-height: 44px; padding: 0 11px; border: 1px solid rgba(38,35,32,.28); border-radius: 10px; background: #fff; color: var(--love-ink); font-size: 12px; text-transform: uppercase; }
.redeem-form .btn { min-height: 44px; padding: 0 13px; white-space: nowrap; }
.redeem-form p { margin: 7px 0 0; color: var(--love-muted); font-size: 10px; line-height: 1.55; }
.redeem-form p.error { color: #b43f3f; }
@media (max-width: 360px) { .redeem-form > div { grid-template-columns: 1fr; } .redeem-form .btn { width: 100%; } }
.service-error { padding: 8px; color: var(--love-ink); text-align: center; }
.service-error p { margin: 5px 0 12px; color: var(--love-muted); font-size: 11px; }
.service-error .btn { min-height: 44px; border: 1px solid var(--love-line); color: var(--love-ink); }
.access-loading { padding-top: 30vh; color: var(--love-muted); text-align: center; }
.access-loading .analyzing-spinner { width: 48px; height: 48px; border-color: #e8ddd6; border-top-color: #e36e6e; }
.records-page { min-height: 100dvh; }
.records-title { padding: 42px 0 24px; }
.records-title > span { color: #b35f5d; font-size: 9px; font-weight: 900; letter-spacing: 1.7px; }
.records-title h1 { margin: 7px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 34px; }
.records-title p { color: #817571; font-size: 12px; }
.remaining-strip { display: grid; border: 1px solid #ded1ca; border-radius: 12px; background: #fffaf7; font-size: 11px; overflow: hidden; }
.remaining-strip a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 14px; color: inherit; text-decoration: none; }
.remaining-strip a + a { border-top: 1px solid #eadfd9; }
.remaining-strip b { color: #b45e5d; }
.record-list { display: grid; gap: 10px; margin-top: 15px; }
.record-card { display: grid; grid-template-columns: 70px minmax(0,1fr) 30px; align-items: center; gap: 12px; min-height: 96px; padding: 12px; border: 1px solid #ded2cb; border-radius: 15px; background: rgba(255,253,250,.82); }
.record-art { width: 70px; height: 70px; }
.record-art img { width: 100%; height: 100%; object-fit: contain; }
.record-emoji { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 50%; background: #f7eee9; font-size: 32px; }
.record-card > div:nth-child(2) { min-width: 0; }
.record-card span { color: #a09590; font-size: 9px; }
.record-card h3 { margin: 2px 0; font-family: Georgia, "Songti SC", serif; font-size: 18px; }
.record-card p { color: #7d716d; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.record-card > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2c282a; color: #fff; }
.records-empty { margin-top: 16px; padding: 50px 20px; border: 1px dashed #d8c9c1; border-radius: 18px; text-align: center; }
.records-empty > span { color: #bf6b68; font-size: 35px; }
.records-empty h2 { margin: 8px 0 4px; font-family: Georgia, "Songti SC", serif; }
.records-empty p { margin-bottom: 18px; color: #817571; font-size: 11px; }
.records-empty .btn { background: #2c282a; }
body.theme-love-animal .pair-invite-art .mystery-owner { background: #f3ded8; font-size: 26px; letter-spacing: 1px; }

/* ============================================================
 * 反英雄能力档案 —— 机密档案 / 旧纸 / 警戒黄
 * ============================================================ */
.catalog-card.theme-card-antihero { background: #292a25; border-color: #292a25; color: #f0e6d0; }
.catalog-card.theme-card-antihero .catalog-card-tags span { background: #d59a22; color: #25261f; }
.catalog-card.theme-card-antihero p,
.catalog-card.theme-card-antihero .catalog-card-meta { color: #bdb39f; }
.catalog-card.theme-card-antihero .catalog-card-art img { width: 96px; height: 116px; border: 1px solid #756d5e; border-radius: 7px; object-fit: cover; filter: saturate(.86) contrast(1.04); }
.catalog-card.theme-card-antihero .catalog-card-art b { background: #d59a22; color: #25261f; }

@media (max-width: 360px) {
  .catalog-card.theme-card-antihero .catalog-card-art img { width: 82px; height: 102px; }
}

body.theme-antihero {
  --anti-paper: #e9dfc9;
  --anti-paper-light: #f2ead9;
  --anti-ink: #24251f;
  --anti-muted: #6e6656;
  --anti-yellow: #d59a22;
  --anti-rust: #9d4938;
  --anti-line: rgba(36,37,31,.24);
  --love-paper: var(--anti-paper-light);
  --love-ink: var(--anti-ink);
  --love-muted: var(--anti-muted);
  --love-coral: var(--anti-rust);
  --love-coral-soft: rgba(213,154,34,.16);
  --love-line: var(--anti-line);
  background: var(--anti-paper); color: var(--anti-ink);
}
body.theme-antihero::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .15;
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(40,39,31,.08) 6px), radial-gradient(circle at 17% 22%, rgba(157,73,56,.25), transparent 22%);
}
body.theme-antihero #app { max-width: 640px; padding: 0 14px 76px; }
body.theme-antihero .platform-header { border-color: var(--anti-line); }
body.theme-antihero .platform-brand span,
body.theme-antihero .records-link span { color: var(--anti-rust); }
body.theme-antihero .platform-brand b,
body.theme-antihero .records-link { color: var(--anti-ink); }
.antihero-landing { padding-bottom: 18px; }
.antihero-landing-line,
.antihero-fileline { display: flex; justify-content: space-between; padding: 9px 0; border-top: 2px solid var(--anti-ink); border-bottom: 1px solid var(--anti-line); color: var(--anti-muted); font: 800 9px/1.2 monospace; letter-spacing: 1px; }
.antihero-hero { position: relative; min-height: 470px; margin-top: 12px; overflow: hidden; border: 1px solid var(--anti-line); background: var(--anti-paper-light); }
.antihero-hero-copy { position: relative; z-index: 2; width: 64%; padding: 28px 0 24px 24px; }
.antihero-stamp { display: inline-block; padding: 4px 8px; border: 1px solid var(--anti-rust); color: var(--anti-rust); font-size: 10px; font-weight: 900; letter-spacing: 1px; transform: rotate(-2deg); }
.antihero-hero h1 { margin: 22px 0 14px; font-family: Georgia,"Songti SC",serif; font-size: clamp(34px,9vw,49px); line-height: 1.14; letter-spacing: -1.5px; }
.antihero-hero h1 em { color: var(--anti-rust); font-style: normal; }
.antihero-hero-copy p { max-width: 320px; color: var(--anti-muted); font-size: 12px; line-height: 1.8; }
.antihero-hero-art { position: absolute; right: -10%; bottom: 0; width: 70%; height: 78%; }
.antihero-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--anti-paper-light) 0%,transparent 34%), linear-gradient(0deg,transparent 65%,var(--anti-paper-light)); }
.antihero-hero-art img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08) contrast(1.05); }
.antihero-meta { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--anti-ink); border-top: 0; }
.antihero-meta span { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; color: var(--anti-muted); font-size: 9px; }
.antihero-meta span + span { border-left: 1px solid var(--anti-line); }
.antihero-meta b { color: var(--anti-ink); font-family: Georgia,serif; font-size: 16px; }
body.theme-antihero .entitlement-card { border: 1px solid var(--anti-ink); border-radius: 0; background: var(--anti-paper-light); box-shadow: 8px 8px 0 rgba(36,37,31,.12); }
body.theme-antihero .entitlement-top span,
body.theme-antihero .mock-notice b { color: var(--anti-rust); }
body.theme-antihero .entitlement-top b { color: var(--anti-ink); }
body.theme-antihero .entitlement-top strong { border-radius: 2px; background: var(--anti-yellow); color: var(--anti-ink); }
body.theme-antihero .btn-primary { border-radius: 2px; background: var(--anti-ink); color: var(--anti-paper-light); box-shadow: 4px 4px 0 var(--anti-yellow); }
body.theme-antihero .mock-notice,
body.theme-antihero .device-warning,
body.theme-antihero .attempt-rule { color: var(--anti-muted); }
.antihero-brief { margin-top: 28px; padding: 20px; border-left: 5px solid var(--anti-yellow); background: rgba(242,234,217,.72); }
.antihero-brief > span { color: var(--anti-rust); font: 900 9px monospace; letter-spacing: 1.4px; }
.antihero-brief h2 { max-width: 500px; margin: 8px 0 16px; font-family: Georgia,"Songti SC",serif; font-size: 20px; line-height: 1.55; }
.antihero-brief > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.antihero-brief p { min-height: 54px; padding: 9px; border: 1px solid var(--anti-line); color: var(--anti-muted); font-size: 10px; }
.antihero-brief p b { display: block; color: var(--anti-yellow); font: 900 11px monospace; }
.antihero-note { margin-top: 18px; color: var(--anti-muted); font-size: 10px; line-height: 1.7; text-align: center; }

/* 反英雄答题 */
body.theme-antihero #app.quiz-mode { padding-top: 18px; }
body.theme-antihero .back-link,
body.theme-antihero .progress-text { color: var(--anti-muted); }
body.theme-antihero .progress-bar { height: 4px; border-radius: 0; background: rgba(36,37,31,.14); }
body.theme-antihero .progress-fill { border-radius: 0; background: var(--anti-yellow); }
body.theme-antihero .map-btn { min-height: 44px; padding: 7px 12px; border: 1px solid var(--anti-ink); border-radius: 2px; background: transparent; color: var(--anti-ink); }
body.theme-antihero .quiz-section { color: var(--anti-rust); font: 900 10px monospace; letter-spacing: 1px; }
body.theme-antihero .quiz-card { margin-top: 12px; padding: 24px 18px; border: 1px solid var(--anti-ink); border-radius: 0; background: var(--anti-paper-light); box-shadow: 8px 8px 0 rgba(36,37,31,.10); }
body.theme-antihero .quiz-emoji { color: var(--anti-yellow); }
body.theme-antihero .quiz-question { font-family: Georgia,"Songti SC",serif; font-size: 22px; }
body.theme-antihero .option-btn { min-height: 56px; border: 1px solid var(--anti-line); border-radius: 2px; background: rgba(255,255,255,.22); color: var(--anti-ink); }
body.theme-antihero .option-btn:active,
body.theme-antihero .option-btn.picked { border-color: var(--anti-rust); background: rgba(213,154,34,.15); }
body.theme-antihero .option-mark { border-color: var(--anti-line); border-radius: 2px; color: var(--anti-rust); }
body.theme-antihero .option-btn.picked .option-mark { border-color: var(--anti-rust); background: var(--anti-rust); color: #fff; }
body.theme-antihero .quiz-nav { background: linear-gradient(180deg,transparent 0%,rgba(233,223,201,.96) 35%); }
body.theme-antihero .quiz-nav .btn-ghost { border: 1px solid var(--anti-ink); border-radius: 2px; background: var(--anti-paper-light); color: var(--anti-ink); }
body.theme-antihero .quiz-map-panel { border-radius: 0; background: var(--anti-ink); color: var(--anti-paper-light); }
body.theme-antihero .quiz-map-cell.done { background: var(--anti-yellow); color: var(--anti-ink); }
body.theme-antihero .quiz-map-cell.current { outline-color: var(--anti-rust); }
body.theme-antihero .analyzing-file { color: var(--anti-rust); font: 900 10px monospace; letter-spacing: 1px; }
body.theme-antihero .analyzing-text { color: var(--anti-ink); }
body.theme-antihero .analyzing-spinner { border-color: rgba(36,37,31,.15); border-top-color: var(--anti-rust); }
body.theme-antihero .analyzing-bar { background: rgba(36,37,31,.15); }
body.theme-antihero .analyzing-bar-fill { background: var(--anti-yellow); }

/* 反英雄结果档案 */
body.theme-antihero .result-top { min-height: 54px; display: flex; align-items: center; }
body.theme-antihero .result-wrap { gap: 12px; }
.antihero-report-cover { position: relative; overflow: hidden; padding: 12px; border: 1px solid var(--anti-ink); background: var(--anti-paper-light); box-shadow: 8px 8px 0 rgba(36,37,31,.12); text-align: center; }
.antihero-report-cover::before { content: 'CLASSIFIED'; position: absolute; z-index: 3; top: 84px; left: -25px; padding: 4px 30px; background: var(--anti-rust); color: #fff; font: 900 9px monospace; letter-spacing: 2px; transform: rotate(-32deg); }
.antihero-fileline { padding: 6px 2px; }
.antihero-cover-art { height: 220px; margin-top: 10px; overflow: hidden; border: 1px solid var(--anti-line); }
.antihero-cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.82) contrast(1.08); }
.antihero-eyebrow { margin-top: 18px; color: var(--anti-rust); font: 900 10px monospace; letter-spacing: 1.3px; }
.antihero-report-cover h1 { margin: 5px 0; font-family: Georgia,"Songti SC",serif; font-size: clamp(32px,9vw,45px); line-height: 1.2; }
.antihero-tag { color: var(--anti-muted); font-size: 12px; }
.antihero-keywords { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 11px 0; }
.antihero-keywords span { padding: 3px 9px; border: 1px solid var(--anti-line); color: var(--anti-rust); font-size: 10px; }
.antihero-cover-copy { max-width: 500px; margin: 0 auto; color: var(--anti-muted); font-size: 12px; line-height: 1.75; }
.antihero-snapshot { display: grid; grid-template-columns: 92px 92px 1fr; gap: 7px; margin-top: 16px; text-align: left; }
.antihero-snapshot > div { min-width: 0; min-height: 78px; padding: 9px; border: 1px solid var(--anti-line); background: var(--anti-paper); }
.antihero-snapshot span { display: block; color: var(--anti-rust); font: 900 9px monospace; }
.antihero-snapshot b { display: block; font: 700 25px Georgia,serif; }
.antihero-snapshot small { color: var(--anti-muted); font-size: 9px; }
.antihero-snapshot .antihero-ability p { margin-top: 5px; color: var(--anti-ink); font-size: 11px; line-height: 1.55; }
body.theme-antihero .antihero-radar { border: 1px solid var(--anti-ink); border-radius: 0; background: var(--anti-paper-light); }
body.theme-antihero .section-heading { display: flex; width: 100%; gap: 12px; align-items: flex-start; }
body.theme-antihero .section-number { color: var(--anti-rust); font: 900 10px monospace; }
body.theme-antihero .radar-title { color: var(--anti-ink); font-family: Georgia,"Songti SC",serif; }
body.theme-antihero .radar-sub { color: var(--anti-muted); }
.antihero-details { display: grid; gap: 8px; }
body.theme-antihero .report-accordion { overflow: hidden; border: 1px solid var(--anti-ink); background: var(--anti-paper-light); }
body.theme-antihero .report-accordion summary { display: grid; grid-template-columns: 34px minmax(0,1fr) 34px; align-items: center; min-height: 58px; padding: 0 13px; cursor: pointer; list-style: none; }
body.theme-antihero .report-accordion summary::-webkit-details-marker { display: none; }
body.theme-antihero .report-accordion summary span { color: var(--anti-rust); font: 900 10px monospace; }
body.theme-antihero .report-accordion summary b { font-family: Georgia,"Songti SC",serif; font-size: 15px; }
body.theme-antihero .report-accordion summary i { color: var(--anti-muted); font-size: 9px; font-style: normal; }
body.theme-antihero .report-accordion[open] summary { background: var(--anti-ink); color: var(--anti-paper-light); }
body.theme-antihero .report-accordion[open] summary span { color: var(--anti-yellow); }
body.theme-antihero .accordion-body { padding: 15px; border-top: 1px solid var(--anti-line); }
body.theme-antihero .accordion-body > p { margin-bottom: 10px; color: var(--anti-muted); font-size: 13px; line-height: 1.8; }
.antihero-entry { margin-bottom: 10px; padding: 12px; border-left: 4px solid var(--anti-yellow); background: var(--anti-paper); }
.antihero-entry.warning { border-left-color: var(--anti-rust); }
.antihero-entry span,
.antihero-mission span { color: var(--anti-rust); font: 900 9px monospace; letter-spacing: 1px; }
.antihero-entry h3 { margin: 4px 0; font-size: 13px; }
.antihero-entry p { color: var(--anti-muted); font-size: 12px; line-height: 1.75; }
body.theme-antihero .accordion-body blockquote { margin-bottom: 12px; padding: 17px; border: 1px dashed var(--anti-rust); color: var(--anti-ink); font-family: Georgia,"Songti SC",serif; font-size: 16px; line-height: 1.75; }
.antihero-dimensions .dim-block { padding: 9px 0; margin: 0; border-bottom: 1px solid rgba(36,37,31,.10); }
.antihero-dimensions .dim-value { color: var(--anti-rust); }
.antihero-dimensions .dim-bar { background: rgba(36,37,31,.12); }
.antihero-dimensions p { margin-top: 6px; color: var(--anti-muted); font-size: 11px; line-height: 1.6; }
.antihero-mission { margin-bottom: 16px; padding: 18px; background: var(--anti-yellow); }
.antihero-mission span { color: var(--anti-ink); }
.antihero-mission p { margin-top: 5px; color: var(--anti-ink); font-family: Georgia,"Songti SC",serif; font-size: 17px; font-weight: 700; line-height: 1.65; }
body.theme-antihero .action-list li { color: var(--anti-muted); border-color: var(--anti-line); }
body.theme-antihero .action-list li::before { color: var(--anti-rust); }
body.theme-antihero .share-section { margin-top: 12px; padding: 15px; border: 1px solid var(--anti-ink); border-radius: 0; background: var(--anti-paper-light); }
body.theme-antihero .share-section h2 { font-family: Georgia,"Songti SC",serif; }
body.theme-antihero .share-image { display: block; width: 100%; border: 1px solid var(--anti-line); }
body.theme-antihero .share-tip,
body.theme-antihero .foot-note { color: var(--anti-muted); }
body.theme-antihero .share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
body.theme-antihero .share-buttons .btn:last-child { grid-column: 1 / -1; }
body.theme-antihero .share-buttons .btn-ghost,
body.theme-antihero .result-actions .btn-ghost { border: 1px solid var(--anti-ink); border-radius: 2px; background: transparent; color: var(--anti-ink); }

@media (max-width: 430px) {
  .antihero-hero { min-height: 445px; }
  .antihero-hero-copy { width: 78%; padding-left: 17px; }
  .antihero-hero-art { right: -24%; width: 86%; height: 68%; }
  .antihero-snapshot { grid-template-columns: 1fr 1fr; }
  .antihero-snapshot .antihero-ability { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .antihero-meta { grid-template-columns: 1fr 1fr; }
  .antihero-meta span:nth-child(3) { border-left: 0; border-top: 1px solid var(--anti-line); }
  .antihero-meta span:nth-child(4) { border-top: 1px solid var(--anti-line); }
  .antihero-brief > div { grid-template-columns: 1fr; }
}

/* ============================================================
 * 内在文明考古报告 —— 羊皮纸 / 矿物色 / 考古图册
 * ============================================================ */
.catalog-card.theme-card-civilization { position:relative; overflow:hidden; background:#e8deca; border-color:#665f50; color:#272921; }
.catalog-card.theme-card-civilization::before { content:''; position:absolute; inset:0; opacity:.14; background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(48,48,38,.08) 6px); pointer-events:none; }
.catalog-card.theme-card-civilization .catalog-card-tags span { background:#657269; color:#f3ead7; }
.catalog-card.theme-card-civilization p,.catalog-card.theme-card-civilization .catalog-card-meta { color:#6b6455; }
.catalog-card.theme-card-civilization .catalog-card-art img { width:96px; height:116px; border:1px solid #716858; border-radius:3px; object-fit:cover; filter:saturate(.85) contrast(1.04); }
.catalog-card.theme-card-civilization .catalog-card-art b { background:#a65f42; color:#f5ead4; }

body.theme-civilization {
  --civil-paper:#dfd3ba; --civil-light:#eee5d2; --civil-ink:#272921; --civil-muted:#686252; --civil-green:#5f7067; --civil-rust:#aa6042; --civil-gold:#c49a56; --civil-line:rgba(39,41,33,.28);
  --love-paper:var(--civil-light); --love-ink:var(--civil-ink); --love-muted:var(--civil-muted); --love-coral:var(--civil-rust); --love-coral-soft:rgba(170,96,66,.13); --love-line:var(--civil-line);
  color:var(--civil-ink); background:var(--civil-paper);
}
body.theme-civilization::before { content:''; position:fixed; inset:0; z-index:-1; opacity:.2; pointer-events:none; background-image:repeating-linear-gradient(0deg,transparent 0 5px,rgba(39,41,33,.08) 6px),radial-gradient(circle at 85% 8%,rgba(95,112,103,.28),transparent 24%),radial-gradient(circle at 8% 74%,rgba(170,96,66,.18),transparent 23%); }
body.theme-civilization #app { max-width:660px; padding:0 14px 76px; }
body.theme-civilization .platform-header { border-color:var(--civil-line); }
body.theme-civilization .platform-brand span,body.theme-civilization .records-link span { color:var(--civil-rust); }
body.theme-civilization .platform-brand b,body.theme-civilization .records-link { color:var(--civil-ink); }
.civilization-landing { padding-bottom:18px; }
.civilization-folio,.civilization-fileline { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-top:2px solid var(--civil-ink); border-bottom:1px solid var(--civil-line); color:var(--civil-muted); font:800 9px/1.25 monospace; letter-spacing:1px; }
.civilization-hero { position:relative; min-height:500px; margin-top:12px; overflow:hidden; border:1px solid var(--civil-ink); background:var(--civil-light); }
.civilization-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(238,229,210,.95) 0%,rgba(238,229,210,.35) 34%,rgba(39,41,33,.1) 67%,rgba(39,41,33,.68) 100%); }
.civilization-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:58% 50%; filter:saturate(.8) contrast(1.05); }
.civilization-hero-copy { position:relative; z-index:2; padding:27px 22px; }
.civilization-hero-copy > span { display:inline-block; padding:4px 8px; border:1px solid var(--civil-rust); color:var(--civil-rust); font-size:10px; font-weight:900; letter-spacing:1.2px; }
.civilization-hero h1 { max-width:500px; margin:19px 0 12px; font-family:Georgia,"Songti SC",serif; font-size:clamp(32px,8vw,48px); line-height:1.16; letter-spacing:-1.3px; }
.civilization-hero h1 em { color:var(--civil-rust); font-style:normal; }
.civilization-hero-copy p { max-width:380px; color:#554f43; font-size:12px; line-height:1.8; }
.civilization-meta { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--civil-ink); border-top:0; }
.civilization-meta span { display:flex; flex-direction:column; align-items:center; padding:10px 3px; color:var(--civil-muted); font-size:9px; }
.civilization-meta span+span { border-left:1px solid var(--civil-line); }
.civilization-meta b { color:var(--civil-ink); font:700 17px Georgia,serif; }
body.theme-civilization .entitlement-card { border:1px solid var(--civil-ink); border-radius:0; background:var(--civil-light); box-shadow:7px 7px 0 rgba(39,41,33,.11); }
body.theme-civilization .entitlement-top span,body.theme-civilization .mock-notice b { color:var(--civil-rust); }
body.theme-civilization .attempt-rule { color:var(--civil-muted); }
body.theme-civilization .entitlement-top b { color:var(--civil-ink); }
body.theme-civilization .entitlement-top strong { border-radius:1px; background:var(--civil-green); color:#f4ead7; }
body.theme-civilization .btn-primary { border-radius:1px; background:var(--civil-ink); color:var(--civil-light); box-shadow:4px 4px 0 var(--civil-gold); }
body.theme-civilization .redeem-form input { border-radius:1px; border-color:var(--civil-line); background:rgba(255,255,255,.24); }

/* 三档题量与渐进报告 */
.tier-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:14px 0 10px; }
.tier-choice { position:relative; min-width:0; min-height:150px; padding:14px 11px; border:1px solid rgba(38,35,32,.22); border-radius:12px; background:rgba(255,255,255,.62); color:inherit; font:inherit; text-align:left; cursor:pointer; }
.tier-choice.selected { border:2px solid #b45e5d; background:#fff; box-shadow:0 0 0 1px rgba(180,94,93,.08); }
.tier-choice span,.tier-choice b,.tier-choice small { display:block; }
.tier-choice span { color:#a55550; font-size:11px; font-weight:900; letter-spacing:1px; }
.tier-choice b { margin:5px 0 2px; font:700 24px/1.1 Georgia,serif; }
.tier-choice small { color:#857a72; font-size:10px; }
.tier-choice p { margin:9px 0 0; color:#605751; font-size:10px; line-height:1.5; }
.tier-confirm { margin-top:12px; }
.tier-journey,.depth-report { margin:0 0 18px; padding:18px; border:1px solid rgba(38,35,32,.18); border-radius:16px; background:rgba(255,253,250,.94); }
.tier-journey h2,.depth-report h2 { margin:6px 0 14px; }
.journey-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.journey-step { min-width:0; padding:10px 7px; border:1px solid #ddd2ca; border-radius:10px; }
.journey-step span,.journey-step b,.journey-step small { display:block; }
.journey-step span { color:#b45e5d; font-size:10px; font-weight:900; }
.journey-step b { margin:3px 0; font-size:13px; }
.journey-step small { overflow:hidden; color:#716861; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.journey-step.pending { opacity:.48; }
.tier-journey>p { margin:13px 0 0; color:#665d56; font-size:12px; line-height:1.7; }
.journey-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
.journey-actions .btn { flex:1 1 170px; min-height:44px; }
.stability-card { display:flex; align-items:center; justify-content:space-between; padding:13px; border-radius:12px; background:#eee5d6; }
.stability-card div span,.stability-card div b { display:block; }
.stability-card div span { color:#776d64; font-size:10px; }
.stability-card div b { margin-top:2px; font-size:20px; }
.stability-card strong { color:#ad5548; font:700 32px/1 Georgia,serif; }
.stability-note { color:#7d746c; font-size:10px; line-height:1.6; }
.depth-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.depth-grid article,.complete-insight { padding:13px; border:1px solid #e0d5cc; border-radius:12px; }
.depth-grid span,.complete-insight>span { color:#ad5548; font-size:9px; font-weight:900; letter-spacing:1px; }
.depth-grid h3,.complete-insight h3 { margin:6px 0; font-size:15px; }
.depth-grid p,.complete-insight p,.complete-insight li { color:#655d56; font-size:11px; line-height:1.65; }
.complete-insight { margin-top:10px; }
.complete-insight ul { margin:8px 0 0; padding-left:18px; }
body.theme-antihero .tier-choice,body.theme-antihero .tier-journey,body.theme-antihero .depth-report,body.theme-civilization .tier-choice,body.theme-civilization .tier-journey,body.theme-civilization .depth-report { border-radius:0; }
body.theme-antihero .tier-choice.selected,body.theme-civilization .tier-choice.selected { border-color:#b45e5d; box-shadow:4px 4px 0 rgba(36,37,31,.15); }
@media(max-width:430px){.tier-picker{grid-template-columns:1fr}.tier-choice{min-height:0}.depth-grid{grid-template-columns:1fr}.tier-journey,.depth-report{padding:14px}.journey-step{padding:9px 5px}}
.civilization-brief { margin-top:28px; padding:20px; border:1px solid var(--civil-line); border-left:5px solid var(--civil-green); background:rgba(238,229,210,.74); }
.civilization-brief > span { color:var(--civil-rust); font:900 9px monospace; letter-spacing:1.4px; }
.civilization-brief h2 { margin:8px 0 17px; font-family:Georgia,"Songti SC",serif; font-size:19px; line-height:1.55; }
.civilization-brief > div { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.civilization-brief p { padding:9px; border:1px solid var(--civil-line); color:var(--civil-muted); font-size:10px; }
.civilization-brief p b { display:block; margin-bottom:3px; color:var(--civil-rust); font:900 10px monospace; }
.civilization-note { margin:18px auto 0; max-width:500px; color:var(--civil-muted); font-size:10px; line-height:1.7; text-align:center; }

/* 文明答题 */
body.theme-civilization #app.quiz-mode { padding-top:18px; }
body.theme-civilization .back-link,body.theme-civilization .progress-text { color:var(--civil-muted); }
body.theme-civilization .progress-bar { height:4px; border-radius:0; background:rgba(39,41,33,.14); }
body.theme-civilization .progress-fill { border-radius:0; background:var(--civil-rust); }
body.theme-civilization .map-btn { min-height:44px; border:1px solid var(--civil-ink); border-radius:1px; background:transparent; color:var(--civil-ink); }
body.theme-civilization .quiz-section { color:var(--civil-rust); font:900 9px monospace; letter-spacing:1px; }
body.theme-civilization .quiz-card { padding:24px 18px; border:1px solid var(--civil-ink); border-radius:0; background:var(--civil-light); box-shadow:7px 7px 0 rgba(39,41,33,.1); }
body.theme-civilization .quiz-emoji { color:var(--civil-gold); }
body.theme-civilization .quiz-question { font-family:Georgia,"Songti SC",serif; font-size:22px; }
body.theme-civilization .option-btn { min-height:56px; border:1px solid var(--civil-line); border-radius:1px; background:rgba(255,255,255,.18); color:var(--civil-ink); }
body.theme-civilization .option-btn:active,body.theme-civilization .option-btn.picked { border-color:var(--civil-rust); background:rgba(170,96,66,.12); }
body.theme-civilization .option-mark { border-color:var(--civil-line); border-radius:50%; color:var(--civil-rust); }
body.theme-civilization .option-btn.picked .option-mark { background:var(--civil-rust); color:#fff; }
body.theme-civilization .quiz-nav { background:linear-gradient(180deg,transparent 0%,rgba(223,211,186,.97) 35%); }
body.theme-civilization .quiz-nav .btn-ghost { border:1px solid var(--civil-ink); border-radius:1px; background:var(--civil-light); color:var(--civil-ink); }
body.theme-civilization .quiz-map-panel { border-radius:0; background:var(--civil-ink); color:var(--civil-light); }
body.theme-civilization .quiz-map-cell.done { background:var(--civil-gold); color:var(--civil-ink); }
body.theme-civilization .quiz-map-cell.current { outline-color:var(--civil-rust); }

/* 文明结果 */
.civilization-report-cover { --civil-accent:#aa6042; overflow:hidden; padding:12px; border:1px solid var(--civil-ink); background:var(--civil-light); box-shadow:7px 7px 0 rgba(39,41,33,.12); text-align:center; }
.civilization-fileline { padding:6px 2px; }
.civilization-cover-art { height:300px; margin-top:10px; overflow:hidden; border:1px solid var(--civil-line); }
.civilization-cover-art img { width:100%; height:100%; object-fit:cover; filter:saturate(.85) contrast(1.05); }
.civilization-eyebrow { margin-top:18px; color:var(--civil-accent); font:900 10px monospace; letter-spacing:1.2px; }
.civilization-report-cover h1 { margin:5px 0; font-family:Georgia,"Songti SC",serif; font-size:clamp(32px,9vw,45px); line-height:1.2; }
.civilization-tag { color:var(--civil-muted); font-size:12px; }
.civilization-keywords { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin:11px 0; }
.civilization-keywords span { padding:3px 9px; border:1px solid var(--civil-line); color:var(--civil-accent); font-size:10px; }
.civilization-report-cover blockquote { margin:12px auto; max-width:530px; color:var(--civil-ink); font-family:Georgia,"Songti SC",serif; font-size:17px; font-weight:700; line-height:1.6; }
.civilization-cover-copy { max-width:500px; margin:auto; color:var(--civil-muted); font-size:12px; line-height:1.75; }
.civilization-status { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:16px; text-align:left; }
.civilization-status div { min-height:86px; padding:10px; border:1px solid var(--civil-line); background:var(--civil-paper); }
.civilization-status span,.civilization-entry span,.civilization-collapse span,.civilization-reform span { color:var(--civil-accent); font:900 9px monospace; letter-spacing:1px; }
.civilization-status b { display:block; margin-top:6px; font-size:12px; line-height:1.55; }
body.theme-civilization .civilization-radar { border:1px solid var(--civil-ink); border-radius:0; background:var(--civil-light); }
body.theme-civilization .section-heading { display:flex; gap:12px; align-items:flex-start; }
body.theme-civilization .section-number { color:var(--civil-rust); font:900 9px monospace; }
body.theme-civilization .radar-title { color:var(--civil-ink); font-family:Georgia,"Songti SC",serif; }
body.theme-civilization .radar-sub { color:var(--civil-muted); }
.civilization-details { display:grid; gap:8px; }
body.theme-civilization .report-accordion { overflow:hidden; border:1px solid var(--civil-ink); background:var(--civil-light); }
body.theme-civilization .report-accordion summary { display:grid; grid-template-columns:34px minmax(0,1fr) 34px; align-items:center; min-height:58px; padding:0 13px; cursor:pointer; list-style:none; }
body.theme-civilization .report-accordion summary::-webkit-details-marker { display:none; }
body.theme-civilization .report-accordion summary span { color:var(--civil-rust); font:900 10px monospace; }
body.theme-civilization .report-accordion summary b { font-family:Georgia,"Songti SC",serif; font-size:15px; }
body.theme-civilization .report-accordion summary i { color:var(--civil-muted); font-size:9px; font-style:normal; }
body.theme-civilization .report-accordion[open] summary { background:var(--civil-ink); color:var(--civil-light); }
body.theme-civilization .report-accordion[open] summary span { color:var(--civil-gold); }
body.theme-civilization .accordion-body { padding:15px; border-top:1px solid var(--civil-line); }
body.theme-civilization .accordion-body>p { margin-bottom:10px; color:var(--civil-muted); font-size:13px; line-height:1.8; }
.civilization-entry { margin-top:10px; padding:13px; border-left:4px solid var(--civil-green); background:var(--civil-paper); }
.civilization-entry h3 { margin:4px 0; font-size:13px; }
.civilization-entry p,.civilization-dimensions p { color:var(--civil-muted); font-size:12px; line-height:1.75; }
.civilization-dimensions .dim-block { margin:0; padding:9px 0; border-bottom:1px solid rgba(39,41,33,.1); }
.civilization-dimensions .dim-value { color:var(--civil-rust); }
.civilization-dimensions p { margin-top:6px; }
.civilization-collapse,.civilization-reform { padding:18px; border:1px dashed var(--civil-rust); }
.civilization-collapse p,.civilization-reform p { margin-top:7px; color:var(--civil-ink); font-family:Georgia,"Songti SC",serif; font-size:16px; line-height:1.75; }
.civilization-reform { border-style:solid; border-color:var(--civil-gold); background:rgba(196,154,86,.17); }
body.theme-civilization .action-list li { color:var(--civil-muted); border-color:var(--civil-line); }
body.theme-civilization .action-list li::before { color:var(--civil-rust); }
body.theme-civilization .share-section { margin-top:12px; padding:15px; border:1px solid var(--civil-ink); border-radius:0; background:var(--civil-light); }
body.theme-civilization .share-section h2 { font-family:Georgia,"Songti SC",serif; }
body.theme-civilization .share-image { border:1px solid var(--civil-line); }
body.theme-civilization .share-buttons .btn-ghost,body.theme-civilization .result-actions .btn-ghost { border:1px solid var(--civil-ink); border-radius:1px; background:transparent; color:var(--civil-ink); }

@media(max-width:430px){.civilization-hero{min-height:470px}.civilization-hero-copy{padding:20px 16px}.civilization-hero-copy p{max-width:310px}.civilization-cover-art{height:245px}}
@media(max-width:360px){.catalog-card.theme-card-civilization .catalog-card-art img{width:82px;height:102px}.civilization-brief>div{grid-template-columns:1fr 1fr}.civilization-status{grid-template-columns:1fr}}

/* 帝王生涯：新中式套色版画角色卡 */
body.theme-imperial{--imp-paper:#eee4d3;--imp-paper-light:#fbf5e9;--imp-ink:#29251f;--imp-red:#a34b3f;--imp-gold:#b98d49;--imp-muted:#776a59;--imp-line:rgba(62,51,39,.17);background:#e9dfcf;}
body.theme-imperial::before{opacity:.18;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.75),transparent 28%),repeating-linear-gradient(7deg,transparent 0 8px,rgba(73,55,34,.035) 9px);}
.catalog-card.theme-card-imperial{border:0;border-radius:24px;background:#eee4d3;box-shadow:0 15px 34px rgba(65,48,30,.11);}
.catalog-card.theme-card-imperial::before{content:'命运模拟';right:126px;top:20px;border:0;border-radius:999px;background:rgba(163,75,63,.1);padding:5px 8px;transform:none;font-family:inherit;}
.catalog-card.theme-card-imperial .catalog-card-art img{width:96px;height:124px;border:0;border-radius:16px;box-shadow:0 8px 18px rgba(54,40,26,.16);filter:none;object-fit:cover;}
.imperial-folio,.imperial-fileline{border-top:0;border-bottom:1px solid var(--imp-line);padding:10px 2px;color:var(--imp-muted);}
.imperial-hero{height:510px;border:0;border-radius:26px;background:var(--imp-ink);box-shadow:0 18px 42px rgba(59,43,27,.16);}
.imperial-hero>img{filter:none;object-position:center 42%;}
.imperial-hero-shade{background:linear-gradient(180deg,rgba(23,20,16,.03) 28%,rgba(23,20,16,.91) 94%);}
.imperial-hero-copy{padding:30px 25px;}
.imperial-hero-copy>span{border-radius:999px;background:rgba(163,75,63,.94);padding:6px 11px;}
.imperial-hero-copy h1{letter-spacing:-.5px;}
.imperial-meta{gap:8px;margin-top:10px;border:0;background:transparent;}
.imperial-meta span{min-height:60px;border:0!important;border-radius:14px;background:rgba(251,245,233,.82);}
body.theme-imperial .entitlement-card{border:0;border-radius:22px;background:var(--imp-paper-light);box-shadow:0 13px 30px rgba(58,43,27,.1);}
body.theme-imperial .tier-choice{border-radius:14px;background:rgba(255,255,255,.55);}
body.theme-imperial .tier-choice.selected{border-color:var(--imp-red);border-radius:14px;background:#fffdfa;box-shadow:0 8px 18px rgba(126,67,53,.09);}
body.theme-imperial .btn-primary{border-radius:14px;box-shadow:0 7px 0 rgba(185,141,73,.72);}
.imperial-brief{border-left:0;border-radius:20px;background:rgba(251,245,233,.82);box-shadow:0 10px 24px rgba(58,43,27,.07);}
.imperial-brief p{border-color:var(--imp-line);border-radius:10px;background:rgba(255,255,255,.35);}
.imperial-chapters{gap:8px;border-top:0;}
.imperial-chapters>span{border-bottom:1px solid var(--imp-line);}
.imperial-chapters>div{border:1px solid var(--imp-line)!important;border-radius:12px;background:rgba(251,245,233,.54);}
body.theme-imperial .progress-bar{overflow:visible;background:rgba(41,37,31,.1);}
body.theme-imperial .progress-fill{position:relative;background:var(--imp-red);}
body.theme-imperial .progress-fill::after{content:'玺';position:absolute;right:-13px;top:50%;width:26px;height:26px;border-radius:8px;background:var(--imp-red);color:#fff8e9;font:700 13px/26px "Songti SC",serif;text-align:center;transform:translateY(-50%) rotate(4deg);box-shadow:0 3px 8px rgba(94,43,34,.24);}
body.theme-imperial .quiz-card{border:0;border-radius:22px;background:var(--imp-paper-light);box-shadow:0 14px 32px rgba(58,43,27,.1);}
body.theme-imperial .option-btn{border-radius:14px;background:rgba(255,255,255,.5);}
body.theme-imperial .option-btn.picked{background:rgba(163,75,63,.1);box-shadow:0 5px 14px rgba(115,59,46,.07);}
body.theme-imperial .option-mark{border-radius:8px;}
.imperial-report-cover{overflow:hidden;padding:14px;border:0;border-radius:26px;background:var(--imp-paper-light);box-shadow:0 18px 42px rgba(58,43,27,.14);}
.imperial-cover-art{width:min(100%,360px);height:auto;aspect-ratio:3/4;margin:12px auto 0;border:0;border-radius:20px;box-shadow:0 11px 28px rgba(51,38,25,.16);}
.imperial-cover-art img{filter:none;object-position:center;}
.imperial-eyebrow{margin-top:21px;}
.imperial-report-cover h1{margin:6px 50px 4px;}
.imperial-seal{top:auto;right:24px;bottom:195px;border-radius:9px;background:rgba(163,75,63,.07);}
.imperial-reign-grid{grid-template-columns:repeat(4,1fr);gap:7px;margin:17px 0 0;border:0;}
.imperial-reign-grid>div{border:0!important;border-radius:12px;background:rgba(163,75,63,.065);}
.imperial-report-cover blockquote{margin:20px auto 8px;}
body.theme-imperial .imperial-radar{border:0;border-radius:20px;background:var(--imp-paper-light);box-shadow:0 11px 26px rgba(58,43,27,.08);}
.imperial-details{gap:10px;}
body.theme-imperial .report-accordion{border:0;border-radius:16px;background:var(--imp-paper-light);box-shadow:0 7px 18px rgba(58,43,27,.065);}
body.theme-imperial .report-accordion summary{min-height:62px;}
body.theme-imperial .report-accordion[open] summary{background:#38342d;}
body.theme-imperial .accordion-body blockquote{border:0;border-left:4px solid var(--imp-red);border-radius:10px;background:rgba(163,75,63,.055);}
.imperial-entry,.imperial-turn,.imperial-lesson{border-radius:12px;}
body.theme-imperial .share-section{border:0;border-radius:20px;background:var(--imp-paper-light);box-shadow:0 10px 25px rgba(58,43,27,.08);}
body.theme-imperial .share-image{border:0;border-radius:16px;}
body.theme-imperial .share-buttons .btn-ghost,body.theme-imperial .result-actions .btn-ghost{border-color:var(--imp-line);border-radius:12px;background:rgba(255,255,255,.35);}
@media(max-width:430px){.imperial-hero{height:470px}.imperial-hero-copy{padding:24px 18px}.imperial-cover-art{width:min(100%,320px)}.imperial-report-cover h1{margin-left:35px;margin-right:35px}.imperial-seal{right:18px;bottom:198px}.imperial-reign-grid b{font-size:15px}}
@media(max-width:350px){.imperial-reign-grid{grid-template-columns:1fr 1fr}.imperial-seal{display:none}}
