.analytics-consent-layer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  align-items: end;
  padding: 18px;
  background: rgba(2, 10, 24, .56);
  backdrop-filter: blur(5px);
}

.analytics-consent-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  color: #f7f9ff;
  background: linear-gradient(145deg, #10294f, #091b37);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
  font-family: "Noto Sans", Arial, Helvetica, sans-serif;
}

.analytics-consent-panel h2 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(21px, 4vw, 27px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.analytics-consent-panel p {
  margin: 0;
  color: #c4d3e7;
  font-size: 14px;
  line-height: 1.65;
}

.analytics-consent-panel strong { color: #fff; }
.analytics-consent-panel a { color: #9df5eb; }

.analytics-consent-status {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #bffff7;
  background: rgba(84, 226, 210, .1);
  border: 1px solid rgba(84, 226, 210, .22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.analytics-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.analytics-consent-actions button {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(157, 245, 235, .34);
  border-radius: 13px;
  font: 800 13px/1.3 "Noto Sans", Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.analytics-consent-essential,
.analytics-consent-accept,
.analytics-consent-off {
  color: #f2f8ff;
  background: rgba(17, 48, 86, .94);
}

.analytics-consent-actions button:hover,
.analytics-consent-actions button:focus-visible {
  border-color: #9df5eb;
  background: rgba(31, 76, 123, .98);
  outline: 3px solid rgba(157, 245, 235, .18);
  outline-offset: 2px;
}

.analytics-settings-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 620px) {
  .analytics-consent-layer { padding: 10px; }
  .analytics-consent-panel { padding: 18px; border-radius: 18px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr; }
  .analytics-consent-actions button { width: 100%; }
}

@media print {
  .analytics-consent-layer { display: none !important; }
}
