:root {
  --mint-50: #F1FBF7;
  --mint-100: #E0F6EE;
  --mint-200: #C2EDDD;
  --mint-300: #96E0C5;
  --mint-400: #66CFAB;
  --mint-500: #3EBF98;
  --mint-600: #2A9E7E;
  --mint-700: #1F7C63;
  --ink: #22413A;
  --muted: #6A8981;
  --line: #D5EEE5;
  --card: #FFFFFF;
  --pink: #FF8FAB;
  --pink-100: #FFE5EC;
  --peach: #FFD6A5;
  --sky: #A9DEF9;
  --ok: #2FB386;
  --bad: #F07C8E;
  --shadow: 0 6px 20px rgba(42, 158, 126, .12);
  --shadow-lg: 0 14px 40px rgba(31, 124, 99, .18);
  --r: 20px;
  --zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --nav-h: 68px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 110% -10%, #D9F7EC 0%, transparent 60%),
    radial-gradient(800px 500px at -10% 110%, #E4F8F1 0%, transparent 60%),
    var(--mint-50);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--mint-700); }
.zh { font-family: var(--zh); }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.app { min-height: 100%; }
.main {
  max-width: 760px; margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));
  outline: none;
}
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around; align-items: stretch;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 6px 6px env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(42, 158, 126, .08);
}
.brand { display: none; }
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700;
  border-radius: 16px; transition: background .2s, color .2s;
}
.nav-item .ni { font-size: 22px; line-height: 1; transition: transform .2s; }
.nav-item.active { color: var(--mint-700); background: var(--mint-100); }
.nav-item.active .ni { transform: translateY(-2px) scale(1.08); }

@media (min-width: 900px) {
  .nav {
    top: 0; bottom: 0; right: auto; width: 248px; height: auto;
    flex-direction: column; justify-content: flex-start; gap: 6px;
    padding: 24px 16px; border-top: 0; border-right: 1px solid var(--line);
    box-shadow: 4px 0 24px rgba(42, 158, 126, .06);
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 4px 8px 22px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, var(--mint-200), var(--mint-400)); }
  .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
  .brand-text b { font-family: var(--zh); font-size: 18px; }
  .brand-text small { color: var(--muted); font-size: 12px; font-weight: 600; }
  .nav-item { flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; font-size: 15px; }
  .nav-item .ni { font-size: 20px; }
  .main { margin-left: 248px; margin-right: 0; max-width: none; padding: 32px 40px 48px; }
  .main > .view { max-width: 820px; margin: 0 auto; }
}

/* ---------- Common ---------- */
.view { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 24px; font-weight: 900; }
h2 { font-size: 18px; font-weight: 800; }
.sub { color: var(--muted); font-weight: 600; margin: 4px 0 0; }
.page-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.page-head .grow { flex: 1; min-width: 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 12px; }
.card {
  background: var(--card); border-radius: var(--r); padding: 18px;
  box-shadow: var(--shadow); border: 1px solid rgba(213, 238, 229, .7);
}
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 14px; }
.mt2 { margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 15px; text-decoration: none;
  background: var(--mint-100); color: var(--mint-700);
  transition: transform .12s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible, .opt:focus-visible, .icon-btn:focus-visible, .nav-item:focus-visible { outline: 3px solid var(--mint-300); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--mint-400), var(--mint-600)); color: #fff; box-shadow: 0 6px 16px rgba(42, 158, 126, .3); }
.btn-pink { background: linear-gradient(135deg, #FFB3C6, var(--pink)); color: #fff; box-shadow: 0 6px 16px rgba(255, 143, 171, .35); }
.btn-ghost { background: transparent; color: var(--mint-700); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; flex: 0 0 auto;
  display: inline-grid; place-items: center; font-size: 18px;
  background: var(--mint-100); color: var(--mint-700);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn.sm { width: 34px; height: 34px; font-size: 15px; }
.back { text-decoration: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink);
}
.chip.on { background: var(--mint-500); color: #fff; border-color: var(--mint-500); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mint-100); color: var(--mint-700); font-weight: 800; font-size: 12px; }
.pill.pink { background: var(--pink-100); color: #D45577; }
.bar { height: 8px; border-radius: 99px; background: var(--mint-100); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--mint-400), var(--mint-600)); transition: width .5s; }

/* ---------- Home ---------- */
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hello .avatar { width: 54px; height: 54px; flex: 0 0 auto; }
.hello h1 { font-size: 22px; }
.daily {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #F4FDF9 60%, #E6F8F0 100%);
}
.daily::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 207, 171, .25), transparent 70%);
}
.daily-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hanzi-big { font-family: var(--zh); font-size: 58px; font-weight: 700; letter-spacing: 4px; text-align: center; margin: 14px 0 4px; color: var(--ink); }
.hanzi-mid { font-family: var(--zh); font-size: 38px; font-weight: 700; letter-spacing: 2px; }
.py { color: var(--mint-700); font-weight: 800; }
.q-text { text-align: center; font-weight: 800; margin: 6px 0 14px; }
.steps { display: flex; gap: 6px; justify-content: center; margin: 4px 0 2px; }
.steps i { width: 26px; height: 6px; border-radius: 9px; background: var(--mint-100); }
.steps i.on { background: var(--mint-500); }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts.one { grid-template-columns: 1fr; }
.opt {
  min-height: 54px; padding: 10px 14px; border-radius: 16px; cursor: pointer; text-align: center;
  background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 15px; line-height: 1.3;
  transition: border-color .15s, background .15s, transform .12s;
}
.opt:hover { border-color: var(--mint-300); }
.opt:active { transform: scale(.98); }
.opt.zh-opt { font-family: var(--zh); font-size: 22px; }
.opt.right { background: #E3F8EF; border-color: var(--ok); color: #157255; animation: pop .35s; }
.opt.wrong { background: #FFEFF2; border-color: var(--bad); color: #B83A52; animation: shake .35s; }
.opt[disabled] { cursor: default; }
@keyframes pop { 50% { transform: scale(1.04); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.result-word { text-align: center; }
.example { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--mint-50); border: 1px dashed var(--mint-300); }
.example .zh { font-size: 20px; font-weight: 700; }
.msg-card { background: linear-gradient(135deg, #FFF6F8 0%, #FFFFFF 55%, #F1FBF7 100%); }
.msg-zh { font-family: var(--zh); font-size: 26px; font-weight: 700; margin: 10px 0 4px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { text-align: center; padding: 14px 6px; }
.stat b { display: block; font-size: 24px; font-weight: 900; color: var(--mint-700); }
.stat span { font-size: 12px; font-weight: 700; color: var(--muted); }
.tile { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); cursor: pointer; border: 0; text-align: left; width: 100%; }
.tile .ti { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--mint-100); flex: 0 0 auto; }
.tile b { display: block; }
.tile small { color: var(--muted); font-weight: 600; }
.tile:active { transform: scale(.98); }

/* ---------- Vocab ---------- */
.topic .bar { margin-top: 10px; }
.word-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--mint-100); }
.word-row:last-child { border-bottom: 0; }
.word-row .zh { font-size: 22px; font-weight: 700; min-width: 74px; }
.word-row .meta { flex: 1; min-width: 0; }
.word-row .meta div { font-size: 14px; }
.lvl { display: inline-flex; gap: 3px; }
.lvl i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-100); }
.lvl i.on { background: var(--mint-500); }

.flash-wrap { perspective: 1200px; }
.flash {
  position: relative; min-height: 300px; cursor: pointer; transform-style: preserve-3d; transition: transform .5s;
}
.flash.flipped { transform: rotateY(180deg); }
.flash .face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.flash .back { transform: rotateY(180deg); background: linear-gradient(170deg, #fff, var(--mint-50)); }
.flash .hint { position: absolute; bottom: 14px; font-size: 13px; color: var(--muted); font-weight: 700; }
.progress-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.progress-line .bar { flex: 1; }

/* ---------- Quiz ---------- */
.quiz-prompt { text-align: center; padding: 22px 12px; }
.listen-btn {
  width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; font-size: 40px;
  background: linear-gradient(135deg, var(--mint-300), var(--mint-500)); color: #fff; box-shadow: 0 10px 26px rgba(62, 191, 152, .4);
}
.listen-btn:active { transform: scale(.95); }
.listen-btn.playing { animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(62, 191, 152, .45); } 50% { box-shadow: 0 0 0 16px rgba(62, 191, 152, 0); } }
.feedback { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-weight: 700; }
.feedback.ok { background: #E3F8EF; color: #157255; }
.feedback.no { background: #FFEFF2; color: #B83A52; }
.text-input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-size: 17px; font-weight: 700;
}
.text-input:focus { outline: none; border-color: var(--mint-400); }
.score-ring { width: 140px; height: 140px; margin: 6px auto 10px; position: relative; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 900; color: var(--mint-700); }
.review-item { padding: 10px 0; border-bottom: 1px solid var(--mint-100); font-size: 14px; }
.review-item:last-child { border-bottom: 0; }

/* ---------- Reading ---------- */
.reader-tools { position: sticky; top: calc(8px + env(safe-area-inset-top)); z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); margin-bottom: 14px; }
.sent { padding: 14px 4px; border-bottom: 1px dashed var(--mint-200); }
.sent:last-child { border-bottom: 0; }
.sent.speaking { background: var(--mint-50); border-radius: 12px; }
.sent-line { display: flex; align-items: flex-start; gap: 8px; }
.sent-zh { flex: 1; font-family: var(--zh); font-size: 22px; line-height: 1.8; }
.tok { cursor: pointer; border-radius: 6px; padding: 1px 1px; border-bottom: 2px dotted var(--mint-300); }
.tok:hover, .tok.sel { background: var(--mint-100); }
.sent-py { color: var(--mint-700); font-weight: 700; font-size: 14px; margin-top: 2px; }
.sent-vn { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 4px; }
.no-py .sent-py, .no-vn .sent-vn { display: none; }
.tip-box { margin-top: 16px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #FFF4E5, #FFF9F0); border: 1.5px solid var(--peach); }
.tip-box .zh { font-size: 20px; font-weight: 700; }
.word-pop { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(420px, calc(100% - 28px)); z-index: 40; animation: fadeUp .2s; }
@media (min-width: 900px) { .word-pop { bottom: 28px; left: calc(50% + 124px); } }

/* ---------- Stickers ---------- */
.sticker-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .sticker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sticker-cell { text-align: center; padding: 14px 8px; cursor: pointer; border: 0; width: 100%; font: inherit; color: inherit; }
.sticker-cell svg { width: 96px; height: 96px; }
.sticker-cell.locked svg { filter: grayscale(1) opacity(.35); }
.sticker-cell b { display: block; margin-top: 6px; }
.sticker-cell small { color: var(--muted); font-weight: 600; font-size: 12px; }
.sticker-pop {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: rgba(34, 65, 58, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }
.sticker-card { position: relative; width: min(360px, 100%); text-align: center; padding: 26px 22px 20px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); animation: bounceIn .55s cubic-bezier(.2, 1.4, .4, 1); overflow: hidden; }
@keyframes bounceIn { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.sticker-card svg.st { width: 170px; height: 170px; animation: wiggle 2.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-4px); } }
.sticker-card h2 { font-size: 28px; margin-top: 6px; }
.sticker-card .zh { font-size: 24px; font-weight: 700; margin-top: 4px; }
.float-bits { position: absolute; inset: 0; pointer-events: none; }
.float-bits span { position: absolute; bottom: -20px; font-size: 20px; animation: rise 2.6s ease-in infinite; opacity: 0; }
@keyframes rise { 0% { transform: translateY(0) scale(.8); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-460px) scale(1.2) rotate(20deg); opacity: 0; } }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(34, 65, 58, .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal { width: min(400px, 100%); background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lg); animation: bounceIn .35s ease; }
.modal h2 { margin-bottom: 8px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -140%); z-index: 90; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .3s; max-width: calc(100% - 28px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Help chat ---------- */
.help-fab {
  position: fixed; right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; font-size: 26px;
  background: linear-gradient(135deg, #FFB3C6, var(--pink)); color: #fff; box-shadow: 0 10px 24px rgba(255, 143, 171, .45);
}
.help-fab:active { transform: scale(.94); }
.help-fab .badge { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FF4D6D; border: 2.5px solid #fff; }
@media (min-width: 900px) { .help-fab { bottom: 28px; right: 28px; } }
.help-panel {
  position: fixed; z-index: 60; right: 12px; left: 12px;
  bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
  height: min(560px, calc(100dvh - var(--nav-h) - 40px - env(safe-area-inset-bottom) - env(safe-area-inset-top)));
  display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden; animation: fadeUp .25s;
}
@media (min-width: 640px) { .help-panel { left: auto; width: 380px; } }
@media (min-width: 900px) { .help-panel { bottom: 28px; right: 28px; } }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 12px 18px; background: linear-gradient(135deg, var(--mint-100), #fff); border-bottom: 1px solid var(--line); }
.help-head small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.help-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--mint-50); }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.bubble.me { align-self: flex-end; background: var(--mint-500); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.bubble.sticker { background: transparent; box-shadow: none; padding: 0; text-align: center; }
.bubble.sticker svg { width: 110px; height: 110px; display: block; margin: 0 auto; }
.bubble time { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }
.bubble.fail { background: #FFEFF2; color: #B83A52; }
.help-note { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; padding: 10px; }
.help-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.help-form textarea { flex: 1; resize: none; max-height: 120px; padding: 12px 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--mint-50); font-size: 15px; }
.help-form textarea:focus { outline: none; border-color: var(--mint-400); }
.help-form .btn { width: 48px; padding: 0; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Song ngữ ---------- */
.bi { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.bi-zh { font-family: var(--zh); font-weight: 700; font-size: 1.08em; color: var(--ink); }
.bi-py { color: var(--mint-700); font-weight: 700; font-size: .82em; }
.bi-vn { color: var(--muted); font-weight: 700; font-size: .88em; }
.bi.inline { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.bi.inline .bi-vn::before { content: "· "; }
.bi.center-bi { align-items: center; text-align: center; }
.bi.q-bi .bi-zh { font-size: 20px; }
.opt-bi { text-align: left; padding: 10px 16px; }
.opt-bi .bi-zh { font-size: 18px; }
.opt.right .bi-vn, .opt.right .bi-zh, .opt.wrong .bi-vn, .opt.wrong .bi-zh { color: inherit; }
.feedback .bi-zh, .feedback .bi-vn { color: inherit; }
.nav-item .nz { font-family: var(--zh); font-size: 10px; font-weight: 600; opacity: .8; line-height: 1; }
@media (min-width: 900px) { .nav-item .nz { font-size: 13px; margin-left: auto; } }
.speaking-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.speaking-controls label { display: grid; gap: 4px; font-weight: 800; }
.speaking-controls select { max-width: 100%; padding: 8px; border: 1px solid #b7c8c4; border-radius: 8px; font: inherit; }
.speaking-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.speaking-word { background: #eaf6ef; color: #164735; padding: 4px 8px; border-radius: 6px; }
.speaking-word.needs-practice, #speaking-result mark { background: #fff0d5; color: #773600; text-decoration: underline; }
