@font-face{font-family:StudySans;src:local('Microsoft YaHei UI'),local('PingFang SC');font-style:normal;font-weight:100 900;font-display:swap}
:root{--page:#f4f7f5;--paper:#fff;--ink:#253b37;--muted:#596d62;--line:#e3eae6;--green:#147d68;--green-dark:#116b59;--green-light:#e9f5ef;--radius:16px;--shadow:0 3px 12px #25493e04;--font:StudySans,'Segoe UI','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}html{color-scheme:light;scroll-padding-top:20px}body{margin:0;color:var(--ink);background:var(--page);font-family:var(--font);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.42}button:not(:disabled){transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #145a49;outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{border:0;background:none}svg.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;padding:12px 20px;background:var(--green);color:#fff;z-index:100}.skip-link:focus{top:12px}.site-header{height:82px;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{max-width:1240px;height:100%;margin:auto;padding:0 12px;display:flex;align-items:center;gap:56px}.brand{display:flex;align-items:center;gap:11px;font-weight:650;font-size:21px;letter-spacing:.2px;white-space:nowrap}.brand-dot{color:var(--green)}.main-nav{display:flex;align-self:stretch;gap:32px}.nav-item{padding:4px 0 0;position:relative;font-size:15px;color:#52685e;font-weight:500;white-space:nowrap}.nav-item:hover{color:var(--green)}.nav-item.active{color:var(--green);font-weight:600}.nav-item.active:after{content:'';position:absolute;bottom:0;left:3px;right:3px;height:3px;background:var(--green);border-radius:3px 3px 0 0}.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:42px;height:44px;border:1px solid transparent;border-radius:10px;color:#52685e}.icon-button:hover{background:var(--green-light);color:var(--green)}.header-divider{height:23px;width:1px;background:var(--line);margin:0 7px}.learner-avatar{height:34px;width:34px;display:grid;place-items:center;border:1px solid #e1eadc;border-radius:50%;color:#52685e;background:#f0f3e8;font-size:14px}.app-container{max-width:1240px;margin:0 auto;padding:38px 12px 0;min-height:calc(100svh - 163px)}.app-container:focus-visible{outline:3px solid #145a49;outline-offset:3px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:24px}.eyebrow{display:flex;align-items:center;gap:7px;font-size:12px;color:#52685e;margin-bottom:8px;letter-spacing:1px}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#79a887;flex:none}h1{font-size:31px;line-height:1.45;letter-spacing:-.7px;font-weight:650}.page-description{color:var(--muted);margin-top:8px;line-height:1.8;font-size:14px}.help-button{display:flex;align-items:center;gap:7px;min-height:44px;color:#52685e;font-size:13px;padding:8px 0 8px 12px;white-space:nowrap}.help-button:hover{color:var(--green)}.help-button .icon{width:17px;height:17px}.book-toolbar{background:var(--paper);border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;padding:15px 20px;margin-bottom:24px;gap:22px;box-shadow:var(--shadow);min-height:82px}.book-picker{display:flex;align-items:center;gap:12px;flex:none}.book-mini{display:grid;place-items:center;width:40px;height:46px;border-radius:8px;background:#edf5ef;color:var(--green)}.book-mini .icon{width:23px;height:23px}.book-picker label{display:block;font-size:11px;color:#52685e;line-height:1.3}.book-picker select{color:var(--ink);border:0;background:transparent;font-size:15px;font-weight:600;min-width:170px;max-width:240px;height:30px;margin-left:-3px;padding-right:12px;cursor:pointer}.toolbar-separator{height:32px;width:1px;background:var(--line)}.book-details{font-size:12px;color:#52685e}.toolbar-right{margin-left:auto;display:flex;align-items:center;gap:22px}.saved-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#52685e;white-space:nowrap}.saved-status .tiny-dot{background:#76ad8b;width:5px;height:5px}.text-button{display:inline-flex;align-items:center;gap:7px;color:#62776d;font-size:13px;min-height:44px;padding:6px 0}.text-button .icon{width:16px;height:16px}.text-button:hover{color:var(--green)}.practice-grid{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:24px}.game-panel{min-width:0;padding:25px 28px 22px;border-radius:18px;background:linear-gradient(125deg,#206b78 0%,#247c80 50%,#287b78 100%);box-shadow:0 8px 28px #245f5f11;position:relative;overflow:hidden;color:white}.game-panel:before{content:'';position:absolute;right:-80px;top:-135px;width:340px;height:340px;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}.level-label{display:flex;align-items:center;gap:12px}.level-icon{width:42px;height:42px;background:#ffffff1c;border:1px solid #ffffff24;border-radius:12px;display:grid;place-items:center;color:#e2ffeb}.level-icon .icon{width:23px;height:23px}.level-kicker{font-size:11px;color:#52685e;letter-spacing:.5px}.level-label h2{font-size:22px;line-height:1.5;font-weight:600;letter-spacing:.3px}.level-label h2 span{font-size:12px;font-weight:400;margin-left:12px;color:#e1f7f4;letter-spacing:0}.restart-button{display:flex;gap:6px;align-items:center;font-size:12px;color:#e0f5f2;padding:8px 0;min-height:44px}.restart-button .icon{width:16px;height:16px}.restart-button:hover{color:white;transform:translateY(-1px)}.game-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:23px 0 15px}.game-stat{padding-left:24px;border-left:1px solid #ffffff2b}.game-stat:first-child{padding-left:0;border-left:0}.game-stat>span{font-size:11px;display:flex;align-items:center;gap:4px;color:#e0f4f2}.game-stat>span .icon{width:13px;height:13px}.game-stat strong{display:block;font-size:26px;line-height:1.65;font-weight:600;font-family:'Segoe UI',var(--font);letter-spacing:.7px;font-variant-numeric:tabular-nums}.game-stat small{font-size:12px;font-weight:400;letter-spacing:0;color:#52685e}.game-progress{height:4px;background:#1a6c7b35;border-radius:10px;margin-bottom:22px;overflow:hidden}.game-progress>span{height:100%;width:0;background:#d3f6b8;display:block;transition:width .45s}.board-container{position:relative;border:1px solid #b5dfe34d;border-radius:13px;background:#1b3449;box-shadow:inset 0 3px 10px #0c2a4030,0 2px 0 #267e8c20;padding:16px;min-height:322px}.board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;position:relative}.word-tile{min-width:0;min-height:64px;padding:9px 5px;border:1px solid #e2e9ed;border-bottom:4px solid #cbdadd;border-radius:8px;color:#2c414c;background:#fcfefd;display:flex;align-items:center;justify-content:center;text-align:center;font-size:15px;font-weight:500;line-height:1.3;overflow-wrap:anywhere;hyphens:auto;user-select:none;position:relative;box-shadow:0 2px 3px #102c4033;transition:transform .17s,background .17s,border-color .17s,opacity .3s}.word-tile:hover:not(:disabled){background:white;transform:translateY(-2px);border-color:#9dded6;box-shadow:0 4px 8px #09223544}.word-tile:active:not(:disabled){transform:translateY(1px)}.word-tile.selected{background:#ffe8a0;border-color:#efce6b;color:#665020;box-shadow:0 0 0 3px #ffedb125;transform:translateY(-2px)}.word-tile.wrong{background:#ffd9d4;border-color:#e5aaa2;color:#8d3c32;animation:shake .35s both}.word-tile.correct{background:#b9eea0;border-color:#8cce74;color:#346235;box-shadow:0 0 18px #bafca643;transform:scale(1.025)}.word-tile.vanishing{animation:tile-away .3s forwards;pointer-events:none}.word-tile.matched{visibility:hidden;pointer-events:none;opacity:0}.word-tile.hinted:not(.selected){background:#fff0b9;border-color:#e9ca75;box-shadow:0 0 0 2px #ffedb136}.word-tile:disabled{opacity:1;cursor:default}.word-tile.long-word{font-size:13px;line-height:1.4}.board-message{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;font-size:11px;color:#e3f5f1;line-height:1.5;text-align:center;padding:6px 0}.message-dot{height:4px;width:4px;flex:none;border-radius:50%;background:#cae9dc}.board-message.success{color:#eeffd4}.board-message.error{color:#fff0dc}.game-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-tools{display:flex;gap:10px}.game-tool{border:1px solid #e2faf947;background:#ffffff0e;color:#f0fcf9;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:7px 12px;font-size:12px}.game-tool .icon{width:16px;height:16px}.game-tool:hover{background:#ffffff20;transform:translateY(-1px)}.tool-key{display:inline-grid;place-items:center;border:1px solid #d6f5ee55;border-radius:3px;font-family:'Segoe UI',sans-serif;font-size:10px;height:16px;width:16px;opacity:.65;margin-left:4px}.play-button{min-width:150px;min-height:44px;background:#fffef6;border:1px solid #fffef6;color:#247d74;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:22px;padding:10px 17px;font-weight:600;font-size:13px;box-shadow:0 2px 1px #0d5e6720}.play-button:hover{background:#effbec;transform:translateY(-2px);box-shadow:0 4px 10px #1f6e7530}.play-button .icon{width:17px;height:17px}.board-overlay{position:absolute;inset:0;background:#1b3449f5;border-radius:12px;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px;color:#fff}.overlay-icon{width:54px;height:54px;display:grid;place-items:center;background:#ffffff12;border:1px solid #ffffff16;border-radius:50%;color:#52685e;margin-bottom:12px}.overlay-icon .icon{width:25px;height:25px}.board-overlay h3{font-size:22px;font-weight:500}.board-overlay p{font-size:13px;color:#52685e;margin:8px 0 22px}.overlay-button{min-height:44px;background:#e3f5e6;color:#287565;border-radius:8px;padding:10px 25px;font-weight:500;display:flex;align-items:center;gap:10px}.overlay-button:hover{background:white}.celebration{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:5}.confetti{position:absolute;left:50%;top:50%;width:6px;height:10px;background:var(--c);animation:confetti .9s ease-out forwards;--tx:0px;--ty:0px;--r:0deg}.study-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}.current-book-card,.match-card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.current-book-card{padding:18px 20px 20px}.section-label{font-size:12px;color:#63776d;display:flex;justify-content:space-between;align-items:center;min-height:24px}.small-icon-button{display:grid;place-items:center;width:32px;height:32px;margin:-5px -6px -5px 0;color:#52685e;border-radius:7px}.small-icon-button:hover{background:var(--green-light);color:var(--green)}.small-icon-button .icon{width:15px;height:15px}.current-book-info{display:flex;align-items:center;gap:15px;margin:15px 0 20px}.book-cover{width:65px;height:85px;background:#e5eee3;border:1px solid #d9e6d8;border-left:5px solid #a2b6a0;border-radius:3px 7px 7px 3px;box-shadow:2px 3px 5px #26352b0a;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#426c4b;position:relative;flex:none}.book-cover:after{content:'';position:absolute;right:5px;top:5px;bottom:5px;left:5px;border:1px solid #ffffff70;border-radius:2px}.book-cover>span{font-size:9px;letter-spacing:2px;line-height:1.1}.book-cover>strong{font-family:Georgia,serif;font-size:31px;line-height:1.3;font-weight:400}.book-cover>small{font-size:7px;letter-spacing:1px}.book-cover.blue{background:#e4ebf2;border-color:#d4e0ed;border-left-color:#9baec5;color:#4c6789}.current-book-info h2{font-size:16px;font-weight:600;margin-bottom:3px}.current-book-info p{font-size:10px;color:#52685e;white-space:nowrap}.book-tag{display:inline-block;background:#f3f6f2;border:1px solid #e8ede6;border-radius:4px;color:#52685e;font-size:9px;padding:1px 5px;margin-top:8px}.book-progress-label{display:flex;justify-content:space-between;color:#52685e;font-size:10px;margin-bottom:9px}.book-progress-label strong{color:#52685e;font-weight:500}.book-progress{height:5px;background:#eef2ec;border-radius:10px;overflow:hidden}.book-progress span{height:100%;display:block;background:#80b299;width:0;transition:width .4s}.match-card{padding:18px 20px;flex:1;min-height:185px}.count-badge{margin-left:5px;background:#f0f5f0;border-radius:4px;padding:1px 5px;font-size:9px;color:#52685e}.harvest-check{color:#52685e;width:15px!important;height:15px!important}.match-history{max-height:188px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d4e1d8 transparent}.match-empty{height:142px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px}.empty-leaf{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#f3f7f0;color:#52685e}.empty-leaf .icon{width:21px;height:21px}.match-empty p{font-size:11px;color:#52685e;line-height:1.9}.harvest-row{padding:10px 0;border-bottom:1px solid #eff3ee;animation:harvest-in .25s ease-out}.harvest-row:last-child{border-bottom:0}.harvest-words{display:flex;gap:6px;align-items:center;color:#456c57;font-family:'Segoe UI',var(--font);font-size:13px;font-weight:500;overflow-wrap:anywhere}.harvest-words>span{min-width:0}.harvest-words .icon{width:12px;height:12px;flex:none;opacity:.45}.harvest-meaning{font-size:10px;color:#52685e;margin-top:2px}.tip-card{display:flex;gap:10px;padding:16px 16px 17px;background:#edf1e6;border-radius:12px;border:1px solid #e3e9d8}.tip-icon{color:#52685e;margin-top:1px}.tip-icon .icon{width:18px;height:18px}.tip-card h2{font-size:12px;font-weight:600;color:#52685e}.tip-card p{font-size:10px;line-height:1.9;color:#52685e;margin-top:5px}.tip-link{font-size:10px;display:flex;align-items:center;gap:4px;color:#52685e;padding:7px 0 0;min-height:30px}.tip-link .icon{width:13px;height:13px}.tip-link:hover{color:#3e663a;gap:8px}.practice-footnote{display:flex;justify-content:space-between;align-items:center;margin-top:17px;color:#52685e;font-size:10px;gap:12px}.practice-footnote>span:first-child{display:flex;align-items:center;gap:5px}.practice-footnote .icon{width:13px;height:13px;color:#52685e}.keyboard-tip{display:flex;align-items:center;gap:5px}kbd{font-family:inherit;display:inline-block;border:1px solid #dce5dd;border-radius:3px;background:#fff;padding:0 4px;font-size:9px;color:#52685e;line-height:18px}.dot-divider{margin:0 3px;color:#52685e}.app-footer{max-width:1240px;padding:28px 12px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin:auto;color:#52685e;font-size:10px}.app-footer>span:first-child{display:flex;align-items:center;gap:8px}.app-footer img{opacity:.45;filter:grayscale(1)}.library-panel,.record-panel{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden}.library-controls{padding:20px;display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--line)}.search-field{display:flex;align-items:center;gap:9px;background:#f6f8f6;border:1px solid #e6ece6;border-radius:8px;padding:0 12px;min-width:160px;flex:1;height:44px}.search-field .icon{width:17px;height:17px;color:#52685e}.search-field input{background:transparent;border:0;outline:none;min-width:0;width:100%;font-size:12px;color:var(--ink);height:100%}.search-field:focus-within{outline:2px solid #70ab96;outline-offset:2px}.search-field input:focus-visible{outline:2px solid #145a49;outline-offset:2px}.search-field input::placeholder{color:#52685e}.filter-tabs{display:flex;gap:4px}.filter-tab{min-height:44px;padding:8px 12px;border-radius:7px;font-size:12px;white-space:nowrap;color:#52685e;display:flex;gap:5px;align-items:center}.filter-tab .icon{width:14px;height:14px}.filter-tab.active{background:var(--green-light);color:var(--green)}.filter-tab:hover{background:#f5f8f3}.primary-button{background:var(--green);border:1px solid var(--green);border-radius:8px;color:white;padding:10px 16px;min-height:44px;display:inline-flex;gap:15px;align-items:center;justify-content:center;font-weight:500;font-size:13px;white-space:nowrap}.primary-button:hover{background:var(--green-dark);transform:translateY(-1px)}.secondary-button{background:white;border:1px solid #dbe4de;border-radius:8px;padding:10px 16px;min-height:44px;display:inline-flex;gap:7px;align-items:center;justify-content:center;font-size:13px}.secondary-button:hover{background:#f5f8f4}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:#fafcf9;color:#52685e;font-size:11px;border-bottom:1px solid #edf2ec}.word-row{display:flex;align-items:center;gap:20px;padding:15px 24px;border-bottom:1px solid #edf2ec;min-height:85px}.word-number{color:#52685e;font-size:11px;width:24px;font-variant-numeric:tabular-nums}.word-row-content{flex:1;min-width:0}.word-meaning{font-weight:500;font-size:13px;margin-bottom:4px}.word-terms{display:flex;flex-wrap:wrap;gap:0;color:#52685e;align-items:center;font-family:'Segoe UI',var(--font);font-size:15px}.word-term{display:inline-flex;align-items:center}.word-term:not(:last-child):after{content:' / ';font-size:12px;color:#52685e;margin:0 9px}.row-actions{display:flex;gap:6px}.row-actions .icon-button{color:#52685e}.row-actions .starred{color:#52685e}.row-actions .starred .icon{fill:#f9edbf}.mistake-label{font-size:9px;color:#52685e;background:#fff6ec;border-radius:4px;padding:1px 5px;margin-left:7px;font-weight:400}.list-pagination{padding:15px 24px;display:flex;align-items:center;justify-content:space-between;color:#52685e;font-size:11px}.list-pagination>div{display:flex;align-items:center;gap:12px}.list-pagination .icon-button{background:#f4f7f2;border:1px solid #e4ebe1;width:36px}.left-chevron{transform:rotate(180deg)}.data-note{color:#52685e;font-size:11px;margin:15px 3px 0;line-height:1.9}.empty-list{padding:65px 20px;text-align:center;color:#52685e}.empty-list .icon{width:32px;height:32px;color:#52685e;margin-bottom:12px}.empty-list h3{font-weight:500;font-size:16px;color:#52685e}.empty-list p{font-size:12px;margin-top:8px}.record-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.record-stat{border:1px solid var(--line);border-radius:12px;background:white;padding:22px 24px}.record-stat>span{font-size:12px;color:#52685e}.record-stat>strong{display:block;font-size:31px;color:#426b56;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.7}.record-stat>strong small{font-size:13px;color:#52685e;font-weight:400;margin-left:5px}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.record-panel{padding:24px;min-height:268px}.record-panel>h2{font-size:15px;font-weight:500;margin-bottom:24px}.book-record{margin:22px 0}.book-record-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#52685e;margin-bottom:9px}.book-record-head>span:last-child{color:#52685e;font-size:11px}.book-record .book-progress{height:8px}.recent-row{padding:13px 0;border-bottom:1px solid #edf3eb;display:flex;justify-content:space-between;gap:15px;font-size:12px}.recent-row:last-child{border:0}.recent-row small{display:block;font-size:10px;color:#52685e;margin-top:3px}.recent-row>strong{font-weight:500;color:#52685e;white-space:nowrap}.empty-records{padding:35px 0;color:#52685e;font-size:12px;text-align:center;line-height:2}.app-dialog{border:1px solid #e1e8e0;border-radius:20px;padding:0;max-width:calc(100vw - 32px);width:500px;max-height:calc(100svh - 48px);color:var(--ink);box-shadow:0 24px 100px #153c3930;background:#fff}.app-dialog::backdrop{background:#173e3c60;backdrop-filter:blur(5px)}.dialog-inner{padding:28px 30px}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.dialog-header h2{font-size:21px;font-weight:600}.dialog-header .icon-button{margin:-9px -10px -9px 0}.dialog-lead{font-size:13px;line-height:1.9;color:#52685e;margin:8px 0 22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.dialog-actions .primary-button{min-width:130px}.setting-row{padding:17px 0;border-bottom:1px solid #ecf1ea;display:flex;justify-content:space-between;align-items:center;gap:20px}.setting-label>span{font-size:14px;display:block;font-weight:500}.setting-label>small{display:block;font-size:11px;color:#52685e;margin-top:4px}.segmented{display:flex;gap:4px;padding:3px;background:#f2f6f0;border-radius:7px}.segmented button{min-width:40px;min-height:36px;border-radius:5px;font-size:12px;color:#52685e}.segmented button.active{background:white;color:var(--green);box-shadow:0 1px 4px #253e2c0f}.switch{position:relative;width:44px;height:26px;background:#dbe5db;border-radius:20px;border:0;flex:none;min-height:26px}.switch:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 3px #1a392b20;transition:transform .2s}.switch[aria-checked=true]{background:var(--green)}.switch[aria-checked=true]:after{transform:translateX(18px)}.danger-button{font-size:12px;color:#52685e;padding:10px 0;min-height:44px;margin-top:12px}.danger-button:hover{color:#98482e}.form-label{display:block;font-size:12px;color:#597965;margin:16px 0 7px}.form-input{display:block;width:100%;border:1px solid #dce6da;background:#fbfdf9;padding:11px 12px;border-radius:8px;font-size:14px;min-height:44px;color:var(--ink)}textarea.form-input{min-height:165px;resize:vertical;font-family:var(--font);line-height:1.9;font-size:13px}.input-example{font-family:'Segoe UI',var(--font);font-size:12px;padding:12px;background:#f2f7f0;border-radius:8px;color:#52685e;line-height:1.9;margin-top:12px;overflow-wrap:anywhere}.form-error{font-size:12px;color:#ac5e40;margin-top:10px;line-height:1.7}.file-import-row{display:flex;gap:12px;align-items:center;margin-top:14px;color:#52685e;font-size:11px}.file-import-row input{max-width:100%;min-height:44px;font-size:11px}.file-import-row input::file-selector-button{padding:8px 12px;border:1px solid #dce6da;border-radius:6px;background:white;color:#52685e;cursor:pointer;margin-right:8px;font:inherit}.help-step{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #edf1e9}.step-number{height:31px;width:31px;background:#edf5e9;color:#52685e;border-radius:8px;font-size:12px;display:grid;place-items:center;flex:none}.help-step h3{font-size:14px;font-weight:500;margin-bottom:4px}.help-step p{font-size:12px;color:#52685e;line-height:1.8}.help-note{font-size:11px;color:#52685e;line-height:1.9;background:#f6f8f2;padding:12px 15px;border-radius:8px;margin-top:20px}.result-emblem{display:grid;place-items:center;background:#eff8e8;width:62px;height:62px;color:#52685e;border-radius:50%;margin:0 auto 14px}.result-emblem .icon{width:30px;height:30px}.result-title{text-align:center;font-size:25px;font-weight:600!important;margin:0 0 8px}.result-subtitle{text-align:center;color:#52685e;font-size:12px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#f4f8ef;padding:18px 6px;margin:24px 0 18px;border-radius:12px;text-align:center}.result-stats strong{font-size:22px;font-weight:500;color:#527b53;font-family:'Segoe UI',var(--font);display:block;line-height:1.4}.result-stats span{font-size:10px;color:#52685e}.review-list{max-height:190px;overflow:auto;scrollbar-width:thin}.review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf3e8;padding:10px 0}.review-row>div{min-width:0}.review-row>div>strong{display:block;font-size:13px;font-weight:500;color:#52685e;overflow-wrap:anywhere}.review-row>div>span{display:block;font-size:10px;color:#52685e;margin-top:2px}.review-row .icon-button{flex:none}.review-row .starred{color:#52685e}.review-row .starred .icon{fill:#f8edc4}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:12px 22px;background:#29483f;color:#f6fff7;font-size:13px;line-height:1.7;border-radius:10px;box-shadow:0 8px 30px #173c3920;z-index:20;pointer-events:none;text-align:center}.noscript-message{padding:20px;background:#fff4d6;text-align:center;color:#7c6235}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes tile-away{to{transform:scale(.65);opacity:0}}@keyframes confetti{to{transform:translate(var(--tx),var(--ty)) rotate(var(--r));opacity:0}}@keyframes harvest-in{from{transform:translateY(4px);opacity:0}to{transform:translateY(0);opacity:1}}.page-heading{animation:harvest-in .45s both}.game-panel{animation:harvest-in .5s .04s both}
@media(min-width:901px){.site-header{height:72px}.app-container{padding-top:28px}.page-heading{margin-bottom:22px}.eyebrow{margin-bottom:6px}.book-toolbar{min-height:72px;padding-top:10px;padding-bottom:10px;margin-bottom:20px}.game-panel{padding-top:20px;padding-bottom:18px}.game-stats{margin-top:17px;margin-bottom:12px}.game-progress{margin-bottom:17px}.board-container{padding:14px;min-height:284px}.board{gap:10px}.word-tile{min-height:56px}.board-message{min-height:36px}.current-book-info{margin-top:11px;margin-bottom:16px}.match-history{max-height:150px}.app-footer{padding-top:22px}}
@media(min-width:1500px){.app-container{padding-top:36px}.page-heading{margin-bottom:26px}.book-toolbar{margin-bottom:24px}.game-panel{padding:25px 30px 22px}.word-tile{min-height:68px;font-size:17px}.word-tile.long-word{font-size:14px}.board-container{min-height:338px}.game-stats{margin-top:23px}.study-sidebar{gap:20px}.match-history{max-height:214px}}
@media(max-width:1279px){.header-inner,.app-container,.app-footer{margin-left:32px;margin-right:32px;padding-left:0;padding-right:0}.header-inner{gap:36px}.practice-grid{grid-template-columns:minmax(0,1fr) 246px;gap:20px}.game-panel{padding:22px}.board{gap:10px}.board-container{padding:13px}.word-tile{font-size:14px;min-height:65px}.word-tile.long-word{font-size:12px}.current-book-card,.match-card{padding:17px}.current-book-info{gap:12px}.book-cover{width:56px;height:78px}.keyboard-tip{display:none}.current-book-info h2{font-size:14px}.current-book-info p{font-size:9px}.library-controls{gap:12px}.filter-tab{padding:8px 9px}}
@media(max-width:1050px){.practice-grid{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.game-panel{padding:20px}.game-stat{padding-left:14px}.word-tile{min-height:65px;font-size:13px}.word-tile.long-word{font-size:11px}.board{gap:8px}.board-container{padding:12px}.level-label h2{font-size:20px}.level-label h2 span{margin-left:8px;font-size:11px}.game-stat strong{font-size:24px}.book-details{display:none}.book-toolbar{gap:15px}.toolbar-right{gap:15px}.book-cover{width:50px;height:72px}.book-cover strong{font-size:27px}.current-book-info{gap:10px}.current-book-info p{white-space:normal;font-size:10px}.book-tag{font-size:8px}.main-nav{gap:24px}.header-inner{gap:32px}.brand{font-size:19px}.header-actions{gap:5px}.header-divider{margin:0 5px}.match-empty p{font-size:10px}.tip-card{padding:14px 13px;gap:8px}.game-panel .game-controls .tool-key{display:none}.library-controls{flex-wrap:wrap}.search-field{flex-basis:100%}.library-controls .primary-button{margin-left:auto}.record-stats{gap:14px}.record-stat{padding:19px}.record-grid{gap:18px}}
@media(max-width:900px){.header-inner,.app-container,.app-footer{margin-left:28px;margin-right:28px}.header-inner{gap:35px}.header-actions{gap:6px}.header-divider,.learner-avatar{display:none}.main-nav{gap:24px}.site-header{height:74px}.practice-grid{grid-template-columns:1fr}.study-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tip-card{display:none}.current-book-card{padding:18px 20px}.match-card{padding:18px 20px;min-height:0}.current-book-info{margin:12px 0 16px;gap:15px}.book-cover{width:52px;height:65px}.book-cover strong{font-size:25px}.current-book-info h2{font-size:15px}.match-history{height:132px;max-height:132px}.match-empty{height:128px;gap:5px}.empty-leaf{height:30px;width:30px}.match-empty p{font-size:11px}.game-panel{padding:24px 26px}.board-container{padding:16px}.board{gap:12px}.word-tile{font-size:16px;min-height:69px}.word-tile.long-word{font-size:13px}.level-label h2 span{font-size:12px;margin-left:12px}.game-stats{margin-top:23px}.game-stat{padding-left:24px}.game-stat strong{font-size:27px}.game-controls .tool-key{display:inline-grid!important}.game-tools{gap:12px}.game-tool{padding:8px 16px}.game-controls{margin-top:0}.app-container{padding-top:30px}.page-heading{margin-bottom:24px}h1{font-size:29px}.app-footer{padding-top:24px}.practice-footnote{margin-top:16px}.record-grid{grid-template-columns:1fr}.book-progress-label{font-size:11px}.book-tag{font-size:9px}.board-message{font-size:12px}.record-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:639px){.site-header{height:117px}.header-inner{height:65px;position:relative;margin:0 20px;gap:0;flex-wrap:wrap}.brand{font-size:19px;gap:9px}.brand img{width:32px;height:32px}.header-actions{margin-left:auto;gap:3px}.header-actions .icon-button{width:36px;height:42px}.main-nav{position:absolute;top:65px;height:52px;left:-20px;right:-20px;gap:0;padding:0 20px;border-top:1px solid #f1f5ef;justify-content:space-between}.nav-item{font-size:13px;padding:0 12px}.nav-item.active:after{left:12px;right:12px;height:2px}.app-container{margin:0;padding:25px 20px 0;min-height:calc(100svh - 200px)}.page-heading{margin-bottom:20px;align-items:flex-start;gap:8px}.eyebrow{font-size:9px;letter-spacing:.5px;margin-bottom:7px}.eyebrow .tiny-dot{width:5px;height:5px}h1{font-size:25px;letter-spacing:-.5px}.page-description{font-size:11px;margin-top:7px;line-height:1.9;max-width:260px}.help-button{font-size:0;min-height:36px;padding:6px 0 6px 8px;margin-top:19px}.help-button .icon{width:20px;height:20px}.book-toolbar{padding:12px;margin-bottom:18px;gap:10px;border-radius:10px;min-height:73px}.book-mini{width:33px;height:39px;border-radius:6px}.book-mini .icon{width:20px;height:20px}.book-picker{gap:9px;min-width:0}.book-picker label{font-size:9px}.book-picker select{font-size:13px;min-width:0;width:156px;max-width:100%;height:28px}.toolbar-separator,.saved-status{display:none}.toolbar-right{gap:0;flex:none}.text-button{font-size:10px;gap:5px;padding:0;min-height:44px}.text-button .icon{width:15px;height:15px}.game-panel{border-radius:13px;padding:18px 15px 17px}.level-label{gap:9px}.level-icon{width:34px;height:37px;border-radius:9px}.level-icon .icon{width:20px;height:20px}.level-kicker{font-size:9px;letter-spacing:0}.level-label h2{font-size:19px;line-height:1.5}.level-label h2 span{display:none}.restart-button{font-size:10px;gap:4px;min-height:44px}.restart-button .icon{width:14px;height:14px}.game-stats{margin:19px 0 12px}.game-stat{padding-left:12px}.game-stat>span{font-size:9px;gap:3px;white-space:nowrap}.game-stat>span .icon{width:11px;height:11px}.game-stat strong{font-size:22px;line-height:1.7;letter-spacing:0}.game-stat small{font-size:9px}.game-progress{margin-bottom:17px;height:3px}.board-container{padding:10px;border-radius:10px;min-height:360px}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.word-tile{min-height:60px;font-size:13px;border-radius:6px;padding:6px 4px;border-bottom-width:3px;line-height:1.35}.word-tile.long-word{font-size:11px}.board-message{min-height:43px;font-size:10px;gap:5px;padding:8px 3px}.game-tools{gap:7px}.game-tool{padding:7px 9px;font-size:10px;min-height:44px;border-radius:7px;gap:5px}.game-tool .icon{width:14px;height:14px}.game-controls .tool-key{display:none!important}.play-button{min-width:109px;min-height:44px;font-size:11px;padding:9px 12px;gap:12px;border-radius:7px}.play-button .icon{width:15px;height:15px}.study-sidebar{display:none}.practice-footnote{font-size:9px;justify-content:center;margin-top:14px}.practice-footnote .icon{height:11px;width:11px}.app-footer{margin:0;padding:26px 20px 22px;display:flex;justify-content:center;gap:8px;flex-direction:column;font-size:9px;line-height:1.4}.app-footer img{width:15px;height:15px}.app-footer>span:last-child{font-size:8px;color:#52685e}.board-overlay{padding:18px}.board-overlay h3{font-size:20px}.board-overlay p{font-size:11px;line-height:1.8}.overlay-button{font-size:12px}.board-overlay .overlay-icon{width:48px;height:48px}.library-controls{padding:14px;gap:12px}.search-field{height:44px}.filter-tabs{width:100%;gap:5px}.filter-tab{font-size:11px;justify-content:center;padding:8px 6px;flex:1;min-height:44px}.library-controls .primary-button{width:100%;font-size:12px}.list-heading{padding:11px 15px;font-size:9px}.word-row{padding:13px 12px;gap:8px;align-items:flex-start}.word-number{width:18px;font-size:10px;padding-top:3px}.word-meaning{font-size:12px;margin-bottom:6px}.word-terms{font-size:13px;line-height:1.9}.word-term:not(:last-child):after{margin:0 5px;font-size:10px}.row-actions{gap:0;flex-direction:column}.row-actions .icon-button{width:32px;height:36px}.row-actions .icon{width:16px;height:16px}.word-row-content{padding-top:2px}.list-pagination{padding:12px 15px;font-size:10px}.list-pagination>div{gap:8px}.list-pagination .icon-button{width:32px;height:38px}.data-note{font-size:10px;margin-top:13px}.record-stats{gap:12px;margin-bottom:18px}.record-stat{padding:17px}.record-stat>span{font-size:11px}.record-stat>strong{font-size:27px}.record-stat>strong small{font-size:10px}.record-panel{padding:20px}.record-panel>h2{font-size:14px}.recent-row{font-size:11px}.app-dialog{width:440px;border-radius:16px;max-width:calc(100vw - 28px)}.dialog-inner{padding:24px 21px}.dialog-header h2{font-size:19px}.dialog-lead{font-size:12px}.dialog-actions .primary-button{min-width:0}.dialog-actions{gap:8px}.dialog-actions button{font-size:12px;flex:1;padding-left:10px;padding-right:10px}.setting-row{gap:12px}.setting-label>span{font-size:13px}.setting-label>small{font-size:10px}.segmented button{min-width:34px}.file-import-row{flex-wrap:wrap}.result-title{font-size:23px}.toast{bottom:20px;font-size:12px;white-space:normal}.help-note{font-size:10px}.review-row>div>strong{font-size:12px}}
@media(max-width:359px){.header-inner{margin:0 14px}.brand{font-size:18px}.main-nav{left:-14px;right:-14px;padding:0 14px}.app-container{padding:21px 14px 0}.book-toolbar{padding:10px}.book-picker select{width:135px;font-size:12px}.book-picker{gap:7px}.text-button{font-size:9px;gap:4px}.book-mini{width:29px}.game-panel{padding:16px 11px}.board-container{padding:8px}.board{gap:6px}.word-tile{font-size:11px;min-height:58px;padding:6px 3px}.word-tile.long-word{font-size:10px}.game-stat{padding-left:9px}.game-stat strong{font-size:20px}.game-stat>span{font-size:8px}.game-stat>span .icon{display:none}.game-controls{gap:8px}.game-tool{padding:7px 8px;font-size:9px}.play-button{min-width:99px;font-size:10px;gap:8px}.game-tools{gap:6px}.board-container{min-height:340px}.restart-button{font-size:9px}.page-description{font-size:10px}.page-heading{gap:4px}h1{font-size:24px}.book-picker label{font-size:8px}.book-picker select{max-width:140px}.filter-tab{font-size:10px}.word-meaning{font-size:11px}.word-terms{font-size:12px}.record-stat{padding:14px}.record-stat>strong{font-size:24px}}
@media(max-width:639px){.board{grid-template-columns:repeat(3,minmax(0,1fr))}.word-tile{min-height:56px;font-size:13px;overflow-wrap:normal;word-break:normal;hyphens:none}.word-tile.long-word{font-size:11px;letter-spacing:-.1px}.board-container{min-height:0}.game-panel{display:flex;flex-direction:column}.game-topline{order:0}.game-stats{order:1}.game-progress{order:2}.game-controls{order:3;margin-bottom:16px}.board-container{order:4}.board-message{order:5;min-height:39px;padding-bottom:0}}
@media(max-width:359px){.word-tile{font-size:12px}.word-tile.long-word{font-size:10px}}
.game-panel .level-kicker,.game-panel .game-stat small{color:#e5faf5}
.word-tile:focus-visible{outline:3px solid #ffdf7a;outline-offset:2px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.word-tile.correct,.word-tile.selected{transform:none}.confetti{display:none}}
