/* Nurse English — giao diện điện thoại trước, máy tính sau. */
:root {
  --nen: #f3f6f7; --mat: #ffffff; --mat2: #eef3f4; --vien: #dbe4e6;
  --chu: #13262b; --chu2: #51666b; --chu3: #7d9095;
  --chinh: #0b6e78; --chinh2: #0e8a96; --chinh-nhat: #e0f2f3; --tren-chinh: #ffffff;
  --dung: #1f8f55; --dung-nhat: #e3f5eb; --sai: #c8412b; --sai-nhat: #fbe9e5;
  --vang: #b7791f; --vang-nhat: #fdf3de; --tim: #6a4fb3; --tim-nhat: #efeafb;
  --bong: 0 1px 2px rgba(16, 40, 45, .06), 0 4px 14px rgba(16, 40, 45, .06);
  --bo: 16px; --co: 1;
  --cao-nav: 64px; --cao-dau: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nen: #0d1618; --mat: #152226; --mat2: #1b2b30; --vien: #26393e;
    --chu: #e6f0f1; --chu2: #a8bcc0; --chu3: #7e9499;
    --chinh: #3cc0cb; --chinh2: #52d1db; --chinh-nhat: #133b40; --tren-chinh: #04262a;
    --dung: #4cc585; --dung-nhat: #133322; --sai: #f08068; --sai-nhat: #3a1c16;
    --vang: #e8b55a; --vang-nhat: #362a14; --tim: #a996ee; --tim-nhat: #261f3c;
    --bong: 0 1px 2px rgba(0, 0, 0, .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --nen: #0d1618; --mat: #152226; --mat2: #1b2b30; --vien: #26393e;
  --chu: #e6f0f1; --chu2: #a8bcc0; --chu3: #7e9499;
  --chinh: #3cc0cb; --chinh2: #52d1db; --chinh-nhat: #133b40; --tren-chinh: #04262a;
  --dung: #4cc585; --dung-nhat: #133322; --sai: #f08068; --sai-nhat: #3a1c16;
  --vang: #e8b55a; --vang-nhat: #362a14; --tim: #a996ee; --tim-nhat: #261f3c;
  --bong: 0 1px 2px rgba(0, 0, 0, .3); color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nen); color: var(--chu);
  font: calc(15.5px * var(--co))/1.55 "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--chinh); }
b, strong { font-weight: 650; }
.ipa { font-family: "Segoe UI", "Noto Sans", "Lucida Sans Unicode", "DejaVu Sans", sans-serif; color: var(--chu2); }

/* ---------- khung */
.dau {
  position: sticky; top: 0; z-index: 20; height: calc(var(--cao-dau) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 10px 0; display: flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--nen) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vien);
}
.dau-chu { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; padding-left: 6px; }
.dau-chu b { font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dau-chu span { font-size: .78em; color: var(--chu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nut-lui { border: 0; background: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--chu); }
.nut-lui:active { background: var(--mat2); }
.nut-nn { border: 1px solid var(--vien); background: var(--mat); border-radius: 999px; padding: 3px; display: flex; gap: 2px; font-size: .78em; font-weight: 700; }
.nut-nn span { padding: 3px 9px; border-radius: 999px; color: var(--chu3); }
.nut-nn span.bat { background: var(--chinh); color: var(--tren-chinh); }

main {
  max-width: 600px; margin: 0 auto; outline: none;
  padding: 14px 16px calc(var(--cao-nav) + 28px + env(safe-area-inset-bottom));
}
.dang-tai { padding: 40px 0; text-align: center; color: var(--chu3); }
.day-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--cao-nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: flex; background: var(--mat); border-top: 1px solid var(--vien);
}
.day-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--chu3); font-size: .7em; font-weight: 600; }
.day-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.day-nav a.bat { color: var(--chinh); }
.day-nav a.bat svg { stroke-width: 2.4; }
@media (min-width: 700px) { .day-nav { max-width: 600px; margin: 0 auto; border: 1px solid var(--vien); border-bottom: 0; border-radius: 18px 18px 0 0; } }

/* ---------- khối chung */
h1 { font-size: 1.45em; line-height: 1.25; margin: 4px 0 6px; letter-spacing: -.01em; }
h2 { font-size: 1.12em; margin: 22px 0 8px; }
h3 { font-size: 1em; margin: 16px 0 6px; }
p { margin: 0 0 10px; }
.mo { color: var(--chu2); }
.nho { font-size: .84em; }
.the { background: var(--mat); border: 1px solid var(--vien); border-radius: var(--bo); padding: 14px 15px; box-shadow: var(--bong); margin-bottom: 12px; }
.the.mau { background: linear-gradient(135deg, #0b6e78 0%, #127f8a 55%, #1b9aa0 100%); color: #fff; border: 0; }
.the.mau .mo { color: rgba(255, 255, 255, .85); }
.luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.luoi3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.o-nhanh { display: flex; flex-direction: column; gap: 6px; padding: 13px; border-radius: 14px; background: var(--mat); border: 1px solid var(--vien); text-decoration: none; color: var(--chu); min-height: 92px; box-shadow: var(--bong); }
.o-nhanh .bieu { font-size: 1.45em; line-height: 1; }
.o-nhanh b { font-size: .95em; line-height: 1.25; }
.o-nhanh span { font-size: .78em; color: var(--chu2); line-height: 1.3; }
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 650; background: var(--chinh); color: var(--tren-chinh); text-decoration: none; min-height: 44px; }
.nut:active { transform: translateY(1px); }
.nut.phu { background: var(--chinh-nhat); color: var(--chinh); }
.nut.vien { background: transparent; border: 1.5px solid var(--vien); color: var(--chu); }
.nut.trang { background: #fff; color: #0b6e78; }
.nut.rong { width: 100%; }
.nut[disabled] { opacity: .45; pointer-events: none; }
.hang { display: flex; align-items: center; gap: 10px; }
.hang.giua { justify-content: center; }
.hang.hai-dau { justify-content: space-between; }
.hang.boc { flex-wrap: wrap; }
.co-gian { flex: 1; min-width: 0; }
.nhan { display: inline-block; font-size: .72em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--chinh); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--mat2); font-size: .8em; color: var(--chu2); border: 0; }
.chip.chinh { background: var(--chinh-nhat); color: var(--chinh); }
.thanh { height: 7px; border-radius: 99px; background: var(--mat2); overflow: hidden; }
.thanh > i { display: block; height: 100%; background: var(--chinh); border-radius: 99px; transition: width .3s; }
.the.mau .thanh { background: rgba(255, 255, 255, .25); }
.the.mau .thanh > i { background: #fff; }
.phan-cach { height: 1px; background: var(--vien); margin: 12px 0; }
.trong { text-align: center; color: var(--chu3); padding: 28px 10px; }

/* ---------- danh sách */
.ds { background: var(--mat); border: 1px solid var(--vien); border-radius: var(--bo); overflow: hidden; margin-bottom: 12px; box-shadow: var(--bong); }
.ds > * + * { border-top: 1px solid var(--vien); }
.dong { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--chu); width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; }
.dong .so-to { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--chinh-nhat); color: var(--chinh); flex: none; }
.dong .mui { color: var(--chu3); flex: none; }

/* ---------- thanh tab trong unit */
.tab-cuon { display: flex; gap: 6px; overflow-x: auto; margin: 4px -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; position: sticky; top: calc(var(--cao-dau) + env(safe-area-inset-top)); z-index: 5; background: var(--nen); }
.tab-cuon::-webkit-scrollbar { display: none; }
.tab-cuon a { flex: none; padding: 7px 13px; border-radius: 999px; text-decoration: none; font-size: .86em; font-weight: 600; color: var(--chu2); background: var(--mat); border: 1px solid var(--vien); }
.tab-cuon a.bat { background: var(--chinh); border-color: var(--chinh); color: var(--tren-chinh); }

/* ---------- từ vựng */
.tu-dong { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; }
.tu-dong .co-gian b { font-size: 1.02em; }
.tu-dong .vi { color: var(--chu2); font-size: .92em; }
.nut-nghe { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--chinh-nhat); color: var(--chinh); display: grid; place-items: center; }
.nut-nghe svg { width: 19px; height: 19px; fill: currentColor; }
.nut-nghe.dang { background: var(--chinh); color: var(--tren-chinh); }
.nut-sao { flex: none; width: 34px; height: 38px; border: 0; background: none; color: var(--chu3); font-size: 1.15em; }
.nut-sao.bat { color: var(--vang); }
.muc-thuoc { font-size: .7em; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--mat2); color: var(--chu2); }
.muc-thuoc.thuoc { background: var(--dung-nhat); color: var(--dung); }

/* ---------- bài đọc */
.bai-doc p { font-size: 1.04em; line-height: 1.7; margin-bottom: 14px; }
.tu { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; color: inherit; border-bottom: 2px dotted var(--chinh2); font: inherit; line-height: inherit; cursor: pointer; }
.bai-doc.tat .tu { border-bottom-color: transparent; }
.cong-cu { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tai-lieu { font-size: .92em; background: var(--mat); border: 1px solid var(--vien); border-left: 4px solid var(--chinh); border-radius: 10px; padding: 12px 13px; }
.tai-lieu p { margin: 0 0 7px; }
.tai-lieu .bang td, .tai-lieu .bang th { white-space: nowrap; }
.tai-lieu .bang td:last-child { white-space: normal; min-width: 190px; }
.cuon-ngang { overflow-x: auto; margin: 6px 0 10px; }
.bang { border-collapse: collapse; font-size: .92em; min-width: 100%; }
.bang th, .bang td { border: 1px solid var(--vien); padding: 6px 8px; text-align: left; vertical-align: top; }
.bang th { background: var(--mat2); font-weight: 650; }
.ngu-phap h3 { color: var(--chinh); }
.ngu-phap p { background: var(--mat); border-radius: 10px; padding: 9px 12px; border: 1px solid var(--vien); }
del { color: var(--sai); }

/* ---------- hội thoại */
.thoai { display: flex; flex-direction: column; gap: 8px; }
.bong { max-width: 88%; padding: 10px 12px; border-radius: 16px; background: var(--mat); border: 1px solid var(--vien); position: relative; }
.bong.phai { align-self: flex-end; background: var(--chinh-nhat); border-color: transparent; }
.bong .ai { font-size: .7em; font-weight: 800; letter-spacing: .05em; color: var(--chinh); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bong.dang-doc { outline: 2px solid var(--chinh2); }
.bong.an .noi { filter: blur(6px); user-select: none; }
.bong .nut-mini { border: 0; background: none; color: var(--chinh); padding: 0 2px; font-size: 1.05em; }
.diem-noi { font-size: .8em; margin-top: 6px; padding: 6px 8px; border-radius: 8px; background: var(--mat2); }

/* ---------- mẫu câu */
.nhom-mc h3 { margin: 18px 0 6px; font-size: .92em; color: var(--chinh); text-transform: none; }
.cau-mc { display: flex; gap: 8px; align-items: center; padding: 9px 12px; }
.cau-mc .co-gian { font-size: .98em; }

/* ---------- bài tập */
.tien-do { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .84em; color: var(--chu2); }
.tien-do .thanh { flex: 1; }
.cau-hoi { font-size: 1.12em; line-height: 1.5; margin-bottom: 14px; font-weight: 550; }
.lua-chon { display: flex; flex-direction: column; gap: 9px; }
.lc { text-align: left; border: 1.5px solid var(--vien); background: var(--mat); border-radius: 14px; padding: 12px 14px; min-height: 50px; line-height: 1.4; display: flex; gap: 10px; align-items: center; }
.lc .ky { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--mat2); display: grid; place-items: center; font-weight: 800; font-size: .82em; color: var(--chu2); }
.lc:active { border-color: var(--chinh2); }
.lc.dung { border-color: var(--dung); background: var(--dung-nhat); }
.lc.dung .ky { background: var(--dung); color: #fff; }
.lc.sai { border-color: var(--sai); background: var(--sai-nhat); }
.lc.sai .ky { background: var(--sai); color: #fff; }
.lc.mo-di { opacity: .55; }
.lc[disabled] { cursor: default; }
.tf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tf .lc { flex-direction: column; justify-content: center; text-align: center; gap: 2px; }
.tf .lc b { font-size: 1.15em; }
.tf .lc span { font-size: .74em; color: var(--chu2); }
.o-go { width: 100%; font-size: 1.1em; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--vien); background: var(--mat); outline: none; }
.o-go:focus { border-color: var(--chinh); }
.o-go.dung { border-color: var(--dung); background: var(--dung-nhat); }
.o-go.sai { border-color: var(--sai); background: var(--sai-nhat); }
.phan-hoi { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: .95em; }
.phan-hoi.dung { background: var(--dung-nhat); color: var(--chu); border-left: 4px solid var(--dung); }
.phan-hoi.sai { background: var(--sai-nhat); color: var(--chu); border-left: 4px solid var(--sai); }
.phan-hoi b.tieu { display: block; margin-bottom: 3px; }
.day-duoi { position: sticky; bottom: calc(var(--cao-nav) + 10px + env(safe-area-inset-bottom)); padding-top: 12px; display: flex; gap: 8px; }
.day-duoi .nut { flex: 1; box-shadow: 0 6px 18px rgba(11, 110, 120, .25); }
.sap-chon { display: flex; flex-direction: column; gap: 8px; }
.sap-kq { min-height: 52px; border: 1.5px dashed var(--vien); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sap-kq .lc { min-height: 40px; padding: 8px 12px; }
.ket-qua { text-align: center; padding: 10px 0 6px; }
.vong-diem { width: 132px; height: 132px; margin: 6px auto 10px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--chinh) calc(var(--p) * 1%), var(--mat2) 0); }
.vong-diem > div { width: 104px; height: 104px; border-radius: 50%; background: var(--nen); display: grid; place-items: center; font-size: 1.7em; font-weight: 800; }

/* ---------- thẻ ghi nhớ */
.the-lat { perspective: 1200px; min-height: 300px; margin-bottom: 14px; }
.the-lat .mat-trong { position: relative; min-height: 300px; transition: transform .45s; transform-style: preserve-3d; }
.the-lat.lat .mat-trong { transform: rotateY(180deg); }
.the-lat .mat { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; background: var(--mat); border: 1px solid var(--vien); box-shadow: var(--bong); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; gap: 10px; }
.the-lat .mat.sau { transform: rotateY(180deg); background: var(--chinh-nhat); }
.the-lat .lon { font-size: 1.75em; font-weight: 750; line-height: 1.2; }
.cham-diem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.cham-diem button { border: 0; border-radius: 12px; padding: 10px 4px; font-weight: 700; font-size: .85em; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.cham-diem button span { font-size: .78em; font-weight: 500; opacity: .8; }
.c0 { background: var(--sai-nhat); color: var(--sai); } .c1 { background: var(--vang-nhat); color: var(--vang); }
.c2 { background: var(--dung-nhat); color: var(--dung); } .c3 { background: var(--chinh-nhat); color: var(--chinh); }

/* ---------- bảng dưới & thông báo */
.man-che { position: fixed; inset: 0; background: rgba(8, 20, 23, .45); z-index: 40; }
.tam-duoi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 82vh; overflow-y: auto; background: var(--nen); border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); max-width: 600px; margin: 0 auto; }
.tam-duoi .tay-cam { width: 42px; height: 5px; border-radius: 9px; background: var(--vien); margin: 2px auto 12px; }
.bao { position: fixed; left: 50%; bottom: calc(var(--cao-nav) + 18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; transition: .25s; z-index: 50; background: var(--chu); color: var(--nen); padding: 10px 16px; border-radius: 12px; font-size: .9em; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.bao.hien { opacity: 1; transform: translate(-50%, 0); }

/* ---------- cài đặt & biểu mẫu */
.o-cd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.o-cd select, .o-cd input[type=number] { border: 1px solid var(--vien); background: var(--mat2); border-radius: 10px; padding: 7px 9px; max-width: 55%; }
.chon-doan { display: flex; background: var(--mat2); border-radius: 11px; padding: 3px; gap: 2px; }
.chon-doan button { border: 0; background: none; padding: 6px 10px; border-radius: 9px; font-size: .84em; font-weight: 600; color: var(--chu2); }
.chon-doan button.bat { background: var(--mat); color: var(--chinh); box-shadow: var(--bong); }
textarea.viet { width: 100%; min-height: 190px; border: 1.5px solid var(--vien); border-radius: 14px; padding: 12px; background: var(--mat); line-height: 1.55; resize: vertical; }
textarea.viet:focus { outline: none; border-color: var(--chinh); }
.tim-kiem { position: relative; margin-bottom: 12px; }
.tim-kiem input { width: 100%; padding: 13px 14px 13px 42px; border-radius: 14px; border: 1.5px solid var(--vien); background: var(--mat); font-size: 1.02em; }
.tim-kiem input:focus { outline: none; border-color: var(--chinh); }
.tim-kiem svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--chu3); fill: none; stroke-width: 2; }
.cando { display: flex; gap: 10px; align-items: center; padding: 11px 13px; }
.cando .ba { display: flex; gap: 4px; flex: none; }
.cando .ba button { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--vien); background: var(--mat); font-weight: 800; color: var(--chu3); }
.cando .ba button.bat.v { background: var(--dung); border-color: var(--dung); color: #fff; }
.cando .ba button.bat.g { background: var(--vang); border-color: var(--vang); color: #fff; }
.cando .ba button.bat.x { background: var(--sai); border-color: var(--sai); color: #fff; }
.canh { border-left: 4px solid var(--vang); background: var(--vang-nhat); border-radius: 10px; padding: 10px 12px; font-size: .9em; margin-bottom: 12px; }
.ghi-chu { border-left: 4px solid var(--tim); background: var(--tim-nhat); border-radius: 10px; padding: 11px 13px; margin-bottom: 12px; }
.o-diem { display: flex; gap: 5px; flex-wrap: wrap; }
.o-diem button { min-width: 40px; height: 38px; border-radius: 10px; border: 1.5px solid var(--vien); background: var(--mat); font-weight: 700; }
.o-diem button.bat { background: var(--chinh); border-color: var(--chinh); color: var(--tren-chinh); }
.o-diem button.dung { background: var(--dung); border-color: var(--dung); color: #fff; }
.o-diem button.sai { background: var(--sai); border-color: var(--sai); color: #fff; }
.cs-dong { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 10px 13px; }
.lua { display: inline-block; font-size: 1.05em; }
.sbar-o { margin-bottom: 12px; }
.sbar-o label { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 5px; }
.sbar-o label i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: var(--chinh); color: var(--tren-chinh); display: grid; place-items: center; }
.sbar-o textarea { width: 100%; min-height: 78px; border: 1.5px solid var(--vien); border-radius: 12px; padding: 10px; background: var(--mat); }
.goi-y { display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; padding-bottom: 2px; scrollbar-width: none; }
.goi-y button { flex: none; border: 1px dashed var(--chinh2); background: none; color: var(--chinh); border-radius: 999px; padding: 4px 10px; font-size: .8em; }
.xem-truoc { white-space: pre-wrap; font-size: .95em; }
@media (min-width: 520px) { .luoi.ba-cot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- IPA từng từ + luyện đọc */
.ipa-cau { display: inline-flex; flex-wrap: wrap; gap: 3px 9px; align-items: flex-start; line-height: 1.25; }
.tk { display: inline-flex; flex-direction: column; }
.tk-w { font-size: 1em; }
.tk-i { font-size: .76em; color: var(--chinh); font-family: "Segoe UI", "Noto Sans", "Lucida Sans Unicode", "DejaVu Sans", sans-serif; letter-spacing: .01em; }
.bai-doc .ipa-cau { gap: 4px 10px; }
.bai-doc .tk-w { font-size: 1em; }
.luyen { margin-top: 8px; }
.nut-nho { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--vien); background: var(--mat); color: var(--chu); border-radius: 999px; padding: 5px 11px; font-size: .82em; font-weight: 600; min-height: 34px; }
.nut-nho svg { width: 16px; height: 16px; fill: currentColor; }
.nut-nho.mic { background: var(--chinh); border-color: var(--chinh); color: var(--tren-chinh); }
.nut-nho.mic.dang, .nut-mini.mic.dang { background: var(--sai); border-color: var(--sai); color: #fff; animation: nhip 1s ease-in-out infinite; }
.nut-mini.mic.dang { border-radius: 8px; padding: 0 5px; }
@keyframes nhip { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--sai) 22%, transparent); } }
.cham { margin-top: 8px; padding: 10px 12px; border-radius: 12px; font-size: .92em; background: var(--mat2); }
.cham.dat { background: var(--dung-nhat); border-left: 4px solid var(--dung); }
.cham.chua { background: var(--vang-nhat); border-left: 4px solid var(--vang); }
.cham.loi { background: var(--sai-nhat); border-left: 4px solid var(--sai); }
.cham.nghe { background: var(--chinh-nhat); color: var(--chinh); font-weight: 600; }
.cham .diem { font-size: 1.35em; }
.loi-doc { margin-top: 6px; line-height: 1.8; }
.loi-doc span { display: inline-block; padding: 0 4px; border-radius: 5px; margin: 1px 0; }
.w-dung { background: color-mix(in srgb, var(--dung) 18%, transparent); }
.w-sai { background: color-mix(in srgb, var(--sai) 22%, transparent); text-decoration: underline wavy var(--sai); }
.cau-mc { flex-direction: column; align-items: stretch; }
.bong .ld-kq .cham { font-size: .88em; }
.bong .nut-mini { min-width: 28px; min-height: 28px; }
