.cookie-panel {
  position: fixed;
  z-index: 40;
  inset: auto 18px 18px auto;
  width: min(460px, calc(100% - 36px));
  box-sizing: border-box;
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: clamp(17px, 4vw, 25px);
  border: 1px solid #4a5777;
  border-radius: 22px;
  background: #151923;
  color: #f0f2fa;
  box-shadow: 0 14px 55px #02030a99;
  font-family: "DM Sans", system-ui, sans-serif;
}
.cookie-panel[hidden], .cookie-panel [hidden] { display: none; }
.cookie-panel h2 { margin: 0; font-size: 23px; line-height: 1.2; }
.cookie-panel p { margin: 8px 0; font-size: 14px; line-height: 1.5; color: #c2cbdf; }
.cookie-panel .cookie-status:empty { display: none; }
.cookie-panel a { color: #c9d5ff; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions button {
  flex: 1 0 auto;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #62759f;
  border-radius: 50px;
  background: #252f47;
  color: #edf2ff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.cookie-actions button:hover { background: #354469; }
.cookie-panel :focus-visible { outline: 2px solid #a2b6ff; outline-offset: 3px; }
