:root{--ink:#203d39;--green:#163d39;--soft:#eff3f1;--gold:#eac66a;--muted:#687773;--line:#dfe6e2;--paper:#fff;--canvas:#f5f7f5;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}button{color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #cb9426;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:#fefefe;border-right:1px solid var(--line);padding:34px 23px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;margin-bottom:58px}.brand-mark{display:grid;place-items:center;width:43px;height:46px;border-radius:13px 13px 13px 2px;background:var(--green);color:var(--gold);font-size:31px;font-weight:800}.brand strong{font-size:20px;letter-spacing:2px;display:block}.brand small{font-size:10px;letter-spacing:2px;color:var(--muted);display:block;margin-top:5px}.rail-label{font-size:12px;color:#85918d;letter-spacing:2px;margin:0 12px 20px}.level-nav-button{background:transparent;width:100%;text-align:left;padding:16px 12px;border-radius:10px;display:flex;gap:13px;align-items:center;margin-bottom:8px}.level-nav-button .nav-number{font-size:14px;display:grid;place-items:center;border:1px solid var(--line);width:31px;height:31px;flex-shrink:0;border-radius:50%;color:var(--muted)}.level-nav-button strong{font-size:15px;font-weight:600;display:block}.level-nav-button small{font-size:12px;display:block;color:var(--muted);margin-top:5px}.level-nav-button.active{background:var(--green);color:white}.level-nav-button.active .nav-number{border-color:#ffffff40;color:var(--gold)}.level-nav-button.active small{color:#c4d2cd}.rail-bottom{margin-top:auto}.destination{padding:21px 13px;border-top:1px solid var(--line);margin-top:30px}.music-mark{display:block;color:#a2792a;font-size:27px;margin-bottom:10px}.destination small{font-size:12px;color:var(--muted)}.destination strong{display:block;font-size:14px;margin-top:8px}.destination p{font-size:12px;color:var(--muted);margin-top:9px}.rail-bottom>.text-button{font-size:12px;padding:12px}.workspace{margin-left:240px}.topbar{height:81px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffff90}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{padding:0 15px;color:#acb6b0}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;gap:24px;align-items:center}.saved-label{font-size:12px}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:white;font-size:20px;display:grid;place-items:center}.icon-button:hover{background:var(--soft)}main{max-width:1500px;margin:auto;padding:33px 40px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:700}h1{font-size:28px;letter-spacing:1px;margin:10px 0 9px;font-weight:600}.page-heading p{font-size:14px;color:var(--muted);margin:0}.button{border-radius:8px;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:14px;font-weight:600;min-height:45px;transition:background .18s,transform .18s}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#23564d}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:var(--soft)}.grid-icon{font-size:21px;font-weight:400}.training-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:24px;align-items:start}.conversation{border-radius:15px;border:1px solid var(--line);background:white;overflow:hidden;box-shadow:0 3px 8px #1c403904}.scene{height:315px;background:#254e48;position:relative;overflow:hidden;isolation:isolate}.scene-art{position:absolute;width:100%;aspect-ratio:1;top:0;background-image:url('scene-sheet.png');background-size:300% 200%;background-position:0% 0%;transform:translateY(-8%) scale(1.025);animation:scene-drift 18s ease-in-out infinite alternate;z-index:-3}.scene[data-scene="1"] .scene-art{background-position:50% 0%}.scene[data-scene="2"] .scene-art{background-position:100% 0%}.scene[data-scene="3"] .scene-art{background-position:0% 100%}.scene[data-scene="4"] .scene-art{background-position:50% 100%}.scene[data-scene="5"] .scene-art{background-position:100% 100%}.scene-shade{position:absolute;inset:0;background:linear-gradient(90deg,#102c29b3 0%,#12292314 70%),linear-gradient(0deg,#122a27dc,transparent 65%);z-index:-2}.scene-grain{position:absolute;inset:0;opacity:.3;background:radial-gradient(circle at 20% 35%,#fff8 1px,transparent 2px),radial-gradient(circle at 60% 15%,#ffe1a8 2px,transparent 3px),radial-gradient(circle at 80% 80%,#ffe1a8 1px,transparent 2px);background-size:230px 310px,410px 290px,330px 410px;animation:float-light 18s linear infinite;pointer-events:none;z-index:-1}.scene.paused .scene-art,.scene.paused .scene-grain{animation-play-state:paused}.scene-top{display:flex;justify-content:space-between;padding:21px}.scene-chip,.scene-toggle{background:#152b295e;color:white;backdrop-filter:blur(8px);border:1px solid #ffffff30;border-radius:5px;font-size:12px;padding:7px 11px}.scene-toggle{font-size:12px}.scene-caption{position:absolute;left:26px;bottom:30px;color:white}.location-label{font-size:13px;letter-spacing:1px;color:#efdcad}.scene-caption h2{font-weight:500;font-size:32px;margin:8px 0 16px;letter-spacing:3px}.npc-identity{font-size:12px;display:flex;align-items:center;gap:10px}.npc-identity #npc-state{font-size:11px;color:#e1d9c5;border-left:1px solid #ffffff50;padding-left:10px}.sound-bars{display:flex;align-items:center;gap:2px;height:20px}.sound-bars i{width:2px;height:8px;background:var(--gold);border-radius:1px}.sound-bars i:nth-child(2){height:15px}.sound-bars i:nth-child(3){height:11px}.speaking .sound-bars i{animation:sound .5s ease-in-out infinite alternate}.speaking .sound-bars i:nth-child(2){animation-delay:.2s}.speaking .sound-bars i:nth-child(3){animation-delay:.35s}.scene-note{position:absolute;bottom:18px;right:18px;color:#ffffffa0;letter-spacing:2px;font-size:10px}.dialogue-body{padding:23px 26px 20px}.turn-heading{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.tiny-label{font-size:12px;letter-spacing:1px}.npc-question{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:105px}.question-text{min-width:0}.question-text>p:first-child{font-size:23px;line-height:1.55;font-weight:600;margin:13px 0 6px;letter-spacing:-.3px}.translation{font-size:14px;color:var(--muted);margin:0 0 10px;line-height:1.7}.audio-button{height:42px;width:42px;border-radius:50%;background:var(--soft);font-size:26px;flex-shrink:0}.audio-button:hover,.audio-button.playing{background:#d5e5df}.dialogue-tools{display:flex;gap:20px;padding:6px 0 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}.text-button{background:transparent;padding:0;color:var(--muted);font-size:13px}.text-button:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}.answer-label{font-size:14px;font-weight:600;display:block;margin:20px 0 11px}.answer-label span{font-size:12px;font-weight:400;color:#89948d;padding-left:8px}.answer-box{border:1px solid #d8e0db;border-radius:8px;background:#fafcfb;overflow:hidden}.answer-box:focus-within{border-color:#52867a;box-shadow:0 0 0 2px #163d3910}textarea{border:0;resize:vertical;background:transparent;width:100%;min-height:76px;color:var(--ink);padding:13px 15px;font-size:17px;line-height:1.6;display:block;outline:none!important}textarea::placeholder{font-size:14px;color:#a0aaa4}.answer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 13px 11px;color:#95a098;font-size:11px}.keyboard-button{padding:0;background:transparent;font-size:16px;color:#607369}.keyboard-button span{font-size:11px;margin-left:4px}.submit-row{display:flex;gap:12px;justify-content:space-between;margin-top:14px}.mic-button{background:#ecf3ef;flex:1;color:var(--green)}.mic-button.listening{background:#f4d899;animation:mic-pulse 1.5s infinite}.submit-row .primary{flex:1}.input-note{font-size:11px;color:#8b958f;text-align:center;margin:11px 0 0;line-height:1.7}.practice-notes{display:flex;flex-direction:column;gap:18px}.note-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px}.section-kicker{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:#6c7a70;letter-spacing:1px}.outline-icon{font-size:23px;font-weight:400;color:#526d61}.task-card h3{font-size:17px;font-weight:500;line-height:1.8;margin:15px 0 18px}.task-divider{height:1px;background:var(--line);margin-bottom:17px}.goal-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.level-badge{font-size:11px;padding:4px 8px;border-radius:4px;background:#edf2ed;color:#53674b}.turn-progress{display:flex;gap:5px;margin-top:18px}.turn-progress span{height:4px;border-radius:2px;background:#e9eeeb;flex:1}.turn-progress .done{background:#527f65}.turn-progress .current{background:var(--gold)}.vocabulary{margin-top:13px}.word{width:100%;display:flex;justify-content:space-between;gap:10px;text-align:left;padding:13px 0;background:transparent;border-bottom:1px solid #edf0ed}.word:last-child{border:0}.word strong{font-size:15px;font-weight:600}.word span{font-size:13px;color:var(--muted)}.word:hover strong{color:#a97a19}.card-footnote{font-size:11px;color:#8d978f;margin:13px 0 0}.grammar-card{border-radius:12px;background:#e8eee8;padding:21px;position:relative}.grammar-card h3{font-size:16px;font-weight:600;line-height:1.6;margin:15px 0 8px}.grammar-card p{font-size:13px;line-height:1.8;color:#64745f;margin:0 0 15px}.source-link{font-size:12px;background:transparent;border-top:1px solid #ced9cc;width:100%;text-align:left;padding:14px 0 0;color:#4c6347;line-height:1.8}.scene-picker{margin-top:31px}.picker-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px}.picker-heading h2{font-size:16px;font-weight:600;margin:0}.scenario-list{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.scenario-button{background:white;border:1px solid var(--line);border-radius:10px;text-align:left;padding:15px;display:flex;align-items:center;gap:13px;min-width:0}.scenario-button.active{border-color:#658674;background:#edf3ed}.scenario-thumb{width:50px;height:50px;flex-shrink:0;border-radius:7px;background-image:url('scene-sheet.png');background-size:300% 200%;filter:saturate(.7)}.scenario-info{min-width:0}.scenario-info strong{font-size:14px;display:block;font-weight:500}.scenario-info small{font-size:11px;color:var(--muted);display:block;margin-top:7px}.scenario-status{margin-left:auto;color:#76916d;font-size:14px}.scenario-button:hover{border-color:#94ac95}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9ba49e;margin-top:25px;padding-bottom:10px}footer b{font-weight:400;padding:0 7px}dialog{border:1px solid var(--line);border-radius:18px;box-shadow:0 30px 120px #133d3930;width:min(550px,calc(100% - 32px));padding:28px;color:var(--ink);max-height:85dvh;overflow-y:auto;background:#fcfdfb}dialog::backdrop{background:#17342fa8;backdrop-filter:blur(5px)}.large-dialog{width:min(890px,calc(100% - 32px))}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-heading h2{font-size:23px;font-weight:600;margin:7px 0}.dialog-heading .icon-button{flex-shrink:0}.dialog-intro,dialog>p{font-size:14px;color:var(--muted);line-height:1.9}.map-level{margin-top:25px}.map-level h3{font-size:15px;font-weight:600;margin:0 0 12px}.map-level .scenario-list{grid-template-columns:repeat(3,1fr)}.map-level .scenario-button{padding:12px;gap:9px}.map-level .scenario-thumb{width:38px;height:45px}.setting-field{display:flex;justify-content:space-between;align-items:center;margin:27px 0;gap:20px;font-size:15px}select{padding:10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}.setting-check{display:flex;gap:10px;align-items:center;font-size:15px;margin:22px 0}.setting-check input{accent-color:var(--green);width:18px;height:18px}.settings-note{font-size:13px;line-height:1.9;color:var(--muted)}.hint,.feedback{border-radius:8px;padding:15px 17px;margin-top:15px;font-size:14px;line-height:1.9;background:#f7f1df;color:#77602e}.feedback{background:#edf5ef;color:#335c3e}.feedback.partial{background:#f8f1df;color:#79602a}.feedback strong{display:block;font-weight:600}.feedback .reference{font-size:18px;color:var(--ink);margin:8px 0 3px}.feedback small{display:block;font-size:12px;color:var(--muted);margin-top:9px}.next-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.history{max-height:280px;overflow-y:auto;padding:10px 0}.history-item{padding:9px 13px;background:#f3f6f3;border-radius:8px;margin:7px 0;font-size:14px;line-height:1.8}.history-item.user{background:#e9f1eb;margin-left:25px}.history-item small{display:block;font-size:11px;color:var(--muted)}#russian-keyboard{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px;padding:8px;border:1px solid var(--line);border-radius:8px}#russian-keyboard button{background:#eaf0eb;min-width:30px;padding:6px;border-radius:4px;font-size:17px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);max-width:min(550px,90%);background:#163d39;color:#fff;padding:14px 23px;border-radius:10px;box-shadow:0 8px 40px #133d3940;font-size:14px;line-height:1.8;z-index:99}.source-detail{padding:18px;background:var(--soft);border-radius:9px;font-size:14px;line-height:1.9}.complete-mark{height:60px;width:60px;border-radius:50%;background:#dfebdf;display:grid;place-items:center;font-size:30px;color:#416d47;margin:25px 0}.complete-details{font-size:14px}#complete-details{font-size:14px;line-height:1.8;border-top:1px solid var(--line);padding:15px 0;color:var(--muted)}@keyframes scene-drift{from{transform:translateY(-8%) scale(1.025)}to{transform:translateY(-7%) scale(1.085)}}@keyframes float-light{to{background-position:30px -90px,-30px -50px,20px -80px}}@keyframes sound{to{height:4px}}@keyframes mic-pulse{50%{box-shadow:0 0 0 4px #f4d89940}}
@media(min-width:1500px){.scene{height:380px}.dialogue-body{padding:25px 30px}.training-layout{grid-template-columns:minmax(0,1fr) 310px}.note-card,.grammar-card{padding:25px}.page-heading{margin-bottom:32px}.scene-caption h2{font-size:38px}}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 15px}.workspace{margin-left:205px}main{padding:26px}.topbar{padding:0 26px}.training-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.note-card,.grammar-card{padding:17px}.scene{height:295px}.scene-caption{left:22px}.dialogue-body{padding:21px}.question-text>p:first-child{font-size:21px}.scenario-thumb{width:40px;height:46px}.scenario-button{padding:12px;gap:9px}.scenario-info strong{font-size:13px}.scenario-info small{font-size:10px}.brand strong{font-size:18px}.brand small{font-size:9px}.brand{gap:9px}}
@media(max-width:950px){.sidebar{position:static;width:100%;padding:18px 24px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 18px}.brand small{font-size:10px}.rail-label,.rail-bottom{display:none}#level-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.level-nav-button{margin:0;padding:11px 10px;gap:9px}.level-nav-button strong{font-size:13px}.level-nav-button small{font-size:10px}.level-nav-button .nav-number{width:25px;height:25px;font-size:12px}.workspace{margin-left:0}.topbar{height:58px}main{padding:24px}.toast{left:50%}.training-layout{grid-template-columns:minmax(0,1fr) 235px}.map-level .scenario-list{grid-template-columns:1fr}.map-level .scenario-thumb{width:45px;height:45px}}
@media(max-width:700px){.sidebar{padding:16px}.brand{margin-bottom:16px}.brand-mark{width:36px;height:38px;font-size:27px}.brand strong{font-size:18px}.brand small{font-size:9px}.level-nav-button{display:block;text-align:center;padding:10px 4px}.level-nav-button .nav-number{display:none}.level-nav-button strong{font-size:12px}.level-nav-button small{font-size:10px}.topbar{padding:0 18px;height:51px}.breadcrumb{font-size:12px}.breadcrumb span{padding:0 7px}.saved-label{font-size:10px}.top-actions{gap:10px}.icon-button{width:31px;height:31px;font-size:18px}main{padding:23px 16px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:10px}.eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:21px;letter-spacing:0}.page-heading p{font-size:12px;line-height:1.8;max-width:255px}.page-heading .button{padding:8px 10px;min-height:35px;font-size:11px;gap:7px;margin-top:23px;white-space:nowrap}.grid-icon{font-size:17px}.training-layout{display:flex;flex-direction:column;gap:20px}.conversation{width:100%;border-radius:12px}.scene{height:290px}.scene-art{transform:translateY(-8%) scale(1.1)}.scene-top{padding:17px}.scene-caption{left:21px;bottom:25px}.scene-caption h2{font-size:29px}.scene-note{font-size:8px}.npc-identity{font-size:11px}.npc-identity #npc-state{font-size:10px}.dialogue-body{padding:21px 18px}.question-text>p:first-child{font-size:21px}.translation{font-size:13px}.dialogue-tools{gap:17px}.text-button{font-size:12px}.audio-button{width:36px;height:36px;font-size:23px}.practice-notes{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:12px}.practice-notes .grammar-card{grid-column:1/-1}.task-card h3{font-size:15px}.goal-meta{gap:8px;flex-wrap:wrap}.word{display:block;padding:8px 0}.word strong{font-size:14px}.word span{display:block;font-size:12px;margin-top:4px}.section-kicker{font-size:11px}.outline-icon{font-size:19px}.grammar-card h3{margin:12px 0 6px}.grammar-card p{margin-bottom:12px}.scene-picker{margin-top:26px}.picker-heading h2{font-size:14px}.scenario-list{grid-template-columns:1fr}.scenario-button{padding:13px}.scenario-thumb{width:47px;height:47px}.scenario-info strong{font-size:14px}.scenario-info small{font-size:11px}.picker-heading{align-items:baseline;gap:10px}.picker-heading .text-button{font-size:11px}footer{font-size:9px;display:block;text-align:center;line-height:2.1}footer span{display:block}dialog{padding:23px 20px}.dialog-heading h2{font-size:20px}.toast{font-size:13px;width:90%}.button{font-size:13px;padding:12px 14px}.setting-field{font-size:14px;gap:10px}select{max-width:65%}.next-actions .button{flex:1}}
.records-button{display:flex;align-items:center;gap:10px;width:100%;background:#edf2ee;padding:13px;border-radius:8px;font-size:15px;text-align:left}.records-button span{font-size:13px}.mobile-records{display:none}.hint-counter{font-size:11px;color:#929c93;margin-left:auto}.hint strong{display:block;margin-bottom:7px}.hint>div{font-size:14px}#system-language{font-size:12px;padding:6px 8px;border:0;background:transparent;width:83px}.stats-tabs{display:flex;gap:6px;background:#e9eeea;border-radius:8px;padding:5px;width:fit-content;margin:25px 0}.stats-tabs button{font-size:14px;padding:9px 20px;background:transparent;border-radius:5px}.stats-tabs button[aria-selected="true"]{background:white;box-shadow:0 2px 5px #163d3910}.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 30px}.stats-summary>div{padding:16px;border:1px solid var(--line);border-radius:9px}.stats-summary strong{font-size:30px;font-weight:600;display:block}.stats-summary span{font-size:12px;color:var(--muted);display:block;margin-top:5px}.chart-heading{display:flex;align-items:center;justify-content:space-between}.chart-heading h3{font-size:16px;font-weight:500}.chart-heading>span{font-size:12px;color:var(--muted)}.hint-chart{display:flex;align-items:flex-end;gap:18px;border-bottom:1px solid var(--line);padding:20px 10px 0;background:repeating-linear-gradient(to top,transparent 0,transparent 48px,#e5ebe540 49px,#e5ebe540 50px)}.chart-column{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0}.bar-value{font-size:13px;margin-bottom:7px;color:#376148}.bar-track{height:150px;display:flex;align-items:flex-end;justify-content:center;width:100%}.chart-bar{background:#4d7966;width:min(40px,85%);border-radius:5px 5px 0 0;min-height:2px;transition:height .25s}.bar-date{font-size:11px;color:var(--muted);padding:12px 0;background:#fcfdfb;width:100%;text-align:center}.chart-note{font-size:13px;color:var(--muted);line-height:1.8;margin-top:20px}.chart-details{font-size:14px;margin:20px 0}.chart-details summary{cursor:pointer}.chart-details table{border-collapse:collapse;width:100%;margin-top:15px;font-size:13px}.chart-details th,.chart-details td{padding:10px 6px;text-align:left;border-bottom:1px solid var(--line)}html[lang="en"] h1{letter-spacing:-.5px;font-size:30px}html[lang="en"] .scene-caption h2{letter-spacing:0;font-size:28px;max-width:480px}html[lang="en"] .level-nav-button strong{font-size:14px}html[lang="en"] .scenario-info strong{font-size:13px}html[lang="en"] .brand strong{font-size:17px;letter-spacing:0}html[lang="en"] .npc-identity{flex-wrap:wrap}.section-kicker{font-size:14px}.task-card h3{font-size:17px}.grammar-card p{font-size:14px}.text-button{font-size:14px}.word span{font-size:14px}.card-footnote{font-size:12px}.input-note{font-size:12px}.keyboard-button span{font-size:12px}.answer-toolbar{font-size:12px}
@media(max-width:950px){.mobile-records{display:grid}.rail-bottom{display:none}html[lang="en"] .level-nav-button strong{font-size:12px}}
@media(max-width:700px){.topbar{gap:10px}.top-actions{gap:5px}.saved-label{display:none}#system-language{font-size:12px;width:77px}.hint-counter{font-size:10px}.dialogue-tools .text-button{font-size:12px}.section-kicker{font-size:12px}.word span{font-size:12px}.task-card h3{font-size:15px}.picker-heading .text-button{font-size:12px}.stats-summary{gap:7px}.stats-summary>div{padding:13px 10px}.stats-summary span{font-size:11px}.hint-chart{gap:8px;padding:20px 0 0}.bar-date{font-size:10px}.chart-heading h3{font-size:14px}.stats-tabs button{font-size:13px;padding:9px 14px}html[lang="en"] h1{font-size:23px}html[lang="en"] .page-heading .button{white-space:normal;min-width:80px}html[lang="en"] .scene-caption h2{font-size:25px;max-width:290px}html[lang="en"] .level-nav-button strong{font-size:10px}html[lang="en"] .level-nav-button small{font-size:9px}html[lang="en"] .question-text>p:first-child{font-size:21px}}
.install-button{display:flex;align-items:center;gap:7px;min-height:38px;background:#e8f0e9;border-radius:7px;padding:7px 11px;font-size:13px;white-space:nowrap}.install-button>span:first-child{font-size:21px}.offline-status{padding:13px 15px;border-radius:9px;background:#eaf0e9;font-size:14px;line-height:1.8}.install-instructions{padding-left:23px;font-size:15px;line-height:1.9}.install-instructions li{margin:12px 0}#mobile-install{margin-top:10px}.workspace main{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}dialog{overscroll-behavior:contain;scroll-padding-bottom:20px}.topbar{padding-right:max(26px,env(safe-area-inset-right,0px))}.sidebar{padding-top:calc(34px + env(safe-area-inset-top,0px))}
@media(pointer:coarse){.icon-button,.audio-button{min-width:44px;min-height:44px}.text-button{min-height:35px}.dialogue-tools .text-button{min-height:42px}.button{min-height:48px}#russian-keyboard button{min-width:34px;min-height:42px}.word{min-height:48px}.keyboard-button{min-height:36px}.scene-toggle{min-height:36px}.install-button{min-height:44px}.scenario-button{min-height:72px}}
@media(min-width:951px) and (max-width:1400px) and (pointer:coarse){.sidebar{width:195px;padding-left:15px;padding-right:15px}.workspace{margin-left:195px}.topbar{height:68px;padding-left:26px}.top-actions{gap:13px}.training-layout{grid-template-columns:minmax(0,1fr) 246px;gap:19px}main{padding:25px}.scene{height:300px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading p{font-size:14px}.saved-label{font-size:11px}.install-button-label{display:none}.install-button{width:44px;justify-content:center}.question-text>p:first-child{font-size:23px}.scene-caption h2{font-size:29px}.brand{margin-bottom:42px}}
@media(min-width:951px) and (max-width:1100px) and (pointer:coarse){.sidebar{width:180px;padding-left:12px;padding-right:12px}.workspace{margin-left:180px}.training-layout{grid-template-columns:minmax(0,1fr) 222px;gap:16px}.dialogue-body{padding:20px 18px}.scene-caption{left:19px}.scene-caption h2{font-size:25px}.npc-identity{flex-wrap:wrap;gap:7px}.scene{height:295px}html[lang="en"] .scene-caption h2{font-size:24px}.topbar{padding-left:22px}.saved-label{display:none}.brand strong{font-size:17px}.brand small{font-size:8px}.level-nav-button{padding:13px 8px;gap:8px}.level-nav-button strong{font-size:13px}}
@media(max-width:950px){.sidebar{padding-top:calc(16px + env(safe-area-inset-top,0px))}.top-actions{gap:9px}.topbar{padding-right:18px}}
@media(max-width:700px){.install-button-label{display:none}.install-button{padding:0;width:31px;min-height:31px;border-radius:50%;background:white;border:1px solid var(--line)}.install-button>span:first-child{margin:auto}.top-actions{gap:5px}.topbar{padding-left:14px;padding-right:14px}.topbar .icon-button,.topbar .install-button{width:34px;min-width:34px;min-height:40px;border-radius:8px}.breadcrumb{font-size:11px}.breadcrumb span{padding:0 5px}#system-language{width:70px;font-size:11px;padding:8px 3px}.dialogue-tools{gap:12px}.hint-counter{align-self:center}.stats-summary strong{font-size:25px}.page-heading .button{min-height:44px}.offline-status{font-size:13px}.install-instructions{font-size:14px}}
@media(max-width:360px){.topbar .breadcrumb>strong,.topbar .breadcrumb>span{display:none}.topbar{gap:5px}.top-actions{gap:4px}.topbar .icon-button,.topbar .install-button{min-width:32px;width:32px}.page-heading h1{font-size:20px}.page-heading p{font-size:12px}.page-heading .button{font-size:10px}.scene-caption h2{font-size:26px}.practice-notes{grid-template-columns:1fr}.practice-notes .grammar-card{grid-column:auto}.word{display:flex}.word span{margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
