.cookie-panel {
  position: fixed;
  z-index: 120;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  overflow-y: auto;
  padding: 20px 24px;
  border: 1px solid var(--line, #332d40);
  border-top: 3px solid var(--brand, #6f5cff);
  border-radius: 16px;
  background: var(--panel, #15121e);
  color: var(--ink);
  box-shadow: 0 20px 60px #0008;
}
.cookie-panel[hidden] { display: none; }
.cookie-panel h2 { margin: 0 0 7px; font-size: 17px; line-height: 1.3; letter-spacing: normal; }
.cookie-panel p { margin: 0; font-size: 13px; line-height: 1.6; }
.cookie-panel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions button {
  min-width: 90px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink, #f5f2ff);
  border-radius: 10px;
  background: var(--panel-2, #1c1826);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.cookie-actions button[hidden] { display: none; }
.cookie-actions button:hover { border-color: var(--brand, #6f5cff); background: var(--ink, #f5f2ff); color: var(--void, #0a0912); }
.cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-panel :focus-visible, .cookie-settings:focus-visible { outline: 2px solid var(--brand, #6f5cff); outline-offset: 4px; }
@media (max-width: 760px) {
  .cookie-panel { inset: auto 10px 10px; padding: 16px; flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions button { flex: 1; }
}
