/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: "Shoulders"; src: url(fonts/bigshoulders-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Anuphan"; src: url(fonts/anuphan-thai.woff2) format("woff2"); font-weight: 100 700; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Anuphan"; src: url(fonts/anuphan-latin.woff2) format("woff2"); font-weight: 100 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Bai"; src: url(fonts/bai-600-thai.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Bai"; src: url(fonts/bai-600-latin.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Bai"; src: url(fonts/bai-700-thai.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Bai"; src: url(fonts/bai-700-latin.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- colourways ---------- */
:root, html[data-kit="dark"] {
  --fabric: #141414;
  --fabric-2: #1c1a1b;
  --stripe: rgb(255 255 255 / .045);
  --print: #f3a6c7;
  --print-deep: #e07aa9;
  --trim: #f0a9c8;
  --ink: #f6eef2;
  --muted: #c4b3bc;
  --line: rgb(243 166 199 / .28);
  --on-print: #1a0f15;
  --shade: rgb(0 0 0 / .45);
  color-scheme: dark;
}
html[data-kit="light"] {
  --fabric: #f3f4f1;
  --fabric-2: #e9ece6;
  --stripe: rgb(14 74 44 / .05);
  --print: #0f4a2c;
  --print-deep: #0b3a22;
  --trim: #0f4a2c;
  --ink: #142019;
  --muted: #4a5a50;
  --line: rgb(15 74 44 / .25);
  --on-print: #f3f4f1;
  --shade: rgb(15 40 25 / .18);
  color-scheme: light;
}

:root {
  --sans: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --head: "Bai", "Anuphan", system-ui, sans-serif;
  --athletic: "Shoulders", "Bai", sans-serif;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dock-h: 4.5rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 3.5rem; scrollbar-color: var(--print) var(--fabric); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--sans);
  color: var(--ink);
  background-color: var(--fabric);
  background-image: repeating-linear-gradient(90deg, transparent 0 11px, var(--stripe) 11px 12px, transparent 12px 23px, var(--stripe) 23px 25px);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  caret-color: var(--print);
}
::selection { background: var(--print); color: var(--on-print); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--print); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--print); outline-offset: 3px; border-radius: 2px; }
code { font: 600 .95em/1.4 var(--head); color: var(--print); white-space: nowrap; }
h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--print); color: var(--on-print); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- the back of the jersey (first viewport) ---------- */
.back {
  position: relative;
  min-height: calc(100svh - var(--dock-h));
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  justify-items: center;
  padding: 0 var(--pad) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
/* raglan piping curving down both sides */
.back::before, .back::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  bottom: 0;
  width: 70vw;
  border: 2px solid var(--trim);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  opacity: .75;
  z-index: -1;
  pointer-events: none;
}
.back::before { right: calc(100% - 9vw); }
.back::after { left: calc(100% - 9vw); }

.collar {
  width: min(62vw, 22rem);
  height: 2rem;
  background:
    repeating-linear-gradient(90deg, rgb(0 0 0 / .09) 0 2px, transparent 2px 5px),
    var(--trim);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 6px 14px -6px var(--shade);
}
.mark {
  display: block;
  width: 2.2rem;
  aspect-ratio: 1;
  margin-top: 1.1rem;
  background: var(--print);
  -webkit-mask: url(img/whyo-mark.png) center / contain no-repeat;
  mask: url(img/whyo-mark.png) center / contain no-repeat;
}
.brand { margin-top: .45rem; font: 600 .7rem/1 var(--head); letter-spacing: .04em; color: var(--muted); padding: .25rem .5rem; border: 1px solid var(--line); background: var(--fabric-2); }

.print {
  align-self: center;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 44rem;
  padding-block: clamp(.5rem, 2.5vh, 2.5rem) .25rem;
}
.print input {
  all: unset;
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--athletic);
  font-weight: 800;
  color: var(--print);
  caret-color: var(--ink);
  line-height: .86;
  text-transform: none;
  cursor: text;
}
.print input::placeholder { color: var(--print); opacity: 1; }
.print input:focus-visible { outline: none; }
.print input:focus { text-shadow: 0 0 0 transparent; }
.print .print-name {
  --len: 8;
  font-size: clamp(2.6rem, calc(150vw / var(--len)), 6.5rem);
  letter-spacing: .02em;
}
.print .print-num {
  font-size: clamp(8rem, 31svh, 24rem);
  letter-spacing: -.02em;
  margin-top: .02em;
}
.print:focus-within .print-hint { opacity: 0; }
.print-hint {
  margin-top: .4rem;
  font-size: .85rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  padding-bottom: .1rem;
  transition: opacity .3s var(--ease);
}
.print.pressed input { animation: press .42s var(--ease); }
@keyframes press {
  from { filter: blur(6px); transform: scale(1.05); opacity: .55; }
  to { filter: blur(0); transform: scale(1); opacity: 1; }
}

.hem {
  width: 100%;
  max-width: 44rem;
  display: grid;
  justify-items: center;
  gap: .7rem;
  padding-top: .9rem;
  border-top: 2px solid var(--trim);
}
.from { display: flex; align-items: baseline; gap: .45rem; }
.from-label, .from-unit { font: 700 1.25rem/1 var(--head); }
.from-num { font: 800 clamp(3.6rem, 15vw, 5.5rem)/.85 var(--athletic); color: var(--print); }
.close-tag {
  font: 600 .95rem/1.3 var(--head);
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  background: var(--fabric-2);
}
.close-tag span { color: var(--muted); font-weight: 600; }
.close-tag strong { color: var(--ink); }

.kit { display: flex; gap: .5rem; }
.kit-btn, .chip {
  font: 600 .95rem/1.2 var(--head);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.kit-btn:hover, .chip:hover { border-color: var(--print); }
.kit-btn[aria-checked="true"], .chip[aria-pressed="true"] {
  background: var(--print);
  color: var(--on-print);
  border-color: var(--print);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px var(--shade);
}
.sw { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--line); }
.sw-dark { background: linear-gradient(135deg, #141414 50%, #f3a6c7 50%); }
.sw-light { background: linear-gradient(135deg, #f3f4f1 50%, #0f4a2c 50%); }

/* ---------- section tabs (woven label strip) ---------- */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .5rem var(--pad);
  background: var(--fabric);
  border-block: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none;
  font: 600 .9rem/1 var(--head);
  color: var(--muted);
  text-decoration: none;
  padding: .55rem .75rem;
  border-radius: 2px;
}
.tabs a:hover { color: var(--print); }

/* ---------- sections ---------- */
main > section { padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad) 0; max-width: 72rem; margin-inline: auto; }
main > section > h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
.lede { margin-top: .6rem; color: var(--muted); max-width: 38rem; }
.note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* models: full-width bands, image alternates side on wide screens */
.models { display: grid; }
.model {
  display: grid;
  gap: .5rem;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.model:first-of-type { border-top: 0; padding-top: 0; }
.model-pic { margin: 0 -0.5rem; }
.model-pic img { width: 100%; aspect-ratio: 1000 / 860; object-fit: contain; }
.model-copy { display: grid; justify-items: start; gap: .35rem; }
.model-price { display: flex; align-items: baseline; gap: .35rem; }
.model-price span { font: 800 clamp(4.5rem, 22vw, 7.5rem)/.82 var(--athletic); color: var(--print); }
.model-price small { font: 700 1.1rem/1 var(--head); }
.model h3 { font-size: 1.5rem; margin-top: .35rem; }
.model-desc { color: var(--muted); }
.pick {
  margin-top: .75rem;
  font: 600 1rem/1.2 var(--head);
  color: var(--print);
  background: none;
  border: 0;
  border-bottom: 2px solid var(--print);
  padding: .5rem 0 .3rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.pick:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 52rem) {
  .model { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 2.5rem; }
  .model:nth-of-type(even) { grid-template-columns: 1fr 1.35fr; }
  .model:nth-of-type(even) .model-pic { order: 2; }
}

/* builder */
.opt { border: 0; padding: 0; margin: 1.75rem 0 0; min-width: 0; }
.opt legend { font: 700 1.1rem/1.3 var(--head); padding: 0; margin-bottom: .7rem; }
.legend-note { font-weight: 600; font-size: .9rem; color: var(--muted); margin-left: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-size .chip { min-width: 3.4rem; justify-content: center; }
.chip b { font: 800 1.15rem/1 var(--athletic); }
.screen-row { display: grid; grid-template-columns: 1fr 6.5rem; gap: .75rem; max-width: 30rem; }
.field { display: grid; gap: .35rem; font: 600 .9rem/1.2 var(--head); color: var(--muted); }
.field input {
  font: 800 1.6rem/1 var(--athletic);
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--fabric-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .7rem .8rem;
  width: 100%;
  min-height: 3.1rem;
}
.field input::placeholder { color: var(--muted); opacity: .6; }
.field input:focus { border-color: var(--print); outline: none; box-shadow: 0 0 0 3px var(--line); }
.field input:disabled { opacity: .4; }
.check { display: inline-flex; align-items: center; gap: .6rem; margin-top: .9rem; min-height: 2.75rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--print); }
.field-msg { min-height: 1.5rem; margin-top: .25rem; font-size: .9rem; color: var(--print); }

.line {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--fabric-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 14px 28px -18px var(--shade);
  max-width: 40rem;
}
.line-label { font: 600 .9rem/1.3 var(--head); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.line-coll { color: var(--print); }
.line-text {
  display: block;
  margin-top: .6rem;
  font: 800 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--athletic);
  letter-spacing: .02em;
  color: var(--print);
  overflow-wrap: anywhere;
}
.line-text { font-family: var(--athletic), var(--head); }
.line.is-incomplete .line-text { opacity: .55; }
.line-price { margin-top: .4rem; color: var(--muted); }
.line-price strong { color: var(--ink); font: 800 1.5rem/1 var(--athletic); }
.line-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.btn-solid, .btn-ghost, .btn-text {
  font: 700 1rem/1.2 var(--head);
  border-radius: 999px;
  padding: .7rem 1.3rem;
  min-height: 2.9rem;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn-solid { background: var(--print); color: var(--on-print); border: 1px solid var(--print); }
.btn-solid:hover { background: var(--print-deep); }
.btn-solid:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--print); border: 1px solid var(--print); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { padding: .45rem .9rem; min-height: 2.5rem; font-size: .9rem; }
.btn-text { background: none; border: 0; color: var(--muted); padding-inline: 0; text-decoration: underline; text-underline-offset: .2em; margin-top: .5rem; }

.sheet { margin-top: 2.5rem; max-width: 40rem; }
.sheet h3 { font-size: 1.35rem; }
.group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.group-head p { font-size: .95rem; }
.group-lines { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .25rem; }
.group-lines li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .75rem; padding: .3rem 0; }
.group-lines code { font: 800 1.25rem/1.2 var(--athletic), var(--head); white-space: normal; overflow-wrap: anywhere; }
.group-lines span { font-variant-numeric: tabular-nums; color: var(--muted); }
.rm { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 50%; cursor: pointer; color: var(--muted); }
.rm:hover { border-color: var(--line); color: var(--print); }
.rm svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.total { margin: 1.5rem 0 0; display: grid; gap: .35rem; }
.total div { display: flex; justify-content: space-between; gap: 1rem; }
.total dt { color: var(--muted); }
.total dd { margin: 0; font-variant-numeric: tabular-nums; }
.total-all { margin-top: .4rem; padding-top: .6rem; border-top: 2px solid var(--trim); }
.total-all dt { color: var(--ink); font: 700 1.1rem/1.4 var(--head); }
.total-all dd { font: 800 2rem/1 var(--athletic); color: var(--print); }

/* fees: woven-label tags */
.tags { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
.tag {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, var(--stripe) 3px 4px),
    var(--fabric-2);
}
.tag b { font: 800 2.6rem/.9 var(--athletic); color: var(--print); }
.examples { margin-top: 1.75rem; display: grid; gap: .1rem; max-width: 40rem; }
.ex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.ex span { color: var(--muted); }
.ex b { font-variant-numeric: tabular-nums; font-family: var(--head); }
@media (min-width: 52rem) { .tags { grid-template-columns: repeat(3, 1fr); } .tag { grid-template-columns: 1fr; } }

/* sizes */
.size-row { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.size-row li {
  font: 800 1.35rem/1 var(--athletic);
  padding: .55rem .7rem;
  min-width: 3.4rem;
  text-align: center;
  border: 1px solid var(--line);
}
.size-row li.big { color: var(--print); border-color: var(--print); }
.gap {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 2px dashed var(--print);
  border-radius: 6px;
  max-width: 40rem;
}
.gap-title { font: 700 1rem/1.3 var(--head); color: var(--print); margin-bottom: .3rem; }

/* dates: the hem-to-collar track */
.track { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0; max-width: 40rem; }
.track li {
  position: relative;
  display: grid;
  gap: .15rem;
  padding: 0 0 1.6rem 2rem;
  border-left: 2px solid var(--line);
  margin-left: .45rem;
}
.track li:last-child { border-left-color: transparent; padding-bottom: 0; }
.track li::before {
  content: "";
  position: absolute;
  left: -.5rem;
  top: .35rem;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: var(--fabric);
  border: 2px solid var(--print);
}
.track b { font: 700 1.15rem/1.35 var(--head); }
.track span { color: var(--muted); }
.track-hot::before { background: var(--print) !important; }
.track-hot b { color: var(--print); font-size: 1.35rem; }
.countdown { font-weight: 600; color: var(--ink) !important; }

/* how */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; max-width: 40rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; column-gap: .9rem; }
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  font: 800 2.6rem/.9 var(--athletic);
  color: var(--print);
  text-align: right;
}
.steps b { font: 700 1.1rem/1.4 var(--head); }
.steps span { color: var(--muted); }
.btn-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 3.4rem;
  padding: .8rem 1.8rem;
  font: 700 1.1rem/1.2 var(--head);
  color: var(--on-print);
  background: var(--print);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 24px -14px var(--shade);
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.btn-big:hover { background: var(--print-deep); text-decoration: none; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); max-width: 44rem; }
.faq details:first-of-type { margin-top: 1.25rem; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 3rem;
  font: 600 1.05rem/1.4 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .7rem;
  height: .7rem;
  border-right: 2px solid var(--print);
  border-bottom: 2px solid var(--print);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); max-width: 38rem; }

/* footer */
.foot {
  margin-top: clamp(4rem, 10vw, 7rem);
  padding: 2.5rem var(--pad) 2rem;
  border-top: 2px solid var(--trim);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .5rem;
}
.mark-sm { width: 2.2rem; margin: 0 0 .5rem; }
.foot-line { font: 700 1.1rem/1.3 var(--head); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.foot-links a { font-weight: 600; padding: .4rem 0; }
.foot-small { font-size: .85rem; color: var(--muted); max-width: 30rem; margin-top: .75rem; }

/* dock: order button always reachable */
.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--dock-h);
  padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--fabric);
  border-top: 2px solid var(--trim);
  box-shadow: 0 -10px 24px -16px var(--shade);
}
.dock-info { font: 600 .9rem/1.3 var(--head); color: var(--muted); }
.dock-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .6rem 1.9rem;
  font: 700 1.15rem/1 var(--head);
  color: var(--on-print);
  background: var(--print);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.dock-btn:hover { background: var(--print-deep); text-decoration: none; }
.dock-btn:active { transform: translateY(1px); }
@media (min-width: 52rem) {
  .dock { left: auto; right: 1.5rem; bottom: 1.5rem; border: 1px solid var(--trim); border-radius: 999px; padding: .5rem .5rem .5rem 1.5rem; }
  body { padding-bottom: 2rem; }
  .back { min-height: 100svh; }
  .print .print-num { font-size: clamp(8rem, 36svh, 30rem); }
}
[data-state="closed"] .dock-btn, [data-state="closed"] .btn-big { background: transparent; color: var(--print); border: 1px solid var(--print); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-h) + 1rem + env(safe-area-inset-bottom));
  z-index: 40;
  max-width: calc(100% - 2rem);
  padding: .7rem 1.1rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--fabric);
  font: 600 .95rem/1.4 var(--head);
  box-shadow: 0 10px 24px -10px var(--shade);
  transform: translate(-50%, 1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* colourway re-dye: one wipe from the top */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: dye .6s var(--ease); }
@keyframes dye { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* let the fabric stripe run through the photo backgrounds */
html[data-kit="dark"] .model-pic img { mix-blend-mode: lighten; }
html[data-kit="light"] .model-pic img { mix-blend-mode: darken; }
