:root{--ink:#1e2440;--muted:#8b90a8;--purple:#7259ec;--purple-dark:#6045d8;--page:#f8f9fe;--line:#ebedf6;--white:#fff;--shadow:0 14px 40px rgba(37,38,78,.055);--round:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bdadff;outline-offset:3px}a{color:inherit}.icon{flex:0 0 auto;vertical-align:middle}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:13px;min-height:48px;padding:0 23px;font-weight:750;font-size:13px;transition:transform .18s,box-shadow .18s,background .18s;text-decoration:none;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:var(--purple);color:#fff;box-shadow:0 10px 22px #7058ec2d}.btn-primary:hover{background:var(--purple-dark)}.btn-white{color:var(--purple-dark);background:#fff;box-shadow:0 12px 25px #30238f29}.btn-secondary{color:#6957d2;background:#f0edff}.btn-wide{width:100%;margin-top:27px}.link-btn{border:0;background:none;color:var(--purple);font-weight:800;padding:0}.overline{color:#a09eae;font-size:10px;letter-spacing:1.5px;font-weight:850}.boot-loader{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--muted)}.loader-mark{font-size:55px;font-weight:950;letter-spacing:-5px;color:var(--purple)}.loader-mark span{color:#ffba76}
/* Login / Registration */
.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-story{min-height:100vh;background:linear-gradient(151deg,#8776f5,#6f58e6 68%,#5441bc);color:white;padding:43px clamp(36px,5vw,95px);position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story:before,.auth-story:after{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff2d;border-radius:50%;right:-135px;top:100px}.auth-story:after{width:660px;height:660px;right:-280px;top:-45px}.auth-brand,.brand,.auth-mobile-brand{display:flex;align-items:center;gap:11px;font-size:28px;letter-spacing:-1.4px;font-weight:900;position:relative;z-index:2}.brand-symbol{width:47px;height:47px;background:white;color:var(--purple);display:grid;place-items:center;border-radius:15px;font-size:27px;font-weight:950;letter-spacing:-4px;padding-right:4px;box-shadow:0 9px 19px #30238f14}.brand-symbol span{color:#ffac6f}.brand-dot{color:#ffcb87}.auth-story-content{position:relative;z-index:1;max-width:610px;margin:auto 0;min-height:590px;display:flex;flex-direction:column;justify-content:center}.auth-eyebrow{font-size:11px;letter-spacing:1.4px;font-weight:800;opacity:.85}.auth-story h1{font-size:clamp(45px,5.5vw,79px);font-weight:850;letter-spacing:-3.5px;line-height:1.075;margin:24px 0}.auth-story h1 em{font-style:normal;color:#ffe8a9}.auth-story-content>p{font-size:17px;line-height:1.75;color:#f0ecff;max-width:460px;margin:0}.floating-word{width:295px;height:240px;background:#fff;color:var(--ink);border-radius:22px;box-shadow:0 25px 55px #2b237f60;margin:44px 0 0 55px;padding:24px 28px;display:flex;flex-direction:column;transform:rotate(-4deg);position:relative}.floating-word:after{content:'✦';position:absolute;right:-48px;bottom:30px;font-size:55px;color:#ffe1a6;transform:rotate(8deg)}.floating-tag{font-size:9px;color:#a7a9be;font-weight:850;letter-spacing:1.8px}.floating-title{font-weight:850;font-size:41px;margin-top:21px;letter-spacing:-2px}.floating-emoji{font-size:24px;vertical-align:middle}.floating-meaning{font-size:21px;color:var(--purple);font-weight:700;margin-top:5px}.floating-foot{font-size:9px;color:#a1a3b7;margin-top:auto}.auth-foot{color:#e9e4ff;font-size:11px;letter-spacing:.2px;opacity:.85;position:relative;z-index:2}.auth-form-panel{display:flex;justify-content:center;align-items:center;padding:60px 40px}.auth-form-wrap{width:min(100%,440px)}.pill-small{display:inline-block;background:#eeebff;color:#785de6;border-radius:100px;font-size:10px;padding:9px 13px;letter-spacing:1px;font-weight:850}.auth-form-wrap h2{font-size:35px;letter-spacing:-1.2px;margin:23px 0 10px;line-height:1.15}.auth-subtitle{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 40px}.auth-form-wrap form{display:flex;flex-direction:column}.auth-form-wrap label,.add-form label,.typing-form label{font-size:12px;font-weight:800;margin-bottom:10px;color:#41465f}.auth-form-wrap input,.add-form input,.typing-form input{border:1.5px solid #e9e9f5;border-radius:13px;background:#fbfbff;padding:16px;font-size:14px;outline:0;transition:border-color .18s}.auth-form-wrap input:focus,.add-form input:focus,.typing-form input:focus{border-color:#a28fff}.auth-form-wrap input+label{margin-top:22px}.auth-switch{text-align:center;color:#8d90a9;margin-top:29px}.auth-benefits{margin-top:45px;padding-top:24px;border-top:1px solid #f0f0f7;display:flex;justify-content:space-between;gap:8px;color:#8d90a9;font-size:11px;font-weight:650}.auth-mobile-brand{display:none}
/* Shared app shell */
.app-layout{display:flex;min-height:100vh}.sidebar{width:255px;flex:none;min-height:100vh;background:#fff;border-right:1px solid #eff0f8;display:flex;flex-direction:column;padding:31px 19px 24px;position:sticky;top:0;height:100vh}.brand{color:var(--ink);padding-left:7px;margin-bottom:67px;font-size:25px}.brand .brand-symbol{background:var(--purple);color:white;width:39px;height:39px;border-radius:12px;font-size:24px}.brand .brand-symbol span{color:#ffce9f}.nav-caption{font-size:10px;letter-spacing:1.4px;font-weight:850;color:#b3b4c7;padding-left:19px;margin-bottom:21px}.side-nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:16px;padding:15px 18px;text-align:left;border:0;background:transparent;border-radius:13px;color:#8b8ca3;font-size:13px;font-weight:690}.nav-item:hover{background:#f7f6ff;color:var(--purple)}.nav-item.active{background:#eeebff;color:var(--purple);font-weight:850}.sidebar-spacer{flex:1}.side-tip{position:relative;overflow:hidden;background:#f1edff;border-radius:18px;padding:23px 18px;color:#6450be;margin:0 3px 27px;min-height:177px}.tip-sun{font-size:26px;color:#8267ed}.side-tip h3{font-size:15px;line-height:1.45;position:relative;z-index:1;margin:7px 0}.side-tip p{font-size:11px;line-height:1.65;position:relative;z-index:1;margin:5px 0;color:#9586ce}.tip-deco{font-size:110px;position:absolute;bottom:-55px;right:-32px;color:#e3dcff}.sidebar-logout{background:transparent;border:0;color:#9393a8;display:flex;gap:15px;align-items:center;font-size:12px;font-weight:700;padding:17px}.sidebar-logout:hover{color:#d56464}.workspace{flex:1;min-width:0}.topbar{height:88px;background:#fff;border-bottom:1px solid #eff0f8;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(24px,4vw,61px)}.breadcrumb{color:#a5a5b6;font-size:12px;font-weight:600}.breadcrumb span{padding:0 12px;color:#d0d0dd}.breadcrumb b{color:#434760;font-weight:800}.topbar-right{display:flex;align-items:center;gap:12px}.streak-mini{display:flex;align-items:center;gap:5px;background:#fff4e9;color:#e38c46;padding:10px 13px;border-radius:11px;font-weight:650;font-size:12px;margin-right:12px}.streak-mini strong{font-size:14px}.avatar{width:37px;height:37px;background:#e6e2ff;color:#654ad0;border-radius:12px;display:grid;place-items:center;font-size:16px;font-weight:850}.top-name{font-weight:750;color:#444862;font-size:12px}.main-content{padding:39px clamp(22px,4vw,58px) 80px;max-width:1450px;margin:auto}.mobile-nav{display:none}
/* Dashboard */
.welcome-heading,.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.welcome-heading h1,.page-title-row h1{font-size:28px;letter-spacing:-1px;margin:8px 0 7px;font-weight:850}.welcome-heading p,.page-title-row p{color:var(--muted);margin:0;font-size:13px}.today-label{display:flex;align-items:center;gap:9px;color:#7b7f96;font-size:12px;font-weight:700;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 15px;white-space:nowrap}.wave{font-size:26px}.hero{background:linear-gradient(114deg,#7159e9 10%,#8a76ef 100%);min-height:290px;border-radius:24px;display:grid;grid-template-columns:1fr 370px;overflow:hidden;color:#fff;box-shadow:0 15px 36px #7163dc24;position:relative}.hero-copy{position:relative;z-index:2;padding:40px 0 35px 47px}.hero-kicker{font-size:10px;letter-spacing:1.5px;font-weight:780;color:#ede9ff}.sparkle-spot{color:#ffe29d;margin-right:6px}.hero h2{margin:14px 0 13px;font-size:clamp(31px,3.1vw,43px);font-weight:850;line-height:1.15;letter-spacing:-1.5px}.hero h2 em{font-style:normal;color:#ffedb9}.hero-copy p{font-size:12px;line-height:1.7;max-width:350px;color:#eee9ff;margin:0 0 24px}.hero-art{position:relative;min-width:0}.orbit{position:absolute;border:1px solid #ffffff29;border-radius:50%;width:460px;height:460px;top:-82px;right:-95px}.orbit2{width:320px;height:320px;top:-9px;right:-25px}.hero-dot{position:absolute;color:#ffe39f;font-size:42px;z-index:2}.dot-one{top:24px;left:4px}.dot-two{right:29px;bottom:22px}.hero-card{position:absolute;width:237px;height:245px;top:26px;left:47px;background:#fff;box-shadow:0 25px 44px #2e20765a;color:var(--ink);border-radius:18px;transform:rotate(9deg);padding:21px 23px}.hero-card-top{display:flex;justify-content:space-between;align-items:center;color:#9d9daf;letter-spacing:1.3px;font-size:10px;font-weight:800}.hero-card-top span{font-size:20px}.hero-card-word{font-size:48px;font-weight:850;letter-spacing:-2.1px;margin-top:21px}.hero-card-phonetic{font-size:12px;color:#a8a3b9;margin:3px 0 15px}.hero-card-line{height:1px;background:#eeedf6}.hero-card-translation{color:#725ce1;font-weight:850;font-size:17px;margin-top:16px}.hero-card-bottom{font-size:8px;color:#b1b3c3;letter-spacing:1.5px;font-weight:800;margin-top:17px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:23px}.stat-card{position:relative;background:#fff;border:1px solid #f0f1f9;box-shadow:var(--shadow);border-radius:18px;min-height:174px;padding:21px}.stat-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;margin-bottom:13px}.stat-icon.violet{color:#765de6;background:#eeebff}.stat-icon.mint{color:#36a383;background:#e0f6ea}.stat-icon.peach{color:#e39c58;background:#fff0df}.stat-icon.blue{color:#6a9bdb;background:#e5f0ff}.stat-number{display:block;font-size:29px;letter-spacing:-1.4px;font-weight:900}.stat-number small{font-size:14px;letter-spacing:0}.stat-label{display:block;font-size:12px;font-weight:800;margin-top:2px;color:#42465e}.stat-sub{display:block;color:#a9aabd;font-size:10px;margin-top:5px}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading.with-top{margin-top:39px;margin-bottom:19px}.section-heading h2{font-size:20px;letter-spacing:-.6px;margin:0 0 6px}.section-heading p{margin:0;color:#999bad;font-size:12px}.category-scroller{display:flex;overflow:auto;gap:10px;scrollbar-width:thin;padding:3px 0 15px}.category-chip{flex:none;background:white;border:1px solid #edecf6;border-radius:12px;color:#7c7d95;padding:12px 16px;font-size:11px;font-weight:750;transition:background .2s,color .2s}.category-chip:hover{border-color:#c5b8ff}.category-chip.selected{color:white;background:#6f57e8;border-color:#6f57e8;box-shadow:0 7px 17px #6f57e826}.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:10px}.mode-card{text-align:left;border:1px solid #ededf5;box-shadow:var(--shadow);background:white;border-radius:18px;min-height:212px;padding:20px;position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s}.mode-card:hover{transform:translateY(-5px);box-shadow:0 18px 37px #53517815}.mode-card:before{content:'';position:absolute;width:145px;height:145px;border-radius:50%;background:var(--tint);top:-99px;right:-65px}.mode-card.violet{--tint:#ede6ff;--shade:#7359e7}.mode-card.blue{--tint:#e6edff;--shade:#648ee1}.mode-card.peach{--tint:#fff0e0;--shade:#e9a65c}.mode-card.mint{--tint:#e0f7ed;--shade:#35af8b}.mode-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.mode-icon{width:55px;height:55px;display:grid;place-items:center;background:var(--tint);color:var(--shade);border-radius:16px}.mode-arrow{color:#b6b4c3;display:flex}.mode-label{color:var(--shade);font-size:10px;font-weight:850;letter-spacing:.2px;margin-top:21px}.mode-card h3{margin:6px 0 5px;font-size:17px;font-weight:850;letter-spacing:-.4px}.mode-card p{margin:0;color:#9fa1b4;font-size:11px;line-height:1.5}.mode-count{position:absolute;bottom:12px;right:17px;color:#d2d2df;font-size:9px;font-weight:800}.bottom-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:28px}.panel{background:#fff;border:1px solid #eeeef7;border-radius:19px;padding:25px;box-shadow:var(--shadow)}.panel-title{display:flex;justify-content:space-between;align-items:flex-start}.panel-title h3{font-size:16px;margin:0 0 6px;letter-spacing:-.3px}.panel-title p{margin:0;color:#a2a2b6;font-size:11px}.graph-symbol{color:#9c91df}.bar-chart{height:191px;display:flex;gap:18px;align-items:flex-end;margin-top:19px;padding:0 10px}.bar-col{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center}.bar-num{height:17px;font-size:10px;font-weight:800;color:#8077cb}.bar-track{flex:1;width:100%;max-width:36px;background:#f4f2fc;border-radius:9px;display:flex;align-items:flex-end;overflow:hidden}.bar-fill{width:100%;background:#c8bcfa;border-radius:9px 9px 0 0;min-height:3px}.bar-fill.current{background:#755ee9}.bar-day{height:25px;padding-top:9px;color:#9da0b4;font-size:10px;font-weight:750;text-transform:capitalize}.goal-body{display:flex;align-items:center;gap:25px;padding-top:35px}.goal-ring{--pct:0;width:137px;height:137px;flex:none;border-radius:50%;background:conic-gradient(#795ce8 calc(var(--pct)*1%),#f0edfe 0);display:grid;place-items:center}.goal-ring>div{width:109px;height:109px;background:white;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%}.goal-ring strong{font-size:28px;letter-spacing:-1px}.goal-ring small{color:#adb0c2;font-size:10px;margin-top:5px}.goal-count{color:#a3a2b6;font-size:13px;font-weight:800}.goal-count strong{font-size:27px;color:#292d48}.goal-details p{line-height:1.6;font-size:11px;color:#a2a3b7}.text-link{border:0;background:none;color:var(--purple);display:inline-flex;gap:5px;align-items:center;font-weight:800;padding:0;font-size:11px}
/* Word library */
.page-title-row{margin-bottom:28px}.page-title-row h1{margin-top:8px}.add-word-panel{margin:0 0 24px;background:#fff}.add-form{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:21px}.add-form>div{display:flex;flex-direction:column}.add-form input{height:46px;padding:12px}.add-form .add-actions{grid-column:1/-1;align-items:flex-end}.icon-btn{background:#f5f5fc;border:0;border-radius:10px;color:#999;display:grid;place-items:center;width:35px;height:35px}.library-toolbar{display:flex;justify-content:space-between;gap:16px}.search-box{min-width:0;width:100%;max-width:540px;background:#fff;display:flex;align-items:center;gap:11px;border:1px solid #ededf5;border-radius:13px;padding:0 12px;color:#a3a5b9}.search-box input{flex:1;min-width:0;border:0;outline:0;padding:15px 0;font-size:12px;color:var(--ink)}.search-box button{border:0;background:#eeebff;color:#7059e3;padding:8px 14px;border-radius:9px;font-weight:750;font-size:11px}.library-toolbar select{background:#fff;color:#686a83;border:1px solid #ededf5;border-radius:13px;padding:0 16px;min-width:190px;max-width:260px;font-size:12px;font-weight:700}.word-list-meta{display:flex;justify-content:space-between;gap:16px;color:#a2a3b6;font-size:11px;margin:23px 1px 13px}.word-list-meta b{color:#6f5ce7}.word-list-meta>span:last-child{display:flex;gap:8px;align-items:center}.word-table-wrap{border-radius:18px;overflow:auto;background:#fff;border:1px solid #ededf6}.word-table{width:100%;border-collapse:collapse;min-width:680px}.word-table th{font-size:10px;letter-spacing:.9px;text-align:left;color:#a8a9bb;background:#fcfcff;font-weight:800;padding:19px 22px}.word-table td{padding:17px 22px;border-top:1px solid #f1f1f7;font-size:12px;color:#5a5c75}.word-table th:first-child{width:29%}.word-table th:nth-child(2){width:24%}.word-pronounce{display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;color:#292d47;padding:0;font-size:13px}.word-pronounce strong{font-size:14px}.sound-small{color:#8670f0;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f0edff}.example-mini{font-size:10px;color:#afb0be;padding:8px 0 0 40px;max-width:270px;line-height:1.5}.topic-pill{background:#f5f4fd;color:#8883ab;font-size:10px;font-weight:750;border-radius:8px;padding:8px 10px;white-space:nowrap}.status-pill{display:inline-block;border-radius:8px;padding:8px 10px;font-size:10px;font-weight:800;white-space:nowrap}.status-pill.new{color:#8b82be;background:#f3f1ff}.status-pill.due{color:#c38a49;background:#fff4e4}.status-pill.learned{color:#40a387;background:#e3f7ee}.delete-word{color:#d98f95;border:0;background:transparent;padding:8px;border-radius:9px}.delete-word:hover{background:#ffeef0}.empty-table{text-align:center;padding:50px!important;color:#a6a6b8!important}.library-bottom{display:flex;justify-content:flex-end;margin-top:20px}
/* Practice */
.practice-shell{max-width:850px;margin:0 auto}.practice-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}.btn-back{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#9596ad;font-size:12px;font-weight:750;padding:8px 0}.btn-back:hover{color:var(--purple)}.practice-mode-label{display:flex;gap:8px;align-items:center;background:#eeebff;color:#7059e5;padding:10px 13px;border-radius:11px;font-weight:800;font-size:11px}.practice-progress-head{display:flex;justify-content:space-between;align-items:center}.practice-progress-head h1{font-size:30px;letter-spacing:-1px;margin:8px 0}.practice-progress-head p{color:#a5a6b9;font-size:12px;margin:0}.progress-count{text-align:right;color:#a9aabc;font-size:17px;font-weight:700}.progress-count b{font-size:32px;color:#7358e5}.progress-count small{display:block;font-size:9px;letter-spacing:1.1px;font-weight:800;margin-top:3px}.progress-track{margin:19px 0 27px;background:#eae8f6;height:9px;border-radius:30px;overflow:hidden}.progress-track>div{height:100%;background:linear-gradient(90deg,#7459e9,#ae97ff);border-radius:30px;transition:width .3s}.quiz-card{background:#fff;border:1px solid #eeeef7;border-radius:23px;box-shadow:var(--shadow);padding:36px 47px 38px}.practice-instruction{text-align:center;color:#9999ad;font-size:12px;font-weight:700;margin-bottom:25px}.flashcard{max-width:540px;min-height:318px;width:100%;border:1.5px solid #e4dcff;background:linear-gradient(150deg,#f8f5ff,#f1edff);border-radius:19px;display:flex;flex-direction:column;text-align:center;padding:23px 31px;margin:0 auto;box-shadow:0 12px 25px #7c65e51c;transition:transform .3s}.flashcard:hover{transform:translateY(-2px)}.flashcard.flipped{background:linear-gradient(155deg,#f0fff7,#f2f7ff);border-color:#d0efdf}.flashcard-top{display:flex;justify-content:space-between;align-items:center;color:#a69ad4;font-size:10px;letter-spacing:1.5px;font-weight:850}.flashcard-word{font-size:clamp(36px,5vw,54px);font-weight:850;letter-spacing:-1.8px;color:#2a2949;margin:30px 0 9px;overflow-wrap:anywhere}.flashcard-translate{font-size:24px;color:#785ce8;font-weight:800}.flashcard-example{font-size:12px;color:#686a86;line-height:1.8;margin-top:20px}.flashcard-example small{font-size:11px;color:#999aaf}.flashcard-help{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#9388bf;margin-top:30px}.flashcard-footer{color:#aea6d2;font-size:9px;letter-spacing:1.5px;font-weight:850;margin-top:auto;padding-top:22px}.rate-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:27px auto 0;max-width:620px}.btn-rate{min-height:51px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;font-weight:800;border:1px solid;font-size:12px}.btn-rate.forgot{background:#fff0ef;color:#d76f70;border-color:#ffdddd}.btn-rate.hard{background:#fff9e8;color:#be9358;border-color:#fceac5}.btn-rate.knew{background:#e6f9ef;color:#36a47f;border-color:#c3eed8}.help-note{text-align:center;font-size:11px;color:#a6a5bd;margin-top:24px}.question-word{text-align:center;color:#292c4b;font-size:clamp(39px,6vw,57px);font-weight:850;letter-spacing:-1.3px;margin:16px 0 14px;overflow-wrap:anywhere}.question-word.translation{color:#6956d7;font-size:clamp(31px,5vw,46px)}.listen-inline{background:#f1edff;border:0;border-radius:13px;color:var(--purple);padding:11px;vertical-align:middle;margin-left:6px}.listen-inline:hover{background:#e1dbff}.question-subtitle{font-size:12px;text-align:center;color:#a4a5ba;margin-bottom:30px}.choice-list{max-width:600px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:14px}.choice-option{border:1.5px solid #eae9f3;background:#fff;border-radius:14px;padding:17px;display:flex;align-items:center;gap:12px;text-align:left;min-height:69px;color:#555770;font-size:13px;font-weight:760;transition:background .15s,border-color .15s}.choice-option:hover:not(:disabled){border-color:#ac9af5;background:#faf9ff}.choice-option:disabled{opacity:1}.choice-option.correct{border-color:#67cea2;background:#ebfff4;color:#25966e}.choice-option.incorrect{border-color:#f1a2a2;background:#fff0f0;color:#c7626a}.option-letter{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#f1effa;color:#8e86bb;font-size:12px;font-weight:800;flex:none}.choice-option.correct .option-letter{background:#cef4e0;color:#228a64}.choice-option.incorrect .option-letter{background:#ffe0e0;color:#c7626a}.choice-option>.icon:last-child{margin-left:auto}.answer-feedback{margin:26px auto 0;max-width:600px;border-radius:15px;padding:18px;display:flex;align-items:flex-start;gap:13px}.answer-feedback.yes{background:#eaf9f1;color:#2a936e}.answer-feedback.no{background:#fff2ee;color:#c67a5b}.feedback-symbol{flex:none;width:34px;height:34px;border-radius:10px;background:#fff9;display:grid;place-items:center}.answer-feedback strong{font-size:13px}.answer-feedback p{font-size:11px;line-height:1.7;margin:6px 0 0;color:#6c7680}.next-button{display:flex;margin:22px auto 0}.prompt-bubble{display:block;text-align:center;margin:38px auto 0;color:#9885d5;font-size:10px;letter-spacing:1.2px;font-weight:850}.typing-form{max-width:590px;margin:25px auto 4px}.typing-form label{display:block;margin-bottom:12px}.answer-input-group{display:flex;gap:12px}.answer-input-group input{flex:1;min-width:0;background:#fff}.listen-block{text-align:center;margin:37px auto 27px}.listen-main{height:100px;width:100px;border:0;color:#fff;background:linear-gradient(145deg,#876eed,#6f56df);border-radius:30px;box-shadow:0 15px 26px #6c54da3a;display:grid;place-items:center;margin:0 auto 23px;transition:transform .17s}.listen-main:hover{transform:scale(1.06)}.listen-block div{color:#56556d;font-size:14px;font-weight:800}.listen-block small{display:block;color:#a1a2b7;margin-top:8px}.quiz-tip{text-align:center;color:#a3a0b7;font-size:11px;display:flex;align-items:center;gap:8px;justify-content:center;margin-top:24px}.quiz-tip .icon{color:#8977e2}.finish-wrap,.empty-practice{text-align:center;max-width:730px;margin:35px auto;padding:65px 42px;background:white;border:1px solid #eeeeF7;border-radius:25px}.finish-icon,.empty-emoji{font-size:65px;margin-bottom:20px}.finish-wrap h1,.empty-practice h1{font-size:34px;letter-spacing:-1.3px;margin:9px 0 14px}.finish-wrap p,.empty-practice p{color:#9999af;line-height:1.7;max-width:450px;margin:0 auto}.finish-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:36px 0}.finish-stat-row>div{background:#f6f4ff;border-radius:16px;padding:21px 10px}.finish-stat-row strong{display:block;font-size:32px;color:#735ce1}.finish-stat-row small{display:block;margin-top:7px;font-size:10px;color:#a3a0b4}.finish-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.empty-practice{margin:45px auto}.toast{position:fixed;bottom:27px;right:27px;max-width:min(360px,calc(100vw - 38px));z-index:9999;background:#313554;color:#fff;padding:16px 20px;border-radius:13px;box-shadow:0 14px 40px #29284130;font-size:12px;line-height:1.5;font-weight:700}.toast.success{background:#258c69}
@media(max-width:1250px){.sidebar{width:220px}.hero{grid-template-columns:1fr 300px}.hero-card{left:5px}.mode-grid{grid-template-columns:repeat(2,1fr)}.mode-card{min-height:195px}}
@media(max-width:1030px){.sidebar{width:76px;padding-left:11px;padding-right:11px}.brand{margin-bottom:60px;padding:0}.brand>span,.nav-caption,.nav-item span,.side-tip,.sidebar-logout span{display:none}.brand .brand-symbol{width:46px;height:46px}.nav-item{justify-content:center;padding:16px 0}.sidebar-logout{justify-content:center}.hero{grid-template-columns:1fr 255px}.hero-copy{padding-left:29px}.hero-card{left:-15px;width:215px}.bottom-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sidebar{display:none}.topbar{height:70px;padding:0 22px}.main-content{padding:27px 20px 100px}.mobile-nav{position:fixed;z-index:50;display:flex;bottom:0;left:0;right:0;justify-content:space-around;background:#fff;border-top:1px solid #eeeef8;box-shadow:0 -8px 20px #17174d0a;padding:8px 4px max(8px,env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:10px;color:#9b9daf;padding:7px 6px;font-weight:750;min-width:55px}.mobile-nav button.active{color:var(--purple)}.stats-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr 240px}.hero h2{font-size:34px}.hero-card{left:-25px;top:45px;width:206px;height:225px}.hero-card-word{font-size:38px}.bottom-grid{grid-template-columns:1fr 1fr}.auth-story{padding:30px}.auth-story h1{font-size:47px}.auth-story-content{min-height:450px}.floating-word{width:250px;height:217px;margin-left:0}.auth-form-panel{padding:35px}.auth-benefits{flex-direction:column;gap:10px}}
@media(max-width:590px){.breadcrumb{font-size:11px}.top-name{display:none}.topbar-right{gap:8px}.streak-mini{margin-right:0}.welcome-heading{align-items:flex-start}.welcome-heading h1,.page-title-row h1{font-size:25px}.today-label{display:none}.hero{min-height:310px;display:block}.hero-copy{padding:32px 27px;max-width:330px}.hero h2{font-size:33px}.hero-copy p{max-width:210px}.hero-art{position:absolute;right:-66px;bottom:-58px;width:225px;height:220px;opacity:.75}.hero-card{transform:rotate(12deg) scale(.7);transform-origin:top left;top:48px;left:20px}.orbit{right:-40px;top:0}.orbit2{right:10px;top:30px}.hero-dot{display:none}.stats-grid{gap:11px}.stat-card{padding:16px;min-height:159px}.stat-number{font-size:25px}.stat-label{font-size:11px}.stat-sub{font-size:9px}.mode-grid{grid-template-columns:1fr 1fr;gap:11px}.mode-card{padding:15px;min-height:205px}.mode-icon{width:44px;height:44px}.mode-label{font-size:9px}.mode-card h3{font-size:15px}.mode-card p{font-size:10px}.bottom-grid{grid-template-columns:1fr}.goal-body{justify-content:center}.page-title-row{align-items:flex-start}.page-title-row>.btn{padding:0 13px;min-height:41px;font-size:10px}.library-toolbar{flex-direction:column}.library-toolbar select{height:44px;max-width:100%}.word-list-meta>span:last-child{display:none}.quiz-card{padding:28px 19px}.choice-list{grid-template-columns:1fr}.practice-progress-head h1{font-size:25px}.flashcard-word{font-size:40px}.rate-buttons{grid-template-columns:1fr;gap:9px}.btn-rate{min-height:43px}.answer-input-group{flex-direction:column}.answer-input-group input{min-height:52px}.finish-stat-row{gap:6px}.finish-stat-row strong{font-size:24px}.finish-stat-row small{font-size:9px}.finish-wrap,.empty-practice{padding:45px 20px}.add-form{grid-template-columns:1fr}.add-form .add-actions{grid-column:auto}.auth-page{display:block}.auth-story{display:none}.auth-form-panel{min-height:100vh;padding:30px 24px}.auth-mobile-brand{display:flex;position:absolute;top:30px;left:27px;color:#312e56}.auth-mobile-brand .brand-symbol{background:#795feb;color:#fff}.auth-form-wrap h2{font-size:30px}.auth-benefits{flex-direction:row;flex-wrap:wrap;gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Setup error (deployment variables missing) */
.setup-needed{max-width:650px;margin:12vh auto;padding:32px;border:1px solid #e4e3f7;border-radius:24px;background:#fff;color:#27243e;line-height:1.7}.setup-needed h1{font-size:2rem;margin:0 0 1rem}.setup-needed p{margin:.6rem 0}


/* Wordora 2.1: comfortable, compact practice screen */
.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.session-length-control{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#666d87;font-size:12px;font-weight:750}
.session-length-control select{border:1px solid #e5e3f2;background:#fff;border-radius:10px;padding:10px 12px;color:#6352c5;font-weight:800;min-width:115px}
.main-content:has(.practice-shell){padding-top:13px;padding-bottom:168px}
.workspace:has(.practice-shell) .topbar{height:60px}
.practice-shell{max-width:850px;scroll-margin-top:10px}
.practice-header{margin-bottom:8px}
.practice-progress-head h1{font-size:clamp(22px,2.1vw,28px);margin:3px 0 4px;letter-spacing:-.7px}
.practice-progress-head .overline{font-size:9px;letter-spacing:1px}
.practice-progress-head p{font-size:11px}
.progress-count b{font-size:26px}
.progress-track{height:6px;margin:10px 0 14px}
.quiz-card{padding:20px 30px 22px;border-radius:19px}
.practice-instruction{margin-bottom:12px;font-size:11px}
.question-word{font-size:clamp(31px,4vw,45px);margin:6px 0 7px}
.question-word.translation{font-size:clamp(28px,3.6vw,40px)}
.question-subtitle{margin-bottom:15px}
.choice-list{gap:9px}
.choice-option{min-height:56px;padding:10px 12px;border-radius:12px}
.prompt-bubble{margin:12px auto 0}
.typing-form{margin:16px auto 1px}
.answer-input-group input{padding:12px}
.answer-feedback{margin-top:13px;padding:12px;border-radius:12px;gap:11px}
.answer-feedback p{margin-top:3px;line-height:1.5}
.flashcard{min-height:210px;padding:16px 24px;border-radius:16px}
.flashcard-word{font-size:clamp(30px,4vw,44px);margin:18px 0 5px}
.flashcard-translate{font-size:23px}
.flashcard-example{margin-top:10px;line-height:1.45}
.flashcard-help{margin-top:16px}
.flashcard-footer{padding-top:12px}
.help-note{margin-top:10px}
.listen-block{margin:10px auto 15px}
.listen-main{width:72px;height:72px;border-radius:22px;margin-bottom:9px}
.listen-main .icon{width:30px;height:30px}
.listen-block small{margin-top:3px}
.practice-actionbar{position:fixed;z-index:100;bottom:14px;left:calc(255px + (100vw - 255px)/2);transform:translateX(-50%);width:min(850px,calc(100vw - 290px));display:flex;align-items:center;gap:16px;justify-content:space-between;background:#fff;border:1px solid #dedaf8;box-shadow:0 15px 48px #41317b29;border-radius:18px;padding:13px 18px}
.practice-action-summary{display:flex;flex-direction:column;gap:4px;min-width:0}
.practice-action-summary strong{font-size:13px;color:#4f418d}
.practice-action-summary span{font-size:11px;color:#8387a3}
.practice-action-summary kbd{border:1px solid #e3e0f2;border-radius:5px;background:#f7f5ff;padding:1px 5px;font:inherit;font-weight:800}
.practice-actions{flex:none;display:flex;justify-content:flex-end;align-items:center}
.practice-actions .next-button{margin:0;min-width:175px}
.practice-actions .btn-skip{white-space:normal;text-align:center}
.practice-actions .rate-buttons{display:flex;max-width:none;gap:8px;margin:0}
.practice-actions .btn-rate{min-height:46px;padding:0 12px;white-space:nowrap}
.practice-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;color:#89869e;font-size:11px}
.practice-footer>span{display:flex;align-items:center;gap:6px}
.auto-next-control{display:flex;align-items:center;gap:7px;font-size:11px;color:#555779;cursor:pointer}
.auto-next-control input{accent-color:var(--purple);width:17px;height:17px;cursor:pointer}
@media(max-width:1250px){.practice-actionbar{left:calc(220px + (100vw - 220px)/2);width:min(850px,calc(100vw - 240px))}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1030px){.practice-actionbar{left:calc(76px + (100vw - 76px)/2);width:min(850px,calc(100vw - 96px))}}
@media(max-width:800px){.practice-actionbar{left:50%;bottom:76px;width:calc(100vw - 22px);padding:11px 13px;border-radius:14px}.main-content:has(.practice-shell){padding:10px 14px 180px}.workspace:has(.practice-shell) .topbar{height:45px}.practice-header{margin-bottom:5px}.practice-action-summary span{font-size:10px}.practice-progress-head h1{font-size:23px}}
@media(max-width:590px){.session-length-control{font-size:10px;flex-direction:column;align-items:flex-end;gap:3px}.session-length-control select{min-width:99px;padding:8px}.practice-header .btn-back{font-size:10px}.practice-mode-label{padding:7px;font-size:10px}.practice-progress-head h1{font-size:21px}.quiz-card{padding:15px 14px}.choice-list{grid-template-columns:1fr;gap:7px}.choice-option{min-height:46px;padding:6px 10px}.option-letter{width:26px;height:26px}.practice-actionbar{gap:7px;flex-direction:column;align-items:stretch}.practice-action-summary{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.practice-action-summary strong{font-size:11px}.practice-action-summary span{font-size:10px}.practice-actions,.practice-actions>.btn{width:100%}.practice-actions .rate-buttons{width:100%;gap:5px}.practice-actions .btn-rate{flex:1;min-width:0;min-height:43px;padding:5px;font-size:10px;gap:3px}.practice-actions .btn-rate .icon{width:14px}.practice-footer{flex-direction:column;align-items:flex-start;gap:8px}.listen-main{width:64px;height:64px}.answer-input-group{flex-direction:row}.answer-input-group input{width:100%;min-height:46px}.answer-input-group .btn{padding:0 10px;font-size:11px}.prompt-bubble{margin-top:5px}.question-subtitle{margin-bottom:10px}.flashcard{min-height:182px}.flashcard-word{font-size:34px}.practice-instruction{margin-bottom:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.flashcard,.choice-option{transition:none!important}}
