#analytics-choice[hidden], [data-analytics-settings][hidden] { display: none !important; }

#analytics-choice {
  box-sizing: border-box;
  position: fixed;
  z-index: 70;
  inset: auto 0 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #ffffff34;
  border-radius: 0;
  background: rgba(20, 38, 51, .90);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 -3px 18px #122c4029;
  font-size: 0.9375rem;
  line-height: 1.45;
}
#analytics-choice .cookie-inner {
  box-sizing: border-box;
  max-width: 1600px;
  margin-inline: auto;
  padding: 17px max(28px, env(safe-area-inset-right)) calc(17px + env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 28px;
}
#analytics-choice h2 { margin: 0 0 4px; color: inherit; font-size: 1rem; line-height: 1.25; letter-spacing: normal; }
#analytics-choice p { margin: 0; color: #f1f5f7; font-size: inherit; line-height: inherit; }
#analytics-choice a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
#analytics-choice .analytics-actions { display: grid; grid-template-columns: repeat(2, minmax(112px, 1fr)); gap: 10px; }
#analytics-choice button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #dae4ec;
  border-radius: 5px;
  background: #ffffff14;
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}
#analytics-choice button:hover { background: #ffffff30; }
#analytics-choice :focus-visible { outline: 2px solid #b7ddfa; outline-offset: 3px; }
.site-footer button[data-analytics-settings] {
  padding: 3px 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
body:has(#analytics-choice:not([hidden])) { padding-bottom: var(--jl-analytics-offset, 0px); }

@media (max-width: 680px) {
  #analytics-choice .cookie-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 13px max(16px, env(safe-area-inset-right)) calc(13px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  #analytics-choice .analytics-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #analytics-choice button { padding-inline: 6px; }
}
#analytics-choice [role="status"]:empty { display: none; }
#analytics-choice [role="status"] { grid-column: 1 / -1; }
