/* Only loaded by /rail-preview/index.html, never the normal store. */
:root{--w2-rail-header-h:110px}
#root .app .toprow{
  position:sticky!important;
  top:0!important;z-index:320!important;
  width:calc(100vw - 28px)!important;
  max-width:1460px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  min-height:var(--w2-rail-header-h)!important;
  height:var(--w2-rail-header-h)!important;
  box-sizing:border-box!important;
  display:flex!important;align-items:center!important;
  justify-content:space-between!important;
  padding:6px 10px!important;
  gap:8px!important;
  background:rgba(21,21,21,.83)!important;
  -webkit-backdrop-filter:blur(17px) saturate(145%);
  backdrop-filter:blur(17px) saturate(145%);
  border-bottom:1px solid rgba(255,255,255,.055);
}
#root .app .toprow #w2cat-hold,
#root .app .toprow .type-sw,
#root .app .toprow .w2two-slogan{display:none!important}
#root .app .toprow .w2two-me{
  display:grid!important;place-items:center!important;
  position:relative!important;flex:0 0 46px!important;
  top:auto!important;right:auto!important;transform:none!important;
  margin:0!important;z-index:2;
}
#root .app .toprow w2-rail{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:100%!important;
  --rail-size:64px;--rail-gap:12px;
  --rail-bg:#171717;
}
#root .app .toprow .w2-rail-seo,
#root .app .toprow .w2-rail-visually-hidden{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
#root .app #preview-wrap .w2-rail-size-row{
 display:flex;align-items:center;justify-content:center;gap:10px;
 padding:5px 8px!important;margin:0 auto 5px!important;
 width:max-content;max-width:100%;
 background:rgba(18,18,18,.74);border-radius:30px;
 position:relative!important;
}
#root .app #preview-wrap .w2-rail-size-label{font:600 11px/1 system-ui,sans-serif;color:#bcbec4;letter-spacing:.09em}
#root .app #preview-wrap .w2-rail-size-row .w2sz{
 position:static!important;inset:auto!important;
 width:auto!important;height:auto!important;display:flex!important;
 align-items:center!important;gap:6px!important;
 padding:0!important;margin:0!important;
 background:none!important;transform:none!important;
}
#root .app #preview-wrap .w2-rail-size-row [data-w2sz]{
  position:relative!important;cursor:pointer!important;
  color:#d5d5dd!important;border:1px solid #343439!important;
  padding:7px 11px!important;border-radius:999px!important;
  font-size:11px!important;line-height:1!important;
  min-width:30px;text-align:center;
}
#root .app #preview-wrap .w2-rail-size-row [data-w2sz].sel{
 color:#161616!important;background:#fafafa!important;border-color:#fafafa!important;
}
html.w2-rail-beauty #root .app >:not(.toprow):not(.w2-rail-beauty-stage){
 display:none!important;
}
html.w2-rail-beauty #root .app .toprow {display:flex!important}
#root .app .w2-rail-beauty-stage{
 margin:48px auto 80px;max-width:1050px;width:calc(100% - 40px);
 box-sizing:border-box;min-height:min(66vh,610px);
}
#root .app .w2-rail-beauty-stage[hidden]{display:none!important}
.w2-rail-beauty-stage .w2-beauty-item{
 display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:50px;
 align-items:center;
}
.w2-rail-beauty-stage .w2-beauty-photo{
 position:relative;display:grid;place-items:center;
 aspect-ratio:1;border-radius:32px;overflow:hidden;
 background:var(--beauty-tint);box-shadow:0 20px 60px #0004;
}
.w2-rail-beauty-stage .w2-beauty-photo img{
 width:100%;height:100%;object-fit:cover;display:block;
}
.w2-rail-beauty-stage .w2-beauty-details{color:#f5f3f5;font-family:inherit}
.w2-rail-beauty-stage .w2-beauty-badge{
 display:inline-flex;padding:6px 12px;border-radius:999px;
 background:#29242a;border:1px solid #51404e;
 color:#ffcada;font-size:12px;font-weight:700;
}
.w2-rail-beauty-stage h2{font-size:clamp(34px,5vw,72px);font-weight:780;margin:16px 0;line-height:1.03;letter-spacing:-.04em}
.w2-rail-beauty-stage p{font-size:16px;line-height:1.6;color:#a9a9ae;max-width:420px;margin:12px 0 28px}
.w2-rail-beauty-stage .w2-beauty-actions{display:flex;flex-wrap:wrap;gap:12px}
.w2-rail-beauty-stage .w2-beauty-actions a{
  text-decoration:none;display:inline-flex;align-items:center;
  justify-content:center;border-radius:13px;min-height:50px;
  padding:0 20px;font:700 14px/1.3 system-ui,sans-serif;
}
.w2-rail-beauty-stage .w2-beauty-primary{background:white;color:#141414}
.w2-rail-beauty-stage .w2-beauty-secondary{background:#28282b;color:white;border:1px solid #49494e}
@media(max-width:640px){
 :root{--w2-rail-header-h:96px}
 #root .app .toprow{width:100vw!important;padding:7px 7px!important;gap:3px!important}
 #root .app .toprow .w2two-me{flex:0 0 42px!important}
 #root .app .toprow w2-rail{--rail-size:58px;--rail-gap:12px}
 #root .app .w2-rail-beauty-stage{width:calc(100% - 28px);margin:22px auto 80px;min-height:0}
 .w2-rail-beauty-stage .w2-beauty-item{display:flex;flex-direction:column;gap:19px;align-items:stretch}
 .w2-rail-beauty-stage .w2-beauty-photo{border-radius:22px;width:100%}
 .w2-rail-beauty-stage h2{font-size:38px;margin-top:12px}
 .w2-rail-beauty-stage p{font-size:14px;margin-bottom:20px}
 .w2-rail-beauty-stage .w2-beauty-actions a{flex:1 1 135px;min-height:46px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 #root .app .toprow w2-rail{scroll-behavior:auto!important}
}

/* Preview V1.1: the current constructor constrains its app to 1040px and
   clips overflowing children. A viewport-fixed header avoids the clipping
   and preserves all twelve circles on full-width desktop. */
#root .app{padding-top:var(--w2-rail-header-h)!important}
#root .app .toprow{
 position:fixed!important;
 left:0!important;right:0!important;top:0!important;
 transform:none!important;
 width:100vw!important;max-width:none!important;
 margin:0!important;padding:6px max(12px,calc((100vw - 1440px)/2 + 12px))!important;
}
#root .app #preview-wrap>.w2sz{display:none!important}
@media(max-width:640px){
 #root .app .toprow{padding:7px 5px!important}
}
/* The constructor .app is a two-column CSS grid: beauty stage spans both. */
#root .app .w2-rail-beauty-stage{
 grid-column:1 / -1!important;
 justify-self:stretch!important;
 width:min(1060px,calc(100vw - 48px))!important;
 margin:38px auto 80px!important;
}
@media(max-width:640px){
 #root .app .w2-rail-beauty-stage{
   width:calc(100vw - 24px)!important;
   margin:20px auto 70px!important;
 }
}

/* Source-owned print-size controller remains under preview-wrap;
   only its visual location moves, so w2scale.js never recreates it. */
#root .app #preview-wrap > .w2sz{
 display:flex!important;position:absolute!important;
 top:auto!important;bottom:61px!important;
 left:50%!important;right:auto!important;
 transform:translateX(-50%)!important;
 z-index:20!important;
 align-items:center!important;gap:6px!important;
 width:max-content!important;height:auto!important;
 padding:5px 9px!important;
 background:rgba(17,17,17,.73)!important;
 backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 border:1px solid rgba(255,255,255,.13)!important;
 border-radius:999px!important;
}
#root .app #preview-wrap > .w2sz:before{
 content:"Logo";color:#c3c3c8;
 font:700 10px/1 system-ui,sans-serif;
 letter-spacing:.04em;white-space:nowrap;
 padding-right:5px;
}
#root .app #preview-wrap > .w2sz [data-w2sz]{
 position:relative!important;cursor:pointer!important;
 color:#bfc0c5!important;
 border:0!important;padding:7px 9px!important;
 border-radius:999px!important;
 min-width:30px;text-align:center;
 font-size:11px!important;line-height:1!important;
}
#root .app #preview-wrap > .w2sz [data-w2sz].sel{
 color:#131313!important;background:#fff!important;
}


/* W2_RAIL_LAYOUT_ADJUST_20261028_V2 */
/* Keep exactly the stage's left photo edge and right form edge on desktop.
   Account is a deliberately distinct, fixed last item. */
@media(min-width:641px){
 #root .app .toprow{
   left:50%!important;right:auto!important;top:0!important;
   transform:translateX(-50%)!important;
   width:min(1036px,calc(100vw - 32px))!important;
   max-width:1036px!important;
   padding:5px 0!important; gap:12px!important;
 }
 #root .app .toprow w2-rail{
   --rail-size:60px;--rail-gap:10px;
   flex:1 1 0!important;min-width:0!important;
   -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 95%,transparent 100%);
   mask-image:linear-gradient(90deg,#000 0%,#000 95%,transparent 100%);
 }
 #root .app .toprow .w2two-me{
   display:grid!important;place-items:center!important;
   flex:0 0 70px!important;width:70px!important;height:70px!important;
   border-radius:19px!important;
   border:1px solid #36363b!important;
   background:#242429!important;
   margin:0!important;position:relative!important;
   top:auto!important;right:auto!important;
 }
 #root .app .toprow .w2two-me:hover{background:#33343a!important}
 /* Restore the original size controls at the top of the tee photo.
    This is the same live widget; no cloned controls or duplicate event handlers. */
 #root .app #preview-wrap > .w2sz{
   top:10px!important;bottom:auto!important;
   left:50%!important;transform:translateX(-50%)!important;
   background:transparent!important;border:0!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   padding:2px 0!important;
 }
 #root .app #preview-wrap > .w2sz:before{display:none!important}
 #root .app #preview-wrap > .w2sz [data-w2sz]{padding:6px 12px!important}
 #root .app #preview-wrap > .w2sz [data-w2sz].sel{
   background:transparent!important;color:#fff!important;opacity:1!important;
 }
 #root .app #preview-wrap > .w2sz [data-w2sz]:not(.sel){
   color:#c8c8cc!important;opacity:.55!important;
 }
}
@media(max-width:640px){
 #root .app .toprow .w2two-me{
   flex:0 0 48px!important;width:48px!important;height:54px!important;
   border:1px solid #36363b!important;border-radius:14px!important;
   background:#242429!important;
 }
}

/* AFF03: move source-owned three print-size choices above the word chips; desktop only. */
@media(min-width:641px){
#root .app #preview-wrap>.w2sz{top:auto!important;bottom:61px!important;left:50%!important;transform:translateX(-50%)!important;z-index:30!important;display:flex!important;align-items:center!important;background:rgba(17,17,17,.8)!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:999px!important;padding:5px 9px!important;backdrop-filter:blur(10px)!important}
#root .app #preview-wrap>.w2sz:before{content:"Logo";display:block!important;color:#dadade;font:700 10px/1 system-ui,sans-serif;padding-right:5px}
#root .app #preview-wrap>.w2sz [data-w2sz].sel{background:#fff!important;color:#141414!important;opacity:1!important}
}


/* W2_PRINTSIZE_POSITION_20261028: desktop top; mobile pinch-only.
   Only presentation is changed. w2scale.js and its touch handlers stay intact. */
@media (min-width: 641px) {
  html body #root .app #preview-wrap > .w2sz {
    display:flex!important;
    position:absolute!important;
    top:10px!important;
    bottom:auto!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    z-index:30!important;
    width:max-content!important;
    padding:2px 0!important;
    gap:10px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html body #root .app #preview-wrap > .w2sz::before {content:none!important;display:none!important}
  html body #root .app #preview-wrap > .w2sz [data-w2sz] {
    color:#d4d4d6!important;
    background:transparent!important;
    padding:4px 7px!important;
    opacity:.68!important;
    border:0!important;
    font-size:11px!important;
  }
  html body #root .app #preview-wrap > .w2sz [data-w2sz].sel {
    color:#fff!important;
    background:transparent!important;
    opacity:1!important;
  }
}
@media (max-width: 640px) {
  html body #root .app #preview-wrap > .w2sz,
  html body #root .app #preview-wrap .w2-rail-size-row {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* W2_MOBILE_FOUR_ACCOUNT_V1 — four fully visible stories; cabinet under socials. */
.w2-social-strip.w2ss > .w2ss-account-chip {display:none}
@media(max-width:640px){
  html body #root .app .toprow .w2two-me {
    display:none!important;visibility:hidden!important;
    pointer-events:none!important;
  }
  html body #root .app .toprow {
    gap:0!important;padding-inline:0!important;
  }
  html body #root .app .toprow w2-rail {
    display:block!important;flex:1 1 100%!important;
    min-width:0!important;width:100%!important;
    --rail-size:clamp(52px,calc((100vw - 110px)/4),68px)!important;
    --rail-gap:10px!important;
  }
  .w2-social-strip.w2ss > .w2ss-account-chip{
    display:table!important;
    position:relative!important;
    width:max-content!important;height:auto!important;
    min-width:132px!important;max-width:calc(100% - 32px)!important;
    margin:18px auto 0!important;padding:11px 23px!important;
    border:1px solid #55555d!important;border-radius:999px!important;
    background:#242428!important;color:#f6f6f8!important;
    box-sizing:border-box!important;text-align:center!important;
    font:650 14px/1.3 system-ui,sans-serif!important;
    text-decoration:none!important;letter-spacing:0!important;
    aspect-ratio:auto!important;
  }
  .w2-social-strip.w2ss > .w2ss-account-chip:focus-visible {
    outline:2px solid #fff!important;outline-offset:3px!important;
  }
  .w2-social-strip.w2ss > .w2ss-account-chip:hover{
    background:#313137!important;border-color:#767681!important;
  }
}
