/* Gamenora cookie-consent skin. Load after the plugin's CSS.
   Presentation only: retains the original markup, text, buttons and consent handlers.
   Do not force a display value: the plugin controls showing and hiding the banner. */
html body #cookieConsentBanner {
  --cookie-panel: #262653;
  --cookie-text: #f5f4ff;
  --cookie-muted: #d1d0e5;
  --cookie-accent: #6758fa;
  position: fixed;
  z-index: 1300 !important; /* Override the plugin's inline z-index: 10. */
  top: auto;
  right: auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 980px;
  margin: 0;
  padding: 22px 24px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  background: var(--cookie-panel);
  color: var(--cookie-text);
  border: 1px solid rgba(169,159,255,.35);
  border-top: 2px solid #8c58fa;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(8,6,28,.5), 0 0 0 1px rgba(255,255,255,.025) inset;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.7;
}
html body #cookieConsentBanner,
html body #cookieConsentBanner * { box-sizing: border-box; }
html body #cookieConsentBanner .cookie-consent-msg {
  position: relative;
  flex: 1 1 390px;
  min-width: 0;
  min-height: 42px;
  width: auto;
  margin: 0;
  padding: 0 0 0 58px;
  color: var(--cookie-muted);
  text-align: start;
  overflow-wrap: anywhere;
}
html body #cookieConsentBanner .cookie-consent-msg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(169,159,255,.25);
  border-radius: 12px;
  background-color: #151436;
  background-position: center;
  background-size: 25px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23b6aaff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M27 17a11 11 0 1 1-12-12 6 6 0 0 0 6 6 6 6 0 0 0 6 6Z'/%3E%3Ccircle cx='11' cy='13' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Ccircle cx='10' cy='21' r='1'/%3E%3Ccircle cx='16' cy='17' r='1'/%3E%3C/svg%3E");
}
html body #cookieConsentBanner .cookie-consent-msg a {
  color: #c2b8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body #cookieConsentBanner .cookie-consent-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: auto;
  margin: 0;
  text-align: start;
}
html body #cookieConsentBanner .cookie-consent-actions button {
  min-width: 112px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid rgba(169,159,255,.5);
  border-radius: 11px;
  box-shadow: none;
  color: var(--cookie-text);
  font: 600 12px/1.5 'Poppins', system-ui, sans-serif;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
html body #cookieConsentBanner #acceptCookies {
  background: linear-gradient(135deg, #6758fa, #8c58fa);
  border-color: #8c58fa;
}
html body #cookieConsentBanner #declineCookies {
  background: #151436;
}
html body #cookieConsentBanner .cookie-consent-actions button:hover {
  border-color: #c2b8ff;
  box-shadow: 0 0 0 2px rgba(169,159,255,.15);
}
html body #cookieConsentBanner :is(button,a):focus-visible {
  outline: 3px solid #c2b8ff;
  outline-offset: 4px;
}
html[dir='rtl'] body #cookieConsentBanner .cookie-consent-msg { padding: 0 58px 0 0; }
html[dir='rtl'] body #cookieConsentBanner .cookie-consent-msg::before { left: auto; right: 0; }
@media (max-width: 720px) {
  html body #cookieConsentBanner {
    width: calc(100% - 24px);
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 18px;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }
  html body #cookieConsentBanner .cookie-consent-msg { flex: none; width: 100%; }
  html body #cookieConsentBanner .cookie-consent-actions { flex: none; width: 100%; }
  html body #cookieConsentBanner .cookie-consent-actions button { flex: 1 1 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #cookieConsentBanner .cookie-consent-actions button { transition: none; }
}
