/* The public pages, in the app's Tigris Night tokens (Dawn by day).
   One neon per screen: the listing's price, the landing's "open" button,
   the seller page's verified-phone badge.
   Time is amber. Glass only on the dock, and only from 900 px (a live
   blur costs phones too much); below that the dock is nearly opaque. */
:root {
  --ground: #061218; --river: #0F2E2A; --surface: #0F2E2A; --surface2: #163A38;
  --hair: rgba(242, 247, 243, .12); --ink: #F2F7F3; --ink2: #9DA5A4; --ink3: #6E7778;
  --neon-text: #C6FF4D; --amber: #FFB23E; --ember: #FF5A4E;
  /* The lit button (button-primary): lime by night, ink by day. */
  --lit: #C6FF4D; --on-lit: #08210F;
  /* The QR code is always dark on light so every scanner reads it. */
  --qr-paper: #F2F7F3; --qr-ink: #061218;
  --glass: rgba(14, 32, 34, .65); --glass-edge: rgba(242, 247, 243, .14);
  --dock: rgba(14, 32, 34, .98);
  --head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --text: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --gutter: 20px; --r-card: 24px; --r-control: 20px;
  /* The card band is a piece of night in both themes. */
  --night-ink: #F2F7F3; --night-amber: #FFB23E; --scrim: 6, 18, 24;
  --night-ember: #FF5A4E; --night-glass: rgba(22, 58, 56, .65); --night-hair: rgba(242, 247, 243, .12);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #E9EFEC; --river: #D6E2DE; --surface: #F7FAF8; --surface2: #D6E2DE;
    --hair: rgba(6, 18, 24, .12); --ink: #061218; --ink2: #3E5552; --ink3: #6A7F7B;
    --neon-text: #3B6600; --amber: #8A5000; --ember: #B02A1A;
    --lit: #061218; --on-lit: #F7FAF8;
    --qr-paper: #F7FAF8; --qr-ink: #061218;
    --glass: rgba(247, 250, 248, .72); --glass-edge: rgba(6, 18, 24, .14);
    --dock: rgba(247, 250, 248, .98);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--ink);
  font: 400 16px/1.6 var(--text);
  background: radial-gradient(120% 50% at 50% -10%, var(--river), transparent 70%) fixed, var(--ground);
  padding-bottom: env(safe-area-inset-bottom);
}
/* Room for the fixed dock on pages that have one. */
body.has-dock { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
input, select, textarea, button { font-size: 16px; }
.top, main, .foot { max-width: 720px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.top { padding-block: calc(12px + env(safe-area-inset-top)) 12px; }
/* The brand link is a full 48 px target. */
.brand { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; font: 800 22px/1.4 var(--head); color: var(--ink); text-decoration: none; }

.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 86%; width: 86%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-card); background: var(--surface2); scroll-snap-align: center;
}
.gallery img:only-child { flex-basis: 100%; }
/* A cover the seller marked a product image wears its label (backlog 6). */
.gallery figure {
  position: relative; flex: 0 0 86%; width: 86%; margin: 0; scroll-snap-align: center;
}
.gallery figure img { width: 100%; }
.gallery figcaption {
  position: absolute; top: 8px; inset-inline-start: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 12px/1.6 var(--text);
}

.facts { margin: 20px 0 4px; color: var(--ink2); font-size: 14px; }
h1 { margin: 0 0 16px; font: 800 clamp(24px, 6vw, 32px)/1.35 var(--head); text-wrap: balance; overflow-wrap: anywhere; }
:lang(en) h1 { font-family: var(--text); font-weight: 600; letter-spacing: -.01em; }

/* Price and time share a row while both fit; a long price keeps its line
   and the time moves under it (rather than the figure breaking). */
.stats {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 16px;
  padding-block: 16px; border-block: 1px solid var(--hair);
}
.stats > div { min-width: 0; max-width: 100%; }
.label { display: block; font-size: 13px; color: var(--ink2); }
/* A 12-digit price fits a 320 px phone: the size steps down with the
   width, and in the last resort the figure wraps rather than overflows. */
.price {
  margin: 0; font: 600 clamp(20px, 6.5vw, 32px)/1.2 var(--text); font-variant-numeric: tabular-nums;
  color: var(--neon-text); overflow-wrap: anywhere;
}
.price small { font-size: 16px; font-weight: 400; color: var(--ink2); }
.time { margin-inline-start: auto; text-align: end; }
.time p { margin: 0; font: 600 18px/1.4 var(--text); font-variant-numeric: tabular-nums; color: var(--amber); }
.time .ended { color: var(--ink2); }
/* The Tide clock (spec 2026-11-25): glass tiles in the page's direction
   (days on the right in Arabic and Kurdish), two amber dots between them
   and a tide line draining over the run from the reading start. The last
   hour turns the dots and the line ember; the last two minutes light the
   seconds tile, pulsing only for those who allow motion. */
.tide { display: inline-grid; gap: 8px; }
.tide-tiles { display: flex; gap: 14px; }
.tide-tiles > span {
  position: relative; display: grid; justify-items: center; min-width: 52px; padding: 6px 8px;
  border-radius: 8px; border: 1px solid var(--hair); background: color-mix(in srgb, var(--surface2) 65%, transparent);
}
.tide-tiles b { font: 600 22px/1.15 var(--text); font-variant-numeric: tabular-nums; color: var(--ink); }
.tide-tiles small { font-size: 11px; line-height: 1.4; color: var(--ink2); white-space: nowrap; }
.tide-tiles > span + span::before {
  content: ""; position: absolute; inset-inline-start: -9px; top: 12px; width: 3px; height: 3px;
  border-radius: 50%; color: var(--amber); background: currentColor; box-shadow: 0 8px currentColor; opacity: .6;
}
.tide .tidal { position: relative; display: block; height: 2px; border-radius: 1px; background: var(--hair); overflow: hidden; }
.tide .tidal::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--f, 0) * 100%); background: var(--amber);
}
.tide.hour .tide-tiles > span + span::before { color: var(--ember); }
.tide.hour .tidal::after { background: var(--ember); }
.tide.last .tide-tiles > span:last-child {
  background: color-mix(in srgb, var(--ember) 16%, transparent); border-color: color-mix(in srgb, var(--ember) 45%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .tide.last .tide-tiles > span:last-child { animation: tide-pulse 1s ease-out infinite; }
}
@keyframes tide-pulse { 25% { transform: scale(1.04); } }
.row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; color: var(--ink2); font-size: 14px; }
/* A fixed price, or a listing held for a buyer (phone feedback 2 §1-2): a
   small pill. Held is amber, as time is: it waits for the seller. */
.tag {
  display: inline-block; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--hair);
  background: var(--surface2); color: var(--ink); font: 600 13px/1.5 var(--text); white-space: nowrap;
}
.tag.held { color: var(--amber); border-color: currentColor; }
.stats .tag { margin-top: 6px; }
.held-line { margin: 12px 0 0; color: var(--ink2); font-size: 14px; }
bdi { font-variant-numeric: tabular-nums; }
/* A title or name in the other script is read in its own direction (its
   <bdi>) while the element keeps the page's, so it lines up with the page.
   Its digits stay proportional, as in the rest of the text. */
:is(h1, .t, .name, .item) > bdi { font-variant-numeric: normal; }

.card { margin-top: 16px; padding: 16px 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hair); }
.card h2 { margin: 0 0 8px; font: 700 16px/1.5 var(--head); }
.card p { margin: 0; }
.name { font-weight: 600; }
.sub { color: var(--ink2); font-size: 14px; }
.desc { white-space: pre-line; overflow-wrap: anywhere; }
/* The whole seller block opens the seller's page. */
.card.seller { position: relative; transition: transform .1s ease-out; }
.card.seller a.name { display: block; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.card.seller a.name::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.card.seller:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) { .card.seller a.name:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* The last five bids: "Bidder n" and the amount, ink (the price is the lit value). */
.bids { margin: 0; padding: 0; list-style: none; }
.bids li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-block: 10px; border-top: 1px solid var(--hair); color: var(--ink2);
}
.bids li:first-child { border-top: 0; padding-top: 2px; color: var(--ink); }
.bids .amt { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bids small { font-size: 13px; font-weight: 400; color: var(--ink2); }
.card .fair { margin-top: 10px; color: var(--ink2); font-size: 13px; }

/* Device details: label and value on one line, hairlines between rows. */
.specs dl { margin: 0; }
.specs dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-block: 8px; border-top: 1px solid var(--hair);
}
.specs dl > div:first-child { border-top: 0; padding-top: 2px; }
.specs dt { color: var(--ink2); }
.specs dd { margin: 0; font-weight: 600; text-align: end; overflow-wrap: anywhere; }

.dock {
  position: fixed; inset: auto 0 0; display: flex; gap: 12px; justify-content: center;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--dock); border-top: 1px solid var(--glass-edge);
}
.btn {
  flex: 1; max-width: 340px; min-height: 52px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border-radius: var(--r-control); font: 600 16px/1.3 var(--text); text-decoration: none;
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.2);
}
.btn:active { transform: scale(.97); }
.primary { background: var(--ink); color: var(--ground); }
/* The second button is a tonal pill, as in the app: filled and edged so it
   reads as a button (phone feedback 2 §5). The plain edge is the fallback
   where color-mix is unknown. */
.ghost {
  color: var(--ink); background: var(--surface2); font-weight: 600;
  border: 1.5px solid var(--glass-edge);
  border: 1.5px solid color-mix(in srgb, var(--ink) 28%, transparent);
}
/* Focus is ink, never neon: one value per page is lit (DESIGN.md). */
a:focus-visible, summary:focus-visible { outline: 1.6px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.foot {
  margin-top: 40px; padding-block: 8px;
  border-top: 1px solid var(--hair); font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; column-gap: 4px; }
.foot a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px;
  padding-inline: 8px; color: var(--ink2); text-decoration: none;
}
.foot a:first-child { margin-inline-start: -8px; }
.foot a[aria-current] { color: var(--ink); font-weight: 600; }
.foot a:active { color: var(--ink); }
.langs { border-top: 1px solid var(--hair); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--ink); } }

.empty { min-height: 70dvh; display: grid; place-content: center; gap: 4px; text-align: center; }
.empty .btn { margin-top: 12px; display: inline-flex; min-width: 220px; }

/* The bird (a flat still from the rig): above the not-found heading and in
   an empty list. He faces the reading direction, as in the app. On the
   not-found page he bobs three times, never with reduced motion. */
.perch { display: flex; justify-content: center; margin-bottom: 12px; }
.perch .bird { width: 112px; height: auto; }
.none .perch .bird { width: 88px; }
[dir="rtl"] .perch .bird { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  .perch .bird-fly { animation: bob 1.6s ease-in-out 3; }
}
@keyframes bob { 50% { translate: 0 -6px; } }

/* Landing, category, city and seller pages: the wide pages. */
body.wide :is(.top, .foot) { max-width: 1080px; }
.landing, .browse, main.profile { max-width: 1080px; }
.hero { padding-block: 24px 8px; }
.hero h1 {
  margin: 0 0 12px; font: 800 clamp(32px, 9vw, 56px)/1.3 var(--head);
  text-wrap: balance; overflow-wrap: normal;
}
:lang(en) .hero h1 { letter-spacing: -.02em; line-height: 1.1; }
.lede { margin: 0; max-width: 34em; color: var(--ink2); font-size: 17px; text-wrap: pretty; }
.ways { display: grid; gap: 12px; margin-top: 28px; max-width: 420px; }
.ways .btn { max-width: none; min-height: 54px; border-radius: 999px; }
.lit { background: var(--lit); color: var(--on-lit); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores .btn { flex: 1 1 160px; font-size: 15px; }
.qr { display: none; margin: 0; }
.paper {
  width: 184px; padding: 12px; border-radius: var(--r-card);
  background: var(--qr-paper); color: var(--qr-ink);
}
.paper svg { display: block; width: 100%; height: auto; }
.qr figcaption { margin-top: 10px; max-width: 184px; color: var(--ink2); font-size: 13px; text-align: center; }

.landing h2 { margin: 0 0 16px; font: 700 22px/1.35 var(--head); }
.live { margin-top: 40px; }
.live h2 { display: flex; align-items: center; gap: 10px; }
/* The ending state tube: amber, breathing (DESIGN.md "State Tube"). */
.tube { flex: none; width: 26px; height: 3px; border-radius: 1.5px; background: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .tube { animation: breathe 2s ease-in-out infinite alternate; }
}
@keyframes breathe { from { opacity: .6; } to { opacity: 1; } }
.none {
  margin: 0; padding: 20px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--hair); color: var(--ink2);
}
.strip {
  display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px;
  list-style: none; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 168px; scroll-snap-align: start; }
/* A lantern card (image cards spec): the photo fills a rounded 4:5 card
   under a hairline; the words sit on a night band at its foot (a scrim
   tuned for AA over a white or a black photo, by day too). Phones get the
   scrim alone; from 900 px the band also frosts the photo behind it. The
   card grows taller, never tighter, when the words need more room. */
.sign {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  background: var(--surface2); color: var(--night-ink); text-decoration: none;
  transition: transform .1s ease-out;
}
.sign::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); pointer-events: none;
}
.sign:active { transform: scale(.98); }
.sign img, .sign .ph {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
}
/* No photo: the surface tile with an item's outline (a graphic, 3:1). */
.sign .ph { display: grid; place-items: start center; padding-top: 26%; }
.sign .ph svg { width: 40px; height: 40px; fill: var(--ink3); }
.sign .pill {
  position: absolute; inset-block-start: 10px; inset-inline-start: 8px; max-width: calc(100% - 16px);
  padding: 3px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge);
  color: var(--ink); font: 600 12px/1.5 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sign .pill.on-air::before {
  content: ""; display: inline-block; width: 12px; height: 3px; border-radius: 2px;
  margin-inline-end: 6px; vertical-align: middle; background: var(--neon-text);
}
.sign .pill.held { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.sign .band {
  position: relative; display: grid; gap: 2px;
  padding: 28px 10px 10px; color: var(--night-ink);
  background: linear-gradient(to bottom, rgba(var(--scrim), 0) 0, rgba(var(--scrim), .64) 28px, rgba(var(--scrim), .84) 100%);
}
.sign .shop {
  justify-self: start; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor;
  font: 600 11px/1.5 var(--text); opacity: .86;
}
.sign .t {
  font: 700 15px/1.4 var(--head); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
:lang(en) .sign .t { font-family: var(--text); font-weight: 600; }
.sign .p { font: 600 18px/1.3 var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sign .p small { font-size: 12px; font-weight: 500; color: var(--night-ink); }
/* The Tide clock's chip: each number with its unit letter, in the page's
   direction, on a night capsule, the tide line under them (1.5 px, drained
   from the reading start); ember in the last hour. */
.sign .left {
  justify-self: start; display: inline-grid; padding: 0 7px; border-radius: 999px;
  border: 1px solid var(--night-hair); background: var(--night-glass);
  font: 600 13px/1.5 var(--text); font-variant-numeric: tabular-nums; color: var(--night-amber);
}
.sign .left > span { display: flex; gap: 4px; }
.sign .left small { margin-inline-start: 1px; font-size: 10px; font-weight: 500; color: var(--night-ink); }
.sign .left .tidal {
  position: relative; display: block; height: 1.5px; margin-block-end: 3px; border-radius: 1px;
  background: var(--night-hair); overflow: hidden;
}
.sign .left .tidal::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--f, 0) * 100%); background: var(--night-amber);
}
.sign .left.hour { color: var(--night-ember); }
.sign .left.hour .tidal::after { background: var(--night-ember); }
.sign .left.last { background: color-mix(in srgb, var(--night-ember) 16%, transparent); }
.sign .kind { font-size: 12px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .sign:hover .t { text-decoration: underline; text-underline-offset: 4px; } }

/* The category and city rows: one scrolling row each on a phone. */
.browse-by h2 { font-size: 18px; margin-bottom: 8px; }
.browse-by h2 + .chips + h2 { margin-top: 20px; }
.chips {
  display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px;
  list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--hair); background: var(--surface);
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .1s ease-out;
}
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--glass-edge); background: var(--surface2); } }

/* Category and city pages. */
.browse h1 { margin: 16px 0 8px; }
.browse .lede { font-size: 16px; }
.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px;
  margin: 28px 0 0; padding: 0; list-style: none;
}
.browse .none { margin-top: 28px; }
.none p { margin: 0; }
.none .more { margin-top: 4px; }
.next { display: flex; max-width: 340px; margin: 32px auto 0; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.block { margin-top: 48px; }
.tiles { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tile { padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hair); }
.tile h3, .steps h3 { margin: 0 0 6px; font: 700 18px/1.4 var(--head); }
:lang(en) :is(.tile, .steps) h3 { font-family: var(--text); font-weight: 600; }
.tile p, .steps p { margin: 0; color: var(--ink2); }
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; align-content: start; }
.steps .n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hair); font: 600 16px/1 var(--text); color: var(--ink2);
}
.safety ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.safety li::marker { color: var(--ink3); }
.more {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px;
  color: var(--ink); font-weight: 600; text-underline-offset: 4px;
}
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding-block: 12px; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: 4px;
  /* Physical sides: a down chevron in either direction. */
  border-right: 1.6px solid var(--ink2); border-bottom: 1.6px solid var(--ink2);
  transform: translateY(-3px) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0 0 16px; color: var(--ink2); }

/* The seller page. */
.who { display: flex; align-items: center; gap: 16px; padding-block: 16px 20px; }
.who h1 { margin: 0; }
.who .sub { margin: 2px 0 0; }
.avatar {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; background: var(--surface2); border: 1px solid var(--hair);
  font: 800 28px/1 var(--head); color: var(--ink);
}
.record { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.record .tile { padding: 16px; }
.record p { margin: 0; }
.fig { font: 600 24px/1.3 var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.record :is(.fig, .state) { color: var(--ink); }
.state { font-weight: 600; }
.record .state.warn { color: var(--ember); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--hair); color: var(--neon-text); font-size: 14px; font-weight: 600;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
main.profile .block { margin-top: 40px; }
main.profile h2 { margin: 0 0 16px; font: 700 20px/1.35 var(--head); }
.reviews {
  max-width: 720px; margin: 0; padding: 0 20px; list-style: none;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hair);
}
.reviews li { padding-block: 16px; border-top: 1px solid var(--hair); }
.reviews li:first-child { border-top: 0; }
.reviews p { margin: 0; }
.reviews p + p { margin-top: 6px; }
.stars { letter-spacing: 2px; color: var(--ink); }
.stars .off { color: var(--ink3); }
.tags { font-size: 14px; font-weight: 600; }
.comment { overflow-wrap: anywhere; white-space: pre-line; }
.item { color: var(--ink2); font-size: 13px; overflow-wrap: anywhere; }
main.profile .grid { margin-top: 0; }
main.profile .none { max-width: 720px; }

@media (min-width: 900px) {
  .dock { background: var(--glass); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .record { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery img, .gallery figure { flex-basis: 70%; width: 70%; }
  .gallery figure img { width: 100%; }
  .sign .band::before {
    content: ""; position: absolute; inset: 0;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28px);
    mask-image: linear-gradient(to bottom, transparent, #000 28px);
  }
  .sign .band > * { position: relative; }
  .hero { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-block: 56px 16px; }
  .qr { display: block; }
  .tiles, .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .strip { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .gallery, .strip { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .btn, .chip, .sign { transition: none; } .sign:active { transform: none; } .card.seller { transition: none; } }

/* The policy pages: one readable column of text; nothing is lit. */
.doc .lede { margin: 0 0 8px; }
.doc .updated { margin: 0; color: var(--ink2); font-size: 14px; }
.doc h2 { margin: 32px 0 8px; font: 700 20px/1.4 var(--head); }
:lang(en) .doc h2 { font-family: var(--text); font-weight: 600; }
.doc p { margin: 0 0 12px; }
.doc :is(p, li) { max-width: 68ch; text-wrap: pretty; overflow-wrap: break-word; }
.doc ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.doc li::marker { color: var(--ink3); }
.steps-table {
  width: 100%; max-width: 420px; margin: 4px 0 20px; border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.steps-table :is(th, td) { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--hair); }
.steps-table th { font-size: 13px; font-weight: 600; color: var(--ink2); }
.steps-table td:last-child { font-weight: 600; }
