:root{
  --bg:#FFFFFF; --panel:#F5F0F2; --green-deep:#A14463; --green-mid:#A36277; --green-soft:#C5A4AF;
  --ink:#241B1E; --muted:#655359; --clay:#B17287; --clay-soft:#EEDBE1; --line:#EAE1E4; --gold:#D9A93F; --danger:#C0453B;
  --sans:'Be Vietnam Pro',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --serif:'Lora',Georgia,'Times New Roman',serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3{font-family:var(--serif);color:var(--green-deep);letter-spacing:-.01em;line-height:1.2}
button{font-family:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
.loading{padding:80px 0;text-align:center;color:var(--muted)}

/* ---------- nút tài khoản trên menu website ---------- */
header .nav-links a.nav-login{border:1.5px solid var(--green-deep);color:var(--green-deep);opacity:1;padding:8px 18px;border-radius:999px;font-weight:600;font-size:14px}
header .nav-links a.nav-login::after{display:none}
header .nav-links a.nav-login:hover{background:var(--green-deep);color:#fff}
@media (max-width:960px){header .nav-links a.nav-login{margin-top:14px;text-align:center;padding:12px 22px}}

/* ---------- nút / biểu mẫu ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:999px;border:2px solid transparent;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s,color .2s,transform .2s;line-height:1.2;text-align:center}
.btn-primary{background:var(--green-deep);color:#fff}
.btn-primary:hover{background:var(--clay);transform:translateY(-1px)}
.btn-ghost{background:#fff;color:var(--green-deep);border-color:var(--green-deep)}
.btn-ghost:hover{background:var(--green-deep);color:#fff}
.btn-soft{background:var(--clay-soft);color:var(--green-deep)}
.btn-soft:hover{background:var(--green-deep);color:#fff}
.btn-danger{background:#fff;color:var(--danger);border-color:var(--danger)}
.btn-danger:hover{background:var(--danger);color:#fff}
.btn-gold{background:linear-gradient(135deg,#F6DC96,var(--gold));color:#4A3608}
.btn-sm{padding:8px 16px;font-size:13.5px}
.btn[disabled]{opacity:.5;cursor:default;transform:none}
.btn-block{display:flex;width:100%}

.field{display:flex;flex-direction:column;margin-bottom:16px}
.field label{font-size:13.5px;font-weight:600;color:var(--green-deep);margin-bottom:6px}
.field .hint{font-size:12.5px;color:var(--muted);margin-top:5px}
input[type=date],input[type=text],input[type=tel],input[type=email],input[type=password],input[type=number],input[type=search],select,textarea{
  font:400 15px/1.5 var(--sans);color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;width:100%}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--clay);box-shadow:0 0 0 3px var(--clay-soft)}
textarea{resize:vertical;min-height:90px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted);margin:4px 0 18px}
.check input{width:17px;height:17px;margin-top:3px;accent-color:var(--green-deep);flex-shrink:0}
.err{background:#fdeceb;color:var(--danger);border-radius:12px;padding:10px 14px;font-size:14px;margin-bottom:14px}
.okmsg{background:var(--clay-soft);color:var(--green-deep);border-radius:12px;padding:10px 14px;font-size:14px;margin-bottom:14px}

/* ---------- bố cục chung ---------- */
.section{padding:56px 0}
.section.alt{background:var(--panel)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;letter-spacing:.14em;font-weight:600;text-transform:uppercase;color:var(--green-mid);margin-bottom:12px}
.eyebrow::before{content:'';width:26px;height:1px;background:var(--clay)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px;flex-wrap:wrap}
.sec-head h2{font-size:clamp(26px,3.2vw,36px)}
.sec-head p{color:var(--muted);margin-top:8px;max-width:640px}
.link-more{font-size:14px;font-weight:600;color:var(--green-deep)}
.link-more:hover{color:var(--clay)}
.pagehead{background:linear-gradient(180deg,var(--panel),#fff);padding:44px 0 26px;border-bottom:1px solid var(--line)}
.pagehead h1{font-size:clamp(28px,4vw,40px)}
.pagehead p{color:var(--muted);margin-top:10px;max-width:680px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumbs a:hover{color:var(--clay)}

.hero-cta{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- thẻ khoá học ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 26px -20px rgba(135,78,97,.3);transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:0 22px 38px -22px rgba(135,78,97,.4)}
.cover{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#8C445C,#A36277);overflow:hidden}
.cover img{width:100%;height:100%;object-fit:cover}
.cover .ph{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.9);font-family:var(--serif);font-size:22px;padding:18px;text-align:center;font-weight:600}
.tag{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.95);color:var(--green-deep);font-size:11.5px;font-weight:700;letter-spacing:.05em;padding:5px 12px;border-radius:999px}
.tag.paid{background:linear-gradient(135deg,#F6DC96,var(--gold));color:#4A3608}
.tag.mine{left:auto;right:12px;background:var(--green-deep);color:#fff}
.card-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.card-body h3{font-family:var(--sans);font-size:17px;font-weight:700;line-height:1.35;margin-bottom:6px}
.card-body p{font-size:13.8px;color:var(--muted);margin-bottom:14px;flex:1}
.meta{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.price{font-size:22px;font-weight:700;color:var(--green-deep)}
.price.free{font-size:15px;background:var(--clay-soft);padding:3px 12px;border-radius:999px}
.old{font-size:13px;color:#9a9382;text-decoration:line-through}
.small{font-size:13px;color:var(--muted)}
.empty{padding:40px 20px;text-align:center;color:var(--muted);background:var(--panel);border-radius:18px}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.tabs button{padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:600;color:var(--green-deep);cursor:pointer}
.tabs button.on{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}

/* ---------- chi tiết khoá ---------- */
.detail{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:36px;padding:36px 0 64px;align-items:start}
.detail .desc{color:#403237;font-size:16px;white-space:pre-line;margin:18px 0 26px}
.buybox{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 24px 46px -34px rgba(135,78,97,.5);position:sticky;top:92px}
.buybox .cover{border-radius:14px;margin-bottom:18px}
.lesson-list{list-style:none;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.lesson-list li{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}
.lesson-list li:last-child{border-bottom:none}
.lesson-list .num{flex:0 0 30px;height:30px;border-radius:50%;background:var(--panel);color:var(--green-deep);font-weight:700;font-size:13px;display:grid;place-items:center}
.lesson-list .t{flex:1;font-weight:500;font-size:15px}
.lesson-list .st{font-size:12.5px;color:var(--muted);white-space:nowrap}
.lesson-list li.done .num{background:var(--green-deep);color:#fff}
@media (max-width:860px){.detail{grid-template-columns:1fr}.buybox{position:static;order:-1}}

/* ---------- phòng học ---------- */
.player{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;padding:28px 0 64px;align-items:start}
.video{position:relative;aspect-ratio:16/9;background:#754857;border-radius:18px;overflow:hidden}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video .novid{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#EEDBE1;padding:24px;font-size:15px}
.ptitle{margin:20px 0 8px;font-size:clamp(22px,2.6vw,30px)}
.pdesc{color:#403237;white-space:pre-line;margin-bottom:20px}
.pactions{display:flex;gap:10px;flex-wrap:wrap}
.side{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;position:sticky;top:92px}
.side-head{padding:16px 18px;background:var(--panel);border-bottom:1px solid var(--line)}
.side-head b{display:block;color:var(--green-deep);margin-bottom:8px;font-size:15px;line-height:1.35}
.prog{height:8px;border-radius:99px;background:#E8DDE1;overflow:hidden}
.prog i{display:block;height:100%;background:var(--clay);border-radius:99px;transition:width .4s}
.side ul{list-style:none;max-height:60vh;overflow:auto}
.side li a{display:flex;gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--line);font-size:14.5px}
.side li a:hover{background:var(--panel)}
.side li.cur a{background:var(--clay-soft);font-weight:600}
.side li .ck{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid var(--green-soft);display:grid;place-items:center;font-size:12px;color:#fff}
.side li.done .ck{background:var(--green-deep);border-color:var(--green-deep)}
.side li.locked a{opacity:.55}
@media (max-width:960px){.player{grid-template-columns:1fr}.side{position:static}}

/* ---------- đăng nhập ---------- */
.authbox{max-width:460px;margin:48px auto 72px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 32px;box-shadow:0 30px 60px -40px rgba(135,78,97,.5)}
.authbox h1{font-size:30px;margin-bottom:6px}
.authbox .sub{color:var(--muted);font-size:14.5px;margin-bottom:22px}
.authbox .alt{margin-top:18px;font-size:14px;text-align:center;color:var(--muted)}
.authbox .alt a{color:var(--green-deep);font-weight:700}
.gg{margin-top:14px;padding:11px;border:1px dashed var(--line);border-radius:999px;text-align:center;font-size:13px;color:#8B787E}
@media (max-width:520px){.authbox{margin:24px 14px 48px;padding:26px 20px}}

/* ---------- quản trị ---------- */
.admin{padding:28px 0 70px}
.atabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:12px}
.atabs a{padding:9px 16px;border-radius:12px;font-weight:600;font-size:14.5px;color:var(--green-deep)}
.atabs a.on{background:var(--green-deep);color:#fff}
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-bottom:26px}
.stat{background:var(--panel);border-radius:16px;padding:16px 18px}
.stat b{display:block;font-family:var(--serif);font-size:30px;color:var(--green-deep)}
.stat span{font-size:13px;color:var(--muted)}
.tbl{width:100%;border-collapse:collapse;font-size:14px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.tbl th{background:var(--panel);text-align:left;padding:10px 12px;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--green-mid)}
.tbl td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:middle}
.tblwrap{overflow-x:auto;border-radius:14px}
.pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--panel);color:var(--green-deep)}
.pill.pub{background:var(--clay-soft)}
.pill.draft{background:#f3ecd9;color:#7a5b0c}
.pill.pend{background:#fff3d6;color:#7a5b0c}
.pill.paidp{background:var(--clay-soft)}
.pill.canc{background:#eee;color:#777}
.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:22px}
.panel h3{font-family:var(--sans);font-size:17px;margin-bottom:14px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:640px){.row2,.row3{grid-template-columns:1fr}}
.lrow{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 0;border-top:1px solid var(--line)}
.lrow:first-of-type{border-top:none}
.lrow .th{width:110px;aspect-ratio:16/9;background:var(--panel);border-radius:10px;overflow:hidden;display:grid;place-items:center;font-size:12px;color:var(--muted)}
.lrow .th img{width:100%;height:100%;object-fit:cover}
.lrow .acts{display:flex;flex-direction:column;gap:6px}
.lrow input[type=text],.lrow textarea{margin-bottom:8px;padding:8px 12px;font-size:14px}
.lrow textarea{min-height:60px}
@media (max-width:700px){.lrow{grid-template-columns:1fr}.lrow .acts{flex-direction:row;flex-wrap:wrap}}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.toolbar input[type=search]{max-width:320px}

/* ---------- thanh toán ---------- */
.paybox{max-width:640px;margin:40px auto 70px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 30px 60px -40px rgba(135,78,97,.5)}
.qr{aspect-ratio:1;max-width:240px;margin:18px auto;border:2px dashed var(--green-soft);border-radius:18px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:14px;padding:16px;background:var(--panel)}
.code{display:inline-block;font-family:ui-monospace,Menlo,monospace;font-size:20px;font-weight:700;letter-spacing:.08em;background:var(--panel);padding:8px 16px;border-radius:12px;color:var(--green-deep)}

/* ---------- chân trang (giống các trang con của website) ---------- */
footer{padding:48px 0 30px;border-top:1px solid var(--line);background:var(--panel);margin-top:auto}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer-brand .brand-mark img{width:100%;height:100%;object-fit:contain}
.footer-brand .brand-name{font-size:16.5px;font-weight:700;color:var(--green-deep);letter-spacing:.02em;line-height:1.4}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12.5px;color:#8B787E}
.footer-bottom a:hover{color:var(--clay)}
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);background:var(--green-deep);color:#fff;padding:12px 22px;border-radius:999px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:100;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.bad{background:var(--danger)}
@media (max-width:600px){.wrap{padding:0 18px}.section{padding:40px 0}}

/* ---------- trang khoá học (Tìm hiểu / Kích hoạt) ---------- */
.cpage{background:linear-gradient(180deg,var(--panel),#fff 420px);padding:22px 0 70px}
.cgrid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start;margin-top:22px}
.cmain h1{font-size:clamp(30px,4.2vw,50px);line-height:1.12;margin-bottom:16px;text-wrap:balance}
.cmeta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;color:var(--muted);font-size:15.5px;margin-bottom:18px}
.cpill{display:inline-flex;align-items:center;gap:7px;background:var(--clay-soft);color:var(--green-deep);font-weight:700;padding:6px 14px;border-radius:999px;font-size:14px}
.cpill::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--clay)}
.cpill.paid{background:#f6ecd0;color:#6b4d09}.cpill.paid::before{background:var(--gold)}
.cdesc{font-size:16.5px;color:#403237;margin-bottom:24px;max-width:760px;white-space:pre-line}
.cbox-list{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:24px;box-shadow:0 14px 30px -26px rgba(135,78,97,.4)}
.cl-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:var(--panel);border-bottom:1px solid var(--line)}
.cl-head b{font-size:17px;color:var(--green-deep)}.cl-head span{color:var(--muted);font-size:14px}
.cbox-list ol{list-style:none}
.cbox-list li{border-bottom:1px solid var(--line)}.cbox-list li:last-child{border-bottom:none}
.lrow-in{display:flex;align-items:center;gap:16px;padding:16px 24px;font-size:16px}
a.lrow-in:hover{background:var(--panel)}
.ln{flex:0 0 34px;height:34px;border-radius:10px;background:var(--panel);color:var(--green-deep);font-weight:700;display:grid;place-items:center;font-size:14px}
.lx{flex:1;color:var(--ink)}
.lt{font-size:12.5px;font-weight:700;color:var(--green-deep);background:var(--clay-soft);padding:4px 11px;border-radius:999px;white-space:nowrap}
.lt.lock{background:#F1ECEE}.lt.done{background:var(--green-deep);color:#fff}
.teacher{display:flex;align-items:center;gap:18px;background:var(--panel);border-radius:20px;padding:18px 22px}
.teacher img{width:74px;height:74px;border-radius:50%;object-fit:cover;border:3px solid #fff;flex-shrink:0}
.teacher div{flex:1}.teacher b{display:block;font-size:18px;color:var(--green-deep)}.teacher span{font-size:14px;color:var(--muted)}
.cbox{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 30px 60px -40px rgba(135,78,97,.55);position:sticky;top:96px}
.cbox-cover{aspect-ratio:16/9;background:linear-gradient(135deg,#8C445C,#A36277);position:relative}
.cbox-cover img{width:100%;height:100%;object-fit:cover}
.cbox-cover .ph{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-family:var(--serif);font-size:22px;text-align:center;padding:16px}
.cbox-body{padding:22px 26px 26px}
.cbox-price{font-family:var(--sans);font-size:40px;font-weight:700;color:var(--green-deep);line-height:1.1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.cbox-price .old{font-size:16px;font-weight:500}
.cbox-note{display:inline-block;background:#fbf1d8;color:#6b4d09;font-weight:600;font-size:14px;padding:6px 14px;border-radius:999px;margin:12px 0 18px}
.btn-big{padding:17px 24px;font-size:17px;border-radius:999px;box-shadow:0 14px 26px -14px rgba(161,68,99,.8)}
.perks{list-style:none;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;display:grid;gap:10px}
.perks li{display:flex;gap:10px;font-size:15px;color:#403237}
.perks li::before{content:'✓';color:var(--clay);font-weight:700}
.cbox-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.center{text-align:center;margin-top:10px}
@media (max-width:960px){.cgrid{grid-template-columns:1fr}.cbox{position:static;order:-1}}
@media (max-width:520px){.teacher{flex-wrap:wrap}.lrow-in{padding:14px 16px;gap:12px;font-size:15px}.cbox-body{padding:18px}}
.gwrap{margin-top:4px}
.gsep{display:flex;align-items:center;gap:12px;color:#A59097;font-size:13px;margin:18px 0 14px}
.gsep::before,.gsep::after{content:'';flex:1;height:1px;background:var(--line)}
.gbtn{display:flex;justify-content:center;min-height:44px}

/* ---------- bảng xếp hạng ---------- */
.rk-page{background:linear-gradient(180deg,#99425F 0%,#A34F6B 55%,#A36277 100%);padding:26px 0 70px;color:#fff;min-height:70vh}
.rk-page .crumbs,.rk-page .crumbs a{color:rgba(255,255,255,.75)}
.rk-page h1{color:#fff;text-align:center;font-size:clamp(30px,4.4vw,48px);margin-top:10px}
.rk-sub{text-align:center;color:#EEDBE1;margin:8px 0 22px;font-size:16.5px}
.rk-tabs{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:26px}
.rk-tabs button{padding:9px 22px;border-radius:999px;border:1.5px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);color:#fff;font-weight:600;font-size:15px;cursor:pointer}
.rk-tabs button.on{background:#F6DC96;color:#4A3608;border-color:#F6DC96}
.rk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:10px;align-items:end;min-height:300px;margin-bottom:20px}
.pod{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;min-height:270px;justify-content:flex-end}
.pod b{font-size:15px;line-height:1.3}.pod .pv{font-family:var(--serif);font-size:20px;color:#F6DC96;font-weight:700}
.pod .step{width:100%;border-radius:14px 14px 0 0;display:grid;place-items:end center;padding-bottom:10px;font-family:var(--serif);font-style:italic;font-size:36px;font-weight:700;color:#3a3a3a}
.p1 .step{height:110px;background:linear-gradient(#F6DC96,#D9A93F)}
.p2 .step{height:82px;background:linear-gradient(#e6ecf0,#a9b6c0)}
.p3 .step{height:64px;background:linear-gradient(#e8c4a0,#b98a5e)}
.rk-av{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#B17287;border:3px solid rgba(255,255,255,.85);font-weight:700;font-size:18px;color:#fff;flex-shrink:0}
.p1 .rk-av{width:76px;height:76px;font-size:24px;border-color:#F6DC96}
.crown{font-size:26px;line-height:1}
.podium-empty{font-size:80px;text-align:center;padding:30px 0;opacity:.6}
.rk-list{background:#fff;color:var(--ink);border-radius:22px;overflow:hidden;box-shadow:0 26px 50px -30px rgba(0,0,0,.6)}
.rk-row{display:flex;align-items:center;gap:14px;padding:12px 18px;border-bottom:1px solid var(--line)}
.rk-row:last-child{border-bottom:none}.rk-row.me{background:var(--clay-soft)}
.rk-row .rk-av{width:44px;height:44px;font-size:15px;border-color:var(--clay-soft)}
.rk-n{flex:0 0 26px;text-align:center;font-family:var(--serif);font-size:20px;color:#968389}
.rk-mid{flex:1;min-width:0}.rk-mid b{display:block;font-size:15.5px}
.rk-mid .prog{height:6px;margin-top:6px}
.rk-v{font-weight:700;color:var(--green-deep);white-space:nowrap;font-size:14.5px}
.rk-empty{padding:34px 24px;color:var(--muted);text-align:center;line-height:1.7}
.rk-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:rgba(0,0,0,.22);border-radius:20px;padding:18px 22px;border:1px solid rgba(255,255,255,.18)}
.rk-cta b{display:block;font-family:var(--serif);font-size:19px}.rk-cta span{font-size:14px;color:#EEDBE1}
.btn-ghost-w{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}.btn-ghost-w:hover{background:#fff;color:var(--green-deep)}
.rk-foot{text-align:center;color:#E4D1D7;font-size:13px;margin-top:22px}
@media (max-width:900px){.rk-grid{grid-template-columns:1fr}.pod{min-height:230px}}

/* ---------- gợi ý / bài tập / câu hỏi trong phòng học ---------- */
.tipbox{background:var(--clay-soft);border-radius:14px;padding:16px 18px;margin:18px 0}
.tipbox b{display:block;color:var(--green-deep);margin-bottom:6px;font-size:14.5px}
.player .panel{margin-top:22px}
.player .panel h3{font-family:var(--sans);font-size:16.5px;color:var(--green-deep);margin-bottom:4px}
.player .panel textarea{margin-bottom:12px}
/* Menu tài khoản (đã đăng nhập) */
header .nav-links .tk{position:relative}
header .nav-links .tk-btn{display:flex;align-items:center;gap:9px;background:#fff;border:1.5px solid var(--green-deep);color:var(--green-deep);border-radius:999px;padding:4px 14px 4px 4px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
header .nav-links .tk-btn:hover{background:var(--clay-soft)}
.tk-av{width:30px;height:30px;border-radius:50%;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.tk-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-btn .caret{transition:transform .2s}
.tk.open .tk-btn .caret{transform:rotate(180deg)}
.tk-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);min-width:240px;background:#fff;border:1px solid rgba(161,68,99,.15);border-radius:16px;box-shadow:0 14px 40px rgba(146,62,90,.18);padding:8px;z-index:60}
.tk.open .tk-menu{display:block}
.tk-head{padding:10px 12px 12px;border-bottom:1px solid rgba(161,68,99,.12);margin-bottom:6px;display:flex;flex-direction:column;gap:2px}
.tk-head b{color:var(--green-deep);font-size:15px}
.tk-head span{font-size:13px;color:#7A6B70}
header .nav-links .tk-item{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:10px 12px;border:0;background:none;border-radius:10px;color:#7A5964;font:inherit;font-size:14.5px;font-weight:500;text-align:left;cursor:pointer;text-decoration:none;opacity:1}
header .nav-links .tk-item::after{display:none}
header .nav-links .tk-item:hover{background:var(--clay-soft)}
.tk-ic{width:22px;text-align:center}
.tk-out{color:#a33!important;border-top:1px solid rgba(161,68,99,.12);border-radius:0 0 10px 10px!important;margin-top:4px}
@media (max-width:960px){
  header .nav-links .tk{margin-top:14px}
  header .nav-links .tk-btn{width:100%;justify-content:flex-start}
  .tk-menu{position:static;box-shadow:none;border:0;padding:4px 0 0;min-width:0}
}

header .nav-links .tk-wrap{display:flex;align-items:center;gap:10px}
.tk-cart{position:relative;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1.5px solid var(--green-deep);color:var(--green-deep)!important;padding:0!important;opacity:1}
header .nav-links a.tk-cart::after{display:none}
.tk-cart:hover{background:var(--clay-soft)}
.tk-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#f97316;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;box-sizing:border-box}
.tk-badge[hidden]{display:none}

header .nav-links a.tk-mine{white-space:nowrap}
.tk-bellbox{position:relative}
.tk-bell{cursor:pointer;font:inherit}
.tk-pop{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;background:#fff;border:1px solid rgba(161,68,99,.15);border-radius:14px;box-shadow:0 14px 40px rgba(146,62,90,.18);padding:14px 16px;font-size:14px;color:#7A6B70;z-index:60}
.tk-pop[hidden]{display:none}
header .nav-links .tk-exit{border:1.5px solid rgba(161,68,99,.25);background:#fff;color:var(--green-deep);border-radius:999px;padding:8px 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
header .nav-links .tk-exit:hover{background:var(--clay-soft)}
@media (max-width:960px){
  header .nav-links .tk-wrap{flex-wrap:wrap;margin-top:14px}
  header .nav-links .tk-wrap .tk{flex:1 1 100%;order:-1;margin-top:0}
  .tk-pop{right:auto;left:0}
}

@media (min-width:961px){header .nav-links.tk-on .nav-pill{display:none}header .nav-links.tk-on{gap:16px}}


@media (min-width:961px){header .nav-links.tk-on{margin-left:28px}}

.pf-grid{display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:start;padding-bottom:40px}
.pf-card{background:linear-gradient(160deg,var(--green-deep),var(--green-mid));color:#fff;border-radius:20px;padding:26px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:16px}
.pf-card span{opacity:.85;font-size:14px}
.pf-av{width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.22);border:3px solid rgba(255,255,255,.55);display:grid;place-items:center;font-size:28px;font-weight:700;margin-bottom:8px}
.pf-nav{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.pf-nav a{display:flex;align-items:center;gap:12px;padding:14px 18px;color:#7A5964;text-decoration:none;font-weight:500;border-bottom:1px solid var(--line)}
.pf-nav a:last-child{border-bottom:0}
.pf-nav a.on{background:var(--clay-soft);color:var(--green-deep);font-weight:700}
.pf-nav a:hover{background:var(--clay-soft)}
.pf-main h1{font-size:26px;margin-bottom:18px}
.pf-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pf-h{margin:18px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
@media (max-width:860px){.pf-grid{grid-template-columns:1fr}.pf-row{grid-template-columns:1fr}}

img.pf-av{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.55);margin-bottom:8px}
.pf-pts{display:block;background:#fff;color:var(--green-deep);border-radius:14px;padding:12px;margin-top:14px;width:100%;box-sizing:border-box;text-decoration:none}
.pf-pts small{display:block;color:var(--muted);font-size:13px}.pf-pts b{font-size:20px}
.pf-care{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px;margin-bottom:16px}
.pf-care>div:nth-child(2){flex:1}.pf-care small{display:block;color:var(--muted);font-size:12.5px}
.pf-care-av{width:44px;height:44px;border-radius:50%;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.pf-ic{width:34px;height:34px;border-radius:50%;background:var(--clay-soft);display:grid;place-items:center;font-size:16px}
.pf-strip{display:grid;grid-template-columns:repeat(3,1fr) auto;align-items:center;background:#F7F3F4;border:1px solid var(--line);border-radius:16px;margin-bottom:22px}
.pf-strip>div{padding:12px 16px;border-right:1px solid var(--line)}.pf-strip b{display:block;color:var(--green-deep)}.pf-strip small{color:var(--muted)}
.pf-strip a{padding:0 18px}
.pf-two{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:start}
.pf-avbox{background:#F7F3F4;border:1px solid var(--line);border-radius:18px;padding:22px 14px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.pf-avwrap{position:relative}
.pf-avbig{width:130px;height:130px;border-radius:50%;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-size:42px;font-weight:700}
img.pf-avbig{object-fit:cover;border:4px solid #fff;box-shadow:0 4px 14px rgba(146,62,90,.2)}
.pf-cam{position:absolute;right:0;bottom:6px;width:36px;height:36px;border-radius:50%;border:2px solid #fff;background:#f3c14b;cursor:pointer;font-size:16px}
.pf-box{background:#F7F3F4;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:14px;display:flex;flex-direction:column;gap:6px}
.pf-box small{color:var(--muted)}.pf-phone{font-size:18px;font-weight:600;color:var(--green-deep)}
.pf-big{background:linear-gradient(160deg,var(--green-deep),var(--green-mid));color:#fff;border-radius:18px;padding:22px;margin-bottom:12px}
.pf-big small{display:block;opacity:.85}.pf-big b{font-size:34px}
.pf-list{list-style:none;margin:14px 0 0;padding:0}
.pf-list li{display:flex;align-items:center;gap:12px;padding:14px 4px;border-bottom:1px solid var(--line)}
.pf-list li>div{flex:1}.pf-list small{display:block;color:var(--muted)}
.pf-plus{color:var(--green-deep);font-weight:700}
@media (max-width:860px){.pf-two{grid-template-columns:1fr}.pf-strip{grid-template-columns:1fr 1fr 1fr}.pf-strip a{grid-column:1/-1;padding:10px 16px}}
.tk-av{object-fit:cover}
.tk-poplink{color:var(--green-deep);font-weight:600;font-size:13px}

a.pf-strip{text-decoration:none;color:inherit;cursor:pointer;transition:box-shadow .2s,border-color .2s}
a.pf-strip:hover{border-color:var(--green-mid);box-shadow:0 6px 20px rgba(161,68,99,.12)}
.pf-more{padding:0 18px;color:var(--green-deep);font-weight:700}
.pk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}
.pk-card{border:1.5px dashed #D0BCC3;background:#FAF6F7;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:12px}
.pk-card.on{border-style:solid;border-color:var(--green-soft);background:#fff}
.pk-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.pk-top b{color:var(--green-deep);font-size:16px}
.pk-pill{font-size:12.5px;border:1px solid var(--line);border-radius:999px;padding:4px 10px;color:var(--muted);background:#fff;white-space:nowrap}
.pk-card.on .pk-pill{color:var(--green-deep);background:var(--clay-soft);border-color:var(--green-soft)}
.pk-name{min-height:42px;color:#7A5964;font-weight:600}
.pk-exp small{color:var(--muted);letter-spacing:.06em;margin-right:8px}
.pk-care{display:flex;align-items:center;gap:14px;border:1.5px dashed #C1A0AB;border-radius:16px;padding:14px 18px}
.pk-care span{flex:1}
@media (max-width:860px){.pk-grid{grid-template-columns:1fr}.pk-care{flex-wrap:wrap}}

/* cầu nối vô hình giữa nút và menu xổ xuống: rê chuột xuống không bị đóng giữa chừng */
@media (min-width:961px){header .dropdown::before{content:'';position:absolute;left:0;right:0;top:-18px;height:18px}}

header .nav-links a.tk-admin{background:var(--green-deep);color:#fff!important;opacity:1;border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600;white-space:nowrap}
header .nav-links a.tk-admin::after{display:none}
header .nav-links a.tk-admin:hover{background:var(--green-mid)}

.mc-head{background:linear-gradient(135deg,var(--green-deep),var(--green-mid));color:#fff;padding:28px 0}
.mc-headin{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.mc-head h1{color:#fff;font-size:clamp(26px,3.6vw,38px)}
.mc-tabs{display:flex;gap:10px;flex-wrap:wrap}
.mc-tab{padding:10px 20px;border-radius:999px;background:#fff;color:var(--green-deep);font-weight:700;font-size:14px;text-decoration:none;text-transform:uppercase;letter-spacing:.02em}
.mc-tab.on{background:#f3a51c;color:#fff}
.mc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.mc{display:flex;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 8px 24px rgba(146,62,90,.06)}
.mc-img{flex:0 0 150px;height:150px;border-radius:14px;overflow:hidden;background:var(--panel);display:block}
.mc-img img{width:100%;height:100%;object-fit:cover;display:block}
.mc-img .ph{padding:12px;font-weight:700;color:var(--green-deep)}
.mc-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.mc-body h3{font-size:18px;color:var(--green-deep)}
.mc-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:13.5px}
.mc-prog{display:flex;justify-content:space-between;font-size:13.5px;color:var(--muted);margin-bottom:6px}.mc-prog b{color:var(--green-deep)}
@media (max-width:860px){.mc-grid{grid-template-columns:1fr}}
@media (max-width:480px){.mc{flex-direction:column}.mc-img{flex:none;width:100%;height:170px}}

/* giãn đều các mục trên thanh menu */
@media (min-width:1200px){header .nav-links{gap:38px}header .nav-links.tk-on{gap:30px}header .nav-links .tk-wrap{gap:12px}}
@media (min-width:961px) and (max-width:1199px){header .nav-links{gap:26px}header .nav-links.tk-on{gap:20px}}

.hb-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#fff8ec;border:1px solid #f3e0bd;border-radius:18px;padding:16px 20px;margin-bottom:18px}
.hb-flame{width:54px;height:54px;border-radius:16px;background:#ffedd2;display:grid;place-items:center;font-size:28px}
.hb-big{font-size:38px;color:#d9730d;line-height:1}
.hb-week{margin-left:auto;display:flex;gap:10px;align-items:flex-end;height:96px}
.hb-wd{width:38px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;position:relative}
.hb-wd i{display:block;width:100%;border-radius:6px;background:#EAE1E4;min-height:6px}
.hb-wd i.part{background:#f7c57a}.hb-wd i.full{background:#f28a1e}
.hb-wd small{color:var(--muted);font-size:11px}.hb-wd b{font-size:11px;color:var(--green-deep)}
.hb-tabs{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.hb-tab{background:var(--panel)!important;color:var(--green-deep)!important;text-transform:none!important;font-size:14px!important}
.hb-tab.on{background:var(--green-deep)!important;color:#fff!important}
.hb-daysw{display:flex;gap:8px;margin-bottom:14px}
.hb-daysw a{padding:8px 16px;border-radius:999px;background:var(--panel);color:var(--green-deep);font-weight:600;font-size:14px;text-decoration:none}
.hb-daysw a.on{background:var(--green-mid);color:#fff}
.hb-list{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.hb-row{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-left:4px solid #f28a1e;border-radius:14px;padding:12px 14px;background:#fff}
.hb-row.done{background:#F7F3F4;border-left-color:var(--clay)}
.hb-ck{width:34px;height:34px;border-radius:50%;border:2px solid #D6C8CD;background:#fff;color:#fff;font-size:18px;cursor:pointer;flex:none}
.hb-ck.on{background:var(--clay);border-color:var(--clay)}
.hb-name{flex:1;font-weight:600;color:#7A5964}.hb-row.done .hb-name{text-decoration:line-through;opacity:.7}
.hb-streak{background:#ffedd2;color:#c2620a;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}
.hb-del{border:0;background:none;color:#a33;font-size:22px;cursor:pointer;line-height:1}
.hb-add{display:flex;gap:10px;margin-bottom:6px}.hb-add input{flex:1}
.hb-sug{display:flex;flex-wrap:wrap;gap:8px}
.hb-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;cursor:pointer;font:inherit;font-size:13.5px;color:var(--green-deep)}
.hb-chip:hover{background:var(--clay-soft)}
.hb-hist{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:14px}
.hb-hh{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.hb-grid{display:grid;grid-template-columns:repeat(14,1fr);gap:5px;margin-bottom:10px}
.hb-grid i{aspect-ratio:1;border-radius:5px;background:#EEE8EA}.hb-grid i.on{background:var(--clay)}
.hb-badges{display:flex;gap:8px;flex-wrap:wrap}
.hb-badge{font-size:13px;padding:5px 12px;border-radius:999px;background:#F0EEEF;color:#9aa19a;filter:grayscale(1)}
.hb-badge.on{background:#fff3d6;color:#8a5a00;filter:none;font-weight:700}
.hb-comm{display:flex;flex-direction:column;gap:10px}
.hb-mem{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
.hb-mem.me{border-color:var(--green-soft);background:#F7F3F4}
.hb-rank{width:26px;text-align:center;font-weight:700;color:var(--muted)}
.hb-mav{width:40px;height:40px;border-radius:50%;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.hb-mmid{flex:1;min-width:0}.hb-mmid .prog{margin-top:6px;height:6px}
.hb-mright{text-align:right;display:flex;flex-direction:column;gap:2px}.hb-mright small{color:var(--muted)}
@media (max-width:600px){.hb-week{margin-left:0;width:100%;justify-content:space-between}.hb-wd{width:auto;flex:1}}

/* nút Zalo + Gọi nổi góc phải dưới, giống trang chủ */
.float-contact{position:fixed; right:24px; bottom:84px; z-index:72; display:flex; flex-direction:column; gap:10px;}
.fc-btn{
  position:relative; width:46px; height:46px; border-radius:50%; color:#fff;
  display:flex; align-items:center; justify-content:center;
  opacity:.62; box-shadow:0 8px 20px -10px rgba(119,77,91,.5);
  transition:opacity .2s ease, transform .2s ease;
}
.fc-btn:hover, .fc-btn:focus-visible{opacity:1; transform:translateY(-2px);}
.fc-btn span{
  position:absolute; right:56px; top:50%; transform:translateY(-50%);
  background:rgba(135,78,97,.92); color:#fff; font-size:13px; font-weight:600;
  padding:6px 12px; border-radius:8px; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.fc-btn:hover span{opacity:1;}
.fc-zalo{background:#0068FF;}
.fc-call{background:#A14463;}
@media (max-width:600px){
  .float-contact{right:16px; bottom:72px; gap:9px;}
  .fc-btn{width:42px; height:42px; opacity:.7;}
  .fc-btn span{display:none;}
}

/* ===== trang học: thanh gọn + video, Ngày x/N, lộ trình bên phải ===== */
.lm-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 32px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.lm-brand{display:flex;align-items:center;gap:14px;text-decoration:none;min-width:0}
.lm-dot{width:44px;height:44px;border-radius:50%;background:var(--green-deep);display:grid;place-items:center;flex:none}
.lm-dot i{width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:inset 0 0 0 3px var(--green-deep),inset 0 0 0 5px #fff;display:block}
.lm-brand small{display:block;color:var(--green-mid);font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase}
.lm-brand b{font-family:var(--serif,'Lora',serif);font-size:20px;color:#7A5964;font-weight:600}
.lm-user{display:flex;align-items:center;gap:14px;text-align:right;color:var(--muted);font-size:14px}
.lm-user span{display:flex;flex-direction:column;line-height:1.25}.lm-user b{color:#7A5964;font-size:15px}
.lm-exit{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:12px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer}
.lm-exit:hover{background:var(--clay-soft);color:var(--green-deep)}
.lm-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;padding:28px 32px 64px;align-items:start;max-width:1320px}
.lm-main .video{border-radius:18px}
.lm-kicker{margin-top:22px;color:var(--green-mid);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:14px}
.lm-title{font-family:var(--serif,'Lora',serif);color:var(--green-deep);font-size:clamp(26px,3vw,38px);margin:6px 0 12px;line-height:1.2}
.lm-desc{color:#403237;white-space:pre-line;font-size:17px;line-height:1.7;margin-bottom:22px;max-width:820px}
.lm-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}
.lm-done{background:var(--green-deep);color:#fff;border:0;border-radius:14px;padding:16px 28px;font:inherit;font-weight:700;font-size:17px;cursor:pointer}
.lm-done.is-done{background:var(--clay-soft);color:var(--green-deep)}
.lm-navs{display:flex;gap:12px}
.lm-nav{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px 22px;font-weight:600;color:#7A5964;text-decoration:none}
.lm-nav:hover{background:var(--clay-soft)}.lm-nav.off{color:#BCB3B6;background:var(--panel);cursor:default}
.lm-quote{margin:0 0 22px;padding:20px 24px;background:var(--clay-soft);border-left:4px solid var(--clay);border-radius:14px;font-family:var(--serif,'Lora',serif);font-style:italic;font-size:19px;line-height:1.6;color:var(--green-deep);white-space:pre-line}
.lm-main .panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px 26px}
.lm-side{background:#fff;border:1px solid var(--line);border-radius:22px;position:sticky;top:96px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;overflow:hidden}
.lm-sidehead{padding:22px 26px 18px;background:var(--panel);border-bottom:1px solid var(--line)}
.lm-sidehead h3{font-family:var(--serif,'Lora',serif);color:var(--green-deep);font-size:20px;margin-bottom:14px}
.lm-prog{display:flex;align-items:center;gap:14px}.lm-prog b{color:var(--green-deep);white-space:nowrap}
.lm-track{flex:1;height:10px;background:#E4D9DD;border-radius:999px;overflow:hidden}.lm-track i{display:block;height:100%;background:var(--clay);border-radius:999px}
.lm-list{list-style:none;margin:0;padding:0;overflow:auto;flex:1}
.lm-list li a{display:flex;gap:16px;align-items:center;padding:16px 24px;border-bottom:1px solid var(--line);text-decoration:none;color:#7A5964}
.lm-list li a:hover{background:var(--panel)}
.lm-list li.cur a{background:var(--clay-soft)}
.lm-num{flex:0 0 46px;height:46px;border-radius:50%;background:#EAE1E4;color:var(--muted);display:grid;place-items:center;font-weight:700}
.lm-list li.done .lm-num{background:var(--green-deep);color:#fff}
.lm-list li.cur .lm-num{background:var(--clay);color:#fff}
.lm-list li b{display:block;font-weight:600;line-height:1.35}.lm-list li small{color:var(--muted);font-size:14px}
.lm-list li.locked a{opacity:.55}
@media (max-width:980px){.lm-grid{grid-template-columns:1fr;padding:18px 16px 48px}.lm-side{position:static;max-height:none}.lm-bar{padding:12px 16px}.lm-user span{display:none}.lm-brand b{font-size:16px}}

/* báo cáo lớp */
.rp-top{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}
.rp-tabs{display:flex;gap:8px}.rp-tabs span,.rp-tabs a{padding:9px 18px;border-radius:999px;background:var(--panel);color:var(--green-deep);font-weight:600;font-size:14px;text-decoration:none}
.rp-tabs span.on{background:var(--green-deep);color:#fff}
.stat.warn{background:#fdeeee;border-color:#f3c9c9}.stat.warn b{color:#b23a3a}
.rp-care{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:12px;background:#fff}
.rp-care-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.rp-care-h small{color:var(--muted)}
.rp-care textarea{margin-bottom:10px}.rp-acts{display:flex;gap:10px;flex-wrap:wrap}
.rp-pill{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:#F2ECEE;color:#5A494F;white-space:nowrap}
.rp-pill.chua_vao{background:#fdeeee;color:#b23a3a}.rp-pill.moi_dung{background:#fff3d6;color:#8a5a00}.rp-pill.vang_7{background:#ffe9d6;color:#a2521a}.rp-pill.deu{background:#F3E7EB;color:#A14463}
.rp-scroll{overflow:auto}.rp-fb{border-top:1px solid var(--line);padding:10px 0}.rp-fb p{margin:4px 0 0;white-space:pre-line}

.fb-box{padding:0!important}
.fb-head{display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:0;padding:18px 24px;font:inherit;font-weight:700;font-size:16px;color:var(--green-deep);cursor:pointer;text-align:left}
.fb-head:hover{background:var(--clay-soft);border-radius:18px}
.fb-caret{transition:transform .2s}.fb-box.open .fb-caret{transform:rotate(180deg)}
.fb-body{padding:0 24px 22px}

/* trình phát YouTube sạch */
.yt{border-radius:18px;overflow:hidden;background:#754857}
.yt:fullscreen{display:flex;flex-direction:column;border-radius:0}
.yt-stage{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.yt:fullscreen .yt-stage{flex:1;aspect-ratio:auto}
.yt-target,.yt-target iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.yt-poster{position:absolute;inset:0;background:#754857;z-index:1}
.yt-poster img{width:100%;height:100%;object-fit:cover;display:block;opacity:.85}
.yt-bigplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:rgba(161,68,99,.92);color:#fff;display:grid;place-items:center;font-size:28px;padding-left:5px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.yt-shield{position:absolute;inset:0;z-index:2;cursor:pointer;outline:none}
.yt-shield:focus-visible{box-shadow:inset 0 0 0 3px var(--clay)}
.yt-bar{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#7C4859;color:#fff}
.yt-btn{background:none;border:0;color:#fff;font-size:17px;cursor:pointer;width:34px;height:34px;border-radius:8px}
.yt-btn:hover{background:rgba(255,255,255,.12)}
.yt-time{font-size:13px;font-variant-numeric:tabular-nums;color:#EEDBE1;min-width:38px;text-align:center}
.yt-seek{flex:1;accent-color:#A8677D;height:6px;cursor:pointer}
.yt-speed{background:#864E60;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:5px 6px;font-size:13px}

.ans-box h3{font-size:17px;margin-bottom:12px}
.ans-list{display:flex;flex-direction:column}
.ans{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--line)}.ans:first-child{border-top:0}
.ans-av{flex:0 0 42px;height:42px;border-radius:50%;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.ans.mine .ans-av{background:var(--clay)}
.ans-h{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.ans-h small{color:var(--muted)}
.ans-main{flex:1;min-width:0}.ans-main p{margin:6px 0 0;white-space:pre-line;line-height:1.65;color:#3A2B30;word-break:break-word}

.yt-poster img{opacity:.55}
.yt-ptitle{position:absolute;left:0;right:0;top:calc(50% + 58px);text-align:center;color:#fff;font-weight:700;font-size:clamp(16px,2.2vw,24px);padding:0 24px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.yt-skip{width:auto;padding:0 8px;font-size:13px;font-weight:700}
.yt-vol{width:70px;accent-color:#A8677D;cursor:pointer}
@media (max-width:640px){.yt-vol{display:none}.yt-bar{gap:6px;padding:8px 8px}.yt-ptitle{display:none}}

/* ===== trình phát: thanh điều khiển nằm TRONG khung hình, tự ẩn khi đang phát ===== */
.yt{position:relative;background:#000}
.yt-bar{position:absolute;left:0;right:0;bottom:0;z-index:3;display:block;padding:34px 16px 10px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.78));transition:opacity .25s ease}
.yt.is-playing.idle .yt-bar{opacity:0;pointer-events:none}
.yt.is-playing.idle .yt-shield{cursor:none}
.yt-seekrow{padding:0 2px 4px}.yt-seek{width:100%;display:block;margin:0}
.yt-ctrl{display:flex;align-items:center;gap:6px}
.yt-grow{flex:1}
.yt-times{font-size:13px;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:6px}
.yt-times .yt-time{min-width:0;color:#fff}
.yt-speed{width:64px;background:rgba(255,255,255,.14);border:0;color:#fff}
.yt-speed option{color:#000}
.yt:fullscreen .yt-stage{height:100%;aspect-ratio:auto}
/* ===== nội dung khoá học: gọn ===== */
.lm-side{border-radius:16px;max-height:calc(100vh - 110px)}
.lm-sidehead{padding:14px 16px 12px}
.lm-sh-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}
.lm-sidehead h3{font-size:16px;margin:0}
.lm-count{color:var(--muted);font-size:13px;white-space:nowrap}
.lm-track{height:6px}
.lm-list{padding:6px}
.lm-list li a{padding:9px 10px;gap:10px;border-bottom:0;border-radius:10px;font-size:14px}
.lm-list li+li{margin-top:2px}
.lm-num{flex:0 0 26px;height:26px;font-size:13px}
.lm-tt{flex:1;font-weight:500;line-height:1.35}
.lm-list li.cur .lm-tt{font-weight:700;color:var(--green-deep)}
.lm-now{color:var(--clay);font-size:12px}
.lm-list li b,.lm-list li small{all:unset}
@media (max-width:980px){.lm-side{max-height:none}}

.lm-list li.locked a{opacity:.55}.lm-list li a.wait{cursor:not-allowed}

/* nút ẩn / hiện nội dung khoá học */
.lm-hide{border:0;background:none;color:var(--muted);font:inherit;font-size:13px;cursor:pointer;padding:2px 6px;border-radius:8px}
.lm-hide:hover{background:var(--clay-soft);color:var(--green-deep)}
.lm-show{display:none;margin:0 0 12px auto;border:1px solid var(--line);background:#fff;color:var(--green-deep);font:inherit;font-weight:600;font-size:14px;padding:9px 16px;border-radius:999px;cursor:pointer}
.lm-show:hover{background:var(--clay-soft)}
.lm-grid.side-off{grid-template-columns:minmax(0,1fr)}
.lm-grid.side-off .lm-side{display:none}
.lm-grid.side-off .lm-show{display:flex}

.lm-hint{flex:1;background:#fff8ec;border:1px solid #f3e0bd;color:#8a5a00;border-radius:14px;padding:14px 18px;font-weight:600}

@media (max-width:640px){
  .yt-mute{display:none}
  .yt-bar{padding:26px 8px 6px}
  .yt-ctrl{gap:2px}
  .yt-btn{width:40px;height:40px}
  .yt-skip{width:auto;padding:0 6px}
  .yt-times{font-size:12px;margin-left:2px}
  .yt-speed{width:52px;padding:6px 2px}
}

.lm-title{margin-top:20px}

/* khung gợi ý: cùng font chữ với phần còn lại (không dùng chữ nghiêng có chân) */
.lm-quote{font-family:var(--sans,'Be Vietnam Pro',system-ui,sans-serif);font-style:normal;font-weight:400;font-size:16.5px;line-height:1.7;color:#3A2B30;overflow-wrap:anywhere}
.lm-quote a,.lm-desc a{color:var(--green-deep);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.lm-desc{overflow-wrap:anywhere}

/* trang học: giữ menu + chân trang của website, có dòng dẫn đường phía trên */
.lm-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:22px 32px 0;max-width:1320px;font-size:15px;color:var(--muted)}
.lm-crumbs a{color:var(--muted);text-decoration:none}.lm-crumbs a:hover{color:var(--green-deep)}
.lm-crumbs .sep{opacity:.6}.lm-crumbs .cur{color:#7A5964;font-weight:500}
.lm-grid{padding-top:20px}
.lm-side{top:96px}
@media (max-width:980px){.lm-crumbs{padding:14px 16px 0;font-size:13.5px}}

.lm-crumbs{font-size:13.5px;gap:6px}
@media (max-width:980px){.lm-crumbs{font-size:12.5px}}

.sub-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fb-mini{font-size:13.5px;padding:8px 14px}
.fb-mini.on{background:var(--clay-soft)}
.fb-inline{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}
.fb-inline textarea{margin-bottom:10px}

.sub-box{padding:16px 20px!important}
.sub-toggle{font-size:14.5px;padding:9px 16px}.sub-toggle.on{background:var(--clay-soft)}
.sub-body{margin-top:16px;padding-top:16px;border-top:1px dashed var(--line)}

/* chọn gói học phí */
.tiers{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.tier{display:block;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.tier:hover{border-color:var(--green-soft)}
.tier.on{border-color:var(--green-deep);background:#F9F4F6}
.tier-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tier-dot{width:16px;height:16px;border-radius:50%;border:2px solid #C4B3B9;display:inline-block;flex:none}
.tier.on .tier-dot{border-color:var(--green-deep);background:radial-gradient(circle,var(--green-deep) 45%,#fff 50%)}
.tier-h b{flex:1;color:#7A5964}
.tier-price{font-weight:700;color:var(--green-deep)}
.tier-badge{font-size:11.5px;font-weight:700;color:#8a5a00;background:#fff3d6;border-radius:999px;padding:2px 9px}
.tier-perks{margin:10px 0 2px 26px;padding:0;font-size:13.5px;color:#403237;display:grid;gap:5px}
.tier-perks li::marker{color:var(--clay)}

.trow{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px;display:grid;gap:10px}

.tier-h{display:grid;grid-template-columns:16px 1fr auto;gap:4px 10px;align-items:center}
.tier-badge{grid-column:2 / 4;justify-self:start}

.ord-n{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--panel);color:var(--muted);font-size:12px;font-weight:700;margin-right:10px}
.ord-b{padding:6px 10px;font-size:12px}

.ord-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 14px}

/* khoá Tổng hợp tài liệu: khung mở tài liệu thay cho video */
.doc-open{display:flex;flex-direction:column;align-items:center;gap:16px;padding:44px 20px;border-radius:14px;background:var(--bg-panel,#F7F3F4);border:1px solid rgba(0,0,0,.08);text-align:center}
.doc-open .doc-ico{font-size:52px;line-height:1}

/* ô mật khẩu có nút Hiện/Ẩn + dòng quên mật khẩu (cả 2 trang) */
.pw-wrap{position:relative}
.pw-wrap input{padding-right:78px !important}
.pw-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:var(--clay-soft,#F0E4E8);color:var(--green-deep);font:inherit;font-weight:600;font-size:14px;padding:7px 12px;border-radius:999px;cursor:pointer}
.forgot{text-align:center;font-size:14.5px;margin:14px 0 0;color:var(--muted)}

/* ===== tamthaovt.com: học viên phần đông lớn tuổi → chữ to hơn, nút to, dễ bấm ===== */
html.site-tssk body{font-size:16.5px}
html.site-tssk .small,html.site-tssk .field .hint{font-size:14.5px}
html.site-tssk .field label{font-size:15.5px}
html.site-tssk .field input,html.site-tssk .field select,html.site-tssk .field textarea{font-size:18px;min-height:52px;padding:12px 16px}
html.site-tssk .btn{min-height:50px;font-size:16.5px}
html.site-tssk .btn-sm{min-height:42px;font-size:15px}
html.site-tssk .check{font-size:15px;color:#4A3A3F}
html.site-tssk .check input{width:22px;height:22px;margin-top:1px}
html.site-tssk .lm-list li a{font-size:16px;padding:18px 20px}
html.site-tssk .lm-desc{font-size:17px}
html.site-tssk .authbox h1{font-size:30px}
html.site-tssk .authbox .sub{font-size:16px}
.have-acc{display:block;text-align:center;background:var(--clay-soft,#F0E4E8);color:var(--green-deep);border-radius:14px;padding:12px 14px;margin:0 0 18px;font-size:15.5px;text-decoration:none}
/* hộp "Đưa lớp học ra màn hình điện thoại" (tamthaovt.com) */
.inst{border-color:var(--clay);margin-top:22px}
.inst-top{display:flex;gap:14px;align-items:center}
.inst-top img{width:58px;height:58px;border-radius:14px;border:1px solid var(--line);flex-shrink:0}
.inst-top p{margin:4px 0 0}
.inst-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.inst-help ol{margin:14px 0 6px;padding-left:22px;line-height:1.7}
.inst-help li{margin-bottom:6px}

/* tamthaovt.com: dải tiêu đề xanh dịu (giống kiểu mẫu), nền trang xanh nhạt */
html.site-tssk body{background:#F5F0F2}
html.site-tssk .pagehead,html.site-tssk .mc-head{background:linear-gradient(100deg,#AC506F 0%,#AC7184 55%,#BF8C9D 100%);color:#fff;border-bottom:0;padding-top:34px;padding-bottom:34px}
html.site-tssk .pagehead h1,html.site-tssk .mc-head h1{color:#fff;font-family:"Lora",Georgia,serif;text-shadow:0 1px 12px rgba(146,62,90,.18)}
html.site-tssk .pagehead p{color:#F9F1F4}
html.site-tssk .pagehead .eyebrow{color:#F6DC96}
html.site-tssk .pagehead .crumbs,html.site-tssk .pagehead .crumbs a{color:rgba(255,255,255,.9)}

/* ===== Thử thách tập thở + nhắc hằng ngày ===== */
.ch-streak{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid rgba(172,80,111,.12);border-radius:20px;padding:16px 20px;margin-bottom:20px;box-shadow:0 10px 28px -22px rgba(135,78,97,.28)}
.ch-flame{font-size:38px;line-height:1}
.ch-streak b{display:block;font-size:20px;color:#8C445C}.ch-streak small{color:#6A5A5F;font-size:14.5px}
.ch-week{display:flex;gap:6px;margin-left:auto}
.ch-dot{width:28px;height:28px;border-radius:50%;background:#F3EDEF;color:#fff;font-size:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.ch-dot.on{background:#B17287}.ch-dot.now{box-shadow:0 0 0 2px #F6A623}
.ch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.ch-card{display:flex;gap:14px;background:#fff;border:1px solid rgba(172,80,111,.10);border-radius:20px;padding:18px;box-shadow:0 10px 28px -22px rgba(135,78,97,.28)}
.ch-ic{font-size:40px;line-height:1;flex-shrink:0}
.ch-body{flex:1;display:flex;flex-direction:column;gap:8px}.ch-body h3{font-size:19px;color:#8C445C}.ch-body p{color:#56464B;font-size:15px}
.ch-meta{color:#6A5A5F}.ch-prog{display:flex;align-items:center;gap:10px}.ch-bar{flex:1;height:8px;border-radius:99px;background:#EDE3E6;overflow:hidden}.ch-bar i{display:block;height:100%;background:#B17287;border-radius:99px}
.ch-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;align-items:start}
@media (max-width:900px){.ch-detail{grid-template-columns:1fr}.ch-right{order:-1}}
.ch-days{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.ch-day{width:38px;height:38px;border-radius:50%;background:#F3EDEF;color:#7C6B71;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.ch-day.on{background:#B17287;color:#fff}.ch-day.now{box-shadow:0 0 0 2px #F6A623}
.ch-done{background:#F4E8EC;border:1px solid #DCBFC9;color:#A33F61;border-radius:16px;padding:14px 18px;margin-bottom:16px;font-size:17px;font-weight:600}
.ch-invite{display:flex;flex-direction:column;gap:2px;margin:12px 0 4px;padding:14px 16px;border-radius:16px;background:#FFF7E0;border:1px solid #F0DDA0;color:#5a4508;text-decoration:none}
.ch-invite b{font-size:16.5px}.ch-invite span{font-size:14.5px}
.ch-mini{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ch-mini .ch-streak{margin:0;border:0;box-shadow:none;padding:0;flex:1}
/* vòng tròn thở */
.br-card,.rm-card{background:#fff;border:1px solid rgba(172,80,111,.10);border-radius:22px;padding:20px;margin-bottom:18px;box-shadow:0 10px 28px -22px rgba(135,78,97,.28)}
.br-card h3,.rm-card h3{font-size:19px;color:#8C445C;margin-bottom:10px}
.br-len{display:flex;gap:8px;margin-bottom:6px}.br-len button{flex:1;min-height:42px;border-radius:999px;border:1.5px solid #C5A4AF;background:#fff;color:#A14463;font:600 15px var(--sans);cursor:pointer}
.br-len button.on{background:#E9D4DB;border-color:#CAA1AF}.br-len.lock{opacity:.5;pointer-events:none}
.br-stage{display:flex;align-items:center;justify-content:center;padding:22px 0 6px;min-height:290px}
.br-circle{width:250px;height:250px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#E2C3CD,#AD6B81 70%,#AD627B);transform:scale(.58);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;box-shadow:0 20px 50px -20px rgba(172,80,111,.7);will-change:transform;text-shadow:0 1px 8px rgba(146,62,90,.35)}
.br-circle[data-kind=hold],.br-circle[data-kind=hold0]{background:radial-gradient(circle at 35% 30%,#F8E7B0,#E9C15D 70%,#C99A2E)}
.br-word{font-size:26px;font-weight:700;font-family:var(--serif,inherit)}.br-count{font-size:44px;font-weight:800;line-height:1.1}
.br-time{text-align:center;font-size:22px;font-weight:700;color:#A14463;font-variant-numeric:tabular-nums;margin-bottom:6px}
.br-tip{text-align:center;color:#56464B;font-size:15px;margin-bottom:12px}
.br-btns{display:flex;gap:10px}.br-btns .btn{flex:1}.br-btns .br-stop{flex:0 0 auto;min-width:96px}
.br-vib{margin:12px 0 0}
.br-manual{display:block;margin:6px auto 0;background:none;border:0;color:#A36277;text-decoration:underline;font:600 14.5px var(--sans);cursor:pointer;padding:10px}
.rm-row{display:flex;align-items:center;gap:12px;margin:8px 0 12px}.rm-row label{font-weight:600;color:#A14463}.rm-row input{width:auto;min-width:130px;font-size:20px;padding:8px 12px}
.rm-btns{display:flex;flex-wrap:wrap;gap:10px}.rm-btns .btn{flex:1 1 200px}
.rm-off{background:none;border:0;color:#b42318;text-decoration:underline;font:600 14.5px var(--sans);cursor:pointer;padding:10px 0}
.rm-status{color:#A33F61;font-weight:600;margin-top:8px}.rm-note{margin-top:10px;font-size:15px;color:#4A3A3F;line-height:1.55}.rm-note.bad{color:#b42318}
html.site-tssk .br-word{font-size:28px}html.site-tssk .rm-note{font-size:16px}
@media (prefers-reduced-motion:reduce){.br-circle{transition:none!important}}
[hidden].btn,.br-btns [hidden],.rm-btns [hidden],.rm-off[hidden],.ch-done[hidden]{display:none!important}

/* Huấn luyện viên đồng hành (người mời học viên) */
.hlv-card{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin-bottom:18px}
.hlv-av{width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;grid-row:span 2}
.hlv-av img{width:100%;height:100%;object-fit:cover;display:block}
.hlv-info{min-width:0}.hlv-info small{display:block;color:var(--muted);font-size:12.5px}.hlv-info b{font-size:17px}
.hlv-bio{margin:4px 0 0;color:var(--muted)}
.hlv-btns{display:flex;gap:8px;flex-wrap:wrap;grid-column:2}
.hlv-hot{grid-column:1/-1;color:var(--muted);margin-top:4px}.hlv-hot a{font-weight:600}
.hlv-card.compact{padding:12px 14px;margin-bottom:16px}.hlv-card.compact .hlv-av{width:48px;height:48px;font-size:16px}
.hlv-info .small{display:block}

/* ===== Trang chủ dạng ứng dụng (tamthaovt.com) — kích thước theo ứng dụng mẫu: chữ lớn, thẻ to, thanh 5 mục ===== */
body.ah-mode{background:#F7F3F4}
@media (max-width:760px){body.ah-mode>header,body.ah-mode .site-header,body.ah-mode>footer,body.ah-mode .site-footer{display:none!important}}
.ah{max-width:720px;margin:0 auto;padding:max(16px,env(safe-area-inset-top)) 16px 28px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.ah>*{min-width:0}
.ah-top{display:flex;align-items:center;gap:14px}
.ah-av{width:58px;height:58px;border-radius:50%;overflow:hidden;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;flex:none;border:3px solid #fff;box-shadow:0 2px 8px rgba(135,78,97,.15)}
.ah-av img{width:100%;height:100%;object-fit:cover;display:block}
.ah-hello{flex:1;min-width:0}
.ah-hello .hi{display:block;font-family:"Lora",Georgia,serif;font-weight:700;font-size:24px;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ah-hello .hi em{font-style:normal;color:var(--green-deep)}
.ah-rank{display:flex;align-items:center;gap:8px;margin-top:6px;color:var(--muted);font-size:17px}
.ah-rank i{width:26px;height:26px;border-radius:50%;background:var(--clay);color:#fff;display:grid;place-items:center;font-style:normal;font-size:14px}
.ah-ico{width:46px;height:46px;display:grid;place-items:center;color:var(--ink);text-decoration:none;flex:none}
.ah-ico svg,.ez-ti svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ah-ban{background:#fff;border-radius:22px;padding:10px;box-shadow:0 6px 20px -14px rgba(135,78,97,.35)}
.ah-slides{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px}
.ah-slides::-webkit-scrollbar{display:none}
.ah-slide{flex:0 0 100%;scroll-snap-align:center;border-radius:16px;min-height:188px;color:#fff;text-decoration:none;position:relative;overflow:hidden;display:grid;align-content:end;gap:4px;padding:16px;background:linear-gradient(135deg,#A14463,#A36277)}
.ah-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.ah-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(132,56,82,.78),rgba(132,56,82,.05) 70%);z-index:1}
.ah-slide>*:not(img){position:relative;z-index:2}
.ah-slide small{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.92}
.ah-slide b{font-family:"Lora",Georgia,serif;font-size:22px;line-height:1.2}
.ah-slide span{font-size:15px;opacity:.95}
.ah-prog{height:7px;border-radius:99px;background:rgba(255,255,255,.35);overflow:hidden;margin-top:4px}.ah-prog i{display:block;height:100%;background:#fff}
.ah-dots{display:flex;gap:10px;justify-content:center;padding-top:12px}
.ah-dots i{width:10px;height:10px;border-radius:99px;background:#3E2A31;opacity:.9;transition:width .2s}.ah-dots i.on{width:44px;background:#A14463}
.ah-mini{display:flex;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:12px 14px;text-decoration:none;color:var(--ink);box-shadow:0 6px 20px -16px rgba(135,78,97,.4)}
.ah-mini>span{font-size:28px}.ah-mini b{display:block;font-size:17px}.ah-mini small{color:var(--muted);font-size:14.5px}
.ah .hlv-card{margin:0;border-radius:18px;border:0;box-shadow:0 6px 20px -16px rgba(135,78,97,.4)}
.ah-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.ah-sh h2{font-family:"Lora",Georgia,serif;font-size:22px;line-height:1.25;color:var(--green-deep);margin:0}
.ah-sh a{font-size:17px;color:var(--ink);opacity:.8;text-decoration:none;white-space:nowrap}
.ah-scroll{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;margin:0 -16px;padding:2px 16px 10px;scroll-padding-left:16px;scrollbar-width:none}
.ah-scroll::-webkit-scrollbar{display:none}
.ah-pc{flex:0 0 calc(50% - 22px);scroll-snap-align:start;background:#fff;border-radius:20px;overflow:hidden;text-decoration:none;color:var(--ink);position:relative;display:flex;flex-direction:column;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.ah-pc-img{aspect-ratio:1/0.9;background:linear-gradient(135deg,#8C445C,#A36277);overflow:hidden;display:grid;place-items:center;color:#fff;font-size:34px;font-weight:700}
.ah-pc-img img{width:100%;height:100%;object-fit:cover;display:block}
.ah-pc-body{padding:12px 14px 16px;display:grid;gap:6px}
.ah-pc-body b{font-size:18px;line-height:1.3;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.ah-price strong{display:block;color:#F0A020;font-size:22px;font-weight:700;font-family:"Be Vietnam Pro",system-ui,sans-serif}
.ah-price s{display:block;color:var(--muted);font-size:16px}
.ah-tag{position:absolute;top:10px;left:10px;background:#fff;color:var(--green-deep);border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}
.ah-live .ah-pc{flex-basis:calc(50% - 22px)}
.ah-live .ah-pc-img{aspect-ratio:1/0.8}
.ah-live .ah-pc-body b{font-size:17px;font-weight:700;text-transform:uppercase;letter-spacing:.01em;min-height:0}
.ah-rows{display:grid;gap:14px}
.ah-row{display:flex;gap:14px;background:#fff;border-radius:20px;padding:14px;align-items:center;box-shadow:0 6px 20px -16px rgba(135,78,97,.45);min-width:0}
.ah-row-img{flex:none;text-decoration:none}
.ah-th{width:96px;height:96px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#8C445C,#A36277);color:#fff;display:grid;place-items:center;font-weight:700;font-size:28px}
.ah-th img{width:100%;height:100%;object-fit:cover;display:block}
.ah-row-body{min-width:0;display:grid;gap:6px;justify-items:start}
.ah-row-body b{font-size:20px;line-height:1.28;font-weight:500}
.ah-row-body small{color:var(--muted);font-size:16px}
.ah-btn{margin-top:2px;background:#F0A020;color:#fff;border-radius:999px;padding:9px 22px;font-weight:600;font-size:17px;text-decoration:none}
.ah-btn.on{background:#B17287}
@media (min-width:600px){.ah-pc{flex-basis:30%}}
/* ez-svg */
.ah-ico svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---- Đầu trang kiểu ứng dụng + màn "Khoá học của tôi" (điện thoại) ---- */
.ah-page{display:none}
.ah-head{display:flex;align-items:center;gap:6px}
.ah-head h1{flex:1;min-width:0;font-family:"Lora",Georgia,serif;font-size:27px;line-height:1.15;color:var(--green-deep);text-transform:uppercase;letter-spacing:.01em;margin:0}
.ah-tabs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:12px 0 4px}
.ah-tabs::-webkit-scrollbar{display:none}
.ah-tabs .mc-tab{flex:none;text-transform:none;letter-spacing:0;font-size:16.5px;font-weight:600;padding:12px 20px;background:#fff;color:var(--ink);border:1px solid var(--line)}
.ah-tabs .mc-tab.on{background:#F0A020;color:#fff;border-color:#F0A020}
@media (max-width:760px){
  body.ah-mode .mc-head{display:none}
  body.ah-mode .ah-page{display:block;max-width:720px;margin:0 auto;padding:max(16px,env(safe-area-inset-top)) 16px 0}
  body.ah-mode .section{padding-top:14px}
  body.ah-mode .mc-grid{gap:14px}
  body.ah-mode .mc{flex-direction:row;padding:14px;gap:14px;border-radius:20px;border:0;box-shadow:0 6px 20px -16px rgba(135,78,97,.45);align-items:flex-start}
  body.ah-mode .mc-img{flex:0 0 92px;width:92px;height:92px}
  body.ah-mode .mc-body{gap:6px}
  body.ah-mode .mc-body h3{font-size:19px;font-weight:600;color:#3A2B30;line-height:1.28;font-family:"Be Vietnam Pro",system-ui,sans-serif}
  body.ah-mode .mc-meta{font-size:15px;gap:4px 12px}
  body.ah-mode .mc-teacher{flex-basis:100%}
  body.ah-mode .mc-prog{font-size:15px}
  body.ah-mode .mc .btn-primary{background:#F0A020;color:#fff;padding:10px 22px;font-size:17px;border-radius:999px}
}

/* ---- Tab Tin tức (bài viết + xếp hạng) ---- */
.ah-posts{display:grid;gap:14px;margin-top:6px}
.ah-post{background:#fff;border-radius:20px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 6px 20px -16px rgba(135,78,97,.45);display:block}
.ah-post img{width:100%;aspect-ratio:2/1;object-fit:cover;display:block;background:#E8DDE1}
.ah-post-b{padding:14px 16px 16px;display:grid;gap:6px}
.ah-post-b small{color:var(--green-mid);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.ah-post-b b{font-size:19px;line-height:1.32;font-weight:600}
.ah-post-b span{color:var(--muted);font-size:14.5px}
.ah-post-b p{margin:0;color:#513F45;font-size:15.5px;line-height:1.5}
@media (max-width:760px){
  body.ah-mode .rk-page .crumbs,body.ah-mode .rk-page .wrap>h1,body.ah-mode .rk-page .rk-sub{display:none}
  body.ah-mode .rk-page{padding-top:0}
}
.rk-page .ah-head h1{color:#fff}.rk-page .ah-ico{color:#fff}
.rk-page .ah-tabs{margin-bottom:14px}
.rk-page .ah-tabs .mc-tab{background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.35)}
.rk-page .ah-tabs .mc-tab.on{background:#F0A020;border-color:#F0A020}

/* ---- Màn Tài khoản kiểu ứng dụng ---- */
.ah-acct{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.ah-prof{position:relative;margin-top:44px;border-radius:24px;background:linear-gradient(160deg,#A14463,#A36277 60%,#B58394);padding:58px 16px 18px;display:grid;justify-items:center;gap:12px;color:#fff;box-shadow:0 10px 26px -18px rgba(146,62,90,.6)}
.ah-prof-av{position:absolute;top:-44px;left:50%;transform:translateX(-50%);width:88px;height:88px;border-radius:50%;object-fit:cover;background:#fff;color:#A14463;border:4px solid #fff;display:grid;place-items:center;font-weight:700;font-size:28px;overflow:hidden;box-shadow:0 4px 14px rgba(146,62,90,.25)}
.ah-prof>b{font-family:"Lora",Georgia,serif;font-size:22px;text-align:center}
.ah-pts{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#fff;color:#3A2B30;border-radius:999px;padding:12px 16px;text-decoration:none;font-size:17px}
.ah-pts svg{width:24px;height:24px;stroke:#2c9bd6;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ah-pts strong{font-size:19px}
.ah-care{display:flex;align-items:center;gap:12px;background:#fff;border-radius:20px;padding:14px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.ah-care-av{width:60px;height:60px;border-radius:50%;overflow:hidden;background:var(--green-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;flex:none}
.ah-care-av img{width:100%;height:100%;object-fit:cover;display:block}
.ah-care-t{flex:1;min-width:0;display:grid;gap:2px}.ah-care-t small{color:var(--muted);font-size:14px}.ah-care-t b{font-size:20px;line-height:1.2}
.ah-care-t span{color:var(--muted);font-size:14.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ah-care-btn{display:inline-flex;align-items:center;gap:6px;background:#F0A020;color:#fff;border-radius:999px;padding:11px 18px;font-weight:700;font-size:17px;text-decoration:none;flex:none}
.ah-care-btn svg{width:20px;height:20px;stroke:#fff;fill:#fff;stroke-width:1.5}
.ah-menu{display:grid}
.ah-mrow{display:flex;align-items:center;gap:14px;padding:14px 4px;border:0;border-bottom:1px solid #E8DDE1;background:none;text-decoration:none;color:var(--ink);font:inherit;font-size:18px;text-align:left;cursor:pointer;width:100%}
.ah-mi{width:50px;height:50px;border-radius:14px;background:#fff;display:grid;place-items:center;color:#AD4E6E;flex:none;box-shadow:0 4px 12px -8px rgba(135,78,97,.4)}
.ah-mi svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:760px){
  body.ah-mode .pf aside,body.ah-mode .pf>.crumbs{display:none}
  body.ah-mode .pf-grid{grid-template-columns:minmax(0,1fr)}
  body.ah-mode .pf-main>h1{display:none}
  body.ah-mode .pf{padding-top:0}
}

/* ---- Khoá học của tôi: thẻ gọn như ứng dụng mẫu ---- */
.mc-app .mc-meta{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;color:#7b8794;font-size:15px}
.mc-app .mc-meta>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.mc-ico{display:inline-grid;place-items:center}
.mc-ico svg{width:19px;height:19px;stroke:#8793a0;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mc-app .mc-pr{margin-top:2px}
.mc-app .mc-prog{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;color:#7b8794;margin-bottom:6px}
.mc-app .mc-prog b{color:#3A2B30;font-size:15px}
.mc-app .prog{height:7px;background:#E9E2E4}
.mc-act{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
.mc-go{display:inline-flex;align-items:center;background:#F0A020;color:#fff;border-radius:999px;padding:10px 24px;font-weight:700;font-size:17px;text-decoration:none;box-shadow:0 6px 14px -8px rgba(200,120,10,.7)}
.mc-note{color:#8793a0;font-size:15px}
.mc-app.live{background:#F5E9ED;border:1.5px solid #CBA0AE}
@media (max-width:760px){
  body.ah-mode .mc.mc-app{padding:14px;gap:14px;border-radius:18px;align-items:flex-start;border:0;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
  body.ah-mode .mc.mc-app.live{border:1.5px solid #CBA0AE}
  body.ah-mode .mc-app .mc-img{flex:0 0 88px;width:88px;height:88px;border-radius:12px}
  body.ah-mode .mc-app .mc-body{gap:7px}
  body.ah-mode .mc-app .mc-body h3{font-size:20px;font-weight:600;color:#3A2B30}
  body.ah-mode .ah-tabs .mc-tab{background:#F1EEEF;border:1px solid #DDD6D8;color:#4A3D41}
  body.ah-mode .ah-tabs .mc-tab.on{background:#F0A020;border-color:#F0A020;color:#fff}
  body.ah-mode .mc-grid{gap:12px}
}
@media (max-width:760px){
  body.ah-mode .rk-page .ah-tabs .mc-tab{background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.35)}
  body.ah-mode .rk-page .ah-tabs .mc-tab.on{background:#F0A020;border-color:#F0A020}
}

body.ah-mode .float-contact{display:none!important}

.mc-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important}
.ah-fr{color:#AD4E6E;font-weight:700}
.ah-price2 strong{color:#F0A020;font-size:19px;margin-right:8px}.ah-price2 s{color:#8793a0;font-size:14.5px}
@media (max-width:760px){body.ah-mode .ah-page .mc-grid{display:grid;gap:12px;margin-top:10px}}

/* ===== Thu nhỏ chữ và nút cho gọn như ứng dụng mẫu (điện thoại) ===== */
.ah-head h1{font-size:24px}
.ah-hello .hi{font-size:20px}.ah-rank{font-size:14px;margin-top:4px}.ah-rank i{width:22px;height:22px;font-size:12px}
.ah-av{width:52px;height:52px;font-size:17px}
.ah-ico{width:40px;height:40px}.ah-ico svg{width:26px;height:26px}
.ah-slide{min-height:164px;padding:14px}.ah-slide b{font-size:19px}.ah-slide span{font-size:13.5px}.ah-slide small{font-size:12px}.ah-go{font-size:13.5px;padding:8px 14px}
.ah-mini b{font-size:15px}.ah-mini small{font-size:13px}.ah-mini>span{font-size:24px}
.ah-sh h2{font-size:19px}.ah-sh a{font-size:14.5px}
.ah-pc-body b{font-size:15px}.ah-price strong{font-size:18px}.ah-price s{font-size:13.5px}
.ah-live .ah-pc-body b{font-size:14.5px}
.ah-th{width:92px;height:92px}
.ah-row-body b{font-size:16.5px}.ah-row-body small{font-size:13.5px}
.ah-btn{font-size:14.5px;padding:8px 20px}
.ah-tag{font-size:12px}
.ah .hlv-card .hlv-info b{font-size:15.5px}
.ah-care-t b{font-size:17px}.ah-care-t small,.ah-care-t span{font-size:12.5px}.ah-care-btn{font-size:14.5px;padding:9px 16px}
.ah-prof>b{font-size:19px}.ah-pts{font-size:15px;padding:10px 14px}.ah-pts strong{font-size:16px}
.ah-mrow{font-size:16px;padding:11px 4px}.ah-mi{width:44px;height:44px;border-radius:12px}.ah-mi svg{width:23px;height:23px}
.ah-post-b b{font-size:16.5px}.ah-post-b p{font-size:14px}.ah-post-b span{font-size:13px}.ah-post-b small{font-size:12px}
.mc-app .mc-meta{font-size:13px}.mc-ico svg{width:17px;height:17px}
.mc-app .mc-prog,.mc-app .mc-prog b{font-size:13px}
.mc-go{font-size:14.5px;padding:8px 20px}.mc-note{font-size:13px}
.ah-price2 strong{font-size:16.5px}.ah-price2 s{font-size:13px}
@media (max-width:760px){
  body.ah-mode .ah-tabs .mc-tab,.ah-tabs .mc-tab{font-size:14.5px;padding:9px 16px}
  body.ah-mode .mc-app .mc-body h3{font-size:16.5px;line-height:1.3}
  body.ah-mode .mc-app .mc-img{flex:0 0 96px;width:96px;height:96px}
  body.ah-mode .mc .btn-primary{font-size:14.5px;padding:8px 20px}
  body.ah-mode .mc-app .mc-body{gap:5px}
  body.ah-mode .ah-page{padding-left:14px;padding-right:14px}
}

/* ===== Các trang trong Tài khoản (thông tin cá nhân, đơn hàng, điểm thưởng…) gọn như ứng dụng (điện thoại) ===== */
@media (max-width:760px){
  body.ah-mode .pf{padding:0 14px 20px}
  body.ah-mode .pf .ah-page{padding:max(14px,env(safe-area-inset-top)) 0 4px;max-width:none}
  body.ah-mode .pf .ah-head h1{font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.ah-mode .pf-main{background:none;border:0;box-shadow:none;padding:0;margin-top:8px}
  body.ah-mode .pf-strip{grid-template-columns:repeat(3,1fr);background:#fff;border:0;border-radius:16px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45);margin-bottom:12px}
  body.ah-mode .pf-strip>div{padding:11px 8px;text-align:center;border-right:1px solid #ECE4E7}
  body.ah-mode .pf-strip>div:nth-child(3){border-right:0}
  body.ah-mode .pf-strip b{font-size:15px}
  body.ah-mode .pf-strip small{font-size:12px}
  body.ah-mode .pf-strip .pf-more{grid-column:1/-1;text-align:center;font-size:13px;padding:8px 12px;border-top:1px solid #ECE4E7;font-weight:600;color:var(--green-mid)}
  body.ah-mode .pf-two{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  body.ah-mode .pf-avbox{background:#fff;border:0;border-radius:18px;padding:16px 12px;gap:8px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
  body.ah-mode .pf-avbig{width:84px;height:84px;font-size:28px}
  body.ah-mode .pf-avbox>b{font-size:16px}
  body.ah-mode .pf-cam{width:30px;height:30px;font-size:15px}
  body.ah-mode .field{margin-bottom:12px}
  body.ah-mode .field label,body.ah-mode .pf-box>b{font-size:13px;margin-bottom:4px}
  body.ah-mode .field input,body.ah-mode .field select,body.ah-mode .field textarea,body.ah-mode .pf-box input{font-size:15px;min-height:44px;padding:10px 14px;border-radius:12px}
  body.ah-mode .pf-box{background:#fff;border:0;border-radius:14px;padding:12px 14px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
  body.ah-mode .pf-box small,body.ah-mode .small{font-size:12.5px}
  body.ah-mode .pf-phone{font-size:16px}
  body.ah-mode .pf-row{gap:10px}
  body.ah-mode .check,body.ah-mode .check span{font-size:14px}
  body.ah-mode .pf-main .btn{font-size:15px;padding:11px 22px}
  body.ah-mode .pf-main .pf-list li b{font-size:15px}
  body.ah-mode .pf-main .pf-list small{font-size:12.5px}
}

/* ===== Tiêu đề đậm kiểu ứng dụng mẫu (chữ có chân, đậm, sát chữ) + nút lọc chữ thường ===== */
.ah-head h1,.ah-sh h2,.ah-hello .hi,.ah-prof>b{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;letter-spacing:-.015em}
.ah-head h1{font-size:23px;line-height:1.15}
.ah-sh h2{font-size:18.5px}
.ah-hello .hi{font-size:19px}
.ah-tabs .mc-tab{font-weight:500}.ah-tabs .mc-tab.on{font-weight:600}
@media (max-width:760px){body.ah-mode .pf .ah-head h1{font-size:20px}}

/* ===== Chữ Roboto cho các màn ứng dụng (hẹp, gọn như ứng dụng mẫu) + cỡ chữ sát mẫu ===== */
body.ah-mode,body.ah-mode button,body.ah-mode input,body.ah-mode select,body.ah-mode textarea{font-family:"Roboto","Be Vietnam Pro",system-ui,sans-serif}
.ah-head h1{font-size:25px}
.mc-go{font-size:13.5px;padding:7px 20px;font-weight:700;box-shadow:0 5px 12px -8px rgba(200,120,10,.7)}
.mc-note{font-size:12.5px}
.mc-ico svg{width:16px;height:16px}
.ah-btn{font-size:13.5px;padding:7px 18px;font-weight:700}
@media (max-width:760px){
  body.ah-mode .ah-tabs{gap:10px;margin:10px 0 2px}
  body.ah-mode .ah-tabs .mc-tab,.ah-tabs .mc-tab{font-size:13px;padding:7px 15px;font-weight:400}
  body.ah-mode .ah-tabs .mc-tab.on{font-weight:500}
  body.ah-mode .mc-app .mc-body h3{font-family:"Roboto","Be Vietnam Pro",system-ui,sans-serif;font-size:14.5px;font-weight:700;line-height:1.3}
  body.ah-mode .mc-app .mc-img{flex:0 0 104px;width:104px;height:104px}
  body.ah-mode .mc-app .mc-meta{font-size:12.5px;gap:3px 12px}
  body.ah-mode .mc-app .mc-prog,body.ah-mode .mc-app .mc-prog b{font-size:12.5px}
  body.ah-mode .mc-app .mc-body{gap:5px}
  body.ah-mode .mc.mc-app{padding:12px}
  body.ah-mode .mc-grid{gap:10px}
  body.ah-mode .ah-row-body b{font-size:15px;font-weight:500}
  body.ah-mode .ah-pc-body b{font-size:14px;font-weight:500}
}

/* ===== Đầu trang + nút lọc cố định khi cuộn (điện thoại) ===== */
@media (max-width:760px){
  body.ah-mode .ah-sticky{position:sticky;top:0;z-index:40;background:#F7F3F4;padding-bottom:8px}
  body.ah-mode .ah-sticky.ah-page{padding-bottom:8px}
  body.ah-mode .ah-sticky-in{margin:0 -14px;padding:6px 14px 8px}
  body.ah-mode .ah-body{padding-top:4px;padding-bottom:20px}
  body.ah-mode .rk-page .ah-sticky{background:#A14463}
  body.ah-mode .pf .ah-sticky{margin:0 -14px;padding-left:14px;padding-right:14px}
}

/* ===== Lịch học online kiểu ứng dụng ===== */
.sc-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.sc-wrap>*{min-width:0}
.sc-month{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--ink)}.sc-month b{font-weight:700}
.sc-month svg{width:20px;height:20px;stroke:#6A5A5F;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sc-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:2px 14px 6px;scroll-snap-type:x proximity}
.sc-strip::-webkit-scrollbar{display:none}
.sc-day{flex:none;width:46px;height:64px;border:0;border-radius:999px;background:#fff;display:grid;align-content:center;justify-items:center;gap:2px;cursor:pointer;font-family:inherit;scroll-snap-align:center}
.sc-day b{font-size:17px;font-weight:700;color:#AD4E6E;line-height:1}.sc-day span{font-size:12px;color:#7b8794;line-height:1}
.sc-day.on{background:#F0A020}.sc-day.on b,.sc-day.on span{color:#fff}
.sc-grid{display:grid;gap:10px}
.sc-card{background:#fff;border-radius:16px;padding:14px;display:grid;gap:10px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.sc-card.live{background:#F5E9ED;border:1.5px solid #CBA0AE}
.sc-card.past{opacity:.7}
.sc-card h3{margin:0;font-family:"Roboto",system-ui,sans-serif;font-size:14.5px;font-weight:700;line-height:1.35;color:#3A2B30}
.sc-card.live h3{color:#A14463}
.sc-who{display:flex;gap:10px;align-items:center}
.sc-who img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #EEE2E6;flex:none}
.sc-who b{display:block;font-size:14px;font-weight:500;color:#3A2B30}
.sc-time{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12.5px;color:#7b8794;margin-top:2px}
.sc-time svg{width:16px;height:16px;stroke:#8793a0;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sc-time i{font-style:normal}.sc-time em{font-style:normal;font-weight:700}
.sc-time em.live{color:#BD4D73}.sc-time em.soon{color:#E8890C}.sc-time em.past{color:#8793a0}
.sc-cd{display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #DDD6D8;padding-top:10px;font-size:14px;font-weight:700;color:#3A2B30}
.sc-cd-b{display:flex;align-items:center;gap:6px}.sc-cd-b i{font-style:normal;color:#8793a0}
.sc-box{background:#E4D1D7;color:#A14463;border-radius:7px;padding:5px 7px;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.sc-go{display:flex;align-items:center;justify-content:center;background:#F0A020;color:#fff;border-radius:10px;min-height:42px;font-size:14.5px;font-weight:700;text-decoration:none}
.sc-empty{background:#fff;border-radius:16px;padding:22px 16px;display:grid;gap:8px;justify-items:center;text-align:center;color:#513F45;font-size:14px}
.sc-empty b{color:#3A2B30;font-size:15px}.sc-empty .sc-go{padding:0 22px;margin-top:6px}

/* Lịch học: dải ngày nhỏ gọn hơn */
.sc-strip{gap:7px}
.sc-day{width:42px;height:58px}
.sc-day b{font-size:15px}.sc-day span{font-size:11px}

.sc-help{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-radius:14px;padding:10px 12px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.sc-help b{display:block;font-size:14px;color:#A14463}.sc-help span{display:block;font-size:12.5px;color:#7b8794;margin-top:1px}
.sc-help-btn{flex:none;background:#F0A020;color:#fff;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none}

/* ===== Thông tin cá nhân kiểu ứng dụng (điện thoại) ===== */
body.ah-form .ez-bar{display:none!important}
body.ah-form{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
.pa{max-width:720px;margin:0 auto;padding:max(14px,env(safe-area-inset-top)) 14px 0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.pa>*{min-width:0}
.pa-top{display:flex;align-items:center;gap:12px}
.pa-top h1{margin:0;font-family:"Roboto",system-ui,sans-serif;font-size:19px;font-weight:700;color:#3A2B30}
.pa-back{width:36px;height:36px;border-radius:50%;border:1.5px solid #3A2B30;display:grid;place-items:center;color:#3A2B30;flex:none}
.pa-back svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pa-banner{border-radius:18px;background:linear-gradient(135deg,#A14463,#B17287 55%,#CBA0AE);padding:18px 12px 14px;display:grid;justify-items:center;gap:6px}
.pa-av{position:relative;border:0;background:none;padding:0;cursor:pointer}
.pa-avimg{width:88px;height:88px;border-radius:50%;object-fit:cover;background:#fff;color:#A14463;display:grid;place-items:center;font-weight:700;font-size:28px;border:4px solid #fff}
.pa-cam{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;background:#F0A020;display:grid;place-items:center;border:2px solid #fff}
.pa-cam svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pa-change{border:0;background:none;color:#fff;font:600 13px "Roboto",system-ui,sans-serif;cursor:pointer;padding:2px 8px}
.pa-del{border:0;background:none;color:rgba(255,255,255,.85);font:400 12px "Roboto",system-ui,sans-serif;text-decoration:underline;cursor:pointer}
.pa-form{display:grid;gap:10px}
.pa-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #E0D8DB;border-radius:12px;padding:0 12px;min-height:48px;margin:0}
.pa-row.dis{background:#F3F1F2}.pa-row.dis input{color:#948A8D}
.pa-ic{display:grid;place-items:center;flex:none}.pa-ic svg{width:21px;height:21px;stroke:#6A5A5F;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pa-row input,.pa-row select{flex:1;min-width:0;width:100%;border:0;outline:0;background:none;font:400 15px "Roboto",system-ui,sans-serif;color:#3A2B30;padding:12px 0;appearance:none;-webkit-appearance:none}
.pa-chk{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#513F45;line-height:1.4}
.pa-chk input{width:18px;height:18px;margin-top:1px;flex:none}
.pa-note{margin:0;font-size:12.5px;color:#7b8794}
.pa-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -6px 24px -10px rgba(137,67,90,.28);padding:12px 14px calc(12px + env(safe-area-inset-bottom))}
.pa-save{width:100%;min-height:46px;border:0;border-radius:12px;background:#F0A020;color:#fff;font:700 15.5px "Roboto",system-ui,sans-serif;cursor:pointer}
.pa-save:disabled{opacity:.6}
input[type=date]{max-width:100%;min-width:0}

/* ===== Cài đặt thông báo kiểu ứng dụng ===== */
.ns-card{background:#fff;border-radius:16px;padding:14px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.ns-head{display:flex;gap:12px;align-items:center;justify-content:space-between}
.ns-head b{font-size:15.5px;color:#3A2B30;font-family:"Roboto",system-ui,sans-serif}
.ns-head p{margin:5px 0 0;font-size:12.5px;line-height:1.45;color:#7b8794}
.ns-switch{position:relative;flex:none;width:50px;height:30px;display:block}
.ns-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;z-index:2;cursor:pointer}
.ns-switch i{position:absolute;inset:0;border-radius:99px;background:#D6CFD1;transition:background .2s}
.ns-switch i::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3);transition:transform .2s}
.ns-switch input:checked+i{background:#B17287}.ns-switch input:checked+i::after{transform:translateX(20px)}
.ns-time{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.ns-time[hidden]{display:none}
.ns-time label{font-weight:600;color:#3A2B30}.ns-time input[type=time]{border:1px solid #E0D8DB;border-radius:10px;padding:8px 10px;font:400 15px "Roboto",system-ui,sans-serif}
.ns-mini{border:0;border-radius:999px;background:#F0A020;color:#fff;font:700 13px "Roboto",system-ui,sans-serif;padding:8px 14px;cursor:pointer}.ns-mini.ghost{background:#EEE6E9;color:#A14463}
.ns-note{margin:0;font-size:13px;color:#AD4E6E;background:#F3E9EC;border-radius:10px;padding:8px 12px}.ns-note.bad{color:#a23b2e;background:#fbe9e6}
.ns-msg:empty{display:none}
.ns-sec h3{margin:6px 0 4px;font-family:"Roboto",system-ui,sans-serif;font-size:14.5px;font-weight:700;color:#3A2B30}
.ns-sec ul,.ns-sec ol{margin:0;padding-left:20px;display:grid;gap:5px;font-size:13.5px;line-height:1.5;color:#513F45}
.ns-end{margin:8px 0 0;font-size:13.5px;color:#513F45}

/* Thông tin cá nhân / Cài đặt thông báo: đầu trang (và khung ảnh) cố định khi cuộn */
.pa{padding-top:0}
.pa-sticky{position:sticky;top:0;z-index:50;background:#F7F3F4;margin:0 -14px;padding:max(14px,env(safe-area-inset-top)) 14px 8px;display:grid;gap:10px}
.pa-sticky .pa-banner{padding:12px 12px 10px;gap:4px}
.pa-sticky .pa-avimg{width:72px;height:72px;font-size:24px}

/* ===== Tập thở: màn chọn nhanh + màn tập toàn màn hình ===== */
.tt{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding-bottom:150px!important}
.tt>*{min-width:0}
.tt-stats{display:flex;justify-content:space-between;gap:6px;background:#fff;border-radius:14px;padding:10px 14px;font-size:12.5px;color:#7b8794;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.tt-stats b{color:#A14463;font-size:13.5px}.tt-stats a{display:block;width:100%;text-align:center;color:#A14463;font-weight:600;font-size:13px;text-decoration:none}
.tt-l{margin:0 0 8px;font:700 12.5px "Roboto",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#7A6B70}
.tt-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tt-t{display:flex;align-items:center;gap:8px;border:1.5px solid transparent;background:#fff;border-radius:14px;padding:11px 10px;cursor:pointer;font-family:inherit;text-align:left;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.tt-t i{font-style:normal;font-size:20px}.tt-t b{font-size:13.5px;color:#3A2B30;line-height:1.25}
.tt-t.on{border-color:#B17287;background:#F5E9ED}
.tt-detail{margin-top:10px;background:#fff;border-radius:14px;padding:12px 14px;display:grid;gap:6px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.tt-detail b{font-size:14.5px;color:#A14463}.tt-detail p{margin:0;font-size:13px;line-height:1.5;color:#513F45}
.tt-bar{display:flex;gap:3px;height:26px;border-radius:8px;overflow:hidden}
.tt-bar span{display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;white-space:nowrap;min-width:0;overflow:hidden}
.tt-bar .k-in{background:#B58394}.tt-bar .k-out{background:#A14463}.tt-bar .k-hold,.tt-bar .k-hold0{background:#C9B8BE;color:#442F36}
.tt-seg{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#EBE2E5;border-radius:12px;padding:4px}
.tt-seg button{border:0;background:none;border-radius:9px;padding:10px 2px;font:500 13.5px "Roboto",system-ui,sans-serif;color:#513F45;cursor:pointer}
.tt-seg button.on{background:#fff;color:#A14463;font-weight:700;box-shadow:0 2px 8px -3px rgba(135,78,97,.4)}
.tt-seg.s4 button{font-size:12.5px;padding:10px 0}
.tt-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.tt-test{border:0;background:none;color:#A14463;font:600 13px "Roboto",system-ui,sans-serif;cursor:pointer;padding:6px 0}
.tt-sw{display:flex;align-items:center;gap:8px;font-size:13px;color:#513F45;position:relative;cursor:pointer}
.tt-sw input{position:absolute;opacity:0;width:44px;height:26px;margin:0;cursor:pointer}
.tt-sw i{width:44px;height:26px;border-radius:99px;background:#D6CFD1;position:relative;flex:none;transition:background .2s}
.tt-sw i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.tt-sw input:checked+i{background:#B17287}.tt-sw input:checked+i::after{transform:translateX(18px)}
.tt-sw span{order:-1}
.tt-warn{margin:0;font-size:12px;line-height:1.5;color:#7b8794}
.tt-cta{position:fixed;left:0;right:0;bottom:calc(76px + env(safe-area-inset-bottom));z-index:55;padding:8px 14px;background:linear-gradient(180deg,rgba(247,243,244,0),#F7F3F4 40%)}
.tt-go{display:block;width:100%;max-width:720px;margin:0 auto;min-height:50px;border:0;border-radius:14px;background:#F0A020;color:#fff;font:700 16px "Roboto",system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 22px -12px rgba(200,120,10,.8)}
body.bs-open{overflow:hidden}
body.bs-open .ez-bar{display:none!important}
.bs{position:fixed;inset:0;z-index:200;background:linear-gradient(180deg,#983456,#A14463 55%,#AD4E6E);color:#fff;display:grid;grid-template-rows:auto 1fr auto;padding:max(14px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom));font-family:"Roboto",system-ui,sans-serif}
.bs-top{display:flex;align-items:center;gap:12px}
.bs-x{width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:16px;cursor:pointer}
.bs-top b{display:block;font-size:16px}.bs-top small{display:block;font-size:12.5px;opacity:.8;margin-top:1px}
.bs-stage{position:relative;display:grid;place-items:center}
.bs-glow{position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(223,167,186,.35),rgba(223,167,186,0) 68%);animation:bsGlow 6s ease-in-out infinite}
@keyframes bsGlow{50%{transform:scale(1.12);opacity:.8}}
.bs-orb{position:relative;width:min(70vw,290px);height:min(70vw,290px);border-radius:50%;background:radial-gradient(circle at 35% 30%,#F5E6EB,#CA96A7 55%,#B17287);display:grid;place-items:center;align-content:center;gap:4px;box-shadow:0 0 60px rgba(222,158,179,.45);color:#993A5A;will-change:transform}
.bs-word{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:700;font-size:26px}
.bs-count{font-size:38px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.bs-left{text-align:center;font-size:44px;font-weight:300;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.bs-foot{display:grid;gap:12px;justify-items:center}
.bs-prog{width:100%;height:5px;border-radius:99px;background:rgba(255,255,255,.2);overflow:hidden}.bs-prog i{display:block;height:100%;background:#fff;width:0;transition:width .3s linear}
.bs-tip{margin:0;text-align:center;font-size:13.5px;opacity:.85;max-width:320px;line-height:1.5}
.bs-btns{display:flex;gap:12px;width:100%;max-width:360px;justify-content:center}
.bs-btn{flex:1;min-height:48px;border:0;border-radius:14px;background:#fff;color:#A14463;font:700 15px "Roboto",system-ui,sans-serif;display:grid;place-items:center;text-decoration:none;cursor:pointer}
.bs-btn.ghost{background:rgba(255,255,255,.16);color:#fff}
.bs-end{grid-row:1/4;display:grid;align-content:center;justify-items:center;gap:12px;text-align:center}
.bs-check{width:84px;height:84px;border-radius:50%;background:#fff;color:#A14463;display:grid;place-items:center;font-size:44px;font-weight:700}
.bs-end h2{margin:0;font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:24px}
.bs-end p{margin:0;max-width:300px;font-size:15px;line-height:1.5;opacity:.92}
.bs-sum{display:flex;gap:18px;font-size:14px}.bs-sum b{font-size:18px}
@media (prefers-reduced-motion:reduce){.bs-glow{animation:none}}

/* Tập thở: sửa khoảng cách các mục và nút Bắt đầu không đè lên chữ */
@media (max-width:760px){
  body.ah-mode .ah-page.tt{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding-bottom:16px}
}
.tt-cta{position:sticky;left:auto;right:auto;bottom:calc(74px + env(safe-area-inset-bottom));z-index:55;padding:10px 14px 8px;background:linear-gradient(180deg,rgba(247,243,244,0),#F7F3F4 35%)}
.tt-go{max-width:none}
.tt-cta .tt-warn{margin:6px 2px 0;font-size:11px;line-height:1.35;text-align:center}

/* Trang chủ: khớp mẫu — đầu trang cố định, thẻ khoá tên thường, giá + nhãn giảm giá */
body.ah-mode .ah-top{position:sticky;top:0;z-index:40;background:#F7F3F4;margin:0 -16px;padding:max(10px,env(safe-area-inset-top)) 16px 10px}
.ah-live .ah-pc-body b{text-transform:none;font-weight:400;letter-spacing:0;font-size:15.5px;font-family:"Roboto","Be Vietnam Pro",system-ui,sans-serif}
.ah-live .ah-pc-img{aspect-ratio:1/0.85}
.ah-pc-body b{font-family:"Roboto","Be Vietnam Pro",system-ui,sans-serif;font-weight:400;font-size:15.5px;line-height:1.35}
.ah-price strong{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:19px;color:#F0A020}
.ah-old{display:flex;align-items:center;gap:8px}.ah-old s{color:#7b8794;font-size:13.5px}
.ah-old em{font-style:normal;background:#D93025;color:#fff;border-radius:7px;padding:2px 7px;font-size:12px;font-weight:700}
.ah-sh h2{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:19px}
.ah-sh a{color:#3A2B30;font-size:14px}

/* ===== Tập trực tiếp cùng HLV ===== */
.lv-band{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:linear-gradient(135deg,#A14463,#A36277);border-radius:16px;padding:14px 8px 12px}
.lv-cat{display:grid;justify-items:center;gap:8px;text-decoration:none;color:rgba(255,255,255,.65)}
.lv-cat b{font:500 13px "Roboto",system-ui,sans-serif;text-align:center}.lv-cat.on{color:#fff}.lv-cat.on b{font-weight:700}
.lv-c{width:72px;height:72px;border-radius:50%;border:2px solid #fff;overflow:hidden;background:#A2516C;display:grid;place-items:center;font-size:26px}
.lv-c img{width:100%;height:100%;object-fit:cover;display:block}
.lv-h{margin:16px 0 10px;font:600 16px "Roboto",system-ui,sans-serif;color:#3A2B30}
.lv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lv-card{flex:none!important;width:auto}
.ah-head .pa-back{margin-right:8px}
.ah-head:has(.pa-back) h1{font-size:19px}

.ah-cat{flex:0 0 calc(50% - 22px)}
.ah-cat .ah-pc-body b{font-size:16px;min-height:0;padding:2px 0}
.ah-cat .ah-pc-img{aspect-ratio:1/0.8}
.ah-live .ah-sh h2{font-size:18px;white-space:nowrap}
.ah-price2{display:grid;gap:3px}.ah-price2 strong{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:18px;color:#F0A020;margin:0}

.lv-pi{position:relative}
.lv-badge{position:absolute;top:10px;left:50%;transform:translateX(-50%);background:#9c1c2e;color:#fff;font:800 11.5px "Roboto",system-ui,sans-serif;font-style:normal;letter-spacing:.04em;padding:5px 12px;border-radius:8px;white-space:nowrap}
.lv-sub{position:absolute;top:40px;left:10px;border:1.5px solid #f3c64a;color:#f3c64a;font:700 10px "Roboto",system-ui,sans-serif;font-style:normal;padding:2px 6px;border-radius:5px;background:rgba(0,0,0,.25)}
.lv-card .ah-pc-body b{min-height:2.7em}

/* Chi tiết gói học */
.pl{padding-bottom:20px}
.pl-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pl-price{display:inline-block;background:linear-gradient(135deg,#A14463,#A36277);color:#fff;border-radius:0 40px 40px 0;margin-left:-14px;padding:12px 26px 12px 14px}
.pl-price strong{display:block;font:800 26px "Noto Serif","Lora",Georgia,serif}.pl-price s{display:block;font-size:14px;opacity:.85}
.pl-meta{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:13.5px;color:#6A5A5F}.pl-meta svg{width:20px;height:20px;stroke:#6A5A5F;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pl-art{font-size:64px;line-height:1;padding-right:14px}
.pl-card{background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.pl-card h3{margin:0 0 6px;font:700 15px "Roboto",system-ui,sans-serif;color:#A14463}
.pl-card p{margin:0 0 8px;font-size:14px;line-height:1.55;color:#4A3A3F}
.pl-card ul{margin:0;padding-left:20px;display:grid;gap:5px;font-size:14px;color:#4A3A3F}
.pl-bar{display:flex;gap:10px}
.pl-buy{flex:1;display:grid;place-items:center;min-height:46px;border-radius:12px;background:#F0A020;color:#fff;font:700 15.5px "Roboto",system-ui,sans-serif;text-decoration:none}
.pl-ic{width:54px;min-height:46px;border-radius:12px;display:grid;place-items:center;text-decoration:none;color:#fff;font:700 12px "Roboto",system-ui,sans-serif}
.pl-ic.call{background:#B17287}.pl-ic.zl{background:#0068FF}
.pl-ic svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.pp-body{display:grid;gap:12px}
.pp-card{background:#fff;border-radius:16px;padding:16px;display:grid;gap:8px;justify-items:center;text-align:center;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.pp-card>b{font-size:15px;color:#3A2B30}.pp-amt{font:800 24px "Noto Serif","Lora",Georgia,serif;color:#F0A020}
.pp-qr{width:100%;max-width:300px;border:1px solid #E9E2E4;border-radius:12px;padding:8px}.pp-qr img{width:100%;height:auto;display:block;border-radius:8px}
.pp-row{margin:0;font-size:14px;color:#4A3A3F}
.pp-ok{padding-top:30px}.pp-ok .pa-note{display:block;margin-top:10px;color:#AD4E6E}
/* Chi tiết gói học: chữ to hơn, dễ đọc cho cô chú */
.pl-top .pl-price strong{font-size:32px}.pl-price s{font-size:17px}
.pl-meta{font-size:17px;margin-top:12px}.pl-meta svg{width:24px;height:24px}
.pl-card{padding:18px 18px}.pl-card h3{font-size:20px;margin-bottom:8px}
.pl-card p{font-size:18px;line-height:1.6}.pl-card ul{font-size:18px;gap:8px;padding-left:22px}
.pl-buy{font-size:19px;min-height:54px}.pl-ic{min-height:54px;width:60px;font-size:14px}
.pa-top h1{font-size:21px}

/* Ảnh demo (tạm) cho nhóm lớp trực tiếp */
.demo-cd{background:linear-gradient(135deg,#AD4E6E,#CA96A7)!important}
.demo-vip{background:linear-gradient(135deg,#6a3d8f,#d59be8)!important}
.demo-pt{background:linear-gradient(135deg,#c9772b,#f3c64a)!important}
.demo-cd span,.demo-vip span,.demo-pt span{font-size:64px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
.lv-c span{font-size:30px}
.ah-head .ah-ico,.ah-top .ah-ico{width:38px}

/* Tập thở: danh sách phép thở + yêu thích */
.tt-fil{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -14px 10px;padding:0 14px}.tt-fil::-webkit-scrollbar{display:none}
.tt-chip{flex:none;border:1px solid #DDD6D8;background:#fff;border-radius:999px;padding:8px 14px;font:500 13px "Roboto",system-ui,sans-serif;color:#513F45;cursor:pointer}
.tt-chip.on{background:#A14463;border-color:#A14463;color:#fff;font-weight:700}
.tt-row{display:grid!important;grid-template-columns:1fr!important;gap:8px;max-height:330px;overflow-y:auto;padding-right:2px}
.tt-t{display:flex!important;align-items:center;gap:12px;padding:10px 12px!important}
.tt-t i{font-size:24px;flex:none}.tt-t>div{flex:1;min-width:0;display:grid;gap:2px}.tt-t small{font-size:12px;color:#7b8794}
.tt-h{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:#F3F1F2;color:#A59A9E;font-size:22px;cursor:pointer;line-height:1}
.tt-h.on{background:#ffe3e3;color:#e0344b}
.tt-empty{padding:16px;text-align:center;font-size:13.5px;color:#7b8794;background:#fff;border-radius:14px}

/* Tập thở: chữ to hơn, thời gian + âm thanh thu gọn */
.tt{gap:16px}
.tt-stats{font-size:14.5px;padding:12px 16px}.tt-stats b{font-size:16px}
.tt-l{font-size:14px}
.tt-chip{font-size:15px;padding:10px 16px}
.tt-t{padding:12px 14px!important}.tt-t i{font-size:28px}.tt-t b{font-size:17px}.tt-t small{font-size:13.5px}
.tt-h{width:44px;height:44px;font-size:24px}
.tt-detail{padding:14px 16px}.tt-detail b{font-size:17px}.tt-detail p{font-size:15px}.tt-bar{height:30px}.tt-bar span{font-size:13px}
.tt-optbtn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:#fff;border-radius:14px;padding:14px 16px;font:600 16px "Roboto",system-ui,sans-serif;color:#3A2B30;cursor:pointer;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.tt-optbtn i{font-style:normal;font-weight:500;font-size:14px;color:#A14463}
.tt-optbox{margin-top:8px;background:#fff;border-radius:14px;padding:14px}
.tt-optbox[hidden]{display:none}
.tt-seg button{font-size:15px;padding:12px 2px}.tt-seg.s4 button{font-size:14px}
.tt-test{font-size:15px}.tt-sw{font-size:14.5px}
.tt-go{font-size:18px;min-height:54px}
.tt-warn{font-size:12.5px}

.bs-gate{position:absolute;inset:0;z-index:5;background:rgba(139,49,79,.78);display:grid;place-items:center;padding:20px}
.bs-gcard{width:100%;max-width:360px;background:#fff;color:#3A2B30;border-radius:22px;padding:24px 20px;display:grid;gap:12px;text-align:center;justify-items:stretch}
.bs-gem{font-size:44px}.bs-gcard h2{margin:0;font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:21px;color:#A14463}
.bs-gcard p{margin:0;font-size:15.5px;line-height:1.5;color:#513F45}
.bs-btn.gold{background:#F0A020;color:#fff}
.bs-gcard .bs-btn.ghost{background:#EFE7EA;color:#A14463}
.bs-skip{border:0;background:none;color:#7b8794;font:500 14px "Roboto",system-ui,sans-serif;cursor:pointer;padding:6px}
.rk-kind{margin-bottom:8px}

/* Trang chủ: thi đua tập thở */
.lb-card{background:#fff;border-radius:16px;padding:6px 14px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.lb-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #F2ECEE;text-decoration:none;color:#3A2B30}
.lb-row.me{background:#F6EDF0;margin:0 -14px;padding:11px 14px}
.lb-n{width:28px;text-align:center;font-size:20px;color:#7b8794;font-weight:700}
.lb-row b{flex:1;min-width:0;font:500 15.5px "Roboto",system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-v{font:700 14.5px "Roboto",system-ui,sans-serif;color:#A14463}
.lb-me,.lb-empty{display:block;padding:12px 0;font-size:14px;color:#513F45;text-decoration:none;text-align:center}
.lb-me{color:#A14463;font-weight:600}

/* Tập thở: nút Bắt đầu tròn đỏ ở giữa, hai bên là chỉnh thời gian / âm thanh */
.tt-cta{padding:6px 14px 4px}
.tt-bar3{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;max-width:520px;margin:0 auto}
.tt-side{display:grid;justify-items:center;gap:2px;border:0;background:#fff;border-radius:18px;padding:10px 6px;cursor:pointer;font-family:inherit;box-shadow:0 6px 20px -14px rgba(135,78,97,.5);min-height:78px;align-content:center}
.tt-side i{font-style:normal;font-size:24px;line-height:1}.tt-side b{font:700 15px "Roboto",system-ui,sans-serif;color:#3A2B30}.tt-side small{font-size:12px;color:#7b8794}
.tt-mid{display:grid;justify-items:center;gap:3px}.tt-mid span{font:700 13px "Roboto",system-ui,sans-serif;color:#d12f2f}
.tt-start{width:84px;height:84px;border-radius:50%;border:0;background:#E03A3A;color:#fff;font-size:34px;padding-left:6px;cursor:pointer;box-shadow:0 12px 24px -10px rgba(224,58,58,.8),0 0 0 6px rgba(224,58,58,.16)}
.tt-sheet{position:fixed;inset:0;z-index:150;background:rgba(132,56,82,.5);display:flex;align-items:flex-end}
.tt-sheet-c{width:100%;max-width:560px;margin:0 auto;background:#fff;border-radius:22px 22px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));display:grid;gap:14px}
.tt-sheet-b h3{margin:0 0 12px;font:700 18px "Roboto",system-ui,sans-serif;color:#A14463}
.tt-sheet-ok{min-height:50px;border:0;border-radius:14px;background:#A14463;color:#fff;font:700 16px "Roboto",system-ui,sans-serif;cursor:pointer}
.tt-sheet .tt-seg button{font-size:17px;padding:14px 2px}.tt-sheet .tt-seg.s4 button{font-size:15px}
.tt-sheet .tt-opt{margin-top:14px}.tt-sheet .tt-test{font-size:16px}.tt-sheet .tt-sw{font-size:15.5px}
.tt{padding-bottom:210px!important}.tt-cta{background:linear-gradient(180deg,rgba(247,243,244,0),#F7F3F4 25%)}

.tt-sheet .tt-seg.s4{grid-template-columns:repeat(3,1fr);gap:6px;background:none;padding:0}
.tt-sheet .tt-seg.s4 button{background:#EEE6E9;border-radius:12px;font-size:15.5px;padding:13px 4px}
.tt-sheet .tt-seg.s4 button.on{background:#A14463;color:#fff;box-shadow:none}
.tt-hint{margin:-6px 0 10px;font-size:13.5px;color:#7b8794}
/* Tập thở: thanh điều khiển gọn một khối (bỏ các thẻ rời + vòng sáng) */
.tt-bar3{background:#fff;border-radius:28px;padding:12px 10px 10px;gap:0;box-shadow:0 12px 30px -16px rgba(135,78,97,.55);align-items:end}
.tt-side{background:none;box-shadow:none;border-radius:16px;padding:6px 4px;min-height:0;gap:3px;align-content:end}
.tt-side i{font-size:26px;height:70px;display:grid;place-items:center}
.tt-side b{font-size:14.5px;font-weight:600;color:#3A2B30}
.tt-side small,.tt-mid span{font:500 12px "Roboto",system-ui,sans-serif;color:#7b8794}
.tt-mid{gap:3px;padding:0 6px}
.tt-start{width:70px;height:70px;font-size:28px;box-shadow:0 8px 18px -8px rgba(224,58,58,.75)}
.tt-side{border-right:0}
.tt-cta{padding:6px 16px 4px}
.tt-bar3 .tt-side i{height:70px;display:flex;align-items:center;justify-content:center;font-size:32px;line-height:1}
.tt-bar3 .tt-side{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.tt-bar3 .tt-side i{flex:none;min-height:70px}

.tt-mid{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;padding:0 6px}
.tt-mid-c{height:70px;display:grid;place-items:center;flex:none}
.tt-mid b{font:600 14.5px "Roboto",system-ui,sans-serif;color:#d12f2f}
.tt-mid small{font:500 12px "Roboto",system-ui,sans-serif;color:#7b8794}
/* Tập thở: thanh điều khiển cùng màu nền trang, không bo, mờ dần lên phía trên */
.tt-bar3{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0 10px}
.tt-cta{background:linear-gradient(180deg,rgba(247,243,244,0) 0,rgba(247,243,244,.85) 22px,#F7F3F4 44px)!important;padding:46px 16px 4px!important;box-shadow:none!important}
.tt-side{background:transparent!important;box-shadow:none!important}

.rk-page .ah-head h1{text-align:left}
.rk-grid+.rk-tabs{margin:26px 0 0}

/* ===== Bảng vàng tập thở: thẻ để học viên chụp màn hình khoe ===== */
.rk-page .wrap{max-width:560px}
.rk-card{position:relative;overflow:hidden;border-radius:28px;padding:26px 16px 18px;color:#fff;text-align:center;
  background:radial-gradient(120% 60% at 50% 0%,rgba(246,220,150,.38) 0%,rgba(246,220,150,0) 62%),
    radial-gradient(70% 40% at 0% 100%,rgba(177,114,135,.45),transparent 70%),
    linear-gradient(170deg,#AB4265 0%,#9E395A 55%,#963454 100%);
  border:2px solid rgba(246,220,150,.75);
  box-shadow:0 0 0 5px rgba(246,220,150,.14),0 30px 60px -26px rgba(0,0,0,.7),inset 0 0 60px rgba(246,220,150,.08)}
.rk-brand{font-size:12.5px;letter-spacing:.28em;text-transform:uppercase;color:#F6DC96;font-weight:700;opacity:.95}
.rk-title{font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:clamp(30px,8.6vw,42px);line-height:1.08;margin:6px 0 0;
  background:linear-gradient(180deg,#fff7d6 0%,#F6DC96 45%,#E2A93B 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.35))}
.rk-period{display:inline-block;margin:12px 0 4px;padding:6px 18px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid rgba(246,220,150,.5);color:#fdf1c8;font-weight:600;font-size:14px;letter-spacing:.02em}
.rk-sp{position:absolute;font-style:normal;color:#F6DC96;opacity:.85;animation:rkTw 3.2s ease-in-out infinite;pointer-events:none}
.rk-sp.s1{top:16px;left:18px;font-size:20px}.rk-sp.s2{top:56px;right:20px;font-size:26px;animation-delay:.8s}
.rk-sp.s3{top:150px;left:10px;font-size:16px;animation-delay:1.6s}.rk-sp.s4{top:120px;right:12px;font-size:16px;animation-delay:2.2s}
.rk-sp.s5{top:22px;right:70px;font-size:13px;animation-delay:1.2s}
@keyframes rkTw{0%,100%{opacity:.25;transform:scale(.8) rotate(0)}50%{opacity:1;transform:scale(1.25) rotate(20deg)}}
@media (prefers-reduced-motion:reduce){.rk-sp{animation:none}}
.rk-card .podium{margin:14px 0 14px;min-height:0;gap:8px;grid-template-columns:1fr 1.2fr 1fr}
.rk-card .pod{min-height:0;gap:5px}
.rk-card .pod b{font-size:14px;line-height:1.25;color:#fff;max-width:100%;overflow-wrap:anywhere;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.pod-av{position:relative;display:inline-block}
.pod-av .medal{position:absolute;right:-8px;bottom:-6px;font-size:26px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4))}
.rk-card .rk-av{background:linear-gradient(145deg,#B8758B,#A36277);border:3px solid rgba(255,255,255,.9);box-shadow:0 6px 16px -4px rgba(0,0,0,.5)}
.rk-card .p1 .rk-av{width:92px;height:92px;font-size:30px;border-color:#F6DC96;box-shadow:0 0 0 5px rgba(246,220,150,.3),0 0 34px rgba(246,220,150,.7)}
.rk-card .p2 .rk-av,.rk-card .p3 .rk-av{width:70px;height:70px;font-size:22px}
.rk-card .p2 .rk-av{border-color:#dfe7ec}.rk-card .p3 .rk-av{border-color:#e8c4a0}
.rk-card .crown{font-size:32px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.4));animation:rkCr 2.6s ease-in-out infinite}
@keyframes rkCr{50%{transform:translateY(-4px) rotate(-4deg)}}
@media (prefers-reduced-motion:reduce){.rk-card .crown{animation:none}}
.rk-card .pod .pv{font-family:"Noto Serif","Lora",Georgia,serif;font-size:15px;color:#F6DC96;font-weight:700}
.rk-card .pod .pv em{font-style:normal;font-size:30px;font-weight:800;color:#fff3c4;text-shadow:0 2px 12px rgba(246,220,150,.6)}
.rk-card .p1 .pv em{font-size:38px}
.rk-card .pod .step{border-radius:14px 14px 0 0;font-size:34px;color:#4a3608;box-shadow:inset 0 2px 0 rgba(255,255,255,.55)}
.rk-card .p1 .step{height:92px;background:linear-gradient(#fff0b8,#E2A93B)}
.rk-card .p2 .step{height:68px}.rk-card .p3 .step{height:54px}
.rk-card .pod.me b{color:#F6DC96}
.rk-card .rk-list{background:rgba(255,255,255,.1);border:1px solid rgba(246,220,150,.3);border-radius:20px;box-shadow:none;text-align:left;backdrop-filter:blur(2px)}
.rk-card .rk-row{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.12);gap:12px}
.rk-card .rk-row.me{background:linear-gradient(90deg,rgba(246,220,150,.38),rgba(246,220,150,.12))}
.rk-card .rk-n{color:#F6DC96;font-weight:800;flex:0 0 28px}
.rk-card .rk-row .rk-av{width:40px;height:40px;font-size:14px;border-width:2px}
.rk-card .rk-mid b{color:#fff;font-size:15.5px;font-weight:600}
.rk-card .rk-mid .prog{background:rgba(255,255,255,.18);height:6px;border-radius:99px;overflow:hidden}
.rk-card .rk-mid .prog i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#F6DC96,#E2A93B)}
.rk-card .rk-v{color:#fdf1c8;font-size:15px}
.rk-card .rk-empty{color:#EEDBE1}
.rk-card .podium-empty{padding:20px 0}
.rk-sig{margin-top:16px;padding-top:12px;border-top:1px dashed rgba(246,220,150,.45)}
.rk-sig b{display:block;font-family:"Noto Serif","Lora",Georgia,serif;font-size:17px;color:#F6DC96;letter-spacing:.03em}
.rk-sig span{display:block;font-size:12.5px;color:#E4D1D7;margin-top:3px}
.rk-page .rk-cta{margin-top:18px}
.rk-card .pod .pv{white-space:nowrap;font-size:13px}
.rk-card .pod .pv em{font-size:24px}.rk-card .p1 .pv em{font-size:34px}
.rk-card .p1 .rk-av{width:84px;height:84px}.rk-card .p2 .rk-av,.rk-card .p3 .rk-av{width:62px;height:62px;font-size:20px}
.rk-card .p1 .step{height:70px}.rk-card .p2 .step{height:50px}.rk-card .p3 .step{height:40px}
.rk-card .pod .step{font-size:28px}
.rk-card{padding-top:22px}.rk-sp.s2{top:64px}.rk-sp.s5{display:none}
.rk-card .rk-row{gap:9px;padding:9px 12px}.rk-card .rk-n{flex:0 0 22px;font-size:18px}
.rk-card .rk-row .rk-av{width:36px;height:36px;font-size:13px}.rk-card .rk-mid b{font-size:15px;line-height:1.25}
.rk-card .rk-v{font-size:13.5px}
body.ah-mode .rk-page .ah-head h1{font-size:21px;white-space:nowrap}

/* icon hơi thở trang trí + cửa sổ chi tiết từng người */
.rk-bi{position:absolute;font-style:normal;pointer-events:none;opacity:.5;filter:saturate(.9);animation:rkFl 5s ease-in-out infinite}
.rk-bi.b1{top:92px;left:12px;font-size:26px}.rk-bi.b2{top:96px;right:12px;font-size:24px;animation-delay:1.2s}
.rk-bi.b3{top:270px;left:6px;font-size:22px;animation-delay:2s;opacity:.35}.rk-bi.b4{top:300px;right:8px;font-size:22px;animation-delay:.6s;opacity:.35}
.rk-bi.b5{bottom:70px;right:12px;font-size:22px;animation-delay:1.8s;opacity:.3}
@keyframes rkFl{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-8px) rotate(6deg)}}
@media (prefers-reduced-motion:reduce){.rk-bi{animation:none}}
.rk-sig span.rk-hint{font-size:11.5px;color:#F6DC96;opacity:.8;margin-top:6px}
.pod.tap,.rk-row.tap{cursor:pointer;-webkit-tap-highlight-color:transparent}
.rk-row.tap:active,.pod.tap:active{filter:brightness(1.15)}
.rd-ov{position:fixed;inset:0;z-index:200;background:rgba(143,43,77,.62);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s}
.rd-ov.on{opacity:1}
.rd-sheet{position:relative;width:100%;max-width:520px;max-height:90vh;overflow:auto;border-radius:26px 26px 0 0;padding:22px 18px 30px;color:#fff;
  background:radial-gradient(100% 50% at 50% 0%,rgba(246,220,150,.3),transparent 70%),linear-gradient(170deg,#AB4265,#963454);border:2px solid rgba(246,220,150,.7);border-bottom:0;
  transform:translateY(30px);transition:transform .2s}
.rd-ov.on .rd-sheet{transform:none}
@media (min-width:600px){.rd-ov{align-items:center}.rd-sheet{border-radius:26px;border-bottom:2px solid rgba(246,220,150,.7)}}
.rd-x{position:absolute;top:12px;right:14px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.25);color:#fff;font-size:15px;cursor:pointer}
.rd-head{display:flex;align-items:center;gap:14px;margin:4px 40px 18px 0}
.rd-head .rk-av{width:64px;height:64px;font-size:21px;border:3px solid #F6DC96;background:linear-gradient(145deg,#B8758B,#A36277)}
.rd-head b{display:block;font-family:"Noto Serif","Lora",Georgia,serif;font-size:20px;line-height:1.2}
.rd-head span{display:block;margin-top:4px;color:#F6DC96;font-weight:600;font-size:14px}
.rd-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rd-t{border-radius:18px;padding:14px 12px;background:rgba(255,255,255,.1);border:1px solid rgba(246,220,150,.3);text-align:center}
.rd-t.hot{background:linear-gradient(160deg,rgba(255,170,60,.35),rgba(246,220,150,.12));border-color:#F6DC96}
.rd-ic{display:block;font-size:26px;line-height:1}
.rd-t b{display:block;margin-top:6px;font-family:"Noto Serif","Lora",Georgia,serif;font-size:22px;color:#fff3c4}
.rd-t small{display:block;margin-top:2px;font-size:12.5px;color:#E4D1D7}
.rd-note{margin:16px 4px 0;text-align:center;color:#fdf1c8;font-size:14.5px;line-height:1.5}
.rd-head .rk-av{flex:0 0 64px}
.rk-bi{opacity:.7}.rk-bi.b3,.rk-bi.b4,.rk-bi.b5{opacity:.5}
.rd-head>.rk-av{display:grid;place-items:center;margin:0;color:#fff;font-weight:700;font-size:22px;background:linear-gradient(145deg,#B8758B,#A36277)}
.tt-note{margin:18px 4px 0;text-align:center;font-size:13px;line-height:1.5;color:#6b7785}
.bs-top b{font-size:23px;line-height:1.25}.bs-top small{font-size:17px;opacity:.92;margin-top:3px}
.bs-x{width:44px;height:44px;font-size:20px}

.rk-av.has-img{overflow:hidden;background:#A34F6B;padding:0}.rk-av.has-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}

/* gợi ý thêm ảnh đại diện + ngày sinh sau bài tập đầu tiên */
.bs-pf{margin:16px auto 6px;max-width:420px;padding:16px 14px;border-radius:20px;background:rgba(255,255,255,.12);border:1px solid rgba(246,220,150,.55);text-align:center;color:#fff}
.bs-pf b{display:block;font-size:19px;color:#F6DC96;font-family:"Noto Serif","Lora",Georgia,serif}
.bs-pf p{margin:6px 0 12px;font-size:15px;line-height:1.5;color:#F3E9EC}
.bs-pf-avw{display:flex;justify-content:center;margin-bottom:12px}
.bs-pf-av{position:relative;width:96px;height:96px;border-radius:50%;border:3px dashed #F6DC96;background:rgba(0,0,0,.22);color:#fff;cursor:pointer;display:grid;place-items:center;overflow:hidden;padding:0}
.bs-pf-av span{font-size:30px;font-weight:700;opacity:.5}
.bs-pf-av small{position:absolute;left:0;right:0;bottom:8px;font-size:13px;font-weight:600;color:#fff3c4}
.bs-pf-av img{width:100%;height:100%;object-fit:cover}.bs-pf-av.done{border-style:solid}
.bs-pf-bd{display:flex;gap:8px;margin-bottom:12px}
.bs-pf-bd input{flex:1;min-width:0;height:46px;border-radius:14px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.95);color:#78535F;padding:0 14px;font-size:16px}
.bs-pf-save{height:46px;padding:0 16px;border-radius:14px;border:0;background:linear-gradient(#fff0b8,#E2A93B);color:#4a3608;font-weight:700;font-size:15px;cursor:pointer}
.bs-pf-save:disabled{opacity:.7}
.bs-pf-rk{display:inline-block;font-weight:600;font-size:15px;color:#F6DC96;text-decoration:underline}

.bs-orb.bs-cd .bs-word{font-size:64px;font-weight:700;line-height:1}

/* Đăng ký trên điện thoại (tamthaovt): gọn để gần vừa một màn hình */
@media (max-width:600px){
  html.site-tssk .auth-reg{margin:10px auto 24px;padding:16px 16px 14px;border-radius:20px}
  html.site-tssk .auth-reg h1{font-size:25px;margin-bottom:10px}
  html.site-tssk .auth-reg .field{margin-bottom:9px}
  html.site-tssk .auth-reg .field label{font-size:14.5px;margin-bottom:3px}
  html.site-tssk .auth-reg .field .hint{display:none}
  html.site-tssk .auth-reg .field input{height:46px;padding-top:0;padding-bottom:0}
  html.site-tssk .auth-reg .check span{font-size:13px;line-height:1.35}
  html.site-tssk .auth-reg .small{font-size:12.5px;line-height:1.4;margin:0 0 10px!important}
}

a.not-me{display:inline-block;margin-top:6px;padding:10px 18px;border-radius:999px;background:#F5EFF1;border:1px solid #E1D1D6;font-size:14.5px;position:relative;z-index:2;cursor:pointer}

.forgot .help-link{padding:6px 2px;display:inline-block}
.auth-reg .forgot{margin:6px 0 0;text-align:center;font-size:14px}

/* trang chủ app khi chưa đăng nhập + ảnh đại diện trong bảng thi đua nhỏ */
.ah-login{flex:0 0 auto;padding:9px 14px;border-radius:999px;background:var(--orange,#F0A020);color:#fff;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
.ah-login.ghost{background:transparent;color:var(--green-deep,#A14463);border:1.5px solid currentColor}
.ah-top:has(.ah-login){gap:8px}
.lb-av{flex:0 0 36px;width:36px;height:36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#B8758B,#A36277);color:#fff;font:700 13px "Roboto",system-ui,sans-serif}
.lb-av img{width:100%;height:100%;object-fit:cover;display:block}
.ah-login{padding:8px 12px;font-size:13px}.ah-top:has(.ah-login) .ah-hello{min-width:0;flex:1}

.ah-sbd{margin:6px 0 2px;font-size:14.5px;color:#513F45;text-align:center}.ah-sbd strong{color:#A14463;letter-spacing:.03em}
.ah-prof .ah-sbd{color:#fdf1c8}.ah-prof .ah-sbd strong{color:#fff}

/* Khoá học của tôi: ô trống mời tìm hiểu khoá học */
.mine-empty{margin:18px 0;padding:30px 20px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.mine-empty .me-ic{font-size:44px;line-height:1}
.mine-empty b{display:block;margin-top:10px;font-family:"Noto Serif","Lora",Georgia,serif;font-size:20px;color:#A14463}
.mine-empty p{margin:8px 0 16px;color:#5A4B50;font-size:15.5px;line-height:1.55}
.mine-empty .btn{display:inline-block}
.mine-empty .me-login{display:block;margin-top:14px;font-weight:600;font-size:14.5px;color:#A14463}

/* Quản trị: quản lý khoá học / xoá tài khoản của một thành viên */
.um-sheet{background:#fff;color:#78535F;border:0;max-width:460px}
.um-t{display:block;font-size:20px}.um-sheet h4{margin:16px 0 6px;font-size:15px;color:#A14463}
.um-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #F2ECEE;font-size:14.5px}
.um-row small{color:#7b8794}.um-x{border:1px solid #d9b5b0;background:#fff;color:#a2302a;border-radius:10px;padding:5px 12px;cursor:pointer;font-weight:600}
.um-del{margin-top:20px;width:100%;padding:12px;border:0;border-radius:12px;background:#a2302a;color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.um-sheet .rd-x{background:#F5F2F3;color:#333;border-color:#E3DADD}

/* phóng to video trên iPhone (toàn màn hình giả) */
.yt.yt-fake{position:fixed;inset:0;z-index:100000;width:100vw;height:100vh;height:100dvh;border-radius:0;display:flex;flex-direction:column;background:#000}
.yt.yt-fake .yt-stage{flex:1;aspect-ratio:auto;height:100%}
body.yt-fake-open{overflow:hidden}
body.yt-fake-open .ez-bar,body.yt-fake-open header,body.yt-fake-open #toast{display:none!important}
.yt.yt-fake .yt-bar{padding-bottom:max(10px,env(safe-area-inset-bottom))}

/* Trang đích: tham gia thử thách tập thở */
.jn{padding:14px 14px 40px;max-width:520px;margin:0 auto}
.jn-card{border-radius:26px;padding:26px 20px 22px;color:#fff;text-align:center;background:radial-gradient(120% 60% at 50% 0%,rgba(246,220,150,.35),transparent 62%),linear-gradient(170deg,#AB4265,#963454);border:2px solid rgba(246,220,150,.7);box-shadow:0 26px 50px -30px rgba(0,0,0,.6)}
.jn-ic{font-size:46px;line-height:1}
.jn-card small{display:block;margin-top:8px;letter-spacing:.14em;font-weight:700;font-size:12px;color:#F6DC96}
.jn-card h1{margin:6px 0 4px;font-family:"Noto Serif","Lora",Georgia,serif;font-size:clamp(28px,8vw,36px);line-height:1.15;color:#fff3c4}
.jn-sub{margin:0 0 14px;color:#F3E9EC;font-size:16px;line-height:1.5}
.jn-list{list-style:none;padding:0;margin:0 0 16px;text-align:left;display:grid;gap:8px}
.jn-list li{padding:10px 12px 10px 38px;border-radius:14px;background:rgba(255,255,255,.1);position:relative;font-size:15px;line-height:1.4}
.jn-list li::before{content:"✓";position:absolute;left:13px;top:9px;color:#F6DC96;font-weight:800}
.jn-form{display:grid;gap:10px;text-align:left}
.jn-form input{height:50px;border-radius:14px;border:0;padding:0 16px;font-size:16px;background:#fff;color:#78535F}
.jn-form .btn{height:52px;font-size:17px;font-weight:700;background:linear-gradient(#fff0b8,#E2A93B);color:#4a3608;border:0}
.jn-note{margin:2px 0 0;text-align:center;font-size:13.5px;color:#E4D1D7;line-height:1.5}.jn-note b{color:#F6DC96}
body.jn-mode .ez-bar,body.jn-mode header,body.jn-mode footer{display:none!important}body.jn-mode{padding-bottom:0!important}.jn{padding-top:max(12px,env(safe-area-inset-top))}.jn-card{padding:20px 16px 18px}.jn-list li{padding:8px 10px 8px 34px;font-size:14.5px}.jn-ic{font-size:38px}

/* Trang đăng ký tập thở: khung nhỏ gọn, vừa một màn hình điện thoại */
body.jn-mode{background:#F7F3F4}
.jn{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:14px 18px}
.jn-card{width:100%;max-width:380px;padding:22px 18px 16px;border-radius:28px;box-shadow:0 24px 50px -26px rgba(150,52,84,.8)}
.jn-ic{font-size:34px}
.jn-card small{margin-top:4px;font-size:11.5px}
.jn-card h1{font-size:clamp(25px,7vw,30px);margin:4px 0 2px}
.jn-sub{font-size:14.5px;margin:0 0 10px}
.jn-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 14px}
.jn-chips span{padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(246,220,150,.45);font-size:12.5px;color:#fdf1c8}
.jn-form{gap:9px}.jn-form input{height:46px;border-radius:13px;font-size:16px}.jn-form .btn{height:48px;font-size:16px;margin-top:2px}
.jn-note{font-size:12.5px}
.jn-chips span{padding:4px 9px;font-size:12px}.jn-chips{flex-wrap:nowrap;gap:5px}
.jn-chips{flex-wrap:wrap}.jn-chips span{white-space:nowrap}

/* Chia sẻ thành tích (kiểu Strava) */
.sh-wrap{display:grid;gap:12px;padding:6px 0 30px;max-width:420px;margin:0 auto}
.sh-cv{width:100%;aspect-ratio:9/16;max-height:62vh;object-fit:contain;border-radius:20px;background:#963454;box-shadow:0 18px 40px -24px rgba(0,0,0,.6);justify-self:center}
.sh-chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.sh-wrap input[type=text]{height:46px;border-radius:12px;border:1px solid #E0D4D8;padding:0 14px;font-size:16px;background:#fff}
.sh-note{text-align:center;color:#6b7785}
.sh-cv{width:min(100%,calc(62vh*9/16));max-height:none;height:auto}.sh-wrap{padding-bottom:120px}

/* Khung chỉnh ảnh đại diện (kéo + phóng to trước khi cắt tròn) */
.cr-ov{position:fixed;inset:0;z-index:9999;background:rgba(125,61,82,.72);display:grid;place-items:center;padding:16px;overflow:auto}
.cr-box{background:#fff;border-radius:20px;padding:18px 16px 16px;width:100%;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:0 20px 50px -10px rgba(0,0,0,.5)}
.cr-t{font-size:18px;color:#A14463}
.cr-h{margin:0;font-size:15px;line-height:1.4;color:#456;text-align:center}
.cr-stage{position:relative;border-radius:14px;overflow:hidden;background:#fff;touch-action:none;user-select:none;-webkit-user-select:none}
.cr-cv{display:block;cursor:grab;touch-action:none}.cr-cv:active{cursor:grabbing}
.cr-mask{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 0,transparent calc(50% - 1px),rgba(128,66,86,.62) calc(50% + 1px));box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.cr-mask::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #fff;box-sizing:border-box}
.cr-zrow{display:flex;align-items:center;gap:10px;width:100%}
.cr-zoom{flex:1;min-width:0;height:32px;accent-color:#AE506F}
.cr-zb{flex:none;width:46px;height:46px;border-radius:50%;border:2px solid #E1D1D6;background:#F7F3F4;color:#A14463;font-size:26px;line-height:1;font-weight:700;cursor:pointer}
.cr-btns{display:flex;gap:10px;width:100%;margin-top:4px}
.cr-btns button{flex:1;height:50px;border-radius:14px;font-size:16px;font-weight:700;cursor:pointer;border:0}
.cr-no{background:#F1EEEF;color:#345}
.cr-ok{background:linear-gradient(145deg,#B2627D,#AE506F);color:#fff;flex:1.6!important}

.mgoal-bar{height:16px;border-radius:99px;background:#E9DFE2;overflow:hidden}.mgoal-bar i{display:block;height:100%;background:linear-gradient(90deg,#9E687A,#A55D75);border-radius:99px}
.hbar{display:grid;grid-template-columns:150px 1fr 70px auto auto;gap:10px;align-items:center;margin:8px 0;font-size:14px}.hbar-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hbar-t{height:12px;background:#F0E9EB;border-radius:99px;overflow:hidden}.hbar-t i{display:block;height:100%;background:#A55D75;border-radius:99px}.hbar small{color:var(--muted)}
@media(max-width:560px){.hbar{grid-template-columns:90px 1fr 56px auto}.hbar small{display:none}}

/* Tập thở trên máy tính (từ 900px): 2 cột — trái danh sách phép thở, phải khung Bắt đầu cố định. Điện thoại không bị ảnh hưởng. */
@media (min-width:900px){
  .tt-root{display:grid;grid-template-columns:minmax(0,1fr) 360px;column-gap:36px;align-items:start;max-width:1120px;margin:0 auto;padding:34px 32px 64px}
  .tt-root>.ah-sticky{display:none!important}
  .tt-root>.tt{grid-column:1;grid-row:1;max-width:none;margin:0;padding:0!important;gap:18px}
  .tt-root .tt section{display:flex;flex-direction:column}
  .tt-root .tt-l{order:0;font-size:15px;margin-bottom:10px}
  .tt-root .tt-fil{order:1;flex-wrap:wrap;overflow:visible;margin:0 0 14px;padding:0}
  .tt-root .tt-detail{order:2;margin:0 0 16px;padding:16px 18px}
  .tt-root .tt-row{order:3;grid-template-columns:1fr 1fr!important;gap:12px;max-height:none;overflow:visible;padding:0}
  .tt-root .tt-t{padding:14px 16px!important;border-radius:16px}
  .tt-root .tt-t:hover{border-color:#D9BCC6}
  .tt-root .tt-note{text-align:left;margin:4px 0 0}
  .tt-root>.tt-cta{grid-column:2;grid-row:1;position:sticky;top:124px;bottom:auto!important;left:auto;right:auto;z-index:5;
    background:#fff!important;border-radius:26px;padding:26px 20px 22px!important;box-shadow:0 18px 44px -24px rgba(135,78,97,.55)}
  .tt-root .tt-bar3{max-width:none;padding:0}
  .tt-root .tt-start{width:92px;height:92px;font-size:36px}
  .tt-root .tt-mid-c{height:92px}
  .tt-root .tt-bar3 .tt-side i{height:92px;min-height:92px}
  .tt-root .tt-side{cursor:pointer;border-radius:18px}
  .tt-root .tt-side:hover{background:#F7F3F4!important}
}

/* Trang chủ app trên máy tính (từ 900px): rộng hơn, banner + chuỗi ngày/thi đua cạnh nhau, khoá học xếp lưới. Điện thoại không đổi. */
@media (min-width:900px){
  .ah{max-width:1120px;padding:30px 32px 64px;gap:30px;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start}
  .ah>*{grid-column:1/-1}
  body.ah-mode .ah-top{position:static;grid-column:1/-1;background:none;margin:0;padding:0}
  .ah-av{width:64px;height:64px}
  .ah-hello .hi{font-size:28px}
  .ah-rank{font-size:15px}
  .ah-login{font-size:15px;padding:10px 20px}
  .ah>.ah-ban{grid-column:1;grid-row:span 2}
  .ah>.ah-mini{grid-column:2}
  .ah>.ah-lb{grid-column:2}
  .ah:not(:has(.ah-mini)):not(:has(.ah-lb))>.ah-ban{grid-column:1/-1;grid-row:auto}
  .ah-slide{min-height:300px;padding:26px;gap:8px}
  .ah-slide b{font-size:30px}.ah-slide span{font-size:16px}.ah-slide small{font-size:13px}
  .ah-sh h2{font-size:24px}.ah-sh a{font-size:15px}
  .ah-mini{padding:16px 18px}.ah-mini b{font-size:17px}.ah-mini small{font-size:14px}.ah-mini>span{font-size:30px}
  .ah-lb .ah-sh{margin-bottom:10px}
  .lb-row b{font-size:16.5px}
  .ah-scroll{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;overflow:visible;margin:0;padding:2px 0 4px}
  .ah-pc{flex:none;transition:transform .15s,box-shadow .15s}
  .ah-pc:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(135,78,97,.55)}
  .ah-pc-body b{font-size:16.5px}
  .ah-price strong{font-size:21px}
  .ah-live .ah-scroll{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ah-live .ah-pc-img,.ah-cat .ah-pc-img{aspect-ratio:2.2/1}
  .ah-live .ah-pc-img span{font-size:44px}
  .ah-cat .ah-pc-body b{font-size:17px}
  .ah-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .ah-row-body b{font-size:17px}.ah-row-body small{font-size:14.5px}
  .ah-btn{font-size:14.5px;padding:8px 22px}
}

/* Khối bảng xếp hạng nổi bật ở Trang chủ app — chỉ máy tính (từ 900px). Điện thoại vẫn dùng thẻ "Thi đua tập thở" cũ. */
.hx{display:none}
@media (min-width:900px){
  .hx{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:36px;align-items:center;border-radius:28px;padding:40px 44px;color:#fff;
    background:radial-gradient(120% 140% at 85% 10%,rgba(181,131,148,.35),rgba(181,131,148,0) 55%),linear-gradient(135deg,#973053,#A14463 60%,#AD4E6E);box-shadow:0 24px 50px -30px rgba(152,46,82,.7)}
  .hx-l small{display:block;font:700 13px "Roboto",system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#F6DC96;margin-bottom:12px}
  .hx-l h2{margin:0 0 14px;font-family:"Noto Serif","Lora",Georgia,serif;font-weight:800;font-size:38px;line-height:1.15;letter-spacing:-.015em;color:#fff}
  .hx-l p{margin:0 0 26px;font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.82);max-width:460px}
  .hx-btns{display:flex;gap:12px;flex-wrap:wrap}
  .hx-cta{display:inline-flex;align-items:center;gap:6px;min-height:50px;padding:0 24px;border-radius:999px;background:#F6C453;color:#3a2a05;font:700 16px "Roboto",system-ui,sans-serif;text-decoration:none;box-shadow:0 12px 24px -12px rgba(246,196,83,.8)}
  .hx-cta em{font-style:normal;font-weight:500;font-size:13.5px;opacity:.75}
  .hx-ghost{display:inline-flex;align-items:center;min-height:50px;padding:0 22px;border-radius:999px;border:1.5px solid rgba(255,255,255,.45);color:#fff;font:600 15.5px "Roboto",system-ui,sans-serif;text-decoration:none}
  .hx-ghost:hover{background:rgba(255,255,255,.1)}
  .hx-r{background:rgba(255,255,255,.1);border:1px solid rgba(246,220,150,.28);border-radius:22px;padding:20px 22px 18px;backdrop-filter:blur(3px)}
  .hx-rh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px}
  .hx-rh b{font:700 16px "Roboto",system-ui,sans-serif}.hx-rh span{font-size:13px;color:#F6DC96}
  .hx-podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:10px;align-items:end;margin:6px 0 14px}
  .hx-pod{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:0;position:relative}
  .hx-crown{font-style:normal;font-size:26px;line-height:1;margin-bottom:-2px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.4))}
  .hx-av{width:58px;height:58px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font:700 19px "Roboto",system-ui,sans-serif;color:#fff;background:linear-gradient(145deg,#B8758B,#A36277);border:3px solid #dfe7ec;box-shadow:0 6px 16px -6px rgba(0,0,0,.5)}
  .hx-av img{width:100%;height:100%;object-fit:cover;display:block}
  .hx-pod.p1 .hx-av{width:74px;height:74px;font-size:24px;border-color:#F6DC96;box-shadow:0 0 0 4px rgba(246,220,150,.28),0 0 26px rgba(246,220,150,.6)}
  .hx-pod.p3 .hx-av{border-color:#e8c4a0}
  .hx-pod b{font-size:13.5px;line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
  .hx-v{font:700 14px "Noto Serif","Lora",Georgia,serif;color:#F6DC96}
  .hx-step{width:100%;display:grid;place-items:end center;padding-bottom:6px;border-radius:12px 12px 0 0;font:italic 800 28px "Noto Serif","Lora",Georgia,serif;color:#3a3a3a;background:linear-gradient(#f4f6f8,#b9c3cc);height:46px}
  .hx-pod.p1 .hx-step{height:74px;background:linear-gradient(#fff0b8,#E2A93B);color:#4a3608}
  .hx-pod.p3 .hx-step{height:34px;background:linear-gradient(#f0d3b5,#c98f5e)}
  .hx-pod.me b{color:#F6DC96}
  .hx-pod.empty{opacity:.55}.hx-pod.empty .hx-av{background:rgba(255,255,255,.15);border-style:dashed}
  .hx-empty{padding:26px 8px;text-align:center;font-size:15px;color:rgba(255,255,255,.85)}
  .hx-me{display:flex;align-items:center;gap:12px;background:#fff;color:#3A2B30;border-radius:16px;padding:10px 12px}
  .hx-me>div:not(.hx-me-av){flex:1;min-width:0;display:grid;gap:1px}.hx-me b{font-size:15px}.hx-me small{font-size:13px;color:#7A6B70}
  .hx-me-av{width:40px;height:40px;border-radius:50%;flex:none;overflow:hidden;display:grid;place-items:center;background:#A14463;color:#fff;font-size:17px;object-fit:cover}
  .hx-go{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 20px;border-radius:999px;background:#A14463;color:#fff;font:700 14.5px "Roboto",system-ui,sans-serif;text-decoration:none}
  .ah:has(.hx)>.ah-lb{display:none}
  .ah:has(.hx)>.ah-ban,.ah:has(.hx)>.ah-mini{grid-column:1/-1;grid-row:auto}
  .ah:has(.hx) .ah-slide{min-height:210px}
}
.hbar2{display:grid;grid-template-columns:minmax(120px,240px) 1fr 44px 44px;gap:10px;align-items:center;margin:9px 0;font-size:14px}.hbar2 .hbar-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar2 small{color:var(--muted)}
@media(max-width:560px){.hbar2{grid-template-columns:100px 1fr 34px}.hbar2 small{display:none}}

/* Trang thanh toán gói: QR bên trái, thông tin chuyển khoản bên phải (có nút Sao chép) */
.pp-card2{background:#fff;border-radius:18px;padding:18px 16px;display:grid;gap:18px;box-shadow:0 6px 20px -16px rgba(135,78,97,.45)}
.pp-l{display:grid;gap:8px;justify-items:center;text-align:center}
.pp-l small{color:#7A6B70;font-size:13.5px}
.pp-card2 .pp-amt{font:800 28px "Noto Serif","Lora",Georgia,serif;color:#A14463}
.pp-act{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:4px}
.pp-save{min-height:46px;padding:0 24px;border:0;border-radius:999px;background:#F0A020;color:#fff;font:700 15.5px "Roboto",system-ui,sans-serif;cursor:pointer}
.pp-later{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:999px;border:1.5px solid #E1D1D6;background:#F7F3F4;color:#A14463;font:600 15px "Roboto",system-ui,sans-serif;text-decoration:none}
.pp-hint{margin:2px 0 0;font-size:13px;line-height:1.5;color:#7A6B70;max-width:280px}
.pp-rt small{display:block;color:#7A6B70;font-size:13.5px}
.pp-rt h2{margin:2px 0 8px;font:700 19px "Roboto",system-ui,sans-serif;color:#8C445C}
.pp-r{display:grid;grid-template-columns:110px 1fr auto;gap:8px 10px;align-items:center;padding:11px 0;border-top:1px solid #EEE6E9;font-size:15px}
.pp-r span{color:#7A6B70}.pp-r b{color:#8C445C;overflow-wrap:anywhere}
.pp-cp{border:1px solid #E1D1D6;background:#F7F3F4;color:#A14463;border-radius:999px;padding:6px 14px;font:600 13px "Roboto",system-ui,sans-serif;cursor:pointer}
.pp-note{margin:12px 0 0;font-size:13.5px;line-height:1.6;color:#513F45}
@media (min-width:760px){
  .pa.pp{max-width:880px;margin-left:auto;margin-right:auto}
  .pp-card2{grid-template-columns:300px minmax(0,1fr);gap:0;padding:26px 0}
  .pp-l{padding:0 26px;border-right:1px solid #EEE6E9}
  .pp-rt{padding:0 28px}
}

/* ---- Dashboard (Tổng quan + Thành viên) ---- */
.dash{--accent:#A55D75}
.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-bottom:20px}
.kpi{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px 13px 20px;box-shadow:0 1px 2px rgba(135,78,97,.05);overflow:hidden}
.kpi:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--accent)}
.kpi span{order:1;font-size:12px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.kpi b{order:2;font-family:var(--serif);font-size:30px;line-height:1.15;color:var(--green-deep);margin:6px 0 2px}
.kpi-sub{order:3;font-size:13px;color:var(--muted);min-height:20px}
.chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#F0E9EB;color:#655359}
.chip.up{background:#F1E3E8;color:#AB4265}.chip.down{background:#fdeaea;color:#b23a3a}.chip.warn{background:#fdeede;color:#a85a0b}
.dcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin-bottom:20px;box-shadow:0 1px 2px rgba(135,78,97,.05)}
.dcard-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.dcard h3{margin:0;font-size:18px}
.psub{margin:3px 0 0;font-size:13px;color:var(--muted)}
.chart-note{margin:10px 0 0;font-size:12.5px;color:#837177;line-height:1.5}
.range-sel{width:auto;padding:7px 30px 7px 12px;font-size:13px;border-radius:10px;border:1px solid var(--line);background-color:#F9F5F6}
.dgrid{display:grid;grid-template-columns:1fr;gap:0 20px}
@media(min-width:960px){.dgrid{grid-template-columns:1fr 1fr}}
.dash .hbar2{margin:12px 0}
.dash .hbar-t{height:10px;background:#F0E9EB}
.dash .mdash .panel,.mdash .panel{border-radius:16px;box-shadow:0 1px 2px rgba(135,78,97,.05);padding:20px 22px}
.kpi .chip{order:0;text-transform:none;letter-spacing:0;font-size:12px;color:#655359}.kpi .chip.up{color:#AB4265}.kpi .chip.down{color:#b23a3a}.kpi .chip.warn{color:#a85a0b}

.kpis4{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.gtop{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.gbig{font-family:var(--serif);font-size:38px;color:var(--green-deep);line-height:1}.gof{font-size:16px;color:var(--muted)}
.gfacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:14px}
.gfact{background:#F8F3F5;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.gfact b{font-family:var(--serif);font-size:20px;color:var(--green-deep)}.gfact span{font-size:12.5px;color:var(--muted)}
.gfact .chip{align-self:flex-start;margin-bottom:2px}
.gform{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.gform input{width:auto;max-width:130px}.gform-t{font-weight:600;font-size:14px;color:var(--ink)}
.gsec{margin:22px 0 4px;font-size:15px;font-family:var(--sans,inherit);color:var(--ink)}
.dash .mgoal-bar{height:12px}

.hrows{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:6px}
.hrow{display:grid;grid-template-columns:minmax(120px,1.1fr) 2fr 84px 104px;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
.hrow:last-child{border-bottom:0}
.hrow-n b{display:block;font-size:14.5px;color:var(--ink)}.hrow small,.hrow-bar small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.hrow-bar .hbar-t{margin:0}
.hrow-c{text-align:right;font-size:15px}.hrow-c b{font-family:var(--serif);font-size:18px;color:var(--green-deep)}.hrow-c span{color:var(--muted);font-size:13px}
.hrow input{width:100%;padding:8px 10px;font-size:14px;text-align:center}
@media(max-width:640px){.hrow{grid-template-columns:1fr auto;gap:8px 12px}.hrow-bar{grid-column:1 / -1;order:3}.hrow input{grid-column:1 / -1;order:4}}
