:root {
  --bg: #f6f4ef;
  --ink: #16150f;
  --muted: #77746a;
  --faint: #b9b5aa;
  --line: #e2ded4;
  --card: #fffdf8;
  --red: #d7261e;   /* only for the live price, the buy button and GONE */
  --red-ink: #fff;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110d; --ink: #f1eee6; --muted: #9a968b; --faint: #57544c;
    --line: #2a2822; --card: #1a1914; --red: #ff4a3d; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; }
.mark { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; }
.mark span { color: var(--faint); }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 18px; }
.top nav a:hover { color: var(--ink); }

/* The drop */
.drop { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 12px 0 56px; align-items: start; }
@media (max-width: 820px) { .drop { grid-template-columns: 1fr; gap: 24px; } }
.media { position: relative; }
.media .main { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); background: var(--line); display: block; }
.media .empty { width: 100%; aspect-ratio: 4 / 3.4; border-radius: var(--radius); background: var(--line); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; border: 0; }
.thumbs img.on { opacity: 1; }
.stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  border: 6px solid var(--red); color: var(--red); font-weight: 900; font-size: clamp(56px, 12vw, 112px);
  letter-spacing: .04em; padding: 0 26px; border-radius: 12px; background: color-mix(in srgb, var(--card) 70%, transparent);
  line-height: 1.15;
}
.media.gone .main { filter: grayscale(1) contrast(.9); }

.kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.kicker .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 10px; }
.cond { color: var(--muted); margin: 0 0 26px; }

.price { font-size: clamp(64px, 10vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price.live { color: var(--red); }
.price.was { color: var(--muted); }
.under { color: var(--muted); margin: 10px 0 26px; font-variant-numeric: tabular-nums; }
.under b { color: var(--ink); font-weight: 600; }

button, .btn {
  font: inherit; font-weight: 700; border: 0; border-radius: 999px; cursor: pointer;
  padding: 16px 28px; font-size: 18px; text-decoration: none; display: inline-block;
}
.buy { background: var(--red); color: var(--red-ink); width: 100%; font-size: 20px; padding: 18px; }
.buy:disabled { opacity: .5; cursor: default; }
.plain { background: var(--ink); color: var(--bg); }
.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

form.stack { display: grid; gap: 10px; }
input, textarea, select {
  font: inherit; width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
label { font-size: 14px; color: var(--muted); display: grid; gap: 5px; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.note { font-size: 14px; color: var(--muted); }
.msg { font-size: 15px; min-height: 1.5em; margin: 6px 0 0; }
.msg.err { color: var(--ink); font-weight: 600; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.blurb { margin: 28px 0 0; white-space: pre-line; }
.blurb a { color: var(--ink); }

.how { border-top: 1px solid var(--line); padding: 40px 0 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 720px) { .how { grid-template-columns: 1fr; } }
.how h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -0.01em; }
.how p { margin: 0; color: var(--muted); }
footer { color: var(--muted); font-size: 14px; padding: 0 0 40px; }

/* Plain pages */
.page { max-width: 640px; padding: 8px 0 64px; }
.page h1 { margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 28px; font-weight: 700; letter-spacing: .15em; }
