:root{--bg:#15102f;--panel:#251d4c;--panel2:#34286f;--yellow:#ffd64d;--green:#55da87;--purple:#8067ff;--pink:#ff77b7;--text:#fff;--muted:#c8c1e0;--red:#ff7582}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;padding-bottom:92px;font-family:Inter,ui-rounded,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:radial-gradient(circle at 15% 8%,#6c51ff55,transparent 28%),radial-gradient(circle at 92% 28%,#ff6fb72d,transparent 24%),linear-gradient(180deg,#171131,#21164b 50%,#130f28)}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:34px 34px;opacity:.1}.zl-skip-link{position:fixed;left:12px;top:12px;z-index:9999;padding:10px 14px;border-radius:12px;background:#fff;color:#211a52;font-weight:900;text-decoration:none;transform:translateY(-160%)}.zl-skip-link:focus{transform:translateY(0)}:where(a,button,[tabindex]):focus-visible{outline:3px solid var(--yellow)!important;outline-offset:3px!important}.phrase-shell{width:min(780px,100%);margin:auto;padding:16px 16px 48px;position:relative;z-index:1}.phrase-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.phrase-toolbar button{border:1px solid #ffffff22;background:#ffffff10;color:#fff;border-radius:14px;padding:10px 13px;font-weight:900}.phrase-brand{font-weight:1000;letter-spacing:.02em}.phrase-hero{display:grid;grid-template-columns:1fr 150px;gap:18px;align-items:center;border:1px solid #ffffff24;border-radius:28px;padding:22px;background:linear-gradient(145deg,#442f98,#281e61);box-shadow:0 22px 55px #07051666;overflow:hidden}.phrase-eyebrow{font-size:12px;font-weight:1000;letter-spacing:.14em;color:var(--yellow)}.phrase-hero h1{font-size:clamp(30px,7vw,48px);line-height:1.04;margin:8px 0 10px}.phrase-hero p{margin:0;color:#e0dcf1;line-height:1.5}.phrase-hero-characters{display:flex;align-items:end;justify-content:center}.phrase-hero-characters img{width:92px;height:92px;border-radius:50%;object-fit:cover;border:3px solid #ffffff75;background:#fff}.phrase-hero-characters img+img{width:78px;height:78px;margin-left:-30px}.set-picker{display:flex;gap:8px;overflow:auto;padding:16px 2px 8px;scrollbar-width:none}.set-picker::-webkit-scrollbar{display:none}.set-chip{flex:0 0 auto;border:1px solid #ffffff1f;background:#ffffff0c;color:#ded8f4;border-radius:999px;padding:10px 13px;font-weight:900}.set-chip.active{background:var(--yellow);border-color:var(--yellow);color:#2f245a}.phrase-progress{margin:8px 0 14px;padding:14px 15px;border-radius:20px;background:#ffffff0c;border:1px solid #ffffff17}.phrase-progress-row{display:flex;justify-content:space-between;gap:12px;font-weight:900}.phrase-progress-track{height:10px;border-radius:999px;background:#ffffff15;overflow:hidden;margin:10px 0 7px}.phrase-progress-track span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--yellow),var(--green));transition:width .25s ease}.phrase-progress small{color:var(--muted)}.phrase-card{border-radius:30px;padding:20px;background:linear-gradient(160deg,#342d5a,#211b3f);border:2px solid #ffffff12;box-shadow:0 24px 70px #07031366}.coach-row{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #ffffff12}.coach-image{width:76px;height:76px;border-radius:22px;object-fit:cover;background:#f7f4ff;border:2px solid #ffffff54}.coach-copy span{display:block;color:var(--yellow);font-size:12px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.coach-copy strong{display:block;font-size:20px;margin-top:4px}.phrase-context,.phrase-target{margin-top:16px;border-radius:20px;padding:15px 16px}.phrase-context{background:#ffffff09;border:1px solid #ffffff12}.phrase-target{background:linear-gradient(145deg,#563bc2,#3c2b8d);border:1px solid #ffffff25}.phrase-context>span,.phrase-target>span{font-size:11px;font-weight:1000;letter-spacing:.11em;text-transform:uppercase;color:#d7d0ef}.phrase-context p{font-size:clamp(22px,5vw,30px);font-weight:900;margin:6px 0 0}.phrase-target h2{font-size:clamp(36px,9vw,58px);line-height:1.05;margin:7px 0 12px;letter-spacing:-.03em}.rhythm-toggle{border:0;background:#ffffff12;color:#fff;border-radius:12px;padding:8px 10px;font-weight:850}.rhythm-hint{margin-top:10px;color:#fff4ad;font-size:18px;font-weight:900}.usage-note{margin-top:10px;padding:10px 12px;border-radius:13px;background:#ffffff0e;color:#ece8fb;line-height:1.4;font-size:14px}.phrase-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.action{border:0;border-radius:17px;padding:14px 12px;font-size:15px;font-weight:1000;min-height:52px}.listen-action{background:var(--yellow);color:#30255d}.speak-action{background:var(--green);color:#122f23}.speak-action.listening{animation:zlPulse 1s infinite;box-shadow:0 0 0 5px #55da8733}.speak-action:disabled{opacity:.55}.speech-state{min-height:54px;display:grid;place-items:center;text-align:center;margin-top:12px;padding:10px 12px;border-radius:15px;background:#ffffff08;color:#e7e2f6;font-weight:850}.speech-state.success{background:#55da8720;border:1px solid #55da8765;color:#baf5cf}.speech-state.retry{background:#ff758218;border:1px solid #ff75825d;color:#ffd0d6}.heard{margin-top:8px;text-align:center;color:#c9c2e2;font-size:13px}.skip-action{display:block;margin:10px auto 0;border:0;background:transparent;color:#bdb6d8;text-decoration:underline;text-underline-offset:3px;padding:8px;font-weight:750}.phrase-finish{margin-top:16px;text-align:center;padding:32px 18px;border-radius:28px;background:linear-gradient(145deg,#2d245d,#1e193e);border:1px solid #ffffff1a}.finish-medal{font-size:62px}.phrase-finish h2{font-size:28px;margin:8px 0}.phrase-finish p{color:#ddd8ef}.finish-actions{display:grid;gap:9px;max-width:360px;margin:18px auto 0}.finish-actions button,.finish-actions a{border:0;border-radius:15px;padding:13px 15px;font-weight:1000;text-decoration:none}.finish-actions button{background:var(--yellow);color:#31265d}.finish-actions a{background:#ffffff10;color:#fff}.voice-note{margin:16px 2px 0;padding:14px;border-radius:18px;background:#ffffff08;border:1px solid #ffffff12;color:#c9c3df}.voice-note strong{color:#fff}.voice-note p{margin:5px 0 0;font-size:12px;line-height:1.45}@keyframes zlPulse{50%{transform:scale(1.02)}}@media(max-width:620px){.phrase-shell{padding-left:14px;padding-right:14px}.phrase-hero{grid-template-columns:1fr 94px;padding:18px}.phrase-hero-characters img{width:66px;height:66px}.phrase-hero-characters img+img{width:57px;height:57px}.phrase-card{padding:15px}.coach-image{width:66px;height:66px}.phrase-actions{grid-template-columns:1fr}.action{min-height:54px}.phrase-target h2{font-size:clamp(34px,11vw,50px)}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
