.jkbub-meta-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #162b4d;
  font: 400 .875rem/1.4 Geist, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: .16em;
  cursor: pointer;
}
.jkbub-meta-banner[hidden] { display: none !important; }
.jkbub-meta-banner {
  box-sizing: border-box;
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 100;
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  margin: 0;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid #d8dde0;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 10px 40px #101a2830;
  color: #111417;
  font: 400 1rem/1.5 Geist, Arial, sans-serif;
  text-align: left;
}
.jkbub-meta-banner h2 { margin: 0 0 .45rem; font: 550 1.25rem/1.25 Geist, Arial, sans-serif; }
.jkbub-meta-banner p { margin: 0; font: inherit; }
.jkbub-meta-banner a { color: #1946ad; text-decoration: underline; text-underline-offset: .16em; }
.jkbub-meta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
.jkbub-meta-actions button, .jkbub-meta-options button {
  min-height: 44px;
  padding: .45rem .6rem;
  border: 1px solid #1946ad;
  border-radius: .35rem;
  background: #fff;
  color: #1946ad;
  font: 500 .875rem/1.25 Geist, Arial, sans-serif;
  cursor: pointer;
}
.jkbub-meta-actions button:hover, .jkbub-meta-options button:hover { background: #f0f4fc; }
.jkbub-meta-actions button:focus-visible, .jkbub-meta-options :is(summary, button, input):focus-visible, .jkbub-meta-settings:focus-visible {
  outline: 2px solid #1946ad;
  outline-offset: 3px;
}

.jkbub-meta-options { margin-top: .7rem; }
.jkbub-meta-options summary { width: fit-content; padding: .45rem 0; color: #1946ad; cursor: pointer; }
.jkbub-meta-options label { display: flex; min-height: 44px; align-items: center; gap: .65rem; }
.jkbub-meta-options input { width: 1.15rem; height: 1.15rem; accent-color: #1946ad; }
.jkbub-meta-options button { margin: .4rem 0 .2rem; }

@media (max-width: 760px) {
  .jkbub-meta-banner {
    inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: auto;
  }
  .jkbub-meta-banner p { font-size: 15px; }
}
