/* The pages people work on: the front page, the seller's page, the operator's page. The shared look is base.css.
   The wall of squares is the picture: one square per store, lit as that store answers. */

.main {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: clamp(30px, 5vw, 52px);
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(48px, 8vw, 96px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.main > * { min-width: 0; }

/* A grid's only column is as wide as its widest item unless the items may shrink: without this a long chip or the
   category list pushes the page sideways on a phone. */
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.live,
.offers,
.rules { grid-template-columns: minmax(0, 1fr); }

/* the first screen: what it is, in one line, and the mark itself */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px clamp(24px, 5vw, 64px); }
.hero-text { display: grid; gap: 20px; min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 14px 6px 11px;
  font-size: 13.5px;
  font-weight: 520;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.eyebrow b { font-weight: 640; color: var(--ink); font-variant-numeric: tabular-nums; }
.eyebrow i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #12c4f5; box-shadow: 0 0 0 4px rgba(18, 196, 245, 0.2); animation: beat 2.6s ease-in-out infinite; }
@keyframes beat {
  50% { box-shadow: 0 0 0 7px rgba(18, 196, 245, 0); }
}
.h1 { margin: 0; font-size: clamp(38px, 7.9vw, 88px); line-height: 0.98; letter-spacing: -0.058em; font-weight: 670; color: var(--ink); text-wrap: balance; }
.accent { display: block; width: fit-content; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
/* Why it can cost less: three short facts under the headline. */
body.asked .whys { display: none; }
.whys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.whys li { display: grid; align-content: start; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.whys b { font-size: 16px; font-weight: 640; letter-spacing: -0.015em; color: var(--ink); }
.whys span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.whys a { color: var(--brand-ink); }
@media (max-width: 860px) {
  .whys { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .whys li { padding: 12px 14px; }
}
.lead { margin: 0; max-width: 36em; font-size: clamp(17px, 1.9vw, 20.5px); line-height: 1.5; letter-spacing: -0.012em; color: var(--ink-2); text-wrap: pretty; }
/* The mark, large: the zero of the name, and of the fee. It floats like something on water. */
.hero-art { position: relative; width: clamp(220px, 29vw, 380px); justify-self: end; margin-right: clamp(0px, 1vw, 12px); }
.hero-art .mark-svg { position: relative; width: 100%; height: auto; filter: drop-shadow(0 26px 36px rgba(0, 84, 214, 0.34)); animation: float 8s ease-in-out infinite; }
:root[data-theme="dark"] .hero-art .mark-svg { filter: drop-shadow(0 0 46px rgba(36, 200, 255, 0.45)); }
/* The light the ring stands in. */
.hero-art::before {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 200, 255, 0.3), rgba(10, 108, 245, 0.1) 58%, transparent 74%);
  animation: glow 8s ease-in-out infinite;
}
:root[data-theme="dark"] .hero-art::before { background: radial-gradient(closest-side, rgba(36, 232, 255, 0.22), rgba(10, 108, 245, 0.14) 58%, transparent 76%); }
/* The two lines of its orbit go round it, slowly and against each other, about the ring's own middle. */
.orbit { transform-origin: 512px 510px; }
.orbit-a { animation: orbit 44s linear infinite; }
.orbit-b { animation: orbit 62s linear infinite reverse; }
.orbit-a .orbit-line { stroke: #0a9bf2; opacity: 0.55; }
.orbit-b .orbit-line { stroke: #0a61db; opacity: 0.3; }
.sea-line { stroke: #0a9bf2; opacity: 0.3; }
:root[data-theme="dark"] .orbit-a .orbit-line { stroke: #43e2ff; opacity: 0.6; }
:root[data-theme="dark"] .orbit-b .orbit-line { stroke: #1294ff; opacity: 0.4; }
:root[data-theme="dark"] .sea-line { stroke: #0fc8ff; opacity: 0.35; }
.hero-art::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -11%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 68, 187, 0.32), transparent);
  animation: under 8s ease-in-out infinite;
}
:root[data-theme="dark"] .hero-art::after { background: radial-gradient(closest-side, rgba(36, 232, 255, 0.3), transparent); }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes orbit {
  to { transform: rotate(360deg); }
}
@keyframes glow {
  50% { transform: scale(1.06); opacity: 0.75; }
}
@keyframes under {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.82); opacity: 0.6; }
}

/* the one box: what you need, and the button */
.form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: var(--shadow-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
:root[data-theme="dark"] .form { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--ring), var(--shadow-3); }
.input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  font: inherit;
  font-size: 18px;
  letter-spacing: -0.012em;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 14px;
}
.input::placeholder { color: var(--muted); opacity: 0.75; }
.input:focus-visible { outline: none; }
/* The looking glass in the box where a request is written. */
.input.ask-box {
  padding-left: 50px;
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6c84' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .input.ask-box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E"); }
.go { flex: 0 0 auto; min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 15px; }
/* The microphone in the box (voice.js): a press to speak, a press to stop. Lit while it listens, with a ring that
   grows with the voice; a square while there is something to stop. */
.mic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  min-height: 56px;
  padding: 0;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 15px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.12s ease-out;
}
.mic[hidden] { display: none; }
/* The sound under the words while the microphone listens (voice.js `wave`): dots that run, bars where the voice is. */
.form.has-mic { position: relative; }
.mic-wave { position: absolute; display: none; pointer-events: none; color: var(--brand-ink); }
.form.hearing .mic-wave { display: block; }
.mic svg { width: 24px; height: 24px; }
.mic:hover { color: var(--brand-ink); border-color: var(--brand-line); }
.mic:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* The microphone has two looks, as in the tools people already talk to: not pressed, and pressed (listening): the
   same microphone, filled and lit, with a ring that grows with the voice. No other sign takes its place. */
.mic.on { color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand-line); box-shadow: 0 0 0 calc(3px + var(--level, 0) * 9px) var(--ring); }
.mic.on .mic-ear rect { fill: currentColor; }
.mic.speaking { color: var(--brand-ink); border-color: var(--brand-line); }
.mic.busy { color: var(--brand-ink); border-color: var(--brand-line); animation: mic-wait 1.1s ease-in-out infinite; }
@keyframes mic-wait {
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .mic { transition: none; }
  .mic.on { box-shadow: 0 0 0 4px var(--ring); }
  .mic.busy { animation: none; }
}

/* The request: the box, and under it one row with what the network understood and the words to try. Before the
   first request it stands in the page. After it, it stays on top of the screen (body.asked, below). */
.ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.under { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip {
  flex: none;
  min-height: 36px;
  max-width: 100%;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.chip:hover { border-color: var(--brand-line); color: var(--brand-ink); background: var(--brand-soft); transform: translateY(-1px); }
.chip:disabled { opacity: 0.5; cursor: default; transform: none; }
.pick { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; margin-left: auto; }
.select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  max-width: 100%;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
:root[data-theme="dark"] .select { background: #071a30; }
.error { margin: 0; font-size: 15px; color: var(--warn); }
/* What the network understood so far: one line, in the mark's colours, with the way to start over at its end. */
.got {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  max-width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 0 4px 0 14px;
  font-size: 14px;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
}
.got b { font-weight: 620; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.x:hover { background: var(--brand-soft); }
.x svg { width: 14px; height: 14px; }
/* The conversation stands above the box, as in any chat: the visitor's words on the right, the network's on the
   left. The last exchange is in sight, the rest one press away. */
.talk { display: grid; gap: 8px; min-width: 0; }
body.asked .talk { padding-top: 14px; }
.thread { list-style: none; margin: 0; padding: 2px 6px 2px 0; display: grid; gap: 8px; max-height: min(30vh, 232px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.thread:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 12px; }
.thread li {
  justify-self: start;
  /* No wider than its share of the thread, whatever stands in it: a row of ideas slides inside it instead. */
  min-width: 0;
  max-width: min(680px, 88%);
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 6px;
  overflow-wrap: anywhere;
}
.thread .queued { opacity: .55; }
.thread .you { justify-self: end; color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand-line); border-radius: 16px 16px 6px 16px; }
.thread .unclear { color: var(--warn); }
.thread .wait { color: var(--muted); letter-spacing: 0.2em; }
.thread .check { font-size: 14px; }
/* The ideas offered under an answer: a press says one, and the stores are asked for it. */
.thread .ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.thread .idea { min-height: 36px; padding: 0 13px; font-size: 14px; }
/* A basket under an answer: each thing with its picture, store and price, to swap or to buy at its store; the total. */
.thread .basket { margin-top: 10px; display: grid; gap: 8px; }
.bk-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.thread .bk-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas: "pic what price" "pic what acts";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  max-width: none;
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.bk-pic { grid-area: pic; display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 10px; }
.bk-what { grid-area: what; display: grid; gap: 2px; min-width: 0; }
.bk-what b { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; font-weight: 560; line-height: 1.3; }
.bk-for { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--muted); }
.bk-price { grid-area: price; justify-self: end; font: 600 15px/1.2 var(--font-mono); letter-spacing: -0.02em; color: var(--ink); }
.bk-price.over { color: var(--warn); }
.bk-acts { grid-area: acts; justify-self: end; display: flex; align-items: center; gap: 10px; }
.bk-buy { font-size: 14px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.bk-buy:hover { text-decoration: underline; }
.bk-total,
.bk-note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.bk-total { color: var(--ink-2); }

/* The open requests, in a row: the one on the screen in the mark's colours, the plus at the end. */
.chats { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 14px 0 0; overflow-x: auto; scrollbar-width: none; }
.chats::-webkit-scrollbar { display: none; }
body.asked .chats + .talk { padding-top: 4px; }
.chat-tab { display: inline-flex; align-items: center; flex: none; max-width: min(60vw, 240px); min-height: 36px; padding: 0 4px 0 0; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); }
.chat-tab.on { color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand-line); }
.chat-open { min-width: 0; min-height: 34px; padding: 0 4px 0 13px; font: inherit; font-size: 14px; font-weight: 560; color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-tab .x, .cond .x { width: 26px; height: 26px; font-size: 18px; line-height: 1; opacity: 0.6; }
.chat-tab .x:hover, .cond .x:hover { opacity: 1; }
.chat-new { flex: none; width: 36px; height: 36px; padding: 0; font: inherit; font-size: 22px; line-height: 1; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; }
.chat-new:hover { color: var(--brand-ink); border-color: var(--brand-line); background: var(--brand-soft); }
.chat-new:disabled { opacity: 0.4; cursor: default; }

/* What the network understood, one condition to a piece. The first is the product itself. */
.conds { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; margin: 0; padding: 0; }
.cond { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; min-height: 34px; padding: 0 12px; font-size: 14px; font-weight: 540; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 999px; }
.cond:has(.x) { padding-right: 3px; }
.cond > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cond.what { font-weight: 640; color: var(--btn-ink); background: var(--btn); border-color: transparent; }

/* what came back: the offers, and after them the stores that sent them */
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 4vw, 36px); align-items: start; }
.found { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.found:not(:has(> :not([hidden]))) { display: none; }
.status-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; margin: 0; }
.status { margin: 0; font-size: 15px; line-height: 1.45; letter-spacing: -0.008em; color: var(--ink-2); font-weight: 520; }
.status .count { font-weight: 640; color: var(--ink); }
.jump { display: none; flex: none; font-size: 13.5px; color: var(--muted); }
.jumps { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.note { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.list.stale { opacity: 0.45; filter: saturate(0.6); pointer-events: none; transition: opacity 0.2s ease; }

/* Once a request is made the page is a place to work. The first screen's words go away, the box stays on top
   with a strip of the page's colour behind it from edge to edge, and the offers stand right under it. */
body.asked .intro { display: none; }
body.asked .top { position: static; }
body.asked .main { padding-top: 0; gap: 16px; }
body.asked .ask {
  position: sticky;
  top: 0;
  z-index: 25;
  gap: 10px;
  padding: 12px 0 12px;
}
body.asked .ask::before {
  content: "";
  position: absolute;
  inset: 0 -100vw;
  z-index: -1;
  /* Solid: the big numbers of the stores' tiles must not show through behind the words under the box. */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
body.asked .form { box-shadow: var(--shadow-1); border-radius: 18px; padding: 6px; }
body.asked .form:focus-within { box-shadow: 0 0 0 4px var(--ring), var(--shadow-2); }
body.asked .input { min-height: 48px; }
body.asked .go { min-height: 48px; padding: 0 22px; border-radius: 13px; }
body.asked .mic { width: 48px; min-height: 48px; border-radius: 13px; }
/* One row that slides sideways, so the box stays low: what was understood, then the words to narrow it down. */
body.asked .under { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
body.asked .under::-webkit-scrollbar { display: none; }
body.asked .examples { flex-wrap: nowrap; }
/* The conditions stand in rows of their own under the box; the words to say next slide sideways under them. */
body.asked .under { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; overflow: visible; margin: 0; padding: 0; }
body.asked .examples { overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
body.asked .examples::-webkit-scrollbar { display: none; }
body.asked .examples .chip { min-height: 32px; font-size: 13.5px; box-shadow: none; }

/* On the working screen the offers are what the visitor came for. How the stores answered (the counts, the wall,
   the note) is one press away: it opens under the offers from the link next to the count. */
body.asked .live { display: none; }
body.asked.wall-open .live { display: grid; }
/* While the stores answer the wall stands above the offers, one square a store, lit as each answers; once the
   offers stand it folds away. */
body.asked.walling .live { display: grid; order: -1; max-height: 520px; overflow: hidden; transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s ease; }
body.asked.walling .live > :not(.wall):not(.legend) { display: none; }
body.asked.walling.wall-leaving .live { max-height: 0; opacity: 0; margin-bottom: calc(-1 * clamp(22px, 4vw, 36px)); }
@media (prefers-reduced-motion: reduce) {
  body.asked.walling .live { transition: none; }
}
body.asked .jump { display: inline; }
.live .close { display: none; margin: 0; }
body.asked .live .close { display: block; }

/* the stores */
.live { display: grid; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.stat { padding: 14px 16px 13px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); min-width: 0; }
.stat dt { font-size: 12px; font-weight: 560; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 4px 0 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 540; letter-spacing: -0.04em; line-height: 1.15; color: var(--ink); }
/* What the network is not, and what it takes: drawn in the mark's colours. */
.zero { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--accent) border-box; }
:root[data-theme="dark"] .zero { background: linear-gradient(#071a30, #071a30) padding-box, var(--accent) border-box; }
.zero dd { width: fit-content; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wall {
  --sq: 12px;
  --sq-gap: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--sq), 1fr));
  gap: var(--sq-gap);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-1), 0 0 0 6px var(--surface-2);
}
/* Many stores: smaller squares, so the picture stays one screen high (narrower still on a phone, below). */
.wall.denser { --sq: 10px; --sq-gap: 3px; }
.wall i,
.legend i { display: block; aspect-ratio: 1; border-radius: 3px; transition: background-color 0.4s ease; }
.wall.denser i { border-radius: 2px; }
.c-wait { background: rgba(6, 24, 45, 0.075); }
.c-nothing { background: rgba(6, 24, 45, 0.24); }
.c-silent { background: var(--amber); }
/* The stores with an offer are the water: three blues of the mark, so the wall looks like a sea and not a table. */
.c-offer { background: #0a84ff; }
.wall .c-offer:nth-child(3n) { background: #19c3f5; }
.wall .c-offer:nth-child(5n + 1) { background: #0055d4; }
.wall .c-offer:nth-child(7n + 3) { background: #55dcff; }
:root[data-theme="dark"] .c-wait { background: rgba(163, 250, 255, 0.09); }
:root[data-theme="dark"] .c-nothing { background: rgba(163, 250, 255, 0.3); }
:root[data-theme="dark"] .c-offer { background: #24c8ff; }
:root[data-theme="dark"] .wall .c-offer:nth-child(3n) { background: #7af2ff; }
:root[data-theme="dark"] .wall .c-offer:nth-child(5n + 1) { background: #1a84ff; }
:root[data-theme="dark"] .wall .c-offer:nth-child(7n + 3) { background: #b5fbff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 11px; flex: 0 0 11px; }

/* the offers */
.offers { display: grid; gap: 16px; }
.h2 { margin: 0; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 650; color: var(--ink); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pic { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #fff; display: block; border: 1px solid var(--line); }
span.pic { background: var(--surface-2); }
.what { display: grid; gap: 4px; min-width: 0; }
.title-btn { display: block; width: 100%; padding: 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.title-btn:hover .title { color: var(--brand-ink); }
.title { font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: -0.01em; color: var(--muted); overflow-wrap: anywhere; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.proof .by-store { color: var(--good); }
.proof .ok { color: var(--good); }
.proof .bad { color: var(--warn); }
.check {
  min-height: 24px;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--ink-2);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  cursor: pointer;
}
.check:hover { color: var(--brand-ink); text-decoration-color: currentColor; }
.check:disabled { opacity: 0.6; cursor: default; }
.price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 580; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.about { font-size: 13px; color: var(--muted); white-space: nowrap; }
.in-stock,
.out-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 520; }
.in-stock { color: var(--good); }
.out-stock { color: var(--warn); }
.in-stock::before,
.out-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.buy { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 13px; }
.see { font-size: 13px; color: var(--muted); }
.compare-bar { position: sticky; bottom: calc(14px + var(--tabs-h, 0px)); z-index: 20; justify-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 0; padding: 8px 10px 8px 18px; font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--brand-line); border-radius: 18px; box-shadow: var(--shadow-3); }
:root[data-theme="dark"] .compare-bar { background: #0b2440; }
.compare-bar .ghost { min-height: 40px; color: var(--btn-ink); background: var(--btn); border-color: transparent; }
.compare-bar .ghost:disabled { color: var(--muted); background: var(--surface-2); border-color: var(--line); }
.see:hover { color: var(--brand-ink); }
/* The same product at other stores, under the first of them: one row a store, the lowest price marked. */
.same { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); min-width: 0; }
.same-head { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.same-head b { font-weight: 640; color: var(--brand-ink); }
.same-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.same-row { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px 10px; font-size: 14px; border-radius: 10px; }
.same-row.lowest { background: var(--brand-soft); }
.same-price { display: grid; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 580; color: var(--ink); white-space: nowrap; }
.same-price small { font-family: var(--font-sans, inherit); font-size: 12.5px; font-weight: 450; color: var(--muted); }
.same-store { min-width: 0; font-family: var(--font-mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.same-like { display: inline-block; margin-left: 6px; padding: 0 7px; font-family: inherit; font-size: 12px; color: var(--warn); border: 1px solid currentColor; border-radius: 999px; cursor: help; }
.same-buy { font-size: 14px; font-weight: 620; color: var(--brand-ink); text-decoration: none; white-space: nowrap; }
.same-buy:hover { text-decoration: underline; }
.same .check { justify-self: start; }
.more,
.ghost {
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 580;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.more:hover,
.ghost:hover { border-color: var(--brand-line); color: var(--brand-ink); transform: translateY(-1px); }
.ghost:disabled { opacity: 0.6; cursor: default; transform: none; }
.empty { margin: 0; font-size: 16px; color: var(--muted); }

/* the rules */
.rules { display: grid; gap: 12px; max-width: 48em; }
.details { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.details summary { cursor: pointer; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.details summary::marker { color: var(--brand); }
.details ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 7px; color: var(--ink-2); }
.details p { margin: 12px 0 2px; color: var(--brand-ink); font-weight: 560; }
.details p.plain { color: var(--ink-2); font-size: 15px; font-weight: 400; line-height: 1.6; }
.fine { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
/* How 0cean works, and the saved dialogues: pages to read, each part under its own heading. */
.how { gap: clamp(28px, 5vw, 48px); padding-top: clamp(24px, 4vw, 44px); }
.how-intro { display: grid; gap: 16px; justify-items: start; max-width: 46em; }
.how-intro p { margin: 0; }
.how-part { display: grid; gap: 12px; max-width: 62em; }
.how-part > p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.how-part .h3, .door .h2 { margin: 0; }
.formula { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.formula li::marker { color: var(--brand-ink); font-weight: 600; }
.dialogues { display: grid; gap: 16px; max-width: 40em; }
.fine a { color: var(--brand-ink); }

/* open to everyone */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.door {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.door:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.door p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 640; color: var(--ink); }
.code { font-family: var(--font-mono); font-size: 13.5px; color: var(--ink) !important; overflow-wrap: anywhere; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.join { display: flex; flex-wrap: wrap; gap: 8px; }
.small-input { flex: 1 1 180px; min-height: 44px; font-size: 16px; padding: 0 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); }
.small-input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.join-said { font-size: 15px !important; color: var(--ink) !important; overflow-wrap: anywhere; }
.join-said.bad { color: var(--warn) !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
}
@media (max-width: 480px) {
  .wide-only { display: none; }
}
@media (max-width: 720px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  /* A store's row of the same product: the price and the link stand by the store's name and its stock. */
  .same-row { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; padding: 6px 8px; }
  .same-price { grid-row: 1 / span 2; }
  .same-row > .in-stock, .same-row > .out-stock { grid-column: 2; grid-row: 2; }
  .same-buy { grid-column: 3; grid-row: 1 / span 2; }
  .pic { width: 64px; height: 64px; border-radius: 12px; }
  .what { grid-area: what; gap: 3px; }
  .title { font-size: 15.5px; }
  .store { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .thread { max-height: min(24vh, 176px); }
  .compare-bar { bottom: calc(10px + var(--tabs-h, env(safe-area-inset-bottom, 0px))); padding: 8px 10px; }
  .status-row { flex-wrap: nowrap; align-items: baseline; }
  .status { font-size: 14px; font-weight: 500; min-width: 0; }
  .status .rest { display: none; }
  .jump { white-space: nowrap; font-size: 13px; }
  /* One link by the count on a phone: the count keeps its line. The order is one press away in the menu. */
  body.asked .order-link { display: none; }
  /* The ideas under an answer stand in one row that slides sideways, so the answer itself stays in sight. */
  .thread .ideas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -4px; padding-bottom: 2px; }
  .thread .ideas::-webkit-scrollbar { display: none; }
  .thread .idea { flex: none; }
  .found { gap: 8px; }
  body.asked .main { gap: 10px; }
  .price { font-size: 19px; }
  .buy { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
  .see { font-size: 12.5px; }
  .form { border-radius: 20px; }
  .go { flex: 1 1 100%; }
  /* The microphone stays on the box's own row, however narrow the screen. */
  .form.has-mic .input { flex-basis: 0; }
  body.asked .form { flex-wrap: nowrap; }
  body.asked .go { flex: 0 0 auto; padding: 0 16px; }
  body.asked .input { flex: 1 1 0; font-size: 16px; padding-left: 44px; background-position: 14px 50%; background-size: 20px 20px; }
  body.asked .ask { padding: 8px 0 10px; gap: 8px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.asked .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.asked .stat { padding: 9px 10px 8px; border-radius: 13px; }
  body.asked .stat dt { font-size: 12px; letter-spacing: 0.02em; text-transform: none; }
  body.asked .stat dd { font-size: 17px; }
  .stat dd { font-size: 22px; }
  .pick { width: 100%; margin-left: 0; }
  .select { min-height: 44px; font-size: 16px; }
  .check { min-height: 32px; }
  .ghost { flex: 1 1 100%; }
  .wall { padding: 12px; border-radius: 18px; }
  .wall.dense { --sq: 9px; --sq-gap: 3px; }
  .wall.denser { --sq: 6px; --sq-gap: 2px; }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.96); }
}
/* ───────────────────────────────────────────────────────────────────────────────────────────────────────────────
   The three screens a buyer works on (20 Nov 2026): the answer, one offer large, and the comparison.
   Everything below is theirs alone: the classes start with o- (an offer's card), look- (the large view) and v-
   (the comparison), so the other pages that share this file keep their own look. Nothing here is under 12px, and
   what is pressed is at least 44px, by its own size or by the room around it.
   ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.ico { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Waiting: the shape of what is coming, with a slow light going over it. */
.sk { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--skel) 30%, var(--skel-2) 50%, var(--skel) 70%); background-size: 300% 100%; animation: sk-light 1.4s linear infinite; }
:root { --skel: rgba(6, 24, 45, 0.07); --skel-2: rgba(6, 24, 45, 0.035); }
:root[data-theme="dark"] { --skel: rgba(163, 250, 255, 0.1); --skel-2: rgba(163, 250, 255, 0.05); }
@keyframes sk-light {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}
/* A small round button on a picture or in a dialog's corner. The room around it is pressed with it. */
.rnd { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; color: #2b3f58; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(6, 24, 45, 0.12); border-radius: 50%; box-shadow: 0 1px 2px rgba(6, 24, 45, 0.08); cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.rnd::after { content: ""; position: absolute; inset: -6px; }
.rnd .ico { width: 16px; height: 16px; }
.rnd:hover { color: #0052cc; border-color: rgba(10, 108, 245, 0.4); }
.rnd:disabled { opacity: 0.4; cursor: default; }
.rnd.on { color: #fff; background: #0a6cf5; border-color: transparent; }
.rnd.heart.on { color: #e5484d; }
.rnd.heart.on .ico { fill: currentColor; }
/* The store's sign: the first letter of its name. */
.av { display: grid; place-items: center; flex: none; width: 18px; height: 18px; font-size: 12px; font-weight: 700; font-style: normal; line-height: 1; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: #fff; background: #06182d; border-radius: 999px; white-space: nowrap; }
.badge .star { width: 11px; height: 11px; fill: #5cecff; }
.lnk { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.buy.ghost { flex: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); box-shadow: none; }
.buy.ghost:hover { background: var(--surface); border-color: var(--brand-line); color: var(--brand-ink); }

/* ── the answer ───────────────────────────────────────────────────────────────────────────────────────────── */

/* The network's own lines stand as words, with the mark beside them; the buyer's are the bubbles on the right. */
.thread li:not(.you) { position: relative; max-width: min(760px, 100%); padding: 0 0 0 42px; font-size: 16px; line-height: 1.5; background: none; border: 0; border-radius: 0; }
.thread li:not(.you)::before { content: ""; position: absolute; left: 0; top: -3px; width: 30px; height: 30px; background: url("/favicon.svg") center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(0, 84, 214, 0.25)); }
/* The mark stands by the network's last line; the ones before it are quieter. */
.thread li:not(.you):has(~ li:not(.you))::before { content: none; }
.thread li:not(.you):has(~ li:not(.you)) { color: var(--muted); }
/* The lines above the ones in sight fade out at the thread's top edge instead of being cut by it. */
.thread.cut { -webkit-mask-image: linear-gradient(180deg, transparent, #000 22px); mask-image: linear-gradient(180deg, transparent, #000 22px); }
.thread.cut-end { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); }
.thread.cut.cut-end { -webkit-mask-image: linear-gradient(180deg, transparent, #000 22px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, transparent, #000 22px, #000 calc(100% - 26px), transparent); }
/* What can be pressed in a line (look for the other thing, ask again): a button of its own, under the words. */
.thread li > .check { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 36px; margin-top: 8px; padding: 6px 14px; font-size: 14px; font-weight: 550; line-height: 1.3; color: var(--brand-ink); text-align: left; text-decoration: none; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 18px; }
.thread li > .check:hover { background: var(--surface); }
.thread .you { max-width: min(680px, 80%); padding: 9px 16px; font-weight: 500; border-radius: 18px 18px 6px 18px; }
/* A line being read: the place of one line of the answer, so nothing moves when its words come. */
.thread .wait { display: grid; align-content: center; width: min(520px, 100%); min-height: 24px; letter-spacing: 0; }
.thread .wait .sk { height: 12px; }
.thread .wait .sk-a { width: 78%; }
.thread .wait .sk-b { display: none; }
.thread .bk-line::before { content: none; }
.thread li.bk-line { padding: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
/* Under the last line: how many offers, from how many stores, how fast; while they answer, the line that fills. */
.talk .status-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 14px; margin: -2px 0 0; padding-left: 42px; }
.talk .status { position: relative; padding-left: 12px; font-size: 12.5px; font-weight: 450; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
.talk .status::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.talk .status-row.asking .status::before { background: var(--brand); animation: beat 1.2s ease-in-out infinite; }
.talk .status .count { font-weight: 560; color: var(--ink-2); }
.talk .jumps { gap: 0 14px; }
.talk .jump { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.talk .jump:hover { color: var(--brand-ink); }
.talk .jump .short { display: none; }
/* The line that fills stands under the count without taking a row of its own: it comes and goes, and nothing moves. */
.talk { position: relative; }
.progress { position: absolute; left: 42px; bottom: -7px; width: min(420px, calc(100% - 42px)); height: 4px; border-radius: 4px; background: var(--skel); overflow: hidden; }
.progress i { display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0078f9, #24dcff); transition: width 0.25s ease-out; }

/* The working screen: the offers have its whole width, four to a row. */
body.asked .main { gap: 12px; }
body.asked .talk { gap: 10px; padding-top: 12px; }
body.asked .chats + .talk { padding-top: 2px; }
body.asked .ask { gap: 10px; padding: 8px 0 10px; }
body.asked .ask::before { border-bottom: 0; background: linear-gradient(180deg, var(--bg) calc(100% - 10px), transparent); }
body.asked .form { align-items: center; padding: 6px; border-radius: 18px; box-shadow: var(--shadow-2); }
body.asked .input { min-height: 44px; font-size: 16px; }
/* The button to send is a sign here: an arrow up, and a turning ring while the line is read or the stores answer. */
body.asked .go { position: relative; width: 60px; min-height: 44px; padding: 0; gap: 0; font-size: 0; color: var(--btn-ink); border-radius: 13px; }
/* The arrow (and the ring while the stores answer) stands at the exact middle of the button, on its own: the word
   the button keeps for screen readers takes no room, and nothing in the row can push the sign aside. */
body.asked .go::after { position: absolute; inset: 0; margin: auto; }
body.asked .go::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body.asked .go.busy::after { width: 18px; height: 18px; background: none; -webkit-mask: none; mask: none; border: 2.4px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
/* One tidy row under the box: what the network understood, a thin line, then the words to say next. It slides
   sideways and fades at its end; nothing wraps, so the box keeps its height whatever the request. */
body.asked .under { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) + 36px) 0 var(--gutter); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
body.asked .under::-webkit-scrollbar { display: none; }
body.asked .conds { flex: none; flex-wrap: nowrap; gap: 8px; }
body.asked .cond { flex: none; position: relative; max-width: none; min-height: 32px; padding: 0 13px; font-size: 13.5px; font-weight: 550; }
body.asked .cond:has(.x) { padding-right: 4px; }
body.asked .cond > span { max-width: 240px; }
body.asked .cond .x { position: relative; width: 24px; height: 24px; font-size: 16px; }
body.asked .cond .x::after { content: ""; position: absolute; inset: -10px -6px; }
body.asked .examples { flex: none; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0; overflow: visible; }
body.asked .conds:not([hidden]) + .examples::before { content: ""; flex: none; width: 1px; height: 18px; margin: 0 2px; background: var(--line-2); }
body.asked .examples .small { font-size: 12.5px; }
/* The first line is being read: the row keeps its place, and its words come with the answer. */
body.asked .examples.quiet { visibility: hidden; }
body.asked .examples .chip { position: relative; min-height: 32px; padding: 0 13px; font-size: 13.5px; overflow: visible; box-shadow: none; border-color: var(--line-2); }
body.asked .examples .chip::after { content: ""; position: absolute; inset: -6px 0; }
/* The panel: the box and, under it in the same panel, the ways to narrow the answer down. One surface, one
   shadow, a hairline between its two halves. Before the first request there is only the box, as it was. */
.console { display: contents; }
body.asked .console { position: relative; display: block; background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 44px -18px rgba(8, 44, 110, 0.28), 0 2px 8px rgba(8, 44, 110, 0.06); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
body.asked .console:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--ring), 0 22px 50px -18px rgba(8, 44, 110, 0.34); }
:root[data-theme="dark"] body.asked .console { background: #0a1c33; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7); }
body.asked .console .form { padding: 10px 10px 10px 8px; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.asked .console .form:focus-within { box-shadow: none; }
body.asked .console .input.ask-box { min-height: 56px; padding-left: 52px; font-size: 18.5px; letter-spacing: -0.01em; background-position: 18px 50%; background-size: 22px; }
body.asked .console .input.ask-box::placeholder { color: var(--muted); }
body.asked .console .go { width: 56px; min-height: 56px; border-radius: 18px; }
body.asked .console .go::after { width: 22px; height: 22px; }
body.asked .console .mic { width: 56px; min-height: 56px; border-radius: 18px; }
body.asked .console .under { display: block; margin: 0; padding: 0; gap: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
body.asked .examples { display: none; }
/* The lower half: six parts side by side, a small name over what is picked, hairlines between them. */
.fbar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), transparent 140%); border-radius: 0 0 25px 25px; }
.fbar[hidden] { display: none; }
.fseg { position: relative; display: flex; align-items: stretch; min-width: 0; }
.fseg + .fseg::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.fseg:first-child .fbtn { border-radius: 0 0 0 25px; }
.fseg:last-child .fbtn { border-radius: 0 0 25px 0; }
.fbtn { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px; padding: 0 20px; font: inherit; color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; transition: background 0.15s ease; }
.fbtn:hover, .fseg.open .fbtn { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.fbtn:disabled { opacity: 0.55; cursor: default; }
.fwords { flex: 1; display: grid; gap: 1px; min-width: 0; }
.flabel { font-size: 12px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.fname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 560; letter-spacing: -0.01em; color: var(--ink-2); }
.fseg.on .fname { font-weight: 680; color: var(--brand-ink); }
.fseg.on .flabel { color: var(--brand-ink); opacity: 0.75; }
.fbtn .caret { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform 0.18s ease; }
.fseg.open .caret { transform: rotate(180deg); }
.fseg.on:has(.fx) .caret { display: none; }
.fseg:has(.fx) .fbtn { padding-right: 52px; }
.fx { position: absolute; right: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; font: inherit; font-size: 20px; line-height: 1; color: var(--brand-ink); background: var(--brand-soft); border: 0; border-radius: 50%; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.fx:hover { background: var(--brand-line); transform: scale(1.06); }
/* Why these come first: a small mark right after the word "Sort", to the page that says how the order is decided. */
.fseg .flabel { justify-self: start; }
.fwhy { position: absolute; z-index: 1; display: grid; place-items: center; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); border-radius: 50%; transition: color 0.15s ease; }
.fwhy .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fwhy:hover, .fwhy:focus-visible { color: var(--brand-ink); }
.fwhy:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.fwhy::after { content: ""; position: absolute; inset: -10px; }
/* How many offers, over the offers. */
.offers-count { margin: 0; font-size: 15px; font-weight: 650; color: var(--ink-2); letter-spacing: -0.005em; }
.offers-count[hidden] { display: none; }
.fx::after { content: ""; position: absolute; inset: -6px; }
/* A switch: off is a hollow ring, on is the brand's tick. */
.fswitch { flex: none; position: relative; width: 40px; height: 24px; background: var(--line-2); border-radius: 12px; transition: background 0.18s ease; }
.fswitch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(6, 24, 54, 0.3); transition: transform 0.18s ease; }
.fswitch.on { background: var(--brand); }
.fswitch.on::after { transform: translateX(16px); }
.fmenu { position: absolute; left: 8px; top: calc(100% + 8px); z-index: 30; display: grid; gap: 2px; min-width: 248px; padding: 8px; background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-3); animation: pop 0.14s ease-out; }
.fmenu-h { display: none; }
.fitem { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font: inherit; font-size: 15.5px; color: var(--ink); text-align: left; background: none; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap; }
.fitem:hover { background: var(--surface-2); }
.fitem.on { font-weight: 660; color: var(--brand-ink); background: var(--brand-soft); }
.fitem.clear { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.frange { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 12px 6px 4px; border-top: 1px solid var(--line); }
/* A sum field: its currency inside on the left, the digits after it, a frame that lights when typed in. Wide enough
   for any sum: the list is wider than its longest line when it holds the range. */
.fmoney { flex: 1 0 128px; display: flex; align-items: center; gap: 4px; min-width: 0; height: 46px; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; cursor: text; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.fmoney:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.fcur { flex: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.fmoney input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; font: inherit; font-size: 16px; font-weight: 560; font-variant-numeric: tabular-nums; color: var(--ink); background: none; border: 0; outline: none; }
.fmoney input::placeholder { font-weight: 450; color: var(--muted); }
.fdash { flex: none; color: var(--muted); }
.fapply { min-height: 44px; padding: 0 18px; font: inherit; font-size: 15px; font-weight: 650; color: #fff; background: linear-gradient(180deg, #1a8cff, #0061e6); border: 0; border-radius: 12px; cursor: pointer; }
/* What else narrows the answer down, in the same panel under the bar. */
body.asked .conds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
body.asked .conds[hidden] { display: none; }
body.asked .console:has(.conds:not([hidden])) .fbar { border-radius: 0; }
body.asked .console:has(.conds:not([hidden])) .fseg:first-child .fbtn, body.asked .console:has(.conds:not([hidden])) .fseg:last-child .fbtn { border-radius: 0; }
@media (max-width: 1100px) {
  .fbtn { padding: 0 14px; min-height: 60px; }
  .fname { font-size: 15px; }
  .fswitch { display: none; }
}
@media (max-width: 720px) {
  body.asked .console { border-radius: 22px; }
  body.asked .console .form { padding: 8px 8px 8px 4px; }
  body.asked .console .input.ask-box { min-height: 50px; padding-left: 44px; font-size: 17px; background-position: 14px 50%; }
  body.asked .console .go, body.asked .console .mic { width: 50px; min-height: 50px; border-radius: 16px; }
  /* Three parts to a row, two rows: nothing slides off the screen. */
  .fbar { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 0 0 21px 21px; }
  .fseg:nth-child(4)::before { content: none; }
  .fseg:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .fseg:first-child .fbtn, .fseg:last-child .fbtn { border-radius: 0; }
  .fseg:nth-child(4) .fbtn { border-radius: 0 0 0 21px; }
  .fseg:nth-child(6) .fbtn { border-radius: 0 0 21px 0; }
  .fbtn { min-height: 54px; padding: 0 12px; gap: 4px; }
  .fseg:has(.fx) .fbtn { padding-right: 34px; }
  .flabel { font-size: 12px; letter-spacing: 0.05em; }
  .fname { font-size: 14px; }
  .fbtn .caret { display: none; }
  .fx { right: 4px; width: 28px; height: 28px; margin-top: -14px; font-size: 18px; }
  .fdrop.open::before { content: ""; position: fixed; inset: 0; z-index: 990; top: 0; bottom: 0; width: auto; background: rgba(6, 24, 54, 0.32); }
  .fmenu-h { display: block; margin: 2px 12px 6px; font-size: 13px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  /* The sheet stands on the bar of the site's doors at the foot of the screen, not under it. */
  .fmenu { position: fixed; left: 0; right: 0; top: auto; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); z-index: 1000; min-width: 0; max-height: calc(100dvh - 180px); overflow-y: auto; padding: 10px 12px 12px; border-radius: 22px 22px 0 0; border-width: 1px 0 0; box-shadow: 0 -18px 50px rgba(6, 24, 54, 0.28); }
  .fitem { min-height: 50px; font-size: 16.5px; }
  .fmoney { flex: 1 1 0; height: 50px; }
  .fmoney input { font-size: 17px; }
  .fapply { min-height: 48px; }
}
/* The lines over the panel read at a glance: the requests open, what the network said last, and the count. */
/* The lines keep to the screen's width whatever their size: a long one wraps or is cut, it never widens the page. */
body.asked .talk { grid-template-columns: minmax(0, 1fr); }
body.asked .talk > * { min-width: 0; max-width: 100%; }
body.asked .chats { gap: 8px; padding-top: 16px; }
body.asked .chat-tab { min-height: 42px; border-radius: 14px; }
body.asked .chat-open { min-height: 40px; padding-left: 16px; font-size: 15.5px; font-weight: 600; }
body.asked .thread li:not(.you) { font-size: 17.5px; line-height: 1.45; letter-spacing: -0.012em; }
body.asked .thread li:not(.you):has(~ li:not(.you)) { font-size: 15.5px; }
body.asked .thread .you { font-size: 15.5px; }
body.asked .status { font-size: 15px; }
body.asked .status-row .jump { font-size: 14.5px; }
@media (max-width: 720px) {
  body.asked .chat-tab { min-height: 40px; }
  body.asked .chat-open { min-height: 38px; font-size: 15px; }
  body.asked .thread li:not(.you) { font-size: 16px; }
  body.asked .thread li:not(.you):has(~ li:not(.you)), body.asked .thread .you { font-size: 14.5px; }
  body.asked .status { font-size: 13.5px; }
  /* A narrow part has room for its words only: what is picked is taken away from its list. */
  .fx { display: none; }
  .fseg:has(.fx) .fbtn { padding-right: 12px; }
}
/* While the stores answer, the wall stands above the shape of the offers: one square a store, lit as each answers.
   It is kept low, so the first row of offers stays on the screen under it. */
body.asked.walling:not(.wall-open) .live { max-height: 260px; }
@media (max-width: 720px) {
  body.asked.walling:not(.wall-open) .live { max-height: 190px; }
}
body.asked .results { gap: 22px; }
body.asked .found { gap: 14px; }

/* The offers, picture first. Each card is the same height as its neighbours: the name has two lines, delivery has
   two, and the button stands at the card's foot. */
.offers .offer-grid, body.asked .offers .offer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
@media (max-width: 1400px) {
  .offers .offer-grid, body.asked .offers .offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.offer { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-1); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
:root[data-theme="dark"] .offer { background: #0a1c33; }
@media (hover: hover) {
  .offer:not(.wait):hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
}
/* The picture is most of the card, as on a shop's shelf. Stores shoot their products square: a square box shows
   the picture whole from edge to edge, with no empty bands above and under it. */
.o-shot { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.o-open { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.o-open:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; border-radius: 18px 18px 0 0; }
.o-open img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: contain; transition: transform 0.25s ease; }
.offer:hover .o-open img { transform: scale(1.03); }
.offer.out .o-open img { opacity: 0.55; filter: grayscale(0.4); }
.o-shot.none { background: linear-gradient(135deg, var(--surface-2), var(--brand-soft)); }
/* A picture on its way: the box shimmers as a card on its way does, never an empty white square. */
.o-shot.loading { background: linear-gradient(100deg, var(--skel) 30%, var(--skel-2) 50%, var(--skel) 70%); background-size: 300% 100%; animation: sk-light 1.4s linear infinite; }
@media (prefers-reduced-motion: reduce) { .o-shot.loading { animation: none; } }
:root[data-theme="dark"] .o-shot.none { background: linear-gradient(135deg, #0c2340, #0a2f55); }
.no-shot { display: grid; justify-items: center; gap: 6px; padding: 0 12px; font-size: 12.5px; line-height: 1.3; color: var(--muted); text-align: center; }
.no-shot .ico { width: 30px; height: 30px; opacity: 0.7; }
.o-shot .badge { position: absolute; left: 10px; top: 10px; pointer-events: none; }
.o-acts { position: absolute; right: 8px; top: 8px; display: grid; gap: 6px; }
.o-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 12px 14px 14px; }
.o-body .title-btn { border-radius: 6px; }
.o-title { display: -webkit-box; min-height: 2.6em; overflow: hidden; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 620; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); overflow-wrap: anywhere; }
.title-btn:hover .o-title { color: var(--brand-ink); }
.o-store { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 7px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); white-space: nowrap; overflow: hidden; }
.o-store b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--ink-2); }
.o-store .fresh { flex: none; }
.o-store .fresh.sure { font-weight: 550; color: var(--good); }
.o-price { display: flex; align-items: baseline; gap: 8px; min-width: 0; margin: 0 0 5px; white-space: nowrap; }
.offer .price, .look .price { font-family: var(--font); font-size: 21px; font-weight: 680; line-height: 1.25; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
/* A long price (a currency of big numbers) is set smaller, and nothing of the price line runs out of its card: the
   price keeps its whole width, the crossed-out price beside it gives way first. */
.offer .o-price { overflow: hidden; }
.offer .price { flex: none; }
.offer .price.long { font-size: 18px; }
.offer .price.longer { font-size: 15.5px; }
.o-price .about { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.stock { display: inline-flex; align-items: center; flex: none; gap: 5px; margin-left: auto; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.stock .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--good); }
.stock.out { color: var(--muted); }
/* The store's own crossed-out price and how much is off it, next to the price. */
.o-price .was { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.o-price .off { flex: none; padding: 1px 6px; font-size: 12px; font-weight: 700; line-height: 1.4; color: #fff; background: #e5484d; border-radius: 6px; font-variant-numeric: tabular-nums; }
/* One line of facts under the name: the same height on every card, empty where nothing is known. */
.o-facts { display: flex; align-items: center; gap: 10px; min-width: 0; height: 20px; margin: 7px 0 0; overflow: hidden; font-size: 12.5px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.o-fact { flex: none; display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.o-fact:last-child { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.o-fact .ico { flex: none; width: 14px; height: 14px; color: var(--muted); }
.o-fact .star { flex: none; width: 13px; height: 13px; color: #f5a524; fill: currentColor; }
.o-fact b { font-weight: 650; color: var(--ink); }
.o-fact.stars { color: var(--muted); }
.o-fact.free { color: var(--good); font-weight: 600; }
.o-fact.free b, .o-fact.free .ico { color: inherit; }
.o-fact.warn { color: var(--warn); font-weight: 600; }
.o-fact.warn .ico { color: inherit; }
.o-fact.soft { color: var(--muted); }
.o-ship { display: grid; gap: 3px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.o-ship li { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 18px; white-space: nowrap; }
.o-ship li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.o-ship .ico { width: 15px; height: 15px; color: var(--muted); }
.o-ship b { font-weight: 640; color: var(--ink); }
.o-ship .narrow { display: none; }
/* Whose checkout takes the card: a row every card keeps, empty where the network has not read it. */
.o-ship li.o-pay .ico { color: var(--good); }
.o-ship li.o-pay.none { visibility: hidden; }
.o-ship .soft { color: var(--muted); }
.o-ship .free { color: var(--good); font-weight: 600; }
.o-ship .free b { color: inherit; }
.o-ship .warn { color: var(--warn); font-weight: 600; }
.o-ship .warn .ico { color: var(--warn); }
/* The same product at other stores: a small line on the picture's foot, so every card keeps the same height. */
.o-same { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); height: 26px; padding: 0 10px; overflow: hidden; font: inherit; font-size: 12px; font-weight: 500; line-height: 24px; color: #2b3f58; text-overflow: ellipsis; white-space: nowrap; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(6, 24, 45, 0.14); border-radius: 999px; box-shadow: 0 1px 2px rgba(6, 24, 45, 0.08); cursor: pointer; }
.o-same::after { content: ""; position: absolute; inset: -9px 0; }
.o-same b { font-weight: 650; color: #0052cc; }
.o-body > * { flex: none; }
.o-body .spacer { flex: 1; }
.o-body .buy { min-height: 44px; margin-top: 12px; padding: 0 10px; font-size: 14.5px; font-weight: 650; border-radius: 13px; }
/* the shape of a card before its offer is there */
.offer.wait .o-shot { background: none; }
.offer.wait .o-shot .sk { position: absolute; inset: 0; border-radius: 0; }
.offer.wait .sk-t1 { width: 92%; height: 14px; margin-top: 3px; }
.offer.wait .sk-t2 { width: 64%; height: 14px; margin-top: 7px; }
.offer.wait .sk-st { width: 48%; height: 12px; margin-top: 14px; }
.offer.wait .sk-pr { width: 40%; height: 22px; margin-top: 13px; }
.offer.wait .sk-s1 { width: 74%; height: 12px; margin-top: 15px; }
.offer.wait .sk-s2 { width: 56%; height: 12px; margin-top: 11px; }
.offer.wait .sk-pr { margin-top: 2px; }
.offers .more { justify-self: center; min-width: min(320px, 100%); }
/* No offer fits: said quietly, in the offers' own place. */
.found > .empty { margin: 4px 0 0; padding: 28px 24px; font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: balance; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 20px; }
.offers .share { justify-content: center; }

@media (max-width: 1023px) {
  .offers .offer-grid, body.asked .offers .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 720px) {
  .thread li:not(.you) { padding-left: 31px; font-size: 14.5px; line-height: 1.4; }
  .thread li:not(.you)::before { top: -1px; width: 22px; height: 22px; }
  .thread .you { max-width: 92%; padding: 6px 13px; font-size: 14px; border-radius: 16px 16px 5px 16px; }
  body.asked .thread { gap: 6px; max-height: min(22vh, 150px); }
  .talk .status-row { flex-wrap: nowrap; padding-left: 31px; gap: 0 10px; }
  .talk .status { min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .talk .jump { position: relative; flex: none; font-size: 12px; }
  .talk .jump::after { content: ""; position: absolute; inset: -12px -6px; }
  .talk .jump .long { display: none; }
  .talk .jump .short { display: inline; }
  .talk .status { flex: 0 1 auto; }
  .progress { left: 31px; bottom: -5px; width: calc(100% - 31px); height: 3px; }
  /* On a narrow screen an answer takes two lines more often than one. */
  .thread .wait { gap: 8px; min-height: 41px; }
  .thread .wait .sk-b { display: block; width: 52%; }
  body.asked .main { gap: 8px; }
  body.asked .chats { padding-top: 8px; }
  body.asked .talk { gap: 6px; padding-top: 8px; }
  body.asked .ask { gap: 7px; padding: 6px 0 8px; }
  body.asked .form { padding: 4px; border-radius: 16px; }
  body.asked .go { width: 52px; border-radius: 12px; }
  body.asked .under { gap: 6px; padding-right: calc(var(--gutter) + 30px); }
  body.asked .conds, body.asked .examples { gap: 6px; }
  body.asked .cond, body.asked .examples .chip { min-height: 30px; padding: 0 11px; font-size: 13px; }
  body.asked .examples .small { display: none; }
  body.asked .found { gap: 12px; }
  .offers .offer-grid, body.asked .offers .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .offer { border-radius: 16px; }
  .offer:hover { transform: none; }
  .o-shot .badge { left: 7px; top: 7px; height: 22px; padding: 0 8px; }
  .o-acts { right: 6px; top: 6px; gap: 5px; }
  .o-acts .rnd { width: 30px; height: 30px; }
  .o-body { padding: 9px 10px 10px; }
  .o-title { font-size: 13.5px; line-height: 1.27; min-height: 2.54em; }
  /* A narrow card has room for the price and how much is off it; the crossed-out price is in the large view. */
  .o-price .was { display: none; }
  .o-facts { font-size: 12px; gap: 8px; }
  .o-store { margin-top: 5px; gap: 5px; font-size: 12px; }
  .o-store .av { width: 17px; height: 17px; border-radius: 5px; }
  /* A narrow card: the store's name has the line; that its price was checked this minute stays as a tick. */
  .o-store .fresh:not(.sure), .o-store .fresh .long { display: none; }
  .o-price { margin-top: 6px; gap: 6px; }
  .offer .price { font-size: 18px; }
  .offer .price.long { font-size: 15.5px; }
  .offer .price.longer { font-size: 13.5px; }
  .o-price .about { display: none; }
  .stock { font-size: 12px; }
  .o-ship { margin-top: 5px; gap: 1px; font-size: 12px; }
  .o-ship li { gap: 5px; min-height: 16px; }
  .o-ship .ico { width: 13px; height: 13px; }
  .o-ship .narrow { display: inline; }
  .o-ship .wide { display: none; }
  .o-same { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 0 8px; }
  .o-body .buy { position: relative; min-height: 40px; margin-top: 8px; font-size: 13.5px; border-radius: 12px; }
  .o-body .buy::after { content: ""; position: absolute; inset: -2px 0; }
  .offer.wait .sk-buy { height: 40px; margin-top: 8px; }
  .offer.wait .sk-t1, .offer.wait .sk-t2 { height: 12px; }
  .offer.wait .sk-st { margin-top: 10px; }
  .offer.wait .sk-pr { height: 18px; margin-top: 11px; }
  .offer.wait .sk-s1 { margin-top: 11px; }
  .offer.wait .sk-s2 { margin-top: 7px; }
}
@media (max-width: 359px) {
  /* The narrowest phones: the mark of the best match is its star alone, and the button's words get the whole width. */
  .stock .dot { display: none; }
  .o-shot .badge { padding: 0 6px; }
  .o-shot .badge span { display: none; }
  .o-body .buy { padding: 0 4px; font-size: 12.5px; letter-spacing: -0.015em; }
}

/* ── one offer, large ─────────────────────────────────────────────────────────────────────────────────────── */

.look { width: min(1400px, calc(100vw - 32px)); max-width: none; height: min(940px, calc(100dvh - 32px)); max-height: none; padding: 0; color: var(--ink); background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: var(--shadow-3); overflow: hidden; }
.look::backdrop { background: rgba(4, 18, 38, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.look[open] { animation: pop 0.2s ease-out; }
.look-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); height: 100%; }
/* The corner: the offer before, the next one, and the cross. */
.look-ctl { position: absolute; top: 14px; right: 18px; z-index: 6; display: flex; gap: 6px; }
.look-ctl .rnd, .v-head .rnd { width: 36px; height: 36px; color: var(--ink); background: var(--surface-solid); border-color: var(--line-2); }
.look-ctl .rnd::after, .v-head .rnd::after { inset: -4px; }
.look-ctl .rnd .ico, .v-head .rnd .ico { width: 17px; height: 17px; }
.look-ctl .look-close { margin-left: 4px; }
/* The picture keeps its own shape in its box: it is fitted whole, never stretched or cut. */
.look-pic { min-width: 0; min-height: 0; padding: 24px; background: var(--surface-2); border-right: 1px solid var(--line); }
.look-stage { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.look-stage img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 28px; object-fit: contain; }
/* The offer's other pictures: small ones under the large one, the one shown marked. On a phone they are dots. */
.look-pic { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.look-shots { display: flex; justify-content: center; gap: 8px; min-width: 0; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.look-shots[hidden] { display: none; }
.look-shots::-webkit-scrollbar { display: none; }
.look-shot { flex: none; display: grid; place-items: center; width: 60px; height: 60px; padding: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.look-shot img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.look-shot:hover { border-color: var(--brand-line); transform: translateY(-1px); }
.look-shot[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.look-nopic { display: none; justify-items: center; gap: 8px; margin: 0; padding: 24px; font-size: 14px; color: #5b6c84; text-align: center; }
.look-nopic .ico { width: 38px; height: 38px; opacity: 0.6; }
.look.no-pic .look-stage img { display: none; }
.look.no-pic .look-nopic { display: grid; }
.look.no-pic .look-stage { background: linear-gradient(135deg, #f5f9fe, #e3eefc); }
:root[data-theme="dark"] .look.no-pic .look-stage { background: linear-gradient(135deg, #0c2340, #0a2f55); }
:root[data-theme="dark"] .look-nopic { color: var(--muted); }
.look-what { position: relative; display: flex; flex-direction: column; gap: 13px; min-width: 0; min-height: 0; padding: 0 30px 24px; overflow-y: auto; overscroll-behavior: contain; }
.look-what > * { flex: none; margin: 0; }
.look-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; min-height: 64px; margin: 0 -30px -13px; padding: 0 160px 0 30px; font-size: 13px; color: var(--muted); background: var(--surface-solid); }
.look-place { white-space: nowrap; }
.look-title { margin: 0; font-size: 27px; line-height: 1.18; letter-spacing: -0.025em; font-weight: 680; color: var(--ink); overflow-wrap: anywhere; }
.look-what .look-title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; }
/* The store's sign, then its name with where it is and how fresh its price is: the words wrap as a paragraph. */
.look-store { align-items: flex-start; margin-top: -5px; gap: 8px; font-size: 14px; line-height: 1.55; white-space: normal; overflow: visible; }
.look-store > span { min-width: 0; overflow-wrap: anywhere; }
.look-store .fresh { flex: initial; }
.look-store .av { width: 22px; height: 22px; border-radius: 7px; }
.look-store b { color: var(--ink); }
/* Under the name: who makes it and what its buyers say; "Compare" stands at the end of the line. */
.look-by { display: flex; align-items: center; gap: 6px 14px; min-height: 24px; margin-top: -6px; font-size: 14px; color: var(--muted); }
.look-by > span { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-width: 0; }
.look-by b { font-weight: 620; color: var(--ink-2); }
.look-stars { display: inline-flex; align-items: center; gap: 5px; }
.look-stars .star { width: 15px; height: 15px; color: #f5a524; fill: currentColor; }
.look-by .pickbox { flex: none; min-height: 32px; font-size: 13.5px; font-weight: 550; color: var(--brand-ink); }
.look-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.look-price .was { font-size: 17px; color: var(--muted); text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.look-price .off { align-self: center; padding: 2px 8px; font-size: 13.5px; font-weight: 700; color: #fff; background: #e5484d; border-radius: 7px; font-variant-numeric: tabular-nums; }
/* The options the store sells it in: the name of each with the one picked, and its values to press. */
.look-opts { display: grid; gap: 12px; }
.look-opts[hidden] { display: none; }
.look-opt { display: grid; gap: 7px; }
.look-opt-head { margin: 0; font-size: 14px; color: var(--muted); }
.look-opt-head b { font-weight: 620; color: var(--ink); }
.look-opt-values { display: flex; flex-wrap: wrap; gap: 7px; max-height: 132px; overflow-y: auto; padding: 2px; }
.look-opt-v { min-height: 38px; min-width: 46px; padding: 0 13px; font: inherit; font-size: 14px; font-weight: 550; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.look-opt-v:hover { border-color: var(--brand-line); }
.look-opt-v[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
.look-opt-v.gone { color: var(--muted); text-decoration: line-through; background: var(--surface-2); }
/* Three short reasons under the button that buys: one row on a wide view, one under another on a phone. */
.look-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.look-trust li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.look-trust .ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--good); }
.look-trust span { display: grid; gap: 1px; min-width: 0; }
.look-trust b { font-size: 13.5px; font-weight: 640; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.look-trust small { font-size: 12.5px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
/* What the store itself says the thing is good for: the points of its own list, each with a tick. */
.look-high-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.look-high-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.look-high-list .ico { position: absolute; left: 0; top: 2px; width: 19px; height: 19px; padding: 3px; color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); border-radius: 50%; }
.look-high-list b, .look-desc b { font-weight: 640; color: var(--ink); }
.look-desc { display: grid; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.look-desc[hidden] { display: none; }
.look-desc p, .look-desc h4, .look-desc ul { margin: 0; }
.look-desc h4 { font-size: 15px; font-weight: 660; color: var(--ink); }
.look-desc-list { display: grid; gap: 6px; padding-left: 20px; }
.look-more { justify-self: start; min-height: 36px; margin-top: 2px; font-size: 14.5px; font-weight: 600; }
/* What a buyer reads after deciding: delivery and returns, and the store. Shut until pressed, the short of it shown. */
.look-fold { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.look-fold > summary { display: flex; align-items: center; gap: 4px 12px; min-height: 52px; padding: 8px 44px 8px 16px; position: relative; cursor: pointer; list-style: none; }
.look-fold > summary::-webkit-details-marker { display: none; }
.look-fold > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; }
.look-fold[open] > summary::after { margin-top: -2px; transform: rotate(-135deg); }
.look-fold-h { flex: none; font-size: 15px; font-weight: 640; color: var(--ink); }
.look-fold-h b { font-weight: inherit; }
.look-fold-s { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--muted); text-align: right; }
.look-fold[open] > summary { border-bottom: 1px solid var(--line); }
.look-fold .shop { border-top: 0; }
.look-price .price { font-size: 36px; line-height: 1.1; }
.look-price .about { font-size: 14px; }
.look-price .about:empty { display: none; }
.look-price .in-stock, .look-price .out-stock { font-size: 14px; font-weight: 600; }
.look-price .out-stock { color: var(--muted); }
/* The row that buys: it stays in sight while the rest is read. */
.look .look-buyrow { position: sticky; top: 64px; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; margin: -6px -30px; padding: 6px 30px; background: var(--surface-solid); }
.look .look-buyrow .buy { min-height: 52px; min-width: 0; padding: 0 16px; font-size: 16px; font-weight: 650; border-radius: 15px; }
.look-buyrow .buy small { display: none; font-size: 13px; font-weight: 550; opacity: 0.85; }
.look .look-buyrow .act { flex: none; min-height: 52px; padding: 0 16px; border-radius: 15px; font-weight: 600; white-space: nowrap; }
.look-buyrow .act.heart .lbl { display: none; }
.look .look-buyrow .act.heart { min-width: 52px; padding: 0; }
.look-buyrow .act svg { width: 20px; height: 20px; }
.pay-note { display: flex; align-items: center; gap: 7px; margin-top: -6px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.pay-note .ico { width: 15px; height: 15px; color: var(--good); }
.pay-note > span { flex: 1; min-width: 0; }
/* How you pay at this store, above the line about who is paid: read first, so it is in ink, not grey. */
.pay-how { align-items: flex-start; margin-top: 0; margin-bottom: -8px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.pay-how .ico { margin-top: 2px; }
.pay-how b { display: block; font-weight: 600; color: var(--ink); }
.pay-how small { display: block; font-size: 12.5px; font-weight: 450; color: var(--muted); }
.pay-how[hidden] { display: none; }
.pay-note .pickbox { flex: none; min-height: 44px; margin: -12px 0; font-size: 13.5px; font-weight: 550; color: var(--brand-ink); }
.pickbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pickbox input { width: 18px; height: 18px; accent-color: var(--brand); }
.panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; }
.panel-h { margin: 0; padding: 12px 16px 2px; font-size: 12px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.rows { margin: 0; padding: 0; list-style: none; }
.rows > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 16px; }
.rows > li + li { border-top: 1px solid var(--line); }
.rows .ico { margin-top: 1px; color: var(--brand); }
.rows b { display: block; font-size: 14.5px; font-weight: 620; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.rows span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.rows a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.rows .warn b, .rows .warn .ico { color: var(--warn); }
.shop { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; }
.shop .av { width: 44px; height: 44px; font-size: 19px; border-radius: 13px; }
.shop-who b { display: block; font-size: 15px; font-weight: 640; overflow-wrap: anywhere; }
.shop-who span { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.shop .lnk { font-size: 13.5px; white-space: nowrap; }
.shop-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.shop-facts li { min-width: 0; padding: 8px 16px; font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.shop-facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.shop-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.shop-facts li.wide { grid-column: 1 / -1; border-right: 0; }
.shop-facts b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.shop-facts .proof { display: inline; font-size: 13px; }
.shop-facts .proof > span:first-child::after { content: " · "; }
.shop-facts .proof > span + span::after { content: " · "; }
.shop-facts .proof .check { min-height: 0; font-size: 13px; color: var(--brand-ink); text-decoration-color: var(--brand-line); }
.shop-facts .proof a { color: var(--brand-ink); }
.look-same:empty, #look-same:empty { display: none; }
#look-same .same { padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; }
.sec-h { margin: 0 0 8px; font-size: 16px; font-weight: 660; letter-spacing: -0.01em; }
.look-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.look-text.soft { color: var(--muted); }
.look-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; font-size: 14px; }
.look-links .lnk { display: inline-flex; align-items: center; min-height: 32px; }

/* ── the comparison ───────────────────────────────────────────────────────────────────────────────────────── */

.versus { width: min(1240px, calc(100vw - 32px)); height: fit-content; max-height: min(852px, calc(100dvh - 32px)); }
.versus[open] { display: flex; }
.versus-in { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; max-height: inherit; }
.v-head { display: flex; flex: none; align-items: center; gap: 14px; padding: 18px 20px 12px 28px; }
.v-head .look-title { font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.v-head .look-title .hint { margin: 0; font-weight: inherit; color: inherit; }
.v-head .look-close { margin-left: auto; }
.seg { display: inline-flex; flex: none; padding: 3px; font-size: 13.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.seg button { position: relative; min-height: 32px; padding: 0 12px; font: inherit; color: var(--muted); white-space: nowrap; background: none; border: 1px solid transparent; border-radius: 9px; cursor: pointer; }
.seg button::after { content: ""; position: absolute; inset: -7px 0; }
.seg button[aria-pressed="true"] { color: var(--ink); background: var(--surface-solid); border-color: var(--line); box-shadow: var(--shadow-1); }
.swipe { display: none; }
.versus-scroll { flex: 1; min-height: 0; padding: 0 28px 22px; overflow: auto; overscroll-behavior: contain; }
.versus-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.versus-table th, .versus-table td { padding: 9px 16px; font-size: 14.5px; font-weight: 400; line-height: 1.45; text-align: left; vertical-align: top; color: var(--ink); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.versus-table th.k { width: 150px; padding-left: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.versus-table td { min-width: 0; border-left: 1px solid var(--line); }
.versus-table tr.pics td, .versus-table tr.pics th { padding-top: 0; border-top: 0; }
.vp { position: relative; display: grid; place-items: center; height: 136px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.vp img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.vp .no-shot .ico { width: 24px; height: 24px; }
.vp .rnd { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; }
.vp .rnd::after { inset: -8px; }
.v-title { display: -webkit-box; min-height: 2.6em; margin: 10px 0 0; overflow: hidden; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 640; line-height: 1.3; }
.v-store { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.v-store span { overflow: hidden; text-overflow: ellipsis; }
.v-read { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-read.sure { font-weight: 600; color: var(--good); }
.versus-table .pics .buy { display: flex; min-height: 44px; margin: 10px 0 4px; padding: 0 8px; font-size: 14.5px; font-weight: 650; border-radius: 13px; gap: 0; white-space: pre; }
.versus-table tr.grp th { padding: 14px 0 6px; font-size: 12px; font-weight: 680; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand-ink); border-top: 0; }
.versus-table tr.grp + tr th, .versus-table tr.grp + tr td { border-top-color: var(--line-2); }
.versus-table tr.fold th { border-top: 1px solid var(--line-2); padding: 12px 0; }
.versus-table .grp-names { font-size: 13px; font-weight: 450; letter-spacing: 0; text-transform: none; color: var(--muted); }
.versus-table .grp .check { position: relative; min-height: 24px; margin-left: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brand-ink); }
.versus-table .grp .check::after { content: ""; position: absolute; inset: -10px -8px; }
.versus-table .big { display: inline-block; margin-right: 10px; font-size: 20px; font-weight: 680; line-height: 1.25; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; vertical-align: middle; }
.versus-table .sub { display: block; font-size: 13px; color: var(--muted); }
.versus-table .soft { color: var(--muted); }
.versus-table .warn { font-weight: 600; color: var(--warn); }
.versus-table .good { font-weight: 600; color: var(--good); }
.versus-table .words { font-size: 13.5px; color: var(--ink-2); }
.versus-table .tag { display: inline-flex; align-items: center; height: 22px; margin: 2px 6px 2px 0; padding: 0 8px; font-family: var(--font); font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--good); background: none; border: 1px solid currentColor; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.versus-table .tag.known { color: var(--brand-ink); }
.versus-table td.best { background: linear-gradient(180deg, rgba(8, 128, 108, 0.06), rgba(8, 128, 108, 0.02)); }
.versus-table tr.same th, .versus-table tr.same td { padding-top: 8px; padding-bottom: 8px; }

@media (max-width: 760px) {
  /* A phone: the large view is a sheet that fills the screen and scrolls as one page. The picture on top, the
     offer under it, and the row that buys fixed to the bottom of the screen. */
  .look { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; background: var(--bg); border: 0; border-radius: 0; }
  .look-in { display: block; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .look-ctl { position: sticky; top: 0; right: auto; height: 58px; margin-bottom: -58px; padding: 10px 12px 0; gap: 8px; justify-content: flex-end; pointer-events: none; }
  .look-ctl .rnd { width: 40px; height: 40px; pointer-events: auto; background: rgba(255, 255, 255, 0.94); color: #06182d; border-color: rgba(6, 24, 45, 0.14); }
  .look-ctl .rnd::after { inset: -2px; }
  .look-ctl .look-close { order: -1; margin: 0 auto 0 0; }
  /* Past the picture, the corner's buttons stand on a bar of their own, so no words run under them. */
  .look.scrolled .look-ctl { background: var(--bar); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); border-bottom: 1px solid var(--line); }
  :root[data-theme="dark"] .look.scrolled .look-ctl { background: rgba(2, 10, 23, 0.9); }
  .look-store .fresh:not(.sure), .look-store .fresh .long { display: inline; }
  .look-store .dom { display: none; }
  .look-pic { padding: 0; background: #fff; border: 0; }
  .look-stage { height: min(318px, 44dvh); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .look-stage img { padding: 18px; }
  .look-pic { position: relative; display: block; }
  .look-shots { position: absolute; left: 0; right: 0; bottom: 10px; gap: 6px; padding: 0; pointer-events: none; }
  .look-shot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 30, 60, 0.22); transform: none; }
  .look-shot img { display: none; }
  .look-shot[aria-pressed="true"] { width: 18px; border-radius: 4px; background: var(--brand); box-shadow: none; }
  .look-what { gap: 14px; padding: 0 16px; overflow: visible; }
  .look-top { position: static; min-height: 0; margin: 0 0 -8px; padding: 12px 0 0; font-size: 12.5px; background: none; }
  .look-title { font-size: 21px; }
  .look-store { font-size: 13px; }
  .look-price .price { font-size: 28px; }
  .look .look-buyrow { order: 99; top: auto; bottom: 0; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; margin: 6px -16px 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bar); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); border-top: 1px solid var(--line); }
  :root[data-theme="dark"] .look .look-buyrow { background: rgba(2, 10, 23, 0.9); }
  .look .look-buyrow .buy { order: 3; min-height: 48px; font-size: 15px; border-radius: 14px; }
  .look-buyrow .buy small { display: inline; }
  .look .look-buyrow .act { order: 2; min-width: 48px; min-height: 48px; padding: 0; border-radius: 14px; }
  .look .look-buyrow .act.heart { order: 1; min-width: 48px; }
  .look-buyrow .act .lbl { display: none; }
  .pay-note { margin-top: -4px; }
  .rows b { font-size: 14px; }
  .rows span { font-size: 13px; }
  .look-text { font-size: 14.5px; }
  .look-by { margin-top: -4px; font-size: 13.5px; }
  .look-price .was { font-size: 15px; }
  .look-trust { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .look-trust li { padding: 9px 12px; }
  .look-high-list li, .look-desc { font-size: 14.5px; }
  .look-fold-s { display: none; }
  .look-about-it { padding-bottom: 8px; }

  .versus { width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--surface-solid); }
  .v-head { padding: 12px 12px 8px 16px; gap: 8px; }
  .v-head .look-title { font-size: 19px; }
  .v-head .look-title .hint { display: none; }
  .seg { font-size: 12.5px; }
  .seg button { padding: 0 9px; }
  .swipe:not([hidden]) { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 6px; margin: 0; padding: 0 16px 8px; font-size: 12px; color: var(--muted); }
  .swipe-dots { display: inline-flex; gap: 6px; }
  .swipe-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: width 0.15s ease; }
  .swipe-dots i.on { width: 16px; border-radius: 4px; background: var(--brand); }
  .versus-scroll { padding: 0 0 calc(14px + env(safe-area-inset-bottom, 0px)); }
  /* The names of the rows stay in place while the offers slide past them. */
  .versus-table { width: max(100%, calc(92px + var(--n, 2) * 132px)); }
  .versus-table th, .versus-table td { padding: 9px 10px; font-size: 13px; }
  .versus-table th.k { position: sticky; left: 0; z-index: 2; width: 92px; padding: 9px 8px 9px 16px; font-size: 12px; background: var(--surface-solid); border-right: 1px solid var(--line-2); box-shadow: 6px 0 10px -8px rgba(6, 24, 45, 0.25); }
  .versus-table td { border-left: 0; border-right: 1px solid var(--line); }
  .vp { height: 104px; border-radius: 12px; }
  .versus-table .long { display: none; }
  .versus-table .pics .buy { margin-top: 8px; font-size: 13.5px; }
  .v-title { margin-top: 7px; font-size: 13px; }
  .v-store { font-size: 12px; }
  .v-read { font-size: 12px; }
  .versus-table .big { margin-right: 0; font-size: 17px; }
  .versus-table .sub { font-size: 12px; }
  .versus-table .words { font-size: 12.5px; }
  .versus-table tr.grp th { padding: 12px 0 5px; }
  .versus-table .grp-in { position: sticky; left: 16px; display: inline-block; max-width: calc(100vw - 32px); }
  .versus-table tr.fold th { padding: 12px 0; }
}

/* the seller's page (sell.html): a talk in one box, the door's key, the door's cards */
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: min(52vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
.chat li { max-width: 46em; padding: 11px 16px; border-radius: 18px; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.chat .net { justify-self: start; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink); border-bottom-left-radius: 6px; }
.chat .you { justify-self: end; background: var(--btn); color: var(--btn-ink); border-bottom-right-radius: 6px; }
.chat a { color: var(--brand-ink); }
.chat .you a { color: inherit; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.wrap { white-space: normal; line-height: 1.5; }
.keybox { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--brand-line); border-radius: 20px; background: var(--brand-soft); min-width: 0; }
.keybox .code { margin: 0; font-size: 15px; user-select: all; background: var(--surface); }
.mycard { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); }
.mycard .pic { width: 56px; height: 56px; }
.mycard .title { text-decoration: none; }
.mycard .title:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .mycard { grid-template-columns: 48px minmax(0, 1fr); }
  .mycard .pic { width: 48px; height: 48px; }
  .mycard .check { grid-column: 1 / -1; justify-self: start; min-height: 40px; }
  .tools .ghost { flex: 1 1 100%; }
}

/* the operator's page (operator.html): reports, doors, takedowns */
.opcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); min-width: 0; }
.ophead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.ophead b { color: var(--ink); }
.ophead .title { display: inline; text-decoration: none; }
.opnote { margin: 0; font-size: 15px; color: var(--warn); overflow-wrap: anywhere; }
.opabout { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.opabout .what { flex: 1 1 auto; }
.opabout .pic { flex: 0 0 64px; width: 64px; height: 64px; }
.opabout .title { text-decoration: none; }
.optext { font-size: 14px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.opline { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.takedown { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.takedown .select { flex: 1 1 220px; width: 100%; min-height: 44px; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.takedown .ghost { flex: 0 1 auto; white-space: normal; min-height: 44px; padding-block: 8px; text-align: left; }
.takedown .small-input { flex: 2 1 220px; }
.ghost.armed { border-color: var(--warn); color: var(--warn); }
.status.bad { color: var(--warn); }
.details .takedown { margin-top: 12px; }
#appeals, #reports, #doors, #takedowns { grid-template-columns: minmax(0, 1fr); }

/* Saved dialogues (account.js): the list of what the visitor asked for before, under their own key. */
.account-key { margin: 0; user-select: all; }
.kept { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kept li { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; min-width: 0; }
.kept .check { text-align: left; overflow-wrap: anywhere; }
.kept .small { flex: none; }

/* The link to a request, under the offers. */
.share { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.share .small { white-space: normal; overflow-wrap: anywhere; }

/* The account's page (me.html): who you are here, and what is tied to the account. */
.me { max-width: 980px; }
.me-h1 { font-size: clamp(34px, 6vw, 64px); }
.me-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.me-head .small { margin: 4px 0 0; font-size: 15px; }
.me-list li { align-items: center; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.me-list li:first-child { border-top: 0; }
.me-list b { color: var(--ink); font-weight: 620; }
.me-accept { flex: 1 1 100%; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.me-accept input { flex: none; margin-top: 2px; }
.me .keybox { order: -1; }

/* The buyer's purchases (web/buys.js, on /dialogues): a picture, what it is and where, what was done, and its links. */
.buys { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.buy-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.buy-row:first-child { border-top: 0; }
.buy-pic { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--line); display: block; }
.buy-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buy-main { min-width: 0; display: grid; gap: 2px; }
.buy-name { color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.buy-name:hover { color: var(--brand-ink); text-decoration: underline; }
.door p.buy-meta, .door p.buy-state { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.door .is-bought p.buy-state { color: var(--brand-ink); font-weight: 600; }
.buy-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.buy-acts .check { font-size: 14px; }
/* the sell page: the seller's percent off their marketplace price */
.less { width: 4.2em; min-height: 32px; margin: 4px 2px 0; padding: 0 6px; font: inherit; font-size: 14px; color: var(--ink); text-align: right; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line-2); }
.less:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
/* a seller's own price on a marketplace, dearer than here (hosted.ts) */
.elsewhere { font-size: 12px; color: var(--good); line-height: 1.35; }
/* the sell page: what a seller keeps from one sale, there and here */
.keep { margin: 18px 0 22px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface-2); }
.keep-ask { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); line-height: 2; }
.keep-field { white-space: nowrap; }
.keep-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.keep-table th { text-align: left; font-size: 12px; font-weight: 560; color: var(--muted); padding: 4px 8px 6px 0; }
.keep-table td { padding: 7px 8px 7px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.keep-table th:not(:first-child), .keep-table td:not(:first-child) { text-align: right; }
.keep-table tr.ours td { color: var(--good); font-weight: 620; }
.keep .fine { margin: 10px 0 0; font-size: 12px; }
