.consent-panel[hidden], .consent-panel [hidden] { display: none !important; }
.consent-panel {
  position: fixed;
  z-index: 50;
  inset: auto 20px 20px;
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  box-sizing: border-box;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 26px 30px;
  border: 1px solid #9bddff66;
  border-radius: 18px;
  background: #0b1620;
  color: #edf6fa;
  box-shadow: 0 14px 60px #0009;
  font-size: 15px;
  line-height: 1.6;
}
body.modal-open .consent-panel { visibility: hidden; }
.consent-panel h2 { margin: 0 42px 10px 0; font-size: 24px; line-height: 1.2; }
.consent-panel p { margin: 0 0 14px; }
.consent-panel a { color: #bceaff; text-decoration: underline; text-underline-offset: 3px; }
.consent-panel a:focus-visible, .consent-panel button:focus-visible,
.consent-panel input:focus-visible { outline: 3px solid #bceaff; outline-offset: 4px; }
.consent-links, .consent-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.consent-links { gap: 20px; margin-bottom: 18px; }
.consent-panel button {
  appearance: none;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid #9bddff77;
  border-radius: 9px;
  background: #132a3b;
  color: #edf6fa;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.consent-panel button:hover { background: #23435a; border-color: #bceaff; }
.consent-actions [data-consent-accept], .consent-actions [data-consent-reject] {
  flex: 1 1 175px;
  background: #183649;
  border-color: #9bddff;
}
.consent-actions [data-consent-accept]:hover, .consent-actions [data-consent-reject]:hover { background: #28516a; }
.consent-links button { padding: 0; min-height: 32px; border: 0; border-radius: 0; background: none; color: #bceaff; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; font-weight: 400; }
.consent-links button:hover { background: none; }
.consent-panel .consent-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border: 0; background: none; font-size: 28px; }
.consent-details { display: grid; gap: 12px; margin: 0 0 20px; }
.consent-choice { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px; border: 1px solid #9bddff33; border-radius: 10px; }
.consent-choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #9bddff; }
.consent-choice small { display: block; color: #b7c9d4; font-size: 13px; line-height: 1.5; }
.consent-details > p { color: #b7c9d4; font-size: 13px; }
.consent-panel [data-consent-save] { flex: 1 1 175px; }
@media (max-width: 600px) {
  .consent-panel { inset: auto 10px 10px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px; border-radius: 14px; font-size: 14px; }
  .consent-panel h2 { font-size: 22px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .consent-actions button { width: 100%; }
}

.legal-settings-button { padding: 0; border: 0; background: none; color: #bceaff; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-noscript { padding: 20px; color: white; background: #0b1620; text-align: center; }
