
    :root{--ink:#202124;--muted:#8a8d93;--line:#ececef;--bg:#f6f6f7;--accent:#ff7657;--radius:14px;--sans:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
    header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.head{height:68px;display:flex;align-items:center;gap:38px}.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.25rem;white-space:nowrap}.logo-mark{width:31px;height:31px;border-radius:10px;background:#1d1d1f;display:grid;place-items:center}.logo-mark::before{content:"";width:13px;height:13px;border:3px solid white;border-radius:50%;box-shadow:inset 0 0 0 3px #ff7657}.nav{display:flex;gap:30px;align-items:center}.nav a{text-decoration:none;color:#5b5d62;font-size:.92rem}.nav a:first-child{color:#111;font-weight:700}.tools{margin-left:auto;display:flex;align-items:center;gap:12px}.search{width:230px;height:38px;display:flex;align-items:center;background:#f3f3f5;border:1px solid transparent;border-radius:10px;padding:0 12px;transition:.2s}.search:focus-within{background:#fff;border-color:#c9c9ce}.search svg{flex:none;color:#92959a}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent;padding-left:8px;font-size:.88rem}.login{border:0;background:#1f2022;color:#fff;border-radius:10px;height:38px;padding:0 18px}
    .categories{background:#fff;border-bottom:1px solid var(--line)}.category-row{min-height:58px;display:flex;align-items:center;gap:10px;overflow:auto;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.cat{flex:none;border:0;background:transparent;color:#6f7278;padding:9px 16px;border-radius:9px;font-size:.9rem}.cat.active{background:#1f2022;color:#fff;font-weight:600}
    main{padding:28px 0 70px}.featured{display:grid;grid-template-columns:1.65fr 1fr;gap:16px}.lead,.side-card{position:relative;overflow:hidden;border-radius:var(--radius);background:#ddd}.lead{height:390px}.lead img,.side-card img,.card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}.lead:hover img,.side-card:hover img,.card:hover img{transform:scale(1.035)}.lead::after,.side-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.64),transparent 58%)}.lead-copy{position:absolute;z-index:2;left:28px;bottom:26px;color:#fff}.tag{display:inline-block;padding:5px 9px;border-radius:6px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-size:.72rem;margin-bottom:10px}.lead h1{font-size:1.85rem;margin:0 0 8px}.lead p{margin:0;opacity:.78;font-size:.9rem}.side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.side-card{height:390px}.side-copy{position:absolute;z-index:2;left:18px;right:18px;bottom:17px;color:#fff}.side-copy h2{font-size:1.05rem;margin:0 0 5px}.side-copy p{margin:0;font-size:.75rem;opacity:.72}
    .section-head{display:flex;align-items:end;justify-content:space-between;margin:42px 0 18px}.section-head h2{font-size:1.35rem;margin:0 0 7px}.section-head p{margin:0;color:var(--muted);font-size:.85rem}.sort{border:1px solid #dedee2;background:#fff;border-radius:9px;padding:9px 13px;color:#56585d;font-size:.82rem}
    .gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 16px}.card{display:block;color:inherit;text-decoration:none}.image{height:300px;border-radius:12px;overflow:hidden;background:#e2e2e4;position:relative}.image img{object-position:center}.image .badge{position:absolute;left:10px;top:10px;background:rgba(20,20,22,.66);backdrop-filter:blur(8px);color:#fff;border-radius:6px;padding:5px 8px;font-size:.7rem}.fav{position:absolute;right:10px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.85);display:grid;place-items:center;color:#4d4f54;font-size:1rem}.card h3{font-size:.96rem;margin:12px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{display:flex;align-items:center;justify-content:space-between;color:#999ca1;font-size:.75rem}.empty{display:none;grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:60px;text-align:center;color:#888}
    .more{display:block;margin:38px auto 0;border:1px solid #dadade;background:#fff;border-radius:10px;padding:12px 28px;color:#55575c}.more:hover{border-color:#999}
    footer{background:#fff;border-top:1px solid var(--line);padding:30px 0;color:#96989d;font-size:.78rem}.foot{display:flex;justify-content:space-between;gap:24px}.foot a{color:inherit;text-decoration:none;margin-left:18px}
    @media(max-width:900px){.head{gap:16px}.nav{display:none}.search{width:190px}.featured{grid-template-columns:1fr}.lead{height:390px}.side-card{height:280px}.gallery{grid-template-columns:repeat(3,1fr)}.image{height:300px}}
    @media(max-width:650px){.wrap{width:min(100% - 24px,500px)}.head{height:auto;min-height:60px;flex-wrap:wrap;padding:12px 0;gap:12px}.logo span:last-child{font-size:1.05rem}.tools{gap:7px}.search{width:138px;height:36px}.category-row{min-height:52px}.featured{gap:10px}.lead{height:320px}.lead-copy{left:20px;bottom:19px}.lead h1{font-size:1.45rem}.side{gap:10px}.side-card{height:220px}.gallery{grid-template-columns:repeat(2,1fr);gap:20px 10px}.image{height:235px}.section-head{margin-top:32px}.sort{display:none}.foot{display:block}.foot div:last-child{margin-top:12px}.foot a{margin:0 16px 0 0}}
    [hidden]{display:none!important}a{color:inherit}.logo,.card a{text-decoration:none}.nav button{border:0;background:none;color:#5b5d62;font-size:.92rem;padding:0}.nav button.selected{color:#d44c31;font-weight:700}.muted{color:#696d75;line-height:1.65}.small{font-size:.875rem}.subtle{font-size:.9rem;color:#5b5d62;text-underline-offset:4px}.saved{color:#dc4b2c}.empty.show{display:block}.card h3{white-space:normal;line-height:1.5}.meta{font-size:.875rem;color:#6c7077;gap:8px}.tag,.image .badge,.side-copy p{font-size:.8125rem}.section-head p{font-size:.875rem;color:#6c7077}footer{font-size:.875rem}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 18px;min-height:44px;font-size:.9375rem;font-weight:600}.primary{background:#202124;border:1px solid #202124;color:white}.secondary{background:white;border:1px solid #d8d8dc;color:#333}.primary:hover:not(:disabled){background:#404044}.secondary:hover{background:#f5f5f7}button:disabled{cursor:not-allowed;opacity:.5}.full{width:100%}.text-button{border:0;background:none;padding:16px 0;color:#555;text-decoration:underline;text-underline-offset:4px;font-size:.9rem}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ed8b72;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #ffb19e;outline-offset:1px}
    dialog{border:0;border-radius:18px;padding:36px;max-width:min(480px,calc(100% - 24px));width:480px;max-height:90dvh;overflow-y:auto;box-shadow:0 24px 90px #0004}dialog::backdrop{background:#1119;backdrop-filter:blur(5px)}dialog.wide{width:900px;max-width:min(900px,calc(100% - 24px))}.close{position:sticky;float:right;top:0;margin:-16px -16px 0 12px;width:36px;height:36px;border:0;border-radius:50%;background:#eee;z-index:3;font-size:1.5rem}dialog h2{font-size:1.55rem;line-height:1.35;margin:8px 0 12px}.eyebrow{font-size:.875rem;color:#c0553c}.form{display:grid;gap:18px;margin-top:24px}.form label{display:grid;gap:8px;font-size:.9375rem;font-weight:500}.form input:not([type=checkbox]),.form textarea,.form select{width:100%;min-width:0;border:1px solid #d7d9de;border-radius:9px;padding:11px 12px;background:#fff;color:#202124;font:inherit;line-height:1.5}.form textarea{resize:vertical}.form label.check{display:flex;align-items:center;gap:10px;line-height:1.5}.check input{width:18px;height:18px;accent-color:#252525}.form-error{margin:0;color:#b33224;font-size:.9rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.plan{padding:24px;background:#f6f6f7;border-radius:12px;margin:24px 0}.plan h3{margin-top:0}.price{font-size:2rem;font-weight:750}.price small{font-size:.875rem;font-weight:400;color:#666}.plan p{font-size:.9rem;color:#666}.photo-stack{display:grid;gap:16px;margin-top:24px}.photo-stack img{display:block;width:100%;height:auto;border-radius:10px}.detail-head p{line-height:1.7;white-space:pre-line}.locked{margin-top:24px;border:1px solid #eee;border-radius:12px;overflow:hidden;display:grid;grid-template-columns:160px 1fr;background:#f8f8fa}.locked img{width:160px;height:230px;object-fit:cover}.locked>div{padding:24px;align-self:center}.locked p{font-size:.9rem;color:#666}.order{display:flex;gap:12px;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid #eee;font-size:.9rem}.order strong{margin-left:auto}details{margin-top:24px}summary{cursor:pointer;font-size:.9rem}
    #toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,10px);background:#202124;color:white;border-radius:12px;padding:14px 20px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 30px);width:max-content;font-size:.9375rem}#toast.visible{opacity:1;transform:translate(-50%,0)}.panel{background:#fff;border:1px solid #e8e8eb;border-radius:14px;padding:26px;margin-bottom:22px}.panel h2{font-size:1.2rem;margin:0 0 18px}.narrow{max-width:460px;margin:40px auto}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stats>div{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:12px;padding:22px;border:1px solid #eee}.stats strong{font-size:1.7rem}.stats span{font-size:.875rem;color:#666}.notice{padding:16px 20px;border-radius:10px;background:#fff0e8;color:#7d472e;margin-bottom:24px;line-height:1.6;font-size:.9375rem}.manage-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid #eee;padding:15px 0}.manage-row img{width:56px;height:72px;object-fit:cover;border-radius:6px}.manage-row>div{flex:1;min-width:0}.manage-row strong{font-size:.9375rem;line-height:1.5}.manage-row p{margin:5px 0 0}.manage-row button{padding:8px 12px;flex-shrink:0}.upload-status{font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}#editor{scroll-margin-top:100px}
    @media(max-width:900px){.nav{display:flex;gap:18px}.head{gap:20px}.admin-columns{grid-template-columns:1fr}}@media(max-width:650px){.nav{order:3;width:100%;gap:25px;padding:4px 0}.login{padding:0 12px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.logo{font-size:1.05rem}.tools{margin-left:auto}.head{gap:8px}.stats{gap:8px}.stats>div{padding:16px}.stats strong{font-size:1.4rem}.panel{padding:20px}.admin-columns{gap:0}.locked{grid-template-columns:1fr}.locked img{width:100%;height:240px}.locked>div{padding:20px}dialog{padding:26px}dialog h2{font-size:1.4rem}.form-row{grid-template-columns:1fr}.manage-row{gap:10px}.search{width:125px}.lead h1{line-height:1.4}}
    .lead img{object-position:center 25%}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
  
