:root{--ink:#28252c;--muted:#625e6b;--pink:#f5a9c5;--paper:#f7f4f1;--line:#51465c1c;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:#ced9e5;position:relative;isolation:isolate}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #945372;outline-offset:5px}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}[data-icon]{display:inline-flex;align-items:center;justify-content:center}p{line-height:1.65}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:var(--paper);padding:15px}.skip:focus{top:10px}
.atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(120deg,#dce0ec 0%,#c8dce9 28%,#a8bfd3 50%,#d1cede 73%,#efdae5 100%)}.atmosphere:before{content:"";position:absolute;inset:0;background:linear-gradient(18deg,#d5bbda40,transparent 52%,#f6e5e56b)}.atmosphere:after{content:"";position:absolute;inset:0;opacity:.25;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.65' d='M0 0h160v160H0z'/%3E%3C/svg%3E")}
.glass{background:linear-gradient(125deg,#ffffff3d,#fff2);border:1px solid #ffffffa6;box-shadow:inset 0 1px 1px #fff9,inset 0 -1px 1px #fff3,0 5px 18px #3b35470a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.topbar{position:relative;z-index:5;padding:27px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-tools{display:flex;align-items:center;gap:7px}.wordmark{font-size:31px;font-weight:700;letter-spacing:-1.9px;display:inline-flex;align-items:center;line-height:1;padding:8px 19px 10px;border-radius:28px}.brand-spark{font-size:25px;color:#b97897;letter-spacing:-1px;margin:0 0 5px 4px;display:inline-block}.sell-button{border-radius:50%;height:48px;width:48px;display:flex;align-items:center;justify-content:center}.sell-button svg{width:21px;height:21px}.sell-button:hover{background:#f5a9c578}.categories{display:flex;align-items:center;gap:1px;padding:5px;border-radius:30px}.categories button{font-size:10px;padding:10px 14px;border-radius:20px;white-space:nowrap;min-height:35px;color:#544e60;transition:background .2s}.categories button.active{background:#fff8;color:var(--ink);box-shadow:0 2px 6px #50455c08}.categories button:hover{background:#fff4}.navigation{display:flex;align-items:center;gap:2px;border-radius:30px;padding:5px}.navigation button{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#544e60}.navigation button:hover,.navigation button.active{background:#fff6;color:var(--ink)}.navigation svg{width:17px;height:17px}.navigation button.active[data-nav=likes]{color:#9a4c73}.navigation .profile-button{margin-left:3px}.profile-button img{display:block;border-radius:50%;object-fit:cover;border:1px solid #fffc}#like-count:empty{display:none}#like-count{position:absolute;top:1px;right:0;font-size:8px;background:#f5bfd4;border-radius:8px;min-width:12px;padding:1px;color:#7d3a5a}
main{padding:0 3%;max-width:1800px;margin:0 auto}.gallery{position:relative;margin:auto}.gallery.floating{height:clamp(840px,calc(100svh - 110px),1100px)}.piece{position:relative;min-width:0;isolation:isolate}.floating .piece{position:absolute;width:20%;height:250px}.floating .piece:nth-child(8n+1){left:36%;top:2%;width:22%;height:270px}.floating .piece:nth-child(8n+2){left:10%;top:27%;width:18%;height:290px}.floating .piece:nth-child(8n+3){left:74%;top:3%;width:17%;height:225px}.floating .piece:nth-child(8n+4){left:75%;top:43%;width:22%;height:190px}.floating .piece:nth-child(8n+5){left:2%;top:69%;width:22%;height:235px}.floating .piece:nth-child(8n+6){left:38%;top:66%;width:21%;height:250px}.floating .piece:nth-child(8n+7){left:51%;top:35%;width:16%;height:215px}.floating .piece:nth-child(8n+8){left:6%;top:0%;width:16%;height:185px}.garment-button{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:12px;z-index:1}.garment-image{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(6px 17px 10px #3c334127);transform:rotate(var(--rotation,-5deg));animation:float 7s ease-in-out infinite;animation-delay:var(--delay,0s);transition:scale .45s;pointer-events:none}.piece:hover .garment-image,.piece:focus-within .garment-image{scale:1.045;animation-play-state:paused}.seller-preview{position:absolute;bottom:-2px;left:50%;transform:translate(-50%,8px);width:205px;display:flex;align-items:center;gap:8px;z-index:3;padding:9px 10px;border:1px solid #ffffffbe;border-radius:11px;background:#f7f4f199;backdrop-filter:blur(18px);box-shadow:0 7px 24px #42334b0a;opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s}.piece:hover,.piece:focus-within{z-index:4}.piece:hover .seller-preview,.piece:focus-within .seller-preview{opacity:1;visibility:visible;transform:translate(-50%,0)}.seller-mini{display:flex;gap:9px;align-items:center;text-align:left;padding:0;min-width:0;flex:1}.seller-mini img{width:29px;height:29px;border-radius:50%;object-fit:cover}.seller-mini span{font-size:10px}.seller-mini small{display:block;color:#665c6f;font-size:9px;margin-top:4px}.preview-price{font-size:11px}.heart-button{width:32px;height:36px;display:flex;align-items:center;justify-content:center;flex:none}.heart-button svg{width:17px;height:17px}.liked{color:#a34d74}.liked svg{fill:var(--pink);stroke:#a34d74;animation:like .3s}.gallery.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;min-height:calc(100svh - 190px);padding:22px 4% 100px}.grid .piece{height:310px;border:1px solid #ffffff70;border-radius:16px;background:#f7f4f129;padding:15px}.grid .garment-button{height:245px;padding:15px}.grid .garment-image{animation:none;transform:none}.grid .seller-preview{position:static;opacity:1;visibility:visible;transform:none;width:auto;border:0;box-shadow:none;background:none;padding:7px 0;backdrop-filter:none}.grid .seller-mini small{display:none}.canvas-tools{position:fixed;bottom:24px;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:6}.canvas-tools>*{pointer-events:auto}.view-toggle{display:flex;padding:4px;border-radius:24px;gap:2px}.view-toggle button{display:flex;gap:7px;align-items:center;border-radius:20px;padding:9px 13px;font-size:10px;min-height:34px;color:#575161}.view-toggle button.active{background:#fff8;box-shadow:0 2px 7px #51465c09;color:var(--ink)}.view-toggle svg{height:13px;width:13px}.currency{font-size:11px;letter-spacing:.09em;padding:10px}.view-note{font-size:10px;color:#5b5666;position:absolute;left:50%;transform:translateX(-50%)}.mobile-nav{display:none}.search-bar{display:flex;align-items:center;gap:14px;padding:5px 10px 5px 18px;border-radius:26px;max-width:500px;margin:5px auto 20px}.search-bar input{border:0;outline:0;background:none;width:100%;height:36px;font-size:12px;min-width:0}.icon-button{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ffffff70;flex:none}.icon-button:hover{background:#fffb}.text-button{font-size:10px;display:inline-flex;align-items:center;gap:7px;min-height:32px;color:#5e5669}.text-button svg{width:12px;height:12px}.primary-button,.dark-button{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:24px;padding:13px 21px;background:var(--pink);font-size:12px;min-height:44px;transition:background .2s}.primary-button:hover{background:#f4bcd1}.secondary-button{border:1px solid #ffffffb3;background:#ffffff59;border-radius:24px;min-height:43px;padding:12px 21px;font-size:11px}.secondary-button:hover{background:#fff8}.dark-button{background:var(--ink);color:#fff}.empty-state{position:relative!important;left:auto!important;top:auto!important;width:100%!important;grid-column:1/-1;text-align:center;padding:140px 20px}.empty-state>svg{margin:0 auto;width:23px;height:23px;color:#9c6484}.empty-state h2{font-size:22px;font-weight:400;letter-spacing:-.5px;margin:15px 0}.empty-state p{font-size:12px;color:var(--muted)}.empty-state button{margin:20px auto}.wardrobe-heading{padding:20px 4% 30px;display:flex;gap:18px;align-items:center}.wardrobe-heading>img{width:64px;height:64px;object-fit:cover;border:3px solid #fffa;border-radius:50%}.wardrobe-heading h2{font-size:26px;letter-spacing:-1px;font-weight:500}.wardrobe-heading p{font-size:11px;color:#5b5365;margin-top:8px}.wardrobe-stats{display:flex;gap:18px;font-size:10px;margin-top:11px;color:#64596f}.wardrobe-heading-actions{margin-left:auto;display:flex;gap:8px}.profile-view .floating{height:clamp(650px,calc(100svh - 220px),900px)}.profile-view .floating .piece:nth-child(n){top:10%;width:28%;height:350px}.profile-view .floating .piece:nth-child(2n+1){left:15%}.profile-view .floating .piece:nth-child(2n){left:58%;top:25%}
/* Product view: garment on the canvas, compact floating information. */
dialog{border:1px solid #fffc;border-radius:21px;padding:0;width:min(900px,calc(100% - 36px));max-height:90dvh;overflow-y:auto;color:var(--ink);background:#eae8eef0;box-shadow:0 30px 130px #28252c38;overscroll-behavior:contain}dialog[open]{animation:panel-in .25s ease-out}dialog::backdrop{background:#7d8b9a38;backdrop-filter:blur(13px)}.modal-close{position:absolute;right:24px;top:24px;z-index:10}.product-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden}.product-dialog::backdrop{background:#bdc8db29;backdrop-filter:blur(22px)}.product-dialog .modal-close{right:31px;top:31px;width:43px;height:43px}.product-panel{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:6vw;align-items:center;min-height:100dvh;padding:90px 5vw 80px}.product-photo{position:relative;min-width:0;height:calc(100dvh - 170px);min-height:400px}.photo-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;height:100%;width:100%;border-radius:12px;cursor:grab;touch-action:pan-x pinch-zoom;overscroll-behavior-x:contain}.photo-track::-webkit-scrollbar{display:none}.photo-track.dragging{cursor:grabbing;scroll-snap-type:none}.photo-slide{position:relative;flex:0 0 100%;width:100%;height:100%;scroll-snap-align:center;overflow:hidden;display:flex;align-items:center;justify-content:center;user-select:none}.photo-slide img{width:78%;height:82%;object-fit:contain;filter:drop-shadow(10px 25px 17px #3c33412a);pointer-events:none;transform:scale(var(--zoom,1));transform-origin:var(--origin,50% 50%)}.photo-slide.detail img{filter:none}.photo-arrow{position:absolute;top:45%;width:37px;height:37px;z-index:3;color:#5a5265}.photo-arrow.previous{left:0}.photo-arrow.next{right:0}.photo-arrow.previous svg{transform:rotate(180deg)}.photo-thumbnails{position:absolute;left:0;bottom:0;display:flex;gap:7px;border-radius:15px;padding:7px;max-width:calc(100% - 120px);overflow-x:auto;scrollbar-width:none}.photo-thumbnail{width:51px;height:51px;border-radius:9px;overflow:hidden;border:1px solid transparent;background:#ffffff16;padding:4px;flex:none}.photo-thumbnail.active{border-color:#fff;background:#fff3}.photo-thumbnail img{width:100%;height:100%;object-fit:contain;transform:scale(var(--zoom,1));transform-origin:var(--origin,50% 50%);pointer-events:none}.photo-counter{position:absolute;bottom:13px;right:2px;display:flex;align-items:center;gap:12px;font-size:10px;color:#50495d}.photo-counter #photo-label{font-size:9px;color:#655c71}.product-info{padding:25px;border-radius:16px;background:linear-gradient(125deg,#f7f4f187,#fff4);border:1px solid #ffffffbf;backdrop-filter:blur(25px);box-shadow:0 8px 28px #3d344b0b;align-self:end;margin-bottom:20px}.product-info>.seller-mini{margin-bottom:27px}.product-info .seller-mini img{width:32px;height:32px}.product-info .seller-mini span{font-size:10px}.product-title-line{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.product-title-line h2{font-size:23px;letter-spacing:-.8px;font-weight:500;line-height:1.15}.product-title-line strong{font-size:21px;font-weight:500;white-space:nowrap}.product-brand{font-size:10px;color:#655c6d;margin-top:11px}.product-attributes{display:flex;gap:18px;border-top:1px solid #ffffff80;border-bottom:1px solid #ffffff80;padding:15px 0;margin-top:21px;font-size:10px;color:#62586c}.product-details{font-size:11px;margin:18px 0}.product-details summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;min-height:28px;align-items:center}.product-details summary::-webkit-details-marker{display:none}.product-details summary:after{content:'+';font-size:15px}.product-details[open] summary:after{content:'−'}.description{font-size:11px;line-height:1.8;color:#665d6f;margin-top:10px}.demo-photo-note{font-size:9px;color:#706478;margin-top:12px}.product-actions{display:flex;gap:8px;margin-top:18px}.product-actions .primary-button{flex:1;font-size:11px}.product-actions .heart-button{height:44px;width:44px;border:1px solid #ffffff9c;background:#ffffff25;border-radius:50%}.try-on{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:9px;border-radius:23px;padding:10px 16px;min-height:42px;border:1px solid #ffffff80;background:#ffffff18;color:#77707f;font-size:11px}.try-on span{font-size:9px;color:#776c7f}.original-photos{display:flex;gap:9px;margin-top:12px}.original-photos button{padding:0}.original-photos img{height:65px;width:65px;object-fit:cover;border-radius:8px}
/* Existing browser-local demo flows. */
.simple-panel{padding:45px;max-width:640px;margin:auto}.simple-panel h2{font-size:28px;font-weight:500;letter-spacing:-1px;margin-bottom:13px}.simple-panel>p{font-size:12px;color:var(--muted);margin-bottom:24px}.panel-eyebrow{font-size:10px;color:#965b7a;margin-bottom:12px}.upload-zone{border:1px dashed #ab8aa8;border-radius:14px;background:#ffffff40;padding:36px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;cursor:pointer}.upload-zone svg{width:28px;height:28px;color:#9e6a88}.upload-zone strong{font-size:14px;font-weight:500}.upload-zone small{font-size:10px;color:var(--muted)}.upload-zone input{max-width:100%;font-size:11px;margin-top:8px}.sim-label{font-size:10px!important;line-height:1.7!important;margin:15px 0!important;color:#716078!important;padding:11px;background:#e6dce94f;border-radius:8px}.preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.preview-cell{border:1px solid #ddd2df;border-radius:11px;overflow:hidden;background:#e9e3ed}.preview-cell img{width:100%;height:190px;object-fit:contain;padding:16px}.preview-cell small{display:block;text-align:center;font-size:10px;padding:9px;background:#fff7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.field{display:flex;flex-direction:column;gap:7px;font-size:10px}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;background:#ffffff70;border:1px solid #cfc0d3;border-radius:8px;min-height:43px;padding:10px 12px;font-size:12px}.field textarea{resize:vertical;min-height:75px}.simple-panel .primary-button{width:100%;margin-top:18px}.choice-line{display:flex;align-items:center;gap:8px;font-size:11px;margin:10px 0}.choice-line input{accent-color:#ad6587}.loading-line{height:3px;background:#ddcddd;border-radius:3px;overflow:hidden;margin-top:20px}.loading-line:after{content:"";display:block;height:100%;width:40%;background:#bd7594;animation:processing 1s infinite}.inbox{display:grid;grid-template-columns:230px 1fr;min-height:510px}.conversations{border-right:1px solid #ded3e2;padding:30px 12px}.conversations h2{font-size:23px;font-weight:500;margin:7px 12px 26px;letter-spacing:-.6px}.conversation{display:flex;align-items:center;gap:10px;width:100%;padding:14px 10px;text-align:left;border-radius:10px}.conversation.active{background:#e5d5e47d}.conversation img,.chat-header img{width:34px;height:34px;object-fit:cover;border-radius:50%}.conversation strong{font-size:11px;font-weight:500;display:block}.conversation small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.chat{display:flex;flex-direction:column;min-width:0}.chat-header{display:flex;align-items:center;gap:10px;padding:27px 25px;border-bottom:1px solid #ded3e2;font-size:12px}.chat-header small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.chat-body{padding:25px;flex:1;max-height:390px;overflow-y:auto;display:flex;flex-direction:column;gap:13px}.chat-date{font-size:9px;color:#82718a;align-self:center;margin-bottom:10px}.bubble{font-size:12px;line-height:1.65;padding:12px 15px;background:#e5dce9;border-radius:12px 12px 12px 2px;max-width:88%;width:max-content;overflow-wrap:anywhere}.bubble.mine{background:#f0cadd;align-self:flex-end;border-radius:12px 12px 2px 12px}.chat-compose{display:flex;gap:10px;padding:17px 20px;border-top:1px solid #ded3e2}.chat-compose input{min-width:0;flex:1;border:0;background:#fff7;border-radius:20px;padding:10px 15px;font-size:12px}.chat-compose button{background:var(--pink)}.toast{position:fixed;bottom:84px;left:50%;transform:translate(-50%,15px);opacity:0;visibility:hidden;background:#28252ced;color:#fff;padding:13px 22px;border-radius:24px;font-size:11px;box-shadow:0 8px 30px #28252c2b;z-index:100;transition:all .25s;text-align:center;max-width:90vw;width:max-content}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@keyframes float{0%,100%{transform:translateY(0) rotate(var(--rotation,-5deg))}50%{transform:translateY(-8px) rotate(calc(var(--rotation,-5deg) + 1deg))}}@keyframes like{50%{transform:scale(1.25)}}@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes processing{from{transform:translateX(-100%)}to{transform:translateX(350%)}}
@media(min-width:1600px){.floating .piece:nth-child(n){height:290px}.floating .piece:nth-child(8n+2){height:330px}.floating .piece:nth-child(8n+4){height:205px}.floating .piece:nth-child(8n+8){height:210px}}
@media(max-width:1150px){.topbar{padding:24px;gap:15px}.wordmark{font-size:27px;padding:9px 15px}.brand-spark{font-size:22px}.sell-button{width:44px;height:44px}.categories button{font-size:9px;padding:10px}.navigation button{width:32px;height:32px}.navigation{padding:4px}.profile-button img{height:28px;width:28px}.gallery.floating{height:900px}.floating .piece:nth-child(8n+1){width:26%;left:34%}.floating .piece:nth-child(8n+2){width:22%;left:6%}.floating .piece:nth-child(8n+3){width:21%;left:75%}.floating .piece:nth-child(8n+4){width:24%;left:74%}.floating .piece:nth-child(8n+5){width:25%;left:1%}.floating .piece:nth-child(8n+6){width:24%;left:36%}.floating .piece:nth-child(8n+7){width:19%;left:48%}.floating .piece:nth-child(8n+8){width:20%;left:3%}.gallery.grid{gap:17px;padding:20px 0 100px}.grid .piece{height:270px;padding:10px}.grid .garment-button{height:210px}.grid .seller-mini span{font-size:9px}.grid .seller-mini img{height:24px;width:24px}.grid .seller-preview{gap:4px}.grid .preview-price{font-size:10px}.product-panel{gap:25px;grid-template-columns:minmax(0,1fr) 310px;padding:90px 35px 55px}.product-info{padding:22px}.photo-slide img{width:82%}.product-title-line h2{font-size:21px}}
@media(max-width:900px) and (min-width:701px){.topbar{flex-wrap:wrap}.categories{order:3;margin:0 auto}.topbar .navigation{margin-left:auto}.gallery.floating{height:900px}.grid .preview-price{display:none}.gallery.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grid .piece{height:290px}.grid .garment-button{height:225px}}
@media(max-width:700px){.topbar{padding:20px 20px 12px;gap:12px;flex-wrap:wrap}.brand-tools{gap:6px}.wordmark{font-size:27px;padding:9px 15px}.brand-spark{font-size:22px}.sell-button{display:none}.navigation{margin-left:auto;gap:0;padding:3px}.navigation button{width:31px;height:33px}.navigation svg{height:16px;width:16px}.navigation .profile-button{margin-left:0}.profile-button img{height:26px;width:26px}.categories{order:3;width:100%;margin:11px 0 0;padding:4px;overflow-x:auto;scrollbar-width:none;justify-content:space-between;border-radius:24px}.categories button{padding:9px 10px;min-height:34px;font-size:9px}.categories button:last-child{margin-right:1px}main{padding:0 16px}.gallery.floating{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:55px;height:auto;min-height:calc(100svh - 170px);padding:26px 0 150px}.floating .piece:nth-child(n){position:relative;left:auto;top:auto;width:100%;height:235px;margin:0}.floating .piece:nth-child(2n){transform:translateY(70px)}.floating .piece:nth-child(4n+3){height:200px}.garment-button{padding:6px}.seller-preview{display:none}.gallery.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px 0 150px}.grid .piece{height:255px;padding:10px}.grid .garment-button{height:195px;padding:10px}.grid .seller-preview{display:flex;padding:7px 0;gap:3px}.grid .seller-mini{gap:5px}.grid .seller-mini img{width:23px;height:23px}.grid .seller-mini span{font-size:8px}.grid .preview-price{font-size:10px}.grid .heart-button{width:25px}.grid .seller-preview .seller-mini span{max-width:65px;overflow:hidden;text-overflow:ellipsis}.canvas-tools{bottom:90px;left:20px;right:20px;z-index:6}.currency{font-size:9px;padding:6px}.view-toggle{padding:3px}.view-toggle button{font-size:9px;min-height:30px;padding:7px 10px;gap:5px}.view-toggle svg{height:12px;width:12px}.view-note{display:none}.mobile-nav{position:fixed;z-index:8;bottom:calc(15px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-around;gap:8px;padding:7px 13px;border-radius:30px;min-width:270px;background:#e9e6efd1}.mobile-nav button{height:37px;width:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#665d72}.mobile-nav button.active{color:#9e5075;background:#fff6}.mobile-nav svg{width:18px;height:18px}.mobile-sell{height:34px;width:34px;background:var(--pink);border-radius:50%}.mobile-sell svg{color:var(--ink)}.search-bar{margin:12px 0 5px;padding:5px 8px 5px 14px}.search-bar input{font-size:11px}.search-bar .icon-button{height:32px;width:32px}.wardrobe-heading{padding:19px 3px 20px;gap:13px;flex-wrap:wrap}.wardrobe-heading>img{height:51px;width:51px}.wardrobe-heading h2{font-size:23px}.wardrobe-heading p{font-size:10px;line-height:1.7}.wardrobe-stats{font-size:9px;gap:14px}.wardrobe-heading-actions{width:100%;margin-left:0;margin-top:8px}.wardrobe-heading-actions button{flex:1;font-size:10px;padding:10px 14px;min-height:40px}.profile-view .floating .piece:nth-child(n){height:240px;width:100%;left:auto;top:auto}.empty-state{padding:100px 15px}.empty-state h2{font-size:21px}dialog{width:100%;max-width:100%;max-height:93dvh;margin:auto 0 0;border-radius:22px 22px 0 0;border-bottom:0}.modal-close{top:14px;right:14px}.product-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;overflow-y:auto}.product-dialog .modal-close{top:17px;right:17px;width:38px;height:38px;position:fixed}.product-panel{display:flex;flex-direction:column;gap:23px;padding:52px 20px 25px;min-height:100dvh}.product-photo{width:100%;height:clamp(320px,49dvh,460px);min-height:0;flex:none}.photo-slide img{width:84%;height:78%}.photo-thumbnails{left:0;bottom:0;padding:5px;gap:5px;max-width:calc(100% - 95px);border-radius:12px}.photo-thumbnail{width:39px;height:39px;padding:3px;border-radius:7px}.photo-counter{bottom:14px;gap:8px;font-size:9px}.photo-counter #photo-label{font-size:8px}.photo-arrow{width:31px;height:31px;top:40%;background:#fff4}.photo-arrow svg{width:15px;height:15px}.product-info{padding:20px;width:100%;margin:0;align-self:auto;border-radius:15px}.product-info>.seller-mini{margin-bottom:22px}.product-title-line h2{font-size:24px}.product-title-line strong{font-size:22px}.product-attributes{margin-top:18px;padding:13px 0}.product-details{margin:12px 0}.product-actions{margin-top:14px}.product-actions .primary-button{min-height:43px}.try-on{min-height:39px;font-size:10px}.product-brand{font-size:10px}.product-dialog::backdrop{backdrop-filter:blur(25px)}.simple-panel{padding:40px 25px 30px}.simple-panel h2{font-size:27px}.simple-panel>p{font-size:11px}.preview-cell img{height:150px}.inbox{grid-template-columns:1fr;min-height:75dvh}.conversations{padding:18px 16px;border-right:0;border-bottom:1px solid #ded3e2;display:flex;gap:7px;overflow:auto}.conversations h2{display:none}.conversation{width:auto;flex:none;padding:10px}.conversation small{display:none}.conversation img{height:27px;width:27px}.conversation strong{font-size:10px}.chat{min-height:58dvh}.chat-header{padding:17px 22px}.chat-body{max-height:40dvh}.toast{bottom:90px;font-size:10px}.original-photos button{padding:0}}
@media(max-width:360px){.topbar{padding:18px 16px 12px}.categories button{font-size:8px;padding:9px}.navigation button{width:28px}.wordmark{font-size:24px;padding:9px 13px}.brand-spark{font-size:20px}.floating .piece:nth-child(n){height:210px}.gallery.floating{column-gap:20px;row-gap:40px}.grid .piece{height:235px;padding:8px}.grid .garment-button{height:180px}.grid .seller-mini span{max-width:50px!important}.grid .preview-price{display:none}.canvas-tools{left:16px;right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:701px){.gallery.floating.extended{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;gap:90px 45px;padding:35px 15px 140px}.floating.extended .piece:nth-child(n){position:relative;left:auto;top:auto;width:100%;height:260px}.floating.extended .piece:nth-child(2n){transform:translateY(60px)}}
.atmosphere{position:absolute;min-height:100svh}
/* Liquid glass: transparent interiors, refractive color and a fine specular rim. */
.wordmark,.sell-button,.categories,.navigation,.view-toggle{position:relative}
.glass,.product-info{isolation:isolate;background:linear-gradient(130deg,#ffffff36,#ffffff0d 48%,#e6f0ff27);border:1px solid #ffffffa1;box-shadow:inset 0 1px 1px #ffffffe0,inset 1px 0 1px #ffffff80,inset 0 -1px 1px #52637c3d,0 6px 22px #35475e13;backdrop-filter:blur(14px) saturate(1.45);-webkit-backdrop-filter:blur(14px) saturate(1.45)}
.glass:before,.product-info:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:linear-gradient(125deg,#ffffff82,transparent 25%,transparent 62%,#e3f4ff55);opacity:.36;transition:opacity .3s}
.glass:after,.product-info:after{content:"";position:absolute;inset:-1px;padding:1px;border-radius:inherit;pointer-events:none;background:linear-gradient(125deg,#fffffff2,#ffffff40 28%,#ffffff10 52%,#e5f7ffc9 78%,#ffffffef);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.glass:hover:before,.product-info:hover:before{opacity:.54}.product-info{position:relative;background:linear-gradient(125deg,#f7f4f150,#f0f2ff1a);box-shadow:inset 0 1px 2px #fffd,inset 0 -1px 1px #4f5f7c38,0 12px 35px #34445a13;backdrop-filter:blur(23px) saturate(1.5);-webkit-backdrop-filter:blur(23px) saturate(1.5)}
.categories button.active,.view-toggle button.active,.mobile-nav button.active{background:linear-gradient(145deg,#ffffff6b,#ffffff26);box-shadow:inset 0 1px 1px #ffffffb3,inset 0 -1px 1px #5c66731a,0 2px 7px #49556b0a}
.primary-button{background:linear-gradient(140deg,#fac4d9d9,#f5a9c5b8);border:1px solid #ffd8e6c9;box-shadow:inset 0 1px 1px #ffffffa8,inset 0 -1px 1px #a85f7d21,0 5px 12px #a6698810;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.primary-button:hover{background:linear-gradient(140deg,#fbcce0ef,#f5a9c5c9)}
.try-on,.product-actions .heart-button,.secondary-button{background:linear-gradient(145deg,#ffffff28,#ffffff08);border-color:#ffffff80;box-shadow:inset 0 1px 1px #ffffff61,inset 0 -1px 1px #52637c18}.photo-thumbnail.active{background:#ffffff3d;box-shadow:inset 0 1px 2px #fff9}
dialog:not(.product-dialog){background:linear-gradient(130deg,#eef0f4db,#e0deebcc);backdrop-filter:blur(25px) saturate(1.3);-webkit-backdrop-filter:blur(25px) saturate(1.3)}
@media(max-width:700px){.topbar .navigation{border:0;box-shadow:none;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0}.topbar .navigation:before,.topbar .navigation:after{display:none}.topbar .navigation button:not(.profile-button){display:none}.topbar .navigation .profile-button{width:36px;height:36px}.topbar .profile-button img{width:32px;height:32px}.mobile-nav{background:linear-gradient(130deg,#f0ecf579,#e2e8f259);backdrop-filter:blur(22px) saturate(1.5);-webkit-backdrop-filter:blur(22px) saturate(1.5)}.canvas-tools{position:absolute;top:150px;bottom:auto;left:auto;right:20px}.canvas-tools .currency{display:none}.view-toggle button>span:not([data-icon]){display:none}.view-toggle button{min-height:29px;padding:8px}.view-toggle{padding:3px;border-radius:20px}.profile-view .canvas-tools{top:149px}}
@media(max-width:700px){.search-view .canvas-tools{top:215px}}
@media(max-width:700px){.garment-button{padding:13px}}

/* Vector mark keeps the pink identity on iOS, without emoji substitution. */
.brand-spark{display:block;flex:none;width:24px;height:24px;margin:0 0 3px 4px;color:#f5a9c5;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.view-controls{display:flex;align-items:center;gap:10px}
.design-switch{display:flex;align-items:center;padding:4px;border-radius:23px;gap:2px;position:relative}
.design-switch a{display:flex;align-items:center;justify-content:center;width:30px;height:32px;border-radius:50%;font-size:10px;color:#62586e}
.design-switch a.active{color:#804563;background:linear-gradient(145deg,#f5a9c55c,#fff3);box-shadow:inset 0 1px 1px #ffffffb3,inset 0 -1px 1px #5c66731a}
.design-switch a:hover{background:#fff5}
@media(max-width:1150px){.brand-spark{width:22px;height:22px}}
@media(max-width:700px){.view-controls{gap:7px}.design-switch{padding:3px}.design-switch a{height:29px;width:27px;font-size:9px}}
@media(max-width:360px){.brand-spark{width:20px;height:20px}}

.navigation button.active[data-nav=charity]{color:#9a4c73}.charity-choice{padding:12px 0;border-bottom:1px solid #fff7;gap:9px}.charity-choice svg{width:16px;height:16px;color:#a55e82}.charity-choice small{margin-left:auto;color:#766a7e;font-size:9px}.field input:disabled{opacity:.6}.view-note{pointer-events:none}
@media(max-width:700px){.mobile-nav{gap:2px;padding:6px 10px;min-width:284px}.mobile-nav button{width:44px;height:44px}}
/* Match the full-document/overscroll coverage used by F2h, including Safari's large viewport. */
:root{--komod-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.3' d='M0 0h180v180H0z'/%3E%3C/svg%3E");min-height:100%;background-color:#c7ddf5;background-image:var(--komod-grain),linear-gradient(120deg,#dce0ec,#c8dce9 28%,#a8bfd3 50%,#d1cede 73%,#efdae5);background-blend-mode:soft-light,normal;background-size:180px 180px,100% 100%;background-repeat:repeat,no-repeat}
body{min-height:100vh;min-height:100lvh;background:transparent}.atmosphere{min-height:100%;overflow:hidden;overflow:clip}
@font-face{font-family:Vazirmatn;src:url('assets/fonts/vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.header-actions{display:flex;align-items:center;gap:9px}.language-switch{position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;height:46px;min-width:46px;padding:0 10px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px}
.categories .charity-filter{display:flex;align-items:center;gap:6px;margin-inline-start:5px;border-inline-start:1px solid #ffffffa6;border-radius:0 20px 20px 0;padding-inline-start:15px}.charity-filter svg{height:16px;width:16px}.categories .charity-filter.active{color:#874665;background:#f5a9c53b}
.photo-track,.photo-thumbnails,.photo-counter,.design-switch,.wordmark{direction:ltr}.wordmark{font-family:Arial,Helvetica,sans-serif}.seller-mini bdi{unicode-bidi:isolate}.product-title-line strong{white-space:nowrap;unicode-bidi:isolate}.photo-counter{unicode-bidi:isolate}
html[lang=fa]{font-family:Vazirmatn,Tahoma,Arial,sans-serif}html[lang=fa] h1,html[lang=fa] h2,html[lang=fa] h3{letter-spacing:0}html[lang=fa] .gallery{direction:ltr}html[lang=fa] .seller-preview,html[lang=fa] .product-info,html[lang=fa] .simple-panel{direction:rtl}html[lang=fa] .seller-mini,html[lang=fa] .conversation{text-align:right}html[lang=fa] .product-title-line h2{line-height:1.6}html[lang=fa] .categories .charity-filter{border-radius:20px 0 0 20px}html[lang=fa] .wardrobe-heading-actions{margin-left:0;margin-right:auto}html[lang=fa] .charity-choice small{margin-left:0;margin-right:auto}html[lang=fa] .product-attributes span{unicode-bidi:plaintext}html[lang=fa] .field input[type=number]{direction:ltr;text-align:right}html[lang=fa] .bubble{unicode-bidi:plaintext}html[lang=fa] .text-button svg{transform:rotate(180deg)}
@media(max-width:700px){.language-switch{height:36px;min-width:36px;padding:0 8px;font-size:10px}.header-actions{gap:7px}.categories{justify-content:flex-start;gap:2px}.categories button{flex:none}.categories .charity-filter{padding-inline-start:12px;gap:5px}html[lang=fa] .wardrobe-heading-actions{margin-right:0}}
.currency{direction:ltr;unicode-bidi:isolate}.upload-zone{position:relative}.upload-zone input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.upload-zone:focus-within{outline:2px solid #945372;outline-offset:4px}
/* Keep the separate Charity filter visible while clothing categories scroll. */
.categories{min-width:0;overflow:visible}.category-options{display:flex;align-items:center;gap:1px;min-width:0;overflow-x:auto;scrollbar-width:none;flex:1}.category-options>button{flex:none}.categories .charity-filter{flex:none;white-space:nowrap}

html[lang=fa] .wordmark{font-family:Vazirmatn,Tahoma,sans-serif;letter-spacing:0;direction:rtl;font-weight:700}html[lang=fa] .wordmark .brand-spark{margin:0 4px 3px 0}

/* Clearer identity, real sizes and headers with room for Close in both directions. */
:root{--brand-mark:#cf536d}
.brand-spark{color:var(--brand-mark)}
.topbar{padding-top:calc(27px + env(safe-area-inset-top))}
.product-attributes{align-items:flex-start;gap:26px}
.size-block,.condition-block{display:flex;flex-direction:column;gap:9px}
.meta-label{font-size:9px;letter-spacing:.07em;color:#62586c}
.size-circle{position:relative;display:flex;align-items:center;justify-content:center;min-width:50px;width:50px;height:50px;border-radius:50%;font-size:12px;font-weight:500;color:var(--ink);direction:ltr}
.size-circle>span{display:block;max-width:46px;text-align:center;font-size:inherit}
.condition-block>span:not(.meta-label){font-size:11px;line-height:1.6;padding-top:6px}
.condition-block .charity-note{padding-top:0;color:#92455f}
.source-link{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#675465;min-height:32px;text-decoration:underline;text-underline-offset:3px}
.source-link svg{width:12px;height:12px}
.product-title-line strong{font-size:18px;max-width:58%}
.modal-close{right:auto;inset-inline-end:20px;top:20px;width:44px;height:44px}
.simple-panel{padding-top:70px}
.about-brand{padding:0;margin-bottom:30px;font-size:40px}
.about-brand .brand-spark{width:31px;height:31px;margin-inline-start:7px}
.about-panel,.install-panel{padding-bottom:38px}
.about-panel h2{font-size:28px}
.about-panel>p{font-size:13px}
.install-link{margin:14px auto 0;display:flex;justify-content:center}
.inbox-dialog{height:min(650px,calc(var(--visual-height,100dvh) - 40px));max-height:calc(var(--visual-height,100dvh) - 40px);overflow:hidden}
.inbox-dialog #modal-content{height:100%;display:flex;flex-direction:column;min-height:0}
.inbox-header{height:84px;flex:none;padding:25px 28px;padding-inline-end:84px;border-bottom:1px solid #ded3e2}
.inbox-header h2{font-size:24px;font-weight:500;line-height:34px}
.inbox-dialog .inbox{flex:1;min-height:0;overflow:hidden}
.inbox-dialog .conversations{padding-top:16px;overflow-y:auto}
.inbox-dialog .chat{min-height:0;overflow:hidden}
.inbox-dialog .chat-header{padding:18px 24px;flex:none}
.inbox-dialog .chat-body{max-height:none;min-height:0;flex:1}
.inbox-dialog .chat-compose{flex:none}
html[dir=rtl] .conversations{border-right:0;border-left:1px solid #ded3e2}
html[dir=rtl] .modal-close{right:auto;left:20px}
html[dir=rtl] .product-dialog .modal-close{right:auto;left:31px}
html[dir=rtl] .source-link svg,html[dir=rtl] .install-link svg{transform:none}
@media(max-width:1150px){.topbar{padding-top:calc(24px + env(safe-area-inset-top))}}
@media(max-width:700px){
 .topbar{padding-top:calc(20px + env(safe-area-inset-top))}
 .canvas-tools{top:calc(150px + env(safe-area-inset-top))}
 .search-view .canvas-tools{top:calc(215px + env(safe-area-inset-top))}
 .profile-view .canvas-tools{top:calc(149px + env(safe-area-inset-top))}
 .simple-panel{padding:72px 25px 30px}
 .about-brand{font-size:37px;margin-bottom:25px}
 .about-panel h2{font-size:26px}
 .about-panel>p{font-size:12px}
 .modal-close{top:14px;inset-inline-end:14px}
 html[dir=rtl] .modal-close{left:14px}
 .inbox-dialog{height:min(720px,calc(var(--visual-height,100dvh) - env(safe-area-inset-top) - 12px));max-height:calc(var(--visual-height,100dvh) - env(safe-area-inset-top) - 12px);margin:auto 0 0}
 .inbox-header{height:72px;padding:18px 24px;padding-inline-end:76px}
 .inbox-header h2{font-size:24px}
 .inbox-dialog .inbox{display:flex;flex-direction:column}
 .inbox-dialog .conversations{flex:none;border:0;border-bottom:1px solid #ded3e2;padding:8px 14px;overflow-x:auto}
 .inbox-dialog .chat{flex:1}
 .inbox-dialog .chat-header{padding:13px 20px}
 .inbox-dialog .chat-body{padding:20px}
 .inbox-dialog .chat-compose{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
 .product-dialog .modal-close{top:calc(17px + env(safe-area-inset-top));width:44px;height:44px}
 html[dir=rtl] .product-dialog .modal-close{left:17px}
 .product-panel{padding-top:calc(58px + env(safe-area-inset-top));padding-bottom:calc(25px + env(safe-area-inset-bottom))}
 .product-title-line strong{font-size:17px;padding-top:4px}
 .size-circle{width:50px;height:50px;min-width:50px}
}
