.advisory-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 100;
  font: 1rem/1.5 system-ui, sans-serif;
  color: #26163e;
}
.advisory-widget summary {
  width: max-content;
  margin-left: auto;
  padding: .65rem 1rem;
  border: 2px solid #e5c565;
  border-radius: 2rem;
  background: #321956;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.advisory-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .65rem);
  width: min(22rem, calc(100vw - 2.5rem));
  max-height: min(32rem, calc(100dvh - 6rem));
  overflow: auto;
  box-sizing: border-box;
  padding: 1rem;
  border: 2px solid #e5c565;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .5rem 2rem #26163e40;
}
.advisory-widget-panel h2 { margin: 0 0 .25rem; color: inherit; font: 700 1.25rem/1.3 system-ui, sans-serif; }
.advisory-widget-panel p { margin: .5rem 0; color: inherit; }
.advisory-widget-options { display: grid; gap: .5rem; margin: .75rem 0; }
.advisory-widget-options button {
  min-height: 2.75rem;
  padding: .5rem .65rem;
  border: 1px solid #735a90;
  border-radius: .5rem;
  background: #f6f0ff;
  color: #321956;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.advisory-widget-options button[aria-pressed="true"] { background: #321956; color: #fff; }
.advisory-widget a { color: #50247c; font-weight: 700; text-decoration: underline; }
.advisory-widget :focus-visible { outline: 3px solid #886100; outline-offset: 2px; }
