*{box-sizing:border-box} :root{font-family:"Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;color-scheme:dark;--bg:#0a101c;--panel:#111a29;--ink:#f1f5ff;--muted:#a7b4c9;--line:#28354b;--accent:#1d4ed8;--stage:#101b2d}body{margin:0;background:var(--bg);color:var(--ink)}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:9px;min-height:44px;transition:background .2s,border-color .2s}button:hover{border-color:#799beb;background:#4277ff12}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #749cff;outline-offset:3px}button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}header{min-height:92px;display:flex;align-items:center;justify-content:space-between;padding:18px 3vw;border-bottom:1px solid var(--line);gap:16px}.brand{font-size:38px;font-weight:800;letter-spacing:-2px;line-height:1}.brand span{font-size:12px;letter-spacing:2.5px;display:block;margin-top:10px;font-weight:500}.header-tools{display:flex;gap:30px;align-items:center}.theme-label{font-size:12px;color:var(--muted)}select{display:block;margin-top:5px;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:5px 8px;border-radius:6px;font-size:14px}.brand-links{text-align:right;font-size:12px;line-height:1.9}.brand-links>a{font-size:14px;font-weight:700}.brand-links div{display:flex;gap:16px;color:var(--muted)}main{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:calc(100svh - 145px)}.studio{position:relative;display:flex;flex-direction:column;min-width:0;background:radial-gradient(ellipse at 47% 40%,var(--stage),var(--bg) 75%);overflow:hidden}.product-title{position:absolute;left:4vw;top:30px;z-index:2;pointer-events:none}.product-title p{color:var(--muted);letter-spacing:2.4px;font-size:12px}.product-title h1{font-size:clamp(27px,3.3vw,48px);font-weight:500;letter-spacing:-1.7px;margin:12px 0}.product-title h1 span{display:block;font-size:16px;letter-spacing:0;margin-top:13px;color:var(--muted);font-weight:400}#viewport{position:relative;flex:1;min-height:540px}canvas{display:block;width:100%;height:100%;position:absolute;touch-action:none}#loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--bg);z-index:5;padding:30px;text-align:center}#loading[hidden]{display:none}.skip{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);padding:10px 18px;background:var(--panel);font-size:14px}.view-caption{display:flex;align-items:center;gap:20px;padding:22px 4vw;border-top:1px solid var(--line);z-index:2;background:var(--bg)}#view-number{font-size:13px;color:var(--muted);white-space:nowrap}.view-caption h2{font-size:18px;margin:0 0 6px;font-weight:500}.view-caption p{font-size:13px;color:var(--muted);margin:0}.zoom{display:flex;gap:5px;margin-left:auto}.zoom button{width:44px;font-size:22px}#progress{height:2px;background:var(--line);position:absolute;bottom:0;width:100%}#progress i{display:block;height:100%;width:0;background:#5688ff}aside{padding:30px 24px 20px;background:var(--panel);border-left:1px solid var(--line)}.panel-heading>span,.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}.panel-heading h2{font-size:22px;font-weight:500;margin:12px 0}.panel-heading p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 24px}nav{display:grid;gap:8px}nav button{text-align:left;display:flex;align-items:center;gap:12px;padding:13px;font-size:14px}nav button>span{font-size:12px;opacity:.65}nav small{margin-left:auto;font-size:9px;letter-spacing:.7px;opacity:.65}nav .detail{border-color:#47648a}.detail-info{border-bottom:1px solid var(--line);padding:20px 0 14px;min-height:139px}.detail-info h3{font-size:17px;font-weight:500;margin:9px 0}.detail-info p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.8;margin:0}.options,.exports{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.options button,.exports button{font-size:13px}.exports span{font-size:11px;color:var(--muted)}#status{font-size:12px;color:var(--muted);min-height:16px;line-height:1.5}#reference{border:0;min-height:32px;padding:0;font-size:13px;text-decoration:underline;text-underline-offset:4px}.disclaimer{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:0}footer{display:flex;justify-content:space-between;padding:18px 3vw;border-top:1px solid var(--line);font-size:11px;letter-spacing:.7px;color:var(--muted);gap:12px}.mobile-help{display:none}.focus-marker{position:absolute;pointer-events:none;display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;color:white;filter:drop-shadow(0 2px 8px #000)}.focus-marker[hidden]{display:none}.focus-marker span{width:13px;height:13px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 5px #397bff66}.focus-marker b{font-weight:500;background:#12213bdd;padding:7px 10px;border-radius:5px}dialog{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:24px;max-width:1000px;width:92vw;max-height:90svh}dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{font-size:20px}.dialog-head button{width:44px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}figure{margin:0}figure img{width:100%;border-radius:10px;background:white}figcaption{font-size:14px;padding:10px 0;color:var(--muted)}[data-theme=office]{color-scheme:light;--bg:#e8ebef;--panel:#f7f8fa;--ink:#232c3c;--muted:#59667a;--line:#cdd3dd;--stage:#fafcff}[data-theme=clean]{color-scheme:light;--bg:#fff;--panel:#f8faff;--ink:#232c3c;--muted:#5d697c;--line:#dce2ed;--stage:#edf3fb}[data-theme=basic]{color-scheme:light;--bg:#f4f1e8;--panel:#fffcf4;--ink:#303030;--muted:#696457;--line:#ddd7c9;--stage:#fffdf7}[data-theme=cute]{color-scheme:light;--bg:#fff0f6;--panel:#fff8fc;--ink:#4d2946;--muted:#805c75;--line:#ebcede;--stage:#fff;--accent:#a82874}[data-theme=black]{color-scheme:light;--bg:#f0f1f3;--panel:#fff;--ink:#232c3c;--muted:#57657a;--line:#cfd4de;--stage:#fff;--accent:#2463eb}[data-theme=black] header{background:#121214;color:white}
@media(min-width:1500px){main{grid-template-columns:minmax(0,1fr) 370px}aside{padding:40px 32px}#viewport{min-height:650px}}
@media(max-width:850px){header{padding:14px 20px;min-height:84px}.header-tools{gap:16px}.brand{font-size:31px}.brand span{font-size:9px}.brand-links div{gap:9px;font-size:10px}.brand-links>a{font-size:12px}main{display:flex;flex-direction:column}.product-title{top:16px;left:22px}.product-title p{font-size:10px}.product-title h1{font-size:30px;margin:8px 0}.product-title h1 span{font-size:13px;margin-top:7px}#viewport{height:57svh;min-height:380px;max-height:650px;flex:none}.view-caption{padding:15px 20px;gap:13px}.view-caption h2{font-size:16px}.view-caption p{font-size:11px}.zoom button{width:40px;min-height:40px}aside{border-left:0;border-top:1px solid var(--line);padding:22px 20px}.panel-heading>span{font-size:10px}.panel-heading h2{font-size:18px;margin:8px 0}.panel-heading p{margin-bottom:15px}nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}nav button{display:block;text-align:left;position:relative;padding:12px 8px;font-size:12px;min-height:66px}nav button>span{margin-right:6px;font-size:10px}nav small{display:block;margin:7px 0 0 18px;font-size:8px}.detail-info{min-height:0;padding:15px 0}.options{grid-template-columns:repeat(4,1fr);gap:6px}.options button{font-size:12px}.exports{margin-top:8px}.disclaimer{font-size:11px}footer{font-size:9px;flex-wrap:wrap;padding:15px 20px}.desktop-help{display:none}.mobile-help{display:inline}.photo-grid{gap:12px}}
@media(max-width:420px){.brand-links div{display:block}.brand-links div a{display:block;line-height:1.6}.header-tools{gap:12px}header{padding:12px 16px}.theme-label{font-size:10px}select{font-size:12px;max-width:74px}.brand-links>a{font-size:11px}.view-caption{gap:8px;padding:14px 15px}#view-number{font-size:10px}.zoom{gap:3px}.zoom button{width:34px}.options{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.focus-marker{transform:translateY(-38px)}

/* Keep the product title outside the camera canvas at every zoom level. */
.product-title{position:relative;left:auto;top:auto;padding:20px 4vw 8px;flex:none}.product-title p{margin:0 0 6px}.product-title h1{font-size:28px;margin:0}.product-title h1 span{display:none}.product-title[hidden]{display:none}@media(max-width:850px){.product-title{padding:14px 22px 6px}.product-title h1{font-size:23px}}

.input-help{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;padding:14px;font-size:12px;color:var(--muted);line-height:1.7}.input-help b{color:var(--ink);margin-right:7px}
.embedded header,.embedded footer,.embedded .product-title,.embedded .panel-heading,.embedded .view-caption{display:none!important}
.embedded main{display:block;min-height:0;max-width:960px;margin:auto}.embedded #viewport{width:100%;height:auto;aspect-ratio:1;min-height:0;max-height:none;flex:none}.embedded aside{padding:18px;border:0}.embedded nav{grid-template-columns:repeat(3,minmax(0,1fr))}.embedded nav button{display:block;min-height:70px;padding:10px;font-size:12px}.embedded nav small{display:block;margin:7px 0 0 20px}.embedded .options{grid-template-columns:repeat(4,minmax(0,1fr))}.embedded .options button{font-size:12px}.embedded .detail-info{min-height:0}.embedded .studio{border:1px solid var(--line)}@media(max-width:420px){.embedded .options{grid-template-columns:1fr 1fr}.input-help{font-size:11px;gap:4px 12px}}

/* Compact product-page controls: retain generous touch targets without cards. */
.embedded aside{display:grid;grid-template-columns:2fr 1fr;gap:8px;padding:10px 8px 12px;background:linear-gradient(180deg,var(--panel),var(--bg))}
.embedded nav{grid-column:1/-1;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.embedded nav button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 5px;font-size:12px;font-weight:600;white-space:nowrap;border-radius:8px;background:linear-gradient(180deg,#ffffff08,#ffffff02);box-shadow:inset 0 1px 0 #ffffff05}
.embedded nav button>span{font-size:10px;margin:0;opacity:.45;font-weight:400}
.embedded nav small,.embedded .detail-info{display:none}
.embedded nav button[aria-pressed=true]{background:var(--accent);border-color:#4675ee;box-shadow:0 3px 12px #1d4ed829,inset 0 1px 0 #ffffff20;color:white}
.embedded .options,.embedded .exports{margin:0;gap:6px;align-self:start}
.embedded .options{grid-template-columns:repeat(4,minmax(0,1fr))}
.embedded .options button,.embedded .exports button{min-height:44px;padding:6px 4px;font-size:12px;border-radius:8px}
.embedded .exports{grid-template-columns:1fr 1fr}
.embedded #status{grid-column:1/-1;margin:0;min-height:0;font-size:11px}
.embedded #status:empty{display:none}
.embedded #reference{grid-column:1/-1;justify-self:center;padding:4px 12px;font-size:11px;min-height:32px;text-decoration:none;color:var(--muted);border:1px solid var(--line);border-radius:20px}
.embedded .disclaimer{grid-column:1/-1;text-align:center;margin:0;font-size:10px;line-height:1.5;color:var(--muted)}
.embedded .input-help{padding:8px 6px;gap:3px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid var(--line)}
.embedded .studio{border:0}.embedded #progress{height:1px}
@media(max-width:600px){
 .embedded aside{grid-template-columns:1fr;padding:8px 6px 10px;gap:7px}
 .embedded nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-bottom:7px}
 .embedded nav button{font-size:11px;gap:4px}
 .embedded .options{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .embedded .options button{font-size:10px;letter-spacing:-.3px}
 .embedded .exports button{font-size:11px}
 .embedded .input-help{font-size:10px;gap:2px 10px}.embedded .input-help b{margin-right:4px}
 .embedded .disclaimer{font-size:9px}
}
