@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=Instrument+Serif:ital@0;1&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f2ea;
  --bg-2: #e9edf5;
  --surface: #fffdf7;
  --surface-2: #f7f3e8;
  --surface-3: #edf5ee;
  --ink: #101522;
  --text: #263142;
  --muted: #667083;
  --muted-2: #9299a8;
  --line: #ddd8ca;
  --line-strong: #c9c0ad;
  --blue: #285be8;
  --blue-2: #173ca6;
  --blue-soft: #edf2ff;
  --gold: #c69834;
  --gold-2: #815714;
  --gold-soft: #fff2c2;
  --green: #15966c;
  --green-soft: #e9f8ef;
  --coral: #e76452;
  --violet: #6d57c9;
  --danger: #d92d20;
  --radius: 8px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-utility: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --support-copy-color: #667083;
  --support-copy-size: 1rem;
  --support-copy-weight: 600;
  --support-copy-line: 1.56;
  --shadow-soft: 0 1px 2px rgba(16, 21, 34, 0.06), 0 20px 58px rgba(49, 42, 26, 0.12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-2: #111722;
  --surface: #121722;
  --surface-2: #171d29;
  --surface-3: #1e2634;
  --ink: #f7f8fb;
  --text: #d7deea;
  --muted: #9aa5b8;
  --muted-2: #707b8f;
  --line: #263143;
  --line-strong: #3a4659;
  --blue: #7aa2ff;
  --blue-2: #9bb8ff;
  --blue-soft: #18284d;
  --gold: #e4bd63;
  --gold-2: #f2cc73;
  --gold-soft: #2a2313;
  --green: #43d79c;
  --green-soft: #10291f;
  --coral: #ff8b7f;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.28), 0 18px 54px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 95, 232, 0.09), transparent 30rem),
    linear-gradient(180deg, #ffffff 0, var(--bg) 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.5;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 0%, rgba(122, 162, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #0f131b 0, var(--bg) 32rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: 5.05rem;
  line-height: 0.96;
  max-width: 980px;
}

h2 {
  font-size: 2.6rem;
  line-height: 1.05;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.22;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(227, 232, 239, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(11, 13, 18, 0.88);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: fit-content;
}

.brand-lockup.small {
  transform: scale(0.9);
  transform-origin: left center;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  transform: rotate(-8deg);
}

:root[data-theme="dark"] .brand-mark {
  background: #121722;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 29px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(31deg);
  transform-origin: left center;
}

.brand-text {
  display: grid;
  gap: 0.02rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  text-transform: uppercase;
}

.brand-text span:last-child {
  color: var(--gold-2);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.top-nav a {
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover {
  color: var(--ink);
  border-color: var(--blue);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 0.55rem;
}

.traffic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  padding: 0.46rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

:root[data-theme="dark"] .traffic-pill {
  background: rgba(18, 23, 34, 0.86);
}

.traffic-pill strong {
  color: var(--ink);
  font-size: 0.84rem;
}

.traffic-pill span:last-child {
  color: var(--blue);
  font-weight: 900;
}

.live-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(19, 163, 111, 0.42);
  border-radius: 999px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-icon {
  display: none;
  width: 18px;
  height: 18px;
}

:root[data-theme="light"] .theme-icon.moon,
:root:not([data-theme]) .theme-icon.moon {
  display: block;
}

:root[data-theme="dark"] .theme-icon.sun {
  display: block;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  color: var(--ink);
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
}

.header-cta,
.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(37, 95, 232, 0.24);
}

.header-cta:hover,
.button.primary:hover {
  border-color: var(--blue-2);
  background: var(--blue-2);
  transform: translateY(-1px);
}

.button.ghost:hover,
.button.tiny:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

:root[data-theme="dark"] .button.ghost,
:root[data-theme="dark"] .button.tiny,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .board-search input,
:root[data-theme="dark"] .category-pill,
:root[data-theme="dark"] .offer-row,
:root[data-theme="dark"] .rank-number,
:root[data-theme="dark"] .panel-block,
:root[data-theme="dark"] .claim-card,
:root[data-theme="dark"] .success-card,
:root[data-theme="dark"] .detail-card,
:root[data-theme="dark"] .stat-card,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea {
  background: var(--surface);
}

.button.tiny {
  min-height: 36px;
  padding: 0.5rem 0.76rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.button.compact {
  white-space: nowrap;
}

.button.full {
  width: 100%;
}

.eyebrow,
.section-kicker,
.muted-label {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-minimal,
.market-section,
.rules-section,
.page-section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: end;
  padding: 48px 0 20px;
}

.hero-stack {
  display: grid;
  gap: 0.9rem;
}

.hero-lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.traffic-line {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.traffic-line a {
  color: var(--blue);
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.signal-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

:root[data-theme="dark"] .signal-bar {
  background: rgba(18, 23, 34, 0.82);
}

.signal-bar span {
  min-height: 54px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 0.78rem 0.9rem;
  font-size: 0.85rem;
}

.signal-bar span:last-child {
  border-right: 0;
}

.signal-bar strong {
  color: var(--ink);
  font-weight: 900;
}

.market-section {
  padding: 18px 0 56px;
}

.market-panel,
.claim-card,
.success-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.market-panel {
  overflow: clip;
}

.market-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 1rem;
}

.stats-link {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.stats-link span {
  white-space: nowrap;
}

.stats-link span + span {
  border-left: 1px solid var(--line);
  padding-left: 0.58rem;
}

.stats-link strong {
  color: var(--blue);
  white-space: nowrap;
}

.proof-source::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.28rem;
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 0.48fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, var(--surface-2));
  padding: 1rem;
}

:root[data-theme="dark"] .market-toolbar {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}

.market-toolbar h2 {
  margin-top: 0.2rem;
  font-size: 1.55rem;
}

.ranking-note {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.market-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 0.65rem;
}

.quick-rank-form {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(240px, 1fr) minmax(150px, 0.32fr) 96px auto;
  gap: 0.65rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 1rem;
}

.quick-rank-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
}

.quick-rank-price strong {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
}

.quick-rank-form input,
.quick-rank-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0.7rem 0.78rem;
  outline: none;
}

.board-window-toggle {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-3);
  padding: 4px;
}

.board-window-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.44rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.board-window-toggle button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.board-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  outline: none;
}

.board-search input:focus,
.quick-rank-form input:focus,
.quick-rank-form select:focus,
.quick-claim input:focus,
.quick-claim select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 95, 232, 0.12);
}

.category-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
}

.category-scroll {
  display: flex;
  gap: 0.48rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.25rem;
  scrollbar-width: thin;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0.48rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.category-pill.is-active,
.category-pill:hover {
  border-color: var(--blue);
  color: var(--ink);
  background: var(--blue-soft);
}

.category-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue);
}

.market-live-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 0.85rem 1rem;
}

.live-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.72rem;
}

.live-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.52rem;
}

.live-card-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-card-head strong {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.live-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.compact-rank,
.activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 32px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.compact-rank:hover,
.activity-item:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.compact-rank span,
.activity-item span {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.compact-rank strong,
.activity-item strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-rank em {
  color: var(--gold-2);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.activity-item {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.activity-item em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.live-empty {
  min-height: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.leaderboard {
  display: grid;
  background: #ffffff;
}

:root[data-theme="dark"] .leaderboard {
  background: var(--surface);
}

.offer-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px 50px minmax(0, 1fr) minmax(126px, 0.18fr) 72px;
  gap: 0.9rem;
  align-items: center;
  min-height: 98px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 0.85rem 1rem;
}

.offer-row:last-child {
  border-bottom: 0;
}

.offer-row:hover {
  background: var(--surface-2);
}

.offer-row.top-rank {
  background: linear-gradient(90deg, var(--gold-soft), #ffffff 34%);
}

:root[data-theme="dark"] .offer-row.top-rank {
  background: linear-gradient(90deg, var(--gold-soft), var(--surface) 36%);
}

.offer-row.top-rank::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.offer-row.rank-1 {
  border-left: 0;
  box-shadow: inset 0 0 0 1px rgba(210, 170, 79, 0.34);
}

.offer-row.rank-1 .rank-number {
  border-color: #e9c76c;
  background: #fff3c3;
  color: #6d4700;
}

.offer-row.rank-2 {
  background: linear-gradient(90deg, #eef4ff, #ffffff 34%);
  box-shadow: inset 0 0 0 1px rgba(122, 162, 255, 0.3);
}

.offer-row.rank-2::before {
  background: #7aa2ff;
}

.offer-row.rank-2 .rank-number {
  border-color: #b9ccff;
  background: #eef4ff;
  color: #1747bd;
}

.offer-row.rank-3 {
  background: linear-gradient(90deg, #fff1ef, #ffffff 34%);
  box-shadow: inset 0 0 0 1px rgba(238, 107, 95, 0.24);
}

.offer-row.rank-3::before {
  background: var(--coral);
}

.offer-row.rank-3 .rank-number {
  border-color: #ffc2ba;
  background: #fff1ef;
  color: #a33228;
}

:root[data-theme="dark"] .offer-row.rank-2 {
  background: linear-gradient(90deg, #142548, var(--surface) 36%);
}

:root[data-theme="dark"] .offer-row.rank-3 {
  background: linear-gradient(90deg, #321d1d, var(--surface) 36%);
}

:root[data-theme="dark"] .offer-row.rank-1 .rank-number {
  background: #3a2c11;
  color: #ffd77a;
}

:root[data-theme="dark"] .offer-row.rank-2 .rank-number {
  background: #142548;
  color: #b9ccff;
}

:root[data-theme="dark"] .offer-row.rank-3 .rank-number {
  background: #321d1d;
  color: #ffb5ad;
}

.rank-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 0 1rem;
}

.rank-divider::before,
.rank-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.rank-divider span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.pagination-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pagination-controls button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0.44rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 850;
}

.pagination-controls button:hover:not(:disabled),
.pagination-controls button.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--ink);
}

.pagination-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.offer-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--cover-color, #255fe8), rgba(255, 255, 255, 0.86) 72%),
    #ffffff;
  overflow: hidden;
}

.offer-cover::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(15, 23, 42, 0.4);
  border-radius: 4px;
  transform: rotate(-8deg);
}

.offer-cover img {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: #ffffff;
  object-fit: contain;
  padding: 3px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.logo-fallback {
  position: relative;
  z-index: 2;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background:
    linear-gradient(
      var(--logo-angle, 135deg),
      rgba(255, 255, 255, 0.2) 0 var(--logo-stripe, 42%),
      transparent var(--logo-stripe, 42%) 100%
    ),
    linear-gradient(135deg, var(--logo-start, #1748b8), var(--logo-end, #dc4b3e));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(16, 21, 34, 0.35);
}

.offer-main {
  min-width: 0;
}

.offer-title {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-title:hover {
  color: var(--blue);
}

.offer-main > .offer-meta {
  display: block;
  overflow: hidden;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-main > em {
  display: block;
  overflow: hidden;
  margin-top: 0.28rem;
  color: var(--text);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-social-row,
.social-chip {
  min-width: 0;
  max-width: 100%;
}

.social-chip {
  overflow: hidden;
}

.social-chip span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.42rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 0.28rem 0.54rem;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.social-chip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.social-chip.instagram {
  border-color: #f6c7d8;
  background: #fff4f8;
  color: #b83268;
}

.social-chip.tiktok {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

:root[data-theme="dark"] .social-chip.instagram {
  border-color: #73324b;
  background: #2b1620;
  color: #ff9abc;
}

:root[data-theme="dark"] .social-chip.tiktok {
  border-color: #215f42;
  background: #10291f;
  color: #76e4ae;
}

.offer-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.48rem;
}

.tag,
.small-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 0.24rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tag:nth-child(1) {
  border-color: #bfdbfe;
  background: var(--blue-soft);
  color: var(--blue-2);
}

.tag:nth-child(2) {
  border-color: #bbf7d0;
  background: var(--green-soft);
  color: #047857;
}

.tag.gold,
.small-badge {
  border-color: #f1dca4;
  background: var(--gold-soft);
  color: var(--gold-2);
}

.row-stats {
  display: grid;
  gap: 0.12rem;
  min-width: 96px;
  text-align: right;
}

.row-stats strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
}

.row-stats span {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
}

.row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.row-action:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.empty-board {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 170px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--gold-soft), var(--surface) 38%),
    var(--surface);
  padding: 1.35rem;
}

.empty-rank {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #e9c76c;
  border-radius: 999px;
  background: #fff3c3;
  color: #6d4700;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.empty-board h3 {
  margin-top: 0.38rem;
  font-size: 1.45rem;
}

.empty-board p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 0.34rem;
  color: var(--support-copy-color);
  font-size: var(--support-copy-size);
  font-weight: var(--support-copy-weight);
  line-height: var(--support-copy-line);
}

.compact-rules {
  padding: 0 0 54px;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.section-heading.compact {
  max-width: 720px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.rules-grid article {
  min-height: 144px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem;
}

.rules-grid span {
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 900;
}

.rules-grid h3 {
  margin-top: 1.1rem;
}

.rules-grid p {
  margin-top: 0.62rem;
  color: var(--support-copy-color);
  font-size: 0.94rem;
  font-weight: var(--support-copy-weight);
  line-height: var(--support-copy-line);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 420px;
  color: var(--support-copy-color);
  font-size: 0.94rem;
  font-weight: var(--support-copy-weight);
  line-height: var(--support-copy-line);
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font-size: 0.78rem;
}

.footer-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-consent-row a,
.compliance-check a,
.legal-document a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.legal-page {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
}

.legal-header .header-cta {
  grid-column: 3;
  justify-self: end;
}

.legal-hero {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-strong);
}

.legal-hero h1 {
  margin-top: 0.55rem;
  font-size: 4.25rem;
  line-height: 1;
}

.legal-hero > p:last-child {
  max-width: 720px;
  margin-top: 1rem;
  color: var(--support-copy-color);
  font-size: 1.08rem;
  font-weight: var(--support-copy-weight);
  line-height: var(--support-copy-line);
}

.legal-document {
  max-width: 780px;
  padding-top: 0.5rem;
}

.legal-document section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-document h2 {
  font-size: 2rem;
  line-height: 1.08;
}

.legal-document p {
  margin-top: 0.8rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.72;
}

.safety-document section {
  border-left: 3px solid var(--green);
  padding-left: 1.2rem;
}

.page-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 4.5rem 0 1.35rem;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 0.7rem;
  font-size: 3.65rem;
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.offer-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.offer-back-link > span:first-child {
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.offer-back-link:hover > span:first-child {
  transform: translateX(-3px);
}

.offer-back-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.page-section {
  padding: 1rem 0 4.5rem;
}

.claim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem;
  align-items: start;
}

.claim-card,
.success-card,
.detail-card {
  padding: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field-label-row {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.field-recommended {
  color: var(--blue);
}

.field-tooltip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.field-tooltip-trigger {
  display: inline-grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  cursor: help;
  padding: 0;
}

.field-tooltip-trigger:hover,
.field-tooltip-trigger:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  outline: none;
}

.field-tooltip-copy {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 0.55rem);
  left: 0;
  width: min(250px, calc(100vw - 48px));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 0.65rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.field-tooltip:hover .field-tooltip-copy,
.field-tooltip:focus-within .field-tooltip-copy {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .field-label-row {
    position: relative;
  }

  .field-tooltip {
    position: static;
  }
}

.field-hint {
  color: var(--muted);
  font-size: 0.76rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 0.85rem 0.92rem;
  outline: none;
}

.field-locked input,
.field-locked select,
.field-locked textarea {
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.compliance-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
  border: 1px solid #f1dca4;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--text);
  padding: 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.compliance-check input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.13rem;
  accent-color: var(--blue);
}

.form-actions,
.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.moderation-review-card {
  max-width: 900px;
}

.admin-page {
  min-height: calc(100vh - 92px);
}

.admin-login {
  max-width: 620px;
}

.admin-login-step {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-login-step.hidden {
  display: none;
}

.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  width: 100%;
  padding-right: 52px;
}

.password-visibility {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-visibility:hover,
.password-visibility:focus-visible {
  background: var(--surface-3);
  color: var(--ink);
}

.admin-code-copy {
  margin: 0;
}

.admin-code-field {
  max-width: 240px;
}

.admin-code-field input {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
}

.admin-login > form > .form-status {
  display: block;
  margin-top: 14px;
}

.admin-workspace {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.admin-view-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 8px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  padding: 4px;
}

.admin-view-tabs button {
  min-width: 110px;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-utility);
  font-weight: 850;
  cursor: pointer;
}

.admin-view-tabs button.is-active,
.admin-view-tabs button:hover,
.admin-view-tabs button:focus-visible {
  background: var(--ink);
  color: var(--surface);
}

.admin-heading,
.admin-review-head,
.admin-toolbar,
.admin-review-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-heading {
  align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-heading h1 {
  margin: 4px 0 8px;
}

.admin-toolbar,
.admin-review-links {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-queue {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-review-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}

.admin-review-head {
  align-items: flex-start;
}

.admin-review-head h2 {
  margin: 5px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.admin-review-bid {
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 2rem;
}

.admin-review-links {
  margin-bottom: 24px;
}

.admin-empty {
  margin-top: 24px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.admin-empty h2 {
  margin: 6px 0 0;
}

.admin-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
}

.admin-section-head > strong,
.admin-managed-creator {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-matchmaking-section {
  border-top: 0;
  border-left: 5px solid var(--blue);
  background: var(--surface-1);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}

.admin-matchmaking-section .admin-section-head {
  align-items: center;
}

.admin-matchmaking-section .admin-section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.admin-matchmaking-explanation {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-readiness-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.28fr);
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--danger);
  background: var(--surface);
  padding: 18px 20px;
}

.admin-readiness-verdict.is-almost-ready {
  border-left-color: var(--gold);
}

.admin-readiness-verdict.is-ready {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.admin-readiness-badge {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--danger);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.is-almost-ready .admin-readiness-badge {
  color: var(--gold-2);
}

.is-ready .admin-readiness-badge {
  color: var(--green);
}

.admin-readiness-verdict strong {
  display: block;
  font-size: 1.08rem;
}

.admin-readiness-verdict p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-readiness-progress > span {
  display: block;
  margin-bottom: 7px;
  text-align: right;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-readiness-progress > div {
  height: 8px;
  overflow: hidden;
  background: var(--surface-3);
}

.admin-readiness-progress > div span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--danger);
  transition: width 180ms ease;
}

.is-almost-ready .admin-readiness-progress > div span {
  background: var(--gold);
}

.is-ready .admin-readiness-progress > div span {
  background: var(--green);
}

.admin-matchmaking-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-matchmaking-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-matchmaking-switch-track {
  position: relative;
  width: 48px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-3);
  transition: background 160ms ease, border-color 160ms ease;
}

.admin-matchmaking-switch-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(16, 21, 34, 0.2);
  transition: transform 160ms ease;
}

.admin-matchmaking-switch input:checked + .admin-matchmaking-switch-track {
  border-color: var(--green);
  background: var(--green);
}

.admin-matchmaking-switch input:checked + .admin-matchmaking-switch-track span {
  transform: translateX(22px);
}

.admin-matchmaking-switch input:focus-visible + .admin-matchmaking-switch-track {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 3px;
}

.admin-matchmaking-switch input:disabled + .admin-matchmaking-switch-track,
.admin-matchmaking-switch input:disabled ~ span {
  opacity: 0.55;
  cursor: wait;
}

.admin-readiness-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.admin-readiness-metrics > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.admin-readiness-metrics dt {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-readiness-metrics dd {
  margin: 6px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.admin-audience-snapshot {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.admin-audience-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-audience-heading h3 {
  margin: 5px 0 0;
  font-size: 1.3rem;
}

.admin-audience-heading > span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.64rem;
  font-weight: 750;
}

.admin-audience-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.admin-audience-highlights > div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-audience-highlights dt,
.admin-audience-distributions h4 {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-audience-highlights dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.admin-audience-distributions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.admin-audience-distributions h4 {
  margin: 0 0 12px;
}

.admin-audience-row + .admin-audience-row {
  margin-top: 10px;
}

.admin-audience-row-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 0.78rem;
}

.admin-audience-row-summary strong {
  flex: 0 0 auto;
}

.admin-audience-meter {
  height: 4px;
  overflow: hidden;
  background: var(--surface-3);
}

.admin-audience-meter span {
  display: block;
  height: 100%;
  background: var(--blue);
}

.admin-audience-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-audience-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  font-weight: 750;
}

.admin-audience-pagination button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.admin-audience-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-pool-readiness {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.admin-pool-toolbar,
.admin-inventory-toolbar,
.admin-listing-tools,
.admin-placement-schedule {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-pool-toolbar {
  justify-content: space-between;
  margin-top: 24px;
}

.admin-pool-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-pool-toolbar select,
.admin-listing-tools input,
.admin-listing-tools select,
.admin-placement-schedule input {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.62rem 0.75rem;
  font: inherit;
}

.admin-inventory-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.admin-inventory-toolbar .admin-listing-filters {
  margin-top: 0;
}

.admin-listing-tools {
  flex: 1 1 420px;
  justify-content: flex-end;
}

.admin-search-field {
  flex: 1 1 220px;
  max-width: 320px;
}

.admin-search-field input {
  width: 100%;
}

.admin-sort-field {
  flex: 0 1 230px;
}

.admin-sort-field select {
  width: 100%;
}

.admin-pool-readiness-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(100px, 0.6fr)) minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.admin-pool-readiness-row:last-child {
  border-bottom: 0;
}

.admin-pool-readiness-row strong,
.admin-pool-readiness-row span {
  min-width: 0;
}

.admin-pool-readiness-row strong span,
.admin-pool-readiness-row > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-pool-readiness-row strong span {
  display: block;
  margin-top: 3px;
}

.admin-pool-readiness-state {
  justify-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
}

.admin-pool-readiness-state.is-ready {
  border-color: color-mix(in srgb, var(--green) 45%, var(--line));
  background: color-mix(in srgb, var(--green) 10%, var(--surface-1));
  color: var(--green);
}

.admin-listing-filters {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  padding: 4px;
}

.admin-listing-filters button {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-listing-filters button:hover,
.admin-listing-filters button:focus-visible,
.admin-listing-filters button.is-active {
  background: var(--ink);
  color: var(--surface);
}

.admin-listings {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-listing-pagination {
  margin-top: 1.25rem;
}

.admin-managed-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  background: var(--surface-1);
  padding: clamp(18px, 3vw, 26px);
}

.admin-managed-item[data-admin-listing-kind="archived"] {
  border-left-color: var(--muted);
  background: var(--surface-2);
}

.admin-managed-item h3 {
  margin: 5px 0 3px;
  font-size: 1.45rem;
}

.admin-state-badge {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--green) 45%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 10%, var(--surface-1));
  color: var(--green);
  padding: 0.45rem 0.65rem;
  font-family: var(--font-utility);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-state-badge.archived {
  border-color: var(--line-strong);
  background: var(--surface-3);
  color: var(--muted);
}

.admin-managed-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.admin-managed-metrics > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px;
}

.admin-managed-metrics dt {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-managed-metrics dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 760;
}

.admin-archive-note {
  max-width: 620px;
}

.admin-placement-schedule {
  flex-wrap: wrap;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px;
}

.admin-placement-schedule label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-placement-schedule .field-hint {
  flex: 1 1 100%;
  margin: 0;
}

.admin-listing-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-listing-edit.hidden {
  display: none;
}

.admin-listing-edit .full {
  grid-column: 1 / -1;
}

.admin-listing-edit textarea {
  resize: vertical;
}

.admin-user-tools {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(4, minmax(122px, 0.65fr)) minmax(300px, 1.25fr);
  gap: 8px;
  align-items: end;
  margin-top: 20px;
}

.admin-user-tools .admin-search-field {
  max-width: none;
}

.admin-date-range {
  display: grid;
  grid-template-columns: auto minmax(112px, 1fr) auto minmax(112px, 1fr);
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
}

.admin-date-range-label {
  padding-left: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-date-range label {
  min-width: 0;
}

.admin-date-range .admin-date-divider {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-date-range input[type="date"] {
  min-height: 42px;
  border: 0;
  background: transparent;
  padding: 0.5rem 0.45rem;
  font-size: 0.84rem;
}

.admin-date-range:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 18%, transparent);
}

@media (max-width: 1180px) {
  .admin-user-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-tools .admin-search-field,
  .admin-date-range {
    grid-column: 1 / -1;
  }
}

.admin-user-tools input,
.admin-user-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.admin-users {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-health-healthy {
  color: #087f5b;
  border-color: #8ed8c0;
  background: #eefbf6;
}

.admin-health-warning {
  color: #8b5a00;
  border-color: #e5c46d;
  background: #fff8dc;
}

.admin-health-critical {
  color: #a61b1b;
  border-color: #efaaaa;
  background: #fff1f1;
}

.admin-health-details {
  margin-top: 18px;
}

.admin-health-ok {
  margin: 0;
  padding: 16px;
  border-left: 4px solid #17a673;
  background: #eefbf6;
  font-weight: 700;
}

.admin-health-issues {
  margin: 0;
  padding: 16px 16px 16px 36px;
  border-left: 4px solid #e25555;
  background: #fff1f1;
}

.admin-user-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  background: var(--surface-1);
  padding: clamp(18px, 3vw, 26px);
}

.admin-user-item h3 {
  margin: 4px 0 2px;
  font-size: 1.4rem;
}

.admin-user-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.admin-user-metrics > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.admin-user-metrics > .full {
  grid-column: span 2;
}

.admin-user-metrics dt {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.61rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-user-metrics dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 720;
}

.admin-user-bio {
  margin: 16px 0 0;
  color: var(--muted);
}

.admin-user-pools {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-user-pools summary {
  width: fit-content;
  color: var(--blue);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-user-pools ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.admin-user-pools li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.admin-user-pools li span {
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 700px) {
  .admin-section-head,
  .admin-review-head,
  .admin-readiness-verdict {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-readiness-progress {
    width: 100%;
  }

  .admin-readiness-progress > span {
    text-align: left;
  }

  .admin-listing-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .admin-pool-toolbar,
  .admin-inventory-toolbar,
  .admin-listing-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search-field,
  .admin-sort-field {
    max-width: none;
  }

  .admin-managed-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-readiness-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-audience-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-audience-highlights,
  .admin-audience-distributions,
  .admin-listing-edit {
    grid-template-columns: 1fr;
  }

  .admin-listing-edit .full {
    grid-column: 1;
  }

  .admin-user-tools,
  .admin-user-metrics {
    grid-template-columns: 1fr;
  }

  .admin-user-metrics > .full {
    grid-column: 1;
  }

  .admin-audience-distributions {
    gap: 20px;
  }

  .admin-pool-readiness-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-pool-readiness-row > strong {
    grid-column: 1 / -1;
  }
}

.review-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.review-details > div {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.review-details > div:nth-child(even) {
  padding-left: 24px;
}

.review-details .full {
  grid-column: 1 / -1;
  padding-left: 0;
}

.review-details dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.review-details dd {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .admin-heading,
  .admin-review-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-details {
    grid-template-columns: 1fr;
  }

  .review-details > div,
  .review-details > div:nth-child(even) {
    grid-column: 1;
    padding-left: 0;
  }
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--green);
}

.form-status.pending {
  color: var(--blue);
  font-weight: 750;
}

.side-panel {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.panel-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem;
}

.panel-block h3 {
  margin-top: 0.62rem;
}

.panel-block p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-block.accent {
  border-color: #f1dca4;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.price-preview {
  border: 1px solid #f1dca4;
  border-radius: var(--radius);
  background: var(--gold-soft);
  padding: 1rem;
}

.price-preview strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price-preview span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.boost-context {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 1rem;
}

.boost-context-label {
  color: var(--muted-2);
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.boost-context-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.boost-context-summary strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.boost-context-summary span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.boost-context p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

:root[data-theme="dark"] .boost-context {
  border-color: rgba(255, 255, 255, 0.14);
  background: #151d2b;
}

:root[data-claim-mode="boost"] .price-preview {
  border-color: var(--line);
  background: var(--surface);
}

.listing-preview-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  box-shadow: 12px 12px 0 rgba(16, 21, 34, 0.2);
}

.listing-preview-dialog::backdrop {
  background: rgba(16, 21, 34, 0.7);
  backdrop-filter: blur(4px);
}

.listing-preview-shell {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.listing-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
}

.listing-preview-head > div {
  display: grid;
  gap: 0.35rem;
}

.listing-preview-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.listing-preview-head p:last-child,
.listing-preview-notice {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.listing-preview-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.claim-listing-preview-row {
  border: 0;
  box-shadow: none;
}

.claim-listing-preview-row .row-action,
.claim-listing-preview-row .interest-action {
  cursor: default;
  pointer-events: none;
}

.listing-preview-notice {
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
}

.listing-preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

:root[data-theme="dark"] .listing-preview-dialog,
:root[data-theme="dark"] .listing-preview-board {
  border-color: rgba(255, 255, 255, 0.14);
  background: #121722;
}

@media (max-width: 600px) {
  .listing-preview-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .listing-preview-shell {
    padding: 0.9rem;
  }

  .listing-preview-actions .button {
    width: 100%;
  }
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: var(--green);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 1rem;
  align-items: start;
}

.detail-card h1 {
  margin-top: 1rem;
  font-size: 3.55rem;
}

.detail-brand-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.detail-brand-copy {
  display: grid;
  gap: 0.12rem;
}

.detail-brand-row strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
}

.detail-brand-row em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 650;
}

.detail-description {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-action-note {
  max-width: 560px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.detail-bid-stack {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.detail-boost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 38px;
  border: 1px solid #d49b18;
  border-radius: var(--radius);
  background: var(--gold);
  padding: 0.58rem 0.78rem;
  color: #17130a;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(137, 88, 0, 0.16);
}

.detail-boost-link:hover,
.detail-boost-link:focus-visible {
  border-color: #b77e00;
  background: #f7ca61;
  color: #17130a;
  transform: translateY(-1px);
}

.detail-primary-actions {
  margin-top: 0.85rem;
}

.detail-primary-actions .button {
  min-height: 48px;
}

.detail-primary-actions .interest-detail-action {
  border-color: var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

.detail-primary-actions .interest-detail-action > span:first-child {
  color: var(--coral);
}

.detail-primary-actions .interest-detail-action:hover,
.detail-primary-actions .interest-detail-action:focus-visible {
  border-color: var(--ink);
  background: var(--surface-2);
  color: var(--ink);
}

:root[data-theme="dark"] .detail-primary-actions .interest-detail-action {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #f7f8fb;
}

:root[data-theme="dark"] .detail-primary-actions .interest-detail-action:hover,
:root[data-theme="dark"] .detail-primary-actions .interest-detail-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background: #1a2230;
  color: #ffffff;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.detail-deal {
  margin-top: 1.15rem;
  border: 1px solid #d7e3ff;
  border-radius: var(--radius);
  background: var(--blue-soft);
  padding: 1rem;
}

.detail-deal span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-deal p {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.bid-amount {
  color: var(--gold-2);
  font-weight: 900;
}

.stat-stack {
  display: grid;
  gap: 0.75rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem;
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.success-card {
  max-width: 760px;
  margin: 0 auto;
}

.success-card h1 {
  margin-top: 0.65rem;
  font-size: 4.4rem;
}

.success-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.mini-rank-list,
.quick-claim,
.terminal-panel,
.terminal-top,
.terminal-tabs,
.bid-signal,
.pulse-dot {
  display: none;
}

.hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .legal-header .header-cta {
    grid-column: 2;
  }

  .top-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-minimal,
  .market-toolbar,
  .market-live-grid,
  .quick-rank-form,
  .claim-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: start;
  }

  h1 {
    font-size: 3.9rem;
  }

  h2,
  .page-hero h1,
  .detail-card h1 {
    font-size: 2.7rem;
  }

  .success-card h1 {
    font-size: 3.6rem;
  }

  .signal-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-bar span:nth-child(2) {
    border-right: 0;
  }

  .signal-bar span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .offer-row {
    grid-template-columns: 48px minmax(0, 1fr) minmax(100px, auto) 34px;
  }

  .offer-cover {
    display: none;
  }
}

@media (max-width: 720px) {
  .legal-page {
    width: min(100% - 28px, 960px);
    padding: 2.5rem 0 3.5rem;
  }

  .legal-hero h1 {
    font-size: 2.8rem;
  }

  .legal-document h2 {
    font-size: 1.65rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 28px;
    height: 35px;
  }

  .brand-mark::after {
    top: 13px;
    width: 25px;
  }

  .brand-text {
    font-size: 0.68rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0.58rem 0.72rem;
    font-size: 0.76rem;
  }

  .traffic-pill {
    display: none;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 0.44rem 0.64rem;
  }

  .hero-minimal,
  .market-section,
  .rules-section,
  .page-section,
  .site-footer,
  .page-hero {
    width: min(100% - 28px, 1180px);
  }

  .hero-minimal {
    padding-top: 34px;
  }

  h1,
  .page-hero h1,
  .detail-card h1,
  .success-card h1 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions,
  .form-actions,
  .success-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .button.compact {
    white-space: normal;
  }

  .signal-bar,
  .form-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .signal-bar span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-bar span:last-child {
    border-bottom: 0;
  }

  .market-toolbar,
  .market-status-row,
  .category-strip {
    padding: 0.85rem;
  }

  .market-status-row {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .stats-link span + span {
    border-left: 0;
    padding-left: 0;
  }

  .market-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .quick-rank-form {
    padding: 0.85rem;
  }

  .quick-rank-price {
    white-space: normal;
  }

  .board-window-toggle,
  .board-window-toggle button {
    width: 100%;
  }

  .board-window-toggle button {
    justify-content: center;
  }

  .category-strip {
    grid-template-columns: 1fr;
  }

  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pagination-controls button {
    width: 100%;
    padding-right: 0.44rem;
    padding-left: 0.44rem;
  }

  .offer-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.72rem;
    min-height: 90px;
    padding: 0.8rem;
  }

  .empty-board {
    grid-template-columns: 1fr;
  }

  .offer-main strong {
    white-space: normal;
  }

  .offer-main > .offer-meta {
    white-space: nowrap;
  }

  .row-stats {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    min-width: 0;
    text-align: left;
  }

  .row-action {
    display: none;
  }

  .detail-meta-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Frontend-design pass: make the ranked creator board feel premium and alive. */
body {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96) 0, rgba(244, 242, 234, 0.98) 28rem, rgba(255, 253, 247, 1) 100%),
    repeating-linear-gradient(0deg, rgba(16, 21, 34, 0.035) 0 1px, transparent 1px 34px),
    var(--bg);
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(180deg, #101522 0, #151a26 24rem, #0e121b 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px),
    #101522;
}

h1,
h2,
h3 {
  font-weight: 400;
}

.site-header {
  min-height: 74px;
  border-bottom-color: rgba(16, 21, 34, 0.12);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 1px 0 rgba(16, 21, 34, 0.04);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 21, 34, 0.88);
}

.brand-text {
  font-family: var(--font-body);
  font-weight: 900;
}

.brand-mark {
  background: var(--surface);
  box-shadow: 5px 5px 0 rgba(198, 152, 52, 0.18);
}

.top-nav a,
.eyebrow,
.stats-link,
.ranking-note,
.quick-rank-price,
.category-pill,
.rank-divider span,
.live-card-head span,
.live-card-head strong,
.pagination-bar,
.pagination-controls button,
.row-action,
.social-chip {
  font-family: var(--font-utility);
}

.top-nav a {
  color: #566174;
  font-size: 0.8rem;
}

.top-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.16);
}

.header-cta:hover,
.button.primary:hover {
  border-color: var(--blue);
  background: var(--blue);
}

.theme-toggle {
  justify-content: center;
  width: 42px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--surface);
  padding: 0;
}

.hero-minimal {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.25rem;
  padding: 48px 0 18px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(1.35rem, 3.2vw, 3.2rem);
  align-items: center;
}

.hero-stack {
  max-width: 830px;
  gap: 1.12rem;
}

.hero-stack h1 {
  max-width: 1050px;
  font-size: clamp(4rem, 8vw, 7.55rem);
  line-height: 0.86;
  text-wrap: balance;
}

.hero-lead {
  margin-top: 0.28rem;
  max-width: 780px;
  color: var(--support-copy-color);
  font-family: var(--font-body);
  font-size: var(--support-copy-size);
  font-weight: var(--support-copy-weight);
  line-height: var(--support-copy-line);
}

:root[data-theme="dark"] .hero-lead {
  color: var(--text);
}

.hero-creator-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  min-height: 505px;
  margin-top: 2rem;
}

.creator-photo-frame {
  position: absolute;
  inset: 2.2rem 1.15rem 5.8rem 1.45rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: #e8e1d5;
  box-shadow: 10px 10px 0 rgba(16, 21, 34, 0.11);
  transform: rotate(1.6deg);
}

.creator-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 21, 34, 0) 42%, rgba(16, 21, 34, 0.34) 100%),
    linear-gradient(90deg, rgba(255, 253, 247, 0.18), transparent 38%);
}

.creator-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 48%;
}

.creator-platforms {
  position: absolute;
  top: 0.65rem;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 0.42rem;
}

.platform-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.12);
}

.platform-badge svg {
  display: block;
  width: 19px;
  height: 19px;
}

.platform-instagram {
  color: #c13584;
}

.platform-tiktok {
  color: #111827;
}

.platform-youtube {
  color: #e62117;
}

.creator-rank-card,
.creator-offer-preview {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 7px 7px 0 rgba(16, 21, 34, 0.12);
  backdrop-filter: blur(12px);
}

.creator-rank-card {
  top: 5.4rem;
  right: -0.15rem;
  display: grid;
  gap: 0.08rem;
  min-width: 138px;
  padding: 0.72rem 0.82rem;
}

.creator-rank-card span,
.preview-handle,
.preview-deal,
.preview-metrics {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.creator-rank-card strong {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.94;
}

.creator-offer-preview {
  right: 0.35rem;
  bottom: 1.25rem;
  left: -0.2rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
}

.preview-handle {
  color: var(--blue);
}

.preview-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 0.94;
}

.preview-deal {
  color: var(--text);
}

.preview-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.preview-metrics span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.28rem 0.5rem;
}

:root[data-theme="dark"] .creator-photo-frame,
:root[data-theme="dark"] .platform-badge,
:root[data-theme="dark"] .creator-rank-card,
:root[data-theme="dark"] .creator-offer-preview {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 23, 34, 0.9);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.26);
}

:root[data-theme="dark"] .platform-tiktok {
  color: #ffffff;
}

.traffic-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  align-items: center;
  font-family: var(--font-utility);
}

.traffic-line [data-live-visitors]::before,
.stats-link span:first-child::before {
  content: "";
  display: inline-block;
  width: 0.52rem;
  height: 0.52rem;
  margin-right: 0.4rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 150, 108, 0.12);
}

.signal-bar {
  border: 1px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(40, 91, 232, 0.2), transparent 34%),
    var(--ink);
  box-shadow: 8px 8px 0 rgba(16, 21, 34, 0.12);
}

.signal-bar span {
  display: grid;
  gap: 0.16rem;
  align-content: center;
  min-height: 68px;
  border-right-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 650;
}

.signal-bar strong {
  display: block;
  color: #f4c866;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 0.98;
}

.market-section {
  padding-top: 12px;
}

.market-panel,
.claim-card,
.success-card,
.detail-card {
  border: 1px solid rgba(16, 21, 34, 0.18);
  background: var(--surface);
  box-shadow: 10px 10px 0 rgba(16, 21, 34, 0.08), var(--shadow-soft);
}

:root[data-theme="dark"] .market-panel,
:root[data-theme="dark"] .claim-card,
:root[data-theme="dark"] .success-card,
:root[data-theme="dark"] .detail-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #111722;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22), var(--shadow-soft);
}

.market-panel::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, var(--blue) 0 28%, var(--gold) 28% 56%, var(--coral) 56% 78%, var(--green) 78% 100%);
}

.market-status-row {
  background: rgba(255, 253, 247, 0.96);
  padding: 0.72rem 1rem;
}

.stats-link {
  color: #526074;
}

.stats-link strong {
  color: var(--blue);
}

.board-window-toggle {
  border-color: rgba(16, 21, 34, 0.16);
  background: #ebe7dc;
}

.board-window-toggle button {
  min-width: 78px;
  color: #606b7c;
}

.board-window-toggle button.is-active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.market-toolbar {
  grid-template-columns: minmax(290px, 0.44fr) minmax(280px, 1fr);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(247, 243, 232, 0.82));
  padding: 1.32rem 1.25rem 1.18rem;
}

.market-toolbar h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.2vw, 3.05rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
}

.ranking-note {
  margin-top: 0.46rem;
  color: var(--support-copy-color);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 560;
  line-height: var(--support-copy-line);
  max-width: 360px;
}

.board-search input,
.quick-rank-form input,
.quick-rank-form select,
.quick-claim input,
.quick-claim select,
.field input,
.field select,
.field textarea {
  border-color: rgba(16, 21, 34, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-weight: 650;
}

.board-search input {
  min-height: 56px;
  border-radius: 999px;
  padding-inline: 1.15rem;
  font-size: 1rem;
}

.quick-rank-form {
  grid-template-columns: minmax(170px, auto) minmax(260px, 1fr) minmax(155px, 0.3fr) 104px auto;
  border-bottom-color: rgba(16, 21, 34, 0.12);
  background: #ffffff;
  padding: 0.95rem 1.25rem;
}

.quick-rank-price {
  color: #556174;
  font-size: 0.77rem;
}

.quick-rank-price strong {
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 900;
}

.button.compact {
  min-height: 46px;
}

.category-strip {
  background: #fbfaf6;
  padding: 0.82rem 1.25rem;
}

.category-scroll {
  padding-bottom: 0.3rem;
}

.category-pill {
  min-height: 40px;
  border-color: rgba(16, 21, 34, 0.12);
  background: #ffffff;
  color: #5d687a;
  padding-inline: 0.78rem;
}

.category-pill.is-active,
.category-pill:hover {
  border-color: var(--blue);
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--blue), 3px 3px 0 rgba(40, 91, 232, 0.12);
}

.market-live-grid {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  background: #f2f5f0;
  padding: 1rem 1.25rem;
}

.live-card {
  border-color: rgba(16, 21, 34, 0.12);
  background: #fffefa;
  box-shadow: 0 1px 0 rgba(16, 21, 34, 0.04);
}

.compact-rank,
.activity-item {
  min-height: 36px;
}

.leaderboard {
  background: #f7f3e8;
}

.offer-row {
  grid-template-columns: 64px 56px minmax(0, 1fr) minmax(138px, 0.22fr) 88px;
  gap: 1rem;
  min-height: 106px;
  border-bottom-color: rgba(16, 21, 34, 0.1);
  background: #fffefa;
  padding: 1rem 1.18rem;
}

.offer-row:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.offer-row.top-rank {
  background: linear-gradient(90deg, rgba(255, 242, 194, 0.9), #fffefa 42%);
}

.offer-row.top-rank::before {
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--gold);
}

.offer-row.rank-1 {
  box-shadow: inset 0 0 0 1px rgba(198, 152, 52, 0.5);
}

.offer-row.rank-2 {
  background: linear-gradient(90deg, rgba(237, 242, 255, 0.96), #fffefa 42%);
  box-shadow: inset 0 0 0 1px rgba(40, 91, 232, 0.18);
}

.offer-row.rank-3 {
  background: linear-gradient(90deg, rgba(255, 239, 235, 0.96), #fffefa 42%);
  box-shadow: inset 0 0 0 1px rgba(231, 100, 82, 0.18);
}

.offer-row.rank-1 .rank-number,
.offer-row.rank-2 .rank-number,
.offer-row.rank-3 .rank-number {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.offer-row.rank-1 .rank-number {
  color: #f4c866;
}

.offer-row.rank-2 .rank-number {
  color: #a9c0ff;
}

.offer-row.rank-3 .rank-number {
  color: #ffb2a6;
}

.rank-number {
  width: 2.55rem;
  height: 2.55rem;
  border-color: rgba(16, 21, 34, 0.16);
  background: #ffffff;
  color: var(--blue);
  font-family: var(--font-utility);
}

.offer-cover {
  width: 54px;
  height: 54px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.offer-cover::before {
  display: none;
}

.logo-fallback {
  display: grid;
  font-family: var(--font-utility);
}

.offer-cover img + .logo-fallback {
  display: none;
}

.offer-title {
  font-size: 1.05rem;
  font-weight: 900;
}

.offer-main > .offer-meta {
  color: #687386;
  font-size: 0.8rem;
  font-weight: 750;
}

.offer-main > em {
  color: #354155;
  font-size: 0.86rem;
  font-weight: 700;
}

.social-chip {
  border-color: rgba(16, 21, 34, 0.12);
  background: #f7f3e8;
}

.row-stats strong {
  color: var(--gold-2);
  font-size: 1.24rem;
  font-weight: 900;
}

.row-action {
  min-height: 38px;
  border-color: rgba(16, 21, 34, 0.16);
  background: #ffffff;
  color: var(--ink);
}

.row-action:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.rank-divider {
  background: var(--ink);
}

.rank-divider::before,
.rank-divider::after {
  background: rgba(255, 255, 255, 0.2);
}

.rank-divider span {
  color: rgba(255, 255, 255, 0.82);
}

.pagination-bar {
  background: #fbfaf6;
}

.pagination-controls button {
  border-radius: 999px;
  background: #ffffff;
}

.pagination-controls button:hover:not(:disabled),
.pagination-controls button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.empty-board {
  background:
    linear-gradient(135deg, rgba(255, 242, 194, 0.75), rgba(255, 253, 247, 1) 46%),
    #fffefa;
}

.empty-rank {
  border-color: var(--ink);
  background: var(--ink);
  color: #f4c866;
}

.rules-section {
  padding-top: 12px;
}

.section-head {
  max-width: 760px;
}

.rules-grid article {
  background: #fffefa;
  box-shadow: 6px 6px 0 rgba(16, 21, 34, 0.06);
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    max-width: none;
  }

  .hero-creator-visual {
    display: none;
  }

  .hero-stack h1 {
    font-size: clamp(3.1rem, 8vw, 4.65rem);
    line-height: 0.92;
  }

  .market-toolbar,
  .market-live-grid,
  .claim-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .board-search {
    width: 100%;
  }

  .quick-rank-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-row {
    grid-template-columns: 52px minmax(0, 1fr) minmax(110px, auto) 64px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .header-cta {
    min-height: 40px;
    box-shadow: none;
  }

  .theme-toggle {
    width: 40px;
    min-height: 40px;
  }

  .hero-minimal {
    padding-top: 28px;
  }

  .hero-stack h1,
  h1,
  .page-hero h1,
  .detail-card h1,
  .success-card h1 {
    font-size: clamp(2.85rem, 12vw, 3.75rem);
    line-height: 0.96;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .traffic-line {
    font-size: 0.78rem;
  }

  .signal-bar {
    box-shadow: none;
  }

  .signal-bar span {
    min-height: 58px;
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .market-panel,
  .claim-card,
  .success-card,
  .detail-card {
    box-shadow: none;
  }

  .market-toolbar {
    gap: 0.85rem;
  }

  .market-toolbar h2 {
    font-size: 2rem;
  }

  .board-search input {
    min-height: 48px;
  }

  .market-live-grid {
    padding: 0.85rem;
  }

  .offer-row {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
  }

  .row-stats {
    grid-column: 2;
  }

  .offer-main > .offer-meta,
  .offer-main > em {
    white-space: normal;
  }
}

.contact-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 rgba(16, 21, 34, 0.14);
}

.contact-fab:hover {
  background: var(--blue);
}

.contact-modal {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  padding: 0;
}

.contact-modal::backdrop {
  background: rgba(16, 21, 34, 0.46);
  backdrop-filter: blur(6px);
}

.contact-card {
  border: 1px solid rgba(16, 21, 34, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 10px 10px 0 rgba(16, 21, 34, 0.1), var(--shadow-soft);
  padding: 1.1rem;
}

:root[data-theme="dark"] .contact-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #111722;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.24), var(--shadow-soft);
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.contact-head h2 {
  margin-top: 0.28rem;
  font-size: 2rem;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.contact-card .form-grid {
  margin-top: 1rem;
}

.contact-card .form-actions {
  justify-content: space-between;
}

@media (max-width: 720px) {
  .contact-fab {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    padding-inline: 0.85rem;
    box-shadow: none;
  }

  .contact-card {
    padding: 0.95rem;
    box-shadow: none;
  }

  .contact-head h2 {
    font-size: 1.68rem;
  }

  .contact-card .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Verified traffic proof */
.traffic-pill.proof-pill {
  display: inline-grid;
  grid-template-columns: minmax(96px, max-content) minmax(126px, max-content) max-content;
  align-items: stretch;
  gap: 0;
  min-height: 46px;
  max-width: min(58vw, 660px);
  overflow: hidden;
  border-color: rgba(16, 21, 34, 0.18);
  background: rgba(255, 253, 247, 0.94);
  color: var(--text);
  padding: 0;
  box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.07);
}

.proof-pill .pill-metric {
  display: grid;
  align-content: center;
  gap: 0.05rem;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 0.42rem 0.7rem;
}

.proof-pill .pill-metric strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 0.96;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-pill .pill-metric small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
}

.proof-pill .pill-live {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
}

.proof-pill .pill-live strong {
  font-size: 1rem;
  max-width: 178px;
}

.traffic-pill.proof-pill .pill-source {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 0 0.72rem;
  white-space: nowrap;
}

.proof-deck {
  position: relative;
  display: grid;
  grid-template-columns: minmax(104px, max-content) minmax(168px, 1fr) minmax(166px, 0.9fr) max-content;
  align-items: stretch;
  width: min(100%, 850px);
  min-height: 74px;
  margin-top: 0.78rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 8px 8px 0 rgba(16, 21, 34, 0.1);
}

.proof-deck::before {
  content: none;
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 33%, var(--gold) 33% 56%, var(--coral) 56% 78%, var(--green) 78% 100%);
}

.proof-kicker,
.proof-metric,
.proof-source {
  padding-top: 0;
}

.proof-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  padding: 0.86rem 1rem;
  text-transform: uppercase;
}

.proof-metric {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 0.74rem 1rem;
}

.proof-metric.primary {
  background: linear-gradient(180deg, rgba(255, 244, 196, 0.72), rgba(255, 253, 247, 0));
}

.proof-metric strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 900;
  line-height: 0.98;
  min-width: 0;
  overflow-wrap: anywhere;
}

.proof-metric.primary strong {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  color: var(--gold-2);
  font-size: 1.9rem;
  overflow-wrap: normal;
  animation: trafficCountPulse 2.75s ease-in-out infinite;
}

.proof-pill .pill-views strong {
  position: relative;
  display: inline-block;
  animation: trafficCountPulse 2.75s ease-in-out infinite;
}

.proof-metric small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.proof-source {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.74rem 1.1rem;
  white-space: nowrap;
}

.market-toolbar h2 {
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.2vw, 3.05rem);
  font-weight: 800;
  line-height: 0.92;
}

.market-status-row {
  justify-content: flex-end;
  padding: 0.72rem 1rem;
}

.market-status-row .board-window-toggle {
  align-self: center;
  flex: 0 0 auto;
  margin: 0;
}

:root[data-theme="dark"] .traffic-pill.proof-pill,
:root[data-theme="dark"] .proof-deck,
:root[data-theme="dark"] .market-status-row {
  border-color: rgba(255, 255, 255, 0.14);
  background: #121722;
}

:root[data-theme="dark"] .proof-metric.primary {
  background: rgba(228, 189, 99, 0.12);
}

:root[data-theme="dark"] .proof-pill .pill-metric,
:root[data-theme="dark"] .proof-kicker,
:root[data-theme="dark"] .proof-metric {
  border-color: rgba(255, 255, 255, 0.12);
}

@keyframes trafficCountPulse {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(198, 152, 52, 0);
    transform: translateY(0);
  }

  45% {
    text-shadow: 0 0 18px rgba(198, 152, 52, 0.28);
    transform: translateY(-1px);
  }
}

@media (max-width: 1180px) {
  .proof-pill .pill-live {
    display: none;
  }
}

@media (max-width: 980px) {
  .proof-deck {
    display: grid;
    grid-template-columns: minmax(82px, max-content) minmax(160px, 1fr) minmax(156px, 0.86fr) minmax(132px, max-content);
    align-items: stretch;
    border-radius: 999px;
    width: 100%;
  }

  .proof-kicker,
  .proof-metric,
  .proof-source {
    min-height: 54px;
  }

  .proof-source {
    place-items: center start;
    font-size: 0.78rem;
  }
}

@media (max-width: 820px) {
  .traffic-pill.proof-pill {
    display: none;
  }
}

@media (max-width: 600px) {
  .proof-deck {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.32rem 0.6rem;
    align-items: center;
    width: 100%;
    min-height: 0;
    border-radius: 22px;
    padding: 0.55rem 0.62rem;
    box-shadow: none;
  }

  .proof-kicker,
  .proof-metric,
  .proof-source {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .proof-kicker {
    display: none;
  }

  .proof-metric.primary {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    align-items: baseline;
    gap: 0.32rem;
    min-width: 0;
  }

  .proof-metric {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    align-items: baseline;
    gap: 0.28rem;
    min-width: 0;
  }

  .proof-source {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    place-items: center;
    min-height: 32px;
    border-radius: 999px;
    background: rgba(40, 91, 232, 0.08);
    padding: 0.36rem 0.6rem;
    font-size: 0.68rem;
  }

  .proof-metric.primary strong {
    font-family: var(--font-body);
    font-size: clamp(1.02rem, 4.4vw, 1.28rem);
    font-weight: 900;
    line-height: 1;
  }

  .proof-metric strong {
    overflow: hidden;
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 3.8vw, 1rem);
    font-weight: 850;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .proof-metric small {
    font-size: 0.54rem;
    line-height: 1;
    white-space: nowrap;
  }

  .signal-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
  }

  .signal-bar span {
    min-height: 54px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.58rem 0.68rem;
    font-size: 0.74rem;
  }

  .signal-bar span:nth-child(2n) {
    border-right: 0;
  }

  .signal-bar span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .signal-bar strong {
    font-size: 1.04rem;
  }

  .market-toolbar h2 {
    max-width: none;
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }

  .market-status-row {
    align-items: stretch;
    justify-content: stretch;
    padding: 0.8rem;
  }

  .market-status-row .board-window-toggle {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .signal-bar span {
    min-height: 50px;
    padding: 0.5rem 0.58rem;
  }

  .signal-bar strong {
    font-size: 0.98rem;
  }
}

/* Dark mode readability pass */
:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 18, 28, 0.94);
}

:root[data-theme="dark"] .top-nav a {
  color: #d2d9e6;
}

:root[data-theme="dark"] .top-nav a:hover,
:root[data-theme="dark"] .top-nav a:focus-visible {
  color: #8fb0ff;
  border-color: #8fb0ff;
}

:root[data-theme="dark"] .eyebrow {
  border-color: rgba(143, 176, 255, 0.42);
  background: rgba(40, 91, 232, 0.16);
  color: #8fb0ff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .header-cta,
:root[data-theme="dark"] .button.primary,
:root[data-theme="dark"] .contact-fab {
  border-color: #6f95ff;
  background: #2f63ee;
  color: #ffffff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .header-cta:hover,
:root[data-theme="dark"] .button.primary:hover,
:root[data-theme="dark"] .contact-fab:hover {
  border-color: #f4c866;
  background: #f4c866;
  color: #101522;
}

:root[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: #151d2b;
  color: #dce5f5;
}

:root[data-theme="dark"] .theme-toggle:hover {
  border-color: #8fb0ff;
  background: #1c2940;
  color: #ffffff;
}

:root[data-theme="dark"] .traffic-pill.proof-pill,
:root[data-theme="dark"] .proof-deck {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 22, 34, 0.94);
  color: #e6edf8;
}

:root[data-theme="dark"] .proof-deck {
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .proof-metric.primary {
  background: linear-gradient(180deg, rgba(244, 200, 102, 0.16), rgba(244, 200, 102, 0.04));
}

:root[data-theme="dark"] .proof-pill .pill-metric strong,
:root[data-theme="dark"] .proof-metric strong {
  color: #f7f8fb;
}

:root[data-theme="dark"] .proof-metric.primary strong,
:root[data-theme="dark"] .proof-pill .pill-views strong {
  color: #f4c866;
}

:root[data-theme="dark"] .proof-pill .pill-metric small,
:root[data-theme="dark"] .proof-metric small,
:root[data-theme="dark"] .proof-kicker {
  color: #b6c1d4;
}

:root[data-theme="dark"] .proof-source,
:root[data-theme="dark"] .traffic-pill.proof-pill .pill-source {
  color: #8fb0ff;
}

:root[data-theme="dark"] .creator-offer-preview {
  color: #f7f8fb;
}

:root[data-theme="dark"] .creator-offer-preview p,
:root[data-theme="dark"] .preview-metrics span {
  color: #d8e0ee;
}

:root[data-theme="dark"] .preview-metrics span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .preview-metrics strong {
  color: #f4c866;
}

:root[data-theme="dark"] .market-status-row,
:root[data-theme="dark"] .market-toolbar,
:root[data-theme="dark"] .quick-rank-form,
:root[data-theme="dark"] .category-strip,
:root[data-theme="dark"] .pagination-bar {
  border-color: rgba(255, 255, 255, 0.12);
  background: #101722;
}

:root[data-theme="dark"] .market-toolbar {
  background: linear-gradient(180deg, #131b29, #101722);
}

:root[data-theme="dark"] .board-window-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: #0c111a;
}

:root[data-theme="dark"] .board-window-toggle button {
  color: #bac4d5;
}

:root[data-theme="dark"] .board-window-toggle button.is-active {
  background: #2f63ee;
  color: #ffffff;
}

:root[data-theme="dark"] .market-toolbar h2 {
  color: #f7f8fb;
}

:root[data-theme="dark"] .ranking-note {
  color: #c8d1df;
}

:root[data-theme="dark"] .board-search input,
:root[data-theme="dark"] .quick-rank-form input,
:root[data-theme="dark"] .quick-rank-form select,
:root[data-theme="dark"] .quick-claim input,
:root[data-theme="dark"] .quick-claim select,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: #f7f8fb;
  color: #101522;
}

:root[data-theme="dark"] .board-search input::placeholder,
:root[data-theme="dark"] .quick-rank-form input::placeholder,
:root[data-theme="dark"] .field input::placeholder,
:root[data-theme="dark"] .field textarea::placeholder {
  color: #617085;
  opacity: 1;
}

:root[data-theme="dark"] .quick-rank-price {
  color: #cdd6e6;
}

:root[data-theme="dark"] .quick-rank-price strong {
  color: #f4c866;
}

:root[data-theme="dark"] .category-pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: #151d2b;
  color: #d7dfed;
}

:root[data-theme="dark"] .category-pill.is-active,
:root[data-theme="dark"] .category-pill:hover {
  border-color: #8fb0ff;
  background: #20304b;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #8fb0ff, 3px 3px 0 rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .market-live-grid {
  background: #0e1521;
}

:root[data-theme="dark"] .live-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: #121b2a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .live-card-head {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .live-card-head span {
  color: #cbd5e5;
}

:root[data-theme="dark"] .live-card-head strong,
:root[data-theme="dark"] .compact-rank em {
  color: #f4c866;
}

:root[data-theme="dark"] .compact-rank,
:root[data-theme="dark"] .activity-item,
:root[data-theme="dark"] .live-empty {
  color: #c8d1df;
}

:root[data-theme="dark"] .compact-rank span,
:root[data-theme="dark"] .activity-item span {
  color: #8fb0ff;
}

:root[data-theme="dark"] .compact-rank strong,
:root[data-theme="dark"] .activity-item strong {
  color: #f7f8fb;
}

:root[data-theme="dark"] .activity-item em {
  color: #b8c3d5;
}

:root[data-theme="dark"] .compact-rank:hover,
:root[data-theme="dark"] .activity-item:hover {
  background: #1b2940;
  color: #ffffff;
}

:root[data-theme="dark"] .leaderboard {
  background: #0c111a;
}

:root[data-theme="dark"] .offer-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #111927;
  color: #dce5f2;
}

:root[data-theme="dark"] .offer-row:hover {
  background: #172235;
}

:root[data-theme="dark"] .offer-row.top-rank {
  background: linear-gradient(90deg, rgba(92, 68, 20, 0.7), #111927 42%);
}

:root[data-theme="dark"] .offer-row.rank-2 {
  background: linear-gradient(90deg, rgba(34, 67, 132, 0.62), #111927 42%);
}

:root[data-theme="dark"] .offer-row.rank-3 {
  background: linear-gradient(90deg, rgba(105, 42, 45, 0.58), #111927 42%);
}

:root[data-theme="dark"] .rank-number {
  border-color: rgba(255, 255, 255, 0.32);
  background: #101722;
  color: #f4c866;
}

:root[data-theme="dark"] .offer-cover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .logo-fallback {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

:root[data-theme="dark"] .offer-title {
  color: #f7f8fb;
}

:root[data-theme="dark"] .offer-title:hover {
  color: #8fb0ff;
}

:root[data-theme="dark"] .offer-main > .offer-meta {
  color: #b8c3d5;
}

:root[data-theme="dark"] .offer-main > em {
  color: #d8e1ef;
}

:root[data-theme="dark"] .row-stats strong {
  color: #f4c866;
}

:root[data-theme="dark"] .row-stats span {
  color: #bac4d5;
}

:root[data-theme="dark"] .row-action {
  border-color: rgba(143, 176, 255, 0.42);
  background: #20304b;
  color: #f7f8fb;
}

:root[data-theme="dark"] .row-action:hover,
:root[data-theme="dark"] .row-action:focus-visible {
  border-color: #f4c866;
  background: #f4c866;
  color: #101522;
}

:root[data-theme="dark"] .contact-fab {
  right: 18px;
  bottom: 18px;
}

@media (max-width: 600px) {
  :root[data-theme="dark"] .proof-deck {
    background: #101722;
  }

  :root[data-theme="dark"] .proof-source {
    background: rgba(47, 99, 238, 0.18);
    color: #9bb8ff;
  }
}

@media (max-width: 720px) {
  .proof-deck {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.12rem 0.58rem;
    align-items: center;
    min-height: 0;
    border-radius: 18px;
    padding: 0.52rem 0.58rem;
    box-shadow: none;
  }

  .proof-kicker,
  .proof-metric,
  .proof-source {
    min-height: 0;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .proof-kicker,
  .proof-metric small {
    display: none;
  }

  .proof-metric.primary,
  .proof-metric {
    display: flex;
    grid-column: 1;
    align-items: center;
    min-width: 0;
  }

  .proof-metric.primary {
    grid-row: 1;
  }

  .proof-metric {
    grid-row: 2;
  }

  .proof-metric.primary strong {
    font-family: var(--font-body);
    font-size: clamp(1rem, 4.2vw, 1.22rem);
    font-weight: 900;
    line-height: 1;
  }

  .proof-metric strong {
    overflow: hidden;
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 3.5vw, 0.96rem);
    font-weight: 850;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .proof-source {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    display: grid;
    place-items: center;
    min-height: 30px;
    border-radius: 999px;
    background: rgba(40, 91, 232, 0.08);
    padding: 0.34rem 0.58rem;
    font-size: 0.68rem;
  }

  :root[data-theme="dark"] .proof-source {
    background: rgba(47, 99, 238, 0.18);
    color: #9bb8ff;
  }
}

@media (max-width: 420px) {
  .proof-deck {
    gap: 0.1rem 0.48rem;
    padding: 0.48rem 0.5rem;
  }

  .proof-source {
    padding-inline: 0.5rem;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-metric.primary strong,
  .proof-pill .pill-views strong {
    animation: none;
  }
}

/* Header switch + dark-mode polish pass */
.site-header {
  grid-template-columns: auto minmax(72px, 1fr) auto auto;
}

.header-board-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-width: fit-content;
}

.header-board-switch .board-window-toggle {
  box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.08);
}

.header-board-switch .board-window-toggle button {
  min-width: 84px;
}

.market-toolbar .eyebrow,
.section-heading .eyebrow,
.contact-head .eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

:root[data-theme="dark"] .top-nav a {
  color: #d5deee;
}

:root[data-theme="dark"] .top-nav a:hover,
:root[data-theme="dark"] .top-nav a:focus-visible {
  color: #ffffff;
}

:root[data-theme="dark"] .header-board-switch .board-window-toggle {
  border-color: rgba(143, 176, 255, 0.28);
  background: rgba(12, 17, 26, 0.96);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .header-board-switch .board-window-toggle button {
  color: #b9c5d8;
}

:root[data-theme="dark"] .header-board-switch .board-window-toggle button.is-active {
  background: #2f63ee;
  color: #ffffff;
}

:root[data-theme="dark"] .market-toolbar .eyebrow,
:root[data-theme="dark"] .section-heading .eyebrow,
:root[data-theme="dark"] .contact-head .eyebrow {
  border: 0;
  background: transparent;
  color: #8fb0ff;
  box-shadow: none;
  padding: 0;
}

:root[data-theme="dark"] .header-cta,
:root[data-theme="dark"] .button.primary,
:root[data-theme="dark"] .contact-fab {
  border-color: #2f63ee;
  background: #2f63ee;
  color: #ffffff;
}

:root[data-theme="dark"] .header-cta:hover,
:root[data-theme="dark"] .button.primary:hover,
:root[data-theme="dark"] .contact-fab:hover {
  border-color: #f4c866;
  background: #f4c866;
  color: #101522;
}

:root[data-theme="dark"] .row-action {
  border-color: rgba(143, 176, 255, 0.48);
  background: #17243a;
  color: #f7f8fb;
}

:root[data-theme="dark"] .row-action:hover,
:root[data-theme="dark"] .row-action:focus-visible {
  border-color: #2f63ee;
  background: #2f63ee;
  color: #ffffff;
}

:root[data-theme="dark"] .rank-divider {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #0c111a;
}

:root[data-theme="dark"] .rank-divider::before,
:root[data-theme="dark"] .rank-divider::after {
  background: rgba(143, 176, 255, 0.2);
}

:root[data-theme="dark"] .rank-divider span {
  border: 1px solid rgba(143, 176, 255, 0.3);
  border-radius: 999px;
  background: #172235;
  color: #9bb8ff;
  padding: 0.18rem 0.62rem;
}

:root[data-theme="dark"] .rules-grid article {
  border-color: rgba(255, 255, 255, 0.14);
  background: #121b2a;
  color: #f7f8fb;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .rules-grid span {
  color: #f4c866;
}

:root[data-theme="dark"] .rules-grid h3 {
  color: #f7f8fb;
}

:root[data-theme="dark"] .rules-grid p {
  color: #c8d1df;
}

:root[data-theme="dark"] .contact-modal::backdrop {
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}

:root[data-theme="dark"] .contact-card {
  border-color: rgba(143, 176, 255, 0.24);
  background: #101722;
  color: #e6edf8;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.34), 0 20px 60px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .contact-head {
  border-bottom-color: rgba(143, 176, 255, 0.22);
}

:root[data-theme="dark"] .contact-head h2 {
  color: #f7f8fb;
}

:root[data-theme="dark"] .modal-close {
  border-color: rgba(255, 255, 255, 0.18);
  background: #151d2b;
  color: #dce5f5;
}

:root[data-theme="dark"] .modal-close:hover,
:root[data-theme="dark"] .modal-close:focus-visible {
  border-color: #8fb0ff;
  background: #20304b;
  color: #ffffff;
}

:root[data-theme="dark"] .contact-card .field label {
  color: #d2dbe9;
}

:root[data-theme="dark"] .contact-card .field input,
:root[data-theme="dark"] .contact-card .field textarea {
  border-color: rgba(143, 176, 255, 0.42);
  background: #0b1220;
  color: #f7f8fb;
  box-shadow: inset 0 0 0 1px rgba(143, 176, 255, 0.08);
}

:root[data-theme="dark"] .contact-card .field input:focus,
:root[data-theme="dark"] .contact-card .field textarea:focus {
  border-color: #8fb0ff;
  box-shadow: 0 0 0 3px rgba(143, 176, 255, 0.18);
}

:root[data-theme="dark"] .contact-card .form-status {
  color: #c8d1df;
}

@media (max-width: 1160px) {
  .traffic-pill.proof-pill {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-board-switch {
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand actions"
      "switch switch";
    gap: 0.58rem 0.8rem;
    padding-block: 0.58rem;
  }

  .site-header > .brand-lockup {
    grid-area: brand;
  }

  .site-header > .top-nav {
    display: none;
  }

  .site-header > .header-board-switch {
    grid-area: switch;
    justify-self: stretch;
  }

  .site-header > .header-actions {
    grid-area: actions;
  }

  .header-board-switch .board-window-toggle {
    width: 100%;
  }

  .header-board-switch .board-window-toggle button {
    flex: 1 1 0;
    min-width: 0;
  }
}

:root[data-theme="dark"] .pagination-bar {
  border-color: rgba(255, 255, 255, 0.12);
  background: #101722;
  color: #b8c3d5;
}

:root[data-theme="dark"] .pagination-controls button {
  border-color: rgba(143, 176, 255, 0.28);
  background: #172235;
  color: #dce5f5;
  opacity: 1;
}

:root[data-theme="dark"] .pagination-controls button:hover:not(:disabled),
:root[data-theme="dark"] .pagination-controls button:focus-visible:not(:disabled) {
  border-color: #8fb0ff;
  background: #20304b;
  color: #ffffff;
}

:root[data-theme="dark"] .pagination-controls button.is-active {
  border-color: #f4c866;
  background: #f4c866;
  color: #101522;
}

:root[data-theme="dark"] .pagination-controls button:disabled {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0d1420;
  color: #8290a6;
  opacity: 1;
}

/* Mobile-native creator proof card */
.hero-layout {
  grid-template-rows: auto auto;
  align-items: start;
}

.hero-stack {
  grid-column: 1;
  grid-row: 1;
}

.hero-creator-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-layout > .proof-deck {
  grid-column: 1;
  grid-row: 2;
}

@media (max-width: 980px) {
  .hero-layout > .proof-deck {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0.82rem;
  }

  .hero-stack {
    grid-column: 1;
    grid-row: 1;
    gap: 0.88rem;
  }

  .hero-creator-visual {
    display: block;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 430px);
    min-height: 0;
    margin: 0.1rem auto 0.08rem;
    padding-top: 0.72rem;
  }

  .hero-layout > .proof-deck {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0.1rem;
  }

  .creator-photo-frame {
    position: relative;
    inset: auto;
    width: 86%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 6px 6px 0 rgba(16, 21, 34, 0.1);
    transform: rotate(0.8deg);
  }

  .creator-photo-frame img {
    object-position: 54% 42%;
  }

  .creator-platforms {
    top: 0;
    left: 50%;
    z-index: 5;
    gap: 0.32rem;
    transform: translateX(-50%);
  }

  .platform-badge {
    width: 31px;
    height: 31px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 3px 3px 0 rgba(16, 21, 34, 0.12);
  }

  .platform-badge svg {
    width: 16px;
    height: 16px;
  }

  .creator-rank-card {
    top: 2.15rem;
    right: 1rem;
    min-width: 0;
    gap: 0.04rem;
    border-radius: 14px;
    padding: 0.46rem 0.58rem;
    box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.12);
  }

  .creator-rank-card span {
    font-size: 0.52rem;
  }

  .creator-rank-card strong {
    font-size: 1.28rem;
  }

  .creator-offer-preview {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 1.1rem);
    margin: -1.85rem auto 0;
    gap: 0.3rem;
    border-radius: 17px;
    padding: 0.68rem 0.74rem;
    box-shadow: 5px 5px 0 rgba(16, 21, 34, 0.11);
  }

  .preview-handle {
    font-size: 0.68rem;
  }

  .preview-title {
    font-size: clamp(1.14rem, 6vw, 1.48rem);
    line-height: 0.95;
  }

  .preview-deal {
    font-size: 0.74rem;
  }

  .preview-metrics {
    gap: 0.3rem;
  }

  .preview-metrics span {
    padding: 0.24rem 0.42rem;
    font-size: 0.62rem;
  }

  :root[data-theme="dark"] .platform-badge {
    background: #101722;
  }

  :root[data-theme="dark"] .creator-photo-frame,
  :root[data-theme="dark"] .creator-rank-card,
  :root[data-theme="dark"] .creator-offer-preview {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 430px) {
  .hero-creator-visual {
    width: 100%;
  }

  .creator-photo-frame {
    width: 88%;
  }

  .creator-rank-card {
    right: 0.72rem;
  }

  .creator-offer-preview {
    width: calc(100% - 0.55rem);
    margin-top: -1.58rem;
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .hero-stack {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-creator-visual {
    display: block;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 430px);
    min-height: 0;
    margin: 0.15rem auto 0.08rem;
    padding-top: 0.72rem;
  }

  .hero-layout > .proof-deck {
    grid-column: 1;
    grid-row: 3;
  }

  .creator-photo-frame {
    position: relative;
    inset: auto;
    width: 86%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 6px 6px 0 rgba(16, 21, 34, 0.1);
    transform: rotate(0.8deg);
  }

  .creator-platforms {
    top: 0;
    left: 50%;
    z-index: 5;
    gap: 0.32rem;
    transform: translateX(-50%);
  }

  .platform-badge {
    width: 31px;
    height: 31px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 3px 3px 0 rgba(16, 21, 34, 0.12);
  }

  .platform-badge svg {
    width: 16px;
    height: 16px;
  }

  .creator-rank-card {
    top: 2.15rem;
    right: 1rem;
    min-width: 0;
    gap: 0.04rem;
    border-radius: 14px;
    padding: 0.46rem 0.58rem;
    box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.12);
  }

  .creator-rank-card span {
    font-size: 0.52rem;
  }

  .creator-rank-card strong {
    font-size: 1.28rem;
  }

  .creator-offer-preview {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 1.1rem);
    margin: -1.85rem auto 0;
    gap: 0.3rem;
    border-radius: 17px;
    padding: 0.68rem 0.74rem;
    box-shadow: 5px 5px 0 rgba(16, 21, 34, 0.11);
  }

  .preview-title {
    font-size: clamp(1.14rem, 6vw, 1.48rem);
    line-height: 0.95;
  }

  :root[data-theme="dark"] .platform-badge {
    background: #101722;
  }
}

@media (max-width: 430px) {
  .hero-creator-visual {
    width: 100%;
  }

  .creator-photo-frame {
    width: 88%;
  }

  .creator-rank-card {
    right: 0.72rem;
  }

  .creator-offer-preview {
    width: calc(100% - 0.55rem);
    margin-top: -1.58rem;
  }
}

/* Claim form polish */
.field {
  align-content: start;
}

.field input:not([type="file"]),
.field select {
  height: 58px;
  min-height: 58px;
}

.field select,
.quick-rank-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #667083 50%),
    linear-gradient(135deg, #667083 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  padding-right: 2.55rem;
}

.field select::-ms-expand,
.quick-rank-form select::-ms-expand {
  display: none;
}

.field input[type="file"] {
  min-height: 58px;
  padding: 0.92rem;
}

.social-chip.youtube {
  border-color: #fecaca;
  background: #fff1f2;
  color: #dc2626;
}

:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .quick-rank-form select {
  background-color: #f7f8fb;
  background-image:
    linear-gradient(45deg, transparent 50%, #101522 50%),
    linear-gradient(135deg, #101522 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  color: #101522;
}

:root[data-theme="dark"] .social-chip.youtube {
  border-color: #7f1d1d;
  background: #2a1216;
  color: #ff8b8b;
}

/* Claim page header */
.claim-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.claim-header .header-cta {
  grid-column: 3;
  justify-self: end;
}

.claim-back-link {
  gap: 0.42rem;
}

.claim-back-link > span:first-child {
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .claim-header {
    grid-template-columns: auto auto;
    grid-template-areas: "brand cta";
  }

  .claim-header > .brand-lockup {
    grid-area: brand;
  }

  .claim-header .header-cta {
    grid-area: cta;
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .detail-bid-stack {
    justify-items: start;
  }

  .boost-context-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Dark-mode fixes for the board form and empty-state callout. */
:root[data-theme="dark"] .quick-rank-form select {
  border-color: rgba(143, 176, 255, 0.28);
  background-color: #f7f8fb;
  background-image:
    linear-gradient(45deg, transparent 50%, #101522 50%),
    linear-gradient(135deg, #101522 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  color: #101522;
}

:root[data-theme="dark"] .quick-rank-form select:hover,
:root[data-theme="dark"] .quick-rank-form select:focus {
  border-color: #8fb0ff;
  box-shadow: 0 0 0 3px rgba(143, 176, 255, 0.18);
}

:root[data-theme="dark"] .empty-board {
  border-top: 1px solid rgba(244, 200, 102, 0.24);
  border-bottom-color: rgba(244, 200, 102, 0.18);
  background:
    linear-gradient(90deg, rgba(84, 63, 18, 0.42), rgba(17, 25, 39, 0.98) 42%),
    #111927;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #dce5f2;
}

:root[data-theme="dark"] .empty-board .eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: #9bb8ff;
  box-shadow: none;
  padding: 0;
}

:root[data-theme="dark"] .empty-rank {
  border-color: rgba(244, 200, 102, 0.58);
  background: rgba(244, 200, 102, 0.12);
  color: #f4c866;
}

:root[data-theme="dark"] .empty-board h3 {
  color: #f7f8fb;
}

:root[data-theme="dark"] .empty-board p:not(.eyebrow) {
  color: #c8d1df;
}

:root[data-theme="dark"] .empty-board .button.primary {
  border-color: #2f63ee;
  background: #2f63ee;
  color: #ffffff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .empty-board .button.primary:hover,
:root[data-theme="dark"] .empty-board .button.primary:focus-visible {
  border-color: #9bb8ff;
  background: #1f4fd8;
  color: #ffffff;
}

/* Shared-interest introduction layer */
body,
:root[data-theme="dark"] body {
  background: var(--bg);
}

.hero-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.hero-copy-actions .button {
  min-height: 46px;
}

.match-signal-card strong {
  max-width: 11rem;
  font-size: 1.35rem;
  line-height: 1.05;
}

.preview-heart {
  border-color: rgba(231, 100, 82, 0.34) !important;
  background: #fff0ed !important;
  color: #b83e31;
}

:root[data-theme="dark"] .preview-heart {
  border-color: rgba(255, 139, 127, 0.4) !important;
  background: #321916 !important;
  color: #ffaea5;
}

.offer-row {
  grid-template-columns: 64px 56px minmax(0, 1fr) minmax(138px, 0.22fr) minmax(142px, 168px);
}

.row-actions {
  display: grid;
  gap: 0.42rem;
  align-self: center;
  width: 100%;
}

.row-actions .row-action {
  width: 100%;
  height: auto;
  min-height: 38px;
  padding: 0.5rem 0.7rem;
  text-transform: none;
  white-space: nowrap;
}

.interest-action,
.interest-detail-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 38px;
  border: 1px solid rgba(231, 100, 82, 0.38);
  border-radius: 999px;
  background: #fff0ed;
  color: #9f3026;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.interest-action::before,
.interest-action::after,
.interest-detail-action::before,
.interest-detail-action::after {
  position: absolute;
  top: 0.22rem;
  z-index: 2;
  color: #ed6a5c;
  content: "\2665";
  font-family: var(--font-body);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.interest-action::before,
.interest-detail-action::before {
  left: 24%;
  font-size: 0.68rem;
}

.interest-action::after,
.interest-detail-action::after {
  right: 20%;
  font-size: 0.52rem;
}

.interest-action:hover::before,
.interest-action:focus-visible::before,
.interest-detail-action:hover::before,
.interest-detail-action:focus-visible::before {
  animation: matchHeartLiftLeft 900ms ease-out both;
}

.interest-action:hover::after,
.interest-action:focus-visible::after,
.interest-detail-action:hover::after,
.interest-detail-action:focus-visible::after {
  animation: matchHeartLiftRight 980ms 90ms ease-out both;
}

@keyframes matchHeartLiftLeft {
  0% { opacity: 0; transform: translateY(0) scale(0.72) rotate(0); }
  24% { opacity: 0.78; }
  100% { opacity: 0; transform: translate(-7px, -21px) scale(1.08) rotate(-9deg); }
}

@keyframes matchHeartLiftRight {
  0% { opacity: 0; transform: translateY(0) scale(0.68) rotate(0); }
  24% { opacity: 0.68; }
  100% { opacity: 0; transform: translate(6px, -17px) scale(1) rotate(8deg); }
}

.interest-action > span:first-child,
.interest-detail-action > span:first-child {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 0;
}

.interest-action:hover,
.interest-action:focus-visible,
.interest-detail-action:hover,
.interest-detail-action:focus-visible {
  border-color: var(--coral);
  background: var(--coral);
  color: #ffffff;
  outline: none;
}

:root[data-theme="dark"] .interest-action,
:root[data-theme="dark"] .interest-detail-action {
  border-color: rgba(255, 139, 127, 0.42);
  background: #2b1718;
  color: #ffafa7;
}

:root[data-theme="dark"] .interest-action:hover,
:root[data-theme="dark"] .interest-action:focus-visible,
:root[data-theme="dark"] .interest-detail-action:hover,
:root[data-theme="dark"] .interest-detail-action:focus-visible {
  border-color: #ff8b7f;
  background: #ff8b7f;
  color: #161015;
}

.hero-actions .interest-detail-action {
  min-height: 46px;
  padding: 0.8rem 1.08rem;
}

.connection-rules {
  display: grid;
  gap: 1.4rem;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.rules-intro {
  display: grid;
  max-width: 730px;
  gap: 0.65rem;
}

.rules-intro > p:last-child {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.connection-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.connection-steps article {
  min-height: 330px;
  overflow: hidden;
}

.connection-steps .step-image {
  display: block;
  width: calc(100% + 2rem);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: -1rem -1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.connection-steps .step-image-1 { background-image: url("/assets/images/how-step-1.jpg"); }
.connection-steps .step-image-2 { background-image: url("/assets/images/how-step-2.jpg"); }
.connection-steps .step-image-3 { background-image: url("/assets/images/how-step-3.jpg"); }
.connection-steps .step-image-4 {
  position: relative;
  overflow: hidden;
  background-image: url("/assets/images/how-step-4-instagram.png");
}

.instagram-intro-tag,
.instagram-intro-label {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(16, 21, 34, 0.22);
  background: rgba(255, 253, 247, 0.94);
  color: #101522;
  box-shadow: 2px 2px 0 rgba(16, 21, 34, 0.12);
  backdrop-filter: blur(8px);
}

.instagram-intro-tag {
  top: 0.7rem;
  border-color: rgba(214, 41, 118, 0.36);
  border-radius: 999px;
  color: #b72a67;
  padding: 0.36rem 0.58rem;
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 800;
}

.instagram-intro-tag.tag-left {
  left: 0.7rem;
}

.instagram-intro-tag.tag-right {
  right: 0.7rem;
}

.instagram-intro-label {
  left: 50%;
  bottom: 0.65rem;
  width: max-content;
  max-width: calc(100% - 1.4rem);
  transform: translateX(-50%);
  border-radius: 6px;
  padding: 0.4rem 0.62rem;
  font-size: 0.64rem;
  font-weight: 850;
  text-align: center;
}

.sample-match {
  position: relative;
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 0.9rem;
}

.match-reveal-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  background: var(--surface-2);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.match-reveal-intro span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--red) 45%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 9%, var(--surface-1));
  color: var(--red);
  font-size: 1.75rem;
}

.match-reveal-intro strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
}

.sample-match-heading,
.sample-match-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.match-step-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.match-step-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match-step-label strong,
.match-feedback legend span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 850;
}

.match-feedback {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-1);
  padding: 0.78rem;
}

.match-feedback legend {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0 0.28rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
}

.match-feedback p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.match-feedback-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.match-feedback-options button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 0.55rem 0.62rem;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.match-feedback-options button:hover:not(:disabled),
.match-feedback-options button:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.match-feedback:disabled {
  opacity: 0.62;
}

.match-feedback-options button:disabled {
  cursor: not-allowed;
}

.result-primary {
  width: 100%;
  border-color: #101522;
  background: #101522;
  color: #ffffff;
  box-shadow: 6px 6px 0 color-mix(in srgb, #101522 18%, transparent);
}

.result-primary:hover,
.result-primary:focus-visible {
  border-color: #222b3d;
  background: #222b3d;
  color: #ffffff;
  transform: translateY(-1px);
}

.result-account-link {
  justify-self: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-account-link:hover,
.result-account-link:focus-visible {
  color: var(--ink);
}

.sample-match.is-advancing {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.match-code-card {
  display: grid;
  gap: 0.28rem;
  border: 1px solid color-mix(in srgb, var(--red) 38%, var(--line));
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: color-mix(in srgb, var(--red) 6%, var(--surface-2));
  padding: 0.82rem 0.95rem;
}

.match-code-card > span {
  color: var(--red);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.match-code-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.12;
}

.match-code-card small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.45;
}

.match-first-move-note {
  display: grid;
  gap: 0.25rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--blue) 6%, var(--surface-2));
}

.match-first-move-note strong {
  color: var(--ink);
  font-size: 0.8rem;
}

.match-first-move-note span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.sample-match-heading em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
}

.sample-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}

.sample-match-copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.sample-match-copy strong { color: var(--ink); }
.sample-match-copy em,
.sample-match-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-match-copy q {
  margin-top: 0.22rem;
  color: var(--text);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 650;
  line-height: 1.35;
}

.sample-match-copy q::before { content: "\201c"; }
.sample-match-copy q::after { content: "\201d"; }

.sample-match-handle {
  color: var(--blue) !important;
  font-family: var(--font-utility);
  font-weight: 850 !important;
}

.sample-match-visual {
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  width: 104px;
}

.match-photo-tease {
  --portrait-back: #d9d3c8;
  --portrait-light: #f1ad91;
  --portrait-dark: #334f63;
  position: relative;
  display: block;
  isolation: isolate;
  width: 92px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--portrait-back);
  box-shadow: 4px 4px 0 rgba(16, 21, 34, 0.09);
}

.match-photo-tease::before,
.match-photo-tease::after,
.match-photo-head,
.match-photo-shoulders {
  position: absolute;
  display: block;
  content: "";
  filter: blur(9px);
}

.match-photo-tease::before {
  inset: -12% 42% 38% -18%;
  background: var(--portrait-light);
  transform: rotate(14deg);
}

.match-photo-tease::after {
  inset: 12% -24% -18% 46%;
  background: var(--portrait-dark);
  opacity: 0.76;
  transform: rotate(-12deg);
}

.match-photo-head {
  z-index: 1;
  top: 18%;
  left: 50%;
  width: 43%;
  aspect-ratio: 0.82;
  border-radius: 46% 46% 42% 42%;
  background: color-mix(in srgb, var(--portrait-light) 70%, var(--portrait-dark));
  transform: translateX(-50%);
}

.match-photo-shoulders {
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: -7%;
  height: 52%;
  border-radius: 48% 48% 14% 14%;
  background: color-mix(in srgb, var(--portrait-dark) 84%, #ffffff);
}

.sample-match-visual[data-portrait-variant="1"] .match-photo-tease {
  --portrait-back: #cfd9d1;
  --portrait-light: #e1a46e;
  --portrait-dark: #285b4a;
}

.sample-match-visual[data-portrait-variant="2"] .match-photo-tease {
  --portrait-back: #d8d4e0;
  --portrait-light: #c89478;
  --portrait-dark: #51426e;
}

.sample-match-visual[data-portrait-variant="3"] .match-photo-tease {
  --portrait-back: #cad9e0;
  --portrait-light: #d7a886;
  --portrait-dark: #2e5470;
}

.sample-match-visual[data-portrait-variant="4"] .match-photo-tease {
  --portrait-back: #dfd5cb;
  --portrait-light: #d98d7e;
  --portrait-dark: #5b4938;
}

.sample-match-visual[data-portrait-variant="5"] .match-photo-tease {
  --portrait-back: #d4d9c8;
  --portrait-light: #bd8f72;
  --portrait-dark: #46582f;
}

.sample-match-visual small {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.sample-match-badge {
  border: 1px solid #b8dfcf;
  border-radius: 999px;
  background: #e9f8f1;
  color: #147355;
  padding: 0.42rem 0.58rem;
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

:root[data-theme="dark"] .sample-match-badge {
  border-color: #27684f;
  background: #16362b;
  color: #8ee0bd;
}

:root[data-theme="dark"] .match-photo-tease {
  border-color: rgba(143, 176, 255, 0.28);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.26);
}

.sample-match.is-revealing .match-reveal-intro {
  animation: match-reveal-curtain 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  visibility: visible;
}

.sample-match.is-revealing .sample-match-heading {
  animation: match-detail-reveal 460ms 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sample-match.is-revealing .sample-match-card {
  animation: match-card-reveal 620ms 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sample-match.is-revealing .match-code-card {
  animation: match-detail-reveal 480ms 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sample-match.is-revealing .match-first-move-note {
  animation: match-detail-reveal 460ms 840ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sample-match.is-revealing .sample-match-actions {
  animation: match-detail-reveal 440ms 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes match-reveal-curtain {
  0% { opacity: 1; }
  64% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes match-card-reveal {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes match-detail-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sample-match.is-revealing .match-reveal-intro { display: none; }

  .sample-match.is-revealing .sample-match-heading,
  .sample-match.is-revealing .sample-match-card,
  .sample-match.is-revealing .match-code-card,
  .sample-match.is-revealing .match-first-move-note,
  .sample-match.is-revealing .sample-match-actions { animation: none; }

  .interest-action::before,
  .interest-action::after,
  .interest-detail-action::before,
  .interest-detail-action::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .match-feedback-options {
    grid-template-columns: 1fr;
  }
}

.creator-economy-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.05rem 0;
}

.creator-economy-note strong {
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.creator-economy-note p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.creator-economy-note a {
  color: var(--blue);
  font-weight: 850;
}

.interest-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 100;
  width: min(760px, calc(100vw - 28px));
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  transform: translate(-50%, -50%);
  box-shadow: 12px 12px 0 rgba(16, 21, 34, 0.16);
}

.interest-modal::backdrop {
  background: rgba(16, 21, 34, 0.68);
  backdrop-filter: blur(5px);
}

:root[data-theme="dark"] .interest-modal {
  border-color: #3a4659;
  background: #121722;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.42);
}

.interest-card {
  padding: clamp(1.15rem, 4vw, 2.1rem);
}

.interest-view {
  display: grid;
  gap: 1.15rem;
}

.interest-view.hidden {
  display: none;
}

.interest-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
}

.interest-head > div {
  display: grid;
  gap: 0.42rem;
}

.interest-head h2 {
  max-width: 620px;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 0.98;
}

.interest-head > div > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.interest-selection {
  display: grid;
  gap: 0.18rem;
  border-left: 4px solid var(--coral);
  background: var(--surface-2);
  padding: 0.72rem 0.9rem;
}

.interest-selection span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.interest-selection strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.instagram-card-preview {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 0.8rem;
}

.instagram-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #f06a8a;
  border-radius: 50%;
  background: #ffffff;
  color: #9f3026;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 900;
}

.instagram-preview-copy {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.instagram-preview-copy small,
.instagram-mark {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.instagram-preview-copy strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instagram-preview-copy em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

.fun-fact-field,
.dm-code-field {
  grid-column: 1 / -1;
}

.dm-code-field small strong {
  color: var(--red);
  font-family: var(--font-utility);
  letter-spacing: 0;
}

.exposure-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.55rem;
  min-width: 0;
  border: 0;
  padding: 0.2rem 0 0;
}

.exposure-field legend {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exposure-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  padding: 0.82rem;
  cursor: pointer;
}

.exposure-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
}

.exposure-option input {
  width: 18px;
  height: 18px;
  margin: 0.12rem 0 0;
  accent-color: var(--blue);
}

.exposure-option > span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.exposure-option strong {
  color: var(--ink);
  font-size: 0.84rem;
}

.exposure-option strong em {
  margin-left: 0.35rem;
  color: var(--blue);
  font-family: var(--font-utility);
  font-size: 0.58rem;
  font-style: normal;
  text-transform: uppercase;
}

.exposure-option small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.4;
}

.fun-fact-field textarea {
  min-height: 76px;
  resize: vertical;
}

.fun-fact-field small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 650;
}

.creator-bid-lockup {
  display: grid;
  justify-items: end;
  gap: 0.12rem;
}

.creator-bid-lockup small,
.row-stats small {
  color: var(--muted-2);
  font-family: var(--font-utility);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

:root[data-theme="dark"] .creator-bid-lockup small,
:root[data-theme="dark"] .row-stats small {
  color: #bac4d5;
}

.interest-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.interest-form-grid .field {
  display: grid;
  gap: 0.32rem;
}

.interest-form-grid .field > span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.interest-form-grid input,
.interest-form-grid select,
.interest-form-grid textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background-color: #ffffff;
  color: #101522;
  padding: 0.72rem 0.82rem;
}

.interest-form-grid input:focus,
.interest-form-grid select:focus,
.interest-form-grid textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 91, 232, 0.16);
  outline: none;
}

:root[data-theme="dark"] .interest-form-grid input,
:root[data-theme="dark"] .interest-form-grid select,
:root[data-theme="dark"] .interest-form-grid textarea {
  border-color: #435067;
  background-color: #f7f8fb;
  color: #101522;
}

.age-range-field {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.25rem 0 0.45rem;
}

.age-range-summary {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
}

.age-range-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.age-range-summary small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.age-range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.age-range-values output {
  color: var(--blue);
  font-family: var(--font-utility);
  font-weight: 900;
}

.dual-age-range {
  position: relative;
  height: 26px;
}

.dual-age-track,
.dual-age-track > span {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.dual-age-track {
  background: var(--line-strong);
}

.dual-age-track > span {
  background: var(--blue);
}

.interest-form-grid .dual-age-input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-height: 26px !important;
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  pointer-events: none;
}

.interest-form-grid .dual-age-input.is-max { z-index: 3; }
.interest-form-grid .dual-age-input.is-min.is-front { z-index: 4; }

.dual-age-input::-webkit-slider-runnable-track {
  height: 2px;
  border: 0;
  background: transparent;
}

.dual-age-input::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -7px;
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 2px 5px rgba(16, 21, 34, 0.22);
  cursor: grab;
  pointer-events: auto;
}

.dual-age-input::-moz-range-track {
  height: 2px;
  background: transparent;
}

.dual-age-input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 2px 5px rgba(16, 21, 34, 0.22);
  cursor: grab;
  pointer-events: auto;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  margin-top: 0.62rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 0.08rem 0 0;
  accent-color: var(--blue);
}

.consent-row a:focus-visible,
.compliance-check a:focus-visible,
.footer-links a:focus-visible,
.legal-document a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 3px;
}

.interest-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.interest-submit-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.interest-privacy {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 0.78rem;
  font-size: 0.72rem;
  font-weight: 650;
}

.pool-proof {
  display: grid;
  gap: 0.25rem;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  padding: 1.2rem;
}

.pool-proof strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.65rem);
  line-height: 1;
}

.pool-proof span,
.verification-note,
.referral-panel p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.referral-panel {
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.referral-panel h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 850;
}

.share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.share-row input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  font-size: 0.76rem;
}

.account-page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 5rem;
}

.account-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.account-intro h1 {
  max-width: 720px;
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.92;
}

.account-intro > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
}

.account-loading,
.account-access,
.account-private {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-1);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 4vw, 2.4rem);
}

.account-loading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 700;
}

.account-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 18%, transparent);
}

.account-access {
  display: grid;
  gap: 1.55rem;
  max-width: 760px;
}

.account-access h2,
.account-code-panel h2,
.account-pools-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
}

.account-access h2 {
  font-size: 2.5rem;
}

.account-empty-intro > p:not(.eyebrow),
.account-returning > p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 650;
}

.account-empty-intro,
.account-returning {
  display: grid;
  justify-items: start;
  gap: 0.72rem;
}

.account-empty-intro .button {
  margin-top: 0.25rem;
}

.account-returning {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.account-returning h3 {
  color: var(--ink);
  font-size: 1.15rem;
}

.account-access-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.account-access-form .field {
  display: grid;
  gap: 0.32rem;
}

.account-access-form .field span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-access-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 0.72rem 0.82rem;
}

.account-access-form .form-status {
  grid-column: 1 / -1;
}

.account-private {
  display: grid;
  gap: 1.6rem;
}

.account-profile-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.account-profile-line > span {
  display: grid;
  gap: 0.18rem;
}

.account-profile-line > span:last-child {
  justify-items: end;
  text-align: right;
}

.account-profile-line small {
  color: var(--blue);
  font-family: var(--font-utility);
  font-size: 0.63rem;
  font-weight: 850;
  text-transform: uppercase;
}

.account-profile-line strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.account-profile-line em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.account-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line));
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: color-mix(in srgb, var(--red) 5%, var(--surface-2));
  padding: 1.2rem;
}

.account-code-panel h2 {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.account-code-panel div > p:last-child {
  color: var(--muted);
  font-weight: 650;
}

.account-code-form {
  display: grid;
  grid-template-columns: minmax(150px, 220px) auto;
  align-items: end;
  gap: 0.6rem;
}

.account-code-form .field {
  display: grid;
  gap: 0.32rem;
}

.account-code-form .field span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-code-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-1);
  color: var(--ink);
  padding: 0.65rem 0.72rem;
  font-family: var(--font-utility);
  font-weight: 800;
  text-transform: uppercase;
}

.account-profile-panel,
.account-settings,
.account-pools-panel {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.account-profile-panel h2,
.account-settings .button,
.account-pools-panel .button {
  justify-self: start;
}

.account-profile-panel h2 {
  margin-top: 0.2rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.account-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.account-section-heading > div > p:last-child {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 650;
}

.account-verified-email {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  max-width: 50%;
  color: var(--muted);
  text-align: right;
}

.account-verified-email small {
  color: var(--blue);
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.account-verified-email strong {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.account-profile-form {
  display: grid;
  gap: 0.2rem;
}

.account-profile-grid {
  margin-bottom: 0.45rem;
}

.account-bio-field {
  grid-column: 1 / -1;
}

.account-profile-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.account-edit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.account-settings .account-edit-actions {
  width: 100%;
}

.account-settings .edit-save-button {
  width: 100%;
}

.edit-save-button:disabled {
  border-color: var(--line);
  background: var(--surface-2);
  box-shadow: none;
  color: var(--muted);
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.edit-save-button[aria-busy="true"]:disabled {
  cursor: wait;
  opacity: 0.82;
}

.account-pools-panel h2 {
  margin-top: 0.2rem;
  font-size: 2rem;
}

.account-pools-panel ul {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  list-style: none;
}

.account-pools-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
}

.account-pools-panel li:last-child { border-bottom: 0; }

.account-pool-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  overflow-wrap: anywhere;
}

.account-pool-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.account-pool-remove:hover,
.account-pool-remove:focus-visible {
  color: var(--red);
  border-color: currentColor;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.account-pool-remove:disabled { opacity: 0.5; cursor: wait; }

@media (max-width: 640px) {
  .account-pool-copy { flex-direction: column; align-items: flex-start; }
}

.account-pools-panel li span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.account-pool-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.account-pool-pagination button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.account-pool-pagination button:hover:not(:disabled),
.account-pool-pagination button:focus-visible,
.account-pool-pagination button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.account-pool-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.account-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.account-session-controls {
  display: flex;
  gap: 0.75rem;
}

.text-danger {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .connection-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-row {
    grid-template-columns: 52px 52px minmax(0, 1fr) 128px;
  }

  .offer-row .row-actions {
    grid-column: 3 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-row .row-actions .row-action {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero-copy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy-actions .button {
    width: 100%;
  }

  .offer-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .offer-row .row-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .offer-row .row-stats {
    grid-column: 1 / -1;
    display: grid;
    justify-content: start;
    gap: 0.1rem;
    border-left: 3px solid var(--gold);
    padding-left: 0.7rem;
    text-align: left;
  }

  .offer-row .row-stats strong {
    font-size: 1.32rem;
  }

  .instagram-card-preview {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .instagram-avatar {
    width: 54px;
    height: 54px;
  }

  .instagram-mark {
    display: none;
  }

  .sample-match-card {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 0.68rem;
  }

  .sample-match-visual {
    width: 88px;
  }

  .match-photo-tease {
    width: 78px;
  }

  .sample-match-badge {
    padding: 0.34rem 0.45rem;
    font-size: 0.54rem;
  }

  .creator-bid-lockup {
    justify-items: start;
  }

  .row-actions .row-action,
  .row-actions .interest-action {
    min-width: 0;
    width: 100%;
  }

  .row-actions .interest-action {
    min-height: 44px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .connection-steps,
  .interest-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .connection-steps article {
    min-height: 0;
  }

  .creator-economy-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }

  .interest-modal {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    margin: auto;
    box-shadow: 6px 6px 0 rgba(16, 21, 34, 0.14);
  }

  .interest-card {
    padding: 1rem;
  }

  .interest-head h2 {
    font-size: 2rem;
  }

  .share-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-row .button {
    width: 100%;
  }

  .account-page {
    width: min(100% - 1rem, 980px);
    padding-top: 2rem;
  }

  .account-intro h1 {
    font-size: 3.2rem;
  }

  .account-access-form,
  .account-code-panel,
  .account-code-form,
  .account-profile-line {
    grid-template-columns: 1fr;
  }

  .account-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .account-verified-email {
    justify-items: start;
    max-width: 100%;
    text-align: left;
  }

  .account-profile-line > span:last-child {
    justify-items: start;
    text-align: left;
  }

  .account-code-panel .button,
  .account-controls .button {
    width: 100%;
  }

  .account-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .account-session-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Focused hero: one matching idea, one compact proof line. */
.hero-stack h1 {
  font-size: 6rem;
  line-height: 0.9;
}

.creator-match-preview {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0.8rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.96);
  padding: 0.85rem 0.9rem;
  box-shadow: 6px 6px 0 rgba(16, 21, 34, 0.11);
  backdrop-filter: blur(12px);
}

.match-preview-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.match-preview-copy small,
.match-preview-copy em {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
}

.match-preview-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
}

.hero-match-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  min-height: 42px;
  border: 1px solid rgba(231, 100, 82, 0.55);
  border-radius: 999px;
  background: #fff0ed;
  color: #9f3026;
  padding: 0.64rem 0.82rem;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.hero-match-button > span {
  color: var(--coral);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1;
}

.hero-heart-bubble {
  position: absolute;
  z-index: 5;
  color: var(--coral);
  line-height: 1;
  pointer-events: none;
  animation: heroHeartFloat 3.2s ease-in-out infinite;
}

.hero-heart-bubble.heart-one {
  top: -0.85rem;
  right: 5.1rem;
  font-size: 0.8rem;
}

.hero-heart-bubble.heart-two {
  top: -1.5rem;
  right: 2.65rem;
  font-size: 1.05rem;
  animation-delay: -1.1s;
}

.hero-heart-bubble.heart-three {
  top: -0.65rem;
  right: 0.55rem;
  font-size: 0.7rem;
  animation-delay: -2.1s;
}

.proof-deck.proof-line {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 0.4rem;
  overflow: visible;
  border-color: var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.58rem 0.8rem;
  color: var(--muted);
  box-shadow: none;
}

.proof-line .proof-live {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.proof-line .proof-live strong,
.proof-line .proof-total {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
}

.proof-line .proof-live strong {
  color: #087d42;
  font-weight: 850;
}

.proof-line .proof-divider {
  color: var(--muted-2);
}

.proof-line .proof-source {
  display: inline;
  place-items: initial;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

:root[data-theme="dark"] .creator-match-preview {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 23, 34, 0.94);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .hero-match-button {
  border-color: rgba(255, 139, 127, 0.45);
  background: #2b1718;
  color: #ffafa7;
}

:root[data-theme="dark"] .proof-deck.proof-line {
  border-color: rgba(255, 255, 255, 0.16);
  background: #121722;
}

:root[data-theme="dark"] .proof-line .proof-live strong {
  color: #76e4ae;
}

:root[data-theme="dark"] .proof-line .proof-source {
  color: #f7f8fb;
}

@keyframes heroHeartFloat {
  0%,
  100% {
    opacity: 0.48;
    transform: translateY(3px) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08);
  }
}

@media (max-width: 1180px) {
  .hero-stack h1 {
    font-size: 5rem;
  }
}

@media (max-width: 980px) {
  .creator-match-preview {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 1.1rem);
    margin: -1.55rem auto 0;
  }
}

@media (max-width: 720px) {
  .hero-stack h1 {
    font-size: 3.5rem;
    line-height: 0.96;
  }

  .proof-deck.proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.42rem;
    width: fit-content;
    padding: 0.55rem 0.7rem;
  }
}

@media (max-width: 430px) {
  .hero-stack h1 {
    font-size: 3.05rem;
  }

  .creator-match-preview {
    width: calc(100% - 0.55rem);
  }

  .match-preview-copy strong {
    font-size: 1.2rem;
  }

  .hero-match-button {
    min-height: 40px;
    padding-inline: 0.7rem;
  }

  .contact-fab {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .contact-fab::before {
    content: "\2709";
    font-size: 1.05rem;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-heart-bubble {
    animation: none;
  }
}
/* Dating-first discovery board */
.market-section {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.market-panel {
  overflow: clip;
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--surface);
}

.market-toolbar h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 0.96;
}

.market-toolbar .ranking-note {
  max-width: 690px;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

.board-search input {
  min-height: 50px;
  border-radius: 999px;
  padding-inline: 1.1rem;
}

.category-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.category-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  padding: 0;
}

.category-pill {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-content: center;
  min-width: 0;
  min-height: 118px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.1rem;
  text-align: left;
  white-space: normal;
  transition: background-color 160ms ease, color 160ms ease;
}

.category-pill::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--category-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 160ms ease;
}

.category-pill:nth-child(4n) {
  border-right: 0;
}

.category-pill:last-child {
  grid-column: 1 / -1;
  min-height: 84px;
  border-right: 0;
}

.category-pill:hover,
.category-pill:focus-visible {
  border-color: var(--line);
  background: color-mix(in srgb, var(--category-color) 11%, var(--surface));
  color: var(--ink);
  outline: none;
}

.category-pill:hover::before,
.category-pill:focus-visible::before,
.category-pill.is-active::before {
  transform: scaleY(1);
}

.category-pill.is-active {
  border-color: var(--line);
  background: var(--ink);
  color: var(--surface);
}

.category-index {
  grid-row: 1 / 3;
  align-self: start;
  color: var(--category-color);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
}

.category-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.category-copy strong {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
}

.category-copy small,
.category-count {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.35;
}

.category-pill.is-active .category-copy small,
.category-pill.is-active .category-count {
  color: color-mix(in srgb, var(--surface) 72%, transparent);
}

.category-count {
  grid-column: 2;
  font-family: var(--font-utility);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.category-reset {
  justify-self: start;
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--blue);
  padding: 0.6rem 1.1rem;
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 800;
}

.category-reset:hover,
.category-reset:focus-visible {
  background: var(--blue-soft);
  outline: none;
}

.board-results-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 360px);
  align-items: end;
  gap: clamp(1rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
}

.board-results-head h3 {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 850;
}

.board-results-head p:not(.eyebrow) {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.ranking-window-control {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
}

.board-results-head .board-search {
  width: 100%;
}

.board-results-head .board-search input {
  min-height: 42px;
  background: var(--surface);
  font-size: 0.78rem;
}

.ranking-window-control > span {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leaderboard {
  background: var(--surface);
}

.offer-row {
  grid-template-columns: 52px 58px minmax(0, 1fr) minmax(110px, 0.16fr) minmax(196px, 0.24fr);
  min-height: 132px;
  padding: 1.15rem clamp(1rem, 2.5vw, 1.75rem);
}

.offer-row:hover {
  background: color-mix(in srgb, var(--blue-soft) 36%, var(--surface));
}

.offer-row.is-top-ten,
:root[data-theme="dark"] .offer-row.is-top-ten {
  box-shadow: inset 3px 0 0 var(--gold);
  background: color-mix(in srgb, var(--gold-soft) 16%, var(--surface));
}

.offer-row.is-top-ten:hover,
:root[data-theme="dark"] .offer-row.is-top-ten:hover {
  background: color-mix(in srgb, var(--gold-soft) 34%, var(--surface));
}

.rank-lockup {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.35rem;
}

.top-ten-marker {
  color: var(--gold-2);
  font-family: var(--font-utility);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-row.top-rank,
:root[data-theme="dark"] .offer-row.top-rank {
  background: var(--surface);
}

.offer-row.top-rank:hover,
:root[data-theme="dark"] .offer-row.top-rank:hover {
  background: color-mix(in srgb, var(--gold-soft) 42%, var(--surface));
}

.offer-main > em {
  max-width: 760px;
  color: var(--text);
  font-size: 0.83rem;
  line-height: 1.5;
}

.row-stats {
  justify-items: start;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  text-align: left;
}

.row-stats small {
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.59rem;
  font-weight: 800;
  text-transform: uppercase;
}

.row-stats strong {
  color: var(--gold-2);
  font-size: 1.25rem;
}

.row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.row-actions .interest-action {
  order: 1;
  min-height: 46px;
  border-radius: 6px;
  border-color: #bd3f34;
  background: #bd3f34;
  color: #ffffff;
  box-shadow: 3px 3px 0 rgba(16, 21, 34, 0.13);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.row-actions .interest-action:hover,
.row-actions .interest-action:focus-visible {
  border-color: #9f3026;
  background: #9f3026;
  color: #ffffff;
}

.row-actions .row-action {
  order: 2;
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.row-actions .row-action:hover,
.row-actions .row-action:focus-visible {
  background: transparent;
  color: var(--blue-2);
  outline: none;
}

.creator-activity-panel {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.creator-activity-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 850;
}

.creator-activity-panel summary::-webkit-details-marker {
  display: none;
}

.creator-activity-panel summary::after {
  content: "+";
  color: var(--blue);
  font-family: var(--font-utility);
  font-size: 1.1rem;
}

.creator-activity-panel[open] summary::after {
  content: "−";
}

.creator-activity-panel summary small {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.creator-activity-panel summary > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.creator-activity-panel summary > span::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 42%, transparent);
  animation: live-activity-pulse 1.9s ease-out infinite;
}

@keyframes live-activity-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 42%, transparent);
  }
  72%,
  100% {
    box-shadow: 0 0 0 0.48rem transparent;
  }
}

.creator-activity-panel .market-live-grid {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

:root[data-theme="dark"] .category-pill,
:root[data-theme="dark"] .market-toolbar,
:root[data-theme="dark"] .leaderboard {
  background: var(--surface);
}

:root[data-theme="dark"] .category-pill.is-active {
  background: #f7f8fb;
  color: #101522;
}

:root[data-theme="dark"] .category-pill.is-active .category-copy small,
:root[data-theme="dark"] .category-pill.is-active .category-count {
  color: #5c6678;
}

:root[data-theme="dark"] .row-actions .interest-action {
  border-color: #ff8b7f;
  background: #ff8b7f;
  color: #161015;
}

.offer-cover img {
  position: absolute;
  opacity: 0;
  transition: opacity 120ms ease;
}

.offer-cover img + .logo-fallback {
  display: grid;
}

.offer-cover img.is-loaded {
  opacity: 1;
}

.offer-cover img.is-loaded + .logo-fallback {
  display: none;
}

@media (max-width: 1100px) {
  .category-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-pill:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .category-pill:nth-child(3n) {
    border-right: 0;
  }

  .category-pill:last-child {
    grid-column: 1 / -1;
  }

  .board-results-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .board-results-head .board-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .offer-row {
    grid-template-columns: 48px 54px minmax(0, 1fr) 124px;
  }

  .offer-row .row-actions {
    grid-column: 3 / -1;
    grid-template-columns: minmax(180px, 0.48fr) auto;
    justify-content: end;
  }
}

@media (max-width: 760px) {
  .market-section {
    padding-top: 1.5rem;
  }

  .market-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.4rem 1rem;
  }

  .market-toolbar h2 {
    font-size: 3.2rem;
  }

  .category-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-pill,
  .category-pill:nth-child(3n),
  .category-pill:nth-child(4n) {
    min-height: 112px;
    border-right: 1px solid var(--line);
    padding: 0.9rem 0.8rem;
  }

  .category-pill:nth-child(2n) {
    border-right: 0;
  }

  .category-pill:last-child {
    grid-column: 1 / -1;
    min-height: 82px;
  }

  .category-copy small {
    display: none;
  }

  .category-count {
    font-size: 0.57rem;
  }

  .board-results-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .board-results-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .ranking-window-control {
    grid-column: 1;
    grid-row: 2;
    justify-content: space-between;
  }

  .board-results-head .board-search {
    grid-column: 1;
    grid-row: 3;
  }

  .offer-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 1rem;
  }

  .offer-row .rank-lockup {
    grid-column: 1;
    align-self: start;
    align-content: start;
    padding-top: 0.3rem;
  }

  .offer-row .offer-cover {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 52px;
    height: 52px;
  }

  .offer-row .offer-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 52px;
    padding-left: 64px;
  }

  .offer-row .rank-number {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.72rem;
  }

  .offer-row .social-chip {
    max-width: min(100%, 19rem);
  }

  .offer-row .row-stats {
    grid-column: 1 / -1;
    grid-row: auto;
    border-left: 3px solid var(--gold);
    padding-left: 0.7rem;
  }

  .offer-row .row-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .row-actions .interest-action {
    min-height: 48px;
  }

  .row-actions .row-action {
    padding-inline: 0.65rem;
  }

  .creator-activity-panel .market-live-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-fab {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .contact-fab::before {
    content: "\2709";
    font-size: 1.05rem;
    line-height: 1;
  }
}

@media (max-width: 430px) {
  .market-toolbar h2 {
    font-size: 2.75rem;
  }

  .category-pill {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    min-height: 98px;
  }

  .category-index {
    grid-row: auto;
  }

  .category-count {
    grid-column: 1;
  }

  .ranking-window-control > span {
    display: none;
  }

  .ranking-window-control .board-window-toggle,
  .ranking-window-control .board-window-toggle button {
    width: 100%;
  }

  .offer-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .offer-row .offer-cover {
    width: 48px;
    height: 48px;
  }

  .offer-row .offer-main {
    min-height: 48px;
    padding-left: 58px;
  }

  .offer-row .rank-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.66rem;
  }

  .offer-row .top-ten-marker {
    font-size: 0.44rem;
  }

  .offer-row .offer-main > .offer-meta {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }

  .offer-row .row-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .row-actions .row-action {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-pill,
  .category-pill::before,
  .creator-activity-panel summary > span::before {
    transition: none;
    animation: none;
  }
}

/* Centered account-aware navigation */
.site-header.account-aware-header {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.header-brand-group {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.62rem;
  min-width: 0;
}

.account-aware-header > .top-nav {
  justify-self: center;
}

.account-aware-header > .header-actions {
  justify-self: end;
  flex-wrap: nowrap;
}

.header-theme-toggle {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
}

.header-theme-toggle .theme-icon {
  width: 16px;
  height: 16px;
}

.header-profile-link {
  padding: 0.5rem 1rem 0.5rem 0;
  margin-right: 0.15rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-profile-link:hover,
.header-profile-link:focus-visible {
  color: var(--blue);
}

:root[data-theme="dark"] .header-profile-link {
  border-right-color: rgba(255, 255, 255, 0.14);
  color: #d5deee;
}

:root[data-theme="dark"] .header-profile-link:hover,
:root[data-theme="dark"] .header-profile-link:focus-visible {
  color: #ffffff;
}

@media (max-width: 900px) {
  .site-header.account-aware-header {
    gap: 0.8rem;
    padding-inline: 20px;
  }

  .account-aware-header .top-nav {
    font-size: 0.8rem;
  }

  .header-profile-link {
    padding-right: 0.72rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 720px) {
  .site-header.account-aware-header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 0.5rem;
    padding-block: 0.55rem;
  }

  .account-aware-header > .header-brand-group {
    grid-area: auto;
    width: 100%;
  }

  .account-aware-header > .top-nav {
    display: none;
  }

  .account-aware-header > .header-actions {
    grid-area: auto;
    width: 100%;
    justify-content: flex-end;
    padding-top: 0.45rem;
    border-top: 1px solid var(--line);
  }

  .header-profile-link {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .site-header.account-aware-header {
    padding-inline: 14px;
  }

  .account-aware-header > .header-actions {
    gap: 0.45rem;
  }

  .header-profile-link {
    padding-right: 0.6rem;
    font-size: 0.75rem;
  }

  .account-aware-header .header-cta {
    padding-inline: 0.82rem;
    font-size: 0.78rem;
  }
}

/* Persistent ranking-period navigation */
.board-period-nav {
  position: sticky;
  top: 74px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  padding: 0.7rem clamp(1rem, 3vw, 2rem);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 18px rgba(16, 21, 34, 0.07);
}

.board-results-head {
  scroll-margin-top: 148px;
}

.board-period-copy {
  display: grid;
  gap: 0.15rem;
}

.board-period-copy span,
.board-period-copy strong {
  font-family: var(--font-utility);
  letter-spacing: 0;
}

.board-period-copy span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-period-copy strong {
  color: var(--ink);
  font-size: 0.84rem;
}

.today-window-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
}

.today-window-button small {
  border-radius: 999px;
  background: #dff7ed;
  color: #087657;
  padding: 0.16rem 0.34rem;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.today-window-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #14a778;
  box-shadow: 0 0 0 0 rgba(20, 167, 120, 0.42);
  animation: today-window-pulse 2.4s ease-out infinite;
}

@keyframes today-window-pulse {
  0%, 35% { box-shadow: 0 0 0 0 rgba(20, 167, 120, 0.42); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(20, 167, 120, 0); }
}

.pagination-window-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.55rem 0.82rem;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 850;
}

.pagination-window-jump.is-today {
  border-color: rgba(20, 167, 120, 0.35);
  background: #eefaf5;
  color: #086c51;
}

.pagination-window-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 1rem;
  line-height: 1;
}

.pagination-window-jump:hover,
.pagination-window-jump:focus-visible {
  border-color: var(--blue);
  outline: none;
  transform: translateY(-1px);
}

:root[data-theme="dark"] .board-period-nav {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 23, 34, 0.94);
}

:root[data-theme="dark"] .board-period-copy strong {
  color: #f7f8fb;
}

:root[data-theme="dark"] .pagination-window-jump {
  border-color: rgba(143, 176, 255, 0.28);
  background: #172235;
  color: #f7f8fb;
}

:root[data-theme="dark"] .pagination-window-jump.is-today {
  border-color: rgba(73, 210, 164, 0.4);
  background: #103127;
  color: #9ce6ca;
}

@media (max-width: 760px) {
  .board-period-nav {
    top: 108px;
    min-height: 58px;
    padding: 0.55rem 0.75rem;
  }

  .board-period-copy span {
    display: none;
  }

  .board-period-copy strong {
    font-size: 0.68rem;
  }

  .board-period-nav .board-window-toggle {
    width: auto;
  }

  .board-period-nav .board-window-toggle button {
    width: auto;
    min-width: 70px;
    padding-inline: 0.55rem;
  }

  .today-window-button small {
    display: none;
  }

  .pagination-window-jump {
    width: 100%;
  }

  .board-results-head {
    scroll-margin-top: 174px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .today-window-dot {
    animation: none;
  }
}

/* Dater-first join journey */
.join-body {
  margin: 0;
  background: #101522;
  color: #101522;
}

.join-body * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.join-body .hidden {
  display: none !important;
}

.join-page {
  min-height: 100svh;
  background: var(--bg);
}

.join-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: flex-start;
  padding: 0.9rem 3rem;
  color: #fff;
}

.join-header .brand-lockup {
  color: #fff;
}

.join-header .brand-text {
  color: #fff;
}

.join-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background: #101522;
  color: #fff;
}

.join-hero-media,
.join-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.join-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 45%;
}

@media (min-width: 981px) {
  .join-hero {
    height: 100svh;
    min-height: 640px;
  }

  .join-hero-media {
    display: grid;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    background: #101522;
  }

  .join-hero-media::before {
    position: absolute;
    z-index: 0;
    inset: -4rem;
    background: url("/assets/images/join-hero.webp") center 45% / cover no-repeat;
    content: "";
    filter: blur(34px) saturate(0.82);
    opacity: 0.36;
    transform: scale(1.08);
  }

  .join-hero-media::after {
    content: none;
  }

  .join-hero-media img {
    position: relative;
    z-index: 1;
    width: auto;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    max-width: none;
    justify-self: end;
    object-fit: contain;
    object-position: center;
  }

  .join-hero .join-hero-shade {
    background: rgba(6, 10, 20, 0.2);
  }
}

.join-hero-shade {
  background: rgba(6, 10, 20, 0.54);
}

.join-hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 3rem));
  margin-left: max(3rem, calc((100vw - 1440px) / 2));
  transform: translateY(12svh);
}

.join-hero-copy .eyebrow,
.join-step-heading .eyebrow,
.join-success .eyebrow {
  margin: 0 0 0.9rem;
  color: #f1c75a;
  font: 700 0.76rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 1.75rem;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 4.7rem;
  font-weight: 400;
  line-height: 0.97;
}

.join-hero-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin: 1.35rem 0 1.65rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.55;
}

.join-hero-cta,
.join-step-actions .button,
.join-success .button {
  min-height: 52px;
  border-radius: 4px;
  box-shadow: none;
}

.join-hero-cta {
  position: relative;
  display: inline-flex;
  min-width: 320px;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid #f1c75a;
  background: #fff;
  color: #101522;
  font-size: 1.12rem;
  isolation: isolate;
}

.join-hero-cta::before {
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 2px solid rgba(241, 199, 90, 0.92);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(241, 199, 90, 0.48);
  content: "";
  pointer-events: none;
  animation: join-cta-gold-pulse 2.2s ease-out infinite;
}

.join-auto-start {
  width: 320px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font: 600 0.86rem/1.4 "IBM Plex Mono", monospace;
  text-align: center;
}

.join-auto-start strong {
  display: inline-block;
  min-width: 1.2ch;
  color: #f1c75a;
  font-size: 1.6rem;
  line-height: 1;
}

@keyframes join-cta-gold-pulse {
  0%, 24% {
    opacity: 0.95;
    transform: scale(1);
  }
  72%, 100% {
    opacity: 0;
    transform: scale(1.07, 1.2);
  }
}

.join-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.2rem;
  color: #f1c75a;
  font: 700 0.68rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-trust-line span + span::before {
  content: "\00b7";
  margin-right: 1rem;
  color: #f1c75a;
}

.join-flow {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(330px, 42vw) 1fr;
  background: var(--bg);
}

.join-page.is-flowing .join-header {
  position: fixed;
  pointer-events: none;
}

.join-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #101522;
  color: #fff;
}

.join-scene-images,
.join-scene-images img,
.join-scene-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.join-scene-images img {
  opacity: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: opacity 420ms ease, transform 850ms ease;
}

.join-scene-images img.is-active {
  opacity: 1;
  transform: scale(1);
}

.join-scene-shade {
  background: rgba(8, 12, 22, 0.37);
}

.join-scene-copy {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
}

.join-scene-copy > p {
  margin: 0 0 0.65rem;
  color: #f1c75a;
  font: 700 0.68rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-signal-strip {
  display: flex;
  min-height: 44px;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.join-signal-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 4px;
  background: rgba(16, 21, 34, 0.64);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.join-workspace {
  min-width: 0;
  padding: 2rem clamp(2rem, 5vw, 5.5rem) 4rem;
  background: var(--bg);
}

.join-progress-shell {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0 0.75rem;
  max-width: 760px;
  min-height: 72px;
  margin: 0 auto;
  background: var(--bg);
}

.join-back {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.join-back.is-step-one-hidden {
  visibility: hidden;
  pointer-events: none;
}

.join-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.join-progress-copy span {
  color: var(--muted);
  font: 700 0.65rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-progress-copy strong {
  font-size: 0.76rem;
}

.join-progress-track {
  grid-column: 2;
  height: 3px;
  margin-top: 0.45rem;
  overflow: hidden;
  background: var(--line);
}

.join-progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--blue);
  transition: width 260ms ease;
}

.join-form,
.join-success,
.join-match {
  width: min(760px, 100%);
  margin: 4rem auto 0;
}

.join-step-heading {
  margin-bottom: 2rem;
}

.join-step-heading h2,
.join-success h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3.65rem;
  font-weight: 400;
  line-height: 1;
}

.join-step-heading > p:last-child,
.join-success > p:not(.eyebrow) {
  max-width: 570px;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.join-interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.join-interest-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #17202d;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.join-interest-card img,
.join-interest-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.join-interest-card img {
  object-fit: cover;
  transition: transform 320ms ease;
}

.join-interest-card::after {
  content: "";
  background: rgba(7, 10, 18, 0.35);
}

.join-interest-card > span {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
}

.join-interest-card > i {
  position: absolute;
  z-index: 3;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(16, 21, 34, 0.38);
  color: transparent;
  font-style: normal;
}

.join-interest-card:hover img,
.join-interest-card:focus-visible img {
  transform: scale(1.035);
}

.join-interest-card.is-selected {
  border-color: #f1c75a;
  box-shadow: 0 0 0 2px #f1c75a;
}

.join-interest-card.is-selected > i {
  border-color: #f1c75a;
  background: #f1c75a;
  color: #101522;
}

.join-pool-grid {
  display: grid;
  gap: 0.65rem;
}

.join-pool-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 98px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.join-pool-card:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 91, 232, 0.44);
}

.join-pool-card.is-selected {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
}

.join-pool-logo {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-strong, #fff);
}

.join-pool-logo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  background: transparent;
  transition: opacity 160ms ease;
}

.join-pool-logo img.is-loaded {
  opacity: 1;
}

.join-pool-logo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(var(--logo-angle), var(--logo-start), var(--logo-end));
  color: #fff;
  font-weight: 900;
}

.join-pool-copy {
  min-width: 0;
}

.join-pool-copy strong,
.join-pool-copy small,
.join-pool-copy p {
  display: block;
}

.join-pool-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.join-pool-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
  font: 700 0.65rem/1.25 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-pool-copy p {
  display: block;
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.38;
}

.join-pool-actions {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.join-pool-select {
  min-width: 86px;
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.join-pool-card.is-selected .join-pool-select {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.join-pool-content-link {
  margin-left: 0.15rem;
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.join-empty-state {
  padding: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
}

.join-selection-progress {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 1.25rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.join-selection-progress strong {
  flex: 0 0 auto;
  color: var(--blue);
  font: 700 0.72rem/1.4 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-selection-progress.is-ready strong {
  color: var(--green);
}

.join-step-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.join-step-actions.split {
  justify-content: space-between;
}

.join-step-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
}

.join-step-actions .button.ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.join-step-actions .button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.join-fields {
  display: grid;
  gap: 1rem;
}

.join-fields.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.join-fields .field {
  min-width: 0;
}

.join-fields .field > span:first-child {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font: 700 0.67rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-fields input,
.join-fields select,
.join-fields textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}

.join-fields textarea {
  min-height: 88px;
  resize: vertical;
}

.join-fields .field small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.join-wide-field,
.join-age-field {
  grid-column: 1 / -1;
}

.join-age-field {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.join-age-summary {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.join-age-summary strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.join-age-summary small {
  color: var(--muted);
}

.join-age-field .dual-age-input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  pointer-events: none;
}

.join-age-field .dual-age-input.is-max {
  z-index: 3;
}

.join-code-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.join-code-control input {
  border-radius: 4px 0 0 4px;
  text-transform: uppercase;
}

.join-code-control button {
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: var(--surface-strong, #fff);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.join-code-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.join-code-help {
  position: relative;
  display: inline-flex;
}

.join-code-help > button {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font: 800 0.68rem/1 Arial, sans-serif;
  cursor: help;
}

.join-code-help > button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.join-code-help [role="tooltip"] {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 9px);
  left: 0;
  width: min(260px, 72vw);
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: #101522;
  box-shadow: 0 12px 32px rgba(9, 14, 25, 0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.join-code-help:hover [role="tooltip"],
.join-code-help:focus-within [role="tooltip"] {
  opacity: 1;
  transform: translateY(0);
}

.join-form .consent-row {
  margin-top: 0.75rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.45;
}

.join-form .consent-row input {
  margin-top: 0.1rem;
}

.join-privacy-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.join-success {
  padding-top: 2rem;
}

.join-success-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
}

.join-success .button {
  display: inline-flex;
}

.join-done-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.join-starter-pack {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: 6px;
  background: #101522;
  color: #fff;
}

.join-starter-pack::after {
  position: absolute;
  right: -58px;
  bottom: -66px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(241, 199, 90, 0.35);
  border-radius: 50%;
  content: "";
}

.join-starter-pack .eyebrow {
  margin: 0;
  color: #f1c75a;
}

.join-starter-pack h3,
.join-next h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.join-starter-pack h3 {
  z-index: 1;
  color: #fff;
}

.join-starter-pack p:not(.eyebrow) {
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.55;
}

.join-starter-pack-link {
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 1.6rem;
  margin-top: 0.25rem;
  border-color: #f1c75a;
  background: #f1c75a;
  color: #101522;
}

.join-next {
  margin-top: 2rem;
}

.join-next > .eyebrow {
  margin-bottom: 0.6rem;
}

.join-next-steps {
  display: grid;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.join-next-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.join-next-steps li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 900;
}

.join-next-steps li div {
  display: grid;
  gap: 0.2rem;
}

.join-next-steps strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.join-next-steps small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.join-introduction-rule {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.8rem;
  padding: 1rem;
  border-left: 4px solid var(--red);
  background: color-mix(in srgb, var(--red) 6%, var(--surface));
}

.join-introduction-rule strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.join-introduction-rule span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.join-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin: 1.5rem 0 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.join-share > div {
  display: grid;
  gap: 0.25rem;
}

.join-share .eyebrow,
.join-share h3,
.join-share p {
  margin: 0;
}

.join-share h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.join-share p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.78rem;
}

.join-share-button {
  gap: 1.2rem;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.join-share-status {
  grid-column: 1 / -1;
  min-height: 1em;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.join-account-link {
  display: block;
  width: fit-content;
  margin-top: 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.join-match {
  padding: 2rem 0 4rem;
}

.join-match-loading {
  display: grid;
  min-height: 58vh;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.join-match-loading .eyebrow,
.join-match-heading .eyebrow,
.join-handoff .eyebrow {
  margin: 0;
  color: var(--blue);
  font: 700 0.7rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.join-match-loading h2,
.join-match-heading h2,
.join-handoff h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3.35rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.join-match-loading p:not(.eyebrow),
.join-handoff > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.join-match-pulse {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 0.5rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--red) 42%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 8%, var(--surface));
  color: var(--red);
  font-size: 1.45rem;
  animation: join-match-pulse 1.4s ease-in-out infinite;
}

@keyframes join-match-pulse {
  50% { transform: scale(1.06); box-shadow: 0 0 0 10px color-mix(in srgb, var(--red) 7%, transparent); }
}

.join-match-result {
  display: grid;
  gap: 1.4rem;
}

.join-match-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.join-match-heading > div:first-child {
  display: grid;
  gap: 0.65rem;
}

.join-match-count {
  display: grid;
  width: 112px;
  flex: 0 0 auto;
  gap: 0.45rem;
  color: var(--muted);
  font: 800 0.68rem/1.2 "IBM Plex Mono", monospace;
  text-align: right;
  text-transform: uppercase;
}

.join-match-count > span {
  height: 4px;
  overflow: hidden;
  background: var(--line);
}

.join-match-count i {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--blue);
  transition: width 240ms ease;
}

.join-sample-match {
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
}

.join-sample-match .sample-match-card {
  grid-template-columns: minmax(0, 1fr) 132px;
}

.join-sample-match .sample-match-visual {
  width: 132px;
}

.join-sample-match .match-photo-tease {
  width: 112px;
}

.join-sample-match .sample-match-copy strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 400;
}

.join-sample-match .sample-match-copy q {
  max-width: 430px;
  margin: 0.65rem 0;
  font-size: 0.9rem;
}

.join-sample-match .match-feedback {
  margin-top: 0.25rem;
}

.join-handoff {
  display: grid;
  min-height: 66vh;
  align-content: center;
  justify-items: start;
  gap: 1rem;
}

.join-handoff-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 0.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 1.4rem;
}

.join-handoff .button {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.join-handoff small {
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 1050px) {
  .join-hero-media img {
    object-position: 50% 42%;
  }

  .join-hero-copy h1 {
    font-size: 3.9rem;
  }

  .join-flow {
    grid-template-columns: minmax(280px, 36vw) 1fr;
  }

  .join-workspace {
    padding-inline: 2rem;
  }
}

@media (max-width: 980px) {
  .join-header {
    min-height: 66px;
    padding: 0.7rem 1rem;
  }

  .join-hero-copy {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    transform: translateY(12svh);
  }

  .join-hero-copy h1 {
    font-size: 3.35rem;
  }

  .join-hero-copy > p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .join-flow {
    display: block;
  }

  .join-page.is-flowing .join-header {
    position: absolute;
  }

  .join-scene {
    position: relative;
    height: 31svh;
    min-height: 230px;
  }

  .join-scene-copy {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .join-workspace {
    padding: 0 1rem 3rem;
  }

  .join-progress-shell {
    position: relative;
    min-height: 66px;
  }

  .join-form,
  .join-success,
  .join-match {
    margin-top: 2.4rem;
  }
}

@media (max-width: 560px) {
  .join-code-help [role="tooltip"] {
    left: 50%;
    transform: translate(-50%, 4px);
  }

  .join-code-help:hover [role="tooltip"],
  .join-code-help:focus-within [role="tooltip"] {
    transform: translate(-50%, 0);
  }

  .join-hero-media img {
    object-position: 52% 45%;
  }

  .join-hero-copy h1 {
    font-size: 2.85rem;
  }

  .join-hero-cta {
    width: 100%;
    min-height: 80px;
  }

  .join-auto-start {
    width: 100%;
  }

  .join-trust-line {
    gap: 0.45rem 0.65rem;
    font-size: 0.6rem;
  }

  .join-trust-line span + span::before {
    margin-right: 0.65rem;
  }

  .join-scene {
    height: 27svh;
    min-height: 205px;
  }

  .join-step-heading h2,
  .join-success h2,
  .join-match-loading h2,
  .join-match-heading h2,
  .join-handoff h2 {
    font-size: 2.65rem;
  }

  .join-interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-interest-card {
    aspect-ratio: 5 / 4;
  }

  .join-fields.two-columns {
    grid-template-columns: 1fr;
  }

  .join-pool-card {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 90px;
    gap: 0.7rem;
  }

  .join-pool-logo {
    width: 52px;
    height: 52px;
  }

  .join-pool-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    width: 100%;
  }

  .join-step-actions .button {
    min-height: 48px;
    padding-inline: 0.95rem;
  }

  .join-privacy-note {
    text-align: left;
  }

  .join-starter-pack {
    padding: 1.25rem;
  }

  .join-starter-pack h3,
  .join-next h3 {
    font-size: 1.75rem;
  }

  .join-starter-pack-link {
    width: 100%;
    justify-content: space-between;
  }

  .join-share {
    grid-template-columns: 1fr;
  }

  .join-share-button {
    width: 100%;
    justify-content: space-between;
  }

  .join-match {
    padding-top: 1.4rem;
  }

  .join-match-heading {
    align-items: start;
  }

  .join-match-count {
    width: 82px;
  }

  .join-sample-match {
    padding: 0.9rem;
  }

  .join-sample-match .sample-match-card {
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 0.75rem;
  }

  .join-sample-match .sample-match-visual {
    width: 94px;
  }

  .join-sample-match .match-photo-tease {
    width: 82px;
  }

  .join-sample-match .sample-match-copy strong {
    font-size: 1.55rem;
  }

  .join-sample-match .match-feedback-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-hero-cta::before {
    animation: none;
  }

  .join-scene-images img,
  .join-interest-card img,
  .join-progress-track span,
  .join-pool-card {
    transition: none;
  }

  .join-match-pulse {
    animation: none;
  }
}
