@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=block");

html,
body {
  margin: 0;
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.brand-mark {
  font-family: "Pacifico";
  line-height: 0.95;
}

.brand-lockup {
  width: fit-content;
}

.brand-title {
  font-size: 3rem;
  display: inline-block;
  transform: translateX(var(--brand-optical-shift, 0px));
}

.sticky-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sticky-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(
      118deg,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 0.05) 43%,
      rgba(255, 255, 255, 0.24) 50%,
      rgba(255, 255, 255, 0.05) 57%,
      rgba(255, 255, 255, 0) 66%
    )
    220% 50% / 260% 260% no-repeat;
  opacity: 0.62;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: sticky-border-sheen 10s ease-in-out infinite;
  will-change: background-position;
}

.sticky-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#sticky-header-top-row {
  align-items: center;
}

@keyframes sticky-border-sheen {
  0%,
  36% {
    background-position: 220% 50%;
  }
  64% {
    background-position: 42% 50%;
  }
  100% {
    background-position: -120% 50%;
  }
}

.calendar-nav-content {
  margin-top: 1rem;
  max-height: 240px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: margin-top 220ms ease, max-height 220ms ease, opacity 180ms ease,
    transform 220ms ease;
}

#sticky-header.is-condensed .calendar-nav-content {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (min-width: 641px) {
  #sticky-header {
    padding-top: 0.75rem;
    padding-bottom: 0.45rem;
  }

  #sticky-header .sticky-shell {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  #sticky-header.is-condensed {
    padding-top: 0.75rem;
    padding-bottom: 0.45rem;
  }

  #sticky-header.is-condensed .sticky-shell {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}

.sfw-expand {
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
}

#prev-year:disabled,
#next-year:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#prev-year:disabled:hover,
#next-year:disabled:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.legal-content {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.legal-content h2 {
  margin: 0 0 1.35rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.04;
}

.legal-content h3 {
  margin: 2rem 0 0.7rem;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
}

.legal-content a,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 160ms ease;
}

.legal-content a:hover,
.site-footer a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-shell::before {
    animation: none;
    opacity: 0.42;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  #sticky-header {
    padding: 0.625rem 0.625rem 0.75rem;
  }

  .sticky-shell {
    border-radius: 1.2rem;
    padding: 0.75rem;
  }

  #sticky-header-top-row {
    align-items: center;
    gap: 0.4rem;
  }

  .brand-title {
    font-size: clamp(1.85rem, 10.6vw, 2.5rem);
  }

  #brand-subtitle {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    line-height: 1.1;
  }

  #date-helper-label {
    font-size: clamp(0.92rem, 2.6vw, 1rem);
  }

  #year-nav-row {
    gap: 0.5rem;
  }

  #year-value {
    min-width: 4.05rem !important;
    font-size: clamp(2rem, 5.6vw, 2.35rem) !important;
  }

  #prev-year,
  #next-year {
    height: 3rem !important;
    width: 3rem !important;
  }

  #sticky-header.is-condensed .sticky-shell {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  #sticky-header.is-condensed .brand-title {
    font-size: clamp(1.95rem, 11vw, 2.3rem);
  }

  #sticky-header.is-condensed #brand-subtitle,
  #sticky-header.is-condensed #date-helper-label {
    display: none;
  }

  #sticky-header.is-condensed #year-value {
    font-size: clamp(1.95rem, 5.2vw, 2.2rem) !important;
    min-width: 4rem !important;
  }

  #sticky-header.is-condensed #prev-year,
  #sticky-header.is-condensed #next-year {
    height: 2.45rem !important;
    width: 2.45rem !important;
  }

  main.mx-auto.max-w-screen-2xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 1.9rem !important;
  }

  #platform-filters {
    flex-wrap: nowrap !important;
    gap: 0.45rem !important;
    width: 100%;
  }

  #platform-filters > button {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 2.9rem;
    padding: 0.56rem 0.5rem !important;
    font-size: 0.92rem !important;
    white-space: nowrap;
  }

  #video-grid {
    column-gap: 0.75rem !important;
    row-gap: 1.8rem !important;
  }
}

@media (max-width: 390px) {
  .brand-title {
    font-size: clamp(1.62rem, 9vw, 2rem);
  }

  #brand-subtitle {
    font-size: 0.76rem;
  }

  #date-helper-label {
    font-size: 0.9rem;
  }

  #year-value {
    min-width: 3.7rem !important;
    font-size: clamp(1.9rem, 8.9vw, 2.2rem) !important;
  }

  #sticky-header.is-condensed #year-value {
    min-width: 3.7rem !important;
    font-size: clamp(1.9rem, 8.9vw, 2.2rem) !important;
  }

  #prev-year,
  #next-year {
    height: 2.5rem !important;
    width: 2.5rem !important;
  }

  #platform-filters > button {
    font-size: 0.84rem !important;
    padding: 0.5rem 0.38rem !important;
  }
}
