/* Chế độ tối Mr. Sheet theo bảng màu chiasekhoahoc (đo 23/11): nền #0c0e2b, thẻ #272a40, viền #393d58, nút #272d6a. Sinh bằng toi.py từ style.css, huong-dan.css và <style> trong trang. */
html[data-theme="dark"]{color-scheme:dark;--g:#272d6a;--g2:#323a8a;--gl:#1d2150;--ink:#f2f3f8;--mute:#a7aac4;--bg:#0c0e2b;--card:#272a40;--line:#393d58;--y:#e9b949}
html[data-theme="dark"] body{background:#0c0e2b;color:#f2f3f8}
html[data-theme="dark"] body::before,html[data-theme="dark"] body::after{content:"";position:fixed;width:500px;height:500px;border-radius:50%;pointer-events:none;z-index:-1;background:radial-gradient(circle,rgba(95,45,237,.22),transparent 70%)}
html[data-theme="dark"] body::before{left:-250px;top:200px}html[data-theme="dark"] body::after{right:-250px;top:100px}
html[data-theme="dark"] a{color:#8fd9b0}
html[data-theme="dark"] header{background:#0c0e2b!important;box-shadow:0 0 50px 10px rgba(95,45,237,.15)}
html[data-theme="dark"] .nav a.link{color:#fff!important}
html[data-theme="dark"] .brand{color:#fff!important}
html[data-theme="dark"] .btn{background:#272d6a;color:#fff!important}html[data-theme="dark"] .btn:hover{background:#323a8a}
html[data-theme="dark"] .btn.ghost{background:transparent!important;color:#fff!important;border-color:#4a52a8!important}
html[data-theme="dark"] .pcard,html[data-theme="dark"] .hd-card,html[data-theme="dark"] details,html[data-theme="dark"] .fcard{background:#272a40!important;border-color:#393d58!important;box-shadow:0 7px 20px rgba(38,45,96,.06)}
html[data-theme="dark"] .pcard:hover{box-shadow:0 13px 28px rgba(38,45,96,.12)}
html[data-theme="dark"] a.pcard,html[data-theme="dark"] a.hd-card,html[data-theme="dark"] a.dm,html[data-theme="dark"] a.bn-s{color:#f2f3f8}
html[data-theme="dark"] .price.free{color:#4ade80!important}
html[data-theme="dark"] .tags span,html[data-theme="dark"] .pills li,html[data-theme="dark"] .count,html[data-theme="dark"] .all{background:#1d2150!important;color:#c7cbff!important}
html[data-theme="dark"] .cat-ico{background:#272d6a!important}
html[data-theme="dark"] img{filter:none}
html[data-theme="dark"] .hero h1 mark{background:linear-gradient(transparent 62%,rgba(233,185,73,.5) 62%)}
html[data-theme="dark"] a{color:#8fd9b0}
html[data-theme="dark"] header{background:#272a3f}
html[data-theme="dark"] .btn.ghost{background:#272a3f;color:#8fd9b0}
html[data-theme="dark"] .btn[aria-disabled=true]{background:#494e76}
html[data-theme="dark"] .pills li{color:#8fd9b0}
html[data-theme="dark"] .tag{color:#f7d064}
html[data-theme="dark"] .tag.soon{background:#2f324d}
html[data-theme="dark"] .mock{background:#272a3f}
html[data-theme="dark"] .mock b.up{color:#8fd9b0}
html[data-theme="dark"] .mock b.down{color:#dc887f}
html[data-theme="dark"] .steps li{background:#272a3f}
html[data-theme="dark"] details{background:#272a3f}
html[data-theme="dark"] .note{background:#544624;border:1px solid #786a40}
html[data-theme="dark"] ul.check li::before{color:#8fd9b0}
html[data-theme="dark"] .count{color:#8fd9b0}
html[data-theme="dark"] .all{color:#8fd9b0}
html[data-theme="dark"] .pcard{background:#272a3f}
html[data-theme="dark"] .price{color:#de7d9f}
html[data-theme="dark"] .price.free{color:#8fd9b0}
html[data-theme="dark"] .tags span{color:#8fd9b0}
html[data-theme="dark"] .t-chart b:nth-child(2n){background:#9a7d42}
html[data-theme="dark"] .t-ring{background:conic-gradient(#3DBE7F 0 45%,#9a7d42 0 70%,#924b4b 0 85%,#4b6b9f 0)}
html[data-theme="dark"] .t-light{background:#353f38}
html[data-theme="dark"] .t-rows i{background:#414c45}
html[data-theme="dark"] .t-rows i:nth-child(3n){background:#435b4d}
html[data-theme="dark"] .t-label{color:#8fd9b0}
html[data-theme="dark"] .fcard{background:#272a3f}
html[data-theme="dark"] .chip{background:#272a3f}
html[data-theme="dark"] .search input{background:#272a3f}
html[data-theme="dark"] .empty{background:#272a3f;border:1px dashed #57615b}
html[data-theme="dark"] .rv blockquote{background:#272a3f}
html[data-theme="dark"] .rv .stars{color:#f7cb64}
html[data-theme="dark"] .ideas li{background:#272a3f}
html[data-theme="dark"] .st.doing{color:#f7d064}
html[data-theme="dark"] .st.plan{background:#2f324d}
html[data-theme="dark"] .gal-main{background:#36463d}
html[data-theme="dark"] .gal-main img,html[data-theme="dark"] .gal-main video,html[data-theme="dark"] .gal-main iframe{background:#36463d}
html[data-theme="dark"] .gal-thumbs button{background:#272a3f}
html[data-theme="dark"] .btn.ghost{background:#272a3f;color:#8fd9b0}
html[data-theme="dark"] .spec{background:#272a3f}
html[data-theme="dark"] .dvc{background:#272a3f}
html[data-theme="dark"] .plans .plan{background:#272a3f}
html[data-theme="dark"] .plans .plan .gia{color:#8fd9b0}
html[data-theme="dark"] .plans .plan:hover{border-color:#5b7366}
html[data-theme="dark"] .plans .plan:focus-visible{outline:3px solid #5b7366}
html[data-theme="dark"] .plans .plan .tick{background:#272a3f}
html[data-theme="dark"] .chon-btn[aria-disabled=true]{background:#41466a}
html[data-theme="dark"] .zalo-qr{background:#272a3f}
html[data-theme="dark"] .zf-btn span{background:#272a3f;color:#64a0f7}
html[data-theme="dark"] .zf-pop{background:#272a3f}
html[data-theme="dark"] .km-con{background:#272a3f;color:#e77774}
html[data-theme="dark"] .gia .km{color:#e77774}
html[data-theme="dark"] .zf-pop .zf-nhom{background:#272a3f;color:#64a0f7}
html[data-theme="dark"] .search{background:#272a3f}
html[data-theme="dark"] .search svg{color:#8fd9b0}
html[data-theme="dark"] .goi-y button{background:#272a3f;color:#8fd9b0}
html[data-theme="dark"] .kq-sap a{background:#272a3f}
html[data-theme="dark"] .kq-sap em{color:#8fd9b0}
html[data-theme="dark"] .cat.cho-quan .cat-ico{background:#a3864f}
html[data-theme="dark"] .cat.cho-quan .cat-ico svg{stroke:#87d4b5}
html[data-theme="dark"] .cq-tag{background:#a3864f;color:#f7c964}
html[data-theme="dark"] .cq-loai{background:#37473d;color:#88d2b3}
html[data-theme="dark"] .cq-ds li::before{color:#8fd9b0}
html[data-theme="dark"] .cq-gia span{background:#323932}
html[data-theme="dark"] .cq-gia b{color:#87d4b5}
html[data-theme="dark"] .cq-gia span:first-child{background:#324339}
html[data-theme="dark"] .loi-ngo{background:#272a3f}
html[data-theme="dark"] .ln-ico{background:#36463d;color:#8fd9b0}
html[data-theme="dark"] .loi-ngo p{color:#e1e6e3}
html[data-theme="dark"] .loi-ngo .ln-cam-on{color:#8fd9b0}
html[data-theme="dark"] .mien-tru{background:#363d38}
html[data-theme="dark"] .loi-ngo .ky{color:#8fd9b0}
html[data-theme="dark"] .zf-buoc{color:#e1e6e3}
html[data-theme="dark"] .ghi-chu-toc{color:#f7ca64;background:#594c26;border:1px solid #786a42}
html[data-theme="dark"] .cd-top{background:#272a3f;color:#8fd9b0}
html[data-theme="dark"] .bn{background:#272a3f}
html[data-theme="dark"] .bn-cap small{color:#f7d064}
html[data-theme="dark"] .bn-nav:hover{background:#272a3f}
html[data-theme="dark"] .bn-dots button::after{background:#505953}
html[data-theme="dark"] .dm-row{background:#272a3f}
html[data-theme="dark"] .pg-b{background:#272a3f}
html[data-theme="dark"] .pg-b:hover:not(:disabled){color:#8fd9b0}
html[data-theme="dark"] .gd-b{background:#272a3f}
html[data-theme="dark"] .gd-b:hover{color:#8fd9b0}
html[data-theme="dark"] .gd-m{background:#272a3f}
html[data-theme="dark"] .gd-m button[aria-checked="true"]::after{color:#8fd9b0}
html[data-theme="dark"][data-theme="dark"] .bn-cap small{color:#f7ce64}
html[data-theme="dark"][data-theme="dark"] .bn-dots button.on::after{background:#373c80}
html[data-theme="dark"] .lhn-zl b{background:#272a3f;color:#64a0f7}
html[data-theme="dark"] .hd-quick{background:#272a3f}
html[data-theme="dark"] .cthuc{background:#354037}
html[data-theme="dark"] .bang-wrap{background:#272a3f}
html[data-theme="dark"] table.vd th{background:#354037}
html[data-theme="dark"] table.vd tr.hl td{background:#605529}
html[data-theme="dark"] code{background:#354037}
html[data-theme="dark"] .hd-card{background:#272a3f}
html[data-theme="dark"] .hd-card img{background:#30334e}
html[data-theme="dark"] .tai-hop{border:1px solid #3c506c;background:#21324c}
html[data-theme="dark"] .ho-tro .gmail{background:#272a3f;color:#e37a78;border:2px solid #724c49}
html[data-theme="dark"] .gd{background:#272a3f}
html[data-theme="dark"] .gd b{color:#87d4b5}
html[data-theme="dark"] .gd .o,html[data-theme="dark"] .g2-the .o{border:2px solid #4d5377;background:#272a3f}
html[data-theme="dark"] .gd[aria-checked=true],html[data-theme="dark"] .g2-the[aria-checked=true]{background:#324339}
html[data-theme="dark"] .gd[aria-checked=true] .o,html[data-theme="dark"] .g2-the[aria-checked=true] .o{background:#1F7A4D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#272a40' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/14px no-repeat}
html[data-theme="dark"] .g2-the:hover{border-color:#5e786a}
html[data-theme="dark"] .g2-chon{color:#82d9ae}
html[data-theme="dark"] .lh{border:1px solid #4d6256;background:#2f4036}
html[data-theme="dark"] .lh p b{color:#87d4b5}
html[data-theme="dark"] .lh .gmail{background:#272a3f;color:#e37a78;border:2px solid #724c49}
html[data-theme="dark"] .g2-the{background:#272a3f}
html[data-theme="dark"] .g2-nhan{background:#384b3f;color:#88d2b3}
html[data-theme="dark"] .g2-nhan.vang{background:#605129;color:#f7ca64}
html[data-theme="dark"] .g2-gia{color:#87d4b5}
html[data-theme="dark"] .tai-hop{border:1px solid #604951;background:#442d33}
html[data-theme="dark"] .ho-tro .gmail{background:#272a3f;color:#e37a78;border:2px solid #724c49}
html[data-theme="dark"] .rules li{background:#272a3f}
html[data-theme="dark"] .top3 small{color:#8fd9b0}
html[data-theme="dark"] .votes{color:#8fd9b0}
html[data-theme="dark"] .panel{background:#272a3f}
html[data-theme="dark"] .pnav{border-top:1px solid #414563}
html[data-theme="dark"] .pnav button{color:#8fd9b0}
html[data-theme="dark"] .panel .x{background:#393f3b;color:#dddfe9}
html[data-theme="dark"] .sgal button{border:1px solid var(--line,#4e5257);background:#272a3f}
html[data-theme="dark"] .vbig{color:#8fd9b0}
html[data-theme="dark"] .vbox .btn[aria-disabled=true]{background:#494e76}
html[data-theme="dark"] .share{color:#8fd9b0}
html[data-theme="dark"] .ve-the{background:#272a3f}
html[data-theme="dark"] .ve-the p{color:#e1e6e3}
html[data-theme="dark"] .ve-ds .so{background:#36463d;color:#8fd9b0}
html[data-theme="dark"] .ve-ket{color:#e1e6e3}
