:root{
  --ink:#1f2340;
  --ink2:#363b63;
  --muted:#7d829f;
  --bg:#f7f8ff;
  --card:rgba(255,255,255,.92);
  --line:#e6e8f2;
  --purple:#6257e8;
  --purple2:#8a74f5;
  --purple3:#4a42cb;
  --purpleSoft:#efedff;
  --mint:#eaf9f4;
  --mintInk:#187c62;
  --peach:#fff1e9;
  --peachInk:#c96a3d;
  --blue:#eaf5ff;
  --blueInk:#3677c7;
  --yellow:#fff7da;
  --success:#16865f;
  --danger:#d65353;
  --shadow:0 18px 55px rgba(50,46,116,.10);
  --shadow2:0 10px 28px rgba(50,46,116,.08);
  --shadow3:0 8px 18px rgba(74,66,203,.18);
  --r:26px;
}
*{box-sizing:border-box}
html{background:#f0f2fb;scroll-behavior:smooth}
body{margin:0;min-height:100vh;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans Telugu","Nirmala UI",sans-serif;background:
radial-gradient(circle at 5% 0%,rgba(135,116,245,.12),transparent 28%),
radial-gradient(circle at 95% 18%,rgba(76,205,166,.10),transparent 27%),
linear-gradient(180deg,#fbfbff 0,#f6f7fd 50%,#f9faff 100%);}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease}
button:active{transform:scale(.98)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(98,87,232,.20);outline-offset:2px}
.desktop-bg{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.orb{position:absolute;border-radius:999px;filter:blur(30px);opacity:.42}
.orb-a{width:500px;height:500px;background:#dcd6ff;left:-230px;top:-220px}
.orb-b{width:520px;height:520px;background:#d7f7ed;right:-250px;top:180px}
.orb-c{width:430px;height:430px;background:#ffe5d7;left:24%;bottom:-300px}
.app{position:relative;max-width:940px;min-height:100vh;margin:0 auto;padding:0 24px 118px}
.app-header{height:86px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30;background:rgba(250,251,255,.76);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,228,239,.72)}
.brand-wrap{display:flex;gap:12px;align-items:center}
.brand-mark{width:48px;height:48px;border-radius:17px;background:linear-gradient(145deg,var(--purple),var(--purple2));display:grid;place-items:center;color:#fff;font-size:23px;font-weight:900;box-shadow:0 12px 28px rgba(98,87,232,.28);position:relative;overflow:hidden}
.brand-mark:after{content:"";position:absolute;width:30px;height:30px;border:7px solid rgba(255,255,255,.15);border-radius:50%;right:-12px;top:-11px}
.brand-mark span{font-size:10px;margin-left:-2px;opacity:.9}
.brand{font-weight:900;letter-spacing:-.025em;font-size:18px}.brand em{font-style:normal;color:var(--purple)}
.brand-sub{font-size:11px;color:var(--muted);margin-top:2px}
.header-actions{display:flex;gap:9px}
.round-btn,.profile-btn,.back-btn{border:1px solid rgba(226,228,239,.95);background:rgba(255,255,255,.92);box-shadow:var(--shadow2);display:grid;place-items:center}
.round-btn{width:43px;height:43px;border-radius:15px}
.profile-btn{width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,#242845,#545b82);color:#fff;border:0;font-weight:850;box-shadow:0 10px 24px rgba(40,45,76,.20)}
.route{display:none;padding-top:26px;animation:fade .28s cubic-bezier(.22,.75,.32,1)}.route.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.micro-label{font-size:10px;font-weight:900;color:var(--purple);letter-spacing:.15em;margin:0 0 8px}
.welcome-row{display:flex;justify-content:space-between;gap:18px;align-items:end;padding:4px 2px 0}
.welcome-row h1{font-size:40px;line-height:1.06;letter-spacing:-.045em;margin:0;max-width:650px}.welcome-row h1 span{background:linear-gradient(90deg,var(--purple3),#8970ee);-webkit-background-clip:text;background-clip:text;color:transparent}
.streak-card{border:1px solid #f0e5cc;background:linear-gradient(160deg,#fffdf7,#fff5da);border-radius:22px;padding:13px 18px;min-width:98px;box-shadow:var(--shadow2);display:flex;flex-direction:column;align-items:center}
.streak-icon{font-size:27px;filter:drop-shadow(0 4px 8px rgba(226,126,53,.18))}.streak-card strong{font-size:23px;line-height:1.1}.streak-card small{color:#9c7951;font-size:10px}
.goal-card{margin-top:26px;background:linear-gradient(135deg,#5149d8 0%,#6e62e9 50%,#8b75f4 100%);color:#fff;border-radius:32px;padding:27px;box-shadow:0 24px 58px rgba(77,68,201,.27);position:relative;overflow:hidden;isolation:isolate}
.goal-card:before{content:"";position:absolute;width:320px;height:320px;background:radial-gradient(circle,rgba(255,255,255,.20),transparent 62%);right:-120px;top:-180px;z-index:-1}
.goal-card:after{content:"";position:absolute;width:200px;height:200px;border:34px solid rgba(255,255,255,.055);border-radius:50%;right:-62px;bottom:-120px;z-index:-1}
.goal-top{display:flex;justify-content:space-between;align-items:center;gap:18px;position:relative;z-index:1}
.soft-badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:900;letter-spacing:.13em;color:var(--purple3);background:var(--purpleSoft);padding:7px 10px;border-radius:999px}
.goal-card .soft-badge{color:#fff;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.10)}
.goal-card h2{font-size:29px;margin:10px 0 4px;letter-spacing:-.035em}.goal-card p{margin:0;color:rgba(255,255,255,.78);font-size:13px}
.goal-ring{width:86px;height:86px;border-radius:50%;background:conic-gradient(#fff 0deg,rgba(255,255,255,.18) 0);display:grid;place-items:center;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.goal-ring:before{content:"";position:absolute;inset:7px;background:linear-gradient(145deg,#635ae0,#7165e8);border-radius:50%}.goal-ring span{position:relative;font-size:14px;font-weight:900}
.goal-progress{height:9px;background:rgba(255,255,255,.15);border-radius:99px;overflow:hidden;margin:23px 0 18px;box-shadow:inset 0 1px 2px rgba(34,29,101,.12)}.goal-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#fff,#e8e5ff);border-radius:99px;transition:.35s}
.goal-bottom{display:grid;grid-template-columns:1fr 1fr auto;gap:13px;align-items:center}
.tiny-stat{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center}.tiny-stat span{grid-row:1/3;font-size:21px}.tiny-stat b{font-size:13px}.tiny-stat small{font-size:10px;color:rgba(255,255,255,.68)}
.continue-btn{border:0;background:#fff;color:var(--purple3);padding:12px 17px;border-radius:14px;font-weight:900;box-shadow:0 10px 24px rgba(38,35,109,.18)}.continue-btn:hover{transform:translateY(-1px)}.continue-btn span{padding-left:8px}
.section-title{margin:31px 2px 14px;display:flex;justify-content:space-between;align-items:end}.section-title h2{font-size:21px;margin:0 0 4px;letter-spacing:-.025em}.section-title p{font-size:12px;color:var(--muted);margin:0}.section-title.compact{margin:0 0 20px}
.text-btn{border:0;background:none;color:var(--purple);font-weight:850;font-size:12px;padding:7px 0}
.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.feature-card{border:1px solid rgba(255,255,255,.72);border-radius:26px;padding:21px;text-align:left;min-height:176px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:var(--shadow2);transition:.22s;position:relative;overflow:hidden}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 17px 35px rgba(47,49,98,.12)}
.feature-card:after{content:"";position:absolute;width:126px;height:126px;border:19px solid rgba(255,255,255,.33);border-radius:50%;right:-55px;bottom:-62px}
.feature-card.purple{background:linear-gradient(145deg,#f0efff,#e8e5ff)}.feature-card.mint{background:linear-gradient(145deg,#eefbf7,#def6ee)}.feature-card.peach{background:linear-gradient(145deg,#fff5ef,#ffe9dc)}.feature-card.blue{background:linear-gradient(145deg,#f0f7ff,#e2f1ff)}
.feature-icon{font-size:25px;background:rgba(255,255,255,.82);width:46px;height:46px;border-radius:15px;display:grid;place-items:center;margin-bottom:14px;box-shadow:0 7px 18px rgba(61,62,108,.08)}
.feature-card strong{font-size:18px;letter-spacing:-.01em}.feature-card small{color:#696e88;line-height:1.45;margin-top:5px}.feature-card i{font-style:normal;margin-top:auto;font-size:11px;font-weight:900;color:var(--purple3)}
.phrase-card,.path-card,.level-card,.coach-card,.tip-card,.pronunciation-tip,.skills-card,.profile-card,.settings-card{background:var(--card);border:1px solid rgba(226,228,239,.95);border-radius:25px;box-shadow:var(--shadow2);backdrop-filter:blur(12px)}
.phrase-card{margin-top:16px;padding:22px}.phrase-top{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center}.phrase-icon{width:44px;height:44px;background:linear-gradient(145deg,#fff8df,#ffefb8);border-radius:14px;display:grid;place-items:center}.phrase-card h3{margin:6px 0 0;font-size:18px}.phrase-card p{font-size:12px;color:var(--muted);line-height:1.55}
.audio-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:#fff;box-shadow:0 6px 14px rgba(55,58,107,.07)}
.example-chip{background:linear-gradient(145deg,#f9f9ff,#f3f3fd);padding:13px 15px;border-radius:14px;font-weight:750;font-size:13px;border:1px solid #ececf7}
.ghost-btn{border:0;background:none;color:var(--purple);padding:13px 0 0;font-weight:900}
.path-card{padding:20px}.path-step{display:flex;gap:12px;align-items:center}.path-step>span{width:36px;height:36px;border-radius:13px;border:1px solid var(--line);display:grid;place-items:center;font-weight:900;color:#a0a4b7;background:#fff}.path-step.done>span{background:#e8f8f1;color:#188161;border-color:#d9f0e7}.path-step.current>span{background:linear-gradient(145deg,var(--purple),var(--purple2));color:#fff;border:0;box-shadow:0 7px 15px rgba(98,87,232,.22)}.path-step div{display:flex;flex-direction:column}.path-step small{color:var(--muted);margin-top:2px}.path-line{height:24px;width:2px;background:#a4dccb;margin:4px 0 4px 17px}.path-line.muted{background:#e4e6ef}
.route-head{display:flex;gap:12px;align-items:center;margin-bottom:19px}.route-head>div{flex:1}.route-head h2{margin:0 0 3px;font-size:24px;letter-spacing:-.025em}.route-head p{margin:0;color:var(--muted);font-size:12px}.back-btn{width:43px;height:43px;border-radius:15px;font-size:20px}.back-btn:hover,.round-btn:hover{background:#f8f8ff;border-color:#d7d8eb}
.mode-scroll{display:flex;gap:8px;overflow:auto;padding:8px 2px 10px;margin:0 -2px 15px;scrollbar-width:none;position:sticky;top:85px;z-index:20;background:linear-gradient(180deg,rgba(247,248,255,.97),rgba(247,248,255,.87) 80%,transparent);backdrop-filter:blur(12px)}.mode-scroll::-webkit-scrollbar{display:none}.mode-pill,.tone-pill{white-space:nowrap;border:1px solid var(--line);background:rgba(255,255,255,.94);border-radius:999px;padding:9px 14px;font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(54,56,105,.04)}.mode-pill.active,.tone-pill.active{background:linear-gradient(135deg,var(--purple),#7669ed);color:#fff;border-color:transparent;box-shadow:0 7px 17px rgba(98,87,232,.21)}
.tutor-hero{background:linear-gradient(135deg,#f1efff 0,#fbfbff 62%,#eef9f6 100%);border:1px solid #e2e1f9;border-radius:27px;padding:19px;display:flex;gap:15px;align-items:center;box-shadow:0 12px 28px rgba(66,62,137,.07);position:relative;overflow:hidden}.tutor-hero:after{content:"";position:absolute;width:140px;height:140px;border:22px solid rgba(98,87,232,.05);border-radius:50%;right:-60px;top:-80px}.avatar-ai{width:56px;height:56px;border-radius:19px;background:linear-gradient(145deg,#5047d6,#8a74f5);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 10px 23px rgba(83,72,213,.28);font-size:0;position:relative}.avatar-ai:before{content:"✦";font-size:25px}.avatar-ai:after{content:"";position:absolute;width:10px;height:10px;background:#54d9af;border:3px solid #fff;border-radius:50%;right:-2px;bottom:-1px}.tutor-hero span{font-size:9px;letter-spacing:.15em;color:var(--purple);font-weight:900}.tutor-hero h3{margin:4px 0 3px;font-size:18px;letter-spacing:-.015em}.tutor-hero p{margin:0;color:var(--muted);font-size:11px}
.chat{padding:18px 0 156px;display:flex;flex-direction:column;gap:16px;min-height:470px}
.msg{display:flex;gap:11px;max-width:94%;animation:messageIn .25s ease both}.msg.ai{align-self:flex-start}.msg.user{align-self:flex-end;flex-direction:row-reverse;max-width:78%}@keyframes messageIn{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
.msg-avatar{width:37px;height:37px;border-radius:13px;background:linear-gradient(145deg,#eceaff,#f6f5ff);color:var(--purple);display:grid;place-items:center;font-size:0;font-weight:900;flex:none;border:1px solid #e6e3ff;box-shadow:0 5px 13px rgba(72,66,152,.07)}.msg-avatar:before{content:"✦";font-size:15px}.msg.user .msg-avatar{background:#eef0f7;color:#6f758e;border-color:#e3e5ed}.msg.user .msg-avatar:before{content:"YOU";font-size:7px;letter-spacing:.05em}
.msg-body{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:22px 22px 22px 7px;padding:15px 16px;box-shadow:0 11px 28px rgba(54,55,105,.08);line-height:1.55;font-size:13px;min-width:220px}.msg.ai .msg-body{max-width:720px}.msg.user .msg-body{background:linear-gradient(135deg,#5b54de,#6d5fe8);color:#fff;border:0;border-radius:22px 22px 7px 22px;box-shadow:0 13px 30px rgba(81,72,213,.22)}.msg-body small{font-size:9px;font-weight:900;color:var(--purple);letter-spacing:.04em;text-transform:uppercase}.msg.user .msg-body small{color:#e9e7ff}.msg-body>p{margin:7px 0}.msg.ai .msg-body>p:has(> b:first-child){background:#f8f8fe;border:1px solid #ececf8;border-radius:14px;padding:11px 12px;margin:9px 0}.msg.ai .msg-body>p:has(> b:first-child)>b:first-child{display:inline-block;color:var(--purple3);font-size:10px;text-transform:uppercase;letter-spacing:.07em;margin-right:5px;background:#edebff;padding:3px 7px;border-radius:999px}.msg.ai .msg-body>p:nth-of-type(2):has(> b:first-child){background:#edf9f5;border-color:#dff3eb}.msg.ai .msg-body>p:nth-of-type(2):has(> b:first-child)>b:first-child{color:#18785f;background:#dff4ec}.msg.ai .msg-body>p:nth-of-type(3):has(> b:first-child){background:#fff6ef;border-color:#f7e9df}.msg.ai .msg-body>p:nth-of-type(3):has(> b:first-child)>b:first-child{color:#b96239;background:#ffeadc}.msg.ai .msg-body>p:nth-of-type(4):has(> b:first-child){background:#eef6ff;border-color:#e0ecf9}.msg.ai .msg-body>p:nth-of-type(4):has(> b:first-child)>b:first-child{color:#2e6db9;background:#deedff}
.learning-box{margin-top:11px;background:linear-gradient(145deg,#f0efff,#f7f6ff);border:1px solid #e6e4ff;border-radius:15px;padding:11px 12px}.learning-box span{display:block;color:#8a8da4;font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:850;margin-bottom:3px}.learning-box b{font-size:12px;line-height:1.45}.msg.user .learning-box{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.1)}
.composer-wrap{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);width:min(940px,100%);padding:12px 24px 11px;background:linear-gradient(180deg,rgba(247,248,253,0),rgba(247,248,253,.93) 24%,rgba(247,248,253,.99));z-index:25}.composer{background:rgba(255,255,255,.98);border:1px solid #dde0ed;border-radius:23px;padding:8px;display:flex;gap:9px;align-items:end;box-shadow:0 17px 42px rgba(52,52,102,.15)}.composer:focus-within{border-color:#bcb9f3;box-shadow:0 17px 42px rgba(65,58,163,.16),0 0 0 4px rgba(98,87,232,.08)}.composer textarea{flex:1;resize:none;max-height:110px;border:0;outline:0;padding:12px 6px;background:transparent;line-height:1.4}.mic-main,.send-main{width:47px;height:47px;border:0;border-radius:16px;flex:none}.mic-main{background:linear-gradient(145deg,#f0efff,#e7e5ff);font-size:20px;color:var(--purple3)}.mic-main:hover{box-shadow:0 8px 17px rgba(98,87,232,.15)}.send-main{background:linear-gradient(145deg,var(--purple),#7869ed);color:#fff;font-size:18px;box-shadow:0 9px 20px rgba(98,87,232,.28)}.composer-wrap>p{text-align:center;color:#a0a4b5;font-size:9px;margin:6px 0 0}
.level-card{padding:23px;display:flex;justify-content:space-between;align-items:center;gap:16px}.level-card h3{margin:8px 0 4px;font-size:19px}.level-card p{margin:0;color:var(--muted);font-size:12px;max-width:480px;line-height:1.5}
.outline-btn{border:1px solid #dcdfea;background:#fff;border-radius:14px;padding:11px 14px;font-weight:850;color:#5e637d}.outline-btn:hover{border-color:#bfc1e7;color:var(--purple)}.outline-btn.full,.primary-btn.full{width:100%}
.learn-list{display:flex;flex-direction:column;gap:11px;margin-top:16px}.learn-row{border:1px solid var(--line);background:rgba(255,255,255,.94);border-radius:20px;padding:15px;display:grid;grid-template-columns:auto 1fr auto auto;gap:13px;align-items:center;text-align:left;box-shadow:var(--shadow2)}.learn-row:hover{transform:translateY(-2px);border-color:#d9d9ee}.learn-row div{display:flex;flex-direction:column}.learn-row small{color:var(--muted);margin-top:2px}.learn-row em{font-style:normal;color:var(--muted);font-size:11px}.learn-row>strong{color:var(--purple);font-size:17px}.learn-icon{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;font-size:21px}.li-purple{background:#efefff}.li-mint{background:#e9f8f3}.li-peach{background:#fff0e8}.li-blue{background:#eaf4ff}
.lesson-xp{background:#edf9f4;color:#197f61;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900}.lesson-progress{height:7px;background:#e7e9f1;border-radius:999px;margin-top:-7px;margin-bottom:20px;overflow:hidden}.lesson-progress i{display:block;width:35%;height:100%;background:linear-gradient(90deg,var(--purple),#8b75f4)}
.lesson-stage{display:grid;gap:16px}.lesson-card-main,.practice-card{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:27px;padding:24px;box-shadow:var(--shadow2)}.lesson-card-main h2{font-size:29px;margin:10px 0;letter-spacing:-.03em}.lesson-card-main h2 span{color:var(--purple)}.telugu-big{font-size:19px;font-weight:750;margin:4px 0 19px}.translation-stack{display:flex;flex-direction:column;gap:9px}.translation-row{display:grid;grid-template-columns:75px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:13px;background:#fbfbfe}.translation-row.selected{border-color:#c7c5f5;background:#f8f7ff;box-shadow:inset 3px 0 0 var(--purple)}.translation-row span{font-size:9px;text-transform:uppercase;color:var(--muted);font-weight:900;letter-spacing:.07em}.translation-row b{font-size:13px}.translation-row button{border:0;background:#f0f1f7;border-radius:11px;width:35px;height:35px}.telugu-note{margin-top:17px;background:linear-gradient(145deg,#fff9e8,#fffdf5);border:1px solid #f4e7bb;border-radius:17px;padding:15px;display:flex;gap:11px}.telugu-note p{margin:3px 0 0;color:#6f6b5f;font-size:12px;line-height:1.55}.practice-card h3{margin:9px 0 5px}.practice-card p{margin:0 0 14px;font-size:17px;font-weight:750}
input,textarea,select{border:1px solid #dfe2ec;background:#fff;border-radius:14px;padding:12px;outline:0}.practice-card input{width:100%}.primary-btn{border:0;background:linear-gradient(135deg,var(--purple),#7869ed);color:#fff;border-radius:15px;padding:13px 16px;font-weight:900;box-shadow:0 10px 20px rgba(98,87,232,.20)}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(98,87,232,.25)}.feedback-box{display:none;margin-top:12px;border-radius:15px;padding:14px;background:#f7f8fd;border:1px solid #ebedf5;font-size:12px;line-height:1.6}.feedback-box.show{display:block;animation:messageIn .22s ease}
.vocab-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.vocab-card{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:23px;padding:21px;box-shadow:var(--shadow2)}.vocab-card:hover{transform:translateY(-3px)}.vocab-card .word-top{display:flex;justify-content:space-between;align-items:start}.vocab-card h3{font-size:23px;margin:0;letter-spacing:-.02em}.vocab-card .tel-word{font-size:13px;color:var(--purple);font-weight:850;margin:5px 0 14px}.vocab-card p{font-size:12px;color:var(--muted);line-height:1.55}.vocab-card button{border:0;background:#f0f1f7;border-radius:11px;width:37px;height:37px}
.coach-card{padding:23px}.coach-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}.coach-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#efefff,#e4e1ff);color:var(--purple);display:grid;place-items:center;font-weight:900}.coach-head div:last-child{display:flex;flex-direction:column}.coach-head small{color:var(--muted);margin-top:2px}.coach-card textarea{width:100%;resize:vertical;line-height:1.5}.tip-card,.pronunciation-tip{padding:17px;display:flex;gap:12px;align-items:flex-start;margin-top:14px}.tip-card>span,.pronunciation-tip>span{font-size:22px}.tip-card p,.pronunciation-tip p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.tone-row{display:flex;gap:8px;margin:12px 0}
.speaking-card{background:linear-gradient(180deg,rgba(255,255,255,.97),#f7f6ff);border:1px solid var(--line);border-radius:30px;padding:34px 25px;text-align:center;box-shadow:var(--shadow2);position:relative;overflow:hidden}.speaking-card:before{content:"";position:absolute;width:210px;height:210px;border:30px solid rgba(98,87,232,.04);border-radius:50%;right:-90px;top:-105px}.speaking-card h2{font-size:29px;margin:13px auto 7px;max-width:590px;letter-spacing:-.025em}.speaking-card>p{color:var(--muted);margin:0 0 22px}.sound-waves{height:47px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:15px}.sound-waves i{display:block;width:4px;border-radius:99px;background:linear-gradient(180deg,var(--purple),#9a83f7);animation:wave 1.25s ease-in-out infinite}.sound-waves i:nth-child(1),.sound-waves i:nth-child(7){height:12px}.sound-waves i:nth-child(2),.sound-waves i:nth-child(6){height:22px}.sound-waves i:nth-child(3),.sound-waves i:nth-child(5){height:34px}.sound-waves i:nth-child(4){height:44px}@keyframes wave{0%,100%{transform:scaleY(.55);opacity:.45}50%{transform:scaleY(1);opacity:1}}.listen-btn{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px 15px;font-weight:850;margin-right:7px}.record-btn{border:0;background:linear-gradient(135deg,var(--purple),#7869ed);color:#fff;border-radius:15px;padding:12px 19px;font-weight:900;box-shadow:0 10px 22px rgba(98,87,232,.22)}.record-btn span{margin-right:6px}
.game-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:28px;padding:25px;box-shadow:var(--shadow2)}.game-card .qno{color:var(--purple);font-size:10px;font-weight:900;letter-spacing:.13em}.game-card h2{font-size:24px;line-height:1.35;letter-spacing:-.02em}.answer-btn{width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px;margin:6px 0;font-weight:750}.answer-btn:hover{border-color:#c9c6ef;background:#fafaff}.answer-btn.correct{background:#eaf8f2;border-color:#89d4bb;color:#176f56}.answer-btn.wrong{background:#fff0f0;border-color:#efadad;color:#a64545}
.progress-hero{background:linear-gradient(135deg,#efefff,#fafaff 60%,#eef9f6);border:1px solid #e2e3f6;border-radius:27px;padding:23px;display:flex;gap:19px;align-items:center;box-shadow:var(--shadow2)}.progress-ring{width:96px;height:96px;flex:none;border-radius:50%;background:conic-gradient(var(--purple) 68%,#e2e3f2 68%);display:grid;place-items:center;position:relative}.progress-ring:before{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}.progress-ring span,.progress-ring small{position:relative;z-index:1}.progress-ring span{font-size:25px;font-weight:900;align-self:end}.progress-ring small{font-size:9px;color:var(--muted);align-self:start}.progress-hero h2{margin:7px 0 3px}.progress-hero p{margin:0;color:var(--muted);font-size:12px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:14px 0}.stat-box{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:20px;padding:17px;display:flex;flex-direction:column;box-shadow:var(--shadow2)}.stat-box>span{font-size:20px}.stat-box b{font-size:23px;margin:9px 0 1px}.stat-box small{font-size:10px;color:var(--muted)}.skills-card{padding:23px}.skill-row{display:grid;grid-template-columns:90px 1fr 42px;gap:11px;align-items:center;margin:15px 0}.skill-row span{font-size:12px}.skill-row>div{height:9px;background:#e9ebf3;border-radius:99px;overflow:hidden}.skill-row i{display:block;height:100%;background:linear-gradient(90deg,var(--purple),#8e78f4);border-radius:99px}.skill-row b{font-size:11px;text-align:right}
.profile-card{display:flex;gap:14px;align-items:center;padding:21px}.big-avatar{width:60px;height:60px;border-radius:19px;background:linear-gradient(145deg,#282a49,#62698f);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 10px 22px rgba(44,48,81,.18)}.profile-card h3{margin:0}.profile-card p{margin:3px 0 0;color:var(--muted);font-size:12px}.settings-card{margin:14px 0;padding:5px 20px}.settings-card label{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.settings-card label:last-child{border-bottom:0}.settings-card label>span{display:flex;flex-direction:column}.settings-card label small{color:var(--muted);margin-top:3px}.settings-card select{max-width:190px}.toggle-label input{width:19px;height:19px;accent-color:var(--purple)}
.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(940px,100%);height:80px;padding:9px 24px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.91);border-top:1px solid rgba(220,222,235,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:40;box-shadow:0 -10px 30px rgba(43,45,91,.06)}.nav-item{border:0;background:transparent;color:#a0a4ba;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative}.nav-item span{font-size:21px;line-height:1}.nav-item b{font-size:9px}.nav-item.active{color:var(--purple)}.nav-item.active:before{content:"";position:absolute;top:-9px;width:28px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--purple),#8c75f4);box-shadow:0 2px 7px rgba(98,87,232,.24)}
.modal-backdrop{display:none;position:fixed;inset:0;background:rgba(30,31,52,.43);backdrop-filter:blur(8px);z-index:60;padding:20px;align-items:center;justify-content:center}.modal-backdrop.show{display:flex}.modal{width:min(550px,100%);background:#fff;border-radius:29px;padding:25px;box-shadow:0 30px 90px rgba(25,25,54,.30)}.modal-top{display:flex;justify-content:space-between;gap:16px}.modal-top h2{margin:8px 0 3px}.modal-top p{margin:0;color:var(--muted);font-size:12px}.assessment-step{margin-top:22px}.question-count{font-size:10px;color:var(--purple);font-weight:900;letter-spacing:.1em}.assessment-options{display:flex;flex-direction:column;gap:9px}.assessment-options button{border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px;text-align:left;font-weight:750}.assessment-options button:hover{border-color:#bdbef3;background:#f8f8ff}
@media(max-width:720px){
  .app{padding:0 14px 106px}.app-header{height:76px}.brand-mark{width:43px;height:43px;border-radius:15px}.brand{font-size:16px}.brand-sub{display:none}.route{padding-top:19px}.welcome-row{align-items:center}.welcome-row h1{font-size:31px}.streak-card{min-width:78px;padding:10px 12px;border-radius:18px}.streak-icon{font-size:23px}.streak-card strong{font-size:19px}.goal-card{padding:20px;border-radius:26px}.goal-card h2{font-size:24px}.goal-ring{width:72px;height:72px}.goal-bottom{grid-template-columns:1fr 1fr}.continue-btn{grid-column:1/3;width:100%}.feature-grid{gap:10px}.feature-card{padding:16px;min-height:162px;border-radius:22px}.feature-card strong{font-size:16px}.feature-card small{font-size:11px}.phrase-card,.path-card,.level-card,.coach-card,.skills-card{border-radius:22px}.mode-scroll{top:75px;margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.tutor-hero{border-radius:22px;padding:15px}.avatar-ai{width:50px;height:50px;border-radius:17px}.tutor-hero h3{font-size:15px}.msg{max-width:97%;gap:8px}.msg.user{max-width:87%}.msg-avatar{width:32px;height:32px;border-radius:11px}.msg-body{padding:13px 14px;border-radius:19px 19px 19px 6px;min-width:0}.msg.user .msg-body{border-radius:19px 19px 6px 19px}.msg.ai .msg-body>p:has(> b:first-child){padding:10px}.composer-wrap{bottom:77px;padding:11px 14px 10px}.composer{border-radius:20px}.mic-main,.send-main{width:44px;height:44px;border-radius:14px}.level-card{flex-direction:column;align-items:flex-start}.vocab-cards{grid-template-columns:1fr}.translation-row{grid-template-columns:62px 1fr auto}.translation-row b{font-size:12px}.speaking-card{padding:28px 17px;border-radius:25px}.speaking-card h2{font-size:24px}.stat-grid{grid-template-columns:repeat(2,1fr)}.settings-card label{align-items:flex-start;flex-direction:column}.settings-card select{max-width:none;width:100%}.bottom-nav{padding-left:14px;padding-right:14px}
}
@media(max-width:430px){.welcome-row h1{font-size:28px}.feature-card{min-height:156px}.feature-icon{width:42px;height:42px}.goal-card p{font-size:11px}.tiny-stat small{display:none}.phrase-top{grid-template-columns:auto 1fr auto}.route-head h2{font-size:21px}.lesson-card-main,.practice-card{padding:19px}.lesson-card-main h2{font-size:25px}.skill-row{grid-template-columns:78px 1fr 38px}}
