.photo-entry{margin-top:16px}.photo-external-label{font-size:12px;color:var(--muted);margin:22px 0 10px}
.studio-launch{position:relative;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:18px;padding:27px 30px;margin:18px 0 24px;border-radius:27px;background:radial-gradient(ellipse at 85% 0,#b7798b77,transparent 65%),#432939;color:#fff1e9;text-decoration:none;overflow:hidden;border:1px solid #ffffff20;min-height:244px}
.studio-launch-copy{display:flex;flex-direction:column;align-items:flex-start;gap:13px;position:relative;z-index:1}.studio-launch-tag{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#edc3d1}.studio-launch-copy strong{font:400 clamp(30px,4.5vw,48px)/1.02 var(--display);letter-spacing:-1.3px}.studio-launch-copy strong em{color:#f5bfd0}.studio-launch-copy>span:not(.studio-launch-tag){font-size:12px;line-height:1.5;color:#e8cdd8}.studio-launch-copy>b{font-size:12px;font-weight:600;border-bottom:1px solid #dfa5bc;padding-bottom:5px}.studio-launch-art{width:min(100%,230px);aspect-ratio:4/5;justify-self:center;position:relative;transform:rotate(5deg);border:5px solid #fff9;border-radius:18px;overflow:hidden;box-shadow:0 18px 45px #160a1f70}.studio-launch-art img{display:block;width:100%;height:100%;object-fit:cover}.studio-launch-after{position:absolute;inset:0 0 0 50%;overflow:hidden;border-left:1px solid #fff}.studio-launch-after img{width:200%;max-width:none;margin-left:-100%}.studio-launch-art>i{position:absolute;left:50%;top:46%;transform:translateX(-50%);font:16px Arial;background:#fff;color:#432939;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}.studio-launch-art>small{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:8px;letter-spacing:1px;padding:6px 9px;background:#261823a6;border-radius:15px;color:white}
.hero-stage .studio-launch{margin:0;min-height:310px;padding:24px 22px 68px;border-radius:26px;border:0}.hero-stage .studio-launch-art{max-width:164px}.studio-trial-label{font-size:10px;color:#ffdae7;border:1px solid #b88c9f;padding:3px 8px;border-radius:20px}.hero-stage .studio-launch-copy{gap:10px}
@media(min-width:640px){.hero-stage .studio-launch{min-height:340px;padding:30px 50px 72px}.hero-stage .studio-launch-art{max-width:190px}}
@media(max-width:639px){.studio-launch{padding:22px 17px;gap:10px;min-height:232px}.studio-launch-copy{gap:12px}.studio-launch-copy>span:not(.studio-launch-tag){font-size:10px}.studio-launch-copy>b{font-size:10px}.studio-launch-tag{font-size:7px;letter-spacing:1px}.studio-launch-art{border-width:4px;border-radius:14px}.studio-launch-copy strong{font-size:30px}}
@media(prefers-reduced-motion:no-preference){.studio-launch-art{animation:studio-float 6s ease-in-out infinite}.studio-launch:before{content:'';position:absolute;inset:-50%;z-index:-1;background:linear-gradient(115deg,transparent 40%,#fff1 50%,transparent 60%);animation:studio-shimmer 9s ease-in-out infinite}@keyframes studio-float{50%{transform:translateY(-5px) rotate(2deg)}}@keyframes studio-shimmer{0%,25%{transform:translateX(-45%)}80%,100%{transform:translateX(45%)}}}
.photo-studio{--ed-bg:#17171B;--ed-panel:#242329;--ed-edge:#3C3942;--ed-text:#F9F3F6;--ed-muted:#B8ADB7;--ed-accent:#FF70A0;--ed-sans:var(--sans,Arial,sans-serif);background:var(--ed-bg);color:var(--ed-text);border:1px solid var(--ed-edge);border-radius:24px;padding:16px;margin:8px 0 24px;overflow:hidden}
.photo-studio [hidden]{display:none!important}.photo-studio button,.photo-studio select{font-family:var(--ed-sans)}.photo-studio button:focus-visible,.photo-studio select:focus-visible,.photo-studio input:focus-visible{outline:2px solid var(--ed-accent);outline-offset:3px}.photo-studio button:disabled{opacity:.4;cursor:default}.photo-studio svg{width:18px;height:18px;flex:none}
.photo-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px}.photo-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;background:none;color:var(--ed-muted);border-radius:10px;font-size:12px;min-height:38px;padding:8px;cursor:pointer}.photo-tool:hover{color:var(--ed-text);background:#ffffff09}.photo-pick{border-color:var(--ed-edge);white-space:nowrap;color:var(--ed-text);padding:8px 12px}.photo-history{display:flex;align-items:center;gap:2px}.photo-history .photo-tool{width:36px;padding:8px}.photo-save{margin-left:auto!important;min-height:40px!important;border-radius:12px!important;padding:10px 18px!important;font-size:12px!important;background:var(--rose,#E92065)!important;box-shadow:none!important;white-space:nowrap;color:white!important}.photo-studio:not(.has-photo) .photo-toolbar{display:none}
.photo-empty{display:grid;grid-template-columns:1fr;gap:24px;align-items:center;padding:12px 8px}.photo-empty-art{height:290px;position:relative;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:18px;background:#333;max-width:420px;width:100%;margin:auto}.photo-empty-art img{width:100%;height:100%;object-fit:cover;min-width:0}.photo-empty-art img:first-child{object-position:left center}.photo-empty-art img:nth-child(2){object-position:right center}.photo-empty-art span{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;white-space:nowrap;background:#17171bba;backdrop-filter:blur(12px);border:1px solid #ffffff30;padding:9px 14px;border-radius:99px;font:9px var(--ed-sans);letter-spacing:.08em}.photo-empty-art i{font-size:20px;font-style:normal}.photo-empty-copy .kick{color:var(--ed-accent);font-size:10px;letter-spacing:.13em}.photo-empty-copy h2{font:500 clamp(30px,5vw,47px)/1.1 var(--display);letter-spacing:-.03em;margin:14px 0}.photo-empty-copy h2 em{color:#FFA9C8}.photo-empty-copy p{font:14px/1.65 var(--ed-sans);color:var(--ed-muted);max-width:39ch;margin-bottom:22px}.photo-empty-copy .btn{gap:10px;width:100%;max-width:320px;border-radius:14px;font-size:14px}.photo-empty-copy small{display:block;font:10px/1.5 var(--ed-sans);color:var(--ed-muted);margin-top:12px}.photo-empty-copy .tutlink{color:var(--ed-accent);display:inline-flex;margin-top:16px;font-size:12px}.photo-empty-copy .photo-access-note{font-size:11px;margin:16px 0 0}
.photo-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.photo-visual,.photo-adjust{min-width:0}.photo-preview{position:relative;height:clamp(300px,52dvh,700px);background:#101013;border:1px solid #ffffff09;border-radius:16px;overflow:hidden}.photo-preview canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}.photo-zoom{position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:8px;border-radius:10px;background:#17171ba8;backdrop-filter:blur(12px);color:#fff;border:1px solid #ffffff22;cursor:pointer}.photo-before-badge{position:absolute;top:14px;left:14px;background:#17171ba8;color:#fff;font-size:9px;font-weight:700;letter-spacing:.12em;padding:7px 10px;border-radius:7px}.photo-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;padding:9px 1px}.photo-preview-bar>div{display:grid;gap:3px}.photo-preview-bar small{font:8px var(--ed-sans);letter-spacing:.12em;color:var(--ed-muted)}#photoLookName{font:500 16px var(--ed-sans)}.photo-compare{font-size:11px;padding-inline:10px;border-color:var(--ed-edge)}.photo-compare[aria-pressed=true]{color:var(--ed-accent);border-color:var(--ed-accent)}
.photo-adjust{padding:16px;background:var(--ed-panel);border:1px solid var(--ed-edge);border-radius:18px;align-self:start}.photo-mode{display:flex;gap:4px;border-bottom:1px solid var(--ed-edge);padding-bottom:10px;margin-bottom:14px}.photo-mode button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:40px;background:none;border:0;border-radius:10px;color:var(--ed-muted);font-size:12px;cursor:pointer}.photo-mode button[aria-pressed=true]{color:#FFB5CF;background:#FF70A014}.photo-mode button[aria-pressed=true] svg{stroke:var(--ed-accent)}.photo-collection-row{display:flex;align-items:end;gap:12px;justify-content:space-between;margin-bottom:14px}.photo-collection-row label{display:flex;flex-direction:column;gap:7px;font:9px var(--ed-sans);letter-spacing:.07em;text-transform:uppercase;color:var(--ed-muted);flex:1;min-width:0}.photo-collection-row select{background:var(--ed-bg);border:1px solid var(--ed-edge);color:var(--ed-text);border-radius:9px;padding:9px 28px 9px 10px;font-size:12px;width:100%;min-height:38px}.photo-collection-row>span{font:10px var(--ed-sans);color:var(--ed-muted);white-space:nowrap;padding-bottom:12px}
.photo-looks{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#6E5866 transparent;scroll-snap-type:x proximity}.photo-looks button{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 76px;padding:0;border:0;background:none;color:var(--ed-muted);scroll-snap-align:start;cursor:pointer;min-width:0}.photo-thumb{display:block;position:relative;width:100%;height:90px;border:2px solid transparent;border-radius:11px;overflow:hidden;background:#151519}.photo-thumb img{width:100%;height:100%;object-fit:contain}.photo-selected{display:none;position:absolute;bottom:4px;right:4px;width:17px;height:17px;border-radius:50%;background:var(--ed-accent);color:#191319;font-size:11px;line-height:17px}.photo-looks button[aria-pressed=true] .photo-thumb{border-color:var(--ed-accent)}.photo-looks button[aria-pressed=true]{color:#FFD3E2}.photo-looks button[aria-pressed=true] .photo-selected{display:block}.photo-looks button>span:last-child{font:10px/1.3 var(--ed-sans);min-height:25px;text-align:center;max-width:100%}
.photo-intensity{margin-top:16px;border-top:1px solid var(--ed-edge);padding-top:16px}.photo-intensity label{display:flex;align-items:center;justify-content:space-between;font:12px var(--ed-sans)}.photo-intensity output{color:var(--ed-accent);font-variant-numeric:tabular-nums;background:#FF70A011;border-radius:6px;padding:4px 7px;min-width:39px;text-align:right}.photo-intensity input,.photo-tune input{accent-color:var(--ed-accent);width:100%;min-width:0;cursor:pointer;display:block;height:34px;margin:2px 0}.photo-intensity>div{display:flex;justify-content:space-between;color:var(--ed-muted);font-size:9px}.photo-finetune{min-height:200px}.photo-tune{display:grid;grid-template-columns:84px minmax(0,1fr) 30px;gap:8px;align-items:center;font:12px var(--ed-sans);min-height:46px}.photo-tune output{font-variant-numeric:tabular-nums;color:var(--ed-accent);text-align:right}.photo-tune-tip{font:10px/1.5 var(--ed-sans);color:var(--ed-muted);margin:12px 0}.photo-save-hint,.photo-size,.photo-note{font:10px/1.5 var(--ed-sans);color:var(--ed-muted);margin-top:12px}.photo-size{margin-top:5px;opacity:.7}.photo-note{margin-top:10px}.photo-status{font:11px/1.5 var(--ed-sans);color:var(--ed-muted);margin-top:10px;min-height:17px}.photo-status.error{color:#FF9FBF}
.photo-focused{position:fixed!important;inset:0;z-index:1500;border-radius:0!important;border:0!important;margin:0!important;background:#101013!important;padding:16px!important;height:100dvh!important;display:flex;flex-direction:column}.photo-focused .photo-toolbar,.photo-focused .photo-adjust,.photo-focused>.photo-note,.photo-focused>.photo-status{display:none!important}.photo-focused .photo-workspace,.photo-focused .photo-visual{display:flex!important;flex-direction:column;flex:1;min-height:0;position:static!important}.photo-focused .photo-preview{flex:1;height:auto;min-height:0}.photo-focused .photo-preview-bar{padding-bottom:max(8px,env(safe-area-inset-bottom))}
@media(min-width:900px){#mat:has(.photo-studio){max-width:1280px!important}.photo-studio{padding:20px}.photo-workspace{grid-template-columns:minmax(0,1fr) 330px;gap:20px}.photo-empty{grid-template-columns:1fr 1fr;gap:40px;padding:30px}.photo-empty-art{height:440px}.photo-looks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px;overflow-y:auto}.photo-thumb{height:90px}.photo-preview{height:clamp(370px,64dvh,760px)}}
@media(max-width:899px){body:has(#mat:not([hidden]) .has-photo){padding-bottom:0;background:#17171B}body:has(#mat:not([hidden]) .has-photo) #top,body:has(#mat:not([hidden]) .has-photo) .tabs{display:none}#mat:has(.has-photo){padding:env(safe-area-inset-top) 10px 0!important;background:#17171B;color:#F9F3F6}#mat:has(.has-photo) .photo-heading{position:static;top:auto;background:#17171B;height:54px;margin:0;padding:5px 0}#mat:has(.has-photo) .photo-heading h1{font-size:20px}#mat:has(.has-photo) .photo-heading small{display:none}#mat:has(.has-photo) .photo-heading .iconbtn{background:transparent;color:#E5D7DF;border-color:#45404B;width:34px;height:34px}.photo-studio.has-photo{height:calc(100dvh - 54px - env(safe-area-inset-top));min-height:520px;border:0;border-radius:0;padding:0 0 max(8px,env(safe-area-inset-bottom));margin:0;display:flex;flex-direction:column;gap:8px}.has-photo .photo-toolbar{margin:0;gap:4px;flex:none}.has-photo .photo-pick{font-size:10px;min-height:34px;padding:6px 9px}.has-photo .photo-history .photo-tool{width:29px;padding:6px;min-height:34px}.has-photo .photo-save{font-size:10px!important;padding:9px 12px!important;min-height:34px!important}.has-photo .photo-workspace{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.has-photo .photo-visual{display:flex;flex-direction:column;flex:1;min-height:145px}.has-photo .photo-preview{flex:1;min-height:110px;height:auto;border-radius:12px}.has-photo .photo-preview-bar{min-height:40px;padding:5px 2px}.has-photo .photo-preview-bar small{display:none}.has-photo #photoLookName{font-size:12px}.has-photo .photo-compare{min-height:30px;padding:5px 8px;font-size:10px}.has-photo .photo-compare svg{width:14px;height:14px}.has-photo .photo-adjust{flex:none;padding:9px 12px;border-radius:15px;width:100%}.has-photo .photo-mode{padding-bottom:6px;margin-bottom:7px}.has-photo .photo-mode button{min-height:32px;font-size:11px}.has-photo .photo-mode svg{width:15px;height:15px}.has-photo .photo-collection-row{margin-bottom:8px;align-items:center}.has-photo .photo-collection-row label{font-size:0;gap:0}.has-photo .photo-collection-row select{font-size:11px;min-height:32px;padding:6px 24px 6px 9px}.has-photo .photo-collection-row>span{font-size:9px;padding:0}.has-photo .photo-looks{gap:9px;padding-bottom:4px;scrollbar-width:none}.has-photo .photo-looks button{flex-basis:62px;gap:5px}.has-photo .photo-thumb{height:62px}.has-photo .photo-looks button>span:last-child{font-size:9px;min-height:23px}.has-photo .photo-intensity{margin-top:5px;padding-top:8px}.has-photo .photo-intensity label{font-size:11px}.has-photo .photo-intensity input{height:26px;margin:0}.has-photo .photo-intensity>div,.has-photo .photo-size,.has-photo .photo-note{display:none}.has-photo .photo-save-hint{margin:6px 0 0;font-size:9px}.has-photo .photo-finetune{min-height:190px}.has-photo .photo-tune{min-height:39px;font-size:11px}.has-photo .photo-tune-tip{font-size:9px;margin:4px 0}.has-photo .photo-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}.has-photo .photo-status.error{position:static;width:auto;height:auto;clip-path:none;flex:none;font-size:10px}.photo-focused{min-height:0!important}}
@media(prefers-reduced-motion:no-preference){.photo-mode button,.photo-thumb{transition:background .18s,border-color .18s}.photo-empty-copy{animation:studio-enter .3s both}}

.preset-variants{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.preset-variants a{display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font:12px var(--sans)}.preset-variants a[aria-current=true]{background:var(--rose);color:white;border-color:var(--rose)}

@keyframes studio-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.photo-empty-art img{position:absolute;inset:0;object-position:center!important}.photo-empty-art img:nth-child(2){clip-path:inset(0 0 0 50%)}

/* Touch controls and comfortable iPhone targets. */
.photo-more{position:relative;z-index:8;flex:none}.photo-more summary{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--ed-muted);cursor:pointer;list-style:none}.photo-more summary::-webkit-details-marker{display:none}.photo-more summary:focus-visible{outline:2px solid var(--ed-accent);outline-offset:2px}.photo-more[open] summary{background:#ffffff12;color:var(--ed-text)}.photo-more-panel{position:absolute;top:calc(100% + 7px);right:0;width:190px;padding:6px;background:#302D35;border:1px solid var(--ed-edge);box-shadow:0 12px 35px #0007;border-radius:13px}.photo-more-panel .photo-tool{width:100%;justify-content:flex-start;min-height:44px;font-size:12px;padding:10px}.photo-studio .photo-mode button,.photo-studio .photo-zoom{touch-action:manipulation}
@media(max-width:899px){.has-photo .photo-pick{min-height:44px;flex:none;font-size:11px;padding:6px 8px}.has-photo .photo-history .photo-tool{width:44px;min-height:44px;padding:11px}.has-photo .photo-more summary{width:44px;height:44px}.has-photo .photo-save{min-height:44px!important;min-width:44px;max-width:130px;overflow:hidden;text-overflow:ellipsis;padding:8px 10px!important;flex:1}.has-photo .photo-mode button{min-height:44px}.has-photo .photo-collection-row select{font-size:16px;min-height:44px}.has-photo .photo-intensity input{height:40px}.has-photo .photo-tune{min-height:44px}.has-photo .photo-tune input{height:44px}.has-photo .photo-zoom{width:44px;height:44px}.has-photo .photo-compare{min-height:44px;font-size:11px}.has-photo .photo-preview-bar{min-height:49px}.has-photo .photo-save-hint{font-size:10px;line-height:1.45}.has-photo .photo-looks button>span:last-child{font-size:10px}}

@media(max-width:899px){#mat:has(.has-photo) .photo-heading .iconbtn{width:44px;height:44px;min-width:44px}}
