.c-page{min-height:100vh;background:#fff;color:#020817;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.c-page *{box-sizing:border-box}.c-container{width:100%;margin-inline:auto;padding:32px 16px}@media (min-width: 1400px){.c-container{max-width:1400px}}.c-back{display:inline-flex;align-items:center;height:40px;padding:0 16px;margin-bottom:24px;border-radius:6px;color:#020817;font-size:14px;font-weight:500;text-decoration:none}.c-back:hover{background:#f1f5f9}.c-back svg{width:16px;height:16px;margin-right:16px}.c-title{margin:0 0 32px;font-size:30px;line-height:36px;font-weight:700}.c-grid{display:grid;gap:32px}@media (min-width: 1024px){.c-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.c-sticky{position:sticky;top:32px}.c-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px #0000000d;padding:16px}.c-card h3{margin:0 0 16px;font-size:18px;line-height:28px;font-weight:600}.c-card h4{margin:0;font-size:16px;line-height:24px;font-weight:600}.c-stage{position:relative;width:100%}.c-stage canvas{position:absolute;inset:0;width:100%;height:100%;border-radius:8px}.c-slot{position:absolute}.c-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;background:transparent;border:4px dashed rgb(56 189 248 / .7);border-radius:8px;cursor:pointer;color:#0ea5e9;font:inherit;transition:background-color .15s}.c-upload:hover:not(:disabled){background:#0000001a}.c-upload:disabled{cursor:wait}.c-upload-inner{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:500;filter:drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1))}.c-upload-inner svg{width:32px;height:32px}.c-upload>svg{width:32px;height:32px}.c-slot.filled{cursor:move;touch-action:none;border-radius:8px}.c-remove{position:absolute;top:8px;right:8px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;background:#ef4444;color:#f8fafc;cursor:pointer;opacity:0;transition:opacity .15s;z-index:1}.c-remove svg{width:16px;height:16px}.c-slot.filled:hover .c-remove,.c-slot.filled:focus-within .c-remove{opacity:1}.c-slot:focus-visible{outline:2px solid #020817;outline-offset:2px}.c-help{margin-bottom:24px;font-size:14px;line-height:20px;color:#64748b}.c-help p{margin:0 0 8px}.c-help p:last-child{margin:0}.c-adjust{display:flex;flex-direction:column;gap:16px}.c-adjust-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:0;row-gap:8px}.c-adjust-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.c-nums{display:flex;gap:4px}.c-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#020817;font:inherit;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}.c-btn:hover{background:#f1f5f9}.c-btn.on{background:#0f172a;border-color:#0f172a;color:#f8fafc}.c-btn.on:hover{background:#0f172ae6}.c-btn.danger{background:#ef4444;border:0;color:#f8fafc}.c-btn.danger:hover{background:#ef4444e6}.c-btn svg{width:16px;height:16px;margin-right:16px}.c-btn:disabled{opacity:.5;cursor:not-allowed}.c-adjust-body{display:flex;gap:16px}.c-thumb{flex:none;width:96px;height:96px;border:2px solid #e2e8f0;border-radius:8px;overflow:hidden}.c-thumb img{display:block;width:100%;height:100%;object-fit:cover}.c-controls{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px}.c-field{display:flex;flex-direction:column;gap:8px}.c-field label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:8px;font-size:14px;line-height:20px;font-weight:500}.c-field label svg{width:16px;height:16px}.c-page input.c-slider{min-height:0}.c-slider{-webkit-appearance:none;appearance:none;width:100%;height:8px;margin:0;background:transparent;cursor:pointer;--pct: 0%}.c-slider::-webkit-slider-runnable-track{height:8px;border-radius:9999px;background:linear-gradient(to right,#0f172a var(--pct),#f1f5f9 var(--pct))}.c-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;margin-top:-6px;border-radius:9999px;border:2px solid #0f172a;background:#fff}.c-slider::-moz-range-track{height:8px;border-radius:9999px;background:#f1f5f9}.c-slider::-moz-range-progress{height:8px;border-radius:9999px;background:#0f172a}.c-slider::-moz-range-thumb{width:16px;height:16px;border-radius:9999px;border:2px solid #0f172a;background:#fff}.c-slider:focus-visible{outline:2px solid #020817;outline-offset:2px;border-radius:9999px}.c-confirm{display:inline-flex;vertical-align:top;align-items:center;justify-content:center;width:100%;height:44px;margin-top:24px;padding:0 32px;border:0;border-radius:6px;background:#0f172a;color:#f8fafc;font:inherit;font-size:14px;font-weight:500;cursor:pointer}.c-confirm:hover:not(:disabled){background:#0f172ae6}.c-confirm:disabled{opacity:.5;cursor:not-allowed}.c-confirm svg{width:16px;height:16px;margin-right:8px}.c-spin{animation:c-spin 1s linear infinite}@keyframes c-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.c-spin{animation-duration:3s}}.c-toasts{position:fixed;right:16px;bottom:16px;z-index:50;display:flex;flex-direction:column;gap:8px;max-width:calc(100vw - 32px);pointer-events:none}.c-toast{display:flex;align-items:center;gap:10px;min-width:240px;max-width:360px;padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;font-size:14px;line-height:20px;pointer-events:auto}.c-toast svg{flex:none;width:18px;height:18px}.c-toast.ok svg{color:#16a34a}.c-toast.bad svg{color:#dc2626}.c-center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center}.c-center h1{margin:0 0 16px;font-size:24px;line-height:32px;font-weight:700}.c-center p{margin:0 0 24px;color:#64748b}.c-center .c-confirm{width:auto;margin:0;text-decoration:none;display:inline-flex}.c-center .c-spin{width:32px;height:32px;color:#0f172a}:root{--bg: #f4f4f4;--surface: #ffffff;--text: #111111;--muted: #6b6b6b;--line: #d4d4d4;--accent: #111111;--accent-text: #ffffff;--focus: #111111;--danger-bg: #fef2f2;--danger: #b91c1c;color-scheme:light}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{font-size:1.35rem;line-height:1.25;margin:0}a{color:var(--accent)}button,input{font:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.hint{margin:0;color:var(--muted);font-size:.9rem}.tabs{display:flex;flex-wrap:wrap;gap:6px}.tabs button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 12px;cursor:pointer}.tabs button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}label output{float:right;color:var(--muted)}input[type=range]{width:100%;min-height:32px;accent-color:var(--accent)}.row{display:flex;gap:8px;flex-wrap:wrap}.primary,.button{display:inline-block;min-height:48px;padding:10px 18px;border:0;border-radius:6px;background:var(--accent);color:var(--accent-text);font-weight:600;cursor:pointer;text-decoration:none;text-align:center}.primary:hover:not(:disabled),.button:hover{background:#333}.primary:disabled{background:#a3a3a3;cursor:not-allowed}.notice{margin:0;padding:10px 12px;background:var(--danger-bg);color:var(--danger);border-radius:6px}
