:root {
  color-scheme: dark;
  --canvas: #09090d;
  --surface: #12121a;
  --surface-raised: #191924;
  --line: #2a2a39;
  --line-strong: #3a3a4e;
  --ink: #f6f5ff;
  --muted: #b4b2c5;
  --quiet: #838194;
  --brand: #8878ff;
  --brand-soft: #211d4b;
  --green: #58c991;
  --amber: #edbb54;
  --red: #ff7886;
  --shadow: 0 18px 60px rgb(0 0 0 / 22%);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--canvas);
}
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 80% -8%, #29205d 0, transparent 34rem), var(--canvas);
  color: var(--ink);
  font:
    400 16px/1.55 Manrope,
    ui-sans-serif,
    system-ui,
    sans-serif;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: #b3a9ff;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #b2a9ff;
  outline-offset: 3px;
}
::selection {
  background: #8878ff66;
  color: #fff;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #09090d;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(9 9 13 / 88%);
  backdrop-filter: blur(16px);
}
.site-header__inner,
.site-footer__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__inner {
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand:hover {
  color: #fff;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  inline-size: 1.9rem;
  block-size: 1.9rem;
  border: 1px solid #a89dff;
  border-radius: 0.6rem;
  background: linear-gradient(145deg, #9a8eff, #5a48c9);
  color: #fff;
  font:
    500 0.86rem/1 'DM Mono',
    monospace;
  box-shadow: 0 0 0 4px #8878ff1a;
}
.brand__section {
  padding-left: 0.6rem;
  border-left: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}
.page-content {
  width: min(1120px, calc(100% - 2rem));
  flex: 1;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.84rem;
}
.site-footer__inner {
  min-height: 5.5rem;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--muted);
  font-weight: 600;
}
.eyebrow {
  margin: 0;
  color: #afa7ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mono,
code {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.status__dot {
  inline-size: 0.45rem;
  block-size: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.status--success {
  border-color: #58c99155;
  background: #163325;
  color: #75dcaa;
}
.status--brand {
  border-color: #8878ff66;
  background: var(--brand-soft);
  color: #aea5ff;
}
.status--warning {
  border-color: #edbb5455;
  background: #382d16;
  color: #f5ca70;
}
.status--danger {
  border-color: #ff788655;
  background: #401c25;
  color: #ff9ba5;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.button--secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.button--secondary:hover {
  border-color: #706a95;
  background: var(--surface-raised);
  color: #fff;
}
.button--brand {
  background: var(--brand);
  color: #110d29;
}
.button--brand:hover {
  background: #a79dff;
  color: #110d29;
}
.button--compact {
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  font-size: 0.76rem;
}
.button[data-feedback='ok'] {
  border-color: #58c991;
  color: #b4f4d1;
}
.button[data-feedback='error'] {
  border-color: var(--red);
  color: #ffbec5;
}
.list-hero {
  max-width: 800px;
}
.list-hero h1,
.giveaway-detail h1,
.docs-heading h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}
.list-hero__intro {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgb(18 18 26 / 82%);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.trust-strip__icon {
  display: grid;
  place-items: center;
  inline-size: 1.2rem;
  block-size: 1.2rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: #b3aaff;
  font:
    700 0.72rem/1 'DM Mono',
    monospace;
}
.trust-strip__icon--ok {
  background: #163325;
  color: #88e6b9;
}
.list-section {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.section-heading,
.data-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.section-heading h2,
.data-section h2,
.audit-panel h2 {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.section-heading > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  text-decoration: none;
}
.giveaway-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.giveaway-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgb(27 27 38 / 98%), var(--surface));
  box-shadow: var(--shadow);
}
.giveaway-card__image {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.giveaway-card__body {
  min-width: 0;
  padding: 1.35rem;
}
.giveaway-card__topline,
.giveaway-detail__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.giveaway-id {
  overflow-wrap: anywhere;
  color: var(--quiet);
  font-size: 0.75rem;
}
.giveaway-card h2 {
  margin: 1rem 0 0.85rem;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.giveaway-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.giveaway-card h2 a:hover {
  color: #b6afff;
}
.giveaway-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}
.giveaway-card__facts div {
  min-width: 0;
}
.giveaway-card__facts dt,
.metric dt {
  color: var(--quiet);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.giveaway-card__facts dd,
.metric dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.commitment-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin-top: 1.2rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #0b0b11;
}
.commitment-line__content {
  min-width: 0;
  flex: 1;
}
.commitment-line code {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}
.giveaway-card__link {
  width: 100%;
  margin-top: 1rem;
}
.empty-state {
  max-width: 600px;
  margin: clamp(2rem, 8vw, 6rem) auto;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}
.empty-state h1,
.empty-state h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.empty-state p:not(.eyebrow) {
  max-width: 450px;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
}
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover {
  color: var(--ink);
}
.giveaway-detail__image {
  width: 100%;
  max-height: 27rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  object-fit: cover;
}
.giveaway-detail__header {
  max-width: 820px;
}
.giveaway-detail__description {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.participation-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 760px;
  margin: 1.4rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid #8878ff50;
  border-radius: 0.75rem;
  background: #171431;
  color: #cbc6ff;
  font-size: 0.89rem;
  font-weight: 600;
}
.participation-note span {
  color: #a99fff;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
}
.metric {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}
.metric dd {
  color: var(--ink);
  font-size: 0.95rem;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  align-items: start;
  gap: 1.25rem;
}
.detail-layout__main {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
}
.data-section {
  min-width: 0;
}
.data-section__heading {
  margin-bottom: 0.45rem;
}
.data-section__heading > span {
  display: grid;
  place-items: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font:
    500 0.8rem/1 'DM Mono',
    monospace;
}
.section-copy {
  max-width: 670px;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
}
table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  text-align: left;
}
th {
  padding: 0.8rem 1rem;
  background: var(--surface-raised);
  color: var(--quiet);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
td {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  vertical-align: middle;
}
td code {
  color: #d6d2ec;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.table-empty {
  padding: 1.8rem 1rem;
  text-align: center;
}
.table-swipe-hint {
  display: none;
  margin: 0 0 0.45rem;
  color: var(--quiet);
  font-size: 0.78rem;
}
.no-results {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}
.audit-panel {
  position: sticky;
  top: 5.7rem;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid #504a80;
  border-radius: 1rem;
  background: linear-gradient(155deg, #1b1835, var(--surface));
  box-shadow: var(--shadow);
}
.audit-panel__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}
.audit-panel__heading .status {
  flex: 0 1 auto;
  white-space: normal;
}
.audit-panel__intro,
.audit-panel__message {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.audit-value {
  display: flex;
  align-items: start;
  gap: 0.65rem;
  min-width: 0;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #0b0b11;
}
.audit-value > div {
  min-width: 0;
  flex: 1;
}
.audit-value code {
  display: block;
  margin-top: 0.3rem;
  color: #dedaf3;
  font-size: 0.75rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.audit-panel__actions {
  margin-top: 1rem;
}
.feedback {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.feedback[data-state='ok'] {
  color: #91e7bc;
}
.feedback[data-state='error'] {
  color: #ffadb6;
}
.audit-panel__details {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.audit-panel__details summary {
  min-height: 32px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}
.audit-panel__details ol {
  margin: 0.8rem 0;
  padding-left: 1.2rem;
}
.audit-panel__details li + li {
  margin-top: 0.45rem;
}
.audit-panel__details a {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 700;
}
.docs-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
.docs-heading > p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
}
.docs-prose {
  max-width: 820px;
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.docs-prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.docs-prose h2 {
  margin: 2.5rem 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.docs-prose p,
.docs-prose li {
  color: var(--muted);
}
.docs-prose p {
  margin: 1rem 0;
}
.docs-prose ol,
.docs-prose ul {
  padding-left: 1.3rem;
}
.docs-prose li + li {
  margin-top: 0.45rem;
}
.docs-prose strong {
  color: var(--ink);
}
.docs-prose code {
  padding: 0.1rem 0.32rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: #0b0b11;
  color: #dedaf3;
  font-size: 0.84em;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .giveaway-list {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .audit-panel {
    position: static;
  }
}
@media (max-width: 580px) {
  .site-header__inner,
  .site-footer__inner,
  .page-content {
    width: min(100% - 1.25rem, 1120px);
  }
  .site-header__inner {
    min-height: 4.1rem;
  }
  .brand__section {
    display: none;
  }
  .site-nav a {
    padding: 0 0.5rem;
    font-size: 0.8rem;
  }
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem 0;
  }
  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
  .trust-strip li {
    justify-content: flex-start;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading > a {
    text-align: left;
  }
  .giveaway-card__facts {
    grid-template-columns: 1fr 1fr;
  }
  .table-swipe-hint {
    display: block;
  }
  .metric {
    padding: 0.85rem;
  }
  .audit-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .audit-value {
    align-items: stretch;
    flex-direction: column;
  }
  .audit-value .button {
    align-self: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
