
.mobile-preview-bar,.mobile-preview-close{display:none}
.angle-controls.angle-slider{display:flex;flex-direction:column;align-items:center;gap:0;margin:0 auto;width:min(290px,90%)}
.angle-slider label{font-size:10px;color:#6d665c;line-height:1.5}
.angle-slider input{width:100%;height:34px;margin:0;accent-color:#34463b;cursor:ew-resize;touch-action:pan-y}
.angle-slider input:focus-visible{outline:2px solid #b77845;outline-offset:2px}
@media(max-width:700px){
#customize{padding:40px 12px 28px;scroll-margin-top:var(--mobile-header,90px)}
/* Let the document scroll: options must never be clipped inside a viewport-sized box. */
#customize .custom-grid{display:block;height:auto;max-height:none;min-height:0;max-width:600px;margin:auto;background:#fffdf9;border:1px solid #ded8ce;border-radius:4px;overflow:visible}
#customize .preview-panel{position:relative!important;top:auto!important;padding:8px 12px;margin:0;background:#f0ece4;border:0;border-radius:4px 4px 0 0;box-shadow:none;scroll-margin-top:calc(var(--mobile-header,90px) + 12px)}
#customize .mobile-preview-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#6d665c;min-height:44px}
.mobile-preview-bar button,.mobile-preview-close{border:1px solid #c8c1b5;color:#34463b;background:#fffdf9;border-radius:4px;min-height:44px;padding:8px 12px;font-size:13px}
#customize #real-preview{height:clamp(180px,28svh,240px);width:100%}
#customize #bowl-preview:not(.flat-backup){height:200px;margin:0;width:100%}
#customize .preview-tag,#customize .preview-note,#customize #view-status{display:none}
#customize .angle-controls.angle-slider{margin:0 auto}
#customize .wizard-ready{display:block;height:auto;max-height:none;min-height:0;overflow:visible;padding:18px 14px 0;margin:0;border:0;border-radius:0;background:#fffdf9;scroll-margin-top:calc(var(--mobile-header,90px) + 12px)}
#customize .wizard-progress{margin:0 0 8px;font-size:13px}
#customize .wizard-ready>progress{display:block;width:100%;margin:0 0 18px;height:4px}
#customize .wizard-panel{height:auto;max-height:none;min-height:0;min-width:0;overflow:visible;padding:0 0 20px;box-sizing:border-box}
#customize .wizard-panel h3{font-size:21px;line-height:1.5;margin:0 0 10px}
#customize .wizard-panel>p.fine{margin:5px 0 16px}
#customize .wizard-panel input:not([type=checkbox]):not([type=range]),#customize .wizard-panel select{font-size:16px}
#customize #motif-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#customize #motif-categories button{min-height:72px;padding:18px 8px}
#customize .breed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#customize .breed-card{padding:12px 8px}
#customize .breed-card[aria-pressed=true]{padding:11px 7px}
#customize .breed-card span{font-size:14px}
#customize .wizard-nav{position:static;margin:0 -14px;padding:14px;background:#fffdf9;border-top:1px solid #ded8ce;gap:12px}
#customize .wizard-nav button{min-height:48px;flex:1;font-size:14px}
#customize .wizard-nav button:disabled{opacity:.35}
#customize .preview-expanded #real-preview,#customize .preview-expanded #bowl-preview:not(.flat-backup){height:60svh;min-height:280px}
#customize .preview-expanded .mobile-preview-close{display:block;margin:12px auto}
#customize .preview-panel:has(#real-preview[hidden]) .preview-stage,#customize .preview-panel:has(#real-preview[hidden]) .angle-controls{display:none}
#customize .preview-loading{padding:8px}
#customize .preview-loading .paw-parade{margin:0}
#customize .preview-loading strong{font-size:12px}
#customize .preview-loading p{font-size:10px;margin:3px}
#customize .preview-loading-track,#customize .preview-loading small{display:none}
}
