/* ===== PikLab Blue — giao diện chính của PikLab (từ 29/11/2026) =====
   Dựa trên quy chuẩn Hanoi Digital. Sáng: nền trắng lạnh #F5F7FC, nhấn xanh #2F6BFF, đang chọn = viên xanh nhạt.
   Tối (html.theme-dark) và các trang vốn tối (html[data-dk-page]: PikLink AI, Nạp XU, Credit): nền #04050B, thẻ kính mờ,
   đang chọn = viên trắng chữ đen. Nạp SAU CÙNG ở các trang khách; Admin không nạp file này.
   Nguồn dựng: /home/claude/blue-tools (blue-src.css → blue_bake.py). Skill: PikLab Blue. */

html:root:root{
  --bg:#F5F7FC;--surface:#FFFFFF;--night:#05060c;
  --ink:#0A0F2C;--ink2:#2B3150;--body:#3A4163;--muted:#6B7390;--faint:#8E95AE;
  --line:#E4E8F2;--line2:#EEF1F8;--bd:#E4E8F2;--bd2:#D3D9EA;
  --soft:#EEF1F8;--soft2:#F7F9FD;--mist:#F7F9FD;--cream:#F7F9FD;--cream-line:#E4E8F2;--lilac:#E8EFFF;
  --purple:#2f6bff;--purple-d:#1a4bff;--brand:#2f6bff;--lime:#2f6bff;--on-lime:#FFFFFF;
  --accent:#2f6bff;--accent-h:#1a4bff;--accent-soft:#E8EFFF;--accent-ring:#DCE6FF;--hov-tx:#2B3150;
  --sel-bg:#E8EFFF;--sel-tx:#1a3fd6;--sel-bd:#C9D7FF;--sel-sub:rgba(47,107,255,.14);
  --hov-bg:#EEF2FB;--hov-bd:#C9D2EA;--check:#2f6bff;
  --pink:#2f6bff;
  --glass:rgba(255,255,255,.78);--glass2:rgba(255,255,255,.88);--glass-bd:rgba(214,221,238,.9);--blur:saturate(160%) blur(18px);
  --sh1:0 1px 2px rgba(10,15,44,.05);--sh2:0 0 0 1px rgba(10,15,44,.05),0 12px 30px -14px rgba(47,107,255,.25);--sh3:0 30px 80px -24px rgba(47,107,255,.35);
  --ring:0 0 0 4px rgba(47,107,255,.16);
  --r-xs:9px;--r-sm:14px;--r-md:22px;--r-lg:28px;--r-pill:99px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --hd-a:#2f6bff;--hd-a2:#35c8ff;--hd-g:linear-gradient(135deg,#2f6bff,#1a4bff);
  --hd-glow:0 8px 30px -6px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.3);
}
html:root:root:is(.theme-dark,[data-dk-page]){
  color-scheme:dark;
  --bg:#04050b;--surface:#0b0e1d;--night:#04050b;
  --ink:#f4f6ff;--ink2:#dfe4f5;--body:#c9cee0;--muted:#8b93ad;--faint:#5b6380;
  --line:rgba(255,255,255,.09);--line2:rgba(255,255,255,.06);--bd:rgba(255,255,255,.09);--bd2:rgba(255,255,255,.16);
  --soft:rgba(255,255,255,.05);--soft2:rgba(255,255,255,.03);--mist:rgba(255,255,255,.03);--cream:#0b0e1d;--cream-line:rgba(255,255,255,.09);--lilac:rgba(47,107,255,.14);
  --purple:#2f6bff;--purple-d:#1a4bff;--brand:#2f6bff;--lime:#2f6bff;--accent:#2f6bff;--accent-h:#5585ff;--accent-soft:rgba(47,107,255,.14);--accent-ring:rgba(47,107,255,.25);
  --sel-bg:#FFFFFF;--sel-tx:#05060c;--sel-bd:#FFFFFF;--sel-sub:rgba(5,6,12,.1);
  --hov-bg:rgba(255,255,255,.07);--hov-bd:rgba(255,255,255,.28);--hov-tx:#ffffff;
  --glass:rgba(4,5,11,.6);--glass2:rgba(11,14,29,.85);--glass-bd:rgba(255,255,255,.09);
  --sh1:none;--sh2:0 0 0 1px rgba(255,255,255,.06);--sh3:0 30px 90px -20px rgba(47,107,255,.6);
  --dk-btn:#2f6bff;--dk-btn-h:#5585ff;
}
html:root body{background:var(--bg)}
html:root ::selection{background:#2f6bff;color:#fff}
/* tiêu đề: mảnh hơn, khít hơn */
html:root h1,html:root h2{font-weight:600;letter-spacing:-.03em}

/* nút: viên thuốc; nút chính = xanh gradient phát sáng */
html:root .btn{border-radius:99px;font-weight:600;transition:transform .25s var(--ease),box-shadow .25s,background .25s,border-color .25s,color .25s}
html:root .btn-primary,html:root .btn-dark{background:var(--hd-g);color:#fff;border-color:transparent;box-shadow:var(--hd-glow)}
html:root .btn-primary:hover,html:root .btn-dark:hover{background:var(--hd-g);transform:translateY(-2px);box-shadow:0 14px 40px -6px rgba(47,107,255,.9),inset 0 1px 0 rgba(255,255,255,.3)}
html:root .btn:focus-visible{outline:2px solid #35c8ff;outline-offset:3px}
html:root .btn:active{transform:scale(.98)}

/* ô tìm trên header */
html:root .hsearch input,html:root .search input{border-radius:99px}

/* ===== TỐI: kính mờ + ánh sáng nền xanh ===== */
html:root:is(.theme-dark,[data-dk-page]) body{background:#04050b;color:#f4f6ff}
html:root:is(.theme-dark,[data-dk-page]) body:not(.admin)::before{background:
  radial-gradient(48vmax 40vmax at 4% 2%,rgba(47,107,255,.42),rgba(47,107,255,.12) 45%,transparent 72%),
  radial-gradient(40vmax 36vmax at 100% 45%,rgba(27,44,255,.22),transparent 70%),
  radial-gradient(44vmax 34vmax at 40% 105%,rgba(53,200,255,.16),transparent 72%)!important}
html:root:is(.theme-dark,[data-dk-page]) .card,html:root:is(.theme-dark,[data-dk-page]) .panel{background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.015));border-color:rgba(255,255,255,.09)}
@media (max-width:760px),(hover:none) and (pointer:coarse){html:root:is(.theme-dark,[data-dk-page]) .card{background:linear-gradient(160deg,rgba(22,27,48,.92),rgba(12,15,30,.9))}}

html:root:root:root .announce .tag.lime,html:root:root:root .announce .tag{background:#05060c!important;border-color:#05060c!important;color:#fff!important}
html:root:root:is(.theme-dark,[data-dk-page]):root .announce .tag.lime,html:root:root:is(.theme-dark,[data-dk-page]):root .announce .tag{border-color:#fff!important;background:#fff!important;color:#05060c!important}
html:root:root:is(.theme-dark,[data-dk-page]) .announce{background:linear-gradient(90deg,rgba(47,107,255,.18),rgba(53,200,255,.08))!important;color:#dfe4f5!important;border-color:rgba(255,255,255,.09)!important}
html:root:root:is(.theme-dark,[data-dk-page]) .announce *{color:inherit}
html:root:root .announce{background:linear-gradient(90deg,#E8EFFF,#EEF7FF)!important}
/* mục đang chọn trên thanh menu: mọi trang cùng 1 kiểu (sáng: viên xanh nhạt chữ xanh; tối: viên trắng chữ đen) */
html:root:root:root nav.main a.on,html:root:root:root nav.main .navg-p a.on,html:root:root:root .navg-b.on,html:root:root:root .navg.on>.navg-b,html:root:root:root .hw a.on{background:var(--sel-bg)!important;color:var(--sel-tx)!important;box-shadow:inset 0 0 0 1px var(--sel-bd)!important}
html:root:root:root nav.main a.on *,html:root:root:root .navg-b.on *,html:root:root:root .navg.on>.navg-b *,html:root:root:root .hw a.on *{color:inherit!important}

/* =====================================================================
   PHẦN 2 — THÀNH PHẦN (28/11 tối): áp đủ quy chuẩn Hanoi Digital cho cả 2 bản.
   H = html:root:root:root  (đủ mạnh để thắng "html:root … !important" của mono.css)
   ===================================================================== */
html:root:root{
  /* bản SÁNG — tự suy ra từ quy chuẩn tối */
  --hd-bg:#F5F7FC;--hd-solid:#FFFFFF;--hd-ink:#0A0F2C;--hd-t2:#2B3150;--hd-mute:#6B7390;--hd-dim:#8E95AE;
  --hd-card:#FFFFFF;--hd-card-bd:#E4E8F2;--hd-card-hbd:rgba(47,107,255,.45);--hd-card-sh:0 1px 2px rgba(10,15,44,.04);--hd-card-hsh:0 18px 40px -22px rgba(47,107,255,.45);
  --hd-chip:#FFFFFF;--hd-chip-bd:#D3D9EA;--hd-chip-tx:#2B3150;--hd-chip-hbd:#0A0F2C;
  --hd-on:#E8EFFF;--hd-on-tx:#1a3fd6;--hd-on-bd:#C9D7FF;
  --hd-field:#FFFFFF;--hd-field-bd:#D3D9EA;--hd-field-hbd:#AEB8D3;--hd-field-f:#F3F7FF;
  --hd-ghost:#FFFFFF;--hd-ghost-bd:#D3D9EA;--hd-ghost-tx:#0A0F2C;--hd-ghost-h:#EEF2FB;
  --hd-panel:#FFFFFF;--hd-head:rgba(255,255,255,.86);--hd-foot:#FFFFFF;--hd-line:#E4E8F2;
  --hd-it:linear-gradient(100deg,#0A0F2C 0%,#2f6bff 55%,#35c8ff 100%);--hd-it-ul:rgba(10,15,44,.35);
}
html:root:root:is(.theme-dark,[data-dk-page]){
  --hd-bg:#04050b;--hd-solid:#0b0e1d;--hd-ink:#f4f6ff;--hd-t2:#c9cee0;--hd-mute:#8b93ad;--hd-dim:#5b6380;
  --hd-card:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.015));--hd-card-bd:rgba(255,255,255,.09);--hd-card-hbd:rgba(120,160,255,.5);--hd-card-sh:none;--hd-card-hsh:0 24px 60px -28px rgba(47,107,255,.6);
  --hd-chip:rgba(255,255,255,.03);--hd-chip-bd:rgba(255,255,255,.16);--hd-chip-tx:#c9cee0;--hd-chip-hbd:#ffffff;
  --hd-on:#ffffff;--hd-on-tx:#05060c;--hd-on-bd:#ffffff;
  --hd-field:rgba(255,255,255,.04);--hd-field-bd:rgba(255,255,255,.16);--hd-field-hbd:rgba(255,255,255,.28);--hd-field-f:rgba(47,107,255,.08);
  --hd-ghost:rgba(255,255,255,.06);--hd-ghost-bd:rgba(255,255,255,.16);--hd-ghost-tx:#ffffff;--hd-ghost-h:rgba(255,255,255,.12);
  --hd-panel:#0b0e1d;--hd-head:rgba(4,5,11,.62);--hd-foot:#04050b;--hd-line:rgba(255,255,255,.09);
  --hd-it:linear-gradient(100deg,#ffffff 10%,#9db8ff 60%,#35c8ff);--hd-it-ul:rgba(255,255,255,.55);
}
html:root:root:root :is(.phead,.fhead2,.head,.fan-head) p{color:var(--hd-mute)!important}
html:root:root:root .hero h1,html:root:root:root .hero-t{color:#fff}
/* chữ nghiêng nhấn: tối đa 1 cụm mỗi tiêu đề */
html:root:root:root main h1 em,html:root:root:root main h2 em,html:root:root:root main h3 em,html:root:root:root main .hl{padding:0 .06em 0 0!important;
  background:var(--hd-it)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
  text-decoration:underline!important;text-decoration-color:var(--hd-it-ul)!important;text-decoration-thickness:2px!important;text-underline-offset:.14em!important;box-shadow:none!important;border-radius:0!important;transform:none!important}
html:root:root:root .hero .hl,html:root:root:root .bt.dk .hl{background:linear-gradient(100deg,#fff 10%,#9db8ff 60%,#35c8ff)!important;-webkit-background-clip:text!important;background-clip:text!important;text-decoration-color:rgba(255,255,255,.55)!important}
/* nhãn nhỏ trên tiêu đề (eyebrow): chữ IN HOA, chấm xanh ngọc phát sáng */
html:root:root:root :is(.phead .tag,.head>.tag,.hero-k,.fan-k,.crv-k,.tph-k,.mb-k,.hp-k,.tsx-kick,.ggkick,.vl-kick){
  display:inline-flex!important;align-items:center!important;gap:10px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;
  font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--hd-mute)!important}
html:root:root:root :is(.phead .tag,.head>.tag,.hero-k,.fan-k,.crv-k,.tph-k,.mb-k,.hp-k,.tsx-kick,.ggkick,.vl-kick)::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#35c8ff;box-shadow:0 0 14px #35c8ff}
html:root:root:root .hero-k{color:#aab1c9!important}

/* ---------- HEADER / MENU / FOOTER ---------- */
html:root:root:root header.site{background:var(--hd-head)!important;-webkit-backdrop-filter:saturate(160%) blur(18px)!important;backdrop-filter:saturate(160%) blur(18px)!important;border-bottom:1px solid var(--hd-line)!important}
html:root:root:root nav.main a,html:root:root:root .navg-b{border-radius:99px!important;font-weight:500!important;color:var(--hd-t2)!important;transition:background .25s,color .25s!important}
html:root:root:root nav.main a:not(.on):hover,html:root:root:root .navg-b:not(.on):hover{background:var(--hd-ghost-h)!important;color:var(--hd-ink)!important}
html:root:root:root nav.main a.on,html:root:root:root .navg-b.on,html:root:root:root .navg.on>.navg-b,html:root:root:root .hw a.on{background:var(--hd-on)!important;color:var(--hd-on-tx)!important;box-shadow:inset 0 0 0 1px var(--hd-on-bd)!important;font-weight:600!important}
html:root:root:root .navg-p,html:root:root:root .hmenu,html:root:root:root [class*="dropdown"],html:root:root:root .rdd-m{background:var(--hd-panel)!important;border:1px solid var(--hd-card-bd)!important;border-radius:16px!important;box-shadow:0 30px 80px -24px rgba(47,107,255,.45)!important}
html:root:root:root .navg-p a.on{background:var(--hd-on)!important;color:var(--hd-on-tx)!important}
html:root:root:root .lang{background:var(--hd-chip)!important;border:1px solid var(--hd-chip-bd)!important}
html:root:root:root .lang button{color:var(--hd-mute)!important;letter-spacing:.06em}
html:root:root:root .lang button.on{background:var(--hd-ghost-h)!important;color:var(--hd-ink)!important;box-shadow:none!important}
html:root:root:root .thbtn,html:root:root:root .ibtn{background:var(--hd-ghost)!important;border:1px solid var(--hd-ghost-bd)!important;color:var(--hd-ink)!important}
html:root:root:root footer,html:root:root:root #footer>footer{background:var(--hd-foot)!important;border-top:1px solid var(--hd-line)!important}
html:root:root:root footer a:not(.logo){color:var(--hd-t2)!important;font-weight:500!important}
html:root:root:root footer a:not(.logo):hover{color:#35c8ff!important}
html:root:root:root footer h4,html:root:root:root footer h5{font-size:12px!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--hd-dim)!important}

/* ---------- NÚT ---------- */
html:root:root:root :is(.btn,.hero-b1,.hero-b2,.fan-use,.zcta,.ggbtn,.hp-btn,.bbtn,.topen,.ggwallet){border-radius:99px!important;font-weight:600!important;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .25s,border-color .25s,color .25s!important}
html:root:root:root :is(.btn-primary,.btn-dark,.btn-ink,.hero-b1,.fan-use,.zcta,.ggbtn,.hp-btn.dk,.scta .btn,.plcard.hot .btn){background:linear-gradient(135deg,#2f6bff,#1a4bff)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 30px -6px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.3)!important}
html:root:root:root :is(.btn-primary,.btn-dark,.btn-ink,.hero-b1,.fan-use,.zcta,.ggbtn,.hp-btn.dk,.plcard.hot .btn):hover{transform:translateY(-2px)!important;box-shadow:0 14px 40px -6px rgba(47,107,255,.9),inset 0 1px 0 rgba(255,255,255,.3)!important}
html:root:root:root :is(.btn-ghost,.btn-soft,.btn-sm:not(.btn-primary):not(.btn-dark),.ggwallet,.plcard:not(.hot) .btn){background:var(--hd-ghost)!important;border:1px solid var(--hd-ghost-bd)!important;color:var(--hd-ghost-tx)!important;box-shadow:none!important}
html:root:root:root :is(.btn-ghost,.btn-soft,.ggwallet,.plcard:not(.hot) .btn):hover{background:var(--hd-ghost-h)!important;border-color:var(--hd-chip-hbd)!important}
/* nút trên nền tối/ảnh (hero, khối tối): kính */
html:root:root:root .hero-b2{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html:root:root:root .hero-b2:hover{background:rgba(255,255,255,.14)!important}
html:root:root:root :is(.bbtn,.topen){background:#fff!important;color:#05060c!important;border:0!important}
html:root:root:root:not(.theme-dark):not([data-dk-page]) :is(.bbtn,.topen){background:#0A0F2C!important;color:#fff!important}
html:root:root:root :is(.btn,a,button,input,select,textarea):focus-visible{outline:2px solid #35c8ff!important;outline-offset:3px!important}
html:root:root:root :is(.btn,.hero-b1,.hero-b2,.chip,.cpill):active{transform:scale(.98)!important}

/* ---------- CHIP / TAB / BỘ LỌC: "đang chọn" cùng một kiểu ---------- */
html:root:root:root :is(.cpill,.ftab,.tcat,.cvchip,.rddb,.fbtn,.tph-cats button,.mb-tab,.vl-tag,.ltab-c){border-radius:99px!important;background:var(--hd-chip)!important;border:1px solid var(--hd-chip-bd)!important;color:var(--hd-chip-tx)!important;box-shadow:none!important;font-weight:500!important;transition:border-color .25s,color .25s,background .25s!important}
html:root:root:root :is(.rddb,.fbtn){border-radius:14px!important}
html:root:root:root :is(.cpill,.ftab,.tcat,.cvchip,.rddb,.fbtn,.tph-cats button,.mb-tab):hover{border-color:var(--hd-chip-hbd)!important;color:var(--hd-ink)!important}
html:root:root:root :is(.cpill,.ftab,.tcat,.cvchip,.rddb,.fbtn,.tph-cats button,.mb-tab,.ftabs button,.rtabs button,.seg button,.tabs button,.prtabs a,.prtabs button):is(.on,.active,[aria-selected="true"]){background:var(--hd-on)!important;color:var(--hd-on-tx)!important;border-color:var(--hd-on-bd)!important;box-shadow:none!important;font-weight:600!important}
html:root:root:root :is(.cpill,.ftab,.tcat,.cvchip).on :is(i,small,span){color:inherit!important;background:transparent!important;opacity:.7}
html:root:root:root :is(.cpill,.tcat) .nico,html:root:root:root .cpill>span:first-child{border-radius:9px!important}
/* nhóm tab bảng giá (Gói PRO / XU / Credit) */
html:root:root:root .prtabs{background:var(--hd-chip)!important;border:1px solid var(--hd-chip-bd)!important;border-radius:20px!important;padding:6px!important}
html:root:root:root .prtabs a{border-radius:14px!important;color:var(--hd-chip-tx)!important;background:transparent!important}
html:root:root:root .prtabs a.on{background:var(--hd-on)!important;color:var(--hd-on-tx)!important;box-shadow:0 6px 20px -8px rgba(47,107,255,.35)!important}
html:root:root:root .prtabs a.on *{color:inherit!important}

/* ---------- Ô NHẬP / TÌM KIẾM ---------- */
html:root:root:root main :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],input:not([type]),textarea,select,.inp),html:root:root:root :is(.hsearch,.bigsearch){
  background:var(--hd-field)!important;border:1px solid var(--hd-field-bd)!important;color:var(--hd-ink)!important;transition:border-color .25s,background .25s!important}
html:root:root:root main :is(input[type=text],input[type=email],input[type=password],input[type=number],input:not([type]),textarea,select,.inp){border-radius:14px!important}
html:root:root:root :is(.hsearch,.bigsearch){border-radius:99px!important}
html:root:root:root .bigsearch input,html:root:root:root .hsearch input{background:transparent!important;border:0!important}
html:root:root:root main :is(input,textarea,select,.inp):hover,html:root:root:root :is(.hsearch,.bigsearch):hover{border-color:var(--hd-field-hbd)!important}
html:root:root:root main :is(input,textarea,select,.inp):focus,html:root:root:root :is(.hsearch,.bigsearch):focus-within{border-color:#2f6bff!important;background:var(--hd-field-f)!important;box-shadow:0 0 0 4px rgba(47,107,255,.14)!important}
html:root:root:root main :is(input,textarea)::placeholder{color:var(--hd-dim)!important}
html:root:root:root .kbd{background:var(--hd-chip)!important;border:1px solid var(--hd-chip-bd)!important;color:var(--hd-mute)!important}

/* ---------- THẺ: kính (tối) / trắng viền xanh nhạt (sáng); rê chuột nhấc 6px, viền sáng xanh ---------- */
html:root:root:root :is(.tcard,.card,.ecard,.vl-tool,.vl-v,.vl-pk,.plcard,.cvg-card,.mb-tile,.ltab,.ggpack,.ggcard,.hp,.fc,.panel,.rfontlink,main details,.fcard,.bs,.tfx-who,.slot:not(.scta)){
  border:1px solid var(--hd-card-bd)!important;box-shadow:var(--hd-card-sh)!important;border-radius:22px!important}
html:root:root:is(.theme-dark,[data-dk-page]):root :is(.tcard,.card,.ecard,.vl-tool:not(.big),.vl-v,.vl-pk:not(.hot),.plcard:not(.hot),.cvg-card,.mb-tile,.ltab:not(.on),.ggpack,.ggcard,.hp,.fc,.panel,.rfontlink,main details,.fcard,.tfx-who){background:var(--hd-card)!important}
html:root:root:root :is(.hp,.bs,.slot){border-radius:28px!important}
html:root:root:root :is(main details,.rfontlink,.vl-v){border-radius:16px!important}
html:root:root:root :is(a.tcard,a.ecard,a.vl-tool,a.vl-pk,a.mb-tile,button.ltab,button.ggcard,a.rfontlink,.plcard,.cvg-card,.fcard){transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .4s,box-shadow .4s!important}
html:root:root:root :is(a.tcard,a.ecard,a.vl-tool,a.vl-pk,a.mb-tile,button.ltab,button.ggcard,.plcard,.cvg-card):hover{transform:translateY(-6px)!important;border-color:var(--hd-card-hbd)!important;box-shadow:var(--hd-card-hsh)!important}
html:root:root:root :is(a.rfontlink,.fcard):hover{border-color:var(--hd-card-hbd)!important;transform:translateX(6px)!important}
/* gói nổi bật */
html:root:root:root .plcard.hot{border-color:rgba(80,140,255,.6)!important;background:linear-gradient(170deg,rgba(47,107,255,.14),rgba(255,255,255,0) 70%),var(--hd-solid)!important;box-shadow:0 30px 80px -36px rgba(47,107,255,.7)!important}
html:root:root:is(.theme-dark,[data-dk-page]):root .plcard.hot{background:linear-gradient(170deg,rgba(47,107,255,.35),rgba(255,255,255,.02))!important}
html:root:root:root .plcard.hot :is(.plhot,.plbadge,[class*="badge"]){background:#fff!important;color:#0a0f2c!important;font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:0 6px 18px -6px rgba(47,107,255,.6)!important}
html:root:root:root:not(.theme-dark):not([data-dk-page]) .plcard.hot :is(.plhot,.plbadge,[class*="badge"]){background:#0A0F2C!important;color:#fff!important}
/* ảnh trong thẻ: thu khung, phóng ảnh */
html:root:root:root :is(.tthumb,.cvg-th){border-radius:16px!important;overflow:hidden}
html:root:root:root :is(.tcard,.cvg-card,.rcard) img{transition:transform .5s cubic-bezier(.2,.7,.2,1)!important}
html:root:root:root :is(.tcard,.cvg-card,.rcard):hover img{transform:scale(1.05)}
/* nhãn nhỏ trong thẻ */
html:root:root:root :is(.tchip,span.c,.bchip,.tbadge,.vl-tag){border-radius:99px!important}
html:root:root:root :is(.tchip,span.c,.bchip){background:transparent!important;border:1px solid var(--hd-chip-bd)!important;color:var(--hd-t2)!important}

/* ---------- KHỐI LỚN ---------- */
html:root:root:root section.block.cream{background:transparent!important}
html:root:root:root:not(.theme-dark):not([data-dk-page]) section.block.cream{background:#EEF2FB!important}
html:root:root:root .zone{border-radius:28px!important;transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s!important}
html:root:root:root .zone:hover{transform:translateY(-6px)!important;box-shadow:0 30px 70px -30px rgba(47,107,255,.8)!important}
html:root:root:root .zone.z-tools{background:linear-gradient(150deg,#2f6bff 0%,#1a4bff 55%,#0b1a6b 100%)!important}
html:root:root:root .zone.z-res{background:linear-gradient(150deg,#0b1a6b 0%,#1631a8 50%,#2f6bff 100%)!important}
html:root:root:root .slot.scta{background:linear-gradient(160deg,#2f6bff 0%,rgba(47,107,255,.55) 55%,#0b1a6b)!important;border-radius:28px!important}
html:root:root:root .hero .hb2,html:root:root:root .hero .hb3{background:radial-gradient(closest-side,rgba(47,107,255,.85),transparent)!important}
html:root:root:root .hero .hb1{background:radial-gradient(closest-side,rgba(53,200,255,.35),transparent)!important}
html:root:root:root .hero{background:#04050b!important}

/* ---------- THÔNG BÁO / POPUP ---------- */
html:root:root:root :is(.toast,#toast,.pik-toast){background:#0b0e1d!important;color:#f4f6ff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:16px!important}
html:root:root:root :is(.modal,.pikpop,.dlg,[role="dialog"])>div:first-child{border-radius:28px}

/* ---------- TỐI: chữ phụ & bề mặt còn sót ---------- */
html:root:root:is(.theme-dark,[data-dk-page]):root main :is(small,.muted,.sub):not(.cv-sheet *):not(.fmock *):not(.hero *):not(.zone *):not(.bt *):not(.slot *):not(.plcard.hot *):not(.on *):not(.tfm-pg *){color:var(--hd-mute)}
html:root:root:is(.theme-dark,[data-dk-page]):root .rfontlink[style]{background:var(--hd-card)!important}

/* ---------- ĐIỆN THOẠI: bỏ blur cho mượt ---------- */
@media (max-width:760px),(hover:none) and (pointer:coarse){
  html:root:root:is(.theme-dark,[data-dk-page]):root :is(.tcard,.card,.ecard,.vl-tool,.vl-pk,.plcard,.cvg-card,.mb-tile,.ltab,.ggpack,.ggcard,.hp,.fc,.panel,.fcard,.bs){background:linear-gradient(160deg,rgba(22,27,48,.92),rgba(12,15,30,.9))!important}
  html:root:root:root header.site{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--hd-solid)!important}
  html:root:root:root :is(a.tcard,a.ecard,a.vl-tool,a.vl-pk,a.mb-tile,.plcard,.cvg-card):hover{transform:none!important}
}
@media (prefers-reduced-motion:reduce){html:root *{transition:none!important;animation:none!important}}

/* sửa đợt 1 */
html:root:root:root main :is(.bigsearch,.hsearch,.psearch) input{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html:root:root:root header.site .btn-primary{background:var(--hd-ghost)!important;border:1px solid var(--hd-ghost-bd)!important;color:var(--hd-ink)!important;box-shadow:none!important}
html:root:root:root header.site .btn-primary:hover{background:var(--hd-ghost-h)!important;transform:none!important}

/* sửa đợt 2 */
html:root:root:root header.site a.btn.btn-primary.hbtn{background:var(--hd-ghost)!important;border:1px solid var(--hd-ghost-bd)!important;color:var(--hd-ink)!important;box-shadow:none!important}
html:root:root:root header.site a.btn.btn-primary.hbtn:hover{background:var(--hd-ghost-h)!important;transform:none!important}
html:root:root:root main .ftry input{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html:root:root:root .ftry{border-radius:14px!important}
html:root:root:root .fprev{background:transparent!important}
/* ô bento trang chủ: màu do admin đặt (inline) → đổi theo bảng màu Hanoi */
html:root:root:root .bt.art-checker{--bg:#EAF0FF!important;background:#EAF0FF!important}
html:root:root:root .bt.art-fan{--bg:#0A0F2C!important;background:radial-gradient(120% 90% at 85% 10%,rgba(47,107,255,.45),transparent 60%),#0A0F2C!important}
html:root:root:root .bt.art-rings{--bg:#2f6bff!important;background:linear-gradient(150deg,#2f6bff,#1a4bff 60%,#0b1a6b)!important}
html:root:root:root .bt.art-play{--bg:#1631a8!important;background:linear-gradient(160deg,#1631a8,#0b1a6b)!important}
html:root:root:root .bt.art-link{--bg:#0b0e1d!important;background:linear-gradient(160deg,#141a36,#0b0e1d)!important}
html:root:root:is(.theme-dark,[data-dk-page]):root .bt.art-checker{--bg:#0b0e1d!important;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.015)),#0b0e1d!important;color:#f4f6ff}
html:root:root:is(.theme-dark,[data-dk-page]):root .bt.art-checker :is(h3,.btt,p,.btx){color:#f4f6ff!important}
html:root:root:is(.theme-dark,[data-dk-page]):root .bt.art-fan{background:radial-gradient(120% 90% at 85% 10%,rgba(47,107,255,.5),transparent 60%),#04050b!important;border:1px solid rgba(255,255,255,.09)!important}
html:root:root:root .bt :is(.btag,.tag,.bchip){background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.3)!important;color:#fff!important}
html:root:root:root .bt.art-checker :is(.btag,.tag,.bchip){background:#fff!important;border-color:#C9D7FF!important;color:#1a3fd6!important}

/* sửa đợt 3 */
html:root:root:root .bt.dk .bbtn{background:#fff!important;color:#05060c!important}
html:root:root:root .bt.lt .bbtn{background:#0A0F2C!important;color:#fff!important}
html:root:root:is(.theme-dark,[data-dk-page]):root .bt.lt .bbtn{background:#fff!important;color:#05060c!important}
html:root:root:root :is(.vl-go,.vl-go2){background:linear-gradient(135deg,#2f6bff,#1a4bff)!important;color:#fff!important;border:0!important;border-radius:99px!important;box-shadow:0 8px 30px -6px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.3)!important}
html:root:root:root :is(.vl-go,.vl-go2):hover{transform:translateY(-2px)!important;box-shadow:0 14px 40px -6px rgba(47,107,255,.9)!important}
html:root:root:root .vl-try{background:var(--hd-ghost)!important;border:1px solid var(--hd-ghost-bd)!important;color:var(--hd-ink)!important;border-radius:99px!important}
/* icon vuông trong menu: một màu xanh cho mọi mục */
html:root:root:root :is(nav.main a,.navg-b) .nico{background:linear-gradient(135deg,#2f6bff,#1a4bff)!important;color:#fff!important;border-radius:9px!important}
html:root:root:root :is(nav.main a,.navg-b):not(.on) .nico{background:transparent!important;color:inherit!important}

/* sửa đợt 4 */
html:root:root:root .ltab.on{background:linear-gradient(160deg,#2f6bff 0%,rgba(47,107,255,.35) 60%,rgba(4,5,11,.2))!important;border-color:rgba(120,160,255,.5)!important}
html:root:root:root .ltab.on,html:root:root:root .ltab.on *{color:#fff!important}
html:root:root:root .ltab.on :is(p,small,.ls){color:#dbe4ff!important}
html:root:root:root:not(.theme-dark):not([data-dk-page]) .ltab.on{background:linear-gradient(160deg,#2f6bff,#1a4bff)!important}
/* nhãn HOT/MỚI do admin đặt màu hồng → xanh */
html:root:root:root :is(.tbadge,i,span,b)[style*="#3E75FF" i],html:root:root:root :is(.tbadge,i,span,b)[style*="#2F6BFF" i],html:root:root:root :is(.tbadge,i,span,b)[style*="#2D68FF" i]{background:#2f6bff!important;color:#fff!important}

/* sửa đợt 5 */
html:root:root:root .auside h2{color:#fff!important}
html:root:root:root .auside{background:radial-gradient(90% 70% at 100% 100%,rgba(47,107,255,.35),transparent 60%),#0A0F2C!important}
html:root:root:root .cvkick{display:inline-flex!important;align-items:center!important;gap:10px!important;background:none!important;border:0!important;padding:0!important;font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--hd-mute)!important}
html:root:root:root .cvkick::before{content:"";width:8px;height:8px;border-radius:50%;background:#35c8ff;box-shadow:0 0 14px #35c8ff}

/* sửa đợt 6: nhóm Miễn phí/PRO giữ 1 hàng; menu thả xuống dùng nền bảng màu Hanoi */
html:root:root:root .racc{flex:none!important;white-space:nowrap!important;background:var(--hd-chip)!important;border:1px solid var(--hd-chip-bd)!important;border-radius:14px!important}
html:root:root:root .racc-o{color:var(--hd-chip-tx)!important;white-space:nowrap!important}
html:root:root:root .racc-o input{accent-color:#2f6bff}
html:root:root:root .rddm{background:var(--hd-panel)!important;border:1px solid var(--hd-card-bd)!important;border-radius:16px!important;box-shadow:0 30px 80px -24px rgba(47,107,255,.45)!important}
html:root:root:root .rpage .rbar.pinned{clip-path:none!important}
/* sửa đợt 7: mục nhóm Thư viện trên hàng menu điện thoại = viên thuốc như các mục khác */
@media (max-width:860px){html:root:root:root header.site nav.main .navg-p a{border-radius:99px!important}}
/* sửa đợt 8 */
html:root:root:root .ggcard.on{border-color:#fff!important;box-shadow:0 0 0 1px #fff,0 20px 50px -20px rgba(47,107,255,.7)!important}
html:root:root:root .ggcard.on .ggsel{background:#fff!important;color:#05060c!important}
html:root:root:root .qlin a.hl{background:var(--hd-on)!important;color:var(--hd-on-tx)!important}
html:root:root:root .qlin a.hl span:not(.qb){color:inherit!important}

/* ---------- Màu hồng do Admin đặt thẳng trong HTML (cài đặt cũ lưu trong D1) → xanh ---------- */
html:root:root:root body[style*="--gglime"]{--gglime:#2F6BFF!important}
html:root:root:root :is([class*="logo"],.elogo,.qb)[style*="#2F6BFF" i],html:root:root:root :is([class*="logo"],.elogo,.qb)[style*="#3E75FF" i]{background:#2F6BFF!important}
html:root:root:root .hero-c small{color:#fff!important;opacity:.85}
html:root:root:is(.theme-dark,[data-dk-page]):root .vl-apic :is(code,span){color:#aab1c9}
/* trang vốn tối ở chế độ sáng: dùng logo bản tối (logo sáng màu đen bị chìm trên header tối) */
html[data-dk-page]:root .logo img.logo-lt{display:none!important}
html[data-dk-page]:root .logo img.logo-dk{display:block!important}
html[data-dk-page]:root .logo img.logo-img:not(.logo-lt):not(.logo-dk){filter:brightness(0) invert(1)}
