:root{font-family:Arial,Helvetica,sans-serif;color:#202322;background:#e0e3df;font-synthesis:none;--muted:#858b85;--accent:#e1ed73}*{box-sizing:border-box}body{margin:0;min-height:100svh;padding:22px 38px 30px;background:radial-gradient(ellipse at 18% 0,#f4f1e8 0,transparent 45%),radial-gradient(ellipse at 100% 100%,#bfcbbf 0,transparent 50%),#e0e3df}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #7b8d41;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}.draft-bar{max-width:1450px;margin:0 auto 14px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.03em;color:#626860}.draft-bar a{color:inherit;text-decoration:none}.draft-bar a span{margin-left:7px}.fitting-window{max-width:1450px;margin:auto;border:1px solid #ffffffc9;border-radius:30px;background:#eff0ed;box-shadow:0 24px 70px #3a49331b,0 0 0 6px #ffffff30;overflow:hidden}.header{height:91px;display:flex;align-items:center;padding:0 36px;border-bottom:1px solid #dce0d9;background:#f5f5f2c9;gap:24px}.brand{text-decoration:none;color:#161a17;font-size:25px;font-weight:900;letter-spacing:-1.4px;white-space:nowrap}.brand sup{font-size:9px;position:relative;top:-9px;letter-spacing:0;margin-left:3px}.brand-caption{font-size:10px;line-height:1.5;color:#71776f;border-left:1px solid #c8cec4;padding-left:23px}.header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.icon-button{background:none;border:0;padding:3px}.icon-button svg{width:25px;height:25px}.profile-button{display:flex;align-items:center;gap:10px;border:1px solid #d7dbd1;background:#fff7;padding:10px 17px;border-radius:30px;font-size:12px}.profile-button svg{width:19px;height:19px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 306px;min-height:655px;padding:27px 28px 22px;gap:23px}.canvas-area{position:relative;min-width:0;min-height:610px;border-radius:20px;background:radial-gradient(ellipse at 65% 45%,#ffffffa6,transparent 65%);isolation:isolate}.intro{position:relative;z-index:2;width:280px;padding:12px 9px;pointer-events:none}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;margin:0 0 19px;color:#70766d}h1{font-size:45px;font-weight:500;letter-spacing:-2.3px;line-height:1.07;margin:0 0 17px}h1 span{color:#848d80}.intro-copy{font-size:12px;max-width:205px;line-height:1.65;color:#81877e;margin:0 0 24px}.mode-switch{display:flex;width:max-content;padding:4px;background:#e2e5df;border-radius:26px;pointer-events:auto}.mode-switch button{padding:9px 17px;border:0;border-radius:22px;background:transparent;font-size:11px;color:#767d72}.mode-switch button.selected{background:#30372e;color:white;box-shadow:0 3px 6px #1a241522}.view-button{position:absolute;right:7px;top:9px;z-index:5;background:#ffffffb3;border:1px solid #fff;border-radius:25px;display:flex;align-items:center;gap:6px;padding:9px 11px;font-size:10px;color:#737a6c}.view-button svg{width:17px;height:17px}.person-stage{position:absolute;inset:20px 0 115px 160px;display:flex;align-items:center;justify-content:center;overflow:hidden}.person-stage img{width:100%;height:100%;object-fit:contain;transition:transform .18s ease;transform-origin:50% 50%}.person-stage img[hidden]{display:none}.photo-upload{display:flex;align-items:center;flex-direction:column;gap:13px;border:0;background:none;padding:20px;color:#71796b}.upload-symbol{width:89px;height:89px;border:1px solid #fff;border-radius:28px;background:linear-gradient(135deg,#ffffffdb,#f0f2ecc9);box-shadow:8px 12px 25px #b3bbb341,-6px -6px 18px #ffffffb8;display:grid;place-items:center;color:#364030;margin-bottom:8px}.upload-symbol svg{width:35px;height:35px;stroke-width:1.1}.photo-upload strong{font-size:15px;font-weight:500;color:#3f4739}.photo-upload>span:last-child{font-size:10px}.replace-photo{position:absolute;top:42px;right:10px;background:#fff9;border:1px solid #fff;padding:8px 13px;border-radius:20px;font-size:10px;z-index:4}.zoom-controls{position:absolute;left:10px;bottom:163px;display:flex;flex-direction:column;align-items:center;gap:9px;color:#8b9283;z-index:4}.zoom-controls button{border:1px solid #fff;background:#ffffffb8;width:30px;height:30px;border-radius:50%;font-size:20px;font-weight:300;color:#525c46}.zoom-controls span{font-size:8px}.wardrobe{position:absolute;bottom:0;left:0;right:0;z-index:5;padding:15px 18px 16px;border-radius:23px;border:1px solid #fff;background:#ffffff9c;backdrop-filter:blur(20px)}.wardrobe-heading{display:flex;justify-content:space-between;margin:0 2px 12px;font-size:11px;font-weight:600}.muted{color:#939a8b;font-size:10px;font-weight:400}.garment-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 4px}.garment-strip button{height:89px;min-width:89px;border:1px solid #f9faf7;border-radius:16px;background:#f0f2ed;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px}.garment-strip .add-garment{background:#ffffffa1;line-height:1.4;border:1px dashed #c8d0bf}.add-garment svg{width:25px;height:25px}.category-tile>svg{width:42px;height:48px;stroke-width:1.7;color:#9da68f}.garment-strip .uploaded-tile{padding:6px;position:relative}.uploaded-tile img{width:74px;height:65px;object-fit:contain;border-radius:8px}.uploaded-tile.active{border-color:#99a875}.details{display:flex;flex-direction:column;gap:18px;padding-top:2px}.selection-panel{background:#ffffffd9;border:1px solid #fff;padding:23px 22px 19px;border-radius:23px;box-shadow:0 5px 19px #4c5e3a04}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel-title h2{font-size:18px;font-weight:500;letter-spacing:-.5px;margin:0}.small-tag{background:#f0f2eb;border-radius:20px;padding:5px 7px;font-size:9px;color:#939b86}.panel-description{font-size:11px;line-height:1.6;color:#949b8d;margin:11px 0 22px}.selected-garment{display:flex;gap:13px;align-items:center;margin-bottom:24px;min-height:85px}.selected-garment strong{font-size:11px;font-weight:500}.selected-garment p{font-size:10px;line-height:1.6;color:#969d8c;margin-top:7px}.garment-empty{background:#f0f2eb;min-width:68px;height:83px;border-radius:14px;display:grid;place-items:center;color:#a7af9d}.selected-garment img{width:68px;height:83px;object-fit:contain;background:#f0f2eb;border-radius:14px}.field-label{display:block;font-size:10px;margin-bottom:8px;color:#7e8771}select{width:100%;border:1px solid #eceee6;padding:11px;border-radius:11px;background:#f5f6f1;color:#58614b;font-size:11px}.try-button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:var(--accent);border-radius:14px;width:100%;padding:14px 12px;margin-top:18px;color:#353e21;font-size:12px;font-weight:500}.try-button svg{width:18px;height:18px}.try-button:disabled{opacity:.5}.gentle-note{font-size:9px;line-height:1.6;text-align:center;color:#a0a792;margin:13px -6px 0}.tips-panel{position:relative;background:#e4e8dc;border:1px solid #e9ede2;border-radius:22px;padding:22px;overflow:hidden}.tip-number{font-size:8px;letter-spacing:1.4px;color:#8c967e}.tips-panel h3{font-size:26px;font-weight:400;line-height:1.12;letter-spacing:-1px;margin:15px 0 12px}.tips-panel p{font-size:11px;line-height:1.6;color:#859075;max-width:200px;margin:0}.tips-panel>svg{position:absolute;right:22px;top:50px;color:#9aa98a;width:30px;height:30px}.local-note{font-size:9px;color:#848d78;line-height:1.9;padding:0 7px;position:relative}.local-note>span:last-child{font-size:9px;color:#a0a68f;padding-left:12px}.status-dot{display:inline-block;width:5px;height:5px;background:#96a26a;border-radius:50%;margin-right:6px}.bottom-nav{display:flex;align-items:center;margin:0 28px 24px;background:#ffffffc4;border:1px solid #fff;border-radius:22px;padding:7px;gap:6px}.bottom-nav button{flex:1;display:flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:16px;padding:16px 7px;background:none;color:#747e67;font-size:11px}.bottom-nav button svg{width:20px;height:20px}.bottom-nav .active{background:#343e2e;color:#fff}.bottom-nav b{display:inline-grid;place-items:center;min-width:17px;height:17px;background:#e8eddf;border-radius:50%;font-size:9px;margin-left:5px;font-weight:500}dialog{width:min(420px,calc(100% - 30px));border:1px solid white;border-radius:25px;padding:32px;background:#f9faf5;color:#343c2d;box-shadow:0 20px 80px #18230e35}dialog::backdrop{background:#242c225c;backdrop-filter:blur(7px)}dialog h2{font-size:26px;font-weight:500;letter-spacing:-.7px;margin:8px 0 14px}dialog p{font-size:13px;color:#7a8370;line-height:1.7}dialog input{display:block;margin-top:7px;width:100%;background:white;border:1px solid #dbe1d2;border-radius:10px;padding:12px;color:#343c2d}dialog label{display:block;font-size:12px;margin-top:17px}.dialog-close{position:absolute;right:16px;top:16px;border:0;background:transparent}.dialog-close svg{width:18px;height:18px}.auth-caption{font-size:11px!important}#auth-error{color:#a44332;font-size:11px}.text-button{display:block;border:0;background:none;margin:20px auto 0;color:#64714c;font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;background:#303b28;color:#fff;padding:14px 20px;border:1px solid #59674b;border-radius:17px;width:max-content;max-width:calc(100% - 30px);font-size:12px;line-height:1.6;box-shadow:0 8px 30px #26311b35}button:hover:not(:disabled){filter:brightness(.97)}[hidden]{display:none!important}
@media(min-width:1550px){.workspace{min-height:720px}.canvas-area{min-height:660px}.person-stage{left:200px;right:25px}.wardrobe{left:50px;right:25px}.intro{padding:23px 14px}h1{font-size:52px}.details{padding-top:15px}}
@media(max-width:1100px){body{padding:20px}.header{padding:0 26px}.workspace{grid-template-columns:minmax(0,1fr) 270px;padding:22px;gap:15px}.intro{width:210px}h1{font-size:35px;letter-spacing:-1.7px}.intro-copy{max-width:170px}.person-stage{left:80px;top:90px}.view-button span{display:none}.bottom-nav{margin-left:22px;margin-right:22px}.selection-panel{padding:21px 18px}}
@media(max-width:900px){body{padding:12px 10px 18px}.draft-bar{font-size:8px;padding:0 4px;margin-bottom:10px}.fitting-window{border-radius:23px}.header{height:73px;padding:0 18px;gap:10px}.brand{font-size:19px;letter-spacing:-1px}.brand sup{font-size:7px;top:-6px}.brand-caption{display:none}.header-actions{gap:15px}.header-actions svg{width:21px;height:21px}.profile-button{padding:6px;border:0;background:none}.profile-button span{display:none}.workspace{display:flex;flex-direction:column;padding:18px 13px 13px;gap:14px;min-height:0}.canvas-area{min-height:540px}.intro{padding:0 5px;width:100%}.eyebrow{font-size:8px;letter-spacing:1.1px;margin-bottom:12px}h1{font-size:34px;line-height:1.05;margin-bottom:10px}h1 br{display:none}h1 span{display:block}.intro-copy{font-size:11px;max-width:230px;margin-bottom:15px}.mode-switch{margin-top:12px}.mode-switch button{padding:8px 15px;font-size:10px}.view-button{top:0;right:0;width:30px;height:30px;padding:6px}.person-stage{inset:160px 12px 132px 33px}.photo-upload{gap:8px}.upload-symbol{width:70px;height:70px;border-radius:22px;margin:0 0 3px}.upload-symbol svg{width:29px;height:29px}.photo-upload strong{font-size:12px}.photo-upload>span:last-child{font-size:8px}.wardrobe{padding:13px 12px 10px;border-radius:20px}.wardrobe-heading{font-size:10px;margin-bottom:8px}.muted{font-size:8px}.garment-strip{gap:8px}.garment-strip button{min-width:76px;height:77px;font-size:9px;border-radius:13px}.category-tile>svg{width:34px;height:40px}.zoom-controls{left:2px;bottom:166px;gap:7px}.zoom-controls button{width:25px;height:25px;font-size:18px}.zoom-controls span{font-size:7px}.details{gap:12px}.selection-panel{padding:18px}.panel-title h2{font-size:16px}.panel-description{font-size:10px;margin:8px 0 14px}.selected-garment{margin-bottom:15px;min-height:65px}.garment-empty,.selected-garment img{min-width:54px;width:54px;height:65px}.selected-garment strong{font-size:11px}.selected-garment p{font-size:9px;margin:5px 0}.field-label{font-size:9px}.selection-panel select{padding:10px}.try-button{padding:13px;margin-top:12px}.gentle-note{font-size:8px;margin-top:10px}.tips-panel{display:none}.local-note{font-size:8px;display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:0 3px}.local-note br{display:none}.local-note>span:last-child{font-size:8px;padding-left:0}.bottom-nav{margin:0 12px 13px;gap:0;padding:5px;border-radius:18px}.bottom-nav button{flex-direction:column;gap:7px;padding:10px 2px;border-radius:13px;font-size:8px;min-height:58px}.bottom-nav button svg{width:19px;height:19px}.bottom-nav b{min-width:12px;height:12px;font-size:7px;margin-left:1px}.replace-photo{top:0;right:5px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(min-width:901px) and (max-height:850px){body{padding:14px 24px}.header{height:74px}.workspace{height:calc(100svh - 205px);min-height:440px;padding:20px 22px}.canvas-area{min-height:0}.intro{width:310px}h1{font-size:39px;letter-spacing:-1.8px}.details{gap:12px}.tips-panel{display:none}.selection-panel{padding:20px}.bottom-nav{margin:0 22px 16px}.bottom-nav button{padding:12px 7px}}
@media(min-width:901px){.zoom-controls{left:auto;right:14px}}
@media(max-width:900px){body{padding-bottom:90px}.bottom-nav{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:22px;right:22px;margin:0;z-index:20;backdrop-filter:blur(20px);box-shadow:0 6px 30px #59664b20}}
.view-button{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.garment-strip{scrollbar-width:none}.garment-strip::-webkit-scrollbar{display:none}.selected-garment>div{min-width:0}.selected-garment strong{display:block;overflow-wrap:anywhere}


/* Wardrobe v2 */
.intro{width:290px}.mode-switch button{white-space:nowrap}.person-stage{inset:15px 0 155px 220px}.replace-photo{right:10px;top:52px}.canvas-area{min-height:630px}.wardrobe{padding:14px 16px 12px}.wardrobe-heading{margin-bottom:10px}.garment-strip{touch-action:pan-x pan-y;min-height:112px;align-items:center;white-space:pre-line;overscroll-behavior-x:contain}.garment-strip button{flex-shrink:0;min-width:102px;height:109px}.garment-strip .add-garment{width:102px}.strip-hint{font-size:11px;color:#969d8d;line-height:1.6;margin:0 16px}.garment-strip .garment-card{width:112px;position:relative;padding:5px;gap:3px;overflow:hidden;border:1px solid #e1e6db;background:#f4f6f0}.garment-card.active{border-color:#859563;box-shadow:0 0 0 1px #859563}.card-preview{width:100%;height:65px;display:flex;justify-content:center;align-items:center;gap:1px}.card-preview img{width:100%;min-width:0;height:100%;object-fit:contain;flex:1}.card-label{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-status{font-size:7px;color:#84916f;line-height:1.2;max-width:100%}.garment-card.ready .card-status{color:#516d32}.garment-card.processing::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,#ffffffa6 42%,#e2f1a877 52%,transparent 80%);transform:translateX(-130%);animation:card-scan 2.2s linear infinite;pointer-events:none}.garment-card.processing .card-preview{animation:breathe 2.2s ease-in-out infinite}.stage-wait{max-width:260px;text-align:center;padding:10px;line-height:1.5}.stage-wait strong{font-size:14px;font-weight:500;display:block;margin-top:20px}.stage-wait p{font-size:11px;line-height:1.7;color:#959d8b;margin:9px 0}.stage-orbit{width:72px;height:72px;border:1px solid #fff;background:#ffffff85;border-radius:24px;display:inline-grid;place-items:center;box-shadow:7px 9px 30px #87917a14;color:#a4b184}.stage-orbit svg{width:30px;height:30px}.stage-wait.working .stage-orbit{animation:breathe 2s ease-in-out infinite}.selected-garment{margin-bottom:14px}.item-status{font-size:11px;line-height:1.65;color:#7a856d;min-height:0;margin:10px 0 0}.selected-garment>div{min-width:0}.selected-garment strong{overflow-wrap:anywhere;display:block}.category-choice p{font-size:11px;color:#7a856d}.category-choice button{border:1px solid #d8decf;border-radius:12px;background:#f5f7ed;padding:9px 12px;margin-right:5px;font-size:11px}.outfit-slots{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.outfit-slot{min-width:0;position:relative}.slot-button{width:100%;height:115px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px dashed #cad3bd;background:#f5f7f0;border-radius:15px;font-size:11px}.slot-button img{width:100%;height:72px;object-fit:contain}.slot-plus{font-size:28px;font-weight:300;color:#8c9a79}.remove-slot{position:absolute;right:-4px;top:-5px;width:24px;height:24px;border:1px solid #fff;border-radius:50%;background:#363f2d;color:white;font-size:17px}.gentle-note{line-height:1.6}.local-note p{font-size:9px;line-height:1.6;margin:2px 0;color:#9ca38e}.zoom-controls{bottom:195px}.view-button{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.garment-strip{scrollbar-width:none}.garment-strip::-webkit-scrollbar{display:none}.toast{z-index:220}.crop-tools{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.crop-tools button{background:#edf1e5;border:1px solid #dbe2ce;border-radius:10px;font-size:11px;padding:9px 11px}#crop-dialog{width:min(630px,calc(100% - 24px));max-height:94svh;overflow:auto;padding:26px}#crop-dialog h2{font-size:24px;margin-bottom:6px}#crop-dialog .crop-help{font-size:11px;line-height:1.5;margin:8px 0 14px}#crop-canvas{display:block;max-width:100%;max-height:48svh;width:auto;height:auto;margin:0 auto;border-radius:12px;touch-action:none;cursor:crosshair;background:#d9ded5}#crop-error{color:#a44332;font-size:11px}.crop-ranges{font-size:11px;margin-top:15px}.crop-ranges summary{cursor:pointer;color:#71825b}.crop-ranges label{display:inline-block;width:48%;margin:10px 1% 0}.crop-ranges input{padding:0;accent-color:#879c4e;border:0}.dialog-close{font-size:25px}.local-note{display:block}
@keyframes card-scan{to{transform:translateX(130%)}}@keyframes breathe{50%{opacity:.6}}
@media(min-width:1550px){.person-stage{left:240px}.canvas-area{min-height:660px}}
@media(min-width:901px) and (max-height:850px){.canvas-area{min-height:0}.person-stage{left:225px;bottom:150px}.intro{width:280px}h1{font-size:36px}.intro-copy{max-width:200px}.workspace{height:calc(100svh - 205px);min-height:490px}}
@media(min-width:901px) and (max-width:1100px){.intro{width:245px}.person-stage{left:155px;top:115px}.mode-switch button{padding:9px 12px}.view-button{right:0}.replace-photo{right:0;font-size:9px}}
@media(max-width:900px){.canvas-area{min-height:620px}.intro{width:100%;padding-right:25px}h1{font-size:34px}.intro-copy{max-width:245px;margin-bottom:12px}.mode-switch button{font-size:10px;padding:9px 13px}.person-stage{inset:170px 0 150px}.wardrobe{padding:13px 11px 10px}.garment-strip{min-height:104px;gap:8px}.garment-strip button{min-width:98px;height:101px}.garment-strip .garment-card{width:105px}.garment-strip .add-garment{width:98px}.card-preview{height:59px}.card-label{font-size:9px}.card-status{font-size:7px}.strip-hint{font-size:10px;margin-left:8px}.replace-photo{right:7px;top:165px;font-size:8px;padding:7px 10px}.view-button{top:5px;right:0}.zoom-controls{bottom:175px;left:0;right:auto}.stage-wait strong{font-size:13px}.stage-wait p{font-size:10px}.selection-panel{padding:19px}.panel-description{font-size:11px;line-height:1.7}.slot-button{height:105px}.slot-button img{height:65px}.local-note{font-size:9px;padding:2px 6px}.local-note p{font-size:8px}.toast{bottom:95px}#crop-dialog{padding:23px 18px}#crop-dialog h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*::after{animation:none!important;transition:none!important}}

/* Mobile v4: touch controls, compact heading and more room for the model. */
.outfit-config-button{display:none!important}
@media(max-width:900px){
  body{padding:10px 8px calc(94px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}
  .draft-bar{font-size:9px;line-height:1.5;margin:0 5px 9px;gap:8px}.draft-bar a{white-space:nowrap}
  .header{height:62px;padding:0 12px;gap:8px}.brand{font-size:clamp(16px,4.8vw,21px);letter-spacing:-.9px}.header-actions{gap:0}
  .header-actions>button{width:42px;height:44px;min-width:42px;display:grid;place-items:center;padding:10px}.header-actions svg{width:21px;height:21px}
  .workspace{padding:15px 12px 12px;gap:16px}.canvas-area{height:calc(100svh - 205px);min-height:550px}
  .intro{padding:0 4px;width:100%;padding-right:42px}.intro .eyebrow,.intro-copy{display:none}
  h1{font-size:27px;line-height:1.12;letter-spacing:-1px;margin:0 0 12px}h1 span{display:inline;margin-left:4px}h1 br{display:none}
  .mode-switch{margin:0;max-width:100%;padding:4px}.mode-switch button{min-height:40px;padding:8px 16px;font-size:12px}
  .person-stage{inset:108px 0 151px}.view-button{top:0;right:0;width:42px;height:44px;min-width:42px;padding:11px}.view-button svg{width:20px;height:20px}
  .replace-photo{top:98px;right:0;min-height:36px;padding:7px 11px;font-size:10px;max-width:140px}
  .zoom-controls{left:0;right:auto;bottom:177px;gap:4px}.zoom-controls button{width:38px;height:38px;font-size:23px}.zoom-controls span{font-size:9px}
  .wardrobe{padding:12px 10px 10px}.wardrobe-heading{font-size:12px;margin-bottom:9px}.muted{font-size:10px}
  .garment-strip{gap:8px;min-height:106px;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding:2px}
  .garment-strip button{scroll-snap-align:start;min-width:99px;height:105px}.garment-strip .garment-card{width:111px}.garment-strip .add-garment{font-size:11px}
  .card-preview{height:61px}.card-label{font-size:11px}.card-status{font-size:9px}.strip-hint{font-size:11px;line-height:1.6}
  .garment-strip .outfit-config-button:not([hidden]){display:flex!important;min-width:107px;max-width:107px;background:#e5edc8;border:1px dashed #b5c38d;font-size:11px;line-height:1.4}
  .selection-panel{padding:20px;scroll-margin-top:15px}.panel-title{gap:10px}.panel-title h2{font-size:18px;overflow-wrap:anywhere}.small-tag{white-space:nowrap}
  .panel-description,.item-status{font-size:12px;line-height:1.65}.selected-garment strong{font-size:13px}.selected-garment p{font-size:11px}
  .slot-button{min-height:114px;font-size:13px}.remove-slot{width:32px;height:32px;font-size:22px;right:-4px;top:-6px}
  .try-button,.category-choice button{min-height:46px;font-size:14px}.gentle-note{font-size:10px}.local-note,.local-note p{font-size:10px}
  .bottom-nav{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(9px,env(safe-area-inset-bottom));padding:5px;gap:0}
  .bottom-nav button{min-width:0;min-height:60px;padding:9px 1px;gap:6px;font-size:10px;line-height:1.15}.bottom-nav button span{overflow-wrap:anywhere}.bottom-nav button svg{width:21px;height:21px}
  dialog{max-height:calc(100svh - 30px);overflow:auto;padding:27px 22px}dialog input,dialog select{font-size:16px;min-height:44px}.dialog-close{width:44px;height:44px;top:5px;right:5px;display:grid;place-items:center;font-size:28px}
  #crop-dialog{padding:24px 17px}#crop-canvas{max-height:42svh}.crop-tools button{min-height:44px;font-size:12px}.crop-ranges summary{padding:8px 0}.crop-ranges label{font-size:12px}.crop-ranges input{min-height:32px}
  .toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:13px}
  
}
@media(max-width:370px){h1{font-size:24px}.intro{padding-right:35px}.header-actions>button{min-width:38px;width:38px}.header{padding:0 10px}.mode-switch button{font-size:11px;padding:8px 12px}.bottom-nav button{font-size:9px}}
@media(max-width:900px) and (max-height:520px){.canvas-area{height:600px;min-height:600px}.person-stage{inset:105px 0 150px}}

/* Crop gestures v5 */
.crop-surface{position:relative;display:flex;justify-content:center;isolation:isolate;overflow:hidden;border-radius:13px;background:#d9ded5}
#crop-canvas{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#crop-canvas.dragging{cursor:grabbing}
.pinch-coach{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:165px;border:1px solid #ffffff40;border-radius:21px;background:#26372f3d;box-shadow:0 6px 24px #18261e12;color:#fff;pointer-events:none;text-align:center;padding:3px 10px 14px;opacity:.83}
.pinch-coach svg{display:block;width:140px;height:78px;margin:auto;fill:#ffffffa8;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;overflow:visible}
.pinch-coach span{font-size:11px;line-height:1.5;text-shadow:0 1px 5px #17281b80;display:block}
.pinch-coach .pinch-touch{fill:#e1ed733d;stroke:#ffffff80;stroke-dasharray:3 3}
.pinch-coach .pinch-track{fill:none;stroke:#ffffff65;stroke-width:1.2}
.pinch-finger-left{animation:coach-spread-left 4s ease-in-out 2}
.pinch-finger-right{animation:coach-spread-right 4s ease-in-out 2}
.crop-zoom-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin:11px 0 4px}
.crop-zoom-controls button{width:44px;height:40px;padding:0;border:1px solid #dce2d2;background:#f0f4e8;border-radius:12px;font-size:25px;font-weight:400;line-height:1}
.crop-zoom-controls button:disabled{opacity:.35;cursor:default}
.crop-zoom-controls output{min-width:48px;text-align:center;font-size:12px;color:#6e7c60;font-variant-numeric:tabular-nums}
#crop-dialog .crop-gesture-hint{margin:4px 0 10px;font-size:11px;line-height:1.6;text-align:center;color:#7b886c}
@keyframes coach-spread-left{0%,100%{transform:translate(0,0)}40%,60%{transform:translate(-22px,-7px)}}
@keyframes coach-spread-right{0%,100%{transform:translate(0,0)}40%,60%{transform:translate(22px,7px)}}
@media(max-width:900px){#crop-canvas{max-height:36svh}.crop-zoom-controls{margin-top:9px;gap:20px}.crop-zoom-controls button{height:44px}.crop-tools{margin-top:6px}.crop-ranges{margin-top:8px}.pinch-coach{width:155px;padding-bottom:12px}.pinch-coach svg{width:130px;height:73px}}
@media(prefers-reduced-motion:reduce){.pinch-finger-left,.pinch-finger-right{animation:none!important}.pinch-finger-left{transform:translate(-15px,-4px)}.pinch-finger-right{transform:translate(15px,4px)}}

/* Crop workspace v6: full-screen editor with a compact, touch-friendly dock. */
.crop-header{position:relative}
.crop-footer .crop-actions{display:contents}
.crop-footer #crop-error:empty{display:none}
@media(max-width:900px){
  html:has(#crop-dialog[open]),body:has(#crop-dialog[open]){overflow:hidden}
  #crop-dialog{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100svh;height:100dvh;max-height:none;border:0;border-radius:0;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden}
  #crop-dialog[open]{display:flex;flex-direction:column;gap:10px}
  #crop-dialog .crop-header{flex:none;padding-right:42px}
  #crop-dialog .crop-header .eyebrow{display:none}
  #crop-dialog h2{font-size:21px;line-height:1.2;margin:0 0 5px;letter-spacing:-.5px}
  #crop-dialog .crop-help{font-size:12px;line-height:1.4;margin:0;color:#75806b}
  #crop-dialog .dialog-close{position:absolute;top:-5px;right:-6px;width:48px;height:48px;border-radius:14px;background:#edf1e5}
  #crop-dialog .crop-surface{flex:1 1 0;min-height:0;width:100%;align-items:center;border-radius:18px;background:#e2e6de;touch-action:none;user-select:none;-webkit-user-select:none}
  #crop-dialog #crop-canvas{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:0;flex:none}
  #crop-dialog .crop-footer{flex:none;max-height:48%;overflow:auto;overscroll-behavior:contain;padding:0 1px 1px;display:flex;flex-direction:column;gap:8px}
  #crop-dialog .crop-quick-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
  #crop-dialog .crop-gesture-hint{margin:0;max-width:160px;font-size:11px;line-height:1.4;text-align:left}
  #crop-dialog .crop-zoom-controls{flex:none;gap:2px;margin:0;padding:2px;border:1px solid #dce2d2;border-radius:15px;background:#edf1e5}
  #crop-dialog .crop-zoom-controls button{width:48px;height:48px;min-height:48px;border:0;background:#f9faf5;border-radius:11px;font-size:27px}
  #crop-dialog .crop-zoom-controls output{min-width:43px;font-size:12px}
  #crop-dialog .crop-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
  #crop-dialog .crop-tools button{min-height:48px;padding:8px 5px;font-size:12px;border-radius:13px}
  #crop-dialog .crop-actions{display:grid;grid-template-columns:minmax(108px,.8fr) minmax(0,1.3fr);gap:8px;align-items:start}
  #crop-dialog .crop-ranges{margin:0;min-width:0}
  #crop-dialog .crop-ranges summary{min-height:48px;display:flex;align-items:center;gap:6px;padding:8px 4px;font-size:11px;list-style:none}
  #crop-dialog .crop-ranges summary::before{content:'+';font-size:19px;line-height:1}
  #crop-dialog .crop-ranges[open]{grid-column:1/-1}
  #crop-dialog .crop-ranges[open] summary::before{content:'−'}
  #crop-dialog .crop-ranges[open]~#crop-save{grid-column:1/-1}
  #crop-dialog .crop-ranges label{font-size:12px;margin-top:0}
  #crop-dialog .crop-ranges input{min-height:44px}
  #crop-dialog #crop-error:not(:empty){grid-column:1/-1;margin:0;font-size:12px}
  #crop-dialog #crop-save{margin:0;min-height:48px;padding:10px 8px;border-radius:13px;font-size:14px}
}
@media(max-width:900px) and (orientation:landscape) and (max-height:600px){
  #crop-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) 270px;grid-template-rows:auto minmax(0,1fr);column-gap:14px;row-gap:8px}
  #crop-dialog .crop-header{grid-column:1/-1;min-height:38px;padding-right:52px}
  #crop-dialog h2{font-size:19px;margin-bottom:2px}
  #crop-dialog .crop-help{font-size:11px}
  #crop-dialog .crop-surface{height:100%;grid-column:1;grid-row:2}
  #crop-dialog .crop-footer{grid-column:2;grid-row:2;max-height:100%;align-self:center;width:100%}
  #crop-dialog .crop-gesture-hint{font-size:10px;max-width:110px}
  #crop-dialog .crop-tools{gap:5px}
  #crop-dialog .crop-tools button{font-size:11px}
}

/* Layout v7: soft crop dialog and a larger mobile model preview. */
@media(max-width:900px){
  #crop-dialog{inset:6px;margin:0;width:calc(100% - 12px);height:calc(100svh - 12px);height:calc(100dvh - 12px);border:1px solid #ffffffd9;border-radius:28px;box-shadow:0 14px 60px #18230e40}
  .canvas-area{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:4px;height:calc(100svh - 197px);min-height:558px}
  .intro{grid-row:1}
  h1{font-size:24px;letter-spacing:-1px}
  .person-stage{position:relative;inset:auto;grid-row:2;min-height:0}
  .wardrobe{position:relative;inset:auto;grid-row:3;padding:8px 10px 6px}
  .wardrobe-heading{margin-bottom:6px}
  .garment-strip{min-height:100px}
  .garment-strip button{height:99px}
  .card-preview{height:55px}
  .zoom-controls{bottom:157px}
  
  
}
@media(max-width:370px){h1{font-size:24px}}
@media(max-width:900px) and (max-height:520px){.canvas-area{height:608px;min-height:608px}}

/* Main menu v8 */
.panel-title h2{min-width:0;flex:1;overflow-wrap:anywhere}
.panel-heading-controls{display:flex;align-items:center;gap:7px;flex:none}
.favorite-toggle{width:38px;height:38px;min-width:38px;padding:9px;border:1px solid #ecd9dc;border-radius:50%;background:#fff9f9;display:grid;place-items:center;color:#d64156}
.favorite-toggle svg{width:20px;height:20px}
.favorite-toggle[aria-pressed=true]{color:#d64156;background:#fff0f2;border-color:#f0bec7}
.favorite-toggle[aria-pressed=true] svg{fill:currentColor}
.favorite-toggle:disabled{opacity:.5}
.menu-view{min-height:655px;padding:30px 38px 36px}
.menu-heading{display:flex;align-items:flex-start;gap:24px;margin-bottom:24px}
.menu-heading h1{font-size:35px;margin:2px 0 8px;letter-spacing:-1.4px}
.menu-heading p{font-size:12px;line-height:1.6;color:#859076;margin:0;max-width:520px}
.library-filters{display:flex;gap:6px;margin-bottom:20px;overflow:auto;padding:2px 0}
.library-filters button{min-height:42px;padding:10px 18px;border:1px solid #dde3d4;border-radius:22px;background:#f4f6ef;font-size:12px;white-space:nowrap}
.library-filters .selected{background:#36422e;border-color:#36422e;color:white}
.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:17px}
.library-card{position:relative;min-width:0;background:#f9faf6;border:1px solid #fff;border-radius:22px;overflow:hidden}
.library-open{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:0 0 15px;border:0;background:none;text-align:left;gap:5px}
.library-image{height:255px;display:grid;place-items:center;background:radial-gradient(ellipse,#fff,#e8ede1);padding:10px}
.library-image img{width:100%;height:100%;min-height:0;object-fit:contain}
.library-card-title{font-weight:500;font-size:13px;margin:8px 15px 0;overflow-wrap:anywhere;line-height:1.5}
.library-card-meta{font-size:10px;line-height:1.5;color:#8d987f;margin:0 15px}
.library-heart{position:absolute;top:10px;right:10px;background:#fbfcf4e8;backdrop-filter:blur(10px)}
.secondary-button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border:1px solid #d6dec9;border-radius:14px;background:#f2f5e9;color:#65734e;text-decoration:none;font-size:12px;text-align:center}
.load-more{margin:24px auto 0;min-width:180px}
.menu-empty{max-width:430px;margin:60px auto;padding:24px;text-align:center;line-height:1.6}
.menu-empty h3{font-size:21px;font-weight:500;letter-spacing:-.5px}
.menu-empty p{font-size:13px;color:#8a967d}
.menu-empty .try-button{max-width:200px;margin:24px auto 0}
.menu-empty-icon{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:24px;background:#e8eedb;border:1px solid #fff;color:#87996e}
.menu-empty-icon svg{width:30px;height:30px}
.menu-loading{padding:50px 0;text-align:center;font-size:13px;color:#84916f}
.balance-card{max-width:510px;margin:30px auto 0;padding:35px;border:1px solid white;border-radius:26px;background:#f9fbf4;text-align:center}
.balance-card .eyebrow{margin:0;color:#8a9877}
.balance-amount{font-size:85px;font-weight:400;letter-spacing:-5px;line-height:1.2;margin-top:15px;color:#4b5c38}
.balance-unit{font-size:16px;margin:0;color:#8c9a7b}
.balance-identity{font-size:13px;margin:28px 0 17px;color:#7a8869}
.balance-card .secondary-button{max-width:220px;margin:auto}
.balance-note{max-width:510px;margin:22px auto;line-height:1.7;color:#8b967c;padding:0 12px}
.balance-note h3{font-size:13px;font-weight:500;margin:0 0 7px}
.balance-note p{font-size:11px;margin:5px 0}
#result-dialog{width:min(650px,calc(100% - 24px));padding:26px;max-height:94svh}
.result-heading{display:flex;align-items:center;gap:12px;margin-right:38px}
.result-heading h2{font-size:21px;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}
.result-photo{display:block;width:100%;height:51svh;object-fit:contain;background:radial-gradient(ellipse,#fff,#e7eddf);border-radius:18px;margin-top:20px}
.result-meta{font-size:11px;line-height:1.6;color:#8b967c}
.result-actions{display:flex;gap:8px;flex-wrap:wrap}
.result-actions>*{flex:1}
.result-actions .try-button{margin:0;min-height:46px}
@media(max-width:900px){
  .menu-view{padding:22px 14px 24px;min-height:calc(100svh - 205px)}
  .menu-heading{gap:12px;flex-wrap:wrap;margin-bottom:18px}
  .menu-heading>div{width:100%}
  .menu-heading h1{font-size:29px;margin:0 0 6px;letter-spacing:-1px}
  .menu-heading p{font-size:12px;line-height:1.6}
  .library-filters{gap:5px;margin-bottom:14px}
  .library-filters button{min-height:44px;padding:9px 15px;font-size:12px}
  .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .library-card{border-radius:18px}.library-image{height:215px;padding:6px}
  .library-card-title{font-size:12px;margin:6px 10px 0}.library-card-meta{font-size:10px;margin:0 10px}
  .favorite-toggle{width:44px;height:44px;min-width:44px;padding:11px}
  .library-heart{top:6px;right:6px}
  .panel-heading-controls{gap:4px}.panel-heading-controls .small-tag{font-size:8px}
  .menu-empty{margin:25px auto;padding:18px 8px}
  .menu-empty h3{font-size:20px}
  .balance-card{margin-top:16px;padding:28px 20px}.balance-amount{font-size:78px}
  #result-dialog{padding:24px 17px}.result-heading{margin-right:30px;gap:6px}.result-heading h2{font-size:19px}
  .result-photo{height:48svh;margin-top:16px}.result-actions{flex-direction:column}.result-actions .secondary-button,.result-actions .try-button{min-height:48px}
}
@media(max-width:370px){.menu-view{padding:18px 11px}.library-image{height:178px}.library-filters button{padding:9px 12px}.library-card-title{font-size:11px}}

/* Fitting room v10: the model continues beneath the frosted wardrobe. */
:root{background:#c8cec5}
body{background:radial-gradient(ellipse at 18% 0,#dfe1d6 0,transparent 45%),radial-gradient(ellipse at 100% 100%,#aab9aa 0,transparent 50%),#c8cec5}
.fitting-window{background:#dce1d8}
.canvas-area{overflow:clip;background:radial-gradient(ellipse at 65% 45%,#f2f5eb55,transparent 65%)}
/* Retain the fitting size at 100%; only the zoomed image escapes its old box. */
.person-stage{overflow:visible}
.person-stage img{transform-origin:50% 8%}
.wardrobe{background:rgba(224,231,219,.58);border-color:#ffffffa6;box-shadow:0 12px 32px #42513b12,inset 0 1px 0 #ffffff73;-webkit-backdrop-filter:blur(22px) brightness(.84) saturate(.82);backdrop-filter:blur(22px) brightness(.84) saturate(.82)}
.wardrobe-heading{color:#36412e}
.wardrobe-heading .muted{color:#68755e}
.garment-strip .garment-card{background:#f5f8f0bf;border-color:#ffffffad}
.garment-strip .garment-card.active{border-color:#859563}
.garment-strip .add-garment{background:#ffffff80}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.wardrobe{background:rgba(222,230,216,.9)}}

/* Production v12: thumb reach, account, top-up and legal links. */
.canvas-area{--wardrobe-size:165px}
.view-button{top:auto;right:12px;bottom:calc(var(--wardrobe-size) + 12px);min-height:46px;padding:12px 15px;background:#ffffffd9;color:#45523b;box-shadow:0 4px 16px #3b50371a}
.zoom-controls{left:12px;right:auto;bottom:calc(var(--wardrobe-size) + 24px)}
.clean-view .view-button{position:fixed;left:var(--hold-eye-x);top:var(--hold-eye-y);bottom:auto;right:auto}
.clean-view .interface,.clean-view .bottom-nav{visibility:hidden;pointer-events:none}
.clean-view .canvas-area{overflow:visible}
.clean-view #person-photo{position:fixed;z-index:6;left:var(--hold-photo-left);top:var(--hold-photo-top);width:var(--hold-photo-width);height:var(--hold-photo-height);object-fit:contain;object-position:center;transform:none!important;transition:none}
.clean-view .view-button{z-index:7}
.fitting-window{overflow-anchor:none}
html{scrollbar-gutter:stable}
.legal-footer{max-width:1450px;margin:18px auto 0;display:flex;justify-content:center;gap:10px 22px;flex-wrap:wrap;font-size:11px;line-height:1.6;color:#56634d;text-align:center}
.legal-footer a{color:inherit;text-underline-offset:3px}
.auth-terms{font-size:11px!important;line-height:1.6;margin-top:15px!important;display:flex!important;gap:9px;align-items:flex-start}
.auth-terms[hidden]{display:none!important}
.auth-terms input{width:18px;height:18px;min-height:18px;flex:none;margin:1px 0 0;accent-color:#6d7e49}
.auth-terms a,.payment-terms a{color:#526b38;text-underline-offset:3px}
.account-actions{display:grid;gap:8px;margin:20px 0 12px}
.account-email-form label{margin-top:16px}
.account-email-form button{margin-top:12px}
.form-status{font-size:12px;line-height:1.6;color:#52643e;overflow-wrap:anywhere}
.form-status.error{color:#a44332}
.logout-button{background:#f2e8e3;border-color:#e8d6cc;color:#935b45}
.payment-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:25px}
.payment-pack{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;min-height:102px;background:#e7eecf;border:1px solid #c6d4a8;border-radius:18px;padding:14px 7px;color:#3e512b}
.payment-pack strong{font-size:22px;font-weight:500;white-space:nowrap}
.payment-pack span{font-size:12px;white-space:nowrap}
.payment-pack:disabled{opacity:.55}
.payment-terms{font-size:11px;line-height:1.7;margin:18px 0 0;color:#738361}
.balance-notice{font-size:11px;color:#738361;line-height:1.6;margin:18px 0 0}
@media(max-width:900px){
 .canvas-area{--wardrobe-size:141px}
 .view-button{top:auto;right:8px;bottom:calc(var(--wardrobe-size) + 12px);width:48px;height:48px;min-width:48px;min-height:48px;padding:13px}
 .view-button svg{width:21px;height:21px}
 .zoom-controls{left:0;right:auto;bottom:calc(var(--wardrobe-size) + 26px)}
 .legal-footer{margin:17px 12px 0;gap:9px 16px;font-size:11px}
 .auth-terms input{min-height:18px!important}
 .payment-packages{gap:6px}.payment-pack{padding:12px 3px;border-radius:15px}.payment-pack strong{font-size:20px}.payment-pack span{font-size:11px}
}
/* Neutral ink for navigation and account; an active tab keeps white contrast. */
.bottom-nav button,.profile-button{color:#161616}
.bottom-nav button.active{background:#161616;color:#fff}
.menu-heading,.menu-heading p{color:#161616}
.balance-card,.balance-card .eyebrow,.balance-amount,.balance-unit,.balance-identity,.balance-card .secondary-button,.payment-pack,.payment-terms,.payment-terms a,.balance-notice{color:#161616}
:is(#account-dialog,#auth-dialog,#forgot-dialog,#reset-dialog){color:#161616}
:is(#account-dialog,#auth-dialog,#forgot-dialog,#reset-dialog) :is(.eyebrow,h2,label,input,.secondary-button,.try-button,.text-button,.dialog-close,a){color:#161616}
:is(#account-dialog,#auth-dialog,#forgot-dialog,#reset-dialog) p:not(.error):not(#auth-error){color:#161616}
/* Crop frame stays visible even when the whole image is selected. */
#crop-dialog .crop-surface{padding:22px}
.crop-selection{position:absolute;z-index:2;pointer-events:none;border:2px dashed #fff;filter:drop-shadow(0 1px 1px #0009)}
.crop-grid{position:absolute;inset:0;background:linear-gradient(to right,transparent calc(100% / 3 - .5px),#ffffff66 calc(100% / 3 - .5px),#ffffff66 calc(100% / 3 + .5px),transparent calc(100% / 3 + .5px),transparent calc(200% / 3 - .5px),#ffffff66 calc(200% / 3 - .5px),#ffffff66 calc(200% / 3 + .5px),transparent calc(200% / 3 + .5px)),linear-gradient(to bottom,transparent calc(100% / 3 - .5px),#ffffff66 calc(100% / 3 - .5px),#ffffff66 calc(100% / 3 + .5px),transparent calc(100% / 3 + .5px),transparent calc(200% / 3 - .5px),#ffffff66 calc(200% / 3 - .5px),#ffffff66 calc(200% / 3 + .5px),transparent calc(200% / 3 + .5px))}
#crop-dialog .crop-handle{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;background:none;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}
.crop-handle::after{content:'';width:14px;height:14px;border:2px solid #252525;border-radius:50%;background:white;box-shadow:0 1px 4px #0004}
.crop-handle:focus-visible{outline:2px solid #fff;outline-offset:-7px}
.crop-handle[data-handle="nw"],.crop-handle[data-handle="se"]{cursor:nwse-resize}
.crop-handle[data-handle="ne"],.crop-handle[data-handle="sw"]{cursor:nesw-resize}
.crop-handle[data-handle="n"],.crop-handle[data-handle="s"]{cursor:ns-resize}
.crop-handle[data-handle="e"],.crop-handle[data-handle="w"]{cursor:ew-resize}
dialog .dialog-close:focus-visible{outline:none;box-shadow:none;font-weight:700}
dialog .dialog-close:focus-visible svg{stroke-width:2.2}
/* One crop action; the remaining space belongs to the photo. */
#crop-dialog .crop-footer{display:flex;flex-direction:column;gap:8px;max-height:none;overflow:visible;width:100%;margin-top:12px;padding:0}
#crop-dialog #crop-error{margin:0}
#crop-dialog #crop-error:empty{display:none}
#crop-dialog #crop-save{width:100%;min-height:48px;margin:0;border-radius:14px}
@media(min-width:901px){#crop-dialog #crop-canvas{max-height:60svh}}
@media(max-width:900px){
 #crop-dialog[open]{display:flex;flex-direction:column}
 #crop-dialog .crop-surface{height:auto}
 #crop-dialog .crop-footer{flex:none;align-self:stretch;margin-top:0}
}
/* Silver studio: soft pools of light and shade from the supplied reference. */
:root{
 --silver-studio:radial-gradient(ellipse at 23% 16%,#e1e1e7b3 0,transparent 39%),radial-gradient(ellipse at 86% 19%,#92949d66 0,transparent 34%),radial-gradient(ellipse at 56% 45%,#e5e4e9b8 0,transparent 47%),radial-gradient(ellipse at 13% 66%,#a2a4ae80 0,transparent 36%),radial-gradient(ellipse at 78% 88%,#dedee5c9 0,transparent 40%),linear-gradient(125deg,#b8b9c1,#cfd0d7 48%,#afb0ba);
 background:#bfc0c8
}
body{background-color:#bfc0c8;background-image:var(--silver-studio)}
.fitting-window{background-color:#c5c6ce;background-image:var(--silver-studio);box-shadow:0 24px 70px #30313c24,0 0 0 6px #ffffff30}
.header{background:#f0f0f5ad;border-bottom-color:#c4c5cf}
.canvas-area{background:radial-gradient(ellipse at 62% 42%,#f4f3fa40,transparent 67%)}
.wardrobe{background:#dedee794;border-color:#ffffffa6;box-shadow:0 12px 32px #36374612,inset 0 1px 0 #ffffff73}
.wardrobe-heading{color:#30313a}.wardrobe-heading .muted{color:#62636e}
.garment-strip .garment-card{background:#f4f4f9bf}
.selection-panel,.tips-panel{background:#f3f3f7b3;border-color:#ffffffad}
.bottom-nav{background:#f0f0f5c4}
.legal-footer{color:#555660}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.wardrobe{background:#dedee7ed}}
/* The CapCut cover plays in full; one button opens the already loaded app. */
html.video-intro-open,html.video-intro-open body{overflow:hidden;overscroll-behavior:none}
#video-intro{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100svh;height:100dvh;max-height:none;padding:12px;border:0;border-radius:0;background-color:#bfc0c8;background-image:var(--silver-studio);color:#fff;box-shadow:none;overflow:hidden}
#video-intro[open]{display:grid;place-items:center}
#video-intro::backdrop{background:#bfc0c8;backdrop-filter:none}
#video-intro .video-intro-cover{position:relative;width:min(calc(100vw - 24px),calc((100svh - 24px)*.75));width:min(calc(100vw - 24px),calc((100dvh - 24px)*.75));aspect-ratio:3/4;border:1px solid #ffffffa6;border-radius:22px;overflow:hidden;background:#bebfc5 url('/design/intro-v1/poster.jpg') center/cover no-repeat;box-shadow:0 18px 65px #30313c26}
#video-intro-film{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
#video-intro .video-intro-cover::after{content:'';position:absolute;inset:78% 0 0;pointer-events:none;background:linear-gradient(transparent,#1a1a2226)}
#video-intro-start{position:absolute;z-index:1;left:50%;bottom:4.5%;transform:translateX(-50%);width:min(300px,calc(100% - 40px));min-height:54px;display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 21px;border:0;border-radius:17px;background:#171719ed;color:#fff;font-size:14px;box-shadow:0 5px 20px #0003;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
#video-intro-start:hover{background:#28282a}
#video-intro-start:focus-visible{outline:none;background:#303034}
#outfit-mode{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#outfit-mode.mode-locked{color:#696a73}
#outfit-lock{width:13px;height:13px;stroke-width:1.7}
.balance-credit-details{font-size:12px;line-height:1.6;color:#555660;margin:16px 0 0}
#outfit-access-dialog .try-button{width:100%}
#outfit-access-dialog{color:#161616}
#outfit-access-dialog p{color:#555660}
@media(max-width:700px){#video-intro{padding:8px}#video-intro .video-intro-cover{width:min(calc(100vw - 16px),calc((100svh - 16px)*.75));width:min(calc(100vw - 16px),calc((100dvh - 16px)*.75));border-radius:20px}}
