/* 阅读与手机交互的小修补；不改变五栏结构、油画素材或数据。 */
:root {
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --serif: 'Songti SC', 'STSong', 'SimSun', serif;
  --text-title:#714d65;
  --text-body:#634f5c;
  --text-muted:#73606b;
  --reading-paper: #faf8f0;
  --ink:#634f5c;
  --muted:#73606b;
}
body { font-family: var(--font-body); font-size: 16px; }
button, input, textarea, select { font-family: var(--font-body); }
h1, h2, h3 { color:var(--text-title); }
small, .muted, .label, .tag, .eyebrow, .brand small, .status-label,
.breadcrumb, .auth-state, .voice-status, .composer-count, .simple-hint,
.partner-footnote, .partner-cover-label, .partner-cover-label>span,
.partner-chart-row>span, .partner-chart-note, .partner-chart-scale,
.partner-chart-title span, .partner-open-note, .partner-cover-bottom>span,
.partner-dimension-score.unscored, .partner-status, .partner-evidence .link,
.journey-toolbar p, .journey-cover-note small, .journey-metrics span,
.journey-range, .journey-year-label, .journey-kind, .journey-confirmed,
.journey-location, .journey-time>span, .journey-time>.link,
.journey-card-bottom>span, .journey-card-bottom .link, .journey-details>summary,
.journey-photo figcaption, .journey-photo-action, .journey-undated-hint,
.moment-optional>summary, .photo-slide-count, .example-label,
.example-portrait>p, .example-note, .example-score, .example-score small {
  font-size: 14px !important;
}
.muted, .voice-status, .composer-count, .simple-hint, .partner-footnote,
.journey-card-bottom>span, .input-privacy, .compose-login-note {
  color:var(--text-muted);
  text-shadow: none;
}
.layout:not([data-view='home']) .main {
  background: linear-gradient(130deg, #faf8f0bf, #edf2e9bf);
}
.hero-copy {
  padding: 28px;
  background: #faf8f0e8;
  border: 1px solid #b9c6b580;
  border-radius: 26px 15px 27px 16px;
  box-shadow: 0 8px 26px #344b3b08;
}
.hero .eyebrow, .hero .hero-input-note { font-size: 14px; color:var(--text-muted); text-shadow: none; }
.hero p { color:var(--text-body); text-shadow: none; }
.hero-input-note { display: block; line-height: 1.8; }
.card, .simple-chat .chat-window, .memory-review,
.insight-empty, .partner-cover, .partner-dimension,
.journey-card, .journey-row .journey-card {
  background-color: var(--reading-paper);
  background-image: none;
}
.pagehead p, .partner-heading p, .journey-toolbar p, .journey-end p {
  display: table;
  padding: 6px 10px;
  background: #faf8f0eb;
  border-radius: 8px;
  color:var(--text-title);
  text-shadow: none;
}
.insight-summary, .next-step, .partner-footnote {
  padding: 16px;
  background: var(--reading-paper);
  border-radius: 12px;
}
/* 这三项是说明，不再模拟可点击卡片。 */
.home-guide { padding: 24px 0; gap: 0; }
.home-guide>div:nth-child(n) {
  background: #faf8f0ed;
  background-image: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 18px 24px;
}
.home-guide>div:nth-child(n+2) { border-left: 1px solid var(--line); }
.home-guide>div:nth-child(n) h2 { color:var(--text-title); }
.home-guide p { font-size: 14px; color:var(--text-body); }
.simple-chat .compose { padding: 0; border: 0; background: none; box-shadow: none; }
.input-privacy, .compose-login-note { font-size: 14px; line-height: 1.8; }
.input-privacy { margin: 0 0 14px; padding: 14px; background: #edf1e7; border-radius: 12px; }
.input-privacy a, .settings-grid a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.input-privacy a { margin-left: 8px; color:var(--text-body); }
.simple-chat .compose textarea { background: #fffefa; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.compose-actions { display: flex; gap: 10px; }
.compose-actions .btn { flex: 1; min-width: 0; }
.compose-login-note { margin-top: 12px; margin-bottom: 0; }
.voice-backup summary, summary { min-height: 44px; padding-block: 10px; }
.voice-backup summary { font-size: 14px; }
summary, .notice { font-size: 14px !important; }
.link { min-height: 44px; }
.btn.small, .btn.voice-btn, .link, .timeline-tabs button { font-size: 14px !important; }
.btn.primary, .hero .btn.primary, #compose-submit[data-phase='error'],
.btn.primary:hover, .hero .btn.primary:hover {
  background-color: #2f4a3a;
  background-image: none;
  color: #ffffff;
}
.btn.primary svg { color: inherit; }
.footer {
  color:var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  text-shadow: none;
  padding: 18px;
  background: #faf8f0f2;
  border: 1px solid #b9c6b570;
  border-radius: 12px;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .main { padding-inline: 16px; padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .content { min-width: 0; }
  .topbar .menu-toggle { display: none; }
  .topbar .status-label { display: none; }
  .topbar .auth-state { font-size: 12px !important; }
  .topbar .site-login { min-height: 44px; }
  .nav button { font-size: 12px; min-height: 60px; line-height: 1.4; }
  .sidebar { background-color: #e9eddf; background-image: none; box-shadow: 0 -2px 10px #344b3b0a; }
  .hero { padding: 20px 0 16px; margin-top: 0; min-height: 0; }
  .hero-copy { padding: 22px 18px; }
  .hero h1 { font-size: 32px; margin-bottom: 16px; }
  .hero .eyebrow { letter-spacing: 1px; margin-bottom: 12px; }
  .hero p { margin-bottom: 18px; }
  .home-guide { padding: 12px 0; }
  .home-guide>div:nth-child(n) { padding: 18px 16px; border: 0; border-bottom: 1px solid var(--line); }
  .simple-chat .chat-window { padding: 16px; }
  .simple-chat .compose-actions {
    bottom: calc(86px + env(safe-area-inset-bottom));
    background: var(--reading-paper);
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .simple-chat .compose-actions .btn { width: auto; font-size: 15px; min-height: 48px; }
  .simple-chat .compose-actions .primary { flex: 1.2; }
  .journey-track[data-mode='grid'] .journey-year ol { grid-template-columns: 1fr; }
  .journey-track[data-mode='grid'] .journey-description { font-size: 16px; }
  .footer { margin-bottom: 32px; padding: 16px; }
  html[data-keyboard-open='true'] .simple-chat .compose-actions { bottom: 8px; }
}
