.allin-rules {
  --rules-blue: #0191ff;
  --rules-blue-text: #7fc4ff;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(1, 145, 255, 0.16),
      transparent 30rem
    ),
    #000;
}

.allin-rules-prose {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.allin-rules-prose > * + * {
  margin-top: 1.5rem;
}

.allin-rules-prose h1,
.allin-rules-prose h2,
.allin-rules-prose h3,
.allin-rules-prose h4,
.allin-rules-prose h5,
.allin-rules-prose h6 {
  scroll-margin-top: 6.5rem;
  color: #fff;
  font-family: InterVariable, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  text-wrap: balance;
}

.allin-rules-prose h1,
.allin-rules-prose h2 {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.allin-rules-prose h3,
.allin-rules-prose h4,
.allin-rules-prose h5,
.allin-rules-prose h6 {
  margin-top: 2.5rem;
  font-size: 1.125rem;
}

.allin-rules-prose p,
.allin-rules-prose li {
  text-wrap: pretty;
}

.allin-rules-prose strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.allin-rules-prose em {
  color: rgba(255, 255, 255, 0.86);
}

.allin-rules-prose a {
  color: var(--rules-blue-text);
  text-decoration: underline;
  text-decoration-color: rgba(127, 196, 255, 0.4);
  text-underline-offset: 0.2em;
}

.allin-rules-prose a:hover {
  color: #fff;
  text-decoration-color: var(--rules-blue);
}

.allin-rules-prose ul,
.allin-rules-prose ol {
  padding-left: 1.4rem;
}

.allin-rules-prose ul {
  list-style: disc;
}

.allin-rules-prose ol {
  list-style: decimal;
}

.allin-rules-prose li + li {
  margin-top: 0.75rem;
}

.allin-rules-prose blockquote {
  margin-inline: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 2px solid var(--rules-blue);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

.allin-rules-prose blockquote > * + * {
  margin-top: 1rem;
}

.allin-rules-table-scroll {
  margin-block: 2rem;
  overflow-x: auto;
  white-space: nowrap;
}

.allin-rules-table-inner {
  display: inline-block;
  min-width: 100%;
  vertical-align: middle;
}

.allin-rules-prose table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.allin-rules-prose th {
  padding: 0.875rem 1rem 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.allin-rules-prose td {
  max-width: 32rem;
  padding: 0.875rem 1rem 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  hyphens: none;
  overflow-wrap: normal;
  vertical-align: top;
  white-space: normal;
  word-break: normal;
}

.allin-rules-prose table[data-rules-table="entry-schedule"] {
  width: max-content;
  min-width: 100%;
}

.allin-rules-prose table[data-rules-table="entry-schedule"] td:first-child {
  min-width: 9rem;
  white-space: nowrap;
}

.allin-rules-prose th:last-child,
.allin-rules-prose td:last-child {
  padding-right: 0;
}

@media (min-width: 640px) {
  .allin-rules-prose,
  .allin-rules-prose table {
    font-size: 0.9375rem;
  }
}

@media (max-width: 639px) {
  .allin-rules-table-scroll {
    margin-inline: -1.25rem;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .allin-rules-table-inner {
    padding-inline: 1.25rem;
  }

  .allin-rules-prose table,
  .allin-rules-prose table[data-rules-table="entry-schedule"] {
    width: var(--rules-mobile-table-width, 48rem);
    min-width: 100%;
    table-layout: fixed;
  }

  .allin-rules-prose table[data-rules-table="eligibility"] {
    --rules-mobile-table-width: 62rem;
  }

  .allin-rules-prose table[data-rules-table="eligibility"] th:nth-child(1) {
    width: 24rem;
  }

  .allin-rules-prose table[data-rules-table="eligibility"] th:nth-child(2),
  .allin-rules-prose table[data-rules-table="eligibility"] th:nth-child(3) {
    width: 19rem;
  }

  .allin-rules-prose table[data-rules-table="platforms"] {
    --rules-mobile-table-width: 42rem;
  }

  .allin-rules-prose table[data-rules-table="platforms"] th:first-child {
    width: 10rem;
  }

  .allin-rules-prose table[data-rules-table="prizes"] {
    --rules-mobile-table-width: 54rem;
  }

  .allin-rules-prose table[data-rules-table="prizes"] th:nth-child(1) {
    width: 14rem;
  }

  .allin-rules-prose table[data-rules-table="prizes"] th:nth-child(2) {
    width: 25rem;
  }

  .allin-rules-prose table[data-rules-table="prizes"] th:nth-child(3) {
    width: 15rem;
  }

  .allin-rules-prose table[data-rules-table="daily-prizes"] {
    --rules-mobile-table-width: 72rem;
  }

  .allin-rules-prose table[data-rules-table="daily-prizes"] th:nth-child(1),
  .allin-rules-prose table[data-rules-table="daily-prizes"] th:nth-child(2) {
    width: 18rem;
  }

  .allin-rules-prose table[data-rules-table="daily-prizes"] th:nth-child(3) {
    width: 24rem;
  }

  .allin-rules-prose table[data-rules-table="daily-prizes"] th:nth-child(4) {
    width: 12rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] {
    --rules-mobile-table-width: 75rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(1) {
    width: 9rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(2) {
    width: 5rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(3) {
    width: 9rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(4) {
    width: 11rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(5) {
    width: 12rem;
  }

  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(6),
  .allin-rules-prose table[data-rules-table="entry-schedule"] th:nth-child(7) {
    width: 14.5rem;
  }

  .allin-rules-prose table[data-rules-table="subscriptions"] {
    --rules-mobile-table-width: 64rem;
  }

  .allin-rules-prose table[data-rules-table="subscriptions"] th:nth-child(1) {
    width: 8rem;
  }

  .allin-rules-prose table[data-rules-table="subscriptions"] th:nth-child(2) {
    width: 10rem;
  }

  .allin-rules-prose table[data-rules-table="subscriptions"] th:nth-child(3),
  .allin-rules-prose table[data-rules-table="subscriptions"] th:nth-child(4) {
    width: 16rem;
  }

  .allin-rules-prose table[data-rules-table="subscriptions"] th:nth-child(5) {
    width: 14rem;
  }

  .allin-rules-prose table[data-rules-table="google-play"] {
    --rules-mobile-table-width: 50rem;
  }

  .allin-rules-prose table[data-rules-table="google-play"] th:nth-child(1),
  .allin-rules-prose table[data-rules-table="google-play"] th:nth-child(2) {
    width: 10rem;
  }

  .allin-rules-prose table[data-rules-table="google-play"] th:nth-child(3) {
    width: 14rem;
  }

  .allin-rules-prose table[data-rules-table="google-play"] th:nth-child(4) {
    width: 16rem;
  }

  .allin-rules-prose blockquote {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }
}

@media print {
  .allin-rules {
    background: #fff;
    color: #000;
  }

  .allin-rules header,
  .allin-rules aside,
  .allin-rules details,
  .allin-rules footer {
    display: none;
  }

  .allin-rules main > section:first-child {
    padding-block: 2rem;
  }

  .allin-rules-prose,
  .allin-rules-prose table,
  .allin-rules-prose strong,
  .allin-rules-prose em {
    color: #111;
  }

  .allin-rules-prose h1,
  .allin-rules-prose h2,
  .allin-rules-prose h3,
  .allin-rules-prose h4,
  .allin-rules-prose h5,
  .allin-rules-prose h6 {
    color: #000;
    break-after: avoid;
  }

  .allin-rules-prose blockquote {
    border-left-color: #333;
    background: #f5f5f5;
    color: #111;
  }

  .allin-rules-prose th,
  .allin-rules-prose td {
    border-bottom-color: #ccc;
  }
}
