[hidden]{display:none!important}
:root{color-scheme:dark;--bg:#17112f;--panel:#292052;--panel2:#302662;--ink:#24194c;--yellow:#ffda55;--green:#73eab0;--muted:#c6bfdf;--white:#fff}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 12% 4%,#6552bb4c,transparent 32%),linear-gradient(155deg,#17112f,#211848 80%);color:#fff;font:16px/1.45 Inter,ui-rounded,system-ui,-apple-system,"Segoe UI",sans-serif}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #fff7ba;outline-offset:3px}main.shell{max-width:750px;margin:auto;min-height:100dvh;padding:0 16px 112px}.topbar{height:67px;display:flex;justify-content:space-between;align-items:center;gap:10px}.back{font-size:14px;text-decoration:none;font-weight:800;white-space:nowrap;min-width:60px}.brand{font-size:14px;font-weight:1000;letter-spacing:.025em;white-space:nowrap}.brandmoon{font-size:17px}.branddot{color:var(--yellow)}.topstatus{font-size:9px;color:var(--muted);font-weight:900;max-width:95px;text-align:right;letter-spacing:.06em}.hero{padding:16px 0 21px}.eyebrow{color:var(--yellow);font-weight:950;font-size:11px;letter-spacing:.12em}.hero h1{margin:8px 0 11px;font-size:clamp(29px,6vw,43px);letter-spacing:-.038em;line-height:1.12}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{color:var(--muted);margin:0;max-width:620px}.continue-card{display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:20px;background:#393072;border:1px solid #ffffff25;border-radius:22px}.continue-card h2{font-size:21px;letter-spacing:-.02em;margin:6px 0}.continue-card p{font-size:13px;color:#e4ddfa;margin:0}.muted-label{color:#f7dd96}.primary,.secondary{border:0;min-height:47px;padding:12px 18px;border-radius:14px;font-weight:950}.primary{background:var(--yellow);color:var(--ink)}.secondary{background:#ffffff16;color:#fff;border:1px solid #ffffff20}.path-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:28px}.path-heading h2{font-size:19px;margin:0 0 8px}.path-heading span{color:var(--muted);font-size:13px}.overall-track,.progress-track{height:7px;border-radius:99px;background:#ffffff24;overflow:hidden}.overall-track>div,.progress-track>div{height:100%;background:var(--yellow);width:0;transition:width .22s}.unit-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:23px 0 18px;padding-bottom:3px}.unit-tabs::-webkit-scrollbar{display:none}.unit-tab{border:1px solid #ffffff2e;flex:none;background:#ffffff10;color:#fff;white-space:nowrap;border-radius:99px;font-weight:850;padding:9px 14px;font-size:12px}.unit-tab[aria-current=true]{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.unit-lead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.unit-lead h2{margin:5px 0;font-size:22px}.unit-lead p{margin:0;color:var(--muted);font-size:13px}.unit-lead>span{font-size:12px;color:#e9dc96;white-space:nowrap}.lesson-list{display:grid;gap:8px}.lesson-row{display:grid;width:100%;grid-template-columns:40px 1fr auto;align-items:center;text-align:left;gap:12px;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:16px;color:#fff;padding:13px}.lesson-row:hover{background:#ffffff15}.lesson-row.completed{border-color:#73eab04d}.lesson-number{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#ffffff14;color:var(--yellow);font-size:14px;font-weight:950}.lesson-row.completed .lesson-number{color:var(--green)}.lesson-text strong{display:block;font-size:15px}.lesson-text small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.lesson-arrow{font-size:21px;color:var(--yellow)}.review-link{width:100%;margin-top:16px;border:1px solid #ffd64d55;border-radius:14px;background:#ffda5510;color:#ffe695;padding:14px;font-weight:850}.privacy{font-size:11px;color:#a99fc6;text-align:center;margin-top:22px}.lesson-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-top:12px}.lesson-head h1{font-size:clamp(25px,5vw,36px);margin:7px 0 13px;line-height:1.1}.stepcount{color:var(--muted);font-weight:850;font-size:13px;white-space:nowrap;padding-bottom:15px}.lesson-meta{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 13px}.lesson-meta>span{font-size:11px;font-weight:900;background:#ffffff10;padding:7px 10px;border-radius:99px;color:#d9d2f6}.lesson-meta>span:empty{display:none}.question{background:#fbfaf9;color:#282240;border-radius:23px;padding:23px 20px 25px;box-shadow:0 8px 20px #0805191c}.speaker{display:flex;align-items:center;gap:11px;font-size:12px;color:#625680;font-weight:900;letter-spacing:.02em}.speaker img{border-radius:50%;width:40px;height:40px;object-fit:cover;background:#eee8ff}.pt-prompt{font-size:clamp(24px,5.8vw,34px);font-weight:1000;letter-spacing:-.035em;line-height:1.22;margin:20px 0 8px}.microhint{color:#6d6082;font-size:12px;margin:0}.smallheading{display:flex;justify-content:space-between;align-items:center;margin:22px 1px 8px;font-size:13px}.text-btn{background:none;color:#dccfff;border:none;padding:6px;font-size:12px;font-weight:850}.answer{border:2px dashed #ffffff42;background:#ffffff0a;min-height:79px;display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:7px;padding:11px;border-radius:17px}.answer.solved{border-style:solid;border-color:var(--green);background:rgba(115,234,176,.08)}.placeholder{font-size:13px;color:var(--muted);padding-left:2px}.banklabel{font-size:12px;color:var(--muted);font-weight:800;margin:18px 0 10px}.bank{display:flex;flex-wrap:wrap;gap:9px;min-height:58px}.tile{background:#fff;color:var(--ink);font-size:clamp(14px,3.7vw,17px);font-weight:900;border:1px solid #cfc8e5;border-bottom:3px solid #bbb1d9;border-radius:12px;padding:12px 13px;min-height:47px;white-space:normal}.tile:disabled{cursor:default;opacity:1}.answer .tile{display:inline-flex;align-items:center;background:#ded9ff;border:1px solid #b5a6fd;border-bottom:3px solid #ac99f7;max-width:100%;overflow-wrap:anywhere}.answer.solved .tile{background:#f9f7ff;color:#24194c}.answer .tile.connector{background:#fff0b4;border-color:#ecbe58;color:#493208}.controls{display:grid;grid-template-columns:1fr 1.7fr;gap:10px;margin-top:24px}.controls>button{width:100%}.feedback{background:#fff6dc;color:#4a3810;border:1px solid #ffe093;padding:12px 14px;border-radius:14px;font-size:13px;font-weight:800;margin-top:13px}.feedback.ok{background:#e0ffed;border-color:#a5edbb;color:#205c3b}.reveal{margin:16px auto;display:block;background:none;color:#d8c8ff;border:0;text-decoration:underline;font-size:12px}.reveal[hidden]{display:none}.speaking{background:#ffffff0b;border:1px solid #ffffff22;border-radius:20px;padding:19px;margin-top:24px}.speaking-title{display:grid;gap:2px}.speaking-title strong{font-size:19px}.speaking-title span{color:var(--muted);font-size:12px}.model-phrase{font-size:clamp(22px,5vw,30px);font-weight:950;margin:18px 0;line-height:1.25}.model-phrase mark{color:var(--ink);background:var(--yellow);padding:0 4px;border-radius:5px}.voice-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.voice-actions button{font-size:12px;padding:9px 3px;min-height:46px}.voice-note{color:var(--muted);font-size:12px;min-height:21px;margin:13px 0 15px}.full{width:100%;margin-top:10px}.finish{text-align:center;padding:65px 0 30px}.finish-symbol{font-size:60px;color:var(--yellow);line-height:1}.finish h1{font-size:35px;line-height:1.1;margin:15px 0}.finish>p{color:var(--muted)}.finish-numbers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.finish-numbers>div{display:grid;gap:4px;background:#ffffff10;padding:18px 7px;border-radius:16px}.finish-numbers strong{font-size:27px;color:var(--yellow)}.finish-numbers span{font-size:12px;color:var(--muted)}.bottomnav{display:flex;position:fixed;bottom:8px;left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 16px));border-radius:18px;background:#241b4def;backdrop-filter:blur(16px);border:1px solid #ffffff22;padding:8px 4px;justify-content:space-around;z-index:10}.bottomnav a{display:grid;justify-items:center;gap:2px;text-decoration:none;font-size:10px;font-weight:850;color:#d4cbea;min-width:20%}.bottomnav a span{font-size:19px}.bottomnav a[aria-current]{color:var(--yellow)}body.in-lesson .bottomnav{display:none}body.in-lesson .topstatus{visibility:hidden}body.in-lesson main.shell{padding-bottom:32px}@media(max-width:560px){main.shell{padding:0 14px 102px}.topbar{height:61px}.brand{font-size:12px}.topstatus{font-size:8px}.hero{padding:12px 0 19px}.continue-card{grid-template-columns:1fr;padding:17px}.continue-card>.primary{width:100%}.unit-lead{align-items:flex-start}.question{padding:18px 16px 22px}.lesson-head{margin-top:8px}.tile{padding:11px 12px}.voice-actions{gap:6px}.voice-actions button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* v2: tela de aula compacta e blocos sempre legíveis depois de acertar */
.bank:not([hidden]){align-content:flex-start;min-height:0}.answer{min-height:69px}.answer.solved{min-height:69px}.speaking{margin-top:13px}.tile{word-break:normal;overflow-wrap:anywhere}.bank .tile{flex:0 0 auto;max-width:100%}.voice-note{line-height:1.45}@media(max-width:560px){.smallheading{margin-top:16px}.banklabel{margin:14px 0 8px}.feedback{margin-top:10px}.speaking{padding:16px;margin-top:12px}.model-phrase{margin:13px 0}.voice-actions button{min-height:48px}.voice-note{margin:10px 0}.answer{padding:10px;gap:7px}}
