@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800;900;1000&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--bg:#f7f7fc;--surface:#fff;--surface2:#f5f4fd;--text:#252344;--muted:#89849d;--line:#eae8f3;--primary:#6651d9;--primary2:#8e6bf2;--coral:#ff6f7f;--orange:#ffa866;--mint:#24b99c;--shadow:0 12px 38px rgba(43,33,100,.065);--soft:0 5px 20px rgba(46,34,117,.05);--hero:linear-gradient(117deg,#4636af 0%,#7657dd 62%,#9a74f1 100%)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.52 'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #c3b7ff;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:'Plus Jakarta Sans','DM Sans',sans-serif;line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(28px,3vw,42px)}h2{font-size:clamp(20px,2vw,27px)}h3{font-size:17px}p{margin-bottom:10px}small{font-size:12px}svg{vertical-align:middle}a{color:inherit}i{font-style:normal}.app{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);padding:31px 16px 20px;display:flex;flex-direction:column;z-index:8}.logo{display:flex;align-items:center;gap:11px;padding:0 10px 30px}.logomark{width:44px;height:44px;border-radius:16px;background:linear-gradient(145deg,#7255fa,#f56cba);display:grid;place-items:center;font-size:23px;color:#fff;box-shadow:0 7px 18px rgba(102,81,217,.25);flex-shrink:0}.brand{font-family:'Plus Jakarta Sans',sans-serif;font-size:17px;font-weight:800;letter-spacing:-.06em;white-space:nowrap}.brand span{color:var(--primary)}.slogan{font-size:9px;color:var(--muted);font-weight:700;white-space:nowrap;letter-spacing:-.005em}.nav-label{font-weight:800;color:#b1abc4;letter-spacing:.12em;font-size:10px;margin:12px 16px 12px}.sidenav{display:flex;flex-direction:column;gap:5px}.sidebutton{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:0;border-radius:15px;background:transparent;color:#77718f;padding:13px 16px;font-weight:800;transition:.2s}.sidebutton svg{width:20px;height:20px}.sidebutton.active{background:linear-gradient(100deg,#7055e6,#856af1);box-shadow:0 9px 24px rgba(105,78,208,.19);color:white}.sidebutton:not(.active):hover{background:var(--surface2);color:var(--primary)}.sidebar-bottom{margin-top:auto;padding:9px}.sidebar-promo{background:#f3efff;border-radius:21px;padding:19px;position:relative;overflow:hidden}.sidebar-promo:after{content:'';position:absolute;width:88px;height:88px;border:14px solid #eae1ff;border-radius:50%;right:-37px;top:-35px}.sidebar-promo strong{display:block;margin:10px 0 4px;font-size:15px}.sidebar-promo p{color:#8a82a4;font-size:12px;position:relative}.sidebar-promo button{background:transparent;color:var(--primary);border:0;padding:6px 0;font-weight:800;font-size:12px}.main{min-width:0}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,55px);border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 93%,transparent);backdrop-filter:blur(15px);position:sticky;z-index:5;top:0}.today-date{color:#807a96;font-size:13px;font-weight:700}.today-date strong{color:var(--text);font-weight:800}.top-actions{display:flex;align-items:center;gap:9px}.top-status{border-radius:50px;border:1px solid #e6f3ef;background:#f3fffa;color:#429e86;padding:8px 12px;font-size:11px;font-weight:800;margin-right:3px}.dot{display:inline-block;width:7px;height:7px;background:#42c6a2;border-radius:50%;margin-right:5px}.iconbtn{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:21px;transition:.2s}.iconbtn:hover{transform:translateY(-2px);box-shadow:var(--soft)}.avatar{background:#ede8ff;border:0;color:var(--primary);font-size:18px}.top-brand{display:none}.container{max-width:1340px;margin:0 auto;padding:30px clamp(20px,4vw,55px) 60px}.eyebrow{font-weight:800;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}.pagelead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}.pagelead h1{margin:6px 0}.muted{color:var(--muted)}.langstrip{background:var(--surface);box-shadow:var(--soft);border:1px solid var(--line);border-radius:22px;padding:15px 18px;display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}.langstrip-label{min-width:156px;font-weight:800;font-size:12px;color:#736d8d}.langstrip-label span{display:block;font-size:10px;font-weight:600;color:#aaa4ba;margin-top:2px}.language-pills{display:flex;gap:8px;flex:1;flex-wrap:wrap}.langbtn{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:13px;padding:10px 13px;background:var(--surface);font-weight:800;color:#77718f;transition:.18s;min-width:109px;flex:1}.langbtn .flag{font-size:19px}.langbtn:hover{border-color:#c2b8fa;transform:translateY(-2px)}.langbtn.selected{background:#f0ebff;color:#6047cb;border-color:#b8a9fc;box-shadow:inset 0 0 0 1px #c5b7ff}.hero{background:var(--hero);border-radius:32px;box-shadow:0 20px 44px rgba(84,63,166,.20);min-height:320px;color:#fff;display:grid;grid-template-columns:1.2fr .8fr;overflow:hidden;position:relative;isolation:isolate}.hero:before{content:'';position:absolute;width:400px;height:400px;border:60px solid rgba(255,255,255,.07);border-radius:50%;right:-170px;top:-170px;z-index:-1}.hero:after{content:'';position:absolute;width:200px;height:200px;background:radial-gradient(circle,#fe9bc470,transparent 70%);right:21%;bottom:-80px;z-index:-1}.hero-copy{padding:35px 36px 34px;max-width:670px}.hero-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff55;background:#ffffff23;border-radius:40px;padding:7px 12px;color:#fff;font-size:11px;font-weight:900;letter-spacing:.045em}.hero h1{font-size:clamp(30px,3vw,47px);margin:17px 0 12px;color:white;line-height:1.12}.hero h1 em{font-style:normal;color:#ffdfaa}.hero p{color:#e8e0ff;max-width:450px;line-height:1.65;font-weight:600}.hero-input{display:flex;align-items:center;background:white;color:#7f779d;border-radius:16px;padding:6px 6px 6px 15px;margin-top:20px;box-shadow:0 14px 32px #261b8150;max-width:615px;gap:7px}.hero-input input{min-width:0;flex:1;border:0;background:transparent;color:#272340;font-weight:700;padding:8px 0;outline:0;font-size:13px}.hero-input input:focus{outline:0}.btn{background:linear-gradient(125deg,var(--primary),#846af0);border:0;border-radius:14px;color:white;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 19px;font-weight:800;box-shadow:0 8px 17px rgba(83,59,183,.17);transition:transform .18s,filter .18s}.btn:hover{filter:brightness(1.05);transform:translateY(-2px)}.btn:active{transform:translateY(0)}.btn.coral{background:linear-gradient(105deg,#ff7587,#ff956b);box-shadow:0 8px 18px #b53d7655}.btn.secondary{background:var(--surface2);color:var(--primary);box-shadow:none}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--text);box-shadow:none}.btn.small{padding:9px 14px;border-radius:11px;font-size:12px}.hero-input .btn{white-space:nowrap;border-radius:12px;padding:13px 17px}.hero-note{font-size:11px;margin-top:9px;color:#e5dafa}.hero-art{display:flex;align-items:center;justify-content:center;min-width:0;position:relative;padding:15px 25px}.visual-card{background:#fff;box-shadow:0 30px 55px #37259055;border-radius:25px;padding:22px;width:275px;transform:rotate(5deg);color:#31295b;position:relative;animation:float 5s ease-in-out infinite}.visual-card .speaker{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;color:#756c98}.visual-card .speaker>i{display:grid;place-items:center;background:#f5f0ff;border-radius:13px;width:35px;height:35px;font-size:21px}.visual-card h3{font-size:22px;line-height:1.4;overflow-wrap:anywhere;margin:20px 0 7px}.visual-card p{font-size:12px;color:#9185ad;margin:0}.visual-card .mini-progress{height:8px;background:#eeeafb;border-radius:20px;margin-top:21px}.visual-card .mini-progress span{display:block;width:68%;height:100%;background:linear-gradient(90deg,#ff8e9e,#ab8cff);border-radius:inherit}.float-bubble{position:absolute;border-radius:16px;background:white;color:#594bc2;padding:12px 15px;font-size:12px;font-weight:900;box-shadow:0 15px 28px #2c206245}.bub-top{top:38px;right:18px;transform:rotate(-12deg)}.bub-bottom{bottom:35px;left:8px;transform:rotate(-8deg)}@keyframes float{0%,100%{transform:translateY(0) rotate(5deg)}50%{transform:translateY(-10px) rotate(5deg)}}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 32px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:19px;display:flex;align-items:center;gap:15px;box-shadow:var(--soft)}.stat-icon{width:51px;height:51px;border-radius:17px;background:#f2edff;display:grid;place-items:center;font-size:24px;flex-shrink:0}.stat:nth-child(2) .stat-icon{background:#fff0e9}.stat:nth-child(3) .stat-icon{background:#e8f9f3}.stat strong{font:800 27px 'Plus Jakarta Sans',sans-serif;letter-spacing:-.05em}.stat b{display:block;font-size:12px}.stat small{display:block;color:var(--muted);margin-top:2px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:20px}.sectionhead h2{margin:5px 0 5px}.linkbtn{background:none;border:0;color:var(--primary);font-weight:900;font-size:13px}.scenegrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.scene-card{background:var(--surface);text-align:left;border:1px solid var(--line);border-radius:25px;padding:20px;min-width:0;min-height:205px;box-shadow:var(--soft);display:flex;flex-direction:column;transition:.2s;position:relative;overflow:hidden;color:var(--text)}.scene-card:after{content:'';position:absolute;width:130px;height:130px;border-radius:50%;right:-60px;top:-65px;opacity:.35;background:var(--cardTint)}.scene-card:hover{transform:translateY(-5px);box-shadow:0 19px 36px rgba(58,45,126,.13);border-color:#bbb0f6}.scene-card .emoji{background:var(--cardTint);height:58px;width:58px;border-radius:18px;display:grid;place-items:center;font-size:30px;margin-bottom:16px}.scene-card .mini{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;font-weight:800;margin:0 0 5px}.scene-card b{font:800 15px 'Plus Jakarta Sans',sans-serif;display:block;margin:0 0 5px}.scene-card p{font-size:12px;color:var(--muted);flex:1;margin-bottom:11px}.scene-card .foot{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--primary);font-weight:900}.circle-arrow{display:grid;place-items:center;border-radius:100%;height:30px;width:30px;background:#f0ecff;font-size:17px}.scene-card:hover .circle-arrow{background:var(--primary);color:white}.bottomsplit{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:24px}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--soft);border-radius:24px;padding:23px}.panel h3{font-size:17px;margin:0 0 7px}.pathrow{display:flex;gap:13px;align-items:center;margin-top:18px}.pathicon{border-radius:15px;background:#e8f7f2;color:#169a80;height:46px;width:46px;display:grid;place-items:center;font-size:23px;flex-shrink:0}.pathrow p{font-size:12px;color:var(--muted);margin:2px 0}.progressbar{height:9px;background:#efedf7;border-radius:100px;overflow:hidden}.progressbar span{background:linear-gradient(90deg,var(--primary),#ff83a8);height:100%;display:block;transition:width .25s}.quickcard{background:linear-gradient(135deg,#fff2e9,#f7ebff);border-radius:24px;padding:25px;position:relative;overflow:hidden}.quickcard:after{content:'✦';position:absolute;right:-12px;top:20px;color:#fff7;font-size:144px}.quickcard h3{font-size:20px}.quickcard p{font-size:12px;color:#827997;max-width:320px}.page-title{margin:4px 0 6px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px}.chip{border-radius:100px;border:1px solid var(--line);background:var(--surface);color:#77718f;padding:9px 15px;font-size:12px;font-weight:800;transition:.15s}.chip.active{color:#fff;background:var(--primary);border-color:var(--primary)}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:0 14px;border-radius:15px;background:var(--surface);max-width:470px}.searchbox input{background:transparent;border:0;outline:none;flex:1;padding:13px 0;color:var(--text);min-width:0}.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.back{background:none;border:0;color:var(--muted);font-weight:800;padding:0 0 21px}.lesson-title{display:flex;align-items:center;gap:14px;margin-bottom:16px}.lesson-title .emoji{font-size:31px;display:grid;place-items:center;background:#f0edff;border-radius:20px;width:63px;height:63px}.lesson-title h1{margin:4px 0}.badge{font-size:11px;font-weight:900;background:#f0eaff;color:var(--primary);border-radius:40px;padding:8px 13px}.steps-track{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 29px}.steps-track .rail{height:8px;background:#e7e4f0;border-radius:20px}.steps-track .rail.active{background:linear-gradient(90deg,var(--primary),#c193f7)}.phrasegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.phrase{border:1px solid var(--line);border-radius:22px;padding:21px;background:var(--surface);min-width:0;box-shadow:var(--soft);display:flex;flex-direction:column}.phrase-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.tag{font-weight:900;font-size:10px;letter-spacing:.07em;border-radius:9px;background:#f1ecff;color:var(--primary);padding:6px 10px}.heart{font-size:22px;border:none;background:transparent;color:#c7c0d6;padding:0 2px}.heart.active{color:var(--coral)}.foreign{font:800 clamp(18px,2.2vw,25px)/1.4 'Plus Jakarta Sans','DM Sans',sans-serif;overflow-wrap:anywhere;word-break:normal;letter-spacing:-.022em}.translated{font-size:14px;font-weight:800;color:var(--primary);margin:9px 0 12px}.phrase .explain{border-top:1px solid var(--line);padding-top:13px;color:var(--muted);font-size:12px;margin-top:auto}.explain b{color:#b98459;font-size:11px}.phrase-actions{margin-top:12px;display:flex;justify-content:space-between;gap:9px;align-items:center}.phrase-actions button{border:none;background:none;color:var(--primary);font-weight:800;font-size:12px;padding:4px 0}.lesson-footer{display:flex;justify-content:flex-end;margin-top:23px}.dialog-panel{max-width:820px;margin:0 auto}.chatbox{background:var(--surface);border:1px solid var(--line);padding:25px;border-radius:25px;box-shadow:var(--soft)}.chathead{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:18px}.chathead i{border-radius:16px;background:#eee8ff;display:grid;place-items:center;width:46px;height:46px;font-size:27px}.chathead strong{display:block}.chathead small{color:var(--muted)}.bubble{max-width:85%;border-radius:19px;padding:16px 19px;margin:17px 0}.bubble.npc{background:#f1effc;border-bottom-left-radius:5px}.bubble.you{background:linear-gradient(120deg,#6550d7,#8668eb);border-bottom-right-radius:5px;color:#fff;margin-left:auto}.bubble .sub{font-size:10px;opacity:.65;margin-bottom:6px;font-weight:800}.bubble b{font-size:16px;overflow-wrap:anywhere}.chat-prompt{background:#fff7ed;border:1px solid #f5e3c9;padding:14px 16px;border-radius:17px;color:#805d3d;font-size:13px;margin-top:18px}.chat-prompt b{display:block;margin-bottom:4px}.answerbox{width:100%;border:1px solid var(--line);padding:15px;border-radius:16px;resize:vertical;min-height:110px;margin:14px 0 12px;background:var(--surface);color:var(--text);font-size:16px}.chat-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.feedback{border:1px solid #f3d8b7;background:#fffaf0;padding:17px;border-radius:18px;color:#795f44;margin:13px 0}.feedback.correct{background:#f1fcf7;border-color:#c6ebd7;color:#277858}.feedback b{display:block;margin-bottom:5px}.model-answer{font-size:16px;font-weight:900;margin-top:8px;overflow-wrap:anywhere}.done-panel{text-align:center;max-width:690px;margin:0 auto}.done-icon{font-size:59px;margin-bottom:8px}.done-stats{display:flex;justify-content:center;gap:13px;margin:22px 0}.done-stats span{background:var(--surface2);border-radius:15px;padding:14px 19px;font-weight:800}.textarea,.field{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--line);padding:12px 14px;border-radius:13px;font-size:14px}.textarea{min-height:105px;resize:vertical}.label{font-size:12px;font-weight:900;display:block;margin:16px 0 7px;color:var(--muted)}.review-layout{display:grid;grid-template-columns:1.45fr .75fr;gap:20px}.review-main{min-height:380px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px}.review-main .foreign{font-size:clamp(23px,3.3vw,37px);margin:22px 0}.review-main .muted{font-size:12px}.review-ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;width:100%;margin-top:20px}.review-ratings button{padding:13px 6px;border:0;border-radius:12px;font-size:12px;font-weight:900}.review-ratings button:nth-child(1){background:#ffe8e8;color:#bc5a63}.review-ratings button:nth-child(2){background:#ffeed9;color:#a47730}.review-ratings button:nth-child(3){background:#e4f7ee;color:#3f9164}.review-ratings button:nth-child(4){background:#ebe5ff;color:#7055c5}.review-side .rowline,.rowline{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px;padding:14px 0;font-size:13px}.rowline:last-child{border-bottom:0}.favgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.favitem{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:16px;display:flex;align-items:start;justify-content:space-between;gap:10px}.favitem b{display:block;line-height:1.4;overflow-wrap:anywhere}.favitem small{display:block;margin-top:6px;color:var(--muted)}.empty{text-align:center;max-width:440px;margin:25px auto}.empty .bigemoji{font-size:52px}.bars{display:grid;grid-template-columns:repeat(7,1fr);gap:15px;align-items:end;margin-top:25px}.barwrap{text-align:center;font-weight:900;color:var(--muted);font-size:12px}.barbg{background:var(--surface2);height:135px;max-width:56px;margin:0 auto 8px;border-radius:12px;overflow:hidden;display:flex;align-items:end}.barfg{background:linear-gradient(0deg,#755ce9,#b79afa);width:100%;border-radius:12px 12px 0 0;min-height:0}.progress-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:17px}.history{margin-top:20px}.settings-overlay{position:fixed;inset:0;z-index:30;background:#1913338a;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:17px}.modal{width:min(100%,520px);max-height:min(92vh,880px);overflow:auto;background:var(--surface);border-radius:26px;padding:28px;box-shadow:0 40px 80px #1a0f485c}.modal-title{display:flex;align-items:center;justify-content:space-between}.closebtn{background:var(--surface2);border:none;border-radius:11px;width:36px;height:36px;font-size:22px;color:var(--muted)}.levelrow{display:flex;gap:8px;flex-wrap:wrap}.levelbtn{border:1px solid var(--line);background:var(--surface);padding:10px 16px;border-radius:12px;font-weight:800;color:var(--muted);flex:1}.levelbtn.selected{background:var(--primary);color:#fff}.setting-info{background:var(--surface2);border-radius:16px;padding:14px;margin-top:18px;color:var(--muted);font-size:12px}.toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.toggle input{width:20px;height:20px;accent-color:var(--primary)}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:26px;z-index:60;background:#2f2854;color:white;border-radius:15px;padding:13px 21px;font-weight:800;font-size:13px;box-shadow:0 12px 34px #2e276980;max-width:90vw;text-align:center}.bottomnav{display:none}.tiny-banner{background:#f0ecff;color:#7054d2;padding:12px 15px;border-radius:13px;font-size:12px;font-weight:700;margin:14px 0}.fade-in{animation:appear .27s ease-out}@keyframes appear{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
/* Dark design: no inactive white surfaces */
.dark{--bg:#141426;--surface:#23223b;--surface2:#302d4c;--text:#f9f7ff;--muted:#aaa6c4;--line:#3b3854;--primary:#ac97ff;--primary2:#bbaaef;--shadow:0 10px 26px #0002;--soft:0 7px 21px #0002;--hero:linear-gradient(118deg,#3d2a98,#5f43b0 75%,#8051a6);color-scheme:dark}.dark .sidebar-promo{background:#332c53}.dark .sidebar-promo:after{border-color:#3c3260}.dark .sidebar-promo p,.dark .sidebar-promo button{color:#c8bbf1}.dark .top-status{background:#203c37;color:#83dbc2;border-color:#37584e}.dark .langbtn.selected{background:#3d335d;color:#d7c8ff;border-color:#715dba}.dark .visual-card{background:#fff;color:#31295b}.dark .visual-card p{color:#8a8199}.dark .hero-input{background:#fff}.dark .scene-card .foot{color:#bbabff}.dark .circle-arrow{background:#3f3468;color:#c1b2fa}.dark .bubble.npc{background:#323050}.dark .chat-prompt{background:#40342e;border-color:#64503a;color:#f2d1a7}.dark .feedback{background:#3f322a;border-color:#625038;color:#e8c6a1}.dark .feedback.correct{background:#263c33;border-color:#426452;color:#97dbb6}.dark .review-ratings button:nth-child(1){background:#5b303a;color:#ffd5dc}.dark .review-ratings button:nth-child(2){background:#574332;color:#ffe1a7}.dark .review-ratings button:nth-child(3){background:#2f594c;color:#b8eada}.dark .review-ratings button:nth-child(4){background:#4c416c;color:#d5cbff}.dark .quickcard{background:linear-gradient(120deg,#403254,#50345b)}.dark .quickcard p{color:#c2b2d0}.dark .tag,.dark .badge{background:#3b315c;color:#c5b6ff}.dark .translated{color:#b7a6ff}.dark .stat-icon{background:#3a315b}.dark .barbg{background:#302c49}.dark .panel,.dark .stat,.dark .phrase,.dark .scene-card,.dark .favitem,.dark .langstrip{box-shadow:var(--soft)}
@media(max-width:1180px){.scenegrid{grid-template-columns:repeat(2,1fr)}.hero-copy{padding:30px}.hero-art{padding:10px}.visual-card{width:230px}.visual-card h3{font-size:19px}.langbtn{min-width:85px}.langstrip-label{min-width:0;width:100%}}
@media(max-width:820px){.app{display:block}.sidebar{display:none}.top-brand{display:flex;align-items:center;gap:8px;font:800 16px 'Plus Jakarta Sans',sans-serif}.topbar{height:68px;padding:0 18px}.today-date{display:none}.top-status{display:none}.container{padding:24px 18px 98px}.langstrip{padding:13px}.language-pills{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.langbtn{flex:none;min-width:110px}.bottomnav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(20px);padding:8px 7px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:20}.bottomnav button{background:transparent;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted);font-size:10px;font-weight:900;border-radius:12px;padding:6px 4px}.bottomnav button.selected{color:var(--primary);background:var(--surface2)}.bottomnav button span{font-size:21px}.hero{grid-template-columns:1fr}.hero-art{display:none}.hero-copy{padding:30px 25px}.hero h1{font-size:34px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:13px;display:block}.stat-icon{width:40px;height:40px;font-size:19px;margin-bottom:10px}.stat strong{font-size:22px}.stat b{font-size:11px}.stat small{font-size:10px}.bottomsplit,.progress-columns{grid-template-columns:1fr}}
@media(max-width:530px){.container{padding:17px 13px 100px}.hero{border-radius:25px}.hero-copy{padding:25px 19px}.hero h1{font-size:31px}.hero-input{flex-wrap:wrap;padding:8px}.hero-input input{width:70%;font-size:13px;padding:10px}.hero-input .btn{width:100%;padding:12px}.hero-note{line-height:1.4}.langstrip{margin-bottom:14px;border-radius:17px}.langstrip-label span{display:inline;margin-left:6px}.stats{gap:8px;margin-bottom:24px}.stat{border-radius:15px;padding:11px}.stat-icon{border-radius:11px;height:33px;width:33px;font-size:17px;margin-bottom:7px}.stat strong{font-size:20px}.stat b{font-size:10px}.stat small{display:none}.scenegrid{gap:10px}.scene-card{padding:15px;border-radius:19px;min-height:194px}.scene-card .emoji{height:47px;width:47px;font-size:25px;border-radius:14px;margin-bottom:13px}.scene-card b{font-size:13px}.scene-card p{font-size:11px}.sectionhead h2{font-size:21px}.phrasegrid,.favgrid{grid-template-columns:1fr}.review-layout{grid-template-columns:1fr}.lesson-title h1{font-size:25px}.lesson-title .emoji{width:53px;height:53px;font-size:26px}.badge{font-size:10px;white-space:nowrap}.chatbox{padding:17px;border-radius:20px}.chat-prompt{font-size:12px}.bubble{max-width:96%}.review-main{padding:18px 12px}.review-ratings{gap:5px}.review-ratings button{font-size:10px;padding:12px 3px}.modal{padding:20px}.done-stats{gap:8px}.done-stats span{padding:11px;font-size:12px}.topbar .iconbtn{width:36px;height:36px;font-size:18px}.progress-columns{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.pinyin{font-weight:800;font-size:13px;color:#8d75d9;line-height:1.5;margin-top:8px}.dark .pinyin{color:#b9a8f1}


/* ---- HOY LO DIGO 3: original, joyful, premium visual identity ---- */
.hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 70% 15%,#ffffff20,transparent 42%);z-index:0}
:root{--bg:#f8f8ff;--surface:#fff;--surface2:#f5f1ff;--text:#24204b;--muted:#74708e;--line:#e9e5f4;--primary:#6137d6;--primary2:#8c60f5;--coral:#ff765f;--orange:#ffb347;--mint:#2bbd91;--shadow:0 18px 38px rgba(55,39,115,.08);--soft:0 8px 26px rgba(55,39,115,.07);--hero:linear-gradient(112deg,#5631c8 0%,#744cf1 50%,#7c72ee 100%)}
body{font-family:'Nunito Sans','DM Sans',system-ui,sans-serif;font-size:14px;background:radial-gradient(ellipse at 99% 10%,#eee7ff 0%,transparent 32%),var(--bg)}
h1,h2,h3,.brand,.page-title{font-family:'Plus Jakarta Sans','Nunito Sans',sans-serif;letter-spacing:-.045em}
.app{grid-template-columns:246px minmax(0,1fr)}
.sidebar{padding:30px 15px 18px;box-shadow:6px 0 36px rgba(68,45,128,.025)}
.logo{padding:3px 7px 30px;gap:7px;align-items:center}
.mascot-logo{width:72px;height:72px;flex:0 0 72px;filter:drop-shadow(0 4px 7px #4532a527)}
.brand{line-height:1.06;font-size:18px;letter-spacing:-.06em;display:flex;flex-direction:column;color:var(--text)}
.brand span{color:var(--primary);font-size:19px}
.slogan{font-size:10px;line-height:1.35;color:var(--muted);margin-top:7px;max-width:130px}
.nav-label{font-size:10px;letter-spacing:.16em;color:#a09ab9;margin:18px 16px 11px}
.sidebutton{font-size:14px;border-radius:14px;padding:14px 16px;margin-bottom:7px;gap:14px;color:#5b5680}
.sidebutton span:first-child{font-size:20px}
.sidebutton:hover{background:#f4efff;color:#512cba;transform:translateX(2px)}
.sidebutton.active{background:linear-gradient(105deg,#6842e3,#8a5cec);box-shadow:0 10px 20px #6241e52a;color:#fff}
.sidebar-promo{background:linear-gradient(145deg,#f8edff,#f2eaff 62%,#fff3e8);border:1px solid #eee2ff;padding:19px;border-radius:23px}
.sidebar-promo strong{font-size:16px;line-height:1.25;display:block}
.sidebar-promo p{font-size:12px;line-height:1.5}
.sidebar-promo-icon{font-size:27px;background:#fff;display:grid;place-items:center;width:49px;height:49px;border-radius:16px;color:#f5a62f;margin-bottom:12px}
.sidebar-promo button{border-radius:11px}
.small-disclaimer{text-align:center;color:var(--muted);font-size:10px;padding:14px 4px 0}
.topbar{height:77px;padding:0 clamp(22px,3vw,45px);background:#ffffffd9}
.top-date-icon{color:#f7aa32;font-size:17px}
.date-sep{padding:0 12px;color:#bcb5d4}
.top-actions{gap:10px}
.iconbtn{border-radius:14px}
.iconbtn.avatar{background:#f0eaff;color:#6c46d4;font-size:21px}
.top-brand{font-weight:1000}
.mascot-top{width:42px;height:42px}
.container{max-width:1490px;padding:29px clamp(22px,3vw,45px) 70px}
.pagelead{margin-bottom:18px}
.pagelead h2{font-size:clamp(21px,2.3vw,29px);margin:5px 0 4px}
.pagelead .eyebrow{font-weight:1000;color:#7855de}
.pagelead .badge{background:#f1e9ff;border:1px solid #e7d9ff;color:#653fd5;border-radius:999px;padding:9px 15px;font-weight:900}
.langstrip{border-radius:22px;padding:15px 20px;margin-bottom:20px;box-shadow:var(--soft);gap:14px}
.langstrip-label{font-size:13px;color:#26214c}
.langstrip-label span{color:#81799f}
.langbtn{min-height:45px;color:#544d7f;white-space:nowrap;border-radius:14px;transition:background .2s,transform .2s,box-shadow .2s;min-width:98px}
.langbtn.selected{color:#5c37d1;background:#f1e9ff;border:2px solid #b9a0ff;box-shadow:0 5px 15px rgba(111,75,225,.12)}
.langbtn:hover{transform:translateY(-2px);border-color:#a58ae9}
.hero{min-height:347px;border-radius:31px;grid-template-columns:1.15fr .85fr;box-shadow:0 22px 46px #5b40cc2e}
.hero:before{content:"";position:absolute;top:-180px;right:-100px;width:490px;height:490px;border:2px solid #ffffff25;border-radius:50%;pointer-events:none}
.hero:after{content:"";position:absolute;bottom:-260px;left:-160px;width:500px;height:500px;border:1px solid #ffffff28;border-radius:50%;pointer-events:none}
.hero-copy{padding:41px 22px 34px 41px;position:relative;z-index:2;max-width:770px}
.hero-badge{background:#ffffff25;border:1px solid #ffffff4d;border-radius:999px;padding:8px 15px;font-size:10px;letter-spacing:.07em}
.hero h1{font-size:clamp(36px,3.25vw,55px);line-height:1.07;letter-spacing:-.07em;margin:21px 0 15px}
.hero h1 em{color:#ffdb73;font-style:normal;display:inline-block;position:relative}
.hero h1 em:after{content:"";position:absolute;bottom:-8px;left:2%;width:90%;height:5px;background:#ffc94b;border-radius:99px;transform:rotate(-2deg)}
.hero p{max-width:500px;font-size:14px;line-height:1.67;color:#faf8ff}
.hero-input{margin-top:26px;border-radius:16px;max-width:615px;padding:7px;gap:10px}
.hero-input input{font-size:13px}
.hero-input .btn{border-radius:12px;padding:13px 17px}
.btn.coral{background:linear-gradient(115deg,#ff915e,#ff5e75);box-shadow:0 7px 16px #fd53724f}
.btn:hover{filter:brightness(1.07);transform:translateY(-2px)}
.hero-note{opacity:.8;font-size:11px;margin-top:15px}
.hero-art{position:relative;min-height:330px;padding:0;overflow:visible}
.hero-fox{display:flex;align-items:center;justify-content:center}
.mascot-hero{width:clamp(215px,21vw,310px);height:auto;position:relative;z-index:2;transform:rotate(-7deg);filter:drop-shadow(0 24px 17px #2b188444);animation:mascot-bob 5s ease-in-out infinite}
@keyframes mascot-bob{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-8px) rotate(-5deg)}}
.hero-orbit{position:absolute;border-radius:50%;background:#ffffff1c;border:1px solid #ffffff18}
.orbit-one{width:375px;height:375px;right:7px;top:-35px}
.orbit-two{width:260px;height:260px;right:78px;top:13px;background:#f5b4ff18}
.hero-spark{position:absolute;color:#ffdc61;font-size:34px;z-index:4}.spark-a{top:32px;left:15%}.spark-b{top:105px;right:11%}
.hello-note{background:#fff;color:#2b2456;box-shadow:0 12px 22px #25146a29;position:absolute;right:5%;bottom:42px;z-index:3;border-radius:18px;padding:12px 17px;min-width:150px;transform:rotate(6deg);display:flex;flex-direction:column;gap:2px}
.hello-note span{font-weight:800;color:#816db0;font-size:11px}.hello-note strong{font-size:19px;line-height:1.5}.hello-note small{color:#7f7894}
.stats{margin:22px 0 35px}
.stat{border-radius:21px;padding:19px 22px;background:#fff}
.stat-icon{width:54px;height:54px;border-radius:15px;background:linear-gradient(145deg,#f2e9ff,#fff4ea);display:grid;place-items:center;font-size:25px}
.stat strong{font-size:25px}
.sectionhead h2{font-size:24px}
.section-spark{color:#ffb23f}
.scenegrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.scene-card{background:linear-gradient(160deg,var(--cardTint) 0%,color-mix(in srgb,var(--cardTint) 45%,white) 62%,#fff 100%);border:1px solid color-mix(in srgb,var(--cardTint) 70%,#e4ddec);padding:17px 18px;min-height:224px;transition:transform .18s,box-shadow .18s,border-color .18s;border-radius:24px}
.scene-card:hover{transform:translateY(-6px);box-shadow:0 18px 35px #493b8430;border-color:#a997ff}
.scene-card .mini{color:#5b5278;font-size:11px;gap:5px}
.scene-card .emoji{font-size:39px;background:#ffffffb8;width:71px;height:66px;display:grid;place-items:center;border-radius:20px;box-shadow:0 4px 14px #22104512;margin:13px 0 11px}
.scene-card .scene-text b{font-size:15px;color:#222049}
.scene-card p{color:#5e577c;font-size:12px;margin-top:5px;line-height:1.4}
.scene-card .foot{margin-top:auto;padding-top:12px;color:#6543d3}
.circle-arrow{background:#fff;box-shadow:0 2px 11px #5130b921;font-size:17px}
.bottomsplit{margin-top:25px;grid-template-columns:1fr 1fr}
.weekly-panel h3,.quickcard h3{font-size:20px}
.weekly-panel .muted{font-size:12px;line-height:1.6}
.weekly-numbers{display:flex;align-items:baseline;justify-content:space-between;margin:14px 0 10px;color:#7755de;font-weight:800}
.weekly-numbers strong{font-size:26px}.weekly-numbers small{font-size:12px;color:#756b9b}
.weekly-panel .progressbar{height:11px;border-radius:999px;background:#f0e8ff}
.weekly-panel .progressbar span{background:linear-gradient(90deg,#9076ee,#48c99a);border-radius:999px}
.textlink{background:none;border:0;margin-top:13px;padding:0;color:#673ed5;font-weight:900}
.quickcard{background:linear-gradient(115deg,#fff1e9,#f8eaff 92%);border:1px solid #f1deef;position:relative;overflow:hidden;padding:27px 24px;border-radius:24px}
.quickcard h3,.quickcard p,.quickcard button,.quickcard .eyebrow{position:relative;z-index:1;max-width:75%}
.quickcard .eyebrow{color:#b45b72!important}
.daily-illustration{position:absolute;right:7%;top:34%;font-size:76px;opacity:.72;filter:drop-shadow(2px 5px 8px #53397825)}
.bottom-item.active{color:var(--primary)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ffa84c;outline-offset:3px}
.dark{--bg:#171428;--surface:#27213e;--surface2:#322a4d;--text:#faf8ff;--muted:#b8afd1;--line:#42365c;--primary:#b49bff;--primary2:#c6b6ff;--shadow:0 13px 26px #0002;--soft:0 7px 21px #0003;--hero:linear-gradient(112deg,#3b2391 0%,#5b39b5 55%,#4845a6 100%)}
.dark body{background:var(--bg)}.dark .sidebar-promo{background:#352b4c;border-color:#4a3a69}.dark .scene-card{background:linear-gradient(145deg,#37304f,#2d2543)!important;border-color:#4b3f65}.dark .scene-text b,.dark .scene-card .scene-text b{color:#fff}.dark .scene-card p,.dark .scene-card .mini{color:#d0c5e0}.dark .quickcard{background:linear-gradient(125deg,#3e2b46,#35244e);border-color:#53425f}.dark .brand{color:#fff}.dark .langstrip-label{color:#fff}.dark .stat,.dark .topbar{background:#27213e}.dark .langbtn.selected{color:#fff;background:#4a3384;border-color:#946de4}.dark .pagelead .badge{color:#e5d7ff;background:#40316a;border-color:#5e458e}
@media(min-width:821px) and (max-width:1180px){.app{grid-template-columns:205px minmax(0,1fr)}.logo{padding-left:0}.brand{font-size:15px}.brand span{font-size:16px}.mascot-logo{width:53px;height:53px;flex-basis:53px}.hero-copy{padding:32px 15px 28px 30px}.hero h1{font-size:38px}.mascot-hero{width:220px}.hello-note{bottom:26px;right:2%}}
@media(max-width:820px){.topbar{height:68px}.top-brand{gap:4px}.brand-mobile{font-family:'Plus Jakarta Sans',sans-serif;font-size:17px;color:var(--text);letter-spacing:-.045em}.brand-mobile b{color:var(--primary)}.mascot-top{width:45px;height:45px}.container{padding:23px 18px 100px}.hero{grid-template-columns:1fr;min-height:0}.hero-art{display:flex;min-height:0;position:absolute;right:-30px;top:8px;opacity:.3;pointer-events:none}.mascot-hero{width:200px}.hello-note{display:none}.hero-copy{padding:33px 26px;max-width:none}.hero-copy >*{position:relative;z-index:5}.hero-copy p{max-width:80%}.hero-input{max-width:none}.bottomnav{box-shadow:0 -9px 30px #57468c18;border-top-color:#ebe5f7;gap:4px}.bottom-item{border-radius:13px}.bottom-item.active{background:#eee7ff;color:#5f3dc9}.langstrip{padding:13px 15px}.scenegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottomsplit{grid-template-columns:1fr 1fr}}
@media(max-width:530px){.container{padding:17px 14px 112px}.pagelead h2{font-size:20px}.pagelead{align-items:flex-start;gap:8px}.pagelead .badge{padding:7px 10px;font-size:10px;white-space:nowrap}.langstrip-label{font-size:13px}.hero{border-radius:25px}.hero-copy{padding:31px 21px 29px}.hero h1{font-size:34px}.hero-copy p{max-width:none;font-size:13px;line-height:1.6;padding-right:32px}.hero-fox{top:0;right:-90px;opacity:.17}.hero-input{flex-wrap:wrap;padding:7px;border-radius:15px}.hero-input input{width:calc(100% - 38px);padding:9px 5px}.hero-input .btn{width:100%;padding:12px}.hero-note{font-size:10px}.stats{gap:8px;margin:16px 0 26px}.stat{padding:10px;border-radius:15px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.stat-icon{width:36px;height:36px;font-size:19px;border-radius:11px}.stat strong{font-size:19px}.stat b{font-size:10px;line-height:1.25}.stat small{font-size:9px}.sectionhead h2{font-size:20px}.sectionhead .muted{font-size:12px}.scenegrid{gap:10px}.scene-card{min-height:225px;border-radius:19px;padding:12px 13px}.scene-card .mini{font-size:9px}.scene-card .emoji{width:58px;height:58px;font-size:33px;margin:12px 0 10px}.scene-card .scene-text b{font-size:13px}.scene-card p{font-size:10.5px}.scene-card .foot{font-size:10px}.bottomsplit{grid-template-columns:1fr}.quickcard h3,.quickcard p,.quickcard button,.quickcard .eyebrow{max-width:74%}.weekly-panel,.quickcard{padding:22px}.bottomnav{padding:7px 8px calc(9px + env(safe-area-inset-bottom))}.bottom-item{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mascot-hero{animation:none}}

/* 5 idiomas visibles también en pantallas pequeñas */
@media(max-width:530px){.language-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:7px;width:100%}.langbtn{min-width:0;width:100%;padding:10px 6px;font-size:12px;gap:5px;min-height:42px}.langbtn .flag{font-size:17px}.langstrip{align-items:stretch}.langstrip-label{width:100%}.langstrip-label span{display:block;font-size:11px}}

/* HOY LO DIGO 4 — sistema visual aprobado: blanco, celeste y azul. */
:root{--bg:#f7fbff;--surface:#fff;--surface2:#eaf7ff;--text:#091f5d;--muted:#5e789d;--line:#dcecff;--primary:#0879ed;--primary2:#0698f0;--coral:#0879ed;--orange:#0879ed;--mint:#1ac7af;--shadow:0 10px 26px #2e80bb17;--soft:0 5px 17px #2a81bb12;--hero:linear-gradient(115deg,#72cdf8,#22a9ee 58%,#077ee4)}
body{background:radial-gradient(circle at 83% 3%,#e2f6ff 0%,transparent 36%),var(--bg);color:var(--text);font-family:'Nunito','DM Sans',system-ui,sans-serif;font-size:14px}
h1,h2,h3,h4,.brand,.hero-wordmark,.sectionhead h2,.page-title{font-family:'Nunito',system-ui,sans-serif;letter-spacing:-.045em;font-weight:1000}
button,input,select,textarea{font-family:'Nunito',system-ui,sans-serif}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #fccc42!important;outline-offset:2px}
.app{grid-template-columns:275px minmax(0,1fr)}.app:has(.phone-rail){grid-template-columns:275px minmax(0,1fr) minmax(265px,340px)}
.sidebar{background:linear-gradient(180deg,#fff 0%,#fff 69%,#f1faff 100%);border-right:1px solid #e0effe;box-shadow:none;padding:22px 13px 16px}
.sidebar .logo{display:flex;align-items:center;gap:6px;padding:0 10px 0}.mascot-logo{width:104px;height:106px;object-fit:contain;flex:none;filter:none}
.brand{font-size:27px;line-height:.87;letter-spacing:-.05em;color:#081d5e!important}.brand span{color:#081d5e!important;font-size:27px}.sidebar-slogan{text-align:center;margin:0 5px 22px;color:#19366f;font-size:15px;line-height:1.36;font-weight:800}
.sidenav{gap:3px}.sidebutton{display:flex;align-items:center;gap:16px;padding:12px 17px;border-radius:17px;margin:1px 0;color:#153364;font-weight:850;font-size:15px;transition:.15s}
.sidebutton svg{flex:none;color:#0586f1;width:24px;height:24px}.sidebutton:hover{background:#edf8ff;color:#0869cb;transform:none}
.sidebutton.active{background:linear-gradient(105deg,#159cf8,#0778ec);color:white;box-shadow:0 6px 15px #0781e538}.sidebutton.active svg{color:#fff}
.new-pill{margin-left:auto;border-radius:100px;background:#118ef1;color:white;padding:2px 8px;font-size:10px}.count-pill{margin-left:auto;color:var(--primary)}
.sidebar-bottom{margin-top:auto;padding:5px}.sidebar-promo{background:linear-gradient(148deg,#e3f4ff,#ceeaff);border:1px solid #daefff;box-shadow:none;padding:20px 18px 32px;border-radius:24px;min-height:200px}
.sidebar-promo:after{display:none}.sidebar-promo-icon{background:transparent;margin:0 0 13px;font-size:35px;width:auto;height:auto;justify-content:start}
.sidebar-promo strong{font-size:15px;color:#0c2a6e;max-width:182px}.sidebar-promo p{font-size:12px;color:#446ba2;max-width:175px;line-height:1.5}.small-disclaimer{font-size:9px;color:#92a8c0}
.main{min-width:0}.container{max-width:1400px;padding:18px 18px 42px}.topbar{position:relative;height:94px;padding:14px 23px 8px;border:0;background:transparent;backdrop-filter:none;gap:12px}
.header-greeting h1{font-family:'Nunito',sans-serif;font-size:clamp(24px,2.6vw,36px);line-height:1;margin:0 0 2px;font-weight:1000}.header-greeting h1 span{font-size:.75em}
.header-greeting p{font-size:clamp(16px,1.5vw,23px);font-weight:800;margin:0;color:#17376d;letter-spacing:-.03em}
.top-actions{gap:10px}.select-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e5efff;border-radius:99px;padding:9px 15px;box-shadow:0 5px 13px #1682df1c;min-height:48px;white-space:nowrap}
.select-pill span{font-size:23px}.select-pill select{appearance:auto;background:transparent;border:0;min-width:80px;font-weight:900;color:var(--text);font-size:14px;outline:0!important}
.select-pill .level-bars{color:#068ff3;font-size:24px;letter-spacing:-4px;margin-right:6px}.iconbtn{height:46px;width:46px;border-radius:50%;background:#fff;box-shadow:0 5px 12px #1375c018;font-size:25px;color:#071e62}.iconbtn.avatar{background:#087eef;color:white;border:none}
.home-v4{width:100%;}.hero-v4{height:235px;min-width:0;border-radius:25px;background:linear-gradient(111deg,#8be0ff 0%,#51c6fa 29%,#1fa6eb 59%,#077de2 100%);box-shadow:0 8px 19px #168bd126;position:relative;display:flex;overflow:hidden;align-items:center;isolation:isolate}
.hero-v4:before{content:"";position:absolute;inset:auto 0 0 0;height:44px;background:linear-gradient(90deg,#41c7bf,#65d1a7,transparent);clip-path:polygon(0 55%,8% 30%,15% 75%,25% 35%,30% 80%,39% 55%,46% 90%,100% 100%,0 100%);opacity:.85;z-index:1}
.hero-v4:after{content:"";position:absolute;width:420px;height:180px;right:-20px;top:-65px;background:radial-gradient(ellipse,#e3f9ff5c,transparent 70%);border-radius:50%}
.hero-bird{position:absolute;left:3%;bottom:-30px;height:245px;width:260px;z-index:2}.mascot-hero{display:block;height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 7px 0 #ffffff99)}
.hero-center{position:relative;z-index:3;text-align:center;width:calc(100% - 250px);margin-left:235px;padding:10px 30px 0 0}
.hero-wordmark{color:#06276d;font-weight:1000;font-size:clamp(34px,3.6vw,57px);letter-spacing:-.05em;line-height:1;text-shadow:0 2px 1px #def5ff50;white-space:nowrap}
.hero-center p{font-size:clamp(17px,1.6vw,25px);line-height:1.1;font-weight:1000;margin:10px 0;color:#0c60bc}
.hero-skyline{position:absolute;right:-9px;bottom:0;height:205px;width:270px;object-fit:cover;opacity:.72;z-index:0;pointer-events:none}
.hero-languages{display:flex;justify-content:center;align-items:stretch;gap:8px;background:#ffffffb8;backdrop-filter:blur(7px);padding:6px 8px;border-radius:23px;max-width:max-content;margin:6px auto 0;box-shadow:0 5px 17px #0869ba1d}
.hero-lang{padding:5px 7px;border-radius:16px;min-width:65px;background:transparent;border:2px solid transparent;display:flex;align-items:center;flex-direction:column;gap:2px;font-weight:900;font-size:11px;color:#132f6c;line-height:1.25}
.hero-lang .hero-flag{font-size:27px}.hero-lang.selected{background:#fff;border-color:#0d8bf4;box-shadow:0 3px 9px #078de225}.hero-lang:hover{background:#e5f5ff;transform:translateY(-2px)}
.section-v4{margin:14px 5px 11px;align-items:center}.sectionhead h2{color:#0a2662}.section-v4 h2,.community-heading h2{display:flex;align-items:center;gap:10px;font-size:22px;margin:0}.section-v4 h2 svg,.community-heading h2 svg{color:#087eee}.linkbtn{color:#0673ed;white-space:nowrap}
.home-scenegrid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.home-scenegrid .scene-card{height:126px;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;gap:4px;padding:8px 4px;border-radius:18px;background:var(--cardTint)!important;border:0;box-shadow:none;transition:transform .2s,box-shadow .2s}
.home-scenegrid .scene-card:hover{transform:translateY(-4px);box-shadow:0 8px 17px #167fcc25}.home-scenegrid .scene-illustration{font-size:36px;line-height:1.2;display:block;margin:0}.home-scenegrid .scene-card b{color:#102764;font-size:11px;line-height:1.15;font-weight:1000;max-width:88px}.home-scenegrid .done-mini{position:absolute;right:7px;top:4px;background:#16b39d;color:#fff;border-radius:99px;font-size:10px;width:18px;height:18px;display:grid;place-items:center}
/* Same tiles on full practice catalog, with descriptions retained for teaching */
.scenegrid:not(.home-scenegrid){grid-template-columns:repeat(4,minmax(0,1fr))}.scenegrid:not(.home-scenegrid) .scene-card{min-height:190px;background:var(--cardTint)!important;display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 12px;gap:12px;border:none}.scenegrid:not(.home-scenegrid) .scene-card .scene-illustration{font-size:49px}.scenegrid:not(.home-scenegrid) .scene-card b{font-size:17px}.scenegrid:not(.home-scenegrid) .scene-card small{font-size:12px;line-height:1.3;color:#4e688c}
.community-preview{border:1px solid #d8eeff;background:#f9fdff;border-radius:22px;box-shadow:0 3px 12px #1a8ed213;margin-top:16px;padding:13px 18px 9px}.community-heading{display:flex;align-items:center;gap:14px;margin-bottom:10px}.community-heading h2{font-size:23px}.community-heading p{font-size:12px;line-height:1.3;max-width:360px;margin:0;color:#335382;font-weight:700}.community-heading .linkbtn{margin-left:auto;font-size:12px}
.community-idea-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) 23px;gap:9px;min-width:0}.idea-card{display:flex;flex-direction:column;gap:5px;border:0;background:none;min-width:0;padding:0;text-align:left;position:relative;transition:transform .15s}.idea-card:hover{transform:translateY(-3px)}.idea-card img{width:100%;aspect-ratio:1.85;object-fit:cover;border-radius:13px}.idea-card b{font-size:11px;line-height:1.18;color:#0b2866;font-weight:950}.idea-tag{position:absolute;top:7px;left:7px;background:#fffdf0e6;border-radius:99px;font-size:9px;font-weight:900;color:#0b62b0;padding:3px 6px}.ideas-next{height:36px;width:27px;border:0;border-radius:50%;color:white;background:#087fea;align-self:center;font-size:21px}.community-note{color:#567da6;font-size:10px;margin-top:10px;line-height:1.4}
.v4-split{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;margin-top:16px}.continue-card,.challenge-card{border:1px solid #dfefff;background:#fff;border-radius:23px;min-height:145px;box-shadow:var(--soft);display:flex;align-items:center;gap:16px;padding:11px 13px}
.bank-preview{height:118px;width:145px;flex:none;background:linear-gradient(130deg,#70cefa,#d7f4ff);border-radius:18px;display:grid;place-items:center;font-size:85px}.continue-body{flex:1;min-width:0}.continue-body>span{color:#007ce6;font-size:11px;font-weight:900}.continue-body h3,.challenge-card h3{font-size:19px;margin:4px 0}.continue-body p,.challenge-card p{color:#43668d;font-size:12px;margin:0 0 8px;line-height:1.4;font-weight:700}.continue-body small{color:#5179a8;font-size:9px}.smallbar{height:9px;border-radius:99px;background:#e5ebf2;overflow:hidden;width:100%;margin:8px 0 3px}.smallbar span{background:#14b995;display:block;height:100%;border-radius:inherit}.round-go{width:40px;height:40px;display:grid;place-items:center;flex:none;background:#087ff0;color:white;border:0;border-radius:50%;font-size:25px}.challenge-card{background:linear-gradient(100deg,#e2f6ff,#fff 65%)}.challenge-icon{font-size:32px;align-self:flex-start}.challenge-card>div:nth-child(2){flex:1}.challenge-card .btn{width:100%;padding:9px 14px;background:linear-gradient(110deg,#139ef7,#057bef)}.xp-burst{background:#d7edff;color:#084cab;border:4px solid #158cf2;border-radius:50%;font-weight:1000;font-size:17px;text-align:center;padding:10px 7px;flex:none;line-height:1}.xp-burst small{font-size:11px}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 5px}.dashboard-stat{min-height:78px;background:#fff;border:1px solid #dceeff;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:var(--soft);padding:10px;transition:transform .15s}.dashboard-stat:hover{transform:translateY(-3px)}.dashboard-stat>span{font-size:29px}.dashboard-stat strong{font-size:25px;line-height:1;display:block;color:#0a2a69}.dashboard-stat small{font-size:11px;line-height:1.2;color:#375b8f;font-weight:750;display:block}.xp-hex{font-weight:1000!important;font-size:18px!important;background:#0b84eb;color:white!important;border-radius:14px;width:43px;height:43px;display:grid;place-items:center}.home-bottomnote{display:flex;justify-content:flex-end;gap:16px;padding:7px 2px}.home-bottomnote button{color:#3576ad;font-size:11px;font-weight:900;background:none;border:0}
/* Community recording library */
.community-page .local-notice{background:#eaf6ff;border:1px solid #bdddfb;border-radius:16px;padding:14px 17px;display:flex;flex-direction:column;gap:3px;color:#16456f;margin:21px 0;font-size:13px}.community-page .local-notice strong{color:#0a54a0}
.upload-panel{padding:25px;margin-bottom:25px}.upload-panel h2{font-size:24px}.upload-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:12px;align-items:end}.upload-grid .label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:900}.upload-grid .field{margin:0;min-height:45px}.upload-grid .file-field{padding:11px 8px;max-width:100%}.upload-grid .btn{min-height:45px}.community-sectionhead{align-items:center;margin:20px 0 12px}.compact-filters{display:flex;gap:5px;flex-wrap:wrap}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.media-item{min-width:0;background:#fff;border:1px solid #dcecff;border-radius:18px;overflow:hidden;box-shadow:var(--soft)}.media-player{aspect-ratio:16/10;background:#e1f6ff}.media-player video{width:100%;height:100%;object-fit:contain;background:#d7ebff}.audio-card{height:100%;background:linear-gradient(110deg,#70c7f8,#c5eeff);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.audio-card span{font-size:42px}.audio-card audio{width:88%;height:42px}.media-detail{padding:16px}.media-detail h3{font-size:16px;margin:9px 0}.media-detail small{display:block;color:#517aa6;font-weight:700}.media-detail .textlink{margin-top:8px}.community-page .community-idea-row{grid-template-columns:repeat(5,minmax(0,1fr)) 25px}
/* Generic learning pages: keep all existing controls and reapply the blue design system */
.panel,.phrase,.favitem,.review-main,.review-side,.stat{border-color:#dbefff;box-shadow:var(--soft)}.btn{background:linear-gradient(105deg,#1596f6,#0879ec);box-shadow:0 7px 15px #0c89dd26}.btn.coral{background:linear-gradient(105deg,#21a7fa,#057be9);box-shadow:0 7px 16px #068bea2b}.btn.secondary{color:#0c72dc;background:#e8f6ff}.tag,.badge,.chip.active{background:#eaf6ff;color:#056fc8;border-color:#bce4ff}.levelbtn.selected{border-color:#0a90ec;color:#0876df;background:#e8f5ff}
.textlink,.circle-arrow,.back,.pinyin{color:#0d82e7}.progressbar span,.barfg{background:linear-gradient(105deg,#078bec,#1cb7c4)!important}.scene-card:hover,.phrase:hover{border-color:#8bcbfa}.foreign{color:#0a2f76}.translated{color:#0679cb}.dark{--bg:#0c1932;--surface:#142643;--surface2:#1b3653;--text:#f2f8ff;--muted:#a9c2d9;--line:#315273;--primary:#65c5ff;--primary2:#0f91eb;--shadow:0 13px 26px #0004;--soft:0 7px 21px #0003;--hero:linear-gradient(115deg,#0963a4,#0b3e7d)}
.dark body{background:var(--bg)}.dark .sidebar{background:#142642;border-color:#264666}.dark .brand,.dark .brand span,.dark .sidebar-slogan,.dark .header-greeting p{color:#f0f8ff!important}.dark .sidebutton{color:#b8d1e9}.dark .sidebutton svg{color:#61c2ff}.dark .sidebutton.active svg{color:white}.dark .sidebar-promo{background:#183d60;border-color:#356488}.dark .sidebar-promo strong,.dark .sidebar-promo p{color:#f1f9ff}.dark .topbar{background:transparent}.dark .select-pill{background:#223e62;border-color:#386589}.dark .select-pill select{color:#fff}.dark .community-preview,.dark .continue-card,.dark .dashboard-stat,.dark .media-item{background:#172c4c;border-color:#365475}.dark .challenge-card{background:#1c4168}.dark .scene-card b,.dark .idea-card b,.dark .community-heading h2,.dark .continue-body h3,.dark .challenge-card h3,.dark .dashboard-stat strong,.dark .dashboard-stat small{color:#ecf8ff!important}.dark .community-heading p,.dark .continue-body p,.dark .challenge-card p{color:#b5d4ed}.dark .community-page .local-notice{background:#143c63;color:#e6f5ff;border-color:#2d75ad}.dark .community-page .local-notice strong{color:#9bd9ff}
/* Large viewport composition retains the approved phone mockup as an interactive companion. */
.phone-rail{position:sticky;top:0;height:100vh;background:linear-gradient(135deg,#def5ff,#c2e8ff);display:flex;align-items:center;justify-content:center;padding:18px 13px;min-width:0}.phone-frame{width:100%;max-width:326px;height:min(780px,93vh);border:7px solid #092762;box-shadow:0 9px 27px #0c518b44, inset 0 0 0 3px white;background:white;border-radius:45px;overflow:hidden;display:flex;flex-direction:column;padding:17px 10px 9px;gap:8px;position:relative}.phone-status{font-size:12px;font-weight:1000;display:flex;justify-content:space-between;padding:0 10px}.phone-logo{display:flex;justify-content:center;align-items:center;margin:5px 0 3px}.phone-logo img{height:58px;width:69px}.phone-logo strong{font-size:20px;font-weight:1000;line-height:.86;letter-spacing:-.05em}.phone-hero{background:linear-gradient(110deg,#5cc9fb,#0788e8);height:155px;border-radius:15px;display:flex;align-items:center;gap:4px;overflow:hidden;flex:none}.phone-hero img{width:51%;height:165px;object-fit:contain;align-self:flex-end;margin-bottom:-26px}.phone-hero h3{color:white;font-size:19px;line-height:1.12;text-align:center;margin:0 6px 0 0}.phone-langs{display:flex;justify-content:space-between;gap:2px}.phone-langs button{flex:1;font-size:10px;padding:4px 2px;border:1px solid transparent;background:#fff;color:#14376c;font-weight:800;border-radius:10px;display:flex;flex-direction:column}.phone-langs button.selected{border-color:#168deb;background:#eff8ff}.phone-langs button span{font-size:20px}.phone-frame h4{font-size:15px;margin:13px 3px 0}.phone-scenes{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.phone-scenes button{background:#e5f2ff;border:0;border-radius:14px;font-weight:850;display:flex;flex-direction:column;align-items:center;padding:11px 5px;gap:4px;font-size:11px;color:#173466}.phone-scenes button:nth-child(3){background:#fff0dc}.phone-scenes button:nth-child(4){background:#e5f8ec}.phone-scenes span{font-size:27px}.phone-community,.phone-continue{background:#f0f9ff;border-radius:14px;border:1px solid #d9edff;padding:11px;display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:#12376c;font-size:12px;font-weight:900}.phone-community b{font-size:12px}.phone-community small,.phone-continue small{display:block;font-size:10px;font-weight:700}.phone-community .phone-icon{font-size:23px}.phone-community .new-pill{margin-left:auto}.phone-continue{background:linear-gradient(100deg,#148ef2,#0374e2);color:#fff}.phone-mini-nav{display:flex;margin-top:auto;justify-content:space-around;border-top:1px solid #e1ecf6;padding-top:9px}.phone-mini-nav button{font-size:9px;font-weight:850;border:0;background:transparent;color:#5f7a9d;display:flex;flex-direction:column;align-items:center;gap:3px}.phone-mini-nav svg{width:20px;height:20px}.phone-mini-nav button:first-child{color:#057de4}
@media(max-width:1570px){.app:has(.phone-rail){grid-template-columns:252px minmax(0,1fr)}.phone-rail{display:none}.home-scenegrid{gap:9px}.sidebar{padding-left:11px;padding-right:11px}}
@media(min-width:1571px){.home-v4 .hero-center{margin-left:200px;width:calc(100% - 200px)}.hero-bird{width:240px}}
@media(max-width:1180px){.sidebar .logo{padding:0 2px}.mascot-logo{width:75px;height:82px}.brand,.brand span{font-size:21px}.sidebar-slogan{font-size:12px}.app{grid-template-columns:225px minmax(0,1fr)}.home-scenegrid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-scenegrid .scene-card{height:110px}.hero-v4{height:260px}.hero-bird{width:210px;height:230px;bottom:-24px}.hero-center{margin-left:195px;width:calc(100% - 205px)}.hero-wordmark{font-size:39px}.hero-skyline{width:200px}.community-heading p{max-width:220px}.community-idea-row{grid-template-columns:repeat(5,minmax(0,1fr))}.ideas-next{display:none}.v4-split{grid-template-columns:1fr 1fr}.bank-preview{width:95px;font-size:60px}}
@media(max-width:820px){.app,.app:has(.phone-rail){display:block}.sidebar,.phone-rail{display:none}.topbar{height:67px;background:#ffffffb0;padding:7px 15px;border-bottom:1px solid #dfedff}.header-greeting{display:none}.top-brand{display:flex;gap:2px;align-items:center}.mascot-top{height:52px;width:53px;object-fit:contain}.brand-mobile{font-size:16px;font-family:'Nunito',sans-serif;color:#071e62;line-height:.95;font-weight:1000}.brand-mobile b{color:#071e62;display:block}.select-pill{padding:4px 7px;min-height:38px}.select-pill span{font-size:16px}.select-pill select{font-size:11px;min-width:58px}.top-actions .select-pill:nth-child(2){display:none}.top-actions .iconbtn{height:36px;width:36px;font-size:20px}.container{padding:14px 15px 110px}.bottomnav{background:#fff;border-top:1px solid #dbeeff;box-shadow:0 -5px 20px #267ac51b}.bottom-item.active{background:#e5f5ff;color:#0678dd}.hero-v4{height:auto;min-height:236px}.hero-center{margin-left:180px;width:calc(100% - 180px);padding-right:13px}.hero-wordmark{font-size:clamp(27px,5vw,46px)}.hero-center p{font-size:18px}.hero-bird{left:0;width:190px;bottom:-32px}.hero-languages{gap:2px;padding:4px}.hero-lang{min-width:46px;padding:4px;font-size:9px}.hero-lang .hero-flag{font-size:21px}.hero-skyline{width:170px}.home-scenegrid{grid-template-columns:repeat(4,1fr);gap:7px}.community-heading{flex-wrap:wrap}.community-heading p{max-width:420px}.community-heading .linkbtn{margin-left:auto}.community-idea-row{grid-template-columns:repeat(3,1fr);gap:10px}.idea-card:nth-child(n+4){display:none}.v4-split{grid-template-columns:1fr 1fr}.dashboard-stats{grid-template-columns:repeat(4,1fr)}.scenegrid:not(.home-scenegrid){grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.topbar{gap:4px}.top-actions .select-pill{display:none}.container{padding:12px 12px 97px}.hero-v4{height:210px;min-height:210px;border-radius:19px}.hero-bird{height:192px;width:171px;left:-12px;bottom:-23px}.hero-center{margin-left:136px;width:calc(100% - 139px);padding:8px 8px 0 0}.hero-wordmark{font-size:clamp(24px,6.2vw,36px);white-space:normal;line-height:1.0}.hero-center p{font-size:13px;margin:6px 0}.hero-languages{max-width:100%;flex-wrap:nowrap;gap:1px;padding:3px 2px;margin:7px auto}.hero-lang{min-width:0;padding:4px 1px;font-size:8px}.hero-lang .hero-flag{font-size:17px}.hero-skyline{width:140px;height:138px;opacity:.37}.section-v4{margin:13px 0 10px}.section-v4 h2{font-size:18px;gap:6px}.section-v4 h2 svg{height:19px;width:19px}.section-v4 .linkbtn{font-size:11px}.home-scenegrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.home-scenegrid .scene-card{height:92px;min-height:92px;border-radius:13px;padding:6px 2px}.home-scenegrid .scene-illustration{font-size:29px}.home-scenegrid .scene-card b{font-size:9.5px;line-height:1.13}.community-preview{padding:12px 11px;border-radius:17px;margin-top:13px}.community-heading{gap:6px}.community-heading h2{font-size:18px}.community-heading h2 svg{width:20px;height:20px}.community-heading p{width:100%;order:3;font-size:11px}.community-heading .linkbtn{font-size:10px}.community-idea-row{grid-template-columns:repeat(2,1fr)}.idea-card:nth-child(n+3){display:none}.idea-card b{font-size:10px}.community-note{font-size:9px}.v4-split{grid-template-columns:1fr;gap:9px;margin-top:13px}.continue-card,.challenge-card{min-height:112px;border-radius:17px}.bank-preview{width:96px;height:86px;font-size:53px}.continue-body h3,.challenge-card h3{font-size:17px}.continue-body p,.challenge-card p{font-size:11px}.challenge-card .btn{width:auto}.dashboard-stats{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:11px}.dashboard-stat{min-height:72px}.dashboard-stat strong{font-size:21px}.dashboard-stat>span{font-size:24px}.home-bottomnote{justify-content:center}.scenegrid:not(.home-scenegrid){grid-template-columns:repeat(2,1fr)}.upload-grid{grid-template-columns:1fr}.community-page .community-idea-row{grid-template-columns:repeat(2,1fr)}.media-grid{grid-template-columns:1fr}.community-sectionhead{align-items:flex-start;flex-direction:column;gap:8px}.compact-filters{gap:4px}}
@media(prefers-reduced-motion:reduce){.hero-hero,.mascot-hero,.idea-card{animation:none!important;transition:none!important}}
@media(max-width:820px){.bottomnav{z-index:50;min-height:69px}.bottomnav button{font-family:'Nunito',sans-serif;font-size:10px!important;gap:3px;padding:6px 2px!important}.bottomnav button span{font-size:10px!important;line-height:1.05!important;white-space:nowrap}.bottomnav button svg{width:20px;height:20px}.bottomnav button.active{background:#e5f4ff!important;color:#057aec!important}.bottomnav button.active span{color:#057aec!important}}
.media-actions{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:10px;flex-wrap:wrap}.media-actions .textlink{margin:0;font-size:11px}
.steps-track .rail.active{background:linear-gradient(90deg,#0784f4,#69caff)}.steps-track .rail{background:#e1edfa}.lesson-title .emoji{background:#e3f4ff}.tag{background:#e8f6ff;color:#0674d8}.review-ratings button:nth-child(4){background:#def1ff;color:#1475b8}.import-label{position:relative;cursor:pointer}.hidden-file{position:absolute!important;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}



/* Final UI refinements */
.sidebar{padding-top:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.sidebar .logo{padding:0 8px 0;gap:8px;align-items:center}
.mascot-logo{width:92px;height:94px;flex:none;object-fit:contain}
.brand,.brand span{font-size:31px!important;line-height:.84;color:#081d5e!important}
.sidebar-slogan{margin:4px 8px 22px;color:#173e73;font-size:14px;font-weight:900;line-height:1.3;text-align:center}
.topbar{background:rgba(248,252,255,.92);border-bottom:1px solid #deeffd}
.top-actions .select-pill:first-child span:first-child,
.langbtn .flag,
.hero-lang .hero-flag,
.phone-langs button span:first-child{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #cfe6fb,0 2px 5px rgba(7,113,196,.08)}
.top-actions .select-pill:first-child span:first-child{width:34px;height:34px;font-size:22px}
.langbtn{gap:10px;color:#1a3a6f}
.langbtn .flag{width:34px;height:34px;font-size:22px}
.langbtn.selected{background:#edf7ff;border-color:#9ed2fb;color:#0f63b5;box-shadow:inset 0 0 0 1px #bee2fd}
.hero-languages{background:rgba(255,255,255,.9);border:1px solid #cfe8fb;box-shadow:0 8px 18px rgba(8,105,186,.10)}
.hero-lang{padding:6px 8px;color:#10386d}
.hero-lang .hero-flag{width:44px;height:44px;font-size:26px}
.hero-lang span:last-child{font-size:12px;line-height:1.1;font-weight:1000}
.hero-lang.selected{background:#fff;border-color:#0d8bf4;box-shadow:0 4px 12px rgba(7,141,226,.18)}
.phone-langs button span:first-child{width:28px;height:28px;font-size:18px;margin:0 auto 2px}
.section-v4 h2,.section-v4 h2 svg,.section-v4 .linkbtn{color:#0b2b63}
.home-scenegrid .scene-card{border:1px solid rgba(13,121,237,.12)!important;box-shadow:0 3px 10px rgba(17,111,190,.06)!important}
.home-scenegrid .scene-card b{color:#0e2d64;font-size:12px;line-height:1.18;font-weight:1000;max-width:92px;text-wrap:balance}
.scenegrid:not(.home-scenegrid) .scene-card b{color:#0f2f67}
.scenegrid:not(.home-scenegrid) .scene-card small{color:#355983;font-weight:700}
.done-mini{box-shadow:0 3px 10px rgba(0,0,0,.08)}
.phone-logo strong{color:#081d5e}
.phone-community,.phone-scenes button,.phone-frame h4,.phone-continue{font-family:'Nunito',system-ui,sans-serif}
@media(max-width:1180px){.mascot-logo{width:82px;height:84px}.brand,.brand span{font-size:24px!important}.sidebar-slogan{font-size:12px}}
@media(max-width:820px){.topbar{background:rgba(255,255,255,.96)}.top-actions .select-pill:first-child span:first-child{width:28px;height:28px;font-size:18px}}
@media(max-width:580px){.home-scenegrid .scene-card b{font-size:10px;max-width:100%}.hero-lang .hero-flag{width:30px;height:30px;font-size:18px}}



/* VERSION 4.2 VERIFIED: brand mark, real vector flags, readability in light/dark */
.sidebar .logo{display:flex!important;align-items:center!important;gap:9px!important;padding:2px 5px 6px!important;min-width:0}
.brand-mark{width:84px;height:94px;display:block;flex:none;object-fit:contain}
.sidebar .brand{font-family:'Nunito',Arial,sans-serif!important;font-size:28px!important;font-weight:1000!important;letter-spacing:-.075em!important;line-height:.87!important;color:#08285d!important;white-space:normal!important}
.sidebar .brand span{font-size:28px!important;display:block;color:#08285d!important;white-space:nowrap}
.sidebar-slogan{font-size:13.5px!important;margin:0 12px 24px!important;line-height:1.35!important;color:#1b4377!important;font-weight:900!important;text-align:center!important}
.top-brand .brand-mark{height:48px;width:50px}.phone-logo .brand-mark{height:56px;width:61px}.phone-logo{gap:4px}
.flag-holder{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:transparent!important;box-shadow:none!important;width:auto!important;height:auto!important;flex:none!important;vertical-align:middle}
.language-flag{display:block;object-fit:cover;width:35px;height:24px;border:1px solid #cadef2;border-radius:5px;box-shadow:0 2px 4px rgba(5,64,117,.08);background:#fff;vertical-align:middle}
.hero-lang{color:#092d66!important;font-weight:1000!important;font-size:12px!important;gap:4px!important;min-width:68px}
.hero-lang .language-flag{width:43px;height:29px;border-radius:5px}
.hero-lang.selected{border:2px solid #087fee!important;background:#fff!important;box-shadow:0 3px 10px rgba(13,126,231,.14)!important}
.hero-lang span:last-child{color:#0b2c61!important;font-size:12px!important;font-weight:1000!important}
.langbtn{color:#10386e!important;font-weight:900!important}
.langbtn .language-flag{width:37px;height:25px}
.select-pill .flag-holder{font-size:initial!important}
.select-pill .language-flag{width:33px;height:22px}
.phone-langs .flag-holder{background:none!important;border:none!important;box-shadow:none!important;width:auto!important;height:auto!important}
.phone-langs .language-flag{width:29px;height:20px}
.home-scenegrid .scene-card{padding:9px 5px!important;gap:6px!important;min-height:136px!important;height:auto!important;justify-content:center!important;border:1px solid rgba(14,105,196,.16)!important;box-shadow:0 5px 15px rgba(9,95,174,.07)!important}
.home-scenegrid .scene-card b{display:block!important;font-family:'Nunito',Arial,sans-serif!important;font-size:13px!important;line-height:1.26!important;font-weight:1000!important;letter-spacing:-.025em!important;color:#082858!important;max-width:100%!important;text-shadow:none!important;text-wrap:balance;overflow-wrap:normal}
.home-scenegrid .scene-illustration{font-size:39px!important;line-height:1.15!important}
.section-v4 h2{font-family:'Nunito',Arial,sans-serif!important;font-size:clamp(20px,2vw,25px)!important;color:#071f57!important;line-height:1.2!important;font-weight:1000!important;letter-spacing:-.035em!important}
.section-v4 .linkbtn{color:#006dd0!important;font-size:13px!important;font-weight:900!important}
.scenegrid:not(.home-scenegrid) .scene-card{min-height:190px}
.scenegrid:not(.home-scenegrid) .scene-card b{color:#092b63!important;font-size:18px!important;line-height:1.26!important}
.scenegrid:not(.home-scenegrid) .scene-card small{color:#254f77!important;font-weight:800!important}
/* The previous CSS forced almost-white lettering onto pastel tiles in dark mode. */
.dark .home-scenegrid .scene-card b,.dark .scenegrid:not(.home-scenegrid) .scene-card b{color:#082858!important}
.dark .scenegrid:not(.home-scenegrid) .scene-card small{color:#254f77!important}
.dark .hero-lang,.dark .hero-lang span:last-child{color:#092d66!important}
.dark .sidebar .brand,.dark .sidebar .brand span,.dark .sidebar-slogan{color:#eaf6ff!important}
.dark .section-v4 h2{color:#e7f5ff!important}
.dark .section-v4 .linkbtn{color:#7bcaff!important}
@media(max-width:1570px){.home-scenegrid{gap:9px!important}}
@media(max-width:1180px){.sidebar .brand,.sidebar .brand span{font-size:23px!important}.brand-mark{width:70px;height:81px}.home-scenegrid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-scenegrid .scene-card{min-height:122px!important}}
@media(max-width:820px){.top-brand .brand-mark{width:46px;height:46px}.home-scenegrid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-lang .language-flag{width:35px;height:24px}.hero-lang{min-width:47px!important}}
@media(max-width:580px){.home-scenegrid{gap:7px!important}.home-scenegrid .scene-card{min-height:106px!important;padding:7px 3px!important;gap:5px!important}.home-scenegrid .scene-card b{font-size:10.5px!important;line-height:1.22!important}.home-scenegrid .scene-illustration{font-size:29px!important}.hero-lang .language-flag{width:25px;height:18px;border-radius:3px}.hero-lang{min-width:0!important;font-size:9px!important;padding:4px 2px!important;gap:3px!important}.hero-lang span:last-child{font-size:9px!important}.hero-languages{padding:4px!important;gap:2px!important;max-width:100%}}

/* ─── HOY LO DIGO 4.3 · Recompensas: sistema azul + blanco ─── */
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c3e1f7 transparent}
.sidebutton[data-id="recompensas"]{color:#0c66b7;background:#eff8ff}
.sidebutton[data-id="recompensas"].active{color:#fff;background:linear-gradient(100deg,#068ef3,#0772dc)}
.equipped-badge{font-size:24px;vertical-align:baseline;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;background:#e7f5ff;border:2px solid #c3e7ff;border-radius:14px;height:38px;min-width:38px;box-shadow:0 5px 15px #007bd71c}
.rewards-home{background:linear-gradient(112deg,#e8f7ff 0%,#f8fcff 62%,#dcedff 100%);border:1px solid #cfeaff;border-radius:22px;padding:18px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 5px 19px rgba(15,95,171,.08);margin:16px 0}
.rewards-home-icon{background:#fff;border:1px solid #cce9ff;border-radius:18px;width:64px;height:64px;display:grid;place-items:center;font-size:31px;flex:none}
.rewards-home-copy{flex:1;min-width:0}
.rewards-home-copy h2{font-size:19px;margin:2px 0 3px;color:#092b66;letter-spacing:-.025em}
.rewards-home-copy p{color:#355c8a;font-size:12px;margin:0 0 8px}
.rewards-home-copy p strong{color:#0a4a98}
.rewards-kicker{font-size:10px;letter-spacing:.11em;font-weight:1000;color:#057bdd}
.rewards-meter{height:9px;border-radius:40px;overflow:hidden;background:#d2e7f6;width:100%;border:1px solid #cee2f3}
.rewards-meter>span{display:block;height:100%;border-radius:40px;background:linear-gradient(90deg,#13b0fa,#0579e7);transition:width .35s ease}
.rewards-meter.small{height:7px}
.rewards-home-count{padding:5px 12px;min-width:83px;text-align:center;border-left:1px solid #cfe6f8;border-right:1px solid #cfe6f8}
.rewards-home-count strong{font:1000 23px/1 'Nunito',sans-serif;color:#0a53a3;display:block;white-space:nowrap}
.rewards-home-count small{font-size:11px;color:#5c7697;font-weight:800}
.rewards-open{font-size:12px;padding:12px 14px;white-space:nowrap;flex-shrink:0;background:linear-gradient(110deg,#0a94f4,#0873e3)}
.rewards-page-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.rewards-page-title h1{margin:8px 0 5px;color:#092b66}
.rewards-page-title p{margin:0;max-width:690px;line-height:1.6;color:#53749b}
.rewards-total{font-size:12px;font-weight:1000;color:#0968bc;background:#e7f5ff;border:1px solid #c1e4ff;border-radius:22px;padding:10px 14px;white-space:nowrap}
.rewards-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.reward-summary-tile{background:#fff;border:1px solid #d8ebfa;border-radius:20px;padding:18px;display:flex;gap:12px;align-items:center;box-shadow:0 5px 20px rgba(15,95,171,.04)}
.reward-summary-icon{width:53px;height:53px;border-radius:16px;display:grid;place-items:center;font-size:25px;background:#eaf7ff;flex:none}
.reward-summary-tile strong{font:1000 28px/1.1 'Nunito',sans-serif;color:#092d66;display:block}
.reward-summary-tile b{font-size:12px;display:block;color:#143f77}
.reward-summary-tile small{font-size:10px;color:#56779b}
.rewards-next{background:linear-gradient(120deg,#e8f6ff,#ffffff);border:1px solid #bfe5ff;border-radius:22px;padding:23px;display:grid;grid-template-columns:78px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:28px}
.rewards-next-emblem{width:77px;height:77px;border-radius:23px;background:white;box-shadow:0 5px 17px rgba(15,100,172,.11);display:grid;place-items:center;font-size:40px}
.rewards-next h3{font-size:21px;color:#0a2e67;margin:4px 0}
.rewards-next p{color:#56769a;margin:0 0 9px}
.rewards-next small{color:#476d91;font-weight:800;display:block;margin-top:6px}
.rewards-collection-head h2{color:#0d3068}
.rewards-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.reward-card{background:#fff;border:1px solid #d8e9f9;border-radius:23px;min-width:0;padding:17px 14px;box-shadow:0 6px 20px rgba(20,99,166,.05);display:flex;flex-direction:column;align-items:center;text-align:center;min-height:304px}
.reward-card.unlocked{border-color:#8fceff;background:linear-gradient(180deg,#f5fbff,#fff);box-shadow:0 6px 23px rgba(6,126,225,.11)}
.reward-card.locked .reward-icon{filter:grayscale(.8);opacity:.55}
.reward-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:9px}
.reward-kind{font-size:10px;color:#6284a7;font-weight:900}
.reward-state{background:#edf5fb;color:#5e7a94;border-radius:15px;font-size:9px;font-weight:900;padding:4px 7px;white-space:nowrap}
.reward-card.unlocked .reward-state{background:#e0f4ff;color:#056fb9}
.reward-icon{width:74px;height:74px;border-radius:25px;background:linear-gradient(145deg,#e6f6ff,#d3edff);display:grid;place-items:center;font-size:35px;margin:3px auto 10px}
.reward-card h3{font-size:15px;color:#0c3169;margin:3px 0 5px;min-height:38px;line-height:1.2}
.reward-card p{font-size:11px;color:#59799b;margin:0 0 14px;line-height:1.45;min-height:42px}
.reward-status{color:#52779a;font-weight:800;font-size:10px;margin:7px 0 11px}
.reward-buttons{display:flex;gap:5px;align-items:center;margin-top:auto;width:100%}
.reward-equip,.reward-download{background:#0b82e8;color:white;border:0;border-radius:12px;font-weight:900;font-size:11px;padding:10px 7px;min-height:39px}
.reward-equip{flex:1}
.reward-equip:hover,.reward-download:hover{background:#046ac3}
.reward-download{width:40px;flex:none;font-size:18px}
.reward-locked-label{margin-top:auto;font-size:10px;color:#68849f;font-weight:750;line-height:1.35}
.reward-info{background:#eff8ff;border:1px solid #cfe6fa;border-radius:18px;padding:20px 22px;margin-top:22px}
.reward-info strong{color:#0c3b75}
.reward-info p{color:#41688c;font-size:12px;line-height:1.75;margin:7px 0 0}
.dark .sidebutton[data-id="recompensas"]{background:#173f69;color:#bde6ff}
.dark .sidebutton[data-id="recompensas"].active{background:#067de6;color:white}
.dark .rewards-home,.dark .rewards-next{background:#153c62;border-color:#305b83}
.dark .rewards-home h2,.dark .rewards-next h3,.dark .reward-summary-tile strong,.dark .reward-summary-tile b,.dark .rewards-page-title h1,.dark .reward-card h3,.dark .rewards-collection-head h2{color:#effaff}
.dark .rewards-home p,.dark .rewards-next p,.dark .reward-card p,.dark .reward-status,.dark .reward-info p,.dark .reward-summary-tile small,.dark .rewards-page-title p{color:#c0daf1}
.dark .rewards-home-icon,.dark .reward-summary-icon,.dark .rewards-next-emblem{background:#224d74;border-color:#3b698d}
.dark .reward-summary-tile,.dark .reward-card,.dark .reward-info{background:#183755;border-color:#315d82}
.dark .reward-card.unlocked{background:#194466;border-color:#4b8dbc}
.dark .rewards-home-count strong,.dark .rewards-kicker{color:#73cbff}
.dark .rewards-total,.dark .reward-state{background:#254867;border-color:#3c739a;color:#cfefff}
.dark .reward-kind,.dark .reward-locked-label,.dark .rewards-home-count small{color:#bdd2e6}
.dark .reward-info strong{color:#d5efff}
@media(max-width:1180px){.rewards-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.rewards-home{flex-wrap:wrap}.rewards-open{margin-left:auto}}
@media(max-height:780px) and (min-width:821px){.sidebar-promo{padding:11px 14px}.sidebar-bottom{padding:4px}.sidebar-slogan{margin-bottom:11px}.sidebutton{padding-top:9px;padding-bottom:9px}}
@media(max-width:820px){.rewards-home{padding:14px;gap:10px}.rewards-open{margin-left:0}.rewards-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.reward-summary-tile{padding:12px}.reward-summary-icon{width:42px;height:42px}}
@media(max-width:580px){.rewards-home-icon{width:48px;height:48px;font-size:25px;border-radius:14px}.rewards-home-copy{flex-basis:calc(100% - 65px)}.rewards-home-copy h2{font-size:16px}.rewards-home-count{border:0;min-width:0;padding:3px 0;text-align:left}.rewards-home-count strong{font-size:18px}.rewards-open{margin-left:auto}.rewards-page-title{align-items:flex-start;flex-direction:column}.rewards-summary{grid-template-columns:1fr;gap:7px}.reward-summary-tile{padding:12px}.rewards-next{grid-template-columns:54px 1fr;gap:12px;padding:13px}.rewards-next-emblem{width:54px;height:54px;font-size:26px;border-radius:15px}.rewards-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reward-card{padding:11px 8px;min-height:298px;border-radius:17px}.reward-icon{width:60px;height:60px;font-size:27px}.reward-card h3{font-size:13px;min-height:36px}.reward-card p{font-size:10px;min-height:47px}.reward-top{flex-direction:column;gap:3px}.reward-equip{font-size:10px;padding:7px 5px}.reward-download{width:30px;padding:8px 5px}.reward-card .reward-buttons{gap:4px}.reward-info{padding:14px}}

/* 4.4 · Two independent language selectors and readable 7-language chips */
.ui-locale-select{border:2px solid #b6defd!important;background:#eaf7ff!important;box-shadow:0 2px 9px #5cbeef18}
.ui-locale-select select{max-width:125px;min-width:75px;font-weight:900;color:#0755aa}
.learn-lang-select select{max-width:135px;min-width:85px}
.level-select select{max-width:120px}
.disabled-lang{opacity:.44;filter:grayscale(.2);cursor:not-allowed!important}
.langbtn.disabled-lang,.hero-lang.disabled-lang{border-style:dashed!important}
.language-help{margin:3px 0 7px;font-size:12px;color:#27649b;font-weight:700}
.npc-source{display:block;border-top:1px solid #dbe8f6;padding-top:7px;margin-top:8px;font-weight:500;color:#416589;font-size:12px;line-height:1.4}
.chat-prompt span{display:block;margin-top:7px;font-weight:750;color:#0b315f}
.original-note summary{font-size:12px;color:#096aab;font-weight:800;cursor:pointer;list-style:revert}
.original-note span{display:block;padding-top:7px;font-size:12px;line-height:1.45;color:#426078}
.hero-languages{flex-wrap:wrap;max-width:min(100%,600px);gap:4px}
.hero-lang{min-width:64px;flex:1;padding:4px 5px;max-width:95px}
.hero-lang span:last-child{font-size:11px;text-wrap:balance;overflow-wrap:anywhere}
.langbtn{min-width:114px}
.phone-langs{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;gap:4px;justify-content:flex-start}
.phone-langs button{flex:0 0 50px;min-width:50px;font-size:9px}
.topbar .top-actions{flex-wrap:nowrap;gap:7px}
.header-greeting h1{font-size:clamp(22px,2.2vw,36px)}
.dark .ui-locale-select{background:#18456a!important;border-color:#478ec3!important}
.dark .ui-locale-select select{color:#ecf9ff!important}
.dark .npc-source{color:#bde4fb;border-top-color:#315b78}
.dark .original-note summary{color:#97dafe}
.dark .original-note span{color:#c9e3f3}
@media(max-width:1180px){.header-greeting{max-width:250px}.top-actions .level-select{display:none}.topbar .top-actions{gap:4px}.ui-locale-select select{max-width:110px}.learn-lang-select select{max-width:110px}}
@media(max-width:820px){.top-actions .ui-locale-select{display:flex!important;padding:4px 5px!important}.top-actions .ui-locale-select select{display:block!important;font-size:11px!important;min-width:54px!important;max-width:78px!important}.top-actions .ui-locale-select span{font-size:16px}.top-actions .learn-lang-select{display:flex!important;padding:4px 5px!important}.top-actions .learn-lang-select select{font-size:11px!important;min-width:50px;max-width:86px}.top-actions .level-select{display:none!important}.top-actions .iconbtn.avatar{display:none}.hero-center{margin-left:160px;width:calc(100% - 166px)}.hero-bird{max-width:195px}.hero-languages{gap:2px}.hero-lang{min-width:44px;max-width:65px}.hero-lang .flag-holder{width:29px;height:25px}}
@media(max-width:580px){.top-actions .learn-lang-select{display:none!important}.top-actions .ui-locale-select{display:flex!important}.top-actions .ui-locale-select select{max-width:88px}.hero-v4{min-height:246px!important;height:auto!important}.hero-center{margin-left:126px;width:calc(100% - 131px);padding:8px 6px 11px 0}.hero-wordmark{font-size:clamp(23px,5.8vw,35px)}.hero-center p{font-size:12px;line-height:1.2}.hero-languages{gap:2px 3px;padding:5px}.hero-lang{min-width:42px;max-width:none;flex:1 1 27%;padding:2px 3px}.hero-lang .flag-holder{width:27px;height:24px}.hero-lang span:last-child{font-size:9px}.hero-bird{width:155px;height:190px;left:-14px;bottom:-18px}.section-v4 h2{font-size:17px}.scene-card b{overflow-wrap:anywhere}}
@media(max-width:380px){.hero-center{margin-left:118px;width:calc(100% - 120px)}.hero-bird{width:140px}.top-actions .ui-locale-select{max-width:116px}}

/* HOY LO DIGO 4.5 — Mi plan / próximo diálogo. Palette from approved blue and white design. */
.plan-page{max-width:1120px;margin:auto;color:#092960}.plan-page h1,.plan-page h2,.plan-page h3{color:#0b2b65}.plan-page .muted{color:#547397}
.plan-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 23px}.plan-heading h1{margin:6px 0 10px;font-size:clamp(27px,3vw,36px)}.plan-heading p{color:#577293;margin:0;max-width:650px;font-size:14px}.plan-status{background:#edf8ff;color:#066cb9;border:1px solid #b5e2fd;padding:9px 16px;border-radius:50px;font-size:12px;font-weight:900;white-space:nowrap}
.plan-home{margin:14px 0 20px;border-radius:22px;display:flex;align-items:center;gap:18px;padding:19px 23px;background:linear-gradient(110deg,#eaf8ff 0%,#f8fcff 65%,#e5f5ff 100%);border:1px solid #bedff6;box-shadow:0 7px 18px #126bba13}.plan-home-art{min-width:65px;display:grid;place-items:center;background:linear-gradient(135deg,#c9edff,#e6f7ff);width:65px;height:65px;border-radius:18px;font-size:35px;color:#0a8add;position:relative}.plan-home-art span:first-child{position:absolute;top:1px;right:8px;font-size:15px;color:#1b8bf0}.plan-home-copy{flex:1}.plan-home .plan-kicker{font-size:10px}.plan-home h2{color:#092c66;margin:4px 0;font-size:21px}.plan-home p{margin:0;color:#527292;font-size:12px}.plan-home-button{white-space:nowrap;background:linear-gradient(115deg,#088ef1,#046bc9);box-shadow:0 8px 16px #117dd52f}.plan-kicker{font-size:11px;font-weight:1000;letter-spacing:.11em;text-transform:uppercase;color:#087bcd}
.plan-builder,.plan-result,.plan-commercial,.plan-saved{border:1px solid #dbeaf8;background:#fff;border-radius:25px;padding:25px;box-shadow:0 9px 24px #1156a70b;margin-bottom:21px}.plan-builder{background:linear-gradient(127deg,#f5fcff 0%,#ffffff 75%);border-color:#b9e2fc}.plan-builder-intro{display:flex;align-items:flex-start;gap:15px;margin-bottom:18px}.plan-builder-icon{display:grid;place-items:center;width:50px;height:50px;flex:none;border-radius:16px;color:#fff;font-size:27px;background:linear-gradient(135deg,#1aaffb,#0076e3)}.plan-builder h2{margin:0 0 6px;font-size:24px}.plan-builder p{margin:0;color:#55749a}.plan-form-grid{display:grid;gap:12px}.plan-field-label{display:block;color:#0c3a73;font-weight:900;font-size:12px}.plan-field-label .field{margin-top:7px}.plan-textarea{width:100%;min-height:99px;resize:vertical;background:#fff!important;color:#0e336b!important;border:1px solid #cbdff0!important;border-radius:15px!important;padding:13px!important}.plan-textarea::placeholder{color:#7e94aa}.plan-form-actions{display:flex;align-items:end;justify-content:space-between;gap:13px;flex-wrap:wrap}.plan-form-actions .plan-field-label{flex:1;min-width:145px;max-width:225px}.plan-form-actions .btn{background:linear-gradient(110deg,#078eea,#0869ce);box-shadow:0 8px 18px #1483cf25;min-width:180px}.plan-form-actions select{width:100%;border:1px solid #b9dff6!important;background:white!important;color:#14396c!important;border-radius:12px}.plan-disclaimer{margin-top:12px!important;color:#537a9b!important;font-size:12px}
.plan-result{border-color:#c4e7fb}.plan-result-head,.plan-result-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.plan-result-head span:last-child{font-size:11px;color:#7793aa}.plan-user-goal{font-size:24px!important;margin:10px 0 9px!important;line-height:1.38!important;overflow-wrap:anywhere}.plan-result-meta{display:flex;gap:6px;align-items:center;color:#567595;font-size:12px;margin-bottom:15px;font-weight:800}.plan-result-meta .language-flag{height:18px;width:25px}.plan-match{padding:17px;background:#eef9ff;border:1px solid #d4ecfa;border-radius:17px}.plan-match-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:14px}.plan-match-icon{width:58px;height:58px;display:grid;place-items:center;font-size:36px;border-radius:14px;background:white;flex:none}.plan-match-title small{color:#047bca;font-size:11px;font-weight:900;letter-spacing:.04em}.plan-match-title h3{margin:4px 0;font-size:20px}.plan-match-title p{margin:0;color:#56789b;font-size:12px}.plan-phrase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}.plan-phrase{border-radius:13px;background:#fff;border:1px solid #cce6fb;padding:12px;display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}.plan-phrase b{font-size:14px;color:#0c3075;line-height:1.35}.plan-phrase span{font-size:12px;color:#506d92}.plan-no-match{background:#f1f8ff;padding:18px;border-radius:18px;border:1px solid #d2ebff;color:#174170}.plan-no-match strong{font-size:17px}.plan-no-match p{color:#476b91}.plan-fallback-scenes{display:flex;gap:8px;flex-wrap:wrap}.plan-fallback-btn{border:1px solid #b7dff9;background:#fff;padding:10px 13px;border-radius:11px;font-size:12px;font-weight:800;color:#0864b2}.plan-fallback-btn:hover{background:#ddecff}.plan-steps{margin:18px 0}.plan-steps h3{margin:0 0 8px;font-size:16px}.plan-steps ol{margin:0;padding-left:20px;display:grid;gap:5px;color:#42688f;font-size:13px}.plan-result-bottom .btn{color:#0b69ae!important;background:#eaf5ff}.plan-delete{border:0;background:transparent;color:#607e9b;font-size:12px;font-weight:800;padding:10px}.plan-delete:hover{color:#cc314b;text-decoration:underline}
.plan-saved h2{font-size:22px}.plan-saved-list{display:grid;gap:8px}.plan-saved-card{text-align:left;display:flex;align-items:center;gap:9px;border:1px solid #e1ecf7;background:#f7fbff;border-radius:13px;padding:12px;color:#1a437c}.plan-saved-card.current{background:#e9f7ff;border-color:#5db5ed}.plan-saved-card>span:first-child{font-size:22px}.plan-saved-text{flex:1;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:700}.plan-saved-card small{color:#718da9}
.plan-commercial-heading{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:18px}.plan-commercial-heading h2{margin:3px 0;font-size:25px}.plan-coming{background:#e6f5ff;color:#006dbd;font-size:11px;border-radius:100px;padding:7px 13px;font-weight:900}.plan-tiers{display:grid;grid-template-columns:1fr 1fr;gap:16px}.plan-tier{border:1px solid #dae9f6;border-radius:21px;padding:24px;background:#fff;display:flex;flex-direction:column;min-width:0}.plan-tier.pro{background:linear-gradient(160deg,#e8f7ff,#f7fcff 60%,white);border:2px solid #69b7eb}.plan-tier-top{display:flex;align-items:center;gap:12px}.plan-tier-top h3{font-size:20px;margin:0}.plan-tier-top p{margin:3px 0;color:#67819c;font-size:12px}.plan-tier-symbol{height:48px;width:48px;border-radius:14px;background:#e9f6ff;display:grid;place-items:center;color:#0878cd;font-size:30px}.plan-tier.pro .plan-tier-symbol{background:#0988eb;color:#fff}.plan-price{font-size:40px;font-family:'Nunito',sans-serif;color:#073779;font-weight:1000;margin:19px 0 10px}.plan-price small{font-size:13px;color:#6984a4;font-weight:800}.plan-year{font-size:12px;color:#276fba;font-weight:900;margin:-8px 0 9px}.plan-tier ul{list-style:none;padding:0;margin:4px 0 20px;display:grid;gap:12px;flex:1}.plan-tier li{padding-left:21px;position:relative;font-size:13px;color:#315c89;line-height:1.45}.plan-tier li:before{content:'✓';position:absolute;left:0;top:0;color:#057fd5;font-weight:1000}.plan-tier-footer{border-radius:12px;background:#edf6fd;padding:12px 14px;color:#1062ac;font-size:12px;font-weight:900;text-align:center}.plan-tier.pro .plan-tier-footer{background:#d9f0ff}.plan-billing-warning{margin-top:20px;padding:17px 18px;border-radius:15px;background:#f1f7ff;border:1px solid #c8e3f8;color:#1f5084}.plan-billing-warning strong{font-size:13px}.plan-billing-warning p{margin:7px 0;font-size:12px}.plan-billing-warning small{font-size:11px;color:#5f7998}
.dark .plan-page h1,.dark .plan-page h2,.dark .plan-page h3{color:#f3faff!important}.dark .plan-heading p,.dark .plan-page .muted{color:#b5cde6}.dark .plan-home,.dark .plan-builder,.dark .plan-result,.dark .plan-commercial,.dark .plan-saved{background:#18304d;border-color:#2a5680;color:#d9eeff}.dark .plan-builder{background:linear-gradient(110deg,#173854,#192d49)}.dark .plan-status,.dark .plan-coming{background:#254970;color:#c8edff;border-color:#407ea9}.dark .plan-home h2,.dark .plan-home p{color:#e1f5ff}.dark .plan-home-art,.dark .plan-builder-icon{background:#1276b7}.dark .plan-field-label{color:#e0f4ff}.dark .plan-phrase,.dark .plan-saved-card,.dark .plan-tier{background:#213e5f;border-color:#3b6792;color:#f5fcff}.dark .plan-phrase b,.dark .plan-result-meta,.dark .plan-match-title h3,.dark .plan-price{color:#fff}.dark .plan-match,.dark .plan-no-match,.dark .plan-billing-warning{background:#153452;border-color:#35618b;color:#d8ecff}.dark .plan-match-icon{background:#296287}.dark .plan-tier.pro{background:linear-gradient(140deg,#194b75,#172e4b);border-color:#43b3f1}.dark .plan-tier li,.dark .plan-tier-top p,.dark .plan-steps li,.dark .plan-phrase span,.dark .plan-result-head span:last-child,.dark .plan-match-title p,.dark .plan-no-match p{color:#c9ddec}.dark .plan-tier-footer{background:#225982;color:#e4f6ff}.dark .plan-fallback-btn{background:#244968;color:#edfbff;border-color:#5481a2}.dark .plan-builder p,.dark .plan-disclaimer{color:#c8e1f0!important}
@media(max-width:1100px){.plan-home{gap:12px}.plan-home h2{font-size:19px}.plan-home-art{width:52px;height:52px;min-width:52px;font-size:28px}}
@media(max-width:760px){.plan-heading{flex-direction:column;gap:11px}.plan-home{flex-wrap:wrap;padding:16px}.plan-home-button{width:100%}.plan-builder,.plan-result,.plan-commercial,.plan-saved{padding:18px;border-radius:19px}.plan-phrase-grid{grid-template-columns:1fr 1fr}.plan-tiers{grid-template-columns:1fr}.plan-page h1{font-size:25px}.plan-form-actions{flex-direction:column;align-items:stretch}.plan-form-actions .plan-field-label{max-width:none}.plan-form-actions .btn{width:100%}}
@media(max-width:410px){.plan-phrase-grid{grid-template-columns:1fr}.plan-user-goal{font-size:19px!important}.plan-home-art{display:none}.plan-home h2{font-size:18px}.plan-builder-intro{gap:9px}.plan-builder-icon{width:42px;height:42px;font-size:23px}}


/* HOY LO DIGO 4.5.1 — dark mode contrast and community compact empty state */
.dark .page-title,
.dark .sectionhead h2,
.dark .community-sectionhead h2,
.dark .langstrip-label,
.dark .langstrip-label span{
  color:#eaf6ff!important;
}

.dark .langstrip{
  background:#132b46!important;
  border-color:#2b567c!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
.dark .language-pills{gap:10px}
.dark .langbtn{
  background:#173756!important;
  border:1px solid #35658f!important;
  color:#e9f7ff!important;
  box-shadow:none!important;
}
.dark .langbtn span,
.dark .langbtn b,
.dark .langbtn strong{
  color:#e9f7ff!important;
}
.dark .langbtn:hover{
  background:#1d456c!important;
  border-color:#5da8de!important;
  transform:translateY(-1px);
}
.dark .langbtn.selected{
  background:linear-gradient(135deg,#5b49cb,#2679df)!important;
  border-color:#95d7ff!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(198,237,255,.35), 0 10px 20px rgba(8,25,49,.26)!important;
}
.dark .langbtn.selected span,
.dark .langbtn.selected b,
.dark .langbtn.selected strong{
  color:#fff!important;
}
.dark .langbtn .language-flag,
.dark .hero-lang .language-flag{
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 5px 10px rgba(0,0,0,.16);
}

.dark .hero-languages{
  background:rgba(13,35,58,.92)!important;
  border-color:#376894!important;
  box-shadow:0 12px 26px rgba(4,17,30,.22)!important;
}
.dark .hero-lang{
  background:#173756!important;
  border:1px solid #336793!important;
  color:#f2fbff!important;
}
.dark .hero-lang span:last-child,
.dark .hero-lang span,
.dark .hero-lang b,
.dark .hero-lang strong{
  color:#f2fbff!important;
}
.dark .hero-lang:hover{
  background:#1d456d!important;
  border-color:#60b7eb!important;
}
.dark .hero-lang.selected{
  background:linear-gradient(135deg,#5b49cb,#2579df)!important;
  border-color:#b9ecff!important;
  box-shadow:0 8px 18px rgba(8,21,42,.26)!important;
}
.dark .hero-lang.selected span:last-child,
.dark .hero-lang.selected span,
.dark .hero-lang.selected b,
.dark .hero-lang.selected strong{
  color:#fff!important;
}

.dark .chip{
  background:#173756!important;
  border:1px solid #35658f!important;
  color:#d9efff!important;
}
.dark .chip:hover{
  background:#1d446b!important;
  border-color:#63a9d8!important;
}
.dark .chip.active{
  background:#e7f5ff!important;
  color:#0d63b2!important;
  border-color:#d7f0ff!important;
}

.dark .plan-tier{
  background:#1b3a5a!important;
  border-color:#356287!important;
}
.dark .plan-tier.pro{
  background:linear-gradient(145deg,#245179,#193654)!important;
  border-color:#53bcf7!important;
}
.dark .plan-price{color:#ffffff!important;text-shadow:none}
.dark .plan-price small,
.dark .plan-year,
.dark .plan-tier-top p,
.dark .plan-tier li,
.dark .plan-billing-warning,
.dark .plan-billing-warning p,
.dark .plan-billing-warning small{
  color:#d7edff!important;
}
.dark .plan-tier-footer{
  background:#2d5f8a!important;
  color:#f3fbff!important;
  border:1px solid #5f96c1;
}
.dark .plan-tier.pro .plan-tier-footer{
  background:#e7f5ff!important;
  color:#0b62b1!important;
  border-color:#d5efff!important;
}

.community-page .panel.empty{
  max-width:560px;
  margin:22px auto 10px;
  min-height:auto;
  padding:28px 26px;
  border-radius:24px;
}
.community-page .panel.empty h2{
  margin-bottom:10px;
  font-size:clamp(24px,2.5vw,34px);
  line-height:1.18;
}
.community-page .panel.empty p{
  max-width:420px;
  margin:0 auto;
}
.community-page .panel.empty .bigemoji{
  font-size:42px;
  margin-bottom:10px;
}
.dark .community-page .panel.empty{
  background:#183755!important;
  border-color:#3a6487!important;
}
.dark .community-page .panel.empty h2,
.dark .community-page .panel.empty p,
.dark .community-page .panel.empty .muted{
  color:#eef8ff!important;
}
.dark .community-page .panel.empty p,
.dark .community-page .panel.empty .muted{
  color:#c8dff0!important;
}

@media(max-width:820px){
  .community-page .panel.empty{
    max-width:100%;
    padding:24px 18px;
  }
}
@media(max-width:580px){
  .dark .language-pills{gap:6px}
  .dark .langbtn{
    padding:8px 10px!important;
    min-width:92px;
  }
  .community-page .panel.empty{
    padding:22px 14px;
    border-radius:20px;
  }
  .community-page .panel.empty h2{
    font-size:26px;
  }
}


/* HOY LO DIGO 4.5.2 — final premium polish */
:root{
  --pro-shadow:0 18px 42px rgba(18,78,132,.10);
}

.page-title{
  letter-spacing:-.045em;
  text-wrap:balance;
}

.container{padding-bottom:72px}

.topbar{
  box-shadow:0 6px 18px rgba(20,72,119,.04);
}

.sidebar{
  background:linear-gradient(180deg,var(--surface) 0%, color-mix(in srgb,var(--surface) 88%, #eef8ff 12%) 100%);
}

.panel,
.scene-card,
.stat,
.continue-card,
.challenge-card,
.dashboard-stat,
.upload-panel,
.media-item,
.review-main,
.review-side,
.favitem,
.plan-home,
.plan-builder,
.plan-result,
.plan-commercial,
.plan-saved,
.plan-tier{
  box-shadow:0 10px 28px rgba(21,88,138,.08)!important;
  border-color:#d9ebf8!important;
}

.panel:hover,
.scene-card:hover,
.media-item:hover,
.plan-tier:hover{
  box-shadow:0 16px 38px rgba(20,84,133,.12)!important;
}

.sectionhead h2,
.community-sectionhead h2,
.plan-commercial-heading h2,
.plan-heading h1,
.review-side h2,
.upload-panel h2{
  letter-spacing:-.038em;
}

.muted{line-height:1.58}

.btn{
  border-radius:15px;
  box-shadow:0 10px 22px rgba(7,123,233,.20);
}
.btn.secondary{
  border:1px solid #cfe7fb;
}
.btn.ghost{
  border-color:#cfe2f3;
}
.btn.small{border-radius:12px}

.field,
.textarea,
.answerbox,
.hero-input,
.select-pill,
.levelbtn,
.chip,
.iconbtn,
.langbtn,
.hero-lang{
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease;
}

.field,
.textarea,
.answerbox{
  border-color:#cfe2f3;
  background:color-mix(in srgb,var(--surface) 95%, #f7fbff 5%);
}
.field:focus,
.textarea:focus,
.answerbox:focus,
.hero-input:focus-within{
  border-color:#62b3ea!important;
  box-shadow:0 0 0 4px rgba(88,179,235,.16)!important;
}

.select-pill,
.ui-locale-select,
.learn-lang-select{
  box-shadow:0 6px 16px rgba(24,88,138,.06);
}

.community-sectionhead .chip,
.compact-filters .chip{
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  font-weight:900;
}

.media-detail h3,
.favitem b,
.scene-card b,
.plan-tier-top h3,
.review-main .foreign{
  text-wrap:balance;
}

.plan-tier{
  position:relative;
  overflow:hidden;
}
.plan-tier.pro:before{
  content:'';
  position:absolute;
  inset:0 0 auto auto;
  width:140px;
  height:140px;
  background:radial-gradient(circle at top right, rgba(92,192,255,.22), transparent 62%);
  pointer-events:none;
}
.plan-price{letter-spacing:-.05em}
.plan-tier li{font-size:14px}
.plan-tier-footer{font-weight:1000}

.local-notice,
.tiny-banner,
.feedback,
.tag,
.badge{
  box-shadow:0 6px 16px rgba(22,88,138,.06);
}

.community-page .panel.empty{
  box-shadow:0 14px 32px rgba(18,72,118,.10)!important;
}

.dark .topbar{
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}
.dark .sidebar{
  background:linear-gradient(180deg,#11253e 0%,#163252 100%)!important;
}
.dark .panel,
.dark .scene-card,
.dark .stat,
.dark .continue-card,
.dark .challenge-card,
.dark .dashboard-stat,
.dark .upload-panel,
.dark .media-item,
.dark .review-main,
.dark .review-side,
.dark .favitem,
.dark .plan-home,
.dark .plan-builder,
.dark .plan-result,
.dark .plan-commercial,
.dark .plan-saved,
.dark .plan-tier{
  box-shadow:0 14px 34px rgba(0,0,0,.20)!important;
}
.dark .btn{
  box-shadow:0 10px 24px rgba(5,114,205,.26);
}
.dark .btn.secondary{
  border-color:#456f95;
}
.dark .field,
.dark .textarea,
.dark .answerbox{
  background:#163554!important;
  border-color:#376088!important;
  color:#eef8ff!important;
}
.dark .field:focus,
.dark .textarea:focus,
.dark .answerbox:focus,
.dark .hero-input:focus-within{
  border-color:#74c6ff!important;
  box-shadow:0 0 0 4px rgba(92,191,255,.14)!important;
}
.dark .media-detail small,
.dark .muted,
.dark .today-date,
.dark .langstrip-label span,
.dark .plan-heading p,
.dark .plan-page .muted{
  color:#bed8ec!important;
}
.dark .community-sectionhead .chip,
.dark .compact-filters .chip{
  box-shadow:none;
}
.dark .tag,
.dark .badge{
  box-shadow:none;
}

@media(max-width:820px){
  .panel,
  .scene-card,
  .media-item,
  .plan-tier{
    box-shadow:0 8px 22px rgba(21,88,138,.08)!important;
  }
}

@media(max-width:580px){
  .container{padding-bottom:106px}
  .community-sectionhead .chip,
  .compact-filters .chip{
    min-height:38px;
    padding:0 13px;
    font-size:12px;
  }
  .plan-price{font-size:34px}
  .plan-tier li{font-size:13px}
}

/* 4.6 · Digo te acompaña: gently encouraging, fully optional, no autoplay. */
.coach-home{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:16px;position:relative;overflow:hidden;margin:17px 0;padding:18px 22px;border:1px solid #c7e8ff;border-radius:23px;background:linear-gradient(115deg,#f1faff 0%,#e5f5ff 70%,#f9fdff 100%);box-shadow:0 10px 25px rgba(19,107,169,.07)}
.coach-home-art{width:106px;height:104px;display:flex;align-items:end;justify-content:center;background:linear-gradient(140deg,#d4efff,#bce4ff);border-radius:20px;overflow:hidden}
.coach-home-bird{width:105px;height:109px;object-fit:contain;object-position:bottom;transform:translateY(12px)}
.coach-kicker{color:#1572ba;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
.coach-home-copy{min-width:0}
.coach-home-copy h2{font-family:'Nunito',sans-serif;font-weight:1000;color:#0a316b;font-size:21px;letter-spacing:-.04em;margin:3px 0 4px}
.coach-home-copy p{font-size:13px;color:#285b86;font-weight:750;margin:0 0 4px}
.coach-home-copy small{font-size:10px;color:#507b9e;line-height:1.3;display:block}
.coach-home-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:162px}
.coach-home-actions .btn{padding:10px 15px;font-size:12px;min-height:40px}
.coach-text-button{border:0;background:transparent;color:#075d9e;text-decoration:underline;text-decoration-color:#9ccae5;text-underline-offset:4px;font-weight:900;font-size:12px;padding:4px}
.coach-text-button:hover{color:#0e80dc}
.coach-settings{padding:14px 16px 16px;margin:15px 0;border:1px solid #d0e9fb;border-radius:18px;background:#f1f9ff}
.coach-settings .toggle{margin:0 0 9px}
.coach-settings .label{color:#194e7b}
.coach-settings-note{font-size:11px;color:#597994;margin:9px 0}
.coach-flyout{position:fixed;right:20px;bottom:22px;z-index:56;width:min(390px,calc(100vw - 26px));display:grid;grid-template-columns:100px 1fr;gap:6px;padding:16px 18px 16px 12px;background:#fff;border:2px solid #a5ddff;box-shadow:0 18px 58px rgba(5,47,94,.24);border-radius:24px;color:#0d376c;animation:coachArrival .55s both cubic-bezier(.18,.8,.23,1);isolation:isolate}
.coach-bird-stage{height:100px;display:flex;align-items:center;justify-content:center}
.coach-flying-bird{height:110px;max-width:98px;object-fit:contain;animation:coachFlap 2.5s ease-in-out infinite}
.coach-flyout-copy{align-self:center;min-width:0;padding-right:5px}
.coach-flyout-copy strong{font-family:'Nunito',sans-serif;font-size:18px;font-weight:1000;line-height:1.15;display:block}
.coach-flyout-copy p{font-size:12px;color:#3d698f;line-height:1.5;margin:5px 0 8px}
.coach-flyout-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.coach-flyout-actions .btn{font-size:11px;padding:8px 10px}
.coach-chirp-btn{background:#e5f4ff;border:1px solid #cae8ff;color:#145b96;font-weight:900;font-size:11px;border-radius:11px;padding:8px 10px}
.coach-close{position:absolute;right:8px;top:7px;width:28px;height:28px;background:transparent;border:0;color:#5c7ea0;font-size:22px;line-height:1;border-radius:50%}
.coach-close:hover{background:#eaf6ff;color:#093e72}
@keyframes coachArrival{from{opacity:0;transform:translateX(125px) translateY(26px) scale(.9)}to{opacity:1;transform:translateX(0) translateY(0) scale(1)}}
@keyframes coachFlap{0%,100%{transform:translateY(7px) rotate(-4deg)}45%{transform:translateY(-7px) rotate(5deg)}}
.dark .coach-home{background:linear-gradient(110deg,#163a5b,#174267);border-color:#3e76a2;box-shadow:0 12px 27px rgba(0,0,0,.19)}
.dark .coach-home-art{background:linear-gradient(140deg,#235b86,#1b4773)}
.dark .coach-kicker{color:#96d9ff}
.dark .coach-home-copy h2{color:#fff}
.dark .coach-home-copy p{color:#d2e9fa}
.dark .coach-home-copy small{color:#b3d3e9}
.dark .coach-text-button{color:#a0dbff;text-decoration-color:#467da8}
.dark .coach-settings{background:#143653;border-color:#376c92}
.dark .coach-settings .label,.dark .coach-settings strong{color:#ecf8ff}
.dark .coach-settings-note{color:#bad4e7}
.dark .coach-flyout{background:#173552;border-color:#5ea6d6;box-shadow:0 18px 58px rgba(0,0,0,.45);color:#f1faff}
.dark .coach-flyout-copy p{color:#c5e2f5}
.dark .coach-chirp-btn{background:#295277;color:#f0faff;border-color:#427ca8}
.dark .coach-close{color:#c3ddf4}
.dark .coach-close:hover{background:#255271;color:#fff}
@media(max-width:1100px){.coach-home{grid-template-columns:90px minmax(0,1fr)}.coach-home-art{width:84px;height:90px}.coach-home-bird{width:88px;height:98px}.coach-home-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;align-items:center;min-width:0}}
@media(max-width:580px){.coach-home{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:13px 11px;border-radius:18px}.coach-home-art{width:67px;height:75px;border-radius:14px}.coach-home-bird{width:72px;height:80px;transform:translateY(8px)}.coach-home-copy h2{font-size:17px}.coach-home-copy p{font-size:11px}.coach-home-copy small{font-size:9px}.coach-kicker{font-size:9px}.coach-home-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}.coach-home-actions .btn,.coach-home-actions .coach-text-button{font-size:10px;padding:10px 7px}.coach-flyout{bottom:86px;right:9px;width:calc(100vw - 18px);grid-template-columns:84px minmax(0,1fr);padding:13px 15px 13px 8px;gap:5px}.coach-bird-stage{height:100px}.coach-flying-bird{width:84px;height:100px}.coach-flyout-copy strong{font-size:16px}.coach-flyout-copy p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.coach-flyout,.coach-flying-bird{animation:none!important}}
/* When a reminder is due, only the brandmark receives a gentle pulse. */
.coach-awaiting{animation:coachBrandHint 5.5s ease-in-out infinite;transform-origin:50% 80%}
@keyframes coachBrandHint{0%,75%,100%{transform:rotate(0)}80%{transform:rotate(-6deg)}85%{transform:rotate(5deg)}90%{transform:rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){.coach-awaiting{animation:none!important}}
