html {
  --base-item-width: 243;
  --br-thumbnail: 1rem;
  --aspect-ratio-cam-tile: 1;
  --gallery-cols-gap: 0.7rem;
  --gallery-rows-gap: 0.7rem;
  --page-pad: 1rem;
}
body {
  margin: 0;
  background: #040404;
  color: #fff;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas:
    "header header"
    "top top"
    "sidebar main"
    "sidebar footer";
  min-height: 100vh;
  background: #040404;
}
.page__header { grid-area: header; }
.page__top { grid-area: top; }
.page__sidebar { grid-area: sidebar; }
.main { grid-area: main; min-width: 0; padding: 0 1rem 2rem; }
.page__footer { grid-area: footer; }

.header__main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 4.3rem;
  padding: 0 1.25rem;
}
.header__toggler { display: none; }
.header__toggler button { background: none; border: 0; color: #fff; padding: 0; cursor: pointer; }
.header__help { display: none; }
.header__logo { display: flex; align-items: center; }
.header__logo svg { width: 154px; height: 43px; }
.header__navigation {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}
.navigation__btn {
  border: 0;
  border-radius: 0.67rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  height: 2.65rem;
  padding: 0 1.05rem;
  cursor: pointer;
}
.navigation__btn--secondary { background: #808080; }
.navigation__btn--primary { background: #d652ae; }

.live-list-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 1.25rem 0.9rem;
}
.m-auth { display: none; }
.nav-filter { display: none; }
.live-list-nav__section { display: flex; align-items: center; gap: 0.5rem; }
.live-list-nav__cta { flex: none; }
.live-list-nav__cta {
  display: flex;
  align-items: center;
  height: 2.15rem;
  padding: 0 1rem;
  border-radius: 0.67rem;
  background: #2f2e2e;
  color: #d2d2d2;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.live-list-nav__cta--active { background: #8c527a; color: #fff; }
.searchbox-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: min(32vw, 28rem);
  height: 2.15rem;
  padding: 0 0.85rem;
  border-radius: 0.67rem;
  background: #1a1a1a;
  color: #cfcfcf;
}
.searchbox-control__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.searchbox-control__input::placeholder { color: #9a9a9a; }

.exclusive-offer-banner {
  background: #5a1ec2;
  color: #fff;
  border-radius: 0.5rem;
  margin: 0 0 1rem;
}
.exclusive-offer-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0 1.4rem;
}
.exclusive-offer-banner__text { margin: 0; font-size: 0.95rem; }
.exclusive-offer-banner__item:last-child { justify-self: end; }
.onmobileonly { display: none; }
.exclusive-offer-banner__cta {
  background: #ff3cc0;
  color: #fff;
  border: 0;
  border-radius: 0.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.page__sidebar { padding: 0.35rem 1rem 2rem 1.15rem; }
.side-heading { margin: 1rem 0 0.35rem; font-size: 1rem; font-weight: 700; }
.side-link.is-on { color: #fff; }
.side-langs { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1rem; }
.side-langs a { color: #d9d9d9; text-decoration: none; font-size: 0.92rem; }
.side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #d9d9d9;
  text-decoration: none;
  padding: 0.42rem 0.15rem;
  font-size: 0.95rem;
}
.side-link svg { flex: none; opacity: 0.9; }
.side-tabs { display: flex; gap: 0.4rem; margin: 1rem 0 0.35rem; }
.side-tab, .side-chip {
  border: 0;
  cursor: pointer;
  color: #d9d9d9;
  background: #212121;
}
.side-tab {
  border-radius: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.side-tab.is-on { background: #8c527a; color: #fff; }
.side-label { margin: 0.9rem 0 0.4rem; font-size: 0.95rem; font-weight: 700; }
.side-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.side-chip { border-radius: 0.28rem; padding: 0.22rem 0.55rem; font-size: 0.78rem; }

.cam-tile {
  --tile-fs-title: 0.78;
  --tile-fs-info: 0.7;
  --tile-fw-title: 600;
  --tile-info-pad-y: 0.4;
  --tile-info-pad-x: 0.5;
  cursor: pointer;
}
.cam-tile__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cam-tile__flag {
  width: 18px !important;
  height: 10px !important;
  flex: none;
  object-fit: cover;
}
.content-gallery--live-listing { --cols: 2; }
.content-pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0 1.5rem;
}
.content-pagination__item {
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0.67rem;
  background: #2f2e2e;
  color: #fff;
  cursor: pointer;
}
.content-pagination__item--active { background: #8c527a; }

.page__footer { padding: 1.6rem 1rem 6rem; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.foot-grid h3 { margin: 0 0 0.7rem; font-size: 1rem; }
.foot-grid a, .foot-legal a { display: block; color: #cfcfcf; text-decoration: none; font-size: 0.92rem; padding: 0.22rem 0; }
.foot-legal { color: #9a9a9a; font-size: 0.82rem; margin: 1.2rem 0 0; max-width: 46rem; }
.m-tabs { display: none; }

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 0.9rem;
  border-radius: 0.67rem;
  background: rgba(29, 29, 29, 0.94);
  color: #fff;
  font-size: 0.9rem;
}
.cookie-consent a { color: #fff; }
.cookie-consent__actions { display: flex; gap: 0.45rem; flex: none; }
.cookie-consent__action {
  border: 0;
  border-radius: 0.5rem;
  color: #fff;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.cookie-consent__action--manage { background: #3a3a3a; }
.cookie-consent__action--accept { background: #d652ae; font-weight: 700; }

@media (min-width: 1100px) {
  .content-gallery--live-listing { --cols: 4; }
}
@media (min-width: 1400px) {
  .content-gallery--live-listing { --cols: 5; }
}
@media (min-width: 1700px) {
  .content-gallery--live-listing { --cols: 6; }
}
@media (max-width: 980px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "top" "main" "footer";
  }
  .page__sidebar { display: none; }
  .header__main {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    height: 3.4rem;
    padding: 0 0.55rem;
    gap: 0;
  }
  .header__toggler { display: flex; align-items: center; }
  .header__logo { justify-content: center; }
  .header__logo svg { width: 124px; height: 34px; }
  .header__help {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 1px solid #555;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-weight: 700;
  }
  .header__navigation { display: none; }
  .m-auth { display: flex; gap: 0.55rem; padding: 0.15rem 0.7rem 0.45rem; }
  .m-auth .navigation__btn { flex: 1; height: 2.5rem; border-radius: 0.7rem; }
  .live-list-nav { flex-wrap: wrap; gap: 0.45rem; padding: 0.2rem 0.7rem 0.55rem; }
  .live-list-nav__section:first-child { width: 100%; overflow-x: auto; }
  .nav-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    margin-left: auto;
    border: 0;
    border-radius: 0.55rem;
    background: #2f2e2e;
    color: #fff;
    flex: none;
  }
  .live-list-nav__section--search, .searchbox, .searchbox-control { width: 100%; }
  .exclusive-offer-banner__inner { grid-template-columns: 1fr auto; min-height: 3.2rem; padding: 0.45rem 0.7rem; }
  .exclusive-offer-banner__text { font-size: 0.78rem; }
  .hideontablet { display: none; }
  .onmobileonly { display: block; font-size: 0.75rem; margin-top: 0.15rem; }
  .main { padding-left: 0.7rem; padding-right: 0.7rem; }
  .content-gallery--live-listing { --cols: 2; }
  .foot-grid { grid-template-columns: 1fr; }
  .cookie-consent { bottom: 4.5rem; flex-direction: column; align-items: stretch; text-align: center; width: calc(100% - 1.2rem); }
  .m-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #141414;
    border-top: 1px solid #2a2a2a;
    padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom));
  }
  .m-tabs a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.68rem;
  }
  .m-tabs a.is-on { color: #ff4fd8; }
  .page__footer { padding-bottom: 8rem; }
}
