.sticka-cf{max-width:1100px;margin:32px auto;padding:24px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;color:#173f31}
.sticka-cf [hidden],.cf-ov[hidden],.cf-ov [hidden]{display:none!important}
.sticka-cf__copy{display:flex;flex-direction:column;gap:16px}
.sticka-cf h1{font-size:clamp(28px,4vw,42px);line-height:1.12;margin:0}
.sticka-cf p{margin:0;line-height:1.6}
.sticka-cf__sample{background:#d9eee1;border-radius:20px;padding:50px;display:grid;place-items:center;min-height:360px}
.sticka-cf__sample-frame{border:12px solid #173f31;padding:40px 24px;background:#f6d94f;box-shadow:0 10px 22px #173f3122;transform:rotate(-5deg);font-size:30px;font-weight:800;line-height:1.1}
.sticka-cf button,.sticka-cf__upload{padding:16px 24px;border:0;border-radius:12px;background:#f5da4b;color:#111;font:inherit;font-weight:700;cursor:pointer;text-align:center}
.sticka-cf__upload{position:relative;overflow:hidden}
.sticka-cf__upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.sticka-cf small{font-size:13px;line-height:1.6}

html.cf-open,html.cf-open body{overflow:hidden!important}
.cf-ov{position:fixed;inset:0;height:100dvh;z-index:2147483000;background:#eee;color:#111;display:flex;flex-direction:column;font-family:inherit;isolation:isolate;box-sizing:border-box}
.cf-ov *{box-sizing:border-box}
.cf-ov button,.cf-ov input,.cf-ov select{font:inherit;color:inherit}
.cf-ov button{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;padding:10px;border-radius:10px;min-height:42px}
.cf-ov button:disabled{opacity:.35;cursor:not-allowed}
.cf-ov button:focus-visible,.cf-ov input:focus-visible,.cf-ov select:focus-visible{outline:3px solid #198b65;outline-offset:2px}
.cf-ov svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cf-top{display:flex;align-items:center;gap:12px;background:#fff;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));flex:none;border-bottom:1px solid #eee}
.cf-top strong{font-size:21px;margin-right:auto}
.cf-top .cf-edit{background:#111;color:white;font-weight:700;padding:12px 18px}
.cf-top .cf-edit.is-done{background:#f5da4b;color:#111}
.cf-ov .cf-round{border-radius:50%;width:48px;height:48px;padding:0;min-height:48px;background:white;box-shadow:0 2px 5px #0002}
.cf-top .cf-round{background:#f3f3f3;box-shadow:none}
.cf-stage{position:relative;flex:1;min-height:80px;display:flex;align-items:center;justify-content:center;padding:22px 56px;overflow:hidden}
.cf-art{flex:none;box-shadow:0 6px 20px #0002;background:white;line-height:0}
.cf-art canvas{display:block;width:100%;height:100%;touch-action:none}
.cf-dims{position:absolute;left:14px;bottom:12px;padding:7px 10px;border-radius:8px;background:#fffe;font-size:12px}
.cf-zoom{position:absolute;right:12px;bottom:12px;display:grid;gap:8px}
.cf-exit{position:absolute;right:12px;top:12px}
.cf-sheet{background:#fff;border-radius:22px 22px 0 0;padding:18px 20px max(16px,env(safe-area-inset-bottom));flex:none;max-height:52dvh;overflow:auto}
.cf-sheet h2{font-size:21px;margin:0 0 14px}
.cf-choices{display:flex;gap:10px;margin-bottom:14px}
.cf-choices label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:0;flex:1}
.cf-choices label:last-child{flex:0 0 68px}
.cf-choices select,.cf-choices input{width:100%;background:#f5f5f5;border:1px solid #ddd;border-radius:10px;padding:10px 7px;min-height:44px;font-size:14px}
.cf-buy{display:flex;align-items:center;gap:20px}
.cf-buy button{background:#f5da4b;flex:1;font-weight:700;min-height:50px}
.cf-buy strong{font-size:19px;white-space:nowrap}
.cf-quality{font-size:12px;background:#fff9e8;border:1px solid #ead99e;border-radius:8px;padding:7px 9px;margin-bottom:8px;line-height:1.3}
.cf-quality p{margin:0 0 5px;font-size:12px;line-height:1.3}
.cf-quality label{display:flex;gap:7px;align-items:flex-start;font-size:12px;line-height:1.3;cursor:pointer}
.cf-quality input{flex:none;width:16px;height:16px;margin:0;accent-color:#198b65}
.cf-editbar{display:flex;align-items:center;padding:4px 12px;background:#fff;gap:5px}
.cf-editbar span{margin-right:auto;font-size:14px}
.cf-tools{display:flex;justify-content:space-around;gap:4px;background:#fff;border-radius:22px 22px 0 0;padding:12px 8px max(12px,env(safe-area-inset-bottom));flex:none}
.cf-tools button{flex-direction:column;font-size:11px;gap:5px;min-width:48px;padding:8px}
.cf-tools button[aria-pressed=true]{background:#fff4b1}
.cf-panel{position:absolute;bottom:88px;left:12px;right:12px;background:#fff;box-shadow:0 0 20px #0002;border-radius:16px;padding:14px;max-height:48dvh;overflow:auto;z-index:5}
.cf-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cf-panel input[type=text],.cf-panel select{padding:10px;width:100%;margin-bottom:10px;border:1px solid #ddd;border-radius:8px}
.cf-panel label{display:flex;align-items:center;gap:12px;margin:8px 0}
.cf-panel input[type=range]{width:100%;accent-color:#198b65}
.cf-panel input[type=color]{width:44px;height:36px}
.cf-panel .cf-row{display:flex;flex-wrap:wrap;gap:8px}
.cf-panel .cf-row button{background:#f3f3f3}
.cf-message{margin:0;background:#fff;font-size:12px;line-height:1.4;text-align:center;padding:0 14px 6px;flex:none}
.cf-message:empty{display:none}

@media(min-width:800px){.cf-sheet{width:min(680px,100%);align-self:center;border-radius:22px 22px 0 0}
.cf-tools{width:600px;align-self:center}
.cf-panel{left:50%;right:auto;width:560px;transform:translateX(-50%)}
}

@media(max-width:700px){.sticka-cf{grid-template-columns:1fr;margin:12px auto;padding:18px;gap:24px}
.sticka-cf__sample{min-height:240px;padding:28px}
.sticka-cf__sample-frame{font-size:25px;padding:28px}
.cf-sheet{padding:14px 14px max(14px,env(safe-area-inset-bottom))}
.cf-top{padding-left:12px;padding-right:12px}
.cf-top strong{font-size:19px}
.cf-top .cf-edit{padding:10px 14px}
.cf-choices{gap:7px}
.cf-stage{padding:18px 52px}
}
