/* ============ THEME: 复古小票 (vintage receipt) ============ */
/* 字体：Space Mono（正文/标签）/ Noto Serif SC（标题） */

body[data-theme="receipt"] {
  --bg: #f1e7d4;
  --card: #f6eeda;
  --primary: #221c14;
  --primary-light: #e3d7bd;
  --primary-dark: #000000;
  --accent: #b0463a;
  --accent-light: #eaddc7;
  --success: #5a6b3a;
  --success-light: #e2e3c8;
  --text: #221c14;
  --text-secondary: #4a4034;
  --text-muted: #6f6353;
  --border: rgba(34, 28, 20, 0.3);
  --danger: #b0463a;
  --radius: 2px;
  --shadow: 0 4px 16px rgba(20, 16, 8, 0.1);
  --shadow-lg: 0 14px 34px rgba(20, 16, 8, 0.16);
  --font-stack: 'Space Mono', monospace;
}
body[data-theme="receipt"] { background: #f1e7d4; }

body[data-theme="receipt"] .header { background: #f1e7d4; border-bottom: 1px dashed #221c14; backdrop-filter: none; }
body[data-theme="receipt"] .header h1 { font-family: 'Noto Serif SC', serif; font-weight: 700; letter-spacing: .04em; }
body[data-theme="receipt"] .streak-badge { background: transparent; color: #221c14; border: 1px solid #221c14; border-radius: 2px; }

body[data-theme="receipt"] .hero-card { background: #f6eeda; color: #221c14; border: 1px solid #221c14; box-shadow: none; border-radius: 2px; }
body[data-theme="receipt"] .hero-card::after { display: none; }
body[data-theme="receipt"] .hero-avatar { background: #ece0c6; color: #221c14; border: 1px solid #221c14; border-radius: 2px; }
body[data-theme="receipt"] .hero-name { font-family: 'Noto Serif SC', serif; font-weight: 700; }
body[data-theme="receipt"] .hero-rank-chip { background: transparent; color: #b0463a; border: 1px solid #b0463a; border-radius: 2px; }
body[data-theme="receipt"] .hero-sub { color: #6f6353; }
body[data-theme="receipt"] .hero-stat { background: transparent; border: 1px dashed #221c14; border-radius: 2px; }
body[data-theme="receipt"] .xp-track { background: transparent; border: 1px dashed #221c14; border-radius: 2px; }
body[data-theme="receipt"] .xp-meta { color: #6f6353; opacity: 1; }
body[data-theme="receipt"] .xp-bar { background: transparent; border: 1px solid #221c14; border-radius: 0; height: 9px; }
body[data-theme="receipt"] .xp-bar-fill { background: repeating-linear-gradient(90deg, #221c14 0 4px, transparent 4px 7px); box-shadow: none; border-radius: 0; }
body[data-theme="receipt"] .xp-bar-fill::after { display: none; }

body[data-theme="receipt"] .quote-card { background: transparent; color: #4a4034; border-top: 1px dashed #221c14; border-bottom: 1px dashed #221c14; border-radius: 0; box-shadow: none; padding: 14px 0; }
body[data-theme="receipt"] .quote-card::before { display: none; }
body[data-theme="receipt"] .quote-text { font-size: 12px; line-height: 1.7; }
body[data-theme="receipt"] .quote-author { opacity: 1; color: #6f6353; }

body[data-theme="receipt"] .card,
body[data-theme="receipt"] .quest-card,
body[data-theme="receipt"] .chart-container,
body[data-theme="receipt"] .profile-card,
body[data-theme="receipt"] .stat-card,
body[data-theme="receipt"] .badge-tile,
body[data-theme="receipt"] .badge-summary { background: #f6eeda; border: 1px solid #221c14; border-radius: 2px; }

body[data-theme="receipt"] .progress-ring-fill { stroke: #221c14; }
body[data-theme="receipt"] .progress-center { color: #221c14; }

body[data-theme="receipt"] .quest-row { background: transparent; border: 1px dashed #221c14; border-radius: 2px; }
body[data-theme="receipt"] .quest-check { background: #f6eeda; border-color: #221c14; border-radius: 2px; }
body[data-theme="receipt"] .quest-row.done .quest-check { background: #221c14; border-color: #221c14; }

body[data-theme="receipt"] .entry-input { background: #ece0c6; border-radius: 2px; border-style: dashed; }
body[data-theme="receipt"] .entry-input:focus { background: #fff; border-style: solid; border-color: #221c14; }
body[data-theme="receipt"] .entry-number { background: transparent; color: #221c14; border: 1px solid #221c14; border-radius: 2px; }
body[data-theme="receipt"] .entry-number.filled { background: #221c14; color: #f1e7d4; }
body[data-theme="receipt"] .tag-select { background: #f6eeda; border-radius: 2px; }
body[data-theme="receipt"] .entry-add-btn { border-radius: 2px; }

body[data-theme="receipt"] .save-btn,
body[data-theme="receipt"] .auth-btn,
body[data-theme="receipt"] .modal-btn,
body[data-theme="receipt"] .dream-add-btn { background: #221c14; border-radius: 2px; box-shadow: none; letter-spacing: .08em; }
body[data-theme="receipt"] .share-action { background: transparent !important; color: #221c14; border: 1px dashed #221c14; box-shadow: none; letter-spacing: .06em; }

body[data-theme="receipt"] .tab-bar { background: #f1e7d4; border-top: 1px dashed #221c14; }
body[data-theme="receipt"] .tab-item.active { color: #221c14; }

body[data-theme="receipt"] .jar-card { background: #221c14; border-radius: 2px; }
body[data-theme="receipt"] .stat-value { color: #221c14; }

/* ============ SHARE CARD ============ */
body[data-theme="receipt"] .share-card { background: #f1e7d4; color: #221c14; font-family: 'Space Mono', monospace; padding: 28px 26px; }
body[data-theme="receipt"] .share-card-header { border-bottom: 1px dashed #221c14; padding-bottom: 14px; }
body[data-theme="receipt"] .share-card-header h2 { font-family: 'Noto Serif SC', serif; font-weight: 700; letter-spacing: .06em; }
body[data-theme="receipt"] .share-card-header p { color: #6f6353; opacity: 1; }

body[data-theme="receipt"] .share-card-stats { gap: 0; justify-content: space-between; border-bottom: 1px dashed #221c14; padding: 14px 0; margin: 14px 0; }
body[data-theme="receipt"] .share-card-stat { flex: 1; }
body[data-theme="receipt"] .share-card-stat .val { color: #221c14; }
body[data-theme="receipt"] .share-card-stat .lbl { color: #6f6353; opacity: 1; }

body[data-theme="receipt"] .share-card-entries { background: transparent; padding: 0; backdrop-filter: none; }
body[data-theme="receipt"] .share-card-entry { padding: 8px 0; align-items: center; }
body[data-theme="receipt"] .share-card-entry + .share-card-entry { border-top: 1px dotted rgba(34,28,20,.4); }
body[data-theme="receipt"] .share-card-num { background: transparent; color: #221c14; font-weight: 700; width: auto; height: auto; }
body[data-theme="receipt"] .share-card-tag { background: transparent; color: #6f6353; padding: 0; }
body[data-theme="receipt"] .share-card-tag::before { content: '— '; }
body[data-theme="receipt"] .share-card-tag::after { content: ' —'; }

body[data-theme="receipt"] .share-card-qr { background: transparent; border: 1px dashed #221c14; border-radius: 2px; }
body[data-theme="receipt"] .share-qr-img { border-radius: 0; }
body[data-theme="receipt"] .share-qr-label { font-weight: 700; letter-spacing: .04em; }
body[data-theme="receipt"] .share-qr-url { opacity: 1; color: #6f6353; }
body[data-theme="receipt"] .share-card-footer { border-top: 1px dashed #221c14; padding-top: 12px; }
body[data-theme="receipt"] .share-card-footer .streak { color: #221c14; font-weight: 400; font-size: 12px; }
body[data-theme="receipt"] .share-card-footer .brand { color: #6f6353; opacity: 1; }
