:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f5f4ec;--paper:#fffcf5;--ink:#263c2d;--muted:#576758;--line:#dedfd2;--green:#31523b;--serif:"Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;font:15px/1.6 PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{color:var(--ink);background:var(--canvas);margin:0}h1,h2,h3,p{margin:0}button,select,textarea,input{font:inherit;color:inherit}button,select{cursor:pointer}button:disabled,select:disabled{cursor:default;opacity:.65}:is(button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible){outline-offset:3px;outline:2px solid #8e6538}a{color:inherit;text-decoration:none}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner,.shell{width:calc(100% - 72px);max-width:1248px;margin:auto}.header-inner{justify-content:space-between;align-items:center;gap:12px;min-height:74px;display:flex}.brand{font:700 22px/1 var(--serif);letter-spacing:.07em;align-items:center;gap:12px;display:inline-flex}.brand-mark{width:37px;height:37px;color:var(--green);background:#e6ebdf;border-radius:11px;place-items:center;display:grid}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:7px 15px;font-size:.91rem;font-weight:650;transition:background .16s,border-color .16s;display:inline-flex}.primary{background:var(--green);color:#fffcf2}.primary:hover:enabled{background:#213e2a}.secondary{color:#3b5840;background:#f8f8ee;border-color:#cdd7c7}.secondary:hover:enabled{background:#e8eee0;border-color:#aebfa9}.shell{padding-block:36px 72px}.hero{isolation:isolate;color:#fbf4e2;background:linear-gradient(105deg,#253c2d,#34523b 71%,#476047);border-radius:18px;justify-content:space-between;align-items:center;min-height:205px;padding:32px 45px;display:flex;position:relative;overflow:hidden}.hero:before,.hero:after{content:"";z-index:-1;border:1px solid #f4e2bb30;border-radius:48% 52% 60% 40%;width:520px;height:520px;position:absolute;bottom:-278px;right:-138px;transform:rotate(-26deg);box-shadow:0 0 0 24px #ffffff08,0 0 0 50px #ffffff07,0 0 0 79px #ffffff06,0 0 0 110px #ffffff07}.hero:after{opacity:.7;bottom:-325px;right:-15px;transform:rotate(34deg)scale(.9)}.hero h1{font:700 clamp(34px, 5vw, 58px)/1.2 var(--serif);letter-spacing:.1em}.hero p{color:#e0e6d9;margin-top:14px;font-size:1rem}.hero-seal{color:#f0d6a3;border:1px solid #e8d6af70;border-radius:50%;flex:none;place-items:center;width:77px;height:77px;margin-inline-end:14px;display:grid;box-shadow:inset 0 0 0 5px #e8d6af13}.board{grid-template-columns:267px minmax(0,1fr);align-items:start;gap:24px;margin-top:28px;display:grid}.category-panel,.directory{background:var(--paper);border:1px solid var(--line);border-radius:14px}.category-panel{padding:20px 12px 12px}.categories{gap:3px;display:grid}.categories h2{color:var(--muted);margin:0 10px 9px;font-size:.87rem;font-weight:650}.category{text-align:left;color:#46574a;background:0 0;border:0;border-radius:7px;grid-template-columns:16px 1fr 15px;align-items:center;gap:9px;width:100%;padding:10px;font-size:.89rem;line-height:1.5;display:grid}.category:hover{background:#f0f1e7}.category[aria-current]{color:#284932;background:#e6ecdf;font-weight:700}.category-dot{border:1px solid #9da99b;border-radius:50%;width:6px;height:6px;margin:auto}.category[aria-current] .category-dot{background:#75936e;border-color:#75936e}.category-chevron{color:#4d724f;visibility:hidden}.category[aria-current] .category-chevron{visibility:visible}.mobile-categories{display:none}.directory{min-height:424px;overflow:hidden}.directory-top{border-bottom:1px solid #e9e7dc;justify-content:space-between;align-items:center;gap:14px;min-height:74px;padding:15px 23px;display:flex}.directory-top h2{font:700 22px/1.45 var(--serif);overflow-wrap:anywhere}.gender-filter{background:#f1f0e6;border-radius:8px;flex:none;gap:3px;padding:4px;display:flex}.gender-filter button{color:#526053;background:0 0;border:0;border-radius:6px;min-width:38px;padding:5px 10px;font-size:.89rem}.gender-filter button:hover{background:#edece1}.gender-filter button[aria-pressed=true]{color:var(--green);background:#fffdf7;font-weight:700;box-shadow:0 1px 3px #242a1c20}.empty-state{text-align:center;align-content:center;justify-items:center;gap:10px;min-height:348px;padding:28px 16px;display:grid}.empty-icon{color:#587658;background:#eef1e6;border-radius:18px;place-items:center;width:63px;height:63px;margin-bottom:4px;display:grid}.empty-state h3{font-size:1.08rem}.empty-state p{color:var(--muted);font-size:.92rem}.empty-state .button{margin-top:6px}.groups{padding:14px 23px 23px}.group+.group{margin-top:25px}.group h3{margin-block:4px 10px;font-size:.99rem;font-weight:700}.entries{border:1px solid #e3e4d9;border-radius:10px;overflow:hidden}.entry-head,.entry{grid-template-columns:90px 44px minmax(0,1fr) 118px;align-items:center;gap:15px;padding:12px 14px;display:grid}.entry-head{color:#526453;background:#f2f2e8;padding-block:8px;font-size:.82rem;font-weight:650}.entry-head span:nth-child(2){text-align:center}.entry{border-top:1px solid #e3e4d9}.portrait-button{background:#eff0e6;border:1px solid #dce1d0;border-radius:8px;width:86px;height:100px;padding:0;position:relative;overflow:hidden}.portrait-button img{object-fit:contain;width:100%;height:100%;display:block}.portrait-expand{color:#35523b;background:#fffdf2;border-radius:5px;place-items:center;padding:3px;display:grid;position:absolute;bottom:4px;right:4px}.portrait-button:hover .portrait-expand{background:#dfe9d8}.gender{text-align:center;border-radius:6px;justify-self:center;min-width:28px;padding:3px;font-size:.86rem;font-weight:650}.female{color:#864951;background:#f5e9e7}.male{color:#3b645f;background:#e6efed}.entry-code,.full-code{overflow-wrap:anywhere;word-break:break-all;color:#52604e;background:#f5f4eb;border-radius:5px;padding:7px 8px;font:.82rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.entry-code{scrollbar-width:thin;max-height:65px;overflow:auto}.copy-button{width:100%;min-width:0;padding-inline:8px}.load-more{justify-content:center;padding-top:18px;display:flex}.list-error{padding-top:10px}.modal{background:var(--paper);color:var(--ink);border:1px solid #d9dece;border-radius:16px;width:min(510px,100% - 24px);max-height:calc(100dvh - 24px);padding:0;overflow-y:auto;box-shadow:0 20px 75px #172a1d3b}.modal::backdrop{background:#12221779}.modal-content{padding:25px;position:relative}.modal-title{font:700 25px/1.45 var(--serif);margin-bottom:16px}.icon-button{background:#eeefe4;border:0;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.icon-button:hover:enabled{background:#e4eadd}.modal-close{position:absolute;top:19px;right:19px}.publish-form{gap:13px;display:grid}.field{gap:5px;min-width:0;display:grid}.field-label{font-size:.9rem;font-weight:680}.field select,.field textarea,.mobile-categories select{background:#fffefa;border:1px solid #cfd7c6;border-radius:7px;width:100%;min-width:0;min-height:42px;padding:8px 10px}.field textarea{resize:vertical}.upload-zone{cursor:pointer;color:#405e44;background:#f1f4e9;border:1px dashed #9eae9c;border-radius:8px;justify-content:center;align-items:center;gap:14px;min-height:82px;padding:10px;display:flex}.upload-zone:hover,.upload-zone:focus-within{background:#e9efe0;border-color:#5e805c}.upload-zone input{opacity:0;width:1px;height:1px;position:absolute}.upload-zone img{object-fit:contain;border-radius:4px;max-width:75px;max-height:76px}.upload-zone span{gap:2px;display:grid}.upload-zone small{color:var(--muted);font-size:.8rem}.error-text,.empty-state .error-text{color:#92321e;font-size:.9rem}.publish-actions{justify-content:space-between;align-items:center;gap:14px;padding-top:3px;display:flex}.publish-actions p{color:var(--muted);font-size:.8rem}.portrait-modal{width:min(660px,100% - 24px)}.portrait-modal .modal-content{justify-items:center;gap:12px;display:grid}.full-portrait{object-fit:contain;border-radius:8px;max-width:100%;max-height:58dvh;margin-top:22px;display:block}.portrait-caption{text-align:center;color:var(--muted)}.full-code{-webkit-user-select:all;user-select:all;width:100%;max-height:125px;display:block;overflow:auto}.toast{opacity:0;z-index:10;pointer-events:none;color:#fffdf1;background:#294a35;border-radius:9px;padding:9px 14px;font-size:.9rem;transition:opacity .16s,transform .16s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,8px);box-shadow:0 5px 18px #20342130}.toast.visible{opacity:1;transform:translate(-50%)}@media (max-width:870px){.header-inner,.shell{width:calc(100% - 40px)}.board{grid-template-columns:218px minmax(0,1fr);gap:15px}.entry-head,.entry{grid-template-columns:72px 30px minmax(0,1fr) 105px;gap:8px;padding-inline:9px}.portrait-button{width:70px;height:86px}.directory-top,.groups{padding-inline:14px}}@media (max-width:650px){.header-inner,.shell{width:calc(100% - 28px)}.header-inner{min-height:63px}.brand{gap:8px;font-size:19px}.brand-mark{width:33px;height:33px}.header-inner .button{min-height:37px;padding-inline:10px}.shell{padding-block:18px 36px}.hero{border-radius:12px;gap:8px;min-height:153px;padding:21px 18px}.hero h1{letter-spacing:.06em}.hero p{margin-top:8px;font-size:.84rem}.hero-seal{width:49px;height:49px;margin:0}.hero-seal svg{width:23px;height:23px}.board{margin-top:14px;display:block}.category-panel{margin-bottom:14px;padding:10px 12px}.categories{display:none}.mobile-categories{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;font-size:.84rem;display:grid}.mobile-categories span{color:var(--muted)}.mobile-categories select{text-overflow:ellipsis;min-height:36px;padding:6px}.directory{min-height:350px}.directory-top{min-height:58px;padding-block:9px}.directory-top h2{font-size:17px}.gender-filter button{min-width:28px;padding-inline:6px}.empty-state{min-height:285px}.entry-head{display:none}.entry{grid-template-columns:68px minmax(0,1fr) auto;grid-template-areas:"portrait code code""portrait gender copy";align-items:center;gap:8px 10px}.entry:first-of-type{border-top:0}.portrait-button{grid-area:portrait;width:68px}.gender{grid-area:gender;justify-self:start}.entry-code{grid-area:code;min-width:0;max-height:54px}.copy-button{grid-area:copy;min-height:33px;font-size:.8rem}.modal-content{padding:19px}.publish-actions{gap:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important}}
