.word-frequency-page{--canvas:#f4f6f8;--surface:#fff;--text:#18202a;--heading:#111821;--muted:#526174;--border:#d9e0e8;--border-strong:#c2cdd8;--green:#1f6f5f;--green-dark:#155749;--green-soft:#e5f1ee;--navy:#082b53;min-height:100dvh;color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px}.word-frequency-page *{box-sizing:border-box}.word-frequency-page button,.word-frequency-page input,.word-frequency-page textarea,.word-frequency-page select{font:inherit;color:inherit}.word-frequency-page :lang(zh),.word-frequency-page .meaning-cell,.word-frequency-page .definitions p,.word-frequency-page .search-field input,.word-frequency-page .anki-word-meaning{font-family:var(--font-chinese-sans)}.word-frequency-page button{cursor:pointer}.word-frequency-page button:disabled{opacity:.55;cursor:default}.word-frequency-page a{color:inherit;text-decoration:none}.word-frequency-page a:hover{text-underline-offset:4px;text-decoration:underline}.word-frequency-page :is(button,a,input,textarea,select,summary){-webkit-tap-highlight-color:transparent}.word-frequency-page :is(a,button,input,textarea,select,summary):focus-visible{outline-offset:3px;outline:3px solid #2563a6}.word-frequency-page h1,.word-frequency-page h2,.word-frequency-page h3,.word-frequency-page p{margin:0}.word-frequency-page h1,.word-frequency-page h2,.word-frequency-page h3{color:var(--heading)}.word-frequency-page p{line-height:1.6}.word-frequency-page ul{margin:0;padding:0}.word-frequency-page .page-width{width:min(1160px,100% - 48px);margin-inline:auto}.word-frequency-page .icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.word-frequency-page .sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.word-frequency-page .skip-link{z-index:30;background:#fff;border-radius:6px;padding:12px 16px;position:absolute;top:-100px;left:16px}.word-frequency-page .skip-link:focus{top:8px}.word-frequency-page .site-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:60px;display:flex}.word-frequency-page .brand{color:var(--navy);letter-spacing:-.5px;align-items:center;gap:9px;font-size:20px;font-weight:750;display:inline-flex}.word-frequency-page .brand img{width:34px;height:34px}.word-frequency-page .brand-divider{background:var(--border-strong);width:1px;height:18px;margin-inline:5px}.word-frequency-page .brand-subtitle{color:var(--muted);letter-spacing:0;font-size:13px;font-weight:500}.word-frequency-page .about-link{color:var(--muted);padding-block:12px;font-size:14px}.word-frequency-page .intro{padding-block:22px 20px}.word-frequency-page h1{letter-spacing:-.85px;font-size:clamp(28px,2.7vw,34px);font-weight:720;line-height:1.2}.word-frequency-page .lead{color:var(--muted);margin-top:7px;font-size:16px}.word-frequency-page .tool-grid{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);align-items:start;gap:20px;display:grid}.word-frequency-page .panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden}.word-frequency-page .panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 18px;display:flex}.word-frequency-page .panel-heading h2{font-size:16px;font-weight:700}.word-frequency-page .text-button{min-height:40px;color:var(--green-dark);background:0 0;border:0;align-items:center;gap:7px;padding:8px 0;font-size:14px;font-weight:600;display:inline-flex}.word-frequency-page .text-button:hover:not(:disabled){text-underline-offset:3px;text-decoration:underline}.word-frequency-page .input-content{padding:16px 18px}.word-frequency-page textarea{resize:vertical;border:1px solid var(--border-strong);background:#fdfefe;border-radius:6px;width:100%;height:242px;min-height:150px;padding:12px 14px;font-size:17px;line-height:1.8;display:block}.word-frequency-page textarea::placeholder{color:var(--muted)}.word-frequency-page textarea:focus{background:#fff}.word-frequency-page .input-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-block:8px 14px;font-size:12px;line-height:1.5;display:flex}.word-frequency-page .over-limit{color:#842a2a;font-weight:600}.word-frequency-page .primary-button,.word-frequency-page .secondary-button{border:1px solid var(--green);border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 13px;font-size:14px;font-weight:650;display:inline-flex}.word-frequency-page .primary-button{color:#fff;background:var(--green)}.word-frequency-page .primary-button:hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark)}.word-frequency-page .secondary-button{color:var(--muted);border-color:var(--border-strong);background:#fff}.word-frequency-page .secondary-button:hover:not(:disabled){color:var(--green-dark);border-color:var(--green)}.word-frequency-page .scan-button{justify-content:space-between;width:100%;min-height:44px}.word-frequency-page .scan-button:disabled{opacity:1;color:var(--green-dark);background:var(--green-soft);border-color:#c3ded6;justify-content:center}.word-frequency-page .privacy-note{color:var(--muted);align-items:center;gap:7px;margin-top:10px;font-size:12px;display:flex}.word-frequency-page .privacy-note .icon{width:15px;height:15px;color:var(--green)}.word-frequency-page .input-error{color:#842a2a;background:#faeeee;border:1px solid #efcaca;border-radius:5px;margin-bottom:12px;padding:10px 12px;font-size:14px}.word-frequency-page .spinner{border:2px solid #c1d9d2;border-top-color:var(--green);border-radius:50%;flex:none;width:16px;height:16px;animation:.9s linear infinite word-frequency-rotate;display:inline-block}@keyframes word-frequency-rotate{to{transform:rotate(360deg)}}.word-frequency-page .export-button{white-space:nowrap;min-height:38px;padding:7px 10px;font-size:13px}.word-frequency-page .export-button .icon{width:16px;height:16px}.word-frequency-page .export-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.word-frequency-page .scan-summary{color:var(--muted);padding:11px 18px 0;font-size:13px}.word-frequency-page .scan-summary strong{color:var(--text);font-weight:600}.word-frequency-page .scan-summary>span{margin-inline:5px}.word-frequency-page .scan-progress{background:#f3f8f6;border-bottom:1px solid #d7e6df;align-items:center;gap:11px;padding:14px 18px;display:flex}.word-frequency-page .scan-progress strong{color:var(--green-dark);font-size:14px;font-weight:600}.word-frequency-page .scan-progress p{color:var(--muted);margin-top:3px;font-size:13px}.word-frequency-page .stale-notice{color:#704f19;background:#fff6df;border-block:1px solid #ead7aa;margin-top:10px;padding:10px 18px;font-size:13px}.word-frequency-page .filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:10px 18px 8px;display:flex}.word-frequency-page .minimum-filter{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:flex}.word-frequency-page .minimum-filter select{border:1px solid var(--border-strong);min-width:62px;min-height:38px;color:var(--text);background:#f8fafb;border-radius:5px;padding:6px 9px;font-size:14px}.word-frequency-page .checkbox-label{min-height:38px;color:var(--muted);cursor:pointer;align-items:center;gap:7px;font-size:14px;display:inline-flex}.word-frequency-page .checkbox-label input{width:16px;height:16px;accent-color:var(--green);margin:0}.word-frequency-page .list-toolbar{padding:0 18px}.word-frequency-page .search-field{border:1px solid var(--border-strong);min-width:0;color:var(--muted);background:#fafbfc;border-radius:5px;align-items:center;gap:8px;padding-inline:10px;display:flex}.word-frequency-page .search-field .icon{width:16px;height:16px}.word-frequency-page .search-field input{outline-offset:-1px;background:0 0;border:0;width:100%;min-width:0;min-height:40px;font-size:14px}.word-frequency-page .search-field input::placeholder{color:var(--muted)}.word-frequency-page .list-meta{color:var(--muted);padding:9px 18px;font-size:12px}.word-frequency-page .word-table{border-collapse:collapse;table-layout:fixed;width:100%}.word-frequency-page .word-table thead{border-block:1px solid var(--border);background:#f6f8fa}.word-frequency-page .word-table thead th{color:var(--muted);text-align:left;padding:9px 10px;font-size:12px;font-weight:600}.word-frequency-page .word-table thead th:first-child{width:33%;padding-left:18px}.word-frequency-page .word-table thead th:nth-child(2){width:51%}.word-frequency-page .word-table thead th:last-child{width:16%}.word-frequency-page .word-table tbody tr{border-bottom:1px solid #e7ecf0}.word-frequency-page .word-table tbody tr.selected{background:#f0f7f4}.word-frequency-page .word-table tr.selected th{box-shadow:inset 3px 0 var(--green)}.word-frequency-page .word-table tbody th{text-align:left;padding:0;font-weight:500}.word-frequency-page .word-table td{padding:9px 10px}.word-frequency-page .word-table .count-column{text-align:right;padding-right:18px}.word-frequency-page .word-button{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:64px;padding:9px 8px 9px 18px;display:flex}.word-frequency-page .word-button:hover .hanzi{color:var(--green-dark);text-underline-offset:4px;text-decoration:underline}.word-frequency-page .word-button:focus-visible{outline-offset:-4px}.word-frequency-page .word-rank{color:var(--muted);font-variant-numeric:tabular-nums;flex:0 0 14px;font-size:11px}.word-frequency-page .word-label{flex-direction:column;gap:2px;min-width:0;display:flex}.word-frequency-page .hanzi{overflow-wrap:anywhere;font-size:20px;font-weight:550;line-height:1.3}.word-frequency-page .pinyin{color:#466858;overflow-wrap:anywhere;font-size:13px;font-weight:500;line-height:1.4}.word-frequency-page .selected .hanzi{color:var(--green-dark)}.word-frequency-page .meaning-cell{color:var(--muted);overflow-wrap:anywhere;font-size:14px;line-height:1.45}.word-frequency-page .meaning-cell>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.word-frequency-page .count-pill{color:var(--green-dark);font-variant-numeric:tabular-nums;font-size:14px;font-weight:650}.word-frequency-page .count-pill span{padding-left:2px;font-size:12px;font-weight:450}.word-frequency-page .show-more{border:0;border-bottom:1px solid var(--border);width:100%;min-height:44px;color:var(--green-dark);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;font-size:14px;font-weight:600;display:flex}.word-frequency-page .show-more:hover{background:#f6faf8}.word-frequency-page .show-more span{color:var(--muted);font-size:12px;font-weight:500}.word-frequency-page .word-detail{background:#f8fbfa;border:1px solid #d5e5de;border-radius:6px;margin:16px;padding:17px}.word-frequency-page .detail-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:9px;display:flex}.word-frequency-page .detail-heading h3{color:var(--green-dark);font-size:26px;font-weight:600}.word-frequency-page .definitions{gap:10px;list-style:none;display:grid}.word-frequency-page .definitions li{align-items:baseline;gap:14px;display:flex}.word-frequency-page .entry-label{flex:0 0 90px}.word-frequency-page .entry-label .pinyin{font-size:14px}.word-frequency-page .traditional{color:var(--muted);margin-top:3px;font-size:14px;display:block}.word-frequency-page .definitions p{color:#3c5549;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.word-frequency-page .detail-status{color:var(--muted);margin-top:8px;font-size:12px}.word-frequency-page .context-header{color:var(--muted);border-top:1px solid #dae7e0;margin-top:14px;padding-top:12px;font-size:13px;font-weight:600}.word-frequency-page .context-sentence{color:#354c43;overflow-wrap:anywhere;margin-top:7px;font-size:18px;line-height:1.8}.word-frequency-page .context-sentence mark{color:#164e3f;background:#d8ece2;border-radius:2px;padding-block:1px}.word-frequency-page .word-detail .text-button{margin-top:3px;font-size:13px}.word-frequency-page .omitted-note,.word-frequency-page .export-notice{margin:0 18px 14px;font-size:13px}.word-frequency-page .omitted-note{color:var(--muted)}.word-frequency-page .export-notice{color:var(--green-dark)}.word-frequency-page .export-notice:empty{display:none}.word-frequency-page .empty-results{text-align:center;padding:28px 18px}.word-frequency-page .empty-results h3{margin-bottom:6px;font-size:16px}.word-frequency-page .empty-results p{color:var(--muted);font-size:14px}.word-frequency-page .empty-results button{margin-top:14px}.word-frequency-page .reader-next{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:5px 18px;font-size:13px;display:flex}.word-frequency-page .reader-next .text-button{white-space:nowrap}.word-frequency-page .reader-next .icon{width:16px;height:16px}.word-frequency-page .worked-example{border-top:1px solid var(--border);max-width:780px;margin-top:32px;padding-top:24px}.word-frequency-page .worked-example h2{letter-spacing:-.3px;font-size:22px;font-weight:700;line-height:1.35}.word-frequency-page .worked-example>p{color:var(--muted);margin-top:12px}.word-frequency-page .worked-example>.example-eyebrow{color:var(--green-dark);margin:0 0 6px;font-size:12px;font-weight:650}.word-frequency-page .example-word-table{border-collapse:collapse;table-layout:fixed;width:100%;margin-block:18px}.word-frequency-page .example-word-table th,.word-frequency-page .example-word-table td{border-bottom:1px solid var(--border);text-align:left;overflow-wrap:anywhere;padding:12px 10px}.word-frequency-page .example-word-table thead th{color:var(--muted);font-size:12px;font-weight:600}.word-frequency-page .example-word-table th:first-child{width:40%;padding-left:0}.word-frequency-page .example-word-table tbody th{font-weight:500}.word-frequency-page .example-word-table td{color:var(--muted);font-size:14px}.word-frequency-page .example-word-table :is(th,td):last-child{text-align:right;width:24%;padding-right:0}.word-frequency-page .example-word-table td:last-child{color:var(--green-dark);font-variant-numeric:tabular-nums;font-weight:650}.word-frequency-page .example-guide-link{color:var(--green-dark);text-underline-offset:3px;padding-block:6px;font-size:14px;font-weight:600;line-height:1.6;text-decoration:underline;display:inline-block}.word-frequency-page .tool-notes{border-top:1px solid var(--border);margin-top:20px}.word-frequency-page .tool-notes summary{width:fit-content;color:var(--muted);cursor:pointer;padding-block:13px;font-size:14px}.word-frequency-page .tool-notes>div{max-width:780px;color:var(--muted);padding-bottom:16px;font-size:14px}.word-frequency-page .site-footer{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;padding-block:16px 24px;font-size:12px;display:flex}.word-frequency-page .site-footer a{color:var(--green-dark)}.word-frequency-page .anki-dialog{border:1px solid var(--border-strong);width:min(540px,100% - 24px);max-height:calc(100dvh - 32px);color:var(--text);background:#fff;border-radius:8px;padding:0;overflow:auto;box-shadow:0 16px 65px #082b5340}.word-frequency-page .anki-dialog::backdrop{background:#08213b99}.word-frequency-page .dialog-content{padding:26px;position:relative}.word-frequency-page .dialog-close{border:1px solid var(--border);width:38px;height:38px;color:var(--muted);background:#fff;border-radius:5px;place-items:center;display:grid;position:absolute;top:14px;right:14px}.word-frequency-page .dialog-content h2{letter-spacing:-.4px;margin-bottom:10px;font-size:24px}.word-frequency-page .dialog-content>p{color:var(--muted);font-size:15px}.word-frequency-page .dialog-content .primary-button{justify-content:space-between;width:100%;margin-top:22px;display:flex}.word-frequency-page .anki-dialog{width:min(540px,100% - 24px)}.word-frequency-page .anki-dialog h2{padding-right:36px}.word-frequency-page .anki-dialog #anki-summary{font-size:13px}.word-frequency-page .anki-select-all{min-height:44px;color:var(--muted);align-items:center;gap:10px;margin-top:16px;font-size:14px;display:flex}.word-frequency-page .anki-select-all>span{font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.word-frequency-page .anki-dialog input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none;margin:0}.word-frequency-page .anki-word-list{border-block:1px solid var(--border);overscroll-behavior:contain;max-height:min(38dvh,300px);overflow:auto}.word-frequency-page .anki-word-choice{cursor:pointer;align-items:center;gap:12px;min-height:62px;padding:10px 4px;display:flex}.word-frequency-page .anki-word-label{flex-direction:column;flex:0 0 100px;gap:3px;min-width:0;display:flex}.word-frequency-page .anki-word-label>[lang]{overflow-wrap:anywhere;font-size:18px}.word-frequency-page .anki-word-meaning{-webkit-line-clamp:2;color:var(--muted);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.word-frequency-page .dialog-content .anki-import-help{color:var(--muted);margin-top:14px;font-size:12px}.word-frequency-page .anki-import-help a{color:var(--green-dark);text-underline-offset:3px;white-space:nowrap;text-decoration:underline}@media (width>=1000px) and (height>=700px){.word-frequency-page .input-panel{position:sticky;top:44px}}@media (width<=1000px){.word-frequency-page .page-width{width:calc(100% - 32px)}.word-frequency-page .tool-grid{gap:16px}.word-frequency-page .word-button{gap:7px}.word-frequency-page .definitions li{display:block}.word-frequency-page .entry-label{margin-bottom:4px}.word-frequency-page .traditional{margin-left:10px;display:inline}}@media (width<=760px){.word-frequency-page .page-width{width:calc(100% - 24px)}.word-frequency-page .site-header{gap:12px;min-height:56px}.word-frequency-page .brand{gap:7px;font-size:19px}.word-frequency-page .brand img{width:30px;height:30px}.word-frequency-page .brand-divider,.word-frequency-page .brand-subtitle{display:none}.word-frequency-page .about-link{font-size:13px}.word-frequency-page .intro{padding-block:18px}.word-frequency-page h1{font-size:28px}.word-frequency-page .lead{margin-top:6px;font-size:15px}.word-frequency-page .tool-grid{grid-template-columns:minmax(0,1fr);gap:16px}.word-frequency-page .panel-heading{min-height:54px;padding-inline:14px}.word-frequency-page .input-content{padding:14px}.word-frequency-page textarea{height:190px;padding:11px 12px;font-size:17px}.word-frequency-page .input-meta{margin-block:8px 12px}.word-frequency-page .scan-summary,.word-frequency-page .filters,.word-frequency-page .list-toolbar,.word-frequency-page .list-meta{padding-inline:14px}.word-frequency-page .word-table thead th:first-child{width:37%;padding-left:14px}.word-frequency-page .word-table thead th:nth-child(2){width:45%}.word-frequency-page .word-table thead th:last-child{width:18%}.word-frequency-page .word-table .count-column{padding-right:14px}.word-frequency-page .word-table td{padding-inline:8px}.word-frequency-page .word-button{gap:6px;padding-left:14px;padding-right:5px}.word-frequency-page .word-detail{margin:12px;padding:14px}.word-frequency-page .context-sentence{font-size:18px}.word-frequency-page .reader-next{padding-inline:14px}.word-frequency-page .tool-notes{margin-top:16px}.word-frequency-page .site-footer{padding-block:14px 20px}.word-frequency-page .dialog-content{padding:24px}}@media (width<=360px){.word-frequency-page .panel-heading h2{font-size:15px}.word-frequency-page .word-button{gap:4px;padding-left:11px}.word-frequency-page .word-rank{flex-basis:11px}.word-frequency-page .word-table thead th:first-child{padding-left:11px}.word-frequency-page .word-table thead th{padding-inline:7px}.word-frequency-page .word-table .count-column{padding-right:11px}.word-frequency-page .reader-next{gap:8px}.word-frequency-page .reader-next>span{max-width:140px}}@media (prefers-reduced-motion:reduce){.word-frequency-page .spinner{animation:none}}.word-frequency-page .header-links{align-items:center;gap:18px;display:flex}.word-frequency-page .anki-choice-row{border-bottom:1px solid var(--border);align-items:center;gap:10px;display:flex}.word-frequency-page .anki-choice-row .anki-word-choice{flex:1;min-width:0}.word-frequency-page .anki-choice-row .text-button{flex:none;font-size:12px}.word-frequency-page .anki-editor{margin-top:16px}.word-frequency-page .anki-editor label{margin-bottom:8px;font-weight:600;display:block}.word-frequency-page .anki-editor textarea{height:170px;font-size:15px;font-family:var(--font-chinese-sans)}.word-frequency-page .anki-editor p{color:var(--muted);font-size:12px}@media (width<=540px){.word-frequency-page .anki-dialog .dialog-content{padding:22px 18px}.word-frequency-page .anki-word-choice{grid-template-columns:17px minmax(0,1fr);gap:4px 10px;display:grid}.word-frequency-page .anki-word-choice>input{grid-row:1/3}.word-frequency-page .anki-word-label{grid-column:2}.word-frequency-page .anki-word-meaning{grid-column:2;font-size:12px}.word-frequency-page .anki-choice-row>.text-button{text-align:left;max-width:84px}}
