@import url('/reader.css');
:root{--bg:#f5f0fb;--surface:#fff;--ink:#332845;--muted:#94899e;--primary:#8961b7;--primary-dark:#6b449a;--primary-soft:#eee5f8;--border:#eae3f0;--green:#258366;--green-bg:#e2f4e9;--red:#b94360;--red-bg:#ffe7ed;--shadow:0 8px 28px #75538e09;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 85% 5%,#efe5fc 0,transparent 38%),radial-gradient(ellipse at 5% 60%,#fff3ef80,transparent 50%),var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #bba0dc;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:3px solid #cbb3e650;border-color:var(--primary)}button svg,a svg{flex:none}svg.icon{width:20px;height:20px;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hidden{display:none!important}.site-header{height:82px;border-bottom:1px solid #e8dff1;background:#fffc;backdrop-filter:blur(18px);position:sticky;top:0;z-index:30}.header-inner{max-width:1184px;margin:auto;height:100%;display:flex;align-items:center;gap:36px;padding:0 32px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-symbol{width:39px;height:39px;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#a37dcc,#75509d);border-radius:13px;box-shadow:0 4px 12px #8961b72a}.brand-symbol .icon{width:24px;height:24px}.brand-name{font-size:21px;font-weight:750;letter-spacing:1px}.brand-caption{font-size:10px;letter-spacing:2.7px;color:#9f91ad;display:block;margin-top:1px}.main-nav{display:flex;gap:8px;flex:1;height:100%;align-items:center}.nav-link{font-size:14px;color:#8c8097;padding:10px 16px;border-radius:12px;display:flex;align-items:center;gap:8px}.nav-link.active{background:var(--primary-soft);color:var(--primary-dark);font-weight:650}.nav-link:hover{color:var(--primary-dark)}.header-actions{display:flex;gap:10px;align-items:center}.user-avatar{background:#e8dcf6;color:#775099;border:0;width:38px;height:38px;border-radius:50%;font-weight:700}.user-name{font-size:13px;color:#7b6d86}.page{max-width:1184px;padding:36px 32px 60px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin:0 0 25px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:#a48bb9;text-transform:uppercase}.page-head h1{font-size:29px;margin:8px 0 9px;letter-spacing:1px}.page-head p,.section-note{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:5px 11px;background:var(--primary-soft);color:var(--primary-dark);font-size:11px;white-space:nowrap}.pill.warm{color:#9b723d;background:#fbf0d9}.pill.green{background:var(--green-bg);color:var(--green)}.pill.gray{background:#f3f1f5;color:#968a9e}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;border-radius:12px;border:1px solid transparent;padding:10px 19px;font-size:13px;font-weight:550;transition:background .15s,transform .15s;white-space:nowrap;background:linear-gradient(110deg,#9972c5,#8255af);color:white;box-shadow:0 3px 10px #8961b71a}.button:hover{filter:brightness(1.04);transform:translateY(-1px)}.button.secondary{background:#fff;color:var(--primary-dark);border-color:var(--border);box-shadow:none}.button.soft{background:var(--primary-soft);color:var(--primary-dark);box-shadow:none}.button.small{padding:7px 12px;min-height:33px;font-size:12px;border-radius:9px}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fff8;border:1px solid var(--border);border-radius:11px;color:#8c739f}.icon-button:hover{background:var(--primary-soft)}.icon-button .icon{width:17px;height:17px}.card{background:#fffc;border:1px solid #fff;border-radius:var(--radius);box-shadow:var(--shadow)}.hero{position:relative;min-height:222px;padding:32px 38px;overflow:hidden;background:linear-gradient(110deg,#f8eae8 0%,#f3e5ed 43%,#eee2fa 100%);border:1px solid #fff;border-radius:26px;display:flex;align-items:center;gap:10px}.hero::before{content:'';width:250px;height:250px;background:#fff4;border-radius:50%;position:absolute;right:15%;top:-130px}.hero-copy{position:relative;z-index:1;flex:1}.hero-label{font-size:11px;color:#a47b91;letter-spacing:2px}.hero h1{font-family:"Songti SC","SimSun",serif;font-size:34px;font-weight:600;line-height:1.5;letter-spacing:2px;margin:10px 0}.hero p{font-size:13px;color:#9c8597;margin:10px 0 0;letter-spacing:.4px}.hero-art{width:215px;flex-shrink:0;position:relative}.hero-art svg{width:100%;height:auto;filter:drop-shadow(0 12px 16px #a889b21c)}.hero-mini{position:absolute;background:#fff9;border:1px solid #fff;backdrop-filter:blur(10px);border-radius:11px;font-size:11px;padding:8px 12px;color:#8c6e9e;bottom:7px;left:-25px;transform:rotate(-5deg)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:24px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:27px}.stat-card{padding:19px 17px;display:flex;align-items:center;gap:14px}.stat-icon{width:43px;height:43px;border-radius:14px;background:#f0e6fb;display:grid;place-items:center;color:#9b74bf}.stat-card:nth-child(2) .stat-icon{background:#fff0e5;color:#c69572}.stat-card:nth-child(3) .stat-icon{background:#e7f3ef;color:#6a9a8b}.stat-value{font-size:26px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}.stat-value small{font-size:11px;color:#9a8ba6;margin-left:5px;font-weight:400}.stat-label{color:var(--muted);font-size:11px;margin-top:7px}.section-head{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:15px}.section-title{font-size:17px;font-weight:650;margin:0;display:flex;gap:8px;align-items:center}.section-title .icon{color:#9774b8}.section-link{border:0;background:none;color:#a28cb2;font-size:12px;padding:5px 0;display:flex;align-items:center;gap:4px}.section-link .icon{width:15px;height:15px}.continue-card{padding:19px;display:flex;gap:20px;align-items:center;margin-bottom:29px}.continue-cover{height:104px;width:74px;object-fit:cover;border-radius:8px;box-shadow:0 5px 10px #59413215}.continue-info{flex:1;min-width:0}.continue-info h3{font-size:17px;margin:0 0 9px;font-weight:650}.continue-info p{font-size:12px;color:#96879f;margin:0 0 15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.progress-track{height:5px;border-radius:6px;background:#e9e2f0;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#b494d6,#8c60bc);border-radius:6px}.progress-caption{display:flex;justify-content:space-between;color:#a291b0;font-size:10px;margin-top:7px}.continue-arrow{width:36px;height:36px;border-radius:50%;background:#f2eaf9;display:grid;place-items:center;color:#9e7db9}.library-banner{padding:23px 25px;display:flex;align-items:center;gap:18px;background:linear-gradient(120deg,#fff,#f5effc)}.library-banner .large-icon{width:53px;height:58px;border-radius:15px;background:#eee3f9;color:#9470b5;display:grid;place-items:center}.library-banner .large-icon .icon{width:27px;height:27px}.library-banner h3{font-size:18px;margin:0 0 6px}.library-banner p{font-size:12px;color:var(--muted);margin:0}.library-banner .button{margin-left:auto}.micro-stats{display:flex;gap:23px;font-size:11px;color:#9e8aaa;margin-top:17px}.review-card{padding:24px;background:linear-gradient(150deg,#fff,#f5edf9)}.review-top{display:flex;align-items:center;gap:8px;font-size:12px;color:#9273aa}.review-top .icon{width:17px;height:17px}.review-count{font-size:49px;color:#7f55a9;font-weight:600;margin-top:20px;line-height:1}.review-count small{font-size:13px;margin-left:7px;font-weight:400;color:#ad96bd}.review-card h3{font-size:15px;font-weight:550;margin:12px 0 8px}.review-card p{font-size:12px;color:#a091ac;line-height:1.9;margin-bottom:20px}.review-card .button{width:100%}.quote-card{padding:21px 24px;margin-top:18px;background:#fcf9ff90;border:1px dashed #dacee6;border-radius:20px}.quote-card .eyebrow{font-size:9px}.quote-card blockquote{margin:13px 0 8px;font-family:Georgia,"Songti SC",serif;color:#8d729d;font-size:17px;line-height:1.7}.quote-card p{color:#ac9ab7;font-size:11px;margin:0}.mini-steps{display:flex;gap:7px;align-items:center;color:#a28cb4;font-size:10px;margin-top:25px;justify-content:center}.mini-steps span{background:#fff9;border-radius:8px;padding:6px}.page-footer{font-size:10px;color:#b2a4bd;letter-spacing:1.4px;text-align:center;margin-top:40px;display:flex;align-items:center;justify-content:center;gap:12px}.page-footer:before,.page-footer:after{content:'';width:28px;height:1px;background:#ddcfe8}.tabs{display:flex;gap:5px;background:#fff9;border:1px solid #fff;padding:5px;border-radius:16px;width:fit-content;margin:0 auto 26px}.tab{border:0;border-radius:11px;background:transparent;padding:11px 27px;color:#9a88a9;font-size:13px;display:flex;gap:8px;align-items:center}.tab.active{background:#e5d6f3;color:#765398;font-weight:600}.tab .icon{width:17px;height:17px}.filter-box{padding:16px 21px;margin:24px 0 22px}.filter-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:8px 0}.filter-label{font-size:12px;color:#9a89aa;width:45px}.chip{border:0;border-radius:99px;background:transparent;padding:6px 13px;font-size:12px;color:#8b7c98;cursor:pointer}.chip.active{color:#79549a;background:#eadef5}.results-line{display:flex;justify-content:space-between;align-items:center;color:#a393b0;font-size:12px;margin:0 0 18px}.books-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.book-card{overflow:hidden;transition:transform .2s,box-shadow .2s}.book-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #6c4f8c18}.book-cover-wrap{position:relative;aspect-ratio:3/4;overflow:hidden}.book-cover-wrap img{height:100%;width:100%;object-fit:cover}.cover-badge{position:absolute;left:10px;top:10px;background:#fffdeb;padding:5px 9px;border-radius:8px;font-size:10px;color:#7e6191;backdrop-filter:blur(8px)}.cover-meta{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#322045a6);padding:28px 12px 10px;color:white;font-size:11px;display:flex;justify-content:space-between}.book-card-body{padding:16px}.book-card h3{font-size:15px;line-height:1.6;margin:0 0 11px}.tag-row{display:flex;gap:5px;flex-wrap:wrap}.tag{font-size:10px;color:#a38cae;background:#f4eff9;border-radius:5px;padding:4px 6px}.library-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:25px}.library-feature .book-cover-wrap{aspect-ratio:3/4}.chapter-preview{padding:26px}.chapter-preview p{color:#9988a5;font-size:12px;line-height:1.9}.chapter-preview h2{font-size:19px;font-weight:600;margin:0 0 8px}.chapter-line{padding:16px 0;border-bottom:1px solid var(--border);display:flex;gap:14px;align-items:center}.chapter-line:last-child{border-bottom:0}.chapter-num{color:#b59acb;font-family:Georgia,serif;font-size:19px;min-width:30px}.chapter-line-title{font-size:13px;line-height:1.7;flex:1}.chapter-line-meta{font-size:10px;color:#aa99b6;margin-top:4px}.chapter-line .icon{color:#b59aca;width:16px;height:16px}.book-detail{display:grid;grid-template-columns:230px minmax(0,1fr);gap:45px;margin:24px 0 35px;padding:34px}.detail-cover{width:100%;border-radius:12px;box-shadow:8px 12px 25px #7f5a9533}.detail-info{padding-top:8px}.detail-info h1{font-family:"Songti SC","SimSun",serif;font-size:32px;letter-spacing:1px;margin:15px 0}.detail-description{color:#91819d;font-size:14px;line-height:2.1;max-width:620px}.detail-meta{display:flex;gap:28px;margin:23px 0 25px}.detail-meta strong{font-size:22px;font-weight:600;display:block;color:#72538a}.detail-meta small{font-size:11px;color:#a28bae;display:block;margin-top:4px}.actions{display:flex;gap:10px;flex-wrap:wrap}.directory{padding:26px 30px}.directory-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:35px}.directory .chapter-line:hover{color:var(--primary)}.directory .chapter-line{padding:18px 0}.empty-state{text-align:center;padding:65px 20px;color:#a28ab1}.empty-state .empty-icon{width:70px;height:70px;background:#ede2f7;border-radius:23px;display:grid;place-items:center;margin:0 auto 20px;color:#a17dbb}.empty-state .icon{width:30px;height:30px}.empty-state h2{font-size:20px;color:#7d5e93;font-weight:550}.empty-state p{font-size:13px;line-height:1.9;margin-bottom:23px}.vocab-tabs{display:flex;gap:8px;padding:6px;background:#ffffff85;border-radius:17px;margin-bottom:20px}.vocab-tabs button{flex:1;border:0;padding:13px;background:transparent;border-radius:13px;color:#9f89b1;font-size:13px}.vocab-tabs button.active{background:#e4d4f2;color:#78529a;font-weight:600}.search-row{display:flex;gap:10px;align-items:center;margin-bottom:18px}.search-field{position:relative;flex:1}.search-field .icon{position:absolute;top:13px;left:15px;color:#b09bbf;width:18px}.search-field input{width:100%;height:45px;padding:0 15px 0 43px;border:1px solid var(--border);background:#fff9;border-radius:13px;color:var(--ink);font-size:13px}.search-field input::placeholder{color:#b2a3bc}.word-list{padding:5px 23px}.word-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:19px 0;border-bottom:1px solid var(--border)}.word-row:last-child{border:0}.word-main{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.word-main strong{font-size:17px;color:#69507e;font-family:Georgia,serif}.word-meaning{font-size:13px;color:#9886a4;margin:8px 0}.word-source{font-size:11px;color:#b2a0bd;display:flex;gap:6px;align-items:center}.word-source .icon{width:13px;height:13px}.word-source a{color:#9674b3}.word-actions{display:flex;gap:6px;align-items:center}.word-actions .icon-button.active{color:#a57bcb;background:#f0e5fc}.word-count-label{font-size:12px;color:#a48cb4}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:23px;font-size:12px;color:#a994b8}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.word-card{padding:23px;display:flex;flex-direction:column;min-height:290px}.word-card-top{display:flex;justify-content:space-between;align-items:center;min-height:27px;gap:5px}.word-card-title{font-size:21px;font-family:Georgia,serif;color:#795797;font-weight:600}.visibility-actions{display:flex;gap:5px}.tiny-button{border:1px solid var(--border);background:#fcf9ff;border-radius:99px;color:#ab91bc;font-size:10px;padding:4px 8px}.tiny-button.active{background:#ede1f8;color:#80569e}.word-definition{font-size:13px;line-height:1.9;color:#867191;margin:15px 0 5px;flex:1;min-height:50px}.context-meaning{color:#9769b4;font-weight:550;margin:9px 0;font-size:13px}.collocation{font-family:Georgia,serif;font-size:13px;color:#a188b3;padding-top:10px;border-top:1px dashed var(--border);margin-bottom:14px;line-height:1.8}.collocation span{display:block;font-family:inherit;font-size:11px;color:#b6a5bf}.spelling-form{display:flex;gap:8px;margin:5px 0 12px}.spelling-input{min-width:0;flex:1;border:1px solid var(--border);background:#fff9;border-radius:12px;padding:11px 12px;font-size:13px;height:43px;color:#6f5683}.spelling-input::placeholder{color:#b5a8bd;font-size:11px}.spelling-input.correct{border-color:#7fbc9a;background:#e3f7eb;color:#34825c}.spelling-input.incorrect{border-color:#df9caa;background:#ffedf0;color:#ac4963}.word-card-actions{display:flex;gap:7px}.word-card-actions .button{padding:7px 9px;font-size:10px;flex:1;min-height:31px}.answer-feedback{font-size:11px;color:var(--red);margin:-3px 0 10px;min-height:14px}.word-source-note{font-size:10px;color:#baacc4;margin:14px 0 0}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.toolbar-buttons{display:flex;gap:8px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#9980ac;font-size:12px;margin-bottom:15px}.review-stage{max-width:660px;margin:0 auto}.review-progress{display:flex;justify-content:space-between;color:#a18bb1;font-size:12px;margin-bottom:13px}.review-flashcard{padding:50px 45px;text-align:center;min-height:350px}.review-flashcard h2{font-size:31px;font-weight:550;margin:24px 0;color:#75518f;line-height:1.6}.review-flashcard .spelling-form{max-width:370px;margin:30px auto 16px}.review-flashcard .review-answer{font-family:Georgia,serif;font-size:35px;color:#8663a2}.review-context{font-size:13px;line-height:2;color:#a18bac;background:#f7f1fc;border-radius:12px;padding:16px;margin:20px 0}.review-hint{font-size:12px;color:#aa96b7;line-height:1.8}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-card{padding:28px}.profile-card h2{font-size:17px;margin:0 0 18px;font-weight:600}.profile-card p{font-size:12px;color:#9c87ac;line-height:1.9}.profile-top{display:flex;align-items:center;gap:17px;margin-bottom:27px}.profile-avatar{width:64px;height:64px;background:linear-gradient(130deg,#b99ad5,#9370b5);border-radius:22px;display:grid;place-items:center;color:white;font-size:25px}.profile-top h1{font-size:23px;margin:0 0 7px}.profile-top p{font-size:12px;color:#a18cae;margin:0}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:12px;color:#9682a6;margin-bottom:7px}.field{width:100%;border:1px solid var(--border);border-radius:11px;padding:12px 13px;color:#675076;background:#fdfbff;font-size:13px;min-height:43px}.field::placeholder{color:#bcadc6}.form-error{font-size:12px;line-height:1.7;color:var(--red);margin:10px 0}.form-success{font-size:12px;color:var(--green);line-height:1.8}.calendar{display:grid;grid-template-columns:repeat(14,1fr);gap:5px;margin:19px 0}.calendar-cell{aspect-ratio:1;border-radius:4px;background:#eee5f6}.calendar-cell.active{background:#a883c9}.calendar-label{font-size:10px;color:#b19bbf}.modal-overlay{position:fixed;inset:0;z-index:100;background:#30213b66;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.modal{background:#fffaff;border:1px solid white;border-radius:26px;width:440px;max-width:100%;padding:30px;box-shadow:0 25px 100px #33233c30;position:relative;max-height:90dvh;overflow:auto}.modal.wide{width:640px}.modal-close{position:absolute;right:18px;top:18px;border:0;background:#f2eaf8;width:30px;height:30px;border-radius:50%;color:#9e84b0;display:grid;place-items:center}.modal-close .icon{width:16px}.modal h2{font-size:23px;margin:5px 0 9px;font-weight:600}.modal-subtitle{font-size:12px;color:#a591b4;line-height:1.8;margin:0 0 22px}.modal-brand{display:flex;align-items:center;gap:9px;margin-bottom:25px;font-size:14px;color:#8a68a2}.modal .tabs{margin:0 0 22px;width:100%}.modal .tab{flex:1;justify-content:center}.modal-note{font-size:11px;line-height:1.9;color:#b09cbe;margin-top:15px}.toast{position:fixed;bottom:34px;left:50%;transform:translateX(-50%) translateY(20px);padding:13px 22px;border-radius:14px;background:#665176f2;color:white;font-size:13px;box-shadow:0 8px 25px #49305520;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-nav{display:none}.boot{height:75vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#aa91bc;font-size:13px}.boot .brand-symbol{width:55px;height:55px;font-size:23px;border-radius:18px;animation:pulse 1.8s infinite}.loading-skeleton{height:220px;border-radius:24px;background:linear-gradient(100deg,#ebe1f4,#f9f5fe,#ebe1f4);background-size:200%;animation:shimmer 1.5s infinite}.loading-skeleton+.loading-skeleton{margin-top:20px;height:150px}.notice{border-radius:13px;padding:13px 17px;background:#f1e8f9;color:#9a7fad;font-size:12px;line-height:1.8;margin-bottom:20px}.notice.warm{background:#fff4e5;color:#ad8e61}.tts-button{border:0;background:#eee6f7;color:#9976b4;padding:3px 6px;border-radius:7px}.tts-button .icon{width:14px;height:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.error-box{padding:30px;text-align:center;color:#a385b4}.spacer{flex:1}.subtle{color:var(--muted);font-size:12px}.button-row{display:flex;gap:10px;align-items:center;margin:15px 0;flex-wrap:wrap}.divider{height:1px;background:var(--border);margin:23px 0}.admin-link{font-size:12px;color:#9e7cb5;text-decoration:underline}.feedback-green{color:var(--green)}.inline-check{font-size:10px;color:#9b83ac;margin-top:5px}.inline-check .good{color:var(--green)}.inline-check .bad{color:var(--red)}
@keyframes shimmer{to{background-position:-200% 0}}@keyframes pulse{50%{opacity:.6;transform:scale(.96)}}
@media(min-width:1500px){.page{padding-top:43px}.hero{min-height:236px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:1000px){.header-inner{gap:20px;padding:0 23px}.nav-link{padding:10px 12px}.brand-caption{display:none}.brand-name{font-size:18px}.user-name{display:none}.page{padding:27px 23px 50px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.stat-card{padding:16px 12px;gap:8px}.stat-icon{width:34px;height:37px}.stat-value{font-size:23px}.hero h1{font-size:30px}.cards-grid{grid-template-columns:repeat(2,1fr)}.books-grid{grid-template-columns:repeat(3,1fr)}.library-layout{grid-template-columns:240px 1fr;gap:20px}.profile-grid{gap:16px}.book-detail{gap:30px;padding:28px}}
@media(max-width:760px){.site-header{height:65px}.header-inner{padding:0 19px;gap:12px}.brand-symbol{width:34px;height:34px;border-radius:11px}.brand-name{font-size:18px}.main-nav{display:none}.header-actions{margin-left:auto}.header-actions .button{min-height:33px;padding:7px 13px;font-size:11px}.page{padding:24px 18px 110px}.page-head{margin-bottom:22px}.page-head h1{font-size:24px}.page-head p{font-size:12px}.eyebrow{font-size:10px}.hero{min-height:195px;padding:23px 24px;border-radius:22px}.hero h1{font-size:27px;letter-spacing:1px;margin:11px 0}.hero p{font-size:11px;max-width:220px;line-height:1.9}.hero-art{width:130px;margin-right:-10px}.hero-mini{font-size:9px;padding:6px 8px;left:0;bottom:0}.hero-label{font-size:10px}.dashboard-grid{grid-template-columns:1fr;margin-top:18px}.stat-row{gap:9px;margin-bottom:24px}.stat-card{padding:16px 12px;display:block}.stat-icon{width:31px;height:31px;border-radius:10px;margin-bottom:12px}.stat-icon .icon{width:17px}.stat-value{font-size:25px}.stat-label{font-size:10px}.stat-value small{font-size:10px}.section-title{font-size:16px}.continue-card{padding:16px;gap:14px;margin-bottom:25px}.continue-cover{width:60px;height:83px}.continue-info h3{font-size:14px;line-height:1.5}.continue-info p{font-size:10px;margin-bottom:10px}.continue-arrow{width:28px;height:28px}.library-banner{padding:19px 17px;gap:13px;flex-wrap:wrap}.library-banner .large-icon{width:45px;height:48px}.library-banner h3{font-size:16px}.library-banner p{font-size:10px}.library-banner .button{font-size:11px;min-height:34px;padding:7px 12px}.micro-stats{gap:17px;font-size:10px}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-card{padding:19px;border-radius:18px}.review-count{font-size:36px;margin-top:17px}.review-card h3{font-size:13px}.review-card p{font-size:10px;margin:9px 0 15px}.review-card .button{font-size:11px;min-height:35px;padding:7px}.review-top{font-size:10px}.quote-card{margin-top:0;padding:19px 17px;border-radius:18px}.quote-card blockquote{font-size:17px;margin:20px 0 14px}.quote-card p{font-size:10px;line-height:1.9}.mini-steps{gap:3px;font-size:9px;flex-wrap:wrap;margin-top:18px}.mini-steps span{padding:5px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;background:#fffc;backdrop-filter:blur(18px);padding:9px 5px max(9px,env(safe-area-inset-bottom));border-top:1px solid #ece2f4}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#b29cc1;font-size:9px;min-width:60px;padding:3px}.mobile-nav a.active{color:#8256a9;font-weight:600}.mobile-nav .icon{width:21px;height:21px}.toast{bottom:88px;font-size:12px;width:max-content;max-width:85vw}.tabs{margin-bottom:23px}.tab{padding:10px 24px;font-size:12px}.filter-box{padding:11px 12px;margin-top:19px;border-radius:17px}.filter-row{gap:3px;margin:6px 0}.filter-label{font-size:10px;width:34px}.chip{font-size:10px;padding:6px 9px}.library-layout{grid-template-columns:1fr}.library-feature{max-width:240px;width:100%;margin:auto}.library-feature .book-cover-wrap{aspect-ratio:3/4}.chapter-preview{padding:21px}.chapter-preview h2{font-size:16px}.chapter-line-title{font-size:12px}.books-grid{grid-template-columns:repeat(2,1fr);gap:14px}.book-card-body{padding:12px}.book-card h3{font-size:13px}.tag{font-size:9px}.book-detail{grid-template-columns:110px 1fr;gap:18px;padding:19px;margin-top:15px}.detail-info{padding-top:0}.detail-info h1{font-size:20px;line-height:1.6;margin:8px 0 11px}.detail-info .pill{font-size:9px;padding:4px 8px}.detail-info .tag-row{display:none}.detail-description{font-size:11px;line-height:1.9;grid-column:1/-1}.detail-meta{gap:16px;margin:13px 0 15px}.detail-meta strong{font-size:18px}.detail-meta small{font-size:9px}.detail-info .actions .button{font-size:10px;padding:8px 11px;min-height:33px}.directory{padding:20px}.directory-grid{grid-template-columns:1fr}.directory .chapter-line{padding:15px 0}.chapter-num{font-size:17px}.cards-grid{grid-template-columns:1fr;gap:15px}.word-card{padding:22px;min-height:270px}.toolbar{gap:12px}.toolbar-buttons{gap:6px}.toolbar-buttons .button{font-size:10px;padding:8px 11px;min-height:34px}.word-list{padding:3px 15px}.word-main{gap:7px}.word-main strong{font-size:16px}.word-row{padding:17px 0;gap:5px}.word-meaning{font-size:11px;line-height:1.8}.word-source{font-size:10px;line-height:1.6}.word-actions .icon-button{width:29px;height:29px;border-radius:9px}.vocab-tabs{gap:3px}.vocab-tabs button{font-size:11px;padding:11px 7px}.search-field input{font-size:12px}.results-line{font-size:11px}.profile-grid{grid-template-columns:1fr;gap:17px}.profile-card{padding:22px}.profile-top{margin-bottom:20px}.profile-avatar{width:54px;height:54px;border-radius:18px}.profile-top h1{font-size:21px}.calendar{grid-template-columns:repeat(14,1fr)}.modal-overlay{padding:17px}.modal{padding:26px 23px;border-radius:22px}.modal h2{font-size:21px}.review-flashcard{padding:34px 23px}.review-flashcard h2{font-size:27px}.page-footer{font-size:9px;letter-spacing:.8px;margin-top:30px}.empty-state{padding:43px 10px}.word-card-actions .button{font-size:11px}.word-definition{font-size:14px}}
@media(max-width:390px){.hero{padding:21px 19px}.hero h1{font-size:24px}.hero-art{width:105px}.hero-mini{display:none}.hero p{max-width:185px}.dashboard-aside{grid-template-columns:1fr}.quote-card{display:none}.library-banner .button{margin-left:0}.stat-value{font-size:22px}}
.dashboard-grid>div,.dashboard-grid>aside,.library-layout>*,.profile-grid>*,.stat-row>*{min-width:0}.stat-row{grid-template-columns:repeat(3,minmax(0,1fr))}.story-text p{scroll-margin-top:85px}.library-banner>div{min-width:0}.page-head>div{min-width:0}.hero-label .icon{width:15px;height:15px}.icon-button.active{background:#e9daf7;color:#8553a9;border-color:#d7bfea}
@media(max-width:760px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-label{white-space:normal;line-height:1.5}.micro-stats{flex-wrap:wrap;gap:7px 15px}.library-banner .button{flex-shrink:0}.detail-meta{flex-wrap:wrap}.profile-top{flex-wrap:wrap}.reading-header-title{min-width:0}}
@media(max-width:390px){.dashboard-aside{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.category-overview{margin:28px 0 8px}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.category-card{text-align:left;padding:19px 17px;color:#8f73a3;display:flex;flex-direction:column;gap:10px;min-width:0;transition:transform .15s,border-color .15s}.category-card:hover{transform:translateY(-3px)}.category-card.selected{border-color:#bda0d6;background:#fbf7ff}.category-symbol{font-size:10px;letter-spacing:1px;color:#b19ac2;min-height:13px}.category-card strong{font-size:16px;color:#76548c}.category-numbers{font-size:10px;color:#ad9bb9;white-space:nowrap}.category-card .pill{font-size:9px;align-self:flex-start;padding:4px 8px}.category-tabs{display:flex;gap:9px;margin:0 0 25px;padding:8px;background:#fff9;border:1px solid white;border-radius:17px}.category-tabs button{flex:1;border:0;background:transparent;color:#a48ab4;border-radius:12px;padding:12px 7px;font-size:13px;min-width:0}.category-tabs button.active{background:#e8daf5;color:#785095;font-weight:650}.category-tabs button span{display:block;font-size:9px;color:#b09aba;margin-top:5px;font-weight:400}.phonetic-line{display:flex;flex-wrap:wrap;gap:7px 15px;font-size:11px;line-height:1.9;color:#a88db8;margin:9px 0 6px}.phonetic-line>span{display:inline-flex;gap:6px;align-items:center}.phonetic-line b{font-family:"Segoe UI","Arial Unicode MS",Arial,sans-serif;color:#8e769e;font-weight:400;font-size:13px;letter-spacing:.3px}.phonetic-pending{color:#c0adcb;font-size:10px}.phonetic-line .tts-button{background:#f0e6f8}.profile-tracks>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:13px;color:#947ba5}
@media(max-width:760px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card{padding:17px 15px;gap:9px}.category-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.category-card:last-child .pill{justify-self:end}.category-overview{margin-top:24px}.category-tabs{gap:3px;padding:5px;margin-bottom:20px}.category-tabs button{font-size:11px;padding:10px 3px}.category-tabs button span{font-size:8px}.phonetic-line{font-size:10px;gap:5px 12px}.phonetic-line b{font-size:12px}.profile-tracks>div{font-size:12px}}
