:root {
  --bg: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f3f1ec;
  --ink: #0b0b0b;
  --text-dim: #52514e;
  --text-faint: #8a8880;
  --border: rgba(11,11,11,0.1);
  --border-soft: rgba(11,11,11,0.06);
  --ring: 0 0 0 1px var(--border), 0 1px 2px rgba(11,11,11,0.06);
  --ring-hover: 0 0 0 1px rgba(11,11,11,0.16), 0 2px 6px rgba(11,11,11,0.08);
  --accent: #0b0b0b;
  --accent-text: #fcfcfb;
  --price: #b5643a;
  --green: #3f8f5f;
  --claim-accent: #e57255;
  --claim-accent-70: rgba(229,114,85,0.7);
  --claim-accent-soft: rgba(229,114,85,0.15);
  --claim-accent-soft-hover: rgba(229,114,85,0.25);
  --peach: #ebc9b7;
  --peach-deep: #c9895f;
  --cactus: #bcd1ca;
  --cactus-deep: #6f9484;
  --heather: #cbcadb;
  --heather-deep: #8482a8;
  --radius-lg: 16px;
  --radius: 10px;
  --radius-sm: 8px;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 90px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--border-soft);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .mark {
  width: 20px; height: 20px;
  flex: none;
  color: var(--peach-deep);
}
.headnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--text-dim);
}
.headnav a:hover { color: var(--ink); }
.headnav a.active { color: var(--ink); font-weight: 600; }
.headnav .btn.ghost { padding: 7px 14px; font-size: 13.5px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--ring);
}

/* Stats bar */
.statbar {
  text-align: center;
  padding: 16px 0 6px;
}
.statpill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
}
.statbar .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
}
.live .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(63,143,95,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63,143,95,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(63,143,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,143,95,0); }
}
.statbar .sep { color: var(--text-faint); }

/* Claim — plain centered hero, mirrors outbid.lol's #claim section exactly (no card) */
/* Hero: a short line of context for anyone unfamiliar with the site — no assumption the
   visitor knows outbid.lol. */
.hero {
  text-align: center;
  padding: 30px 0 4px;
}
.hero p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 auto;
}

.claim {
  padding: 26px 0 4px;
  text-align: center;
}
.claim-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  row-gap: 6px;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.amount-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step-btn {
  width: 24px;
  height: 24px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--claim-accent-soft);
  color: var(--claim-accent);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.step-btn:hover { background: var(--claim-accent-soft-hover); }
.amount-field {
  position: relative;
  display: inline-block;
  color: var(--claim-accent);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.amount-mirror { visibility: hidden; white-space: nowrap; }
.amount-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
}
.amount-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.claim-hint {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 448px;
  margin: 8px auto 0;
}
.hint-accent { color: var(--claim-accent-70); }
.claim-form {
  margin: 16px auto 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.claim-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.urlfield-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.url-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.url-icon svg { width: 14px; height: 14px; }
.url-icon img { width: 24px; height: 24px; border-radius: 999px; object-fit: cover; }
.urlfield-input {
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0 14px 0 40px;
  color: var(--ink);
  font-size: 16px;
  font-family: var(--font-sans);
  outline: none;
  text-align: left;
}
.urlfield-input::placeholder { color: var(--text-faint); }
.urlfield-input:focus { border-color: var(--ink); }
.descfield-input {
  padding-left: 14px;
  font-size: 14.5px;
}
.btn-claim {
  height: 44px;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--claim-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-claim:hover { opacity: 0.85; }
.btn-claim:disabled { opacity: 0.5; cursor: not-allowed; }
.claim-note {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin: 0;
}
.name-preview {
  font-size: 12.5px;
  text-align: center;
  margin: 0;
  min-height: 1.2em;
  line-height: 1.3;
}
.name-preview.ok { color: var(--claim-accent); font-weight: 600; }
.name-preview.bad { color: #b5443a; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 640px) {
  .claim-row { flex-direction: row; align-items: center; }
  .btn-claim { width: 220px; flex: none; }
}

.btn {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.small {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 7px;
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn.ghost:hover { background: var(--surface-2); opacity: 1; }

/* Section titles */
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 34px 0 12px;
}

/* Recent activity — single full-width panel inside the board, right after the top 3 */
.activity-panel {
  background: var(--surface);
  box-shadow: var(--ring);
  border-radius: var(--radius-lg);
  padding: 14px 16px 10px;
  margin: 2px 0 6px;
}
.activity-panel h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
/* Cards side by side, like outbid.lol. They fit five across; we fit four, because Spanish
   runs longer than English ("en el #1 · 25.065 €" vs "at #1 · $25,065") and a fifth column
   would ellipsis every meta line. */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
/* Avatar in a fixed column, the three text lines stacked in the one that flexes — the
   stack is what keeps long names from pushing the timestamp off a narrow screen. */
.activity-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 8px;
  row-gap: 0;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.12s ease;
}
.activity-row:hover { background: var(--surface-2); }
.activity-empty {
  font-size: 13px;
  color: var(--text-faint);
  padding: 4px 0 8px;
}
.panel-avatar {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
}
.panel-avatar.sw-0 { background: var(--peach); color: #6b3f22; }
.panel-avatar.sw-1 { background: var(--heather); color: #37355a; }
.panel-avatar.sw-2 { background: var(--cactus); color: #244336; }
.panel-main {
  min-width: 0;
  line-height: 1;
}
/* Every line truncates on its own, so nothing can ever spill out of the card. */
.panel-main > span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-main .who {
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  color: var(--ink);
}
.panel-main .meta {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  color: var(--text-faint);
  margin-top: 1px;
}
.panel-main .when {
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
  color: var(--text-faint);
  margin-top: 1px;
}

/* Leaderboard */
.board {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.entry {
  position: relative;
  transition: box-shadow 0.12s ease;
}
.entry:hover .entry-name { color: var(--price); }
.entry-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
.entry-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  pointer-events: none;
}
.entry-cta, .entry-cta *, .entry-detail-link { pointer-events: auto; }
.entry-detail-link {
  position: relative;
  z-index: 1;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  flex: none;
}
.entry-detail-link:hover { color: var(--text-dim); }

/* Only the top 3 get card chrome (background/shadow/border) — everything from #4
   down is a flat row, exactly like outbid.lol beyond its own top 3. */
.entry.top1,
.entry.top2,
.entry.top3 {
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--ring);
}
.entry.top1 {
  border-color: var(--price);
  background: rgba(181,100,58,0.16);
  box-shadow: 0 8px 22px rgba(181,100,58,0.22);
}
.entry.top1:hover { box-shadow: 0 10px 26px rgba(181,100,58,0.28); }
.entry.top2 {
  border-color: rgba(181,100,58,0.45);
  background: rgba(181,100,58,0.08);
  box-shadow: 0 5px 14px rgba(181,100,58,0.12);
}
.entry.top2:hover, .entry.top3:hover { box-shadow: var(--ring-hover); }

/* Flat rows (#4 down) carry no card chrome, so a hairline keeps them readable as
   separate listings. The first one after a divider doesn't need its own line. */
.entry.flat + .entry.flat > .entry-inner { border-top: 1px solid var(--border-soft); }
.entry.flat:hover { background: rgba(181,100,58,0.03); border-radius: 10px; }
.entry.top3 {
  border-color: rgba(181,100,58,0.2);
  background: rgba(181,100,58,0.04);
  box-shadow: 0 3px 10px rgba(181,100,58,0.07);
}

.rank {
  flex: 0 0 26px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-faint);
  padding-top: 9px;
  text-align: center;
}
.entry.top1 .rank,
.entry.top2 .rank,
.entry.top3 .rank {
  flex: 0 0 30px;
  height: 26px;
  margin-top: 2px;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--accent-text);
  background: var(--price);
  border-radius: 999px;
}

.avatar {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 2px;
}
.avatar { position: relative; overflow: hidden; }
.avatar.sw-0 { background: var(--peach); color: #6b3f22; }
.avatar.sw-1 { background: var(--heather); color: #37355a; }
.avatar.sw-2 { background: var(--cactus); color: #244336; }
/* The favicon sits on top of the initials, so a site without one simply shows the
   initials instead of an empty box (the <img> removes itself on error). */
.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain, not cover: a wide logo should sit inside the tile rather than be cropped. */
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: inherit;
}
.avatar-initials { line-height: 1; }

/* Dividers marking the end of the top 3 and top 10 */
.rank-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
}
.rank-divider .line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(181,100,58,0.3);
}
.rank-divider .label {
  flex: none;
  border: 1px solid rgba(181,100,58,0.25);
  background: rgba(181,100,58,0.1);
  color: var(--price);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.entry-body { flex: 1; min-width: 0; }
.entry-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
/* A listing name can be a full 100-character URL: truncate it rather than let it wrap
   and shove the price onto its own line (this is what outbid.lol does too). */
.entry-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}
.entry-price {
  flex: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--price);
}
.entry-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 4px 0 8px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.entry-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-faint);
}
/* These two are short labels — letting them wrap mid-phrase ("hace 13 / horas") looked
   broken on narrow screens, so they stay on one line and the row wraps between them. */
.entry-foot > .time-live,
.entry-foot > .count-strong { white-space: nowrap; flex: none; }
.entry-cta { margin-left: auto; }

.time-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--price);
  font-weight: 600;
}
.dot-live {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--price);
  box-shadow: 0 0 0 0 rgba(181,100,58,0.5);
  animation: pulse-orange 1.8s infinite;
}
@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(181,100,58,0.45); }
  70% { box-shadow: 0 0 0 5px rgba(181,100,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(181,100,58,0); }
}
.count-strong { font-weight: 700; color: var(--ink); }

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-dim);
}
.pager button {
  background: var(--surface);
  box-shadow: var(--ring);
  border: none;
  color: var(--text-dim);
  border-radius: 7px;
  width: 32px; height: 32px;
  cursor: pointer;
  font-family: var(--font-sans);
}
.pager button:hover { color: var(--ink); }
.pager button.active { color: var(--accent-text); background: var(--accent); box-shadow: none; }
.pager .count { color: var(--text-faint); margin-left: 8px; }

footer {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
footer .earned-label { font-size: 13.5px; color: var(--text-dim); margin: 0; }
footer .earned-box {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  margin: 12px 0 14px;
  padding: 12px 26px;
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--ring);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(32px, 8vw, 52px);
  color: var(--ink);
}
footer .earned-unit { color: var(--claim-accent); }
footer .credits {
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.6;
}
/* Real-numbers panel on the ranking page — the same stat-card look about.html already uses,
   just without the live-dot: these are audited totals, not a this-second pulse. */
.stats-panel { margin: 26px 0 6px; }
.stats-panel h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.legal-link {
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}
.legal-link:hover { color: var(--text-dim); }
footer .credits a { border-bottom: 1px solid var(--border); }
footer .credits a:hover { color: var(--text-dim); }

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  border: none;
  color: var(--accent-text);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  max-width: calc(100vw - 40px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(11,11,11,0.25);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Static content pages (About / Rules) */
.page-header { padding: 30px 0 6px; }
.page-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.page-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.page-section { margin-top: 30px; }
.page-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  margin: 0 0 10px;
}
.page-section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 10px 0;
}
.page-section p strong { color: var(--claim-accent); font-weight: 700; }
.rule-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}
.rule-list li { margin-bottom: 10px; }
.rule-list li::marker { color: var(--price); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.stat-card {
  background: var(--surface);
  box-shadow: var(--ring);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}
.stat-card .value {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat-card .value .unit { color: var(--claim-accent); }
.stat-card .live-dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(63,143,95,0.5);
  animation: pulse 2s infinite;
}
.stat-card .label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.founder {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.founder-avatar {
  flex: 0 0 60px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--peach);
  color: #6b3f22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
}
.founder .name { font-size: 16px; font-weight: 700; }
.founder .role { font-size: 13.5px; color: var(--text-faint); margin-top: 2px; }

/* Responsive */
@media (max-width: 640px) {
  .wrap { padding: 0 16px 70px; }
  header { padding: 18px 0 14px; }
  .brand { font-size: 19px; }
  .headnav { gap: 14px; font-size: 13.5px; }
  .headnav .btn.ghost { padding: 6px 12px; }
  .claim { padding: 18px 0 2px; }
  .section-title { font-size: 19px; margin: 26px 0 10px; }
  .stat-grid { grid-template-columns: 1fr; }
}
/* Below 768px the cards become a plain vertical list, the same breakpoint outbid.lol uses.
   Four narrow columns would ellipsis every line on a tablet, and the list is capped at three
   bids so the panel doesn't push the board itself off the screen. */
@media (max-width: 767px) {
  .activity-grid { grid-template-columns: 1fr; gap: 0; }
  .activity-row {
    background: none;
    border-radius: 0;
    padding: 6px 0;
  }
  .activity-row:hover { background: none; }
  .activity-row:nth-of-type(n+4) { display: none; }
}
@media (max-width: 640px) {
  /* On a phone the time + clicks pair fits on one line together; the claim button takes
     the line below rather than squeezing all three across. */
  .entry-foot {
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 10.5px;
  }
  .entry-inner { gap: 10px; padding: 12px 10px; }
  .entry-desc { -webkit-line-clamp: 2; margin-bottom: 6px; }
  .entry-cta {
    margin-left: 0;
    flex-basis: 100%;
    margin-top: 2px;
  }
  .entry-cta .btn { width: 100%; padding: 7px 10px; font-size: 11.5px; }
}
@media (max-width: 480px) {
  footer .earned-box { font-size: 34px; padding: 10px 18px; }
}
@media (max-width: 360px) {
  .rank { flex: 0 0 20px; font-size: 11px; }
  .avatar { flex: 0 0 32px; width: 32px; height: 32px; }
}
