/* Mobile recharge is a single action immediately before the theme toggle. */
.aibu-recharge-strip { display: none; }
body .aibu-topbar__actions > .aibu-recharge-entry { display: none; }
@media (max-width: 600px) {
    body .aibu-topbar [data-checkin-label], body .aibu-topbar .aibu-auth-full { display: none; }
    body .aibu-topbar .aibu-auth-short { display: inline; }
    body .aibu-topbar .nav-checkin-button { width: 36px; padding: 0; }
    body .aibu-topbar__actions > .aibu-recharge-entry { display: inline-flex; min-width: 48px; padding: 0 9px; box-sizing: border-box; border-color: #c9ddff; background: var(--top-soft, #f3f7ff); color: #146cff; }
    html.dark-mode body .aibu-topbar__actions > .aibu-recharge-entry { color: #94c0ff; border-color: #315784; }
}
@media (max-width: 360px) {
    body .aibu-topbar { gap: 6px; }
    body .aibu-topbar .aibu-topbar__brand { flex: 0 1 72px; width: 72px; min-width: 48px; }
    body .aibu-topbar__actions { gap: 4px; }
}
dialog.aibu-recharge-dialog { box-sizing: border-box; width: min(420px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid #dce5f1; border-radius: 18px; background: #fff; color: #243550; box-shadow: 0 20px 80px #071b3c38; font-family: inherit; }
.aibu-recharge-dialog::backdrop { background: #0c1a32a6; }
.aibu-recharge-dialog h2 { margin: 0 32px 12px 0; font-size: 21px; color: inherit; }
.aibu-recharge-dialog p { margin: 10px 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.aibu-recharge-dialog .aibu-recharge-close { position: absolute; right: 14px; top: 12px; padding: 4px; width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 25px; cursor: pointer; }
.aibu-recharge-details { padding: 12px; border-radius: 12px; background: #f0f5fc; }
.aibu-recharge-details p { margin: 3px 0; }
.aibu-recharge-hint, .aibu-recharge-status { color: #61748e; font-size: 12px !important; }
.aibu-recharge-actions { display: flex; gap: 10px; margin-top: 18px; }
.aibu-recharge-actions button, .aibu-recharge-actions a, .aibu-recharge-refresh { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #dce5f1; border-radius: 10px; font: inherit; font-size: 14px; background: transparent; color: inherit; text-decoration: none; cursor: pointer; }
.aibu-recharge-actions > * { flex: 1; }
.aibu-recharge-actions a { background: #146cff; border-color: #146cff; color: #fff; }
.aibu-recharge-refresh { width: 100%; margin-top: 10px; }
.aibu-recharge-dialog [hidden] { display: none !important; }
.aibu-recharge-dialog :focus-visible { outline: 2px solid #146cff; outline-offset: 3px; }
html.dark-mode .aibu-recharge-dialog { background: #0d1b2f; color: #d4e1f3; border-color: #294262; }
html.dark-mode .aibu-recharge-details { background: #142e50; }
html.dark-mode .aibu-recharge-hint, html.dark-mode .aibu-recharge-status { color: #a6bad5; }
