
:root{--bg:#050505;--surface:#121212;--ink:#f4f4f4;--text:#e2e2e3;--muted:#a4a4aa;--line:#2a2a2d;--green:#ffd700;--lime:#ffd700;--soft:#211f13;--warm:#27251a;--error:#a3312d;--shadow:0 20px 65px #18332214;color-scheme:dark;font-family:'Segoe UI',system-ui,Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:wait;opacity:.6}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffd700;outline-offset:3px}button{color:inherit}button svg{flex-shrink:0}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,4.3vw,54px);letter-spacing:-2px;line-height:1.12;font-weight:650}h2{font-size:25px;letter-spacing:-.7px;font-weight:650}h3{font-size:18px;font-weight:600}p{color:var(--muted)}small{font-size:13px}svg{display:inline-block;vertical-align:middle}button{border:0}input,select,textarea{width:100%;color:var(--text);border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:13px 15px}textarea{resize:vertical;min-height:110px}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.boot{min-height:100dvh;display:grid;place-content:center;text-align:center;gap:20px;padding:30px}.boot h1{max-width:600px}.brand{display:inline-flex;align-items:center;font-size:29px;font-weight:750;letter-spacing:-1.4px;gap:8px;color:var(--green)}.brand span{width:27px;height:27px;display:grid;place-items:center;background:var(--lime);border-radius:8px;font-size:23px;letter-spacing:0}.layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:36px 22px;background:var(--surface);border-right:1px solid var(--line)}.sidebar .brand{padding:0 12px}.sidebar .caption{font-size:12px;padding:5px 12px;color:var(--muted)}.nav{display:flex;flex-direction:column;gap:7px;margin-top:53px}.nav button{display:flex;gap:14px;align-items:center;text-align:left;padding:14px;border-radius:12px;background:transparent;font-size:15px;color:var(--muted)}.nav button.active{color:var(--green);background:var(--soft);font-weight:650}.nav button:hover{background:var(--soft)}.sidebar-bottom{margin-top:auto}.sidebar-note{font-size:13px;margin:22px 12px 0;max-width:155px}.avatar{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:var(--soft);color:var(--green);font-size:14px;font-weight:600}.main-wrap{min-width:0;padding:0 5.2vw 55px}.topbar{height:98px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.topbar .brand{display:none}.topbar-right{display:flex;align-items:center;gap:13px}.mobile-settings{display:none!important}.main{max-width:1050px;margin:auto;padding-top:42px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:650;color:var(--muted);margin-bottom:15px}.intro{margin:14px 0 25px;max-width:500px;font-size:17px}.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,1fr);gap:35px;align-items:center;padding:0 0 39px}.hero-copy{padding:15px 0}.hero-copy h1{max-width:480px}.hero-copy .btn{margin-top:4px}.hero-meta{font-size:13px;display:flex;gap:16px;margin-top:16px;color:var(--muted)}.word-art{position:relative;min-height:285px;display:grid;place-items:center}.word-art:before{content:'';width:230px;height:258px;border-radius:23px;background:#25231b;transform:rotate(-10deg);position:absolute}.word-art:after{content:'';width:230px;height:258px;border-radius:23px;background:#191919;transform:rotate(6deg);position:absolute}.featured-word{position:relative;z-index:1;width:247px;min-height:259px;border-radius:22px;background:var(--surface);padding:25px;box-shadow:0 8px 28px #28402e0d;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-2deg)}.featured-word .top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.featured-word strong{display:block;font-size:44px;letter-spacing:-1px;font-weight:650;line-height:1.1;margin-bottom:8px}.featured-word p{font-size:15px}.featured-word .example{font-size:12px;border-top:1px solid var(--line);padding-top:15px;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 21px;border-radius:12px;background:var(--green);color:#fff;font-size:15px;font-weight:600;line-height:1.4}.btn:hover{filter:brightness(1.1)}.btn.secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink)}.btn.soft{background:var(--soft);color:var(--green)}.btn.lime{background:var(--lime);color:#171500}.btn.full{width:100%}.btn.small{min-height:38px;padding:8px 12px;font-size:13px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--line);border-radius:50%;height:40px;width:40px;flex-shrink:0}.icon-btn:hover{background:var(--soft)}.icon-btn.flat{border:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:33px 0 18px}.text-btn{color:var(--green);background:none;padding:8px 0;font-size:14px;display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.daily-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.daily-card{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;align-items:flex-start;gap:18px}.daily-card.alt{background:transparent}.daily-card .tile-icon{height:43px;width:43px;border-radius:13px;background:var(--surface);display:grid;place-items:center;flex-shrink:0}.daily-card p{font-size:14px;margin:7px 0 13px;max-width:320px}.daily-card .text-btn{padding:0;font-weight:600}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.topic{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:21px;text-align:left;min-height:133px;transition:border-color .15s,transform .15s}.topic:hover{border-color:#847421;transform:translateY(-2px)}.topic-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:var(--muted);font-size:12px}.topic-code{font-size:16px;letter-spacing:-.5px;color:var(--green);font-weight:650}.topic strong{font-size:16px;font-weight:650}.topic p{font-size:12px;margin-top:3px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:26px}.page-head h1{font-size:38px;letter-spacing:-1.5px}.page-head p{margin-top:12px;max-width:590px}.toolbar{display:flex;gap:12px;margin-bottom:16px}.toolbar .search{flex:1;min-width:0;position:relative}.search svg{position:absolute;left:14px;top:16px;color:var(--muted)}.search input{padding-left:44px}.toolbar select{max-width:215px}.chips{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 12px;scrollbar-width:none}.chip{border-radius:9px;background:transparent;padding:9px 13px;color:var(--muted);font-size:14px;white-space:nowrap;min-height:40px}.chip.active{background:var(--green);color:#fff}.chip:not(.active){border:1px solid var(--line)}.word-list{border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden;margin-top:6px}.word-row{display:flex;align-items:center;gap:13px;padding:16px 20px;border-bottom:1px solid var(--line)}.word-row:last-child{border-bottom:0}.word-open{text-align:left;min-width:0;flex:1;background:transparent;padding:0}.word-open strong{display:block;font-size:18px;font-weight:600;word-break:break-word}.word-open span{color:var(--muted);font-size:14px}.word-right{display:flex;align-items:center;gap:13px}.status{font-size:11px;padding:4px 8px;background:var(--soft);color:var(--green);border-radius:6px;white-space:nowrap}.status.saved{background:var(--warm);color:#68573f}.small-note{font-size:13px;margin-top:14px;color:var(--muted)}.empty{padding:42px 24px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:18px;margin-top:15px}.empty h3{margin:12px 0 8px}.empty .btn{margin-top:20px}.panel{padding:28px;border:1px solid var(--line);background:var(--surface);border-radius:18px}.review-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:23px;align-items:start}.form-stack{display:grid;gap:22px}.selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.select-card{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:17px;text-align:left}.select-card.active{background:var(--soft);border-color:var(--green)}.select-card strong{display:block;font-size:21px;font-weight:650}.select-card span{font-size:13px;color:var(--muted)}.segmented{display:flex;background:var(--bg);padding:5px;border:1px solid var(--line);border-radius:12px;gap:5px}.segmented button{flex:1;padding:10px 7px;border-radius:8px;background:transparent;font-size:14px}.segmented .active{background:var(--surface);box-shadow:0 2px 5px #223c3110;font-weight:650}.review-aside{padding:25px 6px}.review-aside h3{margin-bottom:16px}.history-item{padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.history-item span{color:var(--muted);font-size:12px}.check-label{display:flex;align-items:center;gap:10px;font-weight:400;font-size:14px}.check-label input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.lesson-list{display:grid;gap:12px}.lesson-card{display:flex;align-items:center;gap:20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:23px;text-align:left;width:100%}.lesson-number{width:42px;height:42px;border-radius:12px;background:var(--soft);display:grid;place-items:center;font-size:13px;color:var(--green);flex-shrink:0}.lesson-content{flex:1}.lesson-content p{font-size:13px;margin-top:4px}.lesson-card>svg{color:var(--muted)}.settings-grid{max-width:640px}.setting-description{font-size:13px;margin-top:7px}.chat-wrap{max-width:760px}.teacher-intro{padding:22px;background:var(--soft);border-radius:16px;display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.teacher-intro .teacher-mark{background:var(--green);color:var(--lime);font-weight:650;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.teacher-intro p{font-size:14px;margin-top:4px}.chat-messages{display:flex;flex-direction:column;gap:15px;min-height:100px}.bubble{align-self:flex-start;max-width:92%;padding:17px 20px;border-radius:16px;background:var(--surface);border:1px solid var(--line);font-size:15px;white-space:pre-wrap;word-break:break-word}.bubble.user{align-self:flex-end;background:var(--green);color:#fff;border-color:var(--green)}.bubble .btn{margin-top:14px;white-space:normal}.chat-form{display:flex;align-items:flex-end;gap:10px;margin-top:22px;position:sticky;bottom:15px;background:var(--bg);padding:10px 0}.chat-form textarea{min-height:52px;max-height:160px;height:54px}.chat-form .btn{height:54px;flex-shrink:0}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.suggestions button{padding:9px 13px;border:1px solid var(--line);background:var(--surface);border-radius:10px;font-size:13px}.modal-backdrop{position:fixed;inset:0;background:#152e2566;backdrop-filter:blur(4px);z-index:30;display:grid;place-items:center;padding:22px;overflow-y:auto}.modal{background:var(--bg);width:min(100%,600px);max-height:calc(100dvh - 44px);overflow-y:auto;border-radius:24px;box-shadow:var(--shadow);padding:28px;animation:enter .18s ease-out}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.modal-header span{font-size:13px;color:var(--muted)}.modal h2{font-size:27px}.modal .intro{font-size:15px}.word-detail{text-align:center;padding:22px 0}.word-detail h2{font-size:45px;word-break:break-word;line-height:1.1}.word-detail .translation{font-size:19px;margin:12px 0 18px;color:var(--muted)}.example-box{padding:19px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:20px 0;text-align:left}.example-box p{font-size:14px;margin-top:6px}.study-counter{font-size:13px;margin-bottom:15px;color:var(--muted)}.question-title{font-size:29px;line-height:1.3;letter-spacing:-.6px;margin:14px 0 28px;overflow-wrap:anywhere}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px}.answer-option{background:var(--surface);border:1px solid var(--line);border-radius:13px;text-align:left;padding:18px;min-height:64px;font-size:17px;overflow-wrap:anywhere}.answer-option:hover{border-color:var(--green);background:var(--soft)}.answer-option.selected{border:2px solid var(--green);background:var(--soft);padding:17px}.token-answer{min-height:94px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:13px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:7px;margin-bottom:15px}.token-pool{display:flex;flex-wrap:wrap;gap:9px;min-height:100px;align-content:flex-start;margin-bottom:15px}.token{padding:10px 14px;background:var(--surface);border:1px solid #524b27;border-radius:9px;box-shadow:0 2px 0 #292619;min-height:44px}.token-answer .token{background:var(--soft)}.feedback{padding:20px;background:var(--soft);border:1px solid #716319;border-radius:14px;margin:20px 0}.feedback.wrong{background:#fbefec;border-color:#e9c9c2;color:#81342e}.feedback p{color:inherit;font-size:14px;margin-top:7px;white-space:pre-wrap}.feedback h3{color:inherit}.session-bottom{margin-top:25px}.results{padding:12px 0;text-align:center}.results .score{font-size:62px;line-height:1.2;letter-spacing:-3px;font-weight:650;color:var(--green);margin:16px 0}.results .score small{font-size:26px;color:var(--muted);letter-spacing:-1px}.result-errors{display:grid;gap:9px;margin:20px 0;text-align:left}.result-error{padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:14px}.result-error small{display:block;color:var(--muted)}.lesson-rule{font-size:16px;line-height:1.7}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.add-results{margin:20px 0;max-height:330px;overflow-y:auto}.suggestion-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.suggestion-row input{width:20px;height:20px;accent-color:var(--green)}.suggestion-row label{font-size:15px;margin:0;flex:1}.suggestion-row small{display:block;font-weight:400;color:var(--muted)}.notice{padding:14px 16px;border-radius:12px;border:1px solid var(--line);font-size:13px;color:var(--muted);margin-bottom:22px}.notice a{font-weight:600}.offline-indicator{font-size:12px;background:var(--soft);padding:5px 10px;border-radius:7px;color:var(--green)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:var(--green);color:#fff;border-radius:12px;padding:13px 20px;max-width:min(90vw,540px);z-index:100;box-shadow:var(--shadow);font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.skeleton{padding:40px 20px;color:var(--muted);text-align:center}.inline-error{color:var(--error);font-size:14px;margin:12px 0}.footer-note{font-size:12px;color:var(--muted);margin-top:36px}.button-row{display:flex;flex-wrap:wrap;gap:10px}.hidden{display:none!important}body.modal-open{overflow:hidden}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(min-width:1450px){.main-wrap{padding-left:7vw;padding-right:7vw}.main{padding-top:54px}.hero{gap:70px;padding-bottom:45px}.word-art{min-height:325px}.featured-word{width:270px;min-height:282px}.word-art:before,.word-art:after{width:254px;height:278px}}
@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 14px}.main-wrap{padding:0 30px 40px}.hero{gap:15px;grid-template-columns:1.1fr 1fr}.featured-word{width:215px;min-height:244px;padding:21px}.word-art:before,.word-art:after{width:205px;height:237px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-card{padding:20px}.daily-grid{grid-template-columns:1fr}.review-layout{grid-template-columns:1fr}.review-aside{padding-top:0}}
@media(max-width:700px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;z-index:20;padding:0 8px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:var(--surface)}.sidebar>.brand,.sidebar>.caption,.sidebar-bottom{display:none}.nav{flex-direction:row;margin:0;gap:0;justify-content:space-around;padding-top:7px}.nav button{flex-direction:column;gap:4px;padding:7px 3px;border-radius:10px;text-align:center;font-size:10px;flex:1;min-width:0;line-height:1.3}.nav button.active{background:transparent;color:var(--green)}.nav button.active svg{background:var(--soft);box-shadow:0 0 0 6px var(--soft);border-radius:5px}.nav button.active span{font-weight:750}.nav svg{width:20px;height:20px;margin-bottom:3px}.main-wrap{padding:0 20px calc(105px + env(safe-area-inset-bottom))}.topbar{height:75px;padding-top:env(safe-area-inset-top);border-bottom:0}.topbar>.desktop-label{display:none}.topbar .brand{display:inline-flex;font-size:26px}.topbar-right{gap:8px}.topbar-right>.greeting,.topbar-right>.avatar{display:none}.mobile-settings{display:inline-flex!important}.offline-indicator{font-size:10px;padding:4px 7px}.main{padding-top:18px}.hero{grid-template-columns:1fr;gap:13px;padding-bottom:20px}.hero-copy{padding:0}.hero-copy h1{font-size:42px;letter-spacing:-1.8px;max-width:340px}.hero-copy .intro{font-size:15px;max-width:330px;margin:16px 0 20px}.hero-copy .btn{width:100%;min-height:52px}.hero-meta{justify-content:center;font-size:12px;margin-top:13px}.word-art{min-height:192px;margin-top:15px}.word-art:before,.word-art:after{width:235px;height:160px;transform:rotate(-6deg);border-radius:17px}.word-art:after{transform:rotate(4deg)}.featured-word{width:260px;min-height:170px;padding:18px 22px;border-radius:17px;transform:rotate(-1deg)}.featured-word .top{margin-bottom:8px}.featured-word .top .icon-btn{width:32px;height:32px}.featured-word strong{font-size:32px;margin:0;display:inline-block;margin-right:13px}.featured-word .meaning{display:inline-block;font-size:14px}.featured-word .example{font-size:11px;padding-top:10px;margin-top:10px}.section-head{margin-top:25px;margin-bottom:15px}.section-head h2{font-size:21px}.text-btn{font-size:12px}.daily-grid{gap:12px}.daily-card{padding:20px;gap:14px;border-radius:15px}.daily-card h3{font-size:16px}.daily-card p{font-size:13px;margin:6px 0 9px}.daily-card .text-btn{font-size:13px}.topic-grid{gap:10px}.topic{padding:17px 15px;min-height:125px;border-radius:14px}.topic p{font-size:11px}.topic strong{font-size:15px}.topic-top{margin-bottom:12px}.page-head{display:block;margin-bottom:23px}.page-head h1{font-size:33px;letter-spacing:-1px}.page-head p{font-size:14px;margin-top:10px}.page-head>.btn{margin-top:17px}.toolbar{flex-direction:column;gap:10px}.toolbar select{max-width:none}.word-row{padding:15px 13px;gap:8px}.word-open strong{font-size:17px}.word-open span{font-size:12px}.word-right{gap:7px}.word-right .status{display:none}.word-right .btn.small{font-size:11px;padding:7px 9px}.word-row .icon-btn{width:34px;height:34px}.chips{margin-right:-20px;padding-right:20px}.chip{font-size:12px}.panel{padding:20px;border-radius:15px}.review-layout{gap:24px}.review-aside{padding:0}.selection-grid{gap:8px}.select-card{padding:14px}.lesson-card{gap:13px;padding:19px 15px}.lesson-content h3{font-size:16px}.lesson-content p{font-size:12px}.lesson-number{width:35px;height:35px}.modal-backdrop{padding:0;align-items:end}.modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:23px 23px 0 0;padding:23px 20px calc(25px + env(safe-area-inset-bottom));box-shadow:none}.modal.session-modal{min-height:calc(100dvh - env(safe-area-inset-top));border-radius:0;display:flex;flex-direction:column}.session-modal .session-content{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:24px}.session-modal .session-bottom{margin-top:auto}.modal h2{font-size:24px}.question-title{font-size:27px}.answer-option{padding:16px;font-size:16px}.answer-option.selected{padding:15px}.two-cols{grid-template-columns:1fr}.chat-form{bottom:80px;margin-top:12px}.chat-form .btn{padding:12px 16px}.chat-form textarea{font-size:14px}.bubble{max-width:95%;font-size:14px;padding:15px}.teacher-intro{padding:17px}.teacher-intro p{font-size:13px}#toast{bottom:calc(95px + env(safe-area-inset-bottom));width:max-content}.footer-note{margin-top:27px}.intro{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
:root[data-theme='dark']{--bg:#050505;--surface:#121212;--ink:#f4f4f4;--text:#f4f4f4;--muted:#a4a4aa;--line:#2a2a2d;--green:#ffd700;--lime:#ffd700;--soft:#211f13;--warm:#27251a;color-scheme:dark}
[data-theme='dark'] .chip.active{color:#171500}
[data-theme='dark'] .btn{color:#171500}[data-theme='dark'] .btn.lime{color:#171500}[data-theme='dark'] .btn.secondary,[data-theme='dark'] .btn.soft{color:var(--text)}[data-theme='dark'] .bubble.user{color:#171500}[data-theme='dark'] .featured-word{box-shadow:none}[data-theme='dark'] .word-art:before{background:#25231b}[data-theme='dark'] .word-art:after{background:#191919}[data-theme='dark'] .brand span{color:var(--text)}[data-theme='dark'] .feedback.wrong{background:#482925;border-color:#7b4640;color:#ffcfbe}[data-theme='dark'] .token{border-color:var(--line);box-shadow:0 2px 0 var(--line)}[data-theme='dark'] .status.saved{color:#e9d987}[data-theme='dark'] .teacher-mark{color:#171500!important}[data-theme='dark'] #toast{color:#171500}

/* YFS Studio palette: sampled from https://yfsstudio.online */
@font-face{font-family:Geist;src:url('/assets/geist-cyrillic.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geist;src:url('/assets/geist-latin.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
h1,h2,h3,.brand,.featured-word strong{font-family:Geist,'Segoe UI',sans-serif}
.brand{color:var(--text);font-weight:750}.brand span{background:#ffd700;color:#171500!important}
.sidebar{background:#090909}.nav button.active{background:#211f13;border:1px solid #544b22}.nav button{border:1px solid transparent}
.btn,.chip.active{color:#171500;background:#ffd700}.btn:hover{filter:brightness(1.04);box-shadow:0 5px 24px #ffd70016}.btn:active,.topic:active,.answer-option:active{transform:translateY(1px)}
.btn,.icon-btn,.chip,.select-card,.lesson-card{transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.btn.secondary,.btn.soft{color:var(--text)}.btn.secondary:hover{border-color:#887727}.text-btn{color:#ffd700}.topic:hover,.lesson-card:hover{border-color:#756628}
.main{animation:enter .23s ease-out}.main-wrap{background:radial-gradient(ellipse at 80% 0%,#ffd70008,transparent 50%)}
.hero-copy h1{font-weight:700;text-wrap:balance}.hero-meta{font-variant-numeric:tabular-nums}.eyebrow{color:#cfcfcf}
.featured-word{border:1px solid #504623;box-shadow:0 22px 65px #0006;min-height:320px;width:280px;padding:26px;transform:rotate(-3deg)}
.featured-word strong{font-size:42px;color:#ffd700;letter-spacing:-1.8px}.featured-word .meaning{font-size:15px;color:#ddd}.featured-word .top{font-size:10px;letter-spacing:1px}
.word-art:before,.word-art:after{width:263px;height:310px;border:1px solid #514721}.feature-pronunciation{margin:14px 0;display:grid;gap:3px;color:#e3d397;font-size:16px}.feature-pronunciation .ipa{color:#aaa;font-size:17px}
.pronunciation-inline{display:flex!important;flex-wrap:wrap;gap:4px 13px;margin-top:6px}.word-open .ipa{font-size:13px;color:#b2b2bb}.word-open .reading-hint{font-size:13px;color:#d4c790}.word-open .stressed{display:inline;font-size:inherit;color:#ffd700;font-weight:650}
.ipa{font-family:'Segoe UI','Arial',sans-serif;letter-spacing:.4px}.pronunciation-box{background:#1c1b14;border:1px solid #514a28;padding:19px 20px;border-radius:15px;text-align:left;margin:20px 0}
.pronunciation-label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:#c1b888;text-transform:uppercase;letter-spacing:1px}.pronunciation-label .text-btn{font-size:11px;text-transform:none;letter-spacing:0;padding:0}
.pronunciation-box>.ipa{font-size:25px;color:#f2e6b0;margin:8px 0}.pronunciation-box .reading-hint{font-size:14px;color:#b6b4ad}.pronunciation-box .reading-hint>span{font-size:23px;color:#eee;margin-left:6px}.stressed{color:#ffd700;font-weight:700}
.pronunciation-box>p{font-size:11px;color:#aaa58f;margin-top:9px}.pronunciation-guide{display:grid;gap:15px}.pronunciation-guide p{font-size:15px}.pronunciation-guide h3{margin-top:10px}.pronunciation-guide a{font-size:14px}
.status.saved{color:#e9d987}.daily-card{border-color:#363222}.daily-card .tile-icon{color:#ffd700}.feedback{border-color:#625620}.avatar{color:#ffd700}.select-card.active{border-color:#ffd700}
.modal{border:1px solid #363229}.modal-backdrop{background:#000b}.token-answer{border-style:dashed}.token{background:#1c1c1d}.offline-indicator{color:#c3b873;font-size:11px;background:transparent;border:1px solid #393426}
@media(max-width:700px){.nav button.active{border:0;background:transparent}.nav button{border:0}.sidebar{background:#0b0b0bf5;backdrop-filter:blur(18px)}.main-wrap{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.hero-copy h1{font-size:40px}.word-art{min-height:251px;margin-top:19px}.featured-word{width:285px;min-height:233px;padding:20px 23px}.featured-word strong{display:block;font-size:36px}.featured-word .meaning{display:block;font-size:14px;margin-top:3px}.featured-word .top{margin-bottom:13px}.feature-pronunciation{margin:10px 0;display:flex;gap:14px;align-items:center;font-size:14px}.feature-pronunciation .ipa{font-size:15px}.word-art:before,.word-art:after{width:263px;height:221px}.word-row{padding:17px 12px;align-items:flex-start}.word-row>.icon-btn{margin-top:6px}.word-right{margin-top:8px}.pronunciation-inline{flex-direction:column;gap:2px!important}.pronunciation-box{padding:16px}.pronunciation-box>.ipa{font-size:24px}.word-detail{padding:10px 0}.modal.session-modal{border:0}.modal .word-detail h2{font-size:40px}.modal-header{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.main,.btn,.icon-btn,.chip,.select-card,.lesson-card{animation:none;transition:none}}
