/* 🌍 Languages · Learn with AI (v2.7) */
.ls-clang{background:#423d39}
.ls-course .ll-newpill{display:inline-block;vertical-align:3px;font-size:11px;font-weight:900;letter-spacing:.4px;background:#facc15;color:#2b2724;padding:2px 7px;border-radius:999px}
@media (min-width:640px){.ls-courses.ls-c3 .ls-clang{grid-column:1 / -1}}
@media (min-width:900px){.ls-courses.ls-c3{grid-template-columns:1fr 1fr 1fr;max-width:980px}.ls-courses.ls-c3 .ls-clang{grid-column:auto}}
.ll-stats{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:0 auto 12px;max-width:760px}
.ll-stats>span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 13px;font-size:14.5px}
.ll-bookb{min-height:40px;border-radius:999px;border:1px solid rgba(250,204,21,.45);background:rgba(250,204,21,.12);color:#ffffff;font:inherit;font-weight:800;font-size:14.5px;padding:7px 14px;cursor:pointer}
.ll-langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:980px;margin:0 auto}
@media (min-width:600px){.ll-langs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.ll-langs{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ll-lang{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px 13px;border-radius:18px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);color:#ffffff;font:inherit;cursor:pointer;min-width:0}
.ll-lang.started{border-color:rgba(52,210,123,.4);background:rgba(52,210,123,.1)}
.ll-lang:active{-webkit-transform:scale(.97);transform:scale(.97)}
.ll-flag{font-size:30px;line-height:1.15}.ll-lang b{font-size:19px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ll-lang small{opacity:.78;font-size:13px}
.ll-lang i{font-style:normal;font-size:12.5px;font-weight:800;margin-top:5px;background:rgba(0,0,0,.25);padding:3px 9px;border-radius:999px}
.ll-note{opacity:.8;font-size:13.5px;text-align:center;max-width:640px;margin:12px auto 4px;line-height:1.4}
.ll-card .ll-note,.ll-role .ll-note{text-align:left;margin:6px 0}
.ll-warn{background:rgba(250,204,21,.12);border:1px solid rgba(250,204,21,.35);border-radius:12px;padding:8px 12px;font-size:13.5px;margin:0 auto 10px;max-width:760px}
.ll-warn[hidden]{display:none}
.ll-loading{text-align:center;padding:30px;opacity:.85}
.ll-un{display:flex;flex-direction:column;min-width:0}.ll-un b{font-size:15.5px}.ll-un small{opacity:.75;font-size:12.5px}
.ll-lgrid{grid-template-columns:1fr 1fr}
@media (max-width:380px){.ll-lgrid{grid-template-columns:1fr}}
.ll-lb span{min-width:0}
.ll-head{display:flex;align-items:center;gap:10px;max-width:760px;margin:0 auto 10px}
.ll-uchip{flex:none;font-size:13px;font-weight:800;background:rgba(255,255,255,.1);padding:5px 10px;border-radius:999px;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ll-bar{flex:1;height:12px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.ll-bar i{display:block;height:100%;width:0;background:#34d27b;border-radius:999px;transition:width .35s}
.ll-xp{flex:none;font-weight:900;font-size:14px;color:#fde68a}
.ll-stage{max-width:760px;margin:0 auto}
.ll-card,.ll-fb{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:14px;margin-bottom:10px}
.ll-fb.ok{background:rgba(52,210,123,.12);border-color:rgba(52,210,123,.45)}.ll-fb.bad{background:rgba(248,113,113,.11);border-color:rgba(248,113,113,.42)}
.ll-fb>b{display:block;font-size:16.5px;margin-bottom:4px}
.ll-kind{display:block;font-size:14.5px;font-weight:800;opacity:.9;margin-bottom:8px}
.ll-ph{margin:6px 0}.ll-ph.big{text-align:center;margin:10px 0 12px}
.ll-t{font-size:21px;font-weight:800;line-height:1.35;word-break:break-word}.ll-ph.big .ll-t{font-size:30px}
.ll-t[dir=rtl]{font-size:24px}.ll-ph.big .ll-t[dir=rtl]{font-size:34px}
.ll-r{font-size:15.5px;color:#fcc8a6;font-style:italic;margin-top:2px}.ll-ph.big .ll-r{font-size:18px}
.ll-e{font-size:15px;opacity:.85;margin-top:3px}.ll-e.big{font-size:22px;font-weight:800;opacity:1}
.ll-tip{background:rgba(0,0,0,.22);border-radius:12px;padding:7px 11px;font-size:14px;margin:8px 0 0;line-height:1.35}
.ll-rep{text-align:center;font-weight:800;font-size:14.5px;margin:10px 0 0;color:#fde68a}
.ll-center{justify-content:center}.ll-center .ls-b{flex:0 1 auto}
.ll-say,.ll-slow,.ll-star{flex:0 1 auto}
.ll-opts{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
@media (min-width:640px){.ll-opts{grid-template-columns:1fr 1fr}}
.ll-opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;position:relative;text-align:left;min-height:52px;padding:10px 12px 10px 44px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.09);color:#ffffff;font:inherit;font-size:16.5px;font-weight:700;cursor:pointer}
.ll-opt [dir=rtl]{align-self:stretch;text-align:right;font-size:19px}
.ll-opt small{font-size:13px;opacity:.75;font-weight:600;font-style:italic}
.ll-opt kbd{position:absolute;left:10px;top:50%;margin-top:-12px;width:24px;height:24px;line-height:22px;text-align:center;border-radius:7px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.2);font:800 12.5px/22px inherit;font-family:inherit}
.ll-opt.right{background:rgba(52,210,123,.25);border-color:#34d27b}.ll-opt.wrong{background:rgba(248,113,113,.22);border-color:#f87171}
.ll-opt:disabled{cursor:default;opacity:1}.ll-opt:disabled:not(.right):not(.wrong){opacity:.55}
.ll-ans{min-height:58px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:9px;border-radius:14px;border:2px dashed rgba(255,255,255,.25);background:rgba(0,0,0,.18);margin-bottom:10px}
.ll-ans.right{border-style:solid;border-color:#34d27b}.ll-ans.wrong{border-style:solid;border-color:#f87171}
.ll-ph0{opacity:.55;font-size:14px;padding:0 4px}
.ll-bank{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;min-height:50px}
.ll-tile{min-height:46px;min-width:44px;padding:8px 13px;border-radius:12px;border:1px solid rgba(255,255,255,.22);border-bottom-width:3px;background:#ffffff;color:#221f1c;font:inherit;font-size:18px;font-weight:800;cursor:pointer}
.ll-tile.in{background:#f0ebe6}.ll-tile.used{visibility:hidden}
.ll-bank[dir=rtl] .ll-tile,.ll-ans[dir=rtl] .ll-tile{font-size:21px}
.ll-in{display:block;width:100%;box-sizing:border-box;min-height:50px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.28);color:#ffffff;font:inherit;font-size:19px;padding:10px 13px;margin:6px 0}
.ll-in[dir=rtl]{text-align:right}
.ll-acc{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 4px}
.ll-k{min-width:40px;min-height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);color:#ffffff;font:inherit;font-size:17px;font-weight:700;cursor:pointer}
.ll-mic{margin-top:8px}.ll-heard{text-align:center;font-size:14.5px;opacity:.9;min-height:1em;margin:8px 0 0}
.ll-micb{font-size:17px}
.ll-done{text-align:center}.ll-big{font-size:38px;margin:6px 0}
.ll-conf{position:fixed;left:0;right:0;top:0;height:0;pointer-events:none;z-index:240}
.ll-conf i{position:absolute;top:-30px;font-style:normal;font-size:24px;-webkit-animation:llFall 2.2s ease-in forwards;animation:llFall 2.2s ease-in forwards}
@keyframes llFall{to{transform:translateY(105vh) rotate(300deg);opacity:.2}}@-webkit-keyframes llFall{to{-webkit-transform:translateY(105vh) rotate(300deg);opacity:.2}}
.ll-chat{display:flex;flex-direction:column;gap:8px;max-height:46vh;min-height:140px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 2px;margin:8px 0}
.ll-msg{position:relative;max-width:86%;border-radius:16px;padding:9px 12px;font-size:15.5px;line-height:1.35}
.ll-msg.ai{align-self:flex-start;background:#ffffff;color:#221f1c;padding-left:40px;padding-right:38px;border-bottom-left-radius:5px}
.ll-msg.me{align-self:flex-end;background:#933914;color:#ffffff;border-bottom-right-radius:5px}
.ll-msg.sys{align-self:center;background:rgba(250,204,21,.14);border:1px solid rgba(250,204,21,.35);font-size:14px}
.ll-msg.th{opacity:.85;padding-right:12px}
.ll-who{position:absolute;left:10px;top:8px;font-size:20px}
.ll-mt{font-weight:800;font-size:17px}.ll-mt[dir=rtl]{font-size:19px}
.ll-me{font-size:13.5px;color:#6f2c10;margin-top:3px}
.ll-mf{font-size:13.5px;margin-top:5px;background:#f5f2ef;color:#524a43;border-radius:9px;padding:4px 8px}
.ll-mplay{position:absolute;right:6px;top:6px;width:30px;height:30px;border-radius:50%;border:0;background:#f0ebe6;cursor:pointer;font-size:14px}
.ll-retry{margin-left:6px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#ffffff;font:inherit;font-weight:800;padding:4px 10px;cursor:pointer}
.ll-sug{display:flex;gap:7px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.ll-sb{flex:none;display:flex;flex-direction:column;align-items:flex-start;max-width:240px;text-align:left;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);color:#ffffff;font:inherit;font-weight:800;font-size:14.5px;padding:7px 11px;cursor:pointer}
.ll-sb[dir=rtl]{align-items:flex-end;text-align:right}
.ll-sb small{font-weight:600;font-size:12px;opacity:.7}
.ll-form{display:flex;gap:7px;align-items:center;margin-top:6px}.ll-form .ll-in{flex:1;margin:0;min-width:0}.ll-form .ls-b{flex:none;margin:0}
.ll-book{display:grid;gap:10px;max-width:760px;margin:0 auto}
.ll-blist{display:grid;gap:8px;margin-top:8px}
.ll-bi{display:flex;gap:8px;align-items:center;justify-content:space-between;background:rgba(0,0,0,.18);border-radius:14px;padding:8px 10px}
.ll-bi .ll-ph{margin:0;min-width:0}.ll-bi .ll-t{font-size:18px}
.ll-bb{display:flex;gap:5px;flex:none}.ll-bb .ls-b{min-width:44px;padding:6px;margin:0;flex:none}
@media (max-width:420px){.ll-ph.big .ll-t{font-size:25px}.ll-t{font-size:19px}.ll-e.big{font-size:19px}.ll-lang b{font-size:17px}.ll-flag{font-size:26px}.ll-tile{font-size:16.5px;padding:7px 11px}.ll-card,.ll-fb{padding:11px}.ll-msg{max-width:92%}.ll-bi{flex-direction:column;align-items:stretch}.ll-bb{justify-content:flex-end}}
@media (max-width:360px){.ll-uchip{display:none}}
@media (prefers-reduced-motion:reduce){.ll-conf{display:none}.ll-bar i{transition:none}}

.hm-ls.ll-dot{position:relative}.hm-ls.ll-dot:after{content:'';position:absolute;top:3px;right:3px;width:9px;height:9px;border-radius:50%;background:#facc15;box-shadow:0 0 0 2px rgba(0,0,0,.35)}
.ll-newtip{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:150;-webkit-transform:translateX(-50%);transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:min(560px,calc(100vw - 20px));box-sizing:border-box;background:#221f1c;color:#ffffff;border:1px solid rgba(250,204,21,.55);border-radius:16px;padding:9px 9px 9px 14px;box-shadow:0 12px 30px rgba(0,0,0,.45);font-size:14.5px;line-height:1.3;-webkit-animation:llIn .35s ease-out;animation:llIn .35s ease-out;transition:opacity .35s}
.ll-newtip.out{opacity:0}
.ll-newtip span{flex:1;min-width:0}
.ll-nt-go{flex:none;min-height:40px;border:0;border-radius:12px;background:#facc15;color:#2b2724;font:inherit;font-weight:900;padding:6px 14px;cursor:pointer}
.ll-nt-x{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#ffffff;font:inherit;cursor:pointer}
@keyframes llIn{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}@-webkit-keyframes llIn{from{opacity:0;-webkit-transform:translate(-50%,14px)}to{opacity:1;-webkit-transform:translate(-50%,0)}}
