/* Fit Twin microsite. After Benedict's inspo (INSPO/Site Inspo 1.jpg): cut-out figures on a plain ground,
   ticket panels with stepped corners, thin leader lines, mono capitals for labels, a serif for reading.
   White ground at his request. */
:root {
  --bg: #ffffff;
  --panel: #f2f2f0;
  --panel-2: #e7e7e4;
  --ink: #111111;
  --muted: #5c5c5a;
  --lead: #9b9b98;
  --dark: #111111;
  --over: #b3261e;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: "Newsreader", "Times New Roman", Georgia, serif;
  --m: clamp(16px, 2vw, 28px);       /* page margin */
  --notch: 12px;
  /* MOTION SYSTEM (Benedict, 28 Nov: professional UI motion, speed ramps). One set of curves and durations for
     everything that moves. Enter = decelerate (fast start, soft landing); exit = accelerate; move = speed ramp
     (slow-fast-slow) for things travelling across the screen; pops use the emphasised curve (no overshoot, ever). Durations grow
     with size and distance. Reduced motion turns all of it off (rule near the top of the phone styles). */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-move: cubic-bezier(.83, 0, .17, 1);
  --ease-emph: cubic-bezier(.2, 0, 0, 1);
  /* RULE (Benedict, 28 Nov): never a bounce or jiggle; always smooth, fast and responsive. No curve overshoots 1. */
  --ease-spring: var(--ease-emph);
  --dur-xs: 100ms; --dur-s: 160ms; --dur-m: 240ms; --dur-l: 360ms; --dur-xl: 520ms; --stagger: 45ms;
  --ease: var(--ease-out);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 13px/1.45 var(--mono); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* Type roles */
.t-label { margin: 0; font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.t-meta { font: 400 12px/1.3 var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .02em; }
.t-note { margin: 10px 0 0; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.t-note.small { font-size: 11.5px; }
.body { margin: 0; font: 400 17px/1.45 var(--serif); color: var(--ink); }
.lede { margin: 18px 0 0; font: 400 18px/1.45 var(--serif); }
h1 { margin: 0; font: 500 clamp(28px, 2.6vw, 40px)/1.02 var(--mono); text-transform: uppercase; letter-spacing: -.02em; }
.sec-h { margin: 0; font: 500 clamp(26px, 3vw, 44px)/1.05 var(--mono); text-transform: uppercase; letter-spacing: -.02em; }

/* Ticket: a filled panel with stepped corners, like a swing tag */
.ticket { position: relative; background: var(--panel); padding: 22px 22px 20px;
  clip-path: polygon(0 var(--notch), 34% var(--notch), calc(34% + var(--notch)) 0, 100% 0, 100% calc(100% - var(--notch)), 66% calc(100% - var(--notch)), calc(66% - var(--notch)) 100%, 0 100%); }
.ticket > :last-child { margin-bottom: 4px; }
.t-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-gap { margin-top: 18px; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 16px; padding: 16px var(--m); background: rgba(255, 255, 255, .96); }
.brand .word { font: 600 clamp(28px, 2.6vw, 38px)/1 var(--mono); text-decoration: none; letter-spacing: -.04em; }
.crumb { margin: 6px 0 0; font-size: 11.5px; text-transform: uppercase; color: var(--muted); }
.tabs { display: flex; gap: 4px; }
.tab { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; background: var(--panel); text-decoration: none; text-transform: uppercase; font-size: 12.5px; white-space: nowrap; transition: background .15s, transform .12s var(--ease); }
.tab:hover { background: var(--panel-2); }
.tab:active { transform: scale(.97); }
.tab-dark { justify-self: end; background: var(--dark); color: #fff; }
.tab-dark:hover { background: #333; }

/* Stage: budget | figures | checkout */
.stage { position: relative; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) minmax(320px, 380px); grid-template-areas: "left figs right"; gap: 24px; padding: 8px var(--m) 56px; min-height: calc(100svh - 70px); align-items: start; }
.col-left { grid-area: left; display: flex; flex-direction: column; gap: 14px; padding-top: 12px; position: relative; z-index: 2; }
.col-right { grid-area: right; padding-top: 12px; position: relative; z-index: 2; }
/* The two figures scale with the centre column and always share one height:
   each takes width in proportion to its picture (429x1000 and 469x1343), so equal width-per-aspect = equal height. */
.figures { grid-area: figs; display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 2.4vw, 48px); padding-top: 8px;
  width: 100%; max-width: calc(min(72svh, 720px) * 0.778 + 48px); margin: 0 auto; }
.fig { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.fig-ref { flex: 429 1 0; } .fig-you { flex: 315 1 0; }
.fig img { width: 100%; height: auto; position: relative; z-index: 1; }
.fig::after { content: ""; display: block; width: 70%; height: 14px; margin-top: -9px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0)); }
.fig figcaption { order: 3; margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.leaders path { fill: none; stroke: var(--ink); stroke-width: 1; animation: lead-in .25s var(--ease); }
@keyframes lead-in { from { opacity: 0; } }
.item.hot { background: #fff; box-shadow: inset 3px 0 0 var(--ink); }
.fig img { cursor: crosshair; }
.leaders circle { fill: var(--ink); }

/* Segmented buttons */
.seg { display: flex; gap: 4px; margin-top: 12px; }
.seg button { flex: 1; height: 36px; border: 0; background: var(--panel-2); text-transform: uppercase; font-size: 12.5px; cursor: pointer; transition: background .15s, color .15s, transform .12s var(--ease); }
.seg button:hover { background: #dcdcd8; }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.custom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.money { display: inline-flex; align-items: center; height: 36px; padding-left: 10px; background: #fff; }
.money input { width: 96px; height: 36px; border: 0; padding: 0 10px 0 4px; background: transparent; text-transform: uppercase; }
.money input:focus { outline: none; }
.money select:focus { outline: none; }
.money select { height: 36px; border: 0; background: transparent; padding: 0 10px 0 4px; text-transform: uppercase; font-size: 12.5px; min-width: 120px; }
.money:focus-within { outline: 2px solid var(--ink); }

/* Checkout */
.items { list-style: none; margin: 14px 0 0; padding: 0; }
.item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; transition: background .2s; }
.item + .item { border-top: 1px solid var(--panel-2); }
.item.swap { animation: swap 1.4s var(--ease); }
@keyframes swap { 0% { background: #fff; box-shadow: inset 3px 0 0 var(--ink); } 70% { background: #fff; box-shadow: inset 3px 0 0 var(--ink); } 100% { background: transparent; box-shadow: inset 3px 0 0 transparent; } }
.upd { color: var(--ink); font-weight: 600; }
#saveBtn { border: 0; cursor: pointer; }
.item .thumb { width: 40px; height: 40px; overflow: hidden; position: relative; background: #fff; }
.item .thumb img { position: absolute; max-width: none; }
.item .nm { font-size: 12px; text-transform: uppercase; }
.item .tt { display: block; font: 400 14.5px/1.25 var(--serif); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tt a { text-decoration: none; }
.item .tt a:hover { text-decoration: underline; }
.item .pr { text-align: right; font-variant-numeric: tabular-nums; }
.item .pr b { display: block; font-weight: 500; font-size: 13px; }
.item .pr span { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.tag { display: inline-block; padding: 0 5px; height: 17px; line-height: 17px; font-size: 10.5px; background: #fff; margin-left: 6px; vertical-align: 1px; }
.tag.exact { background: var(--dark); color: #fff; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--panel-2); font-size: 12.5px; text-transform: uppercase; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sums .tot { color: var(--ink); font-weight: 600; font-size: 15px; padding-top: 6px; }
.meter { position: relative; height: 6px; margin-top: 14px; background: #fff; }
.meter span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width .35s var(--ease); }
.meter.over span { background: var(--over); }
.cta-row { display: grid; grid-template-columns: auto 1fr; gap: 4px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; text-decoration: none; text-transform: uppercase; font-size: 12.5px; transition: background .15s, transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { background: var(--panel-2); }
.btn-ghost:hover { background: #dcdcd8; }
.over-text { color: var(--over); }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; padding: 160px var(--m) 0; align-items: start; }
.how-copy .body { margin-top: 20px; max-width: 34ch; font-size: 20px; }
.slip { background: var(--panel); padding: 28px 28px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 96% calc(100% - 10px), 92% 100%, 88% calc(100% - 10px), 84% 100%, 80% calc(100% - 10px), 76% 100%, 72% calc(100% - 10px), 68% 100%, 64% calc(100% - 10px), 60% 100%, 56% calc(100% - 10px), 52% 100%, 48% calc(100% - 10px), 44% 100%, 40% calc(100% - 10px), 36% 100%, 32% calc(100% - 10px), 28% 100%, 24% calc(100% - 10px), 20% 100%, 16% calc(100% - 10px), 12% 100%, 8% calc(100% - 10px), 4% 100%, 0 calc(100% - 10px)); padding-bottom: 34px; }
.slip-group + .slip-group { margin-top: 24px; }
.slip-row { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 0; font: 400 16px/1.35 var(--serif); }
.slip-row i { flex: 1; border-bottom: 2px dotted #bdbdb9; transform: translateY(-4px); min-width: 20px; }
.slip-row b { font: 400 12px/1.3 var(--mono); text-transform: uppercase; white-space: nowrap; }
.slip-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px -28px 0; padding: 0 28px; height: 48px; background: var(--dark); color: #fff; text-transform: uppercase; font-size: 12.5px; }
.slip-total b { font-weight: 500; }

/* Tracks */
.tracks { padding: 160px var(--m) 0; }
.track-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.track-card { padding: 28px; min-height: 300px; display: flex; flex-direction: column; }
.track-card .body { margin-top: 16px; max-width: 36ch; }
.track-card .big { margin: auto 0 4px; padding-top: 28px; font: 500 clamp(40px, 5vw, 76px)/1 var(--mono); letter-spacing: -.03em; }
.track-twin { background: var(--dark); color: #fff; }
.track-twin .body { color: #fff; }
.track-twin .t-meta { color: #b9b9b6; }
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.mode .body { margin-top: 10px; font-size: 16px; }

/* Outfits */
.outfits { padding: 160px var(--m) 0; }
.outfit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.look { display: block; text-decoration: none; background: var(--panel); transition: transform .2s var(--ease); }
.look:hover { transform: translateY(-3px); }
.look .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); }
.look .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.look:hover .pic img { transform: scale(1.03); }
.look .cap { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.look .cap .body { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); gap: 48px; padding: 160px var(--m) 0; align-items: start; }
.faq-list { padding: 10px 28px 18px; }
.faq details { padding: 14px 0; }
.faq details + details { border-top: 1px solid var(--panel-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; cursor: pointer; text-transform: uppercase; font-size: 13px; }
.faq summary::-webkit-details-marker { display: none; }
.plus::before { content: "[+]"; }
details[open] .plus::before { content: "[–]"; }
.faq details .body { margin-top: 10px; max-width: 56ch; }

/* Close */
.close { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px var(--m) 80px; }
.close-h { margin: 0; font: 500 clamp(64px, 11vw, 168px)/.92 var(--mono); text-transform: uppercase; letter-spacing: -.05em; }
.close-actions { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.close-actions .btn { min-width: 200px; height: 52px; }
.or { font: 400 18px var(--serif); color: var(--muted); }

.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 32px var(--m) 28px; background: var(--panel); }
.foot .word { font: 500 clamp(48px, 9vw, 140px)/.85 var(--mono); letter-spacing: -.05em; }
.foot .t-note { max-width: 46ch; text-align: right; margin: 0; }

/* Entrances */
.rise { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

/* Left-hand navigation panel */
.ticket-nav { padding: 16px 22px 14px; }
.ticket-nav ol { list-style: none; margin: 8px 0 0; padding: 0; }
.ticket-nav a { display: flex; justify-content: space-between; padding: 7px 0; text-decoration: none; text-transform: uppercase; font-size: 12.5px; border-top: 1px solid var(--panel-2); transition: padding .15s var(--ease); }
.ticket-nav a:hover { padding-left: 6px; }
.ticket-nav a::after { content: "→"; color: var(--muted); }

/* Hero: a thin black menu bar above the two people; checkout on the right. */
.stage { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); grid-template-areas: "menu right" "figs right"; grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 12px; }
.col-right { grid-area: right; }
.menubar { position: relative; z-index: 5; display: flex; align-items: stretch; height: 42px; background: #fff; color: var(--ink); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin-top: 12px; }
.mb-item { position: relative; display: flex; }
.mb-end { margin-left: auto; }
.mb-tab { display: flex; align-items: center; gap: 8px; height: 39px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 400 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; white-space: nowrap; transition: background .15s; }
.mb-tab b { font-weight: 600; color: var(--ink); background: none; padding: 0; }
.mb-title .mb-tab h1 { margin: 0; font: 500 13px/1 var(--mono); letter-spacing: .02em; }
.mb-item:hover > .mb-tab, .mb-item.open > .mb-tab, .mb-tab:focus-visible { background: var(--panel); }
.mb-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); opacity: .8; }
.mb-item.open .mb-caret, .mb-item:hover .mb-caret { transform: translateY(1px) rotate(225deg); }
.mb-panel { position: absolute; top: 100%; left: 0; min-width: 320px; max-width: 420px; padding: 18px 20px 20px; background: var(--panel); color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.mb-end .mb-panel { left: auto; right: 0; }
.mb-item:hover > .mb-panel, .mb-item.open > .mb-panel, .mb-item:focus-within > .mb-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mb-panel .lede { margin: 0 0 14px; font-size: 17px; }
.mb-panel .seg { margin-top: 10px; }
.mb-panel.ticket-nav { padding: 6px 20px 10px; }
.mb-panel.ticket-nav ol { margin: 0; }
.figures { max-width: calc(min(70svh, 740px) * 0.744 + 64px); gap: clamp(20px, 4vw, 72px); }

/* Old layout B (index.html?layout=b), kept for reference. */
.layout-b .stage { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); grid-template-areas: "intro right" "figs right"; grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 8px; }
.layout-b .col-left { display: contents; }
.layout-b .ticket-intro { grid-area: intro; background: none; clip-path: none; padding: 4px 0 0; display: grid; grid-template-columns: auto minmax(0, 46ch); gap: 32px; align-items: end; }
.layout-b .ticket-intro .lede { margin: 0; font-size: 16px; }
.layout-b .ticket-nav { display: none; }
.layout-b .col-right { grid-area: right; padding-top: 0; display: flex; flex-direction: column; gap: 12px; }
.layout-b .col-right .ticket-budget .t-gap { margin-top: 12px; }
.layout-b .figures { max-width: calc(min(70svh, 760px) * 0.778 + 64px); gap: clamp(20px, 4vw, 72px); }
.layout-b .tabs { display: flex; }

/* Narrower desktops and tablets: keep nav | figures | items, just tighter */
@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); gap: 16px; }
  h1 { font-size: 26px; }
  .lede { font-size: 16px; }
  .ticket { padding: 18px 16px 16px; }
  .item { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; }
  .item .thumb { width: 34px; height: 34px; }
  .item .tt { font-size: 13.5px; }
  .cta-row { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .how, .faq { grid-template-columns: 1fr; }
}
/* Small tablets: figures on top, then nav and items side by side */
@media (max-width: 900px) {
  .stage { display: flex; flex-direction: column; }
  .menubar { order: 1; } .figures { order: 2; max-width: 560px; } .col-right { order: 3; }
  .leaders { display: none; }
}
/* Menu bar on small screens: tabs scroll sideways; panels drop down full width under the bar. */
@media (max-width: 720px) {
  .menubar { overflow-x: auto; margin-top: 4px; }
  .mb-item { position: static; }
  .mb-end { margin-left: 0; }
  .mb-tab { padding: 0 12px; }
  .mb-panel, .mb-end .mb-panel { left: 0; right: 0; min-width: 0; max-width: none; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 12.5px; }
  .bar { grid-template-columns: 1fr auto; }
  .tabs { display: none; }
  .crumb { display: none; }
  .stage { display: flex; flex-direction: column; gap: 16px; padding-bottom: 32px; min-height: 0; }
  .col-left { display: contents; }
  .ticket-intro { order: 1; }
  .figures { order: 2; }
  .ticket-budget { order: 3; }
  .col-right { order: 4; padding-top: 0; }
  .lede { font-size: 17px; margin-top: 12px; }
  .figures { gap: 10px; padding-top: 8px; }
  .fig img { height: auto; width: 100%; max-height: 62svh; object-fit: contain; }
  .fig-ref { flex: 429 1 0; min-width: 0; } .fig-you { flex: 349 1 0; min-width: 0; } /* widths at equal height */
  .ticket { padding: 18px 16px 16px; }
  h1 { font-size: 30px; }
  .how, .tracks, .outfits, .faq { padding-top: 96px; }
  .slip { padding: 22px 18px 34px; }
  .slip-total { margin: 24px -18px 0; padding: 0 18px; }
  .slip-row { font-size: 15px; flex-wrap: wrap; }
  .track-pair, .outfit-row, .modes { grid-template-columns: 1fr; }
  .track-card { min-height: 0; }
  .close-h { font-size: 19vw; }
  .close-actions { flex-direction: column; gap: 12px; width: 100%; }
  .close-actions .btn { width: 100%; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot .t-note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* SHEIN-IFY ME: the one deliberate burst of colour on the page (Benedict's call). */
.sheinify, .radiant { background: linear-gradient(100deg, #ff2d95, #ff7a18, #ffd60a, #2ee59d, #00b4ff, #8a5cff, #ff2d95) !important; background-size: 300% 100% !important;
  color: #fff !important; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); animation: radiant 5s linear infinite; }
.sheinify { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.sheinify[aria-pressed="false"] { filter: saturate(.75) brightness(1.05); }
.sheinify[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #111, 0 0 18px rgba(255, 45, 149, .45); }
.sheinify:hover { filter: saturate(1.15) brightness(1.05); }
@keyframes radiant { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .sheinify, .radiant { animation: none; } }
/* Explore sits at the left end of the menu bar, with a rule after it. */
.mb-explore { border-right: 1.5px solid var(--ink); }
.mb-explore .mb-panel { min-width: 260px; }
/* Bar as a row of rectangular cells: white, thin black outline, thin dividers. */
.menubar { border: 1px solid var(--ink) !important; height: 42px; }
.mb-item { border-right: 1px solid var(--ink); }
.mb-item:last-child { border-right: 0; }
.mb-explore { border-right: 1px solid var(--ink); }
.mb-tab { height: 40px; }
.mb-panel { top: calc(100% + 1px); border: 1px solid var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
/* The two people centred on the page (wide screens), checkout to their right. */

/* SHEIN-IFY ME: its own rainbow cell at the right end of the bar. */
.mb-shein { margin-left: auto; border-right: 0; border-left: 1px solid var(--ink); }
.mb-shein .mb-tab { padding: 0 18px; letter-spacing: .04em; }
.mb-shein .sheinify[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #111; }
/* Menu bar pinned under the header on scroll. */
.menubar-holder { grid-area: menu; position: relative; z-index: 6; }
.menubar.stuck { position: fixed; z-index: 9; margin-top: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
/* Section links as plain cells in the white bar. */
.mb-link { display: flex; align-items: center; padding: 0 14px; text-decoration: none; text-transform: uppercase; font: 400 12.5px/1 var(--mono); letter-spacing: .02em; white-space: nowrap; transition: background .15s; }
.mb-link:hover, .mb-link:focus-visible { background: var(--panel); }
.bar { grid-template-columns: 1fr auto; }
@media (max-width: 1180px) { .mb-link { display: none; } }
/* Find pieces at: type any store, chips for stores already used. */
.store-form { display: flex; gap: 4px; margin-top: 12px; }
.store-form .money { flex: 1; }
.store-form .money input { width: 100%; text-transform: none; font-size: 14px; }
.store-form .btn { height: 36px; padding: 0 14px; border: 0; cursor: pointer; }
.store-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.store-chips button { height: 30px; padding: 0 10px; border: 1px solid var(--ink); background: #fff; font: 400 12px var(--mono); text-transform: uppercase; cursor: pointer; }
.store-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.store-chips button:hover { background: var(--panel-2); }
.store-chips button[aria-pressed="true"]:hover { background: #333; }
/* No black buttons (Benedict): white with a thin black outline; selected = light grey fill. */
.btn-dark, .tab-dark, .btn-ghost, .store-form .btn { background: #fff !important; color: var(--ink) !important; border: 1px solid var(--ink) !important; }
.btn-dark:hover, .tab-dark:hover, .btn-ghost:hover, .store-form .btn:hover { background: var(--panel) !important; }
.seg button { border: 1px solid transparent; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); border: 1px solid var(--ink); font-weight: 600; }
.store-chips button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.store-chips button[aria-pressed="true"]:hover { background: var(--panel-2); }
.tag.exact { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.meter span { background: var(--ink); }
/* SHEIN ME: last in line, not pushed to the far right. */
.mb-shein { margin-left: 0 !important; border-left: 0; border-right: 1px solid var(--ink) !important; }
/* Before / After switch under the model. */
.ba { display: inline-flex; margin-top: 6px; border: 1px solid var(--ink); }
.ba button { height: 26px; padding: 0 10px; border: 0; background: #fff; font: 400 11.5px var(--mono); text-transform: uppercase; cursor: pointer; }
.ba button + button { border-left: 1px solid var(--ink); }
.ba button[aria-pressed="true"] { background: var(--panel-2); font-weight: 600; }
#figYou { transition: opacity .25s var(--ease); }
/* The two people fill the space left of the checkout, centred in it, at one shared height. */
.figures { grid-area: figs; justify-self: center; align-self: start; width: 100%; max-width: calc(min(78svh, 1000px) * 0.744 + 72px); gap: clamp(24px, 4vw, 96px); }
.fig figcaption { min-height: 58px; justify-content: flex-start; }
.fig img { display: block; }
/* Three columns: The look (left) | the two people | checkout (right). Both side panels mirror each other and share a height. */
.stage { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) minmax(300px, 360px); grid-template-areas: "menu menu menu" "look figs right"; grid-template-rows: auto 1fr; align-items: stretch; column-gap: 28px; }
.menubar-holder { grid-area: menu; }
.col-look { grid-area: look; display: flex; flex-direction: column; position: relative; z-index: 2; }
.col-right { grid-area: right; display: flex; flex-direction: column; }
.ticket-look, .ticket-checkout { flex: 1; display: flex; flex-direction: column; }
.ticket-look .cta-row, .ticket-checkout .cta-row { margin-top: auto; padding-top: 16px; }
.ticket-look .cta-row { grid-template-columns: 1fr; }
.ticket-look .t-note, .ticket-checkout .t-note { min-height: 36px; }
.figures { align-self: center; max-width: calc(min(72svh, 860px) * 0.744 + 64px); }
@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "menu menu" "figs figs" "look right"; }
}
@media (max-width: 900px) { .col-look { order: 3; } .col-right { order: 4; } }
/* Receipts pulled in tight; fixed height; big centred title and big total locked; only the items scroll. */
.stage { grid-template-columns: minmax(290px, 340px) minmax(0, 720px) minmax(290px, 340px); justify-content: center; column-gap: 16px; }
.ticket-look, .ticket-checkout { height: clamp(540px, calc(100svh - 170px), 880px); overflow: hidden; }
.panel-title { margin: 2px 0 0; text-align: center; font: 600 clamp(22px, 1.7vw, 30px)/1.05 var(--mono); text-transform: uppercase; letter-spacing: -.02em; }
.panel-sub { margin: 6px 0 4px; text-align: center; font-size: 11.5px; text-transform: uppercase; color: var(--muted); }
.ticket-look .items, .ticket-checkout .items { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-top: 10px; padding-right: 4px; scrollbar-width: thin; }
.sums .tot { font-size: clamp(20px, 1.6vw, 26px) !important; padding-top: 10px !important; }
.ticket-look .sums, .ticket-checkout .sums { flex: none; }
.ticket-look .t-note, .ticket-checkout .t-note { min-height: 0; }
.ticket-look .cta-row, .ticket-checkout .cta-row { margin-top: 12px; padding-top: 0; }
@media (max-width: 1180px) { .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ticket-look, .ticket-checkout { height: auto; } }
/* Recast model: 555 x 1693 cut-out. */
.fig-you { flex: 328 1 0 !important; }
.figures { max-width: calc(min(72svh, 860px) * 0.757 + 64px) !important; }
.fig figcaption { min-height: 0; }

/* Receipts: white, thin black outline, mini scroll bar on the item list. */
.ticket-look, .ticket-checkout { background: #fff !important; clip-path: none !important; border: 1px solid var(--ink); }
.ticket-look .items, .ticket-checkout .items { overflow-y: scroll; scrollbar-width: thin; scrollbar-color: var(--ink) #ececea; padding-right: 8px; }
.ticket-look .items::-webkit-scrollbar, .ticket-checkout .items::-webkit-scrollbar { width: 4px; }
.ticket-look .items::-webkit-scrollbar-track, .ticket-checkout .items::-webkit-scrollbar-track { background: #ececea; }
.ticket-look .items::-webkit-scrollbar-thumb, .ticket-checkout .items::-webkit-scrollbar-thumb { background: var(--ink); }
.ticket-look .item .thumb, .ticket-checkout .item .thumb { background: var(--panel); }
.ticket-look .meter, .ticket-checkout .meter { background: #ececea; }
.item.hot { background: var(--panel) !important; }.item .nm { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.item .nm .tag { margin-left: 0; flex: none; }
/* ===== Restyle after Benedict's retail reference (layout and type only; Fit Twin's own brand) ===== */
:root { --mono: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }
body { font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; }
.word, .panel-title, .sec-h, h1, .close-h, .foot .word, .track-card .big { font-family: "Archivo", system-ui, sans-serif !important; font-stretch: 125% !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: -0.01em !important; }
.body, .lede, .item .tt, .slip-row { font-family: "Archivo", system-ui, sans-serif; }

/* Header: link left, title centred, icons right */
.bar { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--m) 6px; background: #fff; }
.bar-left { justify-self: start; font-size: 15px; text-decoration: none; color: var(--ink); }
.bar-left:hover { text-decoration: underline; }
.bar .word { justify-self: center; font-size: clamp(26px, 2.4vw, 38px) !important; line-height: 1; text-decoration: none; }
.hdr-right { justify-self: end; }

/* Nav row: plain centred text links with chevrons, no boxes */
.menubar { border: 0 !important; justify-content: center; height: 44px !important; background: #fff; box-shadow: none !important; }
.mb-item, .mb-explore, .mb-shein { border: 0 !important; margin: 0 !important; }
.mb-tab, .mb-link { height: 44px !important; padding: 0 14px !important; text-transform: none !important; font: 400 15.5px/1 "Archivo", system-ui, sans-serif !important; letter-spacing: 0 !important; background: transparent !important; color: var(--ink) !important; }
.mb-title .mb-tab h1 { font: 400 15.5px/1 "Archivo", system-ui, sans-serif !important; text-transform: none; letter-spacing: 0 !important; font-stretch: 100% !important; }
.mb-tab b { font-weight: 600; }
.mb-item:hover > .mb-tab, .mb-link:hover, .mb-tab:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.mb-caret { width: 6px; height: 6px; border-width: 0 1.3px 1.3px 0; margin-left: 2px; }
.mb-shein .mb-tab.sheinify { background: linear-gradient(100deg, #ff2d95, #ff7a18, #e0a800, #12b886, #0094e0, #7a4dff, #ff2d95) !important; background-size: 300% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; text-shadow: none !important; box-shadow: none !important; font-weight: 800 !important; text-transform: uppercase !important; filter: none !important; }
.menubar.stuck { box-shadow: 0 1px 0 #ececea !important; }
.mb-panel { border: 1px solid var(--ink); background: #fff; }

/* Photo album: black block under the nav, right side */
.stage { position: relative; }
.photo-album { position: absolute; top: 58px; right: var(--m); z-index: 7; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 0; border-radius: 3px; background: var(--ink); color: #fff; cursor: pointer;
  font: 800 13px/0.95 "Archivo", system-ui, sans-serif; font-stretch: 125%; text-transform: uppercase; text-align: left; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .12s; }
.photo-album:hover { transform: translateY(-1px); }
.pa-grid { width: 18px; height: 18px; background: radial-gradient(circle, #fff 0 2.4px, transparent 2.6px) 0 0 / 6px 6px; }
.album { position: fixed; inset: 0; z-index: 120; background: rgba(255, 255, 255, .98); overflow: auto; padding: 24px var(--m) 60px; }
.album[hidden] { display: none; }
.album-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.album-head h2 { margin: 0; font: 800 clamp(24px, 2.4vw, 36px)/1 "Archivo", sans-serif; font-stretch: 125%; text-transform: uppercase; }
.album-x { height: 36px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; font: 500 13px "Archivo", sans-serif; text-transform: uppercase; cursor: pointer; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.album-grid a { display: block; text-decoration: none; color: var(--ink); }
.album-grid .ph { aspect-ratio: 3 / 4; background: #f3f3f3; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.album-grid img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.album-grid a:hover img { transform: scale(1.03); }
.album-grid .cap { padding: 8px 2px 16px; font-size: 13.5px; line-height: 1.35; }
.album-grid .cap b { display: block; font-weight: 400; color: var(--muted); font-size: 12px; text-transform: uppercase; }
@media (max-width: 900px) { .album-grid { grid-template-columns: 1fr 1fr; } .photo-album { top: 52px; padding: 7px 10px; font-size: 11px; } }

/* Round sticker, bottom left */
.sticker { position: fixed; left: 18px; bottom: 18px; z-index: 80; width: 118px; height: 118px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; text-decoration: none;
  font: 800 17px/0.98 "Archivo", system-ui, sans-serif; font-stretch: 125%; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .15s; }
.sticker:hover { transform: rotate(-6deg) scale(1.04); }
@media (max-width: 720px) { .sticker { width: 82px; height: 82px; font-size: 12px; left: 12px; bottom: 12px; } .bar-left { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .sticker, .photo-album { transition: none; } }
/* Archivo everywhere on the home page (beats the shared page sheet). */
body, .item .nm, .item .pr, .sums, .t-label, .t-meta, .t-note, .seg button, .tab, .btn, .money input, .panel-sub { font-family: "Archivo", system-ui, sans-serif !important; }
.t-label, .item .nm { font-weight: 600; letter-spacing: .01em; }
/* Photo album sits in the nav row, right side. */
.photo-album { top: 10px !important; }

/* First casting back on the right (532 x 1690): widths at equal height. */
.fig-you { flex: 315 1 0 !important; }
.figures { max-width: calc(min(72svh, 860px) * 0.744 + 64px) !important; }
/* Receipts start level and fill the screen to a little above its bottom edge (height set in site.js). */
.col-right { padding-top: 0 !important; }
.stage { row-gap: 18px; }

/* Exact pieces: brand and product name, or a red flag when the real piece isn't identified yet. */
.ticket-look .tt b { font-weight: 700; }
.ticket-look .tt.ex-missing b { color: #c8102e; font-weight: 600; }
.ticket-look .tt.ex-missing span { color: var(--muted); }
/* Hover a piece: the other rows on both receipts grey out to match the figures. */
.items .item { transition: opacity .2s var(--ease), filter .2s var(--ease); }
.items.has-hot .item:not(.hot) { opacity: .4; filter: grayscale(1); }
@media (min-width: 1181px) { .ticket-look, .ticket-checkout { flex: none !important; box-sizing: border-box; } }
/* Phone: nav row scrolls from its first tab; Photo Album sits on its own line; header link stays on one line. */
.menubar { justify-content: safe center !important; }
@media (max-width: 900px) {
  .menubar { justify-content: flex-start !important; }
  .photo-album { position: static !important; order: -1; align-self: flex-end; margin: 4px 0 2px; }
  .bar-left { white-space: nowrap; font-size: 12.5px; }
}
/* Twin rows show the store's own product photo when we have it. */
.item .thumb.prod { background: #fff; }
.item .thumb.prod img { position: static !important; width: 100% !important; height: 100% !important; object-fit: contain; }

/* House rule (26 Nov 2026): everything white, thin black outlines, no grey fills, no notched corners. */
:root { --panel: #fff !important; --panel-2: #fff !important; }
.ticket, .slip, .pcard, .look { clip-path: none !important; background: #fff !important; }
.ticket, .pcard, .legal .note, .steps span { border: 1px solid var(--ink); }
.pfoot, .foot { background: #fff !important; border-top: 1px solid var(--ink); }
.meter { background: #fff !important; box-shadow: inset 0 0 0 1px var(--ink); }
.lines li, .sum { border-top-color: #111 !important; }
.ticket-look .items::-webkit-scrollbar-track, .ticket-checkout .items::-webkit-scrollbar-track { background: #fff; box-shadow: inset 0 0 0 1px #111; }
.ticket-look .items, .ticket-checkout .items { scrollbar-color: var(--ink) #fff; }
.faq-list details + details { border-top: 1px solid var(--ink); }
.menubar.stuck { box-shadow: 0 1px 0 var(--ink) !important; }
.mb-upload { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600 !important; cursor: pointer; }
/* Model re-shot in the real Shein pieces (559 x 1690). */
.fig-you { flex: 331 1 0 !important; }
.figures { max-width: calc(min(72svh, 860px) * 0.76 + 64px) !important; }
/* Hovered receipt row turns light green (Benedict, 26 Nov). */
.items .item.hot { background:
    linear-gradient(to top, rgba(20, 90, 30, .16), rgba(20, 90, 30, 0) 70%),
    linear-gradient(to right, #6ab13e 0%, #7cbb44 10%, #8fc64c 20%, #a4d159 30%, #b8db6a 40%, #cce67f 50%, #d4eb8c 55%, #caec87 60%, #a8e96f 70%, #89e55c 80%, #78e34e 90%, #7ae051 100%) !important; }
.items .item.hot, .items .item.hot * { color: var(--ink) !important; }
.items .item.hot .tt.ex-missing b { color: #a3001c !important; }
.items .item.hot .tag { border-color: var(--ink) !important; }
.items .item.hot .tag { background: transparent !important; }
/* Exact pieces not yet confirmed: amber Likely label. */
.ticket-look .tt .lk { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8a5a00; border: 1px solid #c98a00; padding: 0 4px; margin-right: 5px; vertical-align: 1px; }
.items .item.hot .tt .lk { color: var(--ink) !important; border-color: var(--ink) !important; }
.ticket-look .pr b.tbc { font-weight: 600; color: #8a5a00; white-space: nowrap; }
.ticket-look .sums .tbc-note { grid-column: 1 / -1; font-size: 11.5px; text-transform: none; color: var(--muted); }
/* Wider item panels so product titles show more (26 Nov). */
@media (min-width: 1181px) { .stage { grid-template-columns: minmax(300px, 445px) minmax(400px, 560px) minmax(300px, 445px) !important; column-gap: 20px !important; } }
@media (min-width: 1181px) { .sticker { width: 100px; height: 100px; font-size: 14.5px; left: 14px; bottom: 14px; } }
@media (min-width: 1181px) and (max-width: 1560px) { .stage { padding-left: 122px !important; padding-right: 122px !important; } }
@media (min-width: 1181px) and (max-width: 1560px) { .mb-tab, .mb-link { padding: 0 9px !important; font-size: 14.5px !important; } .mb-title .mb-tab h1 { font-size: 14.5px !important; } }
.ticket-look .item .nm, .ticket-checkout .item .nm { overflow: hidden; }
/* Product names wrap onto a second line instead of being cut off (26 Nov). */
.ticket-look .item .tt, .ticket-checkout .item .tt { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.25; }
.ticket-look .item, .ticket-checkout .item { align-items: start; }
/* FAQ: full-width grid of question cards (26 Nov). One answer open at a time (site.js). */
.faq { display: block !important; }
.faq .sec-h { margin: 0 0 24px; }
.faq .faq-list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; border: 0 !important; padding: 0 !important; background: none !important; max-width: none !important; width: 100%; }
.faq .faq-list details { border: 1px solid var(--ink) !important; padding: 18px 20px; background: #fff; }
.faq .faq-list details + details { border-top: 1px solid var(--ink) !important; }
.faq .faq-list summary { min-height: 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.faq .faq-list details .body { margin: 12px 0 0; max-width: none; }
@media (max-width: 1100px) { .faq .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .faq .faq-list { grid-template-columns: 1fr; } }
/* Inner margin on every item row so the highlight never touches the photo, price or date. */
.ticket-look .item, .ticket-checkout .item { padding: 10px 12px !important; }
/* Highlighted row: thin black frame all the way round instead of the thick left bar. */
.items .item.hot { box-shadow: inset 0 0 0 1px var(--ink) !important; }
/* Balanced layout (26 Nov): each panel sits halfway between its model and the screen edge.
   Seven columns: gutter | panel | gutter | figures | gutter | panel | gutter, all gutters equal. */
@media (min-width: 1181px) {
  .stage { grid-template-columns: minmax(16px, 1fr) minmax(300px, 430px) minmax(16px, 1fr) minmax(400px, 520px) minmax(16px, 1fr) minmax(300px, 430px) minmax(16px, 1fr) !important;
    grid-template-areas: "menu menu menu menu menu menu menu" ". look . figs . right ." !important; column-gap: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .menubar-holder { padding: 0 var(--m); }
  .sticker { width: 84px !important; height: 84px !important; font-size: 12.5px !important; left: 8px !important; bottom: 8px !important; }
}
@media (min-width: 1181px) and (max-width: 1560px) {
  .stage { grid-template-columns: minmax(12px, 1fr) minmax(280px, 340px) minmax(12px, 1fr) minmax(380px, 440px) minmax(12px, 1fr) minmax(280px, 340px) minmax(12px, 1fr) !important; }
}
@media (min-width: 1181px) and (max-width: 1400px) {
  .stage { grid-template-columns: minmax(12px, 1fr) minmax(270px, 320px) minmax(12px, 1fr) minmax(360px, 420px) minmax(12px, 1fr) minmax(270px, 320px) minmax(12px, 1fr) !important; }
  .sticker { width: 72px !important; height: 72px !important; font-size: 11px !important; }
}
.mb-upload-item .mb-panel { max-width: 420px; } .mb-upload-item .mb-about { margin: 0 0 16px; font-size: 17px; line-height: 1.45; } .mb-upload-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid var(--ink); text-transform: uppercase; font-size: 13px; cursor: pointer; }
/* Open nav tab: no box around it (underline only). Store chips: X to remove, Reset, Clear all. */
.mb-item.open > .mb-tab, .mb-item:hover > .mb-tab, .mb-tab:focus, .mb-tab:focus-visible { box-shadow: none !important; outline: none !important; border: 0 !important; background: transparent !important; }
.mb-tab:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.store-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.store-chips .chip { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); }
.store-chips .chip > button[data-chip] { border: 0 !important; }
.store-chips .chip-x { border: 0; border-left: 1px solid var(--ink); background: #fff; width: 30px; font-size: 16px; line-height: 1; cursor: pointer; }
.store-chips .chip-x:hover { background: var(--ink); color: #fff; }
.store-chips .chip-tools { display: inline-flex; gap: 12px; margin-left: 6px; }
.store-chips .chip-tool { border: 0 !important; background: none !important; padding: 0 !important; height: auto !important; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Twin card on the white house style: black text like the Exact card. */
.track-twin { background: #fff !important; color: var(--ink) !important; }
.track-twin .body { color: var(--ink) !important; }
.track-twin .t-meta { color: var(--muted) !important; }
/* Remove / Add back on each panel row; a cut row stays, greyed out. */
.items .cut-btn { display: block; margin: 4px 0 0 auto; padding: 0; border: 0; background: none; font: 500 11px "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.items .cut-btn:hover { color: var(--ink); }
.items .item.is-cut { opacity: .45; filter: grayscale(1); }
.items .item.is-cut .cut-btn { color: var(--ink); opacity: 1; }
.items .item.is-cut:hover { opacity: .8; }
.items .tag.cut-tag { border-color: var(--muted) !important; color: var(--muted); }
/* Exact/Twin section sits close under the hero; product squares under each price; large preview on hover. */
.tracks { padding-top: 24px !important; }
.prodgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 6px; max-width: 520px; }
.psq { aspect-ratio: 1; border: 1px solid var(--ink); background: #fff; padding: 6px; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; position: relative; }
.psq img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.psq .psq-crop { position: absolute; inset: 0; overflow: hidden; }
.psq .psq-crop img { position: absolute; max-width: none; max-height: none; }
.psq:hover, .psq:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.pzoom { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; pointer-events: none; background: rgba(255, 255, 255, .55); }
.pzoom[hidden] { display: none; }
.pzoom-card { background: #fff; border: 1px solid var(--ink); padding: 18px 18px 12px; max-width: min(560px, 86vw); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.pzoom-card img { display: block; width: min(520px, 80vw); height: min(520px, 60vh); object-fit: contain; }
.pzoom-card p { margin: 10px 0 0; font: 600 14px/1.35 "Archivo", system-ui, sans-serif; }
@media (max-width: 640px) { .prodgrid { gap: 6px; } }
@media (min-width: 1181px) { .stage { min-height: 0 !important; padding-bottom: 16px !important; } }
.tracks .track-pair { margin-top: 0 !important; }
/* Pre-owned tag and the Condition choice. */
.items .tag.pre { border: 1px dashed var(--ink) !important; background: #fff; }
.seg-cond { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-cond button { flex: 1 1 auto; white-space: nowrap; }
#mb-cond { min-width: 360px; }
/* Price bars: taller, the same radiant green on both panels (green = money; a high Exact total is never a warning). */
.meter, .ticket-look .meter, .ticket-checkout .meter { height: 16px !important; margin-top: 16px; background: #f1f6ec !important; box-shadow: inset 0 0 0 1px var(--ink) !important; overflow: hidden; }
.meter span, .meter.over span {
  background: linear-gradient(to right, #3fae2a 0%, #5cc93a 35%, #8ee35a 70%, #b8f27a 100%) !important;
  box-shadow: 0 0 12px rgba(92, 201, 58, .65), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(20, 90, 30, .25); }
/* One status tag per Exact row. */
.tag.likely { background: #fff; color: var(--ink); border: 1px dashed var(--ink); }
.tag.closest { background: #fff; color: #8a5a00; border: 1px solid #c98a00; }
.items .item.hot .tag.closest { color: var(--ink) !important; }
.sums .fee-pct { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; text-transform: none; }
/* Closing "Exact, or Twin?": tight around the words, one button (Benedict, 26 Nov). */
.close { min-height: 0 !important; padding: 56px var(--m) 56px !important; }
.close-actions { margin-top: 28px; }
.close-actions .btn { min-width: 240px; }
/* Totals block condensed so the item list gets the room (26 Nov). */
.sums { gap: 1px 12px !important; margin-top: 8px !important; padding-top: 8px !important; font-size: 12px !important; line-height: 1.2 !important; }
.sums .tot { font-size: clamp(18px, 1.3vw, 22px) !important; padding-top: 4px !important; line-height: 1.1 !important; }
.ticket-look .meter, .ticket-checkout .meter { margin-top: 10px !important; }
/* Exact price bar with the budget line (26 Nov): green to the black budget line, red past it. */
.meter.budgeted { overflow: visible !important; margin-bottom: 26px; position: relative; }
.meter.budgeted span { position: absolute; top: 0; bottom: 0; }
.meter.budgeted .m-green { left: 0; }
.meter.budgeted .m-red { right: 0; background: linear-gradient(to right, #ff5a4a 0%, #f0341f 50%, #d81e0f 100%) !important;
  box-shadow: 0 0 12px rgba(240, 52, 31, .55), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(110, 10, 0, .25) !important; }
.meter.budgeted .m-mark { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); z-index: 2; }
.meter.budgeted:not(.is-over) .m-mark { margin-left: -3px; }
.meter.budgeted .m-lab { position: absolute; top: calc(100% + 7px); transform: translateX(-50%); white-space: nowrap; font: 600 11px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.meter.budgeted:not(.is-over) .m-lab { transform: translateX(-100%); }
.meter.budgeted .m-lab.m-end { right: 0; left: auto; transform: none; color: #c8102e; }
/* Twin price bar: the same black tick marks where the green ends (26 Nov). */
#meter { overflow: visible !important; position: relative; }
#meter .m-tip { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); z-index: 2; transition: left .35s var(--ease); }
/* No glow on the price bars (26 Nov). */
.meter span, .meter.over span, .meter.budgeted .m-red { box-shadow: none !important; }
/* Price bars: twice as tall, flat colours, no gradient (26 Nov). Green is the swatch Benedict sent (#036E38), a touch brighter. */
.meter, .ticket-look .meter, .ticket-checkout .meter { height: 32px !important; }
.meter span, .meter.over span, .meter.budgeted .m-green { background: #0a8a45 !important; }
.meter.budgeted .m-red { background: #d42a1e !important; }
/* Budget line near the start of the bar: its label reads from the line rightwards instead of centring on it. */
.meter.budgeted.mark-left .m-lab:not(.m-end) { transform: translateX(-1.5px); }
/* Less space between the four notes and the FAQ (26 Nov): 140px down to about 80px. */
#questions.faq { padding-top: 100px !important; }
/* Four notes: same space above as below (80px each), 26 Nov. */
.tracks .modes { margin-top: 80px !important; }
/* "Exact, or Twin?": a little more room above and below (56px to 84px), 26 Nov. */
.close { padding-top: 84px !important; padding-bottom: 84px !important; }
/* Remix (26 Nov): Remix, Original and Remove sit side by side under the price. */
.items .row-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.items .row-acts .cut-btn { margin: 0 !important; }
.items .remix-btn { color: var(--ink) !important; font-weight: 600 !important; }
.tag.remixed { background: #fff; color: #0a8a45; border: 1px solid #0a8a45; }
.items .item.hot .tag.remixed { color: var(--ink) !important; }
/* Remix fit: tags wrap under the piece name instead of being cut off; a remixed Exact piece with no product
   photo shows its store, not the crop of the original photo. */
.items .item .nm { flex-wrap: wrap !important; white-space: normal !important; row-gap: 3px; }
.items .row-acts { gap: 8px; }
.items .row-acts .cut-btn { font-size: 10.5px !important; }
.items .thumb .remix-ph { display: grid; place-items: center; width: 100%; height: 100%; background: #f3f3f1; border: 1px solid #d8d8d4; font: 700 10px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
/* Receipt product photos open large on click (26 Nov). */
.items .thumb.prod { cursor: zoom-in; }
.pzoom.pinned { pointer-events: auto; cursor: zoom-out; }
/* Cut rows (26 Nov): the row stays greyed; a large black RESTORE sits over it and brings the piece back. */
.items .item.is-cut { position: relative; opacity: 1 !important; filter: none !important; }
.items .item.is-cut > :not(.restore-btn) { opacity: .2; filter: grayscale(1); }
.items .item.is-cut:hover { opacity: 1 !important; }
.items .restore-btn { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; border: 0; background: transparent; cursor: pointer;
  font: 800 clamp(22px, 2vw, 30px)/1 "Archivo", system-ui, sans-serif; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.items .restore-btn:hover, .items .restore-btn:focus-visible { background: rgba(10, 138, 69, .10); outline: 1px solid var(--ink); outline-offset: -1px; }
/* Cut rows never turn green on hover (26 Nov): no highlight, no tint; RESTORE just underlines. */
.items .item.is-cut, .items .item.is-cut.hot { background: transparent !important; box-shadow: none !important; }
.items .restore-btn:hover, .items .restore-btn:focus-visible { background: transparent !important; outline: none !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
/* Cut piece greyed on the model (26 Nov, test on the tee). */
.fig .cut-ov { position: absolute; z-index: 2; object-fit: contain; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); max-height: none !important; }
.fig .cut-ov.on { opacity: 1; }
/* Cut piece on the model: the price bar's red at 50% over its exact shape (26 Nov). */
.fig .cut-ov.on { opacity: .5; }
/* Cut piece marked on the model with a red X or slash, drawn in code (26 Nov test). */
.fig svg.cut-marks { position: absolute; z-index: 3; pointer-events: none; overflow: visible; }
.fig svg.cut-marks line { stroke: #d42a1e; stroke-width: 5px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* Upload on the main page (27 Nov): status line over the figures, the model pulses while it is being dressed. */
.stage { position: relative; }
.up-status { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); z-index: 5; margin: 0; padding: 6px 12px; background: #fff; border: 1px solid var(--ink); font: 600 12.5px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
#figYou.dressing { animation: ftDress 1.6s ease-in-out infinite; }
@keyframes ftDress { 50% { opacity: .2; } }
#figRef.is-photo { object-fit: contain; }
.items .up-wait { color: var(--muted); }
/* Start screen (27 Nov): outlined empty frame with "Upload a look"; receipts wait with a note. */
.up-frame { border: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; box-sizing: border-box; min-height: 420px; width: 220px; margin: 0 auto; }
.up-frame-btn { cursor: pointer; white-space: nowrap; }
.up-frame-note { margin: 0; font: 400 13px/1.35 "Archivo", system-ui, sans-serif; color: var(--muted); text-align: center; max-width: 18ch; }
body.is-start .ticket .sums, body.is-start .ticket .meter, body.is-start .ticket .t-note, body.is-start .ticket .cta-row, body.is-start #storeLine { display: none !important; }
body.is-start .tracks { display: none; }
/* Sizes sheet before the search. */
.sz-sheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(255, 255, 255, .7); padding: 16px; }
.sz-card { background: #fff; border: 1px solid var(--ink); padding: 28px 28px 24px; width: min(420px, 100%); box-shadow: 0 18px 50px rgba(0, 0, 0, .14); }
.sz-card h2 { margin: 0; font: 800 26px/1 "Archivo", system-ui, sans-serif; font-stretch: 125%; text-transform: uppercase; }
.sz-p { margin: 8px 0 18px; font: 400 14.5px/1.4 "Archivo", system-ui, sans-serif; color: var(--muted); }
.sz-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; font: 600 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.sz-f legend { padding: 0; margin-bottom: 8px; }
.sz-f input[type=number] { border: 0; border-bottom: 1px solid var(--ink); padding: 8px 2px; font: 400 18px/1.2 "Archivo", system-ui, sans-serif; text-transform: none; }
.sz-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sz-chips label { cursor: pointer; }
.sz-chips input { position: absolute; opacity: 0; pointer-events: none; }
.sz-chips span { display: inline-grid; place-items: center; min-width: 46px; height: 38px; border: 1px solid var(--ink); font: 600 13px/1 "Archivo", system-ui, sans-serif; }
.sz-chips input:checked + span { background: var(--ink); color: #fff; }
.sz-chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sz-err { color: #c8102e; font: 500 13px/1.3 "Archivo", system-ui, sans-serif; margin: 0 0 12px; }
.sz-go { width: 100%; height: 48px; }
/* Placeholder notes in the receipts: plain text across the full width, never highlighted. */
.items .item.up-wait { display: block !important; background: none !important; box-shadow: none !important; padding: 14px 4px !important; }
.items .item.up-wait .tt { display: block; color: var(--muted); font-size: 14px; }
/* Sizes sheet, full version (27 Nov): scrolls if the window is short; two-up rows for numbers. */
.sz-card { max-height: 92vh; overflow-y: auto; width: min(480px, 100%); }
.sz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0 14px; }
.sz-f select { border: 0; border-bottom: 1px solid var(--ink); padding: 8px 2px; font: 400 16px/1.2 "Archivo", system-ui, sans-serif; background: #fff; text-transform: none; }
.sz-chips span { padding: 0 10px; }
body.is-busy .ticket .sums, body.is-busy .ticket .meter, body.is-busy .ticket .t-note, body.is-busy .ticket .cta-row { visibility: hidden; }
/* Paste a link (27 Nov). */
.link-form { display: flex; width: 100%; max-width: 260px; margin: 0 auto; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.link-form input { flex: 1; min-width: 0; border: 0; padding: 8px 2px; font: 400 13.5px/1.2 "Archivo", system-ui, sans-serif; background: transparent; }
.link-form button { border: 0; background: none; font: 700 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 0 4px; }
.link-form .link-note { flex-basis: 100%; margin: 6px 0 0; font: 400 12px/1.3 "Archivo", system-ui, sans-serif; color: var(--muted); }
.link-note:empty { display: none; }
.mb-panel .link-form { margin: 12px 0 0; max-width: none; }
.figures.drop-on { outline: 2px dashed var(--ink); outline-offset: 6px; }
/* Change model (27 Nov). */
.fig figcaption { position: relative; }
.change-model { margin-top: 4px; border: 0; background: none; padding: 0; font: 500 11px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; }
.change-model:hover { color: var(--ink); }
.cast-menu { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20; background: #fff; border: 1px solid var(--ink); padding: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.14); width: max-content; }
.cast-h { margin: 0 0 8px; font: 700 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.cast-grid { display: flex; gap: 8px; }
.cast-grid button { border: 1px solid #d8d8d4; background: #fff; padding: 6px 6px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cast-grid button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cast-grid img { height: 120px; width: auto; display: block; }
.cast-grid span { font: 600 11px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; }
.cast-note { margin: 8px 0 0; font: 400 12px/1.3 "Archivo", system-ui, sans-serif; color: var(--muted); max-width: 22ch; }
/* Zoom shows a photo at no more than its real size (sharpness check). */
.pzoom-card img { width: auto; height: auto; max-width: min(520px, 80vw); max-height: 60vh; }
/* Offer to re-dress after the store changes (27 Nov). */
.up-status { white-space: normal; max-width: min(560px, 90vw); text-align: center; }
.up-status .redress-btn { margin-left: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 5px 10px; font: 700 11px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.up-status .redress-x { border: 0; background: none; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }
/* Store picker: Top stores, See more, up to six (27 Nov). */
#storeChips { display: block !important; }
.ss-h { margin: 6px 0 8px; font: 700 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; gap: 12px; }
.ss-count { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.ss-top, .ss-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-chip { border: 1px solid var(--ink); background: #fff; padding: 7px 11px; font: 500 13px/1 "Archivo", system-ui, sans-serif; cursor: pointer; }
.ss-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ss-chip:disabled { opacity: .35; cursor: not-allowed; }
.ss-more { border: 0; background: none; padding: 7px 4px; font: 600 12.5px/1 "Archivo", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ss-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ss-actions .ss-go { height: 38px; padding: 0 14px; }
.ss-actions .ss-go:disabled { opacity: .4; cursor: default; }
.ss-actions [data-chip="any"] { border: 1px solid var(--ink); background: #fff; height: 38px; padding: 0 12px; font: 500 13px/1 "Archivo", system-ui, sans-serif; cursor: pointer; }
.ss-actions [data-chip="any"][aria-pressed="true"] { background: var(--ink); color: #fff; }
.ss-sheet .sz-card h2 { margin-bottom: 0; }
.ss-grid { margin: 6px 0 18px; }
/* "Not at …" rows in the Duped receipt. */
.items .item.not-at .tt { color: var(--muted); }
.items .try-store { border: 1px solid var(--ink); background: #fff; padding: 3px 7px; margin: 3px 2px 0 0; font: 600 11px/1 "Archivo", system-ui, sans-serif; cursor: pointer; }
.items .try-store:hover { background: var(--ink); color: #fff; }
/* Status card on the model (27 Nov): never under the menu bar, never a faded figure. */
.fig-you { position: relative; }
.up-status { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); z-index: 6; margin: 0; width: max-content; max-width: min(300px, 92%);
  padding: 14px 18px 12px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.14); text-align: center; white-space: normal; }
.up-status .us-t { display: block; font: 700 13px/1.3 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.up-status .us-bar { display: block; height: 3px; background: #e6e6e3; margin: 10px 0 0; overflow: hidden; }
.up-status .us-bar i { display: block; height: 100%; width: 0; background: var(--ink); animation: usFill linear forwards; }
@keyframes usFill { to { width: 92%; } }
.up-status .us-s { display: block; min-height: 14px; margin-top: 6px; font: 500 11.5px/1.2 "Archivo", system-ui, sans-serif; color: var(--muted); }
.up-status.is-done .us-t { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; }
.up-status .redress-btn { display: block; margin: 10px auto 0; }
.up-status .redress-x { position: absolute; top: 4px; right: 6px; }
#figYou { transition: opacity .4s var(--ease); }
body.is-start .new-look { visibility: hidden; }
.fig-ref figcaption, .fig-you figcaption { display: flex; flex-direction: column; align-items: center; }
.up-status .us-s { text-transform: none; letter-spacing: 0; }
body.is-restoring .stage { visibility: hidden; }
/* Ask before dressing (27 Nov). */
.up-status .us-sub { display: block; margin-top: 6px; font: 400 12.5px/1.35 "Archivo", system-ui, sans-serif; color: var(--muted); }
.up-status .redress-alt { display: block; margin: 8px auto 0; border: 0; background: none; padding: 2px 0; font: 500 11px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; }
.up-status .redress-alt:hover { color: var(--ink); }
/* Question cards (ask to dress, errors, offers) sit low over the legs so the model stays visible. */
.up-status.is-done { top: auto; bottom: 3%; transform: translateX(-50%); max-width: min(290px, 96%); padding: 12px 16px 10px; }
.up-status .us-sub { text-transform: none; letter-spacing: 0; }
.up-status.is-done { bottom: calc(64px + 2%); }
/* Question cards sit over the middle of the model, below the face (Benedict, 27 Nov). */
.up-status.is-done { top: 54%; bottom: auto; transform: translate(-50%, -50%); }
/* Exact piece not found (27 Nov). */
.tag.missing { border: 1px solid #b8b8b4; color: #77776f; }
.item.is-missing .tt { color: var(--muted); }
.item.is-missing .pr b { color: var(--muted); }
/* Try another look: upload card centred on the person on the left (27 Nov). */
.fig-ref { position: relative; }
.look-card { width: min(270px, 92%); }
.look-card .look-x { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }
.look-card .look-up { display: block; margin: 12px auto 4px; cursor: pointer; text-align: center; }
.look-card .link-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; border-bottom: 1px solid var(--ink); }
.look-card .link-form input { flex: 1; min-width: 0; border: 0; padding: 8px 2px; font: 400 14px/1.2 "Archivo", system-ui, sans-serif; background: transparent; }
.look-card .link-form button { border: 0; background: none; font: 700 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; cursor: pointer; }
.look-card .link-note { flex-basis: 100%; margin: 0; font: 400 12px/1.3 "Archivo", system-ui, sans-serif; color: var(--muted); }
.look-card .link-note:empty { display: none; }
.look-card .look-up { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; line-height: 1; }
/* Fun fact pop-up (27 Nov). */
/* 28 Nov (Benedict): Fit Twin brand gradient (green, --brand-1 to --brand-2) so the button catches the eye; the pop-up is a large
   rectangle in the centre of the screen. */
:root { --brand-1: #087A4C; --brand-2: #2FD08A; --brand-grad: linear-gradient(100deg, var(--brand-1), var(--brand-2)); }
.fun-fact-btn { position: relative; display: inline-block; margin-top: 8px; padding: 7px 14px; cursor: pointer;
  border: 1.5px solid transparent; border-image: var(--brand-grad) 1;
  font: 800 12px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: transparent; background-image: linear-gradient(100deg, var(--brand-1), var(--brand-2), var(--brand-1));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: factShimmer 6s linear infinite; }
.fun-fact-btn:hover, .fun-fact-btn:focus-visible { animation-duration: 2s; outline: none; box-shadow: 0 0 0 3px rgba(8, 122, 76, .15); }
@keyframes factShimmer { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .fun-fact-btn { animation: none; } }
html.fact-open { overflow: hidden; }
.fact-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(255, 255, 255, .72); }
.fact-card { position: relative; width: min(820px, 100%); max-height: min(80vh, 640px); overflow: auto; background: #fff; border: 1px solid var(--ink);
  padding: 34px 44px 26px; text-align: left; box-shadow: 0 18px 50px rgba(0, 0, 0, .12); }
.fact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--brand-grad); }
.fact-card .fact-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; color: var(--ink); }
.fact-kicker { margin: 0 0 6px; font: 800 11.5px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-1); }
.fact-h { margin: 0 32px 14px 0; font: 700 26px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: -.01em; text-transform: none; }
.fact-list { margin: 0 0 18px; padding-left: 20px; font: 400 16px/1.5 "Archivo", system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
.fact-list li { margin-bottom: 8px; }
.fact-src { margin: 0; padding-top: 12px; border-top: 1px solid #e6e6e3; font: 400 12.5px/1.5 "Archivo", system-ui, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.fact-src a { color: inherit; }
@media (max-width: 600px) { .fact-card { padding: 28px 20px 20px; max-height: 86vh; } .fact-h { font-size: 21px; } .fact-list { font-size: 15px; } }
.research-btn { margin-left: 4px; border: 0; background: none; padding: 0; font: 600 12px/1.3 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); cursor: pointer; }
/* Looks left + look pack (27 Nov). */
.looks-line { font-weight: 500; color: var(--ink) !important; }
.up-status .buy-looks { display: block; margin: 10px auto 0; }
#lookNote .research-btn { display: block; margin: 6px 0 0; }
.up-status .buy-looks { white-space: nowrap; }

/* Twins first + "fairy wand" fill-in (Benedict, 28 Nov). A row waiting for its piece breathes softly; when the piece
   lands, a rainbow sparkle sweeps across it, the photo pops in and the row glows for a moment. */
.item.staged { position: relative; }
.item.filling .tt { background: linear-gradient(90deg, var(--muted) 0%, #c9c9c4 40%, var(--muted) 80%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: fillWait 1.6s linear infinite; }
.item.filling .thumb { opacity: .45; }
@keyframes fillWait { to { background-position: -200% 0; } }
.item.magic { position: relative; isolation: isolate; animation: wandGlow 1.6s ease-out var(--d, 0ms) both; }
.item.magic::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(8, 122, 76, .10) 30%, rgba(47, 208, 138, .22) 50%, rgba(8, 122, 76, .10) 70%, transparent 100%);
  background-size: 250% 100%; animation: wandSweep 1.3s ease-out var(--d, 0ms) both; }
.item.magic::after { content: "\2726"; position: absolute; top: 50%; left: 0; z-index: 2; pointer-events: none; opacity: 0;
  font-size: 15px; line-height: 1; color: var(--brand-1); text-shadow: 0 0 6px #fff, 0 0 12px rgba(47, 208, 138, .9), 0 0 18px rgba(8, 122, 76, .6);
  animation: wandStar 1.1s cubic-bezier(.3, .7, .3, 1) var(--d, 0ms) both; }
.item.magic .thumb { animation: wandPop .7s var(--ease-emph) calc(var(--d, 0ms) + 250ms) both; }
@keyframes wandSweep { 0% { opacity: 1; background-position: 120% 0; } 70% { opacity: 1; } 100% { opacity: 0; background-position: -60% 0; } }
@keyframes wandStar { 0% { opacity: 0; transform: translate(0, -50%) scale(.4) rotate(0); } 15% { opacity: 1; }
  80% { opacity: 1; transform: translate(calc(var(--w, 300px)), -50%) scale(1.1) rotate(200deg); } 100% { opacity: 0; transform: translate(calc(var(--w, 300px) + 10px), -60%) scale(.3) rotate(260deg); } }
@keyframes wandPop { 0% { transform: scale(.6); opacity: 0; filter: brightness(1.6); } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes wandGlow { 0% { box-shadow: 0 0 0 0 rgba(8, 122, 76, 0); } 35% { box-shadow: 0 0 0 1px rgba(8, 122, 76, .25), 0 0 18px 2px rgba(47, 208, 138, .22); } 100% { box-shadow: 0 0 0 0 rgba(8, 122, 76, 0); } }
@media (prefers-reduced-motion: reduce) { .item.magic, .item.magic::before, .item.magic::after, .item.magic .thumb, .item.filling .tt { animation: none; } .item.filling .tt { color: var(--muted); } }

/* Looks left on the Upload tab, and "Try again" on a failed row (28 Nov). */
.mb-looks { margin-left: 6px; padding: 2px 6px; border: 1px solid var(--brand-1, #087A4C); color: var(--brand-1, #087A4C); font: 700 10.5px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.mb-looks.is-out { border-color: var(--ink); color: var(--ink); }
.mb-credit { color: var(--brand-1, #087A4C) !important; }
.retry-btn { border: 0; background: none; padding: 0; margin-left: 2px; font: 700 12px/1.3 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-underline-offset: 3px; color: var(--brand-1, #087A4C); cursor: pointer; white-space: nowrap; }
.retry-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
/* 28 Nov: the receipt panel squeezed this note, so "Search again" slid under "Get the exact look". The item list scrolls, so it gives way instead. */
#lookNote, #fitNote { height: auto !important; max-height: none !important; flex: none !important; }

/* Cut mark, 'box' style (Benedict, 28 Nov): soft white veil, fine dashed red box and fine dashed X. */
.fig svg.cut-marks .cm-veil { fill: rgba(255, 255, 255, .62); stroke: none; }
.fig svg.cut-marks .cm-box { fill: none; stroke: #d0312d; stroke-width: 1.6px; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; }
.fig svg.cut-marks line.cm-x { stroke: #d0312d; stroke-width: 1.2px; stroke-dasharray: 5 5; stroke-linecap: butt; vector-effect: non-scaling-stroke; }

/* Change model menu: each model grows a little on hover (Benedict, 28 Nov). */
.cast-menu [data-cast] img { transition: transform .22s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 85%; }
.cast-menu [data-cast]:hover img, .cast-menu [data-cast]:focus-visible img { transform: scale(1.12); }
.cast-menu [data-cast] { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .cast-menu [data-cast] img { transition: none; } }

/* Looks line at the foot of the Try another look card (Benedict, 27 Nov late): small, grey, under a hairline. */
.up-status .us-foot { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line, #e5e5e5); font: 400 11.5px/1.4 "Archivo", system-ui, sans-serif; color: var(--muted) !important; text-transform: none; letter-spacing: 0; text-align: center; }

/* Sizes sheet (27 Nov late): hints read as hints, missing boxes get a red underline. */
.sz-card input::placeholder { color: #b9b9b6; font-weight: 400; }
.sz-card input.sz-miss { border-bottom-color: #c8102e !important; box-shadow: 0 1px 0 #c8102e; }
.sz-card .sz-f.sz-miss .sz-chips span { border-color: #c8102e; }
/* Choose your model (Benedict, 27 Nov late): a carousel of the cast fills the right column after an upload. */
.fig-you.is-picking > img#figYou, .fig-you.is-picking > figcaption, .fig-you.is-picking .up-status, .fig-you.is-picking svg { visibility: hidden; }
.model-pick { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; background: #fff; padding: 4px 0 8px; }
.mp-h { margin: 0 0 6px; font: 700 13px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.mp-stage { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; }
.mp-pics { position: relative; flex: 1 1 auto; height: 100%; cursor: pointer; }
.mp-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateX(10px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.mp-pics img.on { opacity: 1; transform: none; }
.mp-arrow { flex: none; width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; font: 400 24px/1 system-ui, sans-serif; padding: 0 0 3px; cursor: pointer; z-index: 1; transition: background .15s, color .15s; }
.mp-arrow:hover, .mp-arrow:focus-visible { background: var(--ink); color: #fff; }
.mp-name { margin: 8px 0 0; text-align: center; font: 400 12.5px/1.3 "Archivo", system-ui, sans-serif; color: var(--muted); }
.mp-name b { display: block; font: 700 16px/1.2 "Archivo", system-ui, sans-serif; color: var(--ink); }
.mp-dots { display: flex; gap: 6px; margin: 8px 0 10px; }
.mp-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d6d6d2; transition: background .2s; }
.mp-dots i.on { background: var(--ink); }
.mp-go { min-width: 180px; }
.sz-card .sz-back { display: block; margin: 10px auto 0; border: 0; background: none; padding: 2px 0; font: 500 11.5px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; }
.sz-card .sz-back:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .mp-pics img { transition: none; transform: none; } }
/* The column is only as wide as the model: arrows sit just outside it so the model keeps its full size. */
.model-pick { inset: 0 -38px; background: transparent; }
.mp-stage { padding: 0 38px; }
.mp-pics { background: #fff; }
.mp-pics img { object-position: 50% 100%; }
.mp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; font-size: 21px; }
.mp-prev { left: 0; } .mp-next { right: 0; }
.mp-go { min-width: 0; white-space: nowrap; padding-left: 18px; padding-right: 18px; }
.model-pick { bottom: -46px; }
/* Phones: no room outside the column, so the arrows sit over the model's sides and the controls stay inside. */
@media (max-width: 700px) {
  .model-pick { inset: 0; bottom: 0; }
  .mp-stage { padding: 0; }
  .mp-pics { background: transparent; }
  .mp-arrow { width: 32px; height: 32px; background: rgba(255,255,255,.92); }
  .mp-prev { left: -4px; } .mp-next { right: -4px; }
  .mp-go { padding-left: 12px; padding-right: 12px; font-size: 12px; }
}
.mp-pics img { transform-origin: 50% 99%; }
/* 28 Nov: the carousel browses on #figYou itself (fitted to Bieber's frame); the panel only holds the controls. */
.fig-you.is-picking > img#figYou { visibility: visible; }
.model-pick { pointer-events: none; }
.model-pick .mp-h, .model-pick .mp-arrow, .model-pick .mp-pics, .model-pick .mp-go { pointer-events: auto; }
.mp-pics { background: transparent !important; }
.mp-h { background: #fff; padding: 2px 6px; position: relative; z-index: 2; }
.mp-name, .mp-dots, .mp-go { position: relative; z-index: 2; }
.mp-name { background: #fff; padding: 0 6px; }
/* 28 Nov: controls under the model live in the caption; the panel over the figure holds the heading and arrows only. */
.model-pick { inset: 0 -38px !important; bottom: 0 !important; }
.fig-you.is-picking > figcaption { visibility: visible; }
.fig-you.is-picking > figcaption > :not(.mp-foot) { display: none; }
.mp-foot { display: flex; flex-direction: column; align-items: center; }
.mp-foot .mp-name { margin-top: 2px; }
@media (max-width: 700px) { .model-pick { inset: 0 !important; } }
.mp-foot .mp-h { margin: 0 0 4px; font-size: 11.5px; color: var(--muted); background: none; padding: 0; }
/* Pop-up stroke (Benedict, 28 Nov): every pop-up rectangle gets an all-around stroke from "gradient 2.jpg" (blue top,
   white middle, orange-red bottom). assets/ui/gradient-1-stroke.jpg is a small web copy; the original stays in the project root. */
.sz-card, .fact-card, .up-status, .cast-menu {
  border: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1;
}
/* 28 Nov (Benedict): choosing a model = model at 50%, two-line Choose button on the middle of the body, arrows either side. */
.fig-you.is-picking > img#figYou { opacity: .5; }
.model-pick { inset: 0 !important; pointer-events: none; }
.mp-center { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; pointer-events: auto; z-index: 3; }
.mp-center .mp-arrow { position: static; transform: none; flex: none; }
.mp-center .mp-go { min-width: 0; padding: 12px 18px; line-height: 1.2; white-space: nowrap; text-align: center; background: var(--ink); color: #fff; }
.mp-center .mp-go:hover { opacity: .88; }
/* LOCKED frame on the original after upload. */
.fig-ref { position: relative; }
.ref-lock { position: absolute; z-index: 4; pointer-events: none; border: 2px solid transparent; border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1; box-sizing: border-box; }
.ref-lock span { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); background: #fff; color: #000; padding: 2px 10px; font: 800 12px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
/* 28 Nov (Benedict): LOCKED sits in the middle of the locked target image, as a white tag with the Gradient 2 stroke. */
.ref-lock span { top: 50%; bottom: auto; transform: translate(-50%, -50%); padding: 8px 16px; font-size: 14px;
  border: 2px solid transparent; border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1; }
/* Phones: the Choose group fits the model's column (the right arrow was cut off at the screen edge). */
@media (max-width: 700px) {
  .mp-center { gap: 4px; }
  .mp-center .mp-arrow { width: 28px; height: 28px; font-size: 18px; padding: 0 0 2px; }
  .mp-center .mp-go { padding: 8px 10px; font-size: 11px; letter-spacing: .02em; }
}
/* 28 Nov (Benedict): after "Twin this look", both people turn grey while the rows fill in, then colour comes back. */
#figRef, #figYou { transition: filter .5s var(--ease), opacity .4s var(--ease); }
body.is-finding #figRef, body.is-finding #figYou { filter: grayscale(1); }
@media (prefers-reduced-motion: reduce) { #figRef, #figYou { transition: none; } }
/* Stroke doubled (Benedict, 28 Nov): 2px → 4px on every gradient stroke. */
.sz-card, .fact-card, .up-status, .cast-menu, .ref-lock, .ref-lock span { border-width: 4px; }
/* Locked target photo at 50% (Benedict, 28 Nov), until "Twin this look" is pressed. The LOCKED frame and tag stay full strength. */
body.is-locking .fig-ref.is-locked #figRef { opacity: .5; }
/* Blank receipts on every new upload (Benedict, 28 Nov): no totals, budget bar, notes, parcels line or buttons until the
   new results arrive. The rows are emptied in startUpload. */
body.is-blank .ticket .sums, body.is-blank .ticket .meter, body.is-blank .ticket .t-note, body.is-blank .ticket .cta-row, body.is-blank .ticket .panel-sub { visibility: hidden; }
/* Loot pickup (Benedict, 28 Nov): rows arrive one by one like a game item pickup. */
.item.staged.enter { animation: rowIn .34s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 70ms) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.item.loot { position: relative; }
.item.loot .thumb { position: relative; animation: lootPop .52s var(--ease-emph) both; }
@keyframes lootPop { 0% { transform: scale(.35) rotate(-10deg); opacity: 0; filter: brightness(1.8); } 60% { transform: scale(1.12) rotate(2deg); opacity: 1; } 100% { transform: none; filter: none; } }
.loot-ring { position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; border: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1; animation: lootRing .55s ease-out both; }
@keyframes lootRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.loot-chip { position: absolute; left: 52px; top: 2px; z-index: 3; pointer-events: none; padding: 1px 6px; background: #fff;
  font: 800 9.5px/1.4 "Archivo", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border: 2px solid transparent; border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1;
  animation: lootChip .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lootChip { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 25% { opacity: 1; transform: translateY(-2px) scale(1.05); } 70% { opacity: 1; transform: translateY(-10px); } 100% { opacity: 0; transform: translateY(-16px); } }
.item.loot .pr b { display: inline-block; animation: lootPrice .45s var(--ease-emph) .1s both; }
@keyframes lootPrice { from { transform: scale(.7); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .item.staged.enter, .item.loot .thumb, .loot-ring, .loot-chip, .item.loot .pr b { animation: none; } .loot-chip, .loot-ring { display: none; } }
/* Two people only before "Twin this look" (Benedict, 28 Nov); receipts arrive top to bottom when it is pressed. */
.fig-ref, .fig-you { transform: translateX(var(--sx, 0px)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
body.is-locking .col-look, body.is-locking .col-right { visibility: hidden; opacity: 0; }
body.cols-in .col-look, body.cols-in .col-right {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 60%, transparent 100%);
  -webkit-mask-size: 100% 260%; mask-size: 100% 260%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: colsIn 1.1s cubic-bezier(.3, .7, .2, 1) .25s both; }
body.cols-in .col-right { animation-delay: .4s; }
@keyframes colsIn { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; opacity: .2; } to { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fig-ref, .fig-you { transition: none; } body.cols-in .col-look, body.cols-in .col-right { animation: none; -webkit-mask-image: none; mask-image: none; } }

/* ---- Motion system applied (28 Nov). Overrides the one-off timings above so every moving thing shares the same curves. ---- */
.fig-ref, .fig-you { transition: transform var(--dur-xl) var(--ease-move); }
#figRef, #figYou { transition: filter var(--dur-l) var(--ease-emph), opacity var(--dur-m) var(--ease-out); }
body.cols-in .col-look, body.cols-in .col-right { animation-duration: var(--dur-xl); animation-timing-function: var(--ease-out); animation-delay: 180ms; }
body.cols-in .col-right { animation-delay: calc(180ms + var(--stagger) * 2); }
.item.staged.enter { animation: rowIn var(--dur-m) var(--ease-out) calc(var(--i, 0) * var(--stagger)) both; }
.item.loot .thumb { animation: lootPop var(--dur-l) var(--ease-spring) both; }
.loot-ring { animation: lootRing var(--dur-l) var(--ease-out) both; }
.loot-chip { animation: lootChip var(--dur-xl) var(--ease-out) both; }
.item.loot .pr b { animation: lootPrice var(--dur-m) var(--ease-spring) 80ms both; }
.leaders path { animation: lead-in var(--dur-m) var(--ease-out); }
.meter span, #meter .m-tip { transition-duration: var(--dur-l); transition-timing-function: var(--ease-move); }
/* Model carousel: the next model slides in from the side the arrow points to. Uses the separate translate/opacity
   properties so it never fights the fitting transform. */
#figYou.mp-in { animation: mpIn var(--dur-m) var(--ease-out) backwards; } /* lands on the normal state (50% while choosing) */
@keyframes mpIn { from { opacity: 0; translate: calc(var(--dir, 1) * 28px) 0; } }
.mp-center .mp-arrow, .mp-center .mp-go { transition: transform var(--dur-xs) var(--ease-out), background var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out); }
.mp-center .mp-arrow:active, .mp-center .mp-go:active { transform: scale(.94); }
/* Cards and pop-ups open with a short rise (enter curve); the dimmed backdrop fades. */
.up-status:not([hidden]) { animation: cardIn var(--dur-m) var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }
.sz-sheet, .fact-modal { animation: fadeIn var(--dur-s) var(--ease-out) both; }
.sz-card, .fact-card, .cast-menu { animation: popIn var(--dur-l) var(--ease-emph) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; translate: 0 14px; scale: .98; } to { opacity: 1; translate: 0 0; scale: 1; } }
.ref-lock { animation: fadeIn var(--dur-m) var(--ease-out) both; }
.ref-lock span { animation: popIn var(--dur-l) var(--ease-spring) 120ms both; }
.cut-marks { animation: fadeIn var(--dur-s) var(--ease-out) both; }
.btn, .tab, .seg button { transition-timing-function: var(--ease-out); }
/* No bounce, no jiggle (Benedict, 28 Nov): the pops scale up smoothly and settle, never past full size, never rotate. */
@keyframes lootPop { from { opacity: 0; transform: scale(.7); filter: brightness(1.5); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lootChip { 0% { opacity: 0; transform: translateY(6px); } 25% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; transform: translateY(-8px); } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes lootPrice { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes wandPop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.item.magic .thumb { animation-timing-function: var(--ease-emph); animation-duration: var(--dur-l); }
/* A framed photo stands on no floor: no ground shadow under it (it only makes sense under a cut-out person). */
.fig-ref:has(#figRef.is-photo)::after { display: none; }
/* The last look's Fun fact never shows on a new upload (it waits for the new look's facts). */
body.is-blank .fun-fact-btn { display: none; }
/* Carousel arrows (Benedict, 28 Nov): further from the model, with a Gradient 1 ring. */
.mp-center { gap: 30px; }
.mp-center .mp-arrow { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) border-box; background-size: 100% 100%; }
.mp-center .mp-arrow:hover, .mp-center .mp-arrow:focus-visible { background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) border-box; background-size: 100% 100%; color: #fff; }
@media (max-width: 700px) { .mp-center { gap: 6px; } }
/* Locked = done for the moment (Benedict, 28 Nov): the photo's frame and the LOCKED tag go grey. */
.ref-lock { filter: grayscale(1); }
/* LOCKED and CHOOSE YOUR MODEL are a pair (Benedict, 28 Nov): same bold type, size, spacing and box, centred on the
   same line (the middle of the shared frame). LOCKED's stroke is grey (done); Choose's is in colour (waiting on you). */
.ref-lock span, .mp-center .mp-go { font: 800 14px/1.25 "Archivo", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; background: #fff; color: #000; border: 4px solid transparent; border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1; min-width: 0; height: auto; }
.mp-center .mp-go:hover { background: #fff; opacity: 1; }
.ref-lock span { padding: 15px 18px; } /* one line of text: same box height as the two-line button */
@media (max-width: 700px) { .ref-lock span, .mp-center .mp-go { font-size: 11px; padding: 8px 10px; } .ref-lock span { padding: 15px 10px; } }
/* The Choose button is not a site .btn (that style forced a thin black border over the gradient). Gradient stroke only;
   no extra focus ring around it (the stroke already marks it). */
.mp-center .mp-go { cursor: pointer; display: block; }
.mp-center .mp-go:focus, .mp-center .mp-go:focus-visible { outline: none; }
.mp-center .mp-arrow:focus, .mp-center .mp-arrow:focus-visible { outline: none; }
.mp-center .mp-go { padding: 6.5px 18px; } /* same 56 px box as LOCKED */
/* Change model (Benedict, 28 Nov): a large centred pop-up above everything, bigger pictures. */
.cast-menu { position: fixed; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); z-index: 1000; width: min(820px, 94vw); padding: 22px 24px 20px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.cast-menu .cast-h { font: 800 14px/1.25 "Archivo", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; text-align: center; }
.cast-menu .cast-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cast-menu [data-cast] { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 8px; background: #fff; border: 1px solid #e4e4e0; cursor: pointer; }
.cast-menu [data-cast][aria-checked="true"] { border: 2px solid var(--ink); }
.cast-menu [data-cast] img { height: 230px; width: auto; max-width: 100%; object-fit: contain; }
.cast-menu [data-cast] span { font: 700 13px/1 "Archivo", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 700px) { .cast-menu .cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cast-menu [data-cast] img { height: 150px; } }
/* Main page CTA (Benedict, 28 Nov). Centred on the stage (never make .figures a positioning frame: the leader lines' layer lives there). */
.hero-cta { display: none; }
body.is-sample .hero-cta { display: block; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 8; cursor: pointer;
  padding: 18px 38px; background: #fff; color: #000; font: 800 20px/1.1 "Archivo", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  border: 4px solid transparent; border-image: linear-gradient(180deg, var(--g3), var(--g1), var(--g2), var(--g0)) 1; box-shadow: 0 14px 40px rgba(0,0,0,.14);
  transition: scale var(--dur-s) var(--ease-out); animation: popIn var(--dur-l) var(--ease-emph) both; }
body.is-sample .hero-cta:hover { scale: 1.03; }
body.is-sample .hero-cta:active { scale: .97; }
body.is-sample .hero-cta:focus, body.is-sample .hero-cta:focus-visible { outline: none; }
body.is-sample .fig-you .change-model { display: none; }
.cast-menu [data-cast] { overflow: visible; }
body.is-sample .hero-cta { white-space: nowrap; }
/* Twin a fit, v2 (Benedict, 28 Nov): about 5x the area; the gradient stroke flows slowly counterclockwise round the
   rectangle like a lava lamp (soft conic gradient in Gradient 1's colours, turning backwards); a light sweep crosses
   the whole button once every 4 s. Smooth, no bounce. */
@property --lava { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
body.is-sample .hero-cta { padding: 40px 84px; font-size: 44px; letter-spacing: .16em; border: 7px solid transparent; border-image: none; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box;
  animation: popIn var(--dur-l) var(--ease-emph) both, lava 9s linear infinite; }
@keyframes lava { from { --lava: 360deg; } to { --lava: 0deg; } }
body.is-sample .hero-cta::after { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.0) 42%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 58%, transparent 60%);
  translate: -120% 0; animation: ctaSweep 4s var(--ease-move) infinite; }
@keyframes ctaSweep { 0% { translate: -120% 0; } 30% { translate: 120% 0; } 100% { translate: 120% 0; } }
@media (max-width: 1100px) { body.is-sample .hero-cta { padding: 28px 52px; font-size: 30px; } }
@media (max-width: 700px) { body.is-sample .hero-cta { padding: 18px 28px; font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { body.is-sample .hero-cta { animation: none; } body.is-sample .hero-cta::after { display: none; } }
/* "Twin a fit" opens the upload card in the same spot; the big button steps aside while it's open (Benedict, 28 Nov). */
.look-card.look-center { position: absolute; left: 50%; top: 46% !important; bottom: auto !important; transform: translate(-50%, -50%) !important; z-index: 9; width: min(360px, 92%); }
body:has(.look-card:not([hidden])) .hero-cta { display: none !important; }
/* Twin a fit, v3 (Benedict, 28 Nov): stroke flows faster and bolder (full turn every 3.5 s, higher-contrast colours);
   the light sweep is slower (2.4 s across, once every 4 s). */
body.is-sample .hero-cta { border-width: 8px;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box;
  animation: popIn var(--dur-l) var(--ease-emph) both, lava 3.5s linear infinite; }
body.is-sample .hero-cta::after { animation: ctaSweep 4s var(--ease-move) infinite; }
@keyframes ctaSweep { 0% { translate: -120% 0; } 60% { translate: 120% 0; } 100% { translate: 120% 0; } }
/* Scrolling list frame (Benedict, 28 Nov): a thin black frame shows where each receipt's scrolling window starts and ends. */
.ticket-look .items, .ticket-checkout .items { border: 1px solid var(--ink); padding: 2px 4px 2px 8px; }
/* Zoom caption (Benedict, 28 Nov): name and price large on one line, description below. */
.pzoom-card p .pz-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pzoom-card p .pz-name, .pzoom-card p .pz-price { font: 800 20px/1.2 "Archivo", system-ui, sans-serif; }
.pzoom-card p .pz-price { white-space: nowrap; }
.pzoom-card p .pz-desc { display: block; margin-top: 4px; font: 400 14px/1.4 "Archivo", system-ui, sans-serif; color: var(--muted); }
/* 4x the old caption size (Benedict, 28 Nov): 14 px → 56 px (32 px minimum on small screens). */
.pzoom-card p .pz-name, .pzoom-card p .pz-price { font-size: clamp(32px, 5vw, 56px); line-height: 1.02; letter-spacing: -.01em; }
.pzoom-card p .pz-top { margin-top: 4px; }
.pzoom-card p .pz-desc { margin-top: 10px; font-size: 15px; }
.pzoom-card { min-width: min(560px, 90vw); } .pzoom-card img { margin: 0 auto; }
.pzoom-card { box-sizing: border-box; max-height: 94vh; overflow: hidden; }
.pzoom-card p { width: 100%; }
.pzoom-card p .pz-name { min-width: 0; flex: 1 1 auto; }
.pzoom-card p .pz-price { flex: none; }
.pzoom-card img { max-height: 50vh !important; }
/* While the men's/women's check runs (about 2 s), the model side stays empty: never a wrong model first. */
.fig-you.mp-wait > img#figYou, .fig-you.mp-wait > figcaption, .fig-you.mp-wait .up-status { visibility: hidden; }
.fig-you.mp-wait::after, .fig-you.mp-wait::before { visibility: hidden; } /* no floor shadow before the model appears */
/* No jump on load (Benedict, 28 Nov): the people stay invisible until they've been fitted to the frame, then fade in. */
.figures { opacity: 0; }
.figures.ready { opacity: 1; transition: opacity var(--dur-m) var(--ease-out); }
/* "Do this next" (Benedict, 28 Nov): the moving gradient stroke (same as Twin a fit) on the one button that's the next
   step: Choose your model, Twin this look (once the sizes are in), Upload a photo, Dress the model, Check out. */
.lava { border: 3px solid transparent !important; border-image: none !important;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box !important;
  color: #000 !important; animation: lava 3.5s linear infinite; }
.mp-center .mp-go.lava { border-width: 4px !important; }
@media (prefers-reduced-motion: reduce) { .lava { animation: none; } }
/* "In the works" (Benedict, 28 Nov): while the search runs and a receipt list is still empty, a soft band of light
   sweeps down its frame, top to bottom, on a loop. Stops once the first rows land. */
@keyframes listSweep { from { background-position: 0 -100%; } to { background-position: 0 200%; } }
body.is-finding .ticket-look .items:not(:has(.item.staged)), body.is-finding .ticket-checkout .items:not(:has(.item.staged)) {
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(241,34,51,.05) 35%, rgba(200,200,196,.35) 50%, rgba(245,36,106,.05) 65%, rgba(255,255,255,0) 100%);
  background-size: 100% 45%; background-repeat: no-repeat; animation: listSweep 2.4s var(--ease-move) infinite; }
body.is-finding .ticket-checkout .items:not(:has(.item.staged)) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { body.is-finding .items { animation: none !important; background-image: none !important; } }
/* The moving stroke stays on hover (Benedict, 28 Nov: hovering Twin this look wiped it); hover = a faint warm fill inside. */
.lava:hover, .lava:focus-visible { background: linear-gradient(#f6f6f3, #f6f6f3) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box !important; outline: none; }
/* Home-page sizes window, v2 (Benedict, 28 Nov): centred, wider than tall (two columns), moving gradient stroke,
   big bold title. */
.sz-sheet { backdrop-filter: blur(3px); }
.sz-card { width: min(900px, calc(100vw - 32px)); max-height: min(88vh, 760px); padding: 34px 42px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; align-content: start;
  border: 5px solid transparent !important; border-image: none !important;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18); animation: szPop .26s var(--ease-out) both, lava 3.5s linear infinite; }
@keyframes szPop { from { opacity: 0; scale: .97; } }
.sz-card > h2, .sz-card > .sz-p, .sz-card > .sz-err, .sz-card > .sz-go, .sz-card > .sz-back { grid-column: 1 / -1; }
.sz-card > h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: .98; }
.sz-card > .sz-p { font-size: 17px; margin: 10px 0 24px; }
.sz-card > .sz-go { height: 54px; margin-top: 6px; }
@media (max-width: 760px) { .sz-card { grid-template-columns: 1fr; padding: 26px 18px 22px; border-width: 4px !important; } .sz-card > h2 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .sz-card { animation: none; } }
/* Coming online (Benedict, 28 Nov): as each piece lands in a receipt, a fast gradient glint runs once round the whole
   row's edge (about 0.7 s, one lap, then gone). A bright comet head with a soft tail, in the Twin a fit colours. */
@property --shim { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.item.loot::after { content: ""; position: absolute; inset: -3px -4px; z-index: 3; pointer-events: none; padding: 2px;
  background: conic-gradient(from var(--shim), transparent 0deg, transparent 230deg, rgba(255,179,200,.6) 285deg, #f5246a 325deg, #f12233 348deg, #fff 356deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: shimLap .7s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes shimLap { 0% { --shim: 0deg; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { --shim: 360deg; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .item.loot::after { animation: none; display: none; } }
/* Twin this look, filled (Benedict, 28 Nov): "Back to models" cut (Esc still goes back); the button is filled with the
   moving gradient in the Twin a fit reds, white bold type. Soft until shirt, waist and shoe are in, full once ready. */
.sz-card > .sz-go, .sz-card > .sz-go.lava { border: 0 !important; color: #fff !important; font: 800 17px/1 "Archivo", system-ui, sans-serif; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  background: linear-gradient(100deg, #f12233 0%, #f5246a 30%, #ff8aa8 50%, #f5246a 70%, #f12233 100%) 0 0 / 200% 100% !important;
  text-shadow: 0 1px 2px rgba(120, 0, 20, .35); opacity: .55; transition: opacity var(--dur-s) var(--ease-out), filter var(--dur-s) var(--ease-out);
  animation: szFill 2.6s linear infinite; }
.sz-card > .sz-go.lava { opacity: 1; }
.sz-card > .sz-go:hover { filter: brightness(1.06); }
.sz-card > .sz-go:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
@keyframes szFill { from { background-position: 0 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sz-card > .sz-go { animation: none; } }
/* Budget labels never overlap (Benedict, 28 Nov): over budget, "Your $X budget" ends at the marker on the first line and
   "$Y over" sits on its own line, right-aligned, below it. */
.meter.budgeted.is-over { margin-bottom: 44px; }
.meter.budgeted.is-over .m-lab:not(.m-end) { transform: translateX(-100%); }
.meter.budgeted.is-over.mark-left .m-lab:not(.m-end) { transform: translateX(-1.5px); }
.meter.budgeted.is-over .m-lab.m-end { top: calc(100% + 24px); }
/* Heads-up note on the dressed model: closable, fades by itself, smaller so the outfit stays visible. */
.up-status.is-note { cursor: pointer; pointer-events: auto; padding-right: 34px; transition: opacity .3s var(--ease-out); }
.up-status.is-note .us-t { font-size: 14px; line-height: 1.35; }
.up-status.is-note.is-leaving { opacity: 0; }
.up-status .us-x { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border: 0; background: none; font: 400 22px/1 "Archivo", sans-serif; color: var(--ink); cursor: pointer; }
.up-status .us-x:hover { color: #f12233; }
/* Heads-up note sits under the model's feet, not over the outfit (Benedict, 28 Nov). */
.fig-you .up-status.is-note { top: auto !important; bottom: 2%; transform: translateX(-50%) !important; max-width: min(320px, 96%); padding: 10px 34px 10px 14px; }
/* Not-found rows: the crop of the customer's photo opens large. */
.pzoom-card .pz-crop { display: block; position: relative; overflow: hidden; margin: 0 auto; background: #f4f4f2; }
.pzoom-card .pz-crop img { position: absolute; max-width: none; }
.pzoom-card .pz-crop img { max-height: none !important; width: auto; }
/* Twin this look: black type on the gradient (Benedict, 28 Nov). */
.sz-card > .sz-go, .sz-card > .sz-go.lava { color: #000 !important; text-shadow: none; }
/* Size and condition under every Twin (Benedict, 28 Nov). */
.item .sz-line { display: block; margin-top: 6px; font: 700 11.5px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #0a7a3d; }
.pzoom-card p .pz-size { display: block; margin-top: 12px; font: 800 16px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #0a7a3d; }
/* Exact piece found = "this one is live" (Benedict, 28 Nov): the row carries the green gradient and a thicker black frame. */
#lookItems .item:has(.tag.exact) { background:
    linear-gradient(to top, rgba(20, 90, 30, .16), rgba(20, 90, 30, 0) 70%),
    linear-gradient(to right, #6ab13e 0%, #7cbb44 10%, #8fc64c 20%, #a4d159 30%, #b8db6a 40%, #cce67f 50%, #d4eb8c 55%, #caec87 60%, #a8e96f 70%, #89e55c 80%, #78e34e 90%, #7ae051 100%) !important;
  box-shadow: inset 0 0 0 3px var(--ink) !important; margin: 4px 0; }
#lookItems .item:has(.tag.exact), #lookItems .item:has(.tag.exact) * { color: var(--ink) !important; }
#lookItems .item:has(.tag.exact) .tag { border-color: var(--ink) !important; background: transparent !important; }
/* The next step flashes (Benedict, 28 Nov): the gradient stroke turns in quick bursts with a short bright pulse, then rests. */
@keyframes lavaFlash { 0% { --lava: 360deg; } 18% { --lava: 200deg; } 45% { --lava: 200deg; } 63% { --lava: 0deg; } 100% { --lava: 0deg; } }
@keyframes btnPulse { 0%, 40%, 100% { box-shadow: 0 0 0 0 rgba(241, 34, 51, 0); } 15% { box-shadow: 0 0 0 6px rgba(241, 34, 51, .28); } 58% { box-shadow: 0 0 0 6px rgba(245, 36, 106, .22); } }
.up-status .redress-btn.lava.flash { border-width: 3px !important; color: #000 !important; padding: 10px 16px; font-size: 12.5px;
  animation: lavaFlash 1.8s cubic-bezier(.7, 0, .3, 1) infinite, btnPulse 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .up-status .redress-btn.lava.flash { animation: none; } }
/* Likely exact = orange (Benedict, 28 Nov): still worth a look, not confirmed. Green stays for confirmed Exact. */
#lookItems .item:has(.tag.likely):not(:has(.tag.exact)) { background:
    linear-gradient(to top, rgba(120, 50, 0, .12), rgba(120, 50, 0, 0) 70%),
    linear-gradient(to right, #f28c28 0%, #f59a3a 15%, #f8ad55 35%, #fbc477 55%, #f9b25f 75%, #f6973b 100%) !important;
  box-shadow: inset 0 0 0 2px var(--ink) !important; margin: 4px 0; }
#lookItems .item:has(.tag.likely):not(:has(.tag.exact)), #lookItems .item:has(.tag.likely):not(:has(.tag.exact)) * { color: var(--ink) !important; }
#lookItems .item:has(.tag.likely) .tag { border-color: var(--ink) !important; background: transparent !important; }
/* Hover is silver now (Benedict, 28 Nov): green means a locked-in Exact and never changes. Hovering any other row gives
   it a grey-and-white gradient; confirmed Exact rows stay green, and don't fade, while another row is hovered. */
.items .item.hot { background: linear-gradient(to right, #d9d9d6 0%, #eeeeec 25%, #ffffff 50%, #ececea 75%, #d3d3d0 100%) !important; box-shadow: inset 0 0 0 1px #b8b8b4 !important; }
#lookItems .item:has(.tag.exact), #lookItems .item.hot:has(.tag.exact) { background:
    linear-gradient(to top, rgba(20, 90, 30, .16), rgba(20, 90, 30, 0) 70%),
    linear-gradient(to right, #6ab13e 0%, #7cbb44 10%, #8fc64c 20%, #a4d159 30%, #b8db6a 40%, #cce67f 50%, #d4eb8c 55%, #caec87 60%, #a8e96f 70%, #89e55c 80%, #78e34e 90%, #7ae051 100%) !important;
  box-shadow: inset 0 0 0 3px var(--ink) !important; }
.items.has-hot .item:has(.tag.exact):not(.hot), .items.has-hot .item:has(.tag.likely):not(.hot) { opacity: 1 !important; filter: none !important; }
#lookItems .item.hot:has(.tag.likely):not(:has(.tag.exact)) { background:
    linear-gradient(to top, rgba(120, 50, 0, .12), rgba(120, 50, 0, 0) 70%),
    linear-gradient(to right, #f28c28 0%, #f59a3a 15%, #f8ad55 35%, #fbc477 55%, #f9b25f 75%, #f6973b 100%) !important; box-shadow: inset 0 0 0 2px var(--ink) !important; }
/* Likely = yellow-orange, warmer and lighter (Benedict, 28 Nov: "more yellow-orange"). */
#lookItems .item:has(.tag.likely):not(:has(.tag.exact)), #lookItems .item.hot:has(.tag.likely):not(:has(.tag.exact)) { background:
    linear-gradient(to top, rgba(120, 80, 0, .10), rgba(120, 80, 0, 0) 70%),
    linear-gradient(to right, #f5b623 0%, #f8c235 15%, #fbd04f 35%, #fde27a 55%, #fbd352 75%, #f7bd2c 100%) !important; }
/* Likely = "Orange Gradient 2", turned horizontal (Benedict, 28 Nov). */
#lookItems .item:has(.tag.likely):not(:has(.tag.exact)), #lookItems .item.hot:has(.tag.likely):not(:has(.tag.exact)) {
  background: url("assets/ui/orange-gradient-2-h.jpg") left center / 165% 100% no-repeat !important; } /* the dark maroon end stays off the row so black text reads */

/* Site colour of the day (Benedict, 28 Nov): every page load picks one palette at random (header.js sets --g0..--g4)
   for the moving button strokes and the pop-up frames. Default = the original pink-red. */
:root { --g0: #bdbdbd; --g1: #f12233; --g2: #f5246a; --g3: #ffb3c8; --g4: #d6d6d6; }
/* Likely = "Orange Gradient 1", turned horizontal (Benedict, 28 Nov: cream to yellow to orange-red; black text reads all along). */
#lookItems .item:has(.tag.likely):not(:has(.tag.exact)), #lookItems .item.hot:has(.tag.likely):not(:has(.tag.exact)) {
  background: url("assets/ui/orange-gradient-1-h.jpg") left center / 100% 100% no-repeat !important; }
/* The "Dress … in this outfit" button under the model, always there once the products are found (28 Nov). */
.fig-you figcaption .dress-now { display: block; margin: 10px auto 0; padding: 10px 16px; font: 800 12px/1 "Archivo", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  border: 3px solid transparent !important; color: #000 !important; animation: lavaFlash 1.8s cubic-bezier(.7, 0, .3, 1) infinite, btnPulse 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .fig-you figcaption .dress-now { animation: none; } }

/* Store photos and measurements in the product pop-up (Benedict, 28 Nov). */
.pzoom-card { position: relative; }
.pz-strip { display: flex; gap: 6px; margin: 10px 0 2px; overflow-x: auto; max-width: min(520px, 80vw); scrollbar-width: thin; }
.pz-pic { flex: 0 0 auto; width: 54px; height: 54px; padding: 0; border: 1px solid var(--line, #ddd); background: #fff; cursor: pointer; pointer-events: auto; }
.pz-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-pic.on { border: 2px solid var(--ink, #111); }
.pz-key { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 8px 0 0; font: 600 12px/1.3 "Archivo", system-ui, sans-serif; letter-spacing: .02em; }
.pz-key b { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.pz-dims { position: absolute; pointer-events: none; overflow: visible; }
.pz-dims line { stroke: var(--ink, #111); stroke-width: 1.6; }
.pz-dims marker path { fill: var(--ink, #111); }
.pz-dims text { font: 800 13px "Archivo", system-ui, sans-serif; fill: var(--ink, #111); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }

/* Quality tiers (Benedict, 28 Nov): tier buttons carry their price range underneath. */
.seg [data-budget] small, .sz-tier small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .02em; opacity: .7; margin-top: 2px; text-transform: none; }
.seg [data-budget] { line-height: 1.15; }
.sz-tier .sz-chips span { text-align: center; }
.seg-cond[hidden] { display: none !important; } /* Studio and Atelier: no condition buttons (28 Nov) */
.seg [data-budget] small, .sz-tier small { white-space: nowrap; } /* ranges never wrap through the frame (28 Nov) */
.seg [data-budget] { padding-left: 10px; padding-right: 10px; }
/* Menus open over everything on the page, the "Twin a fit" button included (Benedict, 28 Nov). */
.menubar-holder { z-index: 30; }
.menubar.stuck { z-index: 31; }
/* "Twin a fit" (Benedict, 28 Nov): 80% opacity, and gone while any top menu is open. */
body.is-sample .hero-cta { filter: none; transition: scale var(--dur-s) var(--ease-out), filter .18s ease, visibility 0s linear 0s; } /* full strength (Benedict, 28 Nov: "fully 100%") */
body.is-sample:has(.mb-item.open, .mb-item:hover, .mb-item:focus-within) .hero-cta { filter: opacity(0); visibility: hidden; pointer-events: none; transition: filter .18s ease, visibility 0s linear .18s; }
/* A picked store is black with a white word (Benedict, 28 Nov). */
#storeChips .ss-chip[aria-pressed="true"], #storeChips [data-chip][aria-pressed="true"] { background: var(--ink, #111) !important; color: #fff !important; border-color: var(--ink, #111) !important; }
/* NYC vintage toggle in the Condition menu (Edit and Studio). */
.vintage-row { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 2px; font-size: 13px; line-height: 1.35; cursor: pointer; }
.vintage-row[hidden] { display: none !important; }
.vintage-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink, #111); flex: none; }
.vintage-row b { display: block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; margin-bottom: 2px; }

/* FUN HOVER MOTION (Benedict, 28 Nov), after transitions.dev "avatar group hover", tuned for wrapping chip rows.
   1. "Twin a fit" grows on a speed ramp (fast start, long glide) and settles back with a small spring.
   2. Chips act like water droplets: the one under the cursor swells and stretches toward it, its neighbours lean
      in with distance fall-off, and everything springs back when the cursor leaves the group. */
:root { --drop-in: cubic-bezier(0.22, 1, 0.36, 1); --drop-out: cubic-bezier(0.34, 1.9, 0.64, 1); --drop-dur: 320ms; }
body.is-sample .hero-cta { transition: scale 460ms cubic-bezier(0.34, 1.56, 0.64, 1), filter .18s ease, visibility 0s linear 0s; }
body.is-sample .hero-cta:hover { scale: 1.06; transition: scale 620ms cubic-bezier(0.16, 1, 0.3, 1), filter .18s ease, visibility 0s linear 0s; }
.t-drop { translate: var(--dx, 0px) var(--dy, 0px); scale: var(--sx, 1) var(--sy, 1); transition: translate var(--drop-dur) var(--drop-in), scale var(--drop-dur) var(--drop-in); will-change: translate, scale; }
@media (prefers-reduced-motion: reduce) {
  .t-drop { transition: none !important; translate: none !important; scale: none !important; }
  body.is-sample .hero-cta, body.is-sample .hero-cta:hover { scale: none; }
}
/* One message at a time (Benedict, 28 Nov): while a status box is showing (a store search, dressing the model) the
   "Twin a fit" button steps aside. */
body.is-sample:has(.fig-you .up-status:not([hidden])) .hero-cta { display: none !important; }

/* ===== MENU BAR, holistic pass (Benedict, 28 Nov) =====
   1. "Upload a look" is the one bold button.  2. FAQ and Gift cards moved to the header's top-left.
   3. No TESTER badge.  4. Small grey labels above bold values; Condition is plain text in Studio and Atelier.
   5. (Shein me sticker undone, Benedict 28 Nov: keep the gradient-text button.)  6. Photo album sits in the bar.  7. A thin rule ties the bar to the
   pictures below. */
.menubar { height: auto !important; min-height: 56px; align-items: center !important; gap: 4px; padding: 6px 0 8px; border-bottom: 1px solid #e4e4e0 !important; }
.menubar .mb-tab { height: auto !important; min-height: 44px; }
.mb-tab .mb-l { display: block; font: 600 10px/1.1 "Archivo", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a8a86; margin-bottom: 3px; }
.mb-tab:has(.mb-l) { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 0 !important; position: relative; padding-right: 26px !important; }
.mb-tab:has(.mb-l) b { font: 700 15px/1.15 "Archivo", system-ui, sans-serif; }
.mb-tab:has(.mb-l) .mb-caret { position: absolute; right: 10px; bottom: 15px; }
.mb-item.is-fixed .mb-caret { display: none; }
.mb-item.is-fixed > .mb-tab { cursor: default; padding-right: 14px !important; }
/* 1 */
.menubar .mb-upload { background: var(--ink, #111) !important; color: #fff !important; padding: 0 18px !important; min-height: 40px !important; height: 40px !important; border-radius: 2px; margin-right: 10px; font-weight: 700 !important; text-decoration: none !important; }
.menubar .mb-upload svg { stroke: #fff; }
.menubar .mb-upload-item:hover > .mb-upload, .menubar .mb-upload-item.open > .mb-upload { background: #333 !important; text-decoration: none !important; }
/* 2 */
.bar-links { display: flex; gap: 18px; align-items: center; align-self: center; font: 500 14px/1 "Archivo", system-ui, sans-serif; }
.bar-links a { color: var(--ink); text-decoration: none; }
.bar-links a:hover, .bar-links a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .bar-links { display: none; } }
/* 6 */
.menubar .mb-album .photo-album { position: static !important; top: auto !important; right: auto !important; display: inline-flex; align-items: center; gap: 8px; background: transparent !important; color: var(--ink) !important; padding: 0 12px !important; min-height: 44px; font: 500 14px/1.1 "Archivo", system-ui, sans-serif !important; text-transform: none; box-shadow: none !important; border: 0; }
.menubar .mb-album .photo-album br { display: none; }
.menubar .mb-album .photo-album .pa-grid { filter: invert(1); }
.menubar .mb-album .photo-album:hover { text-decoration: underline; text-underline-offset: 5px; transform: none; }
/* No underline on the menu titles when hovered or open (Benedict, 28 Nov). */
.menubar .mb-item:hover > .mb-tab, .menubar .mb-item.open > .mb-tab, .menubar .mb-tab:focus-visible, .menubar .mb-tab:hover,
.menubar .mb-tab b, .menubar .mb-tab .mb-l, .menubar .mb-item:hover > .mb-tab b, .menubar .mb-item.open > .mb-tab b, .menubar .mb-item:hover > .mb-tab .mb-l { text-decoration: none !important; border-bottom: 0 !important; }
/* Photo album cut for now (Benedict, 28 Nov). */
.photo-album[hidden] { display: none !important; }
/* Shein me keeps its gradient letters on hover (a hover rule cleared the gradient and the word vanished, 28 Nov). */
.menubar .mb-shein:hover > .mb-tab.sheinify, .menubar .mb-shein .mb-tab.sheinify:hover, .menubar .mb-shein .mb-tab.sheinify:focus-visible {
  background: linear-gradient(100deg, #ff2d95, #ff7a18, #e0a800, #12b886, #0094e0, #7a4dff, #ff2d95) !important; background-size: 300% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
/* Closing headline (Benedict, 28 Nov): "From screenshot to closet, at your budget." The last line steps down a size. */
.close-h .close-sub { display: block; font-size: .5em; letter-spacing: .01em; margin-top: .3em; white-space: nowrap; } /* "At your budget." one line, smaller (Benedict, 28 Nov) */
/* "SCREENSHOT" is long: the headline is sized so it always fits the page width (28 Nov). */
#close-h { font-size: min(9.2vw, 150px) !important; max-width: 100%; overflow-wrap: normal; }
.fine.built-by { margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; opacity: .7; }
/* Tagline under the logo (Benedict, 28 Nov). */
.word .word-tag { display: block; margin-top: 4px; font: 500 12px/1.2 "Archivo", system-ui, sans-serif !important; font-stretch: 100% !important; letter-spacing: .08em !important; text-transform: uppercase; text-align: center; color: #6b6b67; white-space: nowrap; }
/* SHEINING IN PROGRESS (Benedict, 28 Nov). Centred over the two people. */
.figures { position: relative; }
.shein-status { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 12; display: grid; gap: 12px; justify-items: center;
  padding: 22px 34px 24px; background: #fff; border: 1.5px solid var(--ink, #111); box-shadow: 0 18px 50px rgba(0,0,0,.16);
  animation: sheinIn .38s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.shein-status .ss-t { font: 800 clamp(16px, 2.2vw, 26px)/1 "Archivo", system-ui, sans-serif; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(100deg, #ff2d95, #ff7a18, #e0a800, #12b886, #0094e0, #7a4dff, #ff2d95); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheinSlide 1.6s linear infinite; }
.shein-status .ss-bar { display: block; width: min(320px, 60vw); height: 6px; background: #eee; overflow: hidden; }
.shein-status .ss-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #ff2d95, #ff7a18, #e0a800, #12b886, #0094e0, #7a4dff); animation: sheinFill 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.shein-status.is-leaving { animation: sheinOut .32s ease forwards; }
@keyframes sheinIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes sheinOut { to { opacity: 0; transform: translate(-50%, -50%) scale(.96); } }
@keyframes sheinFill { to { transform: scaleX(1); } }
@keyframes sheinSlide { to { background-position: 300% 0; } }
body:has(.shein-status) .hero-cta { display: none !important; }
@media (prefers-reduced-motion: reduce) { .shein-status, .shein-status .ss-t, .shein-status .ss-bar i { animation: none; } .shein-status .ss-bar i { transform: none; } }
/* While a real Shein search runs, the bar keeps sweeping instead of filling once. */
.shein-status.is-holding .ss-bar i { animation: sheinSweep 1.2s ease-in-out infinite; transform: none; width: 40%; }
@keyframes sheinSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
/* Sizes card hierarchy (Benedict, 28 Nov): budget band across the top, then About you | Your sizes. Section heads are
   bold with a small number; field labels are small and grey; the choices carry the weight. */
.sz-card > .sz-sec { min-width: 0; }
.sz-card > .sz-span { grid-column: 1 / -1; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #e4e4e0; }
.sz-card .sz-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 800 15px/1 "Archivo", system-ui, sans-serif; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; }
.sz-card .sz-h i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink, #111); color: #fff; font: 700 11px/1 "Archivo", system-ui, sans-serif; font-style: normal; letter-spacing: 0; }
.sz-card .sz-f > legend, .sz-card .sz-f > span { font: 600 10.5px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .1em; color: #8a8a86; }
.sz-card .sz-span .sz-tier > legend { display: none; }
.sz-card .sz-span .sz-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sz-card .sz-span .sz-chips span { width: 100%; height: 56px; font-size: 14px; }
.sz-card .sz-span .sz-chips small { font-size: 11px; }
@media (max-width: 760px) { .sz-card .sz-span .sz-chips { grid-template-columns: repeat(2, 1fr); } }
.sz-card .sz-grid { align-items: end; } /* inputs line up even when a label wraps (Shoes (US women's)) */
/* No second dress button under the model (Benedict, 28 Nov): the "Your Twins are ready" card has it. */
.fig-you figcaption .dress-now { display: none !important; }
.pzoom-card .pz-crop[hidden] { display: none !important; } /* a crop of the customer's photo never lingers under a product photo (28 Nov) */
/* Upload panel = one slim box under the black button with just the paste-a-link field (Benedict, 28 Nov: "too big,
   we don't need all this text"). Clicking the button itself opens the photo picker. */
.menubar .mb-upload-item .mb-panel { min-width: 0; width: 100%; max-width: none; padding: 6px 12px 8px; }
.menubar .mb-upload-item .mb-about, .menubar .mb-upload-item .mb-upload-btn, .menubar .mb-upload-item .looks-line, .menubar .mb-upload-item #mbCredit { display: none !important; }
.menubar .mb-upload-item .link-form { margin: 0 !important; border-bottom: 0; }
.menubar .mb-upload-item .link-form input { font-size: 13px; padding: 7px 0; }
.sz-card > .sz-budget { grid-column: 1 / -1; margin: 12px 0 24px; font: 400 14px/1.4 "Archivo", system-ui, sans-serif; color: #6b6b67; }
.sz-card > .sz-budget b { color: #111; font-weight: 700; }
.sz-card .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } /* "Sizing" label kept for screen readers only (Benedict, 28 Nov) */
/* Paste-a-link box: centred under the black button, a little wider, a little lower (Benedict, 28 Nov). */
.menubar .mb-upload { margin-right: 0 !important; }
.menubar .mb-upload-item { margin-right: 10px !important; }
.menubar .mb-upload-item .mb-panel { left: -20px !important; right: -20px !important; width: auto !important; top: calc(100% + 18px) !important; }
.menubar .mb-upload-item .mb-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* keeps it open while the pointer crosses the gap */
/* Men's / Women's top right, level with the title; the main area is four groups: Height | Shirt, Build | Waist-Inseam-Shoes (Benedict, 28 Nov). */
.sz-card { position: relative; }
.sz-card > .sz-topfit { position: absolute; top: 40px; right: 42px; margin: 0; }
@media (max-width: 760px) { .sz-card > .sz-topfit { position: static; grid-column: 1 / -1; margin: 12px 0 0; } }
/* The model never slides into place: while his position changes he is hidden with no movement, then fades in (28 Nov). */
.fig-you { transition: transform 0s, opacity .35s ease !important; }
.fig-you.fig-placing { opacity: 0 !important; transition: none !important; }

/* Zoom pop-up title (Benedict, 29 Nov: "Tortoiseshell" ran under the price). The name can never shrink below its
   longest word; when name and price don't fit side by side, the price drops to its own line under the name. */
.pzoom-card p .pz-top { flex-wrap: wrap; column-gap: 24px; row-gap: 2px; }
.pzoom-card p .pz-name { flex: 1 1 auto; min-width: min-content; font-size: clamp(30px, 4.2vw, 48px); overflow-wrap: normal; hyphens: manual; }
.pzoom-card p .pz-price { font-size: clamp(30px, 4.2vw, 48px); margin-left: auto; }

/* Partial outfit offer (29 Nov): "Remove them" reads as a link inside the budget note. */
#fitNote .link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#fitNote .link-btn:hover { text-decoration-thickness: 2px; }

/* Store search refill (29 Nov, Benedict): blank while searching, then rows return one by one; no-match rows greyed. */
.col-right.is-refilling .sums, .col-right.is-refilling .meter, .col-right.is-refilling #fitNote, .col-right.is-refilling .cta-row, .col-right.is-refilling #saveNote { visibility: hidden; }
#items .item.waiting { opacity: .45; }
#items .item.waiting .tt { animation: waitPulse 1.4s var(--ease-move, ease-in-out) infinite; }
@keyframes waitPulse { 50% { opacity: .35; } }
#items .item.pre-reveal { opacity: 0; transform: translateY(6px); }
#items .item { transition: opacity var(--dur-m, 240ms) var(--ease-out, ease-out), transform var(--dur-m, 240ms) var(--ease-out, ease-out); }
#items .item.not-at .thumb, #items .item.not-at .nm { filter: grayscale(1); opacity: .55; }
#items .item.not-at .tt { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { #items .item.waiting .tt { animation: none; } #items .item { transition: none; } }

/* "Not found" / "Too small to see" tags in red, stroke and text (Benedict, 29 Nov). */
.tag.missing { border-color: #d0161e !important; color: #d0161e !important; }
.retry-btn { background: none; border: 0; padding: 0; margin-left: 4px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.retry-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.retry-none { color: var(--muted); }

/* Retry / Try second-hand read as two separate buttons, not one line of text (Benedict, 29 Nov). Black outline =
   an action; the grey store chips stay as they are. */
.retry-btn { display: inline-block; margin: 6px 6px 0 0; padding: 3px 9px; border: 1px solid var(--ink); border-radius: 0; text-decoration: none; font: 700 11px/1.3 "Archivo", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; vertical-align: middle; }
.retry-btn:hover { background: var(--ink); color: #fff; }
.retry-btn:disabled { border-color: #c8c8c4; color: var(--muted); background: #fff; }
.retry-btn + .retry-btn { margin-left: 2px; }

/* Fun Fact: stylist line + Find similar fits (29 Nov). */
.fact-stylist { margin: 14px 0 0; font: 400 16px/1.4 "Archivo", system-ui, sans-serif; }
.fact-stylist a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fact-similar { margin: 16px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fact-similar-h { flex: 0 0 100%; margin: 0 0 2px; font: 800 11px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-chip { display: inline-block; padding: 6px 11px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font: 600 13px/1.2 "Archivo", system-ui, sans-serif; }
.fact-chip:hover { background: var(--ink); color: #fff; }
