/* N9NE: clothing first. Native adaptations of the 21st references in docs/design-v51.md. */
:root{--paper:#f5f5f7;--surface:#fff;--text:#171719;--quiet:#737377;--rule:#e5e5e8;--ease:cubic-bezier(.22,.61,.36,1)}
html[data-mode=dark]{--paper:#111113;--surface:#1b1b1e;--text:#f5f5f7;--quiet:#a1a1a6;--rule:#303034}
html:root body{background:var(--paper)!important;-webkit-font-smoothing:antialiased}
html:root body :is(h1,h2,h3){font-weight:500!important;letter-spacing:-.035em!important}
html:root body .btn,html:root body .ui-btn,html:root body .auth-submit{min-height:48px!important;padding:12px 24px!important;border-radius:999px!important;font-size:14px!important;line-height:1.35!important;box-shadow:inset 0 1px 1px #ffffff24,0 3px 8px #00000008!important;transition:transform .22s var(--ease),background-color .22s,color .22s,box-shadow .22s!important}
html:root body .btn:active,html:root body .ui-btn:active{transform:scale(.97)}
html:root body .btn.primary::before{border-radius:inherit!important}
html:root body .btn span[aria-hidden]{display:inline-block;margin-left:8px;transition:transform .22s var(--ease)}
@media(hover:hover){html:root body .btn:hover span[aria-hidden]{transform:translate(2px,-2px)}}
html:root body .nav{box-shadow:none!important;border-bottom:1px solid var(--rule)!important}
html:root body .nav-logo img{max-height:32px}
html:root body .nav-actions .icon-btn,html:root body .menu-trigger{min-width:40px!important;min-height:44px!important;width:40px!important;padding:0!important;justify-content:center}
html:root body .home-hero{position:relative;isolation:isolate;overflow:hidden}
html:root body .home-hero-photo{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
html:root body .home-caption{position:absolute;inset:auto 0 0;z-index:1;margin:0;padding:80px 5vw 40px!important;background:linear-gradient(transparent,#0008);display:flex;align-items:end;justify-content:space-between;gap:24px;color:white}
html:root body .home-caption h1{color:white!important;font-size:clamp(40px,6vw,80px)!important;margin:0!important;line-height:1!important}
html:root body .home-caption .btn{white-space:nowrap;background:#fff!important;color:#171719!important;border-color:#fff!important}
html:root body .home-drop{padding:64px 5vw!important}
html:root body .home-drop h2{font-size:clamp(28px,4vw,44px)!important}
html:root body .trio-all{font-size:13px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
html:root body .home-drop .trio-head{border:0!important;margin-bottom:24px!important;align-items:center}
html:root body .catalog-shell.lookbook{max-width:1440px;margin:auto;padding:40px 4vw 48px!important}
html:root body .lookbook-head{display:flex!important;align-items:baseline!important;flex-direction:row!important;justify-content:space-between!important;gap:16px!important;min-height:0!important;padding:0!important;margin:0 0 24px!important;border:0!important}
html:root body .lookbook-title{font-size:clamp(36px,5vw,64px)!important;line-height:1.1!important;margin:0!important}
html:root body .lookbook-title span{animation:none!important;display:inline!important;transform:none!important;opacity:1!important}
html:root body .catalog-count{margin:0!important;font-size:13px!important;color:var(--quiet)!important;white-space:nowrap}
html:root body .lookbook-controls{display:flex!important;justify-content:space-between;flex-direction:row!important;align-items:center!important;gap:12px;margin:0 0 24px!important;flex-wrap:nowrap!important;padding:0!important}
html:root body .segmented{position:relative;display:flex!important;flex-wrap:nowrap!important;gap:0!important;padding:4px!important;border:0!important;border-radius:999px!important;background:var(--rule)!important;width:max-content;max-width:calc(100% - 52px);overflow-x:auto;scrollbar-width:none;isolation:isolate}
html:root body .segmented-thumb{display:block!important;position:absolute;left:0;top:4px;height:calc(100% - 8px);border-radius:999px;background:var(--text)!important;z-index:0;transition:transform .28s var(--ease),width .28s var(--ease)!important;box-shadow:none!important}
html:root body .segmented-item{position:relative;z-index:1;flex:none;border:0!important;background:transparent!important;padding:0 16px!important;min-height:40px!important;font-size:13px!important;white-space:nowrap;line-height:1.2!important;border-radius:999px!important;color:var(--quiet)!important;transition:color .22s!important}
html:root body .segmented-item.is-active{background:transparent!important;color:var(--paper)!important}
html:root body .lookbook-sort{position:relative;width:44px!important;min-width:44px;flex:none;display:block!important;margin:0!important}
html:root body .lookbook-sort::after{content:'';position:absolute;inset:10px;background:currentColor;mask:url(assets/icons/sort.svg) center/22px no-repeat;pointer-events:none}
html:root body #catalog-sort{appearance:none!important;-webkit-appearance:none!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;background:transparent!important;border:1px solid var(--rule)!important;border-radius:50%!important;color:transparent!important;font-size:16px!important;cursor:pointer}
html:root body #catalog-sort option{color:var(--text);background:var(--surface)}
html:root body .lookbook-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:32px 20px!important}
html:root body .lookbook-grid .garment-card{padding:0!important;margin:0!important;background:transparent!important;border:0!important}
html:root body .lookbook-grid .drop-media{aspect-ratio:4/5!important;border-radius:20px!important;background:var(--surface)!important;overflow:hidden;min-height:0!important}
html:root body .lookbook-grid .drop-photo{inset:0!important;padding:20px!important}
html:root body .lookbook-grid .drop-photo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:20px!important;transform:none!important}
html:root body .drop-meta{padding-top:12px!important;margin:0!important}
html:root body .drop-title{font-size:15px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:0!important}
html:root body .garment-price{font-size:14px!important;font-weight:500!important;font-variant-numeric:tabular-nums}
html:root body .save-piece{width:44px;height:44px;right:8px;top:10px;background:var(--surface);border:0;box-shadow:0 1px 8px #00000006}
.save-piece svg{width:19px;height:19px}
html:root body .catalog-tools{display:flex;justify-content:center;margin-top:32px;padding:16px;border-top:1px solid var(--rule)}
html:root body .catalog-tools button{background:transparent;border:0;min-height:44px;color:var(--quiet);font-size:13px}
html:root body .hub-page{max-width:1000px;padding:40px 4vw 48px}
html:root body .hub-page h1{font-size:40px!important;margin:0 0 24px}
html:root body .hub-grid{gap:16px}
html:root body .hub-item{display:grid;grid-template-columns:100px 1fr 24px;gap:24px;align-items:center;border:0;background:var(--surface);border-radius:24px;padding:24px;min-height:160px;transition:transform .25s var(--ease),background-color .25s}
.hub-item:active{transform:scale(.985)}
html:root body .hub-item h2{font-size:24px!important;margin:0!important}
html:root body .hub-item>img,html:root body .hub-mark{width:100px;height:112px;object-fit:contain;background:transparent}
html:root body .hub-mark img{width:36px;height:64px;object-fit:contain}
html[data-mode=dark] .hub-mark img{filter:invert(1)}
.hub-arrow{font-size:24px;color:var(--quiet);justify-self:end}
html:root body .product-gallery .product-stage,html:root body .product-gallery .product-stage:not(.is-model){aspect-ratio:1/1!important;background:#fff!important;border-radius:24px!important;box-shadow:none!important;max-height:none!important;overflow:hidden}
html:root body .product-gallery .product-stage.is-model{aspect-ratio:2/3!important;background:#fff!important}
html:root body .product-gallery .product-stage #garment-image,html:root body .product-gallery .product-stage.is-model #garment-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:16px!important;transform:none!important;filter:none!important;aspect-ratio:auto!important}
html:root body .product-gallery .product-stage.is-model #garment-image{padding:0!important}
html:root body .gallery-tabs .view-tab{border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;padding:6px!important;min-width:80px;color:var(--quiet)!important;font-size:11px!important}
html:root body .gallery-tabs .view-tab.is-active{border-color:var(--text)!important;color:var(--text)!important}
html:root body .gallery-tabs .view-tab img{object-fit:contain!important;background:#fff;border-radius:8px}
html:root body .product-copy h1{font-size:clamp(30px,4vw,48px)!important;line-height:1.1!important}
html:root body .product-story{font-size:14px!important;color:var(--quiet)!important;line-height:1.6!important}
html:root body .product-detail-note:empty{display:none}
html:root body .product-specs{font-size:13px!important;margin:24px 0!important}
html:root body .size-choice{border-radius:12px!important;min-height:44px;min-width:44px;transition:background .2s,color .2s,transform .2s}
html:root body .size-choice:active{transform:scale(.94)}
html:root body .product-copy .product-save{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--quiet)!important;padding:8px!important;min-height:40px!important;font-size:13px!important}
html:root body .checkout-panel{background:var(--surface)!important;border:0!important;border-radius:24px!important}
html:root body .checkout-item img{object-fit:contain!important;background:white!important;border-radius:12px!important;padding:4px!important;width:72px!important;height:80px!important;flex:none}
html:root body .quick-media{background:#fff!important;border-radius:18px!important}
html:root body .quick-photo{object-fit:contain!important;transform:none!important;padding:20px!important}
html:root body .site-footer{padding:32px 4vw!important;margin-top:24px!important;background:var(--paper)!important;gap:24px!important}
html:root body .footer-mark{display:none!important}
html:root body .footer-cols{gap:32px!important}
html:root body .footer-col h2{font-size:13px!important;margin-bottom:12px!important}
html:root body .footer-col a{font-size:12px!important;line-height:1.8}
html:root body .footer-bottom{font-size:10px!important;padding-top:16px!important}
.drawer-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--rule);font-size:13px}
.drawer-tools select{font:inherit;background:var(--surface);color:var(--text);border:1px solid var(--rule);border-radius:12px;padding:10px;min-height:44px}
html:root body .profile-section{margin-bottom:24px}
html:root body .profile-section .app-note{font-size:14px;line-height:1.6}
@media(max-width:900px){
 html:root body>.nav,html:root body.home-page>.nav{height:60px!important;padding:0 16px!important;grid-template-columns:40px 1fr auto!important;gap:8px!important}
 html:root body .nav-logo{justify-self:start!important;position:static!important;transform:none!important}
 html:root body .nav-logo img{width:112px!important;height:auto!important}
 html:root body .nav-actions{gap:4px!important;justify-self:end!important}
 html:root body .mode-switch{margin:0!important}
 html:root body .home-hero-photo{height:auto!important;aspect-ratio:941/1672!important;object-fit:contain!important;object-position:center!important}
 html:root body .home-caption{padding:64px 24px 28px!important;display:flex!important;align-items:center;gap:12px}
 html:root body .home-caption h1{font-size:36px!important}
 html:root body .home-caption .btn{padding:12px 18px!important;font-size:13px!important;min-height:44px!important}
 html:root body .home-drop{padding:32px 20px!important}
 html:root body .home-drop .trio-head{margin-bottom:16px!important}
 html:root body .home-drop h2{font-size:28px!important}
 html:root body .drop-trio{margin-top:0!important}
 html:root body .catalog-shell.lookbook{padding:24px 16px 32px!important}
 html:root body .lookbook-title{font-size:34px!important}
 html:root body .lookbook-head{margin-bottom:20px!important}
 html:root body .lookbook-controls{margin-bottom:20px!important}
 html:root body .lookbook-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px!important}
 html:root body .lookbook-grid .drop-media{border-radius:18px!important;aspect-ratio:4/5!important}
 html:root body .lookbook-grid .drop-photo img{padding:16px!important}
 html:root body .lookbook-grid .drop-meta{display:grid!important;gap:5px!important;padding-top:10px!important;min-height:0!important}
 html:root body .lookbook-grid .drop-title{font-size:13px!important;line-height:1.35!important}
 html:root body .lookbook-grid .garment-price{font-size:13px!important}
 html:root body .lookbook-grid .garment-category{display:none!important}
 html:root body .hub-page{padding:28px 20px 36px!important;min-height:calc(100svh - 260px)}
 html:root body .hub-grid{grid-template-columns:1fr!important;gap:12px}
 html:root body .hub-item{grid-template-columns:72px 1fr 24px;gap:20px;padding:20px;min-height:124px;border-radius:22px}
 html:root body .hub-item>img,html:root body .hub-mark{width:72px;height:84px}
 html:root body .hub-item h2{font-size:24px!important}
 html:root body .product-shell{padding:16px 16px 40px!important}
 html:root body .product-layout{gap:24px!important}
 html:root body .product-gallery .product-stage{border-radius:22px!important}
 html:root body .gallery-tabs{gap:8px!important;padding:4px 0!important}
 html:root body .gallery-tabs .view-tab img{width:52px!important;height:64px!important}
 html:root body .product-copy h1{font-size:30px!important;margin:8px 0 12px!important}
 html:root body .edition-label{display:none!important}
 html:root body .size-picker{margin-block:20px!important}
 html:root body .app-page{padding:28px 20px}
 html:root body .app-page h1{font-size:34px!important;margin-bottom:24px}
 html:root body .site-footer{padding:24px 20px!important;margin-top:16px!important}
 html:root body .footer-cols{display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:20px!important}
 html:root body .footer-bottom{margin-top:12px!important;gap:8px!important}
 html:root body{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:112px}
 html:root body .app-bottom{inset:auto 12px calc(12px + env(safe-area-inset-bottom))!important;height:68px!important;padding:4px 5px!important;background:var(--surface)!important;border:1px solid var(--rule)!important;border-radius:26px!important;box-shadow:0 8px 28px #0000000d;gap:1px}
 html:root body .app-bottom a{font-size:10px!important;font-weight:400!important;gap:4px!important;position:relative;isolation:isolate;border-radius:20px;color:var(--quiet)!important;transition:color .22s var(--ease),transform .22s var(--ease)}
 html:root body .app-bottom a::after{display:none!important}
 html:root body .app-bottom a::before{content:'';position:absolute;inset:1px 2px;background:transparent;border-radius:20px;z-index:-1;transition:background .22s var(--ease)}
 html:root body .app-bottom a[aria-current=page]{color:var(--text)!important;font-weight:500!important}
 html:root body .app-bottom a[aria-current=page]::before{background:var(--paper)}
 html:root body .app-bottom svg,html:root body .app-bottom .tab-catalog svg{width:23px!important;height:23px!important;padding:0!important;background:transparent!important;color:inherit!important;border-radius:0!important;stroke-width:1.65}
 html:root body .app-bottom .tab-catalog svg{width:25px!important;height:25px!important}
 html:root body .app-bottom .tab-catalog::before{display:block!important}
 html:root body .app-bottom a:active{transform:scale(.94);opacity:1}
 .keyboard-open .app-bottom{display:none!important}
}
@media(prefers-reduced-motion:no-preference){
 .polish-enter{animation:polish-enter .5s var(--ease) both}
 @keyframes polish-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){html:root body .segmented-thumb,html:root body .btn,html:root body .app-bottom a,html:root body .hub-item{transition:none!important;animation:none!important}}

html:root body.catalog-page .segmented-item{border:0!important;border-radius:999px!important;background:transparent!important}html:root body.catalog-page .segmented-item.is-active{background:transparent!important;color:var(--paper)!important}html:root body .drop-meta h3{margin:0!important}html:root body .drop-meta .garment-price{margin:0!important;line-height:1.4!important}

html:root body .product-gallery{min-width:0}html:root body .gallery-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important}html:root body .gallery-tabs .view-tab{min-width:0!important;width:100%!important;max-width:none!important}html:root body .app-bottom a::before{width:auto!important;height:auto!important;top:1px!important;bottom:1px!important}html:root body .side-drawer{overflow-y:auto}html:root body .drawer-nav{flex-shrink:0}@media(max-width:900px){html:root body .drawer-foot{display:none!important}html:root body .drawer-tools{margin-top:auto;flex-shrink:0}}

/* Phosphor regular SVG paths preserve their authored silhouette. */
html:root body :is(.app-bottom,.menu-trigger,.icon-btn,.save-piece,.drawer-close) svg{fill:currentColor!important;stroke:none!important}html:root body .save-piece[aria-pressed=true]{color:var(--clan)!important}html:root body .save-piece[aria-pressed=true] svg{fill:currentColor!important;stroke:none!important}.hero-title-mobile{display:none}@media(hover:hover){html:root body .hub-item:hover{transform:translateY(-2px)}html:root body .app-bottom a:hover svg{transform:translateY(-2px)}}html:root body .app-bottom svg{transition:transform .22s var(--ease)}
@media(max-width:900px){html:root body .home-hero{height:calc(100svh - 148px)!important;min-height:520px!important;background:#08090b!important}html:root body .home-hero picture{display:block;width:100%;height:100%}html:root body .home-hero-photo{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important}html:root body .home-caption{inset:22px 20px auto!important;padding:0!important;background:none!important;align-items:center!important;gap:12px!important}html:root body .home-caption h1{font-size:32px!important}html:root body .home-caption .btn{font-size:12px!important;min-height:44px!important;padding:12px 18px!important}.hero-title-desktop{display:none}.hero-title-mobile{display:inline}}
