
:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#101a2b;color:#edf4ff;--background:#101a2b;--surface:#17243a;--field:#20314a;--border:#34435d;--muted:#a5b6ce;--mint:#a5f3cf;--accent:#78e0b4;font-size:14px;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:#92e7cb;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:#376b58;color:#fff}[hidden]{display:none!important}
.container{width:min(900px,calc(100% - 28px));margin:0 auto}.site-header{display:flex;align-items:center;gap:18px;padding:11px 0;border-bottom:1px solid var(--border);justify-content:space-between}.brand{display:flex;align-items:center;gap:8px;color:#edf4ff;white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{width:31px;height:31px;border-radius:9px;background:#263b52;display:grid;place-items:center;position:relative;font-size:19px;font-weight:800}.brand-spark{position:absolute;right:3px;top:1px;color:var(--accent);font-size:12px}.brand-text{font-size:18px;font-weight:750;letter-spacing:-.5px;line-height:1}.brand-dot{color:var(--accent)}.brand-text small{display:block;font-size:9px;color:var(--muted);font-weight:500;letter-spacing:0;margin-top:3px}.nav-links{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:650}.nav-links>a{padding:7px 9px;border-radius:7px;color:var(--muted);white-space:nowrap}.nav-links>a[aria-current]{background:#21483d;color:var(--mint)}.nav-links>a:hover{background:#293b56;color:#fff;text-decoration:none}.github-link{display:flex;gap:5px;align-items:center}.locale-btn,.circle-action,.swap-button{background:#293b56;color:#e2eafa;border:1px solid #405471;border-radius:8px}.locale-btn{font-size:11px;font-weight:700;padding:7px 8px}.intro{padding:15px 0 10px}.eyebrow{display:none}.intro h1,.directory-top h1{font-size:20px;line-height:1.2;font-weight:750;margin:0 0 4px;letter-spacing:-.3px}.hero-description,.directory-top p{margin:0;color:var(--muted);font-size:12px;line-height:1.4}
.search-shell{border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:10px}.lang-bar{display:flex;align-items:end;gap:8px}.lang-field{flex:1;min-width:0}.field-label{display:block;color:var(--muted);font-size:10px;font-weight:650;margin-bottom:4px}.lang-field select,.directory-filter input{width:100%;min-width:0;color:#e5f0ff;background:var(--field);border:1px solid #405471;border-radius:7px;height:34px;padding:5px 8px;font-size:13px}.swap-button{height:34px;width:35px;flex:none;display:grid;place-items:center}.swap-button svg{width:17px;height:17px}.swap-button:hover,.circle-action:hover{background:#344b6b}.query-bar{display:flex;align-items:center;gap:7px;margin-top:8px}.search-icon{width:17px;height:17px;color:var(--muted);flex:none}.query-bar input{flex:1;min-width:0;padding:7px 9px;height:37px;background:var(--field);border:1px solid #405471;border-radius:7px;color:#f8fafc;font-size:15px}.query-bar input::placeholder,.directory-filter input::placeholder{color:#91a6c0}.query-bar button{height:37px;background:var(--accent);border:0;border-radius:8px;color:#112b25;font-weight:750;font-size:13px;padding:0 13px;display:flex;align-items:center;gap:7px}.query-bar button:hover{background:#9ef1cd}.search-meta{display:flex;justify-content:space-between;gap:7px;align-items:center;margin-top:8px;color:var(--muted);font-size:10px}.examples,.coverage{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.examples button{background:#293b56;border:1px solid #405471;border-radius:6px;color:#c9d9ee;font-size:11px;padding:3px 7px}.examples button:hover{color:var(--mint)}.tiny-circle{background:var(--accent);width:6px;height:6px;border-radius:50%;flex:none}.status{color:var(--mint);font-size:12px;margin:5px 0}.status:empty{display:none}.status.error{color:#ffb1bc}.status.loading{color:var(--muted)}
#results{margin:10px 0 16px;min-height:48px;text-align:left}#empty-title{font-size:13px;margin:12px 0 3px;color:var(--muted);font-weight:650}#empty-description{font-size:12px;color:var(--muted);margin:0}.results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0}.results-head h2,.semantic-only-heading{font-size:23px;line-height:1.2;margin:2px 0;color:#f8fafc;overflow-wrap:anywhere}.result-eyebrow{display:none}.result-meta{font-size:11px;color:var(--muted)}.actions{display:flex;gap:5px;align-items:center}.circle-action{width:31px;height:31px;font-size:15px;display:grid;place-items:center}.result-summary{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0 8px}.count-pill{font-size:10px;color:#a5e7cd;background:#21483d;border:1px solid #345e55;padding:2px 7px;border-radius:6px}
.dictionary-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:5px 0;overflow:hidden}.dictionary-card>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:7px 10px}.dictionary-card>summary::-webkit-details-marker,.article-more>summary::-webkit-details-marker{display:none}.dictionary-card>summary:hover{background:#1c2b42}.source-avatar{display:grid;place-items:center;flex:none;width:27px;height:27px;background:#293b56;color:#b9cfea;border-radius:7px;font-weight:800;font-size:13px}.source-avatar[data-source=koreader],.source-avatar[data-source=oewn]{background:#203b58;color:#a9cfff}.source-avatar[data-source=freedict],.source-avatar[data-source=omw]{background:#3a3154;color:#dec8ff}.source-avatar[data-source=wikdict],.source-avatar[data-source=kaikki]{background:#21483d;color:#a5f3cf}.source-avatar[data-source=tatoeba],.source-avatar[data-source=conceptnet]{background:#493e30;color:#ffdbab}.source-title{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;flex:1;min-width:0}.source-title b{font-size:13px;font-weight:700;color:var(--mint)}.source-title small{font-size:10px;color:var(--muted)}.chevron{color:var(--muted);font-size:15px}.dictionary-card[open]>summary .chevron{transform:rotate(180deg)}.source-body{border-top:1px solid var(--border);padding:3px 10px 8px}.definition{padding:5px 0;border-bottom:1px solid var(--border);line-height:1.4;font-size:13px;overflow-wrap:anywhere}.definition:last-child{border:0}.dictionary-article,.article-rest{display:grid;gap:0;min-width:0}.article-line{display:flex;align-items:flex-start;gap:6px;padding:3px 0;border-bottom:1px solid #293b51}.article-line:last-child{border:0}.article-detail{flex:1;min-width:0}.article-number,.article-part{border-radius:5px;background:#293b56;color:#c1d3ea;font-size:10px;font-weight:650;padding:2px 5px;flex:none}.article-part{width:fit-content}.article-translation{color:var(--mint);font-weight:650;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.article-explanation,.article-raw{color:#d4e2f4;font-size:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.article-translation+.article-explanation{margin-top:2px}.article-phonetic{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:3px 0;color:var(--muted);font-size:11px}.ipa-label{font-weight:600}.ipa-variants{display:flex;gap:4px;flex-wrap:wrap}.ipa-variant{background:#20314a;border:1px solid #405471;border-radius:5px;padding:2px 5px;color:#d7e7f9;overflow-wrap:anywhere;max-width:100%}.article-more>summary,.entry-credit>summary,.directory-packages>summary{cursor:pointer;color:#92e7cb;font-size:11px;padding:4px 0;list-style:none}.article-more>summary:before,.entry-credit>summary:before,.directory-packages>summary:before{content:"›";margin-right:5px}.article-more[open]>summary:before,.entry-credit[open]>summary:before,.directory-packages[open]>summary:before{content:"⌄"}.source-footer{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;font-size:10px;color:var(--muted);padding-top:6px;overflow-wrap:anywhere}.entry-credit{font-size:10px;color:var(--muted);margin:3px 0;overflow-wrap:anywhere}.entry-credit p{margin:4px 0}.example-text{font-size:13px;color:#edf4ff}.example-translation{color:var(--mint);font-size:12px;margin-top:2px}.example-author{color:var(--muted);font-size:10px;margin-top:3px}.no-results{border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:10px}.no-results h2{font-size:14px;margin:0 0 4px}.no-results p{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.lexical-heading{font-size:11px;color:var(--muted);font-weight:650;padding:8px 0 2px}.semantic-note{color:var(--muted);font-size:11px;margin:5px 0;line-height:1.4}.lexical-subtitle{font-size:11px;color:var(--mint);font-weight:650;margin:6px 0 3px}.lexical-definitions{display:grid;gap:4px}.lexical-definition{font-size:12px;border-left:2px solid #405471;padding-left:7px;overflow-wrap:anywhere;color:#e2eafa}.lexical-tags{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.lexical-tag{font-size:11px;border-radius:5px;padding:3px 6px;background:#293b56;color:#d4e6f5;max-width:100%;overflow-wrap:anywhere}.lexical-relation{display:grid;grid-template-columns:105px 1fr;gap:6px;align-items:center;border-bottom:1px solid #293b51}.lexical-rel-name{font-size:11px;color:var(--muted)}
.source-directory{margin:15px 0}.directory-top{display:flex;gap:9px;align-items:center;justify-content:space-between;margin-bottom:8px}.directory-top>a{font-size:12px;white-space:nowrap}.directory-version{font-size:11px;color:var(--mint);margin:4px 0 8px}.directory-filter{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:0 0 8px}.directory-filter input{max-width:300px;height:32px}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:start}.source-tile{padding:9px 10px;border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0}.directory-source-head{display:flex;align-items:start;gap:7px}.directory-source-title{min-width:0}.directory-source-title h2{font-size:14px;color:#edf4ff;margin:0 0 3px;line-height:1.3}.directory-source-title p{font-size:12px;color:var(--muted);margin:0;line-height:1.35}.directory-source-meta{display:flex;flex-wrap:wrap;gap:4px 9px;margin:7px 0 3px;color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}.version-text{color:var(--mint);font-weight:650}.retained-label{color:#ffdbab;background:#493e30;border-radius:5px;padding:1px 5px}.directory-packages{border-top:1px solid var(--border);margin-top:4px}.package-list{max-height:210px;overflow:auto}.package-row{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #293b51;padding:3px 0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.package-row span:first-child{color:#edf4ff}.directory-note{font-size:11px;color:var(--muted);line-height:1.4}.footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 12px;border-top:1px solid var(--border);padding:9px 0 12px;font-size:10px;color:var(--muted)}
@media(max-width:600px){.container{width:calc(100% - 20px)}.site-header{gap:5px;flex-wrap:wrap;padding:8px 0}.nav-links{gap:2px;flex-wrap:wrap}.nav-links>a{padding:6px;font-size:11px}.brand-text{font-size:16px}.brand-mark{width:27px;height:27px}.brand-text small{display:none}.github-link{font-size:0!important}.github-link svg{width:16px;height:16px}.intro{padding:10px 0 8px}.source-grid{grid-template-columns:1fr}.search-shell{padding:8px}.search-meta{flex-wrap:wrap}.query-bar button{padding:0 9px}.query-bar button span:last-child{display:none}.source-title{gap:4px}.lexical-relation{grid-template-columns:1fr;gap:0}.directory-filter{flex-wrap:wrap}.footer{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Shared compact sections from Translator's content.css, scoped to results. */
.dictionary-result .lwc-compact-section{border-top:1px solid #30435e;padding:0;margin-top:5px;}
.dictionary-result .lwc-compact-summary{display:flex;align-items:center;gap:7px;padding:9px 2px;cursor:pointer;color:#a0efd1;font-size:12px;font-weight:700;list-style:none;user-select:none;}
.dictionary-result .lwc-compact-summary::-webkit-details-marker{display:none;}
.dictionary-result .lwc-compact-summary::before{content:'›';display:inline-block;color:#8da8c6;font-size:17px;line-height:12px;transition:transform .15s;}
.dictionary-result .lwc-item-count{font-size:10px;font-weight:700;border-radius:20px;padding:1px 6px;background:#273d53;color:#a9d9c9;}
.dictionary-result .lwc-compact-body{padding:0 2px 7px 12px;}
.dictionary-result .lwc-compact-list{display:grid;gap:9px;}
.dictionary-result .lwc-compact-item{display:grid;gap:3px;min-width:0;}
.dictionary-result .lwc-translation-list{color:#c5fbe4;line-height:1.5;overflow-wrap:anywhere;font-size:12px;}
.dictionary-result .lwc-gloss-english{font-style:italic;color:#e0e8f5;font-size:12px;}
.dictionary-result .lwc-gloss-definition,.dictionary-result .lwc-example-translated{color:#a5f3cf;font-size:12px;}
.dictionary-result .lwc-example-original{color:#edf5ff;font-size:12px;}
.dictionary-result .lwc-definition-text{color:#d5ecdf;font-size:12px;line-height:1.48;}
.dictionary-result .lwc-mini-providers{display:flex;flex-wrap:wrap;gap:4px 9px;line-height:1.35;font-size:10px;color:#8daac1;}
.dictionary-result .lwc-mini-providers a{color:#7fdfc1 !important;text-decoration:none;white-space:nowrap;}
.dictionary-result .lwc-mini-providers a:hover{text-decoration:underline;}
.dictionary-result .lwc-compact-more{margin:5px 0 0;background:transparent;color:#7be0bc;padding:2px 0;font-size:11px;border:0;text-decoration:underline;text-decoration-style:dotted;}
.dictionary-result .lwc-compact-summary{padding:7px 2px;}
.dictionary-result .lwc-compact-body{padding:0 2px 5px 10px;}
.dictionary-result .lwc-compact-list{gap:7px;}
.dictionary-result{padding:2px 0 0}
.dictionary-result .lwc-main-translation{margin:4px 0 10px;display:grid;gap:4px}
.dictionary-result .lwc-main-values{color:var(--mint);font-size:18px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.dictionary-result .lwc-compact-section{margin-top:0}
.dictionary-result .lwc-compact-summary{font-size:13px;padding:8px 2px}
.dictionary-result .lwc-compact-summary:hover{color:#c8fbe7}
.dictionary-result .lwc-compact-body{padding:0 3px 8px 15px}
.dictionary-result .lwc-compact-item{overflow-wrap:anywhere}
.dictionary-result .lwc-translation-list,.dictionary-result .lwc-definition-text,.dictionary-result .lwc-gloss-english,.dictionary-result .lwc-gloss-definition,.dictionary-result .lwc-example-original,.dictionary-result .lwc-example-translated{font-size:13px}
.dictionary-result .lwc-mini-providers a{color:var(--muted)!important;white-space:normal;overflow-wrap:anywhere}
.dictionary-result .lwc-mini-providers a:hover{color:var(--mint)!important}
.dictionary-result .lwc-dicts-credit{display:block;margin:8px 0;font-size:11px;color:var(--muted)}
.dictionary-result .lwc-raw-article{white-space:pre-wrap}

select.locale-btn{font:inherit;max-width:165px;background:#101a2b;color:#eaf3ff;cursor:pointer}select.locale-btn option{background:#101a2b;color:#eaf3ff}
