/* Immersive studio: product and controls share one viewport, not a boxed preview. */
:root{--blue:#075af3;--ink:#111b31;--line:#dce6f7;background:#f6f9ff}.s-header{position:relative;z-index:25;height:68px;background:#ffffffd9;backdrop-filter:blur(18px);padding:0 24px}.s-progress{gap:12px}.s-progress span{padding:8px 12px;border-radius:30px}.s-progress .active{background:#e6f0ff;box-shadow:inset 0 0 0 1px #c4d9ff}.s-page{max-width:1600px}.primary{background:linear-gradient(125deg,#0a92ff,#0045ed);box-shadow:0 5px 15px #075af333}.s-bottom{background:#ffffffd9;backdrop-filter:blur(20px);border:1px solid #fff}.studio-intro,.arena-rings,.arena-caption{display:none}body[data-step="0"]{background:radial-gradient(ellipse at 50% 35%,#fff 0,#e4eeff 50%,#c8ddf6 100%)}body[data-step="0"] .s-page{max-width:none;padding:0;position:relative}body[data-step="0"] .s-heading{height:50px;margin:0;padding:8px 24px;align-items:center;background:#f9fbffb5;border-bottom:1px solid #ffffff80}body[data-step="0"] .s-heading>div:first-child{display:none}body[data-step="0"] .s-types{margin:auto;gap:8px}body[data-step="0"] .s-types a{border-radius:20px;background:#ffffff90;padding:8px 18px}body[data-step="0"] .s-types a.active{background:#075af3;color:white;border-color:#075af3}body[data-step="0"] #workspace{display:block;position:relative;height:calc(100dvh - 213px);min-height:540px;isolation:isolate}body[data-step="0"] .s-view{height:100%;border:0;border-radius:0;background:none;overflow:visible;position:absolute;inset:0}body[data-step="0"] .stage{position:absolute;top:14px;bottom:63px;left:18%;right:27%;height:auto;z-index:2}body[data-step="0"] .stage .shadow{bottom:8%;left:18%;width:64%;height:9%;filter:blur(18px)}body[data-step="0"] .s-view .topline{position:absolute;top:9px;left:20%;right:28%;justify-content:center;gap:12px;z-index:3;padding:6px;font-size:11px}body[data-step="0"] .s-viewbar{position:absolute;bottom:12px;left:18%;right:27%;z-index:4;background:#ffffffb8;border:1px solid #fff;border-radius:18px;padding:10px;backdrop-filter:blur(14px);box-shadow:0 12px 25px #1d488519}body[data-step="0"] .arena-rings{display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none;background:repeating-radial-gradient(ellipse at 48% 105%,transparent 0 150px,#ffffff90 151px 154px,transparent 157px 230px)}body[data-step="0"] .arena-rings:after{content:'';position:absolute;width:43%;height:13%;bottom:10%;left:23%;border-radius:50%;background:linear-gradient(#f7fbff,#c7d9f4);box-shadow:inset 0 -5px 0 #79c9ff,0 12px 45px #77bfff66;border:2px solid #fff}body[data-step="0"] .studio-intro{display:block;position:absolute;top:55px;left:2%;width:16%;z-index:5;padding:20px;background:#ffffff87;border:1px solid #fff;border-radius:20px;backdrop-filter:blur(20px);box-shadow:0 10px 30px #20417c12} .studio-intro h2{font-size:clamp(22px,2.25vw,38px);line-height:1.03;letter-spacing:-1.5px;margin:13px 0}.studio-intro p{font-size:13px;line-height:1.55;color:#60738c}.gesture-badge{display:inline-block;margin-top:18px;border-radius:20px;background:#fff;color:#075af3;padding:8px 10px;font-weight:700;font-size:11px}body[data-step="0"] #designPanel{position:absolute;right:2%;width:25%;top:18px;bottom:14px;overflow-y:auto;overscroll-behavior:contain;z-index:6;background:#ffffffc2;border:1px solid #fff;padding:18px;border-radius:22px;box-shadow:0 12px 45px #20417c22;backdrop-filter:blur(24px)}body[data-step="0"] .s-section{padding:12px 0}body[data-step="0"] .s-section:first-child{padding-top:0}.placement-grid{gap:6px}.placement{padding:9px;min-height:42px}.upload{min-height:58px;background:#eaf2ff;border:1px dashed #7fafff}.swatch{width:29px;height:29px}.hotspot{width:35px;height:35px}.hotspot.active{box-shadow:0 0 0 5px #007bff30,0 3px 12px #084e9950}.arena-caption{font-size:9px;letter-spacing:1.7px;color:#6983a5;font-weight:700}body[data-step="0"] .arena-caption{display:block;position:absolute;left:2%;bottom:17px}body[data-step="0"] #message:not(:empty){position:fixed;bottom:103px;left:20%;right:28%;padding:12px;background:white;border-radius:10px;box-shadow:0 4px 20px #19395525;z-index:24}body[data-step="0"] .s-bottom{padding:12px 3vw max(12px,env(safe-area-inset-bottom));min-height:88px}body[data-step="0"] .s-bottom .price{color:#075af3}.s-section h3{font-size:14px}.file-row .smallbtn{padding:6px}.s-viewbar button{border:0;background:#fff9}.s-viewbar .chip.active{background:#075af3;color:white}.s-grid[hidden]{display:none!important}
@media(max-width:1050px) and (min-width:761px){body[data-step="0"] .studio-intro{display:none}body[data-step="0"] .stage{left:0;right:38%}body[data-step="0"] .s-viewbar,body[data-step="0"] .s-view .topline{left:2%;right:38%}body[data-step="0"] #designPanel{width:35%}}
@media(max-width:760px){.s-header{height:55px;padding:0 12px;gap:8px}.s-header .brand{font-size:18px}.s-header .brand img{width:55px}.s-header .s-progress-mobile{font-size:11px}.s-header a:last-child{font-size:11px}.s-page{padding:16px 13px 105px}.s-bottom{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.s-bottom .primary{max-width:none}.s-bottom .muted{font-size:10px}body[data-step="0"] .s-page{padding-bottom:108px}body[data-step="0"] .s-heading{height:45px;padding:3px 8px}body[data-step="0"] .s-types{width:100%;justify-content:flex-start;overflow:auto;padding:4px;gap:5px}body[data-step="0"] .s-types a{font-size:10px;padding:7px 11px}body[data-step="0"] #workspace{height:auto;min-height:0;display:flex;flex-direction:column;gap:0}body[data-step="0"] .s-view{position:relative;height:clamp(365px,55dvh,560px);inset:auto;overflow:hidden}body[data-step="0"] .stage{inset:30px 0 51px;height:auto}body[data-step="0"] .s-view .topline{left:0;right:0;top:4px;font-size:10px;gap:8px}body[data-step="0"] .s-viewbar{left:9px;right:9px;bottom:6px;gap:4px;padding:7px;justify-content:center;flex-wrap:nowrap;border-radius:14px}body[data-step="0"] .s-viewbar .chip,body[data-step="0"] .s-viewbar .smallbtn{font-size:10px;padding:8px 9px}body[data-step="0"] .arena-rings:after{width:75%;left:12%;bottom:15%;height:13%}body[data-step="0"] .studio-intro,body[data-step="0"] .arena-caption{display:none}body[data-step="0"] #designPanel{position:relative;top:auto;right:auto;bottom:auto;width:auto;overflow:visible;margin:0 10px;padding:15px;border-radius:20px;background:#ffffffdd;box-shadow:0 10px 25px #1a448a12}body[data-step="0"] .s-bottom{min-height:82px;padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:8px}body[data-step="0"] #message:not(:empty){left:12px;right:12px;bottom:96px}.placement{min-height:46px}.swatch{width:32px;height:32px}.s-bottom .primary{font-size:12px;padding:12px}.s-bottom .price{font-size:23px}.s-bottom .muted{max-width:155px}.s-viewbar button{min-height:35px}}
.mobile-tools{display:none}@media(max-width:760px){body[data-step="0"] #workspace{height:calc(100dvh - 186px);min-height:320px;position:relative;display:block}body[data-step="0"] .s-view{height:100%;position:absolute;inset:0}body[data-step="0"] .stage{top:24px;bottom:95px}body[data-step="0"] .s-viewbar{bottom:50px}body[data-step="0"] .mobile-tools{display:block;position:absolute;z-index:8;bottom:6px;left:12px;right:12px;width:calc(100% - 24px);padding:12px;color:#075af3;font-weight:800;font-size:13px;border:1px solid #fff;background:#ffffffdc;border-radius:15px;box-shadow:0 5px 16px #1939551c;backdrop-filter:blur(16px)}body[data-step="0"] #designPanel{display:none;position:absolute;left:10px;right:10px;bottom:49px;top:auto;margin:0;max-height:65%;overflow-y:auto;overscroll-behavior:contain;z-index:7;background:#f8fbfff5}body[data-step="0"].tools-open #designPanel{display:block}body[data-step="0"] .s-page{padding-bottom:0}body[data-step="0"] .arena-rings:after{bottom:20%}}
