/* Laku — direction D "Porcelain". One typeface, quiet ground, ink type, teal used sparingly. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* Display face for the MAU! button only: Titan One (OFL), Latin subset renamed "Laku Display"
   because the licence reserves the name "Titan" for unmodified copies. 6 KB, downloads only where used. */
@font-face {
  font-family: "Laku Display";
  src: url("/fonts/laku-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #FBFBFA;
  --ink: #1C1C1E;
  --muted: #6B6B70;
  --line: #E6E6E2;
  --line-strong: #DCDCD8;
  --fill: #EFEFEC;
  /* Two colours: ink on paper. Red is kept only for "live". The old teal accent now resolves to ink,
     so every accent in the app reads as ink; shops bring the colour through their frames. */
  --teal: var(--ink);
  --teal-fill: var(--fill);
  --live: #D93A30;
  --red: #B32E25;
  --white: #FFFFFF;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.8125rem;  /* 13 */
  --step-0: 1rem;        /* 16 */
  --step-1: 1.125rem;    /* 18 */
  --step-2: 1.375rem;    /* 22 */
  --step-3: 1.75rem;     /* 28 */

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --gutter: 16px;
  --tap: 44px;

  /* Laku's own colour: jade (the teal, deepened for large areas) and a sun yellow for small marks. */
  --jade: #0B6E66;
  --jade-on: #F3FBF8;
  --jade-mid: #CFF0E4;
  --sun: #F2C14E;
  --sun-on: #4A3A12;

  /* Shop colour slots. Defaults = the quiet look; .shop-* classes below swap them in. */
  --shop: var(--ink);
  --shop-on: var(--white);
  --shop-mid: #B4B2A9;
  --shop-soft: var(--fill);
  --shop-text: var(--ink);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* The 8 shop colours a seller can pick. --shop fills, --shop-on is text on it, --shop-mid is quiet text
   on it, --shop-soft a light tint, --shop-text the colour as text on the white page (dark enough to read). */
.shop-rose     { --shop: #7A2E4A; --shop-on: #FBEAF0; --shop-mid: #F4C0D1; --shop-soft: #F8E6EC; --shop-text: #7A2E4A; }
.shop-plum     { --shop: #4E2A6B; --shop-on: #F1EAF8; --shop-mid: #CDB8E3; --shop-soft: #EEE8F4; --shop-text: #4E2A6B; }
.shop-navy     { --shop: #1F3A5F; --shop-on: #E8F0FA; --shop-mid: #B5CDEA; --shop-soft: #E5ECF5; --shop-text: #1F3A5F; }
.shop-forest   { --shop: #24584E; --shop-on: #E6F6F0; --shop-mid: #9FE1CB; --shop-soft: #E2EFEB; --shop-text: #24584E; }
.shop-olive    { --shop: #4F5A1F; --shop-on: #F2F5E2; --shop-mid: #C9D39A; --shop-soft: #EEF0E0; --shop-text: #4F5A1F; }
.shop-clay     { --shop: #6B3E22; --shop-on: #F9EDE3; --shop-mid: #E3BFA4; --shop-soft: #F3E8DF; --shop-text: #6B3E22; }
.shop-mustard  { --shop: #E5B547; --shop-on: #3B2A05; --shop-mid: #6E5413; --shop-soft: #FAF0D6; --shop-text: #6E5413; }
.shop-charcoal { --shop: #2E2E30; --shop-on: #F2F2F0; --shop-mid: #B4B2A9; --shop-soft: #ECECEA; --shop-text: #2E2E30; }
/* 041, Plus colours (same values as Laku.palette). */
.shop-teal     { --shop: #0E6E6B; --shop-on: #E6F7F6; --shop-mid: #9EDDD9; --shop-soft: #E0F1F0; --shop-text: #0E6E6B; }
.shop-sky      { --shop: #2563A8; --shop-on: #EAF2FC; --shop-mid: #B9D3F0; --shop-soft: #E4EEF9; --shop-text: #2563A8; }
.shop-coral    { --shop: #B4472A; --shop-on: #FDEEE8; --shop-mid: #F5C2B0; --shop-soft: #F8E6DF; --shop-text: #A8431F; }
.shop-pink     { --shop: #B83C76; --shop-on: #FDEDF4; --shop-mid: #F2BBD5; --shop-soft: #F8E4EE; --shop-text: #A8356B; }
.shop-lilac    { --shop: #6A52B4; --shop-on: #F3F0FC; --shop-mid: #D2C8F0; --shop-soft: #EEEAF8; --shop-text: #5F48A6; }
.shop-sage     { --shop: #8FB08A; --shop-on: #1E2E1C; --shop-mid: #3E5A3A; --shop-soft: #E7EFE5; --shop-text: #3E5A3A; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  /* A soft grey wash, lighter at the top, so the shops' framed blocks are what catches the eye. */
  background: #E6E6E3 linear-gradient(180deg, #F0F0EE 0, #E4E4E1 900px, #DFDFDC 100%);
  min-height: 100dvh;
  color: var(--ink);
  font: 400 var(--step-0)/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 560px; }

.notice {
  margin: 16px 0; padding: 12px 14px;
  background: var(--fill); border-radius: var(--r-md);
  color: var(--ink); font-size: var(--step--1);
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { cursor: default; }
.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--primary:disabled { background: var(--line-strong); border-color: var(--line-strong); color: var(--muted); }
.btn--quiet { border-color: transparent; background: transparent; padding: 0 10px; color: var(--muted); }
.btn--block { width: 100%; }
.btn--danger { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .btn:not(.btn--primary):not(:disabled):hover { border-color: var(--ink); }
  .btn--quiet:not(:disabled):hover { border-color: transparent; color: var(--ink); }
}

/* ------------------------------------------------------------ live dot */

.live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 500; font-size: var(--step--1);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(217, 58, 48, 0.16);
}

/* ------------------------------------------------------------ buyer: header */

.shop-head { padding: 28px 0 20px; }
.shop-head__name {
  margin: 0; font-size: var(--step-2); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere;
}
.shop-head__tagline {
  margin: 2px 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; max-width: 46ch;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
/* Districts (046): a quiet line under the tagline. */
.shop-head__where { margin: 2px 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.themed .shop-head__where { color: var(--c1-soft); }
.shop-head__meta { display: flex; align-items: center; gap: 6px 12px; }
/* Nothing to say (not live, no status, no buyer yet): the row takes no room at all. */
.shop-head__meta:not(:has(> :not([hidden]))) { display: none; }
#who .linkbtn { min-height: 0; padding-block: 12px; margin-block: -12px; } /* 44px tap, no extra line height */

/* ------------------------------------------------------------ buyer: grid */

.grid {
  list-style: none; margin: 0; padding: 0 0 140px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px;
}
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__photo {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-md); background: var(--fill);
}
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__nophoto {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px;
  color: var(--muted); font-size: var(--step--1);
}
/* The number is the thing buyers say out loud ("ss sis 3"), so it gets the presence. */
.card__num {
  position: absolute; top: 8px; left: 8px;
  min-width: 40px; height: 40px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ground); color: var(--ink);
  border-radius: 999px;
  font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em;
}
.pill-fresh {
  position: absolute; top: 12px; right: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--teal); color: var(--white); font-size: 12px; font-weight: 500; line-height: 1.5;
}
.to-reveal { font-size: var(--step--1); color: var(--teal); font-weight: 500; }
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card__name { margin: 0; font-size: 0.9375rem; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
/* 047: seller's description, two lines until More; bundle tag above the price. */
.card__desc { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.card__desc.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.linkbtn.card__descmore { align-self: flex-start; min-height: 32px; font-size: 13px; padding: 0; margin-top: -4px; }
.card__bundle { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: 12px; font-weight: 600; line-height: 1.5; }
.card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__now { font-weight: 600; }
.card__was { color: var(--muted); text-decoration: line-through; font-size: var(--step--1); }
.card__left { color: var(--red); font-size: var(--step--1); font-weight: 500; min-height: 1.5em; }
.card__push { flex: 1; min-height: 10px; }
.card__claim { width: 100%; font-weight: 600; letter-spacing: 0.02em; }
/* "7 options" on the photo, in the same language as the number badge. Taller tap area than it looks. */
.card__optpill {
  position: absolute; right: 6px; bottom: 6px; height: 22px; padding: 0 8px;
  border: 0; border-radius: 999px; background: var(--ground); color: var(--ink);
  font-size: 12px; font-weight: 600; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out);
}
.card__optpill::after { content: ""; position: absolute; inset: -11px -4px; }
.card__optpill:active { transform: scale(0.97); }
.themed .card__optpill { background: var(--c1); color: var(--c1-on); }
/* Several options: a small deck. Two thin card edges fan out to the right and bottom of the photo.
   It all stays inside the normal photo box (the image gives up 6px), so cards in a row line up. */
.card.has-stack .card__photo { --stack: var(--ink); isolation: isolate; overflow: visible; background: none; border-radius: 0; }
.themed .card.has-stack .card__photo { --stack: var(--c1); }
.card.has-stack .card__photo::before,
.card.has-stack .card__photo::after {
  content: ""; position: absolute; z-index: -1; border-radius: var(--r-md); background: var(--white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stack) 45%, var(--white));
}
.card.has-stack .card__photo::before { inset: 6px 0 0 6px; } /* bottom of the deck */
.card.has-stack .card__photo::after { inset: 3px 3px 3px 3px; }
.card.has-stack .card__photo img,
.card.has-stack .card__nophoto {
  position: absolute; inset: 0 6px 6px 0; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: var(--r-md);
}
.card.has-stack .card__nophoto { background: var(--fill); }
.card.has-stack .card__optpill { right: 12px; bottom: 12px; }

.card.is-sold .card__photo img,
.card.is-sold .card__nophoto { filter: grayscale(1); opacity: 0.45; }
.card.is-sold .card__name,
.card.is-sold .card__now { color: var(--muted); }
.card.is-sold .card__left { color: var(--muted); }

/* Claimed: the button settles into a teal-tinted state. */
.claim-btn { position: relative; overflow: hidden; }
.claim-btn .claim-btn__label { display: inline-block; transition: opacity 160ms ease, filter 160ms ease; }
.claim-btn.is-busy .claim-btn__label { opacity: 0.55; filter: blur(1px); }
.claim-btn.is-claimed { background: var(--teal-fill); border-color: var(--teal-fill); color: var(--teal); }
.claim-btn.is-claimed .tick { width: 16px; height: 16px; }
.claim-btn.is-claimed .tick path {
  stroke-dasharray: 18; stroke-dashoffset: 18;
  animation: tick 260ms var(--ease-out) 40ms forwards;
}
@keyframes tick { to { stroke-dashoffset: 0; } }
.claim-btn:disabled:not(.is-claimed) { background: var(--fill); border-color: var(--fill); color: var(--muted); }

.empty { padding: 48px 0 160px; color: var(--muted); max-width: 40ch; }

/* ------------------------------------------------------------ buyer: cart bar */

.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  /* First claim: the bar slides up instead of popping in. */
  transition: transform 220ms var(--ease-out);
  @starting-style { transform: translateY(100%); }
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 251, 250, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
}
.cartbar.is-leaving { transform: translateY(100%); transition-duration: 160ms; }
.cartbar__inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.cartbar__sum {
  flex: 1; min-width: 0; min-height: var(--tap); line-height: 1.25;
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
}
.cartbar__link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.cartlist { list-style: none; margin: 0; padding: 0; }
.cartlist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.cartlist li:first-child { border-top: 0; }
.cartlist__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartlist__name { font-weight: 500; overflow-wrap: anywhere; }
.cartlist__st { font-size: var(--step--1); color: var(--muted); }
.cartlist__st.is-held { color: var(--teal); }
.cartlist__price { font-weight: 600; white-space: nowrap; }
.cartlist li.is-done .cartlist__name, .cartlist li.is-done .cartlist__price { color: var(--muted); }
.cartlist li.is-done .cartlist__price { text-decoration: line-through; }
/* How many, on pre-order lines. The number is typeable: 30 is a normal order for a catering seller. */
.cartqty { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.cartqty__btn {
  width: 40px; height: var(--tap); border: 0; border-radius: 999px; background: none; color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out);
}
.cartqty__btn:active { transform: scale(0.95); }
.cartqty__n {
  width: 38px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none;
  font-size: 16px; font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.cartqty__n::-webkit-inner-spin-button, .cartqty__n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#cart-err:not(:empty) { margin: 8px 0 0; }
/* Option picker */
.pick__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pick__photo {
  flex: none; width: 84px; aspect-ratio: 3 / 4; border-radius: var(--r-sm);
  background: var(--fill) center / cover no-repeat;
}
.picklist { list-style: none; margin: 0; padding: 0; }
.picklist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.picklist li:first-child { border-top: 0; }
.pick__opt {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  min-height: var(--tap); padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.pick__thumb { flex: none; width: 40px; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--fill) center / cover no-repeat; }
.pick__text { min-width: 0; display: flex; flex-direction: column; }
.pick__name { font-weight: 500; overflow-wrap: anywhere; }
.pick__meta { font-size: var(--step--1); color: var(--muted); }
.pick__meta .card__was { margin-left: 6px; }
.pick__left { color: var(--red); }
.pick__opt[aria-pressed="true"] .pick__name { text-decoration: underline; text-underline-offset: 3px; }
.picklist li.is-sold .pick__name, .picklist li.is-sold .pick__thumb { opacity: 0.45; }
.picklist .claim-btn { flex: none; min-width: 118px; }

.claim-btn.is-waiting { background: var(--fill); border-color: var(--fill); color: var(--ink); }
.card__left.is-quiet { color: var(--muted); }
.cartbar__total { display: block; font-size: var(--step-1); font-weight: 600; overflow: hidden; height: 1.4em; }
.cartbar__total span { display: inline-block; }
.cartbar__count { display: block; color: var(--muted); font-size: var(--step--1); overflow: hidden; height: 1.5em; white-space: nowrap; text-overflow: ellipsis; }
.cartbar__count span { display: inline-block; }
.linkbtn {
  border: 0; background: none; padding: 0; min-height: var(--tap); cursor: pointer;
  color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-size: inherit;
}
.shop-head__meta { flex-wrap: wrap; }
.cartbar .btn--primary { padding: 0 22px; }

.footer {
  padding: 24px 0 calc(110px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: var(--step--1);
  border-top: 1px solid var(--line);
}
.footer a { text-decoration: none; display: inline-flex; min-height: var(--tap); align-items: center; }
.footer a:hover { color: var(--ink); }

/* ------------------------------------------------------------ sheet (dialog) */

.sheet {
  position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 560px;
  max-height: calc(100dvh - 24px);
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--ground); color: var(--ink);
  overflow-y: auto;
  transform: none; /* not translateY(0): a transform would make fixed children (the seller guide's spotlight) relative to the sheet */
  transition: transform 300ms var(--ease-drawer), display 300ms allow-discrete, overlay 300ms allow-discrete;
}
.sheet:not([open]) { transform: translateY(100%); transition-duration: 200ms; } /* closing snaps */
@starting-style { .sheet[open] { transform: translateY(100%); } }
.sheet::backdrop {
  background: rgba(28, 28, 30, 0.32);
  transition: opacity 300ms ease, display 300ms allow-discrete, overlay 300ms allow-discrete;
  opacity: 1;
}
.sheet:not([open])::backdrop { opacity: 0; transition-duration: 200ms; }
@starting-style { .sheet[open]::backdrop { opacity: 0; } }
@media (min-width: 720px) {
  .sheet { inset: 0; margin: auto; height: fit-content; border-radius: var(--r-lg); max-height: calc(100dvh - 64px); }
  .sheet:not([open]) { transform: translateY(12px); opacity: 0; transition-duration: 160ms; }
  @starting-style { .sheet[open] { transform: translateY(12px); opacity: 0; } }
  .sheet { transition: transform 220ms var(--ease-out), opacity 220ms ease, display 220ms allow-discrete, overlay 220ms allow-discrete; }
}
.sheet__grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 16px; }
@media (min-width: 720px) { .sheet__grab { display: none; } .sheet { padding-top: 24px; } }
.sheet__title { margin: 0; font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }
.sheet__lede { margin: 6px 0 20px; color: var(--muted); }
.sheet__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }

/* ------------------------------------------------------------ forms */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field__label { font-weight: 500; font-size: 0.9375rem; }
.field__hint { color: var(--muted); font-size: var(--step--1); }
.field__err { color: var(--red); font-size: var(--step--1); min-height: 0; }
.save-err { margin: 0; text-align: center; }
.save-err:empty { display: none; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font-size: 16px; /* never under 16: stops iOS zoom */
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  transition: border-color 160ms ease;
}
.input:focus { outline: none; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--red); }
.input-affix { display: flex; align-items: stretch; }
.input-affix__pre {
  display: flex; align-items: center; padding: 0 12px;
  background: var(--fill); border: 1px solid var(--line-strong); border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md); color: var(--muted); white-space: nowrap;
}
.input-affix .input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.input-affix__post {
  display: flex; align-items: center; padding: 0 12px;
  background: var(--fill); border: 1px solid var(--line-strong); border-left: 0;
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--muted); white-space: nowrap;
}
.input-affix--post .input { border-radius: var(--r-md) 0 0 var(--r-md); }

/* Sale (038): dashboard switch panel, the item sheet's price / % box, and the shop page labels. */
.salebox__more { margin-top: 10px; }
.salebox__more > summary { list-style: none; display: inline-flex; min-height: 36px; align-items: center; cursor: pointer; }
.salebox__more > summary::-webkit-details-marker { display: none; }
.salebox__more[open] > summary { margin-bottom: 12px; }
.salebox__until .input { max-width: 220px; }
.salebox__all { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.salebox__pct { width: 110px; }
.salebox__pct .input { min-width: 0; text-align: center; }
.salefield { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.salefield .seg { flex: none; }
.salefield .seg button { white-space: nowrap; padding: 0 12px; }
.salefield .input-affix { flex: 1; min-width: 140px; }
.salefield .input-affix .input { min-width: 0; }
.card__pct { padding: 0 6px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; line-height: 18px; }
.sale-tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ink); color: var(--white); }
.itemrow__sale { font-weight: 600; color: var(--ink); }
.themed .shop-head .sale-tag { background: var(--white); color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Segmented control */
.seg {
  display: flex; padding: 3px; gap: 2px;
  background: var(--fill); border-radius: 999px;
}
.seg button {
  flex: 1; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-weight: 500; font-size: 0.9375rem; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(28, 28, 30, 0.08); }
.seg--wide { border-radius: var(--r-md); }
.seg--wide button { border-radius: 9px; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.stepper button {
  width: var(--tap); height: var(--tap); border: 0; background: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--ink); border-radius: 999px;
  transition: transform 140ms var(--ease-out);
}
.stepper button:active { transform: scale(0.95); }
.stepper button:disabled { color: var(--line-strong); cursor: default; }
/* The number is typeable (16px so iPhones don't zoom in). Wide enough for 4 digits. */
.stepper__n {
  width: 52px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.stepper__n::-webkit-inner-spin-button, .stepper__n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------------------ seller tools */

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; text-decoration: none; }
/* Small "Beta" pill beside the Laku wordmark. Sits on the cap height, never competes with the name. */
.beta {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  background: var(--sun); color: var(--sun-on);
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5; vertical-align: top;
}
/* The lakuBN logo (img/logo.svg, drawn by tools/laku-logo.py). Height sets size; width follows. */
.logo { display: block; height: 32px; width: auto; }
.hub__mark { display: flex; align-items: flex-start; }
.hub__mark .logo { height: clamp(64px, 20vw, 92px); }
/* "by SC.Atelier" tucked under the logo, lined up with the start of "laku". */
.byline {
  display: inline-flex; align-items: center; min-height: var(--tap); margin: -10px 0 4px 4px;
  font-size: var(--step--1); font-weight: 500; letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
}
.byline:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Sits on the logo's baseline, right after "BN", so it stays clear of "Your shop" in the top corner. */
.hub__mark .beta { align-self: flex-end; margin: 0 0 3px 8px; font-size: 13px; padding: 2px 9px; letter-spacing: 0.01em; }

.panel { padding: 24px 0; border-bottom: 1px solid var(--line); }
.panel:last-child { border-bottom: 0; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel__title { margin: 0; font-size: var(--step-1); font-weight: 600; }
.h1 { margin: 28px 0 6px; font-size: var(--step-3); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.lede { margin: 0 0 24px; color: var(--muted); }

.shopline { display: flex; flex-direction: column; gap: 10px; }
.shopline__name { margin: 0; font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }
/* The shop link is the thing sellers share, so it reads as an address box, not a caption. */
.shopline__link { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 12px; background: var(--fill); }
.shopline__label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.shopline__url { color: var(--ink); font-size: var(--step-1); font-weight: 600; letter-spacing: -0.005em; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.shopline__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.livebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.livebox__state { font-weight: 500; }
.livebox__state.is-off { color: var(--muted); }
.livebox__hint { margin: 8px 0 0; color: var(--muted); font-size: var(--step--1); }
.livebox__sound { margin-top: 10px; }

.claims { list-style: none; margin: 4px 0 0; padding: 0; font-size: 0.9375rem; }
.claims li { padding: 12px 0; border-top: 1px solid var(--line); }
.claims li:first-child { border-top: 0; }
.claims li.muted { color: var(--muted); }
.claim__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.claim__who { font-weight: 600; }
.claim__hoy { display: block; color: var(--red); font-size: var(--step--1); font-weight: 500; }
.claim__lines { list-style: none; margin: 6px 0 0; padding: 0; }
.claims .claim__lines li { padding: 6px 0; border-top: 0; display: flex; flex-direction: column; }
.claim__total { margin-top: 6px; font-weight: 600; }
.claim__item { color: var(--ink); }
.claim__st { color: var(--muted); font-size: var(--step--1); }
.claim__st.is-held { color: var(--teal); }
.claim__phone { color: var(--teal); text-decoration: none; display: inline-flex; min-height: var(--tap); align-items: center; white-space: nowrap; }
.claim__actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.claim__actions .btn { padding: 0 16px; }
.claims li.is-done .claim__who, .claims li.is-done .claim__item { color: var(--muted); }

.itemlist { list-style: none; margin: 0; padding: 0; }
.itemrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.itemrow:first-child { border-top: 0; }
.itemrow__open {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.itemrow__thumb {
  position: relative; flex: none; width: 48px; aspect-ratio: 3 / 4; border-radius: var(--r-sm);
  background: var(--fill) center / cover no-repeat;
}
.itemrow__num {
  position: absolute; left: -6px; top: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); border-radius: 999px; font-size: 12px; font-weight: 600;
}
.itemrow__text { min-width: 0; display: flex; flex-direction: column; }
.itemrow__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itemrow__meta { color: var(--muted); font-size: var(--step--1); }
.itemrow__meta .tag { color: var(--teal); }
.itemrow.is-hidden .itemrow__thumb, .itemrow.is-hidden .itemrow__name { opacity: 0.5; }

.photo-pick {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 220px; aspect-ratio: 3 / 4; margin: 0 auto 8px;
  border-radius: var(--r-md); background: var(--fill) center / cover no-repeat;
  border: 1px dashed var(--line-strong); cursor: pointer; color: var(--muted); text-align: center; padding: 16px;
}
.photo-pick.has-photo { border-style: solid; border-color: transparent; color: transparent; }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* Take photo (camera) beside the gallery box: the input fills the label, invisible, like .photo-pick's. */
.photo-cam { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 220px; margin: 0 auto 6px; cursor: pointer; }
.photo-cam__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
/* 047: item description + bundle */
#i-desc { min-height: 84px; resize: vertical; line-height: 1.4; }
.bundle .check { margin-bottom: 0; }
.bundle__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 0 34px; }
.bundle__qty .field__label { margin: 0; }
.bundle__qty .input { width: 76px; text-align: center; font-size: 18px; font-weight: 600; }
.bundle__qty .field__err { flex-basis: 100%; }
.photo-meta { text-align: center; color: var(--muted); font-size: var(--step--1); min-height: 1.5em; margin-bottom: 16px; }

/* Option rows in the item sheet */
.optlist { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.optlist:empty { display: none; }
.optrow { padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); }
.optrow__top { display: flex; align-items: center; gap: 10px; }
.optrow__top .input { flex: 1; min-width: 0; }
.optrow__photo {
  position: relative; flex: none; width: 44px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden;
  background: var(--fill) center / cover no-repeat; border: 1px dashed var(--line-strong); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 20px;
}
.optrow__photo.has-photo { border-style: solid; border-color: transparent; color: transparent; }
.optrow__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.optrow__remove { flex: none; width: var(--tap); height: var(--tap); border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; border-radius: 999px; }
.optrow__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; align-items: end; }
.optrow__bottom .stepper { grid-column: 1 / -1; justify-self: start; }
.optrow__bottom label { display: flex; flex-direction: column; gap: 4px; font-size: var(--step--1); color: var(--muted); }
.itemrow__meta .opts { color: var(--ink); }

.addbar {
  position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--ground) 70%, rgba(251, 251, 250, 0));
}

/* ------------------------------------------------------------ hub */

/* Direction A "Shop window": the sellers' photos are the colour. Everything around them stays quiet. */
.hub { padding-bottom: 32px; }
.hub__head { position: relative; padding: 36px 0 4px; max-width: 560px; }
.hub__me { position: absolute; padding: 0 14px 0 6px; gap: 8px; font-size: 0.9375rem; }
.hub__mark { font-size: clamp(3rem, 14vw, 4.5rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.055em; margin: 0 0 14px; }
.hub__lede { margin: 0 0 22px; color: var(--muted); font-size: var(--step-1); line-height: 1.4; max-width: 30ch; }
.hub__search { border-radius: 999px; padding-left: 20px; min-height: 52px; }
.hub__count { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: var(--step--1); color: var(--muted); min-height: 1.5em; }
.hub__count.is-live { color: var(--red); font-weight: 500; }
.hub__count.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(217, 58, 48, 0.16); }
.hub__h { margin: 32px 0 12px; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }

/* Live and Featured: a row of tall photo cards, swipeable on a phone, a grid on desktop. */
.cardrow {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.cardrow::-webkit-scrollbar { display: none; }
.cardrow > li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 720px) {
  .cardrow { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 2px 0 6px; overflow: visible; }
}

/* Quieter shops on the hub (below Popular / Top in a tag): rows with a peek at their photos, in one
   white card. The name + line classes are shared with the admin lists. */
.shoplist { list-style: none; margin: 0; padding: 0 14px; background: var(--ground); border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(28, 28, 30, 0.06); }
.shoplist li + li { border-top: 1px solid var(--line); }
.shoprow {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 10px 0;
  text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent;
}
.shoprow:active .shoprow__name { color: var(--teal); }
.shoprow__line.is-live { color: var(--red); font-weight: 500; }
.shoprow__thumbs { flex: none; display: flex; gap: 4px; }
.shoprow__thumbs img { width: 30px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; background: var(--fill); }
.tag-featured { font-size: 12px; font-weight: 500; color: var(--teal); }
.shoprow.is-dim .avatar, .shoprow.is-dim .shoprow__thumbs img { filter: grayscale(1); opacity: 0.55; }
.shoprow.is-dim .shoprow__name { color: var(--muted); }
/* Taking bookings: the seller's face, name and "Live 2h ago" go grey; the item photos keep their colour. */
.shoprow.is-half .avatar { filter: grayscale(1); opacity: 0.55; }
.shoprow.is-half .shoprow__name, .shoprow.is-half .shoprow__line, .shoprow.is-half .hubago { color: var(--muted); }
.shoplist li.has-watch { display: flex; align-items: center; gap: 10px; }
.shoplist li.has-watch .shoprow { flex: 1; min-width: 0; }
.btn--watch-row { flex: none; padding: 0 14px; }
.shoprow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shoprow__name { font-weight: 600; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.shoprow__line { color: var(--muted); font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* All shops and search results: tiles in each shop's colour (vars from Laku.shopVars), 2 across on a
   phone. Their photos fan out underneath and are cut off by the tile's sides and bottom on purpose. */
.shopgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .shopgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .shopgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shopgrid__item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile {
  --ring-bg: var(--c1);
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 236px;
  padding: 16px 12px 0; border-radius: 18px; overflow: hidden; text-align: center; text-decoration: none;
  background: var(--c1); color: var(--c1-on); box-shadow: 0 8px 22px color-mix(in srgb, var(--c1) 22%, transparent);
  -webkit-tap-highlight-color: transparent; isolation: isolate;
  transition: transform 140ms var(--ease-out); /* press feedback, same as .btn */
}
.tile:active { transform: scale(0.98); }
.tile .avatar { box-shadow: 0 0 0 3px var(--c1-on); margin-bottom: 4px; }
.tile .avatar.is-live { box-shadow: 0 0 0 2px var(--c1), 0 0 0 4px var(--live); }
.tile__name { max-width: 100%; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__line { max-width: 100%; font-size: 12px; opacity: 0.82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Live and Featured labels share a row above the face, so they never cover it. */
.tile.has-tags { padding-top: 38px; }
.tile__tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; }
.tile__live { padding: 1px 8px; border-radius: 999px; background: var(--live); color: var(--white); font-size: 11px; font-weight: 600; }
.tile .hubmeta { justify-content: center; }
.tile .hubago { color: inherit; opacity: 0.75; }
.tile .hubst:not(.hubst--open):not(.hubst--closed_claims) { background: color-mix(in srgb, var(--c1-on) 88%, transparent); color: var(--c1); }
/* "New" / "Rising" on a Popular spot kept for them: Brunei yellow, like Plus. */
.tile__badge { padding: 1px 8px; border-radius: 999px; background: #F7C600; color: #1C1C1E; font-size: 11px; font-weight: 700; }
.tile__feat { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--c1-on); color: var(--c1); font-size: 11px; font-weight: 600; }
.tile:active .tile__name { text-decoration: underline; }
/* The fan: the middle photo in front, the side ones tipped out behind it. */
.tile__fan { flex: none; display: flex; justify-content: center; align-items: flex-start; width: calc(100% + 24px); height: 118px; margin: auto -12px 0; padding-top: 14px; }
.tile__fan img {
  flex: none; width: 96px; height: 128px; margin: 0 -22px; object-fit: cover; border-radius: 10px; background: var(--c1-soft);
  border: 2px solid var(--c1-on); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); transform-origin: bottom center;
}
.tile__fan img:nth-child(1) { transform: rotate(-11deg) translateY(12px); }
.tile__fan img:nth-child(2) { position: relative; z-index: 1; width: 104px; height: 140px; }
.tile__fan img:nth-child(3) { transform: rotate(11deg) translateY(12px); }
.tile__fan.n2 img:nth-child(2) { transform: rotate(8deg) translateY(8px); }
.tile__fan.n1 img { width: 128px; height: 140px; margin: 0; transform: rotate(-4deg); }
@media (min-width: 720px) {
  .tile__fan { height: 140px; }
  .tile__fan img { width: 116px; height: 154px; margin: 0 -26px; }
  .tile__fan img:nth-child(2) { width: 126px; height: 168px; }
  .tile__fan.n1 img { width: 150px; height: 168px; }
}
/* Plus page styles carry over to the tile. Free shops are solid. */
.tile--gradient { background: linear-gradient(170deg, var(--c1) 35%, color-mix(in srgb, var(--c1) 55%, var(--c1-soft))); }
.tile--songket {
  background-color: var(--c1);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--c1-soft) 22%, transparent) 12px 14px),
    repeating-linear-gradient(-45deg, transparent 0 12px, color-mix(in srgb, var(--c1-soft) 14%, transparent) 12px 14px);
}
.tile--twotone { background: linear-gradient(150deg, var(--c1) 0 46%, var(--c2) 46% 100%); }
.tile--glow {
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--c2) 70%, transparent), transparent) 110% -10% / 90% 70% no-repeat,
    radial-gradient(closest-side, color-mix(in srgb, var(--c1-soft) 35%, transparent), transparent) -30% 110% / 90% 70% no-repeat,
    var(--c1);
}
/* 041 styles on the tile. Stripes is free; Dots, Sticker and Night need Plus. */
.tile--stripes { background: repeating-linear-gradient(135deg, var(--c1) 0 14px, color-mix(in srgb, var(--c1) 84%, var(--c1-soft)) 14px 28px); }
.tile--dots { background: var(--c1) radial-gradient(color-mix(in srgb, var(--c1-soft) 30%, transparent) 2px, transparent 2.5px) 0 0 / 16px 16px; }
.tile--sticker { box-shadow: inset 0 0 0 2.5px #1C1C1E, 5px 5px 0 #1C1C1E; }
.tile--night { --c1-on: #F2F2F0; --c1-soft: #B9B9B4; background: #161618; box-shadow: inset 0 0 0 2px var(--c1); }
/* Premium shops (036): a small tick after the name, everywhere the name shows. Blue reads as
   "verified" to anyone who uses TikTok or Instagram; white ring so it holds up on any shop colour. */
.verified {
  display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin-left: 0.3em; vertical-align: -0.12em;
  border-radius: 50%; background: #1D9BF0; font-size: 0.85em; box-shadow: 0 0 0 1.5px #fff;
}
.verified::after {
  content: ""; width: 0.26em; height: 0.48em; margin-top: -0.1em;
  border: solid #fff; border-width: 0 0.13em 0.13em 0; transform: rotate(45deg);
}
.tile__name .verified { font-size: 0.8em; }

/* Sold out or closed: still in its colour but muted, photos greyed. The link still works. */
.tile.is-dim { filter: saturate(0.35); opacity: 0.85; }
.tile.is-dim .tile__fan img, .tile.is-dim .avatar { filter: grayscale(1); }
/* "Taking bookings": half grey. The seller isn't around, so the tile and face go grey (the colours are
   swapped for greys, which beats the inline shop colours), but the photos keep their colour because
   the items can still be booked. */
.tile.is-half {
  --c1: #6B6B70 !important; --c1-soft: #8A8A8F !important; --c2: #7A7A7F !important; --c1-on: #fff !important;
  background: #6B6B70; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.tile.is-half .avatar { filter: grayscale(1); opacity: 0.7; }

/* "Watch live": straight to the seller's TikTok live, from the hub. Red because it's about live. */
.btn--watch { gap: 8px; border-color: var(--live); color: var(--red); background: var(--white); font-weight: 600; font-size: 0.9375rem; }
.btn--watch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }

/* Avatars everywhere; the live ring is TikTok's own signal, so buyers read it instantly. */
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--fill); }
.avatar.is-live { box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--live); }
.avatar--letter {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: var(--step-1); color: var(--muted);
}

/* Social links on the shop page (Laku Plus). */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials .btn { position: relative; min-height: 36px; padding: 0 14px; font-size: 0.9375rem; }
.socials .btn::after { content: ""; position: absolute; inset: -4px 0; } /* keeps the tap area at 44px */
.socials--share { padding-bottom: 4px; }
.socials--share .btn { min-height: 38px; } /* 38 + the 3 px of tap area above and below (the ::after sits inside the 1 px border) = 44 */
.socials .btn--tiktok-live { border-color: var(--live); color: var(--red); font-weight: 600; }
.socials .btn--tiktok-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.footer--hub { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.footer--hub .wrap { display: flex; flex-direction: column; }

/* Hub: the invitation to sellers. */
.sellcta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  margin-top: 32px; padding: 24px 20px;
  background: var(--ink); color: var(--white); border-radius: var(--r-lg);
}
.sellcta__h { margin: 0 0 6px; font-size: var(--step-2); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.sellcta__body { margin: 0; max-width: 46ch; color: #D6D6D2; line-height: 1.45; }
.sellcta__btn { flex: none; border-color: var(--white); font-weight: 600; }
.sellcta__btn:focus-visible { outline-color: var(--white); }
@media (min-width: 700px) {
  .sellcta { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; }
}

.backlink {
  display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 8px;
  color: var(--muted); font-size: var(--step--1); text-decoration: none;
}
.backlink::before { content: "‹"; margin-right: 6px; font-size: 1.2em; line-height: 1; }
.shop-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-nav .backlink { margin-top: 0; }
.shop-nav__manage { padding: 0 16px; font-size: 0.9375rem; }

/* Shop page header avatar */
.shop-head__top { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 12px; }
.shop-head__id { flex: 1; min-width: 0; }
.shop-head__top .avatar { width: 48px; height: 48px; }

/* Seller: profile picture + featured panel */
.avatar-pick { display: flex; align-items: center; gap: 14px; }
.avatar-pick .avatar { width: 64px; height: 64px; }
.avatar-pick label { position: relative; }
.avatar-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* Reveal queue: the one teal button, because it's the live's main action. */
.btn--reveal { min-height: 56px; background: var(--teal); border-color: var(--teal); color: var(--white); font-size: var(--step-1); font-weight: 600; }
.btn--reveal:disabled { background: var(--fill); border-color: var(--fill); color: var(--muted); }
.queuelist { list-style: none; margin: 12px 0 0; padding: 0; }
.queuelist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.queuelist .pos { flex: none; width: 22px; color: var(--muted); font-size: var(--step--1); text-align: right; }
.queuelist .itemrow__thumb { width: 36px; }
.queuelist .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queuelist .move { width: var(--tap); height: var(--tap); border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 16px; }
.queuelist .move:disabled { color: var(--line-strong); cursor: default; }
.poster { display: flex; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.poster__thumb { flex: none; width: 72px; aspect-ratio: 3 / 4; border-radius: var(--r-sm); background: var(--fill) center / cover no-repeat; }
.poster__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.poster__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.poster__actions label { position: relative; }
.poster__actions input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.feat__state { margin: 0 0 12px; color: var(--muted); }
.feat__state.is-on { color: var(--teal); font-weight: 500; }

/* Admin */
.adminrow { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.adminrow__top { display: flex; align-items: center; gap: 12px; }
.adminrow__top .avatar { width: 40px; height: 40px; }
.adminrow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.adminrow__days { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.9375rem; }
.adminrow__days .input { width: 72px; min-height: var(--tap); padding: 6px 10px; text-align: center; }
.adminrow__compose { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.adminrow__compose .input { resize: vertical; }
.adminrow__tags { font-size: 0.9375rem; }
.adminrow__tagsum { min-height: 36px; display: flex; align-items: center; cursor: pointer; color: var(--muted); }
.adminrow__tags[open] .tagpick { margin: 4px 0 6px; }

/* Shop tags (034): pill chips, pressed = ink. Used by the tag picker (Edit shop, /admin/) and the hub. */
.tagchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip {
  position: relative; flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.tagchip:active:not(:disabled) { transform: scale(0.97); }
.tagchip::after { content: ""; position: absolute; inset: -4px 0; } /* keeps the tap area at 44px */
.tagchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tagchip:disabled { opacity: 0.4; cursor: default; }
.tagpick { display: flex; flex-direction: column; gap: 12px; }
.tagpick__h { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
/* On the hub: rows that scroll sideways on a phone instead of wrapping and pushing the shops down. */
.hubtags { display: flex; flex-direction: column; gap: 8px; margin: 14px calc(-1 * var(--gutter)) 0; }
.hubtags__row { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.hubtags__row::-webkit-scrollbar { display: none; }
.hubtags__row--sub .tagchip { min-height: 32px; padding: 0 12px; font-size: 0.875rem; }
/* /admin/: one section at a time, one line per shop that opens into its actions. No motion. */
.admtabs { margin: 4px 0 8px; }
.admtabs button { padding: 0 4px; font-size: 0.875rem; white-space: nowrap; }
.admtabs__n:not(:empty) { margin-left: 5px; color: var(--muted); font-size: 0.8125rem; }
.admtabs__n.is-new { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--live); color: var(--white); font-size: 11px; line-height: 18px; }
.admfilters { margin: 10px 0 6px; }
.admfilters .tagchip { min-height: 32px; padding: 0 12px; font-size: 0.875rem; }
.admlist { margin-top: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.admlist__none { margin: 0; padding: 16px 12px; color: var(--muted); }
.admshop + .admshop { border-top: 1px solid var(--line); }
.admshop[open] { background: #FAFAF8; }
.admshop__sum { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; cursor: pointer; }
.admshop__sum::-webkit-details-marker { display: none; }
.admshop__sum::after {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 4px 2px;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.admshop[open] > .admshop__sum::after { transform: rotate(225deg); margin-bottom: -3px; }
.admshop__sum .avatar { width: 36px; height: 36px; flex: none; }
.admshop__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admshop__name, .admshop__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admshop__name { font-weight: 600; }
.admshop__sub { font-size: var(--step--1); color: var(--muted); }
.admshop__sub.is-warn { color: #8A6A00; }
.admshop__pills { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.admpill { padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.admpill.is-plus { background: rgba(247, 198, 0, 0.18); color: #6E5413; }
.admpill.is-prem { background: var(--ink); color: var(--white); }
.admpill.is-feat { background: #F7C600; color: #1C1C1E; }
.admpill.is-free { padding: 0; color: var(--muted); font-weight: 500; }
.admshop__body { display: flex; flex-direction: column; gap: 16px; padding: 4px 12px 16px 58px; }
@media (max-width: 480px) { .admshop__body { padding-left: 12px; } }
.admgroup__label { margin: 0 0 6px; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.admgroup .feat__state { margin: 0 0 8px; }
.admgroup__now { margin: 0 0 8px; }
.admtags__sum { list-style: none; display: inline-flex; }
.admtags__sum::-webkit-details-marker { display: none; }
.admtags[open] > .admtags__sum { margin-bottom: 8px; }
.adminlog { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); color: var(--muted); }
.adminlog li { padding: 6px 0; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ colour */


/* The site is two colours: ink on paper. The Laku bar is paper with a hairline; Beta is an ink outline. */
.lakubar { border-bottom: 1px solid var(--line); }
.lakubar .topbar { border-bottom: 0; }
.beta { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hub__me { top: 28px; right: 0; }
.hub__me--open { padding: 0 14px; }
/* New bookings since the seller last opened the dashboard: Brunei yellow, like Plus. No motion. */
.hub__badge {
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: -2px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F7C600; color: #1C1C1E; font-size: 12px; font-weight: 700; line-height: 1;
}
.hub__search { border-color: var(--ink); }
.hub__count.is-live { color: var(--ink); }

/* Avatar rings sit on whatever is behind them; a shop's face carries its frame colour. */
.avatar.is-live { box-shadow: 0 0 0 2px var(--ring-bg, var(--ground)), 0 0 0 4px var(--live); }
.avatar.has-ring:not(.is-live) { box-shadow: 0 0 0 2px var(--ring-bg, var(--ground)), 0 0 0 4px var(--f1); }


/* ---- Frames. --f1 = shop colour, --f1-soft = its partner, --f2 = second colour (Two-tone).
   Every style is padding + background (or a double border), so it follows the rounded corners. */
.frame { position: relative; border-radius: 14px; }
.frame--solid    { padding: 4px; background: var(--f1); }
.frame--double   { padding: 3px; border: 6px double var(--f1); }
.frame--stitched { padding: 6px; background: var(--f1); }
.frame--stitched::after {
  content: ""; position: absolute; inset: 3px; border-radius: 11px; pointer-events: none;
  border: 1.5px dashed var(--f1-soft);
}
.frame--songket  {
  padding: 6px;
  background: repeating-linear-gradient(45deg, var(--f1) 0 6px, var(--f1-soft) 6px 9px, var(--f1) 9px 12px, var(--ground) 12px 15px);
}
.frame--twotone  { padding: 5px; background: linear-gradient(135deg, var(--f1) 0 50%, var(--f2) 50% 100%); }

.frame--gradient { padding: 5px; background: linear-gradient(160deg, var(--f1), var(--f1-soft)); }
.frame--stripes  { padding: 6px; background: repeating-linear-gradient(135deg, var(--f1) 0 6px, var(--f1-soft) 6px 12px); }
.frame--dots     { padding: 6px; background: var(--f1) radial-gradient(var(--f1-soft) 1.5px, transparent 2px) 0 0 / 8px 8px; }
.frame--sticker  { padding: 4px; background: var(--f1); border: 2.5px solid #1C1C1E; box-shadow: 5px 5px 0 #1C1C1E; }

/* ---- Page themes: the shop's colour fills the page (shop page and the seller's own dashboard).
   Vars come from Laku.shopVars(): --c1 colour, --c1-tint page, --c1-on text on colour, --c1-soft
   quiet text on colour, --c1-text colour as text on white, --c2/--c2-tint second colour. */
/* Compact, so the products start high. Who they are on the left; on a wide screen, live state and links sit on the same line. */
.shop-head > .shop-head__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.shop-head { background: var(--ground); border-radius: 18px; padding: 12px 14px; margin: 0 0 16px; box-shadow: 0 8px 24px rgba(28, 28, 30, 0.06); }

.themed { background: var(--c1-tint); } /* low specificity: the page styles below must win */
.theme--gradient { background: var(--c1-tint) linear-gradient(180deg, var(--c1) 0, var(--c1) 140px, var(--c1-tint) 560px) no-repeat; }
.theme--songket {
  background-color: var(--c1-tint);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--c1) 10%, transparent) 14px 16px),
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--c1) 6%, transparent) 14px 16px);
}
.theme--twotone { background: linear-gradient(135deg, var(--c1-tint) 0 50%, var(--c2-tint) 50% 100%) fixed; }
.theme--glow { background: var(--c1-tint); }
/* Glow: two soft blobs of the shop's colours drifting slowly behind everything. Transform only. */
.theme--glow::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--c1) 26%, transparent), transparent) 18% 22% / 60% 60% no-repeat,
    radial-gradient(closest-side, color-mix(in srgb, var(--c2) 20%, transparent), transparent) 82% 72% / 55% 55% no-repeat;
  animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(6%, -5%, 0) scale(1.08); } }
/* 041. Stripes (free): soft diagonal stripes of the shop colour. Dots: a faint polka. */
.theme--stripes {
  background-color: var(--c1-tint);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--c1) 7%, transparent) 18px 36px);
}
.theme--dots {
  background-color: var(--c1-tint);
  background-image: radial-gradient(color-mix(in srgb, var(--c1) 16%, transparent) 1.8px, transparent 2.3px);
  background-size: 18px 18px;
}
/* Sticker: thick ink outlines and a hard offset shadow on the header and the cards. */
/* (.themed.theme--x: the general .themed rules further down must not win over these.) */
.theme--sticker { background: var(--c1-tint); }
.themed.theme--sticker .card, .themed.theme--sticker #view-dash .panel:not(.panel--shop) { box-shadow: inset 0 0 0 2px #1C1C1E, 4px 4px 0 #1C1C1E; }
/* Night: the page goes dark, the shop colour is the accent. Cards, sheets and panels stay white. */
.theme--night { --ground: #141416; background: #141416 radial-gradient(120% 60% at 50% 0, color-mix(in srgb, var(--c1) 34%, transparent), transparent 70%) no-repeat; color: #EDEDEB; }
.themed.theme--night .lakubar { background: transparent; }
.themed.theme--night .lakubar .logo { filter: invert(1) hue-rotate(180deg); }
.themed.theme--night .card, .themed.theme--night dialog, .themed.theme--night .cartbar, .themed.theme--night #view-dash .panel:not(.panel--shop),
.themed.theme--night .paybox, .themed.theme--night .psec, .themed.theme--night .danger { color: var(--ink); }
.themed.theme--night #view-dash .panel--shop .shopline__name, .themed.theme--night #view-dash .panel--shop summary { color: var(--c1-on); }
.themed.theme--night .backlink, .themed.theme--night .footer, .themed.theme--night .footer a, .themed.theme--night .footer .linkbtn,
.themed.theme--night .to-reveal, .themed.theme--night #empty, .themed.theme--night .lakubar .linkbtn { color: #C9C9C4; }
/* Every sheet / dialog stays white with ink text in Night: --ground goes dark on the body, so put it back inside the dialog. */
.themed.theme--night dialog { --ground: #FBFBFA; background: var(--white); color: var(--ink); }
.themed.theme--night .shop-head { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.themed.theme--night .langseg { background: rgba(255, 255, 255, 0.08); }
.themed.theme--night .lakubar .beta { color: #EDEDEB; box-shadow: inset 0 0 0 1px #EDEDEB; }

/* Shop header: a deep-colour card with the face, name and live state. */
.themed .shop-head { --ring-bg: var(--c1); background: var(--c1); color: var(--c1-on); box-shadow: 0 12px 32px color-mix(in srgb, var(--c1) 32%, transparent); }
.themed .shop-head__tagline, .themed #who { color: var(--c1-soft); }
.themed .shop-head .linkbtn { color: var(--c1-on); }
.themed .shop-head .live-tag { background: var(--c1-on); color: var(--red); padding: 2px 10px; border-radius: 999px; }
.themed .shop-head .to-reveal { color: var(--c1-on); }
.themed .shop-head .btn { background: transparent; border-color: var(--c1-soft); color: var(--c1-on); }
.themed .shop-head .btn--tiktok-live { background: var(--c1-on); border-color: var(--c1-on); color: var(--red); }
.themed .shop-head :focus-visible { outline-color: var(--c1-on); }
.themed .backlink { color: var(--c1-text); }
.theme--gradient .backlink { color: var(--c1-on); }

/* Items as white cards on the coloured page, numbers and Claim in the shop's colour. */
.themed .card { background: var(--white); border-radius: 16px; padding: 6px 6px 10px; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); }
.themed .card__body { padding: 10px 6px 0; }
.themed .card__num { background: var(--c1); color: var(--c1-on); }
.themed .claim-btn:not(:disabled):not(.is-claimed):not(.is-waiting) { border-color: var(--c1-text); color: var(--c1-text); }
.themed .claim-btn.is-claimed { background: var(--c1-tint); border-color: var(--c1-tint); color: var(--c1-text); }
.themed .pill-fresh { background: var(--c1); color: var(--c1-on); }

/* MAU!: outlined in the shop's colour (ink on plain shops), set in Laku Display (Titan One).
   Booked / waitlist / sold out / closed keep their own quieter looks. */
.claim-btn { font-family: "Laku Display", "Instrument Sans", system-ui, sans-serif; font-weight: 400; font-size: 1.125rem; letter-spacing: 0.02em; }
.claim-btn:not(:disabled):not(.is-claimed):not(.is-waiting) { background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); }
/* Grid cards: "MAU! 1 more" / "Join waitlist" / "See options" are ~111 px; at 390 wide the 18 px sides left 110,
   so they wrapped and the card grew. Narrower sides; small phones a size down. Wrapping stays allowed: the
   Malay waitlist labels ("Masuk senarai menunggu") can't fit one line and would be clipped. */
.card .claim-btn { padding-inline: 10px; }
@media (max-width: 374px) { .card .claim-btn { font-size: 1rem; } }
.themed .claim-btn:not(:disabled):not(.is-claimed):not(.is-waiting) { background: var(--white); border-color: var(--c1-text); color: var(--c1-text); }
.card__claim { font-weight: 400; letter-spacing: 0.01em; }

/* Seller dashboard in the seller's colour: their shop card on top, panels as white cards. */
.themed .lakubar { border-bottom: 0; }
.themed #view-dash .panel { background: var(--white); border-radius: 16px; padding: 18px 16px; margin-bottom: 14px; border-bottom: 0; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.06); }
.themed #view-dash .panel--shop { --ring-bg: var(--c1); background: var(--c1); color: var(--c1-on); box-shadow: 0 12px 32px color-mix(in srgb, var(--c1) 32%, transparent); }
.themed #view-dash .panel--shop .shopline__link { background: color-mix(in srgb, var(--c1-on) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1-on) 22%, transparent); }
.themed #view-dash .panel--shop .shopline__label { color: var(--c1-soft); }
.themed #view-dash .panel--shop .shopline__url { color: var(--c1-on); }
.themed #view-dash .panel--shop .btn { background: transparent; border-color: var(--c1-soft); color: var(--c1-on); }
.themed #view-dash .panel--shop :focus-visible { outline-color: var(--c1-on); }
.themed #view-dash { padding-top: 12px; }

/* The frame stays too: round the shop header card (shop page) and the shop card (dashboard).
   Frame outside, a thin white line, then the deep-colour card, so it reads even in the same colour. */
.themed .shop-head.frame { padding: 6px; }
.themed #view-dash .panel.frame { padding: 7px; }
.themed .shop-head.frame--solid, .themed #view-dash .panel.frame--solid { background: var(--f1); }
.themed .shop-head.frame--gradient, .themed #view-dash .panel.frame--gradient { background: linear-gradient(160deg, var(--f1), var(--f1-soft)); }
.themed .shop-head.frame--songket, .themed #view-dash .panel.frame--songket {
  background: repeating-linear-gradient(45deg, var(--f1) 0 6px, var(--f1-soft) 6px 9px, var(--f1) 9px 12px, var(--white) 12px 15px);
}
.themed .shop-head.frame--twotone, .themed #view-dash .panel.frame--twotone { background: linear-gradient(135deg, var(--f1) 0 50%, var(--f2) 50% 100%); }
.themed .shop-head.frame--stripes, .themed #view-dash .panel.frame--stripes { background: repeating-linear-gradient(135deg, var(--f1) 0 6px, var(--f1-soft) 6px 12px); }
.themed .shop-head.frame--dots, .themed #view-dash .panel.frame--dots { background: var(--f1) radial-gradient(var(--f1-soft) 1.5px, transparent 2px) 0 0 / 8px 8px; }
.themed .shop-head.frame--sticker, .themed #view-dash .panel.frame--sticker { background: var(--f1); border: 2.5px solid #1C1C1E; box-shadow: 6px 6px 0 #1C1C1E; }
.themed .shop-head.frame > .shop-head__inner, .themed #view-dash .panel.frame > .shopline {
  display: flex; flex-direction: column; background: var(--c1); border-radius: 12px; padding: 16px 14px;
  box-shadow: 0 0 0 3px var(--white);
}
.themed .shop-head.frame > .shop-head__inner { display: flex; flex-direction: row; padding: 10px 12px; }

.qr-preview.rc-preview { max-width: 280px; max-height: 58vh; width: auto; border-radius: 6px; }
.qr-preview { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 8px 24px rgba(28, 28, 30, 0.12); }

/* Light nudge at the item cap: a soft yellow card (Plus) or a quiet grey one ("coming soon"). */
.upsell { margin: 4px 0 12px; padding: 14px 16px; border-radius: 14px; background: rgba(247, 198, 0, 0.12); box-shadow: inset 0 0 0 1px rgba(247, 198, 0, 0.35); }
.upsell strong { display: block; font-weight: 600; }
.upsell p { margin: 4px 0 10px; color: var(--muted); font-size: 0.9375rem; }
.upsell--soon { background: var(--fill); box-shadow: none; }
.upsell--soon p { margin-bottom: 0; }

/* Buyer: "Max N per person" under the stock line, and the visible notice above the cart bar. */
.card__limit { font-size: 12px; color: var(--muted); }
/* Request review (live only): a quiet link under Claim; "Shown on live" in the live red. */
.card__review { align-self: center; min-height: var(--tap); margin-top: 2px; font-size: var(--step--1); font-weight: 500; color: var(--ink); }
.card__review.is-asked { color: var(--muted); text-decoration: none; }
.card__shown { font-size: 12px; font-weight: 600; color: var(--red); }

/* Hidden shop banner (dashboard) and the delete zone (Edit shop). */
.vis-banner { margin: 8px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 0.9375rem; }
.vis-banner .linkbtn { color: var(--white); font-weight: 600; }
.vis-field { margin-top: 24px; }
.danger { margin: 32px 0 96px; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(179, 46, 37, 0.35); background: rgba(217, 58, 48, 0.05); }
.danger__title { margin: 0 0 4px; font-size: var(--step-0); font-weight: 600; color: var(--red); }
.danger .field__hint { margin: 0 0 12px; }
.danger .btn--danger { border-color: var(--red); }

/* Open / closed. Green = open (same green as Paid), greys = closed. */
.status { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.status__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.stopt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: var(--tap); padding: 9px 12px;
  border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink);
  text-align: left; font: inherit; cursor: pointer;
}
.stopt__label { font-weight: 600; }
.stopt__sub { font-size: 12px; color: var(--muted); }
.stopt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.stopt--open[aria-checked="true"] { border-color: #1F7A4D; box-shadow: inset 0 0 0 1px #1F7A4D; background: #EAF5EF; }
.status__note { margin: 10px 0 0; }
.shop-status, .hubst { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--fill); color: var(--muted); }
.shop-status--open, .hubst--open { background: #EAF5EF; color: #1F7A4D; }
.shop-status--open::before, .hubst--open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1F7A4D; }
/* Taking bookings: amber, so it reads as "still active", not as the grey Closed pill. */
.shop-status--closed_claims, .hubst--closed_claims { background: #FFF1C2; color: #7A5600; }
/* Open / closed tag and "Live 2h ago", under a shop's name on the hub. */
.hubmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; min-width: 0; }
.hubago { font-size: 12px; color: var(--muted); white-space: nowrap; }
.themed .shop-head .shop-status { background: var(--c1-on); color: var(--c1); }
.themed .shop-head .shop-status--open { background: #EAF5EF; color: #1F7A4D; }
.themed .shop-head .shop-status--closed_claims { background: #FFF1C2; color: #7A5600; }

/* "How do I use my link?" under the shop card's buttons. Inherits the card's colours when themed. */
.linkguide { margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.linkguide > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); cursor: pointer; font-weight: 600; }
.linkguide > summary::-webkit-details-marker { display: none; }
.linkguide > summary::after { content: "+"; font-size: 20px; line-height: 1; opacity: 0.7; }
.linkguide[open] > summary::after { content: "−"; }
.linkguide__steps { margin: 4px 0 4px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 0.9375rem; line-height: 1.45; }
.linkguide__steps strong { font-weight: 600; }
.linkguide__steps span { opacity: 0.85; }
.linkguide__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; opacity: 1 !important; }
.linkguide__sample { flex: 1 1 180px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, currentColor 10%, transparent); font-size: 0.875rem; overflow-wrap: anywhere; opacity: 1 !important; }
.linkguide__copy .btn { min-height: 40px; }
.themed #view-dash .panel--shop .linkguide .btn { background: transparent; border-color: var(--c1-soft); color: var(--c1-on); }

/* Delivery & pickup: seller's Edit shop section. */
.fulfil-set { margin: 28px 0 8px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.fulfil-set__title { padding: 0; font-size: var(--step-1); font-weight: 600; }
.fulfil-set > .field__hint { margin: 4px 0 16px; }

/* Edit shop: one folding section per topic. Each is a white card with a "Change" button (it reads
   "Close" while open; saving is still Save shop) and what's set underneath the title, so it plainly looks tappable. No motion. */
.psec { margin: 0 0 10px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.psec:last-of-type { margin-bottom: 24px; }
.psec[open] { border-color: var(--ink); }
.psec__sum { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px 10px 16px; cursor: pointer; }
.psec__sum::-webkit-details-marker { display: none; }
.psec__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.psec__title { font-size: var(--step-1); font-weight: 600; }
.psec__now { color: var(--muted); font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psec__btn {
  flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--ink); font-size: 0.875rem; font-weight: 600; color: var(--ink); background: var(--white);
}
.psec__close { display: none; }
.psec[open] > .psec__sum .psec__open { display: none; }
.psec[open] > .psec__sum .psec__close { display: inline; }
.psec[open] > .psec__sum .psec__btn { background: var(--ink); color: var(--white); }
.psec__body { padding: 4px 16px 20px; border-top: 1px solid var(--line); }
.psec__body > :first-child { margin-top: 14px; }
.psec .fulfil-set { margin: 0; padding: 0; border-top: 0; }
.psec .vis-field { margin-top: 0; }
/* Simplify batch (2026-11-05). New shop: five fields in one card, everything else under a closed
   "More settings" fold. Existing shop: that fold is open and has no chrome, so the sections look as before. */
#slot-slug-shop, #slot-slug-more, #slot-tags-shop, #slot-tags-more, #slot-tiktok-shop, #slot-tiktok-links { display: contents; }
.row2 > :only-child { grid-column: 1 / -1; }
.pform--new > .psec[data-sec="shop"] > .psec__sum { display: none; }
.pform--new > .psec[data-sec="shop"] > .psec__body { border-top: 0; }
.pform--new .psec--more > .psec__body > .psec { background: var(--fill); }
.pform--old > .psec--more { border: 0; background: none; margin: 0; }
.pform--old > .psec--more > .psec__sum { display: none; }
.pform--old > .psec--more > .psec__body { padding: 0; border-top: 0; }
.pform--old > .psec--more > .psec__body > :first-child { margin-top: 0; }
.slugline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 600; overflow-wrap: anywhere; }
.slugline .linkbtn { font-weight: 400; }
/* Item form: the folded options live in a .psec, so give it a little air above the Save row. */
.psec--item { margin-top: 4px; }
.psec--item .psec__now { white-space: normal; } /* let the summary wrap so every set value shows */
.psec--item .psec__body > .check:last-child, .psec--item .psec__body > .field:last-child { margin-bottom: 0; }
/* Seller bookings: "Give item back" is a quiet text link, apart from the green Paid button. */
.claim__actions .claim__giveback { margin-left: auto; min-height: var(--tap); padding: 0 6px; color: var(--muted); font-size: var(--step--1); }
.shopline__edit { order: -1; font-size: var(--step-1); font-weight: 600; min-height: 52px; }
.themed #view-dash .panel--shop .btn.shopline__edit { background: var(--c1-on); border-color: var(--c1-on); color: var(--c1); }
.pickrow { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.pickrow__remove { align-self: flex-start; color: var(--red); font-size: var(--step--1); min-height: 32px; }
#p-pick-add { margin-top: 10px; }
.districts { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.district { display: flex; align-items: center; gap: 12px; }
.district__name { flex: 0 0 112px; font-weight: 500; }
.district .input-affix { flex: 1; }

/* Delivery & pickup: buyer's choice in the cart. */
.ffpick { margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.ffpick__title { padding: 0; font-weight: 600; margin-bottom: 8px; }
.ffpick__ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.ffcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: var(--tap);
  padding: 10px 12px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--white);
  color: var(--ink); text-align: left; cursor: pointer; font: inherit;
}
.ffcard[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ffcard:disabled { opacity: 0.5; cursor: default; }
.ffcard__label { font-weight: 600; }
.ffcard__sub { font-size: 12px; color: var(--muted); }
.ffpick__label { display: block; margin: 14px 0 6px; font-weight: 500; }
.ffpick__list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ffpick__row { display: flex; align-items: stretch; gap: 8px; }
.ffpick__row .ffcard { flex: 1; }
.ffpick__maps { display: grid; place-items: center; padding: 0 12px; border-radius: var(--r-md); background: var(--fill); color: var(--ink); font-size: var(--step--1); font-weight: 500; }
.ffpick__districts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#ff-address { resize: vertical; }
#ff-detail .field__hint { margin: 6px 0 0; }
.cart__sum { margin: 12px 0 0; font-weight: 600; }
/* Right above Order, in ink outline like MAU!, so it can't be missed on the way to paying. */
.cart__notice { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 0.9375rem; line-height: 1.4; }
.cart__notice strong { font-weight: 600; }
.cart__notice + .sheet__actions { margin-top: 12px; }

/* How do you pay (039): picker uses .ffpick/.ffcard; the details panel appears only after Send
   (in the cart) and as a banner on the shop page while the order is unpaid. No motion. */
.pay__note { margin: 8px 0 0; }
.cart__ready { margin: 0; text-align: center; }
/* Two-step order (Haziq 2026-11-05): "Step 1 of 2" over the label on both buttons; Close is plain text. */
.btn--step { flex-direction: column; gap: 0; min-height: 60px; padding-top: 6px; padding-bottom: 6px; line-height: 1.25; }
.btn--step .btn__step { font-size: var(--step--1); font-weight: 400; opacity: 0.8; }
.btn--step .btn__main { font-size: var(--step-1); font-weight: 600; }
.cart__close { align-self: center; padding: 0 16px; color: var(--muted); text-decoration-color: var(--line-strong); }
.cartlist__cancel { align-self: flex-start; min-height: 32px; padding: 0; font-size: var(--step--1); color: var(--muted); }
.cart__cancelall { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 4px; color: var(--muted); }
.paybox { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.paybox--banner { margin: 0 0 16px; }
.paybox p { margin: 0; }
.paybox__h { font-weight: 600; margin-bottom: 8px !important; }
.paybox__bank { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.paybox__acc { display: flex; flex-direction: column; gap: 2px; margin-top: 2px !important; }
.paybox__name { font-weight: 500; overflow-wrap: anywhere; }
.paybox__no { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.paybox__copy { margin-top: 10px; min-width: 104px; }
.paybox__hint { margin-top: 8px !important; }
/* Seller's Edit shop: one tick per bank, its two boxes under it. */
.paybank__on { margin-bottom: 10px; }
.paybank__fields { margin: 0 0 16px 34px; }
.paybank__fields .field { margin-bottom: 10px; }
.claim__ff { margin: 2px 0 6px; font-size: var(--step--1); font-weight: 500; overflow-wrap: anywhere; }

/* Tickbox field (item sheet): the whole row is the tap target. */
.check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.check__text { display: flex; flex-direction: column; gap: 2px; }
.check__label { font-weight: 500; }

/* Seller: review requests while live, most asked first. */
.reviews { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.reviews__title { margin: 0 0 4px; font-size: var(--step-0); font-weight: 600; }
.reviews .field__hint { margin: 0; }
.reviews__list { list-style: none; margin: 0; padding: 0; }
.reviews__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.reviews__list li:first-child { border-top: 0; }
.reviews__num { flex: none; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--fill); font-weight: 600; }
.reviews__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.reviews__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reviews__who { font-size: var(--step--1); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reviews__list .btn { flex: none; min-height: 40px; padding: 0 16px; }
/* A new ask flashes its number once in live red, so it's noticed mid-live. Colour only, no
   movement, so it stays under reduced motion. */
/* Holds the red for the first ~400ms so a glance mid-live catches it, then eases back. */
.reviews__list li.is-new .reviews__num { animation: ask-in 1.4s var(--ease-out); }
@keyframes ask-in { 0%, 30% { background: var(--live); color: var(--white); } }
.notice-toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 30;
  width: min(92vw, 420px); margin: 0; padding: 12px 16px; transform: translateX(-50%);
  background: var(--ink); color: var(--white); border-radius: 14px; font-size: 0.9375rem;
  box-shadow: 0 10px 30px rgba(28, 28, 30, 0.25);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
  @starting-style { opacity: 0; transform: translate(-50%, 8px); }
}
/* Leaving: faster than arriving (150 ms), fade only. */
.notice-toast.is-leaving { opacity: 0; transition-duration: 150ms; }

/* Privacy page. */
.prose { padding-bottom: 48px; max-width: 640px; }
.prose h2 { margin: 28px 0 8px; font-size: var(--step-1); font-weight: 600; }
.prose p, .prose li { line-height: 1.6; max-width: 62ch; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }

/* Admin inbox. */
.inbox { list-style: none; margin: 0; padding: 0; }
.inbox li { padding: 12px 0; border-top: 1px solid var(--line); }
.inbox li:first-child { border-top: 0; }
.inbox li.is-read .inbox__msg { color: var(--muted); font-weight: 400; }
.inbox__meta { display: flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); }
.inbox__tag { padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.inbox__tag--seller { background: rgba(247, 198, 0, 0.18); color: #6E5413; }
.inbox__tag--buyer { background: rgba(31, 58, 95, 0.10); color: #1F3A5F; }
.inbox__msg { margin: 6px 0 4px; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox__new { padding: 1px 9px; border-radius: 999px; background: var(--live); color: var(--white); font-size: 12px; font-weight: 600; }

/* Suggestion box links. */
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.footer__suggest { font-size: var(--step--1); color: var(--ink); text-align: left; }
/* English / Bahasa Melayu switch: footers and the seller top bar. */
.langswitch { min-height: var(--tap); font-size: var(--step--1); color: var(--ink); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.topbar__end { display: inline-flex; align-items: center; gap: 14px; }
/* Premium tools (js/premium.js): spreadsheet upload sheet and the sales report. */
.premium-bulk { margin: 0 0 12px; }
.bulk__out { margin: 12px 0 4px; }
.bulk__count { margin: 0 0 6px; font-weight: 600; }
.bulk__errs { margin: 6px 0; padding-left: 18px; color: var(--red); font-size: var(--step--1); }
.bulk__list { margin: 6px 0 0; padding-left: 20px; font-size: var(--step--1); color: var(--muted); }
.bulk__list li { overflow-wrap: anywhere; }
.report { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.report__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.report__stat { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--fill); }
.report__num { font-size: var(--step-2); font-weight: 600; }
.report__label { font-size: 12px; color: var(--muted); }
.report__h { margin: 4px 0 0; }
.report__items { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.report__items li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }

/* EN | BM toggle at the top of every page. Both always visible, the current one filled in ink. */
.langseg { flex: none; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); }
.langseg button {
  position: relative; min-width: 44px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* no transition: tapping reloads the page at once */
}
.langseg button::after { content: ""; position: absolute; inset: -6px 0; } /* 44px tap area */
.langseg button[aria-pressed="true"] { background: var(--ink); color: var(--white); cursor: default; }
.hub__byrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -10px 0 4px; }
.hub__byrow .byline { margin: 0 0 0 4px; }
.shop-nav__end { display: inline-flex; align-items: center; gap: 10px; }
.shop-nav:has(.langseg) { padding-top: 10px; }
.dash-foot { text-align: center; margin: 8px 0 96px; font-size: var(--step--1); }
#suggest-text { min-height: 120px; resize: vertical; }

/* "Grow your shop": Plus and Featured folded at the bottom of the dashboard. */
.grow > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--tap); cursor: pointer; }
.grow > summary::-webkit-details-marker { display: none; }
.grow > summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); flex: none; }
.grow[open] > summary::after { content: "−"; }
.grow > summary .field__hint { margin-left: auto; }
.grow__item { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }

/* Buttons by importance: live actions red, money green, reveal in the shop colour. */
.btn--live { background: var(--live); border-color: var(--live); color: var(--white); font-weight: 600; }
.btn--live-end { border-color: var(--live); color: var(--red); font-weight: 600; }
.btn.is-go { background: #1F7A4D; border-color: #1F7A4D; color: var(--white); font-weight: 600; }
/* Plus trial: Brunei yellow, the same yellow as the BN in the logo. */
.btn--trial { background: #F7C600; border-color: #F7C600; color: #1C1C1E; font-weight: 600; }
#plus-request-hint { margin: 6px 0 0; }

/* /plus/ page. Plus is Brunei yellow; the sample shop box wears the real page-style CSS. */
.plus { padding-bottom: 48px; }
.plus__hero { padding: 20px 0 8px; }
.plus__title { margin: 0; font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.plus__title::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, #F7C600, #1C1C1E); }
.plus__lede { margin: 14px 0 20px; font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.plus__cta .field__hint { margin: 8px 0 0; text-align: center; }
.plus__cta--end { margin-top: 32px; }
.plus__h2 { margin: 40px 0 6px; font-size: var(--step-1); font-weight: 600; }
.plus__try .field__hint { margin: 0 0 12px; }

.pv { position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.pv.theme--twotone { background-attachment: scroll; }
.pv.theme--glow::before { position: absolute; }
/* Frame outside (style-dependent), then the deep-colour card, like the real shop header. */
.pv__head.frame { padding: 7px; }
.pv__head.frame--songket { background: repeating-linear-gradient(45deg, var(--f1) 0 6px, var(--f1-soft) 6px 9px, var(--f1) 9px 12px, var(--white) 12px 15px); }
.pv__face { grid-row: span 2; width: 44px; height: 44px; background: var(--c1-on); color: var(--c1); font-weight: 600; }
.pv__name { font-weight: 600; font-size: var(--step-1); }
.pv__line { font-size: var(--step--1); color: var(--c1-soft); }
.pv__headin { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 11px; background: var(--c1); color: var(--c1-on); box-shadow: 0 0 0 3px var(--white); }
.pv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pv__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 6px 6px 10px; border-radius: 14px; background: var(--white); box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); }
.pv__photo { aspect-ratio: 3 / 4; border-radius: 10px; background: linear-gradient(160deg, var(--c1-tint), color-mix(in srgb, var(--c1) 22%, var(--white))); }
.pv__num { position: absolute; top: 12px; left: 12px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--c1); color: var(--c1-on); font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.pv__bar { height: 10px; width: 70%; margin: 0 4px; border-radius: 5px; background: var(--fill); }
.pv__claim { height: 32px; margin: 0 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--c1-text); }
.pv__styles { flex-wrap: wrap; margin-top: 12px; }
.pv__styles button { flex: 1 0 30%; }

.perks { list-style: none; margin: 8px 0 0; padding: 0; }
.perks li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 14px 18px; border-top: 1px solid var(--line); position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: #F7C600; }
.perks strong { font-weight: 600; }
.perks span { color: var(--muted); }

.cmp { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.9375rem; }
.cmp th, .cmp td { padding: 11px 8px; border-top: 1px solid var(--line); text-align: center; vertical-align: top; }
.cmp th[scope="row"] { text-align: left; font-weight: 500; padding-left: 0; }
.cmp thead th { border-top: 0; font-weight: 600; }
.cmp .cmp__plus { background: rgba(247, 198, 0, 0.14); font-weight: 600; }
.cmp thead .cmp__plus { border-radius: 10px 10px 0 0; }
/* Enterprise column (064): ink, not Brunei yellow (yellow is Plus / Featured only). */
.cmp .cmp__ent { background: rgba(0, 0, 0, 0.06); font-weight: 600; }
.cmp thead .cmp__ent { background: var(--ink); color: var(--white); border-radius: 10px 10px 0 0; }
.entextra { margin: 12px 0 0; text-align: left; }
.entextra .input { min-height: 44px; font-size: 16px; max-width: 220px; }
/* /premium/: Free · Plus · Premium, four columns on a phone. */
.cmp--3 { font-size: 0.875rem; }
.cmp--3 th, .cmp--3 td { padding: 10px 5px; }
.plus__body { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.plus__title .verified { font-size: 0.55em; margin-left: 0.25em; vertical-align: 0.35em; }

.faq { border-top: 1px solid var(--line); }
.faq > summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; min-height: var(--tap); font-weight: 500; cursor: pointer; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.faq[open] > summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }
.pricebox { margin: 0 0 18px; padding: 16px; border-radius: 14px; background: rgba(247, 198, 0, 0.12); box-shadow: inset 0 0 0 1px rgba(247, 198, 0, 0.35); }
.pricebox .field { margin-bottom: 12px; }
.pricebox__amount { max-width: 260px; }
.pricebox__per { display: grid; place-items: center; padding: 0 12px; color: var(--muted); white-space: nowrap; }
.pricebox #price-note { resize: vertical; }
.pricebox .field__hint, .pricebox .field__err { margin: 0 0 10px; }
.plus-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--step--1); } /* 44 px tap (064: three links in a row on the plan card) */
.plus-link + .plus-link, .btn + .plus-link { margin-left: 12px; }

/* Help thread with lakuBN (seller dashboard) and the admin's view of it. */
.grow > summary .field__hint.is-new { padding: 1px 9px; border-radius: 999px; background: var(--live); color: var(--white); font-size: 12px; font-weight: 600; }
.thread { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.thread[hidden] { display: none; }
.thread__msg { max-width: 88%; padding: 8px 12px; border-radius: var(--r-md); background: var(--fill); }
.thread__msg.is-me { align-self: flex-end; background: var(--ink); color: var(--white); }
.thread__msg.is-me .thread__who { color: rgba(255, 255, 255, 0.7); }
.thread__msg.is-plus { box-shadow: inset 0 0 0 2px #F7C600; }
.thread__who { display: block; font-size: 12px; color: var(--muted); }
.thread__body { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#help-text { margin-bottom: 4px; resize: vertical; }
.adminthread { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.adminthread .btn { align-self: flex-start; }
.inbox__meta { flex-wrap: wrap; }
.btn--reveal { background: var(--c1, var(--ink)); border-color: var(--c1, var(--ink)); color: var(--c1-on, var(--white)); }

/* Colour picker in Edit shop. */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.swatch {
  width: var(--tap); height: var(--tap); border-radius: 50%; cursor: pointer;
  border: 2px solid var(--ground); box-shadow: 0 0 0 1px var(--line-strong);
  background: var(--shop);
}
.swatch--none { background: var(--white); position: relative; }
.swatch--none::after { content: ""; position: absolute; left: 22%; right: 22%; top: calc(50% - 1px); height: 2px; background: var(--line-strong); transform: rotate(-45deg); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
/* 041: Plus colours carry a small Brunei-yellow mark, like Plus everywhere else. */
.swatch--plus { position: relative; }
.swatch--plus::after { content: ""; position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: #F7C600; box-shadow: 0 0 0 2px var(--white); }

/* Frame picker: a small framed tile per style, showing the seller's own colour. */
.frame-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 4px; }
.frame-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font-size: var(--step--1); color: var(--ink); }
/* Mini page previews: the style's background with a small header block and two item blocks. */
.mini { position: relative; overflow: hidden; width: 100%; height: 76px; border-radius: 10px; background-color: var(--c1-tint); box-shadow: inset 0 0 0 1px rgba(28, 28, 30, 0.08); }
.mini.theme--glow::before { position: absolute; }
.mini.theme--night { background: #141416; }
.mini.theme--sticker i:nth-child(n+2) { box-shadow: inset 0 0 0 1.5px #1C1C1E, 2px 2px 0 #1C1C1E; }
.mini.theme--sticker i:nth-child(1) { box-shadow: 0 0 0 1.5px #1C1C1E, 2px 2px 0 #1C1C1E; }
.mini i { position: absolute; border-radius: 4px; }
.mini i:nth-child(1) { left: 8px; right: 8px; top: 8px; height: 18px; background: var(--c1); }
.mini i:nth-child(2), .mini i:nth-child(3) { top: 32px; width: calc(50% - 12px); height: 36px; background: var(--white); }
.mini i:nth-child(2) { left: 8px; }
.mini i:nth-child(3) { right: 8px; }
.frame-pick small { color: var(--muted); font-size: 12px; }
.frame-pick[aria-checked="true"] .mini { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ------------------------------------------------------------ hub bands */
/* Each hub section is a full-width strip of warm paper with the lakuBN logo repeated and tilted. The
   tiles carry the colour; the logos show in the gaps. Live = a faint red paper with red logos, Featured =
   faint Brunei yellow, All = plain warm paper with ink logos. The pattern is a mask
   (img/laku-pattern.svg, built by tools/laku-pattern.mjs), so its colour and strength are set here. */
html, body { overflow-x: clip; }
.band {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 20px calc(50% - 50vw) 0; padding: 2px max(var(--gutter), calc(50vw - 540px + var(--gutter))) 22px;
  background: var(--band-paper); border-block: 1px solid var(--band-line);
}
.band::before {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; background: var(--band-ink);
  -webkit-mask: url("/img/laku-pattern.svg") 0 0 / 190px auto repeat; mask: url("/img/laku-pattern.svg") 0 0 / 190px auto repeat;
  transform: rotate(-12deg);
}
.band + .band { margin-top: 0; border-top: 0; }
.band--live     { --band-paper: #F7ECE9; --band-ink: rgba(179, 46, 37, 0.16); --band-line: rgba(217, 58, 48, 0.14); }
.band--featured { --band-paper: #FAF1D3; --band-ink: rgba(110, 84, 19, 0.16); --band-line: rgba(229, 181, 71, 0.35); }
.band--all      { --band-paper: #F2EFE9; --band-ink: rgba(28, 28, 30, 0.15);  --band-line: #E6E1D8; }

/* Featured strip (only while someone is live): slim white cards in a native scroll-snap row under Live now. */
.hub__h--sm { margin: 18px 0 10px; font-size: var(--step-0); font-weight: 600; }
.band--slim { margin-top: 0; padding-bottom: 14px; }
.band--slim.band--featured { border-top: 0; }
.featrow { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.featrow::-webkit-scrollbar { display: none; }
.featrow > li { flex: 0 0 72%; scroll-snap-align: start; min-width: 0; }
.featcard { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px 10px 12px; background: var(--white); border-radius: 14px; text-decoration: none; color: inherit;
  box-shadow: 0 0 0 1px rgba(229, 181, 71, .45), 0 6px 16px rgba(110, 84, 19, .10); }
.featcard .avatar.has-ring:not(.is-live), .featcard .avatar { box-shadow: 0 0 0 1px #E5B547, 0 2px 6px rgba(110, 84, 19, .18); }
.featcard__t { min-width: 0; display: flex; flex-direction: column; }
.featcard__n { font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featcard__l { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sample shops band: cool paper, dashed edges, no logo pattern, so it never reads as a real section. */
.band--sample { --band-paper: #E9F1EE; --band-line: #BBD3CC; border-block: 1.5px dashed #9FC1B8; margin-top: 28px; }
.band--sample::before { display: none; }
.band--sample + .sellcta { margin-top: 0; }
.sample__h { margin: 22px 0 4px; font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; }
.sample__sub { margin: 0 0 14px; color: #3C5A53; font-size: var(--step--1); line-height: 1.4; max-width: 34ch; }
.chip-sample { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; border: 1.5px solid #0B6E66; color: #0B6E66; background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.sample__foot { margin: 14px 0 0; font-size: var(--step--1); color: #3C5A53; }
.sample__foot a { display: inline-flex; align-items: center; min-height: 44px; color: #0B6E66; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.samprow { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 0; text-decoration: none; color: inherit; }
.samprow__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.samprow__n { font-weight: 600; }
.samprow__l { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.samplist { list-style: none; margin: 0; padding: 0 14px; background: var(--white); border-radius: var(--r-md); box-shadow: 0 6px 18px rgba(11, 110, 102, .08); }
.samplist li + li { border-top: 1px solid #DCE9E5; }

/* ------------------------------------------------------------ fun: ticker + live pulse */

/* "Just now" ticker: one slim moving line under the hub header. Constant motion, so linear. */
.ticker {
  margin: 18px calc(-1 * var(--gutter)) 0; padding: 10px 0; overflow: hidden;
  border-block: 1px solid var(--line-strong); background: var(--ground);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
@media (min-width: 720px) { .ticker { margin-inline: 0; border-radius: 999px; border: 1px solid var(--line-strong); } }
.ticker__track { display: flex; width: max-content; animation: ticker var(--ticker-s, 30s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap;
  font-size: var(--step--1); color: var(--ink); text-decoration: none; min-height: 28px;
}
.ticker__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.ticker__item--live::before, .ticker__item--sold::before { background: var(--live); }
.ticker__item--sold { font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Live pulse: a ring that swells and fades out behind a live shop's face. Transform + opacity only. */
.avatar-live { position: relative; display: inline-flex; flex: none; border-radius: 50%; }
.avatar-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--live); opacity: 0;
  animation: live-pulse 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
/* Swell for the first 60%, then rest, so several live shops breathe instead of flicker. */
@keyframes live-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ------------------------------------------------------------ Quick add (044) */

/* Seller bar while live: red Quick add beside a smaller Add item. */
.addbar--live { display: flex; gap: 10px; }
.addbar--live .addbar__quick { flex: 1; min-height: 48px; font-size: var(--step-0); }
.addbar--live #add-item { width: auto; flex: 0 0 116px; min-height: 48px; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.addbar--live #add-item:disabled { border-color: var(--line-strong); color: var(--muted); }

/* Seller: the Quick items panel under the live box. */
.quickbox { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.quickbox__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quickbox .field__hint { margin: 0; }
.quickbox__list { list-style: none; margin: 6px 0 0; padding: 0; }
.quickbox__list li { border-top: 1px solid var(--line); }
.quickbox__list li:first-child { border-top: 0; }
.quickbox__list:empty { display: none; }
.quickbox__more { margin: 4px 0 0; text-align: center; }
.quickrow { width: 100%; }
.quickrow .itemrow__thumb { display: grid; place-items: center; }
.quickrow__nophoto { font-size: 12px; font-weight: 600; color: var(--muted); }
.quickrow .itemrow__text { flex: 1; }
.qtag { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.qtag--waiting { background: var(--fill); color: var(--muted); }
.qtag--booked { background: var(--ink); color: var(--white); }
.qtag--paid { background: #E8F2EC; color: #1A6F45; } /* 5.4:1 on the tint */
.quickkeep { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.quickkeep:empty { display: none; }
.quickkeep__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quickkeep__t { font-weight: 500; }
.plus-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--sun-on); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.qswitch {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; margin: 0;
  width: 44px; height: 26px; border-radius: 13px; background: var(--line-strong); cursor: pointer;
}
.qswitch::before { content: ""; position: absolute; inset: -10px -4px; } /* a 44px tap area */
.qswitch::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white);
}
.qswitch:checked { background: #1F7D50; }
.qswitch:checked::after { transform: translateX(18px); }
.qswitch:disabled { opacity: 0.5; cursor: default; }

/* Seller: the card after a live. */
.quickafter__stat { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; background: var(--fill); border-radius: 14px; }
.quickafter__n { font-size: 34px; font-weight: 600; line-height: 1; }
.quickafter__what { font-weight: 600; }
.quickafter__stat .field__hint { margin: 2px 0 0; }
.quickafter__wait { margin-top: 18px; }
.quickafter__waith { margin: 0 0 2px; font-size: var(--step-0); font-weight: 600; }
.quickafter__rows { list-style: none; margin: 0; padding: 0; }
.quickafter__rows li { padding: 12px 0; border-top: 1px solid var(--line); }
.quickafter__acts { justify-content: space-between; align-items: center; }
.quickafter .quickkeep { margin-top: 16px; }
.quickafter > .btn--block { margin-top: 16px; }

/* Seller: the Quick add sheet. Lifted by --kb (set from visualViewport) so the keyboard never covers it. */
.qsheet { max-height: calc(100dvh - 24px - var(--kb, 0px)); }
@media (max-width: 719px) { .sheet.qsheet { inset: auto 0 var(--kb, 0px) 0; } }
.qsheet__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
#q-posted.is-low { color: #7A5600; font-weight: 600; }
.qsheet__lede { margin: 2px 0 14px; color: var(--muted); font-size: var(--step--1); min-height: 1.4em; }
.qsheet__lede[hidden] { display: none; }
.qsheet__top { display: flex; gap: 14px; align-items: stretch; }
.qsheet__photo {
  position: relative; flex: none; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 14px; border: 1.5px dashed #B9B9B3; background: var(--white) center / cover no-repeat;
  color: var(--muted); font-size: 12.5px; line-height: 1.25; text-align: center; cursor: pointer;
}
.qsheet__photo.has-photo { border-style: solid; border-color: transparent; }
.qsheet__photo.has-photo svg, .qsheet__photo.has-photo .qsheet__phototext { opacity: 0; }
.qsheet__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qsheet__photocol { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qsheet__cam { position: relative; min-height: 32px; display: inline-flex; align-items: center; font-size: 14px; cursor: pointer; }
.qsheet__opt { color: var(--muted); font-weight: 400; }
.qsheet__fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.qsheet__price .input { min-width: 0; min-height: 50px; font-size: 24px; font-weight: 600; }
.qsheet__qty { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 2px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.qsheet__qty button { width: 48px; height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.qsheet__qty button:disabled { color: var(--line-strong); cursor: default; }
.qsheet__qn { font-weight: 600; font-size: 17px; }
.qsheet__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qchip { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.qchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rc-pick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 14px; }
.rc-pick[hidden] { display: none; }
.rc-pick .qchip { font-weight: 500; font-size: 0.875rem; height: 40px; }
.qsheet__go { min-height: 52px; font-size: 1.0625rem; font-weight: 600; }

/* Live length (045): four boxes under the live button. Same box as the status picker. */
.livelen { margin-top: 12px; }
.livelen__label { display: block; font-size: var(--step--1); color: var(--muted); }
.livelen__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.livelen__opt {
  min-height: var(--tap); padding: 6px 4px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong);
  background: var(--white); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.livelen__opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.livelen__custom { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--step--1); color: var(--muted); }
.livelen__custom .input { width: 96px; font-size: 16px; }

/* Events (045): seller list + form, shop page band, hub band. */
.evlist { list-style: none; margin: 8px 0; padding: 0; }
.evlist__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.evlist__row:first-child { border-top: 0; }
.evlist__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.evform { margin: 8px 0 12px; }
.evform__row { display: flex; flex-wrap: wrap; gap: 0 12px; }
.evform__row .field { flex: 1 1 200px; }
.evform .input { font-size: 16px; }
.evform__actions { display: flex; align-items: center; gap: 16px; }
/* Event "ticket": solid white on every shop colour / style / Night (literal colours on purpose, like
   Night's white cards), date stub with a dashed tear line and notches. No red (Live), no yellow
   (badge / Featured / Plus). The shadow sits on the outer box because a mask would cut it off. */
.tile__event, .shop-head__event { display: block; filter: drop-shadow(0 0 .5px rgba(0,0,0,.4)) drop-shadow(0 2px 5px rgba(0,0,0,.2)); }
.tile__event { width: 100%; margin-top: 4px; }
.tile__event-in, .shop-head__event-in {
  display: flex; align-items: stretch; overflow: hidden; text-align: left; background: #fff; color: #1C1C1E;
  --notch: radial-gradient(circle var(--nr) at var(--nx) 0, #0000 97%, #000) top / 100% 51% no-repeat,
           radial-gradient(circle var(--nr) at var(--nx) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  -webkit-mask: var(--notch); mask: var(--notch);
}
.tile__event-in { --nr: 4px; --nx: 40px; min-height: 40px; border-radius: var(--r-sm, 8px); font-size: 11px; line-height: 1.25; }
.tile__event-d, .ev-stub {
  flex: none; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-right: 1.5px dashed rgba(28,28,30,.3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.tile__event-d { width: 40px; font-size: 9px; }
.tile__event-d b, .ev-stub b { font-weight: 700; letter-spacing: 0; line-height: 1.05; }
.tile__event-d b { font-size: 16px; }
.tile__event-t {
  /* Side padding only (2026-11-14 fix): top/bottom padding let a sliver of a third line show under the 2-line clamp. */
  flex: 1; min-width: 0; align-self: center; padding: 0 8px; font-weight: 600; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
/* The stub wears the shop's colour (soft tint + its text colour; solid while the event is on). */
.tile__event-d, .ev-stub { background: var(--c1-tint, #F1F1F3); color: var(--c1-text, #1C1C1E); }
.is-on .tile__event-d, .is-on .ev-stub { background: var(--c1, #1C1C1E); color: var(--c1-on, #fff); border-right-color: transparent; }
.is-on .tile__event-d b { font-size: 11px; letter-spacing: .04em; }
.shoprow .tile__event { max-width: 260px; }
/* Shop page: under the name row, every plan. */
.shop-head__event { width: fit-content; max-width: min(100%, 340px); margin-top: 12px; filter: drop-shadow(0 0 .5px rgba(0,0,0,.4)) drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.shop-head__event[hidden] { display: none; }
.shop-head__event-in { --nr: 5px; --nx: 48px; border-radius: var(--r-md); font-size: 12px; line-height: 1.3; }
.ev-stub { width: 48px; font-size: 9px; }
.ev-stub b { font-size: 18px; }
.is-on .ev-stub b { font-size: 11px; letter-spacing: .04em; }
/* Faint ticket print: dotted rule above the date line. */
.ev-body { min-width: 0; padding: 7px 12px 8px 10px; }
.ev-body p { margin: 0; }
.ev-body .ev-label { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c1-text, #1C1C1E); }
.ev-body .ev-label::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0; border-radius: 50%; background: currentColor; }
.ev-body .ev-name { margin-top: 1px; font-size: .875rem; font-weight: 700; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ev-body .ev-when { margin-top: 4px; padding-top: 4px; border-top: 1px dotted rgba(28,28,30,.25); }
.ev-body .ev-where { margin-top: 1px; color: #6B6B70; }

/* Buyer: "Just added from the live", above the shop. */
.quickband { margin: 0 0 8px; }
.quickband__head { display: flex; align-items: center; gap: 8px; margin: 0 2px 8px; }
.quickband__title { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--red); }
.quickband__meta { margin-left: auto; color: var(--muted); font-size: var(--step--1); }
.quickband__list { list-style: none; margin: 0; padding: 4px 14px; background: var(--white); border-radius: var(--r-lg); }
.qrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.qrow:first-child { border-top: 0; }
.qrow__photo { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 64px; border-radius: 10px; background: var(--fill); }
.qrow__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.qrow__nophoto { font-size: 13px; font-weight: 600; color: var(--muted); }
.qrow__photo .qrow__num { top: -6px; left: -6px; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; background: var(--ink); color: var(--white); }
.themed .qrow__photo .qrow__num { background: var(--c1); color: var(--c1-on); }
.qrow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qrow__name { margin: 0; font-size: var(--step-0); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.qrow__left { min-height: 0; color: var(--muted); font-weight: 400; }
.qrow__claim { flex: none; min-width: 88px; max-width: 124px; padding: 6px 12px; line-height: 1.1; text-align: center; }
.quickband__more { margin: 0; text-align: center; }
.quickband__more:has(> [hidden]) { display: none; }
.quickband__sect { margin: 18px 2px 8px; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.notice-toast--tap { cursor: pointer; }

/* ------------------------------------------------------------ cube shop (048, look A "Shelf wall") */
/* The shop colour is the shelf unit; each item is a recessed square cube you look into. Plain shops fall
   back to ink. Light colours (mustard, sage) get their text from --c1-on / --c1-text like everywhere else.
   No new motion: the cube sheet is the ordinary .sheet. */
.shelfwrap { padding: 0 0 140px; max-width: 560px; margin-inline: auto; }
.shelf { background: var(--c1, #1C1C1E); border-radius: 20px; padding: 12px 10px 10px; box-shadow: 0 12px 32px color-mix(in srgb, var(--c1, #1C1C1E) 32%, transparent); }
.theme--night .shelf { background: color-mix(in srgb, var(--c1, #1C1C1E) 55%, #141416); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.shelf__note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 4px 10px; font-size: 13px; line-height: 1.35; color: var(--c1-on, #fff); }
.shelf__note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c1-soft, #B4B2A9); }
.cubes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cube { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.cube__open { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; text-align: left; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; font: inherit; }
.cube__ph, .cube__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cube__ph { background: color-mix(in srgb, var(--c1, #1C1C1E) 10%, #E9E7E1); }
/* the inside of the cube: a shadow falling from the top and the left edge */
.cube__open::after { content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none;
  box-shadow: inset 0 7px 12px -2px rgba(0, 0, 0, 0.42), inset 5px 0 9px -4px rgba(0, 0, 0, 0.28); }
.cube__no { position: absolute; z-index: 2; top: 6px; left: 6px; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
  background: var(--c1, #1C1C1E); color: var(--c1-on, #fff); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.cube__deck { position: absolute; z-index: 2; top: 6px; right: 6px; height: 22px; min-width: 22px; padding: 0 6px 0 5px; border-radius: 999px; background: var(--ground); color: var(--ink);
  font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.theme--night .cube__deck { background: #fff; color: #1C1C1E; }
.cube__deck i { position: relative; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; margin-right: 1px; }
.cube__deck i::before { content: ""; position: absolute; inset: -4px -4px 4px 4px; border: 1.5px solid currentColor; border-radius: 2px; opacity: 0.55; }
/* Vendor name plate: up to two lines, smaller type and balanced wrapping so "Sample Ceramics by Ana" fits. */
.cube__name { position: absolute; z-index: 2; left: 4px; right: 4px; bottom: 4px; padding: 4px 5px; border-radius: 6px; background: rgba(255, 255, 255, 0.94);
  font-size: 11px; line-height: 1.2; font-weight: 600; color: #1C1C1E; min-height: 2.4em; display: flex; align-items: center; }
.cube__name span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; text-wrap: balance; }
.cube.is-sold .cube__ph img, .cube.is-sold .cube__ph { filter: grayscale(1); opacity: 0.5; }
.cube.is-sold .cube__name { color: var(--muted); }
.cube__state { position: absolute; z-index: 2; top: 38px; left: 0; right: 0; text-align: center; }
.cube__state span { display: inline-block; background: rgba(28, 28, 30, 0.82); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }

/* Opened cube: the sheet keeps the recess look. */
.sheet--cube { padding: 8px 0 calc(16px + env(safe-area-inset-bottom)); }
.cubesheet__head { display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter) 10px; }
.cubesheet__no { flex: none; min-width: 56px; height: 56px; padding: 0 8px; border-radius: 12px; background: var(--c1, #1C1C1E); color: var(--c1-on, #fff); display: grid; place-items: center;
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em; box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.28); }
.cubesheet__title { flex: 1; min-width: 0; }
.cubesheet__title h2 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.cubesheet__title p { margin: 1px 0 0; font-size: 13px; color: var(--muted); }
.cubesheet__x { flex: none; position: relative; width: var(--tap); height: var(--tap); border: 0; border-radius: 50%; background: var(--fill); cursor: pointer; }
.cubesheet__x::before, .cubesheet__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px; background: var(--ink); transform: rotate(45deg); }
.cubesheet__x::after { transform: rotate(-45deg); }
.cubesheet__note { margin: 0 var(--gutter) 12px; padding: 8px 12px; border-radius: 10px; background: var(--c1-tint, var(--fill)); color: var(--c1-text, var(--ink)); font-size: 13px; line-height: 1.35; font-weight: 500; }
.cubesheet__inside { margin: 0 8px; padding: 14px 8px 4px; border-radius: 16px; background: color-mix(in srgb, var(--c1, #1C1C1E) 7%, #F3F2EE);
  box-shadow: inset 0 8px 14px -6px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.cubesheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cubesheet__ledge { height: 9px; margin: 12px -8px 16px; border-radius: 0 0 5px 5px; background: color-mix(in srgb, var(--c1, #1C1C1E) 28%, #D3D0C8);
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.cprod { display: flex; flex-direction: column; min-width: 0; }
.cprod__ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--fill); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.3); }
.cprod__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cprod__none { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 8px; color: var(--muted); font-size: 12px; }
.cprod__pct { position: absolute; top: 6px; left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--c1, #1C1C1E); color: var(--c1-on, #fff); font-size: 12px; font-weight: 600; }
.cprod__body { padding: 9px 2px 0; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.cprod__name { margin: 0; font-size: 0.9375rem; line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.cprod__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cprod__now { font-weight: 600; }
.cprod__left { color: var(--red); font-size: var(--step--1); font-weight: 500; min-height: 1.5em; }
.cprod__left.is-quiet { color: var(--muted); }
.cprod__push { flex: 1; min-height: 6px; }
.cprod.is-sold .cprod__ph img { filter: grayscale(1); opacity: 0.45; }
.cprod.is-sold .cprod__name, .cprod.is-sold .cprod__now { color: var(--muted); }
.cprod__confirm { font-size: 12px; line-height: 1.3; color: var(--muted); margin: 4px 0 0; text-align: center; }
.cprod .claim-btn { width: 100%; }
.cprod .linkbtn { align-self: center; font-size: 13px; }
.cubesheet__bar { margin: 14px var(--gutter) 0; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--c1, #1C1C1E); color: var(--c1-on, #fff);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.cubesheet__bar[hidden] { display: none; }
.cubesheet__bar-t { font-size: 13px; line-height: 1.25; min-width: 0; }
.cubesheet__bar-t b { display: block; font-size: 15px; }
.cubesheet__bar .btn { flex: none; min-height: 40px; padding: 0 16px; background: #fff; border-color: #fff; color: #1C1C1E; font-size: 14px; }
/* The page's bottom bar on a cube shop says where to confirm, in place of the See bookings link. */
.cartbar--cube .cartbar__link { color: var(--muted); text-decoration: none; }

/* ------------------------------------------------------------ backup WhatsApp numbers (050, Edit shop) */
.wab__list { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; }
.wab__locked a { color: var(--ink); display: inline-flex; align-items: center; min-height: var(--tap); }
.wabrow { padding: 12px; border-radius: var(--r-md); background: var(--fill); }
.wabrow.is-on { box-shadow: inset 0 0 0 2px var(--ink); background: var(--white); }
.wabrow__top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 8px; }
.wabrow__top .input { width: 100%; min-width: 0; font-size: 16px; }
.wabrow__bar { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.wabsw { min-width: 84px; height: var(--tap); padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.wabsw.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.wabsw:disabled { opacity: 0.5; cursor: default; }
.wab__opts { grid-template-columns: repeat(3, 1fr); }
.wab__timer { margin-top: 10px; }
.wab__until { margin: 8px 0 0; font-size: var(--step--1); color: var(--muted); }

/* ------------------------------------------------------------ motion preferences */

@media (prefers-reduced-motion: reduce) {
  .btn, .stepper button { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
  .btn:active:not(:disabled), .stepper button:active, .cartqty__btn:active, .card__optpill:active,
  .tile:active, .tagchip:active:not(:disabled) { transform: none; }
  .tile { transition: none; }
  .tagchip { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease; }
  .sheet, .sheet:not([open]) { transform: none; transition: opacity 160ms ease, display 160ms allow-discrete, overlay 160ms allow-discrete; }
  .sheet:not([open]) { opacity: 0; }
  @starting-style { .sheet[open] { transform: none; opacity: 0; } }
  .claim-btn.is-claimed .tick path { animation: none; stroke-dashoffset: 0; }
  .cartbar { transition: opacity 160ms ease; @starting-style { opacity: 0; } }
  .cartbar.is-leaving { transform: none; opacity: 0; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker__run[aria-hidden="true"] { display: none; }
  .ticker__run { flex-wrap: wrap; row-gap: 4px; }
  .avatar-live::after { animation: none; }
  .theme--glow::before { animation: none; } /* page and the mini preview in Edit shop */
  .notice-toast { transition: opacity 160ms ease; @starting-style { opacity: 0; } }
}

/* Pay when they collect (049): label, then hint on its own line, then the ticks */
.collect > .field__label,
.collect > .field__hint { display: block; }
.collect > .field__hint { margin: 2px 0 4px; }

/* Photo viewer (js/viewer.js, 2026-11-12): tap an item photo to see it big. Dark full screen, the photo centred,
   a white info card under it (name, price, left, MAU!). Swipe between photos with native scroll snap. */
.viewer, .themed.theme--night .viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.viewer::backdrop { background: transparent; }
.viewer__bg { position: absolute; inset: 0; background: rgba(12, 12, 14, 0.94); }
.viewer__stage { position: relative; grid-row: 1; min-height: 0; }
.viewer__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain;
  scrollbar-width: none; touch-action: pan-x; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer.is-zoomed .viewer__track { overflow: hidden; touch-action: none; }
.viewer__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center;
  padding: max(60px, calc(env(safe-area-inset-top) + 56px)) 12px 22px; overflow: hidden; }
.viewer__slide img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.viewer__slide img.is-anim { transition: transform 220ms var(--ease-out); }
.viewer__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.viewer__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.viewer__dots i.is-on { background: #FFFFFF; }
.viewer__close { position: absolute; z-index: 2; top: max(10px, env(safe-area-inset-top)); right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 18px; display: grid; place-items: center; cursor: pointer; }
.viewer__close:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.viewer__info { position: relative; grid-row: 2; width: min(100%, 560px); margin: 0 auto; max-height: 42vh; overflow: auto; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom)); background: var(--white); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; }
@media (min-width: 600px) { .viewer__info { margin-bottom: 16px; border-radius: var(--r-lg); } }
.viewer__title { margin: 0; font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.viewer__sub { margin: 0; color: var(--muted); }
.viewer__price { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: var(--step-1); font-weight: 600; }
.viewer__left { margin: 0; font-size: var(--step--1); font-weight: 500; color: var(--red); }
.viewer__left.is-quiet { color: var(--muted); }
.viewer__desc { margin: 4px 0 0; white-space: pre-line; }
.viewer__info .claim-btn { width: 100%; margin-top: 8px; }
html.viewer-open { overflow: hidden; }
/* Item photos open the viewer: a hint that they're tappable. */
.card__photo[role=button], .qrow__photo[role=button], .cprod__ph[role=button], .pick__photo[role=button] { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .viewer__slide img.is-anim { transition: none; } }

/* Plan-only tags (2026-11-12): shown to every shop, locked, with the plan's name, so shops see what to ask for. */
.tagchip.is-locked { display: inline-flex; align-items: center; gap: 6px; border-style: dashed; color: var(--muted); background: transparent; opacity: 1; cursor: not-allowed; }
.tagchip__plan { padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 600; line-height: 16px; }
.tagpick__lock { margin: 6px 0 0; font-size: var(--step--1); color: var(--muted); }
.tagpick__lock a { color: var(--ink); font-weight: 600; }

/* "Your shop" order (2026-11-14): Live | Shop status tiles under the banner, every other panel a fold except
   Bookings. Going live opens Live and moves Events below Bookings (seller.js renderDashOrder). */
.dsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 14px 0 8px; }
.dtile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; min-height: 64px; padding: 10px 36px 10px 14px;
  position: relative; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.06);
}
.dtile::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.dtile[aria-expanded="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dtile[aria-expanded="true"]::after { margin-top: -2px; transform: rotate(225deg); border-color: var(--ink); }
.dtile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dtile__title { font-size: var(--step--1); color: var(--muted); font-weight: 500; }
.dtile__now { max-width: 100%; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtile__now .shop-status { font-size: 13px; }
.dtile.is-live { border-color: var(--live); background: color-mix(in srgb, var(--live) 8%, var(--white)); }
.dtile.is-live[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--live); }
.dtile.is-live::after { border-color: var(--live); }
.dtile.is-live .dtile__now { color: var(--live); }
/* The open tile's panel sits right under the pair. */
.dbody > .status { margin-top: 0; padding-top: 0; border-top: 0; }
#live-body { display: flex; flex-direction: column; }
.dsub { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dsub .panel__head { margin-bottom: 8px; }
.dsub .reviews__title { margin: 0; }
/* While live: the live tools come first, length and poster drop to the end. */
#view-dash.is-live #live-body .livelen { order: 1; }
#view-dash.is-live #live-body .poster { order: 2; }
/* While live the banner slims down: no link box or link guide. Copy link and QR stay. */
#view-dash.is-live .panel--shop .shopline__link, #view-dash.is-live .panel--shop .linkguide { display: none; }
/* Folds: one look for every folded panel (summary title left, "where it stands" right). */
.dfold > summary .panel__title { flex: none; }
.dfold > summary .field__hint { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.dfold[open] > summary { margin-bottom: 12px; }
.panel.dfold:not(.grow__item) { padding-top: 6px; padding-bottom: 6px; }
.themed #view-dash .panel.dfold { padding-top: 8px; padding-bottom: 8px; }
.themed #view-dash .panel.dfold[open] { padding-bottom: 18px; }
.panel.dfold[open] { padding-bottom: 20px; }
.dfold > summary .field__hint.is-live { color: var(--live); font-weight: 600; }

/* ============================================================ Events + event pass (2026-11-14, migrations 054-056)
   Ticket, hub row, /e/, /events/, /join/, the organizer fold, the ticket look editor, Fast Sold. Mockups: _work/event-looks/.
   Motion (/review-animations 2026-11-14, fixes applied): the dots under the ticket row (colour only, the width snaps),
   the switch thumb (180 ms, slides on tap), the Fast Sold undo toast (like .notice-toast) and the Show more reveal (none:
   rows just appear). Reduced motion drops the movement and keeps colour fades. */

/* ---------- the ticket: colours come in as inline custom properties from js/events.js ---------- */
.tkw { display: block; position: relative; text-decoration: none; color: #1C1C1E;
  filter: drop-shadow(0 0 .5px rgba(0,0,0,.4)) drop-shadow(0 4px 12px rgba(0,0,0,.16)); }
.tkt { --nx: 78px; --nr: 8px; display: flex; align-items: stretch; overflow: hidden; border-radius: 16px; text-align: left;
  background: var(--tk, #fff); color: var(--tk-on, #1C1C1E);
  -webkit-mask: radial-gradient(circle var(--nr) at var(--nx) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at var(--nx) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--nr) at var(--nx) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at var(--nx) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.tkt__stub { flex: none; width: var(--nx); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--stub, #F1F1F3); color: var(--stub-on, #1C1C1E);
  border-right: 1.5px dashed color-mix(in srgb, var(--stub-on, #1C1C1E) 45%, transparent);
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1; padding: 10px 0; }
.tkt__stub b { font-size: 32px; letter-spacing: -.02em; line-height: 1; margin: 2px 0; font-weight: 600; }
.tkt__stub--logo { gap: 6px; font-size: 9px; letter-spacing: .08em; text-align: center; }
.tkt__logo { width: 36px; height: 36px; border-radius: 50%; background: #fff center / cover no-repeat; color: #1C1C1E; display: grid; place-items: center;
  font-size: 16px; font-weight: 600; letter-spacing: 0; box-shadow: 0 0 0 2px color-mix(in srgb, var(--stub-on, #1C1C1E) 30%, transparent); }
.tkt__body { flex: 1; min-width: 0; padding: 12px 14px 12px 15px; display: flex; flex-direction: column; justify-content: center; }
.tkt__name { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.12; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
/* The date and place line is full strength: a faded line failed the 4.5:1 text contrast on several colours (audit 2026-11-14). */
.tkt__meta { margin-top: 5px; font-size: 12.5px; line-height: 1.35; color: var(--tk-on, #1C1C1E); }
.tkt__meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt__foot { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tkt__faces { display: flex; flex: none; }
.tkt__faces > * { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; font: 600 10px/20px var(--font); font-style: normal; color: #fff; text-align: center; background: #6B6B70 center / cover no-repeat; display: block; }
.tkt__faces > :first-child { margin-left: 0; }
/* The live count always sits in a white chip with ink text: the red dot reads on every colour. */
.tkt__chip { display: inline-flex; align-items: center; gap: 6px; flex: none; min-width: 0; padding: 4px 10px; border-radius: 999px; background: #fff; color: #1C1C1E; font-size: 12.5px; font-weight: 600; box-shadow: 0 0 0 1px rgba(28,28,30,.1); }
.tkt__chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkt__dot { width: 7px; height: 7px; border-radius: 50%; background: #D93A30; box-shadow: 0 0 0 3px rgba(217,58,48,.18); flex: none; }
.tkt__chev { flex: none; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 1px; }
/* Pattern strengths (--tk-end, --tk-stripe, --ov-*) are worked out in js/events.js so that the name and date lines reach
   4.7:1 against the LIGHTEST background under them, whatever the colour. */
.tkw--gradient .tkt { background: linear-gradient(170deg, var(--tk) 35%, var(--tk-end, var(--tk))); }
.tkw--songket .tkt { background-color: var(--tk);
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--tk-soft) var(--ov1, 0%), transparent) 12px 14px), repeating-linear-gradient(-45deg, transparent 0 12px, color-mix(in srgb, var(--tk-soft) var(--ov2, 0%), transparent) 12px 14px); }
.tkw--stripes .tkt { background: repeating-linear-gradient(135deg, var(--tk) 0 14px, var(--tk-stripe, var(--tk)) 14px 28px); }
.tkw--dots .tkt { background: var(--tk) radial-gradient(color-mix(in srgb, var(--tk-soft) var(--ov-dots, 0%), transparent) 2px, transparent 2.5px) 0 0 / 16px 16px; }
.tkw--glow .tkt { background: radial-gradient(closest-side, color-mix(in srgb, var(--tk) 70%, transparent), transparent) 110% -10% / 90% 70% no-repeat,
  radial-gradient(closest-side, color-mix(in srgb, var(--tk-soft) var(--ov-glow, 0%), transparent), transparent) -30% 110% / 90% 70% no-repeat, var(--tk); }
.tkw--night .tkt { background: #161618; box-shadow: inset 0 0 0 2px var(--tk); }
.tkw--sticker { filter: drop-shadow(1.5px 0 0 #1C1C1E) drop-shadow(-1.5px 0 0 #1C1C1E) drop-shadow(0 1.5px 0 #1C1C1E) drop-shadow(0 -1.5px 0 #1C1C1E) drop-shadow(4px 4px 0 #1C1C1E); }
/* Dark enough that white text is 4.5:1 even over a pure white photo (black at 62 % over white is #606060, 6.2:1). */
.tkw--photo .tkt { background: linear-gradient(180deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.78) 100%), var(--photo) center / cover no-repeat; }
.tkw--photo .tkt__meta { color: #fff; }
/* Slim version: the organizer fold and the editor's small preview. */
.tkw--slim .tkt { --nx: 62px; --nr: 6px; border-radius: 14px; }
.tkw--slim .tkt__stub { padding: 10px 0; font-size: 9px; }
.tkw--slim .tkt__stub b { font-size: 26px; }
.tkw--slim .tkt__body { padding: 11px 14px; }
.tkw--slim .tkt__name { font-size: 18px; }
.tkw--slim .tkt__meta { margin-top: 3px; }
/* Event page header: no tap target, no chevron. */
.tkw--static { cursor: default; }

/* The hub row: several events side by side, next one peeks in. One event = full width. */
.evtop { margin-top: 4px; }
.evcar { list-style: none; margin: 14px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter) 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.evcar::-webkit-scrollbar { display: none; }
.evcar__i { flex: 0 0 85%; scroll-snap-align: start; min-width: 0; display: flex; }
.evcar__i > .tkw { flex: 1; min-width: 0; display: flex; }
.evcar__i > .tkw > .tkt { flex: 1; --nx: 68px; }
.evcar--one { overflow: visible; }
.evcar--one .evcar__i { flex-basis: 100%; }
.evcar--one .evcar__i > .tkw > .tkt { --nx: 78px; }
.evcar:not(.evcar--one) .tkt__stub b { font-size: 28px; }
.evdots { display: flex; justify-content: center; gap: 6px; margin: -4px 0 2px; }
/* The active dot snaps to its width (no width animation: it's a layout property and the dots follow every scroll step);
   only the colour fades. */
.evdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(28,28,30,.25); transition: background-color 160ms ease; }
.evdots i.on { width: 18px; border-radius: 3px; background: var(--ink); }
/* Hub: next upcoming event as a slim ticket when nothing is at the top */
.evnext { margin-top: 14px; display: flex; }
.evnext > .tkw { flex: 1; min-width: 0; }
.evlink { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 4px; padding: 0 2px; color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 500; }
.evlink b { font-weight: 600; }
.evlink__chev { width: 7px; height: 7px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); margin-right: 3px; }
/* All shops: Show more */
.showmore { display: flex; width: 100%; margin-top: 14px; min-height: 48px; font-weight: 600; background: var(--white); }
.showmore__n { margin: 8px 0 0; text-align: center; font-size: var(--step--1); color: var(--muted); }

/* ---------- /events/ ---------- */
.evpg { padding-bottom: 40px; }
.evpg__top { padding-top: 22px; }
.evpg__h { margin: 4px 0 6px; font-size: var(--step-3); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.evpg__sub { margin: 0 0 6px; color: var(--muted); max-width: 32ch; line-height: 1.4; }
.evpg__m { margin: 26px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.eventlist { list-style: none; margin: 0; padding: 0; background: var(--ground); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 8px 24px rgba(28,28,30,.07); }
.eventlist li + li { border-top: 1.5px dashed rgba(28,28,30,.16); }
.evrow { display: flex; align-items: stretch; min-height: 84px; text-decoration: none; color: inherit; }
.evrow__d { flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #F1F1F3; border-right: 1.5px dashed rgba(28,28,30,.25); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1; padding: 12px 0; }
.evrow__d b { font-size: 26px; letter-spacing: -.02em; margin: 2px 0; font-weight: 600; }
.evrow__t { flex: 1; min-width: 0; padding: 12px 8px 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.evrow__t b { font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.evrow__t span { font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
.evrow__c { flex: none; align-self: center; width: 7px; height: 7px; margin-right: 16px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); }
.evempty { padding: 28px 20px; background: var(--ground); border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(28,28,30,.07); color: var(--muted); line-height: 1.45; }
.evempty b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ---------- /e/<slug> and /join/<code> ---------- */
.evpage__nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 14px; font-size: 14px; font-weight: 500; }
.evpage__end { display: inline-flex; align-items: center; gap: 10px; }
.evpage__nav .langseg button { min-height: 44px; } /* the shared EN | BM toggle is 32 px; these pages make it a full tap target */
.evpage__by { margin: 10px 2px 0; font-size: var(--step--1); color: var(--muted); }
.evpage__by a { color: var(--ink); font-weight: 600; }
.evpage__h { margin: 28px 0 10px; font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.evpage__h small { font-size: var(--step--1); font-weight: 400; color: var(--muted); }
.evpage .shoplist .shoprow { position: relative; }
.stall { flex: none; align-self: center; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--fill); letter-spacing: .02em; }
.evposter { background: #fff; border-radius: 4px; padding: 22px 22px 18px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.evposter small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.evposter h3 { margin: 4px 0 2px; font-size: 24px; letter-spacing: -.02em; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.evposter__qr { width: 168px; height: 168px; margin: 16px auto 12px; }
.evposter__qr svg { display: block; width: 100%; height: 100%; }
.evposter p { margin: 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.evpage__req { margin-top: 14px; }
.evpage__req .field__hint { display: block; margin-top: 6px; text-align: center; color: #4A4A4F; } /* darker than --muted: 4.5:1 or better on the page ground */
.evpage__acts { display: flex; gap: 8px; margin-top: 12px; }
.evpage__acts .btn { flex: 1; }
.joinbox { margin-top: 18px; padding: 18px; background: var(--ground); border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(28,28,30,.07); }
.joinbox h2 { margin: 0 0 6px; font-size: var(--step-1); font-weight: 600; }
.joinbox p { margin: 0 0 12px; color: var(--muted); line-height: 1.45; }
.joinbox ul { margin: 0 0 14px; padding-left: 20px; line-height: 1.5; }
.joinbox .btn { width: 100%; margin-top: 4px; }
.joinbox .btn + .btn { margin-top: 8px; }

/* ---------- organizer fold + pass card (seller page) ---------- */
.sw { position: relative; flex: none; width: 52px; height: 32px; margin: 6px 0; border: 0; padding: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background-color 160ms ease; }
.sw::before { content: ""; position: absolute; inset: -6px -4px; } /* hit area 60 x 44 around the drawn 52 x 32 switch */
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 180ms var(--ease-out); }
.sw[aria-checked="true"] { background: var(--ink); }
.sw[aria-checked="true"]::after { transform: translateX(20px); }
.sw:disabled { opacity: .4; cursor: not-allowed; }
.orgev { padding: 14px 0 18px; border-top: 1px solid var(--line); }
.orgev:first-of-type { border-top: 0; padding-top: 4px; }
.orgstat { display: flex; border-top: 1px dotted rgba(28,28,30,.28); margin-top: 12px; padding-top: 12px; }
.orgstat div { flex: 1; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.orgstat b { display: block; font-size: 24px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; text-transform: none; }
.orgsw { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; margin-top: 6px; border-top: 1px dotted rgba(28,28,30,.28); }
.orgsw b { display: block; font-weight: 600; }
.orgnote { background: #F6F1E1; border-radius: var(--r-md); padding: 12px 14px; font-size: 13px; line-height: 1.4; color: #4A3A12; margin: 8px 0 0; }
.orgnote--lock { background: var(--fill); color: var(--ink); }
.orgcodes .seg { margin: 14px 0 6px; }
.orgcode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; }
.orgcode + .orgcode { border-top: 1.5px dashed rgba(28,28,30,.16); }
.orgcode__n { flex: none; width: 44px; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.orgcode__n b { display: block; font-size: 22px; color: var(--ink); letter-spacing: -.02em; margin-top: 3px; }
.orgcode__t { flex: 1; min-width: 0; line-height: 1.25; }
.orgcode__t b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.orgcode__t span { font-size: var(--step--1); color: var(--muted); }
.orgcode--used .orgcode__n b { color: var(--muted); }
.orgcode__acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding-left: 56px; }
.orgcode__acts .btn--primary { flex: 1; }
.orgcode--used .orgcode__acts { justify-content: flex-end; }
.orgcode .btn { min-height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.orgcode .stallin { width: 76px; min-height: 40px; padding: 0 10px; font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--fill); }
.tag--used { background: #E6F2EC; color: #1F7A4D; }
.evreq__line { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--fill); font-size: var(--step--1); line-height: 1.4; }
.evreq__ticks .check { margin-bottom: 12px; font-size: var(--step--1); }
.passcard { padding: 4px 0 6px; }
.passcard__row { padding: 10px 0; border-top: 1px solid var(--line); }
.passcard__row:first-of-type { border-top: 0; }
.passcard__row b { display: block; font-weight: 600; overflow-wrap: anywhere; }
/* Each line of a pass on its own line (they are spans; inline they ran together: "…22 NovEvent items: 0 of 10Add them…"). */
.passcard__row .field__hint { display: block; margin-top: 2px; }
.passcard__row .linkbtn { display: inline-flex; min-height: var(--tap); align-items: center; }

/* ---------- ticket look editor ---------- */
.tkprev { position: sticky; top: 0; z-index: 4; margin: 14px calc(-1 * var(--gutter)) 0; padding: 14px var(--gutter) 16px; background: #E6E6E3 linear-gradient(180deg, #F0F0EE, #E2E2DF); border-block: 1px solid #D8D8D4; }
.tkprev__l { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; display: flex; justify-content: space-between; }
.tkprev .tkw { margin: 0 4px 4px 0; }
.tkchk { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tkgrp { margin-top: 22px; }
.tkgrp h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tkgrp h4 span { font-size: 12.5px; font-weight: 400; color: var(--muted); text-align: right; }
.tkstyles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
.tkpk { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink); cursor: pointer; min-height: 56px; }
.tkpk .mini { display: block; width: 100%; height: 38px; filter: none; }
.tkpk .mini .tkt { height: 100%; --nx: 14px; --nr: 3.5px; border-radius: 8px; }
.tkpk .mini.tkw--sticker { filter: drop-shadow(1px 0 0 #1C1C1E) drop-shadow(-1px 0 0 #1C1C1E) drop-shadow(0 1px 0 #1C1C1E) drop-shadow(0 -1px 0 #1C1C1E) drop-shadow(2px 2px 0 #1C1C1E); }
.tkpk .mini .tkt::before { content: ""; width: 14px; background: var(--stub); border-right: 1px dashed rgba(0,0,0,.35); }
.tkpk .mini.tkw--plain .tkt { box-shadow: inset 0 0 0 1.5px #D0D0CC; }
.tkpk[aria-pressed="true"] .mini { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 9px; }
.tkpk[aria-pressed="true"] { font-weight: 600; }
.tkcols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tkcl { position: relative; border: 0; padding: 0; aspect-ratio: 1; border-radius: 50%; cursor: pointer; min-height: 40px; }
.tkcl[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.tkgrp.is-off { opacity: .4; pointer-events: none; }
.tkup { display: flex; align-items: center; gap: 12px; }
.tkup__t { width: 64px; height: 40px; border-radius: 8px; background: var(--fill) center / cover; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.tkup__l { width: 40px; height: 40px; border-radius: 50%; background: #fff center / cover; display: grid; place-items: center; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-strong); flex: none; }
.tkup__b { flex: 1; min-width: 0; line-height: 1.3; }
.tkup__b b { display: block; font-weight: 600; }
.tkup__b span { font-size: 12.5px; color: var(--muted); }
.tkup .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
.tkacts { margin-top: 26px; display: flex; gap: 10px; align-items: center; }
.tkacts .btn--primary { flex: 1; }
.tkrules { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Fast Sold ---------- */
.addbar--sold { display: flex; gap: 10px; }
.addbar--sold #sold-open { flex: 1; min-height: 48px; }
.addbar--sold #add-item { flex: 1; min-height: 48px; }
/* Live: Quick add takes what is left, Sold in person and Add item stay as wide as their words. */
.addbar--live.addbar--sold #sold-open { flex: 0 0 auto; padding: 0 12px; }
.addbar--live.addbar--sold #add-item { flex: 0 0 auto; width: auto; padding: 0 12px; }
.addbar--live.addbar--sold .addbar__quick { min-width: 0; padding: 0 10px; }
.sheet .tkprev { margin-inline: -20px; padding-inline: 20px; }
.adminrow__add { display: inline-flex; align-items: center; gap: 8px; }
.soldlist { list-style: none; margin: 8px 0 0; padding: 0; }
.soldlist li { border-top: 1px solid var(--line); }
.soldlist li:first-child { border-top: 0; }
.soldpick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.soldpick:disabled { opacity: .45; cursor: default; }
.soldpick__n { flex: none; min-width: 34px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.soldpick__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.soldpick__t b { font-weight: 600; overflow-wrap: anywhere; }
.soldpick__t span { font-size: var(--step--1); color: var(--muted); }
.soldpick__p { flex: none; font-weight: 600; }
.undotoast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 31; width: min(92vw, 420px); margin: 0; padding: 6px 6px 6px 16px;
  display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--white); border-radius: 14px; font-size: 0.9375rem;
  box-shadow: 0 10px 30px rgba(28, 28, 30, 0.25); transform: translateX(-50%); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  @starting-style { opacity: 0; transform: translate(-50%, 8px); } }
.undotoast.is-leaving { opacity: 0; transition-duration: 150ms; }
.undotoast span { flex: 1; min-width: 0; }
.undotoast .btn { flex: none; background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); min-height: 44px; }
.claims li.claim--walkin { padding: 8px 0; }
.claim__walkin { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.claim__walkin .tag { background: var(--fill); color: var(--muted); }
.claim__walkin > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.claim__walkin .linkbtn { flex: none; }

/* ---------- Calmer dashboard: the More card (its rows are the old folds) and the Trips tabs ---------- */
/* Two ids so the rows stay flat under every page style (Sticker's panel shadow is .themed.theme--sticker #view-dash .panel). */
#view-dash #more-body > .panel { margin: 0; padding: 4px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
#view-dash #more-body > .panel[open] { padding-bottom: 16px; }
#view-dash .morebody > .panel > summary .panel__title { font-size: var(--step-0); font-weight: 600; }
.morebody { margin-top: 2px; }
.morejoin { margin: 0; padding: 4px 0 2px; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.morejoin .linkbtn { min-height: var(--tap); padding-inline: 4px; }
.morejoin[hidden] { display: none; }
.triptabs { width: 100%; margin: 4px 0 12px; }
.triptabs button { min-height: var(--tap); line-height: 1.2; }
.triptabs button:disabled { cursor: default; }   /* full strength: "Opens <date>" is information (round 3 audit) */
.triptabs__now { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
/* 062: several trips queued. Seller: a wrapping row of trip chips above the tabs; "+ Plan another trip"; the Plus lock line. */
.tripchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.tripchips button { min-height: var(--tap); padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; overflow-wrap: anywhere; }
.tripchips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tripmore { margin: 10px 0 0; }
.triplock { display: flex; align-items: center; min-height: var(--tap); margin: 10px 0 0; padding: 0 14px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.tripforwho { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
#i-trip-pick-row .input { width: auto; flex: 1 1 140px; min-width: 0; max-width: 100%; min-height: var(--tap); text-align: left; font-size: 16px; font-weight: 500; text-overflow: ellipsis; }
/* Buyer: more than one trip = compact banners, one under the other */
.tripban--many { padding: 12px 14px; margin-top: 8px; }
.tripban--many .tripban__h { font-size: var(--step-1); }
.tripban--many .tripban__close { margin-top: 6px; padding-top: 6px; }
.tripban__more { margin: 6px 0 0; font-size: var(--step--1); color: var(--muted); }

/* ---------- Trips (060) ---------- */
/* Buyer: banner under the shop header */
.tripban { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c1-tint, var(--fill)); color: var(--c1-text, var(--ink)); border: 1px solid var(--line); }
.tripban[hidden] { display: none; }
.tripban__k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.tripban__h { margin: 2px 0 0; font-size: var(--step-2); line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.tripban__when { margin: 4px 0 0; font-weight: 600; }
.tripban__close { margin: 10px 0 0; padding-top: 10px; border-top: 1px dotted rgba(28, 28, 30, .25); font-weight: 700; }
.tripban__close.is-closed { color: var(--red); }
.tripban__sub { margin: 4px 0 0; font-size: var(--step--1); line-height: 1.4; overflow-wrap: anywhere; }
.card__trip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 2px 0 0; font-size: var(--step--1); color: var(--ink); }
.card__trip[hidden] { display: none; }
.tripchip { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--c1-tint, var(--fill)); color: var(--c1-text, var(--ink)); }
.card__store { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.viewer__sub.card__trip { color: var(--ink); }
.tripbd { margin: 4px 0 0; font-size: var(--step--1); line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.cart__trip { color: var(--ink); font-weight: 500; }
/* Seller: trip fold */
.tripsum { margin: 4px 0 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--fill); }
.tripsum__h { margin: 0 0 6px; font-size: var(--step-1); font-weight: 700; overflow-wrap: anywhere; }
.tripsum__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; border-top: 1px solid var(--line-strong); }
.tripsum__row span { color: var(--muted); flex: none; }
.tripsum__row b { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.tripcount { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tripcount .chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--fill); font-size: 13px; font-weight: 600; }
.tripform .seg { width: 100%; }
.tripform .seg button { white-space: normal; line-height: 1.15; padding: 6px 4px; min-height: var(--tap); }
.triprates { display: grid; gap: 8px; margin: 8px 0; }
.triprate { display: flex; align-items: center; gap: 8px; }
.triprate__code { flex: 0 0 96px; min-width: 0; text-transform: uppercase; }
.triprate__rate { flex: 1; min-width: 0; }
.triprate__eq { color: var(--muted); }
.tripstores { margin-top: 14px; }
.tripstore { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0 0 14px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 500; }
.tripstore:not(:has(.tripstore__x)) { padding-right: 12px; }
.tripstore__x { width: var(--tap); height: var(--tap); border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 999px; }
.tripstores__add, .tripitem__add { display: flex; gap: 8px; margin-top: 10px; }
.tripstores__add .input, .tripitem__add .input { flex: 1; min-width: 0; font-size: 16px; }
.tripreport, .trippast { margin-top: 14px; }
.trippast__one { margin: 6px 0; padding: 8px 12px; border-radius: var(--r-md); background: var(--fill); }
.trippast__one summary { min-height: var(--tap); display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; cursor: pointer; }
.trippast__one .report__stats { margin: 6px 0 8px; }
.triprefunds { margin: 6px 0 0; padding-left: 18px; font-size: 14px; font-weight: 400; }
#trip-over { margin: 0 0 12px; }
#trip-over .field__hint { color: #4A3A12; margin: 4px 0 10px; }
/* Seller: item sheet */
.tripitem { margin-top: 10px; padding: 12px; border-radius: var(--r-md); background: var(--fill); }
.tripitem .field { margin-bottom: 8px; }
.tripitem select.input, .tripitem .input { font-size: 16px; }
.tripitem__price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.tripitem__price .field { margin: 0; }
#i-trip-use { margin-top: 8px; margin-bottom: 8px; }
/* Seller: bookings */
.claim__trip { margin: 4px 0 0; font-size: var(--step--1); font-weight: 500; overflow-wrap: anywhere; }
.claim__tripnote { display: block; font-size: 12px; color: var(--muted); }
.claim__tripnote.is-sold { color: var(--red); font-weight: 600; }
.claim__actions .trip-full, .claim__actions .trip-undo { min-height: var(--tap); }
/* Seller: shopping list */
.tripprog { margin-bottom: 12px; }
.tripprog__bar { height: 10px; border-radius: 999px; background: var(--fill); overflow: hidden; margin-bottom: 6px; }
.tripprog__bar span { display: block; height: 100%; background: var(--jade); border-radius: 999px; }
.tripstore-sec h3 { margin-top: 12px; }
.triplist { list-style: none; margin: 0; padding: 0; }
.triprow { padding: 10px 0; border-top: 1px solid var(--line); }
.triprow:first-child { border-top: 0; }
.triprow__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.triprow__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.triprow__t b { font-weight: 600; overflow-wrap: anywhere; }
.triprow.is-done .triprow__t b { color: var(--jade); }
.triprow.is-sold .triprow__t b { text-decoration: line-through; color: var(--muted); }
.tripgot { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.tripgot__btn { width: var(--tap); height: var(--tap); border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); border-radius: 999px; }
.tripgot__btn:disabled { color: var(--line-strong); cursor: default; }
.tripgot__n { min-width: 28px; text-align: center; font-weight: 700; }
.trip-soldbtn { min-height: var(--tap); }
.trip-soldbtn.is-on { color: var(--red); }
.tripsold { margin-top: 6px; display: grid; gap: 8px; }
.tripsold__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.tripsold__row span { min-width: 0; overflow-wrap: anywhere; }
.tripsold__row .btn { flex: none; }

@media (prefers-reduced-motion: reduce) {
  .sw::after { transition: none; }   /* the thumb jumps; the switch's and dots' colour fades stay (not movement) */
  .undotoast { transition: opacity 160ms ease; @starting-style { opacity: 0; transform: translateX(-50%); } }
}

/* ------------------------------------------------------------ seller guide (js/seller-guide.js, 2026-11-24)
   Pill, list sheet, spotlight + bubble, slim bar, finish card. Tokens only; the green is the site's "done" green. */
.gd-pillrow { position: sticky; top: 8px; z-index: 15; display: flex; justify-content: flex-end; align-items: center; height: 56px; pointer-events: none; }
.gd-pill {
  pointer-events: auto; min-height: var(--tap); padding: 0 14px 0 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-strong);
  font-weight: 600; font-size: 0.875rem; box-shadow: 0 4px 12px rgba(28, 28, 30, 0.1); cursor: pointer;
  transition: transform 140ms var(--ease-out); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.gd-pill:active { transform: scale(0.97); }
.gd-pill__n { width: 26px; height: 26px; border-radius: 50%; background: #1F7A4D; color: var(--white); display: inline-grid; place-items: center; font-size: 0.8125rem; font-weight: 700; }

.gd-quests { list-style: none; margin: 0 0 14px; padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.gd-q { display: flex; align-items: center; gap: 10px; min-height: var(--tap); }
.gd-q.is-done { color: var(--muted); }
.gd-q.is-cur { font-weight: 600; }
.gd-q.is-later { opacity: 0.55; }
.gd-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: inline-grid; place-items: center; font-size: 0.8125rem; font-weight: 700; color: var(--white); }
.gd-q.is-cur .gd-tick { border-color: var(--ink); }
.gd-q.is-done .gd-tick { background: #1F7A4D; border-color: #1F7A4D; }
.gd-tick--pop { animation: gd-pop 160ms var(--ease-out); }
@keyframes gd-pop { from { transform: scale(0.8); } to { transform: scale(1); } }
.gd-soon { font-size: 0.75rem; font-weight: 600; background: var(--fill); padding: 1px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.gd-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin: 6px 0; }
.gd-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gd-row__label { font-weight: 600; }
.gd-row--help { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.gd-note { text-align: center; margin: 12px 0 0; }
.gd-fin { text-align: center; }
.gd-fin .gd-quests { text-align: left; }
.gd-fin__big { width: 64px; height: 64px; border-radius: 50%; background: #1F7A4D; color: var(--white); display: grid; place-items: center; font-size: 2rem; margin: 4px auto 12px; }

/* The spotlight. The dim never takes taps; the real button under the cut-out does. Inside an open sheet the
   root is moved into that sheet's top layer (seller-guide.js), where position: fixed still means the screen. */
.gd-root { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.gd-dim { position: fixed; inset: 0; pointer-events: none; }
.gd-hole {
  position: fixed; left: 0; top: 0; border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(28, 28, 30, 0.62); outline: 2px solid var(--white);
  /* Transform only: the size snaps. Animating width/height repainted the full-screen shadow every frame. */
  transition: transform 220ms var(--ease-out);
}
.gd-hole--jump { transition: none; }
.gd-bub {
  position: fixed; left: 12px; right: 12px; margin: 0 auto; max-width: 440px; pointer-events: auto;
  background: var(--white); color: var(--ink); border-radius: 16px; padding: 14px 14px 2px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.gd-arrow { position: absolute; width: 16px; height: 16px; background: var(--white); transform: rotate(45deg); border-radius: 3px; }
.gd-bub--below .gd-arrow { top: -7px; }
.gd-bub--above .gd-arrow { bottom: -7px; }
.gd-bub--bar { top: 0; left: 0; right: 0; max-width: none; border-radius: 0 0 16px 16px; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; }
.gd-bub--bar .gd-arrow, .gd-bub--bar .gd-brow { display: none; }
.gd-bub:not(.gd-bub--bar) .gd-stop--bar { display: none; }
.gd-step { display: flex; justify-content: space-between; align-items: center; font-size: var(--step--1); font-weight: 600; color: var(--muted); min-height: 24px; }
.gd-bub--bar .gd-step { min-height: var(--tap); }
.gd-meter { display: flex; gap: 3px; margin: 4px 0 8px; }
.gd-meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-strong); }
.gd-meter i.d { background: #1F7A4D; }
.gd-meter i.c { background: var(--ink); }
.gd-title { margin: 0 0 2px; font-size: var(--step-1); line-height: 1.25; font-weight: 600; }
.gd-text, .gd-try { margin: 0 0 6px; font-size: 0.9375rem; }
.gd-try { color: var(--muted); }
.gd-brow { display: flex; justify-content: space-between; align-items: center; }
.gd-brow .gd-stop { margin-left: auto; }
.gd-bub .linkbtn { color: var(--muted); font-weight: 600; font-size: 0.875rem; padding: 0 8px; }
html.gd-bar { scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) {
  .gd-hole { transition: none; }
  .gd-tick--pop { animation: none; }
}

/* ------------------------------------------------------------ step-by-step shop setup (js/seller-setup.js, 2026-11-24)
   One thing per page: own Back + progress, no logo bar, one dark button. Tokens only. Green = done (the site's done green). */
body.is-setup .lakubar { display: none; }
.setup { min-height: 100dvh; display: flex; flex-direction: column; }
.setup__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-top: env(safe-area-inset-top); }
.setup__back {
  display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); padding: 0 14px 0 0; border: 0; background: none;
  font-size: var(--step-1); font-weight: 600; color: var(--ink); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.setup__chev { width: 10px; height: 10px; margin: 0 6px 0 4px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.setup__top { gap: 10px; }
.setup__top .langseg { margin-left: auto; }
.setup .langseg button { min-height: 44px; } /* the shared EN | BM toggle is 32 px; here it is a full tap target */
.setup__count { text-align: right; line-height: 1.25; color: #4A4A4F; font-weight: 600; font-size: 0.9375rem; } /* darker than --muted: 4.5:1 or better on the page ground */
.setup__bar { display: flex; gap: 6px; margin: 2px 0 22px; }
.setup__bar i { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.setup__bar i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.setup__bar i.d::after { background: #1F7A4D; transform: scaleX(1); }
.setup__bar i.c::after { transform: scaleX(1); animation: su-fill 200ms var(--ease-out); }
@keyframes su-fill { from { transform: scaleX(0); } }
.setup--done .setup__top, .setup--done .setup__bar { display: none; }
.setup__stage { flex: 1; padding-bottom: 20px; }
.setup__title { margin: 0 0 6px; font-size: var(--step-3); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; outline: none; }
.setup__lede { margin: 0 0 18px; font-size: var(--step-1); line-height: 1.35; }
.setup__card { margin: 0 0 14px; padding: 18px 16px 4px; background: var(--white); border: 1px solid rgba(28, 28, 30, 0.08); border-radius: 18px; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); }
.setup__card > .field:last-child, .setup__card > .field__hint:last-child { margin-bottom: 14px; }
.setup__card > .field__hint { display: block; margin: 8px 0 14px; }
.setup .field__label { font-size: var(--step-1); font-weight: 600; }
.setup .input { min-height: 56px; font-size: 18px; }
.setup .input-affix__pre { font-size: 18px; }
.setup .field__err { font-size: 0.875rem; }
.setup .field__err:empty { display: none; }
.setup .tagchip { font-size: 1rem; min-height: var(--tap); }
.setup__pick { gap: 16px; margin-bottom: 4px; }
.setup__pick .avatar { width: 96px; height: 96px; font-size: 2.25rem; }
.setup__pick .btn { min-height: 56px; font-size: var(--step-1); font-weight: 600; }
.setup__swatches { gap: 12px; margin: 10px 0 14px; }
.setup .swatch { width: 48px; height: 48px; }
.setup .frame-picks { margin: 10px 0 14px; }
.setup .frame-pick { min-height: var(--tap); }
.setup__tick { width: 64px; height: 64px; margin: 14px 0 14px; border-radius: 50%; background: #1F7A4D; color: var(--white); display: grid; place-items: center; font-size: 2rem; animation: su-pop 180ms var(--ease-out); }
@keyframes su-pop { from { transform: scale(0.8); } }
.setup__link { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 12px 16px; background: var(--white); border: 1px solid rgba(28, 28, 30, 0.08); border-radius: 16px; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); }
.setup__link-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.setup__link strong { font-size: var(--step-1); overflow-wrap: anywhere; }
.setup__foot {
  position: sticky; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  padding: 16px 0 calc(10px + env(safe-area-inset-bottom)); isolation: isolate;
}
/* The fade behind Next / Skip is the page wash itself, blurred and faded in with a mask, so it can't be a different grey
   from the page (the body background is a gradient, not one colour). */
.setup__foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(230, 230, 227, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%);
}
.setup__err { margin: 0 0 6px; text-align: center; }
.setup__next { min-height: 56px; font-size: var(--step-1); font-weight: 600; }
.setup__skip { align-self: center; min-width: var(--tap); padding: 0 12px; font-size: var(--step-0); color: var(--ink); }
/* The live preview: the real .shop-head inside its own little page, so it wears the colour and style like the shop page does. */
.setup-prev { position: relative; overflow: hidden; isolation: isolate; margin: 0 0 14px; padding: 10px; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(28, 28, 30, 0.06); }
.setup-prev.themed { background-attachment: scroll; }
.setup-prev.theme--glow::before { position: absolute; }
.setup-prev .shop-head { margin: 0; }
.setup-prev .shop-head__name { margin: 0; font-size: var(--step-2); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.setup-prev .shop-head__tagline { margin: 2px 0 0; font-size: 0.9375rem; }
.setup-prevwrap { margin: 0 0 14px; }
.setup-prevwrap .setup-prev { margin: 0; }
.plus-note { display: block; margin: 6px 0 0; color: var(--muted); font-size: var(--step--1); }
.plus-note::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: #F7C600; vertical-align: -1px; }
.plus-note[hidden] { display: none; }
.gd-howto { margin: 0 0 14px; }
.gd-howto[hidden] { display: none; }
.gd-howto .btn { min-height: var(--tap); }
.setup-prev__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.setup-prev__cards i { height: 34px; border-radius: 12px 12px 0 0; background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 12px rgba(28, 28, 30, 0.06); }
@media (prefers-reduced-motion: reduce) {
  .setup__bar i.c::after, .setup__tick { animation: none; }
}

/* ------------------------------------------------------------ businesses outside Brunei (063, 2026-11-24)
   A plain link under step 1 (never a button), a country picker, the flag on cards and the shop header.
   Flags come from the system emoji font: they are not in the Instrument Sans subset, so this stack is explicit. */
.setup__alt { margin: 0 0 14px; text-align: center; }
.setup__altlink { min-height: var(--tap); padding: 0 12px; font-size: var(--step-0); color: var(--ink); }
.setup select.input, .profile-abroad select.input { appearance: auto; }
.input-affix--bare .input { border-radius: var(--r-md); }
.input-affix--bare .input-affix__pre { display: none; }
.flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; font-weight: 400; line-height: 1; letter-spacing: 0; }
.shoprow__name .flag { margin-left: 6px; font-size: 0.9em; flex: none; }
.flag--tile { position: absolute; top: 9px; right: 11px; z-index: 1; font-size: 1.125rem; }
.shop-head__country { margin: 2px 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.35; display: flex; align-items: center; gap: 6px; }
.themed .shop-head__country { color: var(--c1-soft); }
.shopline__country { margin: -4px 0 0; color: var(--muted); font-size: var(--step--1); display: flex; align-items: center; gap: 6px; }
.themed #view-dash .panel--shop .shopline__country { color: var(--c1-soft); }
.btn--second-wa { align-self: flex-start; }
.profile-abroad[hidden] { display: none; }

/* ------------------------------------------------------------ box contrast, "Lift" (2026-11-24)
   Plain shops (no colour picked) used to get see-through panels on the grey wash. They now get the white cards that coloured
   shops already have: white surface, 16 px corners, a thin edge, a soft shadow, 14 px between cards. Seller screens only;
   the shop page (/s/) is not touched. Coloured shops keep their own rules above (.themed ...). */
body:not(.themed) .lakubar { border-bottom: 0; }
body:not(.themed) #view-dash .panel { background: var(--white); border: 1px solid rgba(28, 28, 30, 0.08); border-radius: 16px; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); padding: 18px 16px; margin-bottom: 14px; }
body:not(.themed) #view-dash { padding-top: 12px; }
body:not(.themed) #view-dash .panel.dfold:not(.grow__item) { padding-top: 6px; padding-bottom: 6px; }
body:not(.themed) #view-dash .panel.dfold[open] { padding-bottom: 20px; }
#profile-form > .psec { background: var(--white); border: 1px solid rgba(28, 28, 30, 0.08); border-radius: 16px; box-shadow: 0 6px 18px rgba(28, 28, 30, 0.08); margin-bottom: 14px; }
#profile-form > .psec[open] { border-color: var(--ink); }
/* An existing shop's open "More" fold is unframed (its sections are the cards). */
#profile-form.pform--old > .psec--more { border: 0; background: none; box-shadow: none; margin: 0; border-radius: 0; }
.pform--new .psec--more > .psec__body > .psec { box-shadow: none; }

/* ------------------------------------------------------------ /plans/ (option C, chart first)
   Yellow only on Plus (badge, trial button, column tint, section outline). Enterprise = ink / grey. No red, no green. */
.plans { padding-bottom: 48px; }
.plans__h1 { margin: 20px 0 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.plans__h2 { margin: 28px 0 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.plans__lede { margin: 8px 0 0; color: var(--muted); }
.plans__nopay { margin: 14px 0 0; padding: 10px 12px; background: var(--fill); border-radius: var(--r-md); font-size: 0.8125rem; }
.plans-chartwrap { margin: 16px -8px 0; } /* bleeds 8 px each side so four plan columns fit at 360; never wrap the table in an overflow box (it would break the sticky header) */
.plans-chart { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.8125rem; background: var(--white); border-radius: var(--r-lg); }
.plans-chart col.lab { width: 28%; }
.plans-chart th, .plans-chart td { padding: 9px 2px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; font-weight: 500; }
.plans-chart tbody th[scope="row"] { padding-left: 10px; text-align: left; line-height: 1.2; }
.plans-chart thead th, .plans-chart thead td { position: sticky; top: 0; z-index: 5; background: var(--white); border-top: 0; padding: 6px 1px; box-shadow: 0 1px 0 var(--line-strong); }
.plans-chart thead th.c-plus { background: #FDF4CC; }
.plans-chart thead th.c-ent { background: #F1F1F1; }
.plans-chart thead a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--tap); line-height: 1.15; text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: -0.01em; }
.plans-chart thead small { font-weight: 400; color: var(--muted); font-size: 0.6875rem; }
.plans-chart tbody td.c-plus { background: rgba(247, 198, 0, 0.14); }
.plans-chart tbody td.c-ent { background: rgba(0, 0, 0, 0.05); }
.plans-chart tr.grp th { background: var(--fill); color: var(--muted); font-size: 0.75rem; font-weight: 600; text-align: left; padding: 7px 10px; border-top: 1px solid var(--line-strong); }
.plans-chart .no { color: var(--muted); }
.plans-chart tr.badges td, .plans-chart tr.badges th { border-top: 0; padding: 8px 1px 6px; vertical-align: top; }
.plans-chart .plans-btn { width: 100%; min-height: var(--tap); padding: 0 2px; font-size: 0.8125rem; }
.plans-chart tr.choose td { padding: 8px 2px; }
.plans-badge { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 24px; padding: 5px 2px; border-radius: 999px; background: var(--fill); border: 1px solid var(--line-strong); color: var(--ink); font-size: 0.6875rem; font-weight: 600; line-height: 1.15; text-align: center; }
.plans-badge--plus { background: #F7C600; border-color: #F7C600; }
.plans-badge--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.plans__every { margin: 10px 2px 0; font-size: 0.8125rem; }
.plans__fine { margin: 10px 2px 0; font-size: 0.8125rem; color: var(--muted); }
.plans-detail { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 16px; margin-top: 14px; scroll-margin-top: 72px; } /* sticky header (44 + 12) + 16 */
.plans-detail--plus { border-color: #F7C600; box-shadow: 0 0 0 1px #F7C600; }
.plans-detail__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plans-detail__top h3 { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.plans-detail__top .plans-badge { width: auto; padding: 5px 10px; font-size: 0.75rem; white-space: nowrap; }
.plans-detail__price { margin: 6px 0 0; color: var(--muted); }
.plans-detail__price b { color: var(--ink); font-size: 1.5rem; font-weight: 600; }
.plans-detail p { margin: 8px 0 0; }
.plans-detail h4 { margin: 16px 0 6px; font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.plans-detail ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.plans-detail li::before { content: "\2713"; font-weight: 600; margin-right: 8px; }
.plans-detail .plans-extra { margin: 0 0 12px; color: var(--muted); font-size: 0.875rem; }
.plans-detail .btn:disabled, .plans-chart .plans-btn:disabled { background: transparent; border-color: var(--line-strong); color: var(--muted); }
.plans-note { margin: 6px 2px 0; min-height: 1.2em; font-size: 0.8125rem; color: var(--muted); }
.plans-deep, .plans-top { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.plans-top { float: right; font-size: 0.8125rem; }
.plans-back { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 4px; color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.plans-back::before { content: "\2039"; margin-right: 6px; font-size: 1.25rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .plans .btn { transition: none; } }


/* ---------- Plan & billing (065): seller dashboard section, banner, admin Billing tab. Yellow = plans, green = paid, no red. ---------- */
/* (yellow is for Plus / Featured only, so the banner keeps the ink look of the other dashboard banners) */
.bill-banner { font-weight: 500; }
.bill-banner .linkbtn { text-decoration: underline; min-height: var(--tap); }
.billstate { margin: 8px 0 4px; }
.billchip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: var(--fill); color: var(--ink); }
.billchip--active { background: #DDF2E6; color: #1B6B43; }
.billchip--due, .billchip--new { background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); }
.billchip--sent { background: var(--fill); color: var(--ink); }
.billchip--overdue { background: var(--ink); color: var(--white); }
.billchip--ended, .billchip--free { background: var(--fill); color: var(--muted); }
.billplanline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 2px; }
.billplanline strong { font-size: 1.125rem; font-weight: 600; }
.billnote { margin: 0 0 14px; }
.billcard { margin: 14px 0; padding: 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.billcard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.billcard__no { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.billcard__view { margin-top: 10px; min-height: var(--tap); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; }
.billrows { margin: 0; }
.billrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 36px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.billrow:first-child { border-top: 0; }
.billrow dt { color: var(--muted); }
.billrow dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-align: right; min-width: 0; }
.billrow__v { font-weight: 600; overflow-wrap: anywhere; }
.billrow__amt { white-space: nowrap; flex: none; }
.billrow--total {border-top: 1.5px solid var(--ink); }
.billrow--total dt, .billrow--total dd { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
.billcopy { min-height: var(--tap); padding: 0 14px; font-size: 0.875rem; flex: none; }
.billpill { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; background: var(--fill); color: var(--muted); }
.billpill--unpaid { background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); }
.billpill--sent { background: var(--fill); color: var(--ink); }
.billpill--paid { background: #DDF2E6; color: #1B6B43; }
.billpay { margin: 14px 0; }
.billpay__title { margin: 0 0 4px; font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.billpay .field__hint { margin: 0 0 8px; }
.billsent { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--fill); font-weight: 500; }
.billpick { margin: 14px 0; }
.billpick__sum { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--tap); padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); font-weight: 600; cursor: pointer; list-style: none; }
.billpick__sum::-webkit-details-marker { display: none; }
.billpick__sum::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; flex: none; }
.billpick[open] > .billpick__sum::after { transform: rotate(225deg); margin-top: 2px; }
.billpick[open] > .billpick__sum { margin-bottom: 10px; }
.billprivate { margin: 0 0 8px; }
/* "Launch price" tag beside the organiser price (neutral ink outline: not red, not yellow) */
.launchtag { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; margin: 0 0 4px; padding: 1px 10px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.launchtag[hidden] { display: none; }
.admnobill { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.billperiod { margin: 4px 0 8px; }
.billplans { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.billplan { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); display: grid; gap: 8px; }
.billplan__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.billplan__price { color: var(--muted); font-size: 0.9375rem; }
.billextra { display: grid; gap: 4px; }
.billextra .input { max-width: 160px; }
.billpast { margin-top: 18px; }
.billpast__list { list-style: none; margin: 0; padding: 0; }
.billpast__list li { display: grid; grid-template-columns: 1fr auto; grid-auto-flow: row dense; gap: 0 10px; align-items: center; padding: 4px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.billpast__no { grid-column: 1; display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; color: var(--ink); }
.billpast__a { grid-column: 2; text-align: right; font-weight: 600; }
.billpast__d { grid-column: 1; color: var(--muted); font-size: 0.8125rem; }
.billpast__list .billpill { grid-column: 2; justify-self: end; }
/* /admin/ Billing tab */
.admbill__h { margin: 18px 0 6px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.admbill__h:first-child { margin-top: 0; }
.admbill__proof { display: inline-block; max-width: 100%; }
.admbill__proof img { display: block; max-width: 100%; max-height: 260px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce) { .billcard, .billplan, .billpick { transition: none; } }
