:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #101116;
  color: #f7f7f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(ellipse at 50% -18rem, rgb(142 20 34 / 28%), transparent 58%),
    #101116;
}

.site-header,
.site-footer {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  width: min(100% - 2.5rem, 70rem);
  min-height: 3.25rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.site-nav a,
.site-footer nav a,
.footer-link {
  color: #bfc0c7;
  font-size: 0.84rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer nav a:hover,
.footer-link:hover {
  color: #fff;
}

.site-header {
  min-height: 5rem;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #ff4655, #b80f24);
  box-shadow: 0 0.4rem 1.2rem rgb(255 41 63 / 25%);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-dot {
  color: #ff4655;
}

.header-note {
  color: #a4a5ad;
  font-size: 0.85rem;
}

#root > .min-h-screen.px-4.py-6 {
  min-height: auto;
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at 50% 0, rgb(255 70 85 / 7%), transparent 42%),
    transparent !important;
}

#root .max-w-4xl {
  max-width: 70rem;
}

#root .bg-gradient-to-r {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(118deg, #a90f26 0%, #e3223d 58%, #fb4657 100%);
}

#root .bg-gradient-to-r::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 0.8rem,
    rgb(255 255 255 / 4%) 0.8rem 1.05rem
  );
  content: "";
  pointer-events: none;
}

#root .rounded-t-xl {
  border-radius: 1.1rem 1.1rem 0 0;
}

#root .shadow-2xl {
  border: 1px solid rgb(255 255 255 / 8%);
  border-top: 0;
  border-radius: 0 0 1.1rem 1.1rem;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 32%);
}

#root .bg-white {
  background-color: #f9f9fb;
}

#root .bg-gray-50 {
  background-color: #f0f1f4;
}

#root .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: #e5e6eb;
}

#root .adsbygoogle {
  max-width: 100% !important;
  overflow: hidden;
}

.ads-disabled #root .adsbygoogle {
  display: none !important;
}

#root .adsbygoogle > div[id$="_host"],
#root .adsbygoogle iframe {
  width: 100% !important;
  max-width: 100% !important;
}

#root h1,
#root h2 {
  letter-spacing: -0.035em;
}

#root .text-red-600 {
  color: #d51f35;
}

.event-countdown {
  display: flex;
  width: fit-content;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.12rem;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  margin: 0.1rem 0 0.25rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #d51f35;
  border-radius: 0.65rem;
  background: #d51f35;
  box-shadow: 0 0.2rem 0.6rem rgb(213 31 53 / 20%);
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.event-countdown-label {
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  opacity: 0.88;
}

.event-countdown-value {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

#root .event-date {
  flex: 1 1 auto;
  min-width: 0;
  color: #72747e;
  font-size: 0.88rem;
}

#root .event-details-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

#root .event-details-grid > :nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

#root .event-details-grid > [hidden] {
  display: none !important;
}

#root button,
#root a {
  transition: transform 160ms ease, filter 160ms ease, color 160ms ease;
}

#root button:hover {
  filter: brightness(1.08);
}

#root button:focus-visible,
#root a:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible,
.consent-banner button:focus-visible,
.preferences-modal button:focus-visible {
  outline: 3px solid #ff6473;
  outline-offset: 3px;
}

.site-footer {
  min-height: 4.5rem;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: #8e9099;
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
}

.footer-link,
.inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link {
  color: #d51f35;
}

.consent-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 1rem 1.25rem !important;
  border: 1px solid rgb(255 255 255 / 12%);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: #202127 !important;
  color: #f7f7f8 !important;
  box-shadow: 0 -1rem 3rem rgb(0 0 0 / 24%) !important;
}

.consent-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.consent-banner button,
.preferences-modal button {
  margin: 0 !important;
  padding: 0.65rem 1rem !important;
  border-radius: 0.65rem !important;
  transition: filter 160ms ease, transform 160ms ease;
}

.consent-banner button:hover,
.preferences-modal button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.consent-banner .accept-btn,
.preferences-modal .accept-all-btn {
  background: #e3233d !important;
}

.consent-banner .reject-btn {
  color: #e1e1e5 !important;
}

.consent-banner .customize-btn,
.preferences-modal .save-btn {
  background: #373840 !important;
  color: #f7f7f8 !important;
}

.preferences-modal {
  border: 1px solid #45464f !important;
  border-radius: 1rem !important;
  background: #202127 !important;
  color: #f7f7f8;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 55%) !important;
}

.preferences-modal label {
  line-height: 1.5;
}

.preferences-modal p {
  margin: 0.5rem 0 1rem;
  line-height: 1.55;
}

.preferences-modal h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.preferences-modal a,
.policy-page a,
.editorial-content a {
  color: #ff6573;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preferences-modal .close-btn {
  background: transparent !important;
  color: #d6d6dc !important;
}

body.preferences-open::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgb(0 0 0 / 64%);
  content: "";
}

.editorial-content,
.policy-page {
  width: min(100% - 2.5rem, 52rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.editorial-content section,
.policy-page section {
  margin: 0 0 2.75rem;
}

.editorial-content h2,
.policy-page h1,
.policy-page h2 {
  color: #fff;
  letter-spacing: -0.035em;
}

.editorial-content h2,
.policy-page h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 750;
  line-height: 1.2;
}

.policy-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.policy-page h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.editorial-content p,
.editorial-content li,
.policy-page p,
.policy-page li {
  color: #c3c4ca;
  font-size: 1rem;
  line-height: 1.8;
}

.editorial-content p + p,
.policy-page p + p {
  margin-top: 0.9rem;
}

.editorial-content ol,
.policy-page ul {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  list-style: decimal;
}

.policy-page ul {
  list-style: disc;
}

.editorial-content li,
.policy-page li {
  padding-left: 0.25rem;
  margin: 0 0 0.65rem;
}

.editorial-content strong,
.policy-page strong {
  color: #f7f7f8;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #ff6573 !important;
  font-size: 0.75rem !important;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.page-lead {
  margin: 0 0 1.6rem;
  color: #e0e0e4 !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
}

.editorial-content details {
  padding: 1rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.editorial-content summary {
  color: #f2f2f4;
  font-weight: 650;
  cursor: pointer;
}

.editorial-content details p {
  margin-top: 0.7rem;
}

.data-note {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-left: 3px solid #e3233d;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 4%);
}

.data-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
}

.data-note p {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .site-header,
  .site-nav,
  .site-footer {
    width: calc(100% - 2rem);
  }

  .site-nav {
    min-height: 3rem;
    gap: 1.2rem;
  }

  .site-nav a,
  .site-footer nav a,
  .footer-link {
    font-size: 0.78rem;
  }

  .site-header {
    min-height: 4.25rem;
  }

  .brand {
    font-size: 0.72rem;
    letter-spacing: 0.09em;
  }

  .brand-mark {
    width: 1.8rem;
  }

  .header-note {
    max-width: 6rem;
    text-align: right;
    font-size: 0.75rem;
  }

  .site-footer {
    font-size: 0.72rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .editorial-content,
  .policy-page {
    width: calc(100% - 2rem);
  }

  .consent-banner {
    border-radius: 0.85rem 0.85rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
