:root{font-family:Segoe UI,PingFang SC,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f1f5f9}*{box-sizing:border-box}body{margin:0;background:#f1f5f9}a{color:inherit}.page{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem;color:#0f172a;font-family:Segoe UI,PingFang SC,system-ui,-apple-system,sans-serif}.header{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;margin-bottom:2rem;padding:2rem 2.5rem;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 10px 25px -5px #0000000a,0 8px 10px -6px #00000003}.eyebrow{font-size:1.1rem;color:#3b82f6;margin:0 0 .5rem;font-weight:600;display:flex;align-items:center;gap:.75rem}.eyebrow:before{content:"";display:block;width:6px;height:6px;background:currentColor;border-radius:50%;opacity:.6}h1{margin:0 0 .75rem;font-size:2.25rem;font-weight:800;color:#0f172a;letter-spacing:-.03em;line-height:1.1;background:linear-gradient(to right,#0f172a,#334155);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.app-title{position:relative;display:inline-block}.version-badge{position:absolute;top:0;right:0;transform:translate(110%,10%);font-size:.75rem;font-weight:700;letter-spacing:.02em;background:#eff6ff;-webkit-text-fill-color:#3b82f6;color:#3b82f6;padding:.15rem .4rem;border-radius:6px;border:1px solid #dbeafe;line-height:1;white-space:nowrap;vertical-align:middle;cursor:pointer;transition:all .2s}.version-badge:hover{background:#3b82f6;-webkit-text-fill-color:#fff;color:#fff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f640}.version-badge:focus{outline:2px solid #3b82f6;outline-offset:2px}.sub{margin:0;color:#64748b;font-size:1.05rem;line-height:1.6;max-width:540px}.actions{display:flex;align-items:center;gap:.75rem}.upload-btn{position:relative;display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1rem;border:1px dashed #94a3b8;border-radius:10px;cursor:pointer;color:#0f172a;background:#f8fafc;transition:border-color .2s ease,background .2s ease}.upload-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-btn:hover{border-color:#2563eb;background:#eef2ff}.primary{border:none;background:linear-gradient(120deg,#2563eb,#1d4ed8);color:#fff;padding:.7rem 1.4rem;border-radius:10px;font-weight:600;cursor:pointer;box-shadow:0 8px 24px #2563eb2e;transition:transform .1s ease,box-shadow .1s ease}.primary:hover{transform:translateY(-1px);box-shadow:0 10px 28px #2563eb33}.primary:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.danger{border:none;background:linear-gradient(120deg,#a6a6a7,#6b7280);color:#fff;padding:.7rem 1.4rem;border-radius:10px;font-weight:600;cursor:pointer;box-shadow:0 8px 24px #2563eb2e;transition:transform .1s ease,box-shadow .1s ease}.panels{display:grid;gap:1rem;grid-template-columns:minmax(520px,1fr) 360px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1rem;box-shadow:0 8px 30px #0f172a0a}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.75rem;gap:1rem;flex-wrap:wrap}.panel-head-left{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.panel-head h2{margin:0;font-size:1.1rem}.list-stats{display:flex;gap:.6rem;align-items:center;font-size:.88rem;color:#596675;margin-top:.3rem;line-height:1.1}.list-stats span{white-space:normal}.muted{color:#64748b;margin:.2rem 0 0}.list-body{display:flex;flex-direction:column;gap:.75rem;min-height:160px}.empty{color:#94a3b8;text-align:center;border:1px dashed #e2e8f0;padding:1rem;border-radius:12px}.drop-inline{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:10px;padding:.65rem .9rem;color:#475569;margin-bottom:.75rem}.list-actions{display:flex;gap:.5rem;margin-left:auto}.upload-btn.small{padding:.55rem .9rem}.card{display:grid;grid-template-columns:auto 64px 1fr auto;gap:.75rem;align-items:center;padding:.75rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;transition:border-color .2s ease,background-color .2s ease}.card.processing{border-color:#3b82f6;background:#eff6ff}.card.error{border-color:#ef4444;background:#fef2f2}.grab{cursor:grab;color:#94a3b8;transition:color .2s ease}.grab.disabled{cursor:not-allowed;color:#cbd5e1}.thumb-container{width:64px;height:64px;display:flex;align-items:center;justify-content:center}.thumb{width:64px;height:64px;object-fit:contain;border-radius:8px;border:1px solid #e2e8f0;background:#fff}.thumb.placeholder{display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#94a3b8;background:#f1f5f9}.thumb.placeholder.error-thumb{color:#ef4444;background:#fee2e2}.loading-spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top:2px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.site-footer{margin-top:2rem;padding:.9rem 0;color:#64748b;font-size:.92rem}.footer-inner{display:flex;gap:1rem;justify-content:center;align-items:center}.footer-link{color:#2563eb;font-weight:600;text-decoration:none}.footer-link:hover{text-decoration:underline}.meta{display:flex;flex-direction:column;gap:.2rem}.name{margin:0;font-weight:600}.info{margin:0;color:#64748b;font-size:.95rem}.info.processing{color:#3b82f6;font-weight:500}.info.error{color:#ef4444;font-weight:500}.actions{display:flex;align-items:center;gap:.5rem}.icon-btn{background:none;border:1px solid #cbd5e1;border-radius:6px;padding:.3rem;cursor:pointer;color:#64748b;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.icon-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#2563eb}.icon-btn:active{transform:scale(.95)}.link{background:none;border:none;color:#ef4444;cursor:pointer;font-weight:600}.ghost-btn{border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:10px;padding:.7rem 1.2rem;cursor:pointer;font-weight:600;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.ghost-btn:hover{border-color:#94a3b8;background:#f8fafc;color:#1e293b;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000000d}.ghost-btn:active{transform:translateY(0)}.layout-options{display:flex;flex-direction:column;gap:.5rem}.layout-row{display:flex;gap:.75rem;align-items:center;margin:.5rem 0}.layout-row input[type=number]{width:90px;padding:.35rem .5rem;border-radius:8px;border:1px solid #cbd5e1}.radio{display:flex;align-items:center;gap:.45rem;color:#0f172a}.radio.inline{display:inline-flex;margin-right:.75rem}.custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.3rem}.custom-grid input{width:80px;padding:.3rem .4rem;border-radius:8px;border:1px solid #cbd5e1}.status{margin:.5rem 0 0;color:#0f172a}.ghost{opacity:.6}.preview-backdrop{position:fixed;inset:0;background:#0f172a59;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.preview-modal{background:#fff;border-radius:14px;padding:1rem;width:min(1060px,100%);max-height:92vh;overflow:auto;box-shadow:0 20px 60px #00000026;position:relative;padding-bottom:120px;display:flex;flex-direction:column;align-items:stretch}.preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;width:100%;max-width:720px}.preview-page{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;height:calc(92vh - 220px);max-height:calc(92vh - 220px);overflow:auto;overscroll-behavior:contain;margin:0 auto;position:relative;display:flex;align-items:flex-start;justify-content:center}.preview-page.portrait{width:min(88vw,820px)}.preview-page.landscape{width:min(94vw,1000px)}.preview-grid{display:grid;gap:.75rem;width:min(90vw,780px);aspect-ratio:210 / 297;background:#fff;border:1px solid #d8e0ea;border-radius:12px;box-shadow:0 12px 36px #0f172a1f,0 2px 8px #0f172a0f}.preview-page.landscape .preview-grid{width:min(90vw,940px);aspect-ratio:297 / 210}.preview-grid.cutting-lines{gap:0}.preview-grid.cutting-lines .preview-slot{position:relative}.preview-grid.cutting-lines .preview-slot.has-right-line:after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:1px dashed #cbd5e1;z-index:10}.preview-grid.cutting-lines .preview-slot.has-bottom-line:before{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:1px dashed #cbd5e1;z-index:10}.preview-toolbar{display:none}.toolbar-btn{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:linear-gradient(180deg,#fff,#fbfdff);border:1px solid #e5e9ef;box-shadow:0 4px 12px #091e420a;cursor:pointer;color:#243447}.toolbar-btn:disabled{opacity:.45;cursor:not-allowed}.toolbar-pager{padding:4px 6px;background:transparent;color:#596675;font-size:.95rem}.toolbar-export{padding:6px 10px;border-radius:8px;background:linear-gradient(120deg,#2563eb,#1d4ed8);color:#fff;font-weight:700;box-shadow:0 8px 18px #2563eb1f}.toolbar-close{background:transparent;border:none;color:#ef4444;font-weight:700;cursor:pointer}.preview-toolbar-bottom{display:flex;justify-content:center;align-items:center;gap:20px;position:absolute;left:50%;bottom:24px;transform:translate(-50%);padding:18px 32px;background:linear-gradient(90deg,#f8fafc,#f1f5f9);border-radius:18px;box-shadow:0 4px 24px #00000014,0 1.5px 4px #0000000a;min-width:320px;max-width:90vw;width:fit-content;margin-left:auto;margin-right:auto;transition:box-shadow .2s,background .2s;z-index:100}.preview-toolbar-bottom button{margin:0 2px;border-radius:8px;border:none;background:#fff;color:#334155;font-weight:500;font-size:16px;padding:8px 18px;box-shadow:0 1px 4px #0000000a;transition:background .18s,color .18s,box-shadow .18s;cursor:pointer;outline:none;display:flex;align-items:center;gap:6px}.preview-toolbar-bottom button:active{background:#e2e8f0}.preview-toolbar-bottom button:focus{box-shadow:0 0 0 2px #60a5fa,0 1px 4px #0000000a}.preview-toolbar-bottom button:hover{background:#f1f5f9;color:#2563eb}.preview-toolbar-bottom .primary{background:linear-gradient(90deg,#2563eb,#60a5fa);color:#fff;font-weight:600;box-shadow:0 2px 8px #2563eb14}.preview-toolbar-bottom .primary:hover{background:linear-gradient(90deg,#1d4ed8,#38bdf8);color:#fff}.preview-toolbar-bottom .icon-btn{padding:8px 10px;background:transparent;color:#64748b;box-shadow:none}.preview-toolbar-bottom .icon-btn:hover{background:#e0e7ef;color:#2563eb}.preview-toolbar-bottom svg{width:22px;height:22px;vertical-align:middle}@media(max-width:720px){.preview-toolbar{display:none}.preview-modal{padding-bottom:72px}}.preview-slot{display:flex;gap:.5rem;align-items:center}.slot-frame{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden;padding:6px}.preview-pager{min-width:90px;text-align:center}.nav-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#fff;border:1px solid #e2e8f0;font-weight:700;cursor:pointer}.nav-btn:disabled{opacity:.5;cursor:not-allowed}.preview-actions-right{margin-left:.6rem;display:flex;gap:.5rem;align-items:center}.export-btn{padding:.45rem .9rem}.close-btn{padding:.45rem .6rem}.slot-border{position:absolute;inset:2px;border:1px dashed #cbd5e1;pointer-events:none}.slot-frame img{max-width:100%;max-height:100%;object-fit:contain}.slot-placeholder{color:#94a3b8}.slot-badge{position:absolute;top:6px;right:6px;background:transparent;color:#0f172a;padding:0;border-radius:6px;font-size:14px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center}.slot-badge{z-index:5;background:#fffc;padding:4px 8px;border-radius:10px;box-shadow:0 2px 6px #0000000f}.slot-frame img{z-index:1}@media(max-width:720px){.card{grid-template-columns:auto 48px 1fr;grid-template-rows:auto auto}.link{grid-column:3;justify-self:end}}.changelog-backdrop[data-v-63517a7a]{position:fixed;inset:0;background:#0f172a59;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.changelog-modal[data-v-63517a7a]{background:#fff;border-radius:14px;width:min(600px,100%);max-height:80vh;overflow:hidden;box-shadow:0 20px 60px #00000026;display:flex;flex-direction:column}.changelog-head[data-v-63517a7a]{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.changelog-head h3[data-v-63517a7a]{margin:0;font-size:1.25rem;font-weight:600;color:#0f172a}.changelog-close[data-v-63517a7a]{background:none;border:none;cursor:pointer;color:#64748b;padding:0;display:flex;align-items:center;justify-content:center;transition:color .2s}.changelog-close[data-v-63517a7a]:hover{color:#2563eb}.changelog-content[data-v-63517a7a]{overflow-y:auto;padding:1.5rem;flex:1}.changelog-entry[data-v-63517a7a]{margin-bottom:2rem}.changelog-entry[data-v-63517a7a]:last-child{margin-bottom:0}.entry-header[data-v-63517a7a]{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.entry-version[data-v-63517a7a]{font-weight:700;color:#2563eb;font-size:.95rem}.entry-date[data-v-63517a7a]{font-size:.875rem;color:#94a3b8}.entry-title[data-v-63517a7a]{margin:.5rem 0 .75rem;font-size:1rem;font-weight:600;color:#1e293b}.entry-changes[data-v-63517a7a]{margin:0;padding-left:1.5rem;color:#475569;font-size:.95rem;line-height:1.6}.entry-changes li[data-v-63517a7a]{margin-bottom:.5rem}.entry-changes li[data-v-63517a7a]:last-child{margin-bottom:0}.confirm-backdrop[data-v-9f61127e]{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:120}.confirm-modal[data-v-9f61127e]{background:#fff;border-radius:12px;width:min(520px,92%);padding:16px;box-shadow:0 20px 60px #00000026}.confirm-head h3[data-v-9f61127e]{margin:0 0 8px;font-size:1.05rem}.confirm-body p[data-v-9f61127e]{margin:0 0 16px;color:#333}.confirm-actions[data-v-9f61127e]{display:flex;gap:10px;justify-content:flex-end}@media(max-width:480px){.confirm-modal[data-v-9f61127e]{width:calc(100% - 24px);border-radius:8px;padding:12px}.confirm-actions[data-v-9f61127e]{flex-direction:column-reverse}.confirm-actions .primary[data-v-9f61127e],.confirm-actions .ghost-btn[data-v-9f61127e]{width:100%}}.mobile-file-list[data-v-5ef838ae]{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#f8f9fa}.mobile-list-header[data-v-5ef838ae]{padding:12px 16px;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;position:sticky;top:0;z-index:10}.stats[data-v-5ef838ae]{font-size:.95rem;color:#333}.sub-text[data-v-5ef838ae]{color:#999;font-size:.8rem}.add-btn[data-v-5ef838ae]{background:#007bff;color:#fff;padding:6px 16px;border-radius:20px;font-size:.9rem;font-weight:500;cursor:pointer;display:inline-flex;align-items:center}.add-btn input[data-v-5ef838ae]{display:none}.list-body[data-v-5ef838ae]{flex:1;overflow-y:auto;padding:12px 12px 100px}.empty-state[data-v-5ef838ae]{text-align:center;padding:40px 0;color:#999}.empty-icon[data-v-5ef838ae]{font-size:3rem;margin-bottom:10px;opacity:.5}.mobile-card[data-v-5ef838ae]{background:#fff;border-radius:8px;padding:10px;margin-bottom:10px;display:flex;align-items:center;gap:10px;box-shadow:0 1px 3px #0000000d}.card-left[data-v-5ef838ae]{display:flex;align-items:center;gap:10px}.grab[data-v-5ef838ae]{color:#ccc;cursor:grab;padding:4px}.thumb-wrapper[data-v-5ef838ae]{width:48px;height:48px;background:#f1f1f1;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center}.thumb-wrapper img[data-v-5ef838ae]{width:100%;height:100%;object-fit:contain}.thumb-placeholder[data-v-5ef838ae]{font-size:.7rem;color:#aaa;font-weight:700}.card-content[data-v-5ef838ae]{flex:1;min-width:0}.file-name[data-v-5ef838ae]{font-size:.9rem;font-weight:500;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta[data-v-5ef838ae]{font-size:.8rem;color:#666}.file-meta.error[data-v-5ef838ae]{color:#dc143c}.card-actions[data-v-5ef838ae]{display:flex;gap:8px}.action-btn[data-v-5ef838ae]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:none;border-radius:50%;font-size:1.2rem;color:#666;cursor:pointer}.action-btn.delete[data-v-5ef838ae]{color:#ff4d4f;background:#fff1f0}.mobile-settings-panel[data-v-00241bda]{display:flex;flex-direction:column;background:#fff;border-top:1px solid #eee;box-shadow:0 -2px 10px #0000000d;transition:all .3s ease;z-index:100;max-height:80vh}.panel-handle[data-v-00241bda]{padding:12px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;background:#fff}.handle-bar[data-v-00241bda]{width:40px;height:4px;background:#ddd;border-radius:2px}.panel-summary[data-v-00241bda]{font-size:.85rem;color:#666;display:flex;gap:12px}.panel-content[data-v-00241bda]{padding:0 16px 16px;overflow-y:auto;border-bottom:1px solid #eee}.panel-head[data-v-00241bda]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-head h3[data-v-00241bda]{margin:0;font-size:1.1rem}.close-btn[data-v-00241bda]{background:none;border:none;font-size:1.5rem;padding:0;line-height:1;color:#999}.setting-group[data-v-00241bda]{margin-bottom:16px}.setting-group label[data-v-00241bda]{display:block;font-weight:500;margin-bottom:8px;font-size:.9rem}.radio-group-scroll[data-v-00241bda]{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.radio-card[data-v-00241bda]{flex:0 0 auto;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:6px}.radio-card.active[data-v-00241bda]{border-color:#007bff;color:#007bff;background-color:#f0f7ff}.row-col-inputs[data-v-00241bda]{display:flex;gap:12px}.input-wrapper[data-v-00241bda]{flex:1}.input-wrapper input[data-v-00241bda],.small-input[data-v-00241bda]{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;font-size:1rem}.inline-row[data-v-00241bda]{display:flex;justify-content:space-between;align-items:center}.inline-row label[data-v-00241bda]{margin-bottom:0}.radio-pill-group[data-v-00241bda]{display:flex;background:#f1f1f1;border-radius:6px;padding:2px}.radio-pill-group label[data-v-00241bda]{padding:6px 12px;font-size:.85rem;border-radius:4px;cursor:pointer;margin:0}.radio-pill-group label.active[data-v-00241bda]{background:#fff;box-shadow:0 1px 3px #0000001a;color:#000}.hidden[data-v-00241bda]{display:none}.final label[data-v-00241bda]{display:flex;align-items:center;gap:8px}.panel-actions[data-v-00241bda]{padding:12px 16px;background:#fff}.block[data-v-00241bda]{width:100%;display:block}.primary-btn[data-v-00241bda]{background:#007bff;color:#fff;border:none;padding:12px;border-radius:8px;font-size:1rem;font-weight:600}.primary-btn[data-v-00241bda]:disabled{background:#ccc}.ghost-btn[data-v-00241bda]{background:transparent;border:1px solid #ddd;color:#666;padding:10px;border-radius:8px;margin-top:8px}.status-msg[data-v-00241bda]{text-align:center;color:#666;font-size:.85rem;margin-top:8px}.mobile-layout[data-v-3f627745]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden;background:#f8f9fa}.mobile-header[data-v-3f627745]{background:#fff;padding:12px 16px;border-bottom:1px solid #eee;flex-shrink:0}.mobile-header h1[data-v-3f627745]{font-size:1.1rem;margin:0;color:#333}.mobile-header[data-v-3f627745]{display:flex;align-items:center;justify-content:space-between}.mobile-header-right[data-v-3f627745]{display:flex;align-items:center}.clear-btn[data-v-3f627745]{background:transparent;border:1px solid #ddd;color:#ff4d4f;padding:6px 10px;border-radius:6px;font-size:.9rem}.clear-btn[data-v-3f627745]:disabled{color:#ccc;border-color:#eee}
