.cookie-notice {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(500px, calc(100% - 24px));
  max-height: calc(100dvh - 60px - env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px 24px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #171717;
  color: #999;
  font-size: 12px;
  line-height: 1.4;
}

.cookie-notice p { margin: 0 0 8px; }
.cookie-notice a { color: #8fd4c1; font-weight: 600; }
.cookie-notice a:hover { text-decoration: underline; }
.cookie-policy { margin-top: 32px; }
.cookie-policy a { text-decoration: underline; }
.cookie-notice-actions { margin: 0; }

.cookie-notice-actions button {
  min-height: 28px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  font-weight: 600;
  background: #61b19e;
  color: #fff;
}

.cookie-notice-actions button:hover { background: #327a69; }

@media (max-width: 700px) {
  .cookie-notice {
    bottom: calc(52px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 68px - env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .cookie-notice { padding-inline: 14px; }
}
