/* 09/11 (anh Dat): khung luyen thi vui nhon, nhieu mau, nut 3D - bot kho khan cho cac con */
.lt{font-size:15px;--lt-do:#ff6b6b;--lt-cam:#ff9f1c;--lt-xanhla:#2ec27e;--lt-xanh:#3a86ff;--lt-tim:#9b5de5}
.lt h1{font-weight:900;color:#0b3b8f}
.lt h2{display:flex;align-items:center;gap:10px;font-weight:900;color:#0b3b8f;font-size:clamp(18px,4.6vw,22px);margin:18px 0 10px}
.lt h2::before{content:"";flex:0 0 14px;height:14px;border-radius:50%;background:var(--lt-cam);box-shadow:0 0 0 4px #ffe2b3}
.lt-quiz-top h2::before,.lt-result h2::before{display:none}
.lt button,.lt-grades a{border:0;border-radius:18px;min-height:48px;box-shadow:0 4px 0 #bcd0ee;transition:transform .12s,box-shadow .12s,filter .12s;font-weight:900}
.lt button:not(:disabled):active,.lt-grades a:active,.lt-unit:active,.lt-tests a:active{transform:translateY(3px) scale(.98);box-shadow:0 1px 0 #bcd0ee}
.lt button.lt-primary{background:linear-gradient(#ffe066,#ffc928);color:#0b3b8f;box-shadow:0 5px 0 #d49b00;border:0;font-size:18px;min-height:56px;border-radius:20px}
.lt button.lt-primary:not(:disabled):active{box-shadow:0 1px 0 #d49b00}
.lt-head a{border:0;box-shadow:0 4px 0 #bcd0ee}
.lt-head h1{flex:1 1 auto}
.lt-grades a,.lt-grades .sap-co{font-size:17px;min-height:50px;min-width:74px;padding:8px 16px;color:#fff;box-shadow:0 5px 0 rgb(0 0 0 / .18);border-radius:999px;text-shadow:0 1px 0 rgb(0 0 0 / .15)}
.lt-grades a:nth-child(1){background:var(--lt-do)}.lt-grades a:nth-child(2){background:var(--lt-cam)}.lt-grades a:nth-child(3){background:var(--lt-xanhla)}.lt-grades a:nth-child(4){background:var(--lt-xanh)}.lt-grades a:nth-child(5){background:var(--lt-tim)}
.lt-grades a.active{outline:4px solid #fff;box-shadow:0 0 0 7px #0b3b8f33,0 5px 0 rgb(0 0 0 / .2);transform:scale(1.06)}
.lt-grades a.active::before{content:"\2B50\00a0";font-size:.9em}
.lt-grades .sap-co{background:#fff;color:#7b8fb3;text-shadow:none;border:2px dashed #b9c8e6;box-shadow:none;opacity:.8;font-weight:800}
.lt-units{gap:12px}
.lt-unit{border:0;border-radius:24px;padding:14px;gap:12px;box-shadow:0 6px 0 var(--c2,#cfe0f3);background:var(--c1,#fff);animation:lt-hien .5s both;position:relative}
.lt-unit:nth-child(2){animation-delay:.05s}.lt-unit:nth-child(3){animation-delay:.1s}.lt-unit:nth-child(4){animation-delay:.15s}.lt-unit:nth-child(5){animation-delay:.2s}.lt-unit:nth-child(6){animation-delay:.25s}
.lt-unit:nth-child(6n+1){--c1:#ffe9e9;--c2:#f6b5b5}.lt-unit:nth-child(6n+2){--c1:#fff1d6;--c2:#f2c982}.lt-unit:nth-child(6n+3){--c1:#dff7ea;--c2:#9edcbb}
.lt-unit:nth-child(6n+4){--c1:#e2eeff;--c2:#a9c8f5}.lt-unit:nth-child(6n+5){--c1:#efe6ff;--c2:#c5aaf2}.lt-unit:nth-child(6n){--c1:#ffe6f4;--c2:#f2aed3}
.lt-unit-icon{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:30px;box-shadow:inset 0 -3px 0 #0b3b8f14,0 3px 0 rgb(0 0 0 / .08)}
.lt-unit strong{font-size:16px;color:#0b3b8f}.lt-unit small{font-size:13px;color:#4a5b78}
@keyframes lt-hien{from{opacity:0;transform:translateY(12px) scale(.96)}}
@keyframes lt-lac{25%{transform:rotate(-12deg) scale(1.1)}75%{transform:rotate(12deg) scale(1.1)}}
.lt-tests{gap:12px}
.lt-tests a{position:relative;border:0;border-radius:24px;padding:16px 14px 16px 62px;background:linear-gradient(135deg,#fff3c4,#ffd98a);box-shadow:0 6px 0 #e1a73a;min-height:76px;display:flex;flex-direction:column;justify-content:center}
.lt-tests a::before{content:"\1F3C6";position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:32px;filter:drop-shadow(0 2px 0 rgb(0 0 0 / .12))}
.lt-tests a:nth-child(2)::before{content:"\1F680"}.lt-tests a:nth-child(3)::before{content:"\1F451"}.lt-tests a:nth-child(4)::before{content:"\1F31F"}
.lt-tests strong{font-size:16px}
.lt-panel{border:0;border-radius:28px;box-shadow:0 8px 0 #cfe0f3;background:#fff;padding:16px}
.lt-steps{gap:8px}
.lt-steps button{border-radius:999px;background:#fff;color:#0b3b8f;box-shadow:0 4px 0 #bcd0ee}
.lt-steps button.active{background:linear-gradient(#ffe066,#ffc928);color:#0b3b8f;box-shadow:0 5px 0 #d49b00;transform:translateY(-1px)}
.lt-sub{display:inline-block;margin:0 0 10px;padding:5px 14px;border-radius:999px;background:#fff;color:#4a6fb3;box-shadow:0 3px 0 #cfe0f3}
.lt button.lt-word{border-radius:22px;background:var(--c1,#fff);box-shadow:0 5px 0 var(--c2,#cfe0f3);gap:4px}
.lt-word:nth-child(4n+1){--c1:#e8f1ff;--c2:#a9c8f5}.lt-word:nth-child(4n+2){--c1:#fff1d6;--c2:#f2c982}.lt-word:nth-child(4n+3){--c1:#dff7ea;--c2:#9edcbb}.lt-word:nth-child(4n){--c1:#ffe6f4;--c2:#f2aed3}
.lt-emoji{font-size:44px}.lt-word strong{font-size:20px}
.lt button.lt-word:active .lt-emoji{animation:lt-lac .5s}
.lt-games{gap:8px}
.lt-games button{background:linear-gradient(#fff6cd,#ffe58a);box-shadow:0 4px 0 #e1b84a;font-size:15px;min-height:54px}
.lt-ct{border-radius:20px;background:linear-gradient(135deg,#eef5ff,#e6f0ff);box-shadow:0 4px 0 #cfe0f3}
.lt-formula span{background:#fff;border-radius:12px;box-shadow:0 3px 0 #cfe0f3}
.lt-vd-anh{border-radius:50%;background:#fff1d6}
.lt-examples > div{border-bottom:2px dashed #dbe7f7}
.lt progress{height:14px;border-radius:999px;overflow:hidden;appearance:none;-webkit-appearance:none;background:#e3eefc;border:0}
.lt progress::-webkit-progress-bar{background:#e3eefc;border-radius:999px}
.lt progress::-webkit-progress-value{background:linear-gradient(90deg,#ff9f1c,#ffd23f);border-radius:999px;transition:width .3s}
.lt progress::-moz-progress-bar{background:#ffc928;border-radius:999px}
.lt-choices{gap:10px}
.lt-choices>button{min-height:60px;font-size:17px;border-radius:20px;background:var(--c1,#fff);box-shadow:0 5px 0 var(--c2,#cfe0f3);color:#0b3b8f}
.lt-choices>button:nth-child(4n+1){--c1:#e8f1ff;--c2:#a9c8f5}.lt-choices>button:nth-child(4n+2){--c1:#fff1d6;--c2:#f2c982}.lt-choices>button:nth-child(4n+3){--c1:#dff7ea;--c2:#9edcbb}.lt-choices>button:nth-child(4n){--c1:#ffe6f4;--c2:#f2aed3}
.lt-choices>button.active{background:linear-gradient(#ffe066,#ffc928);box-shadow:0 5px 0 #d49b00;color:#0b3b8f;transform:translateY(-2px) scale(1.03)}
.lt-question-emoji{font-size:60px;animation:lt-nhun2 2s ease-in-out infinite}
@keyframes lt-nhun2{50%{transform:translateY(-6px)}}
.lt-feedback{font-size:17px;text-align:center;padding:6px 0}
.lt-letters button,.lt-matching button{background:#fff1d6;box-shadow:0 4px 0 #f2c982}
.lt-arranged{border-bottom:3px dashed #3a86ff;background:#f3f8ff;border-radius:14px 14px 0 0}
.lt-game-question>button{border-radius:50%;width:72px;height:72px;background:linear-gradient(#bde0ff,#86c1ff);box-shadow:0 5px 0 #5a9be0}
.lt-result{background:linear-gradient(#fffbe0,#fff);border-radius:28px;padding:18px 12px 20px}
.lt-stars{font-size:56px;color:#ffb703;text-shadow:0 3px 0 #d98e00;animation:lt-nhun2 1.6s ease-in-out infinite}
.lt-result h2{justify-content:center;font-size:46px}
.lt-result button+button{margin-top:10px;width:100%}
.lt-skeleton{border-radius:28px;background:linear-gradient(90deg,#e9f1ff,#f6faff,#e9f1ff);background-size:200% 100%;animation:lt-chay 1.4s linear infinite}
@keyframes lt-chay{to{background-position:-200% 0}}
.lt-entry{border:0;border-radius:24px;background:linear-gradient(135deg,#e1eeff,#cfe3ff);box-shadow:0 6px 0 #9cbcee}
.lt-hero{height:72px}
@media (max-width:400px){.lt-grades a,.lt-grades .sap-co{min-width:64px;padding:8px 12px;font-size:16px}.lt-tests a{padding-left:56px}.lt-word strong{font-size:18px}}
@media (prefers-reduced-motion:reduce){.lt-unit,.lt-stars,.lt-question-emoji,.lt-skeleton{animation:none!important}}
@media (max-width:430px){.lt-unit{padding:10px;gap:8px}.lt-unit-icon{flex:0 0 40px;width:40px;height:40px;font-size:23px}.lt-unit strong{font-size:15px}.lt-steps{gap:5px}.lt-steps button{padding:8px 4px;font-size:14px;flex:1 1 0}}

/* ===== chinh lai: diu mau, khong hover, khong nhay mua ===== */
.lt-grades a,.lt-grades a:nth-child(n){background:#fff;color:#0b3b8f;text-shadow:none;box-shadow:0 4px 0 #bcd0ee;font-weight:900}
.lt-grades a.active{background:#0b4fb3;color:#fff;outline:0;transform:none;box-shadow:0 4px 0 #083a85}
.lt-grades a.active::before{content:none}
.lt-grades .sap-co{opacity:.7}
.lt h2::before{background:#ffc928;box-shadow:none;flex-basis:10px;height:10px}
.lt-unit,.lt-unit:nth-child(n){--c1:#fff;--c2:#d3e2f6;animation:none;box-shadow:0 4px 0 #d3e2f6}
.lt-unit-icon{background:#eef5ff;box-shadow:none}
.lt-tests a{background:#fff8dc;box-shadow:0 4px 0 #ecd183}
.lt-tests a::before{font-size:28px;filter:none}
.lt button.lt-word,.lt-word:nth-child(n){--c1:#fff;--c2:#d3e2f6;box-shadow:0 4px 0 #d3e2f6}
.lt-choices>button,.lt-choices>button:nth-child(n){--c1:#fff;--c2:#cfdcf2;background:#fff;box-shadow:0 4px 0 #cfdcf2}
.lt-choices>button.active{background:#fff3b8;box-shadow:0 4px 0 #e0bb3c;transform:none}
.lt-games button{background:#fff8dc;box-shadow:0 4px 0 #ecd183}
.lt-letters button,.lt-matching button{background:#fff;box-shadow:0 4px 0 #cfdcf2}
.lt-ct{background:#f3f8ff;box-shadow:none}
.lt-vd-anh{background:#eef5ff}
.lt-sub{box-shadow:none;background:#eef5ff}
.lt-panel{box-shadow:0 4px 0 #d3e2f6}
.lt-dai img,.lt-stars,.lt-question-emoji{animation:none!important}
.lt-stars{text-shadow:none;font-size:48px}
.lt-result{background:#fffbea}
.lt-game-question>button{background:#e9f1ff;box-shadow:0 4px 0 #bcd0ee}
.lt button:not(:disabled):active,.lt-grades a:active,.lt-unit:active,.lt-tests a:active{transform:translateY(2px);box-shadow:0 1px 0 #bcd0ee}
/* man thap (360x664): gon lai de nut chinh khong bi thanh duoi che */
@media (max-height:700px){.lt-hero{height:40px}.lt-head{margin-bottom:4px}.lt h2{margin:8px 0 6px}.lt-sub{margin:0 0 6px;padding:2px 12px}.lt-steps button{min-height:42px;padding-top:6px;padding-bottom:6px}.lt-panel{padding:10px;margin-top:4px}.lt-ct{padding:8px}.lt button.lt-primary{min-height:48px;margin-top:6px}.lt-ly-thuyet{gap:6px;margin-bottom:6px}}
/* Anh Canh 18/11: tab Ly thuyet nen xanh duong, Thuc hanh nen xanh la */
.lt-panel.lt-p1{background:#eaf3ff;box-shadow:0 8px 0 #b9d3f5}
.lt-panel.lt-p3{background:#e8f8ee;box-shadow:0 8px 0 #a8dcbc}
.lt-steps button[data-step="1"].active{background:linear-gradient(#bcd8ff,#8fbcff);box-shadow:0 5px 0 #3b82f6}
.lt-steps button[data-step="3"].active{background:linear-gradient(#bdf0cf,#86dca6);box-shadow:0 5px 0 #22a35a;color:#0d5c2e}
/* 24/11 anh Dat: Unit Review bam chon dap an -> chu trang tren nen trang (.lt-choices>button nen trang de mat nen tim). Dang chon = nen vang chu xanh nhu .active. */
.lt-p4 .lt-choices>button[aria-pressed="true"]{background:#fff3b8!important;color:#0b3b8f!important;border-color:#e0bb3c!important;box-shadow:0 4px 0 #e0bb3c!important}
