@font-face{font-family:Lobster;src:url("./assets/fonts/Lobster-Regular.ttf") format("truetype");font-style:normal;font-weight:900;font-display:swap}
@font-face{font-family:"Studio Athletic";src:url("./assets/fonts/studio-athletic-heavy.ttf") format("truetype");font-style:normal;font-weight:900;font-display:swap}
@font-face{font-family:"Studio Signature";src:url("./assets/fonts/studio-signature.ttf") format("truetype");font-style:normal;font-weight:900;font-display:swap}
.theme-studio3d{background:#071b2b}.s3-main{width:min(100% - 3rem,1500px);margin:auto;padding:1.6rem 0 2rem}.s3-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.3rem}.s3-eyebrow{font-size:.75rem;letter-spacing:.15em;color:var(--gold);margin:0 0 .25rem;font-weight:750}.s3-heading h1{font-size:2.6rem;line-height:1.1;margin:0;letter-spacing:-.045em}.s3-heading h1 em{color:var(--gold)}.s3-history{display:flex;gap:.55rem;align-items:center}.s3-primary,.s3-secondary,.s3-quiet{font:650 .95rem/1.4 var(--sans);min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem .9rem;cursor:pointer;border:1px solid #4d6679;color:#dce9ee;background:transparent;transition:background .15s}.s3-primary{background:var(--gold);color:#092332;border-color:var(--gold);font-weight:750}.s3-primary:hover{background:#ffddb0}.s3-secondary:hover,.s3-quiet:hover{background:#254457}.s3-quiet{border:0;color:#bcced7;padding:.65rem .6rem}.s3-primary:disabled,.s3-secondary:disabled,.s3-quiet:disabled{opacity:.45;cursor:default}.s3-workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:1rem;align-items:start}.s3-config{border:1px solid #355264;background:#102d40;min-width:0}.s3-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #456074;scrollbar-width:thin}.s3-tabs button{flex:1 0 auto;min-height:52px;border:0;border-bottom:3px solid transparent;background:transparent;color:#bcced8;padding:.65rem .55rem;font-size:.875rem;font-weight:650;cursor:pointer}.s3-tabs button[aria-selected=true]{color:#ffe2b3;border-bottom-color:var(--gold);background:#1c394d}.s3-panel{padding:1.25rem;max-height:calc(100svh - 15.5rem);min-height:530px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#668291 #153346}.s3-panel h2{font-size:1.25rem;line-height:1.3;margin:.6rem 0 1rem;letter-spacing:-.02em}.s3-panel h3{font-size:1rem;line-height:1.3;letter-spacing:0;margin:1.5rem 0 .6rem}.s3-field{display:flex;flex-direction:column;gap:.4rem;margin:.9rem 0;font-size:.95rem;color:#e0edf2;line-height:1.5;position:relative}.s3-field input:not([type=range]):not([type=color]),.s3-field select,.s3-field textarea{width:100%;min-width:0;min-height:43px;background:#0b2335;color:#edf5f9;border:1px solid #496b81;border-radius:0;padding:.6rem .65rem;font-size:1rem}.s3-field textarea{resize:vertical}.s3-field input[type=range]{width:100%;min-height:25px;accent-color:var(--gold)}.s3-field input[type=color]{width:100%;height:38px;min-height:38px;background:#0b2436;border:1px solid #58758b;padding:3px;cursor:pointer}.s3-field output{position:absolute;right:0;top:0;font-size:.875rem;color:var(--gold)}.s3-two{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.s3-models{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.s3-models button{cursor:pointer;padding:0;background:#0c2436;border:1px solid #456477;color:#dcebf2;text-align:left;min-width:0}.s3-models img{width:100%;height:120px;object-fit:cover;object-position:center 35%;background:#0b2134}.s3-models span{display:block;padding:.55rem .65rem;font-size:.875rem;font-weight:750}.s3-models button[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 -3px var(--gold)}.s3-note{font-size:.875rem;line-height:1.6;color:#b6ccd8;margin:.9rem 0}.s3-colors{display:grid;grid-template-columns:1fr 1fr;gap:.75rem .8rem}.s3-zone{display:flex;gap:.6rem;align-items:center;font-size:.875rem;color:#d6e6ee;min-width:0}.s3-zone input{width:35px;height:39px;padding:2px;background:#122f43;border:1px solid #638094;flex:none}.s3-zone code{font-size:.75rem;color:#a8c0ce;display:block}.s3-palettes{display:flex;gap:.5rem;flex-wrap:wrap}.s3-palettes button{display:flex;padding:5px;border:1px solid #567386;background:#122f43;cursor:pointer}.s3-palettes span{height:20px;width:17px}.s3-patterns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.s3-patterns button{padding:0;cursor:pointer;color:#dfedf2;border:1px solid #526d80;background:#0b2235;min-width:0}.s3-patterns canvas{width:100%;height:50px;object-fit:cover}.s3-patterns span{display:block;font-size:.75rem;font-weight:650;padding:.4rem .15rem;line-height:1.3;min-height:2.6rem}.s3-patterns button[aria-pressed=true]{border-color:var(--gold);color:#ffe2b8}.s3-add-tools{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.s3-add-tools button{font-size:.875rem;padding:.6rem}.s3-flat-editor{background:#092338;padding:.8rem;border:1px solid #456374}.s3-flat-editor canvas{width:min(100%,210px);height:auto;max-height:265px;margin:auto;border:1px solid #6d7e85;touch-action:none;cursor:crosshair}.s3-flat-editor p{font-size:.8rem;color:#b6cfdf;line-height:1.45;margin:.7rem 0 0}.s3-layer-list{display:flex;flex-direction:column;gap:.4rem;margin:1rem 0}.s3-layer-list button{display:flex;align-items:center;gap:.65rem;text-align:left;min-width:0;color:#dcecf4;background:#18384c;border:1px solid #4e6b80;cursor:pointer;padding:.55rem .65rem;font-size:.875rem;min-height:43px}.s3-layer-list button[aria-pressed=true]{border-color:var(--gold);background:#29475b}.s3-layer-list .s3-layer-icon{font-size:.8rem;width:23px;flex:none;color:var(--gold);font-weight:850}.s3-layer-list small{font-size:.75rem;color:#aac2d2;display:block}.s3-layer-list .s3-layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s3-layer-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1rem 0}.s3-layer-actions button{font-size:.875rem;padding:.55rem}.s3-delete{color:#ffb5a6}.s3-check{display:flex;align-items:flex-start;gap:.65rem;color:#c2d7e2;font-size:.875rem;line-height:1.6;margin:1rem 0}.s3-check input{width:19px;height:19px;margin-top:.2rem;accent-color:var(--gold);flex:none}.s3-check a{color:#fddfb2;text-decoration:underline}.s3-wide{width:100%;margin-top:1rem}.s3-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.s3-saved{background:#203f50;border-left:2px solid var(--gold);padding:1rem;margin:1rem 0;font-size:.95rem;overflow-wrap:anywhere}.s3-saved p{color:#c4d8e2;margin:.5rem 0}.s3-saved input{font-size:.875rem!important}.s3-owner-link{display:inline-block;color:#bdd4df;text-decoration:underline;font-size:.875rem;margin-top:1rem}.s3-stage-panel{background:#0c2133;border:1px solid #365669;min-width:0}.s3-stage-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.5rem;border-bottom:1px solid #244454}.s3-stage-heading span:first-child{font-size:.8rem;letter-spacing:.12em;font-weight:700;color:#a4c4d6}.s3-stage-heading h2{font-size:1.4rem;line-height:1.3;margin:.25rem 0 0;letter-spacing:-.025em}.s3-original{font-size:.8rem;color:#a2bdce;letter-spacing:0!important;font-weight:400!important}.s3-stage{height:clamp(385px,55svh,610px);position:relative;min-width:0;overflow:hidden}.s3-stage>canvas{width:100%;height:100%;max-width:100%;display:block;touch-action:none;cursor:grab}.s3-stage>canvas:active{cursor:grabbing}.s3-loading{position:absolute;inset:0;display:grid;place-items:center;color:#c8dce8;font-size:1rem;padding:2rem;text-align:center}.s3-loading[hidden]{display:none}.s3-render-error{position:absolute;inset:0;padding:2rem;display:flex;flex-direction:column;justify-content:center;background:#102a3f;gap:1rem;color:#e4eef5}.s3-view-toolbar{display:flex;align-items:center;justify-content:center;gap:.4rem;flex-wrap:wrap;padding:.8rem 1rem;border-top:1px solid #244454}.s3-view-toolbar button{min-height:40px;border:1px solid #3d6279;background:#153447;color:#c6dbe7;padding:.4rem .7rem;cursor:pointer;font-size:.875rem}.s3-view-toolbar button[aria-pressed=true]{background:#eac589;color:#092634;border-color:#edc98f;font-weight:750}.s3-stage-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.4rem 1.4rem .9rem}.s3-stage-footer p{font-size:.8rem;line-height:1.5;color:#aac5d8;margin:0}.s3-stage-footer button{font-size:.875rem}.s3-status{min-height:1.3rem;font-size:.95rem;padding:0 1.4rem;color:#ffe1af;overflow-wrap:anywhere}.s3-status.is-error{color:#ffb8a8}.s3-stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#132f43;padding:1rem 1.4rem;margin-top:.9rem}.s3-stage-bottom span{font-size:.875rem;color:#b9d0dc}.s3-closing-note{font-size:.875rem;line-height:1.65;color:#a9c3d3;text-align:center;margin:1.3rem auto 0;max-width:65rem}.s3-teaser{background:#102c40;padding:3rem 0}.s3-teaser .wrap{display:flex;align-items:center;justify-content:space-between;gap:2rem}.s3-teaser h2{font-size:clamp(2.1rem,4vw,3.4rem);margin:0 0 .7rem}.s3-teaser p{margin:0;color:#bdd3df;max-width:42rem}.s3-teaser a{flex:none;padding:.85rem 1.15rem;background:var(--gold);color:#092333;font-weight:750}.s3-teaser .section-label{color:var(--gold);margin-bottom:1rem}.s3-stage-draft{font-size:.875rem;color:#c5d7e2;white-space:pre-wrap}
@media(min-width:1241px) and (max-width:1520px){.nav{gap:.7rem;font-size:.83rem}.header-inner{gap:.8rem}.brand strong{font-size:.8rem}}
@media(max-width:1050px){.s3-workspace{grid-template-columns:310px minmax(0,1fr)}.s3-main{width:calc(100% - 2rem)}.s3-panel{padding:1rem}.s3-stage-heading{padding:1rem}.s3-original{display:none}.s3-stage-footer{padding:.5rem 1rem 1rem;align-items:flex-start;flex-direction:column}.s3-stage-bottom{padding:1rem}.s3-stage-bottom span{max-width:8rem}}
@media(max-width:760px){.s3-workspace{display:flex;flex-direction:column;gap:1rem}.s3-stage-panel{order:-1;width:100%}.s3-config{width:100%}.s3-panel{max-height:none;min-height:0;overflow:visible;padding:1.25rem}.s3-stage{height:350px}.s3-stage-heading{padding:.75rem 1rem}.s3-stage-heading h2{font-size:1.2rem}.s3-stage-footer{flex-direction:row;align-items:center;gap:.6rem}.s3-stage-footer p{max-width:12rem}.s3-stage-footer button{font-size:.8rem;padding:.55rem}.s3-stage-bottom span{max-width:none}.s3-stage-bottom{padding:.8rem 1rem}.s3-stage-bottom button{font-size:.875rem;padding:.6rem .7rem}.s3-main{padding-top:1.2rem}.s3-heading h1{font-size:2.2rem}.s3-eyebrow{font-size:.65rem;letter-spacing:.12em}.s3-history{gap:.1rem;flex-wrap:wrap;justify-content:flex-end}.s3-history .s3-quiet{font-size:.8rem;min-height:36px;padding:.4rem}.s3-history .s3-primary{font-size:.875rem;min-height:40px;padding:.5rem .7rem}.s3-view-toolbar{padding:.55rem;gap:.25rem}.s3-view-toolbar button{font-size:.8rem;padding:.4rem .5rem;min-height:37px}.s3-models{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.s3-models img{height:95px}.s3-models span{font-size:.75rem;padding:.5rem .25rem}.s3-tabs button{font-size:.875rem;min-height:48px;flex:1 0 auto}.s3-flat-editor canvas{width:min(100%,300px);max-height:375px}.s3-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.s3-stage-footer .s3-secondary{white-space:normal}.s3-teaser .wrap{display:block}.s3-teaser a{display:inline-block;margin-top:1rem}}
@media(max-width:390px){.s3-history .s3-quiet{display:none}.s3-colors{grid-template-columns:1fr 1fr}.s3-stage{height:315px}.s3-models{grid-template-columns:1fr 1fr}.s3-models img{height:110px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.s3-primary,.s3-secondary,.s3-quiet{transition:none}}

.s3-models strong{display:block;font-size:.875rem;padding:.55rem .65rem;font-weight:750;line-height:1.35}.s3-color{display:grid;grid-template-columns:37px minmax(0,1fr);column-gap:.6rem;align-items:center;font-size:.85rem;color:#d6e6ee;line-height:1.3}.s3-color>span{grid-column:2;grid-row:1}.s3-color input{grid-column:1;grid-row:1 / 3;width:37px;height:40px;padding:2px;background:#122f43;border:1px solid #638094;cursor:pointer}.s3-color small{grid-column:2;grid-row:2;font-size:.72rem;color:#a8c0ce}.s3-palettes button{align-items:center;gap:0;min-height:38px;flex-wrap:wrap;max-width:calc(50% - .25rem);padding:7px}.s3-palettes i{display:block;width:19px;height:18px}.s3-palettes button>span{width:100%;height:auto;margin-top:5px;font-size:.75rem;color:#d6e6ee;text-align:left}.s3-layer-list button>span:last-child{overflow-wrap:anywhere}.s3-view-toolbar button:disabled{opacity:.4;cursor:default}.s3-stage canvas:focus-visible,.s3-tabs button:focus-visible,.s3-models button:focus-visible,.s3-primary:focus-visible,.s3-secondary:focus-visible{outline:2px solid #ffdba4;outline-offset:3px}.s3-panel[hidden]{display:none!important}.s3-field[hidden],.s3-two[hidden]{display:none!important}
@media(max-width:760px){.s3-models strong{font-size:.8rem;padding:.45rem .3rem}.s3-color{font-size:.8rem;column-gap:.45rem}.s3-color small{font-size:.7rem}.s3-palettes button{max-width:none}.s3-palettes button>span{width:auto;margin:0 0 0 8px}}

.s3-flat-editor canvas{display:block}

.s3-interaction{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.4rem;border-top:1px solid #244454;background:#102b3e;flex-wrap:wrap}.s3-tool-picker{display:flex;gap:.4rem}.s3-tool-picker button{min-height:44px;padding:.55rem .85rem;color:#c6dbe7;background:#153447;border:1px solid #3d6279;font-size:.95rem;cursor:pointer}.s3-tool-picker button[aria-pressed=true]{background:#eac589;color:#092634;border-color:#edc98f;font-weight:750}.s3-quality{display:flex;align-items:center;gap:.55rem;color:#c6dbe7;font-size:.85rem;flex-wrap:wrap}.s3-quality select{min-height:44px;padding:.45rem .6rem;color:#edf5f9;background:#0b2335;border:1px solid #496b81;font-size:.9rem}.s3-quality>span{font-size:.75rem;color:#a4c4d6}.s3-view-toolbar button{min-height:44px}.s3-interaction button:disabled,.s3-interaction select:disabled{opacity:.4;cursor:default}.s3-tool-picker button:focus-visible,.s3-quality select:focus-visible,.s3-view-toolbar button:focus-visible{outline:2px solid #ffdba4;outline-offset:3px}.s3-stage>canvas[data-tool=place]{cursor:crosshair}.s3-render-error p{margin:0;font-size:.95rem;line-height:1.6}.s3-render-error button{align-self:center}.s3-loading button[hidden]{display:none}
@media(max-width:760px){.s3-interaction{gap:.6rem;padding:.7rem .9rem}.s3-tool-picker{flex:1}.s3-tool-picker button{flex:1}.s3-quality{width:100%;justify-content:space-between}.s3-quality>span{margin-left:auto}.s3-view-toolbar{padding:.65rem .7rem;gap:.35rem}.s3-stage-footer{flex-direction:column;align-items:stretch;gap:.65rem}.s3-stage-footer button{width:100%}}

.s3-flat-editor p,.s3-color,.s3-quality{font-size:.875rem}.s3-models button{transition:border-color .15s,background .15s}.s3-models button:hover{background:#183b51;border-color:#8eacbc}.s3-models button[aria-pressed=true]{background:#19394b;border-color:var(--gold)}.s3-models img{image-rendering:auto}.s3-view-toolbar button,.s3-stage-footer button{font-size:.875rem}.s3-models strong{font-size:.875rem}@media(max-width:760px){.s3-color,.s3-models strong{font-size:.875rem}.s3-models{grid-template-columns:repeat(2,minmax(0,1fr))}.s3-models img{height:135px}.s3-stage-footer p{max-width:none}}

/* Product studio: generous light stage inside the navy and gold identity. */
.theme-studio3d{background:#081c2c}
.s3-main{width:min(100% - 3rem,1580px);padding:1.4rem 0 2.5rem}
.s3-heading{margin-bottom:1.25rem}.s3-heading h1{font-size:clamp(2rem,3.5vw,3rem);letter-spacing:-.055em}
.s3-workspace{grid-template-columns:360px minmax(0,1fr);gap:1.25rem}
.s3-config,.s3-stage-panel{border:1px solid #304b5e;border-radius:12px;box-shadow:0 15px 40px #020f192e}
.s3-config{background:#102a3d;overflow:hidden}
.s3-tabs{background:#0c2435;border-bottom-color:#345164}.s3-tabs button{min-height:54px;padding:.65rem .7rem}.s3-tabs button[aria-selected=true]{background:#163549;border-bottom-width:2px}
.s3-panel{padding:1.35rem;max-height:calc(100svh - 12.5rem);min-height:560px;scrollbar-gutter:stable}.s3-panel h2{font-size:1.125rem;font-weight:600;letter-spacing:-.015em}
.s3-field{margin:1rem 0;gap:.5rem}.s3-field input:not([type=range]):not([type=color]),.s3-field select,.s3-field textarea{background:#0c2333;border:1px solid #466478;border-radius:5px;min-height:46px}
.s3-models{gap:.7rem}.s3-models button{border-radius:7px;overflow:hidden;background:#142f42;border-color:#37566b;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.s3-models img{height:157px;object-fit:contain;object-position:center;background:#e9edf2;padding:.15rem}
.s3-models strong{padding:.7rem .75rem;font-weight:600}.s3-models button[aria-pressed=true]{border-color:#e7bd80;box-shadow:0 0 0 1px #e7bd80}
.s3-models button:hover{border-color:#9bb4c4;background:#1c3a50}
.s3-primary,.s3-secondary,.s3-quiet,.s3-layer-list button,.s3-patterns button{border-radius:5px}
.s3-primary{box-shadow:0 2px 8px #030f1920}.s3-secondary{border-color:#547184}
.s3-color input{border-radius:5px;padding:3px}.s3-color small{font-size:.75rem}
.s3-stage-panel{background:#10293c;overflow:hidden}
.s3-stage-heading{padding:1.15rem 1.5rem;border-bottom:0;background:#10293c}.s3-stage-heading h2{font-size:1.4rem;font-weight:550}.s3-stage-heading span:first-child{font-size:.875rem;letter-spacing:.13em}.s3-original{font-size:.8125rem}
.s3-stage{height:clamp(470px,65svh,750px);background:linear-gradient(#f4f6f8,#dce2e8)}
.s3-loading{background:linear-gradient(#f4f6f8,#dce2e8);color:#253c4e;line-height:1.7}.s3-loading .s3-primary{border-color:#d6aa6e}.s3-render-error{background:#102a3f;color:#e4eef5}
.s3-interaction{padding:.85rem 1.25rem;background:#10293c;border-color:#2c4659;gap:.8rem}
.s3-tool-picker{border:1px solid #496477;padding:3px;border-radius:7px;gap:2px;background:#0c2233}.s3-tool-picker button{border:0;background:transparent;border-radius:4px;min-height:42px;font-size:.875rem;padding:.5rem 1rem}
.s3-tool-picker button[aria-pressed=true]{background:#e7bd80;color:#092634}
.s3-quality select{border-radius:5px;min-height:44px}.s3-quality>span{font-size:.8125rem}
.s3-view-toolbar{gap:.4rem;padding:.7rem 1.25rem;border:0;border-bottom:1px solid #2c4659;background:#10293c}
.s3-view-toolbar button{border-radius:5px;background:transparent;border-color:#3c5a6f;min-height:42px;font-size:.875rem;padding:.45rem .75rem}
.s3-view-toolbar button[aria-pressed=true]{background:#28495e;border-color:#b0c6d3;color:#f4f7fa;font-weight:650}
.s3-stage-footer{padding:.9rem 1.25rem .7rem}.s3-stage-footer p{font-size:.875rem}.s3-stage-footer button{border-color:#58788e}
.s3-stage-bottom{margin-top:.7rem;background:#163449;border-top:1px solid #345064;padding:1rem 1.25rem}.s3-status{padding:0 1.25rem}
.s3-flat-editor{border-radius:6px}.s3-patterns button{overflow:hidden}.s3-patterns span{font-size:.875rem}.s3-palettes button{border-radius:5px}
@media(max-width:1120px){.s3-workspace{grid-template-columns:320px minmax(0,1fr);gap:1rem}.s3-panel{padding:1.1rem}.s3-models img{height:140px}.s3-main{width:calc(100% - 2rem)}.s3-stage{height:clamp(435px,62svh,670px)}.s3-original{display:none}}
@media(max-width:760px){.s3-workspace{display:flex;gap:1rem}.s3-main{width:calc(100% - 1.5rem);padding-top:1.1rem}.s3-config,.s3-stage-panel{border-radius:9px}.s3-stage{height:clamp(385px,61svh,520px)}.s3-stage-heading{padding:.85rem 1rem}.s3-stage-heading h2{font-size:1.2rem}.s3-interaction{padding:.75rem .8rem}.s3-tool-picker{flex:1}.s3-tool-picker button{flex:1}.s3-quality{width:100%}.s3-quality>span{margin-left:auto}.s3-view-toolbar{padding:.6rem .75rem;gap:.35rem}.s3-view-toolbar button{min-height:44px;padding:.4rem .6rem}.s3-panel{max-height:none;min-height:0;padding:1.25rem;scrollbar-gutter:auto}.s3-models img{height:180px}.s3-stage-footer{padding:.85rem 1rem}.s3-stage-bottom{padding:.85rem 1rem}.s3-stage-bottom span{max-width:none}.s3-heading{gap:.5rem}.s3-history .s3-primary{min-height:44px}.s3-eyebrow{font-size:.75rem;letter-spacing:.09em}.s3-color,.s3-models strong{font-size:.875rem}}
@media(max-width:390px){.s3-stage{height:355px}.s3-models img{height:155px}.s3-stage-heading h2{font-size:1.1rem}.s3-history .s3-quiet{display:none}}
@media(prefers-reduced-motion:reduce){.s3-models button{transition:none}}
.s3-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.75rem 0}.s3-styles button{padding:0;overflow:hidden;min-width:0;border:1px solid #d1d8dc;border-radius:6px;background:#eff3f5;color:#15354b;cursor:pointer;text-align:center}.s3-styles img{display:block;width:100%;height:124px;object-fit:contain}.s3-styles strong{display:block;padding:.55rem .25rem;font-size:.8125rem;line-height:1.35;font-weight:650}.s3-styles button:hover{border-color:#53748a;background:#e4edf3}.s3-styles button:focus-visible{outline:2px solid #16628e;outline-offset:3px}.s3-styles button:disabled{opacity:.45;cursor:default}
.s3-frame-picker{display:flex;padding:3px;gap:2px;border:1px solid #496477;border-radius:7px;background:#0c2233}.s3-frame-picker button{min-height:42px;padding:.5rem .75rem;border:0;border-radius:4px;background:transparent;color:#c6dbe7;font-size:.875rem;cursor:pointer}.s3-frame-picker button[aria-pressed=true]{background:#28495e;color:#f4f7fa;font-weight:650}.s3-frame-picker button:focus-visible{outline:2px solid #ffdba4;outline-offset:3px}
@media(max-width:1120px){.s3-styles img{height:110px}.s3-quality{width:100%;justify-content:space-between}}
@media(max-width:760px){.s3-styles img{height:148px}.s3-frame-picker{flex:1}.s3-frame-picker button{flex:1}}

/* Contemporary working surface; the site's navy/gold identity frames the editor. */
.theme-studio3d{background:#111c25}
.s3-main{width:min(100% - 2.5rem,1680px);padding:1.5rem 0 2.5rem}
.s3-heading{gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem}.s3-heading h1{font-weight:550;letter-spacing:-.065em}.s3-eyebrow{color:#c1d0d9;letter-spacing:.11em}
.s3-primary{background:#d9bb87;border-color:#d9bb87;color:#142634;box-shadow:none}.s3-primary:hover{background:#f0d8b0}
.s3-workspace{grid-template-columns:350px minmax(0,1fr);gap:1rem}
.s3-config,.s3-stage-panel{border:1px solid #c8d3da;border-radius:14px;box-shadow:0 16px 45px #020b1426;background:#f5f7f9;color:#1c3445}
.s3-tabs{background:#eaf0f4;border-color:#ced9e0}.s3-tabs button{color:#526b7b;font-size:.875rem;padding:.7rem .65rem}
.s3-tabs button[aria-selected=true]{color:#173346;background:#f8fafb;border-bottom-color:#1e455d;font-weight:750}
.s3-panel h2,.s3-panel h3,.s3-field,.s3-color,.s3-zone{color:#203b4e}
.s3-field input:not([type=range]):not([type=color]),.s3-field select,.s3-field textarea{background:#fff;color:#1c394d;border-color:#bdcdd7;border-radius:7px}
.s3-field input[type=range]{accent-color:#244c64}.s3-field input[type=color],.s3-color input,.s3-zone input{background:#fff;border-color:#bbcbd5;border-radius:6px}
.s3-field output{color:#335b73}.s3-note,.s3-color small,.s3-zone code,.s3-check,.s3-owner-link{color:#536d7d}.s3-check a{color:#285571}
.s3-models button{background:#f8fafb;color:#254558;border-color:#c7d4dc;border-radius:8px}.s3-models img{background:linear-gradient(#edf3f6,#d7e2e9);height:175px}
.s3-models button[aria-pressed=true]{border-color:#274d64;background:#e5eef4;box-shadow:inset 0 0 0 1px #274d64}.s3-models button:hover{background:#eaf1f5;border-color:#50788f}
.s3-models strong{font-size:.875rem;font-weight:650}.s3-styles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.s3-styles button{background:#f7fafb;border-color:#c4d2db;border-radius:8px}.s3-styles img{height:155px;background:linear-gradient(#edf3f6,#d7e2e9)}.s3-styles strong{font-size:.875rem;padding:.65rem .4rem}
.s3-config .s3-secondary,.s3-stage-panel .s3-secondary{color:#24485f;background:#fff;border-color:#b4c8d5}.s3-config .s3-secondary:hover,.s3-stage-panel .s3-secondary:hover{background:#e0ebf2}
.s3-patterns button{background:#fff;border-color:#bbcdd8;color:#315367}.s3-patterns button[aria-pressed=true]{color:#142f43;border-color:#1e455d;box-shadow:inset 0 -2px #1e455d}
.s3-palettes button{background:#fff;border-color:#bbccd7;color:#25465b}.s3-flat-editor{background:#eaf0f4;border-color:#c5d3dd}.s3-flat-editor p{color:#516e80;font-size:.875rem}
.s3-layer-list button{color:#27485f;background:#fff;border-color:#c2d1dc}.s3-layer-list button[aria-pressed=true]{background:#e1ebf2;border-color:#2b5670}
.s3-layer-list .s3-layer-icon{color:#315f79}.s3-layer-list small{color:#658092}.s3-delete{color:#aa3c3c!important}
.s3-saved{background:#e4edf3;border-color:#385d73}.s3-saved p{color:#3d5d72}
.s3-stage-heading{background:#f8fafb;border-bottom:1px solid #d4dfe6;padding:1.1rem 1.5rem}.s3-stage-heading span:first-child{color:#637e90;letter-spacing:.15em}.s3-stage-heading h2{color:#1e3c50;font-weight:600}.s3-original{color:#647f90}
.s3-stage{height:clamp(480px,66svh,780px);background:linear-gradient(#eef3f6,#cad7e0)}.s3-loading{background:linear-gradient(#eef3f6,#cad7e0);color:#234458}
.s3-render-error{background:#e9f0f5;color:#29485c}
.s3-interaction{background:#f8fafb;border-color:#d2dee7;padding:1rem 1.25rem;gap:.75rem}
.s3-tool-picker,.s3-frame-picker{background:#eaf1f6;border-color:#c1d2de;border-radius:8px;padding:4px}.s3-tool-picker button,.s3-frame-picker button{color:#49697e}
.s3-tool-picker button[aria-pressed=true],.s3-frame-picker button[aria-pressed=true]{background:#24485f;color:#fff;font-weight:650}
.s3-quality{color:#33556b}.s3-quality select{background:#fff;color:#2e5168;border-color:#b8cedc}.s3-quality>span{color:#688293}
.s3-view-toolbar{background:#f8fafb;border-color:#d2dfe8;padding:.7rem 1.2rem}.s3-view-toolbar button{background:#fff;color:#45667e;border-color:#c5d7e2;border-radius:6px}
.s3-view-toolbar button[aria-pressed=true]{background:#e1ebf3;color:#244c68;border-color:#6288a2}
.s3-stage-footer p{color:#5b788e}.s3-stage-bottom{background:#e9f0f5;border-color:#cddce6}.s3-stage-bottom span{color:#5a7488}
.s3-status{color:#365f7a}.s3-status.is-error{color:#a33434}.s3-closing-note{color:#b4c6d2}
.s3-tool-picker button:focus-visible,.s3-frame-picker button:focus-visible,.s3-quality select:focus-visible,.s3-view-toolbar button:focus-visible{outline-color:#1f536f}
@media(max-width:1120px){.s3-workspace{grid-template-columns:310px minmax(0,1fr)}.s3-models img{height:155px}.s3-styles img{height:135px}}
@media(max-width:760px){.s3-main{width:calc(100% - 1.25rem)}.s3-stage{height:clamp(365px,57svh,490px)}.s3-stage-heading{padding:.9rem 1rem}.s3-workspace{display:flex}.s3-models img{height:190px}.s3-styles{grid-template-columns:repeat(2,minmax(0,1fr))}.s3-styles img{height:175px}.s3-interaction{padding:.8rem}.s3-config,.s3-stage-panel{border-radius:10px}}
@media(max-width:390px){.s3-stage{height:345px}.s3-models img{height:165px}.s3-styles img{height:155px}}

/* The garment is the focus of the photographic presentation. */
.s3-stage,.s3-loading{background:linear-gradient(#111a27,#31445a)}
.s3-loading{color:#edf4fb}
.s3-models img,.s3-styles img{background:#172333}
.s3-styles button{overflow:hidden}

.s3-color[hidden]{display:none!important}

.s3-export-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.s3-export-actions button{min-height:44px}.s3-stage-footer{flex-wrap:wrap}.s3-view-toolbar button{min-height:44px}@media(max-width:600px){.s3-export-actions{width:100%;justify-content:flex-start}.s3-export-actions button{flex:1 1 150px}}

.theme-studio3d .s3-stage-heading h2{color:#eef4f8}.theme-studio3d .s3-stage-heading .s3-eyebrow{color:#bfd0dc}

/* One complete garment per sport; construction choices stay available. */
.s3-models.s3-reference-model{display:block}.s3-reference{margin:0;display:grid;grid-template-columns:110px 1fr;align-items:center;gap:18px;background:#15242e;border:1px solid #40525e;border-radius:14px;overflow:hidden}.s3-reference img{display:block;width:110px;height:150px;object-fit:cover}.s3-reference figcaption{padding:16px 16px 16px 0}.s3-reference strong{display:block;font-size:1rem;color:#f0f5f8}.s3-reference span{display:block;margin-top:7px;font-size:.86rem;line-height:1.5;color:#b7c6d0}@media(max-width:440px){.s3-reference{grid-template-columns:94px 1fr;gap:12px}.s3-reference img{width:94px;height:132px}}

/* The placement surface remains readable and reachable without touch input. */
.s3-flat-editor canvas:focus-visible{outline:3px solid #f0c880;outline-offset:4px}
.s3-flat-editor .s3-guide-toggle{margin:.8rem 0 .5rem;align-items:center;color:#e4edf2}
.s3-flat-editor #placement-note{color:#e6ca96;min-height:2.9em}
@media(max-width:760px){.s3-zone{min-height:44px}.s3-zone input{width:44px;height:44px}.s3-field input[type=range]{min-height:40px}.s3-palettes button{min-height:44px;min-width:44px}.s3-check{min-height:44px;align-items:center}.s3-check input{width:24px;height:24px;margin-top:0}}
