/* Tập thở 1.43.0 — trang /tap-tho (web + app web). Lớp tp-* / sv-* / tpw-* (không trùng app.css, site.css). Bê từ lab-taptho/taptho.css (anh KB duyệt). */
:root{--tp-pri:#0680CD;--tp-ink:#24465C;--tp-ink2:#6B8290;--tp-line:#DCE9EF;--tp-card:#fff;--tp-sel:#EAF5FD}
body.tpw-body{--tp-pri:#1B7DB8;--tp-ink:var(--ink);--tp-ink2:var(--ink-2);--tp-line:var(--line);--tp-card:var(--surface);--tp-sel:var(--teal-50)}

/* ===== cảnh thiên nhiên động ===== */
.sv{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#1b3346;contain:paint;transform:translateZ(0);border-radius:inherit}
.sv-kb{position:absolute;top:-4%;right:-4%;bottom:-4%;left:-4%}   /* 1.44.2: ảnh trôi chậm tính trong JS (SceneView.frame) cùng nhịp "thở" — animation CSS lồng với transform JS mỗi khung làm Chrome tràn bộ nhớ ô vẽ (màn Retina), bỏ vẽ hộp/chữ/nút */
.sv-img{position:absolute;top:0;right:0;bottom:0;left:0;background:center/cover no-repeat;opacity:0;transition:opacity 1.3s ease;will-change:transform}
.sv-img.on{opacity:1}
.sv-fxw,.sv-fx{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}
.sv-fx{opacity:0;transition:opacity 1.3s ease}
.sv-fx.on{opacity:1}
.sv-cv{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}
.sv-dim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0b1b28;opacity:.1;pointer-events:none;will-change:opacity}
/* 1.44.2: quầng sáng + sương vẽ trên canvas .sv-cv (taptho.js drawFx); .sv-fx chỉ còn tia nắng rừng */
.sv-fx .ray{position:absolute;top:-20%;width:16%;height:120%;background:linear-gradient(180deg,rgba(255,240,190,0),rgba(255,240,190,.28) 35%,rgba(255,240,190,0) 85%);transform:rotate(18deg);filter:blur(10px);animation:svRay 11s ease-in-out infinite}
.sv-fx .r1{left:18%}.sv-fx .r2{left:40%;width:10%;animation-delay:-4s}.sv-fx .r3{left:58%;width:20%;animation-delay:-7s}
@keyframes svRay{0%,100%{opacity:.3;transform:rotate(18deg) translateX(0)}50%{opacity:.9;transform:rotate(16deg) translateX(4%)}}

/* ===== màn chọn bài: dùng chung ===== */
#tp-app button{font:inherit;cursor:pointer;margin:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tp-h{font-size:15px;font-weight:700;color:var(--tp-ink);margin:16px 0 8px}
.tp-list{display:flex;flex-direction:column;gap:8px}
#tp-app .tp-t{display:grid;grid-template-columns:52px 1fr auto;align-items:center;column-gap:12px;width:100%;text-align:left;background:var(--tp-card);border:1.5px solid transparent;border-radius:16px;padding:8px 12px 8px 8px;box-shadow:0 1px 3px rgba(36,70,92,.08);color:var(--tp-ink);transition:background .25s,border-color .25s}
#tp-app .tp-t.on{border-color:var(--tp-pri);background:var(--tp-sel)}
.tp-t .th{width:52px;height:52px;border-radius:13px;background:#cfe0e8 center/cover;position:relative;overflow:hidden}
.tp-t .th i{position:absolute;right:4px;bottom:4px;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--tp-pri);display:grid;place-items:center}
.tp-t .th i svg{width:15px;height:15px}
.tp-t .bd{min-width:0}
.tp-t .bd b{display:block;font-size:15.5px;font-weight:600;line-height:1.25}
.tp-t .bd b span{white-space:nowrap}
.tp-t .bd small{display:block;font-size:13px;color:var(--tp-ink);margin-top:2px}
.tp-t .bd em{display:block;font-style:normal;font-size:11.5px;color:var(--tp-ink2);margin-top:2px}
.tp-t .tag{font-size:11px;font-weight:600;border-radius:10px;padding:3px 8px;white-space:nowrap;background:#EAF2EC;color:#466A55}
.tp-t .dt{grid-column:1/-1;display:none;margin-top:10px}
.tp-t.on .dt{display:block}
.tp-bar{display:flex;gap:3px;height:22px;border-radius:8px;overflow:hidden}
.tp-bar span{display:grid;place-items:center;font-size:11px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;min-width:0}
.tp-bar .k-in{background:#5BA3C9}.tp-bar .k-hold{background:#8DBFB2}.tp-bar .k-out{background:#4C7D9A}.tp-bar .k-rest{background:#B9D2C8;color:#2c4a3f}
.tp-t .tip{display:block;font-size:13px;line-height:1.45;margin-top:7px}
.tp-shapes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#tp-app .tp-s{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 4px 8px;border-radius:14px;background:var(--tp-card);border:1.5px solid transparent;box-shadow:0 1px 3px rgba(36,70,92,.08);color:var(--tp-pri)}
#tp-app .tp-s.on{border-color:var(--tp-pri);background:var(--tp-sel)}
#tp-app .tp-s:disabled{opacity:.4;cursor:default;box-shadow:none}
.tp-s svg{width:28px;height:28px}
.tp-s b{white-space:nowrap;font-size:13.5px;font-weight:600;color:var(--tp-ink)}
.tp-s small{font-size:11px;color:var(--tp-ink2)}
.tp-seg{display:flex;gap:8px}
#tp-app .tp-seg button{flex:1;height:40px;border-radius:20px;background:var(--tp-card);border:1.5px solid var(--tp-line);font-size:14px;font-weight:600;color:var(--tp-ink)}
#tp-app .tp-seg button.on{background:var(--tp-pri);border-color:var(--tp-pri);color:#fff}
#tp-app .tp-sndrow{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--tp-card);border:0;border-radius:16px;padding:9px 12px 9px 9px;box-shadow:0 1px 3px rgba(36,70,92,.08);color:var(--tp-ink)}
.tp-sndrow .ic{width:40px;height:40px;border-radius:12px;background:#E7F1EB;color:#3F7A63;display:grid;place-items:center;flex:none}
.tp-sndrow .ic svg{width:21px;height:21px}
.tp-sndrow .tx{flex:1;min-width:0}
.tp-sndrow .tx b{display:block;font-size:15px;font-weight:600}
.tp-sndrow .tx small{display:block;font-size:12.5px;color:var(--tp-ink2);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-sndrow .chev{width:18px;height:18px;color:var(--tp-ink2);flex:none}
.tp-note{font-size:12.5px;line-height:1.5;color:var(--tp-ink2);margin:14px 0 0}
.tp-pw{position:absolute;left:0;right:0;top:50%;height:1.3em;transform:translateY(-50%);font-family:var(--display);font-size:15px;line-height:1.3;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.45);text-align:center;pointer-events:none}
.is-tron .tp-pw{color:#18364a;text-shadow:0 0 12px rgba(255,255,255,.7)}
.fa{position:absolute;left:0;right:0;top:0;opacity:0;transform:translateY(7px);transition:opacity .8s ease,transform .8s ease;white-space:nowrap}
.fa.on{opacity:1;transform:none}

/* ===== màn chọn bài: điện thoại (app web) ===== */
.tpa{min-height:100%;background:linear-gradient(180deg,#EAF3EF 0,#F3FBFF 520px);padding-bottom:calc(74px + var(--safe-b,0px))}
.tp-hero{position:relative;height:clamp(250px,38vh,310px);overflow:hidden;color:#fff;isolation:isolate}
/* 1.43.2 Chrome máy tính: lớp con z-index ÂM trong khung bo góc (isolation + overflow:hidden) làm chữ/nút/lớp tối chớp ẩn chớp hiện
   → bỏ hẳn z-index âm, xếp lớp dương: cảnh 0 · lớp tối 1 · hình dẫn nhịp 2 · chữ/nút 3 · nút quay lại 4 (lớp phủ có lớp composite riêng) */
.tp-hero .tp-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}
.tp-hshade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;transform:translateZ(0);pointer-events:none;background:linear-gradient(180deg,rgba(6,22,34,.42) 0%,rgba(6,22,34,.04) 30%,rgba(6,22,34,.08) 52%,rgba(6,22,34,.62) 100%)}
.tp-back{position:absolute;left:12px;top:calc(10px + var(--safe-t,0px));width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;color:#fff;z-index:4}
.tp-back svg{width:20px;height:20px}
.tp-pv{position:absolute;left:50%;top:42%;width:min(46vw,180px);aspect-ratio:1/1;transform:translate(-50%,-50%);z-index:2}
.tp-pv canvas,.tpw-pv canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}
.tp-ht{position:absolute;left:16px;right:16px;bottom:30px;z-index:3;transform:translateZ(0)}
.tp-ht .k{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FFE3A3}
.tp-ht h1{font-family:var(--display);font-weight:400;font-size:26px;line-height:1.15;margin:2px 0;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.tp-ht p{font-size:13px;opacity:.94;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.tp-body{position:relative;margin-top:-18px;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#F5FAF7,#F3FBFF 380px);padding:6px 16px 18px}
.tp-cbar{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:10px 16px calc(12px + var(--safe-b,0px));background:#F3FBFF;box-shadow:0 -4px 14px rgba(36,70,92,.07)}
body.app .tp-cbar .ap-btn{gap:8px;border-radius:25px;display:flex;align-items:center;justify-content:center}
.tp-cbar .ap-btn svg{width:16px;height:16px}
@media (max-width:360px){.tpa .tp-t .tag{display:none}#tp-app.tpa .tp-t{grid-template-columns:52px 1fr}}

/* ===== màn chọn bài: web máy tính ===== */
.tpw-main{padding:18px 0 26px}
.tpw-head h1{text-wrap:wrap}
.tpw{display:grid;grid-template-columns:372px minmax(0,1fr);gap:20px;height:calc(100vh - 68px - 44px);min-height:580px;max-height:800px}
.tpw-side{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:16px 14px;overflow:auto;box-shadow:var(--shadow);scrollbar-width:thin}
.tpw-head .eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-900)}
.tpw-head h1{font-family:var(--display);font-size:24px;line-height:1.2;color:var(--ink);margin:2px 0 0}
.tpw .tp-h{font-size:14px;margin:14px 0 7px}
.tpw .tp-list{gap:6px}
#tp-app.tpw .tp-t{grid-template-columns:44px 1fr auto;padding:6px 10px 6px 6px;border-radius:14px}
.tpw .tp-t .th{width:44px;height:44px;border-radius:11px}
.tpw .tp-t .th i{width:19px;height:19px;right:3px;bottom:3px}.tpw .tp-t .th i svg{width:13px;height:13px}
.tpw .tp-t .bd b{font-size:14.5px}.tpw .tp-t .bd small{font-size:12px}
.tpw .tp-t .dt{display:none!important}
#tp-app.tpw .tp-s{padding:7px 4px 6px;flex-direction:row;justify-content:center;gap:7px}
.tpw .tp-s svg{width:22px;height:22px}.tpw .tp-s small{display:none}
#tp-app.tpw .tp-seg button{height:36px}
#tp-app.tpw .tp-sndrow{padding:7px 10px 7px 7px;border:1px solid var(--line);box-shadow:none}
.tpw .tp-sndrow .ic{width:36px;height:36px}
.tpw-stage{position:relative;border-radius:24px;overflow:hidden;color:#fff;isolation:isolate;box-shadow:var(--shadow-lg);min-width:0}
.tpw-stage .tp-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}
.tpw-stage .tp-hshade{background:linear-gradient(180deg,rgba(6,22,34,.22) 0%,rgba(6,22,34,.02) 34%,rgba(6,22,34,.12) 60%,rgba(6,22,34,.66) 100%)}
.tpw-pv{position:absolute;left:50%;top:41%;width:min(56%,50vh,420px);aspect-ratio:1/1;transform:translate(-50%,-50%);z-index:2}
.tpw-pv .tp-pw{font-size:24px}
.tpw-info{position:absolute;left:26px;right:26px;bottom:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;z-index:3;transform:translateZ(0)}
.tpw-info .k{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FFE3A3}
.tpw-info h2{font-family:var(--display);font-weight:700;font-size:30px;line-height:1.15;margin:3px 0 2px;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.tpw-info .rh{font-size:14.5px;opacity:.95}
.tpw-info .tip{font-size:14px;line-height:1.5;opacity:.9;max-width:52ch;margin-top:6px}
.tpw-cta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
#tp-app .tpw-go{white-space:nowrap;height:56px;padding:0 30px;border-radius:28px;border:0;background:#fff;color:var(--teal-900);font-weight:700;font-size:16.5px;display:inline-flex;align-items:center;gap:10px;box-shadow:0 12px 30px -10px rgba(0,0,0,.55);transition:transform .2s}
#tp-app .tpw-go:hover{transform:translateY(-2px)}
.tpw-go svg{width:16px;height:16px}
.tpw-cta .note{font-size:12px;opacity:.82;text-align:right;max-width:300px;line-height:1.45}

@media (min-width:900px) and (max-height:780px){.tpw-head .eyebrow{display:none}.tpw-head h1{font-size:21px}.tpw .tp-h{margin:10px 0 5px}#tp-app.tpw .tp-t{padding:4px 10px 4px 4px;grid-template-columns:38px 1fr auto}.tpw .tp-t .th{width:38px;height:38px;border-radius:10px}#tp-app.tpw .tp-s{padding:5px 4px}#tp-app.tpw .tp-seg button{height:32px}#tp-app.tpw .tp-sndrow{padding:5px 10px 5px 5px}.tpw .tp-sndrow .ic{width:32px;height:32px}}

@media (min-width:900px) and (max-width:1100px){.tpw{grid-template-columns:330px minmax(0,1fr);gap:16px}.tpw .tp-t .tag{display:none}#tp-app.tpw .tp-t{grid-template-columns:44px 1fr}#tp-app.tpw .tp-s{flex-direction:column;gap:2px}.tpw-info{flex-direction:column;align-items:flex-start;gap:12px}.tpw-cta{flex-direction:row;align-items:center}.tpw-cta .note{text-align:left}}
@media (max-width:899px){.tpw{grid-template-columns:1fr;height:auto;max-height:none;min-height:0}.tpw-stage{order:-1;height:min(78vw,460px)}.tpw-info{flex-direction:column;align-items:flex-start;gap:10px;left:18px;right:18px;bottom:16px}.tpw-info .tip{display:none}.tpw-cta{align-items:flex-start}.tpw-cta .note{display:none}}

/* ===== bảng âm thanh ===== */
.tp-sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background:rgba(10,24,34,0);transition:background .3s ease;display:flex;align-items:flex-end;justify-content:center;font-family:var(--font)}
.tp-sheet[hidden]{display:none}
.tp-sheet.on{background:rgba(10,24,34,.42)}
.tp-sh-c{width:100%;max-width:600px;background:#fff;color:#24465C;border-radius:22px 22px 0 0;padding:14px 18px calc(16px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .35s cubic-bezier(.2,.8,.2,1);max-height:88vh;overflow:auto}
.tp-sheet.on .tp-sh-c{transform:none}
@media (min-width:760px){.tp-sheet{align-items:center}.tp-sh-c{max-width:520px;border-radius:22px;transform:translateY(14px) scale(.98);opacity:0;transition:transform .3s ease,opacity .3s ease}.tp-sheet.on .tp-sh-c{opacity:1;transform:none}}
.tp-sheet button{font:inherit;cursor:pointer;border:0;margin:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tp-sh-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.tp-sh-h b{font-size:18px;font-weight:700}
.tp-sheet .tp-sh-x{width:36px;height:36px;border-radius:50%;background:#F0F5F8;color:#24465C;display:grid;place-items:center;padding:0}
.tp-sh-x svg{width:18px;height:18px}
.tp-sh-g{padding:12px 0;border-bottom:1px solid #EEF3F6}
.tp-sh-g>span{display:block;font-size:13px;font-weight:600;color:#6B8290;margin-bottom:8px}
.tp-chips{display:flex;flex-wrap:wrap;gap:8px}
.tp-sheet .tp-chip{height:38px;padding:0 15px;border-radius:19px;background:#F0F5F8;color:#24465C;font-size:14px;font-weight:500;transition:background .2s,color .2s}
.tp-sheet .tp-chip.on{background:#2F7FA8;color:#fff}
.tp-vol{display:flex;align-items:center;gap:10px;margin-top:12px;color:#6B8290}
.tp-vol.off{opacity:.4}
.tp-vol svg{width:20px;height:20px;flex:none}
.tp-vol input{flex:1;accent-color:#2F7FA8}
.tp-sh-n{font-size:12.5px;color:#7a5f15;background:#FFF6DC;border-radius:10px;padding:8px 10px;margin:12px 0 0;line-height:1.45}
.tp-sheet .tp-sh-ok{width:100%;height:48px;border-radius:24px;background:#2F7FA8;color:#fff;font-size:16px;font-weight:600;margin-top:14px}

/* ===== màn tập (dùng chung điện thoại + máy tính) ===== */
.tp-play{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;color:#fff;overflow:hidden;opacity:0;transition:opacity .6s ease;font-family:var(--font);background:#10283a}
.tp-play.on{opacity:1}
/* 1.44.2: màn tập (nền đặc) đã phủ kín → ẩn trang bên dưới cho Chrome khỏi giữ ô vẽ (điện thoại ít bộ nhớ đồ hoạ). JS: cover() */
body.tp-cover .ap,body.tp-cover #ap-nav,body.tp-cover .hdr,body.tp-cover .ftr,body.tp-cover .tpw-main{visibility:hidden}
.tp-play[hidden]{display:none}
.tp-play .tp-scene{position:absolute;top:0;right:0;bottom:0;left:0}
.tp-pshade{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,rgba(6,20,32,.5) 0%,rgba(6,20,32,.1) 24%,rgba(6,20,32,.1) 58%,rgba(6,20,32,.68) 100%)}
.tp-pshade::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(6,20,32,.42);opacity:0;transition:opacity 1.2s ease}
.tp-play.end .tp-pshade::after{opacity:1}
.tp-ui{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;padding:calc(12px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));max-width:760px;margin:0 auto;transition:opacity .8s ease}
.tp-ui.out{opacity:0}
.tp-play button{font:inherit;cursor:pointer;border:0;margin:0;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tp-top{display:flex;align-items:center;gap:12px}
.tp-play .tp-ib{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:none;padding:0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.tp-ib svg{width:20px;height:20px}
.tp-top .ttl{flex:1;min-width:0;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.tp-top .ttl b{display:block;font-size:16px;font-weight:700}
.tp-top .ttl small{display:block;font-size:12.5px;opacity:.86;margin-top:2px}
.tp-stage{display:grid;place-items:center;min-height:0}
.tp-box{position:relative;width:min(90vw,56vh,560px);aspect-ratio:1/1}
.tp-box canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}
/* 1.44.5 — Safari < 15 chưa hiểu aspect-ratio: khung vuông chốt bằng chiều cao = chiều rộng (padding-top % theo chiều rộng khung cha) */
@supports not (aspect-ratio:1){.tp-pv{height:min(46vw,180px)}.tpw-pv{height:0;padding-top:min(56%,50vh,420px)}.tp-box{height:min(90vw,56vh,560px)}}
.tp-mid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:none;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.tp-mid .w{position:relative;height:1.3em;width:9em;font-family:var(--display);font-size:clamp(21px,5.6vw,29px);line-height:1.3}
.tp-mid .n{font-size:clamp(34px,10vw,48px);font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;opacity:.9}
.s-tron .tp-mid{color:#18364a;text-shadow:0 0 18px rgba(255,255,255,.6)}
.tp-rhy{justify-self:center;display:flex;align-items:center;gap:8px;padding:7px 16px;border-radius:999px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.tp-rhy span{display:flex;flex-direction:column;align-items:center;min-width:42px;opacity:.48;transform:scale(.9);transition:opacity .8s ease,transform .8s ease}
.tp-rhy span.on{opacity:1;transform:none}
.tp-rhy b{font-size:22px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.tp-rhy small{font-size:11px;opacity:.9}
.tp-rhy i{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.5)}
.tp-foot{display:grid;gap:10px;justify-items:center}
.tp-left{font-size:38px;font-weight:300;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.tp-prog{width:100%;max-width:440px;height:3px;border-radius:3px;background:rgba(255,255,255,.22);overflow:hidden}
.tp-prog i{display:block;height:100%;width:0;background:rgba(255,255,255,.9);border-radius:3px}
.tp-btns{display:flex;gap:12px;width:100%;max-width:400px}
.tp-play .tp-b1,.tp-play .tp-b2{flex:1;height:50px;border-radius:25px;font-size:15px;font-weight:600;display:grid;place-items:center;padding:0 12px}
.tp-play .tp-b1{background:rgba(255,255,255,.93);color:#1d4258}
.tp-play .tp-b2{background:rgba(255,255,255,.16);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.tp-play .tp-b1:disabled{opacity:.55}
.tp-end{grid-row:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:0 12px;animation:tpIn 1s ease}
@keyframes tpIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.tp-end .ck{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.93);color:#2b6e8f;display:grid;place-items:center;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.tp-end .ck svg{width:36px;height:36px}
.tp-end h2{margin:4px 0 0;font-family:var(--display);font-weight:400;font-size:30px;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.tpw-body .tp-end h2{font-weight:700}
.tp-end p{margin:0;font-size:15.5px;line-height:1.55;max-width:340px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.4)}
.tp-end .tp-btns{margin-top:10px}
@media (min-width:900px) and (min-height:600px){.tp-top .ttl b{font-size:18px}.tp-left{font-size:42px}}
@media (prefers-reduced-motion:reduce){.sv-kb,.sv-fx *,.tp-orb i,.tp-orb .ha,.tp-cw,.tp-cta,.tp-cta::after,.tp-shp i,.tp-spk b,.hero-sl.tp-on,.hm-sl .tr a.tp-slide img.bg,.hs-img.tp-wimg img,.tp-ready .pop,.tp-ready .popr{animation:none!important;opacity:1!important}}

/* 04/10 tên theo lợi ích: nhãn "lúc nên tập" thành dòng nhỏ trên tên, bỏ cột nhãn bên phải */
#tp-app .tp-t,#tp-app.tpa .tp-t,#tp-app.tpw .tp-t{grid-template-columns:52px 1fr}
#tp-app.tpw .tp-t{grid-template-columns:44px 1fr}
.tp-t .bd .wh{display:block;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#3F8A6E;margin-bottom:1px}
.tpw .tp-t .bd small{display:none}
.tpw .tp-t .bd em .rh{display:none}
#tp-app.tpw .tp-t{padding:5px 10px 5px 6px}
.tpw .tp-t .bd b{font-size:14px}
.tpw .tpw-head h1{font-size:21px}
.tpw-head .eyebrow{display:none}
.tpw .tpw-head + .tp-h{display:none}
.tpw .tpw-head h1{margin-bottom:8px}
@media (min-width:900px) and (max-height:780px){#tp-app.tpw .tp-t{grid-template-columns:38px 1fr}}
@media (min-width:900px) and (max-height:780px){.tpw .tp-t .bd em{display:none}}

/* ===== 1.43.0 trên web thật ===== */
/* thẻ mời đăng ký (khách hết lượt thở thử) + thẻ "sẵn sàng tập tiếp" — nằm trên nền cảnh, không che toàn trang bằng hộp trắng */
.tp-card{max-width:400px;margin:0 auto;width:100%}
.tp-card .ck.lf{color:#2f7a5f}
.tp-card h2{line-height:1.2;text-wrap:wrap}
.tp-gbtns{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;max-width:340px;margin-top:10px}
.tp-play .tp-gbtns a,.tp-play .tp-gbtns button{display:flex;align-items:center;justify-content:center;height:50px;border-radius:25px;font-size:15.5px;font-weight:700;text-decoration:none;text-align:center;padding:0 16px;line-height:1.2}
.tp-play .tp-g1{background:linear-gradient(135deg,#FFE27A,#FFB347 55%,#FF8A5B);color:#3a2600;box-shadow:0 10px 24px -10px rgba(255,138,91,.9)}
.tp-play .tp-g2{background:rgba(255,255,255,.93);color:#1d4258}
.tp-play .tp-g3{background:none;color:#fff;font-weight:600;height:40px;opacity:.9;text-decoration:underline;text-underline-offset:3px}
.tp-gg{display:flex;justify-content:center;min-height:44px}
.tp-gg>div{margin:0 auto}
/* viên nhắc bật tiếng: ngay dưới thanh tiêu đề, không che hình dẫn nhịp */
.tp-snd{position:absolute;left:50%;top:calc(env(safe-area-inset-top,0px) + 64px);transform:translate(-50%,-6px);z-index:3;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);padding:6px 6px 6px 14px;border-radius:999px;background:rgba(12,32,46,.62);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);color:#fff;font-size:13px;line-height:1.25;opacity:0;transition:opacity .4s ease,transform .4s ease;pointer-events:none}
.tp-snd.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.tp-snd .tx{min-width:0}
.tp-snd .tx small{display:block;font-size:11.5px;opacity:.85}
.tp-play .tp-snd .tp-snd-t{flex:none;height:32px;padding:0 12px;border-radius:16px;background:#fff;color:#1d4258;font-size:13px;font-weight:700;white-space:nowrap}
.tp-play .tp-snd .tp-snd-x{flex:none;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;padding:0}
.tp-snd .tp-snd-x svg{width:14px;height:14px}
@media (min-width:900px) and (min-height:600px){.tp-snd{top:calc(env(safe-area-inset-top,0px) + 66px);font-size:13.5px}}
/* tiêu đề khung xem trước: 1 dòng (JS thu cỡ chữ cho vừa), xuống dòng thường khi quá dài */
.tpw-info>div:first-child{min-width:0;flex:1}
.tp-ht h1,.tpw-info h2{text-wrap:wrap}
/* màn hẹp: dòng kỹ thuật chỉ giữ tên (nhịp đã có ở thanh màu khi chọn bài) — tránh "Thở ra 4" rớt dòng */
@media (max-width:374px){.tpa .tp-t .bd em .rh{display:none}}
/* 1.43.1 thanh tiêu đề màn tập: dòng phụ 1 dòng (điện thoại bỏ phần nhịp — đã có ở viên nhịp phía dưới) */
.tp-top .ttl small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:599px){.tp-top .ttl small .rh{display:none}}
.tp-snd .tx b{font-weight:500;white-space:nowrap}
@media (max-width:380px){.tp-snd{font-size:12.5px;padding-left:12px;gap:6px}.tp-snd .tx small{font-size:11px}.tp-play .tp-snd .tp-snd-t{padding:0 10px;font-size:12.5px}}

/* ===== 1.43.2 khối hướng dẫn 5 bài thở (GEO) — dưới công cụ; web: thẻ trắng đầy đủ, app web: "Tìm hiểu về 5 bài thở" thu gọn/mở ===== */
.tpg{--tpg-soft:#F4F9FC;--tpg-acc:#3F8A6E;color:var(--tp-ink);margin-top:26px;background:var(--tp-card);border:1px solid var(--tp-line);border-radius:22px;padding:26px 30px 22px;box-shadow:var(--shadow,0 1px 3px rgba(36,70,92,.08))}
body.tpw-body .tpg{--tpg-soft:var(--surface-2)}
.tpg .tpg-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;color:var(--tp-ink2);margin-bottom:10px}
.tpg .tpg-crumb a{color:var(--tp-ink2)}
.tpg .tpg-crumb a:hover{color:var(--tp-pri);text-decoration:underline}
.tpg .tpg-hd h2{font-family:var(--display);font-weight:700;font-size:28px;line-height:1.25;color:var(--tp-ink);text-wrap:wrap;margin:0 0 10px}
.tpg .tpg-lead{font-size:16px;line-height:1.65;color:var(--tp-ink2);max-width:900px}
.tpg h3{font-size:18px;font-weight:700;line-height:1.3;color:var(--tp-ink);margin:0 0 10px;text-wrap:wrap}
.tpg h3.tpg-sub{margin:26px 0 12px}
.tpg-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.tpg-grid .tpg-card{grid-column:span 2}
.tpg-grid.n5 .tpg-card:nth-child(n+4),.tpg-grid.n4 .tpg-card{grid-column:span 3}
.tpg-card{display:flex;flex-direction:column;gap:9px;min-width:0;background:var(--tpg-soft);border:1px solid var(--tp-line);border-radius:18px;padding:16px 16px 12px}
.tpg-tag{display:flex;align-items:center;gap:11px;min-width:0}
.tpg-tag .th{position:relative;width:44px;height:44px;border-radius:12px;flex:none;background:#cfe0e8 center/cover}
.tpg-tag .th i{position:absolute;right:-5px;bottom:-5px;width:21px;height:21px;border-radius:50%;background:#fff;color:#0680CD;display:grid;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.tpg-tag .th i svg{width:13px;height:13px}
.tpg-tag b{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--tpg-acc)}
.tpg-tag small{display:block;font-size:12.5px;color:var(--tp-ink2);margin-top:1px}
.tpg .tpg-card h4{font-size:17px;font-weight:700;line-height:1.3;margin:2px 0 0;text-wrap:wrap}
.tpg .tpg-card h4 a{color:var(--tp-ink)}
.tpg .tpg-card h4 a:hover{color:var(--tp-pri)}
.tpg-card p{font-size:14.5px;line-height:1.6;color:var(--tp-ink)}
.tpg-bar{display:flex;gap:3px;height:24px;border-radius:8px;overflow:hidden}
.tpg-bar span{display:grid;place-items:center;font-size:11.5px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;min-width:0}
.tpg-bar .k-in{background:#5BA3C9}.tpg-bar .k-hold{background:#6EB0A0}.tpg-bar .k-out{background:#4C7D9A}.tpg-bar .k-rest{background:#B9D2C8;color:#2c4a3f}
.tpg-steps{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14.5px;line-height:1.55;color:var(--tp-ink)}
.tpg-steps.sm{font-size:14px;gap:4px}
.tpg-steps li::marker{color:var(--tp-pri);font-weight:700}
.tpg-card p.tpg-when{font-size:14px;color:var(--tp-ink2)}
.tpg a.tpg-go{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14.5px;color:var(--tp-pri);padding:6px 0}
.tpg a.tpg-go:hover{text-decoration:underline;text-underline-offset:3px}
.tpg-go svg,.tpg-cta svg{width:16px;height:16px;flex:none}
/* trang bài (?bai=): cách thở từng bước */
.tpg-focus{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;margin-top:18px;background:var(--tpg-soft);border:1px solid var(--tp-line);border-radius:20px;padding:20px 22px}
.tpg-fl{display:flex;flex-direction:column;gap:12px;min-width:0}
.tpg-fl h3{margin:4px 0 0}
.tpg-fr{min-width:0}
.tpg-fr h3{margin-bottom:6px}
.tpg-fr p{font-size:15px;line-height:1.65;margin-bottom:14px;color:var(--tp-ink)}
.tpg-note{font-size:14px;line-height:1.55;color:#7a5f15;background:#FFF6DC;border-radius:12px;padding:9px 12px}
.tpg a.tpg-cta{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 22px;border-radius:23px;background:var(--tp-pri);color:#fff;font-weight:700;font-size:15px}
.tpg a.tpg-cta:hover{filter:brightness(1.07)}
.tpg-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.tpg-box{border:1px solid var(--tp-line);border-radius:18px;padding:16px 18px;min-width:0}
.tpg-box ol,.tpg-box ul{margin:0;padding-left:20px;display:grid;gap:7px;font-size:14.5px;line-height:1.55;color:var(--tp-ink)}
.tpg-use{background:var(--tpg-soft)}
.tpg-safe{background:#FFF9EA;border-color:#F3E2B3}
.tpg-safe li::marker{color:#C08A12}
.tpg-box p.tpg-free{margin-top:12px;font-size:14px;font-weight:600;color:var(--tpg-acc)}
.tpg-faq{margin-top:24px}
.tpg-qa{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
.tpg-qa .qa{border-top:1px solid var(--tp-line);padding-top:12px;min-width:0}
.tpg .tpg-qa h4{font-size:15.5px;font-weight:700;line-height:1.35;margin:0 0 5px;color:var(--tp-ink);text-wrap:wrap}
.tpg-qa p{font-size:14.5px;line-height:1.6;color:var(--tp-ink2)}
.tpg p.tpg-by{margin-top:20px;padding-top:14px;border-top:1px solid var(--tp-line);font-size:13px;line-height:1.6;color:var(--tp-ink2)}
.tpg .tpg-by a{color:var(--tp-pri);text-decoration:underline;text-underline-offset:2px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpw-body .tpg-safe{background:#2A2210;border-color:#5A4717}:root:not([data-theme="light"]) body.tpw-body .tpg-note{background:#3a2e0e;color:#f5e2a8}:root:not([data-theme="light"]) body.tpw-body .tpg{--tpg-acc:#7DD3B0}}
:root[data-theme="dark"] body.tpw-body .tpg-safe{background:#2A2210;border-color:#5A4717}:root[data-theme="dark"] body.tpw-body .tpg-note{background:#3a2e0e;color:#f5e2a8}:root[data-theme="dark"] body.tpw-body .tpg{--tpg-acc:#7DD3B0}
@media (max-width:1100px){.tpg-grid .tpg-card,.tpg-grid.n5 .tpg-card:nth-child(n+4),.tpg-grid.n4 .tpg-card{grid-column:span 3}.tpg-grid.n5 .tpg-card:last-child{grid-column:1/-1}}
@media (max-width:760px){.tpg{padding:20px 16px 16px;border-radius:18px}.tpg .tpg-hd h2{font-size:23px}.tpg-grid .tpg-card,.tpg-grid.n5 .tpg-card:nth-child(n+4),.tpg-grid.n4 .tpg-card{grid-column:1/-1}.tpg-focus,.tpg-row,.tpg-qa{grid-template-columns:1fr}.tpg-focus{gap:14px;padding:16px}}
/* app web: khối thu gọn cuối danh sách bài */
.tpg.tpg-app{margin:18px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.tpg-dt>summary{list-style:none}
.tpg-dt>summary::-webkit-details-marker{display:none}
.tpg-sum{display:flex;align-items:center;gap:12px;background:var(--tp-card);border-radius:16px;padding:9px 12px 9px 9px;box-shadow:0 1px 3px rgba(36,70,92,.08);cursor:pointer;color:var(--tp-ink);-webkit-tap-highlight-color:transparent}
.tpg-sum .ic{width:40px;height:40px;border-radius:12px;background:#E7F1EB;color:#3F7A63;display:grid;place-items:center;flex:none}
.tpg-sum .ic svg{width:21px;height:21px}
.tpg-sum .tx{flex:1;min-width:0}
.tpg-sum .tx b{display:block;font-size:15px;font-weight:600}
.tpg-sum .tx small{display:block;font-size:12.5px;color:var(--tp-ink2);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpg .nw{white-space:nowrap}
.tpg-sum .chev{width:20px;height:20px;color:var(--tp-ink2);flex:none;transition:transform .25s}
.tpg-dt[open] .tpg-sum .chev{transform:rotate(180deg)}
.tpg-in{padding:14px 0 4px}
.tpg-app .tpg-hd h2{font-weight:400;font-size:22px}
/* 1.44.4 web: phần chữ hướng dẫn thu về 1 dòng đóng sẵn như app web (màn tập gọn, Google vẫn đọc được); mở ra mới hiện khung chữ */
body.tpw-body .tpg{margin-top:16px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
body.tpw-body .tpg-sum{max-width:440px;padding:10px 14px 10px 10px;border:1px solid var(--tp-line);box-shadow:none;transition:border-color .2s}
body.tpw-body .tpg-sum:hover{border-color:var(--tp-pri)}
body.tpw-body .tpg-in{margin-top:12px;padding:24px 30px 22px;background:var(--tp-card);border:1px solid var(--tp-line);border-radius:22px}
.tpg-app .tpg-lead{font-size:14.5px;line-height:1.6}
.tpg-app .tpg-grid .tpg-card,.tpg-app .tpg-grid.n5 .tpg-card:nth-child(n+4),.tpg-app .tpg-grid.n4 .tpg-card{grid-column:1/-1}
.tpg-app .tpg-grid{gap:10px}
.tpg-app .tpg-focus,.tpg-app .tpg-row,.tpg-app .tpg-qa{grid-template-columns:1fr}
.tpg-app .tpg-focus{gap:14px;padding:16px;background:var(--tp-card)}
.tpg-app .tpg-card{background:var(--tp-card);padding:14px 14px 10px}
.tpg-app .tpg-use{background:var(--tp-card)}
.tpg-app .tpg-row{gap:10px;margin-top:16px}
.tpg-app .tpg-qa{gap:10px}

/* ===== 1.44.0 link đẹp từng bài · khách chỉ 3 phút (nút 5/10 khoá) · nút chia sẻ ===== */
.tp-nw{white-space:nowrap}
/* trang bài: H1 = tên bài ở khung cảnh; tiêu đề cột trái thành chữ thường cùng kiểu */
.tpw-head .h1{font-family:var(--display);font-weight:700;font-size:21px;line-height:1.2;color:var(--ink);margin:2px 0 8px;text-wrap:wrap}
.tpw-info h1{font-family:var(--display);font-weight:700;font-size:30px;line-height:1.15;margin:3px 0 2px;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35);text-wrap:wrap}
/* nút thời gian bị khoá (khách) */
.tp-segw{position:relative}
#tp-app .tp-seg button.lk{color:var(--tp-ink2);border-style:dashed;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:5px}
#tp-app .tp-seg button.lk:hover{border-color:var(--tp-pri);color:var(--tp-pri)}
.tp-lki{display:inline-grid;place-items:center;font-style:normal}
.tp-lki svg{width:14px;height:14px}
.tp-lockpop{position:absolute;left:0;right:0;bottom:calc(100% + 10px);z-index:6;display:flex;flex-direction:column;gap:6px;padding:13px 40px 13px 14px;border-radius:16px;background:var(--tp-card);color:var(--tp-ink);border:1px solid var(--tp-line);box-shadow:0 16px 36px -10px rgba(10,40,60,.38);opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.tp-lockpop.on{opacity:1;transform:none;pointer-events:auto}
.tp-lockpop::after{content:"";position:absolute;right:22%;bottom:-7px;width:12px;height:12px;background:var(--tp-card);border-right:1px solid var(--tp-line);border-bottom:1px solid var(--tp-line);transform:rotate(45deg)}
.tp-lockpop b{font-size:15px;font-weight:700;line-height:1.3;text-wrap:wrap}
.tp-lockpop>span{font-size:13px;line-height:1.45;color:var(--tp-ink2)}
.tp-lockpop .bt{display:flex;gap:8px;margin-top:4px}
.tp-lockpop .bt a{flex:1;display:grid;place-items:center;height:40px;border-radius:20px;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;padding:0 10px}
.tp-lockpop .bt a.p{background:linear-gradient(135deg,#FFE27A,#FFB347 55%,#FF8A5B);color:#3a2600}
.tp-lockpop .bt a.s{background:var(--tp-sel);color:var(--tp-pri)}
#tp-app .tp-lockpop .x{position:absolute;right:8px;top:8px;width:28px;height:28px;border-radius:50%;border:0;padding:0;background:transparent;color:var(--tp-ink2);display:grid;place-items:center}
.tp-lockpop .x svg{width:15px;height:15px}
/* app web: nút chia sẻ góc trên phải (đối xứng nút lùi) */
#tp-app .tp-hshare{position:absolute;right:12px;top:calc(10px + var(--safe-t,0px));z-index:4;width:40px;height:40px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;color:#fff}
.tp-hshare svg{width:19px;height:19px}
/* web: nút phụ "Chia sẻ" cạnh "Bắt đầu thở" */
.tpw-btns{display:flex;align-items:center;gap:10px}
#tp-app .tpw-sh{white-space:nowrap;height:56px;padding:0 18px;border-radius:28px;border:0;background:rgba(255,255,255,.18);color:#fff;font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:8px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);transition:background .2s}
#tp-app .tpw-sh:hover{background:rgba(255,255,255,.28)}
.tpw-sh svg{width:17px;height:17px}
@media (max-width:899px){.tpw-btns{flex-direction:row-reverse}}
/* màn kết thúc: chia sẻ bài thở này */
.tp-play .tp-b3{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;margin-top:4px;border-radius:22px;background:none;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.tp-play .tp-b3 svg{width:17px;height:17px}
/* hộp chia sẻ (máy tính / trình duyệt không có bảng chia sẻ) */
.tp-shr .tp-sh-c{max-width:440px}
.tp-shr-t{margin:8px 0 10px;font-size:14.5px;line-height:1.45;color:#4A6A82}
.tp-shr-u{width:100%;height:44px;border-radius:12px;border:1px solid #DCE9EF;background:#F4F9FC;color:#24465C;font:inherit;font-size:14px;padding:0 12px}
.tp-shr-b{display:flex;gap:10px;margin-top:12px}
.tp-sheet .tp-shr-c,.tp-shr-f{flex:1;height:46px;border-radius:23px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;padding:0 12px}
.tp-sheet .tp-shr-c{background:#2F7FA8;color:#fff}
.tp-sheet .tp-shr-c.ok{background:#3F8A6E}
.tp-shr-f{background:#1877F2;color:#fff}
.tp-shr-c svg,.tp-shr-f svg{width:18px;height:18px;flex:none}
@media (max-width:420px){.tp-shr-b{flex-direction:column}.tp-sheet .tp-shr-c,.tp-sheet .tp-shr-f{flex:none}}   /* 1.44.2: cột dọc thì flex:1 ép nút còn 21px → bỏ flex, giữ cao 46px */
