.cookie-consent[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 2147483000;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  width: min(560px, calc(100vw - 28px));
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: #111820;
  color: #f5f7f8;
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent * { box-sizing: border-box; }
.cookie-consent h2 { margin: 0 0 8px; color: #fff; font: inherit; font-size: 20px; font-weight: 700; line-height: 1.25; }
.cookie-consent p { margin: 0 0 18px; color: #c8d0d6; }
.cookie-consent a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-consent button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.cookie-consent button:hover { border-color: #fff; }
.cookie-consent button[data-cookie-accept],
.cookie-consent button[data-cookie-save] { border-color: #fc4c01; background: #fc4c01; }
.cookie-consent__settings { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.cookie-consent__category { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.cookie-consent__category b { display: block; margin-bottom: 3px; color: #fff; }
.cookie-consent__category small { display: block; color: #9eabb4; font-size: 12px; }
.cookie-consent__category input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #fc4c01; }
.cookie-consent__details { margin: -4px 0 18px; color: #c8d0d6; }
.cookie-consent__details summary { color: #fff; cursor: pointer; }
.cookie-consent__details p { margin: 10px 0 0; font-size: 12px; }
.cookie-consent__details code { color: #fff; }

@media (max-width: 520px) {
  .cookie-consent { padding: 20px; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-consent button { width: 100%; }
}
