:root {
  --vkpush-radius: 8px;
  --vkpush-soft-bg: #f6f8fb;
  --vkpush-ink: #182433;
  --vkpush-muted: #5b6b7f;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vkpush-ink);
}

.vkpush-navbar {
  border-bottom: 1px solid rgba(4, 32, 69, 0.08);
}

.vkpush-navbar .container-xl {
  min-height: 64px;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  padding: 0.75rem;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(4, 32, 69, 0.12);
  border-radius: var(--vkpush-radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(4, 32, 69, 0.18);
  padding: 1rem;
  pointer-events: auto;
}

.cookie-banner__text p {
  margin: 0.25rem 0 0;
  color: var(--vkpush-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.cookie-banner__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.cookie-banner__actions .btn {
  width: 100%;
}

@media (min-width: 576px) {
  .cookie-banner__actions {
    display: flex;
  }
}

@media (min-width: 992px) {
  .cookie-banner__inner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__actions {
    margin-top: 0;
    flex: 0 0 auto;
  }
}

@media (max-width: 575.98px) {
  .navbar .container-xl {
    gap: 0.75rem;
  }

  .vkpush-navbar .navbar-nav {
    width: 100%;
    order: 2;
  }

  .vkpush-navbar .navbar-nav .btn {
    flex: 1 1 auto;
  }
}

/* --- Statistics charts (CSS bars, no JS dependency) --- */
.vkpush-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 160px;
  padding-top: 0.5rem;
}

.vkpush-bars--compact {
  height: 120px;
  gap: 2px;
}

.vkpush-bar {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.vkpush-bar__track {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: var(--vkpush-soft-bg, #f6f8fb);
  border-radius: 4px;
  overflow: hidden;
}

.vkpush-bar__fill {
  width: 100%;
  min-height: 2px;
  background: linear-gradient(180deg, #4dabf7 0%, #1c7ed6 100%);
  border-radius: 4px 4px 0 0;
}

.vkpush-bar__fill--muted {
  background: linear-gradient(180deg, #adb5bd 0%, #868e96 100%);
}

.vkpush-bar__label {
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--vkpush-muted, #5b6b7f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
