:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#303030;background:#fff;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;cursor:pointer}button,a,input{outline-offset:4px}button:disabled{cursor:wait;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #858585}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.gate{min-height:100svh;display:grid;place-items:center;padding:24px}.login-form{width:min(300px,100%);text-align:center;margin-top:-6vh}.lock-mark{width:30px;height:30px;color:#acacac;stroke-width:1.2}.login-form h1{font-size:17px;font-weight:500;margin:20px 0 28px}.password-row{display:flex;align-items:center;border:1px solid #e8e8e8;border-radius:10px;padding:5px 6px 5px 15px;transition:border-color .2s}.password-row:focus-within{border-color:#b6b6b6}.password-row input{border:0;outline:none;min-width:0;width:100%;height:38px;font-size:14px;background:transparent}.password-row button{background:#303030;color:#fff;border:0;border-radius:7px;width:35px;height:35px;display:grid;place-items:center}.password-row input::placeholder{color:#b0b0b0}#login-error{min-height:20px;font-size:12px;color:#ac4141;margin:12px 0}.workspace{height:100svh;display:flex;flex-direction:column;background:#fff}.toolbar{height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #f2f2f2;flex-shrink:0}.location,.tools{display:flex;align-items:center;gap:8px;min-width:0}.location{flex:1}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;background:transparent;border:0;border-radius:7px;color:#818181;flex-shrink:0;transition:background .16s,color .16s}.icon-button:hover{background:#f6f6f6;color:#303030}.icon-button:disabled{opacity:.28;cursor:default}.icon-button[aria-pressed=true]{background:#f2f2f2;color:#303030}nav{display:flex;align-items:center;gap:7px;overflow:auto;white-space:nowrap;scrollbar-width:none}nav button{background:transparent;border:0;padding:6px 3px;font-size:14px;color:#929292;max-width:220px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}nav button:last-child{color:#333}nav span{color:#d0d0d0;font-size:13px}.search{display:flex;align-items:center;gap:8px;margin-right:12px;color:#a9a9a9}.search svg{width:16px;height:16px}.search input{width:115px;border:0;background:none;padding:8px 0;font-size:13px;outline:none;color:#444}.search input::placeholder{color:#aaa}.drop-zone{flex:1;position:relative;padding:26px;min-height:0;overflow:auto}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:12px;align-content:start}.file{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:22px 12px 14px;min-height:156px;border-radius:10px;cursor:default;user-select:none;transition:background .16s,box-shadow .16s}.file:hover{background:#fafafa}.file.selected{background:#f3f3f3}.file.drop-target{background:#ececec;box-shadow:inset 0 0 0 1px #bcbcbc}.file-icon{width:53px;height:56px;color:#c7c7c7;stroke-width:.8;margin-bottom:15px}.file.folder .file-icon{fill:#f2f2f2;color:#cdcdcd;width:62px}.file-name{width:100%;font-size:13px;text-align:center;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;color:#454545}.file-size{font-size:11px;color:#aaa;margin-top:5px}.file-ext{position:absolute;top:50px;font-size:9px;color:#9b9b9b;font-weight:500;max-width:40px;overflow:hidden;white-space:nowrap;text-transform:uppercase}.file .more{position:absolute;right:5px;top:5px;width:27px;height:27px;opacity:0}.file:hover .more,.file:focus-within .more,.file.selected .more{opacity:1}.more svg{width:16px;height:16px}.empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:8vh;pointer-events:none}.empty>svg{width:62px;height:62px;color:#d8d8d8;stroke-width:.9}.empty p{font-size:14px;color:#aaa;margin:18px 0 6px}.text-button{background:transparent;border:0;padding:3px 0;color:#8b8b8b;font-size:12px;text-decoration:none}.text-button:hover{color:#333}.empty button{pointer-events:auto;color:#b0b0b0}.drop-overlay{position:fixed;inset:12px;background:#ffffffef;border:1px dashed #bbb;border-radius:8px;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#888;font-size:15px;pointer-events:none}.drop-overlay svg{width:36px;height:36px;stroke-width:1.2}footer{min-height:44px;padding:10px 34px;display:flex;align-items:center;gap:20px;font-size:11px;color:#aaa;flex-shrink:0}.transfer{margin-left:auto;display:flex;gap:12px;align-items:center}.notice{display:flex;align-items:center;gap:10px;min-width:0}.notice.error{color:#af4646}.notice:empty{display:none}.progress{position:fixed;left:0;right:0;top:0;height:2px;background:#f5f5f5;z-index:30}.progress span{display:block;width:0;height:100%;background:#646464;transition:width .2s}.upload-tools{position:relative}.menu{position:absolute;min-width:156px;padding:5px;background:#fff;border:1px solid #e9e9e9;box-shadow:0 7px 26px #0000000c;border-radius:9px;z-index:40;right:0;top:42px}.menu button{display:block;width:100%;text-align:left;padding:9px 13px;font-size:13px;background:transparent;border:0;border-radius:5px;white-space:nowrap}.menu button:hover{background:#f6f6f6}.menu button.danger{color:#ab5555}.context-menu{position:fixed;right:auto;top:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid #eee;border-radius:13px;padding:24px;width:min(390px,calc(100% - 32px));box-shadow:0 10px 60px #0000000c;color:#333}dialog::backdrop{background:#ffffffa8;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-top h2{font-size:15px;font-weight:500;margin:0;overflow-wrap:anywhere}.dialog-top .icon-button{width:27px;height:27px}.dialog-top svg{width:17px;height:17px}#name-input{width:100%;height:41px;padding:0 12px;border:1px solid #ddd;border-radius:7px;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.subtle-button,.primary-button{padding:8px 16px;font-size:13px;border-radius:7px;text-decoration:none;border:1px solid #e7e7e7;background:#fff;color:#555;cursor:pointer}.primary-button{background:#333;color:#fff;border-color:#333}.dialog-error{font-size:12px;color:#ab4444;min-height:16px;margin:8px 0 0}.preview-dialog{width:min(900px,calc(100% - 36px));max-height:86svh}.preview-dialog img{display:block;max-width:100%;max-height:60svh;margin:auto;object-fit:contain}.preview-dialog pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:58svh;overflow:auto;margin:0;color:#555}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:680px){.toolbar{height:65px;padding:0 14px;gap:6px}.tools{gap:2px}.search{margin-right:3px}.search input{width:65px}.search svg{display:none}.location{gap:2px}nav button{font-size:13px;max-width:100px}.icon-button{width:32px;height:34px}.drop-zone{padding:16px 8px}.file-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:4px}.file{padding:18px 8px 12px;min-height:144px}.file .more{opacity:1}footer{padding:10px 17px;gap:10px;flex-wrap:wrap}.notice{max-width:100%;font-size:11px}.transfer{max-width:100%;font-size:11px}.file-ext{top:46px}.search:focus-within input{width:85px}}
