/* ═══════════════════════════════════════════
   AI食物热量分析 — 本地 Web 版样式
   从微信小程序 WXSS 转换（rpx → px，rpx/2）
   ═══════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  min-height: 100%;
  background: #fff8f1;
  color: #21191a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 18% 4%, rgba(255,212,92,0.28), transparent 35%),
    radial-gradient(circle at 88% 12%, rgba(91,209,193,0.24), transparent 34%),
    linear-gradient(180deg, #fff8f1 0%, #f7fbff 58%, #fff7fa 100%);
}

#page-container {
  min-height: 100vh;
  padding: 14px 14px 80px;
}

/* ── Typography ───────────────────────────── */
.page-title { font-size: 23px; font-weight: 700; line-height: 1.25; margin-bottom: 5px; color: #201517; }
.page-subtitle { color: #7a6f74; line-height: 1.5; margin-bottom: 14px; }

.section { margin-top: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section-title { font-size: 16px; font-weight: 700; color: #201517; }

.muted { color: #7a6f74; }
.tiny { font-size: 11px; }

/* ── Cards ─────────────────────────────────── */
.surface {
  background: #ffffff;
  border: 1px solid rgba(45,31,35,0.08);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(72,44,46,0.08);
}

.color-card {
  color: #ffffff; border: 0;
  background: linear-gradient(135deg, #ff6b4a 0%, #ff9f43 52%, #ffd45c 100%);
  box-shadow: 0 9px 21px rgba(255,107,74,0.23);
}

.fresh-card {
  color: #153c3a; border: 0;
  background: linear-gradient(135deg, #c8fff1 0%, #e6fff6 55%, #fff3c4 100%);
  box-shadow: 0 9px 21px rgba(53,186,167,0.16);
}

/* ── Buttons ───────────────────────────────── */
.button-row { display: flex; gap: 8px; align-items: center; }

.primary-btn, .secondary-btn, .ghost-btn, .danger-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 4px;
  font-size: 14px; border: 0; cursor: pointer;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #ff6b4a, #ff8a5c);
  box-shadow: 0 6px 13px rgba(255,107,74,0.26);
}
.secondary-btn { color: #0f5e55; background: #dffaf3; }
.ghost-btn { color: #4a3a3f; background: #fff1e8; }
.danger-btn { color: #b42318; background: #fff0ed; min-height: 29px; padding: 0 10px; font-size: 11px; }

.small-btn { min-height: 31px; padding: 0 12px; font-size: 12px; }
.action-btn { flex: 1; }
.save-btn { width: 110px; }

/* ── Tags ──────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 999px; font-size: 11px; white-space: nowrap; cursor: pointer;
  background: #fff1e8; color: #e35335;
}
.tag.mint { color: #08796d; background: #dffaf3; }
.tag.blue { color: #3353b8; background: #eaf0ff; }
.tag.yellow { color: #8a5a00; background: #fff2bf; }

/* ── Metrics ───────────────────────────────── */
.metric-grid { display: flex; gap: 7px; }
.metric {
  flex: 1; min-width: 0; padding: 9px;
  background: #fff; border: 1px solid rgba(45,31,35,0.08); border-radius: 8px;
}
.metric-label { font-size: 11px; color: #7a6f74; }
.metric-value { margin-top: 3px; font-size: 17px; font-weight: 700; color: #21191a; }

.empty {
  padding: 26px 15px; text-align: center; color: #88797e;
  background: #fff; border: 1px dashed #f0b8a8; border-radius: 8px;
}

.mini-icon {
  width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px; color: #fff; font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, #32c9b7, #ffb84d);
}

/* ── Toast ─────────────────────────────────── */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  padding: 14px 24px; border-radius: 8px; background: rgba(0,0,0,0.8);
  color: #fff; font-size: 14px; z-index: 9999; pointer-events: none;
  transition: opacity 0.3s; white-space: nowrap;
}
.toast.hidden { opacity: 0; }
.toast.show { opacity: 1; }

/* ── Modal ─────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998; transition: opacity 0.25s;
}
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.modal-overlay.show { opacity: 1; }

.modal-box {
  background: #fff; border-radius: 12px; width: 300px; max-width: 90vw;
  padding: 24px; text-align: center; box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.modal-title { font-size: 17px; font-weight: 800; color: #21191a; margin-bottom: 10px; }
.modal-content { font-size: 14px; color: #7a6f74; line-height: 1.6; margin-bottom: 20px; white-space: pre-line; }
.modal-actions { display: flex; gap: 10px; }
.modal-btn {
  flex: 1; height: 42px; border-radius: 8px; border: 0; font-size: 14px; font-weight: 700; cursor: pointer;
}
.modal-btn.cancel { color: #7a6f74; background: #f5f0ec; }
.modal-btn.confirm { color: #fff; background: linear-gradient(135deg, #ff6b4a, #ff8a5c); }

/* ── TabBar ────────────────────────────────── */
#tabbar { position: relative; }
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 56px;
  display: flex; background: #fff;
  border-top: 1px solid rgba(45,31,35,0.06);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
  z-index: 100;
}
.tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: color 0.2s; color: #7a6f74;
}
.tabbar-item.active { color: #ff6b4a; }
.tabbar-icon { font-size: 20px; margin-bottom: 2px; }
.tabbar-text { font-size: 10px; font-weight: 600; }

/* ── Brand Hero (Index) ────────────────────── */
.brand-hero { padding: 14px; border-radius: 8px; overflow: hidden; }
.brand-row { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.hero-icon { flex: 0 0 auto; color: #ff6b4a; background: #fff; }
.brand-copy { flex: 1; min-width: 0; }
.brand-name { font-size: 19px; font-weight: 900; line-height: 1.25; }
.hero-copy { margin-top: 4px; color: rgba(255,255,255,0.82); line-height: 1.45; font-size: 12px; }
.hero-score { display: flex; align-items: center; gap: 13px; margin-top: 15px; }
.score-label { color: rgba(255,255,255,0.75); font-size: 11px; }
.score-value { font-size: 36px; line-height: 1; font-weight: 900; }
.score-side { flex: 1; min-width: 0; }
.status-title { font-size: 17px; font-weight: 800; }
.status-text { margin-top: 4px; color: rgba(255,255,255,0.8); line-height: 1.45; }

/* ── Calorie Card ──────────────────────────── */
.calorie-card { display: flex; align-items: center; gap: 16px; padding: 17px; margin-top: 11px; }
.ring-main {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #e9fffb, #fff4d6);
  border: 6px solid #32c9b7; flex-shrink: 0;
}
.ring-value { font-size: 26px; font-weight: 800; color: #0f514b; }
.ring-label, .remain-label { color: #7a6f74; font-size: 11px; }
.ring-side { flex: 1; }
.remain-value { margin: 3px 0 9px; font-size: 24px; font-weight: 800; color: #21191a; }
.progress-track, .macro-track, .mission-track { height: 8px; background: #f1e8e3; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #32c9b7, #ffd45c, #ff6b4a); }
.mission-fill { height: 100%; background: linear-gradient(90deg, #32c9b7, #ffd45c, #ff6b4a); }
.target-line { margin-top: 6px; color: #8a7b7f; font-size: 11px; }

.action-row { margin-top: 11px; }

/* ── Food Buddies ──────────────────────────── */
.buddy-stage {
  display: flex; gap: 7px; padding: 10px; overflow-x: auto;
  background: radial-gradient(circle at 14% 18%, rgba(255,212,92,0.24), transparent 28%),
              radial-gradient(circle at 86% 20%, rgba(108,99,255,0.14), transparent 26%), #fff;
}
.buddy-card { flex: 0 0 71px; text-align: center; opacity: 0.64; }
.buddy-card.active { opacity: 1; }
.buddy-card.sleep .food-buddy { filter: grayscale(45%); }
.food-buddy {
  position: relative; width: 54px; height: 54px; margin: 0 auto 6px;
  border-radius: 18px; animation: buddyFloat 2.8s ease-in-out infinite;
  box-shadow: 0 7px 12px rgba(45,31,35,0.12);
}
.food-buddy.rice { background: linear-gradient(145deg, #fffdf4, #f3f7ff); }
.food-buddy.egg { background: radial-gradient(circle at 56% 48%, #ffca45 0 24%, transparent 25%), linear-gradient(145deg, #fff8ec, #ffffff); }
.food-buddy.leaf { background: linear-gradient(145deg, #32c9b7, #a9f5d7); border-radius: 27px 12px 27px 12px; }
.food-buddy.tea { background: linear-gradient(145deg, #f6c27a, #fff0c7); }
.buddy-eye {
  position: absolute; top: 19px; width: 5px; height: 7px; border-radius: 999px;
  background: #3b2b30; animation: buddyBlink 3.4s infinite;
}
.buddy-eye.left { left: 17px; }
.buddy-eye.right { right: 17px; }
.buddy-mouth {
  position: absolute; left: 22px; top: 30px; width: 11px; height: 6px;
  border-bottom: 2px solid #3b2b30; border-radius: 0 0 999px 999px;
}
.buddy-mark {
  position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; line-height: 22px;
  border-radius: 8px; color: #fff; background: #ff6b4a; font-size: 11px; font-weight: 900;
  box-shadow: 0 4px 8px rgba(255,107,74,0.24);
}
.buddy-name { font-size: 12px; font-weight: 900; color: #21191a; }
.buddy-state { margin-top: 2px; color: #8a7b7f; font-size: 10px; }

@keyframes buddyFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}
@keyframes buddyBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* ── Missions ──────────────────────────────── */
.mission-list { display: flex; flex-direction: column; gap: 7px; }
.mission-card { padding: 10px; }
.mission-card.done { background: linear-gradient(135deg, #e7fff6, #fff4ce); }
.mission-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mission-title { font-size: 14px; font-weight: 900; color: #21191a; }
.mission-check {
  width: 29px; height: 29px; line-height: 29px; border-radius: 10px;
  text-align: center; color: #fff; font-size: 11px; font-weight: 900;
  background: linear-gradient(135deg, #6c63ff, #32c9b7);
}
.mission-card.done .mission-check { background: linear-gradient(135deg, #ff6b4a, #ffb84d); }
.mission-track { height: 7px; margin-top: 8px; border-radius: 999px; overflow: hidden; background: #f1e8e3; }

/* ── Meal Slots ────────────────────────────── */
.slot-grid { display: flex; gap: 7px; }
.slot-card {
  flex: 1; min-width: 0; padding: 9px 6px; border-radius: 8px;
  color: #7f6d72; background: rgba(255,255,255,0.76);
  border: 1px dashed #f2c1b2; text-align: center;
}
.slot-card.done { color: #123d39; border-style: solid; background: linear-gradient(160deg, #dffaf3, #fff4cc); }
.slot-name { font-size: 12px; font-weight: 800; }
.slot-state { margin-top: 4px; font-size: 10px; }

/* ── Macro Bars ────────────────────────────── */
.macro-list { padding: 12px; }
.macro-item + .macro-item { margin-top: 11px; }
.macro-head, .meal-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.macro-track { height: 8px; }
.macro-fill { height: 100%; background: #32c9b7; }
.macro-fill.carbs { background: #ffb84d; }
.macro-fill.fat { background: #ff6b8a; }

/* ── Advice ────────────────────────────────── */
.advice { padding: 11px 13px; }
.advice-line { line-height: 1.55; color: #263631; }
.advice-line + .advice-line { margin-top: 6px; }

/* ── Meal Cards ────────────────────────────── */
.meal-card { padding: 12px; margin-bottom: 8px; }
.meal-type { font-weight: 700; color: #21191a; }
.meal-kcal { font-weight: 800; color: #ff6b4a; }
.food-line { color: #5e5356; line-height: 1.5; }
.more-link { color: #ff6b4a; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ── Daily Question Card ───────────────────── */
.daily-card {
  padding: 16px; margin-bottom: 11px;
  background: linear-gradient(165deg, #fefefe 0%, #faf7ff 40%, #fdfcf6 100%);
  border: 1px solid rgba(108,99,255,0.08); border-radius: 10px;
  box-shadow: 0 4px 16px rgba(108,99,255,0.06);
}
.daily-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.daily-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
  border-radius: 999px; background: linear-gradient(135deg, #6c63ff, #8b83ff);
  color: #fff; font-size: 12px; font-weight: 800;
}
.daily-day { font-size: 12px; color: #9e94b8; font-weight: 700; }
.daily-done-mark {
  margin-left: auto; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(135deg, #32c9b7, #7de8d4); color: #fff; font-size: 13px; font-weight: 900;
}
.daily-question { font-size: 17px; font-weight: 800; color: #1f1635; line-height: 1.55; margin-bottom: 12px; }
.daily-textarea {
  width: 100%; min-height: 50px; padding: 12px; border-radius: 8px;
  background: #f8f6fc; border: 2px solid #ece6f9; font-size: 14px;
  line-height: 1.6; color: #1f1635; outline: none; resize: vertical; font-family: inherit;
}
.daily-textarea:focus { border-color: #6c63ff; background: #fff; box-shadow: 0 0 0 3px rgba(108,99,255,0.06); }
.daily-submit-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.daily-hint { color: #bfb8d0; }
.daily-submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 70px; height: 32px; padding: 0 16px; border-radius: 999px;
  background: linear-gradient(135deg, #6c63ff, #8b83ff); color: #fff;
  font-size: 13px; font-weight: 800; border: 0; cursor: pointer;
  box-shadow: 0 4px 10px rgba(108,99,255,0.24);
}
.daily-answered-box {
  padding: 12px; border-radius: 8px;
  background: linear-gradient(135deg, #f3f1ff, #fefaf0);
  border: 1px solid rgba(108,99,255,0.08);
}
.daily-answer-text { font-size: 15px; line-height: 1.6; color: #2d2438; font-style: italic; font-weight: 600; }
.daily-answer-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.daily-edit-link { color: #6c63ff; font-size: 12px; font-weight: 700; cursor: pointer; }
.daily-review-entry { margin-top: 12px; text-align: center; }
.daily-review-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 16px;
  border-radius: 999px; background: linear-gradient(135deg, #fff8e1, #fff3cd);
  color: #8a5a00; font-size: 13px; font-weight: 800; cursor: pointer;
  border: 1px solid rgba(255,180,50,0.2);
}
.daily-review-btn.active { background: linear-gradient(135deg, #6c63ff, #8b83ff); color: #fff; border-color: transparent; }
.daily-review-arrow { font-size: 11px; }
.daily-review-list { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.daily-review-item { padding: 11px 12px; border-radius: 8px; background: #faf9fe; border: 1px solid rgba(108,99,255,0.06); }
.daily-review-item.today { border: 2px solid rgba(108,99,255,0.18); background: linear-gradient(135deg, #f5f3ff, #fffef6); }
.daily-review-item.miss { opacity: 0.55; }
.daily-review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.daily-review-label { font-size: 11px; font-weight: 800; color: #6c63ff; }
.daily-miss-tag { font-size: 10px; color: #c4b5c8; background: #f5f1f5; padding: 1px 8px; border-radius: 999px; }
.daily-review-q { font-size: 12px; color: #6b5e80; line-height: 1.5; margin-bottom: 4px; }
.daily-review-a { font-size: 14px; color: #1f1635; font-style: italic; font-weight: 600; line-height: 1.5; padding-left: 4px; border-left: 2px solid #6c63ff; }
.daily-review-empty { font-size: 12px; color: #c4b5c8; font-style: italic; }

/* ── VIP Status ────────────────────────────── */
.vip-status-mini {
  display: flex; align-items: center; gap: 6px; padding: 8px 11px; margin-bottom: 8px;
  border-radius: 7px; background: linear-gradient(135deg, #f3f1ff, #fffef6);
  border: 1px solid rgba(108,99,255,0.1); font-size: 11px; font-weight: 700; color: #6c63ff;
}
.vip-mini-badge {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  border-radius: 5px; background: linear-gradient(135deg, #6c63ff, #8b83ff);
  color: #fff; font-size: 10px; font-weight: 900;
}
.free-low-warn {
  padding: 9px 11px; margin-bottom: 8px; border-radius: 7px;
  background: #fff8e1; border: 1px solid rgba(255,180,50,0.25);
  font-size: 12px; font-weight: 700; color: #8a5a00; text-align: center; cursor: pointer;
}

/* ── Paywall ───────────────────────────────── */
.paywall-card {
  padding: 18px 14px; margin-top: 11px; margin-bottom: 14px; text-align: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #6c63ff 0%, #8b83ff 45%, #ff9f43 100%);
}
.paywall-icon { font-size: 32px; margin-bottom: 6px; }
.paywall-title { font-size: 18px; font-weight: 900; line-height: 1.3; }
.paywall-desc { margin-top: 5px; font-size: 13px; opacity: 0.82; }
.paywall-prices { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0; }
.paywall-price-item { text-align: center; }
.paywall-price-num { font-size: 26px; font-weight: 900; line-height: 1; }
.paywall-price-item.highlight .paywall-price-num { color: #ffd45c; }
.paywall-price-label { margin-top: 3px; font-size: 11px; opacity: 0.72; }
.paywall-divider { width: 2px; height: 28px; background: rgba(255,255,255,0.3); border-radius: 2px; }
.paywall-btn {
  width: 100%; height: 44px; border-radius: 10px; background: #fff; color: #6c63ff;
  font-size: 16px; font-weight: 900; border: 0; cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════
   SCAN PAGE
   ═══════════════════════════════════════════ */

.vip-banner {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px; margin-bottom: 9px;
  background: linear-gradient(135deg, #f3f1ff, #fffef6); border: 1px solid rgba(108,99,255,0.1);
}
.vip-banner-badge {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; background: linear-gradient(135deg, #6c63ff, #8b83ff);
  color: #fff; font-size: 11px; font-weight: 900;
}
.vip-banner-text { font-size: 12px; font-weight: 700; color: #6c63ff; }
.free-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; margin-bottom: 9px; border-radius: 7px;
  background: #fff8e1; font-size: 12px; font-weight: 700; color: #8a5a00;
}
.free-upgrade {
  display: inline-flex; align-items: center; height: 22px; padding: 0 11px;
  border-radius: 999px; background: linear-gradient(135deg, #ff6b4a, #ff8a5c);
  color: #fff; font-size: 11px; font-weight: 800; cursor: pointer;
}

.scan-hero { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px; border-radius: 8px; margin-bottom: 11px; }
.scan-subtitle { margin-bottom: 0; }
.radar-badge {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; color: #fff; font-size: 16px; font-weight: 900;
  background: linear-gradient(135deg, #6c63ff, #32c9b7);
  box-shadow: 0 7px 14px rgba(86,102,255,0.2);
}

.scan-panel { display: flex; flex-direction: column; }
.photo-box {
  position: relative; height: 195px; overflow: hidden; border-radius: 8px; cursor: pointer;
}
.preview-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-empty {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #4b3438;
  background: radial-gradient(circle at 24% 22%, rgba(255,212,92,0.5), transparent 24%),
              radial-gradient(circle at 78% 18%, rgba(50,201,183,0.35), transparent 26%),
              linear-gradient(145deg, #fff4ec, #e9fffb);
}
.photo-symbol {
  width: 48px; height: 48px; line-height: 48px; text-align: center; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, #ff6b4a, #ffb84d);
  font-size: 17px; font-weight: 900; margin-bottom: 9px;
}
.photo-title { font-size: 16px; font-weight: 800; }
.photo-note { margin-top: 4px; color: #8b7b7f; font-size: 11px; }

.control-strip { display: flex; gap: 8px; margin-top: 9px; }
.select-pill {
  min-width: 95px; height: 36px; line-height: 36px; text-align: center;
  background: #fff; color: #2d2024; border: 1px solid rgba(45,31,35,0.08);
  border-radius: 8px; cursor: pointer; font-size: 13px;
}

.plugin-grid { display: flex; gap: 6px; margin-top: 9px; }
.plugin-card {
  flex: 1; min-width: 0; padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
}
.plugin-icon {
  width: 29px; height: 29px; line-height: 29px; border-radius: 10px;
  color: #fff; font-size: 11px; font-weight: 900;
}
.plugin-icon.ruler { background: linear-gradient(135deg, #32c9b7, #6c63ff); }
.plugin-icon.sauce { background: linear-gradient(135deg, #ff6b4a, #ffb84d); }
.plugin-icon.kcal { background: linear-gradient(135deg, #ff6b8a, #ffd45c); }
.plugin-title { font-size: 11px; font-weight: 900; color: #21191a; }
.plugin-text { margin-top: 2px; color: #8a7b7f; font-size: 9px; line-height: 1.3; }

/* ── Scanner Animation ─────────────────────── */
.scanner-layer {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(18,35,36,0.22); overflow: hidden;
}
.scan-ring {
  position: absolute; width: 105px; height: 105px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); animation: scanPulse 1.8s ease-out infinite;
}
.scan-ring.r2 { animation-delay: 0.6s; }
.scan-sweep {
  width: 130px; height: 130px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(50,201,183,0), rgba(50,201,183,0.8), rgba(255,212,92,0));
  animation: scanRotate 2s linear infinite; opacity: 0.72;
}
.scan-food {
  position: absolute; width: 28px; height: 28px; line-height: 28px; border-radius: 9px;
  text-align: center; color: #fff; font-size: 11px; font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a, #ffb84d);
  animation: foodPop 1.6s ease-in-out infinite;
}
.dot-a { left: 18%; top: 30%; }
.dot-b { right: 20%; top: 24%; animation-delay: 0.24s; }
.dot-c { right: 26%; bottom: 22%; animation-delay: 0.48s; }

@keyframes scanPulse {
  0% { transform: scale(0.5); opacity: 0.95; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes scanRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes foodPop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.08); }
}

/* ── Scanner Mini ──────────────────────────── */
.scanner-card {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: linear-gradient(135deg, #e9fffb, #fff1e8);
}
.scanner-mini { position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 15px; background: #fff; }
.mini-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #ff6b4a; animation: miniBounce 1s ease-in-out infinite; }
.mini-dot.d1 { left: 8px; top: 17px; }
.mini-dot.d2 { left: 17px; top: 17px; background: #32c9b7; animation-delay: 0.15s; }
.mini-dot.d3 { right: 8px; top: 17px; background: #ffb84d; animation-delay: 0.3s; }
.scanner-title { font-size: 15px; font-weight: 900; color: #21191a; }

@keyframes miniBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Scan Score ────────────────────────────── */
.scan-score { display: flex; align-items: center; gap: 9px; padding: 11px; margin-bottom: 8px; }
.confidence-title { margin-top: 2px; font-size: 15px; font-weight: 800; }
.confidence-track { flex: 1; height: 9px; border-radius: 999px; overflow: hidden; background: #f1e8e3; }
.confidence-fill { height: 100%; background: linear-gradient(90deg, #6c63ff, #32c9b7, #ffd45c); }

/* ── Food Card ─────────────────────────────── */
.food-card { padding: 12px; margin-bottom: 8px; }
.food-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.food-name { font-size: 15px; font-weight: 700; }
.delete-btn {
  width: 48px; height: 27px; padding: 0; font-size: 11px; cursor: pointer;
  color: #b42318; background: #fff0ed; border-radius: 7px; border: 0;
}
.weight-row { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.weight-input {
  width: 74px; height: 34px; padding: 0 9px; text-align: center;
  border-radius: 8px; border: 1px solid rgba(45,31,35,0.08); background: #fffaf7; font-size: 13px;
}
.step-btn {
  width: 32px; height: 32px; padding: 0; border-radius: 9px; cursor: pointer;
  color: #ff6b4a; background: #fff0e8; font-size: 16px; font-weight: 900; border: 0;
}
.nutrition-row { display: flex; flex-wrap: wrap; gap: 6px; color: #40504a; font-size: 12px; }
.nutrition-row span { width: 48%; }

/* ── Summary Bar ───────────────────────────── */
.summary-bar {
  position: sticky; bottom: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px; margin-top: 15px;
}
.summary-kcal { margin-top: 2px; font-size: 20px; font-weight: 800; color: #ff6b4a; }

/* ── Risk Box ──────────────────────────────── */
.risk-box { padding: 12px; margin-top: 9px; background: linear-gradient(135deg, #fff7de, #fff1f0); }
.risk-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.risk-line { color: #5f474b; line-height: 1.55; }
.risk-line + .risk-line { margin-top: 4px; }

/* ═══════════════════════════════════════════
   RECORDS PAGE
   ═══════════════════════════════════════════ */

.digest-row { display: flex; gap: 8px; margin-top: 9px; }
.digest-card { flex: 1; min-width: 0; padding: 11px; border-radius: 8px; }
.digest-label { font-size: 11px; color: rgba(33,25,26,0.62); }
.color-card .digest-label { color: rgba(255,255,255,0.76); }
.digest-value { margin-top: 4px; font-size: 16px; font-weight: 900; }

.filter-row { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 9px; }
.filter-pill {
  flex-shrink: 0; min-width: 54px; height: 29px; line-height: 29px; text-align: center; cursor: pointer;
  border-radius: 999px; color: #68585d; background: rgba(255,255,255,0.76);
  border: 1px solid rgba(45,31,35,0.08); font-size: 12px;
}
.filter-pill.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff6b4a, #ffb84d); }

/* ── Theater ───────────────────────────────── */
.theater-strip { display: flex; gap: 7px; overflow-x: auto; }
.theater-card { flex: 0 0 118px; padding: 10px; text-align: center; }
.mini-plate {
  position: relative; width: 59px; height: 59px; margin: 0 auto 7px; border-radius: 50%;
  background: linear-gradient(145deg, #fff, #fff4e8); border: 4px solid #f1e7e2;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.9);
  animation: plateWiggle 3s ease-in-out infinite;
}
.plate-core { position: absolute; left: 17px; top: 17px; width: 17px; height: 17px; border-radius: 50%; background: #ffd45c; }
.plate-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; }
.plate-dot.a { left: 13px; top: 15px; background: #32c9b7; }
.plate-dot.b { right: 14px; top: 14px; background: #ff6b4a; }
.plate-dot.c { left: 24px; bottom: 12px; background: #6c63ff; }
.mini-plate.plate-hot { border-color: #ffd3c8; }
.mini-plate.plate-hot .plate-core { background: #ff6b4a; }
.mini-plate.plate-strong { border-color: #c8fff1; }
.mini-plate.plate-strong .plate-core { background: #32c9b7; }
.mini-plate.plate-lens .plate-core { background: #21191a; box-shadow: 0 0 0 5px #6c63ff; }
.theater-title { font-size: 12px; font-weight: 900; color: #21191a; }
.theater-line { margin-top: 4px; color: #7a6f74; font-size: 10px; line-height: 1.4; }

@keyframes plateWiggle {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-4px); }
}

/* ── Record Card ───────────────────────────── */
.record-card { padding: 12px; margin-bottom: 9px; }
.record-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 9px; gap: 9px; }
.record-title { font-size: 15px; font-weight: 800; color: #21191a; }
.score-bubble {
  width: 55px; height: 46px; flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; border-radius: 9px;
  color: #fff; background: linear-gradient(135deg, #6c63ff, #32c9b7);
}
.score-bubble div { font-size: 15px; font-weight: 900; line-height: 1; }
.score-bubble span { margin-top: 3px; font-size: 9px; }
.record-foods { background: #f8faf9; border-radius: 8px; padding: 8px; }
.food-row { display: flex; justify-content: space-between; gap: 8px; line-height: 1.6; }
.food-row + .food-row { margin-top: 4px; }
.macro-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; color: #40504a; font-size: 12px; }
.record-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; }

/* ═══════════════════════════════════════════
   REPORT PAGE
   ═══════════════════════════════════════════ */

.report-hero { padding: 15px; border-radius: 8px; margin-bottom: 11px; }
.report-label { color: rgba(255,255,255,0.72); font-size: 12px; }
.report-title { margin-top: 4px; font-size: 24px; font-weight: 900; line-height: 1.25; }
.report-note { margin-top: 6px; color: rgba(255,255,255,0.8); line-height: 1.45; }

.insight-grid { display: flex; gap: 7px; margin-top: 8px; }
.insight-card { flex: 1; min-width: 0; padding: 9px; }
.insight-label { color: #7a6f74; font-size: 11px; }
.insight-value { margin-top: 4px; font-size: 16px; font-weight: 900; color: #21191a; }
.insight-note { margin-top: 4px; color: #ff6b4a; font-size: 10px; line-height: 1.35; }

.badge-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.badge-card { width: calc(50% - 3.5px); padding: 11px; text-align: center; opacity: 0.55; }
.badge-card.unlocked {
  opacity: 1;
  background: radial-gradient(circle at 22% 16%, rgba(255,212,92,0.24), transparent 30%), #fff;
}
.badge-icon {
  position: relative; width: 41px; height: 41px; margin: 0 auto 6px;
  border-radius: 14px; background: linear-gradient(135deg, #d8d4df, #f1edf4);
}
.badge-card.unlocked .badge-icon { animation: badgePop 2.6s ease-in-out infinite; }
.badge-card.unlocked .badge-camera { background: linear-gradient(135deg, #ff6b4a, #ffb84d); }
.badge-card.unlocked .badge-fire { background: linear-gradient(135deg, #ff6b8a, #ffd45c); }
.badge-card.unlocked .badge-protein { background: linear-gradient(135deg, #32c9b7, #6c63ff); }
.badge-card.unlocked .badge-chart { background: linear-gradient(135deg, #6c63ff, #ff8a5c); }
.badge-icon::after {
  content: ""; position: absolute; left: 12px; top: 12px;
  width: 17px; height: 17px; border-radius: 6px; background: rgba(255,255,255,0.9);
}
.badge-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.badge-spark.s1 { left: 6px; top: 7px; }
.badge-spark.s2 { right: 6px; bottom: 7px; }
.badge-title { font-size: 13px; font-weight: 900; color: #21191a; }
.badge-desc { margin-top: 3px; color: #7a6f74; font-size: 10px; }

@keyframes badgePop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

/* ── Bar Chart ─────────────────────────────── */
.trend { height: 165px; display: flex; align-items: end; gap: 5px; padding: 11px 9px 9px; }
.bar-item { flex: 1; min-width: 0; text-align: center; }
.bar-wrap { height: 95px; display: flex; align-items: flex-end; justify-content: center; background: #f5ece8; border-radius: 8px; overflow: hidden; }
.bar-fill { width: 100%; min-height: 3px; background: linear-gradient(180deg, #ff6b4a, #ffd45c); }
.bar-kcal { margin-top: 4px; font-size: 11px; font-weight: 700; color: #21191a; }
.bar-label { margin-top: 2px; font-size: 10px; color: #7a6f74; }

.macro-total { margin-top: 8px; padding: 4px 12px; }
.macro-total-item { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #edf1ee; }
.macro-total-item:last-child { border-bottom: 0; }
.macro-total-item > span { flex-shrink: 0; font-size: 16px; font-weight: 900; }
.macro-total-item.protein > span { color: #32c9b7; }
.macro-total-item.carbs > span { color: #ff9f43; }
.macro-total-item.fat > span { color: #ff6b8a; }

/* ═══════════════════════════════════════════
   PROFILE PAGE
   ═══════════════════════════════════════════ */

.vip-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; margin-bottom: 11px; border-radius: 8px;
  background: linear-gradient(135deg, #faf9ff, #fffef6);
  border: 1px solid rgba(108,99,255,0.08);
}
.vip-card.no-vip { background: #fefefe; cursor: pointer; }
.vip-card-left { display: flex; align-items: center; gap: 8px; }
.vip-card-badge {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; color: #fff; font-size: 15px; font-weight: 900;
}
.vip-card-badge.lifetime { background: linear-gradient(135deg, #ffb84d, #ff6b4a); }
.vip-card-badge.monthly { background: linear-gradient(135deg, #6c63ff, #8b83ff); }
.vip-card-badge.free { background: linear-gradient(135deg, #bfb8c5, #8a7b8f); font-size: 12px; }
.vip-card-name { font-size: 14px; font-weight: 900; color: #1f1635; }
.vip-card-expiry { margin-top: 2px; font-size: 11px; color: #8a7b8f; }
.vip-upgrade-btn {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; cursor: pointer;
  border-radius: 999px; background: linear-gradient(135deg, #ff6b4a, #ff8a5c);
  color: #fff; font-size: 11px; font-weight: 800;
}

.login-card { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px; border-radius: 8px; margin-bottom: 11px; }
.login-copy { flex: 1; min-width: 0; }
.login-title { font-size: 18px; font-weight: 900; line-height: 1.25; }
.login-text { margin-top: 5px; color: rgba(255,255,255,0.78); line-height: 1.45; font-size: 12px; }
.login-form { padding: 14px; margin-bottom: 11px; }
.login-form-row { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-bottom: 1px solid #edf1ee; }
.login-form-label { font-weight: 700; color: #21191a; font-size: 14px; }
.avatar-picker { cursor: pointer; background: none; border: 0; padding: 0; }
.temp-avatar { width: 48px; height: 48px; border-radius: 13px; object-fit: cover; }
.temp-avatar.fallback {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: #fff; font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, #ff6b4a, #6c63ff);
}
.login-nickname-input { flex: 1; text-align: right; color: #21191a; font-size: 14px; border: 0; outline: none; background: transparent; }
.save-login { margin-top: 14px; width: 100%; }

.user-card { display: flex; align-items: center; gap: 9px; padding: 11px; margin-bottom: 11px; }
.avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; object-fit: cover; }
.avatar.fallback {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a, #6c63ff);
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 16px; font-weight: 900; color: #21191a; }
.logout-btn {
  width: 56px; height: 30px; padding: 0; border-radius: 999px; cursor: pointer;
  color: #7a6f74; background: #f7f0ec; font-size: 11px; border: 0;
}

.profile-hero { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 14px; border-radius: 8px; margin-bottom: 11px; }
.profile-subtitle { margin-bottom: 0; }
.profile-mark {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 15px; color: #fff; font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a, #6c63ff);
}

.target-card { padding: 17px; text-align: center; }
.target-kcal { font-size: 32px; font-weight: 900; color: #ff6b4a; }
.target-grid { display: flex; gap: 7px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e6ece8; }
.target-grid > div { flex: 1; min-width: 0; }
.target-num { font-size: 15px; font-weight: 800; color: #21191a; }

.bio-grid { display: flex; gap: 8px; margin-top: 9px; }
.bio-card { flex: 1; min-width: 0; padding: 11px; }
.bio-label { color: #7a6f74; font-size: 11px; }
.bio-value { margin-top: 4px; font-size: 18px; font-weight: 900; color: #32c9b7; }

.mode-strip { display: flex; gap: 7px; overflow-x: auto; margin-top: 8px; }
.mode-card {
  flex-shrink: 0; min-width: 80px; padding: 11px 10px; border-radius: 8px; cursor: pointer;
  text-align: center; color: #6b5d61; background: rgba(255,255,255,0.76);
  border: 1px solid rgba(45,31,35,0.08); font-size: 13px;
}
.mode-card.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #32c9b7, #6c63ff); }

.helper-grid { display: flex; gap: 7px; overflow-x: auto; }
.helper-card { flex: 0 0 95px; padding: 10px; position: relative; overflow: hidden; }
.helper-card.active { background: linear-gradient(145deg, #fff, #e9fffb); }
.helper-mark {
  width: 31px; height: 31px; line-height: 31px; text-align: center; border-radius: 11px;
  color: #fff; font-size: 12px; font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a, #ffb84d);
  animation: helperFloat 2.8s ease-in-out infinite;
}
.helper-title { margin-top: 7px; font-size: 13px; font-weight: 900; color: #21191a; }
.helper-text { margin-top: 4px; min-height: 30px; color: #7a6f74; font-size: 10px; line-height: 1.4; }
.helper-switch {
  display: inline-flex; align-items: center; height: 21px; margin-top: 6px; padding: 0 8px;
  border-radius: 999px; color: #ff6b4a; background: #fff1e8; font-size: 10px; font-weight: 900;
}

@keyframes helperFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}

.form { margin-top: 8px; padding: 0 12px; }
.form-row {
  min-height: 46px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-bottom: 1px solid #edf1ee; cursor: pointer; font-size: 14px;
}
.form-row:last-child { border-bottom: 0; }
.form-row input {
  flex: 1; text-align: right; color: #21191a; border: 0; outline: none;
  background: transparent; font-size: 14px; max-width: 120px;
}
.save-profile { margin-top: 15px; width: 100%; }
.notice { margin-top: 12px; color: #6b7280; line-height: 1.55; font-size: 11px; }

/* ═══════════════════════════════════════════
   PAY PAGE
   ═══════════════════════════════════════════ */

.pay-hero { text-align: center; padding: 24px 14px 16px; }
.pay-hero-icon { font-size: 40px; margin-bottom: 10px; }
.pay-hero-title { font-size: 20px; font-weight: 900; color: #1f1635; line-height: 1.3; }
.pay-hero-desc { margin-top: 7px; color: #8a7b8f; font-size: 14px; }

.free-bar { margin: 0 14px 14px; padding: 12px; }
.free-bar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.free-count { color: #6c63ff; }
.free-track { height: 7px; border-radius: 999px; background: #f1e8f0; overflow: hidden; }
.free-fill { height: 100%; background: linear-gradient(90deg, #6c63ff, #32c9b7); border-radius: 999px; transition: width 0.4s ease; }

.vip-active-card {
  margin: 0 14px 14px; padding: 14px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #f3f1ff, #fffef6); border: 2px solid rgba(108,99,255,0.14); border-radius: 8px;
}
.vip-active-badge {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; color: #fff; font-size: 18px; font-weight: 900;
  background: linear-gradient(135deg, #6c63ff, #8b83ff);
}
.vip-active-info { flex: 1; }
.vip-active-name { font-size: 16px; font-weight: 900; color: #1f1635; }
.vip-active-expiry { margin-top: 3px; color: #6c63ff; font-size: 12px; font-weight: 700; }
.vip-active-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px;
  border-radius: 999px; background: #e7fff6; color: #08796d; font-size: 11px; font-weight: 800;
}

.plan-section { padding: 0 14px; }
.plan-section .section-title { margin-bottom: 9px; font-size: 16px; }
.plan-card {
  display: flex; align-items: center; gap: 9px; padding: 14px 12px; margin-bottom: 8px;
  position: relative; border: 2px solid transparent; cursor: pointer; transition: all 0.2s;
}
.plan-card.selected {
  border-color: #6c63ff; background: linear-gradient(135deg, #faf9ff, #fffef6);
  box-shadow: 0 4px 14px rgba(108,99,255,0.12);
}
.plan-check {
  position: absolute; top: -1px; right: -1px; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 8px 0 10px; background: linear-gradient(135deg, #6c63ff, #8b83ff);
  color: #fff; font-size: 14px; font-weight: 900;
}
.plan-badge {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 12px; font-size: 17px; font-weight: 900;
  color: #fff; background: linear-gradient(135deg, #6c63ff, #ff6b4a);
}
.plan-card:last-child .plan-badge { background: linear-gradient(135deg, #ff6b4a, #ffb84d); }
.plan-body { flex: 1; min-width: 0; }
.plan-name { font-size: 16px; font-weight: 900; color: #1f1635; }
.plan-desc { margin-top: 3px; font-size: 12px; color: #8a7b8f; line-height: 1.4; }
.plan-price-col { flex-shrink: 0; text-align: right; }
.plan-price { font-size: 22px; font-weight: 900; color: #ff6b4a; line-height: 1; }
.plan-duration { margin-top: 2px; font-size: 11px; color: #8a7b8f; }

.pay-action { padding: 16px 14px; text-align: center; }
.pay-error { margin-bottom: 8px; padding: 8px 12px; border-radius: 6px; background: #fff0ed; color: #b42318; font-size: 12px; }
.pay-btn {
  width: 100%; height: 50px; border-radius: 12px; color: #fff; font-size: 17px; font-weight: 900; cursor: pointer;
  background: linear-gradient(135deg, #ff6b4a, #ff8a5c); border: 0;
  box-shadow: 0 7px 16px rgba(255,107,74,0.28);
}
.pay-btn.loading { opacity: 0.7; pointer-events: none; }
.pay-btn.local {
  margin-top: 8px; background: linear-gradient(135deg, #6c63ff, #8b83ff);
  box-shadow: 0 7px 16px rgba(108,99,255,0.28); font-size: 14px;
}
.pay-safe { margin-top: 9px; color: #bfb8c5; font-size: 11px; }

.benefit-section { padding: 14px; }
.benefit-section .section-title { margin-bottom: 9px; font-size: 16px; }
.benefit-list { display: flex; flex-direction: column; gap: 7px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px;
  border-radius: 8px; background: #fff; border: 1px solid rgba(45,31,35,0.06);
}
.benefit-icon { font-size: 20px; flex-shrink: 0; }
.benefit-title { font-size: 14px; font-weight: 800; color: #1f1635; }
.benefit-desc { margin-top: 2px; font-size: 12px; color: #8a7b8f; }

.pay-footer { padding: 14px; text-align: center; }
.pay-footer-text { color: #bfb8c5; font-size: 11px; line-height: 1.5; }

/* ── Responsive ────────────────────────────── */
@media (min-width: 431px) {
  #app {
    border-left: 1px solid rgba(0,0,0,0.06);
    border-right: 1px solid rgba(0,0,0,0.06);
  }
}

@media (max-width: 360px) {
  #page-container { padding: 10px 10px 70px; }
  .page-title { font-size: 20px; }
}
