/* ==========================================================================
   Match my outfit v2 — match-v2.css
   Scoped under .mm2 (every class is prefixed mm2-, so it cannot collide with the theme).
   MOBILE-FIRST: base rules are the phone layout (390px design width); desktop
   (1440px design width) is added at min-width:1001px. One extra tweak band: 1001–1180px.
   Tokens: --mm-* variables below default to the site's existing variables (--ink, --bg ...)
   so the tool follows the theme; hard-coded fallbacks match the live site.
   Shade colours: --mm-shade-<slug> (30 of them). match-v2.js also sets them from shades.json
   at start-up, so the file and the data can never disagree. Keep the list in sync if the
   site's 30 shades change.
   Fonts: Playfair Display (headings) + Inter — see fonts.css.
   ========================================================================== */
.mm2{
  --mm-bg:var(--bg,#faf9f7); --mm-ink:var(--ink,#1c1c1c); --mm-cta:var(--cta,#111);
  --mm-body:var(--body,#4a4a4a); --mm-mute:var(--mute,#6b6b6b); --mm-line:var(--line,#e4e1dc);
  --mm-panel:var(--panel,#efece8); --mm-card:#fff;
  --mm-serif:'Playfair Display',Georgia,serif; --mm-sans:Inter,system-ui,sans-serif;
  --mm-note-bg:#fff8d6; --mm-note-line:#e9d98a; --mm-note-ink:#5a4b00;   /* "example" labels only */
  --mm-radius-xl:28px; --mm-radius-lg:22px; --mm-radius:14px; --mm-tap:44px;
  --mm-gutter:16px;
  /* the 30 shades (site order) */
  --mm-shade-oxblood:#800032;--mm-shade-poppy:#c40032;--mm-shade-apricot:#d59382;--mm-shade-chocolate:#6e2700;
  --mm-shade-tangerine:#c65400;--mm-shade-cognac:#3d2714;--mm-shade-sunshine:#c59700;--mm-shade-moss:#433f00;
  --mm-shade-lime:#738e16;--mm-shade-sage:#91ab78;--mm-shade-emerald:#0e7b32;--mm-shade-forest:#00481d;
  --mm-shade-jade:#008c75;--mm-shade-seafoam:#5db2a0;--mm-shade-teal:#00484b;--mm-shade-pool:#008a91;
  --mm-shade-azure:#007c9b;--mm-shade-cobalt:#0068a2;--mm-shade-navy:#00406c;--mm-shade-sky:#7ca2c6;
  --mm-shade-violet:#3b54c4;--mm-shade-lilac:#b897c9;--mm-shade-plum:#5c2276;--mm-shade-orchid:#9d35a6;
  --mm-shade-bubblegum:#f07ac8;--mm-shade-blush:#d58fa9;--mm-shade-rose:#ca1877;--mm-shade-stone:#b0a597;
  --mm-shade-slate:#6b7178;--mm-shade-onyx:#1a1c1f;
  /* phone-frame images for the case renderer */
  --mm-frame-mask:url('case/frame-mask.webp'); --mm-frame-shade:url('case/frame-shade.webp'); --mm-frame-over:url('case/frame-over.webp');
  color:var(--mm-ink); font:400 16px/1.4 var(--mm-sans); -webkit-font-smoothing:antialiased;
  background:var(--mm-bg);
}
.mm2 *,.mm2 *::before,.mm2 *::after{box-sizing:border-box}
.mm2 h1,.mm2 h2,.mm2 h3,.mm2 p{margin:0}
/* CASE STUDIO, 30 Sep: :where() takes this reset's specificity to (0,0,1). As `.mm2 button` (0,1,1)
   it beat every button class (.mm2-btn--o, --upload, --example, .mm2-chip…) and flattened them all to
   text -- the package's own reference screenshots show the landing buttons as plain links. */
:where(.mm2) button{font:inherit;color:inherit;border:0;background:none;padding:0;margin:0;cursor:pointer}
.mm2 a{color:var(--mm-ink)}
.mm2 em{font-style:italic;font-weight:600}
.mm2 [hidden]{display:none!important}
.mm2-screen{display:block}
.mm2-wrap{max-width:1344px;margin:0 auto;padding:0 var(--mm-gutter)}

/* ---- type ---- */
.mm2-h1{font:700 38px/1.04 var(--mm-serif);letter-spacing:-.015em}
.mm2-h2{font:700 28px/1.08 var(--mm-serif);letter-spacing:-.01em}
.mm2-h3{font:700 22px/1.15 var(--mm-serif)}
.mm2-sub{font-size:17px;line-height:1.5;color:var(--mm-body)}
.mm2-eye{font:600 13px var(--mm-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mm-mute)}
.mm2-fine{font:500 12.5px/1.45 var(--mm-sans);color:var(--mm-mute)}

/* ---- buttons, links, swatches, tags ---- */
.mm2-btn{height:54px;min-width:var(--mm-tap);padding:0 24px;border-radius:var(--mm-radius);display:inline-flex;align-items:center;justify-content:center;gap:10px;font:700 16px var(--mm-sans);text-decoration:none;white-space:nowrap;cursor:pointer;border:1.5px solid transparent;color:var(--mm-ink);background:none}
.mm2-btn--k{background:var(--mm-cta);color:#fff}
.mm2-btn--o{background:#fff;border-color:var(--mm-ink)}
.mm2-btn--g{background:transparent;border-color:#cfc9c0}
.mm2-btn--s{height:var(--mm-tap);padding:0 16px;font-size:14.5px;border-radius:12px}
.mm2-btn[disabled],.mm2-btn[aria-disabled=true]{opacity:.4;cursor:not-allowed}
.mm2-lnk{font:600 14px var(--mm-sans);color:var(--mm-ink);text-decoration:underline;text-underline-offset:4px;cursor:pointer;background:none;border:0;padding:0;min-height:var(--mm-tap);display:inline-flex;align-items:center}
.mm2 :focus-visible{outline:2px solid var(--mm-ink);outline-offset:2px}
.mm2-sw{width:22px;height:22px;border-radius:50%;flex:none;display:inline-block;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}
.mm2-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font:700 10.5px var(--mm-sans);letter-spacing:.06em;text-transform:uppercase;background:var(--mm-note-bg);color:var(--mm-note-ink);border:1px solid var(--mm-note-line)}
.mm2-tag--k{background:var(--mm-ink);color:#fff;border-color:var(--mm-ink)}
/* EXAMPLE labels: delete these elements (not the CSS) where real content replaces the example */
.mm2-ill-tag{position:absolute;left:10px;bottom:10px;background:rgba(255,248,214,.96);border:1px solid var(--mm-note-line);color:var(--mm-note-ink);font:600 11px var(--mm-sans);padding:4px 9px;border-radius:999px;z-index:6}
.mm2-ex-tag{position:absolute;left:10px;bottom:10px;background:rgba(255,255,255,.92);color:var(--mm-mute);font:600 10.5px var(--mm-sans);letter-spacing:.04em;padding:3px 8px;border-radius:999px;z-index:6}
.mm2-ph{position:relative;border-radius:var(--mm-radius-lg);overflow:hidden;background:#e9e2d6}
.mm2-ph>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.mm2-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--mm-ink);color:#fff;font:600 14px var(--mm-sans);padding:12px 18px;border-radius:12px;z-index:200;box-shadow:0 12px 30px -8px rgba(0,0,0,.5);max-width:calc(100vw - 32px);text-align:center}
.mm2-note{background:var(--mm-note-bg);border:1px solid var(--mm-note-line);color:var(--mm-note-ink);font:500 13px/1.45 var(--mm-sans);padding:12px 14px;border-radius:12px}
.mm2-notice{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 0 0 1px var(--mm-line);font:500 14.5px/1.45 var(--mm-sans);color:var(--mm-body)}
.mm2-notice b{color:var(--mm-ink)}
.mm2-notice .mm2-lnk{min-height:0}
.mm2-notice--warn{background:var(--mm-note-bg);box-shadow:0 0 0 1px var(--mm-note-line);color:var(--mm-note-ink)}

/* ---- phone-case renderer (.mm2-case). Replace with the site's own case image if a catalogue image exists ---- */
.mm2-case{aspect-ratio:620/1242;position:relative;isolation:isolate;display:block;overflow:hidden;filter:drop-shadow(0 3px 5px rgba(20,20,19,.22)) drop-shadow(0 14px 22px rgba(20,20,19,.16))}
.mm2-case .mm2-case__fill{display:block;position:absolute;z-index:0;left:-21.1021%;top:-11.1284%;width:142.1302%;height:121.2636%;background-repeat:repeat;background-position:50% 50%;-webkit-mask-image:var(--mm-frame-mask);mask-image:var(--mm-frame-mask);-webkit-mask-size:70.358% 82.465%;mask-size:70.358% 82.465%;-webkit-mask-position:50.0877% 52.3353%;mask-position:50.0877% 52.3353%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.mm2-case::before{content:"";position:absolute;inset:0;z-index:1;background:var(--mm-frame-shade) 0 0/100% 100% no-repeat;mix-blend-mode:multiply;pointer-events:none}
.mm2-case::after{content:"";position:absolute;inset:0;z-index:3;background:var(--mm-frame-over) 0 0/100% 100% no-repeat;mix-blend-mode:plus-lighter;pointer-events:none}
.mm2-case--img{filter:none;aspect-ratio:auto}
.mm2-case--img::before,.mm2-case--img::after{display:none}
.mm2-case--img img{display:block;height:100%;width:auto}

/* ---- shared: sample-dot photo, chips, best-match card, wardrobe button ---- */
.mm2-photo{position:relative;border-radius:var(--mm-radius-lg);overflow:hidden;aspect-ratio:4/5;background:#e9e2d6;cursor:pointer;touch-action:manipulation}
.mm2-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.mm2-dot{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.22),0 6px 14px -4px rgba(0,0,0,.55);border:0;padding:0;z-index:3;cursor:pointer}
.mm2-dot.is-off{opacity:.35}
.mm2-dot.is-new{animation:mm2-pop .5s}
.mm2-dot__x{display:none}
.mm2-chips{display:flex;gap:8px;flex-wrap:nowrap;align-items:center;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px 0 6px}
.mm2-chips::-webkit-scrollbar{display:none}
.mm2-chip{height:var(--mm-tap);padding:0 14px 0 8px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--mm-line);display:inline-flex;align-items:center;gap:9px;font:600 14.5px var(--mm-sans);cursor:pointer;border:0;white-space:nowrap;flex:none}
.mm2-chip .mm2-sw{width:28px;height:28px}
.mm2-chip small{font:500 13px var(--mm-sans);color:var(--mm-mute)}
.mm2-chip.is-accent{box-shadow:inset 0 0 0 1.5px var(--mm-ink)}
.mm2-chip__acc{font:700 10px var(--mm-sans);letter-spacing:.06em;text-transform:uppercase;font-style:normal;background:var(--mm-ink);color:#fff;border-radius:999px;padding:2px 7px}
.mm2-chip.is-off{opacity:.45}.mm2-chip.is-off b{text-decoration:line-through}
.mm2-best{background:var(--mm-panel);border-radius:26px;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden}
.mm2-best__stage{position:relative;display:grid;place-items:center;padding:22px 20px;background:radial-gradient(120% 90% at 50% 40%,#f6f3ee 0%,#e6e1d9 100%)}
.mm2-best__stage .mm2-case{height:330px}
.mm2-best__flag{position:absolute;left:18px;top:18px}
.mm2-best__body{padding:22px 20px;display:flex;flex-direction:column;justify-content:center}
.mm2-best__body .mm2-eye{margin-bottom:10px}
.mm2-best__body .mm2-h2{font-size:30px}
.mm2-best__why{display:flex;align-items:center;gap:10px;margin-top:14px;font:500 15px/1.4 var(--mm-sans);color:var(--mm-body)}
.mm2-best__price{display:flex;align-items:baseline;gap:10px;margin-top:20px;font:700 24px var(--mm-sans)}
.mm2-best__price small{font:500 13px var(--mm-sans);color:var(--mm-mute)}
.mm2-best__acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.mm2-best__acts>.mm2-btn,.mm2-best__acts>.mm2-wd{flex:1 1 100%}
.mm2-best__acts .mm2-wd>.mm2-wdbtn{width:100%;justify-content:center}
.mm2-wd{position:relative;display:inline-block}
.mm2-wdbtn{height:54px;min-width:var(--mm-tap);padding:0 18px;border-radius:var(--mm-radius);background:#fff;border:1.5px solid var(--mm-ink);font:700 15px var(--mm-sans);display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.mm2-wdbtn--s{height:var(--mm-tap);padding:0 12px;font-size:14px;border-radius:12px}
.mm2-wdbtn.is-in{background:var(--mm-ink);color:#fff}
.mm2-wdpop{position:absolute;left:0;top:calc(100% + 8px);z-index:40;background:#fff;border-radius:16px;padding:12px;box-shadow:0 0 0 1px var(--mm-line),0 20px 44px -12px rgba(0,0,0,.35);width:min(270px,calc(100vw - 48px))}
.mm2-wdpop.is-up{top:auto;bottom:calc(100% + 8px)}
.mm2-wdpop.is-right{left:auto;right:0}
.mm2-wdpop b{display:block;font:600 11.5px var(--mm-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mm-mute);margin-bottom:8px}
.mm2-wdpop__slots{display:flex;flex-wrap:wrap;gap:6px}
.mm2-wdpop__slots button{height:var(--mm-tap);padding:0 14px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--mm-line);font:600 14px var(--mm-sans);cursor:pointer;border:0}
.mm2-wdpop__slots button.is-taken{box-shadow:inset 0 0 0 1px #cfc9c0;color:var(--mm-mute)}
.mm2-wdpop__slots button.is-mine{background:var(--mm-ink);color:#fff;box-shadow:none}
.mm2-wdpop p{font:500 12px/1.4 var(--mm-sans);color:var(--mm-mute);margin-top:9px}

/* ---- LANDING ---- */
.mm2-hero{margin:16px 12px 0;background:var(--mm-panel);border-radius:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:26px 16px 18px;align-items:center;overflow:hidden}
.mm2-hero__tx .mm2-h1{margin:14px 0 16px}
.mm2-hero__tx .mm2-sub{max-width:460px}
.mm2-ctas{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:28px}
.mm2-ctas .mm2-btn{width:100%;height:56px}
.mm2-btn--take{order:1;background:var(--mm-cta);color:#fff}
.mm2-btn--upload{order:2;background:#fff;border-color:var(--mm-ink)}
.mm2-btn--example{order:3;height:48px!important;background:#fff;border-color:var(--mm-ink)}
.mm2-only-desktop{display:none}
.mm2-priv{display:flex;align-items:center;gap:8px;font:500 14px var(--mm-sans);color:var(--mm-body);margin-top:14px}
.mm2-priv svg{flex:none}
.mm2-pv{background:#fff;border-radius:20px;padding:14px 12px 10px;box-shadow:0 0 0 1px var(--mm-line),0 24px 50px -30px rgba(20,20,19,.4);min-width:0}
.mm2-pv__h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.mm2-pv__steps{font:600 12.5px var(--mm-sans);color:var(--mm-mute);display:flex;gap:6px;align-items:center}
.mm2-pv__steps b{width:20px;height:20px;border-radius:50%;background:var(--mm-ink);color:#fff;display:grid;place-items:center;font-size:11px}
.mm2-pv__steps i{font-style:normal;color:#b8b2a8}
.mm2-pv__body{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:start}
.mm2-pv__photo{grid-column:1;grid-row:1}
.mm2-pv__photo .mm2-photo{cursor:default;border-radius:16px}
.mm2-pv .mm2-dot{cursor:default}
.mm2-pv__lab{display:none;font:600 12px var(--mm-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mm-mute);margin-bottom:8px}
.mm2-pv__chips{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;gap:6px;align-content:start;overflow:visible;padding:0}
.mm2-pv .mm2-chip{height:34px;font-size:12.5px;padding:0 9px 0 5px;gap:6px;cursor:default}
.mm2-pv .mm2-chip .mm2-sw{width:22px;height:22px}
.mm2-pv .mm2-chip small{font-size:12px}.mm2-pv .mm2-chip__acc{padding:1px 6px;font-size:9.5px}
.mm2-pv__best{grid-column:1/-1;grid-row:2;margin-top:0;grid-template-columns:.8fr 1fr;border-radius:18px}
.mm2-pv__best .mm2-best__stage{padding:16px 8px}
.mm2-pv__best .mm2-best__stage .mm2-case{height:210px}
.mm2-pv__best .mm2-best__body{padding:12px 12px 12px 0}
.mm2-pv__best .mm2-h3{font-size:19px;margin-top:2px}
.mm2-pv__best .mm2-eye{margin-bottom:4px;font-size:11px}
.mm2-pv__best .mm2-best__why{font-size:13px;margin-top:8px}
.mm2-pv__best .mm2-best__price{font-size:19px;margin-top:10px}
.mm2-pv__best .mm2-best__price small{font-size:11.5px}
.mm2-pv__add{margin-top:12px;align-self:flex-start;cursor:default;padding:0 18px}
.mm2-pv__cap{font:500 12px var(--mm-sans);color:var(--mm-mute);margin-top:10px}
/* preview animation: dots pop, chips fill, case slides in. --d is set per element by the JS. */
.mm2-pv--anim .mm2-dot{animation:mm2-pop .5s both;animation-delay:var(--d)}
.mm2-pv--anim .mm2-chip{animation:mm2-chip .5s both;animation-delay:var(--d)}
.mm2-pv--anim .mm2-best__stage .mm2-case{animation:mm2-slide .8s cubic-bezier(.2,.7,.2,1) both;animation-delay:3.4s}
.mm2-pv--anim .mm2-best__body{animation:mm2-fade .6s both;animation-delay:3.7s}
.mm2-pv--anim .mm2-pv__photo .mm2-photo{animation:mm2-fade .6s both}
@keyframes mm2-pop{0%{transform:scale(0);opacity:0}70%{transform:scale(1.25);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes mm2-chip{0%{opacity:0;transform:translateY(8px) scale(.94)}100%{opacity:1;transform:none}}
@keyframes mm2-slide{0%{opacity:0;transform:translateX(70px) rotate(4deg)}100%{opacity:1;transform:none}}
@keyframes mm2-fade{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .mm2-pv--anim .mm2-dot,.mm2-pv--anim .mm2-chip,.mm2-pv--anim .mm2-best__stage .mm2-case,.mm2-pv--anim .mm2-best__body,.mm2-pv--anim .mm2-pv__photo .mm2-photo,.mm2-dot.is-new{animation:none!important}
  .mm2 *{scroll-behavior:auto!important;transition:none!important}
}
.mm2-sec{margin-top:44px}
.mm2-sec__h{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;flex-wrap:wrap}
.mm2-sec__h .mm2-sub{margin-top:8px;font-size:16px}
.mm2-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px}
.mm2-step{background:#fff;border-radius:var(--mm-radius-lg);padding:20px;box-shadow:0 0 0 1px var(--mm-line);position:relative}
.mm2-step__n{position:absolute;right:22px;top:20px;font:700 44px/1 var(--mm-serif);color:#e4e1dc}
.mm2-step__sw{display:flex;margin-bottom:18px}
.mm2-step__sw i{width:40px;height:40px;border-radius:50%;box-shadow:0 0 0 3px #fff,inset 0 0 0 1px rgba(0,0,0,.12)}
.mm2-step__sw i+i{margin-left:-10px}
.mm2-step .mm2-h3{margin-bottom:8px}
.mm2-step p{font:400 15.5px/1.5 var(--mm-sans);color:var(--mm-body)}
.mm2-exlist{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.mm2-ex{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;background:#fff;border-radius:var(--mm-radius-lg);padding:14px;box-shadow:0 0 0 1px var(--mm-line);text-decoration:none;color:var(--mm-ink);align-items:stretch}
.mm2-ex .mm2-ph{aspect-ratio:4/5;border-radius:14px}
.mm2-ex__b{display:flex;flex-direction:column;gap:10px;padding:6px 4px 4px 0;min-width:0}
.mm2-ex__b b{font:700 18px/1.15 var(--mm-serif)}
.mm2-ex__p{display:flex;flex-wrap:wrap;gap:5px}
.mm2-ex__pc{display:inline-flex;align-items:center;gap:5px;font:600 12px var(--mm-sans);background:var(--mm-panel);border-radius:999px;padding:3px 9px 3px 4px}
.mm2-ex__pc .mm2-sw{width:16px;height:16px}
.mm2-ex__go{margin-top:auto;font:700 14px var(--mm-sans);display:inline-flex;gap:8px;align-items:center;text-decoration:underline;text-underline-offset:4px}
.mm2-group{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;background:var(--mm-panel);border-radius:24px;padding:16px}
.mm2-group .mm2-ph{aspect-ratio:4/5;border-radius:14px}
.mm2-caption{font:500 12px var(--mm-sans);color:var(--mm-mute);padding-top:14px}

/* ---- PICKER ---- */
.mm2-pick{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:18px var(--mm-gutter) 110px;max-width:1344px;margin:0 auto;align-items:center}
.mm2-pickphoto{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:4/5;background:#e9e2d6;box-shadow:0 20px 44px -26px rgba(20,20,19,.5);max-width:420px;width:100%;margin:0 auto}
.mm2-pickphoto>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.mm2-pickbox{position:absolute;border:2px dashed rgba(255,255,255,.95);border-radius:18px;background:rgba(20,20,19,.10);cursor:pointer;padding:0;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
.mm2-pickbox.is-on{border:3px solid #fff;background:rgba(255,255,255,.12);box-shadow:0 0 0 2px var(--mm-ink),0 10px 26px -6px rgba(0,0,0,.5)}
.mm2-pickbox__n{position:absolute;left:50%;top:-16px;transform:translateX(-50%);width:32px;height:32px;border-radius:50%;background:#fff;color:var(--mm-ink);font:700 14px var(--mm-sans);display:grid;place-items:center;box-shadow:0 0 0 1px rgba(0,0,0,.2)}
.mm2-pickbox.is-on .mm2-pickbox__n{background:var(--mm-ink)}
.mm2-pick__tx .mm2-h1{margin:14px 0}
.mm2-pick__n{display:inline-flex}
.mm2-pick__cta{position:fixed;left:0;right:0;bottom:0;background:var(--mm-bg);padding:12px 16px 16px;box-shadow:0 -1px 0 var(--mm-line);z-index:50;display:flex;gap:16px;align-items:center;justify-content:space-between}
.mm2-pick__cta .mm2-btn{flex:1}

/* ---- SCAN ---- */
.mm2-scan{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:18px var(--mm-gutter) 64px;max-width:1344px;margin:0 auto;align-items:center}
.mm2-scan__photo{position:relative;border-radius:26px;overflow:hidden;aspect-ratio:4/5;background:#e9e2d6;max-width:420px;width:100%;margin:0 auto}
.mm2-scan__photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mm2-scan__line{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 20%,#fff 80%,rgba(255,255,255,0));box-shadow:0 0 18px 4px rgba(255,255,255,.55);z-index:3}
.mm2-scan__veil{position:absolute;left:0;right:0;top:0;background:rgba(250,249,247,.32);z-index:2}
.mm2-scandot{position:absolute;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(0,0,0,.2),0 8px 18px -4px rgba(0,0,0,.55);z-index:4}
.mm2-scandot__l{position:absolute;z-index:5;transform:translate(22px,-50%);background:#fff;border-radius:999px;padding:5px 11px 5px 9px;font:600 13px var(--mm-sans);white-space:nowrap;box-shadow:0 8px 20px -8px rgba(0,0,0,.4)}
.mm2-scandot__l.is-left{transform:translate(calc(-100% - 22px),-50%)}
.mm2-prog{height:6px;border-radius:99px;background:var(--mm-line);overflow:hidden;margin-top:22px}
.mm2-prog i{display:block;height:100%;background:var(--mm-ink);border-radius:99px;transition:width .4s}
.mm2-prog__l{display:flex;justify-content:space-between;font:500 14px var(--mm-sans);color:var(--mm-mute);margin:10px 0 22px}
.mm2-rows{border-top:1px solid var(--mm-line)}
.mm2-row{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--mm-line)}
.mm2-row__pair{display:flex}
.mm2-row__pair i{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 0 0 2px var(--mm-bg)}
.mm2-row__pair i+i{margin-left:-10px}
.mm2-row b{display:block;font:600 16px var(--mm-sans)}
.mm2-row span{font-size:14px;color:var(--mm-mute)}
.mm2-row__st{display:flex;align-items:center;gap:8px;font:600 13.5px var(--mm-sans)}
.mm2-row__ck{width:20px;height:20px;border-radius:50%;background:var(--mm-ink);display:grid;place-items:center}
.mm2-row.is-wait .mm2-row__pair i{background:linear-gradient(90deg,#ebe7e1,#f6f3ef 50%,#ebe7e1)}
.mm2-row.is-wait b{color:var(--mm-mute);font-weight:500}
.mm2-skel{display:inline-block;height:12px;width:120px;border-radius:6px;background:linear-gradient(90deg,#ebe7e1,#f6f3ef 50%,#ebe7e1)}
.mm2-scan__back{display:flex;gap:22px;margin-top:24px;align-items:center}

/* ---- RESULTS ---- */
.mm2-res{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "photo" "chips" "seg" "best";gap:10px;padding:14px var(--mm-gutter) 0;max-width:1344px;margin:0 auto}
.mm2-res__title{grid-area:title}
.mm2-res__title .mm2-eye{display:none}
.mm2-res__title .mm2-h1{font-size:26px;margin-top:0}
.mm2-res__seg{grid-area:seg}
.mm2-res__chips{grid-area:chips;margin:0 calc(var(--mm-gutter) * -1);padding:0 var(--mm-gutter)}
.mm2-res__chips .mm2-chips{margin:0 calc(var(--mm-gutter) * -1);padding:2px var(--mm-gutter) 6px}
.mm2-res__hint{grid-area:hint;display:none}
.mm2-res__photo{grid-area:photo;display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:center}
.mm2-res__photo .mm2-photo{aspect-ratio:1/1;border-radius:14px}
.mm2-res__photo .mm2-hint{display:none}
.mm2-res__again{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font:500 14px var(--mm-sans);color:var(--mm-mute)}
.mm2-res__again .mm2-lnk{min-height:0}
.mm2-res__best{grid-area:best;min-width:0}
.mm2-seg{display:flex;width:100%;padding:4px;background:var(--mm-panel);border-radius:var(--mm-radius);gap:2px}
.mm2-seg button{flex:1;height:42px;min-height:var(--mm-tap);padding:0 8px;border-radius:10px;font:600 14.5px var(--mm-sans);color:#4a4a4a;background:none;border:0;cursor:pointer;white-space:nowrap}
.mm2-seg button.is-on{background:#fff;color:var(--mm-ink);box-shadow:0 0 0 1.5px var(--mm-ink)}
.mm2-hint{font:500 13px/1.4 var(--mm-sans);color:var(--mm-mute);margin-top:6px}
.mm2-photo.is-full{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(88vw,420px);height:auto;z-index:160;border-radius:20px;cursor:crosshair}
.mm2-photo.is-full .mm2-dot{width:32px;height:32px;margin:-16px 0 0 -16px;box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(0,0,0,.22),0 8px 18px -4px rgba(0,0,0,.55)}
.mm2-scrim{position:fixed;inset:0;background:rgba(20,20,20,.6);z-index:159}
.mm2-fclose{position:fixed;left:50%;transform:translateX(-50%);z-index:161;bottom:24px;background:#fff;height:48px;padding:0 20px;border-radius:14px;font:700 15px var(--mm-sans);border:0}
.mm2-res__sections{grid-column:1/-1;grid-row:auto;display:block}
.mm2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
.mm2-gc{min-width:0}
.mm2-gc__pic{background:var(--mm-panel);border-radius:20px;aspect-ratio:1/1.12;display:grid;place-items:center;position:relative}
.mm2-gc__pic .mm2-case{height:76%}
.mm2-gc__sw{position:absolute;right:12px;top:12px;display:flex}
.mm2-gc__sw i{width:16px;height:16px;border-radius:50%;box-shadow:0 0 0 2px #fff}
.mm2-gc h3{font:600 16.5px/1.25 var(--mm-sans);margin-top:12px}
.mm2-gc__meta{display:flex;justify-content:space-between;font:400 14px var(--mm-sans);color:var(--mm-mute);margin-top:3px}
.mm2-gc__meta b{font-weight:600;color:var(--mm-ink)}
.mm2-gc__bt{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:12px}
.mm2-gc__bt .mm2-btn,.mm2-gc__bt .mm2-wdbtn{width:100%;justify-content:center}
.mm2-pcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mm2-pc{background:#fff;border-radius:20px;padding:12px;box-shadow:0 0 0 1px var(--mm-line);display:flex;flex-direction:column;gap:12px;position:relative}
.mm2-pc.is-off{opacity:.5}
.mm2-pc__sw{height:64px;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.mm2-pc__r{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mm2-pc h3{font:700 18px/1.1 var(--mm-serif)}
.mm2-pc__pct{font:500 13px var(--mm-sans);color:var(--mm-mute)}
.mm2-pc .mm2-btn{width:100%}
.mm2-pc__leave{font:500 13px var(--mm-sans);color:var(--mm-mute);text-align:center;cursor:pointer;background:none;border:0;text-decoration:underline;text-underline-offset:3px;min-height:var(--mm-tap)}
.mm2-pc .mm2-tag{position:absolute;right:12px;top:12px}
.mm2-two{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.mm2-card{background:#fff;border-radius:var(--mm-radius-lg);padding:20px;box-shadow:0 0 0 1px var(--mm-line)}
.mm2-card .mm2-h3{margin-bottom:6px}
.mm2-card .mm2-sub{font-size:15px}
.mm2-copyrow,.mm2-emrow{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.mm2-copyrow .mm2-btn,.mm2-emrow .mm2-btn{width:100%}
.mm2-linkbox{min-width:0;max-width:100%;height:54px;border-radius:var(--mm-radius);background:var(--mm-panel);display:flex;align-items:center;padding:0 14px;font:500 13.5px var(--mm-sans);color:var(--mm-body);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mm2-emrow input[type=email]{min-width:0;height:54px;border-radius:var(--mm-radius);border:1.5px solid #cfc9c0;padding:0 16px;font:500 16px var(--mm-sans);background:#fff;color:var(--mm-ink)}
.mm2-cons{display:flex;gap:12px;align-items:flex-start;margin-top:14px;font:400 14px/1.45 var(--mm-sans);color:var(--mm-body);cursor:pointer}
.mm2-cons input{appearance:none;-webkit-appearance:none;width:24px;height:24px;flex:none;border:1.5px solid var(--mm-ink);border-radius:7px;background:#fff;margin:0;cursor:pointer;display:grid;place-items:center}
.mm2-cons input:checked{background:var(--mm-ink)}
.mm2-cons input:checked::after{content:"";width:11px;height:6px;border:solid #fff;border-width:0 0 2.5px 2.5px;transform:rotate(-45deg) translate(1px,-1px)}
.mm2-cons a{font-weight:600;text-underline-offset:3px}
.mm2-robe{padding:20px}
.mm2-robe__h{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.mm2-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:18px}
.mm2-slot{border-radius:16px;background:var(--mm-panel);padding:8px 2px;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:100px;text-align:center;border:1.5px dashed transparent}
.mm2-slot.is-empty{background:transparent;border-color:#cfc9c0}
.mm2-slot .mm2-case{height:56px}
.mm2-slot__plus{height:56px;display:grid;place-items:center;color:#a49d92;font:400 26px var(--mm-sans)}
.mm2-slot b{font:600 9.5px var(--mm-sans);letter-spacing:.04em;text-transform:uppercase;color:var(--mm-mute)}
.mm2-slot span{font:500 10.5px/1.2 var(--mm-sans)}
.mm2-bprog{display:flex;gap:6px;margin-top:16px}
.mm2-bprog i{flex:1;height:8px;border-radius:99px;background:var(--mm-line)}
.mm2-bprog i.is-on{background:var(--mm-ink)}
.mm2-bnote{font:500 14px/1.4 var(--mm-sans);color:var(--mm-body);margin-top:10px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.mm2-bnote b{color:var(--mm-ink)}
.mm2-tray{position:fixed;left:8px;right:8px;bottom:8px;z-index:90;background:var(--mm-ink);color:#fff;border-radius:16px;padding:10px;display:flex;align-items:center;gap:10px;box-shadow:0 18px 44px -10px rgba(0,0,0,.55)}
.mm2-tray__th{display:flex;gap:6px}
.mm2-tray__th span{width:26px;height:40px;border-radius:9px;background:rgba(255,255,255,.12);display:grid;place-items:center;border:1px dashed rgba(255,255,255,.3);overflow:hidden}
.mm2-tray__th span.is-full{border:0;background:#efece8}
.mm2-tray__th .mm2-case{height:36px;filter:none}
.mm2-tray__tx{font:500 13.5px/1.35 var(--mm-sans);min-width:0;flex:1}
.mm2-tray__tx b{display:block;font-weight:700;font-size:14.5px}
.mm2-tray__tx small{color:#cfcac2;font-size:12.5px}
.mm2-tray__bar{display:none;flex-direction:column;gap:6px;width:150px;flex:none}
.mm2-tray__bar i{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.2);overflow:hidden}
.mm2-tray__bar i b{display:block;height:100%;background:#fff}
.mm2-tray .mm2-btn{background:#fff;color:var(--mm-ink);height:var(--mm-tap);font-size:13.5px;padding:0 12px}
.mm2-p2{background:var(--mm-panel);border-radius:var(--mm-radius-xl);display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;position:relative}
.mm2-p2__art{position:relative;min-height:380px;overflow:hidden;background:#d9d0c1}
.mm2-p2__art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(3px) saturate(.9) brightness(.95);transform:scale(1.06)}
.mm2-p2__hand{position:absolute;left:50%;bottom:-40px;transform:translateX(-50%) rotate(-7deg) scale(.8);transform-origin:bottom center;width:250px;height:470px}
.mm2-p2__hand .mm2-case{position:absolute;left:28px;top:0;height:390px;z-index:2}
.mm2-palm{position:absolute;left:8px;bottom:0;width:230px;height:190px;border-radius:44% 44% 30% 30%;background:#e2b592;z-index:1;box-shadow:inset -12px -8px 24px rgba(120,70,40,.25)}
.mm2-fg{position:absolute;left:-14px;top:190px;width:46px;height:150px;border-radius:24px;background:#e8bd9b;z-index:3;transform:rotate(-6deg);box-shadow:inset -6px 0 10px rgba(120,70,40,.2)}
.mm2-th{position:absolute;right:-16px;top:250px;width:44px;height:110px;border-radius:24px;background:#e8bd9b;z-index:3;transform:rotate(12deg);box-shadow:inset 6px 0 10px rgba(120,70,40,.2)}
.mm2-p2__tx{padding:24px 20px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.mm2-p2__tx .mm2-h2{font-size:30px}
.mm2-p2__tx ul{margin:6px 0 0;padding-left:18px;font:500 15px/1.6 var(--mm-sans);color:var(--mm-body)}
.mm2-p2__ribbon{position:absolute;right:20px;top:20px;z-index:8}
.mm2-p2__tx .mm2-btn{align-self:flex-start}
.mm2-sheet{position:fixed;inset:0;z-index:150}
.mm2-sheet__scrim{position:absolute;inset:0;background:rgba(20,20,20,.5)}
.mm2-sheet__box{position:absolute;background:var(--mm-bg);border-radius:24px 24px 0 0;padding:24px;left:0;bottom:0;width:100%;max-height:92vh;overflow:auto;box-shadow:0 30px 70px -20px rgba(0,0,0,.6)}
.mm2-sheet__hd{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.mm2-sheet__box .mm2-pickphoto{max-width:420px;margin:0 auto}
.mm2-sheet__cta{display:flex;justify-content:flex-end;margin-top:16px}
.mm2-x{width:var(--mm-tap);height:var(--mm-tap);border-radius:50%;background:var(--mm-panel);display:grid;place-items:center;flex:none;cursor:pointer;border:0}
.mm2-cam{position:fixed;inset:0;z-index:300;background:#000;display:flex;flex-direction:column}
.mm2-cam video{flex:1;min-height:0;width:100%;object-fit:cover}
.mm2-cam__bar{display:flex;justify-content:space-between;align-items:center;padding:16px;gap:12px;background:#000}
.mm2-cam__shot{width:68px;height:68px;border-radius:50%;background:#fff;border:5px solid #999;cursor:pointer}
.mm2-cam .mm2-btn{background:#fff;color:#000;height:var(--mm-tap)}
@keyframes mm2-spin{to{transform:rotate(360deg)}}

/* ============ DESKTOP (design width 1440) ============ */
@media (min-width:1001px){
  .mm2{--mm-gutter:48px}
  .mm2-h1{font-size:56px}.mm2-h2{font-size:36px}.mm2-h3{font-size:24px}
  .mm2-only-desktop{display:inline-flex}
  .mm2-only-mobile{display:none!important}
  .mm2-toast{bottom:28px}
  /* landing */
  .mm2-hero{margin:36px 48px 0;border-radius:var(--mm-radius-xl);grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:32px;padding:56px 48px 48px 56px}
  .mm2-hero__tx .mm2-h1{font-size:60px}
  .mm2-ctas{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}
  .mm2-ctas .mm2-btn{width:auto;height:54px}
  .mm2-btn--upload{order:1;background:var(--mm-cta);color:#fff}
  .mm2-btn--example{order:2;height:54px!important;background:#fff;border-color:var(--mm-ink)}
  .mm2-btn--take{display:none}
  .mm2-label-m{display:none}
  .mm2-pv{border-radius:24px;padding:18px 20px 14px}
  .mm2-pv__body{grid-template-columns:230px minmax(0,1fr);gap:0 18px;grid-template-areas:"photo lab" "photo chips" "photo best"}
  .mm2-pv__photo{grid-column:auto;grid-row:auto;grid-area:photo}   /* CASE STUDIO: grid-area LAST -- the longhands after it undid it, and the card grew to 945px */
  .mm2-pv__lab{display:block;grid-area:lab}
  .mm2-pv__chips{grid-column:auto;grid-row:auto;grid-area:chips;gap:6px}
  .mm2-pv__best{grid-column:auto;grid-row:auto;grid-area:best;margin-top:14px;grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
  .mm2-pv .mm2-chip{height:38px;padding:0 11px 0 6px;gap:7px;font-size:13.5px}
  .mm2-pv .mm2-chip .mm2-sw{width:24px;height:24px}
  .mm2-pv .mm2-dot{width:22px;height:22px;margin:-11px 0 0 -11px;box-shadow:0 0 0 2.5px #fff,0 0 0 3.5px rgba(0,0,0,.22),0 6px 14px -4px rgba(0,0,0,.55)}
  .mm2-pv__photo .mm2-photo{border-radius:16px}
  .mm2-pv__best .mm2-best__stage{padding:16px 8px}
  .mm2-pv__best .mm2-best__stage .mm2-case{height:250px}
  .mm2-pv__best .mm2-best__body{padding:16px 16px 16px 6px}
  .mm2-pv__best .mm2-h3{font-size:22px}
  .mm2-sec{margin-top:72px}
  .mm2-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .mm2-step{padding:26px}
  .mm2-exlist{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .mm2-ex{grid-template-columns:150px minmax(0,1fr);gap:18px}
  .mm2-ex__b b{font-size:20px}
  .mm2-group{grid-template-columns:160px minmax(0,1fr);gap:26px;padding:22px 28px}
  /* picker + scan */
  .mm2-pick{grid-template-columns:minmax(0,520px) 1fr;gap:72px;padding:44px 48px 40px}
  .mm2-pickphoto{max-width:none;margin:0}
  .mm2-pick__tx .mm2-h1{font-size:52px}
  .mm2-pick__cta{position:static;background:none;box-shadow:none;padding:0;margin-top:26px;justify-content:flex-start;z-index:auto}
  .mm2-pick__cta .mm2-btn{flex:none}
  .mm2-scan{grid-template-columns:minmax(0,520px) 1fr;gap:72px;padding:44px 48px 64px}
  .mm2-scan__photo{max-width:none;margin:0}
  /* results */
  .mm2-res{grid-template-columns:400px minmax(0,1fr) auto;grid-template-areas:"title title seg" "chips chips chips" "hint hint hint" "photo best best";gap:0 40px;padding:26px 48px 0;align-items:start}
  .mm2-res__title{align-self:end}
  .mm2-res__title .mm2-eye{display:block}
  .mm2-res__title .mm2-h1{font-size:44px;margin-top:8px}
  .mm2-res__seg{align-self:end}
  .mm2-seg{display:inline-flex;width:auto}
  .mm2-seg button{flex:none;padding:0 18px}
  .mm2-res__chips{margin:18px 0 0;padding:0}
  .mm2-res__chips .mm2-chips{flex-wrap:wrap;margin:0;padding:0}
  .mm2-res__hint{display:block;margin-top:8px}
  .mm2-res__photo{display:block;margin-top:22px}
  .mm2-res__best{margin-top:22px}
  .mm2-res__photo .mm2-photo{aspect-ratio:4/5;border-radius:var(--mm-radius-lg);cursor:crosshair}
  .mm2-res__photo .mm2-hint{display:block}
  .mm2-res__again{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
  .mm2-dot{width:32px;height:32px;margin:-16px 0 0 -16px;box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(0,0,0,.22),0 8px 18px -4px rgba(0,0,0,.55)}
  .mm2-dot:hover::after,.mm2-dot:focus-visible::after{content:attr(data-t);position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);background:var(--mm-ink);color:#fff;font:600 12px var(--mm-sans);padding:5px 9px;border-radius:8px;white-space:nowrap}
  .mm2-dot__x{position:absolute;right:-5px;top:-5px;width:16px;height:16px;border-radius:50%;background:var(--mm-ink);color:#fff;font:700 10px/16px var(--mm-sans);text-align:center}
  .mm2-dot:hover .mm2-dot__x{display:block}
  .mm2-best{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);min-height:560px}
  .mm2-best__stage{padding:34px}
  .mm2-best__stage .mm2-case{height:470px}
  .mm2-best__body{padding:40px 40px 32px}
  .mm2-best__body .mm2-h2{font-size:38px}
  .mm2-best__acts>.mm2-btn{flex:1 1 200px}
  .mm2-best__acts>.mm2-wd{flex:0 0 auto}
  .mm2-best__acts .mm2-wd>.mm2-wdbtn{width:auto}
  .mm2-res__sections{max-width:1344px;margin:0 auto;padding:0 48px}
  .mm2-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}
  .mm2-gc__bt{grid-template-columns:1fr auto}
  .mm2-gc__bt .mm2-wdbtn{width:auto}
  .mm2-pcards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .mm2-pc{padding:16px}.mm2-pc__sw{height:92px}.mm2-pc h3{font-size:22px}
  .mm2-two{grid-template-columns:1fr 1fr}
  .mm2-card{padding:28px}
  .mm2-copyrow,.mm2-emrow{flex-direction:row}
  .mm2-linkbox,.mm2-emrow input[type=email]{flex:1}
  .mm2-copyrow .mm2-btn,.mm2-emrow .mm2-btn{width:auto}
  .mm2-robe{padding:32px}
  .mm2-slots{gap:10px}
  .mm2-slot{padding:10px 8px;min-height:122px}.mm2-slot .mm2-case{height:74px}.mm2-slot__plus{height:74px}.mm2-slot b{font-size:11px;letter-spacing:.08em}.mm2-slot span{font-size:12px}
  .mm2-tray{left:50%;right:auto;transform:translateX(-50%);bottom:20px;border-radius:20px;padding:12px 14px 12px 18px;gap:18px;max-width:calc(100vw - 24px)}
  .mm2-tray__th span{width:36px;height:54px}.mm2-tray__th .mm2-case{height:48px}
  .mm2-tray__tx{flex:none}
  .mm2-tray__bar{display:flex}
  .mm2-tray .mm2-btn{font-size:14.5px;padding:0 16px}
  .mm2-p2{grid-template-columns:minmax(0,480px) 1fr}
  .mm2-p2__art{min-height:520px}
  .mm2-p2__hand{transform:translateX(-50%) rotate(-7deg)}
  .mm2-p2__tx{padding:48px 48px 40px}.mm2-p2__tx .mm2-h2{font-size:40px}
  .mm2-sheet__box{border-radius:24px;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px)}
}
@media (min-width:1001px) and (max-width:1180px){
  .mm2-hero{grid-template-columns:minmax(0,1fr);padding:40px 36px}
  .mm2-exlist{grid-template-columns:minmax(0,1fr)}
  .mm2-ex{grid-template-columns:130px minmax(0,1fr)}
  .mm2-res{grid-template-columns:340px minmax(0,1fr) auto;gap:0 28px}
  .mm2-best{grid-template-columns:minmax(0,1fr);min-height:0}
  .mm2-best__stage .mm2-case{height:380px}
  .mm2-grid,.mm2-pcards{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---- additions: results notice, busy overlay, form message, tray spacing, mobile/desktop label swap ---- */
.mm2-res__notice{max-width:1344px;margin:0 auto;padding:12px var(--mm-gutter) 0}
.mm2-res__notice:empty,.mm2-res__notice>[hidden]:only-child{padding:0}
.mm2-res__notice .mm2-notice>div{flex:1}
.mm2-res__sections{max-width:1344px;margin:0 auto;padding:0 var(--mm-gutter) 32px}
.mm2-busy{position:fixed;inset:0;z-index:250;background:rgba(250,249,247,.86);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font:600 15px var(--mm-sans)}
.mm2-busy__spin{width:34px;height:34px;border-radius:50%;border:3px solid var(--mm-line);border-top-color:var(--mm-ink);animation:mm2-spin .8s linear infinite}
.mm2-fine--bad{color:#a4161a}
.mm2-label-d{display:none}
.mm2-label-m{display:inline}
@media (min-width:1001px){.mm2-label-d{display:inline}.mm2-label-m{display:none}.mm2-res__sections{padding:0 48px 32px}.mm2-res__notice{padding:14px 48px 0}}
html.mm2-has-tray body{padding-bottom:92px}
@media (prefers-reduced-motion:reduce){.mm2-busy__spin{animation-duration:2.4s}}
.mm2 [tabindex="-1"]:focus{outline:none}   /* headings receive focus on screen change for screen readers; no ring */

/* CASE STUDIO, 30 Sep: "View case" is a link (there is no cart yet), and `.mm2 a` would win over the
   button's own colour; and the site's flat prints fill the case frame whole, not as a repeat tile */
.mm2 a.mm2-btn{text-decoration:none}
.mm2 a.mm2-btn--k{color:#fff}
.mm2 .mm2-case .mm2-case__fill--print{background-repeat:no-repeat;background-size:cover;background-position:50% 50%;background-color:#efece8}

/* CASE STUDIO, 30 Sep, Chris's review of the live page:
   - the Blend in / Make it pop switch sits at the top of the best match's text column
   - the colour chips had their text against the outline: more room inside and between
   - "Try another photo" is a real button, not a link */
.mm2 .mm2-best__seg{width:100%;margin:0 0 22px;background:rgba(28,28,28,.06)}
.mm2 .mm2-res__chips .mm2-chips{gap:10px}
.mm2 .mm2-res .mm2-chip{padding:0 18px 0 8px}
.mm2 .mm2-res__again .mm2-again{min-height:var(--mm-tap);height:var(--mm-tap);gap:8px;align-self:stretch;justify-content:center}
@media (min-width:1001px){
  .mm2 .mm2-best__seg{display:inline-flex;width:auto;align-self:flex-start}
  .mm2 .mm2-best__seg button{flex:none;padding:0 18px}
}
/* CASE STUDIO, 30 Sep (Chris: "This whole card is too big and too much"): the landing preview's best
   match carries .mm2-best, so it took the results page's desktop min-height:560px and stretched the
   card to ~760px (with the grid-area fix; 945px before it). The preview's box is as tall as its case. */
@media (min-width:1001px){ .mm2 .mm2-pv__best{min-height:0} }
/* CASE STUDIO, 30 Sep, Chris's second review:
   - "Try another photo" is a full-width button under the photo on desktop too
   - the wardrobe bar has a close button (hides it until the wardrobe changes)
   - the scan line sweeps up and down on its own, quickly, as the classic page's did */
@media (min-width:1001px){
  .mm2 .mm2-res__again{flex-wrap:wrap}
  .mm2 .mm2-res__again .mm2-again{flex:1 1 100%;order:3;height:48px;font-size:15px}
}
.mm2 .mm2-tray__x{flex:none;width:var(--mm-tap);height:var(--mm-tap);display:grid;place-items:center;border-radius:12px;color:#fff;opacity:.75}
.mm2 .mm2-tray__x:hover,.mm2 .mm2-tray__x:focus-visible{opacity:1;background:rgba(255,255,255,.12)}
.mm2 .mm2-scan__line{animation:mm2-sweep 1.6s ease-in-out infinite;transition:none}
@keyframes mm2-sweep{0%{top:5%}50%{top:93%}100%{top:5%}}
@media (prefers-reduced-motion:reduce){ .mm2 .mm2-scan__line{animation:none} }
/* the bar is centred with left:50%, which caps its natural width at half the screen; with the ✕ that
   squeezed "View wardrobe" to "ew wardro". It now takes its content's width, never over the screen's. */
@media (min-width:1001px){ .mm2 .mm2-tray{width:max-content} }
.mm2 .mm2-tray .mm2-btn{flex:none}
/* on a phone the five thumbnails, the button and the ✕ left the text no room ("Your / wardrobe / ·"),
   and "1 of 5" already says what they show; and the confirmation toast sat on top of the bar */
@media (max-width:1000px){ .mm2 .mm2-tray__th{display:none} }
html.mm2-has-tray .mm2 .mm2-toast{bottom:104px}
@media (max-width:1000px){ html.mm2-has-tray .mm2 .mm2-toast{bottom:84px} }
/* CASE STUDIO, 30 Sep: after the colours, "finding your perfect case" -- the top picks flip in one
   case frame beside a line of text and three pulsing dots, for cfg.thinkMs, then the results */
.mm2 .mm2-think{display:flex;align-items:center;gap:18px;margin-top:18px;padding:14px 16px;background:var(--mm-panel);border-radius:18px}
.mm2 .mm2-think[hidden]{display:none}
.mm2 .mm2-think__stack{position:relative;width:48px;height:96px;flex:none}
.mm2 .mm2-think__c{position:absolute;inset:0;opacity:0;transform:translateY(6px) scale(.96);transition:opacity .22s,transform .22s}
.mm2 .mm2-think__c.is-on{opacity:1;transform:none}
.mm2 .mm2-think__c .mm2-case{height:96px}
.mm2 .mm2-think__tx{display:flex;flex-direction:column;gap:4px;font:500 14px var(--mm-sans);color:var(--mm-mute)}
.mm2 .mm2-think__tx b{font:700 16px var(--mm-sans);color:var(--mm-ink)}
.mm2 .mm2-think__dots{display:flex;gap:5px;margin-top:4px}
.mm2 .mm2-think__dots i{width:7px;height:7px;border-radius:50%;background:var(--mm-ink);opacity:.25;animation:mm2-dotp 1s infinite}
.mm2 .mm2-think__dots i:nth-child(2){animation-delay:.18s}.mm2 .mm2-think__dots i:nth-child(3){animation-delay:.36s}
@keyframes mm2-dotp{0%,100%{opacity:.25;transform:none}40%{opacity:1;transform:translateY(-3px)}}
/* CASE STUDIO, 30 Sep: a filled wardrobe slot has a remove button; and the floating bar slides away
   while the wardrobe section is on screen */
.mm2 .mm2-slot{position:relative}
.mm2 .mm2-slot__x{position:absolute;top:6px;right:6px;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--mm-ink);display:grid;place-items:center;box-shadow:0 0 0 1px var(--mm-line),0 4px 10px -4px rgba(0,0,0,.25);cursor:pointer}
.mm2 .mm2-slot__x:hover,.mm2 .mm2-slot__x:focus-visible{box-shadow:0 0 0 1.5px var(--mm-ink)}
@media (max-width:1000px){ .mm2 .mm2-slot__x{top:4px;right:4px;width:28px;height:28px} }
.mm2 .mm2-tray{transition:opacity .2s,transform .2s}
.mm2 .mm2-tray.is-away{opacity:0;pointer-events:none;transform:translate(-50%,16px)}
@media (max-width:1000px){ .mm2 .mm2-tray.is-away{transform:translateY(16px)} }
/* CASE STUDIO, 30 Sep: the case type of a wardrobe case -- one chip, tap to switch Single / 2-in-1 */
.mm2 .mm2-slot__type{margin-top:6px;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--mm-line);font:600 12px var(--mm-sans);color:var(--mm-ink);cursor:pointer;white-space:nowrap}
.mm2 .mm2-slot__type:hover,.mm2 .mm2-slot__type:focus-visible{box-shadow:inset 0 0 0 1.5px var(--mm-ink)}
@media (max-width:1000px){ .mm2 .mm2-slot__type{height:26px;padding:0 6px;font-size:10px;gap:3px} .mm2 .mm2-slot__type svg{display:none} }
/* on a phone a slot is ~58px wide: the chip says only the type (the total below carries the money),
   and the remove button shrinks so it does not cover the case */
@media (max-width:1000px){
  .mm2 .mm2-slot__tp{display:none}
  .mm2 .mm2-slot__type{max-width:100%;justify-content:center}
  .mm2 .mm2-slot__x{width:22px;height:22px;top:3px;right:3px}
  .mm2 .mm2-slot__x svg{width:11px;height:11px}
}

