:root{--bg:#f8f7f2;--ink:#263c35;--muted:#66766d;--green:#245e4f;--line:#dedfd5;--white:#fffefa;--orange:#bc6843;--radius:16px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--green);outline-offset:2px}input[type=checkbox]{accent-color:var(--green)}.wrap{max-width:1320px;margin:auto;padding:0 48px}.header{height:100px;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-icon{background:var(--green);color:var(--bg);width:38px;height:40px;border-radius:11px;font:31px Georgia;text-align:center;position:relative;padding-top:3px}.brand-icon span{font:14px sans-serif;position:absolute;right:4px;top:3px}.brand-note{font-size:11px;font-weight:400;letter-spacing:1px;color:var(--muted);border-left:1px solid var(--line);padding-left:13px;margin-left:6px}.header nav{margin-left:auto;display:flex;align-items:center;gap:25px;font-size:13px}.nav-active{font-weight:650;color:var(--green)}.button{border:1px solid transparent;padding:12px 20px;border-radius:9px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:white}.primary:hover{background:#194637}.secondary{border-color:var(--line);background:transparent}.text-button{border:0;padding:4px 0;background:none;font-size:13px}.text-button:hover{color:var(--orange)}.hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:45px;padding:65px 0 52px;min-height:465px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:8px;margin:0 0 19px}.green-dot{display:inline-block;width:7px;height:7px;background:#65916c;border-radius:50%;box-shadow:0 0 0 4px #65916c13}h1{font-size:clamp(36px,4vw,55px);letter-spacing:-1.8px;line-height:1.35;margin:0 0 21px;font-weight:650}.accent{color:var(--orange)}.serif{font-family:Georgia,"Songti SC",SimSun,serif;font-weight:400}.intro{font-size:14px;line-height:1.95;color:var(--muted);margin:0}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:27px}.explore{font-size:13px}.explore span{margin-left:10px}.hero-stats{margin-top:32px;display:flex;gap:22px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.hero-stats strong{color:var(--ink);font-size:19px;margin-right:5px;font-weight:600}.hero-art{position:relative;min-height:335px;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #d8ddce;border-radius:50%;width:340px;height:300px;transform:rotate(-32deg)}.orbit-two{transform:rotate(30deg);width:290px;height:355px}.word-paper{z-index:1;width:290px;padding:25px 26px 20px;background:#fffef8;border:1px solid #d4d8c8;box-shadow:13px 15px 0 #e9ebdf;border-radius:4px;transform:rotate(-7deg)}.paper-kicker{font-size:9px;letter-spacing:1.6px;display:flex;justify-content:space-between;color:var(--muted)}.word-paper h2{font:49px Georgia,serif;margin:29px 0 7px}.word-paper h2 span{font:12px Georgia;color:var(--muted);margin-left:8px}.paper-meaning{font-size:13px;margin:0 0 19px}.paper-line{height:1px;background:var(--line)}.paper-quote{font:21px/1.5 Georgia,serif;margin:21px 0;color:#657565}.paper-quote em{color:var(--green)}.paper-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);align-items:center}.paper-footer span{font-size:24px;color:var(--orange)}.floating-tag{position:absolute;z-index:2;border:1px solid #d2dac9;border-radius:5px;background:#edf0e2;padding:9px 14px;font:12px Georgia}.tag-top{top:19px;right:4px;transform:rotate(8deg)}.tag-bottom{bottom:-38px;left:20px;background:#f2e4d6;border-color:#e4ceba;transform:rotate(6deg)}.art-spark{position:absolute;right:9px;bottom:53px;color:var(--orange);font-size:46px}.notice{font-size:12px;line-height:1.7;background:#eeefe5;border:1px solid #e2e4d8;border-radius:8px;padding:10px 15px;color:#576751}.notice button{margin-left:12px}.notice.online{background:#e8efe7}.library{padding-top:44px;scroll-margin-top:20px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading .eyebrow{font-size:9px;margin-bottom:10px;color:var(--muted)}.section-heading h2{font-size:25px;margin:0;letter-spacing:-.8px;font-weight:600}.search-row{display:flex;gap:18px;margin-bottom:27px}.search-box{display:flex;align-items:center;gap:12px;flex:1;border:1px solid #d4d9cd;background:var(--white);padding:12px 16px;border-radius:10px}.search-box>span{font-size:25px;line-height:1;color:var(--muted)}.search-box input{min-width:0;flex:1;border:0;outline:none;background:transparent;font-size:14px;color:var(--ink)}.search-box:focus-within{outline:2px solid var(--green)}kbd{padding:2px 7px;border:1px solid var(--line);border-radius:4px;color:#899285}.sort-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.sort-label select{border:1px solid var(--line);border-radius:8px;background:var(--white);padding:14px 10px;color:var(--ink)}.collection-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:32px}.filters{border-right:1px solid var(--line);padding-right:23px}.filter-heading{display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:13px;padding:11px 0 22px}.filter-heading button{font-size:11px;color:var(--muted)}fieldset{border:0;padding:0;margin:0 0 26px;min-width:0}legend{font-weight:600;font-size:12px;padding:0 0 13px;width:100%}legend span{display:block;font-size:8px;color:#899084;letter-spacing:1.1px;margin-top:4px;font-weight:400}.check{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 0;color:#516156;cursor:pointer}.check input{margin:0;width:14px;height:14px}.check small{margin-left:auto;color:#8a9387;font-size:10px}.filter-tip{font-size:11px;line-height:1.8;color:#859080}.results-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;height:32px}.results-toolbar p{font-size:12px;color:var(--muted)}.view-switch{display:flex;border:1px solid var(--line);padding:3px;border-radius:7px;gap:3px}.view-switch button{width:31px;height:26px;border:0;background:none;color:#839080;border-radius:4px}.view-switch .selected{background:#e4e9df;color:var(--green)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-content:start}.word-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:19px;display:flex;flex-direction:column;min-height:206px;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden}.word-card:hover{border-color:#a8b9a0;box-shadow:0 5px 16px #324f3810;transform:translateY(-3px)}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.pos-badge,.tag{display:inline-block;font-size:10px;line-height:1.4;padding:4px 8px;border-radius:5px;background:#e9eee1;color:#526c4b;font-weight:500}.pos-verb{background:#e7eee4;color:#507144}.pos-noun{background:#e8ebf4;color:#596b94}.pos-phrase{background:#f5eadb;color:#997448}.pos-adjective-adverb,.pos-adjective,.pos-adverb{background:#f1e7eb;color:#90637c}.card-arrow{color:#87917f;font-size:15px}.term-button{display:block;border:0;padding:0;background:none;font:24px/1.2 Georgia,"Times New Roman",serif;text-align:left;overflow-wrap:anywhere;color:#293f33}.word-card h3{margin:19px 0 9px}.card-meaning{margin:0 0 19px;font-size:13px;color:#65715f;line-height:1.55;overflow-wrap:anywhere}.card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}.tag{background:#f1f2ec;color:#7d8874;font-size:9px;font-weight:400}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px;padding-top:11px;border-top:1px solid #eef0e7;font-size:9px;color:#8b9383}.example-marker{color:#658264}.list-mode{grid-template-columns:1fr}.list-mode .word-card{min-height:0;display:grid;grid-template-columns:100px 1.2fr 1fr 1fr;align-items:center;gap:16px;padding:16px 20px}.list-mode h3,.list-mode .card-meaning{margin:0}.list-mode .term-button{font-size:20px}.list-mode .card-bottom{display:none}.list-mode .card-tags{margin:0}.list-mode .card-arrow{display:none}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:26px 0;font-size:12px;color:var(--muted)}.pagination button{padding:8px 13px;background:var(--white);border:1px solid var(--line);border-radius:7px}.empty{grid-column:1/-1;text-align:center;padding:65px 20px;border:1px dashed var(--line);border-radius:12px}.empty h3{font-size:19px}.empty p{font-size:13px;color:var(--muted)}.contribute-banner{background:#e9eddf;border:1px solid #dfe4d2;border-radius:14px;padding:31px 35px;margin:43px 0 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.contribute-banner .eyebrow{font-size:8px;margin-bottom:12px;color:#7d8b6e}.contribute-banner h2{font-weight:550;font-size:20px;margin:0 0 9px}.contribute-banner p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}footer.wrap{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:25px;padding-bottom:28px;color:#818b78;font-size:10px}footer b{color:var(--green);font-size:14px;margin-right:8px}dialog{border:1px solid var(--line);border-radius:18px;background:var(--white);color:var(--ink);padding:28px;width:min(650px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:0 24px 90px #122c3433}dialog::backdrop{background:#21362c66;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.dialog-head h2{margin:0;font-size:22px}.dialog-head .eyebrow{margin:0}.close{font-size:27px;border:0;background:none;line-height:1;padding:3px 7px}.dialog-head~p{font-size:14px;color:var(--muted);line-height:1.9}form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin:14px 0}form input,form textarea,form select{width:100%;border:1px solid var(--line);background:#fffef9;border-radius:7px;padding:10px 12px;color:var(--ink);font-size:14px}form small{font-size:11px;font-weight:400;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-note{font-size:12px;line-height:1.8;color:var(--muted)}.form-actions{display:flex;justify-content:end;gap:10px}.error{color:#aa3c32;font-size:13px;line-height:1.6}.detail-term{font:38px Georgia,serif;overflow-wrap:anywhere;margin:20px 0 10px}.detail-meaning{font-size:18px;line-height:1.6;overflow-wrap:anywhere}.detail-tags{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.detail-example{padding:20px;border-left:3px solid #9dae88;background:#eff1e8;font:17px/1.8 Georgia,serif;margin:22px 0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-source{font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.detail-source a{color:var(--green);text-decoration:underline}.detail-author{border-top:1px solid var(--line);padding-top:15px;margin-top:24px;font-size:11px;color:var(--muted)}.detail-actions{display:flex;gap:12px;margin-top:22px}.danger{color:#a04234;border:1px solid #dec0b6;background:transparent}.github{background:#263730;color:white;width:100%;margin-top:14px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;max-width:calc(100% - 30px);padding:14px 25px;background:#263f32;color:#fff;border-radius:9px;box-shadow:0 4px 20px #0002;font-size:13px}.skip{position:fixed;left:15px;top:-70px;z-index:20;background:var(--green);color:#fff;padding:12px}.skip:focus{top:12px}[hidden]{display:none!important}
@media(min-width:1450px){.hero{padding-top:80px;padding-bottom:65px}}
@media(max-width:1100px){.wrap{padding-left:28px;padding-right:28px}.brand-note{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.list-mode{grid-template-columns:1fr}.list-mode .word-card{grid-template-columns:80px 1fr 1fr}.list-mode .card-tags{display:none}.collection-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}.hero-art{transform:scale(.9)}.hero{gap:15px}}
@media(max-width:740px){.header{height:80px;gap:16px}.header nav{gap:15px}.header nav a:first-child,.header nav button{display:none}.header .button{padding:10px;font-size:12px}.brand{font-size:21px}.wrap{padding-left:20px;padding-right:20px}.hero{grid-template-columns:1fr;padding:38px 0 30px}.hero-art{display:none}h1{font-size:43px}.intro{font-size:13px}.hero-stats{gap:18px}.section-heading h2{font-size:21px}.section-heading .text-button{font-size:11px}.search-row{flex-direction:column;gap:12px}.sort-label{justify-content:flex-end}.sort-label select{padding:8px}.collection-layout{grid-template-columns:1fr;gap:16px}.filters{border-right:0;border-bottom:1px solid var(--line);padding-right:0}.filter-heading{padding:0 0 12px}.filters fieldset{margin-bottom:14px}.filters legend{font-size:11px;padding-bottom:6px}.filters legend span{display:none}#pos-filters,#domain-filters{display:flex;flex-wrap:wrap;gap:4px 14px}.check{font-size:11px}.check small{margin-left:1px}.filters fieldset:last-of-type{display:flex;gap:20px}.filter-tip{display:none}.cards{gap:10px}.word-card{padding:15px;min-height:198px}.term-button{font-size:22px}.card-bottom{font-size:8px}.section-heading{gap:10px}.contribute-banner{align-items:start;flex-direction:column;padding:24px;margin-top:22px}.contribute-banner h2{font-size:18px}footer.wrap{flex-wrap:wrap;font-size:10px}footer>span:last-child{display:none}.form-grid{grid-template-columns:1fr;gap:0}.list-mode .word-card{grid-template-columns:70px 1fr;gap:10px}.list-mode .card-meaning{grid-column:2}.list-mode .term-button{font-size:20px}dialog{padding:21px}.card-tags .tag{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.card-example{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.card-example p{font:14px/1.65 Georgia,serif;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.card-example span{font-size:10px;color:var(--green)}.list-mode .card-example{grid-column:1/-1;margin:0}.citation-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;background:#eff1e8;padding:16px;border-radius:8px}.citation-meta div:last-child{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;min-width:0}.citation-meta div:last-child dt{flex-shrink:0;margin:0;white-space:nowrap;line-height:1.7}.citation-meta div:last-child dd{min-width:0}.citation-meta dt{color:var(--muted);margin-bottom:4px}.citation-meta dd{margin:0;line-height:1.7;overflow-wrap:anywhere}@media(max-width:740px){.citation-meta{grid-template-columns:1fr}}

.example-kind-note { color: var(--muted, #68776c); font-size: .82rem; font-weight: 600; margin: 1rem 0 -.5rem; }

.example-target{color:#9b432c;font-weight:700;background:transparent}
.detail-example .example-source-note{font:12px/1.7 "Segoe UI","Microsoft YaHei",sans-serif;color:var(--muted)}
.brand-tagline{margin-left:6px;padding-left:12px;border-left:1px solid var(--line);font-size:11px;font-weight:400;letter-spacing:0;line-height:1.5;color:var(--muted);white-space:nowrap}
@media(max-width:740px){.brand-tagline{max-width:72px;margin-left:0;padding-left:8px;font-size:9px;white-space:normal}}

.card-top{justify-content:flex-end}
.list-mode .card-top{display:none}
.list-mode .word-card{grid-template-columns:1.2fr 1fr 1fr}
.list-mode .card-bottom{display:flex;grid-column:1/-1;margin-top:0}
@media(max-width:740px){.list-mode .word-card{grid-template-columns:1fr 1fr}.list-mode .card-meaning{grid-column:auto}}

.card-bottom{flex-wrap:wrap;margin-top:auto;padding-top:12px;row-gap:8px}
.card-bottom .card-tags{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0;min-width:0}
.card-bottom .pos-badge,.card-bottom .tag{font-size:9px;line-height:1.4;padding:3px 6px}
.card-author{margin-left:auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.card-example{margin-bottom:14px}
.list-mode .word-card{grid-template-columns:1.2fr 1fr}
.list-mode .card-bottom{margin-top:0}
.word-card h3{margin-top:0}
.word-card{position:relative}
.word-card h3{padding-right:38px}
.word-card .term-button{cursor:default}
.card-toggle{display:inline-grid;place-items:center;flex-shrink:0;width:34px;height:34px;padding:7px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--green);transition:background .15s,border-color .15s}
.card-toggle:hover{background:#e8eee2;border-color:#9aaf91}
.card-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card-expand{position:absolute;top:12px;right:12px}
.example-block{margin:22px 0;border:1px solid #d9e1ce;border-left:3px solid #9dae88;border-radius:8px;background:#eff1e8;overflow:hidden}
.example-block h3{display:flex;align-items:center;gap:10px;margin:0;padding:12px 18px;border-bottom:1px solid #d9e1ce;color:var(--green);font-size:13px;font-weight:650}
.example-block-note{font-size:11px;font-weight:400;color:var(--muted)}
.example-block .detail-example{margin:0;padding:16px 18px;border:0;background:transparent}
#entry-dialog{width:min(820px,calc(100% - 28px))}
.detail-footer{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:24px;padding-top:15px;border-top:1px solid var(--line)}
.detail-footer .detail-source{margin:0;flex-shrink:0}
.detail-footer .detail-author{margin:0 0 0 auto;padding:0;border:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0}
.detail-heading .detail-term{flex:0 1 auto;min-width:0;max-width:48%;margin:0}
.detail-heading-meta{display:flex;flex:1;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;min-width:0;text-align:right}
.detail-heading-meta .detail-meaning{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:5px 8px;margin:0;font-size:16px}
.detail-heading-meta .detail-tags{justify-content:flex-end;flex-wrap:wrap;margin:0;gap:5px;min-width:0}
@media(max-width:540px){.detail-heading{flex-wrap:wrap;gap:12px 14px}.detail-heading .detail-term{flex:0 0 auto;font-size:28px;max-width:100%;overflow-wrap:anywhere}.detail-heading-meta{flex:1 1 120px}.detail-heading-meta .detail-meaning{font-size:14px}}
.citation-meta{grid-template-columns:minmax(0,1fr);column-gap:20px}
.citation-meta .citation-venue,.citation-meta .citation-date{display:flex;align-items:baseline;gap:8px;min-width:0}
.citation-meta .citation-venue dt,.citation-meta .citation-date dt{flex-shrink:0;margin:0;white-space:nowrap;line-height:1.7}
.citation-meta .citation-venue dd{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.citation-meta .citation-date{grid-column:1/-1;justify-self:start;white-space:nowrap}
.citation-meta .citation-date dd{white-space:nowrap}
@media(max-width:540px){.citation-meta{grid-template-columns:minmax(0,1fr)}.citation-meta .citation-date{justify-self:start}}
.card-meaning{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px}
.card-pos{flex-shrink:0;font:italic 12px/1.5 Georgia,"Times New Roman",serif;color:var(--muted);white-space:nowrap}
.search-row{flex-direction:row;align-items:center;max-width:900px;margin-left:auto;margin-right:auto}
.search-box{min-width:0;max-width:640px;min-height:56px}
#random-entry{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;white-space:nowrap;min-height:56px;padding:10px 18px;border:1px solid var(--green);border-radius:12px;background:var(--green);color:#fff9ee;font-size:13px;font-weight:600;box-shadow:0 4px 0 #dce3d4;transition:background .18s,transform .18s,box-shadow .18s}
#random-entry:hover{background:#194637;transform:translateY(-2px);box-shadow:0 6px 0 #dce3d4}
#random-entry:active{transform:translateY(1px);box-shadow:0 2px 0 #dce3d4}
.random-symbol{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e6d2a875;border-radius:8px;background:#ffffff0c;color:#e9c895;font-size:22px;font-weight:400;transform:rotate(-8deg)}
.random-arrow{margin-left:3px;color:#dfcba8;font-size:18px}
.results-toolbar{height:auto;min-height:38px;gap:12px}
.results-toolbar>p{margin-right:auto}
.results-toolbar .sort-label select{padding:7px 8px}
@media(max-width:740px){.search-row{gap:10px}#random-entry{font-size:11px;padding:10px;gap:7px;min-height:50px}.random-symbol{width:25px;height:25px;font-size:19px}.random-arrow{display:none}.search-box{padding:10px;gap:6px;min-height:50px}.search-box kbd{display:none}.results-toolbar{flex-wrap:wrap;gap:8px}.results-toolbar .sort-label{gap:5px}}
@media(max-width:740px){.header{height:auto;min-height:80px;flex-wrap:wrap;padding-top:18px;padding-bottom:14px;gap:14px}.header #auth-button{margin-left:auto}.header nav{order:1;width:100%;margin-left:0;gap:18px}.header nav #add-entry,.header nav #my-contributions{display:inline-flex}.header nav>a{margin-left:auto}}

.editor-taxonomy{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:20px;align-items:start}
.editor-domain-field{border:0;padding:0;margin:14px 0;min-width:0}
.editor-domain-field legend{font-size:12px;font-weight:600;margin-bottom:10px;padding:0}
.editor-domains{display:flex;flex-wrap:wrap;gap:10px 14px}
.editor-domains label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;font-weight:400;cursor:pointer}
.editor-domains input{width:15px;height:15px;margin:0;accent-color:var(--green)}

.term-feedback{font-size:12px;line-height:1.6;margin:-5px 0 6px;color:var(--muted)}
.term-feedback.error{color:#aa3c32}
.term-existing{font-size:12px;padding:0 0 8px;color:var(--green)}
#editor input[aria-invalid="true"]{border-color:#aa3c32}

.search-row #add-entry{flex-shrink:0;min-height:56px;white-space:nowrap}
@media(max-width:740px){.search-row{display:grid;grid-template-columns:auto minmax(0,1fr)}.search-row #add-entry{min-height:50px;padding:10px 12px}.search-row #random-entry{grid-column:2;justify-self:end}}

.results-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-right:auto;min-width:0}
.results-summary p{margin:0}
#return-home{font-size:12px;color:var(--green);white-space:nowrap;padding:4px 0}
#return-home:hover{text-decoration:underline}

.hero-stats{align-items:center;flex-wrap:nowrap;gap:12px}
.hero-stats #add-entry,.hero-stats #random-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 14px;border:1px solid;border-radius:10px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;flex-shrink:0;box-shadow:none;transform:none}
.hero-stats #add-entry{background:#e9eee4;border-color:#d2ddca;color:#50684b}
.hero-stats #random-entry{background:#f4e9dd;border-color:#e5d4c0;color:#886344}


.hero-stats #random-entry .random-symbol{display:inline;width:auto;height:auto;border:0;border-radius:0;background:none;color:inherit;font-size:17px;line-height:1;transform:none}
.hero-stats #add-entry:hover{background:#dfe8d9;box-shadow:none;transform:none}
.hero-stats #random-entry:hover{background:#eedfcd;box-shadow:none;transform:none}
.hero-stats #random-entry:active{background:#e8d6bf;box-shadow:none;transform:none}
.search-row .search-box{max-width:none}
@media(max-width:740px){.hero-stats{gap:8px}.hero-stats #add-entry,.hero-stats #random-entry{min-height:42px;padding:9px 10px;font-size:12px;gap:5px}.search-row{display:flex}}

.hero-stats #add-entry,.hero-stats #random-entry{box-shadow:inset 0 1px 0 #ffffffcc,0 3px 0 var(--button-edge),0 5px 9px #35453212;transition:background .18s,transform .18s,box-shadow .18s}
.hero-stats #add-entry{--button-edge:#c7d3be;background:linear-gradient(#f0f4ec,#e4ebde)}
.hero-stats #random-entry{--button-edge:#dfcbb4;background:linear-gradient(#faf0e5,#f0e2d2)}
.hero-stats #add-entry:hover,.hero-stats #random-entry:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffffcc,0 4px 0 var(--button-edge),0 6px 10px #35453216}
.hero-stats #add-entry:active,.hero-stats #random-entry:active{transform:translateY(2px);box-shadow:inset 0 1px 2px #35453212,0 1px 0 var(--button-edge)}

#hero-title-line{display:inline-block}
.hero-stats{width:var(--hero-title-width,100%);max-width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-stats #add-entry,.hero-stats #random-entry{width:100%;min-width:0}
.hero-stats #random-entry .random-symbol{display:inline}

footer.wrap{align-items:center;flex-wrap:nowrap}footer.wrap>span{min-width:0}footer.wrap .footer-github{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin-left:auto;border-radius:9px;color:var(--muted)}.footer-github:hover{color:var(--green);background:#e9eee4}.footer-github svg{display:block}

#users-dialog{width:min(850px,calc(100% - 24px));max-width:850px}
.users-table-wrap{overflow-x:auto;margin-bottom:20px}
.users-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.users-table th,.users-table td{padding:12px 10px;border-bottom:1px solid #dce2d6;vertical-align:top}
.users-table th{color:var(--muted);white-space:nowrap}
.users-table td:first-child{overflow-wrap:anywhere;min-width:150px}
.users-table small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.users-table button{white-space:nowrap}
#contribution-context{color:var(--green);font-weight:600;overflow-wrap:anywhere}
#back-to-users{margin:0 0 16px}
@media(max-width:740px){.header{flex-wrap:wrap;gap:12px}.header nav{display:flex;gap:12px}.users-table th,.users-table td{padding:10px 6px}}
