.cookie-settings {
  border: 0; background: none; padding: 0; color: var(--muted);
  font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cookie-settings:hover { color: var(--accent-text); }
.cookie-panel {
  position: fixed; bottom: 16px; left: 16px; z-index: 60;
  width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 24px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lift);
  font-size: 14px; line-height: 1.6;
}
.cookie-panel[hidden], .cookie-settings[hidden], .cookie-close[hidden] { display: none; }
.cookie-panel h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.cookie-panel p { margin: 0 0 14px; color: var(--ink-2); }
.cookie-panel summary { cursor: pointer; font-weight: 600; }
.cookie-panel details p { margin-top: 10px; }
.cookie-panel details a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-panel .cookie-status { margin: 12px 0; font-size: 13px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-choice {
  flex: 1 1 180px; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--ink); border-radius: 10px;
  background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer;
}
.cookie-choice:hover { background: var(--accent-soft); }
.cookie-close {
  min-height: 44px; padding: 10px 14px; border: 0; border-radius: 10px;
  background: var(--hover); cursor: pointer;
}
@media (max-width: 440px) {
  .cookie-panel { padding: 18px; }
  .cookie-choice { flex-basis: 100%; }
}
