/* Scoped additions only. No body/html class and no changes to the captured theme. */
#libar-consent[hidden] { display: none !important; }
#libar-consent {
  position: fixed;
  z-index: 100000;
  right: 84px;
  bottom: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: calc(100% - 100px);
  max-width: 660px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
  padding: 14px 16px;
  color: #444444;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-top: 3px solid #d62d1c;
  border-radius: 3px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .18);
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
#libar-consent h2 { margin: 0 0 5px; font-family: 'Josefin Sans', serif; font-size: 19px; line-height: 1.2; }
#libar-consent p { margin: 0 0 9px; }
#libar-consent a { color: #444444; text-decoration: underline; }
#libar-consent .libar-consent-actions { display: flex; gap: 8px; }
#libar-consent button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d62d1c;
  border-radius: 2px;
  background: #ffffff;
  color: #a52215;
  box-shadow: none;
  text-shadow: none;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
#libar-consent button:hover { color: #ffffff; background: #a52215; border-color: #a52215; }
#libar-consent a:focus, #libar-consent button:focus, #libar-legal a:focus { outline: 2px solid #a52215; outline-offset: 2px; }
#libar-legal { display: inline; margin-left: 12px; font: inherit; font-size: 12px; line-height: 0; white-space: nowrap; }
#libar-legal a { color: inherit; font: inherit; text-decoration: none; }
#libar-legal a:hover { text-decoration: underline; }
