/* RIANOV GAMES skin for the shared cookie-consent component. */
.cookieConsent {
  --games-cookie-orange: #ff7b1a;
  --games-cookie-blue: #13bfea;
  --games-cookie-green: #2cda79;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: min(760px, calc(100% - 32px));
  border: 1px solid #ffffff24;
  border-top: 3px solid var(--games-cookie-orange);
  border-radius: 10px;
  color: #e9e5dd;
  background:
    linear-gradient(135deg, #252e38f7 0%, #171d25fa 58%, #10161dfc 100%);
  box-shadow:
    0 0 0 1px #000,
    0 24px 70px #000c,
    0 0 36px #ff7b1a1c;
  overflow: hidden;
  isolation: isolate;
}

.cookieConsent::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%);
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.cookieConsent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid #ff7b1a2b;
  border-radius: 50%;
  box-shadow: 0 0 70px #ff7b1a26;
}

.cookieConsentBar {
  height: 34px;
  padding: 0 13px;
  gap: 7px;
  border-bottom: 1px solid #ffffff17;
  background: #10161de8;
}

.cookieConsentBar i {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 1px;
  background: var(--games-cookie-orange);
  box-shadow: 0 0 10px #ff7b1a99;
}

.cookieConsentBar i:nth-child(2) {
  background: var(--games-cookie-blue);
  box-shadow: 0 0 10px #13bfea99;
}

.cookieConsentBar i:nth-child(3) {
  background: var(--games-cookie-green);
  box-shadow: 0 0 10px #2cda7999;
}

.cookieConsentBar span {
  color: #7f8790;
  font: 400 7px/1 "Press Start 2P", monospace;
  letter-spacing: .06em;
}

.cookieConsentBody {
  padding: 24px 25px 25px;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 24px 30px;
}

.cookieConsentCopy small {
  margin-bottom: 11px;
  color: var(--games-cookie-orange);
  font: 400 7px/1.55 "Press Start 2P", monospace;
  letter-spacing: .12em;
  text-shadow: 0 0 18px #ff7b1a70;
}

.cookieConsentCopy h2 {
  margin: 0 0 12px;
  color: #f5f1e9;
  font: 400 clamp(15px, 1.75vw, 21px)/1.55 "Press Start 2P", monospace;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.cookieConsentCopy p {
  max-width: 500px;
  color: #bcc1c7;
  font: 500 14px/1.6 "IBM Plex Sans", Arial, sans-serif;
}

.cookieConsentCopy a {
  margin-top: 12px;
  border-bottom: 1px solid #ff7b1a80;
  color: #ff9b50;
  font: 600 12px/1.4 "IBM Plex Sans", Arial, sans-serif;
  transition: color .2s, border-color .2s;
}

.cookieConsentCopy a:hover,
.cookieConsentCopy a:focus-visible {
  color: #fff;
  border-color: #fff;
}

.cookieConsentActions {
  width: 224px;
  gap: 11px;
}

.cookieConsentActions button {
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #ffffff2b;
  border-radius: 3px;
  box-shadow: none;
  font: 400 7px/1.6 "Press Start 2P", monospace;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}

.cookieConsentAccept {
  color: #17130f;
  background: var(--games-cookie-orange);
  border-color: var(--games-cookie-orange) !important;
  box-shadow: 0 0 22px #ff7b1a3d !important;
}

.cookieConsentNecessary {
  color: #d5d3ce;
  background: #141a21;
}

.cookieConsentActions button:hover,
.cookieConsentActions button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--games-cookie-orange);
  box-shadow: 0 10px 24px #0007;
}

.cookieConsentActions button:focus-visible {
  outline: 2px solid var(--games-cookie-blue);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .cookieConsent {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 22px);
    border-radius: 7px;
    box-shadow: 0 18px 48px #000c, 0 0 24px #ff7b1a18;
  }

  .cookieConsentBody {
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .cookieConsentCopy h2 {
    font-size: clamp(13px, 4.2vw, 17px);
    line-height: 1.55;
  }

  .cookieConsentCopy p {
    font-size: 13px;
  }

  .cookieConsentActions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .cookieConsentActions button {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .cookieConsentBar span {
    font-size: 5px;
  }

  .cookieConsentActions {
    grid-template-columns: 1fr;
  }

  .cookieConsentAccept {
    order: 1;
  }

  .cookieConsentNecessary {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookieConsentActions button:hover {
    transform: none;
  }
}
