:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#20252b;background:#f7f8fa;font-size:14px;letter-spacing:0;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button,input{font:inherit}button,a.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;min-height:40px;padding:9px 14px;cursor:pointer;text-decoration:none;font-weight:600;white-space:nowrap}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9bc8f5;outline-offset:3px}svg{width:19px;height:19px;flex-shrink:0;stroke-width:1.8}.primary{background:#2468db;color:white}.secondary{background:white;color:#333d49;border-color:#dce0e6!important}.danger{background:#c33d45;color:white}.danger-quiet{color:#b62e3a;background:#fff0f1}.icon-button{width:38px;height:38px;min-height:38px;padding:8px;background:transparent;color:#58616d}.icon-button:hover{background:#edf0f4}.topbar{height:76px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e6eb;background:#fff}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:19px;font-weight:700}.brand-icon{width:36px;height:36px;border-radius:7px;background:#edf3ff;color:#2468db;display:grid;place-items:center}.brand-sub{font-size:14px;font-weight:400;color:#8b939e;margin-left:16px;padding-left:16px;border-left:1px solid #dce0e6}.tools{display:flex;align-items:center;gap:12px}.connection{display:flex;align-items:center;gap:7px;font-size:12px;color:#68727e;margin-right:9px}.connection>span{width:6px;height:6px;border-radius:50%;background:#32926a}main{max-width:1440px;margin:0 auto;padding:38px 5% 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:30px}.eyebrow{font-size:12px;color:#7b8591;margin:0 0 10px;font-weight:500}h1{font-size:27px;line-height:1.3;margin:0;font-weight:650}h2{font-size:20px;margin:0 0 16px;line-height:1.4}.count{font-size:15px;font-weight:500;color:#78818e;margin-left:9px;vertical-align:middle}.muted{color:#838c97;font-size:12px;margin:10px 0 0}.toolbar{min-height:61px;border-top:1px solid #e0e4e9;border-bottom:1px solid #e0e4e9;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:24px}.select-all{display:flex;align-items:center;gap:9px;color:#596371;font-size:13px;cursor:pointer}input[type=checkbox]{appearance:auto;accent-color:#2468db;width:17px;height:17px;cursor:pointer;margin:0}.sort-label{font-size:12px;color:#929aa4}.gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.tile{min-width:0;position:relative}.image-wrap{position:relative;aspect-ratio:1/1;border-radius:7px;overflow:hidden;background:#e9ecf0;border:1px solid #e0e4ea;cursor:zoom-in}.image-wrap img{width:100%;height:100%;object-fit:contain;background:#eef0f3;display:block;transition:transform .2s}.image-wrap:hover img{transform:scale(1.025)}.image-wrap .check{position:absolute;top:10px;left:10px;background:#fff;border-radius:4px;padding:5px;display:flex;box-shadow:0 1px 6px #0002;cursor:pointer}.tile.selected .image-wrap{border:2px solid #2468db}.image-meta{display:flex;justify-content:space-between;align-items:center;padding:10px 2px;gap:5px;color:#7a8490;font-size:11px}.image-meta .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-meta .icon-button{width:27px;height:27px;min-height:27px;padding:5px}.image-meta svg{width:15px;height:15px}.pagination{display:flex;justify-content:center;min-height:88px;align-items:center}footer{border-top:1px solid #e2e6eb;display:flex;justify-content:space-between;color:#9aa1ab;font-size:11px;padding:22px 0}.empty{min-height:320px;text-align:center;padding:70px 10px}.empty>svg{width:40px;height:40px;color:#b5bdc8;margin-bottom:18px}.empty h2{font-size:17px;color:#7d8793}.login-view{min-height:calc(100dvh - 76px);display:grid;place-items:center;padding:32px 24px}.login-form{width:100%;max-width:360px;padding-bottom:60px}.login-mark{width:52px;height:52px;background:#e9f0ff;color:#2468db;display:grid;place-items:center;border-radius:8px;margin-bottom:27px}.login-mark svg{width:27px;height:27px}.login-form h1{font-size:30px;margin-bottom:34px}.login-form label,dialog label{display:block;font-size:13px;color:#586370;margin:16px 0 9px}input:not([type=checkbox]){width:100%;height:44px;border:1px solid #d4dae2;border-radius:6px;background:#fff;padding:10px 12px;min-width:0}.password-field{position:relative}.password-field input{padding-right:48px}.password-field .icon-button{position:absolute;top:3px;right:4px}.error{color:#b42c3d;font-size:12px;min-height:17px;margin:10px 0 18px;overflow-wrap:anywhere}.login-form>.primary{width:100%;justify-content:space-between;padding-left:17px;padding-right:17px}.drop-overlay{position:fixed;inset:12px;z-index:100;background:#f2f6fff5;border:2px dashed #2468db;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#2468db;pointer-events:none}.drop-overlay svg{width:54px;height:54px}.drop-overlay strong{font-size:23px}.upload-panel{position:fixed;right:24px;bottom:24px;width:380px;max-width:calc(100% - 32px);background:#fff;border:1px solid #dce2e9;border-radius:8px;box-shadow:0 10px 40px #1b2b4620;z-index:15;padding:15px}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4;padding-bottom:8px}.panel-heading strong{font-size:14px}#upload-list{max-height:260px;overflow:auto}.upload-row{padding:12px 0;border-bottom:1px solid #eef1f4}.upload-label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.upload-label span:first-child{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-status{color:#77818c;flex-shrink:0}.upload-row progress{width:100%;height:4px;accent-color:#2468db;display:block;margin-top:8px}.upload-row.failed .upload-status{color:#b42c3d}#cancel-uploads{margin-top:13px;min-height:32px;font-size:12px}dialog{border:1px solid #dce2e9;border-radius:8px;padding:28px;background:#fff;color:#20252b;max-width:calc(100vw - 32px);width:420px;box-shadow:0 20px 80px #1114}dialog::backdrop{background:#131b2a9c;backdrop-filter:blur(3px)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-icon{color:#c33d45;background:#fff0f1;width:42px;height:42px;border-radius:7px;display:grid;place-items:center;margin-bottom:18px}#confirm p{color:#7b8592;font-size:13px;line-height:1.8}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;font-size:12px;color:#7c8795}.preview-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#preview{width:900px;padding:16px}#preview-image{width:100%;max-height:70dvh;object-fit:contain;display:block;background:#f0f2f5;min-height:120px}.preview-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:13px 19px;border-radius:6px;background:#242d39;color:white;box-shadow:0 6px 25px #1113;z-index:110;font-size:13px;overflow-wrap:anywhere}[hidden]{display:none!important}@media(min-width:1550px){.gallery{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:1000px){.gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}@media(max-width:720px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.topbar{height:66px;padding:0 20px}main{padding:28px 20px 0}.brand{font-size:17px}.brand-sub{margin-left:10px;padding-left:10px}.tools{gap:6px}.page-heading{padding-bottom:24px}h1{font-size:24px}.connection{display:none}.login-view{min-height:calc(100dvh - 66px)}.sort-label{display:none}}@media(max-width:480px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.toolbar{margin-bottom:18px}.image-meta{font-size:10px}.page-heading>.primary{padding:10px 12px;font-size:13px}.upload-panel{right:16px;bottom:16px}.select-all{font-size:12px}.danger-quiet{font-size:12px;padding:8px}.login-form{padding-bottom:35px}#preview{padding:12px}.brand-sub{font-size:12px}.brand-icon{width:32px;height:32px}}
