/* ============================================================
   VƯỜN TÂM HỒN — LỚP DIỆN MẠO "TẠP CHÍ / SỔ TAY" (đè lên skin gốc)
   Hai tầng:  • Ngày thường = nền kem ấm (mặc định, gần như toàn app)
              • Nghi thức   = nền rêu sâu (Rút thẻ + Hít thở)
   Chỉ đổi GIAO DIỆN — không đụng logic. Nạp SAU <style> nội tuyến.
   ============================================================ */

/* ---------- Nền giấy ấm + vân nhẹ rõ hơn ---------- */
body, .app { background: #F1EBDD; }
.grain { opacity: .65; }

/* ---------- Nhịp chữ tạp chí: to, thoáng, tương phản cao ---------- */
.pagetitle { font-size: 38px; font-weight: 500; line-height: 1.08; letter-spacing: .2px; }
.greet h1 { font-size: 40px; line-height: 1.12; }
.eyebrow { letter-spacing: 3px; }
.seed-name h2 { font-size: 30px; }
.seed-quote { font-size: 21px; line-height: 1.6; }
/* nội dung dễ đọc cho cha mẹ lớn tuổi */
.cb-body { font-size: 15.5px; line-height: 1.72; color: var(--nau-dat); }
.cb-body.ital { font-size: 17px; line-height: 1.6; }

/* ---------- Đường kẻ vàng MẢNH thay khung đậm ---------- */
.divider .line { background: linear-gradient(90deg, transparent, rgba(196,155,90,.55), transparent); height: 1px; }
.divider span { color: var(--nau-go); }

/* ---------- Thẻ mềm, bóng nhẹ ---------- */
.seed-card { border-radius: 30px; border-color: rgba(196,155,90,.25); box-shadow: 0 24px 50px -28px var(--bong); padding: 26px; }

/* ---------- Nút chính: viên thuốc tạp chí ---------- */
.big-btn { border-radius: 999px; letter-spacing: .3px; box-shadow: 0 16px 30px -12px rgba(149,110,66,.55); }
.ghost-btn { border-radius: 999px; border-color: rgba(196,155,90,.4); }

/* ---------- Bottom bar KÍNH MỜ ---------- */
.tabbar {
  background: rgba(250, 249, 245, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-top: 1px solid rgba(196,155,90,.22);
}

/* ============================================================
   MÀN HÔM NAY — "BÌA SỐ TẠP CHÍ"
   ============================================================ */
.masthead {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 4px; padding-bottom: 14px;
}
.masthead::before, .masthead::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(196,155,90,.5)); }
.masthead::after { background: linear-gradient(90deg, rgba(196,155,90,.5), transparent); }
.mh-brand { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--xanh-reu); white-space: nowrap; }
.mh-meta { display: none; }
.masthead-sub { text-align: center; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--vang); font-weight: 600; margin: -6px 0 6px; }

/* Bìa số — tập trung 1 tiêu điểm, không chi phối */
.today-cover { text-align: center; padding: 6px 4px 4px; }
.tc-greet { display: block; color: var(--vang); }
.tc-title { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--xanh-reu); margin-top: 12px; }
.tc-title em { font-style: italic; color: var(--nau-go); }
.tc-rule { width: 42px; height: 1px; background: var(--vang); margin: 24px auto; }
.tc-label { display: block; color: var(--vang); }
.tc-deck { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nau-go); font-weight: 600; background: rgba(196,155,90,.12); border: 1px solid rgba(196,155,90,.25); padding: 4px 12px; border-radius: 20px; }
.tc-apple { display: flex; justify-content: center; margin: 20px 0 4px; }
.tc-apple svg { width: 66px; height: 66px; }
.tc-name { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.02; color: var(--xanh-reu); margin-top: 8px; }
.tc-en { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--vang); margin-top: 4px; }
.tc-whisper { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--nau-dat); margin: 20px auto 8px; max-width: 320px; }
.tc-open { max-width: 320px; margin-left: auto; margin-right: auto; }
.tc-hint { display: block; margin: 14px auto 0; background: none; border: none; color: var(--nau-dat-nhat); font-family: var(--sans); font-size: 13px; cursor: pointer; }

/* ============================================================
   BỘ SƯU TẬP (VƯỜN) — lưới 3 cột, 1 nhóm/màn, kiểu sổ tay
   ============================================================ */
.mag-sub { font-size: 14.5px; line-height: 1.55; color: var(--nau-dat); margin-top: 8px; max-width: 300px; }

/* tiến độ tổng */
.garden-total { margin: 16px 0 4px; }
.garden-total .gt-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.garden-total .gt-label { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--nau-dat-nhat); font-weight: 600; }
.garden-total .gt-num { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--xanh-reu); }
.garden-total .gt-bar { height: 5px; border-radius: 5px; background: rgba(149,110,66,.16); overflow: hidden; }
.garden-total .gt-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--vang-sang), var(--vang)); transition: width .8s ease; }

/* tiêu đề nhóm */
.grp-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 2px 4px; gap: 12px; }
.grp-head .gh-name { font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 600; }
.grp-head .gh-meta { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--nau-dat-nhat); font-weight: 600; white-space: nowrap; }

/* ô hạt: GIỮ khung thẻ trắng (kiểu cũ, nhìn đầy đặn) + tên serif */
.seed-grid { gap: 12px; margin-top: 14px; }
.seed-cell { box-shadow: 0 10px 22px -16px var(--bong); }
.seed-cell .nm { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--nau-dat); margin-top: 2px; }
/* KHÔNG làm mờ hạt chưa mở — để lưới luôn rõ màu, tươi tắn */
.seed-cell.locked { opacity: 1; }

/* ============================================================
   CHI TIẾT HẠT GIỐNG — "TRANG TẠP CHÍ"
   ============================================================ */
#s-seed .seed-quote, .mag-pullquote {
  font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.5;
  color: var(--nau-dat); text-align: center; padding: 18px 6px; position: relative;
}

/* ============================================================
   TẦNG NGHI THỨC — RÚT THẺ (mặt trước thẻ nội tâm = nền tối, táo phát sáng)
   ============================================================ */
.card-front {
  background: linear-gradient(168deg, #45523A 0%, #2b331f 100%) !important;
  border: 1px solid rgba(216,182,121,.28) !important;
  box-shadow: 0 30px 60px -26px rgba(20,26,14,.7) !important;
}
.card-front .cf-top { color: var(--vang-sang); }
.card-front .cf-name { color: #FAF9F5; }
.card-front .cf-en { color: var(--vang-sang); }
.card-front .cf-whisper { color: rgba(250,249,245,.94); }
.card-front .cf-foot { color: var(--vang-sang); }
.card-front .cf-icon svg { filter: drop-shadow(0 0 18px rgba(216,182,121,.65)); }

/* màn rút thẻ úp (chưa rút) cũng mang không khí nghi thức */
.ic-facedown {
  background:
    radial-gradient(120% 80% at 50% 18%, rgba(216,182,121,.22), transparent 55%),
    linear-gradient(168deg, #45523A, #2b331f) !important;
  border: 1px solid rgba(216,182,121,.3) !important;
}
.ic-facedown .fd-q { color: rgba(250,249,245,.92) !important; }
.ic-facedown .fd-seed svg { filter: drop-shadow(0 0 16px rgba(216,182,121,.6)); }

/* ============================================================
   CHI TIẾT SỔ TAY — kẻ lề trái mảnh ở danh sách
   ============================================================ */
.menu-item { border-bottom-color: rgba(196,155,90,.18); }
#s-account .menu { border-left: 1px solid rgba(196,155,90,.28); border-radius: 0 18px 18px 0; }

/* số thứ tự / số trang bằng serif (lịch sử thẻ) */
.ic-row .rn { font-size: 19px; }

/* ============================================================
   I-MAP LITE — Năng lượng mỗi ngày
   ============================================================ */
.imap-intro { font-size: 15px; line-height: 1.65; color: var(--nau-dat); margin: 6px 0 18px; }
.imap-lb { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--nau-dat-nhat); font-weight: 600; margin: 14px 0 6px; }
.imap-in { width: 100%; padding: 13px 15px; border: 1px solid var(--vien); border-radius: 14px; background: var(--trang-nga); font-family: var(--sans); font-size: 16px; color: var(--nau-dat); }
.imap-div { height: 1px; background: var(--vien); margin: 18px 0 4px; }

/* Thanh chọn người trong gia đình (nhiều con · chồng/vợ) */
.imap-switch { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.imap-switch::-webkit-scrollbar { display: none; }
.imap-mem { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 76px; padding: 11px 12px 9px; border-radius: 18px; cursor: pointer;
  background: var(--trang-nga); border: 1px solid var(--vien); color: var(--nau-dat-nhat); transition: transform .18s var(--ease,ease), box-shadow .18s, border-color .18s, background .18s; }
.imap-mem:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px var(--bong); }
.imap-mem-ic { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--kem); border: 1px solid var(--vien); color: var(--xanh-reu); }
.imap-mem-nm { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--nau-dat); max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imap-mem-tag { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--nau-dat-nhat); font-weight: 600; }
.imap-mem.on { background: linear-gradient(165deg, #586349, #424b34); border-color: transparent; box-shadow: 0 16px 30px -16px rgba(82,93,65,.7); }
.imap-mem.on .imap-mem-nm { color: var(--trang-nga); }
.imap-mem.on .imap-mem-tag { color: var(--vang-sang); }
.imap-mem.on .imap-mem-ic { background: rgba(255,255,255,.14); border-color: rgba(216,182,121,.5); color: var(--vang-sang); }
.imap-mem-add { border-style: dashed; border-color: rgba(196,155,90,.5); color: var(--vang); justify-content: center; }
.imap-mem-add .imap-mem-ic { background: transparent; border-color: rgba(196,155,90,.45); color: var(--vang); }
.imap-mem-add .imap-mem-nm { color: var(--vang); }

/* Bộ chọn quan hệ trong form (Cha/Mẹ · Con · Chồng/Vợ) */
.imrel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 2px; }
.imrel-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 13px 6px; border-radius: 16px; cursor: pointer;
  background: var(--trang-nga); border: 1px solid var(--vien); color: var(--nau-dat-nhat); font-family: var(--sans); font-size: 13px; font-weight: 600; transition: border-color .18s, background .18s, color .18s, transform .18s; }
.imrel-btn svg { stroke: var(--xanh-reu); }
.imrel-btn:hover { transform: translateY(-1px); border-color: rgba(196,155,90,.5); }
.imrel-btn.on { background: linear-gradient(160deg, #fbf7ee, #f1e6d2); border-color: rgba(196,155,90,.6); color: var(--xanh-reu); box-shadow: 0 12px 24px -16px var(--bong); }
.imrel-btn.on svg { stroke: var(--nau-go); }

/* Sửa thông tin — nút nhỏ kín đáo (không chi phối việc đọc) */
.imap-editrow { text-align: center; margin-top: 14px; }
.imap-edit-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--nau-dat-nhat); padding: 6px 12px; border-radius: 12px; }
.imap-edit-link svg { stroke: var(--vang); }
.imap-edit-link:hover { color: var(--xanh-reu); background: rgba(196,155,90,.08); }
/* Xoá — nằm trong trang Sửa, nhỏ & nhạt (việc hiếm, tránh bấm nhầm) */
.imap-del-link { display: block; margin: 20px auto 0; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; color: #b06a5a; text-decoration: underline; text-underline-offset: 3px; }
.imap-del-link:hover { color: #8f4d40; }

/* Năng lượng hôm nay — móc câu */
.imap-energy { margin-top: 6px; text-align: center; border-radius: 28px; padding: 30px 24px 28px;
  background: linear-gradient(165deg, #586349, #424b34); color: var(--trang-nga);
  box-shadow: 0 22px 44px -22px rgba(82,93,65,.7); position: relative; overflow: hidden; }
.imap-energy::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(216,182,121,.35), transparent 70%); }
.ie-eyebrow { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--vang-sang); font-weight: 600; position: relative; }
.ie-num { font-family: var(--serif); font-size: 64px; font-weight: 600; line-height: 1; margin: 8px 0 2px; position: relative; }
.ie-name { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--vang-sang); position: relative; }
.ie-msg { font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 320px; margin-left: auto; margin-right: auto; position: relative; }

.imap-ruling { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--xanh-reu); background: rgba(196,155,90,.12); border: 1px solid rgba(196,155,90,.3); padding: 4px 14px; border-radius: 20px; }
.imap-text { font-size: 15px; line-height: 1.7; color: var(--nau-dat); margin-top: 12px; }
.imap-lb2 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vang); font-weight: 600; margin: 16px 0 8px; }
.imap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.imap-chip { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--xanh-reu); background: var(--kem); border: 1px solid var(--vien); padding: 7px 14px; border-radius: 20px; }

.imap-upsell { margin-top: 26px; border-radius: 26px; padding: 24px 22px; background: linear-gradient(160deg, #fbf7ee, #f1e6d2); border: 1px solid rgba(196,155,90,.35); box-shadow: 0 18px 36px -22px var(--bong); }
.imap-upsell .iu-t { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--xanh-reu); }
.imap-upsell .iu-s { font-size: 14px; line-height: 1.6; color: var(--nau-dat); margin-top: 8px; }
.imap-upsell .iu-btn { margin-top: 16px; text-decoration: none; }

/* ---------- Landing bán I-MAP (AIDA · taste-skill) ---------- */
/* Nút CTA dùng chung 1 nhãn, 1 kiểu pill, tương phản cao */
.sell-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 24px; min-width: 248px; padding: 16px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--vang-sang), var(--nau-go));
  color: var(--trang-nga); font-family: var(--sans); font-weight: 600; font-size: 16px;
  text-decoration: none; box-shadow: 0 16px 30px -12px rgba(149,110,66,.55);
  transition: transform .15s;
}
.sell-btn:active { transform: scale(.97); }

/* ATTENTION — manifesto hero */
.sell-hero { text-align: center; padding: 14px 6px 6px; }
.sell-mark { display: flex; justify-content: center; margin-bottom: 16px; }
.sell-mark svg { filter: drop-shadow(0 10px 20px rgba(149,110,66,.28)); }
.sell-hero .eyebrow { display: block; }
.sell-h1 { font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1.14; color: var(--xanh-reu); margin-top: 12px; }
.sell-h1 em { font-style: italic; color: var(--nau-go); display: inline-block; padding-bottom: 2px; }
.sell-lead { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--nau-dat); margin: 16px auto 0; max-width: 300px; }

/* INTEREST — key / value reveal (không kẻ viền mọi dòng kiểu spec) */
.sell-sec { margin-top: 40px; }
.sell-p { font-size: 16.5px; line-height: 1.75; color: var(--nau-dat); }
.sell-h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.22; color: var(--xanh-reu); margin-top: 20px; }
.sell-h2c { text-align: center; }
.sell-reveal { list-style: none; margin-top: 14px; }
.sell-reveal li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--vien); }
.sell-reveal li:last-child { border-bottom: none; }
.sell-reveal .sr-k { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--nau-go); flex: 0 0 86px; }
.sell-reveal .sr-v { font-size: 15px; line-height: 1.5; color: var(--nau-dat); flex: 1; }

/* DESIRE — panel kem-vàng */
.sell-desire { margin-top: 40px; background: linear-gradient(160deg, #fbf7ee, #f1e6d2); border: 1px solid rgba(196,155,90,.3); border-radius: 26px; padding: 26px 22px 24px; }
.sell-benefits { list-style: none; margin-top: 14px; }
.sell-benefits li { position: relative; padding: 9px 0 9px 30px; font-size: 15.5px; line-height: 1.6; color: var(--nau-dat); }
.sell-benefits li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--xanh-reu); font-weight: 700; }
.sell-quote { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--xanh-reu); text-align: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--vien); }

/* ACTION */
.sell-cta { margin-top: 44px; text-align: center; padding-bottom: 8px; }
.sell-cta-t { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.18; color: var(--xanh-reu); }
.sell-cta-s { font-size: 15px; line-height: 1.6; color: var(--nau-dat); margin-top: 10px; }

/* ---------- Xem trước bản đồ I-MAP (preview) ---------- */
.imap-prev { margin-top: 26px; border-radius: 26px; padding: 22px; background: var(--trang-nga); border: 1px solid rgba(196,155,90,.3); box-shadow: 0 18px 36px -24px var(--bong); }
.ip-cap { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--vang); font-weight: 600; text-align: center; }
.ip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; max-width: 216px; margin: 14px auto 16px; }
.ip-grid .bc-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--vien); border-radius: 12px; background: var(--kem); font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--xanh-reu); letter-spacing: 1px; }
.ip-grid .bc-dot { color: rgba(124,106,90,.35); }
.ip-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--vien); }
.ip-line .ip-lb { font-size: 13px; color: var(--nau-dat-nhat); font-weight: 600; }
.ip-line .ip-val { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--xanh-reu); text-align: right; }
.ip-locked { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--kem); }
.ip-locked-cap { font-size: 12px; font-weight: 600; color: var(--nau-go); margin-bottom: 8px; }
.ip-lk { font-size: 13.5px; color: var(--nau-dat-nhat); padding: 6px 0; filter: blur(.5px); opacity: .7; }

/* ---------- Mục KHÁC BIỆT ---------- */
.sell-diff { list-style: none; margin-top: 16px; }
.sell-diff li { padding: 4px 0 4px 16px; border-left: 2px solid var(--vang); margin-bottom: 14px; font-size: 15.5px; line-height: 1.62; color: var(--nau-dat); }
.sell-diff li b { color: var(--xanh-reu); font-weight: 600; }

/* ---------- Ảnh bản đồ I-MAP thật (hé lộ) ---------- */
.imap-shot { position: relative; margin-top: 22px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(196,155,90,.3); box-shadow: 0 22px 44px -26px var(--bong); max-height: 460px; }
.imap-shot img { width: 100%; display: block; }
.imap-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to bottom, transparent, #F1EBDD); pointer-events: none; }
.imap-shot-cap { text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--nau-dat-nhat); margin-top: 10px; }

/* ---------- Thư viện Audio: mục gập/mở (accordion) ---------- */
.audio-group { margin-top: 0; }
.agh { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--trang-nga); border: 1px solid var(--vien); border-radius: 18px; padding: 15px 18px; margin-top: 12px; cursor: pointer; font-family: var(--sans); text-align: left; transition: background .15s; }
.agh:active { background: var(--kem); }
.agh-t { flex: 1; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--xanh-reu); line-height: 1.25; }
.agh-c { font-size: 12px; color: var(--nau-dat-nhat); font-weight: 600; white-space: nowrap; }
.agh-x { width: 9px; height: 9px; flex: 0 0 auto; border-right: 2px solid var(--nau-go); border-bottom: 2px solid var(--nau-go); transform: rotate(45deg); transition: transform .25s; margin-left: 2px; margin-bottom: 3px; }
.audio-group.open .agh-x { transform: rotate(225deg); margin-bottom: -1px; }
.audio-group .agbody { display: none; padding: 4px 2px 6px; }
.audio-group.open .agbody { display: block; animation: fade .3s ease both; }

/* Mục quản trị gập/mở */
.adm-sec { margin-top: 12px; }
.adm-h { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--trang-nga); border: 1px solid var(--vien); border-radius: 18px; padding: 16px 18px; cursor: pointer; font-family: var(--sans); text-align: left; transition: background .15s; }
.adm-h:active { background: var(--kem); }
.adm-t { flex: 1; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--xanh-reu); line-height: 1.25; }
.adm-h .agh-x { margin-left: 2px; margin-bottom: 3px; }
.adm-sec.open .agh-x { transform: rotate(225deg); margin-bottom: -1px; }
.adm-body { display: none; padding: 14px 2px 6px; }
.adm-sec.open .adm-body { display: block; animation: fade .3s ease both; }

/* Tấm trợ giúp VFC (Zalo / gọi điện) */
.help-scrim { position: absolute; inset: 0; z-index: 120; background: rgba(40, 34, 26, .5); display: none; align-items: flex-end; justify-content: center; }
.help-scrim.open { display: flex; animation: fade .2s ease both; }
.help-card { width: 100%; max-width: 480px; background: var(--trang-nga, #fbf7ef); border-radius: 26px 26px 0 0; padding: 14px 22px calc(26px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 40px -10px rgba(0,0,0,.3); animation: helpUp .32s cubic-bezier(.16,1,.3,1) both; }
@keyframes helpUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.help-grip { width: 42px; height: 5px; border-radius: 99px; background: var(--vien, #e3d8c5); margin: 0 auto 16px; }
.help-eyebrow { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nau-dat-nhat, #8a7a5e); }
.help-title { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--xanh-reu, #525d41); margin-top: 6px; line-height: 1.2; }
.help-sub { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--nau-dat-nhat, #7a6b50); margin: 8px 0 18px; }
.help-btn { display: flex; align-items: center; gap: 14px; text-decoration: none; border-radius: 18px; padding: 15px 18px; margin-bottom: 12px; transition: transform .12s; }
.help-btn:active { transform: scale(.98); }
.help-btn svg { width: 26px; height: 26px; flex: 0 0 auto; }
.help-btn span { display: flex; flex-direction: column; line-height: 1.25; }
.help-btn b { font-family: var(--sans); font-size: 16px; font-weight: 700; }
.help-btn small { font-size: 13px; opacity: .82; margin-top: 1px; letter-spacing: .3px; }
.help-zalo { background: #0068ff; color: #fff; }
.help-call { background: var(--kem, #f3ead7); color: var(--xanh-reu, #525d41); border: 1px solid var(--vien, #e3d8c5); }
.help-close { width: 100%; background: none; border: none; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--nau-dat-nhat, #8a7a5e); padding: 12px; margin-top: 2px; cursor: pointer; }

/* ============================================================
   TINH CHỈNH "MƯỢT" TOÀN CỤC (2026-06-08) — chỉ giao diện, không đụng logic
   Cảm giác chạm/nhấn · viền focus dễ tiếp cận · chuyển động êm
   ============================================================ */
:root { --ease-out: cubic-bezier(.16,1,.3,1); --ease: cubic-bezier(.16,1,.3,1); }

/* Chuyển động êm cho mọi phần tử tương tác */
.big-btn, .ghost-btn, .sell-btn, .help-btn, .backbtn, .sos-btn,
.menu-item, .tab, .ic-tab, .atab, .chip,
.seed-cell, .prod-card, .chal-item, .ic-entry, .grat-card, .wallet-card,
.imap-mem, .imrel-btn, .imap-act {
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out),
              background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Phản hồi khi NHẤN (cảm giác nút thật trên điện thoại) */
@media (prefers-reduced-motion: no-preference) {
  .big-btn:active, .sell-btn:active, .help-btn:active, .sos-btn:active,
  .menu-item:active, .ic-entry:active, .prod-card:active, .chal-item:active,
  .seed-cell:active, .imap-mem:active, .imrel-btn:active, .imap-act:active,
  .ghost-btn:active, .chip:active, .backbtn:active { transform: scale(.965); }
  .big-btn:active, .sell-btn:active { box-shadow: 0 8px 18px -10px rgba(149,110,66,.55); }

  /* Nâng nhẹ khi rê chuột (máy tính) — điện thoại không có hover nên không ảnh hưởng */
  @media (hover: hover) {
    .ic-entry:hover, .prod-card:hover, .chal-item:hover,
    .seed-cell:hover, .grat-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px var(--bong); }
    .big-btn:hover, .sell-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -14px rgba(149,110,66,.6); }
    .menu-item:hover { background: rgba(196,155,90,.07); }
  }
}

/* Viền FOCUS rõ ràng (dùng bàn phím / hỗ trợ tiếp cận) — chỉ khi điều hướng bằng phím */
.big-btn:focus-visible, .ghost-btn:focus-visible, .sell-btn:focus-visible, .help-btn:focus-visible,
.backbtn:focus-visible, .sos-btn:focus-visible, .menu-item:focus-visible, .tab:focus-visible,
.ic-tab:focus-visible, .atab:focus-visible, .chip:focus-visible, .seed-cell:focus-visible,
.prod-card:focus-visible, .chal-item:focus-visible, .ic-entry:focus-visible,
.imap-mem:focus-visible, .imrel-btn:focus-visible, .imap-act:focus-visible,
.imap-in:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--vang); outline-offset: 2px; border-radius: 14px;
}
/* Ô nhập: viền vàng dịu khi đang gõ (không phải focus-visible) */
.imap-in:focus, input:focus, textarea:focus { outline: none; border-color: var(--vang); box-shadow: 0 0 0 3px rgba(196,155,90,.15); }

/* Ảnh & icon không bị kéo lê khi chạm giữ trên điện thoại */
.seed-cell img, .ic-entry-ic svg, .menu-item svg { -webkit-user-drag: none; user-select: none; }

/* ============================================================
   HƯỚNG DẪN SỬ DỤNG (s-guide) — điềm tĩnh, dễ đọc cho cha mẹ
   ============================================================ */
/* Lối vào nổi nhẹ trong menu Tài khoản */
.menu-item-hi { background: linear-gradient(100deg, rgba(196,155,90,.10), rgba(196,155,90,.03)); }
.menu-item-hi svg { stroke: var(--vang); }
.menu-item .mt small { display: block; font-size: 11.5px; font-weight: 400; color: var(--nau-dat-nhat); margin-top: 1px; }

.gd-head .gd-lead { font-size: 15px; line-height: 1.6; color: var(--nau-dat); margin-top: 8px; max-width: 300px; }

/* Lời chào / trấn an */
.gd-welcome { text-align: center; margin-top: 18px; padding: 26px 22px; border-radius: 26px;
  background: linear-gradient(165deg, #fbf7ee, #f1e6d2); border: 1px solid rgba(196,155,90,.32); box-shadow: 0 18px 36px -24px var(--bong); }
.gd-welcome-mark { display: inline-flex; }
.gd-welcome-t { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--xanh-reu); margin-top: 6px; }
.gd-welcome-s { font-size: 14.5px; line-height: 1.65; color: var(--nau-dat); margin: 10px auto 0; max-width: 300px; }

/* Nhịp mỗi ngày — con đường 4 bước */
.gd-path { list-style: none; margin: 16px 0 4px; padding: 0; }
.gd-path li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.gd-path li:last-child { padding-bottom: 0; }
.gd-path li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 0; width: 2px; background: rgba(196,155,90,.28); }
.gd-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 17px; color: #fff;
  background: linear-gradient(150deg, var(--vang-sang), var(--vang)); box-shadow: 0 8px 16px -8px rgba(149,110,66,.6); position: relative; z-index: 1; }
.gd-step h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--xanh-reu); margin: 4px 0 0; }
.gd-step p { font-size: 14px; line-height: 1.6; color: var(--nau-dat); margin-top: 5px; }

/* Các góc trong vườn */
.gd-areas { display: grid; gap: 10px; margin-top: 14px; }
.gd-area { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: var(--trang-nga); border: 1px solid var(--vien); box-shadow: 0 10px 22px -18px var(--bong); }
.gd-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--kem); border: 1px solid var(--vien); }
.gd-ic svg { width: 19px; height: 19px; stroke: var(--xanh-reu); }
.gd-area h4 { font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--xanh-reu); margin: 1px 0 0; }
.gd-area p { font-size: 13.5px; line-height: 1.55; color: var(--nau-dat-nhat); margin-top: 4px; }

/* Hạt táo */
.gd-note { margin-top: 14px; }
.gd-note p { font-size: 14.5px; line-height: 1.7; color: var(--nau-dat); }
.gd-note p + p { margin-top: 10px; }

/* Lời nhắn cuối + bắt đầu */
.gd-end { text-align: center; margin-top: 28px; }
.gd-end-q { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--nau-go); margin-bottom: 18px; }
.gd-start { width: 100%; max-width: 320px; }
.gd-help { display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--nau-dat-nhat); text-decoration: underline; text-underline-offset: 3px; }
.gd-help:hover { color: var(--xanh-reu); }

/* ============================================================
   NHẮC KHÁCH CŨ trên màn đăng nhập (chiến dịch chuyển từ app cũ)
   ============================================================ */
.oldcust-note { margin-top: 16px; padding: 16px 18px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #fbf7ee, #f1e6d2); border: 1px solid rgba(196,155,90,.4); }
.oldcust-note .ocn-t { font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--xanh-reu); }
.oldcust-note .ocn-s { font-size: 13px; line-height: 1.55; color: var(--nau-dat); margin-top: 6px; }
.oldcust-btn { margin-top: 12px; width: 100%; padding: 12px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--trang-nga);
  background: linear-gradient(135deg, #6E7A57, var(--xanh-reu)); border: none;
  box-shadow: 0 10px 20px -10px rgba(82,93,65,.55); transition: transform .15s; }
.oldcust-btn:active { transform: scale(.97); }
