:root {
  --pink: #ff2e93; --yellow: #ffe23f; --cyan: #19d3e6; --ink: #141414; --paper: #fffaf0; --soft: #f3ece2;
  --line: #141414; --muted: #5c5550; --radius: 18px;
  --font: Fredoka, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.4 system-ui, -apple-system, sans-serif; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; padding-bottom: 96px; }
button, input, a { font: inherit; }
h1, h2, h3, .logo, .cta, .big-choice, .chip, .price { font-family: var(--font); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px; background: var(--yellow); border-bottom: 3px solid var(--line); }
.logo { border: 0; background: none; padding: 0; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; letter-spacing: -0.3px; }
.logo b { color: var(--pink); }
.lock { font-size: 12px; font-weight: 600; background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }

main { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.screen { display: none; padding: 18px 0 24px; animation: pop .25s ease-out; }
.screen.active { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hidden { display: none !important; }

h1 { font-size: clamp(32px, 8vw, 54px); line-height: 1.02; margin: 10px 0 12px; letter-spacing: -1px; }
h2 { font-size: 28px; margin: 6px 0 6px; letter-spacing: -0.5px; }
h3 { font-size: 22px; margin: 18px 0 4px; }
.wobble { display: inline-block; color: var(--pink); transform: rotate(-3deg); text-shadow: 3px 3px 0 var(--yellow), 5px 5px 0 var(--line); }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.q { font-family: var(--font); font-weight: 600; font-size: 20px; margin: 18px 0 10px; }
.hint { color: var(--muted); margin: 0 0 12px; }
.fine { font-size: 13px; color: var(--muted); margin: 8px 0; }
.center { text-align: center; }

.pick2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.big-choice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px; border: 3px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: 5px 5px 0 var(--line); transition: transform .08s, box-shadow .08s; }
.big-choice:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--line); }
.big-choice .emoji { font-size: 46px; line-height: 1; }
.big-choice:nth-child(1) { background: #ffd1e6; } .big-choice:nth-child(2) { background: #c9f4f9; }
.how { max-width: 520px; margin: 22px 0 0; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px 4px; }
.how-title { font-family: var(--font); font-weight: 600; font-size: 15px; margin: 0 0 2px; color: var(--muted); }
.how ol { list-style: none; padding: 0; margin: 0; counter-reset: how; }
.how li { counter-increment: how; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--soft); font-size: 15px; line-height: 1.3; }
.how li:first-child { border-top: 0; }
.how li::before { content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/1 var(--font); }
.how li small { grid-column: 2; display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.promises { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; max-width: 520px; }
.promises li { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px 16px; border: 3px dashed var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; text-align: center; max-width: 560px; }
.drop:hover { background: #fffbe0; }
.drop input { display: none; }
.drop-icon { font-size: 44px; }
.drop-main { font-family: var(--font); font-weight: 700; font-size: 22px; }
.drop-sub { color: var(--muted); font-size: 14px; }
.or { font-weight: 600; margin: 20px 0 8px; }
.samples { display: flex; gap: 10px; flex-wrap: wrap; }
.samples button { width: 76px; height: 76px; padding: 0; border: 3px solid var(--line); border-radius: 50%; overflow: hidden; cursor: pointer; background: #ddd; }
.samples img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; } /* our samples are portraits with the face in the upper half */

.working { display: flex; flex-direction: column; align-items: center; padding: 70px 0; text-align: center; }
.spinner { width: 84px; height: 84px; border-radius: 50%; border: 6px solid var(--yellow); border-top-color: var(--pink); animation: spin 0.9s linear infinite; display: grid; place-items: center; }
.spinner span { animation: spin 0.9s linear infinite reverse; font-size: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }
#work-msg { font-family: var(--font); font-weight: 600; font-size: 22px; margin: 18px 0 0; }

.adjust-wrap { max-width: 560px; border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #222; touch-action: none; }
#adjust { display: block; width: 100%; height: auto; cursor: grab; touch-action: none; }
.zoom { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 12px 0; font-weight: 600; }
.zoom input { flex: 1; accent-color: var(--pink); }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 3px solid var(--line); border-radius: 99px; background: var(--pink); color: #fff;
  font-weight: 700; font-size: 19px; padding: 12px 22px; cursor: pointer; text-decoration: none; box-shadow: 4px 4px 0 var(--line); transition: transform .08s, box-shadow .08s; }
.cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.cta:disabled { background: #bbb; cursor: not-allowed; box-shadow: none; }
.cta.big { width: 100%; font-size: 21px; padding: 15px 22px; margin: 8px 0; }
.ghost { border: 3px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 18px; font-weight: 700; cursor: pointer; font-family: var(--font); font-size: 16px; }
.ghost.small { padding: 6px 14px; font-size: 15px; }
.link { border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; font-weight: 600; }

.pillows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .pillows { grid-template-columns: repeat(4, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 3px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: pointer;
  box-shadow: 4px 4px 0 var(--line); transition: transform .08s, box-shadow .08s; }
.pcard:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.pcard.on { outline: 4px solid var(--pink); outline-offset: 2px; }
.pcard .pv { position: relative; aspect-ratio: 1 / 1; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.pcard .pv canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard .pt { padding: 8px 10px 10px; }
.pcard .pn { font-family: var(--font); font-weight: 700; font-size: 18px; display: block; }
.pcard .ps { font-size: 13px; color: var(--muted); display: block; }
.pcard .pp { font-weight: 700; font-size: 14px; display: block; margin-top: 2px; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--yellow); border: 2px solid var(--line); border-radius: 99px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.shimmer { width: 100%; height: 100%; background: linear-gradient(100deg, #efe7dc 30%, #fff6e8 50%, #efe7dc 70%); background-size: 200% 100%; animation: sh 1.1s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.bodies { margin-top: 10px; }
.body-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.body-row .pcard .pv { aspect-ratio: 3 / 4; }
.adult { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px; max-width: 560px; cursor: pointer; }
.adult input { width: 22px; height: 22px; accent-color: var(--pink); flex: none; margin-top: 1px; }

.grid-head { position: sticky; top: 52px; z-index: 5; background: var(--paper); padding: 6px 0 8px; border-bottom: 2px solid #eadfce; margin-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.chip { flex: none; border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; cursor: pointer; font-size: 15px; }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; }
.ugly { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; }
.ugly-label { font-family: var(--font); font-weight: 700; font-size: 18px; grid-row: span 2; }
.ugly input { width: 100%; accent-color: var(--pink); }
.ugly-stops { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.more-head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-family: var(--font); font-size: 20px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tile { position: relative; border: 3px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: pointer; padding: 0; text-align: left; display: flex; flex-direction: column; }
.tile .art { position: relative; aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; display: grid; place-items: center; }
.tile.tall .art { aspect-ratio: 3 / 4.4; }
.tile .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile.tall .art canvas { object-fit: contain; }
.tile .meta { display: flex; align-items: center; gap: 6px; padding: 7px 9px 9px; min-height: 52px; }
.tile .nm { font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1.1; }
.tile .bl { font-size: 12px; color: var(--muted); display: block; font-family: system-ui, sans-serif; font-weight: 400; }
.tile .more { position: absolute; left: 6px; bottom: 6px; z-index: 2; border: 2px solid var(--line); border-radius: 99px; background: var(--cyan); font-size: 12px; font-weight: 700; padding: 3px 9px; cursor: pointer; box-shadow: 2px 2px 0 var(--line); }
@media (min-width: 760px) { .tile .more { font-size: 13px; left: 8px; } }
.tile.on { outline: 5px solid var(--pink); outline-offset: 1px; }
.tile.on::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; border: 3px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.grid-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toast { background: #fff4c2; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 240, 0.96); border-top: 3px solid var(--line); backdrop-filter: blur(6px); }
.sticky .cta { flex: 1; max-width: 420px; white-space: nowrap; font-size: 18px; padding: 12px 14px; }
.sticky .ghost { white-space: nowrap; padding: 10px 14px; }

.back { margin-bottom: 4px; }
.order-views { display: grid; gap: 10px; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.order-views > figure { scroll-snap-align: start; align-self: start; }
.order-views:has(> figure:only-child) { grid-auto-columns: 100%; }
@media (min-width: 760px) { .order-views { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; } #s-order .order-box { max-width: 560px; } }
.order-views figure { margin: 0; border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.order-views canvas { width: 100%; height: auto; display: block; }
.order-views figcaption { font-size: 13px; font-weight: 600; padding: 6px 10px; background: #fff; border-top: 2px solid var(--line); }
.order-box { margin-top: 14px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.size { border: 3px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.size[aria-pressed="true"] { background: var(--yellow); }
.size small { display: block; font-weight: 500; font-size: 13px; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price { font-size: 34px; font-weight: 700; }
.ship { font-weight: 700; color: #0a8a3a; }

.code-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
#code { color: var(--ink); cursor: pointer; font-family: var(--font); font-size: 46px; font-weight: 700; letter-spacing: 3px; background: var(--yellow); border: 3px solid var(--line); border-radius: 14px; padding: 4px 16px; box-shadow: 4px 4px 0 var(--line); }
.steps { padding-left: 22px; margin: 8px 0 14px; max-width: 560px; }
.steps li { margin: 6px 0; }
#s-done .cta.big, #s-done .ghost { max-width: 560px; }
#s-done .ghost { width: 100%; margin-top: 6px; }
.done-preview { max-width: 360px; margin: 18px 0 6px; border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.done-preview canvas { width: 100%; display: block; }

.lock .short { display: none; }
@media (max-width: 480px) { .lock .long { display: none; } .lock .short { display: inline; } }
.tile.tall .more { bottom: auto; top: 6px; }
.tile.wide .art { aspect-ratio: 1.42 / 1; }
@media (min-width: 760px) {
  #s-order.active { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: start; }
  #s-order > .back, #s-order > h2 { grid-column: 1 / -1; justify-self: start; }
  #s-order .order-views { display: contents; }
  #s-order .order-views > figure:first-child { grid-column: 1; grid-row: 3; }
  #s-order .order-views > figure:nth-child(2) { grid-column: 2; grid-row: 3 / span 2; }
  #s-order .order-box { grid-column: 1; grid-row: 4; max-width: none; }
  #s-order:not(:has(.order-views > figure:nth-child(2))) .order-box { grid-column: 2; grid-row: 3; margin-top: 0; }
}
#s-done .code-box .ghost { width: auto; margin-top: 0; }
.body-row { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 10px; }
@media (min-width: 760px) { .body-row { grid-template-columns: repeat(6, 1fr); } }
.body-row .pcard .pv { aspect-ratio: 1 / 2.4; }
.body-row .pcard .pn { font-size: 13px; }
.set-title { grid-column: 1 / -1; margin: 8px 0 0; font-family: var(--font); font-size: 17px; }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 20, 0.6); display: grid; place-items: center; padding: 12px; }
.modal .sheet { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); padding: 14px 16px; width: min(440px, 100%); max-height: 96vh; overflow: auto; }
.modal h3 { margin: 0 0 2px; }
.adj-stage { display: grid; place-items: center; background: var(--soft); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; touch-action: none; }
#adj-canvas { height: min(56vh, 620px); width: auto; display: block; cursor: grab; touch-action: none; }
.adj-buttons { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }

/* ---- flow 2 (2026-11-14): intensity step, nine styles, six variations, body viewer ---- */
body { padding-bottom: 32px; }
.levels-cards { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 900px; }
@media (min-width: 640px) { .levels-cards { grid-template-columns: repeat(3, 1fr); } }
.pcard.level .pn { font-size: 22px; }
.levels { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.lv-label { font-family: var(--font); font-weight: 700; font-size: 18px; margin-right: 4px; }
.lv { flex: 1; min-width: 92px; border: 3px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 8px; font-family: var(--font); font-weight: 700; font-size: 16px; cursor: pointer; }
.lv[aria-pressed="true"] { background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--line); }
.grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 520px) { .grid { gap: 8px; } .tile .nm { font-size: 13.5px; } .tile .bl { display: none; } .tile .meta { min-height: 0; padding: 6px 7px; } }
.grid.micro { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .grid.micro { grid-template-columns: repeat(3, 1fr); } }
.grid.chars { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 760px) { .grid.chars { grid-template-columns: repeat(5, 1fr); } }
.grid.chars .tile.tall .art { aspect-ratio: 1 / 2.7; }
.grid .set-title { grid-column: 1 / -1; margin: 10px 0 0; font-family: var(--font); font-size: 19px; }
button.tile { font: inherit; color: inherit; }
.tile:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--line); }
.tile .go { margin-left: auto; font-family: var(--font); font-weight: 700; font-size: 13px; background: var(--pink); color: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 2px 9px; white-space: nowrap; }
.rowlabel { font-size: 13px; font-weight: 700; color: var(--muted); margin: 10px 0 4px; }
.viewer { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .viewer { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.view-pillow { border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); display: grid; place-items: center; }
#view-big { display: block; width: auto; max-width: 100%; height: auto; max-height: 82vh; }
@media (max-width: 759px) { .view-pillow { order: 2; } #view-big { max-height: none; width: 100%; } }
.view-zoom { border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#view-zoom { display: block; width: 100%; height: auto; }
.view-micros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.vthumb { border: 3px solid var(--line); border-radius: 12px; background: #fff; padding: 0; overflow: hidden; cursor: pointer; font: inherit; text-align: left; }
.vthumb .art { position: relative; aspect-ratio: 1 / 1; background: var(--soft); }
.vthumb .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vthumb span { display: block; font-size: 12px; font-weight: 700; padding: 4px 6px 6px; line-height: 1.15; font-family: var(--font); }
.vthumb.on { outline: 4px solid var(--pink); outline-offset: 1px; }
.adult.nudge { animation: nudge .5s; border-color: var(--pink); background: #fff0f6; }
@keyframes nudge { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
/* the three strengths sit side by side even on a phone: the point is to compare them at a glance */
.levels-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 640px) { .pcard.level .pn { font-size: 15px; } .pcard.level .ps { font-size: 11.5px; } .pcard.level .pt { padding: 6px 7px 8px; } .pcard.level { box-shadow: 3px 3px 0 var(--line); } }
@media (max-width: 640px) { .lv-label { flex-basis: 100%; font-size: 16px; } .lv { min-width: 0; font-size: 14.5px; padding: 9px 4px; } }

/* the intensity step: one image, one slider */
.level-view { max-width: 460px; margin: 0 auto; }
.level-view .pv { position: relative; aspect-ratio: 1 / 1; background: var(--soft); border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--line); }
.level-view .pv canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#level-slider { width: 100%; margin: 18px 0 4px; accent-color: var(--pink); height: 34px; }
.level-stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.level-stops button { border: 0; background: none; font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; padding: 4px 0; }
.level-stops button:nth-child(1) { text-align: left; } .level-stops button:nth-child(3) { text-align: right; }
.level-stops button[aria-pressed="true"] { color: var(--pink); }

/* ---- pillow tabs with thumbnails, all styles on one screen, body size slider, cut-out dials ---- */
.ptabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.ptab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 7px; border: 3px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; }
.ptab .pth { display: grid; place-items: center; width: 100%; height: 64px; overflow: hidden; border-radius: 8px; background: var(--soft); }
.ptab .pth canvas { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.ptab .ptn { font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1.1; text-align: center; }
.ptab[aria-selected="true"] { background: var(--yellow); box-shadow: 3px 3px 0 var(--line); }
@media (min-width: 760px) { .ptab { flex-direction: row; justify-content: center; gap: 10px; padding: 8px 10px; } .ptab .pth { width: 84px; height: 72px; flex: none; } .ptab .ptn { font-size: 17px; text-align: left; } }
@media (max-width: 420px) { .ptab .ptn { font-size: 12px; } .ptab .pth { height: 52px; } }
.grid-head { top: 52px; }
.view-micros { grid-template-columns: repeat(4, 1fr); }
.adult.plain { border-width: 2px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.zoom .ends { font-size: 11px; font-weight: 600; color: var(--muted); flex: none; }
.modal .zoom { margin: 8px 0; }
/* on a phone the pinned selector would take a third of the screen: let it scroll away there */
@media (max-width: 640px) { .grid-head { position: static; } }

/* four stops on the dial: Plain, then the three strengths */
.level-stops { grid-template-columns: repeat(4, 1fr); }
.level-stops button:nth-child(2) { text-align: left; padding-left: 14%; } .level-stops button:nth-child(3) { text-align: right; padding-right: 14%; } .level-stops button:nth-child(4) { text-align: right; }
.lv { min-width: 0; }
@media (max-width: 640px) { .lv { font-size: 13px; padding: 9px 2px; } .levels { gap: 5px; } .level-stops button { font-size: 13px; } }

/* the 3-day hold on the last page: true (unordered designs are deleted) and a nudge to order now */
.hold { background: var(--yellow, #ffe23f); border: 2px solid var(--ink, #141414); border-radius: 12px; padding: 8px 12px; font-weight: 600; max-width: 560px; margin: 10px 0; }

/* four pillows (the Bestie Pillow was dropped on 2026-11-16; its swap bar stays for the day it comes back) */
@media (min-width: 760px) { .pillows { grid-template-columns: repeat(4, 1fr); } }
.ptabs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .ptabs { gap: 5px; } .ptab .ptn { font-size: 11px; line-height: 1.15; } }
.bestie-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
/* the background colour picker, on the styles that have a flat colour behind the faces */
.fill-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.fill-bar .fl { font-family: var(--font); font-weight: 700; font-size: 16px; margin-right: 2px; }
.fill-bar .sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--ink, #141414); cursor: pointer; padding: 0; flex: none; position: relative; overflow: hidden; display: inline-block; }
.fill-bar .sw[aria-pressed="true"], .fill-bar .sw.custom[data-on="true"] { outline: 3px solid var(--pink, #ff2e93); outline-offset: 2px; }
.fill-bar .sw.orig { width: auto; border-radius: 99px; padding: 0 12px; }
.fill-bar .sw.orig span { font-family: var(--font); font-weight: 700; font-size: 13px; color: #141414; background: rgba(255,255,255,0.86); border-radius: 99px; padding: 1px 8px; }
.fill-bar .sw.custom { background: conic-gradient(#ff5a5a, #ffd23f, #5ee35a, #19d3e6, #7c4dff, #ff2e93, #ff5a5a); }
.fill-bar .sw.custom input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); opacity: 0; cursor: pointer; border: 0; padding: 0; }
.copied { max-width: 560px; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: #e3f6e8; border: 2px solid #0a8a3a; color: #0b5c2a; font-weight: 600; }
.steps li b { white-space: nowrap; }
.copied.no { background: #fff; border-color: var(--line); color: var(--ink); }
#s-done .keep { max-width: 560px; margin: 6px 2px 0; }
