:root{--ink:#19191d;--muted:#71717d;--line:#e9e9ee;--accent:#7060ee;--paper:#fff;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 12% 10%,#23406c 0,transparent 48%),radial-gradient(ellipse at 90% 95%,#474061 0,transparent 50%),#1c1c20;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,a{font:inherit;-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #7765ed;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.app-shell{width:100%;max-width:430px;height:100svh;height:100dvh;margin:0 auto;background:#e8e7ea;display:flex;flex-direction:column;position:relative;overflow:hidden}.header{height:64px;flex-shrink:0;display:flex;align-items:center;padding:10px 20px 4px;gap:12px;padding-top:max(10px,env(safe-area-inset-top))}.brand{font-size:27px;letter-spacing:-1.6px;font-weight:800}.brand span{font-weight:400}.header-note{font-size:12px;color:#696873;flex:1}.icon-button{width:44px;height:44px;border:0;border-radius:50%;background:#ffffff80;display:grid;place-items:center;font-size:26px;flex-shrink:0}.icon-button svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.5}main{min-height:0;flex:1;display:flex}.workspace{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.mirror{flex:1;min-height:140px;display:flex;flex-direction:column;position:relative;background:linear-gradient(145deg,#dedce4,#ecebed 55%,#cac8d3);overflow:hidden}.mirror-top{position:absolute;left:20px;right:20px;top:8px;z-index:2;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.section-label{font-size:10px;letter-spacing:2px;color:#55515f}.pill{font-size:12px;padding:8px 12px;border-radius:24px;background:#ffffffa6;backdrop-filter:blur(12px)}.mirror-stage{flex:1;min-height:0;position:relative;display:grid;place-items:center;overflow:hidden}.main-photo{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}.empty-person{position:relative;width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;padding:36px 0 58px}.figure{height:100%;max-height:365px;width:auto;filter:grayscale(1);opacity:.8;z-index:1}.orbit{position:absolute;left:50%;top:50%;width:200px;height:76%;transform:translate(-50%,-50%);border:1px solid #ffffff9c;border-radius:50%}.orbit-two{width:280px;height:30%;transform:translate(-50%,-50%) rotate(-13deg);border-color:#ffffffd0;z-index:2}.empty-caption{position:absolute;bottom:22px;text-align:center;display:flex;flex-direction:column;gap:6px;left:12px;right:12px}.empty-caption strong{font-size:16px;font-weight:500;letter-spacing:-.4px}.empty-caption span{font-size:12px;color:#716e7b}.controls{position:relative;flex-shrink:0;background:white;border-radius:30px 30px 0 0;padding:12px 22px 4px;margin-top:-8px;z-index:3;box-shadow:0 -8px 25px #24202e04}.steps{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 11px;padding:0 5px}.steps button{border:0;background:none;min-height:32px;padding:3px 0;display:flex;align-items:center;gap:5px;color:#777680;font-size:12px;white-space:nowrap}.steps button span{display:grid;place-items:center;width:20px;height:20px;border:1px solid #dedde3;border-radius:50%;font-size:11px}.steps button.active{color:var(--ink);font-weight:600}.steps button.active span{background:var(--ink);color:white;border-color:var(--ink)}.steps button:disabled{opacity:.4}.steps i{width:16px;height:1px;background:#dedde5}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel h1,.panel h2{font-size:23px;font-weight:600;letter-spacing:-.8px;margin:0 0 6px;line-height:1.2}.step-count{font-size:11px;color:#94939e;letter-spacing:1px}.description{color:var(--muted);font-size:13px;line-height:1.45;margin:0 0 12px}.upload-zone{position:relative;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:12px;padding:12px 14px;border:1px solid #e6e4ee;border-radius:18px;background:#f5f4f8;min-height:74px;cursor:pointer;margin-bottom:12px}.upload-zone:hover,.upload-zone.dragover{background:#eeebff;border-color:#a899f7}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-zone:focus-within{outline:3px solid #7765ed;outline-offset:2px}.upload-icon{grid-row:1/3;align-self:center;background:#fff;display:grid;place-items:center;width:42px;height:42px;border-radius:13px}.upload-icon svg{width:25px;height:25px;stroke:#45404f}.upload-zone strong{font-size:14px;font-weight:550;align-self:end}.upload-zone small{font-size:11px;color:var(--muted);margin-top:5px}.primary,.secondary{width:100%;min-height:48px;border:0;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;font-size:14px;font-weight:550}.primary{background:linear-gradient(115deg,#9b6bf1,#377df4);color:white}.primary:hover:not(:disabled){filter:brightness(1.06)}.primary:disabled{background:#e9e7ef;color:#9993a5}.primary>span{font-size:20px;margin-left:auto}.secondary{background:#f2f1f5;color:var(--ink)}.micro{font-size:11px;line-height:1.35;text-align:center;color:#83818c;margin:9px 0 5px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#8b8696;margin-bottom:5px}.garment-preview{display:flex;align-items:center;gap:12px;background:#f5f4f8;border-radius:18px;padding:8px 10px;margin-bottom:4px;min-height:72px}.garment-preview img{width:56px;height:58px;object-fit:contain;background:#fff;border-radius:10px}.garment-preview>div{flex:1;display:flex;flex-direction:column;gap:3px}.garment-preview strong{font-size:14px}.garment-preview>div>span{font-size:11px;color:var(--muted)}.text-button,.back-link{border:0;background:none;font-size:12px;padding:4px 0;text-align:left;min-height:28px}.back-link{margin:0 0 5px;min-height:34px}.back-link>span{font-size:11px;color:#918b9e;margin-left:4px}.consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.4;margin:0 0 10px;color:#74707f;cursor:pointer}.consent input{accent-color:#7661e8;width:18px;height:18px;margin:0;flex-shrink:0}.app-nav{flex-shrink:0;margin:7px 18px max(12px,env(safe-area-inset-bottom));padding:5px;background:#19191d;color:#aeadb7;border-radius:40px;display:flex;gap:6px;z-index:4;position:relative}.app-nav:before{content:'';position:absolute;background:#fff;inset:-7px -18px calc(-1 * max(12px,env(safe-area-inset-bottom)));z-index:-1}.app-nav:after{content:'';position:absolute;inset:0;background:#19191d;border-radius:40px;z-index:-1}.app-nav button{flex:1;border:0;border-radius:30px;background:none;color:inherit;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px}.app-nav button.selected{background:#36353b;color:#fff}.app-nav svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.history-count{background:#7762ea;color:#fff;padding:2px 5px;border-radius:9px;font-size:10px}.processing{position:absolute;inset:0;background:#24212bab;backdrop-filter:blur(14px);z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:24px;text-align:center;color:#fff}.processing strong{font-size:18px;font-weight:550}.processing p{font-size:13px;line-height:1.5;margin:0;color:#e6e1ee}.processing>span{font-size:12px;color:#e6e1ee}.spinner{width:36px;height:36px;border:2px solid #ffffff40;border-top-color:white;border-radius:50%;animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.comparison{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#24212b8f;backdrop-filter:blur(12px);display:flex;border-radius:30px;padding:4px;z-index:2}.comparison button{min-height:36px;min-width:70px;border:0;background:none;border-radius:24px;color:white;font-size:12px}.comparison button.selected{background:white;color:var(--ink)}#result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#download{grid-column:1/-1;background:var(--ink)}#result-actions .micro{grid-column:1/-1}#shop-link{grid-column:1/-1;font-size:12px;min-height:32px;padding:5px;background:none}#result-actions .secondary{font-size:12px;padding:9px}#another{background:linear-gradient(115deg,#9b6bf1,#377df4);color:#fff}#result-description{margin-bottom:10px}.waiting-card{padding:10px 0 16px;display:flex;align-items:center;gap:12px}.waiting-card>span{font-size:28px;color:#8b6def}.waiting-card p{font-size:12px;line-height:1.5;margin:0;color:var(--muted)}.message{position:absolute;bottom:calc(100% + 10px);left:16px;right:16px;padding:12px 15px;border-radius:16px;background:#fff5ef;color:#773b20;border:1px solid #f1d3bf;font-size:13px;line-height:1.4;box-shadow:0 4px 20px #0001;z-index:8}dialog{border:0;border-radius:26px;padding:22px;width:calc(100% - 28px);max-width:410px;max-height:85dvh;overflow:auto;color:var(--ink);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#17131e80;backdrop-filter:blur(6px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.dialog-heading h2{font-size:21px;font-weight:600;letter-spacing:-.5px;margin:0}.dialog-heading .icon-button{background:#f0eef3}dialog p{font-size:14px;line-height:1.6;color:var(--muted)}dialog input[type=url]{width:100%;border:1px solid #d8d3e0;border-radius:14px;padding:14px;font-size:16px}#crop-canvas{max-width:100%;width:auto;height:auto;max-height:52dvh;display:block;margin:auto;touch-action:none;border-radius:12px}.crop-actions{display:flex;gap:12px;margin-top:18px}.feedback>strong{display:none}.feedback>div{display:grid;gap:8px}.feedback button{min-height:48px;background:#f4f2f7;border:1px solid transparent;border-radius:15px;font-size:14px}.feedback button.selected{background:#ede7fc;border-color:#a291e5}.feedback>span,#delete-note{display:block;margin-top:12px;font-size:13px;color:#686070;line-height:1.5}.danger-button{width:100%;min-height:48px;border-radius:16px;background:#fce9e9;color:#943f3f;border:0;font-size:13px}.recent-heading{display:flex;align-items:center;justify-content:space-between}.recent-heading h3{font-size:14px}.recent-heading span{font-size:12px;color:var(--muted)}.recent-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.recent-list button{padding:0;border:2px solid transparent;border-radius:15px;background:#efedf3;aspect-ratio:3/4;overflow:hidden}.recent-list button.selected{border-color:#8e76dd}.recent-list img{width:100%;height:100%;object-fit:cover}.recent-list span{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:600px) and (min-height:650px){body{padding:24px}.app-shell{height:calc(100dvh - 48px);max-height:900px;border-radius:36px;box-shadow:0 30px 100px #0005;border:1px solid #ffffff29}}
@media(max-height:740px){.header{height:54px}.controls{padding:10px 18px 3px}.steps{margin-bottom:5px}.panel h1,.panel h2{font-size:21px}.description{margin-bottom:8px;font-size:12px}.upload-zone{min-height:64px;padding:8px 12px;margin-bottom:8px}.empty-caption{bottom:18px}.empty-caption strong{font-size:14px}.empty-caption span{display:none}.empty-person{padding-bottom:44px}.app-nav{margin-top:5px}.app-nav button{min-height:40px}.micro{margin-top:6px}.garment-preview{min-height:60px}.garment-preview img{height:48px;width:48px}.consent{margin-bottom:8px}.primary,.secondary{min-height:44px}.steps button{min-height:28px}.mirror{min-height:110px}}
@media(max-height:570px){.app-shell{height:auto;min-height:100dvh;overflow:visible}.mirror{height:200px;flex:auto}.controls{flex:auto}.workspace{flex:auto}main{flex:auto}.app-nav{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}
.invite-button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:38px;border:0;border-radius:14px;background:#eee9fb;color:#66509c;padding:9px 12px;margin:0 0 10px;font-size:12px}#invite-form label{font-size:13px}#invite-code{width:100%;padding:13px;border:1px solid #d8d3e0;border-radius:14px;margin:8px 0 16px;font-size:16px}#invite-note{font-size:13px;color:#8b4335}
main{overflow:auto;overscroll-behavior:contain}#crop-canvas{object-fit:contain}

#person-crop-open{display:block;margin:-5px 0 7px;min-height:32px;color:#66509c}#crop-canvas{max-height:none;border-radius:0;cursor:crosshair}#crop-error{color:#943f3f;font-size:13px}#crop-dialog .crop-actions{margin-top:12px}#crop-dialog>p{margin:10px 0}

/* Outfit studio — 18 October. The photograph is the canvas. */
:root{--accent:#b7ef59;--ink:#20211f;--muted:#777a72}
body{background:#e8e9e3}
.app-shell{background:#e5e6de;isolation:isolate;max-width:480px}
.header{position:absolute;top:0;left:0;right:0;z-index:5;height:72px;padding:16px 22px;background:linear-gradient(#f1f1e9dc,transparent);gap:10px;pointer-events:none}
.header>*{pointer-events:auto}.brand{letter-spacing:-1.8px;font-size:29px}.header-note{font-size:11px;letter-spacing:.2px}.live-dot{font-size:9px;letter-spacing:1.4px;padding:7px 9px;border:1px solid #24291d30;border-radius:20px}
main{overflow:hidden}.workspace{position:relative}.mirror{min-height:0;position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,#f1f1e9,#cfd3c5)}
.mirror-top{top:78px;left:20px;right:20px;pointer-events:auto}.pill,.glass-button{border:1px solid #ffffff50;backdrop-filter:blur(20px);background:#ffffff9c;color:#222820;box-shadow:0 2px 18px #14220c08;font-size:11px;padding:10px 13px;border-radius:24px}
.glass-button{min-height:40px;cursor:pointer}.main-photo{object-fit:contain;animation:photo-in .4s ease both}.mirror-stage{padding:0}.empty-person{padding:104px 0 350px}.figure{max-height:400px;min-height:150px;filter:none;opacity:.85}.orbit{height:50%;top:39%}.orbit-two{height:24%}.empty-caption{bottom:300px}.empty-caption strong{font-size:20px;font-weight:500;letter-spacing:-.8px}.empty-caption span{font-size:12px}
.controls{position:absolute;bottom:84px;left:0;right:0;border-radius:0;margin:0;padding:12px 20px 4px;background:linear-gradient(0deg,#e9ebe4 65%,#e9ebe400);box-shadow:none;z-index:3}
.steps{display:none}.panel{animation:panel-in .32s ease both}.panel-heading{margin-bottom:8px}.panel h1,.panel h2{font-size:20px;letter-spacing:-.7px;font-weight:550}.step-count{color:#656e59;font-variant-numeric:tabular-nums}
#person-panel{background:#ffffffc9;backdrop-filter:blur(22px);border:1px solid #fff9;border-radius:24px;padding:18px;box-shadow:0 10px 40px #202b0d0a}
#person-panel h1{font-size:23px}#person-panel .step-count{display:none}#person-panel .description{font-size:12px}.upload-zone{background:#f3f4ed;border-color:#e0e4d8;margin-bottom:10px;border-radius:16px}.upload-zone:hover,.upload-zone.dragover{background:#e9f5d8;border-color:#9ec65b}.upload-zone:focus-within{outline-color:#81a940}.upload-icon{background:#fff;font-size:26px}.primary{background:#b7ef59;color:#202c10;min-height:48px;box-shadow:0 4px 20px #688f1420;transition:transform .2s,filter .2s,background .2s}.primary:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}.primary:active:not(:disabled){transform:scale(.98)}.primary:disabled{background:#e1e4d9;color:#909783;box-shadow:none}.primary>span{font-size:22px}
.has-person .header{background:linear-gradient(#e7e9dfbf,transparent)}.has-person .controls{background:linear-gradient(0deg,#e9ebe4f5 22%,#e9ebe4ed 65%,#e9ebe400);padding-top:30px}.has-person .mirror:after{content:'';position:absolute;inset:0;box-shadow:inset 0 -200px 100px -100px #1d271d30;pointer-events:none}.has-person .main-photo{padding-bottom:70px}.has-person[data-step=garment] .panel-heading h2{font-size:17px}.garment-list{display:flex;align-items:start;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 1px 8px;scrollbar-width:none;min-width:0}.garment-list::-webkit-scrollbar{display:none}.garment-list:empty{display:none}.garment-tile,.add-tile{position:relative;flex:0 0 76px;width:76px;border:1px solid #ffffffa0;border-radius:16px;background:#ffffffbf;backdrop-filter:blur(18px);padding:5px;color:#29351e;scroll-snap-align:start;transition:transform .2s,border-color .2s,box-shadow .2s;animation:tile-in .32s cubic-bezier(.2,.8,.2,1) both;box-shadow:0 4px 14px #28321d08}.garment-tile:hover{transform:translateY(-3px);border-color:#86b43e;box-shadow:0 5px 18px #28321d18}.garment-tile img{width:64px;height:64px;object-fit:contain;display:block;border-radius:11px;background:#fff}.garment-tile>span,.add-tile>span{display:block;text-align:center;font-size:10px;line-height:1.4;padding:6px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.add-tile{border:1px dashed #66745170;background:#f2f6e89e;box-shadow:none;height:98px}.add-tile strong{display:grid;place-items:center;height:64px;font-size:29px;font-weight:300}.garment-zone.compact{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip-path:inset(50%);padding:0;border:0;margin:0}.recognizing:after{content:'';position:absolute;inset:0;border-radius:16px;background:linear-gradient(110deg,transparent 20%,#b7ef5960 50%,transparent 80%);background-size:250% 100%;animation:shimmer 1.8s linear infinite;pointer-events:none}.recognition-note{font-size:10px;line-height:1.4;margin:2px 0 3px;text-align:left;color:#626d57}.back-link{font-size:11px;min-height:28px;color:#47543b;margin-bottom:5px}#generation-note{font-size:10px;margin:7px 0 0;color:#667257}.app-nav{position:absolute;bottom:0;left:0;right:0;margin:0;padding:8px 24px max(10px,env(safe-area-inset-bottom));height:78px;background:#e9ebe4f5;backdrop-filter:blur(24px);border-radius:0;gap:16px;border-top:1px solid #303e1910;z-index:4;color:#78806e}.app-nav:before,.app-nav:after{display:none}.app-nav button{flex:1;min-height:42px;border-radius:16px;font-size:11px;gap:7px;transition:background .2s,color .2s}.app-nav button.selected{background:#dce6cd;color:#28391b}.app-nav svg{width:19px;height:19px}.history-count{background:#638b2c}.comparison{bottom:290px;background:#22281b70}.comparison button.selected{background:#d7f5ad}.processing{background:#25301b7d;backdrop-filter:blur(12px)}.spinner{width:52px;height:52px;border:1px solid #ffffff40;border-top-color:#c6ff75;border-right-color:#c6ff75}.processing strong{font-size:20px;letter-spacing:-.6px}#result-actions .secondary,#download,#another{border-radius:16px}#download{background:#b7ef59;color:#263515;min-height:44px}#another{background:#26351c;color:white}#result-actions .micro{margin:2px 0}#result-title{font-size:22px}#result-description{font-size:12px}#result-actions .secondary{min-height:40px}#result-panel .eyebrow{color:#657253}.message{background:#fffaf1;border-color:#d8c89f;color:#65502d}dialog{background:#fafbf6;border-radius:24px}dialog::backdrop{background:#19231270}.dialog-heading h2{letter-spacing:-.8px;font-size:24px}.dialog-heading .icon-button{background:#edf0e5}.item-photo{display:block;width:100%;height:220px;object-fit:contain;background:white;border-radius:18px;margin-bottom:20px}.field-label{display:block;font-size:12px;margin:0 0 8px;color:#6d7762}#item-category{width:100%;padding:12px;border:1px solid #d7ddcd;border-radius:14px;background:white;font:inherit;font-size:16px;color:#27351d}#item-dialog .secondary{margin:12px 0 8px;border-radius:14px}#item-dialog .danger-button{background:#f5e9df;border-radius:14px}.accent-dot{color:#7cab39}.history-page{max-width:480px;width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0 auto;padding:30px 20px 28px;inset:0;background:#f6f7f1;animation:page-in .3s ease both}.history-page .dialog-heading{margin-bottom:26px}.history-page .eyebrow{color:#7d896d;font-size:9px;letter-spacing:2px;margin-bottom:8px}.history-page h2{font-size:32px;letter-spacing:-1.5px}.history-page .recent-heading{margin-bottom:12px}.recent-heading h3{font-size:12px;font-weight:500;color:#717b65}.recent-heading>span{font-size:10px;color:#8a927f}.recent-list{display:grid;grid-template-columns:1fr;gap:22px}.outfit-card{background:#eceee5;border:1px solid #e1e5d6;border-radius:22px;padding:13px;animation:tile-in .35s ease both}.outfit-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:1px 2px 12px}.outfit-heading strong{font-size:13px;font-weight:550;letter-spacing:-.3px}.outfit-heading>span{font-size:10px;color:#78826b}.outfit-layout{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:10px}.recent-list .outfit-photo{width:100%;aspect-ratio:auto;min-height:260px;border:0;border-radius:14px;background:#dee2d4;position:relative;display:grid;place-items:center;overflow:hidden;padding:0}.recent-list .outfit-photo.selected{outline:2px solid #9bc45d;outline-offset:2px}.outfit-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.outfit-items{display:grid;gap:7px;align-content:start}.outfit-item{background:#ffffffa6;border-radius:12px;padding:5px;min-width:0}.outfit-item img{display:block;width:100%;height:50px;object-fit:contain;border-radius:8px;background:white}.outfit-item>span{display:block;font-size:9px;text-align:center;line-height:1.3;padding:4px 0 1px;overflow-wrap:anywhere}.outfit-hint{display:block;font-size:10px;color:#7d876f;padding:12px 0 0;text-align:center}.history-page #history-empty{padding:32px 18px;text-align:center;border:1px dashed #cdd6bd;border-radius:22px;line-height:1.8;font-size:13px}.invite-button{background:#e7f1d6;color:#4c6a2c}.feedback button.selected{background:#e5f4cf;border-color:#a5cb6e}
@keyframes tile-in{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes photo-in{from{opacity:.65}to{opacity:1}}@keyframes panel-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes page-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{to{background-position:-250% 0}}
@media(min-width:600px) and (min-height:650px){body{padding:20px}.app-shell{height:calc(100dvh - 40px);max-height:1000px;border-radius:30px;box-shadow:0 25px 70px #36462325;border:1px solid #fff}.history-page{height:calc(100dvh - 40px);max-height:1000px;border-radius:30px;margin:20px auto}}
@media(max-height:740px){.header{height:56px;padding:12px 18px}.brand{font-size:25px}.mirror-top{top:62px}.controls{bottom:70px;padding:10px 16px 2px}.has-person .controls{padding-top:22px}.app-nav{height:66px;padding-top:5px;padding-bottom:8px}.garment-tile,.add-tile{flex-basis:66px;width:66px;border-radius:13px}.garment-tile img{width:54px;height:54px}.add-tile{height:87px}.add-tile strong{height:54px}.recognition-note{font-size:9px}.panel-heading{margin-bottom:4px}.empty-person{padding-top:80px;padding-bottom:305px}.empty-caption{bottom:270px}.empty-caption strong{font-size:17px}.empty-caption span{display:none}#person-panel{padding:14px}.comparison{bottom:265px}}
@media(max-height:570px){.app-shell{height:100dvh;min-height:0;overflow:auto}.workspace{min-height:530px}.mirror{height:auto}.app-nav{position:fixed;max-width:480px;margin:0 auto}.controls{bottom:74px}.header{position:fixed;max-width:480px;margin:auto}.mirror-top{top:68px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mirror-tools{display:flex;gap:7px;align-items:center}.add-products{background:var(--accent);border-color:#c9f292;font-weight:600}.add-products:disabled{opacity:.5}.garment-tile:focus-visible,.add-tile:focus-visible,.outfit-photo:focus-visible{outline:3px solid #648a30;outline-offset:2px}.comparison button:focus-visible{outline:2px solid white;outline-offset:1px}

/* Profile: balances, referrals and the outfit feed. */
.profile-page .dialog-heading{margin-bottom:10px}.profile-identity{font-size:12px;margin:0 0 22px;color:#78826b;line-height:1.5}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.profile-stats>div{background:#e8ecdf;border:1px solid #dce3ce;border-radius:20px;padding:18px}.profile-stats strong{display:block;font-size:36px;font-weight:550;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;color:#293a1e}.profile-stats span{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:#657457}
.profile-referrals{background:#edf5df;border:1px solid #dbe8c8;border-radius:22px;padding:20px;margin-bottom:28px}.profile-referrals h3{font-size:23px;font-weight:550;letter-spacing:-.7px;line-height:1.2;margin:0 0 12px}.profile-referrals p{font-size:13px;line-height:1.6;margin:10px 0 14px;color:#637353}.profile-referrals .micro{font-size:11px}.profile-referrals .primary{width:100%;font-size:14px}.profile-referrals .secondary{width:100%;margin-top:8px;background:#fff9}.profile-page .recent-heading h3{font-size:15px;color:#354329}.profile-page .recent-heading{gap:12px}.profile-page .recent-heading>span{max-width:110px;text-align:right}
#referral-link-box{margin-top:15px}#referral-link-box label{display:block;font-size:11px;color:#637353;margin-bottom:6px}#referral-url{width:100%;min-width:0;border:1px solid #cad8b7;border-radius:12px;padding:12px;font-size:14px;background:#fff;color:#354329}#item-remove{margin-top:18px}
