html, body, #root { height: 100%; margin: 0; }
body { overflow: hidden; }
#root { display: flex; }
/* RN 웹의 시트는 #root 밖에 그리는 고정 창이다. 같은 키보드 경계에 맞춘다. */
body [aria-modal="true"] { bottom: var(--inji-keyboard-inset, 0px); }
.inji-alert, .inji-update {
  box-sizing: border-box; border: 0; border-radius: 16px; background: #fff; color: #182238;
  font: 1rem/1.5 system-ui, sans-serif; box-shadow: 0 10px 40px #0b11204d;
}
.inji-alert { padding: 20px; width: min(360px, 90vw); max-height: 85dvh; overflow: auto; }
.inji-alert::backdrop { background: #0b112099; }
.inji-alert h2 { margin: 0; font-size: 1.15rem; }
.inji-alert p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0; }
.inji-alert footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.inji-alert button, .inji-update button {
  background: #e9effb; color: #193e82; border: 0; border-radius: 9px; min-height: 44px;
  padding: 6px 14px; font: inherit; font-weight: 600; cursor: pointer;
}
.inji-alert .cancel { background: #f1f2f4; color: #394150; }
.inji-alert .destructive { background: #a82424; color: #fff; }
.inji-update { position: fixed; z-index: 2147483647; inset: auto 12px max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; }
