/* Large touch targets; short tool trays preserve the phone canvas. */
.effect-tabs,.background-tabs{display:flex;gap:6px;margin:0 0 10px}
.effect-tabs button,.background-tabs button{flex:1;min-height:44px;border:1px solid #dce7ef;border-radius:10px;padding:7px;color:#446b85;font-size:12px;background:#f7fafc}
.effect-tabs button.selected,.background-tabs button.selected{background:#e4f6ff;border-color:#56b5d9;color:#087caa}
.quick-effects .action-heading{margin-bottom:8px}
.thickness-presets,.background-choices,.cutout-presets{display:flex;gap:6px}
.thickness-presets button,.background-choices button,.cutout-presets button{flex:1;min-height:44px;padding:6px 4px;border:1px solid #dce7ef;border-radius:9px;font-size:11px;color:#46667d;background:#f7fafc}
.thickness-presets button.selected,.background-choices button.selected{background:#e5f7ff;border-color:#2aa3ce;color:#087caa}
.background-controls{background:#fff;border:1px solid #e2eaf0;border-radius:16px;padding:20px;margin:15px 0}
.background-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.background-choices [data-background=black]{background:#12161c;color:#fff}
.background-choices [data-background=white]{background:#fff}
.background-choices [data-background=cream]{background:#f2dec0}
.background-choices [data-background=transparent]{background:repeating-conic-gradient(#e4eaf0 0% 25%,#fff 0% 50%) 0 0/12px 12px}
.custom-backdrop,.cutout-custom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;font-size:12px;color:#4b687b}
.custom-backdrop input,.cutout-custom input,.quick-effects input[type=color]{width:44px;height:44px;padding:4px;border-radius:8px;border:1px solid #dce7ef;flex-shrink:0}
.cutout-custom label{display:flex;align-items:center;gap:8px}.cutout-custom button{min-height:44px;white-space:nowrap;padding:9px 12px;font-size:12px}
.cutout-range{margin:12px 0}.cutout-range label{display:flex;justify-content:space-between;color:#486b82;font-size:12px}.cutout-range output{font-variant-numeric:tabular-nums;font-weight:600}.cutout-range input{width:100%;height:40px;accent-color:#239fc9}
.effect-extra{margin:12px 0}.effect-extra summary{min-height:44px;display:flex;align-items:center;font-size:12px;cursor:pointer}
.effect-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.effect-gallery button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:74px;border:1px solid #dce7ef;border-radius:12px;background:#f8fafc;padding:9px 3px;color:#49667a;font-size:11px}
.effect-gallery button.selected{border:2px solid #239fc9;background:#eaf8ff;padding:8px 2px}
.effect-gallery .look-sample{font-size:26px;font-family:Georgia,serif;font-weight:900;line-height:30px}
.quick-effects [hidden],.background-controls [hidden]{display:none!important}
#cutoutStatus{font-size:12px;color:#1684ac;margin-top:8px}button:disabled{opacity:.45}
@media(max-width:960px){.mobile-editor #effectsControls .action-heading{display:none}.mobile-editor #mobileContent #effectsControls .range-control{margin:8px 0}.mobile-editor .effect-tabs,.mobile-editor .background-tabs{position:sticky;top:-12px;background:#fff;z-index:1;padding:4px 0;margin-bottom:6px}.mobile-editor #mobileContent #backgroundControls{padding-top:8px}.mobile-editor .background-tabs button{font-size:11px}.mobile-editor .tool-strip button{min-width:40px}.mobile-editor #effectsControls .range-control input[type=range]{height:40px}}

.pick-image-color{min-height:48px;margin-top:10px;font-size:13px}.cutout-scope{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:12px;color:#4b687b}.cutout-scope select{min-height:44px;max-width:65%;border:1px solid #dce7ef;border-radius:9px;padding:7px;background:#f8fcff;font-size:11px;color:#36586f}.eyedropper-toolbar{position:absolute;top:8px;left:8px;right:8px;z-index:8;display:flex;align-items:center;gap:6px;background:#fffef9f5;border:1px solid #61b3ce;border-radius:12px;padding:8px;box-shadow:0 4px 18px #1e3b4c22}.eyedropper-toolbar[hidden],.eyedropper-loupe[hidden]{display:none!important}.eyedropper-caption{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;color:#274d65;font-size:11px}.eyedropper-caption b{font-size:11px}.eyedropper-caption span{display:flex;align-items:center;gap:6px}.eyedropper-caption i{width:16px;height:16px;border:1px solid #a3b9c5;border-radius:4px;flex-shrink:0}.eyedropper-toolbar button{min-height:44px;padding:8px 12px;border:1px solid #dce7ef;border-radius:8px;font-size:12px}.eyedropper-loupe{position:fixed;z-index:30;width:104px;height:126px;pointer-events:none;filter:drop-shadow(0 5px 7px #0005)}.eyedropper-loupe canvas{display:block;width:104px;height:104px;border:3px solid #fff;border-radius:12px;image-rendering:pixelated;background:repeating-conic-gradient(#dae2ea 0% 25%,#fff 0% 50%) 0 0/12px 12px}.eyedropper-loupe small{display:block;text-align:center;font:bold 11px monospace;background:#1f4159;color:white;padding:4px;border-radius:0 0 6px 6px}.eyedropper-crosshair{position:absolute;width:12px;height:12px;left:46px;top:46px;border:1px solid #fff;box-shadow:0 0 0 1px #000}.picking-photo-color #artboard{cursor:crosshair}.picking-photo-color #selectionUI{visibility:hidden}.picking-photo-color .stage-corner{visibility:hidden}

.texture-target{margin:0 0 10px;font-size:13px;color:#48677a;overflow-wrap:anywhere;font-weight:700}.texture-toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.texture-toggle-row button{min-height:46px;border:1px solid #b9c9d5;border-radius:10px;background:#fff;font-weight:800}.texture-toggle-row button.selected{background:#d9f3ff;border-color:#119ed4;color:#075c85}.texture-slider{margin:12px 0}.texture-slider label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}.texture-slider output{color:#08648d;font-variant-numeric:tabular-nums}.texture-slider input[type=range]{width:100%;min-height:40px;accent-color:#0c94c9;touch-action:pan-y}.texture-slider input:disabled{opacity:.4}.quick-effects .effect-tabs{flex-wrap:wrap}.quick-effects .effect-tabs button{min-height:42px}.quick-effects [hidden]{display:none!important}.quick-effects.texture-photo #resetFinish{display:none}.photo-controls #photoTexture{margin-bottom:8px}
