/* NEXO 0.3 — dimensional assets and a focused learning path */
:root{--accent:#5269e8}html[data-theme=dark]{--bg:#080f1d;--surface:#101c30;--line:#243750;--soft:#152640;--ink:#edf4ff;--muted:#a3b4cd;--accent:#9faeff}body{background:radial-gradient(ellipse at 85% 0,#395bc212,transparent 45%),var(--bg)}h1,h2,h3{font-weight:700}button.primary{background:linear-gradient(135deg,#138fed,#6a44e7);box-shadow:0 5px 0 #283778,0 10px 20px #276bf022;border:1px solid #86acff66;font-weight:700;border-radius:15px;transition:transform .16s,filter .16s}button.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #283778}.secondary{box-shadow:0 3px 0 var(--line);border-radius:13px}.game-asset{width:42px;height:42px;object-fit:contain;flex-shrink:0}.app-header{gap:18px}.header-right{gap:15px}.header-right .connection{display:none}.course-switch{display:flex;align-items:center;gap:7px;background:var(--soft);border:1px solid var(--line);border-radius:13px;padding:4px 10px 4px 4px;font-size:12px;font-weight:650}.course-switch .game-asset{width:32px;height:32px}.course-switch b{margin-left:5px}.energy-mini{display:flex;align-items:center;color:#e3aa32;font-size:20px;gap:3px}.energy-mini .game-asset{width:31px;height:34px}.energy-mini small{font-size:11px;color:var(--muted)}.companion{display:flex;align-items:center;gap:10px;max-width:860px;margin:0 auto 32px}.mascot-stage{position:relative;width:112px;min-width:112px;height:112px;isolation:isolate}.mascot-stage>img{width:100%;height:100%;object-fit:contain;animation:lumi-float 4.8s ease-in-out infinite;filter:drop-shadow(0 9px 12px #125deb33);position:relative;z-index:2}.mascot-glow{position:absolute;inset:28%;border-radius:50%;background:#4e74ff;filter:blur(24px);opacity:.25;animation:lumi-glow 3s ease-in-out infinite}.companion.celebrate .mascot-stage>img{animation:lumi-celebrate .8s ease-in-out 2,lumi-float 5s 1.6s infinite}.companion.thinking .mascot-stage>img{animation:lumi-think 4s ease-in-out infinite}.speaking .mascot-stage>img{animation:lumi-talk .65s ease-in-out infinite}.guide-bubble{border:1px solid var(--line);border-radius:20px 20px 20px 3px;padding:16px 21px;background:linear-gradient(115deg,var(--surface),var(--soft));flex:1;min-width:0;box-shadow:0 6px 0 #00000008}.guide-bubble .eyebrow{font-size:9px;margin-bottom:5px;letter-spacing:1.6px}.guide-bubble p{font-size:13px;line-height:1.6;max-height:115px;overflow:auto;color:var(--ink)}.guide-controls{display:flex;align-items:center;gap:14px;margin-top:8px;flex-wrap:wrap}.guide-controls .text-button{font-size:10px;padding:0;display:flex;align-items:center;gap:5px}.guide-controls .game-asset{width:23px;height:23px}.guide-controls small{font-size:9px;color:var(--muted)}.welcome-art .hero-mascot{animation:lumi-float 5s ease-in-out infinite;filter:drop-shadow(0 20px 55px #2767ff44)}.onboarding .companion{max-width:680px}.onboarding:has(.welcome) .companion{display:none}.journey-layout{grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.path-column{background:var(--surface);border:1px solid var(--line);border-radius:25px;overflow:hidden}.chapter-banner{background:linear-gradient(120deg,#154b9b,#423486);padding:24px 30px;min-height:130px;display:flex;align-items:center;justify-content:space-between}.chapter-banner .game-asset{width:72px;height:72px;filter:drop-shadow(0 8px 12px #0003)}.chapter-banner .eyebrow,.chapter-banner p{color:#d5e5ff}.chapter-banner h2{font-size:25px}.learning-path{padding:45px 35px 10px 50px;position:relative;background:radial-gradient(circle at 90% 25%,#6657d510,transparent 40%)}.learning-path:before{left:92px;border-left:4px dashed var(--line);top:65px;bottom:70px}.path-stop{min-height:112px;margin-bottom:30px;gap:28px;position:relative}.path-stop.offset{margin-left:66px}.path-node{position:relative;width:80px;height:76px;min-width:80px;border-radius:50%;background:linear-gradient(#334763,#17253d);border:3px solid #405574;box-shadow:0 8px 0 #0a1223,inset 0 3px 0 #ffffff14!important;opacity:1!important;color:#8e9fbc}.path-node:after{content:'';position:absolute;inset:6px;border:2px solid #ffffff12;border-radius:50%;pointer-events:none}.path-node .game-asset{width:38px;height:38px}.path-node .game-asset{filter:drop-shadow(0 2px 2px #0003)}.current .path-node{background:linear-gradient(145deg,#b06aff,#6033d4);border-color:#b589ff;box-shadow:0 8px 0 #3b1a89,0 0 25px #8254ee44,inset 0 3px 0 #ffffff66!important;animation:node-glow 3s ease-in-out infinite}.done .path-node{background:linear-gradient(#20cbf6,#0579d4);border-color:#6fe9ff;box-shadow:0 8px 0 #064b96,0 0 22px #17b9ff22!important}.path-node:active{transform:translateY(4px)}.path-stop h3{font-size:16px;max-width:220px}.path-stop .micro{font-size:9px}.path-decoration{position:absolute;right:0;top:65px;transform:rotate(12deg);opacity:.55}.path-decoration .game-asset{width:38px;height:38px}.path-end{padding:10px 35px 32px}.path-end .game-asset{width:48px;height:48px}.next-card{border-radius:22px;padding:26px}.next-card p{font-size:13px}.session-steps{font-size:10px}.energy-card,.reward-card{display:flex;align-items:start;gap:13px;border:1px solid var(--line);border-radius:20px;padding:21px;margin-top:20px;background:var(--surface)}.energy-card>.game-asset,.reward-card>.game-asset{width:48px;height:48px}.energy-card h3,.reward-card h3{font-size:15px}.energy-card p,.reward-card p{font-size:12px;margin-top:8px}.energy-card small{font-size:10px;line-height:1.5;color:var(--muted);display:block;margin-top:12px}.energy-bar{height:12px;border-radius:9px;border:2px solid #76603b;background:#1b2536;margin-top:13px;overflow:hidden}.energy-bar>span{display:block;height:100%;border-radius:8px;background:linear-gradient(#ffe599,#efa731);transition:width .3s}.insight-card{margin-top:20px}.courses-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.course-card{border:1px solid var(--line);border-bottom-width:5px;border-radius:24px;padding:28px;background:var(--surface);display:flex;flex-direction:column;align-items:start;gap:18px}.course-card>.game-asset{width:90px;height:90px}.course-card.selected{border-color:#6165df}.course-card p{font-size:13px}.course-card .progress{width:100%;margin:0}.course-card .primary,.course-card .secondary{margin-top:auto}.exercise-type{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--accent);font-weight:700;margin:22px 0 16px}.exercise-type .game-asset{width:36px;height:36px}.exercise-wrap{max-width:740px}.exercise-wrap .math-block{border-radius:20px;border:1px solid var(--line);border-bottom-width:4px}.answer-options{display:grid;gap:12px;margin:25px 0;padding:0;border:0}.answer-options legend{font-size:12px;color:var(--muted);margin-bottom:12px}.answer-option{position:relative;display:flex;align-items:center;gap:15px;cursor:pointer;background:var(--surface);border:2px solid var(--line);border-bottom-width:4px;border-radius:16px;padding:16px;color:var(--ink);transition:background .15s,border-color .15s;line-height:1.6;font-size:15px}.answer-option:has(input:checked){border-color:#746bf2;background:var(--soft)}.answer-option input{position:absolute;opacity:0}.answer-option:focus-within{outline:3px solid #7e9cff;outline-offset:3px}.option-letter{display:grid;place-items:center;min-width:32px;height:32px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:700;color:var(--muted)}.answer-option:has(input:checked) .option-letter{background:#6e5adb;color:white;border-color:#9d8aff}.reasoning-field{margin:20px 0}.reasoning-field textarea{font-size:15px;line-height:1.8}.reasoning-review{padding:22px;border:1px solid var(--line);border-radius:18px;margin:22px 0;background:var(--surface)}.reasoning-review>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0}.reasoning-review h3{margin-top:10px}.reasoning-review .check-row{font-size:13px}.feedback{border-radius:16px;border-bottom-width:4px}.summary-mark{background:linear-gradient(#1ebfff,#5846e6);color:white;border:2px solid #6dcfff;box-shadow:0 6px 0 #21357f}.app-footer{padding-bottom:45px}html[data-theme=light] .energy-mini{color:#956609}html[data-theme=light] .guide-bubble{background:#fff}html[data-theme=light] .course-switch{background:#fff}
@keyframes lumi-float{0%,100%{transform:translate(0,0) rotate(-3deg)}50%{transform:translate(4px,-9px) rotate(4deg)}}@keyframes lumi-glow{50%{opacity:.4;transform:scale(1.15)}}@keyframes lumi-celebrate{0%,100%{transform:translateY(0) rotate(-5deg)}45%{transform:translateY(-18px) rotate(12deg)}}@keyframes lumi-think{0%,100%{transform:rotate(-8deg)}50%{transform:translateY(-4px) rotate(5deg)}}@keyframes lumi-talk{0%,100%{transform:scale(1) translateY(0)}50%{transform:scale(1.025,.98) translateY(-3px)}}@keyframes node-glow{50%{filter:brightness(1.15)}}
@media(max-width:1050px){.header-right{gap:8px}.course-switch span{display:none}.journey-layout{grid-template-columns:minmax(0,1fr) 290px}.learning-path{padding-left:28px}.learning-path:before{left:68px}.path-stop.offset{margin-left:30px}.path-stop{gap:18px}.course-card{padding:20px}.app-header{padding:0 24px}}
@media(max-width:780px){.app-header{padding:0 17px;height:76px}.app-header .brand{font-size:17px;gap:8px;letter-spacing:3px}.course-switch{padding:3px 6px 3px 3px}.course-switch .game-asset{width:29px;height:29px}.energy-mini{font-size:16px}.energy-mini .game-asset{width:24px;height:27px}.header-right{gap:8px}.companion{gap:5px;margin:0 0 25px;align-items:center}.mascot-stage{width:75px;min-width:75px;height:85px}.guide-bubble{padding:12px 13px;border-radius:16px 16px 16px 3px}.guide-bubble p{font-size:12px;max-height:95px}.guide-bubble .eyebrow{font-size:8px}.guide-controls{gap:12px;margin-top:6px}.guide-controls small{width:100%;font-size:8px}.guide-controls .text-button{font-size:10px}.guide-controls .game-asset{width:19px;height:19px}.page-heading h1{font-size:30px}.page-heading>.secondary{font-size:10px;min-width:90px;padding:9px}.journey-layout{display:flex;gap:22px}.journey-aside{order:-1}.next-card{padding:22px}.energy-card,.reward-card{display:none}.learning-path{padding:35px 23px 5px 29px}.learning-path:before{left:66px}.path-stop{gap:20px;min-height:95px;margin-bottom:27px}.path-stop.offset{margin-left:34px}.path-node{width:74px;min-width:74px;height:69px}.path-node .game-asset{width:33px;height:33px}.path-stop h3{font-size:14px;max-width:165px}.path-stop .micro{font-size:8px}.path-stop p{font-size:10px}.chapter-banner{padding:21px;min-height:125px}.chapter-banner h2{font-size:22px}.chapter-banner .game-asset{width:55px;height:55px}.chapter-banner .eyebrow{font-size:8px}.path-decoration{right:-7px}.path-decoration .game-asset{width:29px}.path-end{padding:15px 22px 24px}.courses-grid{grid-template-columns:1fr;gap:18px}.course-card{padding:24px;display:grid;grid-template-columns:70px 1fr;gap:13px 20px}.course-card>.game-asset{grid-column:1;grid-row:1/3;width:70px;height:70px}.course-card>.badge,.course-card>h2{grid-column:2}.course-card>p,.course-card>.progress,.course-card>button{grid-column:1/-1}.course-card>h2{font-size:24px}.answer-option{padding:13px;font-size:14px;gap:12px}.answer-options{gap:10px}.exercise-type{margin-top:20px}.exercise-wrap .question-title{font-size:24px}.reasoning-review{padding:18px}.welcome-art{width:130px;top:105px;right:20px}.welcome-copy{padding-top:105px}.app-footer{padding-bottom:110px}.onboarding .app-footer{padding-bottom:30px}.onboarding .header-caption{display:none}.onboarding .header-right .icon-button{width:28px}.onboarding .energy-mini{display:none}.nav-item{padding:7px 12px}.step-top{font-size:9px;letter-spacing:0}.step-top .text-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.reward-card[hidden]{display:none}.nav-item .game-asset{width:27px;height:27px}@media(max-width:780px){.nav-item .game-asset{width:25px;height:25px}}
