/* KidPlusMin – giao diện v2 (27/11/2026): nền tranh mờ, thẻ giấy trắng có băng dính màu, hình 3D, nút "kẹo" nổi khối. */
@font-face { font-family: Mali; src: url(font/Mali-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Mali; src: url(font/Mali-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: BVP; src: url(font/BeVietnamPro-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: BVP; src: url(font/BeVietnamPro-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: BVP; src: url(font/BeVietnamPro-ExtraBold.ttf); font-weight: 800; font-display: swap; }

:root {
  --chu: #2d2a4a; --chu-nhat: #6b6888; --giay: #fffdf8; --vien: rgba(45, 42, 74, .08);
  --cam: #f28c28; --cam-dam: #c96a10; --cam-nhat: #ffe7cc;
  --tim: #7c5cff; --tim-dam: #5a3fd6; --tim-nhat: #ebe5ff;
  --hong: #f0567a; --hong-dam: #c93358; --hong-nhat: #ffe0e8;
  --xanh: #2fb36d; --xanh-dam: #1f8a51; --xanh-nhat: #dcf6e8;
  --duong: #2f8ee8; --duong-dam: #1f6cb8; --duong-nhat: #ddeeff;
  --vang: #ffc93c; --xam: #a9a6bd;
  --bong-the: 0 2px 0 rgba(255,255,255,.9) inset, 0 18px 40px -18px rgba(60, 50, 120, .35), 0 4px 12px rgba(60, 50, 120, .08);
  --bo: 28px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: BVP, system-ui, sans-serif; color: var(--chu); background: #eaf4ff;
  overflow-x: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
button { font-family: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, .ten-goc, .chu-to, .lua-chon { font-family: Mali, BVP, sans-serif; }

/* Nền: tranh vườn làm mờ + lớp sương pastel để thẻ nổi lên */
.nen { position: fixed; inset: 0; z-index: -2; background: #f6efe6 url(hinh3d/nen-trang.webp) center / cover no-repeat; }
.nen::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,253,248,.45) 50%, rgba(255,250,242,.35) 100%); }
.trang-tri { position: fixed; z-index: -1; pointer-events: none; opacity: .95; filter: drop-shadow(0 10px 14px rgba(60,50,120,.18)); }
.trang-tri.b1 { width: 74px; left: 2%; top: 22%; animation: troi 7s ease-in-out infinite; }
.trang-tri.b2 { width: 58px; right: 3%; top: 58%; animation: troi 8s ease-in-out -2s infinite; }
.trang-tri.b3 { width: 84px; left: 3%; top: 64%; animation: troi 9s ease-in-out -4s infinite; }
@keyframes troi { 50% { transform: translateY(-16px) rotate(3deg); } }

/* Đầu trang: thanh kính mờ */
.dau { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.8); box-shadow: 0 6px 24px -18px rgba(60,50,120,.4); }
.ten-web { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.ten-web img { width: 42px; height: 42px; object-fit: contain; }
.logo-chu { font-family: Mali, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -.3px; white-space: nowrap; }
.logo-chu .l1 { color: var(--cam); } .logo-chu .l2 { color: var(--xanh); } .logo-chu .l3 { color: var(--duong); }
.sao-tong { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 5px 14px 5px 6px;
  font-weight: 800; font-size: 20px; box-shadow: var(--bong-the); }
.sao-tong img { width: 30px; height: 30px; }
.sao-tong.nhay { animation: nhay .5s; }
.nut-tron { width: 48px; height: 48px; border-radius: 16px; background: #fff; font-size: 24px; box-shadow: var(--bong-the); flex: none; }

main { max-width: 1040px; margin: 0 auto; padding: 8px 16px 48px; }

/* Nút "kẹo": gradient + viền sáng + đáy đậm tạo khối 3D */
.nut-lon { --m: var(--xanh); --md: var(--xanh-dam);
  font-family: Mali, sans-serif; font-size: 22px; font-weight: 700; padding: 14px 30px; border-radius: 20px; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--m) 80%, #fff) 0%, var(--m) 55%);
  box-shadow: 0 2px 0 rgba(255,255,255,.55) inset, 0 6px 0 var(--md), 0 14px 22px -10px var(--md);
  text-shadow: 0 1px 0 rgba(0,0,0,.15); transition: transform .08s, box-shadow .08s; }
.nut-lon:active { transform: translateY(5px); box-shadow: 0 2px 0 rgba(255,255,255,.55) inset, 0 1px 0 var(--md); }
.xanh { --m: var(--xanh); --md: var(--xanh-dam); } .cam { --m: var(--cam); --md: var(--cam-dam); }
.duong { --m: var(--duong); --md: var(--duong-dam); }
.nut-lon.nho { font-size: 17px; padding: 10px 20px; border-radius: 16px; }
.lien-ket { text-decoration: underline; font-size: 14px; color: var(--chu-nhat); padding: 8px; }

/* Màn chào */
.chao { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.96), rgba(230,242,255,.94) 70%); text-align: center; padding: 16px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chao[hidden] { display: none; }
.chao h1 { font-size: 48px; margin: 0; line-height: 1.1; }
.chao h1 .l1 { color: var(--cam); } .chao h1 .l2 { color: var(--xanh); } .chao h1 .l3 { color: var(--duong); }
.chao p { font-size: 18px; margin: 0 0 10px; color: var(--chu-nhat); }
.ong-to { width: 170px; height: 210px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(60,50,120,.25)); animation: bay 2.6s ease-in-out infinite; }
@keyframes bay { 50% { transform: translateY(-12px) rotate(-4deg); } }
.ban-thu { display: inline-block; font-size: 13px !important; margin: 0 0 10px !important; padding: 3px 12px; border-radius: 999px;
  background: #fff1c2; color: #7a5a00 !important; font-weight: 700; }

/* Trang chủ */
.loi-chao { text-align: center; margin: 18px 0 22px; position: relative; }
.loi-chao .nho-tren { font-size: 13px; letter-spacing: 3px; font-weight: 800; color: var(--chu-nhat); text-transform: uppercase; }
.loi-chao h2 { font-size: clamp(26px, 5vw, 38px); margin: 4px 0 6px; line-height: 1.2; }
.loi-chao p { margin: 0; color: var(--chu-nhat); font-size: 16px; }
.loi-chao .nut-nghe { position: absolute; right: 0; top: 0; }
.luoi-goc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }

.the-goc { position: relative; display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: center; text-align: left;
  background: var(--giay); border-radius: var(--bo); padding: 12px; box-shadow: var(--bong-the);
  transform: rotate(var(--nghieng, 0deg)); transition: transform .2s, box-shadow .2s; }
.the-goc:hover { transform: rotate(0deg) translateY(-4px); }
.the-goc:active { transform: scale(.98); }
.bang-dinh { position: absolute; top: -10px; left: 42%; width: 74px; height: 20px; border-radius: 3px; opacity: .75;
  background: var(--m-nhat); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px); }
.anh-goc { position: relative; display: block; width: 100%; align-self: center; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: center / cover no-repeat #eee; }
.anh-goc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.anh-goc .nv { position: absolute; z-index: 1; height: 82%; bottom: 4%; left: 50%; transform: translateX(-50%);
  filter: drop-shadow(0 10px 10px rgba(0,0,0,.28)); animation: nhun 3s ease-in-out infinite; }
.anh-goc .chu-noi { position: absolute; z-index: 1; left: 50%; bottom: 10%; transform: translateX(-50%); font: 700 64px/1 Mali, sans-serif; color: #fff;
  -webkit-text-stroke: 3px var(--m); paint-order: stroke fill; text-shadow: 0 6px 0 var(--md), 0 14px 18px rgba(0,0,0,.25); animation: nhun 3s ease-in-out infinite; }
@keyframes nhun { 50% { transform: translate(-50%, -6px); } }
.noi-dung, .ten-goc, .phu, .mo-ta, .vao { display: block; }
.noi-dung { display: flex; flex-direction: column; gap: 3px; padding: 6px 4px 4px 0; min-width: 0; }
.ten-goc { font-size: 24px; font-weight: 700; color: var(--m); line-height: 1.15; }
.phu { font-weight: 800; font-size: 14px; }
.mo-ta { font-size: 14px; line-height: 1.45; color: var(--chu-nhat); }
.vao { margin-top: auto; align-self: flex-end; font-weight: 800; font-size: 14px; color: var(--md); padding-top: 6px; }
.mau-cam { --m: var(--cam); --md: var(--cam-dam); --m-nhat: #ffc98f; }
.mau-tim { --m: var(--tim); --md: var(--tim-dam); --m-nhat: #c8b8ff; }
.mau-hong { --m: var(--hong); --md: var(--hong-dam); --m-nhat: #ffb3c5; }
.mau-xanh { --m: var(--xanh); --md: var(--xanh-dam); --m-nhat: #a9e8c6; }
.mau-duong { --m: var(--duong); --md: var(--duong-dam); --m-nhat: #a9d2ff; }
.the-goc.sap { cursor: default; }
.the-goc.sap .anh-goc { filter: saturate(.8); }
.the-goc.sap .vao { color: var(--xam); }
.huy-hieu { position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--chu); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.huy-hieu.on-lai { background: var(--vang); }
.huy-hieu.sao-goc { left: auto; right: 18px; }
.nhom-tieu-de { font-family: Mali, sans-serif; font-weight: 700; font-size: 20px; margin: 34px 0 16px; display: flex; align-items: center; gap: 10px; }
.nhom-tieu-de::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(45,42,74,.15), transparent); }
.chan-trang { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 34px; }
.chan-trang .ban-thu { margin: 0 !important; }

/* Khung trò chơi */
.tro { position: relative; background: rgba(255,253,248,.94); border-radius: 32px; padding: 18px; box-shadow: var(--bong-the); text-align: center;
  max-width: 760px; margin: 10px auto 0; overflow: hidden; }
.tro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: var(--anh-tro, none) center / cover; opacity: .18;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.tro > * { position: relative; }
.tro-dau { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tro-dau h2 { flex: 1; margin: 0; font-size: 24px; text-align: left; }
.nut-nghe { width: 58px; height: 58px; border-radius: 50%; color: #fff; font-size: 26px; flex: none;
  background: radial-gradient(circle at 35% 30%, #7cc3ff, var(--duong) 60%);
  box-shadow: 0 2px 0 rgba(255,255,255,.5) inset, 0 5px 0 var(--duong-dam), 0 12px 18px -8px var(--duong-dam); }
.nut-nghe:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--duong-dam); }
.nut-nghe.dang-doc { animation: nhay .8s infinite; }
.cham-tien-do { display: flex; justify-content: center; gap: 8px; margin: 2px 0 12px; }
.cham-tien-do i { width: 30px; height: 10px; border-radius: 999px; background: #e7e4f2; }
.cham-tien-do i.xong { background: linear-gradient(90deg, #ffd66b, var(--vang)); }

/* Toán: đếm */
.vung-dem { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 16px; border-radius: 26px; min-height: 180px; align-content: center;
  background: radial-gradient(circle at 50% 0%, #fff, #fff4e2); box-shadow: 0 0 0 2px #ffe3bd inset; }
.vat { width: var(--co, 84px); height: var(--co, 84px); position: relative; border-radius: 22px; transition: transform .15s; }
.vat img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.18)); }
.vat.da-dem { transform: scale(.92); }
.vat.da-dem img { animation: nhay .35s; }
.vat .so-dem { position: absolute; top: -6px; right: -6px; min-width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 800 19px/34px BVP, sans-serif;
  background: radial-gradient(circle at 35% 30%, #ffb35c, var(--cam) 60%); box-shadow: 0 3px 0 var(--cam-dam); }
.hang-chon { display: flex; justify-content: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.lua-chon { width: 96px; height: 96px; border-radius: 26px; font-size: 52px; font-weight: 700; color: var(--chu);
  background: linear-gradient(180deg, #fff, #f2f0fa); box-shadow: 0 2px 0 #fff inset, 0 7px 0 #d9d5ea, 0 16px 20px -12px rgba(60,50,120,.45);
  transition: transform .08s; }
.lua-chon:active { transform: translateY(5px); box-shadow: 0 2px 0 #d9d5ea; }
.lua-chon.dung { background: linear-gradient(180deg, #e9fff2, #bff0d4); box-shadow: 0 7px 0 var(--xanh-dam), 0 0 0 4px var(--xanh) inset; animation: nhay .5s; color: var(--xanh-dam); }
.lua-chon.sai { background: #ffe9ee; box-shadow: 0 3px 0 #f3b6c4; animation: lac .4s; opacity: .55; }
.lua-chon:disabled { cursor: default; }

/* Tư duy: lật thẻ */
.luoi-the { display: grid; gap: 12px; margin: 8px auto 0; max-width: 540px; }
.the { aspect-ratio: 1; perspective: 700px; }
.the .mat { position: relative; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.3,1.4,.5,1); transform-style: preserve-3d; }
.the.lat .mat, .the.doi .mat { transform: rotateY(180deg); }
.the .truoc, .the .sau { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.the .truoc { background: linear-gradient(145deg, #9b82ff, var(--tim) 55%, var(--tim-dam));
  box-shadow: 0 2px 0 rgba(255,255,255,.4) inset, 0 6px 0 #4a31b8, 0 14px 18px -10px #4a31b8; }
.the .truoc::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 2px dashed rgba(255,255,255,.35); }
.the .truoc img { width: 52%; height: 52%; object-fit: contain; opacity: .95; filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
.the .sau { background: linear-gradient(180deg, #fff, #f6f3ff); transform: rotateY(180deg); box-shadow: 0 6px 0 #ddd6f5, 0 0 0 3px #ece6ff inset; }
.the .sau img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.18)); }
.the.doi .sau { background: linear-gradient(180deg, #f0fff6, #d3f5e2); box-shadow: 0 6px 0 var(--xanh-dam), 0 0 0 3px var(--xanh) inset; }

/* Tiếng Việt: chữ cái */
.hang-chon.chu .lua-chon { width: 118px; height: 118px; font-size: 76px; padding-bottom: 12px; }
.hinh-tu { display: flex; flex-direction: column; align-items: center; min-height: 170px; justify-content: center; gap: 4px; }
.hinh-tu img { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,.2)); animation: nhay .5s; }
.hinh-tu .tu { font: 700 32px Mali, sans-serif; color: var(--hong-dam); }
.nut-nghe.to { width: 112px; height: 112px; font-size: 50px; }
.goi-y-nghe { font-size: 15px; color: var(--chu-nhat); margin: 4px 0 0; }

/* Việc tốt */
.tien-viec { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 2px 0 14px; font-size: 16px; }
.tien-viec span { white-space: nowrap; }
.tien-viec i { width: 160px; height: 12px; border-radius: 999px; background: #e3f3ea; overflow: hidden; }
.tien-viec i b { display: block; height: 100%; background: linear-gradient(90deg, #7fdcaa, var(--xanh)); border-radius: inherit; transition: width .5s; }
.luoi-viec { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.the-viec { position: relative; background: #fff; border-radius: 22px; padding: 12px 10px 12px; box-shadow: 0 2px 0 #fff inset, 0 6px 0 #e2efe7, 0 14px 20px -14px rgba(31,138,81,.45);
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .2s; }
.the-viec img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.15)); }
.ten-viec { font: 700 16px/1.25 Mali, sans-serif; text-align: center; min-height: 40px; display: flex; align-items: center; }
.nghe-viec { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--duong-nhat); font-size: 16px; }
.nut-xong { font: 700 15px Mali, sans-serif; padding: 9px 14px; border-radius: 14px; color: #fff; width: 100%;
  background: linear-gradient(180deg, #5fd393, var(--xanh) 60%); box-shadow: 0 4px 0 var(--xanh-dam); }
.nut-xong:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--xanh-dam); }
.the-viec.xong { background: linear-gradient(180deg, #f1fff6, #dcf6e8); }
.the-viec.xong .nut-xong { background: #fff; color: var(--xanh-dam); box-shadow: 0 0 0 2px var(--xanh) inset; }
.the-viec.xong img { animation: nhay .5s; }
.vung-qua { text-align: center; margin-top: 10px; }
.vung-qua .qua { width: 170px; height: 180px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.22)); }
.qua.rung { animation: rung 1.2s ease-in-out infinite; }
@keyframes rung { 0%,60%,100% { transform: rotate(0); } 70% { transform: rotate(-7deg) scale(1.04); } 80% { transform: rotate(7deg) scale(1.04); } 90% { transform: rotate(-4deg); } }
.qua.mo { animation: bung .7s cubic-bezier(.3,1.6,.5,1); }
.chon-viec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.o-viec { display: flex !important; align-items: center; gap: 6px; font-weight: 400 !important; margin: 0 !important; font-size: 14px; background: #fff; border-radius: 12px; padding: 4px 8px; }
.o-viec img { width: 30px; height: 30px; object-fit: contain; }
.o-viec.rieng { grid-column: 1 / -1; justify-content: space-between; }
.them-viec { display: flex; gap: 8px; margin-top: 8px; }
.them-viec input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 12px; border: 2px solid #dcd8ec; }

/* Xong ván: hộp quà mở */
.xong-van { padding-top: 26px; }
.xong-van .qua { width: 170px; height: 190px; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0,0,0,.22)); animation: bung .7s cubic-bezier(.3,1.6,.5,1); }
.xong-van .ong-nho { position: absolute; width: 90px; right: 18%; top: 30px; animation: bay 2.6s ease-in-out infinite; }
@keyframes bung { from { transform: scale(.3) rotate(-10deg); opacity: 0; } }
.xong-van h2 { font-size: 36px; margin: 6px 0; color: var(--xanh-dam); }
.xong-van .hang-sao { font-size: 40px; letter-spacing: 4px; margin: 4px 0 6px; }
.xong-van p { font-size: 18px; color: var(--chu-nhat); }
.hang-nut { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* Sao bay, pháo giấy */
.bay-sao { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.sao-bay { position: absolute; width: 60px; height: 60px; transition: transform .9s cubic-bezier(.5,-0.3,.6,1), opacity .9s; }
.giay { position: absolute; width: 10px; height: 14px; top: -20px; border-radius: 2px; animation: roi 1.6s linear forwards; }
@keyframes roi { to { transform: translateY(105vh) rotate(720deg); } }
@keyframes nhay { 0%,100% { transform: scale(1); } 40% { transform: scale(1.15); } }
@keyframes lac { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* Hộp (thông tin, ba mẹ) */
.hop { position: fixed; inset: 0; z-index: 40; background: rgba(45,42,74,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.hop[hidden] { display: none; }
.hop-trong { background: var(--giay); border-radius: 28px; padding: 22px; max-width: 480px; width: 100%; font-size: 15px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.hop-trong h2 { margin-top: 0; }
.hop-trong p { text-align: left; line-height: 1.55; }
.phep-tinh { font: 700 42px Mali, sans-serif; margin: 6px 0; }
.o-dap-an { font: inherit; font-size: 30px; width: 140px; text-align: center; padding: 8px; border-radius: 16px; border: 3px solid #dcd8ec; background: #fff; }
.bao-sai { color: var(--hong-dam); text-align: center !important; }
.goc-ba-me { max-height: 90vh; overflow-y: auto; text-align: left; }
.goc-ba-me h2 { text-align: center; }
.goc-ba-me h3 { font-size: 16px; margin: 16px 0 6px; }
.goc-ba-me label { display: block; margin: 10px 0; font-weight: 700; }
.goc-ba-me select { display: block; width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 9px; border-radius: 12px; border: 2px solid #dcd8ec; margin-top: 4px; background: #fff; }
.goc-ba-me .ghi-chu { font-size: 13px; color: var(--chu-nhat); margin-top: 0; }
.goc-ba-me .lien-ket { padding: 4px; }
.bang { width: 100%; border-collapse: collapse; font-size: 14px; }
.bang td { border-bottom: 1px solid var(--vien); padding: 5px 4px; }
#lichOn { padding-left: 20px; margin: 0; font-size: 14px; }
a { color: var(--duong-dam); }

/* Máy tính rộng: thẻ dựng đứng (tranh trên, chữ dưới), 3 góc chính một hàng, 4 góc sắp có một hàng */
@media (min-width: 900px) {
  .luoi-goc.chinh { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .luoi-goc.sap-co { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .luoi-goc .the-goc { grid-template-columns: 1fr; gap: 10px; padding: 12px 12px 14px; }
  .luoi-goc .noi-dung { padding: 2px 6px 0; }
  .luoi-goc .vao { align-self: flex-end; }
  .luoi-goc.sap-co .ten-goc { font-size: 20px; }
  .luoi-goc.sap-co .mo-ta { font-size: 13px; }
  .bang-dinh { left: 50%; margin-left: -37px; }
}
@media (max-width: 720px) {
  .luoi-goc { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .logo-chu { font-size: 20px; }
  .ten-web img { width: 36px; height: 36px; }
  .the-goc { grid-template-columns: 40% 1fr; gap: 12px; padding: 10px; border-radius: 24px; }
  .ten-goc { font-size: 20px; }
  .mo-ta { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .anh-goc .chu-noi { font-size: 54px; }
  .huy-hieu { top: 14px; left: 14px; font-size: 11px; }
  .huy-hieu.sao-goc { right: 14px; }
  .lua-chon { width: 84px; height: 84px; font-size: 46px; }
  .hang-chon { gap: 10px; }
  .luoi-viec { grid-template-columns: 1fr 1fr; gap: 10px; }
  .the-viec img { width: 76px; height: 76px; }
  .ten-viec { font-size: 14px; }
  .hang-chon.chu .lua-chon { width: 92px; height: 92px; font-size: 60px; }
  .tro { padding: 14px; border-radius: 26px; }
  .tro-dau h2 { font-size: 20px; }
  .loi-chao .nut-nghe { position: static; margin-top: 10px; }
  .trang-tri { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
