:root {
  --bg: #FAF6F7;
  --surface: #FFFFFF;
  --ink: #221A22;
  --muted: #6A5F69;
  --line: rgba(34, 26, 34, 0.09);
  --accent: #C2255C;
  --accent-ink: #9C1B49;
  --accent-soft: #FCE7EF;
  --ok: #117A55;
  --ok-soft: #E2F3EB;
  --bad: #C0392B;
  --bad-soft: #FDECEA;
  --gold: #B7791F;
  --gold-soft: #FDF3E1;
  --es: #C8102E;
  --en: #1F4FB8;
  --r-sm: 12px;
  --r-md: 20px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(34, 26, 34, 0.06);
  --shadow-2: 0 8px 24px rgba(34, 26, 34, 0.08);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

/* ---------- Khung trưng bày ---------- */
.stage { height: 100%; }
.intro { display: none; }
.phone { height: 100%; }
.phone-notch { display: none; }

@media (min-width: 960px) {
  body { background: #F1EAEC; }
  .stage {
    min-height: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 440px) 390px;
    justify-content: center;
    align-items: center;
    gap: 72px;
    padding: 40px 32px;
  }
  .intro { display: block; }
  .phone {
    position: relative;
    width: 390px;
    height: min(844px, calc(100vh - 80px));
    border-radius: 48px;
    background: #1B151B;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(34, 26, 34, 0.25);
  }
  .phone-notch {
    display: block;
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 30px; border-radius: 20px; background: #1B151B; z-index: 5;
  }
  .app { border-radius: 38px; }
  .app .topbar { padding-top: 52px; }
}

.intro-badge {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.02em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.intro h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; margin: 16px 0 12px; font-weight: 900; text-wrap: balance; }
.intro-lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
.intro-steps { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.intro-steps li {
  counter-increment: s; position: relative; padding-left: 40px; font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.intro-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--accent-ink);
}
.intro-qr {
  display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-1);
}
.intro-qr img { border-radius: 8px; flex: none; }
.intro-qr p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.intro-note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }

/* ---------- App ---------- */
.app {
  position: relative; height: 100%; width: 100%;
  background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column;
}
.screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 24px; }
.screen.has-nav { padding-bottom: 96px; }
.fade-in { animation: fadeIn 320ms var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } * { transition: none !important; } }

.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 20px 12px;
  background: var(--bg);
}
.topbar h2 { margin: 0; font-size: 18px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; font-size: 20px; flex: none;
}
.icon-btn:active { transform: scale(0.95); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-pill); border: 0;
  font-weight: 800; font-size: 16px; transition: transform 120ms var(--ease), background 160ms;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(194, 37, 92, 0.28); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.muted { color: var(--muted); }
.lang-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 6px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 14px;
}
.flag {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 900; color: #fff; letter-spacing: 0.02em; flex: none;
}
.flag.es { background: linear-gradient(180deg, var(--es) 0 28%, #F1BF00 28% 72%, var(--es) 72%); color: #6b0d1c; }
.flag.en { background: var(--en); }

/* ---------- Màn chào ---------- */
.welcome { display: flex; flex-direction: column; min-height: 100%; padding-top: calc(40px + env(safe-area-inset-top)); }
.logo-row { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -0.01em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 22px;
}
.welcome h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; margin: 36px 0 12px; font-weight: 900; text-wrap: balance; }
.welcome p { font-size: 16px; line-height: 1.6; margin: 0 0 28px; }
.choose { display: grid; gap: 12px; margin-bottom: 24px; }
.choose-item {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px;
  border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); min-height: 76px;
  transition: border-color 160ms, background 160ms;
}
.choose-item .flag { width: 44px; height: 44px; font-size: 14px; }
.choose-item b { display: block; font-size: 17px; }
.choose-item span.muted { font-size: 14px; }
.choose-item .check { margin-left: auto; font-size: 24px; color: var(--line); }
.choose-item.on { border-color: var(--accent); background: var(--accent-soft); }
.choose-item.on .check { color: var(--accent); }
.welcome .spacer { flex: 1; }
.welcome .fine { font-size: 13px; text-align: center; margin: 14px 0 0; }

/* ---------- Trang chủ ---------- */
.hello { margin: 4px 0 16px; }
.hello h1 { font-size: 26px; margin: 0 0 4px; font-weight: 900; letter-spacing: -0.02em; }
.hello p { margin: 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { padding: 12px; text-align: left; }
.stat i { font-size: 20px; }
.stat b { display: block; font-size: 20px; font-weight: 900; margin-top: 4px; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.stat.fire i { color: #E8590C; }
.stat.star i { color: var(--gold); }
.stat.done i { color: var(--ok); }

.continue {
  display: flex; gap: 14px; align-items: center; padding: 16px; margin-bottom: 24px; width: 100%; text-align: left;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--r-md);
}
.continue .ci { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,0.12); display: grid; place-items: center; font-size: 26px; flex: none; }
.continue small { display: block; font-size: 12.5px; opacity: 0.7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.continue b { display: block; font-size: 17px; margin: 2px 0 8px; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.18); overflow: hidden; }
.bar > i { display: block; height: 100%; background: #FF8FB3; border-radius: 6px; }
.continue .go { margin-left: auto; font-size: 22px; flex: none; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.section-title h3 { margin: 0; font-size: 18px; font-weight: 900; }
.section-title span { font-size: 13px; color: var(--muted); font-weight: 700; }

.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic {
  position: relative; text-align: left; padding: 14px; min-height: 128px; display: flex; flex-direction: column;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform 120ms var(--ease);
}
.topic:active { transform: scale(0.98); }
.topic .ti { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); color: var(--accent-ink); }
.topic .num { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 800; color: var(--muted); }
.topic b { display: block; font-size: 15px; line-height: 1.3; margin: 12px 0 4px; }
.topic span { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: auto; }
.topic.locked .ti { background: #F1ECEE; color: #9A8F98; }
.topic.locked b { color: #5C525B; }
.topic .badge-done { position: absolute; top: 10px; right: 10px; color: var(--ok); font-size: 22px; }
.topic .lock { position: absolute; top: 12px; right: 12px; color: #9A8F98; font-size: 18px; }
.free-tag { display: inline-block; font-size: 11px; font-weight: 900; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: var(--r-pill); margin-left: 4px; }

/* ---------- Thanh dưới ---------- */
.nav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.96); border-top: 1px solid var(--line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.nav button {
  border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 56px; justify-content: center; font-size: 12px; font-weight: 800; color: var(--muted); border-radius: 14px;
}
.nav button i { font-size: 24px; }
.nav button.on { color: var(--accent); }

/* ---------- Bài học ---------- */
.lesson-top { display: flex; align-items: center; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 20px 8px; }
.progress { flex: 1; height: 10px; border-radius: 10px; background: #EEE6E9; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 10px; transition: width 400ms var(--ease); }
.step-label { font-size: 13px; font-weight: 800; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.05em; margin: 12px 0 4px; }
.step-title { font-size: 22px; font-weight: 900; margin: 0 0 16px; letter-spacing: -0.01em; }

.flash { padding: 24px 20px 20px; text-align: center; }
.flash .art { height: 150px; display: grid; place-items: center; margin-bottom: 12px; }
.flash .art .big-icon { width: 120px; height: 120px; border-radius: 32px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 60px; }
.flash .target { font-size: 26px; font-weight: 900; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
.flash .meaning { font-size: 17px; color: var(--muted); margin: 0 0 20px; font-weight: 600; }
.audio-row { display: flex; gap: 10px; justify-content: center; }
.audio-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 15px;
}
.audio-btn.main { background: var(--accent); color: #fff; border-color: var(--accent); }
.audio-btn i { font-size: 20px; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 18px 0; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #E3D9DD; }
.dots i.on { background: var(--accent); width: 22px; border-radius: 8px; }
.pager { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.pager .btn-ghost { padding: 0; }

.dialog-tools { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 14px;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.msg { max-width: 86%; display: flex; flex-direction: column; }
.msg .who { font-size: 12px; font-weight: 800; color: var(--muted); margin: 0 6px 4px; }
.bubble {
  text-align: left; border: 1px solid var(--line); background: var(--surface); padding: 12px 14px;
  border-radius: 18px 18px 18px 6px; font-size: 16px; line-height: 1.45; font-weight: 700; transition: box-shadow 160ms, transform 160ms;
}
.bubble small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; margin-top: 4px; }
.bubble i.ph { color: var(--muted); font-size: 16px; vertical-align: -2px; margin-left: 4px; }
.msg.tho { align-self: flex-end; align-items: flex-end; }
.msg.tho .bubble { background: var(--accent-soft); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.bubble.speaking { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); transform: scale(1.01); }

.speak-card { padding: 22px 18px; text-align: center; }
.speak-card .target { font-size: 24px; font-weight: 900; line-height: 1.3; margin: 0 0 6px; }
.speak-card .meaning { color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.mic {
  width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--accent); color: #fff;
  font-size: 40px; display: grid; place-items: center; margin: 8px auto 10px;
  box-shadow: 0 10px 24px rgba(194, 37, 92, 0.35);
}
.mic.live { animation: pulse 1.2s infinite; background: var(--accent-ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,37,92,0.45); } 100% { box-shadow: 0 0 0 22px rgba(194,37,92,0); } }
.mic-hint { font-size: 14px; color: var(--muted); font-weight: 700; margin: 0; }
.result { margin-top: 18px; padding: 14px; border-radius: var(--r-sm); text-align: left; }
.result.good { background: var(--ok-soft); }
.result.try { background: var(--gold-soft); }
.result .rt { font-weight: 900; font-size: 16px; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.result .words { font-size: 17px; font-weight: 800; line-height: 1.6; margin: 0; }
.result .words .w-ok { color: var(--ok); }
.result .words .w-miss { color: var(--bad); text-decoration: underline wavy; text-underline-offset: 4px; }
.result .heard { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.q-prompt { padding: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.q-prompt .audio-btn { flex: none; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
.q-prompt p { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.4; }
.options { display: grid; gap: 10px; margin-bottom: 18px; }
.opt {
  text-align: left; min-height: 56px; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--line);
  background: var(--surface); font-weight: 700; font-size: 16px; line-height: 1.35;
  display: flex; align-items: center; gap: 10px; transition: border-color 160ms, background 160ms;
}
.opt .k { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--muted); flex: none; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.opt[disabled] { cursor: default; }
.feedback { font-weight: 800; margin: -6px 0 14px; display: flex; gap: 6px; align-items: center; }
.feedback.ok { color: var(--ok); }
.feedback.no { color: var(--bad); }

.done-wrap { text-align: center; padding-top: 32px; }
.medal { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 18px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 64px; }
.done-wrap h1 { margin: 0 0 8px; font-size: 28px; font-weight: 900; }
.done-wrap p { margin: 0 0 24px; font-size: 16px; line-height: 1.55; }
.done-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.done-stats .card { padding: 14px; }
.done-stats b { display: block; font-size: 24px; font-weight: 900; }
.done-stats span { font-size: 13px; color: var(--muted); font-weight: 700; }
.stack { display: grid; gap: 10px; }

/* ---------- Sổ tay ---------- */
.search {
  display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px;
}
.search i { font-size: 20px; color: var(--muted); }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 16px; flex: 1; min-width: 0; color: var(--ink); }
.offline { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 10px 12px; border-radius: var(--r-sm); margin-bottom: 18px; }
.group h4 { margin: 18px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-ink); font-weight: 900; }
.phrase { display: flex; align-items: center; gap: 12px; padding: 14px; width: 100%; text-align: left; border-radius: var(--r-sm); margin-bottom: 8px; }
.phrase b { display: block; font-size: 16px; line-height: 1.35; }
.phrase span { font-size: 14px; color: var(--muted); font-weight: 600; }
.phrase .play { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 18px; flex: none; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty i { font-size: 40px; }

/* ---------- Luyện với AI ---------- */
.phase-tag { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 900; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: var(--r-pill); }
.ai-head { padding: 16px; display: flex; gap: 12px; align-items: center; margin: 12px 0 16px; }
.ai-ava { width: 52px; height: 52px; border-radius: 50%; background: #F3E3EA; display: grid; place-items: center; font-size: 26px; color: var(--accent-ink); flex: none; }
.ai-head b { display: block; font-size: 16px; }
.ai-head span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.fix { align-self: stretch; max-width: 100%; background: var(--gold-soft); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14.5px; line-height: 1.5; font-weight: 700; display: flex; gap: 8px; }
.fix i { color: var(--gold); font-size: 20px; flex: none; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #BFB3BA; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------- Gói học ---------- */
.plan { padding: 18px; margin-bottom: 12px; position: relative; }
.plan.best { border: 2px solid var(--accent); }
.plan .ribbon { position: absolute; top: -12px; right: 16px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: var(--r-pill); }
.plan h4 { margin: 0 0 4px; font-size: 17px; font-weight: 900; }
.plan .price { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.plan li i { color: var(--ok); font-size: 18px; flex: none; margin-top: 1px; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.pay-row span { font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Ngăn kéo + thông báo ---------- */
.sheet-bg { position: absolute; inset: 0; background: rgba(34, 26, 34, 0.45); z-index: 20; animation: fadeOnly 200ms both; }
@keyframes fadeOnly { from { opacity: 0; } }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--surface);
  border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  animation: up 320ms var(--ease) both;
}
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: #E0D6DA; margin: 0 auto 16px; }
.sheet h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.sheet p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  z-index: 50; pointer-events: none; transition: all 240ms var(--ease); max-width: 340px; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Hình móng */
.nail-svg { width: 110px; height: 150px; }
.continue .bar { display: block; }
.free-tag { font-style: normal; }
.ai-head .ai-ava { font-size: 26px; color: var(--accent-ink); }
.ai-head > span:last-child > span { display: block; }
.phrase b { color: var(--ink); }
.feat { display: grid; gap: 10px; margin: 4px 0 24px; padding: 0; list-style: none; }
.feat li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; }
.feat li i { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 19px; color: var(--accent); flex: none; }
