/* Site-independent styling for opt-in analytics consent on archival patch notes. */
.analytics-consent,.analytics-consent *{box-sizing:border-box}
.analytics-consent{
  position:fixed;z-index:9998;bottom:clamp(.6rem,2vw,1.5rem);
  left:clamp(.6rem,2vw,1.5rem);right:clamp(.6rem,2vw,1.5rem);
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  width:auto;max-width:1040px;max-height:min(75vh,540px);overflow-y:auto;
  margin-inline:auto;padding:1.1rem 1.35rem;background:#0c1c2df7;
  border:1px solid #d5ae73;border-radius:13px;box-shadow:0 15px 60px #000b;
  color:#f7f1e7;font:normal 16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;
  text-align:left;
}
.analytics-consent strong{display:block;color:#f4d39a;font-size:1rem}
.analytics-consent p{margin:.3rem 0 .35rem;font-size:.88rem;line-height:1.55;color:#d3dde7}
.analytics-consent a{color:#e9d09f;text-decoration:underline;font-size:.84rem}
.analytics-consent-actions{display:flex;flex-wrap:wrap;gap:.6rem;flex-shrink:0}
.analytics-consent-actions button{
  cursor:pointer;min-height:44px;padding:.7rem 1rem;border-radius:7px;
  font-weight:700;font-size:.82rem;line-height:1.2;font-family:inherit;
  border:1px solid #e5c184;background:transparent;color:#f3deb9
}
.analytics-consent-actions [data-analytics-accept]{background:#eac38a;color:#152235}
.analytics-consent-actions button:hover{filter:brightness(1.12)}
.analytics-consent-actions button:focus-visible{outline:3px solid #6dd2f6;outline-offset:3px}
@media(max-width:760px){
 .analytics-consent{flex-direction:column;align-items:stretch;gap:.75rem}
 .analytics-consent-actions button{flex:1 1 145px}
}
