html.portrait-workspace body>.trace-background-overlay-hint{top:calc(112px + env(safe-area-inset-top))!important;z-index:260!important;box-sizing:border-box!important;border-radius:14px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:10px 10px 10px 12px!important;display:grid!important;position:fixed!important;bottom:auto!important;left:12px!important;right:12px!important;overflow:visible!important;transform:none!important}html.portrait-workspace body>.trace-background-overlay-hint>span{overflow-wrap:anywhere;min-width:0!important;color:var(--text-light)!important;text-overflow:clip!important;white-space:normal!important;font-size:.7rem!important;line-height:1.42!important;display:block!important;overflow:visible!important}html.portrait-workspace body>.trace-background-overlay-hint>span strong{color:var(--pink)!important;margin:0 0 3px!important;font-size:.74rem!important;line-height:1.2!important;display:block!important}html.portrait-workspace body>.trace-background-overlay-hint>button{white-space:nowrap!important;align-self:center!important;min-width:66px!important;min-height:30px!important;padding:0 10px!important;font-size:.68rem!important}@media (width<=360px){html.portrait-workspace body>.trace-background-overlay-hint{gap:7px!important;padding:9px!important;left:8px!important;right:8px!important}html.portrait-workspace body>.trace-background-overlay-hint>span{font-size:.66rem!important}html.portrait-workspace body>.trace-background-overlay-hint>button{min-width:60px!important;padding-inline:8px!important}}.header-actions{flex:none;align-items:center;gap:8px;display:flex}.header-donation-button{color:#e9678c;height:32px;font:inherit;white-space:nowrap;cursor:pointer;background:#ffffffd1;border:1px solid #ff8fab9e;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:.78rem;font-weight:800;transition:color .16s,background .16s,border-color .16s,transform .16s;display:inline-flex;box-shadow:0 2px 8px #ff8fab1f}.header-donation-button:hover{color:#fff;background:#ff8fab;border-color:#ff8fab;transform:translateY(-1px)}.header-donation-button:focus-visible{outline-offset:2px;outline:3px solid #ff8fab47}.header-donation-icon{font-size:.82rem;line-height:1}.donation-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:radial-gradient(circle at 18% 12%,#ffc2d15c,#0000 28%),radial-gradient(circle at 84% 86%,#c9b1ff3d,#0000 30%),#40273361;place-items:center;padding:24px;animation:.2s ease-out both donation-backdrop-enter;display:grid;position:fixed;inset:0;overflow-y:auto}.donation-modal{color:#5b4050;text-align:center;background:radial-gradient(circle at 14% 4%,#ffe6edd1,#0000 25%),radial-gradient(circle at 92% 24%,#e8dfff94,#0000 27%),#fffffffa;border:1.5px solid #ffc2d1f2;border-radius:30px;width:min(486px,100%);max-height:calc(100vh - 48px);padding:27px 30px 25px;animation:.34s cubic-bezier(.2,.82,.2,1) both donation-modal-enter;position:relative;overflow:hidden auto;box-shadow:0 30px 90px #572f4240,0 8px 28px #e66e9229,inset 0 1px #fff}.donation-modal:before{content:"";background:linear-gradient(90deg,#ff8fab,#ffc2d1 42%,#c9b1ff 72%,#a0d2db);height:6px;position:absolute;inset:0 0 auto}.donation-modal-decoration{z-index:0;pointer-events:none;border:10px solid #ffc2d138;border-radius:50%;position:absolute}.donation-modal-decoration.decoration-one{width:82px;height:82px;top:-30px;left:-26px}.donation-modal-decoration.decoration-two{border-color:#c9b1ff33;width:54px;height:54px;top:98px;right:-21px}.donation-modal>:not(.donation-modal-decoration){z-index:1;position:relative}.donation-modal-brand{color:#e66e92;letter-spacing:.035em;align-items:center;gap:8px;margin-bottom:17px;font-size:.76rem;font-weight:850;display:inline-flex}.donation-modal-brand-mark{background:#fff;border-radius:50%;width:21px;height:21px;box-shadow:inset 0 0 0 6px #ffc2d1,0 3px 8px #ff8fab2e}.donation-modal-hero{justify-items:center;display:grid}.donation-modal-icon{color:#fff;background:linear-gradient(145deg,#ff8fab,#ffa8bf);border:7px solid #fff0f3;border-radius:39% 61% 57% 43%/52% 42% 58% 48%;place-items:center;width:78px;height:78px;margin-bottom:14px;display:grid;position:relative;transform:rotate(-4deg);box-shadow:0 13px 28px #ff7ea447}.donation-modal-icon>span{font-size:1.75rem;line-height:1;transform:rotate(4deg)}.donation-modal-orbit{background:#c9b1ff;border:2.5px solid #ffffffd9;border-radius:50%;width:13px;height:13px;position:absolute}.donation-modal-orbit.orbit-one{top:0;right:3px}.donation-modal-orbit.orbit-two{background:#a0d2db;bottom:15px;right:-6px}.donation-modal-orbit.orbit-three{background:#ffe38e;bottom:0;left:3px}.donation-modal-eyebrow{color:#e66e92;letter-spacing:.14em;margin-bottom:5px;font-size:.72rem;font-weight:900}.donation-modal h2{color:#563c4a;margin:0 0 8px;font-size:clamp(1.45rem,4vw,1.7rem);line-height:1.25}.donation-modal-hero p{color:#8e7481;max-width:390px;margin:0;font-size:.9rem;line-height:1.65}.donation-modal-close{color:#a67e91;width:34px;height:34px;font:inherit;cursor:pointer;background:#ffffffc2;border:1px solid #ffc2d1b3;border-radius:50%;place-items:center;padding:0;font-size:1.3rem;line-height:1;transition:all .16s;display:grid;top:15px;right:16px;z-index:3!important;position:absolute!important}.donation-modal-close:hover{color:#e66e92;background:#fff0f3;border-color:#ffb3c6;transform:rotate(6deg)}.donation-modal button:focus-visible{outline-offset:3px;outline:3px solid #ff8fab40}.donation-amount-panel{border:0;min-inline-size:0;margin:20px 0 16px;padding:0}.donation-amount-panel legend{color:#8f6f7f;text-align:left;width:100%;margin-bottom:9px;font-size:.78rem;font-weight:800}.donation-amounts{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.donation-amounts button{color:#694d5b;min-width:0;min-height:67px;font:inherit;cursor:pointer;background:#ffffffd1;border:1.5px solid #f0dce3;border-radius:15px;gap:3px;padding:10px 5px 8px;transition:all .16s;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 12px #734a5d0d}.donation-amounts button:hover:not(:disabled){background:#fff8fa;border-color:#ffb3c6;transform:translateY(-2px)}.donation-amounts button>span{font-size:1.02rem;font-weight:900}.donation-amounts button small{color:#aa8b99;white-space:nowrap;margin:0;font-size:.66rem;font-weight:650}.donation-amounts button.is-selected{color:#e15f87;background:linear-gradient(145deg,#fff0f3,#fff8fa);border-color:#ff8fab;transform:translateY(-2px);box-shadow:0 7px 16px #ff8fab24,inset 0 0 0 1px #ff8fab14}.donation-amounts button.is-selected small{color:#dc7796}.donation-amount-check{color:#fff;background:#ff8fab;border-radius:0 14px 0 12px;place-items:center;width:21px;height:21px;font-size:.66rem;font-style:normal;font-weight:900;display:grid;position:absolute;top:-1px;right:-1px}.donation-custom-amount{background:#ffffffe6;border:1.5px solid #ffb3c6;border-radius:14px;grid-template-columns:34px minmax(0,1fr);align-items:center;margin-top:10px;display:grid;overflow:hidden;box-shadow:0 5px 16px #ff8fab17}.donation-custom-amount>span{color:#e15f87;background:#fff0f3;align-self:stretch;place-items:center;font-size:1rem;font-weight:900;display:grid}.donation-custom-amount input{color:#5b4050;min-width:0;height:43px;font:inherit;background:0 0;border:0;outline:0;padding:0 12px;font-size:.94rem;font-weight:800}.donation-custom-amount input::placeholder{color:#c8a9b7;font-weight:600}.donation-custom-amount input[aria-invalid=true]{color:#b84b49}.donation-custom-amount:focus-within{border-color:#ff8fab;box-shadow:0 0 0 3px #ff8fab21}.donation-custom-amount>small{color:#aa8b99;text-align:left;background:#fff9fb;border-top:1px solid #f6e3e9;grid-column:1/-1;margin:0;padding:6px 10px;font-size:.67rem}.donation-pay-button{color:#fff;width:100%;min-height:51px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#ff8fab,#f4779c);border:0;border-radius:16px;justify-content:center;align-items:center;gap:16px;padding:8px 16px;font-size:.92rem;font-weight:850;transition:all .16s;display:flex;box-shadow:0 10px 24px #f4779c4d}.donation-pay-button:hover:not(:disabled){filter:saturate(1.05);transform:translateY(-2px);box-shadow:0 13px 30px #f4779c61}.donation-pay-button:active:not(:disabled){transform:translateY(0)}.donation-pay-button>span{text-align:center}.donation-pay-button strong{border-left:1px solid #ffffff61;padding-left:16px;font-size:.86rem}.donation-pay-button:disabled,.donation-modal button:disabled{cursor:wait;opacity:.62}.donation-error,.donation-launch-note{text-align:left;border-radius:12px;margin:0 0 13px;padding:10px 12px;font-size:.78rem;line-height:1.5}.donation-error{color:#ad4540;background:#fff2f1;border:1px solid #ffd0cf}.donation-launch-note{color:#397093;background:#f2f9ff;border:1px solid #cfe8fa;gap:8px;display:grid}.donation-order-number{color:#6b8ca1;border-top:1px dashed #bddcf0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding-top:7px;font-size:.7rem;display:grid}.donation-order-number code{color:#356b8d;text-overflow:ellipsis;-webkit-user-select:all;user-select:all;white-space:nowrap;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.71rem;font-weight:750;overflow:hidden}.donation-modal-safe-note{color:#aa8d9b;justify-content:center;align-items:center;gap:5px;margin-top:11px;font-size:.7rem;display:flex}.donation-modal-safe-note>span:first-child{color:#e97899;font-weight:900}@keyframes donation-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes donation-modal-enter{0%{opacity:0;transform:translateY(18px)scale(.965)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.donation-modal-backdrop{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));align-items:center}.donation-modal{border-radius:25px;width:100%;max-height:calc(100vh - 24px);padding:25px 18px 20px}.donation-modal-brand{margin-bottom:13px}.donation-modal-icon{width:68px;height:68px;margin-bottom:11px}.donation-amounts{grid-template-columns:repeat(2,1fr)}.donation-amounts button{min-height:60px}}@media (prefers-reduced-motion:reduce){.donation-modal-backdrop,.donation-modal{animation:none}.donation-modal *{transition:none!important}}.donation-result-page{color:#5b4050;background:radial-gradient(circle at 12% 14%,#ffc2d194,#0000 24%),radial-gradient(circle at 88% 82%,#c9b1ff52,#0000 27%),linear-gradient(145deg,#fff7fa 0%,#fff 46%,#fff0f5 100%);place-items:center;min-height:100vh;padding:28px;display:grid;position:relative;overflow:hidden}.donation-result-page:before,.donation-result-page:after{content:"";border:42px solid #ffc2d133;border-radius:50%;width:220px;height:220px;position:absolute}.donation-result-page:before{top:-125px;right:-95px}.donation-result-page:after{border-color:#c9b1ff29;bottom:-145px;left:-105px}.donation-result-sparkle{color:#ff8fab94;font-size:1.25rem;animation:2.8s ease-in-out infinite donation-sparkle;position:absolute}.donation-result-sparkle-one{top:17%;left:22%}.donation-result-sparkle-two{color:#ab8bec80;animation-delay:.8s;bottom:18%;right:21%}.donation-result-card{z-index:1;text-align:center;background:#fffffff0;border:2px solid #ffc2d1e0;border-radius:30px;width:min(540px,100%);padding:28px 42px 36px;animation:.42s cubic-bezier(.2,.8,.2,1) both donation-card-enter;position:relative;overflow:hidden;box-shadow:0 30px 80px #b969872b,0 5px 18px #ff8fab1f,inset 0 1px #fff}.donation-result-card:before{content:"";background:linear-gradient(90deg,#ff8fab,#ffc2d1,#c9b1ff,#a0d2db);height:7px;position:absolute;inset:0 0 auto}.donation-result-brand{color:#e66e92;letter-spacing:.04em;align-items:center;gap:8px;margin-bottom:21px;font-size:.82rem;font-weight:800;display:inline-flex}.donation-result-brand-mark{color:#ff8fab;background:#fff0f3;border-radius:50%;place-items:center;width:24px;height:24px;font-size:0;display:grid;box-shadow:inset 0 0 0 6px #ffc2d1}.donation-result-badge{color:#fff;background:linear-gradient(145deg,#ff8fab,#ffacc1);border:8px solid #fff0f3;border-radius:36% 64% 55% 45%/52% 43% 57% 48%;place-items:center;width:104px;height:104px;margin:0 auto 22px;display:grid;position:relative;transform:rotate(-4deg);box-shadow:0 14px 30px #ff8fab45}.donation-result-icon{z-index:2;font-size:2.55rem;font-weight:900;line-height:1;position:relative;transform:rotate(4deg)}.donation-result-bead{z-index:1;background:#c9b1ff;border:3px solid #ffffffc7;border-radius:50%;width:15px;height:15px;position:absolute}.donation-result-bead.bead-one{top:4px;right:5px}.donation-result-bead.bead-two{background:#a0d2db;bottom:19px;right:-7px}.donation-result-bead.bead-three{background:#ffe38e;bottom:3px;left:5px}.donation-result-checking .donation-result-badge,.donation-result-pending .donation-result-badge{background:linear-gradient(145deg,#c9b1ff,#b8a2ed);box-shadow:0 14px 30px #ab8bec3d}.donation-result-failed .donation-result-badge,.donation-result-error .donation-result-badge,.donation-result-unavailable .donation-result-badge{background:linear-gradient(145deg,#a0d2db,#8bc2cc);box-shadow:0 14px 30px #70afbc38}.donation-result-eyebrow{color:#e66e92;letter-spacing:.15em;margin-bottom:8px;font-size:.78rem;font-weight:900;display:block}.donation-result-card h1{color:#563c4a;margin:0 0 11px;font-size:clamp(1.55rem,4vw,2rem);line-height:1.25}.donation-result-card>p{color:#866e7b;margin:0 auto;font-size:1rem;line-height:1.7}.donation-result-order{color:#ae8a9b;text-align:left;background:#fff8fa;border:1px dashed #ffc2d1;border-radius:13px;align-items:center;gap:10px;margin:24px 0 0;padding:11px 14px;font-size:.76rem;display:flex}.donation-result-order span{flex:none;font-weight:700}.donation-result-order code{color:#8c6b7b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}.donation-result-actions{justify-content:center;gap:10px;margin-top:25px;display:flex}.donation-result-actions button{min-height:46px;font:inherit;cursor:pointer;border-radius:14px;padding:0 22px;font-weight:850;transition:transform .16s,box-shadow .16s,background .16s}.donation-result-actions button:hover{transform:translateY(-2px)}.donation-result-actions button:focus-visible{outline-offset:3px;outline:3px solid #ff8fab47}.donation-result-primary{color:#fff;background:linear-gradient(135deg,#ff8fab,#f4779c);border:0;justify-content:center;align-items:center;gap:8px;display:inline-flex;box-shadow:0 8px 20px #ff7ea44d}.donation-result-primary:hover{box-shadow:0 11px 26px #ff7ea466}.donation-result-secondary{color:#e66e92;background:#fff;border:1.5px solid #ffc2d1}.donation-result-secondary:hover{background:#fff0f3}.donation-result-close-hint{background:#fff4d8;border-radius:10px;padding:9px 12px;color:#8a6d2f!important;margin-top:14px!important;font-size:.8rem!important}.donation-success-toast{z-index:1600;color:#5f4351;background:#fffffff7;border:1.5px solid #ffc2d1;border-radius:17px;align-items:center;gap:11px;width:min(360px,100vw - 32px);padding:13px 14px;animation:.3s ease-out both donation-toast-enter;display:flex;position:fixed;top:78px;right:18px;box-shadow:0 16px 42px #ba5c7f33}.donation-success-toast-icon{color:#fff;background:linear-gradient(145deg,#ff8fab,#ffaac0);border-radius:13px;flex:none;place-items:center;width:38px;height:38px;font-size:1.15rem;font-weight:900;display:grid}.donation-success-toast.is-pending .donation-success-toast-icon{background:linear-gradient(145deg,#b59af0,#9d82df)}.donation-success-toast.is-failed .donation-success-toast-icon{background:linear-gradient(145deg,#91c7d1,#70aebb)}.donation-success-toast div{gap:2px;min-width:0;display:grid}.donation-success-toast strong{font-size:.9rem}.donation-success-toast div span{color:#9b7e8c;font-size:.78rem}.donation-success-toast>button{color:#b08a9c;cursor:pointer;background:0 0;border:0;align-self:flex-start;margin-left:auto;padding:0 2px;font-size:1.2rem}@keyframes donation-card-enter{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes donation-sparkle{0%,to{opacity:.35;transform:translateY(0)rotate(0)}50%{opacity:.9;transform:translateY(-7px)rotate(16deg)}}@keyframes donation-toast-enter{0%{opacity:0;transform:translateY(-10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.donation-result-page{padding:16px}.donation-result-card{border-radius:24px;padding:24px 20px 28px}.donation-result-badge{width:88px;height:88px;margin-bottom:18px}.donation-result-order{gap:5px;display:grid}.donation-result-order code{white-space:normal;overflow-wrap:anywhere}.donation-result-actions{flex-direction:column-reverse}.donation-result-actions button{width:100%}.donation-success-toast{width:auto;top:70px;left:16px;right:16px}.donation-modal{padding:28px 20px 22px}.donation-amounts{grid-template-columns:repeat(2,1fr)}}@media (width<=420px){.header-actions{gap:5px}.header-donation-button{width:34px;min-width:34px;height:34px;padding:0}.header-donation-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.header-group-button{color:#e9678c;height:32px;font:inherit;white-space:nowrap;cursor:pointer;background:#ffffffd1;border:1px solid #ff8fab9e;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:.78rem;font-weight:800;transition:color .16s,background .16s,border-color .16s,transform .16s;display:inline-flex;box-shadow:0 2px 8px #ff8fab1f}.header-group-button:hover{border-color:var(--pink);background:var(--pink-bg);color:#d9567c;transform:translateY(-1px)}.header-group-button:focus-visible{outline-offset:2px;outline:3px solid #ff8fab47}.header-group-icon{background:var(--pink-bg);color:#e9678c;border-radius:6px;place-items:center;width:18px;height:18px;font-size:.62rem;line-height:1;display:inline-grid}.group-modal-backdrop{z-index:1300;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#4a3a5257;place-items:center;padding:24px;animation:.16s ease-out both group-backdrop-enter;display:grid;position:fixed;inset:0;overflow-y:auto}.group-modal{border:1px solid var(--pink-light);background:var(--card);width:min(388px,100%);color:var(--text);border-radius:22px;padding:26px 24px 22px;animation:.22s cubic-bezier(.2,.82,.2,1) both group-modal-enter;position:relative;box-shadow:0 22px 64px #5a4a6a33}.group-modal-close{background:var(--pink-bg);width:32px;height:32px;color:var(--text-light);font:inherit;cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;font-size:1.25rem;line-height:1;display:grid;position:absolute;top:14px;right:14px}.group-modal-close:hover{color:var(--pink);background:#ffe3eb}.group-modal-close:focus-visible{outline-offset:2px;outline:3px solid #ff8fab47}.group-modal-heading{text-align:center;margin-bottom:18px;padding:0 34px}.group-modal-kicker{background:var(--pink-bg);color:#e9678c;border-radius:999px;margin-bottom:8px;padding:4px 10px;font-size:.72rem;font-weight:850;display:inline-block}.group-modal-heading h2{color:var(--text);margin:0;font-size:1.3rem;line-height:1.35}.group-modal-heading p{color:var(--text-light);white-space:nowrap;margin:7px 0 0;font-size:clamp(.76rem,2.4vw,.84rem);line-height:1.55}.group-qr-frame{border:1px solid var(--pink-light);width:min(278px,78vw);box-shadow:0 8px 24px var(--shadow);background:#fff;border-radius:18px;margin:0 auto;padding:8px}.group-qr-frame img{border-radius:12px;width:100%;height:auto;display:block}.group-qr-error{background:var(--pink-bg);min-height:260px;color:var(--text-light);text-align:center;border-radius:12px;align-content:center;place-items:center;gap:12px;padding:16px;font-size:.78rem;line-height:1.5;display:grid}.group-qr-error button{border:1px solid var(--pink-light);min-height:32px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:0 14px;font-weight:800}.group-modal-tip{color:var(--text-light);text-align:center;margin:14px 0 0;font-size:.76rem;font-weight:650;line-height:1.5}@keyframes group-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes group-modal-enter{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.group-modal-backdrop{align-items:end;padding:10px}.group-modal{border-radius:22px;width:100%;max-height:calc(100dvh - 20px);padding:24px 18px 20px;overflow-y:auto}}@media (width<=420px){.header-group-button{width:34px;min-width:34px;height:34px;padding:0}.header-group-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.group-modal-heading{padding:0 6px}.group-qr-frame{width:min(264px,78vw)}}@media (prefers-reduced-motion:reduce){.group-modal-backdrop,.group-modal{animation:none}.header-group-button{transition:none}}.bean-balance-trigger{color:#9b641f;min-height:34px;font:inherit;cursor:pointer;background:#fff9ed;border:1.5px solid #f0bd75;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;display:inline-flex}.bean-balance-trigger strong{font-size:14px}.bean-modal-overlay{z-index:5000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#181b2375;place-items:center;padding:18px;display:grid;position:fixed;inset:0}body.bean-center-open .canvas-primary-actions{display:none!important}.bean-modal{overscroll-behavior:contain;color:#352d25;background:#fffdf9;border:1px solid #f0e4cf;border-radius:22px;width:min(620px,100%);max-height:min(720px,100dvh - 32px);overflow:auto;box-shadow:0 24px 80px #2e231633}.bean-modal-header{justify-content:space-between;align-items:center;padding:22px 24px 14px;display:flex}.bean-modal-header span{color:#b77a2d;letter-spacing:.16em;font-size:10px;font-weight:900}.bean-modal-header h2{margin:3px 0 0;font-size:24px}.bean-modal-header>button{color:#9b8c7a;cursor:pointer;background:0 0;border:0;font-size:27px}.bean-tabs{background:#f4ede3;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin:0 24px;padding:4px;display:grid}.bean-tabs button{color:#8a7863;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;font-size:13px;font-weight:800}.bean-tabs button.active{color:#8f5b1e;background:#fff;box-shadow:0 2px 9px #50381c1a}.bean-message{color:#2d7d58;background:#edf8f2;border-radius:10px;margin:14px 24px 0;padding:10px 12px;font-size:12px}.bean-account-view,.bean-invite-view{gap:14px;padding:18px 24px 24px;display:grid}.bean-summary-grid{grid-template-columns:1fr;gap:12px;display:grid}.bean-summary-grid article{background:#fff;border:1px solid #eee3d2;border-radius:15px;gap:4px;padding:17px;display:grid}.bean-summary-grid span{color:#8a7863;font-size:11px}.bean-summary-grid strong{color:#8f5b1e;font-size:28px}.bean-summary-grid small{color:#a89b8d;font-size:10px}.bean-redeem-card,.bean-ledger{background:#fff;border:1px solid #eee3d2;border-radius:15px;padding:17px}.bean-redeem-card h3,.bean-section-title h3{margin:0;font-size:15px}.bean-redeem-card p{color:#938573;margin:4px 0 13px;font-size:11px}.bean-credit-options{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.bean-credit-options button{color:#86613a;min-height:34px;font:inherit;cursor:pointer;background:#fffaf1;border:1px solid #e5d6c0;border-radius:9px;font-size:12px;font-weight:800}.bean-credit-options button.active{color:#fff;background:#c78a3d;border-color:#c78a3d}.bean-primary-button{color:#fff;width:100%;min-height:40px;font:inherit;cursor:pointer;background:#4f3d2a;border:0;border-radius:10px;margin-top:10px;font-size:13px;font-weight:850}.bean-primary-button:disabled{opacity:.45;cursor:not-allowed}.bean-section-title{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.bean-section-title span{color:#a89b8d;font-size:10px}.bean-ledger-row{border-bottom:1px solid #f2ece4;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;display:flex}.bean-ledger-row:last-child{border-bottom:0}.bean-ledger-row>div{gap:2px;display:grid}.bean-ledger-row>div:last-child{text-align:right}.bean-ledger-row strong{font-size:12px}.bean-ledger-row span{color:#a19587;font-size:10px}.bean-ledger-row .income strong{color:#2b986c}.bean-ledger-row .expense strong{color:#c65757}.bean-empty{color:#a19587;text-align:center;margin:20px 0 6px;font-size:11px}.bean-share-card{color:#fff;background:linear-gradient(145deg,#493522,#8a5c2b);border-radius:18px;grid-template-columns:42% 1fr;min-height:230px;display:grid;overflow:hidden;box-shadow:0 14px 34px #57391933}.bean-share-card>img{object-fit:cover;background:#fff;width:100%;height:100%;min-height:230px}.bean-share-card-copy{flex-direction:column;justify-content:center;padding:22px;display:flex}.bean-share-card-copy>span{color:#f7d7a5;letter-spacing:.12em;font-size:10px;font-weight:850}.bean-share-card-copy h3{margin:8px 0;font-size:20px;line-height:1.35}.bean-share-card-copy p{color:#f5dcc0;margin:0 0 17px;font-size:11px}.bean-share-card-copy code{color:#fff;background:#ffffff24;border-radius:7px;align-self:flex-start;padding:6px 9px;font-size:11px}.bean-invite-view blockquote{color:#715b42;background:#fff7eb;border-left:3px solid #cf913f;border-radius:0 10px 10px 0;margin:0;padding:13px 15px;font-size:12px;line-height:1.7}.bean-invite-progress{background:#fff;border:1px solid #eee3d2;border-radius:11px;justify-content:space-between;align-items:center;padding:12px 14px;font-size:12px;display:flex}.bean-invite-actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.bean-invite-actions button{color:#9a6525;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c78a3d;border-radius:10px;font-size:12px;font-weight:850}.bean-invite-actions button.primary{color:#fff;background:#c78a3d}.bean-rule-note{color:#9d9183;text-align:center;margin:0;font-size:10px;line-height:1.6}@media (width<=620px){.bean-modal-overlay{align-items:end;padding:0}.bean-modal{border-radius:20px 20px 0 0;max-height:92vh}.bean-summary-grid{grid-template-columns:1fr 1fr}.bean-share-card{grid-template-columns:36% 1fr}.bean-share-card-copy{padding:16px}.bean-share-card-copy h3{font-size:17px}}.bean-balance-card{grid-template-columns:1fr auto;align-items:center}.bean-balance-card span,.bean-balance-card small{grid-column:1}.bean-balance-card strong{grid-area:1/2/span 2}.bean-future-rewards{background:linear-gradient(135deg,#fff8e9,#fffdf8);border:1px solid #f0dfbd;border-radius:13px;align-items:center;gap:11px;padding:13px 15px;display:flex}.bean-future-rewards>span{font-size:23px}.bean-future-rewards strong{color:#81551f;font-size:12px;display:block}.bean-future-rewards p{color:#9a8468;margin:3px 0 0;font-size:10px;line-height:1.5}.bean-invite-view{gap:12px}.bean-invite-summary{background:linear-gradient(135deg,#fff8e9,#fffdf8);border:1px solid #ead7b8;border-radius:15px;gap:7px;padding:18px;display:grid}.bean-invite-summary>span{color:#b77a2d;letter-spacing:.12em;font-size:10px;font-weight:900}.bean-invite-summary h3{color:#563d21;margin:0;font-size:18px;line-height:1.4}.bean-invite-summary p{color:#8d7a64;margin:0;font-size:11px;line-height:1.55}.bean-invite-code{background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-top:5px;padding:10px 12px;display:flex}.bean-invite-code small{color:#9a8b79;font-size:10px}.bean-invite-code code{color:#87591f;letter-spacing:.08em;-webkit-user-select:all;user-select:all;font-size:14px;font-weight:850}@media (width<=820px){.bean-modal-overlay{padding:max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom))}.bean-modal{max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))}}@media (width<=620px){.bean-modal-overlay{padding:max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));align-items:center}.bean-modal{max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));border-radius:18px}.bean-summary-grid{grid-template-columns:1fr}.bean-modal-header{padding:16px 17px 10px}.bean-tabs{margin:0 17px}.bean-message{margin:10px 17px 0}.bean-account-view,.bean-invite-view{padding:14px 17px 18px}.bean-invite-summary{padding:15px}.bean-invite-summary h3{font-size:16px}.bean-invite-actions{grid-template-columns:1fr}}.bean-reward-toast{z-index:5100;top:max(72px, calc(env(safe-area-inset-top) + 16px));box-sizing:border-box;color:#87591f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fff9edfa;border:1px solid #f0c77e;border-radius:13px;align-items:center;gap:10px;min-width:230px;max-width:calc(100vw - 28px);padding:11px 12px;animation:.24s ease-out both bean-toast-enter;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 36px #85581d2e}.bean-reward-toast-icon{background:#fbe9bd;border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.bean-reward-toast>div{flex:1;gap:2px;display:grid}.bean-reward-toast strong{font-size:13px}.bean-reward-toast small{color:#9a7b50;font-size:10px}.bean-reward-toast>button{color:#a88654;cursor:pointer;background:0 0;border:0;font-size:20px}@keyframes bean-toast-enter{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@media (width<=620px){.bean-reward-toast{top:max(58px, calc(env(safe-area-inset-top) + 10px));width:calc(100vw - 24px)}}.commercial-request-box{border:1px solid var(--pink-light);background:#fff9fc;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:12px;display:grid}.commercial-request-copy{gap:3px;min-width:0;display:grid}.commercial-request-copy strong{color:var(--text);font-size:.8rem}.commercial-request-copy p{color:var(--text-light);margin:0;font-size:.68rem;line-height:1.5}.commercial-request-button,.license-action-button,.license-search-button,.license-manual-toggle{white-space:nowrap;border-radius:999px;min-height:34px;font-weight:850;width:auto!important}.commercial-request-button{border:1.5px solid var(--pink);background:var(--pink);color:#fff;padding:0 14px;font-size:.74rem}.commercial-request-state,.commercial-request-error{grid-column:1/-1;width:fit-content;font-size:.68rem;font-weight:800}.commercial-request-state{border-radius:999px;padding:3px 8px}.commercial-request-state.is-pending{color:#8c6716;background:#fff5d9}.commercial-request-state.is-approved{color:#287557;background:#effcf5}.commercial-request-error{color:#d95676}.license-manager-v2{width:min(620px,100vw - 24px);max-height:min(88dvh,780px);padding:18px;overflow-y:auto}.license-manager-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.license-manager-title-row h2,.license-manager-title-row p{margin:0}.license-manager-title-row h2{color:var(--text);margin-top:2px;font-size:1.2rem}.license-manager-title-row p{color:var(--text-light);margin-top:4px;font-size:.74rem}.license-manager-eyebrow{color:var(--pink);letter-spacing:.08em;font-size:.66rem;font-weight:850}.license-manager-tip{color:#84651b;background:#fff7df;border-radius:12px;margin-bottom:12px;padding:9px 11px;font-size:.7rem;line-height:1.5}.license-manager-section{border:1px solid var(--pink-light);background:#ffffffe6;border-radius:16px;gap:9px;margin-top:12px;padding:12px;display:grid}.license-manager-section-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.license-manager-section-title h3{color:var(--text);margin:0;font-size:.9rem}.license-manager-section-title>span{background:var(--pink-bg);min-width:24px;height:24px;color:var(--pink);border-radius:999px;place-items:center;padding:0 7px;font-size:.68rem;font-weight:850;display:grid}.license-manager-empty{color:var(--text-light);text-align:center;padding:18px 8px;font-size:.74rem}.license-request-list{gap:8px;display:grid}.license-request-card,.license-search-result-row{background:#fff;border:1px solid #f1d6df;border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.license-request-card.status-interested{background:#fffdf6;border-color:#efd992}.license-request-card.status-authorized{background:#f7fffb;border-color:#9ed9bd}.license-request-card.status-rejected,.license-request-card.status-revoked{background:#faf8fb}.license-user-identity-v2{min-width:0}.license-user-identity-v2>div{gap:1px}.license-status-chip.status-interested{color:#866313;background:#fff2c8}.license-status-chip.status-authorized{color:#287557;background:#eafbf2}.license-status-chip.status-rejected{color:#c84e6d;background:#fff0f3}.license-status-chip.status-revoked{color:#74657f;background:#f1eef4}.license-request-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px;display:flex}.license-action-button{border:1.5px solid #0000;min-width:58px;padding:0 12px;font-size:.72rem}.license-action-button.is-approve{border-color:var(--pink);background:var(--pink);color:#fff}.license-action-button.is-reject{color:#7a687f;background:#fff;border-color:#d8cbdc}.license-action-button.is-secondary{border-color:var(--pink-light);color:var(--pink);background:#fff}.license-manual-section{padding:0;overflow:hidden}.license-manual-toggle{min-height:42px;color:var(--text);text-align:left;background:#fff9fc;border:0;border-radius:0;justify-content:space-between;align-items:center;padding:0 12px;font-size:.76rem;display:flex}.license-manual-toggle span:last-child{color:var(--pink);font-size:.68rem}.license-manual-content{border-top:1px solid var(--pink-light);gap:9px;padding:12px;display:grid}.license-manual-content>p{color:var(--text-light);margin:0;font-size:.68rem;line-height:1.45}.license-user-search-v2{margin:0}.license-search-button{border:1.5px solid var(--pink-light);min-width:70px;color:var(--pink);background:#fff;padding:0 13px;font-size:.72rem}.bp-license-status{border-color:#0000!important}.bp-license-status.status-interested{color:#866313!important;background:#fff2c8!important}.bp-license-status.status-authorized{color:#287557!important;background:#eafbf2!important}.bp-license-status.status-rejected{color:#c84e6d!important;background:#fff0f3!important}.bp-license-status.status-revoked{color:#74657f!important;background:#f1eef4!important}.profile-license-note{color:var(--text-light);margin:9px 0 11px;font-size:.72rem;line-height:1.5}@media (width<=520px){.commercial-request-box{grid-template-columns:minmax(0,1fr) auto;padding:10px}.commercial-request-button{min-width:0;padding:0 11px;font-size:.68rem}.license-manager-v2{width:calc(100vw - 16px);padding:14px}.license-request-card,.license-search-result-row{grid-template-columns:minmax(0,1fr) auto;padding:9px}.license-request-actions{max-width:132px}.license-action-button{min-width:52px;min-height:32px;padding:0 10px;font-size:.68rem}.license-user-search-v2{grid-template-columns:minmax(0,1fr) auto}.license-search-button{min-width:58px;padding:0 10px}}.share-modal{width:min(760px,100vw - 28px);max-height:min(90vh,860px);overflow-y:auto}.share-section{border:1.5px solid var(--pink-light);background:#ffffffdb;border-radius:18px;gap:12px;padding:14px;display:grid}.share-section+.share-section{margin-top:14px}.share-section h3{color:var(--text);margin:0;font-size:.96rem}.share-license-help,.commercial-platform-notice,.commercial-contact-field p{color:var(--text-light);margin:0;font-size:.76rem;line-height:1.55}.share-commercial-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.share-commercial-options label{border:1.5px solid var(--pink-light);cursor:pointer;background:#fff;border-radius:14px;grid-template-columns:18px minmax(0,1fr);gap:3px 6px;min-width:0;padding:10px;display:grid}.share-commercial-options label.active{border-color:var(--pink);background:var(--pink-bg);box-shadow:inset 0 0 0 1px #ff699114}.share-commercial-options input{accent-color:var(--pink);grid-row:1/span 2;align-self:start;margin-top:2px}.share-commercial-options strong{min-width:0;color:var(--text);font-size:.82rem}.share-commercial-options span{min-width:0;color:var(--text-light);font-size:.68rem;line-height:1.35}.share-paid-license-panel{background:#fff8fb;border-radius:14px;gap:10px;padding:12px;display:grid}.share-price-field{color:var(--text);gap:6px;font-size:.78rem;font-weight:800;display:grid}.share-price-field>div{border:1.5px solid var(--pink-light);background:#fff;border-radius:12px;grid-template-columns:30px minmax(0,1fr);display:grid;overflow:hidden}.share-price-field b{color:var(--pink);background:var(--pink-bg);place-items:center;display:grid}.share-price-field input{min-width:0;height:38px;font:inherit;border:0;outline:0;padding:0 10px}.share-contact-status{border:1px solid var(--pink-light);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.share-contact-status>div{gap:2px;min-width:0;display:grid}.share-contact-status strong{color:var(--text);font-size:.78rem}.share-contact-status span{color:var(--text-light);font-size:.68rem;line-height:1.4}.share-contact-status.ready{background:#f3fff9;border-color:#8ad8b4}.share-contact-status.missing{background:#fff9f2;border-color:#ffbd8a}.commercial-contact-field{border:1.5px solid var(--pink-light);background:#fff9fc;border-radius:14px;gap:6px;padding:12px;display:grid;position:relative}.commercial-contact-field>label{color:var(--text);font-size:.82rem;font-weight:850}.commercial-contact-counter{color:var(--text-light);justify-self:end;font-size:.68rem}.bp-perm-paid{color:#8d5e14!important;background:#fff8e8!important;border-color:#e7b95e!important}.bp-perm-free{color:#277657!important;background:#f1fff8!important;border-color:#85d8b3!important}.commercial-contact-modal,.commercial-license-manager{width:min(680px,100vw - 28px);max-height:min(86vh,760px);overflow-y:auto}.commercial-contact-summary{border:1.5px solid var(--pink-light);background:#fff9fc;border-radius:16px;gap:10px;padding:14px;display:grid}.commercial-contact-summary h3,.commercial-contact-summary p{margin:0}.commercial-price-highlight{color:#9c6815;font-size:1.05rem;font-weight:900}.commercial-contact-value{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:12px;padding:12px;line-height:1.6}.commercial-risk-notice{color:var(--text-light);font-size:.74rem;line-height:1.55}.commercial-license-manager-header{gap:4px;margin-bottom:12px;display:grid}.commercial-license-manager-header h2,.commercial-license-manager-header p{margin:0}.commercial-license-manager-header p{color:var(--text-light);font-size:.75rem}.license-user-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:12px;display:grid}.license-user-search-results,.commercial-license-list{gap:8px;display:grid}.license-user-row{border:1px solid var(--pink-light);background:#fff;border-radius:13px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.license-user-identity{align-items:center;gap:8px;min-width:0;display:flex}.license-user-identity img,.license-user-avatar{object-fit:cover;background:var(--pink-bg);border-radius:50%;flex:0 0 34px;width:34px;height:34px}.license-user-identity>div{min-width:0;display:grid}.license-user-identity strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.license-user-identity span{color:var(--text-light);font-size:.66rem}.license-status-chip{background:var(--pink-bg);width:fit-content;color:var(--pink);border-radius:999px;margin-top:3px;padding:2px 7px;font-size:.62rem;font-weight:800;display:inline-flex}.bp-list-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.bp-license-btn{color:#8d5e14!important;background:#fff8e8!important;border-color:#e7b95e!important}.profile-authorized-note{color:var(--text-light);margin:10px 0;font-size:.74rem}.bp-direct-craft-loading{color:var(--text-light);text-align:center;margin-top:6px;font-size:.72rem}@media (width<=820px){.share-modal,.commercial-contact-modal,.commercial-license-manager{width:calc(100vw - 18px);max-height:calc(100dvh - 24px)}.share-commercial-options{grid-template-columns:1fr}.share-contact-status,.license-user-row{flex-direction:column;align-items:stretch}.share-contact-status .btn,.license-user-row .btn{width:100%}.license-user-search{grid-template-columns:1fr}}.commercial-contact-modal{width:min(520px,100vw - 24px);max-height:min(88dvh,700px);padding:18px;overflow-y:auto}.commercial-contact-modal-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.commercial-contact-modal-title-row .modal-title{text-align:left;margin:2px 0 0}.commercial-contact-eyebrow{color:var(--pink);letter-spacing:.08em;font-size:.68rem;font-weight:850}.commercial-contact-close{border:1.5px solid var(--pink-light);width:32px;height:32px;min-height:32px;color:var(--pink);background:#fff;border-radius:50%;flex:0 0 32px;place-items:center;padding:0;font-size:1.15rem;line-height:1;display:grid}.commercial-contact-summary.commercial-contact-card{border:1.5px solid var(--pink-light);background:linear-gradient(#fffafb 0%,#fff 100%);border-radius:18px;gap:12px;padding:14px;display:grid;box-shadow:0 8px 22px #ff8fab1a}.commercial-contact-card-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.commercial-contact-avatar{background:var(--pink-bg);border-radius:14px;place-items:center;width:42px;height:42px;font-size:1.25rem;display:grid}.commercial-contact-author{gap:2px;min-width:0;display:grid}.commercial-contact-author span,.commercial-contact-price-pill span,.commercial-contact-channel-label{color:var(--text-light);font-size:.66rem;font-weight:750}.commercial-contact-author strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;overflow:hidden}.commercial-contact-price-pill{text-align:right;background:#fff9e9;border:1px solid #f0cf8a;border-radius:12px;gap:1px;min-width:92px;padding:7px 10px;display:grid}.commercial-contact-price-pill strong{color:#8d5e14;white-space:nowrap;font-size:.95rem;font-weight:900}.commercial-contact-channel{border:1px solid var(--pink-light);background:#fff;border-radius:14px;gap:6px;padding:10px;display:grid}.commercial-contact-copy-row{align-items:center;gap:8px;min-width:0;display:flex}.commercial-contact-copy-row .commercial-contact-value{background:var(--pink-bg);min-width:0;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;border:0;border-radius:10px;flex:auto;padding:8px 10px;font-size:.82rem;line-height:1.5}.commercial-copy-button{border:1.5px solid var(--pink);min-width:70px;min-height:36px;color:var(--pink);white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:0 13px;font-size:.76rem;font-weight:850;width:auto!important}.commercial-copy-button.is-copied{color:#277657;background:#f0fff7;border-color:#7acda8}.commercial-copy-feedback{color:var(--pink);font-size:.66rem;font-weight:750}.commercial-contact-note{background:#f8f5fa;border-radius:13px;gap:4px;padding:10px 11px;display:grid}.commercial-contact-note strong{color:var(--text);font-size:.75rem}.commercial-contact-note p{color:var(--text-light);margin:0;font-size:.68rem;line-height:1.5}.commercial-contact-actions{justify-content:flex-end;margin-top:12px}.commercial-contact-actions .btn{min-width:92px;width:auto!important}@media (width<=520px){.commercial-contact-modal{width:calc(100vw - 18px);padding:14px}.commercial-contact-card-head{grid-template-columns:auto minmax(0,1fr)}.commercial-contact-price-pill{text-align:left;grid-column:1/-1;grid-template-columns:auto auto;justify-content:space-between;align-items:center;width:100%;min-width:0}.commercial-contact-copy-row{align-items:stretch}.commercial-copy-button{min-width:68px;padding-inline:10px}}.blueprint-detail-v2{max-width:1040px;padding:14px 16px 28px}.bp-detail-back-v2{min-height:32px;color:var(--text-light);background:0 0;border:0;border-radius:999px;margin:0 0 10px;padding:0 10px;font-size:.76rem;font-weight:800;width:auto!important}.bp-detail-back-v2:active{background:var(--pink-bg);color:var(--pink)}.bp-detail-error{margin:0 0 10px}.bp-detail-content-v2{grid-template-columns:minmax(280px,420px) minmax(0,1fr);align-items:start;gap:18px;margin-top:0;display:grid}.bp-detail-image-v2{background:#fff;border:1px solid #ffc2d1db;border-radius:20px;min-width:0;max-width:none;overflow:hidden;box-shadow:0 8px 24px #74506414}.bp-detail-image-v2 img{object-fit:contain;width:100%;max-height:min(64vh,560px);box-shadow:none;image-rendering:pixelated;border-radius:0;display:block}.bp-detail-summary-card{background:#ffffffeb;border:1px solid #ffc2d1e6;border-radius:20px;gap:14px;min-width:0;padding:18px;display:grid;box-shadow:0 8px 24px #74506412}.bp-detail-heading-v2{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.bp-detail-title-copy{min-width:0}.bp-detail-heading-v2 .bp-detail-title{color:var(--text);margin:0;font-size:clamp(1.22rem,2vw,1.55rem);line-height:1.25}.bp-detail-heading-v2 .bp-detail-desc{color:var(--text-light);margin:6px 0 0;font-size:.82rem;line-height:1.55}.bp-detail-permission-pill{text-align:center;border-radius:999px;flex:none;max-width:48%;padding:5px 10px;font-size:.7rem;font-weight:850;line-height:1.35}.bp-detail-permission-pill.permission-paid{color:#8c6416;background:#fff6df}.bp-detail-permission-pill.permission-free{color:#287557;background:#eafbf2}.bp-detail-permission-pill.permission-no{color:#74657f;background:#f3f0f5}.bp-detail-author-row{border-bottom:1px solid #f3e5ea;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.bp-detail-author-row .bp-detail-author{align-items:center;gap:8px;min-width:0;display:flex}.bp-detail-author-row .bp-detail-author>div{gap:1px;min-width:0;display:grid}.bp-detail-author-row .bp-detail-author strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.bp-detail-author-row .bp-detail-author span:last-child{color:var(--text-light);font-size:.66rem}.bp-detail-author-row .bp-detail-avatar,.bp-detail-author-row .bp-detail-avatar-placeholder{border:1.5px solid var(--pink-light);border-radius:50%;flex:0 0 34px;width:34px;height:34px}.bp-detail-author-row .bp-detail-avatar-placeholder{background:var(--pink-bg);place-items:center;font-size:1rem;display:grid}.bp-detail-traffic{color:var(--text-light);flex:none;align-items:center;gap:10px;font-size:.7rem;font-weight:750;display:flex}.bp-detail-specs-v2{background:#fcfafb;border:1px solid #f0e2e8;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;display:grid;overflow:hidden}.bp-detail-specs-v2 .spec-item{min-width:0;font-size:inherit;text-align:center;border-right:1px solid #f0e2e8;gap:3px;padding:10px 8px;display:grid}.bp-detail-specs-v2 .spec-item:last-child{border-right:0}.bp-detail-specs-v2 .spec-label{color:var(--text-light);font-size:.64rem}.bp-detail-specs-v2 strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.bp-detail-license-panel{border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.bp-detail-license-panel.permission-paid{background:#fffaf0;border:1px solid #efd58f}.bp-detail-license-panel.permission-free{background:#f5fff9;border:1px solid #a8dcc4}.bp-detail-license-panel.permission-no{background:#faf8fb;border:1px solid #ded6e2}.bp-detail-license-copy{gap:3px;min-width:0;display:grid}.bp-detail-license-copy>span{color:var(--text-light);font-size:.62rem;font-weight:800}.bp-detail-license-copy strong{color:var(--text);font-size:.86rem}.bp-detail-license-copy p{color:var(--text-light);margin:0;font-size:.68rem;line-height:1.45}.bp-detail-primary-action{justify-content:flex-end;display:flex}.bp-detail-primary-button{border:1.5px solid var(--pink);background:var(--pink);color:#fff;white-space:nowrap;border-radius:999px;min-height:38px;padding:0 15px;font-size:.75rem;font-weight:850;box-shadow:0 5px 14px #ff8fab2e;width:auto!important}.bp-detail-primary-button:disabled{opacity:.52;box-shadow:none}.bp-detail-social-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.bp-detail-social-actions{align-items:center;gap:7px;display:flex}.bp-detail-social-button{min-height:34px;color:var(--text-light);white-space:nowrap;background:#fff;border:1px solid #ead6df;border-radius:999px;padding:0 11px;font-size:.7rem;font-weight:800;width:auto!important}.bp-detail-social-button span{color:var(--text-light);margin-left:2px}.bp-detail-social-button.is-active{border-color:var(--pink-light);background:var(--pink-bg);color:var(--pink)}.bp-detail-status-chip{border-radius:999px;flex:none;padding:4px 9px;font-size:.66rem;font-weight:850}.bp-detail-status-chip.status-interested{color:#866313;background:#fff2c8}.bp-detail-status-chip.status-authorized{color:#287557;background:#eafbf2}.bp-detail-status-chip.status-rejected{color:#c84e6d;background:#fff0f3}.bp-detail-status-chip.status-revoked{color:#74657f;background:#f1eef4}.bp-detail-comments-card{background:#ffffffe6;border:1px solid #ffc2d1d1;border-radius:20px;margin-top:18px;padding:16px 18px 20px;box-shadow:0 8px 22px #7450640d}.bp-detail-comments-card .comment-section{border-top:0;margin-top:0;padding-top:0}.bp-detail-comments-card .comment-title{margin-bottom:10px;font-size:1rem}@media (width<=820px){.blueprint-detail-v2{padding:8px 10px 22px}.bp-detail-content-v2{grid-template-columns:1fr;gap:12px}.bp-detail-image-v2 img{max-height:52dvh}.bp-detail-summary-card{border-radius:18px;gap:12px;padding:14px}.bp-detail-heading-v2{align-items:flex-start}.bp-detail-license-panel{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:11px 12px}.bp-detail-primary-button{min-height:36px;padding:0 12px;font-size:.7rem}.bp-detail-comments-card{border-radius:18px;margin-top:12px;padding:14px}}@media (width<=520px){.bp-detail-heading-v2{gap:8px;display:grid}.bp-detail-permission-pill{width:fit-content;max-width:100%}.bp-detail-author-row{align-items:flex-end}.bp-detail-traffic{gap:7px;font-size:.66rem}.bp-detail-specs-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-detail-specs-v2 .spec-item{border-bottom:1px solid #f0e2e8;border-right:1px solid #f0e2e8}.bp-detail-specs-v2 .spec-item:nth-child(2n){border-right:0}.bp-detail-specs-v2 .spec-item:nth-last-child(-n+2){border-bottom:0}.bp-detail-license-panel{grid-template-columns:1fr}.bp-detail-primary-action{justify-content:flex-start}.bp-detail-social-row{align-items:flex-start}.bp-detail-social-actions{flex-wrap:wrap;min-width:0}.bp-detail-social-button{min-height:32px;padding:0 9px;font-size:.67rem}.bp-detail-status-chip{margin-top:2px}}html .blueprint-detail-v2 .bp-detail-back-v2{min-height:32px;box-shadow:none;color:var(--text-light);background:0 0;border:0;border-radius:999px;margin:0 0 10px;padding:0 10px;font-size:.76rem;width:auto!important}html .blueprint-detail-v2 .bp-detail-content-v2{grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:18px;margin-top:0;display:grid}html .blueprint-detail-v2 .bp-detail-image-v2{background:#fff;border:1px solid #ffc2d1db;border-radius:20px;width:auto;min-width:0;max-width:none;box-shadow:0 8px 24px #74506414}html .blueprint-detail-v2 .bp-detail-image-v2 img{object-fit:contain;width:100%;height:auto;max-height:min(64vh,560px);box-shadow:none;border-radius:0;display:block}html .blueprint-detail-v2 .bp-detail-summary-card{background:#ffffffeb;border:1px solid #ffc2d1e6;border-radius:20px;gap:14px;min-width:0;max-width:none;padding:18px;display:grid;box-shadow:0 8px 24px #74506412}html .blueprint-detail-v2 .bp-detail-heading-v2 .bp-detail-title{color:var(--text);margin:0;font-size:clamp(1.22rem,2vw,1.55rem);line-height:1.25}html .blueprint-detail-v2 .bp-detail-heading-v2 .bp-detail-desc{margin:6px 0 0;font-size:.82rem;line-height:1.55}html .blueprint-detail-v2 .bp-detail-author-row .bp-detail-author{flex:initial;min-width:0;font-size:inherit;font-weight:inherit}html .blueprint-detail-v2 .bp-detail-author-row .bp-detail-avatar{border-width:1.5px;width:34px;height:34px}html .blueprint-detail-v2 .bp-detail-specs-v2{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;display:grid}html .blueprint-detail-v2 .bp-detail-specs-v2 .spec-item{min-height:0;font-size:inherit;background:0 0;border:0;border-right:1px solid #f0e2e8;border-radius:0;gap:3px;padding:10px 8px;display:grid}html .blueprint-detail-v2 .bp-detail-specs-v2 .spec-item:last-child{border-right:0}@media (width<=820px){html .blueprint-detail-v2 .bp-detail-content-v2{grid-template-columns:1fr;gap:12px;margin-top:0}html .blueprint-detail-v2 .bp-detail-image-v2 img{height:auto;max-height:52dvh}html .blueprint-detail-v2 .bp-detail-summary-card{border-radius:18px;gap:12px;padding:14px}html .blueprint-detail-v2 .bp-detail-specs-v2{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0}}@media (width<=520px){html .blueprint-detail-v2 .bp-detail-specs-v2{grid-template-columns:repeat(2,minmax(0,1fr))}html .blueprint-detail-v2 .bp-detail-specs-v2 .spec-item{border-bottom:1px solid #f0e2e8;border-right:1px solid #f0e2e8}html .blueprint-detail-v2 .bp-detail-specs-v2 .spec-item:nth-child(2n){border-right:0}html .blueprint-detail-v2 .bp-detail-specs-v2 .spec-item:nth-last-child(-n+2){border-bottom:0}}.commercial-contact-quick-overlay{z-index:360;padding:14px}.commercial-contact-quick-modal{gap:14px;width:min(520px,100vw - 28px);max-height:min(82dvh,620px);display:grid;overflow-y:auto}.commercial-contact-quick-heading{align-items:flex-start;gap:10px;display:flex}.commercial-contact-quick-heading>span{background:var(--pink-bg);border-radius:14px;flex:0 0 42px;place-items:center;width:42px;height:42px;font-size:1.3rem;display:grid}.commercial-contact-quick-heading>div{gap:5px;min-width:0;display:grid}.commercial-contact-quick-heading h2{color:var(--pink);margin:0;font-size:1.08rem}.commercial-contact-quick-heading p{color:var(--text-light);margin:0;font-size:.78rem;line-height:1.6}.commercial-contact-quick-field{gap:5px;display:grid;position:relative}.commercial-contact-quick-field textarea{resize:vertical;min-height:132px}.commercial-contact-quick-field>span{color:var(--text-light);justify-self:end;font-size:.68rem}.commercial-contact-quick-tip{color:var(--pink);text-align:center;margin:-4px 0 0;font-size:.74rem;font-weight:700}@media (width<=820px){.commercial-contact-quick-overlay{align-items:center;padding:10px}.commercial-contact-quick-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 28px);padding:18px 16px}.commercial-contact-quick-heading>span{flex-basis:38px;width:38px;height:38px}.commercial-contact-quick-field textarea{min-height:118px}}.blueprint-edit-modal{width:min(760px,100vw - 28px);max-height:min(90dvh,860px);overflow-y:auto}.blueprint-edit-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.blueprint-edit-header>div{gap:2px;display:grid}.blueprint-edit-header span{color:var(--pink);letter-spacing:.08em;font-size:.68rem;font-weight:850}.blueprint-edit-header .modal-title{color:var(--text);text-align:left;margin:0}.blueprint-edit-preview .share-thumb{object-fit:contain;background:#fff}.blueprint-edit-info-form{gap:10px;min-width:0;margin:0}.blueprint-edit-info-form .comment-textarea{min-height:86px}.blueprint-edit-counter{color:var(--text-light);justify-self:end;margin-top:-6px;font-size:.68rem}.blueprint-edit-snapshot-note{color:var(--text-light);margin:0;font-size:.68rem;line-height:1.5}.blueprint-edit-actions{justify-content:flex-end}.blueprint-edit-actions .btn{min-width:92px;width:auto!important}.profile-card-actions{width:100%;margin-top:8px;flex-wrap:nowrap!important;gap:6px!important;display:grid!important}.profile-card-actions.action-count-1{grid-template-columns:minmax(0,1fr)}.profile-card-actions.action-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card-actions.action-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-card-actions.action-count-4{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-card-actions .profile-card-action{text-overflow:ellipsis;white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;min-height:38px;font-size:.74rem;font-weight:850;line-height:1;display:inline-flex;overflow:hidden;width:100%!important;min-width:0!important;max-width:none!important;padding:6px 4px!important}.profile-card-actions .bp-edit-blueprint-btn{color:#6e58a0!important;background:#faf7ff!important;border-color:#b9a5df!important}.profile-card-actions .bp-license-btn{color:#8d5e14!important;background:#fff8e8!important;border-color:#e7b95e!important}@media (width<=620px){.blueprint-edit-modal{width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:calc(100dvh - 24px)}.blueprint-edit-info-form .comment-textarea{min-height:76px}.profile-card-actions{gap:5px!important}.profile-card-actions .profile-card-action{border-radius:11px;min-height:36px;font-size:.68rem;padding-inline:2px!important}}.bp-list-actions.profile-card-actions .bp-cancel-request-btn{white-space:nowrap;border-radius:999px;flex:none;min-width:82px;min-height:34px;margin-left:auto;padding:5px 13px;font-size:.72rem;font-weight:800;color:#76657d!important;width:auto!important;box-shadow:none!important;background:#fff!important;border:1.5px solid #d8cbdc!important}.bp-list-actions.profile-card-actions .bp-cancel-request-btn:active:not(:disabled){background:#f8f5fa!important;border-color:#c9b1d2!important}.bp-list-actions.profile-card-actions .bp-cancel-request-btn:disabled{cursor:wait;opacity:.55}@media (width<=820px){.bp-list-actions.profile-card-actions .bp-cancel-request-btn{min-width:76px;min-height:32px;padding:4px 11px;font-size:.68rem;width:auto!important}}.admin-bean-overlay{z-index:1500;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#14192280;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.admin-bean-modal{color:#273246;background:#fff;border-radius:18px;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 24px 80px #1419223d}.admin-bean-modal>header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;padding:22px 24px 15px;display:flex}.admin-bean-modal>header span{color:#ad7228;letter-spacing:.14em;font-size:10px;font-weight:850}.admin-bean-modal h2{margin:4px 0;font-size:21px}.admin-bean-modal header p{color:#8a93a4;margin:0;font-size:11px}.admin-bean-modal header p strong{color:#ad7228;font-size:15px}.admin-bean-modal>header>button{color:#8992a2;cursor:pointer;background:0 0;border:0;font-size:26px}.admin-bean-modal form{background:#fafbfc;grid-template-columns:150px minmax(0,1fr) auto;gap:10px;padding:16px 24px;display:grid}.admin-bean-modal form label{color:#6f7a8d;gap:5px;font-size:10px;font-weight:750;display:grid}.admin-bean-modal form input{box-sizing:border-box;height:36px;font:inherit;border:1px solid #dfe3ea;border-radius:8px;outline:0;padding:0 10px;font-size:12px}.admin-bean-modal form input:focus{border-color:#6c63ff;box-shadow:0 0 0 3px #6c63ff1a}.admin-bean-modal form button{color:#fff;height:36px;font:inherit;cursor:pointer;background:#18212f;border:0;border-radius:8px;align-self:end;padding:0 14px;font-size:11px;font-weight:800}.admin-bean-modal form button:disabled{opacity:.5}.admin-bean-error{color:#c8445b;background:#fff2f4;border-radius:8px;margin:12px 24px 0;padding:10px;font-size:11px}.admin-bean-ledger{padding:18px 24px 24px}.admin-bean-ledger h3{margin:0 0 8px;font-size:14px}.admin-bean-ledger>p{color:#9aa2b1;text-align:center;font-size:11px}.admin-bean-ledger>div{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.admin-bean-ledger>div>span{gap:3px;display:grid}.admin-bean-ledger>div>span:last-child{text-align:right}.admin-bean-ledger strong{font-size:12px}.admin-bean-ledger small{color:#9aa2b1;font-size:9px}.admin-bean-ledger .income strong{color:#279d86}.admin-bean-ledger .expense strong{color:#d65368}.admin-bean-button{color:#9b641f;min-height:28px;font:inherit;cursor:pointer;background:#fff9ed;border:1px solid #e0c390;border-radius:7px;padding:0 9px;font-size:10px;font-weight:800}@media (width<=680px){.admin-bean-overlay{align-items:end;padding:0}.admin-bean-modal{border-radius:18px 18px 0 0;max-height:92vh}.admin-bean-modal form{grid-template-columns:1fr}.admin-bean-modal form button{width:100%}}.admin-root,.admin-login-shell{color:#18212f;min-height:100vh;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}.admin-root{background:#f4f6fa}.admin-login-shell{background:radial-gradient(circle at 18% 20%,#6c63ff24,#0000 34%),radial-gradient(circle at 82% 76%,#279d861f,#0000 30%),#f3f5f9;place-items:center;padding:24px;display:grid}.admin-login-card{box-sizing:border-box;background:#fffffff0;border:1px solid #1e2c4114;border-radius:22px;width:min(390px,100vw - 40px);padding:42px;display:grid;box-shadow:0 24px 70px #28334921}.admin-brand-mark{color:#fff;background:#18212f;border-radius:16px;place-items:center;width:52px;height:52px;margin-bottom:22px;font-size:23px;font-weight:900;display:grid;box-shadow:0 9px 24px #18212f38}.admin-eyebrow{color:#6c63ff;letter-spacing:.16em;margin:0 0 6px;font-size:11px;font-weight:850}.admin-login-card h1,.admin-topbar h1,.admin-section-head h2{color:#18212f;letter-spacing:-.03em;margin:0}.admin-login-card h1{font-size:28px}.admin-login-copy{color:#778195;margin:10px 0 30px;font-size:14px;line-height:1.65}.admin-login-card label{color:#445065;gap:8px;font-size:13px;font-weight:700;display:grid}.admin-login-card input,.admin-search input{box-sizing:border-box;color:#18212f;font:inherit;background:#fff;border:1px solid #dbe0e9;outline:none;transition:border-color .15s,box-shadow .15s}.admin-login-card input{border-radius:11px;width:100%;height:48px;padding:0 14px}.admin-login-card input:focus,.admin-search input:focus{border-color:#6c63ff;box-shadow:0 0 0 3px #6c63ff1c}.admin-login-card>button{color:#fff;height:48px;font:inherit;cursor:pointer;background:#18212f;border:0;border-radius:11px;margin-top:18px;font-size:14px;font-weight:800}.admin-login-card>button:disabled{opacity:.55;cursor:not-allowed}.admin-login-card small{color:#9aa2b1;text-align:center;margin-top:16px;font-size:11px}.admin-form-error{color:#d94f67;margin:12px 0 -6px;font-size:12px}.admin-topbar{box-sizing:border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border-bottom:1px solid #e5e8ee;justify-content:space-between;align-items:center;min-height:88px;padding:17px max(24px,50vw - 700px);display:flex}.admin-topbar h1{font-size:22px}.admin-topbar>div>span{color:#8a93a4;margin-top:3px;font-size:11px;display:block}.admin-topbar-actions,.admin-topbar-actions a,.admin-topbar-actions button,.admin-range-tabs,.admin-search,.admin-pagination>div{align-items:center;display:flex}.admin-topbar-actions{gap:8px}.admin-topbar-actions a,.admin-topbar-actions button,.admin-range-tabs button,.admin-search button,.admin-pagination button{box-sizing:border-box;color:#566176;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe3ea;border-radius:8px;padding:0 13px;font-size:12px;font-weight:700;text-decoration:none}.admin-topbar-actions .danger{color:#d94f67}.admin-content{width:min(1400px,100% - 48px);margin:0 auto;padding:34px 0 60px}.admin-alert{color:#ba3e55;background:#fff4f6;border:1px solid #f2c5cc;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:12px 14px;font-size:13px;display:flex}.admin-alert button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:20px}.admin-section-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.admin-section-head h2{font-size:22px}.admin-section-head h2 span{color:#9aa2b1;font-size:13px;font-weight:650}.admin-range-tabs{background:#e9ecf2;border-radius:10px;gap:4px;padding:4px}.admin-range-tabs button{color:#737d90;background:0 0;border:0;min-height:30px}.admin-range-tabs button.active{color:#18212f;background:#fff;box-shadow:0 2px 8px #25304417}.admin-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;transition:opacity .12s;display:grid}.admin-metric-grid.is-loading,.admin-table-shell.is-loading{opacity:.48}.admin-metric-card{background:#fff;border:1px solid #e5e8ee;border-radius:14px;min-width:0;padding:19px 19px 13px;box-shadow:0 8px 28px #2b364c0b}.admin-metric-card>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-metric-card>header div{gap:3px;display:grid}.admin-metric-card>header span{color:#4e596c;font-size:13px;font-weight:750}.admin-metric-card>header small{color:#9aa2b1;font-size:10px}.admin-metric-card>header strong{color:#18212f;letter-spacing:-.035em;font-size:24px}.admin-chart-wrap{margin-top:13px}.admin-chart-wrap svg{width:100%;display:block;overflow:visible}.admin-chart-axis{stroke:#edf0f4;stroke-width:1px}.admin-chart-dates{color:#a0a8b6;grid-template-columns:1fr auto 1fr;margin-top:-2px;font-size:9px;display:grid}.admin-chart-dates span:nth-child(2){color:#838c9c;text-align:center}.admin-chart-dates span:last-child{text-align:right}.admin-users-section{margin-top:42px}.admin-search{gap:7px}.admin-search input{border-radius:8px;width:230px;height:36px;padding:0 12px;font-size:12px}.admin-search button{color:#fff;background:#18212f;border-color:#18212f;height:36px}.admin-table-shell{background:#fff;border:1px solid #e3e7ed;border-radius:14px;transition:opacity .12s;overflow-x:auto}.admin-table-shell table{border-collapse:collapse;width:100%;min-width:1040px}.admin-table-shell th,.admin-table-shell td{color:#566176;text-align:left;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:13px 15px;font-size:12px}.admin-table-shell th{color:#8a93a4;letter-spacing:.04em;text-transform:uppercase;background:#fafbfc;font-size:10px;font-weight:800}.admin-table-shell tbody tr:last-child td{border-bottom:0}.admin-table-shell tbody tr:hover td{background:#fbfcff}.admin-id-cell{font-variant-numeric:tabular-nums;color:#9aa2b1!important}.admin-user-cell{align-items:center;gap:10px;min-width:190px;display:flex}.admin-user-cell img,.admin-avatar-fallback{object-fit:cover;border-radius:10px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.admin-avatar-fallback{color:#6c63ff;background:#edf0ff;font-weight:850}.admin-user-cell div,.admin-number-cell{gap:3px;display:grid}.admin-user-cell strong,.admin-number-cell strong{color:#273246;font-weight:750}.admin-user-cell span,.admin-number-cell span{color:#9aa2b1;font-size:10px}.admin-bio{text-overflow:ellipsis;white-space:nowrap;max-width:170px;display:block;overflow:hidden}.admin-number-cell{font-variant-numeric:tabular-nums}.admin-empty{height:120px;color:#9aa2b1!important;text-align:center!important}.admin-pagination{color:#8a93a4;justify-content:space-between;align-items:center;margin-top:13px;font-size:11px;display:flex}.admin-pagination>div{gap:7px}.admin-pagination button:disabled{opacity:.45;cursor:not-allowed}@media (width<=1040px){.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.admin-login-card{padding:30px 24px}.admin-topbar{align-items:flex-start;gap:16px;padding:16px}.admin-topbar-actions a{display:none}.admin-content{width:calc(100% - 28px);padding-top:24px}.admin-section-head{flex-direction:column;align-items:stretch}.admin-range-tabs{align-self:flex-start}.admin-metric-grid{grid-template-columns:minmax(0,1fr)}.admin-search input,.admin-search{width:100%}.admin-search input{flex:1}}.admin-content{box-sizing:border-box;padding-right:214px;position:relative}.admin-feature-nav{z-index:20;box-sizing:border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border:1px solid #e3e7ed;border-radius:14px;width:180px;padding:10px;display:grid;position:fixed;top:112px;right:max(24px,50vw - 700px);box-shadow:0 10px 34px #2b364c14}.admin-feature-nav>span{color:#9aa2b1;letter-spacing:.14em;padding:7px 9px 10px;font-size:9px;font-weight:850}.admin-feature-nav a{color:#4f5a6e;border-radius:9px;gap:2px;padding:10px 9px;text-decoration:none;transition:background .12s,color .12s;display:grid}.admin-feature-nav a:hover,.admin-feature-nav a:focus-visible{color:#5148d8;background:#f0efff;outline:none}.admin-feature-nav strong{font-size:12px}.admin-feature-nav small{color:#9aa2b1;font-size:9px;line-height:1.45}#admin-dashboard,#admin-users,#admin-donations{scroll-margin-top:108px}.admin-donations-section{margin-top:42px}.admin-donation-head{align-items:center}.admin-donation-filters{align-items:center;gap:8px;display:flex}.admin-donation-filters select{color:#566176;height:36px;font:inherit;background:#fff;border:1px solid #dbe0e9;border-radius:8px;outline:none;padding:0 30px 0 11px;font-size:11px;font-weight:700}.admin-donation-filters select:focus{border-color:#6c63ff;box-shadow:0 0 0 3px #6c63ff1c}.admin-donation-table table{min-width:1180px}.admin-donation-amount{color:#bf7623;font-variant-numeric:tabular-nums;font-size:14px}.admin-order-cell{gap:5px;max-width:260px;display:grid}.admin-order-cell code{color:#344056;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;overflow:hidden}.admin-order-cell span{color:#9aa2b1;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.admin-status-badge{color:#6c7688;white-space:nowrap;background:#eef1f5;border-radius:999px;align-items:center;min-height:25px;padding:0 8px;font-size:9px;font-weight:800;display:inline-flex}.admin-status-badge.success{color:#268169;background:#eaf8f2}.admin-status-badge.pending{color:#a56b1f;background:#fff6e5}.admin-status-badge.failed{color:#c2465d;background:#fff0f2}@media (width<=1180px){.admin-content{padding-right:0}.admin-feature-nav{width:100%;margin-bottom:26px;display:flex;position:sticky;top:8px;overflow-x:auto}.admin-feature-nav>span{display:none}.admin-feature-nav a{min-width:150px}}@media (width<=680px){.admin-feature-nav{gap:4px;margin-bottom:22px;padding:6px}.admin-feature-nav a{min-width:112px;padding:8px}.admin-feature-nav small{display:none}.admin-donation-head,.admin-donation-filters{flex-direction:column;align-items:stretch}.admin-donation-filters,.admin-donation-filters .admin-search{width:100%}}:root{--pink:#ff8fab;--pink-light:#ffc2d1;--pink-bg:#fff0f3;--purple:#c9b1ff;--purple-light:#e8deff;--blue:#a0d2db;--blue-light:#d4f0f7;--yellow:#ffe66d;--green:#b8e6c8;--orange:#ffb088;--text:#5a4a6a;--text-light:#9a8aaa;--bg:#fef6f9;--card:#fff;--shadow:#ff8fab26;--radius:16px}*{box-sizing:border-box;margin:0;padding:0}button,[role=button]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}body{background:var(--bg);color:var(--text);background-image:radial-gradient(circle at 10% 20%,#ff8fab0f 0%,#0000 50%),radial-gradient(circle at 90% 80%,#c9b1ff0f 0%,#0000 50%);min-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}.page{max-width:860px;margin:0 auto;padding:20px 16px 40px}.page-center{text-align:center}.hero{text-align:center;padding:24px 16px 16px}.hero h1{color:var(--pink);text-shadow:2px 2px #ff8fab26;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:2em}.hero .subtitle{color:var(--text-light);margin-top:4px;font-size:.95em;font-weight:600}.sparkle-row{justify-content:center;gap:8px;margin:6px 0;font-size:1.1em;display:flex}.hero-mascot{margin-bottom:6px;animation:2s ease-in-out infinite bounce}.layout{height:100vh;display:flex;overflow:visible}.panel-left{background:linear-gradient(180deg, var(--pink-bg) 0%, var(--bg) 100%);border-right:2px solid var(--pink-light);flex-direction:column;flex-shrink:0;gap:12px;width:340px;min-width:300px;padding:16px;display:flex;overflow-y:auto}.panel-right{flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;position:relative;overflow-y:auto}.kawaii-card{background:var(--card);border-radius:var(--radius);box-shadow:0 3px 16px var(--shadow), 0 0 0 2px var(--pink-light);padding:20px;transition:transform .15s,box-shadow .15s}.kawaii-card.compact{padding:14px 16px}.card-title{color:var(--pink);align-items:center;gap:6px;margin-bottom:10px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.12em;font-weight:900;display:flex}.card-title .emoji{font-size:1.15em}.upload-zone{border:3px dashed var(--pink-light);text-align:center;cursor:pointer;background:var(--pink-bg);border-radius:14px;padding:36px 20px;transition:all .2s}.upload-zone:hover{border-color:var(--pink);background:#fff5f7}.upload-zone.dragover{border-color:var(--purple);background:var(--purple-light)}.upload-zone .mascot-wrap{margin-bottom:10px}.upload-zone p{color:var(--text-light);margin-bottom:8px;font-weight:600}.upload-zone .hint{color:#bbb;font-size:.78em}.preview-wrap{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.preview-wrap img{border:2px solid var(--pink-light);image-rendering:auto;border-radius:10px;max-width:100%;max-height:160px}.preview-wrap .info{color:var(--text-light);margin:6px 0;font-size:.8em;font-weight:600}.preview-source-actions{flex-wrap:wrap;justify-content:center;gap:5px;width:100%;display:flex}.preview-source-actions .btn{white-space:nowrap;border-radius:999px;width:auto;min-width:0;min-height:28px;padding:3px 10px;font-size:.75em}.preview-tabs{border:1px solid var(--pink);border-radius:6px;gap:2px;width:100%;margin-bottom:6px;display:flex;overflow:hidden}.preview-tabs button{background:var(--bg);cursor:pointer;color:var(--text);border:none;flex:1;padding:6px 4px;font-size:.75em;font-weight:500}.preview-tabs button:first-child{border-radius:5px 0 0 5px}.preview-tabs button:last-child{border-radius:0 5px 5px 0}.preview-tabs button.active{background:var(--pink);color:#fff}.image-fullscreen-overlay{z-index:200;cursor:zoom-out;background:#000000d9;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.image-fullscreen-overlay img{max-width:90vw;max-height:90vh;image-rendering:pixelated;border-radius:12px;box-shadow:0 8px 40px #00000080}.image-fullscreen-close{color:#fff;cursor:pointer;opacity:.7;font-size:1.5em;position:absolute;top:20px;right:24px}.image-fullscreen-close:hover{opacity:1}.image-float-overlay{z-index:150;border:2px solid var(--pink-light);touch-action:none;background:#fffffffa;border-radius:18px;flex-direction:column;min-width:280px;min-height:240px;display:flex;position:fixed;overflow:hidden;box-shadow:0 14px 42px #78415a2e}.float-header{border-bottom:1.5px solid var(--pink-light);-webkit-user-select:none;user-select:none;background:#fffafcf5;flex-shrink:0;align-items:center;gap:10px;padding:8px 10px;display:flex}.float-controls{border:1.5px solid var(--pink-light);background:#fff;border-radius:999px;align-items:center;gap:4px;margin-left:auto;padding:2px;display:flex}.float-controls button{border:1.5px solid var(--pink-light);min-height:28px;color:var(--pink);cursor:pointer;font:inherit;white-space:nowrap;background:#fff;border-radius:999px;width:28px;padding:0;font-size:.76em;font-weight:850;line-height:1}.float-controls button:hover,.float-controls button:hover{border-color:var(--pink);background:var(--pink-bg)}.float-controls span{color:var(--text-light);text-align:center;min-width:42px;font-size:.72em;font-weight:850}.float-preview-tabs{border-color:var(--pink-light);background:var(--pink-bg);border-radius:999px;flex:0 0 108px;margin:0}.float-preview-tabs button{min-height:28px;padding:3px 8px;font-size:.76em;font-weight:850;border-radius:999px!important}.float-preview-title{border:1.5px solid var(--pink-light);background:var(--pink-bg);min-height:30px;color:var(--pink);border-radius:999px;align-items:center;padding:0 12px;font-size:.82em;font-weight:900;display:inline-flex}.float-content{cursor:grab;background:#fff;flex:1;justify-content:flex-start;align-items:flex-start;min-height:0;padding:10px;display:flex;overflow:hidden}.float-content.pickable{cursor:crosshair}.float-content.dragging-image{cursor:grabbing}.float-content img{image-rendering:auto;-webkit-user-select:none;user-select:none;pointer-events:none;-webkit-touch-callout:none;border-radius:10px;width:auto;max-width:none;height:auto;max-height:none;transition:none}.float-content.dragging-image img{transition:none}.image-preview-resize{opacity:.78;touch-action:none;width:24px;height:24px;position:absolute}.image-preview-resize:after{content:"";border-color:var(--pink);border-style:solid;width:12px;height:12px;position:absolute}.image-preview-resize-nw{cursor:nwse-resize;top:0;left:0}.image-preview-resize-nw:after{border-width:2px 0 0 2px;top:5px;left:5px}.image-preview-resize-ne{cursor:nesw-resize;top:0;right:0}.image-preview-resize-ne:after{border-width:2px 2px 0 0;top:5px;right:5px}.image-preview-resize-sw{cursor:nesw-resize;bottom:0;left:0}.image-preview-resize-sw:after{border-width:0 0 2px 2px;bottom:5px;left:5px}.image-preview-resize-se{cursor:nwse-resize;bottom:0;right:0}.image-preview-resize-se:after{border-width:0 2px 2px 0;bottom:5px;right:5px}.cartoon-confirm-compare{justify-content:center;gap:20px;margin-bottom:20px;display:flex}.cartoon-confirm-item{text-align:center}.cartoon-confirm-item p{margin-bottom:8px;font-weight:600}.cartoon-confirm-img{border-radius:8px;max-width:250px;max-height:250px}.cartoon-confirm-img.original{border:2px solid #eee}.cartoon-confirm-img.cartoon{border:2px solid var(--pink)}.btn{cursor:pointer;border:none;border-radius:50px;align-items:center;gap:5px;padding:8px 18px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.9em;font-weight:700;transition:all .12s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-pink{background:var(--pink);color:#fff;box-shadow:0 3px 10px #ff8fab40}.btn-pink:hover{background:#ff7da0}.btn-purple{background:var(--purple);color:#fff;box-shadow:0 3px 10px #c9b1ff40}.btn-blue{background:var(--blue);color:#fff;box-shadow:0 3px 10px #a0d2db40}.btn-gradient{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;font-weight:600;box-shadow:0 3px 15px #667eea66}.btn-gradient:hover{transform:translateY(-2px);box-shadow:0 5px 20px #667eea80}.btn-success{color:#fff;background:linear-gradient(135deg,#11998e 0%,#38ef7d 100%);border:none;font-weight:600;box-shadow:0 3px 15px #38ef7d4d}.btn-success:hover{transform:translateY(-2px)}.btn-outline{color:var(--pink);border:2px solid var(--pink-light);box-shadow:none;background:#fff}.btn-outline.active{background:var(--pink);color:#fff;border-color:var(--pink);box-shadow:0 3px 10px #ff8fab40}.btn-sm{padding:5px 12px;font-size:.82em}.btn-lg{border-radius:12px;padding:14px 32px;font-size:1.15em}.btn-row{flex-wrap:wrap;gap:6px;display:flex}.color-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:4px;display:grid}.color-mode-hint{color:var(--text-light);margin:2px 0 6px;font-size:.76em;font-weight:800;line-height:1.35}.color-mode-options .btn{white-space:nowrap;border-radius:999px;width:100%;min-height:31px;padding:4px 8px;font-size:.78em}.slider-wrap{padding:2px 0}.slider-labels{color:var(--text-light);justify-content:space-between;align-items:center;margin-bottom:2px;font-size:.75em;font-weight:700;display:flex}.slider-value{color:var(--pink);background:var(--pink-bg);border:2px solid var(--pink-light);text-align:center;border-radius:16px;min-width:72px;padding:1px 12px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.3em}.kawaii-slider{appearance:none;background:linear-gradient(90deg, var(--pink-light), var(--purple-light), var(--blue-light));cursor:pointer;border:2px solid var(--pink-light);border-radius:6px;outline:none;width:100%;height:12px}.kawaii-slider:hover{box-shadow:0 0 10px #ff8fab40}.kawaii-slider::-webkit-slider-thumb{-webkit-appearance:none;background:var(--pink);cursor:pointer;border:3px solid #fff;border-radius:50%;width:26px;height:26px;transition:transform .12s;box-shadow:0 2px 8px #ff8fab59}.kawaii-slider::-webkit-slider-thumb:hover{transform:scale(1.12)}.kawaii-slider::-webkit-slider-thumb:active{background:#ff7da0}.kawaii-slider::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:24px;height:24px;box-shadow:0 2px 8px #ff8fab59}.slider-marks{justify-content:space-between;padding:4px 6px 0;display:flex}.slider-marks span{color:var(--text-light);cursor:pointer;border-radius:8px;padding:1px 6px;font-size:.68em;font-weight:700;transition:all .12s}.slider-marks span:hover{color:var(--pink);background:var(--pink-bg)}.size-hint{color:var(--text-light);margin-top:4px;font-size:.78em;font-weight:600}.paper-size-summary{background:var(--pink-bg);color:var(--text-light);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:.82em;font-weight:800;display:flex}.paper-size-summary strong{color:var(--text);font-size:1.08em}.desktop-size-sections{flex-direction:column;gap:7px;display:flex}.desktop-size-section{border:2px solid var(--pink-light);background:#fff;border-radius:12px;padding:8px 10px}.desktop-size-section.recognition{background:#fff}.desktop-size-section.paper{cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s}.desktop-size-section.paper.selected{border-color:var(--pink);background:#fff5f9f5;box-shadow:inset 0 0 0 1px #ff8fab33}.desktop-size-section-head{color:var(--text-light);justify-content:space-between;align-items:center;gap:8px;font-size:.8em;font-weight:850;display:flex}.desktop-size-section-head strong{color:var(--text);font-size:1.08em}.desktop-paper-title-with-hint{flex-direction:column;gap:2px;min-width:0;display:flex}.desktop-paper-title-with-hint span{color:var(--text)}.desktop-paper-title-with-hint em{color:var(--text-light);font-size:.84em;font-style:normal;font-weight:700}.desktop-recognition-size-control{color:var(--text-light);flex-direction:column;gap:5px;margin-top:5px;font-size:.78em;font-weight:800;display:flex}.desktop-recognition-size-control .slider-wrap{margin-top:0}.recognition-control-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.recognition-control-head strong{border:2px solid var(--pink-light);min-width:46px;color:var(--pink);text-align:center;background:#fff5f9c2;border-radius:999px;padding:2px 10px;font-size:1.02em;font-weight:900}.recognition-slider-row{grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;display:grid}.recognition-slider-row .step-btn{width:32px;height:32px;font-size:.96em}.recognition-range-labels{color:var(--text-light);justify-content:space-between;padding:0 40px;font-size:.75em;font-weight:800;display:flex}.recognition-preset-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.recognition-preset-row button{border:2px solid var(--pink-light);min-height:29px;color:var(--text-light);font:inherit;cursor:pointer;background:#fff;border-radius:999px;font-size:.76em;font-weight:900;transition:all .12s}.recognition-preset-row button:hover,.recognition-preset-row button.active{border-color:var(--pink);background:var(--pink);color:#fff}.paper-size-grid{grid-template-columns:1fr 1fr;gap:6px;margin-top:7px;display:grid}.paper-size-editor{border:2px dashed var(--pink-light);background:#ffffffc7;border-radius:12px;margin-top:7px;padding:8px}.paper-size-editor .paper-size-grid{margin-top:0}.paper-size-grid label{color:var(--text-light);flex-direction:column;gap:4px;font-size:.78em;font-weight:800;display:flex}.paper-size-input{border:2px solid var(--pink-light);width:100%;min-width:0;min-height:34px;color:var(--text);font:inherit;text-align:center;background:#fff;border-radius:12px;outline:none;font-size:1.06em;font-weight:900;transition:border-color .12s,box-shadow .12s,background .12s}.paper-size-input:focus{border-color:var(--pink);background:#fff5f9bd;box-shadow:0 0 0 3px #ffa6c238}.paper-crop-controls{color:var(--text-light);flex-direction:column;gap:6px;margin-top:8px;font-size:.78em;font-weight:800;display:flex}.paper-crop-pad{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.paper-crop-pad button,.paper-reset-btn{border:2px solid var(--pink-light);min-height:32px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;font-size:.82em;font-weight:900}.paper-crop-pad button:disabled,.paper-reset-btn:disabled{opacity:.38}.paper-reset-btn{border-color:var(--blue-light);width:100%;color:var(--text);margin-top:8px}.desktop-size-section .paper-reset-btn{border-color:var(--pink-light);width:auto;min-height:28px;color:var(--pink);flex:none;margin-top:0;padding:0 12px}.paper-size-hint{color:var(--text-light);margin:5px 0 0;font-size:.74em;font-weight:800;line-height:1.35}.toggle-list{flex-direction:column;gap:6px;display:flex}.toggle-item{cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:5px 8px;font-size:.85em;font-weight:600;transition:background .12s;display:flex}.toggle-item:hover{background:var(--pink-bg)}.toggle-item input[type=checkbox]{display:none}.toggle-check{background:#ddd;border:2px solid #ccc;border-radius:10px;flex-shrink:0;width:36px;height:20px;transition:background .2s;position:relative}.toggle-check:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000026}.toggle-item input:checked+.toggle-check{background:var(--pink);border-color:var(--pink)}.toggle-item input:checked+.toggle-check:after{transform:translate(16px)}.sub-slider{border:1.5px solid var(--pink-light);background:#fff5f985;border-radius:13px;flex-direction:column;gap:6px;margin:3px 8px 4px;padding:7px 8px;display:flex}.sub-slider-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.sub-label{min-width:0;color:var(--purple);font-size:.8em;font-weight:800}.sub-slider-head strong{color:var(--pink);font-size:.9em;font-weight:900}.sub-slider-track{grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:7px;display:grid}.sub-slider-track .kawaii-slider.mini{width:100%;min-width:0}.kawaii-slider.mini{flex:1;max-width:none;height:6px}.kawaii-slider.mini::-webkit-slider-thumb{width:18px;height:18px}.kawaii-slider.mini::-moz-range-thumb{width:16px;height:16px}.empty-state{color:var(--text-light);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;font-weight:600;display:flex}.empty-state .hint{opacity:.6;font-size:.8em}.progress-overlay{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:2px solid var(--pink-light);pointer-events:none;background:#ffffffe0;align-items:center;gap:10px;padding:6px 20px;display:flex;position:absolute;top:0;left:0;right:0}.progress-bar-slim{background:var(--pink-bg);border-radius:3px;flex:1;height:6px;overflow:hidden}.progress-bar-slim .progress-bar-inner{background:linear-gradient(135deg, #ffffff5c 25%, transparent 25%, transparent 50%, #ffffff5c 50%, #ffffff5c 75%, transparent 75%, transparent), linear-gradient(90deg, var(--pink), var(--purple));background-size:18px 18px,100% 100%;border-radius:3px;height:100%;transition:width .2s}.progress-bar-slim .progress-bar-inner.active{animation:.75s linear infinite progressStripes}.progress-hint{color:var(--purple);white-space:nowrap;flex-shrink:0;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.72em}@keyframes progressStripes{0%{background-position:0 0,0 0}to{background-position:18px 0,0 0}}.compare-col{flex-direction:column;align-items:center;gap:8px;display:flex}.compare-item-full{text-align:center;width:100%}.compare-label{color:var(--pink);margin-bottom:6px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.95em;display:block}.compare-item-full canvas{max-width:100%;max-height:480px;image-rendering:pixelated;border:2px solid var(--pink-light);background:#fff;border-radius:10px}.compare-arrow-down{color:var(--pink);font-size:1.4em;line-height:1}.stats-summary{background:var(--pink-bg);border-radius:10px;margin-bottom:10px;padding:8px 12px;font-size:.85em;font-weight:600;line-height:1.8}.color-grid{flex-wrap:wrap;gap:5px;display:flex}.color-chip{border:2px solid var(--pink-light);color:var(--text);cursor:pointer;background:#fff;border-radius:16px;align-items:center;gap:4px;padding:3px 8px 3px 3px;font-family:inherit;font-size:.72em;font-weight:700;display:inline-flex}.color-chip.soloed{background:var(--pink);border-color:var(--pink);color:#fff}.color-swatch{border:1.5px solid #0000001a;border-radius:50%;flex-shrink:0;width:16px;height:16px}.grid-scroll{padding:6px 0;overflow-x:auto}.grid-scroll canvas{border-radius:6px;max-width:100%;display:block}.download-area{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.footer{text-align:center;color:var(--text-light);margin-top:30px;padding:16px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.85em}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes float{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-4px)rotate(3deg)}}.sparkle-row span{animation:3s ease-in-out infinite float}.sparkle-row span:nth-child(2){animation-delay:.3s}.sparkle-row span:nth-child(3){animation-delay:.6s}.sparkle-row span:nth-child(4){animation-delay:.9s}.sparkle-row span:nth-child(5){animation-delay:1.2s}@media (width<=820px){.layout{flex-direction:column;height:auto;overflow:visible}.panel-left{border-right:none;border-bottom:2px solid var(--pink-light);width:100%;min-width:auto;max-height:none;overflow:visible}.panel-right{overflow:visible}}@media (width<=1023px){.sidebar.open{width:240px}}@media (width<=820px){.sidebar{display:none!important}.header-logo h1{font-size:1em}}.panel-left::-webkit-scrollbar{width:6px}.panel-right::-webkit-scrollbar{width:6px}.panel-left::-webkit-scrollbar-thumb{background:var(--pink-light);border-radius:3px}.panel-right::-webkit-scrollbar-thumb{background:var(--pink-light);border-radius:3px}.panel-left::-webkit-scrollbar-track{background:0 0}.panel-right::-webkit-scrollbar-track{background:0 0}.floating-toolbar-wrapper{z-index:10;flex-direction:column;align-items:center;gap:6px;max-width:95vw;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.floating-toolbar-wrapper.collapsed{gap:0;bottom:10px}.floating-toolbar-toggle{border:1.5px solid var(--pink-light);width:42px;min-height:24px;color:var(--pink);font:inherit;cursor:pointer;touch-action:manipulation;background:#ffffffeb;border-radius:999px;padding:0;font-size:.82em;font-weight:900;line-height:1;box-shadow:0 3px 12px #ff8fab29}.floating-toolbar-toggle:hover{border-color:var(--pink);background:var(--pink-bg)}.floating-toolbar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 16px var(--shadow), 0 0 0 2px var(--pink-light);white-space:nowrap;background:#ffffffeb;border-radius:50px;align-items:center;gap:4px;padding:6px 10px;display:flex;overflow-x:auto}.floating-toolbar .btn-sm{white-space:nowrap;padding:4px 8px;font-size:.78em}.floating-ai-tool-button{background:linear-gradient(135deg, var(--pink), #b99cf4);color:#fff;border:1px solid #c9b1ffc7;justify-content:center;gap:4px;overflow:hidden;box-shadow:0 3px 12px #ae80e047}.floating-ai-tool-button:hover{color:#fff;background:linear-gradient(135deg,#ff7da0,#a98ce8);border-color:#b99cf4}.floating-ai-tool-button span{font-weight:900}.floating-ai-tool-button:disabled{color:#fff;opacity:.72}.floating-toolbar .trace-background-control,.mobile-tool-strip .trace-background-control{max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;flex:none;gap:4px;padding:0}.toolbar-divider{color:var(--pink-light);font-weight:300}.paint-palette{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 16px var(--shadow), 0 0 0 2px var(--pink-light);background:#ffffffeb;border-radius:16px;flex-direction:column;gap:5px;max-width:min(560px,95vw);padding:7px 10px;display:flex}.eraser-tool-panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 16px var(--shadow), 0 0 0 2px var(--pink-light);background:#ffffffeb;border-radius:16px;flex-direction:column;gap:5px;max-width:min(420px,95vw);padding:7px 10px;display:flex}.tool-settings-panel{flex-direction:column;gap:4px;min-width:0;display:flex}.tool-settings-row{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow-x:auto}.tool-settings-main{flex-wrap:nowrap;flex:none;align-items:center;gap:6px;min-width:0;display:flex}.paint-palette-current{flex-shrink:0;min-width:60px}.paint-palette-current-chip{align-items:center;gap:4px;font-size:.78em;font-weight:700;display:flex}.paint-palette-current-dot{border:1.5px solid #0000001a;border-radius:50%;width:16px;height:16px}.paint-palette-current-empty{color:var(--text-light);font-size:.75em}.brush-size-control{border:1.5px solid var(--pink-light);color:var(--text-light);white-space:nowrap;background:#fff;border-radius:999px;flex:none;align-items:center;gap:5px;padding:3px 6px;font-size:.74em;font-weight:850;display:inline-flex}.brush-size-options{align-items:center;gap:2px;display:inline-flex}.brush-size-options button{width:24px;height:24px;color:var(--text);font:inherit;background:0 0;border:none;border-radius:50%;font-size:.92em;font-weight:900;min-height:24px!important;box-shadow:none!important;padding:0!important}.brush-size-options button.active{background:var(--pink);color:#fff}.symmetry-toggle{border:1.5px solid var(--pink-light);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:999px;flex:none;font-size:.74em;font-weight:850;min-height:26px!important;box-shadow:none!important;padding:2px 8px!important}.symmetry-toggle.active{border-color:var(--pink);background:var(--pink);color:#fff}.symmetry-control{border:1.5px solid var(--pink-light);color:var(--text-light);white-space:nowrap;background:#fff;border-radius:999px;flex:none;align-items:center;gap:3px;padding:2px 4px;font-size:.74em;font-weight:850;display:inline-flex}.symmetry-control-options{align-items:center;gap:1px;display:inline-flex}.symmetry-control-options button{min-width:22px;height:22px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:11px;font-size:.92em;font-weight:900;min-height:22px!important;box-shadow:none!important;padding:0 5px!important}.symmetry-control-options button:active{background:var(--pink);color:#fff}.prefix-filter{flex-shrink:0;align-items:center;gap:3px;width:100%;padding:1px;display:flex;overflow-x:auto}.prefix-filter button{border:1.5px solid var(--pink-light);min-width:24px;height:24px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:12px;flex:none;font-size:.74em;font-weight:850;min-height:24px!important;box-shadow:none!important;padding:0 7px!important}.prefix-filter button.active{background:var(--pink);border-color:var(--pink);color:#fff}.paint-palette-grid{gap:3px;width:100%;padding:2px;display:flex;overflow-x:auto}.paint-swatch{cursor:pointer;border:2px solid #0000;border-radius:4px;flex-direction:column;flex-shrink:0;align-items:center;gap:1px;padding:2px;display:flex}.paint-swatch-color{border:1px solid #00000014;border-radius:4px;width:22px;height:22px}.paint-swatch-code{color:var(--text-light);white-space:nowrap;text-overflow:ellipsis;max-width:32px;font-size:.55em;font-weight:600;overflow:hidden}.eyedropper-overlay{z-index:200;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.eyedropper-panel{background:var(--card);border-radius:var(--radius);box-shadow:0 8px 32px var(--shadow);flex-direction:column;align-items:center;width:85vw;max-width:900px;height:80vh;padding:12px;display:flex}.eyedropper-header{width:100%;color:var(--text-light);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.8em;font-weight:600;display:flex}.eyedropper-zoom-label{background:var(--pink-bg);color:var(--pink);border-radius:10px;padding:2px 8px;font-size:.85em;font-weight:700}.eyedropper-viewport{border:2px solid var(--pink-light);background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0 0/16px 16px;border-radius:8px;flex:1;justify-content:center;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.eyedropper-touch-magnifier{z-index:4;pointer-events:none;background:#f4f4f5;border:2px solid #fffffff5;border-radius:14px;width:128px;height:128px;position:absolute;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 8px 24px #3c2d4640,0 0 0 1px #ffc2d1d1}.eyedropper-touch-magnifier-stage{transform-origin:0 0;position:absolute;top:0;left:0}.eyedropper-touch-magnifier-stage img{object-fit:fill;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;width:100%;max-width:none;height:100%;max-height:none;position:absolute;top:0;left:0}.eyedropper-touch-magnifier span{background:#ffffffbd;border:1.5px solid #231f26e0;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffdb}.eyedropper-viewport canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;max-width:100%;max-height:100%;transition:transform .1s}.eyedropper-actions{gap:8px;margin-top:8px;display:flex}.grid-align-overlay{z-index:200;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.grid-align-panel{background:var(--card);border-radius:var(--radius);box-shadow:0 8px 32px var(--shadow);flex-direction:column;width:90vw;max-width:1000px;height:88vh;padding:14px;display:flex}.grid-align-header{justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.95em;display:flex}.grid-align-hint{color:var(--text-light);font-size:.8em}.grid-align-controls{background:var(--pink-bg);border-radius:10px;flex-wrap:wrap;gap:16px;margin-bottom:8px;padding:8px;display:flex}.grid-align-group{align-items:center;gap:4px;font-size:.78em;font-weight:600;display:flex}.grid-align-group label{min-width:48px;color:var(--text-light)}.grid-align-group .btn-sm{min-width:24px;padding:2px 6px;font-size:.75em}.grid-align-value{text-align:center;min-width:36px;color:var(--pink);font-weight:700}.grid-align-viewport{border:2px solid var(--pink-light);background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0 0/16px 16px;border-radius:8px;flex:1;justify-content:center;align-items:center;display:flex;overflow:hidden}.grid-align-viewport canvas{max-width:100%;max-height:100%;transition:transform .1s}.grid-align-tip{text-align:center;color:var(--text-light);margin:6px 0;font-size:.72em}.grid-align-actions{justify-content:flex-end;gap:8px;display:flex}.konva-container{touch-action:none;overscroll-behavior:contain;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:relative}.konva-container.crop-active{cursor:grab}.konva-container.crop-active:active{cursor:grabbing}.paper-crop-frame{z-index:12;pointer-events:none;box-sizing:border-box;border:3px solid #ff80aaf2;border-radius:10px;position:absolute;box-shadow:0 0 0 2px #ffffffeb,0 4px 18px #ff80aa2e}.paper-crop-edge,.paper-crop-handle{border:2px solid var(--pink);background:#ffffffeb;display:block;position:absolute;box-shadow:0 2px 8px #ff80aa52}.paper-crop-edge.top,.paper-crop-edge.bottom{border-radius:999px;width:48px;height:8px;margin-left:-24px;left:50%}.paper-crop-edge.left,.paper-crop-edge.right{border-radius:999px;width:8px;height:48px;margin-top:-24px;top:50%}.paper-crop-edge.top{top:-6px}.paper-crop-edge.right{right:-6px}.paper-crop-edge.bottom{bottom:-6px}.paper-crop-edge.left{left:-6px}.paper-crop-handle{border-radius:6px;width:18px;height:18px}.paper-crop-handle.top-left{top:-9px;left:-9px}.paper-crop-handle.top-right{top:-9px;right:-9px}.paper-crop-handle.bottom-left{bottom:-9px;left:-9px}.paper-crop-handle.bottom-right{bottom:-9px;right:-9px}.konva-container.tool-active{cursor:crosshair}.konva-container.browse-active{cursor:grab}.konva-container .konvajs-content{z-index:1;position:relative}.canvas-trace-background-clip{z-index:0;pointer-events:none;position:absolute;overflow:hidden}.canvas-trace-background{object-fit:contain;opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;transition:opacity 80ms linear;position:absolute}.trace-background-adjust-surface{z-index:3;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border:2px solid #ff2d8eb8;position:absolute;box-shadow:inset 0 0 0 1px #ffffffd1}.trace-background-adjust-surface.dragging{cursor:grabbing}.craft-cell-locator{z-index:19;color:#fff;letter-spacing:.02em;pointer-events:none;white-space:nowrap;background:#ff2d8eeb;border-radius:999px;padding:5px 14px;font-size:.82em;font-weight:800;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #ff2d8e52}.craft-ruler-overlay{z-index:8;pointer-events:none;position:absolute;inset:0}.craft-ruler-label{color:#3d334dad;text-align:center;min-width:18px;box-shadow:none;text-shadow:0 1px #ffffffb3;background:#ffffff8f;border:none;border-radius:3px;padding:1px 3px;font-size:10px;font-weight:800;line-height:1.1;position:absolute}.craft-ruler-label-col{transform:translate(-50%)}.craft-ruler-label-row{transform:translateY(-50%)}.craft-ruler-label.is-top{top:5px}.craft-ruler-label.is-bottom{bottom:62px}.craft-ruler-label.is-left{left:5px}.craft-ruler-label.is-right{right:5px}.app-header{background:linear-gradient(90deg, var(--pink-bg), #fff);border-bottom:2px solid var(--pink-light);z-index:20;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;height:48px;padding:0 12px;display:flex}.header-logo{flex-wrap:nowrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.header-logo>svg{flex:none}.header-logo h1{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--pink);flex:auto;margin:0;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.2em;overflow:hidden}.header-version{text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--pink-light);max-width:96px;color:var(--text-light);background:#fffc;border-radius:999px;flex:none;padding:1px 6px;font-size:.68em;font-weight:850;overflow:hidden}.header-btn{cursor:pointer;background:0 0;border:none;border-radius:8px;padding:4px 8px;font-size:1.2em;transition:background .12s}.header-btn:hover{background:var(--pink-bg)}.header-right{gap:4px;display:flex}.sidebar{background:linear-gradient(180deg, var(--pink-bg) 0%, var(--bg) 100%);border-right:2px solid var(--pink-light);flex-shrink:0;transition:width .2s;position:relative;overflow:visible}.sidebar.open{width:280px}.sidebar.collapsed{width:36px}.sidebar-toggle{z-index:15;background:var(--pink-light);border:2px solid var(--pink-light);cursor:pointer;width:20px;height:48px;color:var(--text);border-left:none;border-radius:0 8px 8px 0;justify-content:center;align-items:center;font-size:.7em;transition:background .12s;display:flex;position:absolute;top:50%;right:-20px;transform:translateY(-50%)}.sidebar-toggle:hover{background:var(--pink);color:#fff}.sidebar-content{flex-direction:column;gap:10px;max-height:calc(100dvh - 104px);padding:12px;display:flex;overflow-y:auto}.palette-info{align-items:center;gap:6px;display:flex}.app-layout{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.app-body{flex:1;display:flex;overflow:hidden}.canvas-area{flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.canvas-original{max-width:80%;max-height:80%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.craft-mirror-top-hint{top:max(10px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));z-index:28;color:#7c5b00;pointer-events:auto;background:#fff8d8f5;border:1.5px solid #f0c94f;border-radius:999px;align-items:center;gap:8px;max-width:min(520px,100vw - 24px);min-height:34px;padding:5px 8px 5px 12px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.8em;font-weight:850;display:inline-flex;position:absolute;left:auto;transform:none;box-shadow:0 6px 18px #785b001f}.craft-mirror-top-hint span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.craft-mirror-top-hint button{color:#7c5b00;width:24px;height:24px;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #7c5b0038;border-radius:50%;flex:none;padding:0;font-size:.9em;line-height:1}.craft-mirror-top-hint button:hover{background:#fffdf1;border-color:#f0c94f}.site-icp-footer{text-align:center;padding:6px 12px calc(6px + env(safe-area-inset-bottom));color:var(--text-light);background:var(--card);border-top:1px solid var(--pink-light);flex:none;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.75em;line-height:1.4}.site-icp-footer a{color:inherit;text-decoration:none}.site-icp-footer a:hover{color:var(--pink);text-decoration:underline}.site-version{color:inherit;font:inherit;margin-left:8px;display:inline-block}.site-version:before{content:"·";color:inherit;font:inherit;margin-right:8px}.cartoon-compare{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:20px;display:flex}.compare-images{gap:40px;margin-bottom:24px;display:flex}.compare-item{text-align:center}.compare-item p{color:var(--text-light);margin-bottom:8px;font-weight:600}.compare-item img{border:3px solid var(--pink-light);border-radius:12px;max-width:300px;max-height:300px;box-shadow:0 4px 20px #0000001a}.compare-actions{gap:16px;display:flex}.cartoon-progress-container{text-align:center;width:260px}.cartoon-progress-bar{border:2px solid var(--pink-light);background:#ffffff80;border-radius:10px;width:100%;height:20px;overflow:hidden}.cartoon-progress-fill{background:linear-gradient(135deg, #ffffff5c 25%, transparent 25%, transparent 50%, #ffffff5c 50%, #ffffff5c 75%, transparent 75%, transparent), linear-gradient(90deg, var(--pink), var(--purple));background-size:24px 24px,100% 100%;border-radius:8px;height:100%;transition:width .5s;position:relative;overflow:hidden}.cartoon-progress-fill.import-progress-fill{transform-origin:0;will-change:transform;width:100%;animation:16s cubic-bezier(.22,.78,.28,1) forwards importProgressGrow,.8s linear infinite progressStripes;transform:scaleX(.08)}.cartoon-progress-fill:after{content:"";background:linear-gradient(90deg,#0000,#fff6,#0000);width:100%;height:100%;animation:1.5s infinite shimmer;position:absolute;top:0;left:-100%}@keyframes shimmer{0%{left:-100%}to{left:100%}}@keyframes importProgressGrow{0%{transform:scaleX(.08)}18%{transform:scaleX(.34)}42%{transform:scaleX(.58)}68%{transform:scaleX(.76)}86%{transform:scaleX(.88)}to{transform:scaleX(.92)}}.cartoon-progress-text{color:var(--text-light);margin-top:8px;font-size:.9em;font-weight:500}.modal-container{z-index:100;width:0;height:0;position:fixed;top:0;left:0}body.modal-open,body.bean-center-open,body.donation-modal-open{overflow:hidden}body.modal-open .module-tab-bar,body.bean-center-open .module-tab-bar,body.donation-modal-open .module-tab-bar{visibility:hidden;pointer-events:none}.modal-overlay{z-index:100;background:#00000040;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-card{background:var(--card);border-radius:var(--radius);box-shadow:0 8px 32px var(--shadow), 0 0 0 2px var(--pink-light);width:90%;max-width:520px;max-height:80vh;padding:24px;overflow-y:auto}.modal-title{color:var(--pink);text-align:center;margin-bottom:16px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.2em}.modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.color-search-input{border:2px solid var(--pink-light);border-radius:10px;outline:none;width:100%;margin-bottom:8px;padding:6px 12px;font-family:Nunito,sans-serif;font-size:.85em}.color-search-input:focus{border-color:var(--pink)}.canvas-quick-dock{z-index:18;pointer-events:none;position:absolute;bottom:12px;left:16px;right:16px}.canvas-dock-row{pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;width:100%;display:flex}.canvas-dock-row>*{pointer-events:auto}.trace-background-control{border:1.5px solid var(--pink-light);max-width:min(92vw,520px);box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffeb;border-radius:999px;flex-wrap:wrap;align-items:center;gap:6px;padding:4px;display:inline-flex;position:relative}.floating-toolbar-wrapper>.trace-background-control,.floating-toolbar-wrapper>.color-stats-bar{flex:none}.floating-toolbar-wrapper>.trace-background-control{width:max-content;max-width:min(520px,95vw)}.floating-toolbar-wrapper>.color-stats-bar.stats-expanded{width:min(680px,95vw);max-width:min(680px,95vw);max-height:164px}.floating-toolbar-wrapper>.color-stats-bar.stats-expanded .stats-bar-chips{max-height:120px;overflow-y:auto}.mobile-tool-panel>.trace-background-control,.mobile-tool-panel>.color-stats-bar{box-sizing:border-box;width:100%;max-width:none}.mobile-tool-panel>.color-stats-bar.stats-expanded{max-height:94px}.mobile-tool-panel>.color-stats-bar.stats-expanded .stats-bar-chips{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:4px;max-height:62px;padding:0 6px 6px;display:grid;overflow:hidden auto}.mobile-tool-panel>.color-stats-bar.stats-expanded .color-chip{min-height:26px}.trace-background-file-input{display:none}.trace-background-source-menu{z-index:220;border:1.5px solid var(--pink-light);background:#fffffffa;border-radius:8px;gap:2px;width:196px;padding:5px;display:grid;position:fixed;box-shadow:0 8px 24px #4c2a4229}.trace-background-source-menu button{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;gap:2px;padding:7px 9px;display:grid}.trace-background-source-menu button:hover,.trace-background-source-menu button:focus-visible{background:var(--pink-bg);outline:none}.trace-background-source-menu strong{color:var(--pink);font-size:.8em}.trace-background-source-menu span{color:var(--text-light);font-size:.7em}.trace-background-button,.trace-background-repair,.trace-background-adjust,.trace-background-clear{border:1.5px solid var(--pink-light);min-height:30px;color:var(--pink);font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;font-size:.78em;font-weight:850}.trace-background-button{align-items:center;gap:5px;padding:0 10px;display:inline-flex}.trace-background-repair{min-width:68px;color:var(--pink);background:#fff;padding:0 9px}.trace-background-repair:disabled{opacity:.58;cursor:progress}.trace-background-repair-toast{z-index:260;color:#fff;text-align:center;pointer-events:none;background:#2a2328f0;border:1px solid #4c2a421f;border-radius:7px;max-width:calc(100vw - 32px);padding:9px 13px;font-size:.78em;font-weight:750;position:fixed;bottom:86px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #2a23282e}.trace-background-adjust{border:1.5px solid var(--pink-light);width:auto;min-width:68px;min-height:30px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:999px;justify-content:center;align-items:center;padding:0 9px;font-size:.78em;font-weight:900;display:inline-flex}.trace-background-adjust.active{border-color:var(--pink);background:var(--pink);color:#fff}.trace-background-button:disabled{opacity:.55;cursor:progress}.trace-background-clear{width:auto;min-width:46px;padding:0 9px;font-size:.78em;line-height:normal}.trace-pattern-opacity{border-left:1px solid var(--pink-light);min-width:176px;min-height:30px;color:var(--text);white-space:nowrap;flex:176px;grid-template-columns:auto minmax(78px,1fr) auto;align-items:center;gap:6px;padding:0 8px;font-size:.72em;font-weight:800;display:grid}.trace-pattern-opacity input[type=range]{width:100%;min-width:0;accent-color:var(--pink)}.trace-pattern-opacity strong{min-width:28px;color:var(--pink);text-align:right}.canvas-trace-opacity-control{z-index:21;border:1.5px solid var(--pink-light);width:min(260px,100% - 28px);min-width:0;min-height:34px;box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:auto;touch-action:manipulation;background:#ffffffeb;border-radius:999px;flex:none;padding:4px 10px;position:absolute;top:64px;right:14px}.trace-paint-controls{border-top:1px solid #ffc2d1b8;align-items:center;gap:8px;min-width:0;padding-top:5px;display:flex}.trace-eyedropper-source{border:1.5px solid var(--pink-light);white-space:nowrap;background:#fff;border-radius:999px;flex:none;align-items:center;gap:3px;padding:2px 3px 2px 7px;display:inline-flex}.trace-eyedropper-source>span{color:var(--text-light);margin-right:2px;font-size:.72em;font-weight:850}.trace-eyedropper-source button{min-height:25px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:1px 8px;font-size:.72em;font-weight:850}.trace-eyedropper-source button.active{background:var(--pink);color:#fff}@media (width<=820px){.canvas-trace-opacity-control{width:min(250px,100% - 20px);top:54px;right:10px}.trace-eyedropper-source{justify-self:start}.mobile-tool-panel>.trace-background-control{border-radius:10px}}.canvas-primary-actions{z-index:20;border:1.5px solid var(--pink-light);box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffe6;border-radius:999px;align-items:center;gap:6px;padding:4px;display:flex;position:absolute;top:14px;right:14px}.canvas-secondary-actions{align-items:center;gap:6px;display:flex}.canvas-primary-more{display:none}.canvas-primary-action{min-height:34px;font:inherit;white-space:nowrap;cursor:pointer;border:1.5px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:4px;padding:0 12px;font-size:.82em;font-weight:850;display:inline-flex}.canvas-primary-action.craft{background:var(--pink);border-color:var(--pink);color:#fff;box-shadow:0 2px 8px #ff8fab3d}.canvas-primary-action.save,.canvas-primary-action.share,.canvas-primary-action.invite,.canvas-primary-action.export{border-color:var(--pink-light);color:var(--pink);background:#fff}.canvas-primary-action.save:disabled{opacity:.68;cursor:progress}.color-stats-bar{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 2px 12px var(--shadow);border:1.5px solid var(--pink-light);background:#ffffffeb;border-radius:12px;width:auto;max-width:min(520px,100%);max-height:120px;overflow:hidden}.color-stats-bar.stats-collapsed{border-radius:999px;width:max-content;max-width:100%}.stats-bar-header{color:var(--pink);white-space:nowrap;justify-content:flex-start;align-items:center;gap:8px;width:100%;padding:6px 12px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.82em;font-weight:800;display:flex}.stats-bar-summary{white-space:nowrap;flex:none;margin-right:auto}.stats-sort-segment{border:1px solid var(--pink-light);background:#fff5f9e6;border-radius:7px;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));padding:2px;display:grid}.stats-sort-segment button{min-width:42px;min-height:22px;color:var(--text-light);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:1px 7px;font-size:.82em;font-weight:850}.stats-sort-segment button.active{background:var(--pink);color:#fff}.stats-bar-close{width:26px;min-height:26px;color:var(--pink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;font-weight:900;display:inline-grid}.stats-bar-close:hover,.stats-bar-close:focus-visible{background:var(--pink-bg);outline:none}.stats-bar-chips{flex-wrap:wrap;gap:4px;max-height:80px;padding:0 10px 8px;display:flex;overflow-y:auto}.import-preview-main-tuned{--import-result-size:min(78vw, 320px);grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;justify-items:center;gap:6px;display:grid}.import-preview-main-tuned .import-preview-stage-head,.import-preview-main-tuned .import-preview-images{width:100%}.import-preview-main-tuned .import-preview-images{place-items:center;min-height:0;display:grid}.import-preview-main-tuned .import-preview-img-group,.import-preview-main-tuned .import-preview-result-tuning{width:var(--import-result-size);max-width:100%}.import-preview-main-tuned .import-preview-img-group{height:100%;max-height:var(--import-result-size);padding:0}.import-preview-main-tuned .import-preview-img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%}.import-preview-main-tuned .import-preview-result-tuning{border-top:1px solid #ff85ab38;margin:0;padding-top:6px}.import-result-range{width:100%;min-height:32px;color:var(--text);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.import-result-range>span,.import-result-range>strong{white-space:nowrap;font-size:.78em;line-height:1}.import-result-range>span{font-weight:800}.import-result-range>strong{min-width:28px;color:var(--pink);text-align:right}.import-result-range input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:24px;margin:0}.import-result-range input[type=range]::-webkit-slider-runnable-track{background:#ff85ab47;border-radius:999px;height:5px}.import-result-range input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--pink);border:3px solid #fff;border-radius:50%;width:16px;height:16px;margin-top:-5.5px;box-shadow:0 1px 4px #84496438}.import-result-range input[type=range]::-moz-range-track{background:#ff85ab47;border:0;border-radius:999px;height:5px}.import-result-range input[type=range]::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:10px;height:10px;box-shadow:0 1px 4px #84496438}@media (width>=821px){.canvas-quick-dock{width:min(680px,100vw - 420px);max-width:calc(100% - 36px);bottom:88px;left:auto;right:18px}.canvas-dock-row{align-items:flex-end}.color-stats-bar{align-self:flex-end}.color-stats-bar.stats-collapsed{max-width:100%}.color-stats-bar.stats-expanded{border-radius:18px;width:100%;max-width:680px;max-height:min(46vh,430px);box-shadow:0 8px 28px #ff8fab2e}.color-stats-bar.stats-expanded .stats-bar-header{min-height:42px;padding:9px 16px;font-size:.9em}.color-stats-bar.stats-expanded .stats-bar-chips{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;max-height:min(38vh,356px);padding:0 16px 14px;display:grid;overflow-y:auto}.color-stats-bar.stats-expanded .color-chip{justify-content:flex-start;min-height:30px;padding:4px 9px 4px 4px;font-size:.78em}.color-stats-bar.stats-expanded .color-swatch{width:18px;height:18px}}@media (width<=820px){.mobile-generate-workspace{--mobile-workbench-height:0px;--mobile-workbench-offset:min(36dvh, 340px)}.mobile-generate-workspace .canvas-quick-dock{bottom:calc(var(--mobile-workbench-height,0px) + 8px);left:10px;right:10px}.canvas-quick-dock{bottom:10px;left:10px;right:10px}.canvas-primary-actions{border-radius:999px;gap:4px;padding:3px;top:10px;right:10px}.canvas-primary-action{min-height:32px;padding:0 10px;font-size:.76em}.canvas-secondary-actions{gap:4px}.canvas-dock-row{flex-direction:column;align-items:flex-end;gap:6px}.color-stats-bar{background:#ffffffe6;border-radius:999px;width:auto;min-width:116px;max-width:160px}.color-stats-bar.stats-collapsed{width:max-content;max-width:100%}.color-stats-bar.stats-collapsed .stats-bar-header{white-space:nowrap;gap:8px;min-height:34px;padding:5px 10px;font-size:.76em}.color-stats-bar.stats-expanded{background:#fffffff0;border-radius:12px;align-self:stretch;width:100%;max-width:none;max-height:112px}.color-stats-bar.stats-expanded .stats-bar-header{min-height:28px;padding:3px 8px;font-size:.74em}.stats-bar-chips{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;max-height:none;padding:0 7px 7px;overflow:auto hidden}.stats-bar-chips .color-chip{white-space:nowrap;border-width:1.5px;border-radius:9px;flex:none;gap:4px;padding:3px 7px 3px 4px;font-size:.68em}.stats-bar-chips .color-chip span:last-child{white-space:nowrap}.stats-bar-chips .color-swatch{width:14px;height:14px}.canvas-primary-actions{background:#fffffff0;border-radius:999px;gap:5px;max-width:min(360px,100% - 176px);padding:4px;display:flex;top:10px;left:auto;right:8px;overflow:visible}.canvas-primary-action{border-radius:999px;gap:3px;width:auto;min-width:0;min-height:34px;padding:0 10px;font-size:.72em;line-height:1}.canvas-primary-action.craft{min-width:88px}.canvas-primary-more{display:none}.canvas-secondary-actions{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0;display:flex;position:static}.canvas-secondary-actions .canvas-primary-action{min-width:58px;padding:0 9px}.canvas-action-label{text-overflow:ellipsis;display:inline;overflow:hidden}.canvas-action-icon{font-size:.92em;line-height:1}}@media (width<=480px){.canvas-primary-actions{background:#fffffff0;border-radius:999px;gap:5px;max-width:calc(100% - 176px);padding:4px;display:flex;top:10px;left:auto;right:8px;overflow:visible}.canvas-primary-action{border-radius:999px;gap:3px;width:auto;min-width:0;min-height:34px;padding:0 10px;font-size:.72em;line-height:1}.canvas-primary-action.craft{min-width:88px}.canvas-primary-more{border-color:var(--pink-light);min-width:54px;color:var(--pink);background:#fff;display:inline-flex}.canvas-secondary-actions{border:1.5px solid var(--pink-light);box-shadow:0 6px 18px var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-radius:16px;padding:5px;display:none;position:absolute;top:calc(100% + 6px);right:0}.canvas-primary-actions.menu-open .canvas-secondary-actions{display:flex}.canvas-secondary-actions .canvas-primary-action{min-width:58px;padding:0 9px}.canvas-action-label{text-overflow:ellipsis;display:inline;overflow:hidden}.canvas-action-icon{font-size:.92em;line-height:1}.mobile-canvas-image-action{left:8px}}@media (width<=360px){.canvas-primary-action{font-size:.7em}.canvas-primary-actions{max-width:calc(100% - 160px)}.canvas-primary-action.craft{min-width:76px;padding:0 8px}.canvas-primary-more{min-width:46px;padding:0 8px}}.slider-value-group{align-items:center;gap:4px;display:flex}.step-btn{border:2px solid var(--pink-light);background:var(--card);width:24px;height:24px;color:var(--pink);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.9em;font-weight:700;line-height:1;transition:all .12s;display:flex}.step-btn:hover{background:var(--pink);color:#fff;border-color:var(--pink)}.step-btn:active{transform:scale(.9)}.step-btn-mini{flex-shrink:0;width:24px;height:24px;font-size:.82em}.offset-controls{flex-direction:column;align-items:center;gap:2px;display:flex}.offset-row{align-items:center;gap:8px;display:flex}.offset-value{color:var(--text-light);text-align:center;min-width:40px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.85em}.swap-drawer-overlay{z-index:100;pointer-events:none;background:0 0;position:fixed;inset:0}.swap-drawer{background:var(--card);width:100vw;max-width:100vw;height:auto;max-height:min(58vh,100dvh - 56px);box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);padding:12px 16px calc(12px + env(safe-area-inset-bottom));pointer-events:auto;border-radius:18px 18px 0 0;animation:none;position:fixed;inset:auto 0 0;overflow-y:auto}.swap-section{margin-bottom:8px}.swap-section-header{color:var(--purple);grid-template-columns:minmax(150px,auto) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:6px;display:grid}.swap-section-header strong{font-size:.84em;font-weight:800}.swap-section-title,.swap-section-tools{align-items:center;gap:5px;display:flex}.swap-section-title{flex-wrap:wrap;min-width:0}.swap-section-tools{justify-content:space-between;min-width:0}.swap-section-hint{min-width:0;color:var(--text-light);text-overflow:ellipsis;white-space:nowrap;font-size:.72em;font-weight:800;overflow:hidden}.swap-section-tools .btn{white-space:nowrap;flex:none;min-height:28px;padding:2px 8px;font-size:.74em}.swap-prefix-filter{scrollbar-width:none;flex:auto;justify-content:flex-start;width:auto;min-width:96px;max-width:min(420px,46vw);margin:0;padding:0}.swap-prefix-filter::-webkit-scrollbar{display:none}.swap-prefix-filter button{border-radius:999px;min-width:22px;height:24px;min-height:24px!important;padding:0 7px!important}.swap-color-strip{border:2px solid var(--pink-light);overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:#fff;border-radius:10px;flex-wrap:nowrap;gap:3px;padding:4px;display:flex;overflow:auto hidden}.swap-color-strip::-webkit-scrollbar{display:none}.swap-color-strip.source,.swap-color-strip.target{min-height:42px}.swap-color-grid{border:2px solid var(--pink-light);background:#fff;border-radius:10px;flex-wrap:wrap;gap:3px;padding:4px;display:flex;overflow-y:auto}.swap-color-chip{cursor:pointer;border:2px solid #0000;border-radius:8px;flex:none;align-items:center;gap:3px;padding:2px 6px;font-size:.74em;font-weight:700;transition:all .12s;display:flex}.swap-color-chip.active{background:var(--pink-bg);border-color:var(--pink)}.swap-preview-summary{background:var(--pink-bg);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px;padding:10px 12px;font-size:.85em;font-weight:600;display:flex}.swap-preview-sources{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(52vw,420px);overflow:hidden}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}@media (width<=820px){.swap-drawer-overlay{justify-content:center;align-items:flex-end}.swap-drawer{width:100vw;max-width:100vw;height:auto;max-height:min(58vh,100dvh - 56px);padding:12px 12px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);border-radius:18px 18px 0 0;animation:none;inset:auto 0 0}}@media (orientation:landscape){.swap-drawer{width:100vw;max-width:100vw;height:auto;max-height:min(42dvh,360px);padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);border-radius:18px 18px 0 0;animation:none;inset:auto 0 0}.swap-drawer .modal-title{margin-bottom:6px;font-size:1.05em}.swap-section{grid-template-columns:minmax(160px,auto) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:6px;display:grid}.swap-section-header{margin-bottom:0}.swap-color-strip.source,.swap-color-strip.target{min-height:44px}.swap-preview-summary{min-height:36px;margin-bottom:6px;padding:6px 10px}.swap-drawer .modal-actions{justify-content:flex-end;margin-top:4px}}.module-tab-bar{background:var(--card);border-top:2px solid var(--pink-light);z-index:20;flex-shrink:0;align-items:stretch;height:56px;display:flex}.module-tab{cursor:pointer;background:0 0;border:none;border-radius:0;flex-direction:row;flex:1;justify-content:center;align-items:center;gap:4px;padding:6px 0;font-family:PingFang SC,Microsoft YaHei,sans-serif;transition:background .15s,color .15s;display:flex;position:relative}.module-tab:hover,.module-tab.active{background:var(--pink-bg)}.module-tab.active:before{content:"";background:var(--pink);border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:20%;right:20%}.module-tab .tab-icon{font-size:1.2em;line-height:1}.module-tab .tab-label{color:var(--text-light);font-size:.88em;font-weight:700}.module-tab.active .tab-label{color:var(--pink)}@media (width<=820px) and (orientation:portrait){.mobile-generate-workspace{--mobile-workbench-offset:min(30dvh, 280px)}.module-tab-bar{height:42px}.module-tab .tab-icon{font-size:1.05em}.module-tab .tab-label{font-size:.78em}.mobile-workbench{max-height:var(--mobile-workbench-offset);padding:4px 8px calc(4px + env(safe-area-inset-bottom))}}.craft-panel{bottom:max(12px, env(safe-area-inset-bottom));right:max(12px, env(safe-area-inset-right));z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:var(--radius);box-shadow:0 4px 20px var(--shadow), 0 0 0 2px var(--pink-light);background:#fffffff2;font-size:.85em;position:absolute}.craft-panel-collapsed{color:var(--text);flex-direction:row;align-items:center;gap:5px;width:min(356px,100vw - 24px);max-width:calc(100vw - 24px);padding:5px 6px;font-family:PingFang SC,Microsoft YaHei,sans-serif;display:flex}.craft-collapsed-actions{scrollbar-width:none;flex-wrap:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:4px;min-width:0;display:flex;overflow:auto hidden}.craft-collapsed-actions::-webkit-scrollbar{display:none}.craft-collapsed-main{background:var(--pink-bg);min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;border:none;border-radius:999px;flex:1;grid-template-rows:auto 3px;grid-template-columns:auto max-content auto;align-items:center;gap:2px 8px;min-height:32px;padding:3px 10px;display:grid}.craft-collapsed-title{color:var(--pink);white-space:nowrap;font-weight:900}.craft-collapsed-current{min-width:max-content;color:var(--text-light);white-space:nowrap;font-size:.76em;font-weight:800;overflow:visible}.craft-collapsed-percent{color:var(--pink);white-space:nowrap;font-size:.72em;font-weight:900}.craft-collapsed-bar{background:#fff;border-radius:999px;grid-column:1/-1;height:3px;overflow:hidden}.craft-collapsed-bar span{border-radius:inherit;background:linear-gradient(90deg, var(--pink), var(--purple));height:100%;transition:width .25s;display:block}.craft-quick-nav{border:1.5px solid var(--pink-light);width:32px;height:32px;color:var(--pink);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:50%;flex:none;padding:0;font-size:.95em;font-weight:850;box-shadow:0 2px 8px #ff8fab29}.craft-quick-nav.primary{background:var(--pink);border-color:var(--pink);color:#fff}.craft-quick-nav:disabled{opacity:.45;cursor:not-allowed}.craft-quick-complete{border:1.5px solid var(--pink);background:var(--pink);color:#fff;min-width:46px;height:32px;font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;padding:0 10px;font-size:.78em;font-weight:900;box-shadow:0 3px 10px #ff8fab38}.craft-quick-complete.done{color:var(--pink);border-color:var(--pink-light);box-shadow:none;background:#fff}.craft-quick-complete:disabled{opacity:.45;cursor:not-allowed}.craft-quick-toggle{border:1.5px solid var(--pink-light);min-width:46px;height:32px;color:var(--pink);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:0 10px;font-size:.78em;font-weight:900}.craft-quick-toggle.active{background:var(--pink);border-color:var(--pink);color:#fff;box-shadow:0 3px 10px #ff8fab38}.craft-quick-toggle.needs-attention,.craft-code-toggle.needs-attention{color:#7c5b00;background:#fff8d8;border-color:#f0c94f;box-shadow:0 3px 10px #f0c94f3d}.craft-panel-expanded{flex-direction:column;width:min(340px,100vw - 24px);max-height:min(58vh,440px);display:flex;overflow:hidden}.craft-panel-expanded .craft-color-list{overscroll-behavior:contain;min-height:0;overflow-y:auto}.craft-panel-expanded .craft-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.craft-panel-expanded .craft-actions .btn{min-width:0;padding-inline:8px}.craft-panel-header{color:var(--pink);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:5px;padding:8px 10px 6px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1em;display:flex}.craft-panel-header>span{white-space:nowrap;text-overflow:ellipsis;cursor:pointer;flex:auto;min-width:0;overflow:hidden}.craft-panel-header-actions{flex:none;justify-content:flex-end;align-items:center;gap:3px;width:auto;min-width:0;display:flex}.craft-code-toggle{border:1.5px solid var(--pink-light);min-height:26px;color:var(--pink);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:999px;padding:0 7px;font-size:.72em;font-weight:900}.craft-code-toggle.active{background:var(--pink);border-color:var(--pink);color:#fff}.craft-mirror-toggle{width:auto;min-width:42px;padding:0 7px}.craft-panel-toggle{cursor:pointer;color:var(--text-light);background:0 0;border:1.5px solid #0000;border-radius:50%;flex:none;width:26px;height:26px;padding:0;font-size:1em}.craft-panel-toggle:hover{color:var(--pink)}.craft-progress-bar{background:var(--pink-bg);border-radius:4px;height:8px;margin:0 14px;overflow:hidden}.craft-progress-fill{background:linear-gradient(90deg, var(--pink), var(--purple));border-radius:4px;height:100%;transition:width .3s}.craft-progress-text{text-align:center;color:var(--text-light);justify-content:center;align-items:center;gap:8px;padding:4px 0;font-size:.8em;font-weight:700;display:flex}.craft-color-list{flex:1;max-height:220px;padding:0 10px 8px;overflow-y:auto}.craft-color-item{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:4px 8px;font-weight:600;transition:background .12s;display:flex}.craft-color-item:hover{background:var(--pink-bg)}.craft-color-item.highlighted{background:var(--pink-bg);border:1px solid var(--pink)}.craft-color-item.complete{opacity:.5}.craft-color-swatch{border:1.5px solid #0000001a;border-radius:50%;flex-shrink:0;width:14px;height:14px}.craft-color-code{flex:1;font-size:.85em}.craft-color-count{color:var(--text-light);font-size:.78em}.craft-done-btn{border:2px solid var(--pink-light);background:var(--card);width:22px;height:22px;color:var(--text-light);cursor:pointer;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:.75em;transition:all .12s;display:flex}.craft-done-btn:hover{border-color:var(--pink);color:var(--pink)}.craft-done-btn.done{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.craft-actions{border-top:1px solid var(--pink-light);gap:6px;padding:8px 10px;display:flex}.craft-actions .btn{white-space:nowrap}.craft-complete-msg{text-align:center;color:var(--pink);padding:8px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.1em;animation:1s ease-in-out infinite bounce}.craft-celebration-overlay{z-index:30;cursor:pointer;pointer-events:auto;background:radial-gradient(#fff5f9d9 0%,#ffdceba6 100%);justify-content:center;align-items:center;animation:.5s ease-out craftCelebFadeIn;display:flex;position:absolute;inset:0}.craft-celebration-card{box-shadow:0 16px 48px #ff8fab4d, 0 0 0 3px var(--pink-light);background:#fffffff2;border-radius:24px;flex-direction:column;align-items:center;gap:8px;padding:32px 48px;animation:.6s cubic-bezier(.34,1.56,.64,1) craftCelebPop;display:flex}.craft-celebration-emoji{font-size:3.6em;line-height:1;animation:1.2s ease-in-out infinite craftCelebBounce}.craft-celebration-title{color:var(--pink);font-family:ZCOOL KuaiLe,PingFang SC,sans-serif;font-size:1.6em;font-weight:800}.craft-celebration-subtitle{color:var(--text-light);font-size:.9em;font-weight:600}@keyframes craftCelebFadeIn{0%{opacity:0}to{opacity:1}}@keyframes craftCelebPop{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes craftCelebBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}.header-user{white-space:nowrap;flex:none;align-items:center;display:flex}.user-menu-wrapper{position:relative}.user-menu-trigger{white-space:nowrap;cursor:pointer;min-width:0;color:var(--text);background:0 0;border:none;flex:none;align-items:center;gap:6px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.9em;display:flex}.user-avatar-sm{object-fit:cover;border:2px solid var(--pink-light);border-radius:50%;width:28px;height:28px}.user-avatar-placeholder{font-size:1.2em}.caret{font-size:.6em}.user-dropdown{background:var(--card);min-width:120px;box-shadow:0 4px 16px var(--shadow), 0 0 0 2px var(--pink-light);z-index:200;border-radius:12px;position:absolute;top:110%;right:0;overflow:hidden}.user-dropdown button{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;padding:10px 16px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.88em;display:block}.user-dropdown button:hover{background:var(--pink-bg)}.auth-form{flex-direction:column;gap:12px;margin:16px 0;display:flex}.auth-input{border:2px solid var(--pink-light);box-sizing:border-box;border-radius:12px;outline:none;width:100%;padding:10px 14px;font-size:.9em}.auth-input:focus{border-color:var(--pink)}.auth-error{color:#e74c3c;text-align:center;margin-bottom:8px;font-size:.85em}.auth-switch{text-align:center;color:var(--text-light);margin-top:12px;font-size:.85em}.auth-switch span{color:var(--pink);cursor:pointer;text-decoration:underline}.auth-modal-card{max-width:380px}.auth-code-row{align-items:center;gap:8px;display:flex}.auth-code-row .auth-input{flex:1}.auth-send-code-btn{white-space:nowrap;flex-shrink:0;min-width:90px}.auth-hint{color:#ef4444;margin-top:-4px;padding-left:2px;font-size:12px}.community-page{width:100%;max-width:1200px;margin:0 auto;padding:16px}.community-search{gap:8px;margin-bottom:16px;display:flex}.community-search .auth-input{flex:1}.community-tabs{border-bottom:2px solid var(--pink-light);gap:4px;margin-bottom:16px;display:flex}.community-tab{cursor:pointer;color:var(--text-light);background:0 0;border:none;border-bottom:3px solid #0000;padding:8px 20px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.95em;transition:all .2s}.community-tab.active{color:var(--pink);border-bottom-color:var(--pink)}.community-tab:hover{color:var(--pink)}.community-filters{flex-wrap:wrap;gap:12px;margin-bottom:16px;display:flex}.filter-group{align-items:center;gap:6px;display:flex}.filter-group label{color:var(--text-light);font-size:.85em}.filter-group select{border:2px solid var(--pink-light);background:var(--card);border-radius:8px;outline:none;padding:6px 10px;font-size:.85em}.filter-group select:focus{border-color:var(--pink)}.blueprint-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.blueprint-card{background:var(--card);border-radius:var(--radius);box-shadow:0 2px 12px var(--shadow);cursor:pointer;transition:transform .2s,box-shadow .2s;overflow:hidden}.blueprint-card:hover{box-shadow:0 6px 20px var(--shadow);transform:translateY(-4px)}.bp-card-thumb{aspect-ratio:1;background:var(--pink-bg);width:100%;overflow:hidden}.bp-card-thumb img{object-fit:cover;width:100%;height:100%}.bp-card-info{padding:10px 12px}.bp-card-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.95em;overflow:hidden}.bp-card-meta{color:var(--text-light);gap:8px;margin-bottom:6px;font-size:.75em;display:flex}.bp-card-tags{flex-wrap:wrap;gap:4px;margin-bottom:6px;display:flex}.bp-perm-tag{white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:.65em}.bp-perm-free{background:var(--pink-light);color:var(--pink-dark)}.bp-perm-no{color:#888;background:#f5f5f5;border:1px solid #e0e0e0}.bp-card-footer{justify-content:space-between;align-items:center;display:flex}.bp-card-author{color:var(--text-light);align-items:center;gap:4px;font-size:.8em;display:flex}.bp-card-avatar{object-fit:cover;border-radius:50%;width:20px;height:20px}.bp-card-avatar-placeholder{font-size:.9em}.bp-card-stats{color:var(--text-light);gap:8px;font-size:.8em;display:flex}.community-empty{text-align:center;color:var(--text-light);padding:40px}.community-loading{text-align:center;color:var(--text-light);padding:20px}.community-load-more{margin:20px auto;display:block}.blueprint-detail-page{width:100%;max-width:900px;margin:0 auto;padding:16px}.canvas-area>.community-page,.canvas-area>.blueprint-detail-page{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;align-self:stretch;height:100%;min-height:0;overflow-y:auto}.bp-detail-content{flex-wrap:wrap;gap:24px;margin-top:16px;display:flex}.bp-detail-image{flex:1;min-width:280px;max-width:400px}.bp-detail-image img{border-radius:var(--radius);width:100%;box-shadow:0 4px 16px var(--shadow)}.bp-detail-info{flex:1;min-width:280px}.bp-detail-title{color:var(--pink);margin-bottom:8px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.4em}.bp-detail-desc{color:var(--text-light);margin-bottom:12px;font-size:.9em;line-height:1.5}.bp-detail-meta{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.bp-detail-author{align-items:center;gap:6px;font-size:.9em;display:flex}.bp-detail-avatar{object-fit:cover;border:2px solid var(--pink-light);border-radius:50%;width:32px;height:32px}.bp-detail-avatar-placeholder{font-size:1.4em}.bp-detail-date{color:var(--text-light);font-size:.8em}.bp-detail-specs{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.spec-item{gap:6px;font-size:.85em;display:flex}.spec-label{color:var(--text-light)}.bp-detail-tags{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.bp-tag{border-radius:20px;padding:4px 10px;font-size:.78em;font-weight:600}.tag-free{background:var(--green);color:#2d6a4f}.tag-disabled{background:var(--bg-secondary);color:var(--text-light)}.bp-locked-banner{color:#e65100;text-align:center;background:#fff3e0;border:1px solid #ffb74d;border-radius:6px;margin-bottom:12px;padding:12px;font-size:.9em}.bp-detail-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.bp-detail-views{color:var(--text-light);font-size:.82em}.comment-section{border-top:2px solid var(--pink-light);margin-top:24px;padding-top:16px}.comment-title{color:var(--text);margin-bottom:12px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.1em}.comment-input-area{margin-bottom:16px}.comment-textarea{border:2px solid var(--pink-light);resize:vertical;box-sizing:border-box;border-radius:12px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:.9em}.comment-textarea:focus{border-color:var(--pink)}.comment-input-area .btn{float:right;margin-top:8px}.comment-login-hint{color:var(--text-light);text-align:center;padding:12px;font-size:.9em}.comment-list{clear:both;flex-direction:column;gap:12px;display:flex}.comment-item{background:var(--pink-bg);border-radius:12px;padding:12px}.comment-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.comment-user{align-items:center;gap:6px;display:flex}.comment-avatar{object-fit:cover;border-radius:50%;width:24px;height:24px}.comment-avatar-placeholder{font-size:1em}.comment-username{font-size:.85em;font-weight:600}.comment-time{color:var(--text-light);font-size:.75em}.comment-delete{color:#e74c3c;cursor:pointer;background:0 0;border:none;font-size:.8em}.comment-content{font-size:.88em;line-height:1.5}.share-modal{max-width:420px}.share-original-notice{border:1.5px solid var(--pink-light);background:var(--pink-bg);color:var(--text-light);border-radius:8px;margin:-4px 0 12px;padding:8px 10px;font-size:.82em;line-height:1.45}.share-preview{align-items:center;gap:12px;margin-bottom:12px;display:flex}.share-thumb{object-fit:contain;background:var(--pink-bg);border:2px solid var(--pink-light);border-radius:8px;width:100px;height:100px}.share-specs{color:var(--text-light);flex-direction:column;gap:4px;font-size:.82em;display:flex}.share-tags{margin-bottom:16px}.share-tag-group{align-items:center;gap:10px;margin-bottom:8px;display:flex}.share-tag-group>label{color:var(--text-light);min-width:70px;font-size:.85em}.share-tag-options{gap:12px;font-size:.85em;display:flex}.share-tag-options label{cursor:pointer;align-items:center;gap:4px;display:flex}.ranking-panel{margin-top:8px}.ranking-time-tabs{gap:4px;margin-bottom:16px;display:flex}.ranking-time-tab{border:2px solid var(--pink-light);background:var(--card);cursor:pointer;color:var(--text-light);border-radius:20px;padding:6px 16px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:.85em;transition:all .2s}.ranking-time-tab.active{background:var(--pink);color:#fff;border-color:var(--pink)}.ranking-time-tab:hover{border-color:var(--pink)}.ranking-list{flex-direction:column;gap:8px;display:flex}.ranking-item{background:var(--card);box-shadow:0 2px 8px var(--shadow);cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;transition:transform .2s;display:flex}.ranking-item:hover{transform:translate(4px)}.ranking-top{background:linear-gradient(135deg, var(--pink-bg), var(--card))}.ranking-rank{text-align:center;min-width:36px;font-size:1.2em}.ranking-user{flex:1;align-items:center;gap:8px;display:flex}.ranking-avatar{object-fit:cover;border:2px solid var(--pink-light);border-radius:50%;width:36px;height:36px}.ranking-avatar-placeholder{font-size:1.4em}.ranking-username{font-size:.9em;font-weight:600}.ranking-stats{color:var(--text-light);gap:12px;font-size:.8em;display:flex}.ranking-score{color:var(--orange)}.profile-page{box-sizing:border-box;width:100%;max-width:900px;height:100%;min-height:0;max-height:none;padding:16px 16px calc(28px + env(safe-area-inset-bottom));overscroll-behavior:contain;scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;align-self:stretch;margin:0 auto;overflow-y:auto}.profile-header-card{background:var(--card);border-radius:var(--radius);box-shadow:0 2px 12px var(--shadow);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:20px;display:flex}.profile-user-info{align-items:center;gap:16px;display:flex}.profile-avatar-lg{object-fit:cover;border:3px solid var(--pink-light);border-radius:50%;width:64px;height:64px}.profile-avatar-lg-placeholder{font-size:3em}.profile-username{color:var(--pink);font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:1.3em}.profile-bio{color:var(--text-light);margin-top:2px;font-size:.85em}.profile-email{color:var(--text-light);margin-top:2px;font-size:.8em}.profile-stats-row{color:var(--text-light);gap:12px;margin-top:4px;font-size:.85em;display:flex}.profile-actions{gap:8px;display:flex}.profile-info-card{border-radius:var(--radius);background:#fff8e1;border:1px solid #ffecb3;justify-content:space-between;align-items:center;margin-bottom:16px;padding:12px 16px;display:flex}.profile-info-card-content{align-items:center;gap:12px;display:flex}.profile-info-card-icon{font-size:1.5em}.profile-info-card-content h3{color:var(--text);margin:0;font-size:.95em}.profile-info-card-content p{color:var(--text-light);margin:2px 0 0;font-size:.8em}.profile-avatar-edit{align-items:center;gap:16px;margin-bottom:16px;display:flex}.avatar-upload-btn{cursor:pointer}.bp-list-item{position:relative}.bp-delete-btn{color:#e74c3c;cursor:pointer;border-radius:0 0 var(--radius) var(--radius);background:#fff0f0;border:none;width:100%;margin-top:-8px;padding:6px;font-size:.82em;display:block}.bp-delete-btn:hover{background:#ffe0e0}.history-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.history-card{background:var(--card);border-radius:var(--radius);box-shadow:0 2px 8px var(--shadow);cursor:pointer;transition:transform .2s;position:relative;overflow:hidden}.history-card:hover{transform:translateY(-2px)}.history-thumb{aspect-ratio:1;object-fit:cover;background:var(--pink-bg);width:100%}.history-info{color:var(--text-light);flex-direction:column;gap:2px;padding:8px 10px;font-size:.8em;display:flex}.history-date{font-size:.75em}@media (width<=820px){.blueprint-grid{grid-template-columns:repeat(2,1fr);gap:10px}.bp-detail-content{flex-direction:column}.bp-detail-image{max-width:100%}.community-filters{flex-direction:column;gap:8px}.profile-header-card{text-align:center;flex-direction:column}.profile-user-info{flex-direction:column}.profile-actions{justify-content:center}.history-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=480px){.blueprint-grid,.history-grid{grid-template-columns:1fr}.bp-detail-actions{flex-direction:column}.bp-detail-specs{grid-template-columns:1fr}}.mobile-generate-workspace{width:100%;height:100%;position:relative;overflow:hidden}.mobile-generate-canvas{position:absolute;inset:0;overflow:hidden}.mobile-ai-progress-overlay{z-index:24;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:auto;background:#fff5f985;justify-content:center;align-items:center;padding:18px;display:flex;position:absolute;inset:0}.mobile-ai-progress-card{border:2px solid var(--pink-light);background:#fffffff0;border-radius:18px;width:min(84vw,360px);padding:16px;box-shadow:0 12px 34px #ff8fab38}.mobile-ai-progress-title{color:var(--pink);text-align:center;margin-bottom:10px;font-size:1.02em;font-weight:900}.mobile-ai-progress-card .cartoon-progress-bar{height:18px}.mobile-ai-progress-meta{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:.82em;font-weight:800;display:flex}.mobile-ai-progress-meta strong{color:var(--pink)}.mobile-ai-progress-meta span{color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-ai-progress-card p{color:var(--text-light);text-align:center;margin:9px 0 0;font-size:.82em;font-weight:700;line-height:1.45}.mobile-source-stage{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;height:100%;min-height:0;padding:8px 14px calc(84px + env(safe-area-inset-bottom));grid-template-rows:minmax(0,1fr) auto;place-items:stretch center;gap:10px;display:grid;position:relative;overflow-y:auto}.mobile-source-card{flex-direction:column;justify-content:center;align-items:center;gap:8px;width:min(88vw,440px);height:100%;min-height:0;max-height:100%;display:flex;position:relative;overflow:hidden}.mobile-source-tabs{border:2px solid var(--pink-light);background:#ffffffb8;border-radius:999px;gap:4px;width:100%;padding:3px;display:flex}.mobile-source-tabs button{min-height:34px;color:var(--text-light);font:inherit;background:0 0;border:none;border-radius:999px;flex:1;font-weight:800}.mobile-source-tabs button.active{background:var(--pink);color:#fff}.mobile-source-image{object-fit:contain;border:3px solid var(--pink-light);width:auto;max-width:min(84vw,420px);height:auto;max-height:min(46vh,100% - 44px,500px);box-shadow:0 8px 24px var(--shadow);background:#fff;border-radius:14px}.mobile-source-change{z-index:1;border:2px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;background:#ffffffdb;border-radius:999px;flex:none;padding:5px 14px;font-weight:800;position:relative}.offset-floating-trigger{border:1.5px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;box-shadow:0 2px 10px var(--shadow);background:#ffffffeb;border-radius:999px;flex:none;padding:0 12px;font-size:.82em;font-weight:800}.offset-floating-pad{border:1.5px solid var(--pink-light);box-shadow:0 3px 12px var(--shadow);background:#ffffffe6;border-radius:14px;flex:none;grid-template-rows:20px 28px 28px 28px 26px;grid-template-columns:28px 38px 28px;place-items:center;gap:3px;padding:5px;display:grid}.offset-floating-pad button{border:1.5px solid var(--pink-light);width:28px;height:28px;color:var(--pink);font:inherit;background:#fff;border-radius:50%;font-size:.84em;font-weight:800;line-height:1}.offset-close{opacity:.72;grid-area:1/3;width:24px!important;height:24px!important;font-size:.78em!important}.offset-up{grid-area:2/2}.offset-left{grid-area:3/1}.offset-right{grid-area:3/3}.offset-down{grid-area:4/2}.offset-center{text-align:center;min-width:40px;color:var(--text-light);pointer-events:none;grid-area:3/2;font-size:.72em;font-weight:800}.offset-reset{border-radius:999px;grid-area:5/1/auto/-1;padding:0 9px;font-size:.72em;width:auto!important;height:26px!important}.offset-floating-pad{grid-template-rows:24px 28px 28px 28px 26px auto;min-width:118px;position:relative}.offset-close{grid-area:auto;position:absolute;top:4px;right:4px}.offset-target-segment{background:var(--pink-bg);border-radius:999px;grid-area:1/1/auto/-1;grid-template-columns:repeat(2,minmax(0,1fr));justify-self:start;width:calc(100% - 26px);padding:2px;display:grid}.offset-target-segment button{background:0 0;border:0;border-radius:999px;width:auto;height:20px;font-size:.68em}.offset-target-segment button.active{background:var(--pink);color:#fff}.offset-scale-row{color:var(--text-light);grid-area:6/1/auto/-1;justify-content:center;align-items:center;gap:5px;font-size:.68em;font-weight:850;display:flex}.offset-scale-row button{width:24px;height:24px}.canvas-history-controls{z-index:18;border:1.5px solid var(--pink-light);box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffe6;border-radius:999px;gap:6px;padding:5px;display:flex;position:absolute;top:12px;left:12px}.canvas-history-controls button{border:1.5px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;padding:0 12px;font-size:.82em;font-weight:900}.canvas-history-controls button:disabled{opacity:.45}.mobile-canvas-image-action{z-index:19;border:1.5px solid var(--pink-light);box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffe0;border-radius:999px;gap:4px;padding:4px;display:flex;position:absolute;top:10px;left:10px}.mobile-canvas-image-action button{border:1.5px solid var(--pink-light);width:30px;height:30px;min-height:30px;color:var(--pink);font:inherit;background:#fff;border-radius:50%;padding:0;font-size:.82em;font-weight:850;line-height:1}.mobile-canvas-image-action button:disabled{opacity:.42}@media (width<=480px){.mobile-canvas-image-action{left:8px}}.mobile-image-preview-panel{z-index:120;pointer-events:none;background:0 0;position:fixed;inset:0}.mobile-image-preview-card{border:2px solid var(--pink-light);pointer-events:auto;cursor:grab;resize:none;background:#fffffffa;border-radius:18px;flex-direction:column;gap:8px;min-width:240px;min-height:220px;padding:10px;display:flex;position:absolute;box-shadow:0 12px 36px #0000002e}.mobile-image-preview-card,.mobile-image-preview-viewport,.mobile-image-preview-viewport img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mobile-image-preview-card.dragging{cursor:grabbing;box-shadow:0 16px 44px #00000038}.mobile-image-preview-header{color:var(--pink);-webkit-user-select:none;user-select:none;touch-action:none;flex:none;justify-content:space-between;align-items:center;gap:8px;font-size:.9em;display:flex}.mobile-image-preview-drag-grip{cursor:grab;flex:36px;align-self:stretch;min-width:34px}.mobile-image-preview-card.dragging .mobile-image-preview-drag-grip{cursor:grabbing}.mobile-image-preview-tabs{border:1.5px solid var(--pink-light);background:var(--pink-bg);border-radius:999px;flex:0 128px;gap:4px;min-width:0;padding:3px;display:flex}.mobile-image-preview-tabs button{min-height:30px;box-shadow:none;color:var(--text-light);background:0 0;border:none;border-radius:999px;flex:1;font-size:.82em}.mobile-image-preview-tabs button.active{background:var(--pink);color:#fff}.mobile-image-preview-close{width:32px;border-radius:50%!important;min-height:32px!important;padding:0!important;font-size:1.1em!important}.mobile-image-preview-zoom{border:1.5px solid var(--pink-light);background:#fff;border-radius:999px;flex:none;align-items:center;gap:3px;padding:2px;display:inline-flex}.mobile-image-preview-zoom button{width:24px;height:24px;min-height:24px!important;box-shadow:none!important;border-radius:50%!important;padding:0!important;font-size:.8em!important}.mobile-image-preview-zoom span{text-align:center;min-width:38px;color:var(--text-light);font-size:.72em;font-weight:800}.mobile-image-preview-viewport{overscroll-behavior:contain;-webkit-overflow-scrolling:auto;touch-action:none;cursor:default;will-change:scroll-position;contain:paint;backface-visibility:hidden;background:#fff;border-radius:12px;flex:auto;min-height:0;overflow:auto;transform:translateZ(0)}.mobile-image-preview-image-stage{box-sizing:border-box;contain:paint;justify-content:center;align-items:center;padding:8px;display:flex;transform:translateZ(0)}.mobile-image-preview-viewport img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;touch-action:none;image-rendering:auto;flex:none;max-width:none;max-height:none}.mobile-image-preview-viewport.pickable img{cursor:crosshair}.mobile-image-preview-resize{opacity:.72;touch-action:none;width:22px;height:22px;position:absolute}.mobile-image-preview-resize:after{content:"";border-color:var(--pink);border-style:solid;width:12px;height:12px;position:absolute}.mobile-image-preview-resize-nw{cursor:nwse-resize;top:3px;left:3px}.mobile-image-preview-resize-nw:after{border-width:3px 0 0 3px;border-radius:9px 0 0;top:3px;left:3px}.mobile-image-preview-resize-ne{cursor:nesw-resize;top:3px;right:3px}.mobile-image-preview-resize-ne:after{border-width:3px 3px 0 0;border-radius:0 9px 0 0;top:3px;right:3px}.mobile-image-preview-resize-sw{cursor:nesw-resize;bottom:3px;left:3px}.mobile-image-preview-resize-sw:after{border-width:0 0 3px 3px;border-radius:0 0 0 9px;bottom:3px;left:3px}.mobile-image-preview-resize-se{cursor:nwse-resize;bottom:3px;right:3px}.mobile-image-preview-resize-se:after{border-width:0 3px 3px 0;border-radius:0 0 9px;bottom:3px;right:3px}.preview-touch-magnifier{z-index:9;pointer-events:none;background:#f4f4f5;border:2px solid #fffffff5;border-radius:14px;width:128px;height:128px;position:absolute;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 8px 24px #3c2d4640,0 0 0 1px #ffc2d1d1}.preview-touch-magnifier-stage{transform-origin:0 0;position:absolute;top:0;left:0}.preview-touch-magnifier-stage img{object-fit:fill;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;width:100%;max-width:none;height:100%;max-height:none;position:absolute;top:0;left:0}.preview-touch-magnifier span{background:#ffffffbd;border:1.5px solid #231f26e0;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffdb}.canvas-eyedropper-magnifier{z-index:12;pointer-events:none;width:128px;height:128px;position:absolute;transform:translate(-50%,calc(-100% - 60px))}.canvas-eyedropper-magnifier canvas{width:128px;height:128px;image-rendering:pixelated;background:#f4f4f5;border:2px solid #fffffff5;border-radius:14px;box-shadow:0 8px 24px #3c2d4640,0 0 0 1px #ffc2d1d1}.canvas-eyedropper-source-label{z-index:1;color:#fff;background:#ff5a8af2;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:900;position:absolute;top:-8px;left:50%;transform:translate(-50%,-100%);box-shadow:0 2px 8px #ff5a8a3d}.canvas-eyedropper-magnifier.source-background .canvas-eyedropper-source-label{background:#3c74d6f0;box-shadow:0 2px 8px #3c74d638}.canvas-eyedropper-magnifier-pin{background:#ffffffd9;border:1.5px solid #ff5a8af2;border-radius:50%;width:9px;height:9px;position:absolute;bottom:-60px;left:50%;transform:translate(-50%,50%);box-shadow:0 0 0 1px #ffffffdb}.mobile-stage-actions{bottom:calc(10px + env(safe-area-inset-bottom));z-index:2;grid-template-columns:1fr 1fr;gap:10px;width:min(88vw,520px);display:grid;position:sticky}.mobile-stage-actions .btn{white-space:nowrap;justify-content:center;min-height:46px;padding:8px 12px;font-size:.95em}.mobile-workbench{z-index:16;border-top:2px solid var(--pink-light);padding:6px 10px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px var(--shadow);max-height:var(--mobile-workbench-offset,min(36dvh, 340px));overscroll-behavior:contain;background:#fffffff5;position:absolute;bottom:0;left:0;right:0;overflow:visible}.mobile-workbench.collapsed{height:0;min-height:0;max-height:none;box-shadow:none;background:0 0;border-top:0;padding:0;overflow:visible}.mobile-workbench-toggle{z-index:2;border:2px solid var(--pink-light);width:44px;height:17px;min-height:17px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;justify-content:center;align-items:center;margin:0;padding:0;font-size:.82em;font-weight:900;line-height:1;display:flex;position:absolute;top:-12px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #ff8fab2e}.mobile-workbench.collapsed .mobile-workbench-toggle{pointer-events:auto;top:-19px}.mobile-workbench-content{min-height:0;max-height:var(--mobile-workbench-offset,min(36dvh, 340px));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-y:auto}.mobile-params-panel{overscroll-behavior:contain;flex-direction:column;gap:8px;max-height:min(24vh,220px);padding-right:2px;display:flex;overflow-y:auto}.mobile-params-panel.compact{gap:5px;max-height:none;padding:0 0 4px;overflow:visible}.mobile-params-panel.disabled{opacity:1}.mobile-param-buttons{overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:6px;padding:1px 2px 7px;display:flex;overflow-x:auto}.mobile-unified-tool-rail{min-width:0}.mobile-tool-group-divider{background:var(--pink-light);flex:0 0 1px;align-self:center;width:1px;height:28px;margin:0 2px}.mobile-param-buttons::-webkit-scrollbar{display:none}.mobile-param-buttons button{border:1.5px solid var(--pink-light);min-width:78px;min-height:42px;color:var(--text);font:inherit;text-align:center;scroll-snap-align:start;background:#fff;border-radius:999px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:1px;padding:6px 10px;display:flex}.mobile-param-buttons button:disabled{cursor:not-allowed;box-shadow:none;filter:grayscale(.08);opacity:.58}.mobile-param-disabled-tip{border:1.5px solid var(--pink-light);min-height:36px;color:var(--text-light);background:#fff5f9c2;border-radius:10px;align-items:center;padding:6px 8px;font-size:.8em;font-weight:800;line-height:1.35;display:flex}.mobile-param-buttons button.active{background:var(--pink-bg);border-color:var(--pink);box-shadow:0 2px 10px var(--shadow)}.mobile-param-buttons button.premium{border-color:var(--pink);background:var(--pink);box-shadow:0 2px 10px #ff8fab2e}.mobile-param-buttons button.premium span,.mobile-param-buttons button.premium strong{color:#fff}.mobile-param-buttons button.premium:disabled{opacity:.72}.mobile-param-buttons span{color:var(--pink);white-space:nowrap;font-size:.72em;font-weight:900;line-height:1.05}.mobile-param-buttons strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;max-width:92px;font-size:.76em;line-height:1.08;overflow:hidden}.mobile-param-buttons small{color:var(--text-light);white-space:nowrap;text-overflow:ellipsis;font-size:.72em;overflow:hidden}.mobile-param-sheet{border:2px solid var(--pink-light);box-shadow:0 2px 10px var(--shadow);background:#fff;border-radius:12px;padding:6px}.mobile-size-row{grid-template-columns:34px minmax(0,1fr) 34px 44px;align-items:center;gap:8px;display:grid}.mobile-size-row button,.mobile-size-presets button,.mobile-toggle-row button,.mobile-bg-color-row button,.mobile-color-mode-row button{border:2px solid var(--pink-light);min-height:30px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;font-size:.78em;font-weight:800}.mobile-size-row strong{text-align:center;color:var(--text);font-size:.9em}.mobile-size-presets,.mobile-toggle-row,.mobile-color-mode-row{-webkit-overflow-scrolling:touch;gap:5px;padding-top:5px;display:flex;overflow-x:auto}.mobile-size-presets button,.mobile-toggle-row button,.mobile-color-mode-row button{flex:none;padding:0 10px}.mobile-toggle-row button.active,.mobile-bg-color-row button.active,.mobile-color-mode-row button.active{background:var(--pink);border-color:var(--pink);color:#fff}.mobile-param-sheet.process{flex-direction:column;gap:5px;padding:5px 6px;display:flex}.mobile-param-sheet.smart-import{flex-direction:column;gap:6px;display:flex}.mobile-smart-import-row{background:var(--pink-bg);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:28px;padding:4px 6px;display:flex}.mobile-smart-import-row span{color:var(--text-light);white-space:nowrap;font-size:.76em;font-weight:800}.mobile-smart-import-row strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.86em;overflow:hidden}.mobile-smart-import-action{border:2px solid var(--pink-light);min-height:30px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;font-size:.78em;font-weight:800}.mobile-smart-import-action:disabled{opacity:.48;color:var(--text-light)}.mobile-paper-size-sheet{flex-direction:column;gap:7px;display:flex}.mobile-paper-size-sheet.compact{gap:5px;padding:6px}.mobile-paper-size-sheet.clean{gap:6px;padding:7px}.mobile-size-section{background:#fff;border:1.5px solid #ffb9cdbf;border-radius:12px;flex-direction:column;gap:6px;padding:7px;display:flex}.mobile-size-section.crop-mode-toggle{cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}.mobile-size-section.crop-mode-toggle.selected{border-color:var(--pink);background:#fff5f9f5;box-shadow:inset 0 0 0 2px #ff80aa3d}.mobile-size-section.crop-mode-toggle.selected .mobile-paper-title-with-hint em{color:var(--pink)}.mobile-size-section-head{justify-content:space-between;align-items:center;gap:10px;min-height:28px;display:flex}.mobile-size-section-head.recognition{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;display:grid}.mobile-size-section-head span{color:var(--text-light);white-space:nowrap;font-size:.78em;font-weight:900}.mobile-paper-title-with-hint{align-items:baseline;gap:6px;min-width:0;display:flex}.mobile-paper-title-with-hint em{color:var(--text-light);white-space:nowrap;font-size:.62em;font-style:normal;font-weight:800}.mobile-size-section-head strong{color:var(--text);white-space:nowrap;font-size:1.02em;font-weight:900}.mobile-recognition-presets{scrollbar-width:none;-webkit-overflow-scrolling:touch;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.mobile-recognition-presets::-webkit-scrollbar{display:none}.mobile-recognition-presets button{border:1.5px solid var(--pink-light);min-width:28px;min-height:24px;color:var(--pink);font:inherit;background:#ffffffdb;border-radius:999px;flex:none;padding:0 6px;font-size:.68em;font-weight:900}.mobile-recognition-presets button.active{background:var(--pink);border-color:var(--pink);color:#fff}.mobile-paper-size-row{background:#fff;border:1.5px solid #ffb9cdb8;border-radius:11px;grid-template-columns:minmax(78px,auto) 1fr;align-items:center;gap:8px;min-height:34px;padding:5px 7px;display:grid}.mobile-paper-size-row:first-child{background:var(--pink-bg)}.mobile-paper-size-row.editable{grid-template-columns:minmax(68px,auto) minmax(0,1fr) auto}.mobile-paper-size-label{flex-direction:column;min-width:0;line-height:1.15;display:flex}.mobile-paper-size-label span{color:var(--text-light);white-space:nowrap;font-size:.72em;font-weight:900}.mobile-paper-size-label em{color:var(--text-light);white-space:nowrap;font-size:.58em;font-style:normal;font-weight:800}.mobile-paper-size-row>strong{color:var(--text);text-align:right;white-space:nowrap;font-size:.96em;font-weight:900}.mobile-paper-size-compare{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:7px;display:grid}.mobile-paper-size-card{border:1.5px solid var(--pink-light);background:#fff;border-radius:12px;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:70px;padding:8px;display:flex}.mobile-paper-size-card.readonly{background:var(--pink-bg);border-color:#ffb9cdb3}.mobile-paper-size-card>span{color:var(--text-light);font-size:.72em;font-weight:900}.mobile-paper-size-card>strong{color:var(--text);white-space:nowrap;font-size:1em;font-weight:900}.mobile-paper-size-card small{color:var(--text-light);font-size:.64em;font-weight:800}.mobile-paper-size-input-pair{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px;display:grid}.mobile-paper-size-input-pair.wide{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:5px}.mobile-paper-size-input-pair input{border:1.5px solid var(--pink-light);width:100%;min-width:0;min-height:28px;color:var(--text);font:inherit;text-align:center;background:#fff;border-radius:9px;outline:none;font-size:.82em;font-weight:900}.mobile-paper-size-stepper{grid-template-columns:30px minmax(34px,1fr) 30px;align-items:center;gap:3px;min-width:0;display:grid}.mobile-paper-size-stepper button{border:1.5px solid var(--pink-light);width:30px;min-height:34px;color:var(--pink);font:inherit;background:#fff;border-radius:10px;padding:0;font-size:.94em;font-weight:900}.mobile-paper-size-stepper button:disabled{opacity:.36}.mobile-paper-size-stepper input{-moz-appearance:textfield;border-radius:10px;min-height:34px;padding:0 3px}.mobile-paper-size-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.mobile-paper-size-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mobile-paper-size-input-pair b{color:var(--text-light);font-size:.82em}.mobile-paper-size-hint{color:var(--text-light);background:0 0;border-radius:10px;margin:0;padding:2px 0 0;font-size:.68em;font-weight:800;line-height:1.25}.mobile-recognition-size-control{background:#ffffffb8;border:1.5px solid #ffb9cda6;border-radius:12px;flex-direction:column;gap:7px;padding:7px;display:flex}.mobile-recognition-size-control.inline{background:0 0;border:0;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px;padding:0;display:grid}.mobile-recognition-size-control.inline>span{color:var(--text-light);white-space:nowrap;font-size:.72em;font-weight:900}.mobile-size-row.compact{background:0 0;border:0;grid-template-columns:30px minmax(0,1fr) 30px 34px;gap:6px;min-height:30px;padding:0}.mobile-size-presets.compact{gap:5px}.mobile-size-presets.compact button{min-height:28px;font-size:.72em}.mobile-paper-reset-action{border:1.5px solid var(--pink-light);min-height:28px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;padding:0 9px;font-size:.72em;font-weight:900}.mobile-paper-reset-action:disabled{opacity:.42}.mobile-paper-size-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.mobile-paper-size-grid label{border:1.5px solid var(--pink-light);min-height:32px;color:var(--text-light);background:#fff;border-radius:10px;align-items:center;gap:6px;padding:4px 6px;font-size:.74em;font-weight:800;display:flex}.mobile-paper-size-grid input{width:100%;min-width:0;color:var(--text);font:inherit;text-align:right;background:0 0;border:0;outline:none;font-weight:900}.mobile-paper-crop-pad{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.mobile-paper-crop-pad button{border:2px solid var(--pink-light);min-height:30px;color:var(--pink);font:inherit;background:#fff;border-radius:999px;font-size:.78em;font-weight:900}.mobile-paper-crop-pad button:disabled{opacity:.38}.mobile-toggle-row{padding-top:0}.mobile-bg-group{background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;margin-top:0;padding:2px 0 0;display:grid}.mobile-bg-row{grid-template-columns:auto 26px 22px minmax(118px,1fr) 22px;align-items:center;gap:4px;min-width:0;display:grid}.mobile-bg-row .kawaii-slider.mini{width:100%;min-width:0;max-width:none}.mobile-bg-row span,.mobile-bg-color-row span{color:var(--text-light);white-space:nowrap;font-size:.72em;font-weight:800}.mobile-bg-row strong{color:var(--pink);text-align:center;font-size:.8em}.mobile-bg-row .mobile-bg-step{appearance:none;border:2px solid var(--pink-light);width:22px;min-width:22px;height:22px;min-height:22px;color:var(--pink);box-shadow:none;font:inherit;background:#fff;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.76em;font-weight:900;line-height:1;display:inline-flex}.mobile-bg-color-row{justify-content:flex-end;align-items:center;gap:4px;margin-top:0;display:flex}.mobile-bg-color-row button{min-width:30px;min-height:28px;padding:0 7px}.mobile-color-mode-row{padding-bottom:1px}.mobile-tool-area{flex-direction:column;gap:5px;min-height:0;display:flex}.mobile-tool-panel{min-height:0}.mobile-tool-strip{overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;gap:5px;padding:1px 2px 6px;display:flex;position:relative;overflow-x:auto}.mobile-tool-strip:after{content:"";pointer-events:none;background:linear-gradient(90deg,#fff0,#fffffff2);flex:0 0 18px;width:18px;position:sticky;right:0}.mobile-tool-btn{border:1.5px solid var(--pink-light);min-width:52px;min-height:34px;color:var(--text);font:inherit;white-space:nowrap;scroll-snap-align:start;background:#fff;border-radius:999px;flex:none;padding:5px 9px;font-size:.78em;font-weight:800}.mobile-tool-strip .trace-background-button{white-space:nowrap;min-width:52px;min-height:34px;padding:5px 9px}.mobile-tool-strip .trace-background-repair{white-space:nowrap;min-height:34px;padding:5px 9px}.mobile-tool-strip .trace-background-adjust,.mobile-tool-strip .trace-background-clear{white-space:nowrap;width:auto;height:34px;min-height:34px;padding:5px 9px}.mobile-tool-btn.active,.mobile-tool-btn.primary{border-color:var(--pink);background:var(--pink);color:#fff}.mobile-tool-btn.secondary{border-color:var(--pink-light)}.mobile-tool-btn:disabled{opacity:.45}.mobile-unified-tool-rail .mobile-param-buttons .mobile-tool-btn{border-color:var(--pink-light);flex-direction:row;min-width:58px;min-height:42px;padding:6px 9px;font-size:.76em}.mobile-unified-tool-rail .mobile-param-buttons .mobile-tool-btn.secondary{border-color:var(--pink-light)}.mobile-unified-tool-rail .mobile-param-buttons .mobile-tool-btn.active{border-color:var(--pink);background:var(--pink);color:#fff}@media (width<=820px){.floating-toolbar-wrapper{display:none}.paint-palette,.eraser-tool-panel{width:100%;max-width:none;box-shadow:0 2px 10px var(--shadow), 0 0 0 1.5px var(--pink-light);border-radius:12px;gap:4px;padding:5px}.paint-palette-current{min-width:54px}.tool-settings-row,.tool-settings-main{gap:6px}.paint-palette .btn-sm{white-space:nowrap;border-width:1.5px;border-radius:999px;min-height:30px}.paint-palette .prefix-filter{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;width:100%;min-width:0}.paint-palette .prefix-filter button{border-width:1.5px;border-radius:999px;min-height:30px}.paint-palette-grid{-webkit-overflow-scrolling:touch;gap:4px;width:100%;max-width:none;padding:1px 0 2px;overflow-x:auto}.paint-swatch{border-width:1.5px;border-radius:8px;padding:3px}.paint-swatch-color{border-radius:6px;width:24px;height:24px}.paint-swatch-code{max-width:34px;font-size:.58em}}.mobile-tool-strip-empty{min-height:50px;color:var(--text-light);align-items:center;padding:0 4px;font-size:.86em;font-weight:700;display:flex}@media (width<=820px){.app-layout{height:100dvh}.app-body{min-height:0}.canvas-area{justify-content:flex-start;align-items:stretch}.modal-overlay{justify-content:center;align-items:flex-end;padding:0}.modal-card{width:100vw;max-width:100vw;max-height:min(86vh,100dvh - 56px);padding:18px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);border-radius:18px 18px 0 0}.modal-title{margin-bottom:12px;font-size:1.08em}.modal-actions{bottom:calc(-18px - env(safe-area-inset-bottom));margin:14px -16px calc(-18px - env(safe-area-inset-bottom));padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--pink-light);background:linear-gradient(#ffffffdb,#fff);position:sticky}.modal-actions .btn{min-height:42px}.share-preview{align-items:flex-start}.share-tag-group{flex-direction:column;align-items:flex-start;gap:6px}.share-tag-group>label{min-width:0}.auth-modal-overlay{align-items:center;padding:18px}.auth-modal-card{width:min(100%,380px);max-width:380px;max-height:calc(100dvh - 96px);box-shadow:0 10px 34px #00000029, 0 0 0 2px var(--pink-light);border-radius:22px;padding:22px 18px 18px}.auth-modal-card .modal-actions{background:0 0;border-top:0;margin:14px 0 0;padding:0;position:static;bottom:auto}.auth-modal-card .auth-switch{padding-bottom:max(0px, env(safe-area-inset-bottom));margin:14px 0 0}}@media (width>=821px) and (width<=1199px){.modal-card{max-width:min(720px,86vw)}}.modal-card-wide{max-width:700px}.modal-card-compact{max-width:400px}@media (width<=820px){.modal-card-wide,.modal-card-compact{max-width:100vw}}.eyedropper-help-mobile{display:none}@media (width<=820px){.eyedropper-panel{border-radius:0;width:100vw;max-width:none;height:100dvh;padding:12px}.eyedropper-help-desktop{display:none}.eyedropper-help-mobile{display:block}.eyedropper-actions .btn{min-height:42px}.image-float-overlay.mobile-image-viewer{cursor:default;max-width:none;max-height:none}.mobile-image-viewer .float-content{touch-action:none;overflow:hidden}.mobile-image-viewer .float-header{padding-top:calc(8px + env(safe-area-inset-top))}.mobile-image-viewer .float-controls button{min-width:42px;min-height:38px}.cartoon-confirm-compare{flex-direction:column;align-items:center;gap:12px}.cartoon-confirm-img{object-fit:contain;width:min(100%,240px);max-height:220px}.craft-panel{left:auto;right:6px;bottom:max(6px, env(safe-area-inset-bottom));z-index:30;width:min(360px,100vw - 12px);max-width:calc(100vw - 12px)}.craft-panel-collapsed{border-radius:14px;width:min(356px,100vw - 12px);max-width:calc(100vw - 12px);min-height:44px;padding:4px 6px;left:auto;right:6px}.craft-collapsed-actions{flex-wrap:nowrap;justify-content:flex-end;overflow-x:auto}.craft-collapsed-main{grid-template-columns:auto max-content auto;column-gap:5px;min-height:32px;padding:3px 8px}.craft-collapsed-title{font-size:.78em}.craft-collapsed-current{font-size:.7em}.craft-collapsed-percent{font-size:.68em}.craft-collapsed-bar{height:3px}.craft-quick-nav{width:32px;height:32px;font-size:.95em}.craft-quick-complete,.craft-quick-toggle{min-width:42px;height:32px;padding:0 8px;font-size:.72em}.craft-panel-expanded{width:min(360px,100vw - 12px);bottom:max(6px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;flex-direction:column;max-height:min(55vh,440px);display:flex}.craft-panel-header,.craft-actions{flex-shrink:0}.craft-color-list{overscroll-behavior:contain;min-height:0;overflow-y:auto}.craft-color-item{min-height:44px}.craft-actions{grid-template-columns:1fr 1fr 1fr;display:grid}.craft-done-btn{min-width:38px;min-height:38px}}@media (width>=821px) and (width<=1199px){.craft-panel{bottom:12px}.craft-panel-collapsed{width:min(356px,100vw - 36px);min-width:0;max-width:min(356px,100vw - 36px);padding:5px 7px}.craft-collapsed-main{grid-template-columns:auto max-content auto;column-gap:6px}.craft-quick-complete,.craft-quick-toggle{min-width:54px;padding:0 10px}.craft-panel-expanded{width:min(360px,100vw - 24px);max-height:min(58vh,420px)}.craft-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.craft-actions .btn{min-width:0;padding-left:8px;padding-right:8px}.craft-color-item{min-height:40px}.craft-done-btn{min-width:34px;min-height:34px}}@media (width>=821px) and (width<=1199px) and (orientation:landscape){.craft-panel-collapsed{width:max-content;min-width:0;max-width:min(480px,46vw)}}@media (orientation:landscape) and (pointer:coarse){.craft-panel{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom))}.craft-panel-collapsed{width:min(356px,100vw - 24px);min-width:0;max-width:min(356px,100vw - 24px)}.craft-panel-expanded{width:min(360px,100vw - 24px);max-height:min(62dvh,440px)}}@media (width<=820px){.community-page,.blueprint-detail-page,.profile-page{max-width:none;height:100%;max-height:none;padding:12px 10px calc(72px + env(safe-area-inset-bottom));align-self:stretch;overflow-y:auto}.community-search{gap:6px}.community-search .auth-input,.community-search .btn{min-height:44px}.community-tabs{white-space:nowrap;-webkit-overflow-scrolling:touch;overflow-x:auto}.community-tab{flex:none;min-height:44px;padding:8px 14px}.community-filters{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-flow:row;align-items:center;gap:6px;margin:-2px -10px 12px;padding:2px 10px 8px;overflow-x:auto}.community-filters::-webkit-scrollbar{display:none}.filter-group{flex:none;align-items:center;gap:4px;min-height:30px;padding:0}.filter-group label{color:var(--text-light);opacity:.9;font-size:.78em;font-weight:850}.filter-group select{width:auto;min-width:56px;max-width:80px;min-height:30px;color:var(--text);background-color:#ffffffd6;border-width:1.5px;border-radius:10px;padding:3px 18px 3px 7px;font-size:.78em;font-weight:750;box-shadow:0 2px 8px #ff8fab14}.blueprint-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.blueprint-card:hover,.history-card:hover,.ranking-item:hover{transform:none}.blueprint-card:active,.history-card:active,.ranking-item:active{transform:scale(.99)}.bp-card-info{padding:8px}.bp-card-meta,.bp-card-stats{flex-wrap:wrap;gap:4px 6px}.bp-detail-content{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px;display:grid}.bp-detail-image,.bp-detail-info{min-width:0;max-width:100%}.bp-detail-back{border-width:1.5px;border-radius:999px;min-height:34px;padding:5px 12px;font-size:.82em}.bp-detail-image{border:1.5px solid var(--pink-light);background:#ffffffe0;border-radius:16px;width:100%;overflow:hidden;box-shadow:0 4px 14px #ff8fab24}.bp-detail-image img{object-fit:contain;width:100%;height:clamp(260px,46dvh,390px);box-shadow:none;background:#fff;border-radius:0;display:block}.bp-detail-info{border:1.5px solid var(--pink-light);background:#ffffffe6;border-radius:16px;padding:12px;box-shadow:0 4px 14px #ff8fab1f}.bp-detail-title{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 7px;font-size:1.08em;line-height:1.28;display:-webkit-box;overflow:hidden}.bp-detail-desc{margin:0 0 10px;font-size:.84em;line-height:1.45}.bp-detail-meta{flex-direction:row;align-items:center;gap:8px;margin-bottom:10px}.bp-detail-author{flex:1;min-width:0;font-size:.86em;font-weight:850}.bp-detail-author>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bp-detail-avatar{border-width:1.5px;width:22px;height:22px}.bp-detail-date{flex:none;font-size:.76em}.bp-detail-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}.spec-item{background:#fff5f99e;border:1px solid #ffc2d1ad;border-radius:10px;flex-direction:column;justify-content:center;gap:2px;min-height:38px;padding:6px 8px;font-size:.82em}.spec-item span:last-child{color:var(--text);font-weight:850}.bp-detail-tags{margin-bottom:10px}.bp-tag{padding:4px 9px;font-size:.74em}.bp-locked-banner{border-radius:10px;margin-bottom:10px;padding:9px 10px;font-size:.82em}.bp-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.bp-detail-actions .btn{white-space:nowrap;border-width:1.5px;border-radius:14px;justify-content:center;width:100%;min-height:38px;padding:7px 9px;font-size:.84em}.bp-detail-actions .btn:last-child{border-radius:16px;grid-column:1/-1;min-height:42px;box-shadow:0 6px 14px #ff8fab2e}.bp-detail-views{justify-content:center;gap:10px;padding-top:2px;font-size:.78em;display:flex}.comment-section{border:1.5px solid var(--pink-light);background:#ffffffe6;border-radius:16px;margin-top:12px;padding:12px}.comment-title{margin-bottom:8px;font-size:.98em}.comment-textarea{border-width:1.5px;border-radius:12px;min-height:88px}.profile-header-card{text-align:left;align-items:stretch;padding:14px}.profile-user-info{text-align:left;flex-direction:row;align-items:center}.profile-avatar-lg{width:56px;height:56px}.profile-actions{justify-content:stretch;width:100%}.profile-actions .btn{flex:1;justify-content:center;min-height:42px}.profile-info-card{align-items:flex-start;gap:8px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.comment-delete{min-width:36px;min-height:36px}}@media (width<=359px){.blueprint-grid,.history-grid{grid-template-columns:1fr}}@media (orientation:landscape){.swap-drawer{width:100vw;max-width:100vw;height:auto;max-height:min(42dvh,360px);padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);border-radius:18px 18px 0 0;animation:none;inset:auto 0 0}.swap-drawer .modal-title{margin-bottom:6px;font-size:1.05em}.swap-section{grid-template-columns:minmax(160px,auto) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:6px;display:grid}.swap-section-header{margin-bottom:0}.swap-color-strip.source,.swap-color-strip.target{min-height:44px}.swap-preview-summary{min-height:36px;margin-bottom:6px;padding:6px 10px}.swap-drawer .modal-actions{justify-content:flex-end;margin-top:4px}.import-fallback-overlay{background:#fff5f9b8;justify-content:center;align-items:center;padding:32px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair){grid-template-rows:auto;grid-template-columns:clamp(270px,30vw,320px) minmax(0,1fr);align-items:stretch;gap:0;width:min(1320px,100vw - 72px);max-width:min(1320px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px);padding:0;display:grid;overflow:hidden}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-controls{background:#fff;border-right:1px solid #ffc2d1b3;grid-area:1/1;align-self:stretch;min-height:0;max-height:calc(100dvh - 96px);padding:18px;overflow-y:auto}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-main{background:linear-gradient(#fff 0%,#fff9fc 100%);flex-direction:column;grid-area:1/2;justify-content:center;align-self:stretch;min-height:0;padding:22px;display:flex}.import-fallback-overlay-repair{background:#fff;justify-content:stretch;align-items:stretch;padding:0}.import-fallback-overlay .import-fallback-card-repair{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-repair{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100%;min-height:0;display:grid}.import-fallback-overlay .import-fallback-card-repair .import-compare-side{background:#fffafce6;border-bottom:1px solid #ffc2d1d1;flex-wrap:wrap;grid-area:1/1;align-items:center;gap:8px 10px;padding:8px 14px;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar{flex:none;order:1}.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions{flex-wrap:nowrap;flex:none;order:2;grid-column:auto;justify-self:auto;align-items:center;gap:6px;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-toast{flex:100%;order:3;grid-column:auto}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-shell{grid-area:2/1;min-height:0;padding:10px 14px 14px}}@media (width>=821px) and (width<=1199px){.sidebar.open{width:250px}.sidebar-content{gap:8px;padding:10px}.floating-toolbar{max-width:min(92vw,760px)}.floating-toolbar .btn-sm{min-height:36px;padding:6px 10px}.paint-palette-grid{width:100%;max-width:none}.paint-swatch{min-width:34px}.paint-swatch-color{width:26px;height:26px}.blueprint-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.history-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}@media (width<=820px){.app-header{height:48px;padding:0 10px}.header-logo{gap:6px;min-width:0}.header-logo h1{max-width:none;font-size:1em}.header-user .btn,.user-menu-trigger{white-space:nowrap;min-height:38px}.user-menu-trigger span:not(.caret):not(.user-avatar-placeholder){text-overflow:ellipsis;white-space:nowrap;max-width:72px;overflow:hidden}}@media (width<=420px){.header-version{display:none}}.import-preview-card{max-width:480px}.import-preview-loading{flex-direction:column;align-items:center;gap:12px;padding:20px 0;display:flex}.import-preview-loading p{color:var(--text-light);font-size:.88em}.import-preview-spinner{border:3px solid var(--pink-light);border-top-color:var(--pink);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite import-preview-spin}@keyframes import-preview-spin{to{transform:rotate(360deg)}}.import-preview-header{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:8px;display:flex}.import-preview-kind-badge{background:var(--pink);color:#fff;white-space:nowrap;border-radius:12px;padding:3px 12px;font-size:.82em;font-weight:700;display:inline-block}.import-preview-confidence{flex:1;min-width:120px}.import-preview-confidence-label{color:var(--text);margin-bottom:4px;font-size:.78em;font-weight:700;display:block}.import-preview-confidence-bar{background:var(--pink-bg);border-radius:3px;height:6px;overflow:hidden}.import-preview-confidence-fill{background:var(--pink);border-radius:3px;height:100%;transition:width .3s}.import-preview-dimensions{color:var(--text-light);margin-bottom:10px;font-size:.82em;font-weight:600}.import-preview-reasons{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.import-preview-reason-tag{background:var(--pink-bg);color:var(--pink);border:1px solid var(--pink-light);border-radius:8px;padding:2px 8px;font-size:.72em;font-weight:700;display:inline-block}.import-preview-images{justify-content:center;margin-bottom:10px;display:flex}.import-preview-stage-head{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px;display:flex}.import-preview-stage-title{flex-direction:column;gap:3px;min-width:0;display:flex}.import-preview-stage-head span{color:var(--text-light);font-size:.84em;font-weight:900;line-height:1.2}.import-preview-stage-head small{color:var(--text-light);font-size:.72em;font-weight:800;line-height:1.25}.import-preview-stage-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:6px;display:flex}.import-preview-stage-actions .btn{border-radius:999px;min-height:30px;padding:5px 10px}.import-preview-main{order:1;min-height:0}.import-preview-result-tuning{flex-direction:column;flex:none;gap:6px;width:min(92%,560px);max-width:560px;margin:10px auto 0;display:flex}.import-preview-result-tuning .import-number-tune{width:100%;margin:0}.import-preview-controls{flex-direction:column;order:2;gap:10px;min-height:0;display:flex}.import-fallback-card-crop .import-preview-controls{display:none}.import-preview-img-group{text-align:center;justify-content:center;display:flex}.import-preview-img-label{color:var(--text-light);margin-bottom:4px;font-size:.72em;font-weight:700}.import-preview-img{object-fit:contain;border:2px solid var(--pink-light);width:auto;max-width:min(100%,520px);height:auto;max-height:min(50vh,500px);image-rendering:pixelated;background:#fff;border-radius:8px}.import-preview-main-crop-suggested .import-preview-img{max-height:100%}.import-crop-action{white-space:nowrap}.import-preview-main-crop{flex-direction:column;display:flex}.import-crop-workspace{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;grid-template-rows:minmax(0,1fr) auto;place-items:stretch center;gap:10px;width:100%;min-height:0;padding:10px;display:grid;overflow:auto}.import-crop-frame{border:2px solid var(--pink-light);touch-action:pan-x pan-y;background:#f4f4f5;border-radius:10px;justify-content:center;align-items:center;width:100%;max-width:min(100%,820px);height:100%;min-height:0;max-height:100%;display:flex;position:relative;overflow:visible}.import-crop-image-shell{border-radius:8px;flex:0 auto;min-width:0;max-width:100%;min-height:0;max-height:100%;line-height:0;display:inline-flex;position:relative;overflow:hidden}.import-crop-img{object-fit:contain;-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.import-crop-selection{z-index:2;border:2px solid var(--pink);cursor:move;touch-action:none;background:#ffffff14;border-radius:6px;position:absolute;box-shadow:0 0 0 9999px #14141847,0 8px 24px #3c2d462e}.import-crop-handle{background:var(--pink);touch-action:none;border:2px solid #fff;border-radius:50%;width:18px;height:18px;position:absolute;box-shadow:0 2px 8px #3c2d4640}.import-crop-handle.nw{cursor:nwse-resize;top:-9px;left:-9px}.import-crop-handle.ne{cursor:nesw-resize;top:-9px;right:-9px}.import-crop-handle.sw{cursor:nesw-resize;bottom:-9px;left:-9px}.import-crop-handle.se{cursor:nwse-resize;bottom:-9px;right:-9px}.import-crop-confirm{z-index:4;min-width:min(260px,100%);position:relative}.import-compare-repair{background:#fff;flex-direction:column;gap:8px;min-height:0;margin-bottom:8px;display:flex}.import-compare-side{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.import-compare-toolbar{z-index:4;background:#fff;flex:none;align-items:center;gap:6px;padding:0;display:flex;position:relative}.import-compare-toolbar button,.import-compare-tool-actions button{appearance:none;border:2px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:#fff;border-radius:8px;padding:6px 8px;font-size:.8em;font-weight:900;line-height:1.2;transition:all .18s}@media (hover:hover){.import-compare-toolbar button:hover:not(:disabled),.import-compare-tool-actions button:hover:not(:disabled){border-color:var(--pink);background:var(--pink-bg)}}.import-compare-toolbar button.active,.import-compare-tool-actions button.active{border-color:var(--pink);color:var(--pink);background:#ff8fab24}.import-compare-toolbar button:disabled,.import-compare-tool-actions button:disabled{cursor:default;opacity:.45}.import-compare-back{border-color:var(--pink)!important;background:var(--pink)!important;color:#fff!important}.import-compare-auto{border-color:var(--pink);color:var(--pink)}.import-compare-manual{justify-content:center;align-items:center;gap:7px;display:inline-flex}.import-compare-manual:before{content:"";background:0 0;border:1.5px solid #ff8fabb3;border-radius:50%;flex:none;width:12px;height:12px;transition:all .18s}.import-compare-manual.active{border-color:var(--pink);background:var(--pink);color:#fff}.import-compare-manual.active:before{box-shadow:inset 0 0 0 2px var(--pink);background:#fff;border-color:#fff}.import-compare-stage-actions{z-index:6;gap:8px;display:flex;position:absolute;top:10px;right:10px}.import-compare-reset{appearance:none;border:2px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;white-space:nowrap;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:#ffffffe6;border-radius:999px;padding:6px 14px;font-size:.78em;font-weight:900;transition:all .18s;box-shadow:0 5px 14px #ff8fab24}.import-compare-tool-actions{flex:auto;justify-content:flex-end;gap:6px;display:flex}.import-compare-tool-actions>button{flex:0 auto}.import-compare-zoom{align-items:center;gap:4px;width:146px;display:inline-flex}.import-compare-zoom button{flex:0 0 40px;min-width:40px;padding-inline:8px}.import-compare-zoom button:nth-child(2){flex-basis:58px}.import-compare-back{flex:none;width:auto}.import-compare-control,.import-compare-opacity{border:1px solid var(--pink-light);min-width:0;min-height:36px;color:var(--text-light);background:#fff5f9b8;border-radius:8px;grid-template-columns:auto minmax(42px,max-content) minmax(0,1fr);align-items:center;gap:10px;padding:4px 10px;font-size:.78em;font-weight:800;display:grid}.import-compare-opacity{grid-template-columns:auto minmax(0,1fr)}.import-compare-control span,.import-compare-opacity span{flex-shrink:0}.import-compare-control strong,.import-compare-opacity strong{color:var(--pink);text-align:right;font-size:.9em;font-weight:900}.import-compare-control input,.import-compare-opacity input{touch-action:pan-x;width:100%;min-width:80px}.import-compare-opacity input{grid-column:1/-1}.import-compare-panels{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.import-compare-panel{min-width:0}.import-compare-panel-title{color:var(--text);margin-bottom:6px;font-size:.82em;font-weight:900}.import-compare-image-frame,.import-compare-overlay-frame{border:2px solid var(--pink-light);cursor:crosshair;overscroll-behavior:contain;touch-action:none;background:#f4f4f6;border-radius:8px;max-height:min(58vh,620px);position:relative;overflow:auto}.import-compare-image-stage{transform-origin:0 0;contain:paint;width:100%;min-width:0;margin:0 auto;position:relative}.import-compare-overlay-shell{flex:auto;min-width:0;min-height:0}.import-compare-overlay-stage-wrap{flex:auto;min-width:0;min-height:0;padding:0;position:relative}.import-compare-bottom-controls{z-index:6;pointer-events:none;width:min(560px,100% - 128px);position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.import-compare-bottom-controls .import-compare-opacity{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;background:#ffffffe6;border-color:#ffc2d1d1;grid-template-columns:auto auto minmax(160px,1fr);min-height:40px;padding:7px 12px;box-shadow:0 8px 24px #ff8fab29}.import-compare-bottom-controls .import-compare-opacity input{grid-column:auto;min-width:0}.import-compare-history-controls{z-index:6;gap:8px;display:flex;position:absolute;top:10px;left:10px}.import-compare-history-controls button{appearance:none;border:2px solid var(--pink-light);min-height:34px;color:var(--pink);font:inherit;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border-radius:999px;padding:6px 14px;font-size:.78em;font-weight:900;box-shadow:0 5px 14px #ff8fab24}.import-compare-history-controls button:disabled{opacity:.44}.import-compare-nudge-pad{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffdb;border:1px solid #ffc2d1d1;border-radius:999px;transition:width .18s,height .18s,border-radius .18s;position:absolute;bottom:12px;right:12px;box-shadow:0 8px 22px #ff8fab2e}.import-compare-nudge-pad.collapsed{width:48px;height:48px}.import-compare-nudge-pad.expanded{border-radius:50%;width:112px;height:112px}.import-compare-nudge-toggle{z-index:2;appearance:none;border:2px solid var(--pink-light);width:36px;height:36px;color:var(--pink);font:inherit;background:#fff;border-radius:50%;font-size:.72em;font-weight:900;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #ff8fab29}.import-compare-nudge{appearance:none;border:2px solid var(--pink-light);min-width:34px;min-height:34px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:50%;font-size:.72em;font-weight:900;line-height:1;position:absolute;box-shadow:0 2px 8px #ff8fab2e}.import-compare-nudge-up,.import-compare-nudge-down{left:50%;transform:translate(-50%)}.import-compare-nudge-up{top:5px}.import-compare-nudge-down{bottom:5px}.import-compare-nudge-left,.import-compare-nudge-right{top:50%;transform:translateY(-50%)}.import-compare-nudge-left{left:5px}.import-compare-nudge-right{right:5px}.import-compare-image-frame img,.import-compare-overlay-frame img{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;width:100%;height:auto;display:block}.import-compare-image-stage>img{object-fit:fill;width:100%;height:100%}.import-compare-overlay-frame,.import-compare-image-stage,.import-compare-touch-magnifier,.import-compare-touch-magnifier-stage{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.import-compare-source-highlight,.import-compare-result-highlight{pointer-events:none;border:2px solid var(--pink);background:#ff8fab38;position:absolute;box-shadow:0 0 0 1px #ffffffbf}.import-compare-overlay-result{object-fit:fill;image-rendering:pixelated;backface-visibility:hidden;will-change:opacity;pointer-events:none;position:absolute;transform:translateZ(0)}.import-compare-source-aligned-overlay{z-index:1;object-fit:fill;width:100%;height:100%;image-rendering:pixelated;pointer-events:none;will-change:opacity;display:block;position:absolute;inset:0}.import-compare-source-cell{box-sizing:border-box;image-rendering:pixelated;pointer-events:none;position:absolute;transform:translateZ(0)}.import-compare-source-cell.empty{box-shadow:inset 0 0 0 1px #ffffff52}.import-compare-overlay-cells{z-index:1;pointer-events:none;will-change:opacity;position:absolute;inset:0}.import-compare-overlay-cell{box-sizing:border-box;pointer-events:none;position:absolute}.import-compare-overlay-highlight{z-index:2}.import-compare-touch-magnifier{z-index:9;pointer-events:none;background:#f4f4f5;border:2px solid #fffffff5;border-radius:14px;width:128px;height:128px;position:absolute;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 8px 24px #3c2d4640,0 0 0 1px #ffc2d1d1}.import-compare-touch-magnifier-stage{transform-origin:0 0;position:absolute;top:0;left:0}.import-compare-touch-magnifier-stage img{object-fit:fill;-webkit-user-select:none;user-select:none;width:100%;max-width:none;height:100%;max-height:none;position:absolute;top:0;left:0}.import-compare-touch-magnifier-overlay{image-rendering:pixelated}.import-compare-touch-magnifier span{background:#ffffffbd;border:1.5px solid #231f26e0;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffdb}.import-compare-toast{border:1px solid var(--pink-light);min-width:0;color:var(--text);overflow-wrap:anywhere;background:#fff5f9c2;border-radius:8px;flex:100%;order:9;padding:7px 10px;font-size:.8em;font-weight:800;line-height:1.35}@media (width<=720px){.import-crop-confirm{width:100%}.import-preview-overlay .import-fallback-card-crop .import-preview-controls{display:none}.import-compare-side{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.import-compare-toolbar{flex:none;order:1;gap:0;min-width:0;display:flex}.import-compare-toolbar>button{min-width:0}.import-compare-toolbar button,.import-compare-tool-actions button{border-width:1.5px;border-radius:999px;min-height:32px;padding:5px 8px;font-size:.72em}.import-compare-tool-actions{flex-wrap:nowrap;flex:none;order:2;gap:6px;min-width:0;display:flex}.import-compare-toast{flex:100%;order:3;grid-column:auto}.import-compare-control,.import-compare-opacity{min-height:38px}.import-compare-bottom-controls{width:auto;bottom:12px;left:12px;right:76px;transform:none}.import-compare-bottom-controls .import-compare-opacity{grid-template-columns:auto auto;gap:6px 8px}.import-compare-bottom-controls .import-compare-opacity input{grid-column:1/-1}.import-compare-panels{grid-template-columns:1fr}.import-compare-image-frame{max-height:32vh}.import-compare-overlay-frame{place-items:center;max-height:min(68dvh,640px);display:grid}.import-compare-overlay-stage-wrap{padding:0}.import-compare-nudge-pad{bottom:92px;right:12px}.import-compare-nudge-pad.expanded{width:108px;height:108px}}.import-preview-alt-section,.import-preview-parameter-section{margin-bottom:0}.import-preview-parameter-section{flex-direction:column;gap:8px;display:flex}.import-preview-parameter-section .import-number-tune{margin:0}.import-number-tune{border:1px solid var(--pink-light);background:#fff5f97a;border-radius:8px;grid-template-columns:minmax(0,126px) minmax(0,1fr);align-items:center;gap:7px;min-height:42px;margin:0 0 6px;padding:5px 8px;display:grid}.import-number-meta{justify-content:space-between;align-items:baseline;gap:6px;min-width:0;display:flex}.import-number-meta span{color:var(--text);white-space:nowrap;font-size:.78em;font-weight:900}.import-number-meta strong{min-width:30px;color:var(--pink);text-align:right;font-size:.82em;font-weight:900}.import-number-row{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:6px;min-width:0;display:grid}.import-number-row button{appearance:none;border:2px solid var(--pink-light);width:28px;min-width:28px;height:28px;color:var(--pink);font:inherit;background:#fff;border-radius:50%;font-size:.82em;font-weight:900;line-height:1}.import-number-row button:disabled{opacity:.42}.import-number-row input[type=range],.import-compare-control input[type=range],.import-compare-opacity input[type=range]{appearance:none;touch-action:pan-x;background:0 0;outline:none;width:100%;height:28px;margin:0}.import-number-row input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,#ff84a6c7,#ffc2d1c7);border:0;border-radius:999px;height:8px}.import-compare-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,#ff84a6c7,#ffc2d1c7);border:0;border-radius:999px;height:8px}.import-compare-opacity input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,#ff84a6c7,#ffc2d1c7);border:0;border-radius:999px;height:8px}.import-number-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--pink);border:3px solid #fff;border-radius:50%;width:22px;height:22px;margin-top:-7px;box-shadow:0 2px 7px #ff84a64d}.import-compare-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--pink);border:3px solid #fff;border-radius:50%;width:22px;height:22px;margin-top:-7px;box-shadow:0 2px 7px #ff84a64d}.import-compare-opacity input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--pink);border:3px solid #fff;border-radius:50%;width:22px;height:22px;margin-top:-7px;box-shadow:0 2px 7px #ff84a64d}.import-number-row input[type=range]::-moz-range-track{background:#ffc2d1c7;border:0;border-radius:999px;height:8px}.import-compare-control input[type=range]::-moz-range-track{background:#ffc2d1c7;border:0;border-radius:999px;height:8px}.import-compare-opacity input[type=range]::-moz-range-track{background:#ffc2d1c7;border:0;border-radius:999px;height:8px}.import-number-row input[type=range]::-moz-range-progress{background:#ff84a6c7;border-radius:999px;height:8px}.import-compare-control input[type=range]::-moz-range-progress{background:#ff84a6c7;border-radius:999px;height:8px}.import-compare-opacity input[type=range]::-moz-range-progress{background:#ff84a6c7;border-radius:999px;height:8px}.import-number-row input[type=range]::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 7px #ff84a64d}.import-compare-control input[type=range]::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 7px #ff84a64d}.import-compare-opacity input[type=range]::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 7px #ff84a64d}.import-number-row input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-compare-control input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-compare-opacity input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-number-row input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-compare-control input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-compare-opacity input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #ffc2d18c}.import-preview-alt-label,.import-preview-parameter-label{color:var(--text-light);margin-bottom:6px;font-size:.9em;font-weight:900}.import-preview-alt-buttons{flex-wrap:wrap;gap:8px;display:flex}.import-method-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:2px;display:grid;overflow:visible}.import-method-option{appearance:none;border:2px solid var(--pink-light);text-align:center;cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:40px;padding:6px 10px;transition:all .18s;display:flex}.import-method-option:hover:not(:disabled){border-color:var(--pink);transform:translateY(-1px)}.import-method-option.active{background:var(--pink-bg);border-color:var(--pink)}.import-method-option:disabled{cursor:default;opacity:.78}.import-method-option span{color:var(--text);white-space:nowrap;justify-content:center;align-items:center;gap:5px;font-size:.82em;font-weight:800;line-height:1.2;display:inline-flex}.import-method-option small{color:var(--text-light);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.66em;font-weight:700;line-height:1.25;overflow:hidden}.import-method-option.loading{border-color:var(--pink);background:#fff5f9d6}.import-method-spinner{border:2px solid #ff8fab47;border-top-color:var(--pink);border-radius:50%;flex:none;width:12px;height:12px;animation:.72s linear infinite import-preview-spin}.import-preview-alt-btn{align-items:center;gap:4px;display:inline-flex}.import-preview-alt-conf{color:var(--pink);font-size:.72em;font-weight:700}@media (width<=820px){.import-preview-card{max-width:100vw}.import-preview-images{margin-bottom:10px}.import-preview-img{max-height:min(46vh,460px)}.import-method-grid{gap:6px;margin-right:0;padding-right:0}.import-method-option{min-height:38px;padding:5px 6px}.import-method-option span{font-size:.76em}.import-method-option small{font-size:.58em}.import-preview-footer{bottom:calc(-18px - env(safe-area-inset-bottom));margin:10px -18px calc(-18px - env(safe-area-inset-bottom));padding:10px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--pink-light);background:#fff;grid-template-columns:1fr;align-items:stretch;position:sticky}.import-preview-actions{flex-shrink:0;justify-content:flex-end;width:100%}}.import-fallback-card,.import-review-card{max-width:640px}.import-fallback-card{max-height:min(86vh,820px);padding:18px}.import-fallback-card-repair{width:min(1120px,100vw - 28px);max-width:min(1120px,100vw - 28px)}.import-repair-editor-card{max-height:min(88vh,860px)}.import-repair-empty{border:1px solid var(--pink-light);background:var(--pink-bg);color:var(--text);border-radius:8px;padding:18px;font-size:.86em;font-weight:800;line-height:1.5}.import-fallback-summary,.import-review-summary{color:var(--text);flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.import-preview-compact-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.import-preview-compact-head>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.import-preview-compact-head strong{color:var(--pink);font-size:1em;font-weight:900;line-height:1.25}.import-preview-compact-head span{color:var(--text-light);font-size:.8em;font-weight:700;line-height:1.3}.import-preview-head-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.import-preview-head-btn{white-space:nowrap}.import-fallback-summary p,.import-review-summary p{color:var(--text-light);margin:0;font-size:.88em;line-height:1.5}.import-fallback-recommendation,.import-review-kind{color:var(--text);font-weight:800}.import-fallback-meta{flex-wrap:wrap;gap:6px;display:flex}.import-fallback-meta span{color:var(--pink);background:var(--pink-bg);border:1px solid var(--pink-light);border-radius:8px;padding:2px 8px;font-size:.76em;font-weight:700}.import-recommendation-note{color:var(--text);border:1px solid var(--pink-light);white-space:nowrap;background:#ff85ab1f;border-radius:8px;flex-shrink:0;padding:4px 8px;font-size:.76em;font-weight:800}.import-ai-action{white-space:nowrap;flex-shrink:0;min-height:32px;padding:5px 12px}.import-preview-footer{background:#fff;flex-direction:column;gap:10px;margin-top:10px;display:flex}@media (orientation:landscape) and (width>=700px){.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair){border:2px solid var(--pink-light);border-radius:16px;grid-template-rows:auto;grid-template-columns:clamp(270px,30vw,320px) minmax(0,1fr);align-items:stretch;gap:0;width:min(1320px,100vw - 72px);max-width:min(1320px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px);padding:0;display:grid;overflow:hidden;box-shadow:0 16px 42px #ff8fab29}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-main{order:initial;background:linear-gradient(#fff 0%,#fff9fc 100%);flex-direction:column;grid-area:1/2;justify-content:center;align-self:stretch;min-height:0;padding:22px;display:flex}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-stage-head{align-self:center;width:min(92%,820px);max-width:820px;margin-bottom:10px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-stage-head span{font-size:.88em}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-compact-head{flex-shrink:0;margin-bottom:4px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-images{flex:auto;align-items:center;min-height:0;margin-bottom:0}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-img-group{background:#ffffffb8;border-radius:14px;align-items:center;width:min(92%,820px);max-width:820px;height:auto;min-height:0;max-height:100%;padding:18px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-img{width:100%;max-width:100%;max-height:min(640px,100dvh - 150px);box-shadow:0 8px 24px #ff8fab1f}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-controls{order:initial;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-right:1px solid #ffc2d1b3;grid-area:1/1;align-self:stretch;min-height:0;max-height:calc(100dvh - 96px);padding:18px;overflow-y:auto}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-number-tune{background:#fff5f99e;grid-template-columns:1fr;gap:8px;min-height:auto;margin-bottom:0;padding:10px 12px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-number-meta span{font-size:.82em}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-grid{grid-template-columns:1fr;gap:7px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option{text-align:left;align-items:flex-start;min-height:46px;padding:9px 12px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option span,.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option small{text-align:left;justify-content:flex-start}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-ai-action{align-self:flex-start;width:auto}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-footer{background:#fff;flex-shrink:0;margin-top:4px;padding-top:6px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions,.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions>.btn,.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions.simple-actions>.btn{justify-self:stretch;width:100%}.import-fallback-overlay .import-fallback-card-repair{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:none;background:#fff;border:0;border-radius:0;padding:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-repair{background:#fff;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;height:100%;margin-bottom:0;display:grid}.import-fallback-overlay .import-fallback-card-repair .import-compare-side{background:#fffafce6;border-bottom:1px solid #ffc2d1d1;border-right:0;grid-area:1/1;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:10px;min-height:0;padding:8px 14px;display:grid;overflow:visible}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar,.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions,.import-fallback-overlay .import-fallback-card-repair .import-compare-toast{align-self:stretch;max-width:none}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar{background:0 0;border-bottom:0;grid-template-columns:auto;gap:0;padding:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar button,.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions button{border-width:1.5px;border-radius:999px;min-height:32px;padding:5px 8px;font-size:.76em}.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions{grid-column:3;place-self:center end;align-items:center;gap:6px;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-control,.import-fallback-overlay .import-fallback-card-repair .import-compare-opacity{background:#ffffffc7;border-color:#ffc2d194;grid-template-columns:auto auto minmax(180px,1fr);gap:10px;min-height:38px;padding:6px 12px}.import-fallback-overlay .import-fallback-card-repair .import-compare-opacity span,.import-fallback-overlay .import-fallback-card-repair .import-compare-opacity strong{font-size:.9em}.import-fallback-overlay .import-fallback-card-repair .import-compare-control input,.import-fallback-overlay .import-fallback-card-repair .import-compare-opacity input{grid-column:auto;min-width:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-toast{min-width:0;color:var(--text-light);background:0 0;border:0;border-radius:0;grid-area:1/2;align-self:stretch;align-items:center;margin-top:0;padding:0 2px;font-size:.76em;font-weight:800;line-height:1.35;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-shell{background:#fff;grid-area:2/1;min-height:0;padding:10px 14px 14px}.import-fallback-overlay .import-fallback-card-repair .import-compare-history-controls{top:12px;left:12px}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-stage-wrap{justify-content:flex-start;align-items:stretch;padding:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-frame{background:#f2f2f4;border-color:#ffc2d1eb;border-radius:12px;place-items:center;width:100%;max-height:none;display:grid}}.import-preview-actions{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;display:grid}.import-preview-actions>.btn{justify-self:end}.import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.import-preview-actions.simple-actions>.btn{justify-self:stretch;width:100%;min-height:34px}.import-repair-note{min-width:0;color:var(--text-light);text-align:right;font-size:.72em;font-weight:800;line-height:1.3}.import-repair-action{white-space:nowrap}.import-repair-scroll{background:#fff;min-height:0}.import-fallback-overlay{background:#fff;justify-content:center;align-items:stretch;padding:0;overflow:hidden}.import-fallback-overlay .import-fallback-card{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:none;background:#fff;border-radius:0;flex-direction:column;padding:12px;display:flex;overflow:hidden}.import-fallback-overlay .import-fallback-card-repair{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.import-fallback-overlay .import-fallback-card-repair .import-repair-scroll{flex-direction:column;flex:auto;min-height:0;padding-bottom:8px;display:flex;overflow:hidden}.import-fallback-overlay .import-fallback-card-repair .import-compare-repair{flex:auto;min-height:0;margin-bottom:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-shell,.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-stage-wrap{flex-direction:column;flex:auto;min-height:0;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-overlay-frame{flex:auto;height:100%;min-height:0;max-height:none}.import-fallback-overlay .import-fallback-card-repair .import-compare-toast,.import-fallback-overlay .import-fallback-card-repair .import-preview-footer,.import-fallback-overlay .import-fallback-card-repair .import-number-tune{flex-shrink:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar,.import-fallback-overlay .import-fallback-card-repair .import-compare-control,.import-fallback-overlay .import-fallback-card-repair .import-compare-opacity{align-self:center;width:100%;max-width:min(680px,100%)}@media (orientation:landscape) and (width>=700px){.import-fallback-overlay{background:#fff5f9b8;justify-content:center;align-items:center;padding:32px}.import-fallback-overlay-repair{background:#fff;justify-content:stretch;align-items:stretch;padding:0}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair){width:min(1320px,100vw - 72px);max-width:min(1320px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px)}.import-fallback-overlay-repair .import-fallback-card-repair{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:none;border:0;border-radius:0;padding:0}.import-fallback-overlay-repair .import-fallback-card-repair .import-repair-scroll{padding-bottom:0}}@media (width<=820px){.import-preview-overlay{-webkit-overflow-scrolling:touch;background:#fff;justify-content:center;align-items:flex-start;overflow-y:auto}.import-preview-overlay .import-fallback-card{--import-preview-mobile-footer-height:calc(58px + env(safe-area-inset-bottom));width:100vw;max-width:100vw;height:calc(100svh - env(safe-area-inset-bottom));min-height:calc(100svh - env(safe-area-inset-bottom));max-height:calc(100svh - env(safe-area-inset-bottom));box-shadow:none;background:#fff;border-radius:0;flex-direction:column;padding:12px;display:flex;overflow:hidden}.import-preview-overlay .import-fallback-card-repair{width:100vw;max-width:100vw}.import-preview-overlay .import-fallback-card-repair .import-repair-scroll{-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;min-height:0;padding-bottom:8px;display:flex;overflow:hidden}.import-preview-overlay .import-fallback-card-repair .import-compare-repair{flex:auto;min-height:0}.import-preview-overlay .import-fallback-card-repair .import-compare-overlay-shell,.import-preview-overlay .import-fallback-card-repair .import-compare-overlay-stage-wrap{flex-direction:column;flex:auto;display:flex}.import-preview-overlay .import-fallback-card-repair .import-compare-overlay-frame{flex:auto;min-height:0;max-height:none}.import-preview-overlay .import-fallback-card-repair .import-preview-footer{margin:6px -12px calc(-12px - env(safe-area-inset-bottom));flex-shrink:0;position:static;bottom:auto}.import-preview-overlay .modal-card-compact{border-radius:0;width:100vw;max-width:100vw;min-height:100dvh;max-height:100dvh}.import-preview-compact-head{align-items:flex-start;gap:8px;margin-bottom:6px}.import-preview-head-actions{max-width:42%}.import-preview-ai-action .import-ai-credit{display:none}.import-recommendation-note{text-overflow:ellipsis;max-width:100%;overflow:hidden}.import-preview-main{flex-direction:column;flex:auto;min-height:0;display:flex}.import-preview-main .import-preview-images{flex:auto;align-items:center;min-height:0;margin-bottom:8px}.import-preview-main .import-preview-img-group{align-items:center;width:100%;height:100%;min-height:0}.import-preview-main .import-preview-img{max-height:100%}.import-number-tune{grid-template-columns:minmax(0,120px) minmax(0,1fr);gap:7px;min-height:40px;margin-bottom:6px;padding:5px 8px}.import-number-row{grid-template-columns:28px minmax(0,1fr) 28px}.import-number-row button{width:28px;height:28px}.import-preview-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--pink-light);z-index:8;background:#fff;flex-shrink:0;margin:8px -12px -12px;position:sticky;bottom:0}.import-preview-actions{grid-template-columns:minmax(0,1fr) auto auto auto;width:100%}.import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px) and (orientation:portrait){.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){grid-template-rows:minmax(0,min(60svh,520px)) minmax(0,1fr);gap:8px;display:grid;overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-main{grid-row:1;min-height:0;padding:0;overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-stage-head{flex:none;margin-bottom:6px}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-images{min-height:0;margin-bottom:0;overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-img-group{min-height:0;overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-img{object-fit:contain;max-width:100%;max-height:100%}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-controls{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding-bottom:var(--import-preview-mobile-footer-height);background:#fff;grid-row:2;overflow-y:auto}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom));margin:8px -12px 0;position:sticky;bottom:0}}@media (width<=820px) and (orientation:landscape){.mobile-generate-workspace{--mobile-workbench-offset:min(62dvh, calc(100dvh - 96px))}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){grid-template-rows:minmax(0,1fr) auto;gap:8px;display:grid}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-main{grid-row:1;min-height:0;overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-controls{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;grid-row:2;min-height:0;max-height:min(42dvh,320px);overflow-y:auto}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-images,.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-img-group{overflow:hidden}.import-preview-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-img{object-fit:contain;max-width:100%;max-height:100%}.mobile-workbench{max-height:var(--mobile-workbench-offset);padding-bottom:calc(20px + env(safe-area-inset-bottom))}.import-fallback-overlay .import-fallback-card-repair .import-compare-side{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);row-gap:6px}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar{grid-area:1/1;justify-self:start}.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions{grid-area:1/1;grid-template-columns:repeat(3,max-content);justify-self:end;align-items:center;gap:6px;display:grid}.import-fallback-overlay .import-fallback-card-repair .import-compare-toast{grid-area:2/1;justify-self:stretch}}@media (width<=520px){.import-preview-actions{grid-template-columns:1fr 1fr 1fr}.import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.import-repair-note{text-align:left;grid-column:1/-1}.import-preview-actions .btn{width:100%}}@media (orientation:landscape) and (width>=700px){.import-preview-overlay.import-fallback-overlay{background:#fff5f9b8;justify-content:center;align-items:center;padding:32px;overflow:hidden}.import-preview-overlay.import-fallback-overlay-repair{background:#fff;justify-content:stretch;align-items:stretch;padding:0}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair){border:2px solid var(--pink-light);border-radius:16px;grid-template-rows:minmax(0,1fr);grid-template-columns:clamp(270px,30vw,320px) minmax(0,1fr);align-items:stretch;gap:0;width:min(1320px,100vw - 72px);max-width:min(1320px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px);padding:0;display:grid;overflow:hidden;box-shadow:0 16px 42px #ff8fab29}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){height:calc(100dvh - 96px);max-height:calc(100dvh - 96px)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair){grid-template-columns:minmax(0,1fr);width:min(980px,100vw - 96px);max-width:min(980px,100vw - 96px)}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-controls{order:initial;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-right:1px solid #ffc2d1b3;grid-area:1/1;align-self:stretch;min-height:0;max-height:calc(100dvh - 96px);padding:14px;overflow-y:auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-controls{padding-bottom:calc(14px + env(safe-area-inset-bottom))}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-main{order:initial;background:linear-gradient(#fff 0%,#fff9fc 100%);grid-area:1/2;justify-content:center;align-self:stretch;min-height:0;padding:22px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-stage-head,.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-img-group{width:min(92%,820px);max-width:820px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-images{flex:auto;align-items:center;min-height:0;margin-bottom:0}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-img-group{background:#ffffffb8;border-radius:14px;align-items:center;height:auto;min-height:0;max-height:100%;padding:18px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-img{width:100%;max-width:100%;max-height:min(640px,100dvh - 150px)}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-main-crop-suggested .import-preview-img{width:auto;max-width:100%;height:min(56dvh,420px);max-height:calc(100dvh - 205px)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair) .import-preview-main{grid-column:1;justify-content:center;align-items:center;padding:22px 28px}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair) .import-preview-stage-head{width:min(100%,820px);max-width:820px}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair) .import-crop-workspace{align-self:center;width:min(100%,820px);max-width:820px;min-height:0}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair) .import-crop-frame{width:auto;max-width:min(820px,72vw);height:100%;max-height:100%}.import-preview-overlay.import-fallback-overlay .import-fallback-card-crop:not(.import-fallback-card-repair) .import-crop-img{width:auto;max-width:min(820px,72vw);height:auto;max-height:100%}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-grid{grid-template-columns:1fr}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option{text-align:left;align-items:flex-start;min-height:46px;padding:9px 12px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option span,.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-method-option small{text-align:left;justify-content:flex-start}.import-preview-overlay.import-fallback-overlay .import-preview-ai-action{width:auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-footer{background:#fff;border-top:0;flex-shrink:0;margin:4px 0 0;padding:0;position:static;bottom:auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions,.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions>.btn,.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-actions.simple-actions>.btn{justify-self:stretch;width:100%}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:none;background:#fff;border:0;border-radius:0;padding:0}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-repair-scroll{height:100%;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-repair{background:#fff;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;height:100%;margin-bottom:0;display:grid}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-side{background:#fffafce6;border-bottom:1px solid #ffc2d1d1;border-right:0;grid-area:1/1;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:10px;min-height:0;padding:8px 14px;display:grid;overflow:visible}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-toolbar,.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-tool-actions,.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-toast{align-self:center;width:auto;max-width:none}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-toolbar{background:0 0;border-bottom:0;grid-area:1/1;grid-template-columns:auto;gap:0;padding:0}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-tool-actions{grid-area:1/3;grid-template-columns:repeat(3,max-content);justify-content:end;justify-self:end;align-items:center;gap:6px;display:grid}.import-repair-overlay .import-fallback-card-repair .import-compare-side{flex-wrap:nowrap;align-items:center;gap:10px;display:flex}.import-repair-overlay .import-fallback-card-repair .import-compare-toolbar{flex:none;order:1;place-self:center start;width:auto;max-width:none}.import-repair-overlay .import-fallback-card-repair .import-compare-back{width:auto;min-width:148px}.import-repair-overlay .import-fallback-card-repair .import-compare-toast{flex:auto;order:2;grid-area:auto;place-self:center;min-width:0}.import-repair-overlay .import-fallback-card-repair .import-compare-tool-actions{flex-wrap:nowrap;flex:none;order:3;grid-area:auto;justify-content:flex-end;justify-self:auto;align-items:center;gap:6px;display:flex}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-toast{min-width:0;color:var(--text-light);background:0 0;border:0;border-radius:0;grid-area:1/2;justify-self:stretch;align-items:center;padding:0 2px;font-size:.76em;font-weight:800;line-height:1.35;display:flex}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-toolbar button,.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-tool-actions button{border-width:1.5px;border-radius:999px;width:auto;min-height:32px;padding:5px 10px;font-size:.76em}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-overlay-shell{min-height:0;padding:10px 14px calc(14px + env(safe-area-inset-bottom));background:#fff;grid-area:2/1}.import-preview-overlay.import-fallback-overlay-repair .import-fallback-card-repair .import-compare-overlay-frame{background:#f2f2f4;border-color:#ffc2d1eb;border-radius:12px;place-items:center;width:100%;max-height:none;display:grid}.mobile-generate-workspace{height:calc(100dvh - 48px - 64px - env(safe-area-inset-bottom));min-height:0;overflow:hidden}.mobile-workbench{max-height:calc(100dvh - 48px - 64px - env(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom));overflow:visible}.mobile-workbench-content{max-height:calc(100dvh - 48px - 64px - env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-y:auto}}.import-result-notice{z-index:18;border:1px solid var(--pink-light);width:min(560px,100% - 24px);box-shadow:var(--shadow-soft);background:#fffffff5;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}.import-result-notice.tone-success{border-color:#b9e7cf}.import-result-notice.tone-warning,.import-result-notice.tone-attention{border-color:var(--pink-light)}.import-result-notice-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.import-result-notice-copy strong{color:var(--text);font-size:.86em}.import-result-notice-copy span{color:var(--text-light);font-size:.78em;line-height:1.4}.import-result-notice-actions{flex-shrink:0;gap:6px;display:flex}@media (width<=820px){.import-result-notice{flex-direction:column;align-items:stretch;top:auto;bottom:86px}.import-result-notice-actions{flex-wrap:wrap;justify-content:flex-end}}.import-source-modal{width:min(560px,100vw - 24px);max-height:min(82vh,720px);overflow-y:auto}.import-source-tabs{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px;display:grid}.import-source-tabs button{border:1px solid var(--pink-light);color:var(--text);cursor:pointer;background:#fff;border-radius:8px;padding:10px 12px;font-weight:700}.import-source-tabs button.active{background:var(--pink-light);border-color:var(--pink);color:var(--pink)}.import-source-progress,.import-source-local-preview{text-align:center;padding:16px 0}.import-source-progress .cartoon-progress-container{width:min(520px,100%);margin:0 auto}.import-source-local-preview img{border:2px solid var(--pink-light);max-width:100%;max-height:180px;image-rendering:pixelated;border-radius:8px;margin:0 auto 10px;display:block}.xhs-import-panel{flex-direction:column;gap:10px;display:flex}.xhs-share-input{resize:vertical;border:1px solid var(--pink-light);width:100%;min-height:96px;font:inherit;color:var(--text);border-radius:8px;padding:10px 12px}.xhs-import-actions{flex-wrap:wrap;gap:8px;display:flex}.xhs-import-error{color:#c03535;background:#fff1f1;border:1px solid #ffd0d0;border-radius:8px;padding:8px 10px;font-size:.9em}.xhs-note-result{border-top:1px solid var(--pink-light);padding-top:10px}.xhs-note-head{flex-direction:column;gap:3px;margin-bottom:10px;display:flex}.xhs-note-head strong{color:var(--text);font-size:.98em}.xhs-note-head span{color:var(--text-light);font-size:.84em}.xhs-image-grid{grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:10px;display:grid}.xhs-image-option{border:1px solid var(--pink-light);cursor:pointer;color:var(--text);text-align:left;background:#fff;border-radius:8px;padding:6px}.xhs-image-option.active{border-color:var(--pink);box-shadow:0 0 0 2px var(--pink-light)}.xhs-image-option:disabled{opacity:.65;cursor:wait}.xhs-image-option img{aspect-ratio:1;object-fit:cover;background:#f8f8f8;border-radius:6px;width:100%;display:block}.xhs-image-option span{color:var(--text-light);margin-top:6px;font-size:.78em;line-height:1.3;display:block}@media (orientation:landscape){.swap-drawer{width:100vw;max-width:100vw;height:auto;max-height:min(42dvh,360px);padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0000001f, 0 0 0 2px var(--pink-light);border-radius:18px 18px 0 0;animation:none;inset:auto 0 0}.swap-section{grid-template-columns:minmax(160px,auto) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:6px;display:grid}.swap-section-header{margin-bottom:0}.swap-drawer .modal-actions{justify-content:flex-end;margin-top:4px}.import-fallback-overlay{background:#fff5f9b8;justify-content:center;align-items:center;padding:32px}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair){grid-template-rows:auto;grid-template-columns:clamp(270px,30vw,320px) minmax(0,1fr);align-items:stretch;width:min(1320px,100vw - 72px);max-width:min(1320px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px);padding:0;display:grid;overflow:hidden}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-controls{background:#fff;border-right:1px solid #ffc2d1b3;grid-area:1/1;max-height:calc(100dvh - 96px);padding:18px;overflow-y:auto}.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair) .import-preview-main{flex-direction:column;grid-area:1/2;justify-content:center;min-height:0;padding:22px;display:flex}.import-fallback-overlay-repair{background:#fff;justify-content:stretch;align-items:stretch;padding:0}.import-fallback-overlay .import-fallback-card-repair{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-repair{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100%;min-height:0;display:grid}.import-fallback-overlay .import-fallback-card-repair .import-compare-side{background:#fffafce6;border-bottom:1px solid #ffc2d1d1;flex-wrap:nowrap;grid-area:1/1;align-items:center;gap:10px;padding:8px 14px;display:flex}.import-fallback-overlay .import-fallback-card-repair .import-compare-toolbar{flex:none;order:1;width:auto;max-width:none}.import-fallback-overlay .import-fallback-card-repair .import-compare-toast{flex:auto;order:2;grid-area:auto;min-width:0}.import-fallback-overlay .import-fallback-card-repair .import-compare-tool-actions{flex-wrap:nowrap;flex:none;order:3;grid-area:auto;justify-self:auto;align-items:center;gap:6px;display:flex}}.import-compare-repair .import-compare-side{flex-wrap:wrap!important;align-items:center!important;gap:8px!important;display:flex!important}.import-compare-repair .import-compare-side .import-compare-toolbar{flex:none!important;order:1!important;width:auto!important;min-width:0!important}.import-compare-repair .import-compare-side .import-compare-toolbar .import-compare-back{flex:none!important;width:auto!important}.import-compare-repair .import-compare-side .import-compare-tool-actions{flex-wrap:nowrap!important;flex:auto!important;order:2!important;justify-content:flex-end!important;gap:6px!important;width:auto!important;display:flex!important}.import-compare-repair .import-compare-side .import-compare-toast{flex:100%!important;order:3!important;width:100%!important}.swap-drawer .swap-section{display:block}.swap-drawer .swap-section-header{margin-bottom:6px}.swap-drawer .swap-section-tools{justify-content:space-between;min-width:min(560px,58vw)}.swap-drawer .swap-prefix-filter{justify-content:flex-start;max-width:none}@media (orientation:landscape) and (width>=821px) and (height<=900px){.canvas-area>.community-page,.canvas-area>.blueprint-detail-page{padding:10px 14px calc(12px + env(safe-area-inset-bottom))}.community-search{margin-bottom:10px}.community-search .auth-input,.community-search .btn{min-height:36px}.community-tabs{margin-bottom:10px}.community-tab{min-height:36px;padding:6px 16px}.community-filters{border:1.5px solid var(--pink-light);background:#ffffffdb;border-radius:16px;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));align-items:stretch;gap:8px;margin-bottom:12px;padding:8px;display:grid;box-shadow:0 3px 12px #ff8fab14}.filter-group{background:#fff5f99e;border:1.5px solid #ffc2d1b3;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;min-height:34px;padding:4px 8px;display:grid}.filter-group label{white-space:nowrap;font-size:.78em;font-weight:850}.filter-group select{width:100%;min-width:0;min-height:28px;color:var(--text);background:#ffffffd1;border-width:0;border-radius:8px;padding:3px 20px 3px 6px;font-size:.8em;font-weight:750}.blueprint-detail-page{max-width:min(1120px,100%)}.bp-detail-content{flex-wrap:nowrap;grid-template-columns:minmax(280px,min(44vw,430px)) minmax(0,1fr);align-items:start;gap:14px;margin-top:10px;display:grid}.bp-detail-image,.bp-detail-info{min-width:0;max-width:none}.bp-detail-image img{object-fit:contain;width:100%;max-height:min(56dvh,430px);display:block}.bp-detail-info{border:1.5px solid var(--pink-light);background:#ffffffeb;border-radius:16px;padding:12px;box-shadow:0 4px 14px #ff8fab1a}.bp-detail-title{margin-bottom:6px;font-size:1.16em;line-height:1.28}.bp-detail-desc,.bp-detail-meta,.bp-detail-specs,.bp-detail-tags,.bp-detail-actions{margin-bottom:9px}.bp-detail-actions .btn{min-height:34px;padding:5px 12px}.comment-section{margin-top:14px}.sidebar.open{width:224px}.canvas-history-controls{gap:4px;padding:3px;top:8px;left:8px}.canvas-history-controls button{min-height:30px;padding:0 9px;font-size:.76em}.canvas-primary-actions{gap:4px;padding:3px;top:8px;right:8px}.floating-toolbar-wrapper{max-width:calc(100% - 24px);bottom:10px}.floating-toolbar{padding:4px 8px}.floating-toolbar .btn-sm{min-height:32px;padding:4px 8px;font-size:.74em}.canvas-quick-dock{bottom:88px}}@media (width>=821px){.import-preview-overlay.import-fallback-overlay .import-fallback-card.import-fallback-card-simple:not(.import-fallback-card-crop){grid-template-columns:280px minmax(0,1fr);width:min(1060px,100vw - 72px);max-width:min(1060px,100vw - 72px);height:auto;max-height:calc(100dvh - 96px)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-controls{justify-content:flex-start}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-img-group{width:min(100%,560px);max-width:560px;padding:14px}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-img{width:min(100%,480px);max-width:480px;max-height:min(56dvh,480px)}.import-preview-overlay.import-fallback-overlay .import-preview-main-tuned .import-preview-img{max-height:min(46dvh,400px)}.import-preview-overlay.import-fallback-overlay .import-preview-main-tuned{--import-result-size:clamp(260px, 46dvh, 400px)}.import-preview-overlay.import-fallback-overlay .import-preview-main-tuned .import-preview-img-group,.import-preview-overlay.import-fallback-overlay .import-preview-main-tuned .import-preview-result-tuning{width:var(--import-result-size);max-width:var(--import-result-size)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple .import-preview-compact-head{flex-direction:column;align-items:stretch}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple .import-preview-head-actions{justify-content:flex-start}}.import-preview-stage-summary{width:min(100%,520px);max-width:100%;color:var(--text);justify-content:space-between;align-items:center;gap:12px;display:flex}.import-preview-stage-summary-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.import-preview-stage-summary strong{color:var(--text);white-space:nowrap;font-size:.88em;font-weight:900}.import-preview-stage-summary span{color:var(--text-light);white-space:nowrap;font-size:.72em;font-weight:700}.import-preview-first-look-note{width:min(100%,520px);max-width:100%;color:var(--text);background:linear-gradient(90deg,#fff0f3eb,#e8deff73);border:1px solid #c9b1ff8c;border-radius:10px;align-items:center;gap:9px;padding:8px 11px;display:flex}.import-preview-first-look-icon{flex:none;font-size:1.05em;line-height:1}.import-preview-first-look-note>div{flex-direction:column;gap:1px;min-width:0;display:flex}.import-preview-first-look-note strong{color:var(--text);font-size:.74em;font-weight:900;line-height:1.45}.import-preview-first-look-note div>span{color:var(--text-light);font-size:.68em;font-weight:650;line-height:1.45}.import-method-name{justify-content:center;align-items:center;gap:6px;display:flex}.import-method-recommended{color:var(--pink);background:var(--pink-bg);border-radius:5px;padding:1px 5px;font-size:.66em;font-style:normal;font-weight:900;line-height:1.4}.import-preview-stage-actions-header{flex:none;gap:6px;display:flex}.import-preview-stage-actions .btn{border-radius:8px;min-width:82px;min-height:34px;padding:5px 12px;font-size:.76em}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop),.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-tuned{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-content:stretch;justify-items:center;gap:6px;display:grid}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop) .import-preview-images{place-items:center;width:100%;min-height:0;margin-bottom:0;display:grid}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop) .import-preview-img-group,.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop) .import-preview-result-tuning{width:var(--import-result-size);justify-self:center;max-width:100%}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop) .import-preview-img-group{height:var(--import-result-size);max-height:var(--import-result-size);background:var(--pink-light);border:0;border-radius:8px;padding:3px;overflow:hidden}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm:not(.import-preview-main-crop) .import-preview-img{object-fit:contain;border:0;border-radius:5px;width:100%;max-width:100%;height:100%;max-height:100%;display:block}@media (width>=821px){.import-preview-overlay.import-fallback-overlay .import-fallback-card.import-fallback-card-simple:not(.import-fallback-card-crop){grid-template-columns:260px minmax(0,1fr);width:min(920px,100vw - 48px);max-width:min(920px,100vw - 48px)}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm{--import-result-size:clamp(240px, min(46dvh, 38vw), 440px);padding:18px}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-controls{padding:16px}}@media (width<=820px){.import-preview-stage-summary{width:100%}}@media (width<=820px) and (orientation:portrait){.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm{--import-result-size:min(calc(100vw - 24px), calc(60svh - 104px), 400px)}}.floating-toolbar-shell,.floating-toolbar-panel{flex-direction:column;align-items:center;gap:6px;min-width:0;max-width:95vw;display:flex}.floating-toolbar-rail{flex-direction:column;align-items:center;gap:6px;display:flex}.floating-toolbar-panel:empty{display:none}.floating-toolbar-panel>.trace-background-control,.floating-toolbar-panel>.color-stats-bar{flex:none}.floating-toolbar-panel>.trace-background-control{width:max-content;max-width:min(520px,95vw)}.floating-toolbar-panel>.color-stats-bar.stats-expanded{width:min(680px,95vw);max-width:min(680px,95vw);max-height:164px}.floating-toolbar-panel>.color-stats-bar.stats-expanded .stats-bar-chips{max-height:120px;overflow-y:auto}@media (orientation:landscape) and (width>=821px){.floating-toolbar-wrapper,.floating-toolbar-wrapper.collapsed{flex-direction:row-reverse;align-items:center;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);inset:50% 12px auto auto;transform:translateY(-50%)}.floating-toolbar-shell{flex-direction:row-reverse;align-items:center;gap:8px;max-width:calc(100vw - 70px);max-height:calc(100dvh - 24px)}.floating-toolbar{border-radius:22px;flex-direction:column;flex:none;align-items:stretch;gap:4px;max-height:calc(100dvh - 32px);padding:8px 6px;overflow:hidden auto}.floating-toolbar .btn-sm{justify-content:center;width:72px;min-height:32px;padding:4px 6px;font-size:.74em}.floating-toolbar .toolbar-divider{background:var(--pink-light);width:30px;height:1px;margin:1px auto;font-size:0}.floating-toolbar-toggle{width:24px;min-width:24px;height:42px;min-height:42px}.floating-toolbar-toggle span{display:inline-block;transform:rotate(-90deg)}.floating-toolbar-rail{flex-direction:column;flex:none;align-items:center;gap:5px;display:flex}.floating-toolbar-rail>.floating-toolbar-toggle{width:42px;min-width:42px;height:24px;min-height:24px}.floating-toolbar-rail>.floating-toolbar-toggle span{transform:none}.floating-toolbar-panel{align-items:stretch;width:auto;max-width:calc(100vw - 132px);max-height:calc(100dvh - 24px)}.floating-toolbar-panel.panel-paint,.floating-toolbar-panel.panel-eraser{width:min(180px,100vw - 132px)}.floating-toolbar-panel.panel-stats{width:min(210px,100vw - 132px)}.floating-toolbar-panel>*{box-sizing:border-box;width:100%;max-width:none;max-height:calc(100dvh - 32px)}.floating-toolbar-panel>.paint-palette,.floating-toolbar-panel>.eraser-tool-panel{border-radius:16px;gap:6px;width:100%;max-width:none;padding:8px}.floating-toolbar-panel .tool-settings-row{flex-direction:column;align-items:stretch;gap:7px;overflow:visible}.floating-toolbar-panel .tool-settings-main{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px;width:100%;display:grid}.floating-toolbar-panel .tool-settings-main>.btn{width:100%;min-height:32px}.floating-toolbar-panel.panel-paint .tool-settings-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.floating-toolbar-panel.panel-paint .tool-settings-main{grid-area:1/1;display:block}.floating-toolbar-panel.panel-paint .tool-settings-main>.btn{height:100%;min-height:30px}.floating-toolbar-panel.panel-paint .symmetry-toggle{grid-area:1/2;min-width:0;min-height:30px!important;padding:2px 4px!important}.floating-toolbar-panel.panel-paint .brush-size-control{grid-area:2/1/auto/-1}.floating-toolbar-panel.panel-paint .symmetry-control{grid-area:3/1/auto/-1}.floating-toolbar-panel.panel-eraser .tool-settings-main{grid-template-columns:repeat(2,minmax(0,1fr))}.floating-toolbar-panel.panel-eraser .tool-settings-main>.btn{min-width:0;min-height:30px;padding:3px 5px;font-size:.72em}.floating-toolbar-panel .brush-size-control,.floating-toolbar-panel .symmetry-control{box-sizing:border-box;justify-content:space-between;width:100%}.floating-toolbar-panel .symmetry-toggle{width:100%;min-height:32px!important}.floating-toolbar-panel .trace-paint-controls{padding-top:7px}.floating-toolbar-panel .trace-eyedropper-source{box-sizing:border-box;width:100%}.floating-toolbar-panel .trace-eyedropper-source>span{margin-right:auto}.floating-toolbar-panel .prefix-filter{flex-wrap:wrap;gap:5px;max-height:64px;overflow:hidden auto}.floating-toolbar-panel .paint-palette-grid{overscroll-behavior:contain;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:min(42dvh,320px);display:grid;overflow:hidden auto}.floating-toolbar-panel .paint-swatch{min-width:0;padding:3px 1px}.floating-toolbar-panel .paint-swatch-color{width:22px;height:22px}.floating-toolbar-panel .paint-swatch-code{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.55em;overflow:hidden}.floating-toolbar-panel>.trace-background-control{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;width:100%;max-width:none;padding:8px;display:grid}.floating-toolbar-panel>.trace-background-control>button{justify-content:center;width:100%;min-height:34px}.floating-toolbar-panel>.color-stats-bar.stats-expanded{border-radius:16px;width:100%;max-width:none;max-height:min(70dvh,520px)}.floating-toolbar-panel>.color-stats-bar.stats-expanded .stats-bar-header{grid-template-columns:minmax(0,1fr) auto auto;padding:9px 10px;display:grid}.floating-toolbar-panel>.color-stats-bar.stats-expanded .stats-bar-chips{grid-template-columns:minmax(0,1fr);gap:6px;max-height:min(58dvh,440px);padding:0 10px 10px;display:grid;overflow:hidden auto}.floating-toolbar-panel>.color-stats-bar.stats-expanded .color-chip{justify-content:flex-start;min-width:0}.canvas-primary-actions{right:116px}.canvas-trace-opacity-control{width:min(230px,100% - 36px);top:64px;left:18px;right:auto}.canvas-quick-dock{width:min(680px,100vw - 190px);bottom:12px;right:116px}}.correction-tool-button,.mobile-tool-btn.has-reference{position:relative}.correction-tool-button.has-reference:not(.btn-pink):after,.mobile-tool-btn.has-reference:not(.active):after{content:"";background:#68c99f;border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:5px}.correction-panel{box-sizing:border-box;border:1.5px solid var(--pink-light);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:18px;gap:8px;width:min(216px,92vw);padding:10px;display:grid;box-shadow:0 8px 26px #ff8fab2e}.correction-panel-head{align-items:center;gap:8px;min-width:0;display:flex}.correction-panel-icon{background:linear-gradient(145deg, var(--pink), #ffb4c8);color:#fff;border-radius:10px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:.9em;font-weight:900;display:grid;box-shadow:0 4px 10px #ff8fab38}.correction-panel-title{min-width:0;line-height:1.2;display:grid}.correction-panel-title strong{color:var(--text);font-size:.86em}.correction-panel-title small{color:var(--text-light);margin-top:2px;font-size:.66em}.correction-panel .trace-background-control{width:100%;max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;display:grid}.correction-panel .trace-background-control>button{justify-content:center;width:100%;min-width:0;min-height:32px;padding:0 7px}.correction-panel .trace-background-button:first-of-type,.correction-panel .trace-background-control:not(.has-background) .trace-background-button{grid-column:1/-1}.correction-panel .trace-background-repair{border-color:var(--pink);background:var(--pink);color:#fff}.correction-review-entry{border:1.5px solid var(--pink-light);background:linear-gradient(135deg, #fff 15%, var(--pink-bg));width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;display:grid}.correction-review-entry>span{gap:2px;min-width:0;display:grid}.correction-review-entry strong{color:var(--pink);font-size:.78em}.correction-review-entry small{color:var(--text-light);font-size:.62em;line-height:1.35}.correction-review-entry b{color:var(--pink);font-size:1.2em}.correction-review-entry:hover:not(:disabled){border-color:var(--pink);transform:translateY(-1px)}.correction-review-entry:disabled{opacity:.5;cursor:not-allowed}.correction-panel-hint{color:var(--text-light);text-align:center;margin:0;font-size:.61em;line-height:1.45}.mobile-tool-panel>.correction-panel{width:100%;max-width:none}@media (orientation:landscape) and (width>=821px){.floating-toolbar-panel.panel-correction{width:min(216px,100vw - 132px)}}.color-audit-view{flex:auto;grid-template-columns:244px minmax(0,1fr);gap:10px;min-height:0;display:grid}.color-audit-side,.color-audit-canvas-shell{background:#fff;border:1px solid #ffc2d1e6;border-radius:16px;min-width:0;min-height:0}.color-audit-side{flex-direction:column;gap:9px;padding:11px;display:flex;overflow-y:auto}.color-audit-heading{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.color-audit-heading>span{gap:2px;display:grid}.color-audit-heading strong{color:var(--text);font-size:.9em}.color-audit-heading small{color:var(--text-light);font-size:.62em}.color-audit-heading button,.color-audit-candidate-summary button{color:var(--pink);font:inherit;cursor:pointer;background:0 0;border:0;font-size:.68em;font-weight:850}.color-audit-progress{color:var(--text-light);gap:5px;font-size:.68em;display:grid}.color-audit-progress b{color:var(--pink);font-size:1.15em}.color-audit-progress>i{background:var(--pink-bg);border-radius:999px;height:5px;overflow:hidden}.color-audit-progress>i>span{border-radius:inherit;background:linear-gradient(90deg, var(--pink), #ffb4c8);height:100%;transition:width .18s;display:block}.color-audit-layer-select,.color-audit-target,.color-audit-similarity{color:var(--text-light);gap:4px;font-size:.68em;font-weight:800;display:grid}.color-audit-layer-select select,.color-audit-target input{box-sizing:border-box;border:1.5px solid var(--pink-light);width:100%;min-height:34px;color:var(--text);font:inherit;background:#fff;border-radius:10px;outline:none;padding:5px 9px;font-weight:800}.color-audit-layer-select select:focus,.color-audit-target input:focus{border-color:var(--pink);box-shadow:0 0 0 3px #ff8fab1f}.color-audit-instruction{background:var(--pink-bg);border-radius:11px;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:7px;padding:8px;display:grid}.color-audit-instruction>b{background:var(--pink);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.66em;display:grid}.color-audit-instruction>span{gap:2px;display:grid}.color-audit-instruction strong{color:var(--text);font-size:.68em}.color-audit-instruction small{color:var(--text-light);font-size:.6em;line-height:1.4}.color-audit-candidate-card{border:1px solid var(--pink-light);background:#fffafd;border-radius:12px;gap:7px;padding:8px;display:grid}.color-audit-candidate-summary{color:var(--text);justify-content:space-between;align-items:center;font-size:.68em;font-weight:800;display:flex}.color-audit-candidate-summary b{color:var(--pink)}.color-audit-similarity{grid-template-columns:auto minmax(0,1fr);align-items:center}.color-audit-similarity input{width:100%;accent-color:var(--pink)}.color-audit-apply,.color-audit-layer-actions button{border:1.5px solid var(--pink-light);min-height:34px;font:inherit;cursor:pointer;border-radius:10px;font-size:.7em;font-weight:850}.color-audit-apply,.color-audit-layer-actions .primary{border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-apply:disabled{opacity:.45;cursor:not-allowed}.color-audit-layer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:auto;display:grid}.color-audit-layer-actions .secondary{color:var(--pink);background:#fff}.color-audit-message{color:var(--text-light);text-align:center;margin:0;font-size:.63em;line-height:1.4}.color-audit-canvas-shell{background:#fff9fc;flex-direction:column;display:flex;overflow:hidden}.color-audit-canvas-toolbar{border-bottom:1px solid var(--pink-light);min-height:38px;color:var(--text-light);flex:none;justify-content:space-between;align-items:center;padding:4px 10px;font-size:.68em;font-weight:800;display:flex}.color-audit-canvas-toolbar>div{align-items:center;gap:4px;display:flex}.color-audit-canvas-toolbar button{border:1px solid var(--pink-light);width:28px;height:28px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;font-weight:900}.color-audit-canvas-toolbar b{min-width:38px;color:var(--text);text-align:center}.color-audit-viewport{overscroll-behavior:contain;flex:auto;justify-content:center;align-items:flex-start;min-height:0;padding:10px;display:flex;overflow:auto}.color-audit-stage{background:#fff;border-radius:8px;flex:none;min-width:100%;position:relative;overflow:hidden;box-shadow:0 4px 18px #4c2a421f}.color-audit-stage>img,.color-audit-stage>canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.color-audit-stage>img{object-fit:fill;-webkit-user-select:none;user-select:none}.color-audit-stage>canvas{pointer-events:none}.color-audit-cell{z-index:2;box-sizing:border-box;cursor:pointer;background:0 0;border:1px solid #ff8fab38;min-width:2px;min-height:2px;padding:0;position:absolute}.color-audit-cell:hover{z-index:3;box-shadow:0 0 0 2px var(--pink);border:2px solid #fff}.color-audit-cell.selected{z-index:3;border:2px solid #fff;box-shadow:0 0 0 2px #50bd91}.color-audit-cell.representative{box-shadow:0 0 0 3px var(--pink), 0 0 0 6px #ffffffeb}.color-audit-empty{color:var(--text-light);text-align:center;flex:auto;place-items:center;padding:30px;display:grid}@media (width<=820px){.color-audit-view{grid-template-rows:minmax(230px,42dvh) minmax(260px,1fr);grid-template-columns:minmax(0,1fr);gap:7px}.color-audit-side{padding:9px}.color-audit-canvas-toolbar{min-height:34px}}.correction-panel{border-radius:16px;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:min(204px,92vw);padding:9px}.correction-panel-head{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;min-height:24px;padding:0 2px 2px;display:flex}.correction-panel-head>strong{color:var(--text);white-space:nowrap;font-size:.8em}.correction-panel-head>small{min-width:0;color:var(--text-light);white-space:nowrap;align-items:center;gap:4px;font-size:.58em;font-weight:750;display:inline-flex}.correction-panel-head>small>i{background:var(--pink-light);border-radius:50%;flex:0 0 6px;width:6px;height:6px}.correction-panel-head>small>i.ready{background:#68c99f;box-shadow:0 0 0 3px #68c99f21}.correction-panel .trace-background-repair{grid-area:2/1/auto/4}.correction-panel .correction-review-entry{grid-area:2/4/auto/7}.correction-panel .trace-background-button,.correction-panel .trace-background-control.has-background .trace-background-button:first-of-type{grid-area:3/1/auto/3}.correction-panel .trace-background-adjust{grid-area:3/3/auto/5}.correction-panel .trace-background-clear{grid-area:3/5/auto/7}.correction-panel .trace-background-control>button,.correction-panel .correction-review-entry{border-radius:10px;min-height:32px;padding:0 5px;font-size:.68em}.correction-panel .correction-review-entry{color:var(--pink);text-align:center;background:#fff;justify-content:center;align-items:center;gap:5px;display:flex}.correction-panel .correction-review-entry>strong{color:inherit;font-size:inherit}.correction-panel .correction-review-entry>span{color:inherit;font-size:1.15em;line-height:1}.correction-panel:not(:has(.trace-background-repair)) .correction-review-entry{grid-column:1/7}.correction-panel:not(:has(.trace-background-control.has-background)) .trace-background-button{grid-area:2/1/auto/7}.correction-panel:not(:has(.trace-background-control.has-background)) .correction-review-entry{grid-area:3/1/auto/7}@media (orientation:landscape) and (width>=821px){.floating-toolbar-panel.panel-correction{width:min(204px,100vw - 132px)}}.color-audit-candidate-card{background:0 0;border:0;border-radius:0;gap:8px;padding:0}.color-audit-candidate-summary{min-height:24px;padding:0 2px}.color-audit-start-guide{background:var(--pink-bg);border-radius:10px;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px;padding:8px;display:grid}.color-audit-start-guide>b{background:var(--pink);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.65em;display:grid}.color-audit-start-guide>span,.color-audit-candidate-summary>span{gap:2px;min-width:0;display:grid}.color-audit-start-guide strong,.color-audit-candidate-summary strong{color:var(--text);font-size:.68em}.color-audit-start-guide small,.color-audit-candidate-summary small{color:var(--text-light);font-size:.59em;line-height:1.4}.color-audit-candidate-summary>div{align-items:center;gap:8px;display:flex}.color-audit-selection-hint{color:var(--text-light);margin:-3px 2px 0;font-size:.6em;line-height:1.35}.color-audit-layer-coverage{border:1px solid var(--pink-light);background:#fffafd;border-radius:10px;gap:5px;padding:7px 8px;display:grid}.color-audit-layer-coverage>div:first-child{color:var(--text);justify-content:space-between;align-items:center;gap:8px;font-size:.64em;font-weight:850;display:flex}.color-audit-layer-coverage>div:first-child b,.color-audit-layer-coverage>div:first-child strong{color:var(--pink)}.color-audit-layer-coverage>p{color:var(--text-light);margin:0;font-size:.58em;line-height:1.35}.color-audit-layer-coverage>p.complete{color:#3a9b76}.color-audit-layer-coverage-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.color-audit-layer-coverage-actions button{border:1.5px solid var(--pink-light);min-width:0;min-height:29px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:3px 5px;font-size:.61em;font-weight:850}.color-audit-layer-coverage-actions button.active,.color-audit-layer-coverage-actions button.primary{border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-match-options{color:var(--text-light);font-size:.64em}.color-audit-match-options summary{width:max-content;color:var(--text-light);cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:750}.color-audit-match-options[open] summary{margin-bottom:5px}.color-audit-target-picker{border-top:1px solid var(--pink-light);gap:6px;min-height:0;padding-top:8px;display:grid}.color-audit-target-head{color:var(--text-light);justify-content:space-between;align-items:center;gap:8px;padding:0 2px;font-size:.68em;font-weight:800;display:flex}.color-audit-target-head strong{color:var(--pink);font-size:1.05em}.color-audit-recent-colors{background:var(--pink-bg);border-radius:9px;gap:5px;padding:7px 8px;display:grid}.color-audit-recent-colors>span{color:var(--text-light);font-size:.6em;font-weight:800}.color-audit-recent-colors>div{flex-wrap:wrap;gap:5px;display:flex}.color-audit-recent-colors button{min-height:25px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border:1.5px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:2px 7px 2px 4px;font-size:.62em;font-weight:850;display:inline-flex}.color-audit-recent-colors button.selected{border-color:var(--pink);color:var(--pink)}.color-audit-recent-colors button i{border:1px solid #4c2a421f;border-radius:50%;width:17px;height:17px}.color-audit-prefix-filter{scrollbar-width:thin;gap:4px;padding:1px 1px 3px;display:flex;overflow-x:auto}.color-audit-prefix-filter button{border:1.5px solid var(--pink-light);min-width:27px;min-height:25px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;flex:none;padding:1px 7px;font-size:.64em;font-weight:850}.color-audit-prefix-filter button.active{border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-palette-grid{overscroll-behavior:contain;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-height:min(26dvh,210px);padding:3px;display:grid;overflow-y:auto}.color-audit-palette-grid button{min-width:0;color:var(--text-light);font:inherit;cursor:pointer;background:0 0;border:1.5px solid #0000;border-radius:8px;place-items:center;gap:2px;padding:3px 1px;display:grid}.color-audit-palette-grid button:hover{background:var(--pink-bg)}.color-audit-palette-grid button.selected{border-color:var(--pink);background:var(--pink-bg);color:var(--pink)}.color-audit-cell.layer-missing{z-index:5;background:#ffd77e33;border:2px solid #ffb13b;box-shadow:0 0 0 2px #fff,0 0 0 4px #ffb13beb}.color-audit-palette-grid button>i{border:1px solid #4c2a421f;border-radius:6px;width:28px;max-width:100%;height:28px;display:block;box-shadow:inset 0 0 0 1px #ffffff59}.color-audit-palette-grid button>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.58em;font-weight:800;overflow:hidden}.color-audit-canvas-toolbar>span>b{min-width:0;color:var(--pink)}@media (width<=820px){.color-audit-palette-grid{grid-template-columns:repeat(6,minmax(0,1fr));max-height:150px}.color-audit-palette-grid button>i{width:24px;height:24px}}.color-audit-viewport{touch-action:none;display:block}.color-audit-stage{min-width:0;margin:0 auto}.canvas-image-preview-control{flex:none;display:inline-flex}.canvas-image-preview-trigger{justify-content:center;align-items:center;gap:5px;display:inline-flex}.canvas-image-preview-trigger.active{border-color:var(--pink);background:var(--pink);color:#fff}.floating-toolbar-panel.panel-size,.floating-toolbar-panel.panel-more{align-items:stretch}.size-tool-panel,.more-settings-panel{box-sizing:border-box;overscroll-behavior:contain;border:1.5px solid var(--pink-light);background:#fffffff7;border-radius:16px;width:100%;max-height:calc(100dvh - 32px);overflow:hidden auto;box-shadow:0 10px 30px #4c2a421f}.size-tool-panel{padding:9px}.size-tool-panel>.kawaii-card{width:100%;box-shadow:none;background:0 0;border:0;margin:0;padding:0}.size-tool-panel .card-title{margin-bottom:7px;font-size:.82em}.size-tool-panel .desktop-size-section{border-width:1.5px;padding:8px}.size-tool-panel .recognition-slider-row{grid-template-columns:28px minmax(0,1fr) 28px;gap:6px}.size-tool-panel .recognition-slider-row .step-btn{width:28px;height:28px}.size-tool-panel .recognition-preset-row{gap:4px}.size-tool-panel .recognition-preset-row button{min-height:27px;font-size:.68em}.more-settings-panel{flex-direction:column;gap:7px;padding:10px;display:flex}.more-settings-head{justify-content:space-between;align-items:baseline;gap:8px;padding:1px 2px 4px;display:flex}.more-settings-head strong{color:var(--text);font-size:.82em}.more-settings-head small{color:var(--text-light);white-space:nowrap;font-size:.6em;font-weight:750}.more-settings-row,.more-processing-details>summary{box-sizing:border-box;border:1.5px solid var(--pink-light);width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:7px 9px;display:grid}.more-settings-row>span,.more-processing-details>summary>span{color:var(--text);font-size:.76em;font-weight:900}.more-settings-row>strong,.more-processing-details>summary>strong{color:var(--text-light);white-space:nowrap;font-size:.62em;font-weight:750}.more-settings-row>i{color:var(--pink);font-size:1.2em;font-style:normal;line-height:1}.more-settings-row:hover,.more-processing-details>summary:hover,.more-processing-details[open]>summary{border-color:var(--pink);background:var(--pink-bg)}.more-processing-details{display:block}.more-processing-details>summary{grid-template-columns:minmax(0,1fr) auto;list-style:none}.more-processing-details>summary::-webkit-details-marker{display:none}.more-processing-details>summary:after{color:var(--pink);content:"展开高级选项";grid-column:1/-1;font-size:.58em;font-weight:800}.more-processing-details[open]>summary:after{content:"收起高级选项"}.more-processing-details>.kawaii-card,.more-background-option>.kawaii-card{border:1.5px solid var(--pink-light);box-shadow:none;background:#fff5f980;border-radius:12px;margin-top:7px;padding:9px}.more-background-option>.kawaii-card{margin-top:0}.more-processing-details>.kawaii-card>.card-title:first-child,.more-background-option>.kawaii-card>.card-title:first-child{display:none}.more-settings-panel>p{color:var(--text-light);margin:0;padding:2px 3px 0;font-size:.6em;font-weight:700;line-height:1.45}@media (orientation:landscape) and (width>=821px){.floating-toolbar-panel.panel-size{width:min(250px,100vw - 132px)}.floating-toolbar-panel.panel-more{width:min(232px,100vw - 132px)}}.trace-pattern-opacity input[type=range]{appearance:none;cursor:pointer;background:0 0;border:0;outline:0;width:100%;min-width:0;height:18px;margin:0}.trace-pattern-opacity input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--pink) 0 var(--trace-opacity-percent,25%), var(--pink-light) var(--trace-opacity-percent,25%) 100%);height:6px;box-shadow:none;border:0;border-radius:999px}.trace-pattern-opacity input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--pink);border:2px solid #fff;border-radius:50%;width:18px;height:18px;margin-top:-6px;box-shadow:0 2px 7px #ff8fab47}.trace-pattern-opacity input[type=range]::-moz-range-track{background:var(--pink-light);height:6px;box-shadow:none;border:0;border-radius:999px}.trace-pattern-opacity input[type=range]::-moz-range-progress{background:var(--pink);border:0;border-radius:999px;height:6px}.trace-pattern-opacity input[type=range]::-moz-range-thumb{background:var(--pink);border:2px solid #fff;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 7px #ff8fab47}.correction-panel{border-radius:16px;flex-direction:column;align-items:stretch;gap:6px;width:min(148px,92vw);padding:8px;display:flex}.correction-panel-head{order:0;grid-template-columns:minmax(0,1fr);align-items:start;gap:3px;min-height:0;padding:1px 2px 5px;display:grid}.correction-panel-head>strong{font-size:.76em}.correction-panel-head>small{white-space:normal;justify-content:flex-start;line-height:1.3}.correction-panel .trace-background-control{display:contents}.correction-panel .trace-background-control>button,.correction-panel .correction-review-entry{box-sizing:border-box;border:1.5px solid var(--pink-light);width:100%;min-width:0;min-height:34px;color:var(--pink);font:inherit;text-align:center;white-space:nowrap;background:#fff;border-radius:10px;justify-content:center;padding:4px 7px;font-size:.68em;font-weight:900}.correction-panel .trace-background-adjust{order:1}.correction-panel .trace-background-repair{border-color:var(--pink);background:var(--pink);color:#fff;order:2}.correction-panel .correction-review-entry{order:3;grid-template-columns:20px minmax(0,1fr);gap:5px;display:grid}.correction-panel .correction-review-entry>span{background:var(--pink-bg);width:20px;height:20px;color:var(--pink);border-radius:50%;place-items:center;font-size:.9em;font-weight:900;display:grid}.correction-panel .correction-review-entry>strong{color:var(--pink);text-align:left;font-size:1em}.correction-panel .trace-background-button{order:4}.correction-panel .trace-background-clear{color:var(--text-light);order:5}.correction-panel:not(:has(.trace-background-control.has-background)) .trace-background-button{order:1}.correction-panel:not(:has(.trace-background-control.has-background)) .correction-review-entry{order:2}.trace-background-overlay-hint{z-index:280;box-sizing:border-box;border:1.5px solid var(--pink-light);width:min(480px,100vw - 28px);color:var(--text-light);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;border-radius:14px;align-items:center;gap:10px;padding:9px 10px 9px 13px;font-size:.72em;font-weight:750;line-height:1.45;display:flex;position:fixed;top:76px;left:50%;transform:translate(-50%);box-shadow:0 10px 28px #4c2a4229}.trace-background-overlay-hint span{min-width:0}.trace-background-overlay-hint strong{color:var(--pink);margin-bottom:1px;font-size:1.08em;display:block}.trace-background-overlay-hint button{border:1.5px solid var(--pink-light);background:var(--pink-bg);min-height:30px;color:var(--pink);font:inherit;cursor:pointer;border-radius:999px;flex:none;padding:0 10px;font-weight:900}@media (orientation:landscape) and (width>=821px){.canvas-primary-actions{right:12px}.canvas-quick-dock{width:auto;bottom:12px;left:auto;right:12px}.canvas-trace-opacity-control{width:min(252px,100% - 180px);inset:auto auto 12px 50%;transform:translate(-50%)}.floating-toolbar-panel.panel-correction{width:min(148px,100vw - 132px)}}@media (width<=820px){.trace-background-overlay-hint{align-items:flex-start;top:58px}}.tool-settings-panel{gap:6px}.tool-settings-main,.floating-toolbar-panel .tool-settings-main,.floating-toolbar-panel.panel-paint .tool-settings-main,.floating-toolbar-panel.panel-eraser .tool-settings-main{width:100%;display:block}.tool-mode-switch{border:1.5px solid var(--pink-light);background:var(--pink-bg);border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:2px;display:grid}.tool-mode-switch button{min-width:0;color:var(--text-light);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:.68em;font-weight:850;min-height:28px!important;box-shadow:none!important;padding:3px 5px!important}.tool-mode-switch button.active{color:var(--pink);background:#fff;box-shadow:0 1px 5px #ff80aa29!important}.tool-settings-actions{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:5px;width:100%;display:grid}.tool-settings-actions>:only-child{grid-column:1/-1}.paint-eyedropper-cluster{border:1.5px solid var(--pink-light);background:#fff;border-radius:10px;align-items:stretch;min-width:0;display:flex;overflow:hidden}.paint-eyedropper-button,.eraser-clear-btn{min-width:0;color:var(--pink);font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:0;font-size:.68em;font-weight:900;min-height:30px!important;box-shadow:none!important;padding:3px 7px!important}.paint-eyedropper-button{flex:auto}.paint-eyedropper-button.active{background:var(--pink);color:#fff}.paint-eyedropper-cluster .trace-eyedropper-source,.floating-toolbar-panel .paint-eyedropper-cluster .trace-eyedropper-source{border:0;border-left:1px solid var(--pink-light);background:var(--pink-bg);border-radius:0;flex:none;gap:0;width:auto;padding:2px;display:inline-flex}.paint-eyedropper-cluster .trace-eyedropper-source button{min-width:29px;color:var(--text-light);background:0 0;border:0;border-radius:7px;font-size:.6em;min-height:24px!important;box-shadow:none!important;padding:2px 4px!important}.paint-eyedropper-cluster .trace-eyedropper-source button.active{color:var(--pink);background:#fff;box-shadow:0 1px 4px #ff80aa29!important}.tool-settings-actions .symmetry-toggle,.floating-toolbar-panel .tool-settings-actions .symmetry-toggle{border-radius:10px;width:auto;min-width:52px;font-size:.66em;min-height:30px!important;padding:3px 6px!important}.tool-settings-panel>.symmetry-control,.floating-toolbar-panel .tool-settings-panel>.symmetry-control{box-sizing:border-box;justify-content:space-between;width:100%}.paint-palette-current{justify-content:space-between;align-items:center;min-width:0;padding:0 2px;display:flex}.paint-palette-label{color:var(--text-light);font-size:.64em;font-weight:800}.paint-palette-current-chip{font-size:.68em}.paint-palette-current-dot{width:13px;height:13px}.floating-toolbar-panel .prefix-filter,.prefix-filter{scrollbar-width:none;flex-wrap:wrap;gap:3px;max-height:none;padding:0;overflow:visible}.prefix-filter::-webkit-scrollbar{display:none}.paint-palette-grid::-webkit-scrollbar{display:none}.prefix-filter button{border-width:1px;border-radius:8px;min-width:21px;height:21px;font-size:.62em;min-height:21px!important;padding:0 5px!important}.floating-toolbar-panel .paint-palette-grid,.paint-palette-grid{scrollbar-width:none;overscroll-behavior:contain;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;width:100%;max-height:min(42dvh,330px);padding:1px;display:grid;overflow:hidden auto}.floating-toolbar-panel .paint-swatch,.paint-swatch{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;align-items:center;gap:1px;min-width:0;display:flex;min-height:0!important;box-shadow:none!important;padding:2px 1px!important}.paint-swatch.selected{border-color:var(--pink);background:var(--pink-bg)}.floating-toolbar-panel .paint-swatch-color,.paint-swatch-color{border-radius:5px;width:20px;height:20px}.floating-toolbar-panel .paint-swatch-code,.paint-swatch-code{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.5em;line-height:1.1;overflow:hidden}.correction-panel .correction-review-entry{justify-content:center;align-items:center;gap:5px;display:flex}.correction-panel .correction-review-entry>strong{text-align:center;flex:none}.import-repair-overlay{box-sizing:border-box;background:#fff5f9b8;justify-content:center;align-items:center;padding:10px;overflow:hidden}.import-repair-overlay .import-repair-editor-card{box-sizing:border-box;border:1.5px solid var(--pink-light);background:#fff;border-radius:18px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:10px;overflow:hidden;box-shadow:0 14px 38px #4c2a4229}.import-repair-overlay .import-repair-scroll{box-sizing:border-box;min-width:0;padding-bottom:0;overflow:hidden}.color-audit-viewport,.color-audit-cell{touch-action:none}.canvas-trace-controls{z-index:21;pointer-events:auto;align-items:center;gap:6px;display:flex;position:absolute;top:64px;right:14px}.canvas-trace-controls .canvas-trace-opacity-control{width:min(252px,100vw - 190px);position:static;inset:auto;transform:none}.canvas-trace-scale-control{box-sizing:border-box;border:1.5px solid var(--pink-light);min-height:38px;color:var(--text);white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-radius:999px;grid-template-columns:auto 26px 42px 26px;align-items:center;gap:3px;padding:3px 6px 3px 9px;font-size:.68em;font-weight:850;display:grid;box-shadow:0 7px 18px #4c2a421a}.canvas-trace-scale-control button{border:1px solid var(--pink-light);width:26px;height:26px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:1.12em;font-weight:900;display:inline-flex}.canvas-trace-scale-control button:active{background:var(--pink-bg);transform:scale(.94)}.canvas-trace-scale-control strong{color:var(--pink);text-align:center}@media (orientation:landscape) and (width>=821px){.canvas-trace-controls{inset:auto auto 12px 50%;transform:translate(-50%)}.canvas-trace-controls .canvas-trace-opacity-control{width:248px}}@media (width<=820px){.import-repair-overlay{padding:0}.import-repair-overlay .import-repair-editor-card{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:none;border:0;border-radius:0;padding:8px}.canvas-trace-controls{flex-wrap:wrap;justify-content:center;top:54px;left:8px;right:8px}.canvas-trace-controls .canvas-trace-opacity-control{width:min(230px,100vw - 16px)}}.correction-panel .trace-background-adjust.active{border-color:var(--pink);background:var(--pink);color:#fff;box-shadow:0 4px 12px #ff8fab47}.correction-panel .trace-background-adjust.active:before{content:"✓";margin-right:3px;font-weight:900}.color-audit-prefix-filter{scrollbar-width:none;flex-wrap:wrap;gap:3px;max-height:none;padding:0;overflow:visible}.color-audit-prefix-filter::-webkit-scrollbar{display:none}.color-audit-prefix-filter button{border-width:1px;border-radius:8px;min-width:21px;min-height:21px;padding:0 5px;font-size:.62em}.tool-settings-actions{display:block}.tool-symmetry-row{box-sizing:border-box;align-items:stretch;gap:5px;width:100%;display:flex}.tool-symmetry-row .symmetry-toggle,.floating-toolbar-panel .tool-symmetry-row .symmetry-toggle{border-radius:10px;flex:0 0 58px;width:58px;font-size:.66em;min-height:30px!important;padding:3px 6px!important}.tool-symmetry-row .symmetry-control,.floating-toolbar-panel .tool-symmetry-row .symmetry-control{box-sizing:border-box;border-radius:10px;flex:auto;justify-content:space-between;width:auto;min-width:0}.invite-register-tip{color:#83551e;background:#fff9ed;border:1px solid #f0d39d;border-radius:10px;gap:3px;margin-top:12px;padding:11px 13px;display:grid}.invite-register-tip strong{font-size:13px}.invite-register-tip span{font-size:11px;line-height:1.5}.profile-invite-card{border-radius:var(--radius);box-shadow:0 2px 12px var(--shadow);background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid #efd7aa;margin:0 0 16px;padding:18px}.profile-invite-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.profile-invite-card>header span{color:#ad7228;letter-spacing:.14em;font-size:10px;font-weight:850}.profile-invite-card>header h3{margin:3px 0 0;font-size:17px}.profile-invite-card>header button,.profile-invite-own button,.profile-invite-input-row button{color:#94601e;min-height:32px;font:inherit;cursor:pointer;background:#fff8e9;border:1px solid #e3bd7b;border-radius:8px;padding:0 12px;font-size:11px;font-weight:800}.profile-invite-promo{color:#6f5b43;margin:10px 0 14px;font-size:12px;line-height:1.65}.profile-invite-grid{grid-template-columns:minmax(180px,.8fr) minmax(280px,1.2fr);gap:12px;display:grid}.profile-invite-own,.profile-invite-bind{box-sizing:border-box;background:#ffffffd1;border:1px solid #eee5d8;border-radius:11px;align-content:start;gap:8px;min-height:108px;padding:13px;display:grid}.profile-invite-own>span,.profile-invite-bind>span{color:#8d8274;font-size:10px;font-weight:750}.profile-invite-own strong,.profile-invite-locked strong{color:#8c5b1d;letter-spacing:.08em;font-size:21px}.profile-invite-own button{justify-self:start}.profile-invite-input-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.profile-invite-input-row input{box-sizing:border-box;min-width:0;height:36px;font:inherit;text-transform:uppercase;border:1px solid #ddd4c7;border-radius:8px;outline:none;padding:0 10px}.profile-invite-input-row input:focus{border-color:#d3a459;box-shadow:0 0 0 3px #d3a45921}.profile-invite-input-row small{color:#9a9083;grid-column:1/-1;font-size:9px;line-height:1.5}.profile-invite-locked{gap:4px;display:grid}.profile-invite-locked small{color:#756b5e;font-size:10px;line-height:1.5}.profile-invite-locked em{color:#ad7a37;font-size:9px;font-style:normal;font-weight:750}.profile-invite-unavailable{color:#8b8175;font-size:11px;line-height:1.6}.profile-invite-message{border-radius:8px;margin-top:10px;padding:8px 10px;font-size:11px}.profile-invite-message.success{color:#248064;background:#eef9f3}.profile-invite-message.error{color:#c4465c;background:#fff1f3}@media (width<=680px){.profile-invite-card{padding:14px}.profile-invite-grid,.profile-invite-input-row{grid-template-columns:1fr}.profile-invite-input-row small{grid-column:auto}}.import-preview-footer.import-preview-footer-global{background:#fffffffa;border-top:1px solid #ffc2d1c2;order:3;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin:0;padding:10px 12px;display:grid}.import-preview-footer-secondary{justify-content:flex-start;align-items:center;min-width:0;display:flex}.import-preview-footer-secondary .import-preview-ai-action{min-width:104px;color:var(--pink);background:var(--pink-bg)}.import-preview-footer-global .import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(104px,118px));gap:8px;width:auto;display:grid}.import-preview-footer-global .import-preview-actions.simple-actions>.btn{width:100%;min-height:36px}@media (width>=821px){.import-preview-overlay.import-fallback-overlay .import-fallback-card.import-fallback-card-simple:not(.import-fallback-card-crop){grid-template-rows:minmax(0,1fr) auto;grid-template-columns:260px minmax(0,1fr)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-controls{grid-area:1/1;max-height:none}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-main{grid-area:1/2}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-footer-global{border-top:1px solid #ffc2d1c2;grid-area:2/1/auto/-1;margin:0;padding:11px 16px;position:static;bottom:auto}}@media (width<=820px){.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-footer-global{padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:8;margin:0 -12px -12px;position:static;bottom:auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-controls{padding-bottom:0}}@media (width<=820px) and (orientation:portrait){.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){grid-template-rows:minmax(0,min(40svh,360px)) minmax(0,1fr) auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-footer-global{grid-row:3}}@media (width<=820px) and (orientation:landscape){.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){grid-template-rows:minmax(0,1fr) auto auto}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-footer-global{grid-row:3}}@media (width<=520px){.import-preview-footer.import-preview-footer-global{gap:6px}.import-preview-footer-secondary .import-preview-ai-action{min-width:90px;padding-inline:8px}.import-preview-footer-global .import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(82px,1fr));gap:6px}}.color-audit-selection-card{border:1px solid var(--pink-light);background:#fffafd;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:7px 8px;display:grid}.color-audit-selection-card>span{gap:1px;min-width:0;display:grid}.color-audit-selection-card>span strong{color:var(--text);font-size:.68em}.color-audit-selection-card>span small,.color-audit-selection-card>p{color:var(--text-light);margin:0;font-size:.58em;line-height:1.3}.color-audit-selection-card>b{color:var(--pink);font-size:.65em}.color-audit-selection-legend,.color-audit-selection-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:5px 10px;display:flex}.color-audit-selection-legend span{color:var(--text);align-items:center;gap:4px;font-size:.58em;font-weight:750;display:inline-flex}.color-audit-selection-legend i{box-sizing:border-box;border:2px solid #fff;border-radius:3px;width:11px;height:11px}.color-audit-selection-legend i.selected{box-shadow:0 0 0 2px #50bd91}.color-audit-selection-legend i.unselected{background:#342d3359;box-shadow:0 0 0 2px #665a63}.color-audit-selection-card>p{grid-column:1/-1}.color-audit-selection-actions button,.color-audit-layer-compact button{border:1.5px solid var(--pink-light);min-height:26px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:2px 8px;font-size:.59em;font-weight:850}.color-audit-layer-compact{color:var(--text);justify-content:space-between;align-items:center;gap:6px;padding:1px 2px;font-size:.62em;font-weight:800;display:flex}.color-audit-layer-compact>span b,.color-audit-layer-compact>span strong{color:var(--pink)}.color-audit-layer-compact>div{gap:4px;display:flex}.color-audit-layer-compact button.active,.color-audit-layer-compact button.primary{border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-layer-compact em{color:#3a9b76;font-style:normal}.color-audit-cell.selected,.color-audit-cell.selected:hover{z-index:4;background:#50bd911f;border:2px solid #fff;box-shadow:0 0 0 2px #50bd91}.color-audit-cell.unselected,.color-audit-cell.unselected:hover{z-index:4;background:#342d336b;border:2px solid #fffffffa;box-shadow:0 0 0 2px #4f454df5}.color-audit-cell.unselected:after{color:#fff;content:"×";text-shadow:0 1px 2px #1c141ae6;pointer-events:none;place-items:center;font-size:clamp(6px,.72vw,11px);font-weight:900;line-height:1;display:grid;position:absolute;inset:0}.profile-quick-tools{grid-template-columns:minmax(220px,.85fr) minmax(0,2.15fr);align-items:stretch;gap:12px;margin:12px 0 16px;display:grid}.profile-ai-credit-compact{color:#6e3d4e;background:linear-gradient(135deg,#ffeef4,#fff7e9);border:1px solid #f1adc3;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:58px;padding:9px 14px;display:inline-flex;box-shadow:0 4px 14px #d35b841c}.profile-ai-credit-compact>span{background:#ffffffd1;border:1px solid #f5c2d1;border-radius:10px;place-items:center;width:30px;height:30px;font-size:16px;display:grid}.profile-ai-credit-compact strong{color:#6d4050;white-space:nowrap;font-size:13px}.profile-ai-credit-compact em{background:var(--pink);color:#fff;white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:10px;font-style:normal;font-weight:850}.profile-quick-invite-card{min-width:0;min-height:58px;box-shadow:none;border-color:#efddb9;border-radius:13px;margin:0;padding:9px 11px}.profile-invite-compact-main{align-items:center;gap:14px;display:flex}.profile-invite-compact-title{align-items:center;gap:8px;min-width:190px;display:flex}.profile-invite-compact-title>span{font-size:18px}.profile-invite-compact-title>div{gap:2px;display:grid}.profile-invite-compact-title strong{color:#5f472c;font-size:12px}.profile-invite-compact-title small{color:#9a856b;white-space:nowrap;font-size:9px}.profile-invite-compact-code{align-items:center;gap:7px;margin-left:auto;display:flex}.profile-invite-compact-code small{color:#9a8b79;white-space:nowrap;font-size:9px}.profile-invite-compact-code code{color:#87591f;letter-spacing:.06em;font-size:12px;font-weight:850}.profile-invite-compact-code button,.profile-invite-compact-actions button{color:#966025;min-height:30px;font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e3bd7b;border-radius:8px;padding:0 9px;font-size:10px;font-weight:800}.profile-invite-compact-actions{gap:6px;display:flex}.profile-invite-compact-actions button.primary{color:#fff;background:#c78a3d}.profile-invite-bound-summary{color:#7d6c58;text-align:right;margin-top:7px;font-size:9px}.profile-invite-bound-summary.muted{color:#a49a8f}.profile-invite-compact-bind{border-top:1px solid #f0e3cf;margin-top:10px;padding-top:10px}.profile-quick-invite-card .profile-invite-message{margin-top:7px}@media (width<=820px){.profile-quick-tools{grid-template-columns:minmax(180px,.8fr) minmax(0,1.6fr)}.profile-ai-credit-compact{min-height:54px;padding:7px 10px}}@media (width<=560px){.profile-quick-tools{grid-template-columns:1fr}.profile-ai-credit-compact{justify-self:start;min-height:42px}.profile-invite-compact-main{flex-wrap:wrap;align-items:flex-start;gap:8px 10px}.profile-invite-compact-title{flex:180px;min-width:0}.profile-invite-compact-code{margin-left:0}.profile-invite-compact-actions{margin-left:auto}.profile-invite-compact-title small{white-space:normal}}.color-audit-group-card{border:1px solid var(--pink-light);background:#fffafd;border-radius:10px;gap:7px;padding:8px;display:grid}.color-audit-group-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.color-audit-group-head>span{gap:2px;min-width:0;display:grid}.color-audit-group-head strong{color:var(--text);font-size:.68em}.color-audit-group-head small{color:var(--text-light);font-size:.57em;line-height:1.3}.color-audit-group-head>b{color:var(--pink);flex:none;font-size:.63em}.color-audit-group-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.color-audit-group-actions button{border:1.5px solid var(--pink-light);min-height:27px;color:var(--pink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:2px 6px;font-size:.59em;font-weight:850}.color-audit-group-actions button:first-child:not(:disabled){border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-group-actions button:disabled{opacity:.38;cursor:default}.color-audit-selection-foot{justify-content:space-between;align-items:center;gap:8px;padding:0 2px;display:flex}.color-audit-selection-foot span{color:var(--text-light);font-size:.57em}.color-audit-selection-foot button{color:var(--pink);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;font-size:.6em;font-weight:850}.color-audit-canvas-toolbar{grid-template-columns:minmax(110px,auto) minmax(0,1fr) auto;display:grid}.color-audit-canvas-legend{justify-self:center;min-width:0;gap:12px!important}.color-audit-canvas-legend>span{color:var(--text-light);white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.color-audit-canvas-legend i{box-sizing:border-box;border:2px solid #fff;border-radius:3px;width:11px;height:11px;display:block}.color-audit-canvas-legend i.selected{box-shadow:0 0 0 2px #50bd91}.color-audit-canvas-legend i.unselected{box-shadow:0 0 0 2px #4f454df5}.color-audit-canvas-legend button{border-radius:999px;width:auto;min-height:25px;padding:2px 8px;font-size:.92em}.color-audit-canvas-legend button.active{border-color:var(--pink);background:var(--pink);color:#fff}.color-audit-cell.unselected,.color-audit-cell.unselected:hover{background:#342d330f}.color-audit-cell.unselected:after{content:none}@media (width<=820px){.color-audit-canvas-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.color-audit-canvas-legend{grid-area:2/1/auto/-1;justify-self:start;max-width:100%;overflow-x:auto}}.correction-panel .trace-background-button.is-show-background{order:6}@media (width<=820px){.mobile-generate-workspace .canvas-trace-controls{top:auto;right:auto;bottom:calc(var(--mobile-workbench-height,0px) + 8px);flex-wrap:nowrap;gap:5px;width:max-content;max-width:calc(100vw - 16px);left:50%;transform:translate(-50%)}.mobile-generate-workspace .canvas-trace-controls .canvas-trace-opacity-control{gap:5px;width:min(174px,46vw);min-height:36px;padding:3px 7px;font-size:.64em}.mobile-generate-workspace .canvas-trace-controls .canvas-trace-opacity-control input{min-width:48px}.mobile-generate-workspace .canvas-trace-scale-control{grid-template-columns:auto 24px 37px 24px;gap:2px;min-height:36px;padding:3px 5px 3px 7px;font-size:.62em}.mobile-generate-workspace .canvas-trace-scale-control button{width:24px;height:24px}.mobile-generate-canvas:has(.canvas-trace-controls) .canvas-quick-dock{bottom:calc(var(--mobile-workbench-height,0px) + 52px)}.mobile-tool-panel>.correction-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;padding:8px;display:grid}.mobile-tool-panel>.correction-panel .correction-panel-head{grid-area:auto/1/auto/-1;min-height:22px;padding:0 2px 3px;display:flex}.mobile-tool-panel>.correction-panel .trace-background-control{display:contents}.mobile-tool-panel>.correction-panel .trace-background-adjust,.mobile-tool-panel>.correction-panel .trace-background-repair,.mobile-tool-panel>.correction-panel .trace-background-button,.mobile-tool-panel>.correction-panel .trace-background-clear,.mobile-tool-panel>.correction-panel .correction-review-entry{grid-area:auto;width:100%;min-height:34px}.mobile-tool-panel>.correction-panel .trace-background-adjust{order:1}.mobile-tool-panel>.correction-panel .trace-background-repair{order:2}.mobile-tool-panel>.correction-panel .correction-review-entry{order:3;grid-column:1/-1}.mobile-tool-panel>.correction-panel .trace-background-button{order:4}.mobile-tool-panel>.correction-panel .trace-background-clear{order:5}.mobile-tool-panel>.correction-panel .trace-background-button.is-show-background{order:6;grid-column:1/-1}:is(.mobile-tool-panel>.correction-panel:not(:has(.trace-background-control.has-source)) .trace-background-button,.mobile-tool-panel>.correction-panel:not(:has(.trace-background-control.has-source)) .correction-review-entry){grid-column:1/-1}}@media (width<=820px) and (orientation:portrait){.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop){box-sizing:border-box;grid-template-rows:minmax(0,1fr) auto auto;gap:6px}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-main{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;grid-row:1;min-height:0;padding:8px 6px 2px;overflow-y:auto}.import-preview-overlay.import-fallback-overlay .import-preview-main.import-preview-main-confirm{--import-result-size:min(calc(100vw - 36px), 44svh, 420px);align-content:start}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-controls{grid-row:2;min-height:auto;padding-bottom:0;overflow:visible}.import-preview-overlay.import-fallback-overlay .import-fallback-card:not(.import-fallback-card-repair):not(.import-fallback-card-crop) .import-preview-footer-global{box-sizing:border-box;grid-row:3;align-self:stretch;width:auto;margin:0 -12px -12px}}@media (width<=520px) and (orientation:portrait){.import-preview-footer.import-preview-footer-global{grid-template-columns:minmax(82px,1fr) minmax(174px,1.7fr);padding-left:10px;padding-right:10px}.import-preview-footer-global .import-preview-actions.simple-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}@media (width>=821px) and (aspect-ratio>=1){.import-preview-overlay.import-fallback-overlay .import-fallback-card.import-fallback-card-simple:not(.import-fallback-card-crop){grid-template-rows:minmax(0,1fr) auto;grid-template-columns:260px minmax(0,1fr)}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-controls{grid-area:1/1}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-main{grid-area:1/2}.import-preview-overlay.import-fallback-overlay .import-fallback-card-simple:not(.import-fallback-card-crop) .import-preview-footer-global{grid-area:2/1/auto/-1;grid-template-columns:minmax(0,1fr) auto;margin:0;display:grid;position:static}.import-preview-footer-secondary{justify-self:start}.import-preview-footer-global .import-preview-actions.simple-actions{justify-self:end}.floating-toolbar-wrapper,.floating-toolbar-wrapper.collapsed{flex-direction:row-reverse;align-items:center;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);inset:50% 12px auto auto;transform:translateY(-50%)}.floating-toolbar-shell{flex-direction:row-reverse;align-items:center;max-width:calc(100vw - 70px);max-height:calc(100dvh - 24px)}.floating-toolbar{flex-direction:column;align-items:stretch;max-height:calc(100dvh - 32px);overflow:hidden auto}.floating-toolbar .btn-sm{width:72px}.floating-toolbar .toolbar-divider{width:30px;height:1px;margin:1px auto}.canvas-primary-actions{right:12px}.canvas-quick-dock{width:auto;bottom:12px;left:auto;right:12px}}.color-audit-complete-card{min-height:0;color:var(--text-light);text-align:center;background:linear-gradient(155deg,#50bd911f,#fffafdf5);border:1px solid #50bd9147;border-radius:14px;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:9px;padding:20px 14px;display:flex}.color-audit-complete-card>i{color:#fff;background:#50bd91;border-radius:50%;place-items:center;width:48px;height:48px;font-size:1.45em;font-style:normal;font-weight:900;display:grid;box-shadow:0 8px 22px #50bd913d}.color-audit-complete-card>strong{color:var(--text);font-size:.82em}.color-audit-complete-card>span{max-width:190px;font-size:.64em;line-height:1.55}.color-audit-complete-card>button{color:#fff;min-width:132px;min-height:36px;font:inherit;cursor:pointer;background:#50bd91;border:0;border-radius:10px;margin-top:4px;font-size:.7em;font-weight:850}.color-audit-canvas-legend i.completed{background:#50bd9147;border-color:#50bd91;box-shadow:0 0 0 2px #50bd9147}@media (width>=821px) and (aspect-ratio>=1){.color-audit-side{overflow:hidden}.color-audit-candidate-card{flex:auto;grid-template-rows:auto auto auto minmax(0,1fr) auto;min-height:0;overflow:hidden}.color-audit-target-picker{flex-direction:column;min-height:0;display:flex;overflow:hidden}.color-audit-palette-grid{flex:auto;min-height:72px;max-height:none;overflow-y:auto}.color-audit-apply{flex:none}}html.portrait-workspace .profile-quick-tools{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}html.portrait-workspace .profile-ai-credit-compact,html.portrait-workspace .profile-quick-invite-card{box-sizing:border-box;width:100%;min-width:0}html.portrait-workspace .profile-ai-credit-compact{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:10px 14px;display:grid}html.portrait-workspace .profile-ai-credit-compact em{white-space:nowrap;justify-self:end}html.portrait-workspace .profile-invite-compact-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;display:grid}html.portrait-workspace .profile-invite-compact-title{min-width:0}html.portrait-workspace .profile-invite-compact-code{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}html.portrait-workspace .profile-invite-compact-code code{text-overflow:ellipsis;min-width:0;overflow:hidden}html.portrait-workspace .profile-invite-compact-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}html.portrait-workspace .mobile-workbench{box-sizing:border-box;border-top:2px solid var(--pink-light);background:#fffafcfa;width:100%;left:0;right:0;overflow:visible}html.portrait-workspace .mobile-workbench-content{box-sizing:border-box;width:100%;min-width:0;padding:2px 10px 8px;overflow:hidden}html.portrait-workspace .mobile-unified-tool-rail,html.portrait-workspace .mobile-tool-area,html.portrait-workspace .mobile-tool-panel{box-sizing:border-box;width:100%;min-width:0}html.portrait-workspace .mobile-param-buttons{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:7px;width:100%;padding:2px 2px 7px;display:flex;overflow:auto hidden}html.portrait-workspace .mobile-param-buttons::-webkit-scrollbar{display:none}html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{border-radius:999px;flex:0 0 92px;justify-content:center;width:92px;min-width:92px;height:44px;min-height:44px;padding:6px 10px;font-size:.78em;line-height:1}html.portrait-workspace .process-options-card{box-sizing:border-box;width:100%;max-width:none;padding:10px 12px}html.portrait-workspace .process-remove-bg-controls{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;padding:6px 0 2px;display:grid}html.portrait-workspace .process-bg-strength{min-width:0;margin:0}html.portrait-workspace .process-bg-strength .sub-slider-head{align-items:center;gap:8px;margin-bottom:4px;display:flex}html.portrait-workspace .process-bg-strength .sub-slider-track{grid-template-columns:28px minmax(120px,1fr) 28px;align-items:center;gap:6px;min-width:0;display:grid}html.portrait-workspace .process-bg-strength input[type=range]{width:100%;min-width:0}html.portrait-workspace .process-bg-color-row{white-space:nowrap;color:var(--text-light);align-items:center;gap:6px;font-size:.78em;font-weight:700;display:flex}html.portrait-workspace .process-bg-color-row .btn{border-radius:999px;min-width:42px;min-height:34px;padding:4px 10px}html.portrait-workspace .process-color-title{margin-top:8px}html.portrait-workspace .paint-palette,html.portrait-workspace .eraser-tool-panel{box-sizing:border-box;width:100%;max-width:none;overflow:hidden}html.portrait-workspace .paint-palette .tool-settings-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}html.portrait-workspace .paint-palette .tool-settings-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;display:grid}html.portrait-workspace .paint-palette .tool-settings-main>.btn,html.portrait-workspace .paint-palette .symmetry-toggle{width:auto;min-width:0;min-height:34px;padding:4px 9px}html.portrait-workspace .paint-palette .brush-size-control,html.portrait-workspace .paint-palette .symmetry-control{grid-column:1/-1;width:100%}html.portrait-workspace .paint-palette .prefix-filter{scrollbar-width:none;flex-wrap:nowrap;width:100%;padding-bottom:4px;display:flex;overflow:auto hidden}html.portrait-workspace .paint-palette .prefix-filter::-webkit-scrollbar{display:none}html.portrait-workspace .paint-palette-grid{scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:8px;width:100%;max-width:none;max-height:none;padding:4px 2px 8px;display:flex;overflow:auto hidden}html.portrait-workspace .paint-palette-grid::-webkit-scrollbar{display:none}html.portrait-workspace .paint-swatch{scroll-snap-align:start;flex:0 0 48px;width:48px;min-width:48px;padding:4px}html.portrait-workspace .paint-swatch-code{text-overflow:ellipsis;white-space:nowrap;max-width:42px;font-size:.62em;display:block;overflow:hidden}@media (width<=480px){html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{flex-basis:84px;width:84px;min-width:84px}html.portrait-workspace .process-remove-bg-controls{grid-template-columns:minmax(0,1fr)}html.portrait-workspace .process-bg-color-row{justify-content:flex-end}}html.portrait-workspace .mobile-workbench{max-height:min(38dvh,360px);overflow:hidden!important}html.portrait-workspace .mobile-workbench-content{overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;max-height:min(38dvh,360px);padding:2px 8px 8px;overflow:hidden auto!important}html.portrait-workspace .mobile-tool-panel{min-height:0;overflow:visible}html.portrait-workspace .paint-palette,html.portrait-workspace .eraser-tool-panel,html.portrait-workspace .correction-panel{overflow:visible!important}html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{white-space:nowrap;border-radius:999px;flex:0 0 76px;width:76px;min-width:76px;height:36px;min-height:36px;padding:4px 7px;font-size:.72em;line-height:1}html.portrait-workspace .mobile-param-buttons>button>strong{display:none}html.portrait-workspace .paint-palette{gap:6px;padding:8px}html.portrait-workspace .paint-palette .brush-size-control,html.portrait-workspace .paint-palette .symmetry-control{min-height:30px}html.portrait-workspace .paint-palette-grid{touch-action:pan-x;flex-flow:row;width:100%;max-height:none;padding:3px 2px 6px;display:flex;overflow:auto hidden!important}html.portrait-workspace .paint-swatch{flex:0 0 44px;width:44px;min-width:44px}html.portrait-workspace .correction-panel{border-radius:14px;gap:6px;width:100%;max-width:none;padding:8px}html.portrait-workspace .correction-panel-head{gap:6px}html.portrait-workspace .correction-panel-icon{flex-basis:26px;width:26px;height:26px}html.portrait-workspace .correction-panel .trace-background-control{gap:5px;padding:6px}html.portrait-workspace .correction-panel button,html.portrait-workspace .correction-panel .btn{min-height:32px;padding:4px 8px;font-size:.74em}html.portrait-workspace .group-modal-backdrop{justify-items:center;padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))!important;align-items:center!important}html.portrait-workspace .group-modal{width:min(388px,100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;overflow-y:auto}html.portrait-workspace .group-qr-frame{width:min(264px,72vw)}:is(body:has(.group-modal-backdrop) .module-tab-bar,body:has(.group-modal-backdrop) .site-icp-footer){visibility:hidden;pointer-events:none}@media (width<=480px){html.portrait-workspace .mobile-workbench,html.portrait-workspace .mobile-workbench-content{max-height:min(42dvh,340px)}html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{flex-basis:72px;width:72px;min-width:72px}}html.portrait-workspace .mobile-generate-canvas,html.portrait-workspace .canvas-area,html.portrait-workspace .canvas-wrapper,html.portrait-workspace .canvas-scroll,html.portrait-workspace .canvas-container{background:#fff!important}html.portrait-workspace .mobile-workbench{height:auto!important;max-height:min(27dvh,220px)!important;padding:0 6px calc(2px + env(safe-area-inset-bottom))!important;overflow:hidden!important}html.portrait-workspace .mobile-workbench.collapsed{height:0!important;max-height:0!important;padding-bottom:0!important}html.portrait-workspace .mobile-workbench-toggle{z-index:30;width:58px;height:24px;min-height:24px;line-height:20px;top:-13px}html.portrait-workspace .mobile-workbench-content{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;max-height:min(27dvh,214px);height:auto!important;padding:4px 4px 3px!important;overflow:hidden auto!important}html.portrait-workspace .mobile-unified-tool-rail{z-index:5;background:#fffafcfa;position:sticky;top:0}html.portrait-workspace .mobile-param-buttons{gap:5px!important;padding:2px 1px 5px!important}html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{white-space:nowrap;border-radius:999px!important;flex:none!important;width:auto!important;min-width:72px!important;height:34px!important;min-height:34px!important;padding:3px 10px!important;font-family:inherit!important;font-size:.76rem!important;font-weight:750!important;line-height:1!important}html.portrait-workspace .mobile-param-buttons>button.premium,html.portrait-workspace .mobile-param-buttons>button:nth-child(2){min-width:84px!important}html.portrait-workspace .mobile-param-buttons>button strong{display:none!important}html.portrait-workspace .mobile-tool-panel{padding:2px 2px 6px;min-height:0!important;max-height:none!important;overflow:visible!important}html.portrait-workspace .paint-palette,html.portrait-workspace .correction-panel,html.portrait-workspace .eraser-tool-panel,html.portrait-workspace .color-stats-bar{border-radius:14px!important;margin:0!important;padding:7px 8px!important}html.portrait-workspace .paint-palette .tool-settings-row{grid-template-columns:minmax(0,1fr) auto!important;gap:4px!important}html.portrait-workspace .paint-palette .tool-settings-main{gap:4px!important;display:flex!important}html.portrait-workspace .paint-palette .tool-settings-main>.btn,html.portrait-workspace .paint-palette .symmetry-toggle{min-height:30px!important;padding:2px 8px!important;font-size:.72rem!important}html.portrait-workspace .paint-palette .brush-size-control,html.portrait-workspace .paint-palette .symmetry-control{min-height:28px!important;margin-top:3px!important}html.portrait-workspace .paint-palette .prefix-filter{margin:3px 0!important;padding:0 0 2px!important}html.portrait-workspace .paint-palette-grid{gap:6px!important;padding:2px 0 4px!important}html.portrait-workspace .paint-swatch{flex-basis:42px!important;width:42px!important;min-width:42px!important;padding:2px!important}html.portrait-workspace .paint-swatch-color{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}html.portrait-workspace .correction-panel{gap:5px!important}html.portrait-workspace .correction-panel-head{min-height:28px}html.portrait-workspace .correction-panel .btn,html.portrait-workspace .correction-panel button{min-height:30px!important;padding:3px 8px!important;font-size:.72rem!important}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock{left:auto!important;right:10px!important;bottom:calc(var(--mobile-workbench-height,0px) + 8px)!important;width:auto!important}html.portrait-workspace .mobile-generate-workspace .canvas-dock-row{width:auto!important}html.portrait-workspace .canvas-trace-opacity-control{min-height:40px;left:10px!important;right:auto!important;bottom:calc(var(--mobile-workbench-height,0px) + 8px)!important;width:min(250px,100% - 142px)!important;top:auto!important}html.portrait-workspace .offset-floating-trigger{min-height:40px;padding:5px 12px;font-family:inherit;font-size:.78rem;font-weight:750}@media (width<=480px){html.portrait-workspace .mobile-workbench{max-height:min(25dvh,190px)!important}html.portrait-workspace .mobile-workbench-content{max-height:min(25dvh,184px);height:auto!important}html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{min-width:68px!important;padding-inline:8px!important;font-size:.72rem!important}html.portrait-workspace .canvas-trace-opacity-control{width:min(230px,100% - 132px)!important}}html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{font-family:PingFang SC,Microsoft YaHei,sans-serif!important;font-size:.76rem!important;font-weight:750!important;line-height:1!important}html.portrait-workspace .mobile-param-buttons>button>span,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn>span{color:inherit!important;font:inherit!important;line-height:inherit!important;letter-spacing:normal!important;white-space:nowrap!important;margin:0!important;padding:0!important;display:inline!important}@media (width<=480px){html.portrait-workspace .mobile-param-buttons>button,html.portrait-workspace .mobile-param-buttons .mobile-tool-btn{font-size:.72rem!important}}html.portrait-workspace .paint-palette-portrait{box-sizing:border-box;width:100%;max-width:none;border-radius:13px!important;gap:5px!important;padding:6px 7px!important;display:grid!important;overflow:hidden!important}html.portrait-workspace .portrait-paint-top-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;min-width:0;display:grid}html.portrait-workspace .portrait-paint-current{border:1.5px solid var(--pink-light);background:#fff;border-radius:999px;align-items:center;min-width:58px;min-height:29px;padding:2px 7px;display:flex}html.portrait-workspace .portrait-paint-current .paint-palette-current-chip{white-space:nowrap;gap:4px;font-size:.72rem}html.portrait-workspace .portrait-paint-current .paint-palette-current-dot{width:15px;height:15px}html.portrait-workspace .portrait-paint-current .paint-palette-current-empty{color:var(--text-light);white-space:nowrap;font-size:.7rem;font-weight:800}html.portrait-workspace .portrait-paint-actions{scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:center;gap:4px;min-width:0;padding-bottom:1px;display:flex;overflow:auto hidden}html.portrait-workspace .portrait-paint-actions::-webkit-scrollbar{display:none}html.portrait-workspace .portrait-tool-mode-switch{border:1.5px solid var(--pink-light);background:var(--pink-bg);border-radius:999px;flex:none;padding:2px;display:inline-flex}html.portrait-workspace .portrait-tool-mode-switch button,html.portrait-workspace .paint-palette-portrait .paint-eyedropper-button,html.portrait-workspace .paint-palette-portrait .portrait-symmetry-toggle{white-space:nowrap;border-radius:999px;min-width:0;height:27px;min-height:27px!important;padding:0 8px!important;font-family:inherit!important;font-size:.69rem!important;font-weight:850!important;line-height:1!important}html.portrait-workspace .portrait-tool-mode-switch button{color:var(--text-light);background:0 0;border:0}html.portrait-workspace .portrait-tool-mode-switch button.active{color:var(--pink);background:#fff;box-shadow:0 1px 5px #ff8fab29}html.portrait-workspace .paint-palette-portrait .paint-eyedropper-cluster{border:1.5px solid var(--pink-light);background:#fff;border-radius:999px;flex:none;align-items:center;gap:2px;min-width:0;padding:2px;display:inline-flex}html.portrait-workspace .paint-palette-portrait .paint-eyedropper-button{color:var(--pink);background:0 0;border:0}html.portrait-workspace .paint-palette-portrait .paint-eyedropper-button.active{background:var(--pink);color:#fff}html.portrait-workspace .paint-palette-portrait .trace-eyedropper-source{background:var(--pink-bg);border:0;gap:1px;padding:1px}html.portrait-workspace .paint-palette-portrait .trace-eyedropper-source button{min-height:23px;padding:0 6px;font-size:.64rem}html.portrait-workspace .portrait-paint-symmetry-detail{justify-content:flex-end;min-height:0;margin-top:-2px;display:flex}html.portrait-workspace .portrait-paint-symmetry-detail .symmetry-control{padding:1px 4px;font-size:.65rem;min-height:25px!important}html.portrait-workspace .paint-palette-portrait .prefix-filter{scrollbar-width:none;flex-wrap:nowrap;gap:3px;width:100%;min-height:24px;display:flex;overflow:auto hidden;margin:0!important;padding:0!important}html.portrait-workspace .paint-palette-portrait .prefix-filter::-webkit-scrollbar{display:none}html.portrait-workspace .paint-palette-portrait .prefix-filter button{min-width:24px;height:23px;font-size:.66rem;min-height:23px!important;padding:0 7px!important}html.portrait-workspace .paint-palette-portrait .paint-palette-grid{scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;touch-action:pan-x;flex-flow:row;width:100%;height:45px;margin:0;display:flex;gap:6px!important;max-height:45px!important;padding:1px 1px 3px!important;overflow:auto hidden!important}html.portrait-workspace .paint-palette-portrait .paint-palette-grid::-webkit-scrollbar{display:none}html.portrait-workspace .paint-palette-portrait .paint-swatch{scroll-snap-align:start;height:42px;flex:0 0 38px!important;width:38px!important;min-width:38px!important;padding:1px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch-color{width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch-code{max-width:36px;font-size:.55rem;line-height:1}html.portrait-workspace .correction-panel-portrait{box-sizing:border-box;width:100%;max-width:none;border-radius:13px!important;gap:5px!important;padding:6px 7px!important;display:grid!important;overflow:hidden!important}html.portrait-workspace .portrait-correction-head{gap:8px;min-height:22px!important}html.portrait-workspace .portrait-correction-head>strong{font-size:.76rem}html.portrait-workspace .portrait-correction-head>small{white-space:nowrap;margin-left:auto;font-size:.64rem}html.portrait-workspace .portrait-correction-actions{scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:center;gap:4px;min-width:0;padding-bottom:1px;display:flex;overflow:auto hidden}html.portrait-workspace .correction-panel-portrait .trace-background-control{flex:none;align-items:center;width:auto!important;max-width:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;border:0!important;border-radius:0!important;flex-wrap:nowrap!important;gap:4px!important;padding:0!important;display:flex!important}html.portrait-workspace .correction-panel-portrait .trace-background-button,html.portrait-workspace .correction-panel-portrait .trace-background-repair,html.portrait-workspace .correction-panel-portrait .trace-background-adjust,html.portrait-workspace .correction-panel-portrait .trace-background-clear,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{border:1.5px solid var(--pink-light);color:var(--pink);white-space:nowrap;background:#fff;flex:none;justify-content:center;align-items:center;display:inline-flex;width:auto!important;min-width:0!important;height:29px!important;min-height:29px!important;box-shadow:none!important;border-radius:999px!important;padding:0 9px!important;font-family:inherit!important;font-size:.68rem!important;font-weight:850!important;line-height:1!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust,html.portrait-workspace .correction-panel-portrait .trace-background-repair,html.portrait-workspace .correction-panel-portrait .trace-background-clear{font-size:0!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust:after{content:"对齐";font-size:.68rem}html.portrait-workspace .correction-panel-portrait .trace-background-adjust.active:after{content:"完成"}html.portrait-workspace .correction-panel-portrait .trace-background-repair:after{content:"初步修正";font-size:.68rem}html.portrait-workspace .correction-panel-portrait .trace-background-clear:after{content:"隐藏";font-size:.68rem}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{border-color:var(--pink);background:var(--pink);color:#fff}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>span{display:none}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>strong{font:inherit;color:inherit}html.portrait-workspace .trace-background-overlay-hint{align-items:center;gap:8px;min-height:38px;top:max(10px, env(safe-area-inset-top))!important;border-radius:12px!important;max-width:none!important;padding:7px 9px!important;display:flex!important;bottom:auto!important;left:10px!important;right:10px!important}html.portrait-workspace .trace-background-overlay-hint>span{min-width:0;color:var(--text-light);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.67rem;display:block;overflow:hidden}html.portrait-workspace .trace-background-overlay-hint>span strong{color:var(--pink);margin-right:6px}html.portrait-workspace .trace-background-overlay-hint>button{flex:none;min-height:27px;padding:0 9px;font-size:.67rem}@media (width<=480px){html.portrait-workspace .portrait-paint-top-row{grid-template-columns:52px minmax(0,1fr)}html.portrait-workspace .portrait-paint-current{min-width:52px;padding-inline:5px}html.portrait-workspace .portrait-tool-mode-switch button,html.portrait-workspace .paint-palette-portrait .paint-eyedropper-button,html.portrait-workspace .paint-palette-portrait .portrait-symmetry-toggle{padding-inline:7px!important;font-size:.66rem!important}}html.portrait-workspace .paint-palette-portrait{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;gap:4px!important;max-height:min(19dvh,156px)!important;padding:5px 6px!important;overflow:hidden auto!important}html.portrait-workspace .paint-palette-portrait .portrait-paint-top-row{gap:4px}html.portrait-workspace .paint-palette-portrait .portrait-paint-current{min-height:27px;padding-block:1px}html.portrait-workspace .paint-palette-portrait .prefix-filter{min-height:22px}html.portrait-workspace .paint-palette-portrait .prefix-filter button{height:21px;font-size:.63rem;min-height:21px!important;padding-inline:6px!important}html.portrait-workspace .paint-palette-portrait .paint-palette-grid{box-sizing:border-box;touch-action:pan-x;align-items:flex-start;height:37px;gap:5px!important;max-height:37px!important;padding:0 1px 2px!important;overflow:auto hidden!important}html.portrait-workspace .paint-palette-portrait .paint-swatch{box-sizing:border-box;gap:1px;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:35px!important;min-height:35px!important;padding:1px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch-color{border-radius:4px;width:22px!important;min-width:22px!important;height:22px!important;min-height:22px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch-code{text-overflow:ellipsis;white-space:nowrap;max-width:30px;min-height:8px;margin:0;font-size:.5rem;line-height:1.1;display:block;overflow:hidden}html.portrait-workspace .paint-palette-portrait .portrait-paint-symmetry-detail{margin-top:-1px}html.portrait-workspace .mobile-workbench{min-height:0!important;padding:0 6px!important;overflow:visible!important}html.portrait-workspace .mobile-workbench-content{height:auto!important;min-height:0!important;padding:3px 4px 0!important}html.portrait-workspace .mobile-tool-panel:empty{width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;display:none!important}html.portrait-workspace .mobile-param-buttons{margin:0!important;padding:2px 1px!important}html.portrait-workspace .mobile-workbench-toggle{z-index:40!important;top:-12px!important;overflow:visible!important}html.portrait-workspace .trace-background-overlay-hint{box-sizing:border-box;z-index:260!important;width:auto!important;max-width:none!important;position:fixed!important;left:10px!important;right:10px!important;transform:none!important}html.portrait-workspace .canvas-trace-opacity-control{box-sizing:border-box;height:32px;left:8px!important;right:auto!important;bottom:calc(var(--mobile-workbench-height,0px) + 7px)!important;grid-template-columns:auto minmax(52px,1fr) auto!important;gap:5px!important;width:min(214px,100% - 112px)!important;min-width:0!important;min-height:32px!important;padding:2px 7px!important;font-size:.66rem!important}html.portrait-workspace .canvas-trace-opacity-control>span{font-size:.66rem;line-height:1}html.portrait-workspace .canvas-trace-opacity-control>strong{font-size:.66rem;line-height:1;min-width:25px!important}html.portrait-workspace .canvas-trace-opacity-control input[type=range]::-moz-range-track{background:var(--pink-light);border:0;border-radius:999px;height:4px}html.portrait-workspace .canvas-trace-opacity-control input[type=range]::-moz-range-progress{background:var(--pink);border-radius:999px;height:4px}html.portrait-workspace .canvas-trace-opacity-control input[type=range]::-moz-range-thumb{background:var(--pink);border:3px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 1px 5px #8449643d}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock{right:8px!important;bottom:calc(var(--mobile-workbench-height,0px) + 7px)!important}html.portrait-workspace .offset-floating-trigger{white-space:nowrap;height:32px;width:auto!important;min-width:82px!important;min-height:32px!important;padding:0 8px!important;font-size:.68rem!important;line-height:1!important}html.portrait-workspace .correction-panel-portrait{background:#fffffff7!important;gap:4px!important;padding:5px 6px!important}html.portrait-workspace .portrait-correction-head{min-height:20px!important}html.portrait-workspace .portrait-correction-actions{scrollbar-width:none;gap:4px!important;padding:0!important;overflow:auto hidden!important}html.portrait-workspace .portrait-correction-actions::-webkit-scrollbar{display:none}html.portrait-workspace .correction-panel-portrait .trace-background-control{flex:none;align-items:center;flex-wrap:nowrap!important;gap:4px!important;display:flex!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust{order:1}html.portrait-workspace .correction-panel-portrait .trace-background-repair{order:2}html.portrait-workspace .correction-panel-portrait .trace-background-button{order:3}html.portrait-workspace .correction-panel-portrait .trace-background-clear{display:none!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{order:4}html.portrait-workspace .correction-panel-portrait .trace-background-adjust,html.portrait-workspace .correction-panel-portrait .trace-background-repair,html.portrait-workspace .correction-panel-portrait .trace-background-button,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{white-space:nowrap;height:28px!important;min-height:28px!important;padding:0 8px!important;font-family:inherit!important;font-size:.66rem!important;font-weight:850!important;line-height:1!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>span{font:inherit;margin-right:3px;display:inline!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>strong{font:inherit!important}@media (width<=480px){html.portrait-workspace .paint-palette-portrait{max-height:min(18dvh,142px)!important;padding:4px 5px!important}html.portrait-workspace .paint-palette-portrait .paint-palette-grid{height:35px;max-height:35px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:33px!important;min-height:33px!important}html.portrait-workspace .paint-palette-portrait .paint-swatch-color{width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important}html.portrait-workspace .canvas-trace-opacity-control{width:min(198px,100% - 104px)!important}html.portrait-workspace .offset-floating-trigger{min-width:76px!important;padding-inline:7px!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust,html.portrait-workspace .correction-panel-portrait .trace-background-repair,html.portrait-workspace .correction-panel-portrait .trace-background-button,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{padding-inline:7px!important;font-size:.64rem!important}}html.portrait-workspace .correction-panel-portrait{box-sizing:border-box;width:100%;max-width:none;background:#fffffff7!important;border-radius:12px!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:4px 5px!important;display:block!important;overflow:hidden!important}html.portrait-workspace .correction-panel-portrait .portrait-correction-head{display:none!important}html.portrait-workspace .portrait-correction-actions{box-sizing:border-box;width:100%;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;overflow:visible!important}html.portrait-workspace .correction-panel-portrait .trace-background-control{box-sizing:border-box;pointer-events:none;width:100%!important;max-width:none!important;height:28px!important;min-height:28px!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important;overflow:visible!important}html.portrait-workspace .correction-panel-portrait .trace-background-control>button,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{box-sizing:border-box;letter-spacing:-.02em;text-overflow:clip;white-space:nowrap;pointer-events:auto;justify-content:center;align-items:center;border:1.5px solid var(--pink-light)!important;width:auto!important;min-width:0!important;max-width:none!important;height:28px!important;min-height:28px!important;color:var(--pink)!important;box-shadow:none!important;background:#fff!important;border-radius:999px!important;margin:0!important;padding:0 3px!important;font-family:inherit!important;font-size:clamp(.56rem,2.25vw,.64rem)!important;font-weight:850!important;line-height:1!important;display:inline-flex!important;position:absolute!important;top:0!important;overflow:hidden!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust{left:0!important;right:calc(81% + 2px)!important}html.portrait-workspace .correction-panel-portrait .trace-background-repair{left:calc(19% + 2px)!important;right:calc(60% + 2px)!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{z-index:2;border-color:var(--pink)!important;background:var(--pink)!important;color:#fff!important;left:calc(40% + 2px)!important;right:calc(39% + 2px)!important}html.portrait-workspace .correction-panel-portrait .trace-background-clear{color:var(--text-light)!important;left:calc(61% + 2px)!important;right:calc(22% + 2px)!important}html.portrait-workspace .correction-panel-portrait .trace-background-button{color:var(--text-light)!important;left:calc(78% + 2px)!important;right:0!important}html.portrait-workspace .correction-panel-portrait .trace-background-button.is-show-background{left:calc(61% + 2px)!important;right:calc(22% + 2px)!important}html.portrait-workspace .correction-panel-portrait .trace-background-control:not(.has-source) .trace-background-button{left:0!important;right:0!important}html.portrait-workspace .correction-panel-portrait .trace-background-button>span:first-child{display:none!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>span{width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;color:inherit!important;font:inherit!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0 2px 0 0!important;padding:0!important;line-height:1!important;display:inline!important}html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait>strong{color:inherit!important;font:inherit!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust:after,html.portrait-workspace .correction-panel-portrait .trace-background-repair:after,html.portrait-workspace .correction-panel-portrait .trace-background-clear:after{content:none!important;display:none!important}html.portrait-workspace .correction-panel-portrait button:disabled{opacity:.46!important}html.portrait-workspace .mobile-workbench-toggle,html.portrait-workspace .mobile-workbench.collapsed .mobile-workbench-toggle{z-index:50!important;width:46px!important;height:19px!important;min-height:19px!important;top:-10px!important;left:14px!important;transform:none!important}html.portrait-workspace .canvas-trace-opacity-control{box-sizing:border-box;top:auto!important;left:8px!important;right:88px!important;bottom:calc(var(--mobile-workbench-height,0px) + 7px)!important;grid-template-columns:auto minmax(38px,1fr) 24px!important;gap:4px!important;width:auto!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:2px 7px!important;font-size:.64rem!important;overflow:visible!important}html.portrait-workspace .canvas-trace-opacity-control>span{white-space:nowrap;font-size:0!important}html.portrait-workspace .canvas-trace-opacity-control>span:after{content:"透明度";font-size:.64rem;line-height:1}html.portrait-workspace .canvas-trace-opacity-control>strong{text-align:right;line-height:1;min-width:24px!important;font-size:.64rem!important}html.portrait-workspace .canvas-trace-opacity-control input[type=range]{appearance:none;border:0;height:16px;display:block;background:0 0!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}html.portrait-workspace .canvas-trace-opacity-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--pink) 0, var(--pink) var(--trace-opacity-percent,25%), var(--pink-light) var(--trace-opacity-percent,25%), var(--pink-light) 100%);border:0;border-radius:999px;height:4px}html.portrait-workspace .canvas-trace-opacity-control input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--pink);border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin-top:-5px;box-shadow:0 1px 4px #8449643d}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock{left:auto!important;right:8px!important;bottom:calc(var(--mobile-workbench-height,0px) + 7px)!important}html.portrait-workspace .canvas-quick-dock.dock-collapsed,html.portrait-workspace .canvas-quick-dock.dock-collapsed .canvas-dock-row{width:72px!important}html.portrait-workspace .offset-floating-trigger{white-space:nowrap;width:72px!important;min-width:72px!important;height:30px!important;min-height:30px!important;padding:0 5px!important;font-size:.64rem!important;line-height:1!important}html.portrait-workspace .mobile-generate-workspace:has(.canvas-quick-dock.dock-expanded) .canvas-trace-opacity-control{opacity:0;pointer-events:none}html.portrait-workspace .trace-background-overlay-hint{box-sizing:border-box;width:auto!important;max-width:none!important;left:10px!important;right:10px!important;transform:none!important}@media (width<=360px){html.portrait-workspace .correction-panel-portrait{padding-inline:3px!important}html.portrait-workspace .correction-panel-portrait .trace-background-control>button,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{letter-spacing:-.035em;padding-inline:1px!important;font-size:.52rem!important}html.portrait-workspace .canvas-trace-opacity-control{grid-template-columns:auto minmax(30px,1fr) 22px!important;padding-inline:5px!important;right:82px!important}html.portrait-workspace .canvas-quick-dock.dock-collapsed,html.portrait-workspace .canvas-quick-dock.dock-collapsed .canvas-dock-row,html.portrait-workspace .offset-floating-trigger{width:66px!important;min-width:66px!important}}html.portrait-workspace .eraser-tool-panel-portrait{box-sizing:border-box;width:100%!important;max-width:none!important;height:40px!important;min-height:40px!important;max-height:40px!important;box-shadow:0 2px 10px var(--shadow), 0 0 0 1.5px var(--pink-light)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fffffff7!important;border-radius:12px!important;margin:0!important;padding:4px 5px!important;display:block!important;overflow:hidden!important}html.portrait-workspace .portrait-eraser-actions{box-sizing:border-box;grid-template-columns:minmax(0,1fr) 72px 58px;align-items:center;gap:4px;width:100%;min-width:0;height:32px;display:grid}html.portrait-workspace .portrait-eraser-mode-switch{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;height:32px;overflow:hidden;border:1.5px solid var(--pink-light)!important;background:var(--pink-bg)!important;width:100%!important;min-width:0!important;box-shadow:none!important;border-radius:999px!important;gap:2px!important;padding:2px!important;display:grid!important}html.portrait-workspace .portrait-eraser-mode-switch>button,html.portrait-workspace .portrait-eraser-symmetry,html.portrait-workspace .portrait-eraser-clear{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;justify-content:center;align-items:center;min-width:0!important;height:28px!important;min-height:28px!important;box-shadow:none!important;border-radius:999px!important;margin:0!important;padding:0 7px!important;font-family:inherit!important;font-size:.68rem!important;font-weight:850!important;line-height:1!important;display:inline-flex!important}html.portrait-workspace .portrait-eraser-mode-switch>button{width:100%!important;color:var(--text-light)!important;background:0 0!important;border:0!important}html.portrait-workspace .portrait-eraser-mode-switch>button.active{background:var(--pink)!important;color:#fff!important}html.portrait-workspace .portrait-eraser-symmetry{border:1.5px solid var(--pink-light)!important;width:72px!important;color:var(--text)!important;background:#fff!important}html.portrait-workspace .portrait-eraser-symmetry.active{border-color:var(--pink)!important;background:var(--pink)!important;color:#fff!important}html.portrait-workspace .portrait-eraser-clear{color:#d95578!important;background:#fff!important;border:1.5px solid #d9557857!important;width:58px!important}html.portrait-workspace .portrait-eraser-clear:active{background:#d9557814!important}@media (width<=360px){html.portrait-workspace .eraser-tool-panel-portrait{padding-inline:3px!important}html.portrait-workspace .portrait-eraser-actions{grid-template-columns:minmax(0,1fr) 66px 54px;gap:3px}html.portrait-workspace .portrait-eraser-mode-switch>button,html.portrait-workspace .portrait-eraser-symmetry,html.portrait-workspace .portrait-eraser-clear{padding-inline:5px!important;font-size:.64rem!important}html.portrait-workspace .portrait-eraser-symmetry{width:66px!important}html.portrait-workspace .portrait-eraser-clear{width:54px!important}}.correction-review-entry,html.portrait-workspace .correction-panel-portrait .trace-background-adjust,html.portrait-workspace .correction-panel-portrait .trace-background-repair,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait{border-color:var(--pink-light)!important;color:var(--pink)!important;box-shadow:none!important;background:#fff!important}html.portrait-workspace .correction-panel-portrait .trace-background-adjust.active,.correction-review-entry:not(:disabled):active,html.portrait-workspace .correction-panel-portrait .trace-background-repair:not(:disabled):active,html.portrait-workspace .correction-panel-portrait .correction-review-entry-portrait:not(:disabled):active{border-color:var(--pink)!important;background:var(--pink-bg)!important;color:var(--pink)!important}.konva-container>.canvas-trace-controls{display:none!important}.canvas-quick-dock .canvas-dock-row{pointer-events:none;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;width:100%!important;display:flex!important}.canvas-quick-dock .canvas-dock-row>*{pointer-events:auto}.trace-background-scale-control{box-sizing:border-box;border:1.5px solid var(--pink-light);height:34px;min-height:34px;color:var(--pink);box-shadow:0 4px 14px var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffffff0;border-radius:999px;flex:none;grid-template-columns:24px 40px 24px;align-items:center;gap:2px;padding:3px 4px;display:grid}.trace-background-scale-control button{width:24px;height:24px;min-height:24px;color:var(--pink);font:inherit;box-shadow:none;touch-action:manipulation;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:.9rem;font-weight:900;line-height:1;display:inline-grid}.trace-background-scale-control button:active:not(:disabled){background:var(--pink-bg)}.trace-background-scale-control button:disabled{color:var(--text-light);opacity:.38}.trace-background-scale-control span{min-width:0;color:var(--text-light);text-align:center;white-space:nowrap;font-size:.64rem;font-weight:850;line-height:1}.canvas-quick-dock .canvas-trace-opacity-control{box-sizing:border-box;z-index:auto!important;flex:220px!important;width:min(250px,42vw)!important;min-width:150px!important;height:34px!important;min-height:34px!important;position:relative!important;inset:auto!important;overflow:hidden!important}.offset-floating-pad{grid-template-rows:24px 28px 28px 28px 26px!important}.offset-scale-row{display:none!important}.canvas-quick-dock.dock-expanded .canvas-dock-row{justify-content:flex-end!important;align-items:flex-end!important}html.portrait-workspace .trace-background-overlay-hint{top:calc(102px + env(safe-area-inset-top))!important}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock,html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock.dock-collapsed{left:8px!important;right:8px!important;bottom:calc(var(--mobile-workbench-height,0px) + 7px)!important;width:auto!important;max-width:none!important}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock .canvas-dock-row,html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock.dock-collapsed .canvas-dock-row{grid-template-columns:auto minmax(0,1fr) 72px;justify-content:stretch!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:none!important;display:grid!important}html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock.dock-expanded .canvas-dock-row{justify-content:flex-end!important;display:flex!important}html.portrait-workspace .canvas-quick-dock .trace-background-scale-control{height:30px;min-height:30px;box-shadow:0 2px 8px var(--shadow);grid-template-columns:21px 38px 21px;gap:1px;padding:2px 3px}html.portrait-workspace .canvas-quick-dock .trace-background-scale-control button{width:21px;height:21px;min-height:21px;font-size:.78rem}html.portrait-workspace .canvas-quick-dock .trace-background-scale-control span{font-size:.58rem}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control{grid-template-columns:auto minmax(30px,1fr) 28px!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:none!important;height:30px!important;min-height:30px!important;padding:2px 7px!important;position:relative!important;inset:auto!important;overflow:hidden!important}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control>span{white-space:nowrap;font-size:.62rem!important;line-height:1!important}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control>span:after{content:none!important;display:none!important}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control>strong{text-align:right;min-width:28px!important;font-size:.62rem!important;line-height:1!important}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control input[type=range]{width:100%!important;min-width:0!important}html.portrait-workspace .canvas-quick-dock .offset-floating-trigger{width:72px!important;min-width:72px!important;height:30px!important;min-height:30px!important;padding:0 5px!important;font-size:.64rem!important}@media (width<=360px){html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock .canvas-dock-row,html.portrait-workspace .mobile-generate-workspace .canvas-quick-dock.dock-collapsed .canvas-dock-row{grid-template-columns:auto minmax(0,1fr) 66px}html.portrait-workspace .canvas-quick-dock .trace-background-scale-control{grid-template-columns:20px 34px 20px;padding-inline:2px}html.portrait-workspace .canvas-quick-dock .trace-background-scale-control button{width:20px;height:20px;min-height:20px}html.portrait-workspace .canvas-quick-dock .canvas-trace-opacity-control{grid-template-columns:auto minmax(24px,1fr) 26px!important;padding-inline:5px!important}html.portrait-workspace .canvas-quick-dock .offset-floating-trigger{width:66px!important;min-width:66px!important}}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-group{box-sizing:border-box;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important;column-gap:10px!important;display:grid!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row{box-sizing:border-box;width:100%;grid-template-columns:max-content 26px 22px minmax(48px,1fr) 22px!important;align-items:center!important;gap:4px!important;min-width:0!important;display:grid!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row>span,html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row>strong{white-space:nowrap;min-width:0}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row .kawaii-slider.mini{display:block;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row .mobile-bg-step{z-index:1;flex:none;position:relative;margin:0!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-color-row{grid-template-columns:max-content 30px 30px;justify-self:end;min-width:max-content;justify-content:end!important;align-items:center!important;gap:4px!important;margin:0!important;display:grid!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-color-row button{width:30px!important;min-width:30px!important;padding-inline:0!important}@media (width<=360px){html.portrait-workspace .mobile-param-sheet.process .mobile-bg-group{column-gap:6px!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row{grid-template-columns:max-content 24px 20px minmax(32px,1fr) 20px!important;gap:3px!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row>span,html.portrait-workspace .mobile-param-sheet.process .mobile-bg-color-row>span{font-size:.64rem!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-row .mobile-bg-step{width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-color-row{grid-template-columns:max-content 28px 28px;gap:3px!important}html.portrait-workspace .mobile-param-sheet.process .mobile-bg-color-row button{width:28px!important;min-width:28px!important;padding-inline:0!important}}html.portrait-workspace .profile-page{padding:9px 10px calc(20px + env(safe-area-inset-bottom))!important}html.portrait-workspace .profile-page .profile-header-card{box-sizing:border-box;width:100%;text-align:left!important;border-radius:13px!important;flex-wrap:nowrap!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin:0 0 7px!important;padding:9px 10px!important;display:grid!important;box-shadow:0 2px 9px #4c2a4212!important}html.portrait-workspace .profile-page .profile-user-info{min-width:0;text-align:left!important;flex-direction:row!important;align-items:center!important;gap:9px!important;display:flex!important}html.portrait-workspace .profile-page .profile-avatar-lg{flex:0 0 43px;border-width:2px!important;width:43px!important;height:43px!important}html.portrait-workspace .profile-page .profile-avatar-lg-placeholder{background:var(--pink-bg);border-radius:50%;flex:0 0 43px;place-items:center;width:43px;height:43px;line-height:1;display:grid;font-size:1.85rem!important}html.portrait-workspace .profile-page .profile-user-copy{gap:2px;min-width:0;display:grid}html.portrait-workspace .profile-page .profile-username{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.15;overflow:hidden;margin:0!important;font-size:.86rem!important}html.portrait-workspace .profile-page .profile-bio{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.2;overflow:hidden;color:var(--text-light)!important;margin:0!important;font-size:.58rem!important}html.portrait-workspace .profile-page .profile-account-meta{align-items:center;gap:5px;min-width:0;display:flex}html.portrait-workspace .profile-page .profile-email{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;line-height:1.1;overflow:hidden;color:var(--text-light)!important;margin:0!important;font-size:.56rem!important}html.portrait-workspace .profile-page .profile-ai-credit-inline{min-height:21px;color:var(--text-light);white-space:nowrap;background:#fff5f9c7;border:1px solid #ff8fab47;border-radius:999px;flex:none;align-items:center;gap:3px;padding:0 6px;line-height:1;display:inline-flex}html.portrait-workspace .profile-page .profile-ai-credit-inline>strong{color:var(--text)!important;font-size:.55rem!important}html.portrait-workspace .profile-page .profile-ai-credit-inline>em{font-style:normal;font-weight:900;color:var(--pink)!important;font-size:.55rem!important}html.portrait-workspace .profile-page .profile-actions{align-items:center;min-width:0;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:4px!important;display:flex!important}html.portrait-workspace .profile-page .profile-actions .btn{white-space:nowrap;width:auto!important;min-width:0!important;height:27px!important;min-height:27px!important;box-shadow:none!important;border-width:1.5px!important;border-radius:999px!important;padding:0 8px!important;font-size:.6rem!important;line-height:1!important}html.portrait-workspace .profile-page .profile-quick-tools{width:100%;margin:0 0 8px!important;display:block!important}html.portrait-workspace .profile-page .profile-quick-invite-card{box-sizing:border-box;width:100%!important;min-height:0!important;box-shadow:none!important;background:#fffcf3db!important;border:1.5px solid #ddb55b6b!important;border-radius:11px!important;margin:0!important;padding:7px 9px!important}html.portrait-workspace .profile-page .profile-invite-compact-main{min-width:0;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"title title""code actions"!important;align-items:center!important;gap:5px 8px!important;display:grid!important}html.portrait-workspace .profile-page .profile-invite-compact-title{grid-area:title;min-width:0;align-items:center!important;gap:6px!important;display:flex!important}html.portrait-workspace .profile-page .profile-invite-compact-title>span{flex:none;line-height:1;font-size:.86rem!important}html.portrait-workspace .profile-page .profile-invite-compact-title>div{min-width:0;align-items:baseline!important;gap:6px!important;display:flex!important}html.portrait-workspace .profile-page .profile-invite-compact-title strong{white-space:nowrap;flex:none;line-height:1.1;color:var(--text)!important;font-size:.7rem!important}html.portrait-workspace .profile-page .profile-invite-compact-title small{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.1;overflow:hidden;color:var(--text-light)!important;font-size:.6rem!important}html.portrait-workspace .profile-page .profile-invite-compact-code{grid-area:code;min-width:0;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;display:grid!important}html.portrait-workspace .profile-page .profile-invite-compact-code>small{display:none!important}html.portrait-workspace .profile-page .profile-invite-compact-code code{letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:900;line-height:1;overflow:hidden;color:var(--text)!important;font-size:.66rem!important}html.portrait-workspace .profile-page .profile-invite-compact-code button,html.portrait-workspace .profile-page .profile-invite-compact-actions button{white-space:nowrap;height:26px!important;min-height:26px!important;box-shadow:none!important;border-radius:8px!important;padding:0 7px!important;font-size:.61rem!important;line-height:1!important}html.portrait-workspace .profile-page .profile-invite-compact-actions{grid-area:actions;min-width:0;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important;margin:0!important;display:flex!important}html.portrait-workspace .profile-page .profile-invite-compact-bind,html.portrait-workspace .profile-page .profile-invite-message,html.portrait-workspace .profile-page .profile-invite-bound-summary{margin-top:6px!important}html.portrait-workspace .profile-page .profile-tabs{width:100%;min-width:0;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;margin:7px 0 9px!important;display:grid!important;overflow:visible!important}html.portrait-workspace .profile-page .profile-tabs .community-tab{box-sizing:border-box;text-overflow:clip;white-space:nowrap;width:100%;min-height:35px;line-height:1.1;overflow:hidden;min-width:0!important;padding:7px 2px!important;font-size:clamp(.61rem,2.45vw,.72rem)!important}html.portrait-workspace .profile-page .profile-authorized-note{margin:-2px 0 8px;font-size:.66rem;line-height:1.35}html.portrait-workspace .profile-page .bp-list-item.has-profile-card-actions{border-radius:var(--radius);background:var(--card);box-shadow:0 2px 9px var(--shadow);flex-direction:column;display:flex;overflow:hidden}html.portrait-workspace .profile-page .bp-list-item.has-profile-card-actions>.blueprint-card{box-shadow:none!important;border-radius:0!important}html.portrait-workspace .profile-page .profile-card-actions{border-top:1.5px solid var(--pink-light);background:#fff;width:100%;overflow:hidden;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:0!important;display:grid!important}html.portrait-workspace .profile-page .profile-card-actions>button{box-sizing:border-box;font:inherit;white-space:nowrap;justify-content:center;align-items:center;font-weight:850;line-height:1;width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0 7px!important;font-size:.65rem!important;display:inline-flex!important}html.portrait-workspace .profile-page .profile-card-actions>button:only-child{grid-column:1/-1}html.portrait-workspace .profile-page .profile-card-actions .bp-license-btn{color:#9a681a!important;background:#fffaf0!important}html.portrait-workspace .profile-page .profile-card-actions>button:active{filter:brightness(.97)}@media (width<=360px){html.portrait-workspace .profile-page .profile-header-card{gap:5px!important;padding-inline:7px!important}html.portrait-workspace .profile-page .profile-avatar-lg,html.portrait-workspace .profile-page .profile-avatar-lg-placeholder{flex-basis:39px;width:39px!important;height:39px!important}html.portrait-workspace .profile-page .profile-actions{gap:3px!important}html.portrait-workspace .profile-page .profile-actions .btn{height:25px!important;min-height:25px!important;padding-inline:6px!important;font-size:.56rem!important}html.portrait-workspace .profile-page .profile-ai-credit-inline{padding-inline:4px}html.portrait-workspace .profile-page .profile-invite-compact-main{gap:4px 5px!important}html.portrait-workspace .profile-page .profile-invite-compact-title small{font-size:.56rem!important}html.portrait-workspace .profile-page .profile-invite-compact-code button,html.portrait-workspace .profile-page .profile-invite-compact-actions button{padding-inline:5px!important;font-size:.57rem!important}html.portrait-workspace .profile-page .profile-tabs .community-tab{letter-spacing:-.02em;padding-inline:1px!important;font-size:.58rem!important}}html.portrait-workspace .import-repair-overlay .import-repair-scroll{box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden!important}html.portrait-workspace .color-audit-view{box-sizing:border-box;width:100%;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;display:grid!important}html.portrait-workspace .color-audit-canvas-shell{border-radius:12px!important;grid-area:1/1!important;min-height:0!important}html.portrait-workspace .color-audit-side{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;min-height:104px;max-height:min(34dvh,300px);border-radius:12px!important;flex-direction:column!important;grid-area:2/1!important;gap:5px!important;padding:6px!important;display:flex!important;overflow:hidden auto!important}html.portrait-workspace .color-audit-canvas-toolbar{box-sizing:border-box;grid-template-rows:28px 25px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:2px 6px!important;min-height:55px!important;padding:2px 6px!important;display:grid!important}html.portrait-workspace .color-audit-canvas-toolbar>span{text-overflow:ellipsis;white-space:nowrap;grid-area:1/1;min-width:0;font-size:.64rem;overflow:hidden}html.portrait-workspace .color-audit-zoom-controls{grid-area:1/2;gap:2px!important}html.portrait-workspace .color-audit-zoom-controls button{border-radius:8px!important;width:24px!important;height:24px!important;min-height:24px!important;padding:0!important}html.portrait-workspace .color-audit-zoom-controls b{min-width:34px!important;font-size:.62rem!important}html.portrait-workspace .color-audit-canvas-legend{box-sizing:border-box;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#ffffffdb;border-radius:999px;width:max-content;min-width:0;flex-flow:row!important;grid-area:2/1/auto/-1!important;justify-content:flex-start!important;justify-self:center!important;align-items:center!important;gap:8px!important;max-width:100%!important;margin:0!important;padding:1px 10px 2px!important;display:flex!important;overflow:auto hidden!important}html.portrait-workspace .color-audit-canvas-legend::-webkit-scrollbar{display:none}html.portrait-workspace .color-audit-canvas-legend>span{white-space:nowrap;flex:none;font-size:.57rem!important}html.portrait-workspace .color-audit-canvas-legend button{flex:none;min-height:22px!important;padding:1px 7px!important;font-size:.57rem!important}html.portrait-workspace .color-audit-viewport{padding:6px!important}html.portrait-workspace .color-audit-heading{min-height:24px;align-items:center!important}html.portrait-workspace .color-audit-heading strong{font-size:.72rem!important}html.portrait-workspace .color-audit-heading button{min-height:24px;padding:0 5px;font-size:.62rem!important}html.portrait-workspace .color-audit-progress{grid-template-columns:auto minmax(50px,1fr)!important;align-items:center!important;gap:6px!important;font-size:.61rem!important;display:grid!important}html.portrait-workspace .color-audit-progress>i{height:4px!important}html.portrait-workspace .color-audit-layer-select{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:6px!important;font-size:.61rem!important;display:grid!important}html.portrait-workspace .color-audit-layer-select select{border-radius:8px!important;min-height:28px!important;padding:3px 7px!important;font-size:.64rem!important}html.portrait-workspace .color-audit-start-guide{grid-template-columns:19px minmax(0,1fr)!important;gap:5px!important;padding:5px 6px!important}html.portrait-workspace .color-audit-start-guide>b{width:19px!important;height:19px!important;font-size:.58rem!important}html.portrait-workspace .color-audit-start-guide strong{font-size:.62rem!important}html.portrait-workspace .color-audit-start-guide small{font-size:.55rem!important;line-height:1.25!important}html.portrait-workspace .color-audit-candidate-card{gap:4px!important}html.portrait-workspace .color-audit-group-card{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;padding:4px 5px!important;display:grid!important}html.portrait-workspace .color-audit-group-head{min-width:0}html.portrait-workspace .color-audit-group-head small{display:none!important}html.portrait-workspace .color-audit-group-head strong,html.portrait-workspace .color-audit-group-head b{font-size:.59rem!important}html.portrait-workspace .color-audit-group-actions{flex-wrap:nowrap!important;gap:3px!important;display:flex!important}html.portrait-workspace .color-audit-group-actions button,html.portrait-workspace .color-audit-selection-foot button{white-space:nowrap;min-height:24px!important;padding:1px 6px!important;font-size:.55rem!important}html.portrait-workspace .color-audit-selection-foot{min-height:25px;gap:5px!important}html.portrait-workspace .color-audit-selection-foot>span{white-space:nowrap;font-size:.54rem!important}html.portrait-workspace .color-audit-target-picker{gap:4px!important;padding-top:4px!important}html.portrait-workspace .color-audit-target-head{min-height:22px;padding-inline:1px!important;font-size:.6rem!important}html.portrait-workspace .color-audit-prefix-filter,html.portrait-workspace .color-audit-recent-colors>div,html.portrait-workspace .color-audit-palette-grid{scrollbar-width:none;-webkit-overflow-scrolling:touch}html.portrait-workspace .color-audit-prefix-filter::-webkit-scrollbar{display:none}html.portrait-workspace .color-audit-recent-colors>div::-webkit-scrollbar{display:none}html.portrait-workspace .color-audit-palette-grid::-webkit-scrollbar{display:none}html.portrait-workspace .color-audit-prefix-filter{min-height:23px;flex-wrap:nowrap!important;padding:0!important;overflow:auto hidden!important}html.portrait-workspace .color-audit-prefix-filter button{min-width:23px!important;min-height:22px!important;padding:0 6px!important;font-size:.57rem!important}html.portrait-workspace .color-audit-recent-colors{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:5px!important;padding:3px 5px!important;display:grid!important}html.portrait-workspace .color-audit-recent-colors>span{white-space:nowrap;font-size:.55rem!important}html.portrait-workspace .color-audit-recent-colors>div{min-width:0;flex-flow:row!important;gap:4px!important;display:flex!important;overflow:auto hidden!important}html.portrait-workspace .color-audit-recent-colors button{flex:none;min-height:22px!important;padding:1px 6px 1px 3px!important;font-size:.56rem!important}html.portrait-workspace .color-audit-recent-colors button i{width:15px!important;height:15px!important}html.portrait-workspace .color-audit-palette-grid{box-sizing:border-box;scroll-snap-type:x proximity;width:100%;flex-flow:row!important;gap:5px!important;height:43px!important;max-height:43px!important;padding:1px!important;display:flex!important;overflow:auto hidden!important}html.portrait-workspace .color-audit-palette-grid button{scroll-snap-align:start;flex:0 0 38px!important;gap:1px!important;width:38px!important;min-width:38px!important;height:41px!important;min-height:41px!important;padding:1px!important}html.portrait-workspace .color-audit-palette-grid button>i{border-radius:5px!important;width:25px!important;height:25px!important}html.portrait-workspace .color-audit-palette-grid button>span{max-width:36px;font-size:.5rem!important;line-height:1!important}html.portrait-workspace .color-audit-apply{min-height:29px!important;padding:3px 7px!important;font-size:.62rem!important}html.portrait-workspace .color-audit-layer-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin-top:0!important}html.portrait-workspace .color-audit-layer-actions button{min-height:28px!important;font-size:.6rem!important}html.portrait-workspace .color-audit-message{font-size:.56rem!important}@media (width<=360px){html.portrait-workspace .color-audit-side{max-height:min(36dvh,286px);padding:5px!important}html.portrait-workspace .color-audit-canvas-toolbar{padding-inline:4px!important}html.portrait-workspace .color-audit-canvas-legend{gap:6px!important;padding-inline:7px!important}html.portrait-workspace .color-audit-palette-grid button{flex-basis:35px!important;width:35px!important;min-width:35px!important}html.portrait-workspace .color-audit-palette-grid button>i{width:23px!important;height:23px!important}}html.portrait-workspace .share-modal-overlay{box-sizing:border-box;width:100vw!important;height:100dvh!important;padding:max(8px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom))!important;justify-content:center!important;align-items:center!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important}html.portrait-workspace .share-modal-overlay .share-modal{box-sizing:border-box;grid-auto-rows:max-content;align-content:start;width:min(520px,100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:auto!important;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;border:2px solid var(--pink-light)!important;background:#fffffffb!important;border-radius:17px!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;margin:0!important;padding:9px!important;display:grid!important;position:relative!important;inset:auto!important;overflow:hidden!important;box-shadow:0 14px 36px #4c2a422e!important}html.portrait-workspace .share-modal .modal-title{text-align:center;min-height:24px;color:var(--text)!important;margin:0!important;font-size:.9rem!important;line-height:24px!important}html.portrait-workspace .share-modal .share-original-notice{border-width:1px!important;border-radius:8px!important;margin:0!important;padding:4px 7px!important;font-size:.59rem!important;line-height:1.28!important}html.portrait-workspace .share-modal>.auth-error{background:#fff1f3;border-radius:8px;line-height:1.25;margin:0!important;padding:4px 7px!important;font-size:.61rem!important}html.portrait-workspace .share-modal .share-section{box-sizing:border-box;min-width:0;border:1.5px solid var(--pink-light)!important;box-shadow:none!important;background:#fffffff0!important;border-radius:12px!important;margin:0!important;padding:7px!important}html.portrait-workspace .share-modal .share-section h3{line-height:1.15;color:var(--text)!important;margin:0!important;font-size:.72rem!important}html.portrait-workspace .share-modal .share-info-section{grid-template-rows:auto auto;gap:5px!important;display:grid!important}html.portrait-workspace .share-modal .share-info-grid{grid-template-columns:78px minmax(0,1fr);align-items:stretch;gap:8px;min-width:0;display:grid}html.portrait-workspace .share-modal .share-preview{grid-template-rows:68px auto;align-content:start;justify-items:center;min-width:0;gap:3px!important;margin:0!important;display:grid!important}html.portrait-workspace .share-modal .share-thumb{box-sizing:border-box;border-width:1.5px!important;border-radius:9px!important;width:68px!important;height:68px!important}html.portrait-workspace .share-modal .share-specs{white-space:nowrap;align-items:center;line-height:1.15;color:var(--text-light)!important;flex-direction:column!important;gap:1px!important;font-size:.56rem!important;display:flex!important}html.portrait-workspace .share-modal .share-info-form{grid-template-rows:32px 50px;min-width:0;gap:5px!important;margin:0!important;display:grid!important}html.portrait-workspace .share-modal .share-info-form .auth-input,html.portrait-workspace .share-modal .share-info-form .comment-textarea{box-sizing:border-box;min-width:0;line-height:1.25;border-width:1.5px!important;border-radius:9px!important;width:100%!important;margin:0!important;padding:5px 8px!important;font-size:.68rem!important}html.portrait-workspace .share-modal .share-info-form .auth-input{height:32px!important;min-height:32px!important}html.portrait-workspace .share-modal .share-info-form .comment-textarea{resize:none!important;height:50px!important;min-height:50px!important}html.portrait-workspace .share-modal .share-license-section{gap:6px!important;display:grid!important}html.portrait-workspace .share-modal .share-license-heading{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;display:grid}html.portrait-workspace .share-modal .share-license-help{min-width:0;color:var(--text-light)!important;margin:0!important;font-size:.56rem!important;line-height:1.25!important}html.portrait-workspace .share-modal .share-commercial-options{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;display:grid!important}html.portrait-workspace .share-modal .share-commercial-options>label{box-sizing:border-box;align-content:center;align-items:center;min-width:0;background:#fff!important;border-width:1.5px!important;border-radius:10px!important;grid-template-rows:auto auto!important;grid-template-columns:16px minmax(0,1fr)!important;gap:2px 4px!important;min-height:56px!important;margin:0!important;padding:5px!important;display:grid!important}html.portrait-workspace .share-modal .share-commercial-options>label.active{border-color:var(--pink)!important;background:var(--pink-bg)!important}html.portrait-workspace .share-modal .share-commercial-options input[type=radio]{accent-color:var(--pink);grid-area:1/1/3;width:15px!important;height:15px!important;margin:0!important}html.portrait-workspace .share-modal .share-commercial-options strong{white-space:nowrap;grid-area:1/2;min-width:0;line-height:1.08;color:var(--text)!important;font-size:.63rem!important}html.portrait-workspace .share-modal .share-commercial-options span{grid-area:2/2;min-width:0;line-height:1.15;color:var(--text-light)!important;font-size:.5rem!important}html.portrait-workspace .share-modal .share-paid-license-panel{align-items:stretch;border-radius:9px!important;grid-template-columns:minmax(108px,.75fr) minmax(0,1.25fr)!important;gap:5px!important;margin:0!important;padding:5px!important;display:grid!important}html.portrait-workspace .share-modal .share-price-field{grid-template-rows:auto 28px;min-width:0;gap:2px!important;display:grid!important}html.portrait-workspace .share-modal .share-price-field>span{line-height:1.1;font-size:.54rem!important}html.portrait-workspace .share-modal .share-price-field>div{grid-template-columns:auto minmax(0,1fr);align-items:center;border-radius:8px!important;min-height:28px!important;padding:0 6px!important;display:grid!important}html.portrait-workspace .share-modal .share-price-field input{min-width:0;height:26px!important;padding:0 4px!important;font-size:.62rem!important}html.portrait-workspace .share-modal .share-contact-status{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;border-radius:8px!important;gap:4px!important;padding:4px 5px!important;display:grid!important}html.portrait-workspace .share-modal .share-contact-status>div{gap:1px;min-width:0;display:grid}html.portrait-workspace .share-modal .share-contact-status strong{white-space:nowrap;font-size:.55rem!important}html.portrait-workspace .share-modal .share-contact-status span{text-overflow:ellipsis;white-space:nowrap;line-height:1.1;overflow:hidden;font-size:.49rem!important}html.portrait-workspace .share-modal .share-contact-status button{white-space:nowrap;border-radius:7px!important;min-height:25px!important;padding:0 6px!important;font-size:.55rem!important}html.portrait-workspace .share-modal .commercial-platform-notice{grid-column:1/-1;margin:0!important;font-size:.49rem!important;line-height:1.2!important}html.portrait-workspace .share-modal .share-modal-actions{box-sizing:border-box;align-items:center;width:100%;min-height:36px;box-shadow:none!important;background:0 0!important;border:0!important;justify-content:flex-end!important;gap:7px!important;margin:0!important;padding:3px 0 0!important;display:flex!important;position:static!important;inset:auto!important}html.portrait-workspace .share-modal .share-modal-actions .btn{border-radius:999px!important;min-width:74px!important;height:33px!important;min-height:33px!important;padding:0 13px!important;font-size:.68rem!important}@media (width<=360px),(height<=650px){html.portrait-workspace .share-modal-overlay .share-modal{gap:4px!important;padding:7px!important}html.portrait-workspace .share-modal .modal-title{min-height:21px;font-size:.82rem!important;line-height:21px!important}html.portrait-workspace .share-modal .share-original-notice{padding:3px 5px!important;font-size:.53rem!important}html.portrait-workspace .share-modal .share-section{padding:5px!important}html.portrait-workspace .share-modal .share-info-grid{grid-template-columns:66px minmax(0,1fr);gap:6px}html.portrait-workspace .share-modal .share-preview{grid-template-rows:58px auto}html.portrait-workspace .share-modal .share-thumb{width:58px!important;height:58px!important}html.portrait-workspace .share-modal .share-info-form{grid-template-rows:29px 42px;gap:4px!important}html.portrait-workspace .share-modal .share-info-form .auth-input{height:29px!important;min-height:29px!important}html.portrait-workspace .share-modal .share-info-form .comment-textarea{height:42px!important;min-height:42px!important}html.portrait-workspace .share-modal .share-commercial-options>label{min-height:49px!important;padding:4px 3px!important}html.portrait-workspace .share-modal .share-commercial-options strong{font-size:.58rem!important}html.portrait-workspace .share-modal .share-commercial-options span{font-size:.46rem!important}html.portrait-workspace .share-modal .share-modal-actions{min-height:32px}html.portrait-workspace .share-modal .share-modal-actions .btn{height:30px!important;min-height:30px!important}}html.portrait-workspace .profile-page .profile-header-card{min-height:60px;background:#ffffffed!important;border:1px solid #ffb9cd94!important;gap:7px!important;padding:8px 9px!important;box-shadow:0 2px 8px #4c2a420e!important}html.portrait-workspace .profile-page .profile-user-copy{gap:3px!important}html.portrait-workspace .profile-page .profile-user-heading-row{align-items:center;gap:6px;min-width:0;display:flex}html.portrait-workspace .profile-page .profile-user-heading-row .profile-username{flex:0 auto}html.portrait-workspace .profile-page .profile-ai-credit-inline{background:var(--pink-bg)!important;min-height:19px!important;color:var(--text-light)!important;border:0!important;padding:0 5px!important}html.portrait-workspace .profile-page .profile-ai-credit-inline>span{font-size:.56rem!important}html.portrait-workspace .profile-page .profile-ai-credit-inline>strong,html.portrait-workspace .profile-page .profile-ai-credit-inline>em{font-size:.52rem!important}html.portrait-workspace .profile-page .profile-email{width:100%;max-width:100%;font-size:.58rem!important;display:block!important}html.portrait-workspace .profile-page .profile-actions{align-self:center;gap:4px!important}html.portrait-workspace .profile-page .profile-actions .profile-header-action{background:#ffffffd6!important;border:1px solid #ff8fab5c!important;border-radius:8px!important;height:25px!important;min-height:25px!important;padding:0 7px!important;font-size:.57rem!important}html.portrait-workspace .profile-page .profile-actions .profile-edit-action{color:var(--pink)!important}html.portrait-workspace .profile-page .profile-actions .profile-exit-action{color:#8c7881!important;border-color:#97818b3d!important}html.portrait-workspace .profile-page .bp-list-item.has-profile-card-actions{border:1px solid #ffb9cd73;border-radius:14px;box-shadow:0 3px 12px #4c2a4214}html.portrait-workspace .profile-page .bp-list-item.has-profile-card-actions>.blueprint-card{border-radius:13px 13px 0 0!important}html.portrait-workspace .profile-page .profile-card-actions{background:linear-gradient(#fff3,#fff7fac7)!important;border-top:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:5px 7px 7px!important}html.portrait-workspace .profile-page .profile-card-actions>button{background:#fff!important;border:1px solid #ffb9cd9e!important;border-radius:9px!important;height:32px!important;min-height:32px!important;font-size:.62rem!important}html.portrait-workspace .profile-page .profile-card-actions>button+button{border-left:1px solid #ffb9cd9e!important}html.portrait-workspace .profile-page .profile-card-actions .bp-license-btn{color:#94631b!important;background:#fffaf0eb!important;border-color:#dab15b6b!important}html.portrait-workspace .profile-page .profile-card-actions .bp-delete-btn{color:#c95775!important;background:#fff8faf5!important}@media (width<=360px){html.portrait-workspace .profile-page .profile-header-card{gap:5px!important;padding-inline:7px!important}html.portrait-workspace .profile-page .profile-user-heading-row{gap:4px}html.portrait-workspace .profile-page .profile-ai-credit-inline>strong{display:none}html.portrait-workspace .profile-page .profile-actions .profile-header-action{padding-inline:6px!important;font-size:.54rem!important}}
