/* Общая мобильная композиция по присланным экранам. */
body.dark{--bg:#15100e;--surface:#211b18;--surface2:#2b2521;--text:#f5eee6;--muted:#9b9089;--line:#3b322e;--green:#d77e6d;--green2:#40251f;--coral:#d98778;--coral2:#40251f;--shadow:0 10px 24px #0003}
body.dark .sidebar{background:#171311;border-right-color:#332a26}
body.dark .nav-item.active{background:#3a231f;color:#e89483}
body.dark .nav-item:hover{background:#32221e;color:#e89483}
body.dark .brand-mark{background:#b64d3e;color:#fff}
body.dark .pill.active{background:#43241e;color:#d98c7e;border-color:#7b483d}
.simple-head h1,.books-modern h1,.dictionary-modern h1{font:700 clamp(32px,4vw,42px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.7px;margin:0}
.simple-head p{font-size:14px;color:var(--muted);margin:12px 0 0}.simple-head p strong{color:var(--text)}
.books-modern,.dictionary-modern{max-width:800px}
.reading-level-label{color:var(--muted);font-size:13px;font-weight:700;margin-top:27px}
.reading-levels{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:13px 0 23px}.reading-levels::-webkit-scrollbar{display:none}
.reading-levels button{border:0;border-radius:100px;background:#302a26;color:#e2d9d3;min-width:48px;padding:11px 17px;font-size:15px;white-space:nowrap}.reading-levels button.active{background:#3d211d;color:#dd8d7d}
.book-list{display:grid;gap:12px}.book-list-card{display:flex;align-items:stretch;gap:14px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:12px;color:var(--text);box-shadow:0 4px 10px #0003;min-height:134px;transition:transform .2s ease,border-color .2s ease}
.book-list-card:hover{transform:translateY(-2px);border-color:#7e5148}.book-list-card img{width:84px;flex:0 0 84px;height:113px;object-fit:cover;border-radius:15px;background:#312b28}
.book-list-info{display:flex;flex-direction:column;min-width:0;flex:1;padding:3px 0}.book-list-info strong{font:700 20px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.3px}.book-list-meta{display:block;color:var(--muted);font-size:12px;margin-top:7px}.book-list-meta em,.reader-hero em{font-style:normal;background:#123b31;color:#1bd39b;border-radius:100px;padding:3px 8px;margin-right:4px;font-weight:700}.book-list-desc{display:block;font-size:13px;line-height:1.36;color:#d2c6bf;margin-top:9px}.book-list-status{color:#db8a7c;font-size:12px;font-weight:700;margin-top:auto;padding-top:10px}.books-coming{text-align:center;color:var(--muted);font-size:13px;margin:35px 0}
.reader-modern{max-width:800px}.reader-top{display:flex;align-items:center;gap:13px;padding:0 0 16px;border-bottom:1px solid var(--line)}.reader-top strong{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:17px}.reader-top button{flex:0 0 31px;width:31px;height:34px;border:0;background:transparent;color:#a89b92;font-size:22px}.reader-top button:first-child{font-size:28px;color:var(--text)}.reader-top button.selected{color:#e28d80}.reader-top button .fi{font-size:inherit}
.reader-hero{display:flex;align-items:center;gap:17px;margin:22px 0 20px}.reader-hero img{width:114px;height:152px;object-fit:cover;border-radius:16px;background:#302a27}.reader-hero h1{font:700 clamp(28px,5vw,42px)/1.1 Georgia,'Times New Roman',serif;margin:0 0 11px;letter-spacing:-.5px}.reader-hero p{margin:0;color:var(--muted);font-size:14px}
.reading-instruction{display:flex;align-items:flex-start;gap:9px;background:#40231d;color:#e7a195;border-radius:20px;padding:13px 17px;font-size:13px;line-height:1.5;margin:22px 0 20px}.reading-instruction .fi{font-size:18px;margin-top:1px}
.reader-prose{font:400 clamp(21px,3vw,28px)/1.68 Georgia,'Times New Roman',serif;color:var(--text)}.reader-prose p{margin:0 0 25px}.reader-prose .tap-word{cursor:pointer;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#be685c;text-decoration-thickness:1px;text-underline-offset:4px}.reader-prose .tap-word:hover{color:#ec9e8d}.reader-end{display:flex;flex-direction:column;align-items:center;gap:14px;margin:36px 0 50px;color:var(--muted);font-size:12px}.reader-end button{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:11px 16px;border-radius:100px;font-size:13px}.reader-end button .fi{margin:0 3px}
.dictionary-modern .dictionary-notice{position:relative;background:#2e2824;border:1px solid #674237;border-radius:26px;padding:14px 42px 14px 17px;font-size:13px;line-height:1.5;margin:17px 0 12px}.dictionary-notice button{position:absolute;right:13px;top:13px;background:none;border:0;color:var(--muted);font-size:20px}.dictionary-modern .dictionary-search{background:var(--surface);border:1px solid var(--line);box-shadow:none;margin:0 0 12px;height:50px}.dictionary-modern .dictionary-tabs{margin:0;background:#2e2824;border:0}.dictionary-modern .dictionary-summary{color:var(--muted);margin:10px 0 15px;text-align:center;font-size:12px}.dictionary-modern .selected-deck{border:1px solid #a55e4e;outline:4px solid #67423a;border-radius:38px;background:var(--surface);padding:20px 18px 25px;margin:0 3px 40px;box-shadow:0 12px 25px #0004}.selected-deck .selected-head{align-items:flex-start}.selected-deck .selected-check{width:28px;height:28px;background:#b25040;color:#fff;font-size:17px}.selected-deck .selected-head h2{font-size:18px;margin:1px 0 4px}.selected-deck .selected-head p{font-size:12px}.selected-deck .reset-deck{margin-left:auto;background:none;border:0;color:#d98071;font-size:12px;padding:5px}.deck-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:18px 0 6px}.selected-deck .deck-track{margin:0;height:7px}.selected-deck .view-deck{width:100%;border:1px solid #75473e;background:#3c251f;color:#e49483;border-radius:100px;padding:12px;margin:15px 0 2px;font-size:13px;font-weight:700}.view-deck .fi{font-size:16px;margin-right:5px}.deck-divider{border-top:1px solid var(--line);margin:20px -18px 18px}.selected-deck h3{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.6px;margin:22px 0 11px}.deck-chip-list{display:flex;gap:8px;flex-wrap:wrap}.deck-chip{border:1px solid var(--line);border-radius:100px;background:#181310;color:var(--text);padding:9px 13px;font-size:13px;line-height:1.1}.deck-chip b{color:#ce7867;font-size:11px;margin-left:4px}.deck-chip.active{background:#42251f;border-color:#8b5144;color:#f1b3a6}.dictionary-fixed-cta{position:sticky;bottom:100px;z-index:15;width:100%;border:0;border-radius:100px;background:#b74d3b;color:#fff;padding:17px;font-size:16px;box-shadow:0 10px 24px #0006}.dictionary-fixed-cta:disabled{opacity:.5}.mine-panel{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:20px;margin-top:20px}.mine-panel h2{font:700 23px Georgia,serif;margin:0}.mine-panel>p{color:var(--muted);font-size:13px}.word-list-dialog{width:min(520px,calc(100% - 24px));max-height:80vh;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);padding:20px}.word-list-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}.word-list-dialog header{display:flex;justify-content:space-between;align-items:center}.word-list-dialog h2{font:700 23px Georgia,serif;margin:0}.word-list-dialog button{background:none;border:0;color:var(--muted);font-size:22px}.word-list-dialog pre{font:15px/1.9 'Manrope',Arial,sans-serif;white-space:pre-wrap;overflow:auto;max-height:60vh;margin:15px 0 0}
.study-example-translation{font:italic 13px/1.35 Georgia,'Times New Roman',serif;color:#b4a9a2;margin:0 12px 12px;text-align:center;max-width:290px}
.stats-page .page-head h1,.page:has(.settings-panel) .page-head h1{font-family:Georgia,'Times New Roman',serif;font-size:36px;letter-spacing:-.7px}.stats-page .page-head p,.page:has(.settings-panel) .page-head p{display:none}.stats-page .xp-hero{background:linear-gradient(130deg,#09b88f,#008b73);border-radius:34px;box-shadow:none}.stats-page .goals-panel,.stats-page .tough-panel{border-radius:31px;box-shadow:none}.stats-page .streak-card{background:linear-gradient(130deg,#b95552,#a331e5);box-shadow:none}
body.reading-open .mobile-nav{display:none}
body.dark .mobile-nav{background:#1c1410;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
@media(max-width:730px){main{padding:0 0 104px}.books-modern,.dictionary-modern,.reader-modern,.stats-page,.page:has(.settings-panel){padding:72px 20px 110px}.reader-modern{padding-top:68px;padding-bottom:0}.mobile-nav,body.study-active .mobile-nav{left:0;right:0;bottom:0;width:100%;max-width:none;margin:0;border-radius:0;border:0;border-top:1px solid #3b302b;background:rgba(28,20,16,.97);box-shadow:none;padding:14px 2px max(32px,env(safe-area-inset-bottom))}.mobile-nav button{color:#9c9088}.mobile-nav button.active{color:#df725e}.mobile-nav small{font-size:10px;margin-top:5px}.dictionary-fixed-cta{position:fixed;left:20px;right:20px;bottom:104px;width:calc(100% - 40px);max-width:760px;margin:auto}.stats-page .xp-hero{margin-top:25px}.stats-page .page-head{margin-bottom:0}}
@media(max-width:480px){.book-list-info strong{font-size:18px}.book-list-desc{font-size:12px}.book-list-card{border-radius:30px}.reader-hero h1{font-size:29px}.reader-prose{font-size:21px}.reader-top{gap:7px}.reader-top strong{font-size:15px}.reader-top button{flex-basis:30px;width:30px}.dictionary-modern .selected-deck{margin-bottom:110px}.selected-deck .selected-head h2{font-size:16px}.deck-chip{font-size:12px}.stats-page .goal-ring{width:83px;height:83px}.stats-page .goal-ring>span{width:65px;height:65px}}
@media(prefers-reduced-motion:reduce){.book-list-card{transition:none}.book-list-card:hover{transform:none}}
