.kindle-dialog {
  box-sizing: border-box; width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 24px;
  border: 1px solid var(--border, #888); border-radius: 16px;
  background: var(--card, #fff); color: var(--text, #222);
}
.kindle-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.kindle-dialog p { margin: 16px 0; line-height: 1.6; }
.kindle-launch, .kindle-dialog button {
  display: block; box-sizing: border-box; width: 100%; min-height: 48px;
  margin-top: 12px; padding: 12px; border: 1px solid var(--border, #888);
  border-radius: 8px; background: var(--control-bg, #eee); color: var(--text, #222);
  font: inherit; text-align: center; cursor: pointer; touch-action: manipulation;
}
[data-kindle] { min-height: 48px; touch-action: manipulation; }
.kindle-launch:focus-visible, .kindle-dialog button:focus-visible, [data-kindle]:focus-visible {
  outline: 3px solid var(--accent, #1875d1); outline-offset: 3px;
}
