@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #f1f2ef;
  --ink: #101211;
  --muted: #686d69;
  --muted-strong: #484c49;
  --line: #d9dcda;
  --line-strong: #aeb4b0;
  --live: #029e34;
  --live-soft: #def3e4;
  --brand-red: #bb232c;
  --brand-green: #029e34;
  --danger: #bb232c;
  --error: #d43c32;
  --shadow: 0 28px 80px rgba(2, 158, 52, 0.14), 0 12px 0 rgba(187, 35, 44, 0.12);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  font-style: normal !important;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 169, 164, 0.35);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.masthead,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.main-nav a,
.day-pill,
.overline,
.site-label,
.rank-block span,
.transaction-warning,
.ledger-count,
.text-button,
.close-button,
label,
.form-note,
.checkout-summary span,
.death-time,
.death-price,
.death-killer {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

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

.day-pill,
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.day-pill {
  min-height: 38px;
  justify-self: end;
  padding: 0 13px;
  border-radius: 10px;
}

.day-pill > span:last-child {
  color: var(--live);
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 5px var(--live-soft);
  animation: live-pulse 2.2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}

.hero {
  max-width: 900px;
  margin-inline: auto;
  padding: 30px 0 4px;
  text-align: center;
}

.hero .overline,
.hero-copy {
  display: none;
}

.overline {
  margin: 0 0 16px;
  color: var(--live);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.95;
  white-space: nowrap;
}

.hero-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45;
}

.throne {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 48px;
  scroll-margin-top: 24px;
}

.throne-shell {
  position: relative;
  width: min(740px, 100%);
  min-height: 350px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.live-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  min-height: 36px;
  padding: 0 15px;
  border-color: #addbd8;
  border-radius: 10px;
  color: #027a2a;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  transform: translate(-50%, -50%);
}

.loading-state,
.ledger-empty {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.075em;
  text-align: center;
}

.loading-state {
  padding: 150px 20px;
}

.empty-state {
  padding: 55px 20px 28px;
  text-align: center;
}

.vacant-mark {
  display: block;
  color: var(--live);
  font-family: var(--mono);
  font-size: 74px;
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 1;
}

.empty-state h2 {
  margin: 22px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.045em;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
}

.empty-state .motion-button {
  width: min(320px, 100%);
  margin-inline: auto;
}

.throne-card {
  width: 100%;
}

.site-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.site-visual {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-soft);
  overflow: hidden;
}

.site-favicon {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.site-favicon[hidden],
.site-monogram[hidden] {
  display: none;
}

.site-monogram {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--ink);
  font-size: 30px;
  font-weight: 780;
  line-height: 1;
}

.site-label {
  margin: 0 0 5px;
  color: var(--muted);
}

.site-identity {
  min-width: 0;
}

.site-identity h2 {
  margin: 0 0 5px;
  overflow: hidden;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#site-url {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#site-url:hover {
  color: var(--live);
}

.rank-block {
  min-width: 88px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rank-block strong {
  color: var(--live);
  font-family: var(--mono);
  font-size: 37px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.rank-block span {
  margin-top: 7px;
  color: var(--muted);
  white-space: nowrap;
}

.site-description {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  display: none;
}

.timer-block {
  padding: 12px 0 14px;
  text-align: center;
}

.timer-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 0 16px 12px;
}

.timer-label span {
  height: 1px;
  background: var(--line);
}

.timer-label strong {
  color: #027a2a;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

#alive-time {
  display: block;
  color: #027a2a;
  font-family: var(--mono);
  font-size: clamp(48px, 7vw, 70px);
  font-variant-numeric: tabular-nums;
  font-weight: 640;
  letter-spacing: -0.08em;
  line-height: 1;
}

.site-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.motion-button,
.visit-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 170ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 170ms ease,
    background 170ms ease,
    color 170ms ease,
    border-color 170ms ease;
}

.motion-button {
  border: 1px solid var(--ink);
  cursor: pointer;
}

.motion-button:hover:not(:disabled),
.visit-link:hover {
  transform: translateY(-2px);
}

.motion-button:active:not(:disabled),
.visit-link:active {
  transform: translateY(0) scale(0.985);
}

.motion-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.motion-button--primary {
  padding: 0 24px;
  background: var(--ink);
  color: white;
  box-shadow: 0 6px 0 #bcc1be;
}

.motion-button--primary:hover:not(:disabled) {
  box-shadow: 0 9px 0 #bcc1be;
}

.motion-button--secondary {
  min-width: 310px;
  margin-top: 18px;
  padding: 0 24px;
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 0 #d9dcda;
}

.motion-button--secondary:hover:not(:disabled) {
  border-color: var(--live);
  color: #027a2a;
  box-shadow: 0 7px 0 var(--live-soft);
}

.motion-button--danger {
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-color: #008b87;
  background: var(--live);
  color: #041615;
  box-shadow: 0 6px 0 #007b77;
}

.motion-button--danger:hover:not(:disabled) {
  background: #16bbb5;
  box-shadow: 0 9px 0 #007b77;
}

.motion-button--danger strong {
  font-size: 18px;
}

.visit-link {
  min-width: 190px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted-strong);
}

.visit-link:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.transaction-warning {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
  text-transform: none;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading .overline {
  margin-bottom: 10px;
}

.section-heading h2,
.rules h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.ledger-count {
  margin: 0;
  color: var(--muted);
}

.ledger-count span {
  margin-right: 4px;
  color: var(--live);
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
}

.ledger-empty {
  margin-top: 24px;
  padding: 36px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.death-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.death-item {
  display: grid;
  grid-template-columns: 110px minmax(180px, 1fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.death-time,
.death-price,
.death-killer {
  color: var(--muted);
}

.death-site {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.death-site:hover {
  color: #007c78;
}

.death-price {
  color: var(--ink);
  font-weight: 750;
}

.death-note {
  grid-column: 2 / -1;
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.rules {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.rules ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.rules li:last-child {
  border-bottom: 1px solid var(--line);
}

.rules li span {
  color: var(--live);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 750;
}

.rules li p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.45;
}

footer {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

footer p:first-child {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.text-button,
.close-button {
  justify-self: end;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.text-button:hover,
.close-button:hover {
  color: var(--live);
}

dialog {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(21, 27, 24, 0.22);
}

dialog[open] {
  animation: modal-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

dialog::backdrop {
  background: rgba(16, 18, 17, 0.42);
  backdrop-filter: blur(5px);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

dialog form {
  padding: 30px;
}

.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dialog-heading .overline {
  margin-bottom: 8px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-strong);
}

label small {
  color: var(--muted);
  font-size: 9px;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

input::placeholder {
  color: #949995;
}

input:focus {
  border-color: var(--live);
  background: var(--surface);
}

.form-note {
  margin: 20px 0;
  color: var(--muted);
  text-transform: none;
}

.form-error {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--error);
  font-family: var(--mono);
  font-size: 11px;
}

dialog .motion-button {
  width: 100%;
}

.checkout-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.checkout-summary span {
  color: var(--muted);
}

.checkout-summary strong {
  font-family: var(--mono);
  font-size: 18px;
  text-align: right;
}

.honeypot {
  position: fixed;
  left: -10000px;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  max-width: min(440px, calc(100% - 48px));
  padding: 15px 18px;
  border: 1px solid #008b87;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .masthead,
  main,
  footer {
    width: min(100% - 28px, 680px);
  }

  .masthead {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .throne-shell {
    padding: 24px;
  }

  .site-actions {
    grid-template-columns: 1fr;
  }

  .visit-link {
    min-width: 0;
    order: 2;
  }

  .death-item {
    grid-template-columns: 95px minmax(120px, 1fr) auto;
  }

  .death-killer {
    display: none;
  }

  .rules {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 560px) {
  .masthead {
    min-height: 64px;
  }

  .day-pill {
    padding: 0 10px;
  }

  .day-pill > span:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 36px 0 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 58px);
    white-space: normal;
  }

  .throne {
    padding: 24px 0 64px;
  }

  .throne-shell {
    min-height: 360px;
    padding: 22px 16px 16px;
    border-radius: 18px;
  }

  .live-badge {
    min-height: 32px;
    padding-inline: 11px;
    white-space: nowrap;
  }

  .site-row {
    min-height: 90px;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 11px;
  }

  .site-visual {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .site-favicon {
    width: 34px;
    height: 34px;
  }

  .site-monogram {
    font-size: 24px;
  }

  .rank-block {
    grid-column: 1 / -1;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .rank-block strong {
    font-size: 25px;
  }

  .rank-block span {
    margin-top: 0;
  }

  .site-description {
    display: none;
  }

  .timer-block {
    padding: 24px 0 20px;
  }

  #alive-time {
    font-size: clamp(44px, 15.5vw, 66px);
  }

  .transaction-warning {
    max-width: 330px;
    padding-inline: 10px;
  }

  .motion-button--secondary {
    width: 100%;
    min-width: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .ledger {
    padding-bottom: 64px;
  }

  .death-item {
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
    padding: 13px;
  }

  .death-time {
    grid-column: 1;
    grid-row: 2;
  }

  .death-site {
    grid-column: 1;
    grid-row: 1;
  }

  .death-price {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .death-note {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .rules {
    padding: 64px 0;
  }

  footer {
    min-height: 130px;
    grid-template-columns: 1fr auto;
  }

  footer p:nth-child(2) {
    display: none;
  }

  dialog form {
    padding: 22px;
  }

  .dialog-heading {
    gap: 16px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
}

/* Final flat overrides */
.day-pill,
.live-stats,
.throne-shell,
.live-badge,
.site-row,
.site-visual,
.ledger,
.ledger-empty,
.death-item,
.rules,
.text-button,
.close-button,
dialog,
input,
.checkout-summary,
.toast,
.motion-button,
.visit-link {
  box-shadow: none !important;
}

.throne-shell,
.site-row,
.ledger,
.ledger-empty,
.death-item,
.rules,
dialog {
  background: var(--surface);
}

.site-visual {
  background: var(--paper);
}

.motion-button--secondary {
  min-width: 310px;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 24px;
}

.motion-button--primary,
.motion-button--secondary {
  background: var(--ink);
  color: white;
}

.motion-button--primary:hover:not(:disabled),
.motion-button--secondary:hover:not(:disabled) {
  background: #272a28;
  color: white;
}

.motion-button--danger {
  background: var(--brand-red);
  color: white;
}

.motion-button--danger:hover:not(:disabled) {
  background: #cb3039;
}

.visit-link {
  background: var(--surface-soft);
  color: var(--muted-strong);
}

.visit-link:hover {
  background: #e6e8e3;
  color: var(--ink);
}

.text-button,
.close-button {
  background: transparent;
}

@media (max-width: 560px) {
  .motion-button--secondary {
    width: 100%;
    min-width: 0;
  }
}

/* Keep leaderboard row layout after all legacy overrides. */
.site-item {
  grid-template-columns: 38px 48px minmax(0, 1fr) minmax(84px, auto) 76px;
}

@media (max-width: 720px) {
  .site-item {
    grid-template-columns: 28px 42px minmax(0, 1fr) 68px;
    gap: 10px;
  }

  .list-site-bid {
    grid-column: 3;
    text-align: left;
  }

  .list-bid-button {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

/* Bid leaderboard */
* {
  font-style: normal !important;
}

#top-bid-total {
  display: block;
  color: #027a2a;
  font-family: var(--mono);
  font-size: clamp(48px, 7vw, 70px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.site-item {
  grid-template-columns: 38px 48px minmax(0, 1fr) minmax(84px, auto) 76px;
}

.site-item--leader .site-order,
.site-item--leader .list-site-bid {
  color: var(--brand-green);
}

.list-site-bid {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.list-bid-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-red);
  color: white;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.list-bid-button:hover {
  background: #cb3039;
}

@media (max-width: 720px) {
  .site-item {
    grid-template-columns: 28px 42px minmax(0, 1fr) 68px;
    gap: 10px;
  }

  .list-site-bid {
    grid-column: 3;
    text-align: left;
  }

  .list-bid-button {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

/* Flat white-card pass */
:root {
  --paper: #f0f2ed;
}

.live-stats {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-stat {
  display: grid;
  gap: 2px;
  min-width: 74px;
  padding: 8px 0;
}

.header-stat small,
.header-stat strong {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  line-height: 1.1;
  text-align: right;
}

.header-stat small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.header-stat strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.header-stat--online {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.header-stat--online strong {
  color: var(--live);
}

.live-dot {
  box-shadow: none;
}

.site-clicks {
  display: block;
  margin-top: 5px;
  color: var(--live);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sites,
.ledger,
.rules {
  margin-top: 32px;
  padding: 48px 36px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: none;
  scroll-margin-top: 24px;
}

.sites {
  margin-top: 0;
}

.section-heading--compact h2 {
  font-size: clamp(34px, 5vw, 54px);
}

.site-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.site-item {
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
}

.site-item:nth-child(odd) {
  background: var(--surface-soft);
}

.site-order {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.list-site-visual {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
}

.list-site-favicon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.list-site-monogram {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
}

.list-site-identity {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.list-site-identity a {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-site-identity a:hover {
  color: var(--live);
}

.list-site-host,
.list-site-clicks {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
}

.list-site-clicks {
  color: var(--live);
  font-weight: 700;
  letter-spacing: 0.055em;
}

.money-input {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
}

.money-input input {
  min-height: 52px;
  padding-left: 0;
  background: transparent;
}

.day-pill,
.live-stats,
.throne-shell,
.live-badge,
.site-row,
.site-visual,
.ledger,
.ledger-empty,
.death-item,
.rules,
.text-button,
.close-button,
dialog,
input,
.checkout-summary,
.toast,
.motion-button,
.visit-link {
  box-shadow: none !important;
}

.throne-shell,
.site-row,
.ledger-empty,
.death-item,
.rules,
dialog {
  background: var(--surface);
}

.site-visual {
  background: var(--paper);
}

.motion-button:hover:not(:disabled),
.visit-link:hover {
  transform: none;
}

.motion-button--secondary {
  min-width: 310px;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 24px;
  background: var(--ink);
  color: white;
}

.motion-button--secondary:hover:not(:disabled) {
  background: #272a28;
  color: white;
}

.motion-button--primary {
  background: var(--ink);
  color: white;
}

.motion-button--danger {
  background: var(--brand-red);
  color: white;
}

.motion-button--danger:hover:not(:disabled) {
  background: #cb3039;
}

.visit-link {
  background: var(--surface-soft);
  color: var(--muted-strong);
}

.visit-link:hover {
  background: #e6e8e3;
  color: var(--ink);
}

.text-button,
.close-button {
  background: transparent;
}

@media (max-width: 820px) {
  .live-stats {
    gap: 12px;
  }

  .sites,
  .ledger,
  .rules {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .live-stats {
    gap: 8px;
  }

  .header-stat {
    min-width: 58px;
  }

  .sites,
  .ledger,
  .rules {
    padding: 36px 18px;
    border-radius: 20px;
  }

  .site-item {
    grid-template-columns: 28px 42px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 10px;
  }

  .list-site-visual {
    width: 40px;
    height: 40px;
  }

  .list-site-favicon {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Stroke-free brand pass */
*,
*::before,
*::after {
  border-width: 0 !important;
  border-style: none !important;
}

.masthead {
  border-bottom: 0;
}

.day-pill {
  background: var(--surface);
  box-shadow: 0 6px 0 var(--live-soft), 0 14px 30px rgba(2, 158, 52, 0.08);
}

.throne-shell {
  background: var(--surface);
  box-shadow:
    0 30px 80px rgba(2, 158, 52, 0.14),
    0 11px 0 rgba(187, 35, 44, 0.14);
}

.live-badge {
  background: var(--surface);
  box-shadow: 0 6px 0 var(--live-soft), 0 14px 28px rgba(2, 158, 52, 0.1);
}

.site-row {
  background: var(--surface-soft);
  box-shadow: 0 10px 28px rgba(2, 158, 52, 0.08);
}

.site-visual {
  background: var(--surface);
  box-shadow: 5px 5px 0 rgba(187, 35, 44, 0.18);
}

.timer-label {
  grid-template-columns: 1fr;
}

.timer-label span {
  display: none;
}

.motion-button {
  border: 0;
}

.motion-button--primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 7px 0 var(--brand-green), 0 16px 32px rgba(2, 158, 52, 0.16);
}

.motion-button--primary:hover:not(:disabled) {
  box-shadow: 0 11px 0 var(--brand-red), 0 20px 38px rgba(187, 35, 44, 0.17);
}

.motion-button--secondary {
  min-width: 390px;
  min-height: 66px;
  margin-top: 24px;
  padding: 0 30px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 9px 0 var(--brand-green),
    0 20px 42px rgba(2, 158, 52, 0.18);
}

.motion-button--secondary:hover:not(:disabled) {
  background: var(--ink);
  color: white;
  box-shadow:
    0 12px 0 var(--brand-red),
    0 24px 48px rgba(187, 35, 44, 0.2);
}

.motion-button--danger {
  background: var(--brand-red);
  color: white;
  box-shadow:
    0 7px 0 #6c131a,
    0 17px 36px rgba(2, 158, 52, 0.18);
}

.motion-button--danger:hover:not(:disabled) {
  background: #cb3039;
  box-shadow:
    0 10px 0 var(--brand-green),
    0 22px 42px rgba(187, 35, 44, 0.2);
}

.visit-link {
  background: var(--live-soft);
  color: #07531f;
  box-shadow: 0 6px 0 rgba(2, 158, 52, 0.2);
}

.visit-link:hover {
  background: #caedd4;
  color: #06491c;
  box-shadow: 0 9px 0 rgba(187, 35, 44, 0.18);
}

.ledger {
  padding-inline: 36px;
  border-radius: 28px;
  background: #edf5ef;
  box-shadow: 0 14px 0 rgba(2, 158, 52, 0.12);
}

.ledger-empty {
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(2, 158, 52, 0.09);
}

.death-item {
  background: var(--surface);
  box-shadow: 0 7px 18px rgba(2, 158, 52, 0.08);
}

.rules {
  margin-top: 32px;
  padding-inline: 48px;
  border-radius: 28px;
  background: #f8efef;
  box-shadow: 0 14px 0 rgba(187, 35, 44, 0.12);
}

.text-button,
.close-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--surface-soft);
  box-shadow: 0 5px 0 rgba(2, 158, 52, 0.14);
}

dialog {
  box-shadow:
    0 30px 90px rgba(21, 27, 24, 0.22),
    0 11px 0 var(--brand-green),
    -10px 9px 32px rgba(187, 35, 44, 0.16);
}

input {
  background: var(--surface-soft);
}

input:focus {
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(2, 158, 52, 0.14);
}

.checkout-summary {
  background: #edf5ef;
  box-shadow: 0 8px 24px rgba(2, 158, 52, 0.08);
}

.toast {
  box-shadow: 0 8px 0 var(--brand-green), 0 22px 50px rgba(187, 35, 44, 0.2);
}

@media (max-width: 820px) {
  .wordmark img {
    width: 146px;
  }

  .ledger,
  .rules {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .wordmark img {
    width: 128px;
  }

  .motion-button--secondary {
    width: 100%;
    min-width: 0;
  }

  .ledger,
  .rules {
    padding-inline: 18px;
    border-radius: 22px;
  }
}

/* Final flat overrides — keep this block last. */
.site-item {
  grid-template-columns: 38px 48px minmax(0, 1fr) minmax(84px, auto) 104px;
}

@media (max-width: 720px) {
  .site-item {
    grid-template-columns: 28px 42px minmax(0, 1fr) 86px;
    gap: 10px;
  }

  .list-site-bid {
    grid-column: 3;
    text-align: left;
  }

  .list-bid-button {
    grid-column: 4;
    grid-row: 1 / span 2;
    padding-inline: 8px;
    font-size: 10px;
  }
}

.site-list {
  padding: 8px;
  border-radius: 14px;
  background: var(--paper);
}

.site-item,
.site-item:nth-child(odd) {
  background: var(--surface);
}

.day-pill,
.live-stats,
.throne-shell,
.live-badge,
.site-row,
.site-visual,
.ledger,
.ledger-empty,
.death-item,
.rules,
.text-button,
.close-button,
dialog,
input,
.checkout-summary,
.toast,
.motion-button,
.visit-link {
  box-shadow: none !important;
}

.throne-shell,
.site-row,
.ledger,
.ledger-empty,
.death-item,
.rules,
dialog {
  background: var(--surface);
}

.site-visual {
  background: var(--paper);
}

.motion-button--secondary {
  min-width: 310px;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 24px;
}

.motion-button--primary,
.motion-button--secondary {
  background: var(--ink);
  color: white;
}

.motion-button--primary:hover:not(:disabled),
.motion-button--secondary:hover:not(:disabled) {
  background: #272a28;
  color: white;
}

.motion-button--danger {
  background: var(--brand-red);
  color: white;
}

.motion-button--danger:hover:not(:disabled) {
  background: #cb3039;
}

.visit-link {
  background: var(--surface-soft);
  color: var(--muted-strong);
}

.visit-link:hover {
  background: #e6e8e3;
  color: var(--ink);
}

.text-button,
.close-button {
  background: transparent;
}

@media (max-width: 560px) {
  .motion-button--secondary {
    width: 100%;
    min-width: 0;
  }
}
