@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#262824;--muted:#85877e;--line:#dedfd7;--accent:#b46a3f;--paper:#f6f6f1}*{box-sizing:border-box}body{margin:0;font:14px 'DM Sans',Arial,sans-serif;color:var(--ink);background:#e9e8e3}button,input,a{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}a{text-decoration:none}button{border:0}button:disabled{opacity:.5;cursor:default}.topbar{height:76px;padding:0 32px;display:flex;align-items:center;gap:38px;background:#f6f6f1;border-bottom:1px solid var(--line)}.wordmark{font:800 37px Manrope,Arial;letter-spacing:-2.5px}.wordmark span{font:14px Arial;vertical-align:top;margin-left:3px}.studio-label{font-size:10px;letter-spacing:1.8px;color:#71746b}.studio-label i{font-style:normal;margin:0 10px;color:#aaa}.live{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px}.live i{width:6px;height:6px;background:#7a8d67;border-radius:50%}.studio{display:grid;grid-template-columns:minmax(0,1fr) 350px;height:calc(100dvh - 76px);min-height:610px}.viewer{position:relative;min-width:0;overflow:hidden;background:#e4e4df}#stage{width:100%;height:100%;display:block;touch-action:none}.viewer-heading{position:absolute;top:34px;left:36px;pointer-events:none}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#7c7f75}.viewer h1{font:500 clamp(25px,3vw,44px)/1.08 Manrope,Arial;letter-spacing:-1.9px;margin:18px 0 14px}.viewer h1 em{font-style:normal;color:#95988d}.viewer-heading p{font-size:12px;color:#808377}.view-tools{position:absolute;right:24px;top:30px;display:flex;flex-direction:column;gap:7px}.view-tools button{width:38px;height:38px;background:#f9f9f4c9;border:1px solid #fff8;border-radius:50%;font-size:12px;backdrop-filter:blur(12px)}.view-tools button:hover,.view-tools button[aria-pressed=true]{background:#30362e;color:white}.viewer-note{position:absolute;left:32px;bottom:110px;display:flex;gap:12px;align-items:center;color:#85887d;font-size:8px;line-height:1.8;letter-spacing:1.2px;pointer-events:none}.cross{font-size:25px;font-weight:300}.motion-bar{position:absolute;bottom:43px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:#fafaf6e8;padding:7px;border:1px solid #fff9;border-radius:15px;box-shadow:0 8px 35px #1c271512;white-space:nowrap;backdrop-filter:blur(12px)}.motion-options{display:flex;gap:3px}.motion-bar button{background:none;padding:12px 16px;border-radius:9px;font-size:12px}.motion-bar button span{margin-right:6px}.motion-options button.active{background:#30362e;color:#fff}.motion-bar button:hover{background:#dbded2}.motion-options button.active:hover{background:#414a3d}#pause{border-left:1px solid #dedfd7;border-radius:0;font-size:16px;padding:7px 12px}#pose-reset{font-size:10px;color:#6d7365}.performance{position:absolute;bottom:16px;left:30px;right:30px;display:flex;gap:18px;font:9px monospace;letter-spacing:.5px;color:#828878}.performance span:last-child{margin-left:auto}.panel{background:var(--paper);overflow:auto;border-left:1px solid #dedfd5;scrollbar-width:thin;scrollbar-color:#c4c8bd transparent;padding:27px 26px}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-top h2{font:600 19px Manrope,Arial;letter-spacing:-.8px;margin:8px 0}.version{font:24px Manrope;color:#d2d5ca}.control-section{border-top:1px solid var(--line);padding:20px 0}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}h3{font-size:10px;color:#9b9e92;letter-spacing:.7px;margin:0}h3 span{font-size:13px;letter-spacing:0;color:#30372b;margin-left:10px;font-weight:600}.text-button{background:none;color:#818777;font-size:10px;padding:0}.muted{font-size:10px;color:#909586}.range-label{display:flex;justify-content:space-between;font-size:12px;margin:17px 0 8px}.range-label output{font-size:12px;color:#727968;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:#525f46;height:14px;margin:0;cursor:pointer}.range-extents{display:flex;justify-content:space-between;font-size:9px;color:#a0a594;margin-top:4px}.garment-list{display:grid;gap:7px}.garment-row{display:flex;align-items:center;padding:9px 10px;border:1px solid #e0e2d9;border-radius:8px}.garment-row.selected{border-color:#949c87;background:#edf0e6}.garment-row>button{display:flex;align-items:center;gap:12px;text-align:left;background:none;flex:1;padding:0}.garment-row strong{display:block;font-size:12px;font-weight:500}.garment-row small{display:block;color:#959b89;font-size:9px;margin-top:5px}.garment-row input{accent-color:#505e44;width:15px;height:15px;cursor:pointer}.fabric-chip{display:block;width:36px;height:40px;border-radius:6px;box-shadow:inset 0 0 6px #0002}.puffer{background:repeating-linear-gradient(0deg,#b57044 0,#c58151 8px,#905632 10px)}.cotton{background:#e3dbcc}.twill{background:repeating-linear-gradient(45deg,#343c45 0,#414955 2px,#343c45 3px)}.jersey{background:repeating-linear-gradient(90deg,#394b43 0,#4a5e54 1px,#394b43 3px)}.piece-details{padding:14px 0 0}.piece-details>span{font-size:8px;letter-spacing:1.5px;color:#8f9583}.piece-details p{font-size:11px;line-height:1.6;color:#79816d;margin:8px 0 12px;min-height:34px}.swatches{display:flex;gap:10px}.swatches button{height:21px;width:21px;border-radius:50%;background:var(--color);border:2px solid var(--paper);outline:1px solid #c6ccbf}.swatches button[aria-pressed=true]{outline:2px solid #68735d;outline-offset:2px}.gust-button{margin:20px 0 15px;width:100%;background:#e7ebdf;padding:12px;border-radius:8px;color:#59644b;font-size:12px}.check-line{font-size:11px;display:flex;align-items:center;gap:8px;color:#7a826e}.check-line input{accent-color:#505e44}.about{font-size:10px;line-height:1.6;border-top:1px solid var(--line);padding-top:16px;color:#8a9280}.about summary{cursor:pointer;font-size:11px}.about a{color:#666f5e;text-decoration:underline}.back-link{display:block;font-size:10px;color:#8b9480;margin:24px 0 0}#boot{position:absolute;inset:0;background:#e9e9e2f0;display:flex;justify-content:center;align-items:center;gap:15px;font-size:13px;color:#6c7760;z-index:10}#boot[hidden]{display:none}.spinner{width:22px;height:22px;border:2px solid #cbd0c1;border-top-color:#6d795d;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.studio{grid-template-columns:minmax(0,1fr) 380px}.panel{padding:30px}.viewer-heading{top:45px;left:48px}}
@media(max-width:1000px){.studio{grid-template-columns:minmax(0,1fr) 310px}.panel{padding:22px 20px}.viewer-heading{left:22px;top:26px}.viewer h1{font-size:29px}.viewer-heading p{display:none}.motion-bar{gap:0;padding:5px}.motion-bar button{padding:11px 10px;font-size:11px}.motion-bar button span{display:none}#pose-reset{padding:8px;font-size:9px}.viewer-note{display:none}.topbar{padding:0 24px;gap:24px}.studio-label{font-size:8px}.view-tools{right:14px;top:24px}.view-tools button{width:30px;height:30px}}
@media(max-width:700px){.topbar{height:64px;padding:0 18px}.wordmark{font-size:31px}.studio-label{display:none}.live{font-size:10px}.studio{display:flex;flex-direction:column;height:auto;min-height:0}.viewer{height:calc(100svh - 64px);min-height:560px;max-height:850px;flex:none}.panel{overflow:visible;border-left:0;padding:25px}.viewer-heading{top:25px;left:22px}.viewer h1{font-size:29px}.viewer-heading .eyebrow{font-size:8px}.motion-bar{bottom:43px;max-width:96%}.performance{left:20px;right:20px}.view-tools{top:26px}.viewer-heading p{display:none}}
html.embedded .topbar{height:60px}html.embedded .studio{height:calc(100dvh - 60px);min-height:0}html.embedded .panel{padding:22px}html.embedded .viewer{min-height:0}html.embedded .viewer-heading p{display:none}@media(max-width:700px){html.embedded .panel{display:none}html.embedded .viewer{height:calc(100dvh - 60px);max-height:none}html.embedded .viewer-heading{top:16px}html.embedded .viewer h1{font-size:25px}html.embedded .motion-bar{bottom:30px}html.embedded .performance{bottom:9px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}

.tactical{background:#636a44 url("models/wardrobe/tactical-pants/camo.jpg") center/cover}.field-jacket{background:linear-gradient(90deg,#424e47 0 44%,#afb5a6 46% 49%,#535f57 52%)}.original-color{margin-top:14px;text-decoration:underline;text-underline-offset:3px}.original-color[hidden]{display:none}.garment-row:has(input:disabled) small{font-style:italic}

.theme-toggle{display:flex;align-items:center;gap:8px;margin-left:auto;padding:9px 12px;background:transparent;border:1px solid var(--line);border-radius:8px;font-size:11px;white-space:nowrap}.theme-toggle:hover{background:#dde2d7}.live{margin-left:0}
html[data-theme=dark]{color-scheme:dark;--ink:#e8ece6;--muted:#a9b3a5;--line:#303a32;--accent:#d79870;--paper:#151b18}
html[data-theme=dark] body,html[data-theme=dark] .viewer{background:#161d19}
html[data-theme=dark] .topbar{background:var(--paper)}
html[data-theme=dark] .studio-label,html[data-theme=dark] .eyebrow,html[data-theme=dark] .viewer-heading p,html[data-theme=dark] .viewer-note,html[data-theme=dark] .performance{color:#a4b1a2}
html[data-theme=dark] .viewer h1 em{color:#8e9f8b}
html[data-theme=dark] .view-tools button{background:#25312acb;border-color:#3e4c41}
html[data-theme=dark] .view-tools button:hover,html[data-theme=dark] .view-tools button[aria-pressed=true]{background:#c4d5b7;color:#162016}
html[data-theme=dark] .motion-bar{background:#19231ee8;border-color:#344439;box-shadow:0 8px 35px #0004}
html[data-theme=dark] .motion-options button.active{background:#c4d5b7;color:#162016}
html[data-theme=dark] .motion-bar button:hover{background:#344439}
html[data-theme=dark] .motion-options button.active:hover{background:#dbe5d3}
html[data-theme=dark] #pause,html[data-theme=dark] .panel{border-color:var(--line)}
html[data-theme=dark] .panel{scrollbar-color:#52614f transparent}
html[data-theme=dark] h3 span{color:#e0e8da}
html[data-theme=dark] h3,html[data-theme=dark] .muted,html[data-theme=dark] .range-extents,html[data-theme=dark] .garment-row small,html[data-theme=dark] .piece-details>span{color:#a1ad99}
html[data-theme=dark] .text-button,html[data-theme=dark] .range-label output,html[data-theme=dark] .piece-details p,html[data-theme=dark] .check-line,html[data-theme=dark] .about,html[data-theme=dark] .about a,html[data-theme=dark] .back-link,html[data-theme=dark] #pose-reset{color:#b1bdab}
html[data-theme=dark] .version{color:#52614f}
html[data-theme=dark] .garment-row{border-color:#344036}
html[data-theme=dark] .garment-row.selected{background:#243027;border-color:#809575}
html[data-theme=dark] input,html[data-theme=dark] .garment-row input{accent-color:#b9cba8}
html[data-theme=dark] .gust-button{background:#2b382c;color:#d1dec6}
html[data-theme=dark] .theme-toggle:hover{background:#29382b}
html[data-theme=dark] .swatches button{outline-color:#819078}
html[data-theme=dark] #boot{background:#151b18f0;color:#c4d2bc}
@media(max-width:700px){.topbar{gap:12px}.theme-toggle{padding:8px;gap:5px;font-size:10px}.live{font-size:9px}.live i{display:none}}
@media(max-width:380px){.theme-toggle span{display:none}.topbar{gap:9px}.live{margin-left:auto}}

.garment-markers{position:absolute;inset:0;pointer-events:none;z-index:4}.garment-marker{position:absolute;top:0;left:0;width:44px;height:44px;display:grid;place-items:center;background:transparent;border-radius:50%;pointer-events:auto;will-change:transform}.garment-marker::before{content:"";width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 1px 8px #0005;z-index:1}.garment-marker::after{content:"";position:absolute;width:26px;height:26px;border-radius:50%;border:1px solid #fff9;background:#14201626;backdrop-filter:blur(5px);transition:background .2s,border-color .2s}.garment-marker:hover::after,.garment-marker.selected::after,.garment-marker[aria-expanded=true]::after{background:#526344b3;border-color:#e6f1dd}.garment-marker[aria-expanded=true]::before{background:#d9edc9}.garment-marker[hidden],.garment-popover[hidden]{display:none!important}.marker-label{position:absolute;left:39px;top:12px;padding:6px 8px;font-size:10px;line-height:1.2;white-space:nowrap;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:5px;opacity:0;pointer-events:none;transition:opacity .15s}.garment-marker:hover .marker-label,.garment-marker:focus-visible .marker-label{opacity:1}.garment-popover{position:absolute;left:0;top:0;width:min(250px,calc(100% - 24px));padding:23px 20px 18px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #0002;z-index:8}.popover-category{font-size:8px;letter-spacing:1.8px;color:var(--muted)}.garment-popover h2{font:600 17px Manrope,Arial;letter-spacing:-.6px;margin:10px 20px 9px 0}.garment-popover p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 13px}.garment-popover dl{display:grid;grid-template-columns:auto 1fr;gap:9px 14px;margin:0;padding-top:13px;border-top:1px solid var(--line);font-size:10px}.garment-popover dt{color:var(--muted)}.garment-popover dd{margin:0;text-align:right}.popover-close{position:absolute;right:7px;top:7px;width:32px;height:32px;background:transparent;font-size:21px;line-height:1;color:var(--muted);border-radius:6px}.popover-close:hover{background:#85977920}.motion-bar,.view-tools{z-index:5}
html[data-theme=dark] .garment-popover{box-shadow:0 12px 40px #0007}
@media(hover:none){.marker-label{display:none}}
html.embedded .garment-markers,html.embedded .garment-popover{display:none}
