.analytics-consent {
  position: fixed;
  z-index: 10000;
  inset: auto 18px 18px;
  margin-inline: auto;
  max-width: 1080px;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  color: #25231f;
  background: #fffdf8;
  border: 1px solid #b5904f;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(14, 44, 34, .15);
  font: 14px/1.6 'Manrope', 'Microsoft YaHei', sans-serif;
}
.analytics-consent[hidden], .analytics-consent [hidden] { display: none !important; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent strong { color: #123f30; font-size: 16px; }
.analytics-consent p { margin: 6px 0; }
.analytics-consent a { color: #123f30; text-decoration: underline; font-size: 12px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 180px; flex-shrink: 0; }
.analytics-consent button {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #123f30;
  border-radius: 2px;
  color: #123f30;
  background: #fffdf8;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.analytics-consent button:hover { background: #e5ebe3; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #b5904f; outline-offset: 3px; }
.analytics-settings { display: block; min-height: 44px; margin-top: 8px; padding: 8px 0; background: transparent; border: 0; color: #ead8b2; text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .analytics-consent { inset: auto 10px 10px; max-height: calc(100dvh - 20px); padding: 18px; flex-direction: column; align-items: stretch; gap: 12px; font-size: 13px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-actions button { flex: 1 1 40%; width: auto; padding-inline: 8px; }
}
