/* Yeli Boutique 3.2 — Mirror Studio. Boutique design tokens, no utility framework. */
.ym32{max-width:1230px;margin:0 auto;padding:clamp(26px,4.5vw,56px) clamp(14px,3vw,34px) 86px;color:#553847;font-family:inherit}
.ym32 *{box-sizing:border-box}
.ym32-header{text-align:center;max-width:770px;margin:0 auto 24px}
.ym32-overline{font-size:10px;letter-spacing:.22em;font-weight:800;color:#92566c}
.ym32-header h1{font:400 clamp(36px,5.2vw,64px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.038em;color:#613b4d;margin:11px 0 12px}
.ym32-header>p{line-height:1.55;color:#806976;font-size:15px;margin:0 auto;max-width:610px}
.ym32-promise{margin-top:18px;font-size:11px;color:#937586}
.ym32-tabs{display:flex;justify-content:center;gap:6px;padding:5px;border:1px solid #ebd9de;border-radius:999px;background:#f8edef;width:fit-content;margin:0 auto 24px}
.ym32-tabs .ym32-chip{padding:12px 25px;min-width:116px;border-radius:99px}
.ym32-grid{display:grid;grid-template-columns:minmax(0,475px) minmax(0,1fr);gap:22px;align-items:start}
.ym32-editor{display:grid;gap:15px;min-width:0}
.ym32-card,.ym32-viewer{border:1px solid #eedade;border-radius:23px;background:#fffaf8;box-shadow:0 14px 36px rgba(79,37,51,.055);min-width:0}
.ym32-card{padding:22px 23px}
.ym32-card h2{font:500 23px/1.25 Georgia,serif;color:#693c4e;display:flex;align-items:center;gap:11px;margin:0 0 17px}
.ym32-step{font:700 11px system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#8a4960;background:#f5e2e8;border-radius:50%}
.ym32-file-actions{display:flex;gap:9px;flex-wrap:wrap}.ym32-file-actions>button,.ym32-file-actions>label{flex:1;min-width:140px;justify-content:center}
.ym32-file-actions input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ym32-secondary,.ym32-primary,.ym32-tertiary,.ym32-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:11px 16px;font-weight:700;font-size:13px;border-radius:13px;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}
.ym32-primary{background:#82425b;border:1px solid #82425b;color:#fff}.ym32-primary:hover:not(:disabled){background:#652e47}
.ym32-secondary{background:#f4e7ea;border:1px solid #ecd1d9;color:#77485c}.ym32-secondary:hover{background:#eedbdf}
.ym32-tertiary{background:#fff;border:1px solid #eddae0;color:#7b5160;font-weight:600;min-height:40px}
.ym32-download{background:#794057;color:white;border:1px solid #794057;width:100%;font-size:14px;min-height:50px}
.ym32 button:disabled{opacity:.52;cursor:not-allowed}
.ym32 button:focus-visible,.ym32 label:focus-within,.ym32 input:focus-visible{outline:3px solid #ba7c93;outline-offset:3px}
.ym32-hint{font-size:12px;line-height:1.55;color:#94808b;margin:12px 0 0}
.ym32-warning{border:1px solid #e4a2a9;background:#fff0f0;color:#924350;padding:10px 12px;border-radius:10px;font-size:12px}
.ym32-file-name{background:#f5edef;border-radius:12px;margin-top:13px;padding:8px 11px;display:flex;align-items:center;gap:9px;justify-content:space-between;color:#6c4758;font-size:12px;overflow-wrap:anywhere}
.ym32-file-name button{border:0;background:transparent;color:#96536b;padding:8px 5px;font-weight:700;white-space:nowrap;cursor:pointer}
.ym32-empty-products{background:#f9f1f0;border-radius:13px;padding:14px 15px;color:#826c75;line-height:1.55;font-size:12px;margin:0 0 17px}
.ym32-products{display:flex;overflow-x:auto;gap:10px;scrollbar-width:thin;margin:1px 0 17px;padding-bottom:4px}
.ym32-product{border:1px solid #e9d7db;border-radius:14px;background:white;min-width:102px;max-width:114px;flex:0 0 102px;text-align:left;padding:7px;color:#764e5c;cursor:pointer;font-size:12px;line-height:1.2}
.ym32-product img{width:100%;height:83px;border-radius:9px;object-fit:cover;display:block;margin-bottom:6px}.ym32-product.active{border-color:#9e5c73;box-shadow:0 0 0 2px #ebd1d9}
.ym32-chosen{font-size:12px;line-height:1.5;color:#7e5869}.ym32-chosen button{background:none;border:0;text-decoration:underline;color:#8d435a;font-weight:700;cursor:pointer}
.ym32-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:750;margin:17px 0 10px}.ym32-section-title small{font-size:10px;font-weight:500;color:#9f8390}
.ym32-subtabs,.ym32-choice-row,.ym32-preset-row{display:flex;gap:7px;flex-wrap:wrap}
.ym32-chip{border:1px solid #ead5dd;border-radius:12px;background:#fff;font-size:12px;font-weight:700;color:#785264;padding:10px 13px;min-height:39px;cursor:pointer}
.ym32-chip.active{color:#fff;background:#854258;border-color:#854258}
.ym32-subtabs .ym32-chip{flex:1}
.ym32-colors{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0 19px}
.ym32-swatch{width:38px;height:38px;min-width:38px;border:2px solid transparent;padding:3px;border-radius:50%;background:transparent;cursor:pointer}
.ym32-swatch span{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 3px #1113,0 2px 5px #1111}
.ym32-swatch.active{border-color:#8b4861}.ym32-swatch.active span{outline:2px solid white;outline-offset:-3px}
.ym32-range-row{display:flex;justify-content:space-between;color:#816473;font-size:13px;margin:10px 0 8px}.ym32-range-row output{font-weight:800;color:#6e384e}
.ym32-range{width:100%;accent-color:#905268;min-height:25px;cursor:pointer}
.ym32-check{display:flex;gap:8px;align-items:center;margin:8px 0;color:#795766;font-size:13px}.ym32-check input{accent-color:#8a4460;width:17px;height:17px}
.ym32-details{margin-top:19px;border-top:1px solid #f0dfe3;padding-top:15px}.ym32-details summary{cursor:pointer;color:#8a566c;font-weight:750;font-size:13px;list-style:none;display:flex;justify-content:space-between}.ym32-details summary::-webkit-details-marker{display:none}.ym32-detail-inner{padding:17px 0 3px}.ym32-mini-title{display:block;font-size:12px;margin-bottom:11px;font-weight:700}
.ym32-action-row{display:flex;gap:8px;margin-bottom:13px;flex-wrap:wrap}.ym32-action-row button{flex:1;padding-inline:7px}
.ym32-analyze{width:100%;font-size:14px;min-height:51px}
.ym32-status{font-size:12px;line-height:1.45;color:#815f6d;background:#f9f0ef;padding:10px 13px;border-radius:11px;margin-top:12px;word-break:break-word}.ym32-status.success{background:#e9f4ec;color:#3f6c4c}.ym32-status.error{background:#fae7ea;color:#973f55}.ym32-status small{font-weight:700}
.ym32-viewer{position:sticky;top:90px;padding:14px;background:linear-gradient(150deg,#fff8f5,#f9eef0)}
.ym32-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 9px 14px;font-size:12px;letter-spacing:.08em;font-weight:750;color:#785166}.ym32-viewer-head small{color:#a38790;font-weight:400;font-size:10px;letter-spacing:0}
.ym32-frame{width:100%;position:relative;max-height:min(63vh,670px);height:clamp(340px,47vw,600px);min-height:340px;background:linear-gradient(140deg,#e8d7d5,#f9e7e7);border-radius:16px;overflow:hidden;display:flex;justify-content:center;align-items:center}
.ym32-empty-frame>img{width:100%;height:100%;object-fit:cover;object-position:center 22%;opacity:.8}.ym32-empty-message{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#fff8f5 88%);padding:60px 20px 20px;text-align:center;display:grid;gap:7px;color:#693b51}.ym32-empty-message>span{font-size:22px}.ym32-empty-message>strong{font:400 27px Georgia,serif}.ym32-empty-message>small{font-size:12px;line-height:1.4}
.ym32-canvas-frame canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;box-shadow:0 4px 18px #1111}.ym32-photo-badge{position:absolute;bottom:12px;background:#fff8f0e8;border-radius:14px;padding:9px 12px;color:#75465a;font-size:12px;pointer-events:none}
.ym32-divider{pointer-events:none;position:absolute;top:0;bottom:0;width:2px;background:white;box-shadow:0 0 4px #3e233d66;transition:none}
.ym32-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#854057;box-shadow:0 3px 15px #0003;width:41px;height:41px;font-size:23px}
.ym32-camera-frame video{width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}.ym32-camera-badge{position:absolute;bottom:12px;left:12px;right:12px;text-align:center;background:#fff6eddb;color:#753b55;padding:11px;border-radius:11px;font-size:12px}
.ym32-camera-actions{display:flex;gap:9px;margin-top:12px}.ym32-camera-actions>button{flex:1}
.ym32-compare-tools{margin:14px 0 0;display:flex;align-items:center;justify-content:center}
.ym32-toggle{display:flex;border-radius:999px;background:#f2e5e8;padding:4px;gap:3px}.ym32-toggle button{background:transparent;border:0;color:#866273;min-height:35px;border-radius:30px;padding:7px 12px;font-size:12px;font-weight:750;cursor:pointer}.ym32-toggle button.active{background:#fff;color:#76465a;box-shadow:0 2px 7px #45203222}
.ym32-compare-range{width:100%;margin:13px auto 5px;accent-color:#9e5973;cursor:ew-resize}
.ym32-viewer-foot{padding:14px 9px 7px}.ym32-viewer-foot p{color:#90747f;font-size:11px;line-height:1.55;margin:12px 0 0}.ym32-quality{font-size:11px;line-height:1.55;color:#805e6e;background:#f8ecef;border-radius:10px;padding:10px;margin-top:11px}
.ym32-clothes-notice{border:1px solid #eddae0;background:#fcf6f5;padding:20px;border-radius:18px;text-align:center}.ym32-clothes-icon{font-size:32px;color:#a0687a}.ym32-clothes-notice h3{font:500 23px Georgia,serif;margin:8px 0;color:#683d4f}.ym32-clothes-notice p{font-size:13px;line-height:1.65;color:#836573}
.ym32-privacy{display:grid;gap:5px;border-top:1px solid #ebd8dc;margin:26px auto 0;padding:18px 8px 0;color:#8b7080;font-size:11px;line-height:1.5}.ym32-privacy strong{font-weight:650}.ym32-privacy span{opacity:.86}
.ym32-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:820px){.ym32{padding:23px 14px 84px}.ym32-header{text-align:left;margin-bottom:17px}.ym32-header h1{font-size:39px}.ym32-header>p{font-size:13px}.ym32-tabs{width:100%;margin-bottom:14px}.ym32-tabs .ym32-chip{min-width:0;flex:1;padding:11px 8px}.ym32-grid{grid-template-columns:1fr;gap:14px}.ym32-viewer{position:static;grid-row:1;padding:9px}.ym32-editor{grid-row:2;gap:12px}.ym32-frame{height:min(55vh,490px);min-height:280px}.ym32-card{padding:18px}.ym32-card h2{font-size:21px;margin-bottom:14px}.ym32-overline{font-size:9px;letter-spacing:.14em}.ym32-promise{display:none}.ym32-viewer-head{padding-bottom:9px}.ym32-viewer-foot{padding-top:10px}.ym32-empty-message>strong{font-size:23px}}
@media(max-width:370px){.ym32{padding-inline:9px}.ym32-card{padding:14px}.ym32-file-actions>button,.ym32-file-actions>label{min-width:105px}.ym32-tab .ym32-chip{font-size:11px}.ym32-chosen{overflow-wrap:anywhere}.ym32-frame{min-height:260px}.ym32-toggle button{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){.ym32 button{transition:none}}

/* v3.3 additive progressive enhancements: preserve the approved editorial palette. */
.ym33-color-label{margin:14px 0 2px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#795766;font-size:12px;font-weight:700}
.ym33-color-label input{border:1px solid #e8cbd4;width:66px;height:42px;background:#fff;border-radius:12px;cursor:pointer;padding:4px}
.ym33-calibration{padding-top:17px}.ym33-calibration .ym32-hint{margin:0 0 11px}
.ym33-ear-visibility{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:5px 0 17px}
.ym33-recenter{margin-top:15px;width:100%}
.ym33-look-card .ym32-hint{margin:0 0 14px}
.ym33-looks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ym33-look-slot{border:1px solid #eed9dc;background:#fff;border-radius:15px;padding:12px;min-width:0}
.ym33-slot-title{display:block;font-weight:750;color:#86485f;font-size:13px;margin-bottom:10px}
.ym33-slot-actions{display:flex;flex-wrap:wrap;gap:6px}
.ym33-slot-actions button{flex:1;min-width:66px;padding:7px 9px;min-height:38px;font-size:11px}
.ym33-export-row{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.ym33-export-row .ym32-download{flex:2;min-width:170px;width:auto}
.ym33-export-row .ym32-tertiary{flex:1;min-width:120px}
.ym33-compare-labels{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}
.ym33-compare-labels span{font-size:10px;font-weight:750;color:#674357;background:rgba(255,248,248,.88);padding:6px 10px;border-radius:999px}
.ym33-expand-button{cursor:pointer;margin-left:auto;border:1px solid #e9d5df;background:#fff;color:#814a61;font-weight:700;padding:8px 11px;min-height:37px;border-radius:10px;font-size:12px}
.ym33-front-camera video{transform:scaleX(-1)}.ym33-rear-camera video{transform:none}
.ym33-expanded{position:fixed!important;inset:0!important;z-index:100000;background:#fff9f6!important;border-radius:0!important;display:flex;flex-direction:column;overflow-y:auto;max-height:100dvh;padding:16px;box-sizing:border-box}
.ym33-expanded .ym32-frame{height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 auto;max-width:100%;min-height:150px!important}
.ym33-expanded .ym32-canvas-frame canvas{max-height:calc(100dvh - 250px)}
.ym33-expanded .ym32-viewer-foot{flex-shrink:0}
.ym33-expanded .ym32-compare-tools{margin-top:10px}
.ym33-expanded .ym32-compare-range{margin-bottom:2px}
@media(max-width:820px){.ym32-compare-tools .ym32-toggle{max-width:100%;flex-wrap:wrap;justify-content:center}.ym32-toggle button{padding:7px 9px}.ym33-looks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ym33-export-row .ym32-download{min-width:150px}.ym33-export-row .ym32-tertiary{min-width:90px}.ym33-expanded{padding:8px 10px}.ym33-expanded .ym32-viewer-head{padding:0 2px 8px}.ym33-expanded .ym32-frame{min-height:130px!important}.ym33-expanded .ym32-canvas-frame canvas{max-height:calc(100dvh - 265px)}}
@media(max-width:370px){.ym33-looks-grid{grid-template-columns:1fr}.ym33-export-row{flex-direction:column}.ym33-export-row button{width:100%}}

body.ym33-modal-open{overflow:hidden!important}

.ym33-save-compare{width:100%;flex:1 1 100%!important}
