.beautyLayout{display:grid;grid-template-columns:minmax(310px,.95fr) minmax(380px,1.05fr);gap:38px;align-items:start}.beautyPreview{border:1px solid var(--line);background:#fff;border-radius:5px;overflow:hidden;position:sticky;top:88px}.beautyPortrait{position:relative;aspect-ratio:1/1.08;overflow:hidden;background:#eee7df;display:grid;place-items:center}.beautyPortrait>img{width:100%;height:100%;object-fit:contain}.beautyPortrait>svg{width:100%;height:100%}.beautyPreviewLabel{position:absolute;bottom:15px;left:17px;font-size:9px;letter-spacing:3px;background:#fff9;padding:8px;color:#766451}.beautyPreviewFoot{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:8px}.beautyPreviewFoot>span{font-size:10px;color:var(--muted)}.beautyPreviewFoot button{display:flex;gap:7px;align-items:center;border:0;background:transparent;color:#6b5147;font-size:11px}.beautyPreviewFoot svg{width:16px;height:16px}.beautyTabs{display:flex;border-bottom:1px solid var(--line);margin:0 0 27px}.beautyTabs button{flex:1;padding:17px 12px;background:transparent;border:0;border-bottom:2px solid transparent;display:flex;align-items:center;justify-content:center;gap:8px;color:#8c8077;font-size:13px}.beautyTabs button[aria-pressed=true]{border-bottom-color:#29252a;color:#29252a}.beautyTabs svg{width:18px;height:18px}.beautyGroup{padding-bottom:23px;margin-bottom:18px;border-bottom:1px solid var(--line)}.beautyGroup h3{font-weight:500;font-size:17px;margin:0 0 19px;letter-spacing:-.4px}.beautySwatches{display:grid;grid-template-columns:repeat(5,1fr);gap:16px 10px}.beautySwatches button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:2px;background:transparent;border:0;min-width:0}.beautySwatches i{height:38px;width:38px;border-radius:50%;box-shadow:inset 0 0 0 1px #0001;display:grid;place-items:center;font-style:normal;color:#fff;font-size:13px;text-shadow:0 1px 4px #333}.beautySwatches .selected i{outline:1px solid #9c7b65;outline-offset:4px}.beautySwatches span{font-size:10px;color:#71655e;line-height:1.4}.beautyPills{display:flex;flex-wrap:wrap;gap:9px}.beautyPills button{background:#f9f6f1;border:1px solid var(--line);border-radius:5px;font-size:11px;padding:12px 16px}.beautyPills .selected{background:#29252a;color:white;border-color:#29252a}.beautyNote{color:#8b7d72;font-size:11px;line-height:1.8;margin:10px 0 25px}.beautyActions{display:grid;gap:10px}.beautyActions button{padding:14px;border:1px solid var(--line);background:transparent;border-radius:5px;font-size:12px;display:flex;gap:7px;align-items:center;justify-content:center}.beautyActions svg{width:17px;height:17px}.beautyActions button:last-child{border:0;padding:8px;color:#89776d;font-size:10px}.openBeauty{width:100%;margin:17px 0 0;background:#eee4db;border:1px solid #dfcfc0;border-radius:4px;padding:15px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#655046}.openBeauty span{display:flex;gap:8px;align-items:center}.openBeauty svg{width:18px;height:18px}.beautyChip{font-size:9px;color:#95745e;margin-top:5px;display:block}
@media(max-width:700px){.beautyLayout{display:block}.beautyPreview{position:relative;top:0}.beautyPortrait{aspect-ratio:1/1.05;max-height:380px}.beautyPanel{margin-top:24px}.beautyPreviewFoot{padding:12px}.beautySwatches{grid-template-columns:repeat(5,1fr)}.beautySwatches i{width:34px;height:34px}.beautyTabs button{font-size:12px}.beautyPreviewFoot>span{font-size:9px}.beautyPreviewFoot button{font-size:10px}.beautyGroup{padding-bottom:20px}}

.beautyActions .primary{background:#29252a;color:#fff}
/* Document scrolling is intentional: legacy fixed-height play rules must not lock the atelier. */
html{height:auto;min-height:100%;overflow-y:auto;scrollbar-gutter:stable;scroll-behavior:smooth}body[data-atelier=true]{overflow-x:hidden!important;overflow-y:auto!important;min-height:100dvh;height:auto!important}body[data-atelier=true] main{padding-bottom:100px!important}body[data-atelier=true] footer{display:flex!important}.beautyPanel,.atelierCloset{scroll-margin-top:95px}.totalLook{display:grid;grid-template-columns:60% 40%;height:450px;position:relative;background:#f3eee8}.totalBody{min-width:0;height:100%;overflow:hidden}.totalBody>svg{width:100%;height:100%}.totalDetails{display:grid;grid-template-rows:62% 38%;padding:16px 12px 16px 0;gap:12px;min-height:0}.totalFace,.totalNails{position:relative;min-height:0;overflow:hidden;border:1px solid #dacfc2;border-radius:6px;background:#f3eee8}.totalFace>svg,.totalNails>svg{width:100%;height:100%}.totalDetails small{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:1.3px;color:#816a59;background:#f5eee4d9;padding:5px}.lookSummary{padding:13px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.lookSummary strong{font-size:13px;font-weight:600}.lookSummary span{font-size:10px;color:var(--muted)}.beautyPreview{top:90px}.beautyLoading{position:absolute;bottom:15px;left:20px;background:#fffdf2eb;padding:8px 12px;border-radius:20px;font-size:11px}.scrollOptions{display:block;border:0;border-top:1px solid var(--line);width:100%;background:#f3ebe2;padding:12px;font-size:11px;color:#6e5544}.beautyOutfits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.beautyOutfits button{padding:0;border:1px solid var(--line);background:#fffaf5;overflow:hidden;border-radius:4px}.beautyOutfits button[aria-pressed=true]{border:2px solid #9c795e}.beautyOutfits button>div{height:185px}.beautyOutfits svg{height:100%;width:100%}.beautyOutfits span{display:block;padding:10px 3px;font-size:10px}.beautyTabs{position:sticky;top:76px;background:var(--paper);z-index:4}.beautyTabs button{padding:15px 8px}.faceInset{position:absolute;right:12px;top:20px;width:25%;height:33%;border:1px solid #dacfc2;border-radius:6px;overflow:hidden;background:#f3eee8}.faceInset>svg{width:100%;height:100%}.faceInset small{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:6px;color:#896b54;letter-spacing:1px}.atelierStage{max-height:none}.beautyPreviewFoot button{min-height:36px}.beautyPreviewFoot button:disabled{opacity:.4}.beautyActions .primary{background:#29252a;box-shadow:none}.beautyStudio .atelierIntro{padding:16px 0 20px}.beautyStudio .atelierIntro h1{font-size:clamp(26px,3vw,40px)}
@media(max-height:760px) and (min-width:721px){.beautyPreview,.atelierStage{position:relative;top:0}.totalLook{height:410px}}
@media(max-width:720px){.beautyLayout{display:block}.beautyPreview{position:relative;top:0}.totalLook{height:350px}.beautyStudio .atelierIntro{padding:12px 0 16px}.beautyStudio .atelierIntro h1{letter-spacing:-1px;font-size:28px}.beautyStudio .atelierIntro p{font-size:12px;margin-bottom:0}.artistHeader{padding:10px 14px}.artistHeader img{width:32px;height:36px}.artistHeader h3{font-size:15px}.beautyPanel{margin-top:20px;scroll-margin-top:12px}.beautyTabs{top:0;padding-top:5px}.beautyTabs button{font-size:11px;gap:5px;min-height:48px}.beautySwatches button{min-height:58px}.beautyPills button{min-height:44px}.beautyPreviewFoot{padding:7px 12px}.lookSummary{padding:10px 12px;align-items:start;flex-direction:column;gap:4px}.beautyOutfits button>div{height:160px}.beautyActions{padding-bottom:15px}.totalDetails{padding:12px 8px 12px 0;gap:8px}.faceInset{width:27%;height:34%;right:8px}.atelierCanvas{height:390px}.atelierIntro h1{letter-spacing:-1px}body[data-atelier=true] main{padding-bottom:110px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.beautyOutfits{max-height:600px;overflow-y:auto;padding:3px;scrollbar-width:thin;overscroll-behavior:auto}.beautyOutfits button{min-height:44px}@media(max-width:720px){.beautyOutfits{max-height:none;overflow:visible}}

.beautyTabs{display:flex;overflow-x:auto;gap:4px}.beautyTabs button{flex:1 0 auto;min-width:62px}
