:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eaedf2;
  --border: #d9dee6;
  --ink: #14181d;
  --ink-soft: #4b5561;
  --ink-faint: #8a93a0;
  --red: #d2273a;
  --red-strong: #a81d2c;
  --red-tint: #fbe7e9;
  --ice: #2e6e93;
  --leader-bg: #fcefc0;
  --leader-border: #c99a16;
  --leader-text: #7a5d08;
  --shadow: 0 1px 2px rgba(20, 24, 29, 0.04), 0 8px 24px -12px rgba(20, 24, 29, 0.18);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
  letter-spacing: 0.01em;
}
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.header-activity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.header-activity strong {
  color: var(--ink-soft);
  font-weight: 600;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@media (max-width: 640px) {
  .header-activity {
    display: none;
  }
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--red-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex: none;
  transform: rotate(-6deg);
  box-shadow: 0 3px 8px -2px rgba(168, 29, 44, 0.45);
  transition: transform 0.2s ease;
}
.brand:hover .brand-badge {
  transform: rotate(0deg);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-word .ext {
  color: var(--red);
}
.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fa34d;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(63, 163, 77, 0.5);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 5px rgba(63, 163, 77, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-badge {
    transition: none;
  }
}

.promo-banner {
  display: block;
  background: var(--leader-bg);
  border-bottom: 1px solid var(--leader-border);
  text-decoration: none;
}
.promo-banner-inner {
  padding: 9px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--leader-text);
}
.promo-banner strong {
  font-weight: 700;
}
.promo-banner:hover {
  background: #fbe8ad;
}

.success-banner {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--leader-bg);
  border: 1px solid var(--leader-border);
  color: var(--leader-text);
  font-size: 14px;
  font-weight: 500;
}
.complete-modal {
  position: relative;
  max-width: 420px;
  width: calc(100% - 48px);
  padding: 20px;
  border: 1px solid var(--leader-border);
  border-radius: 12px;
  background: var(--leader-bg);
  color: var(--leader-text);
  box-shadow: var(--shadow);
}
.complete-modal::backdrop {
  background: rgba(20, 24, 29, 0.5);
  backdrop-filter: blur(2px);
}
.complete-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--leader-border);
  background: var(--surface);
  color: var(--leader-text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.complete-modal-close:hover {
  background: var(--leader-bg);
}
.complete-lede {
  margin: 0 32px 12px 0;
  font-weight: 500;
}
.complete-sub {
  margin: 16px 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.field-row {
  display: flex;
  gap: 8px;
}
.field-row .field {
  flex: 1;
  min-width: 0;
}
.field-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.field-file-preview {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
}
.field-file {
  flex: 1;
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: 7px;
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-file span {
  display: block;
  margin-bottom: 6px;
}
.field-file-optional {
  color: var(--ink-faint);
  font-weight: 400;
}
.field-file input {
  font-size: 12.5px;
  color: var(--ink-soft);
  width: 100%;
}
.field-file-spec {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero p.lede {
  margin: 16px 0 0;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.rules-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat b {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.stat span {
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* bid card */
.bid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.bid-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bib-tag {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.bib-tag #previewRank {
  color: var(--red);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2em;
}
.preview-pill {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-faint);
}
.stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}
.stepper button {
  width: 46px;
  flex: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.stepper button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stepper button:not(:disabled):hover {
  background: var(--border);
}
.stepper .amount {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 26px;
  background: var(--surface);
}
.stepper .amount .cur {
  color: var(--ink-faint);
  font-size: 19px;
}
.amount-input {
  border: 0;
  background: transparent;
  padding: 0;
  width: 6ch;
  color: inherit;
  font: inherit;
  text-align: center;
  transition: width 0.15s ease;
}
.amount-input.is-free {
  width: 10ch;
  color: var(--red);
}
.bid-help {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 10px 0 18px;
}
.field {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.field::placeholder {
  color: var(--ink-faint);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 7px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--red-strong);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red);
}
.bid-fineprint {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
}
.toast {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
}

/* ---------- filters ---------- */
.filters-section {
  padding: 28px 0 0;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-height: 38px;
  overflow: hidden;
  padding-bottom: 14px;
  transition: max-height 0.2s ease;
}
.filters:hover,
.filters:focus-within {
  max-height: 220px;
}
@media (prefers-reduced-motion: reduce) {
  .filters {
    transition: none;
  }
}
.chip {
  flex: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--ink-faint);
}
.chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- layout: board, centered ---------- */
.board-layout {
  padding: 20px 0 60px;
}

.board {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.board-head h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.refresh {
  font-size: 12.5px;
  color: var(--ice);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.row:last-child {
  border-bottom: 0;
}
.row:hover {
  background: var(--surface-2);
}
.row.leader {
  background: linear-gradient(90deg, var(--leader-bg), transparent 65%);
}
.row.leader:hover {
  background: linear-gradient(90deg, var(--leader-bg), var(--surface-2) 65%);
}
.row.row-highlight {
  background: var(--red-tint);
}
@media (prefers-reduced-motion: reduce) {
  .row {
    transition: none;
  }
}

.bib {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-soft);
  background: var(--surface);
}
.row.leader .bib {
  border-color: var(--leader-border);
  color: var(--leader-text);
  background: var(--leader-bg);
}

.row-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.info {
  flex: 1;
  min-width: 0;
}
.info .name-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.row-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--surface-2);
  object-fit: cover;
}
.row-icon-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--border);
  background: transparent;
  color: var(--ink-faint);
  font-size: 20px;
  font-weight: 600;
}
.row-empty {
  background: var(--surface-2);
}
.row-empty:hover {
  background: var(--surface-2);
}
.row-empty .name {
  color: var(--ink-soft);
}
.row-empty .tagline {
  font-style: italic;
}
.info .name {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.info .domain {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ice);
}
.info .domain.domain-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.info .tagline {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 3px;
  max-width: 56ch;
}
.info .meta-line {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}
.subtle {
  font-size: 12px;
  color: var(--ink-faint);
}

.price-col {
  text-align: right;
}
.price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.price::before {
  content: "€ ";
  color: var(--ink-faint);
  font-weight: 500;
}
.price-empty {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.claim-btn {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--red-strong);
  background: var(--red-tint);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.claim-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  right: 0;
  transform: translateY(4px) scale(0.85);
  transform-origin: bottom right;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(20, 24, 29, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 5;
}
.claim-tooltip-price {
  font-family: var(--font-mono);
  opacity: 0.75;
  font-weight: 500;
}
.claim-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 11px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.claim-btn:hover .claim-tooltip,
.claim-btn:focus-visible .claim-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .claim-tooltip {
    transition: none;
  }
}
.claim-btn:hover {
  background: var(--red);
  color: #fff;
}

.divider-row {
  padding: 10px 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-faint);
}

@media (max-width: 620px) {
  .row {
    grid-template-columns: 36px 1fr auto;
    grid-template-areas: "bib link link" ". price action";
    row-gap: 8px;
  }
  .bib {
    grid-area: bib;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .row-link {
    grid-area: link;
  }
  .row-icon {
    width: 36px;
    height: 36px;
  }
  .price-col {
    grid-area: price;
    display: flex;
    align-items: center;
    text-align: left;
  }
  .claim-btn {
    grid-area: action;
  }
}

/* ---------- inline activity feed (sits after the listing rows) ---------- */
.activity-inline {
  padding: 12px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.activity-scroll {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.activity-empty {
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
  padding: 4px 0;
}
.activity-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.activity-chip:hover {
  border-color: var(--ink-faint);
}
.activity-icon {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--surface-2);
}
.activity-chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.activity-chip-when {
  font-size: 9px;
  letter-spacing: 0.01em;
  font-family: var(--font-mono);
  color: var(--ink-faint);
}
.activity-chip-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.activity-chip-stat {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--ink);
}

/* ---------- legal lightbox (index.php only) ---------- */
.legal-modal {
  position: relative;
  border: none;
  border-radius: 14px;
  padding: 0;
  max-width: 760px;
  width: calc(100% - 48px);
  max-height: min(85vh, 900px);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.legal-modal[open] {
  animation: legal-modal-in 0.18s ease;
}
.legal-modal::backdrop {
  background: rgba(20, 24, 29, 0.5);
  backdrop-filter: blur(2px);
}
.legal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-modal-close:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.legal-modal-body {
  max-height: min(85vh, 900px);
  overflow-y: auto;
}
.legal-modal-loading {
  padding: 60px 24px;
  text-align: center;
  color: var(--ink-faint);
}
@media (prefers-reduced-motion: reduce) {
  .legal-modal[open] {
    animation: none;
  }
}
@keyframes legal-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- legal pages ---------- */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-wrap h1 {
  font-size: 28px;
  margin-bottom: 20px;
}
.legal-notice {
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--leader-bg);
  border: 1px solid var(--leader-border);
  color: var(--leader-text);
  font-size: 13.5px;
  line-height: 1.5;
}
.legal-content h2 {
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  margin: 32px 0 10px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-content p {
  margin: 0 0 12px;
}
.legal-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.legal-content .placeholder {
  background: var(--red-tint);
  color: var(--red-strong);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.legal-content a {
  color: var(--ice);
  text-decoration: underline;
}

/* ---------- admin ---------- */
.admin-wrap {
  max-width: 1440px;
  padding: 40px 24px 60px;
}
.admin-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 600;
}
.admin-nav a {
  color: var(--ink-faint);
}
.admin-nav a.active {
  color: var(--ink);
}
.admin-title {
  font-size: 26px;
  font-weight: 600;
}
.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.admin-row.admin-row-invoice {
  grid-template-columns: 90px 110px 1fr 90px 100px 150px;
}
.admin-subtitle {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 8px 0 28px;
  max-width: 60ch;
}
.admin-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.admin-row {
  display: grid;
  grid-template-columns: 90px 1fr 90px 100px 140px;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.admin-row:last-child {
  border-bottom: 0;
}
.admin-row-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  background: var(--surface-2);
}
@media (max-width: 720px) {
  .admin-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .admin-row-head {
    display: none;
  }
}
.admin-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  width: fit-content;
}
.admin-status-active {
  background: var(--leader-bg);
  color: var(--leader-text);
}
.admin-status-pending_review {
  background: var(--surface-2);
  color: var(--ink-soft);
}
.admin-status-rejected {
  background: var(--red-tint);
  color: var(--red-strong);
}
.admin-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
}
.admin-entry .domain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ice);
}
.admin-entry .tagline {
  color: var(--ink-soft);
  font-size: 12.5px;
}
.admin-actions-buttons {
  display: flex;
  gap: 8px;
}
.admin-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.admin-btn:hover {
  border-color: var(--ink-faint);
}
.admin-btn-danger {
  color: var(--red-strong);
  background: var(--red-tint);
}
.admin-btn-danger:hover {
  background: var(--red);
  color: #fff;
}
.admin-note {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 6px;
  max-width: 30ch;
}
.admin-btn-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.admin-btn-primary:hover {
  background: var(--red-strong);
  border-color: var(--red-strong);
}
.admin-edit-row {
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.admin-edit-row:last-child {
  border-bottom: 0;
}
.admin-edit-form {
  display: flex;
  gap: 14px;
  padding: 16px;
}
.admin-edit-logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
}
.admin-edit-fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.admin-edit-actions {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 2px;
}
@media (max-width: 720px) {
  .admin-edit-form {
    flex-direction: column;
  }
  .admin-edit-fields {
    max-width: none;
  }
}

@keyframes dropIn {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bid-card {
    animation: dropIn 0.5s ease-out;
  }
}
