:root{--ink:#2d2730;--muted:#847d83;--paper:#f7f5f2;--white:#fff;--line:#e8e2e2;--accent:#814d66;--accent-soft:#f1e6eb;--sidebar:#29242d;--radius:15px;font-family:Inter,"Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper)}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b68b9f;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:550}h1{font-family:"Noto Serif CJK SC","Songti SC",serif;letter-spacing:1px}h2{font-size:24px}h3{font-size:17px}.muted{color:var(--muted)}.fine{font-size:12px;line-height:1.8;color:var(--muted)}.eyebrow{display:block;font-size:10px;letter-spacing:2.5px;color:var(--accent);font-weight:650;margin-bottom:18px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--sidebar);color:#eee4eb;padding:35px 22px;display:flex;flex-direction:column}.brand{display:block;font-family:"Noto Serif CJK SC",serif;font-size:34px;letter-spacing:5px;padding-left:10px}.brand span{display:block;font:9px system-ui;letter-spacing:2.1px;margin-top:9px;opacity:.55}.private-label{font-size:11px;color:#c1aebb;margin:27px 10px 24px;display:flex;gap:8px;align-items:center}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a8bb9d}.nav-caption{font-size:10px;letter-spacing:1.5px;color:#998c9d;margin:22px 12px 12px}nav a{display:flex;align-items:center;gap:13px;font-size:13px;padding:13px 13px;border-radius:9px;color:#d0c6d0;margin:4px 0}nav a span{font-size:19px;width:20px;text-align:center}nav a.active{background:#453441;color:#fff}nav a:hover{background:#3a303c}nav b{margin-left:auto;font-size:10px;background:#63505f;padding:2px 7px;border-radius:8px}.sidebar-bottom{margin-top:auto;padding:25px 12px 0;border-top:1px solid #453b47;font-size:11px}.sidebar-bottom small{display:block;color:#aa9cac;margin:8px 0 18px}.text-button{background:none;color:inherit;padding:0;font-size:12px}.workspace{margin-left:230px}.topbar{height:83px;display:flex;align-items:center;gap:24px;padding:0 44px;border-bottom:1px solid var(--line);background:#faf8f6}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#c7bdc2}.breadcrumb strong{color:#51434e;font-weight:500}.top-note{font-size:9px;letter-spacing:1.6px;color:#a79aa3;margin-left:auto}button.primary,.button.primary{background:var(--accent);color:#fff;border:1px solid var(--accent);padding:11px 18px;border-radius:8px;font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px}.primary:hover{background:#6f4058}.secondary,.button.secondary{background:#fff;color:#62535e;border:1px solid #dbd0d5;border-radius:8px;padding:10px 16px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;min-height:40px}.secondary:hover{background:#faf4f7}.danger{color:#ad4250!important}.icon-button{background:transparent;color:#82717c;font-size:25px;width:36px;height:36px;border-radius:8px}.icon-button:hover{background:var(--accent-soft)}main{padding:40px 44px;min-height:calc(100vh - 150px);max-width:1600px;margin:auto}footer{display:flex;justify-content:space-between;padding:22px 44px;border-top:1px solid var(--line);color:#ab9ea5;font-size:9px;letter-spacing:1px}footer span{letter-spacing:0}.hero{display:flex;justify-content:space-between;align-items:center;margin:2px 0 33px;gap:25px}.hero h1{font-size:36px;line-height:1.5;margin-bottom:12px}.hero p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.stats{display:flex;border:1px solid var(--line);border-radius:12px;background:#faf8f6;padding:22px 0}.stat{min-width:100px;padding:0 23px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat strong{display:block;font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1}.stat span{display:block;font-size:10px;color:var(--muted);margin-top:10px}.notice{display:flex;align-items:center;gap:13px;background:#f0ece6;border:1px solid #e6ded3;border-radius:10px;padding:13px 16px;font-size:12px;color:#80705e;line-height:1.7;margin-bottom:26px}.notice a{margin-left:auto;font-weight:600;white-space:nowrap}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:23px}.search{position:relative;flex:1;max-width:340px}.search input{margin:0;background:#fff;border-radius:9px;padding-left:36px;height:42px;font-size:12px}.search span{position:absolute;left:13px;top:10px;color:#9b8c96;font-size:20px}.toolbar select{width:auto;margin:0;font-size:12px;height:42px}.toolbar .result-count{margin-left:auto;color:var(--muted);font-size:11px}.tag-filters{display:flex;gap:7px;flex-wrap:wrap;margin:-6px 0 22px}.chip{padding:6px 11px;background:#eee9e9;color:#8b7785;border-radius:20px;font-size:10px;border:1px solid transparent}.chip.active{background:var(--accent);color:white}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:23px}.person-card{background:white;border:1px solid #eee7e9;border-radius:12px;overflow:hidden;transition:transform .18s,box-shadow .18s}.person-card:hover{transform:translateY(-3px);box-shadow:0 10px 27px #3c1b3020}.cover-wrap{position:relative;aspect-ratio:3/4;background:linear-gradient(145deg,#e7d5db,#d0bcc7);overflow:hidden}.cover-button{display:block;width:100%;height:100%;padding:0;background:none;text-align:left}.cover-button img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.person-card:hover img{transform:scale(1.025)}.cover-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 70% 20%,#f0e7df,transparent 70%),linear-gradient(150deg,#d5bfca,#a98d9f);color:#fff}.cover-placeholder b{font-family:serif;font-size:65px;font-weight:400;opacity:.7}.cover-placeholder small{font-size:9px;letter-spacing:2px;margin-top:20px;opacity:.7}.favorite-button{position:absolute;top:12px;right:12px;border:1px solid #ffffff70;background:#2f203243;color:white;border-radius:50%;width:32px;height:32px;font-size:18px;backdrop-filter:blur(5px)}.favorite-button.selected{background:#fff;color:var(--accent)}.photo-badge{position:absolute;bottom:10px;left:12px;font-size:9px;color:#fff;background:#30213070;padding:4px 7px;border-radius:5px}.card-info{padding:16px}.card-title{display:flex;align-items:center;justify-content:space-between}.card-title button{background:none;padding:0;text-align:left;color:var(--ink);font-size:15px;font-weight:600}.card-tags{height:22px;font-size:10px;color:#9b8292;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1eaee;padding-top:11px;margin-top:6px}.stars{font-size:11px;letter-spacing:1px;color:#b18a64}.counter{display:flex;align-items:center;gap:9px;font-size:11px;color:#9e8090}.counter button{width:25px;height:25px;border-radius:50%;background:#f4edf1;color:var(--accent);font-size:15px}.empty{min-height:325px;background:#fff;border:1px dashed #d9c8d3;border-radius:15px;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px}.empty-art{position:relative;width:90px;height:85px;margin:0 auto 25px}.empty-art:before,.empty-art:after{content:"";position:absolute;border:1px solid #bca2b2;background:#eee3e9;border-radius:7px;width:54px;height:69px;left:7px;top:5px;transform:rotate(-13deg)}.empty-art:after{left:29px;top:12px;transform:rotate(8deg);background:linear-gradient(135deg,#faf6f2,#d9bccd)}.empty h2{font-family:serif;font-size:22px;margin-bottom:13px}.empty p{font-size:12px;color:var(--muted);line-height:1.9;max-width:390px}.empty .actions{justify-content:center}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.panel p{font-size:12px;line-height:1.8}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.panel-head h2,.panel-head h3{margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.status{font-size:10px;padding:5px 9px;border-radius:15px;background:#f0ebe4;color:#89704e;white-space:nowrap}.status.ok{background:#e9f0e5;color:#5f7953}.status.bad{background:#f6e8e8;color:#a15b5b}.source-card{display:flex;align-items:start;gap:18px}.source-icon{width:45px;height:45px;flex-shrink:0;background:#f1e6eb;color:var(--accent);border-radius:10px;display:grid;place-items:center;font-size:24px}.source-info{flex:1;min-width:0}.source-info p{margin-bottom:8px;overflow-wrap:anywhere}.source-info h3{margin-bottom:7px}.source-meta{font-size:10px;color:var(--muted);display:flex;gap:15px;flex-wrap:wrap}.source-card .actions{margin-left:auto}.error{color:#a54a5f!important;font-size:12px;line-height:1.7}.jobs-table{width:100%;border-collapse:collapse;font-size:12px}.jobs-table th{text-align:left;color:var(--muted);font-size:10px;font-weight:400;padding:12px 10px;border-bottom:1px solid var(--line)}.jobs-table td{padding:17px 10px;border-bottom:1px solid #f2edef;line-height:1.8;vertical-align:top}.jobs-table td:last-child{max-width:380px}.settings-grid .panel{margin:0}.settings-grid h3{margin-bottom:15px}.settings-grid .span-2{grid-column:1/-1}.settings-grid code{display:block;padding:12px;border-radius:7px;background:#f7f3f5;font-size:11px;overflow-wrap:anywhere;margin-bottom:16px;user-select:all}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px!important;line-height:1.8}.check input{width:16px;height:16px;margin:3px 0 0;accent-color:var(--accent);flex-shrink:0}label{display:block;font-size:12px;color:#6a5865;margin:15px 0}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #ded3da;border-radius:7px;background:#fff;margin-top:8px;color:var(--ink);font-size:13px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#b0a2aa}dialog{border:1px solid #eee2e9;border-radius:17px;padding:28px;width:min(560px,calc(100% - 30px));max-height:90vh;box-shadow:0 20px 100px #22152140;color:var(--ink)}dialog::backdrop{background:#21152280;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between}.dialog-head .eyebrow{margin-bottom:8px}.dialog-head h2{margin-bottom:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.inset{padding:1px 15px 5px;background:#faf7f8;border-radius:9px;margin-top:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-dialog{width:min(1040px,calc(100% - 25px));padding:30px}.detail-layout{display:grid;grid-template-columns:220px 1fr;gap:30px}.detail-profile h1{font-size:27px;margin:20px 0 12px}.detail-profile .cover-wrap{border-radius:10px}.detail-profile p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.detail-profile .tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:18px}.detail-rating{display:flex;gap:3px;margin:17px 0}.detail-rating button{background:none;padding:3px;font-size:22px;color:#bd966b}.detail-count{background:#f7f1f4;padding:15px;border-radius:9px;margin:15px 0}.detail-count .counter{justify-content:space-between}.detail-count .counter b{font-size:23px;color:var(--accent)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}.photo-tile{min-width:0;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.photo-tile .photo-view{display:block;width:100%;aspect-ratio:3/4;padding:0;background:#ebe2e8}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-tools{padding:9px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.photo-tools button,.photo-tools a{font-size:10px;background:none;color:#907385;padding:3px}.photo-tools select{font-size:11px;margin:0;padding:5px}.lightbox{background:#161219;border:0;width:96vw;height:94vh;max-width:none;max-height:none;padding:40px 60px;text-align:center;overflow:hidden}.lightbox img{height:calc(100% - 35px);max-width:100%;object-fit:contain}.lightbox-close{position:absolute;right:10px;top:10px;color:#fff;background:#ffffff15}.lightbox-arrow{position:absolute;top:46%;background:#ffffff15;border-radius:25px;color:#fff;font-size:36px;width:40px;height:55px}.lightbox-arrow:first-of-type{left:10px}#prev-photo{left:10px}#next-photo{right:10px}.lightbox p{color:#ccbcca;font-size:11px;margin:12px}.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:radial-gradient(ellipse at 15% 15%,#eee0e7,transparent 60%),#f6f2ee}.login-card{padding:42px;width:420px;min-height:0;border:1px solid #e2d4dd;border-radius:18px;background:#fffaf9;box-shadow:0 20px 70px #55354510;margin:0}.login-card .brand{padding:0;margin:25px 0 35px;color:var(--accent)}.login-card h1{font-size:24px;letter-spacing:0}.login-card p{font-size:12px;line-height:1.8}.login-card .fine{text-align:center;margin:25px 0 0}.full{width:100%;margin-top:14px}#toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%);background:#382936;color:white;border:1px solid #ffffff30;border-radius:10px;padding:14px 23px;font-size:12px;box-shadow:0 5px 25px #29182530;z-index:1000;max-width:90vw}
@media(min-width:1500px){.cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
@media(max-width:1100px){.sidebar{width:195px;padding:30px 15px}.workspace{margin-left:195px}main{padding:30px}.topbar{padding:0 30px}.stat{min-width:75px;padding:0 15px}.hero h1{font-size:30px}.settings-grid{grid-template-columns:1fr}.settings-grid .span-2{grid-column:auto}.source-card{flex-wrap:wrap}.source-card .actions{margin-left:63px}.detail-layout{grid-template-columns:180px 1fr;gap:22px}}
@media(max-width:700px){.sidebar{position:sticky;top:0;width:100%;height:auto;padding:13px 17px;z-index:10;display:block}.brand{font-size:24px;padding:0;letter-spacing:3px;display:inline-block}.brand span{font-size:7px;display:inline-block;margin-left:13px;letter-spacing:1px}.private-label{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;margin-top:12px}.nav-caption,.sidebar-bottom{display:none}nav a{font-size:11px;padding:7px 9px;gap:5px;white-space:nowrap;margin:0}nav a span{font-size:15px;width:17px}nav b{font-size:9px;padding:1px 5px}.workspace{margin-left:0}.topbar{height:64px;padding:0 19px;gap:8px}.top-note{display:none}.topbar .primary{margin-left:auto;padding:8px 11px;font-size:11px;min-height:36px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 7px}main{padding:25px 18px}.hero{align-items:start;flex-direction:column;gap:20px;margin-bottom:24px}.hero h1{font-size:28px}.hero .eyebrow{margin-bottom:10px}.stats{width:100%;padding:15px 0}.stat{flex:1;text-align:center;padding:0 10px}.stat strong{font-size:26px}.stat span{margin-top:7px}.notice{font-size:11px;padding:10px 12px;gap:7px}.toolbar{flex-wrap:wrap;gap:8px}.search{max-width:none;min-width:160px}.toolbar select{max-width:130px}.toolbar .result-count{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-info{padding:11px}.card-title button{font-size:13px}.card-tags{font-size:9px}.counter{gap:6px}.counter button{width:26px;height:26px}.stars{letter-spacing:0;font-size:10px}.empty{padding:30px 18px}.empty h2{font-size:20px}.empty .actions{gap:8px}.empty .actions button{padding:9px 12px}.panel{padding:17px}.source-card .actions{margin-left:0}.source-icon{width:35px;height:35px}.source-card{gap:12px}.jobs-table{font-size:11px}.jobs-table th,.jobs-table td{padding:10px 5px}.jobs-table th:first-child,.jobs-table td:first-child{display:none}footer{padding:20px 18px;font-size:8px}footer span{display:none}.detail-dialog{padding:20px}.detail-layout{grid-template-columns:1fr}.detail-profile{display:grid;grid-template-columns:110px 1fr;gap:0 17px}.detail-profile>.cover-wrap{grid-row:1/5}.detail-profile h1{margin:0 0 10px;font-size:23px}.detail-profile>.tags{margin-bottom:5px}.detail-profile>p{grid-column:1/-1;margin-top:15px}.detail-profile>.detail-count,.detail-profile>.actions{grid-column:1/-1}.detail-rating{margin:4px 0}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lightbox{padding:45px 36px;width:100vw;height:95vh}.lightbox-arrow{width:29px;height:48px}.lightbox #prev-photo{left:3px}.lightbox #next-photo{right:3px}.login-card{padding:28px}.login-card .brand{font-size:36px}#toast{left:50%;bottom:18px}.form-row{gap:10px}.detail-dialog .dialog-head{margin-bottom:12px}}
