/* CookieYes overrides for play.coinzilla.com only (coinzilla.com shares the
   same CookieYes banner config but not this file). Loaded by every page. */

/* CookieYes banner/preference centre inherit body's pixel font and become
   unreadable - give every cky-* element a normal system font instead. Only
   affects this site: coinzilla.com loads its own CSS. */
[class^="cky-"],
[class*=" cky-"],
[class^="cky-"] *,
[class*=" cky-"] * {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: normal !important;
}

/* CookieYes is configured as a full-width bottom bar in the dashboard (shared
   with coinzilla.com; the live markup uses .cky-classic-bottom, older/other
   layouts .cky-banner-bottom). On this site only, reshape it into a box in the
   bottom-left corner. If CookieYes changes its markup, this falls back to the
   plain bar. */
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) {
  left: 24px !important;
  right: auto !important;
  bottom: 24px !important;
  width: 440px !important;
  max-width: calc(100vw - 48px) !important;
}
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) .cky-consent-bar {
  border-radius: 8px !important;
  padding: 20px 24px !important;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) .cky-notice-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) .cky-notice-des {
  margin: 0 !important;
  padding: 0 !important;
}
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) .cky-notice-btn-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}
.cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) .cky-notice-btn-wrapper .cky-btn {
  flex: 1 1 auto;
  margin: 0 !important;
}
@media (max-width: 576px) {
  .cky-consent-container:is(.cky-classic-bottom, .cky-banner-bottom) {
    left: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    right: 12px !important;
    max-width: none !important;
  }
}
