/* Read-only Leya help is visually separate from the existing Send controls. */
.leya-wallet-controls { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.leya-wallet-controls [hidden], .leya-wallet-panel [hidden] { display:none !important; }
.leya-wallet-action {
    display:inline-flex; align-items:center; justify-content:center; min-height:40px;
    max-width:100%; padding:9px 13px; border:1px solid #33717f; border-radius:10px;
    background:#102d37; color:#eafcff; font:inherit; font-size:13px; font-weight:650;
    line-height:1.35; text-align:center; cursor:pointer; white-space:normal;
}
.leya-wallet-action:hover { background:#164452; }
.leya-wallet-action:disabled { opacity:.6; cursor:progress; }
.leya-wallet-action.is-primary { background:#037d98; border-color:#18b3cd; color:#fff; }
.leya-wallet-action:focus-visible,.leya-wallet-close:focus-visible,.leya-wallet-why summary:focus-visible { outline:2px solid #52deef; outline-offset:3px; }
.leya-wallet-panel {
    position:fixed; z-index:100600; top:16px; right:16px; bottom:calc(var(--paxor-player-height,112px) + 16px);
    display:flex; flex-direction:column; width:min(420px,calc(100vw - 32px)); min-height:200px;
    border:1px solid #316574; border-radius:18px; background:#0a1921; color:#eaf5f8;
    box-shadow:0 18px 70px #0009; overflow:hidden; box-sizing:border-box; font-size:14px;
}
.leya-wallet-panel[data-in-wallet-modal="true"] { bottom:16px; }
.leya-wallet-panel *, .leya-wallet-panel *::before, .leya-wallet-panel *::after { box-sizing:border-box; }
.leya-wallet-head { display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px; padding:15px; background:linear-gradient(110deg,#10323f,#075167); border-bottom:1px solid #2b6876; }
.leya-wallet-identity { display:flex; align-items:center; gap:10px; min-width:0; }
.leya-wallet-panel .leya-wallet-head .leya-wallet-identity strong { color:#f0fbfd !important; font-size:15px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
.leya-wallet-avatar { flex:none; display:grid; place-items:center; width:36px; height:36px; border:1px solid #31cee6; border-radius:50%; color:#65e4f7 !important; font-size:20px; }
.leya-wallet-panel .leya-wallet-close { flex:none; width:38px; height:38px; padding:0; border:1px solid #347386; border-radius:10px; background:#0b303e; color:#eafcff !important; font-size:28px; line-height:1; cursor:pointer; }
.leya-wallet-content { min-height:0; overflow:auto; padding:16px; overscroll-behavior:contain; }
.leya-wallet-tabs { display:flex; gap:5px; border:1px solid #315866; border-radius:11px; padding:5px; margin-bottom:16px; }
.leya-wallet-tabs .leya-wallet-action { flex:1 1 0; min-width:0; border-color:transparent; background:transparent; }
.leya-wallet-tabs [aria-selected="true"] { background:#07667a; border-color:#149bb3; color:#fff; }
.leya-wallet-tabs .leya-wallet-action:disabled { cursor:default; opacity:.45; }
.leya-wallet-intro,.leya-wallet-message { margin:0 0 14px; color:#b5c8cf; line-height:1.55; overflow-wrap:anywhere; }
.leya-wallet-message { margin-top:14px; }
.leya-wallet-message:empty { display:none; }
.leya-wallet-message.is-error { color:#ffb1b7; }
.leya-wallet-run-actions { display:flex; flex-wrap:wrap; gap:8px; }
.leya-wallet-values,.leya-wallet-facts { display:grid; grid-template-columns:minmax(0,1fr); gap:5px; margin:14px 0; }
.leya-wallet-values dt,.leya-wallet-facts dt { color:#abc0c8; font-size:11px; font-weight:700; margin-top:5px; }
.leya-wallet-values dd,.leya-wallet-facts dd { color:inherit; margin:0; font-size:13px; overflow-wrap:anywhere; word-break:break-word; text-align:start; font-variant-numeric:tabular-nums; }
.leya-wallet-explorer { color:#60ddeb; overflow-wrap:anywhere; }
.leya-wallet-fee-hint { color:#abc0c8; font-size:12px; line-height:1.5; margin:10px 0; }
.leya-wallet-summary { display:flex; flex-wrap:wrap; gap:6px; margin:15px 0; }
.leya-wallet-count { border:1px solid #315866; border-radius:99px; padding:5px 8px; background:#102d37; font-size:11px; }
.leya-wallet-check { padding:13px; margin-top:10px; border:1px solid #315866; border-inline-start:3px solid #718f9b; border-radius:12px; background:#102730; }
.leya-wallet-check.is-error { border-inline-start-color:#fc8893; }.leya-wallet-check.is-warning { border-inline-start-color:#f1c46a; }.leya-wallet-check.is-pending { border-inline-start-color:#66cbe1; }.leya-wallet-check.is-ok { border-inline-start-color:#4bd3a3; }
.leya-wallet-check-heading { display:flex; align-items:flex-start; gap:8px; }
.leya-wallet-check-heading h3 { min-width:0; flex:1; margin:0; color:inherit; font-size:13px; line-height:1.45; }
.leya-wallet-status-icon { color:#9dc6d2; font-size:17px; font-weight:800; line-height:1.15; }.is-error>.leya-wallet-check-heading>.leya-wallet-status-icon { color:#fc8893; }.is-ok>.leya-wallet-check-heading>.leya-wallet-status-icon { color:#4bd3a3; }
.leya-wallet-status-label { flex:none; max-width:40%; color:#acc2cb; font-size:10px; text-align:end; overflow-wrap:anywhere; }
.leya-wallet-check>p,.leya-wallet-why p { margin:9px 0; color:inherit; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.leya-wallet-why summary { color:#60ddeb; font-size:12px; cursor:pointer; margin-top:7px; }
.leya-wallet-open-field { min-height:32px; margin-top:9px; padding:6px 10px; font-size:11px; }
body.light-theme .leya-wallet-panel,html[data-theme="light"] .leya-wallet-panel { background:#f4fbfd; color:#193740; }
body.light-theme .leya-wallet-tabs,html[data-theme="light"] .leya-wallet-tabs { background:#e4f2f6; border-color:#b1d5df; }
body.light-theme .leya-wallet-action,html[data-theme="light"] .leya-wallet-action { background:#e4f2f6; color:#204957; border-color:#a6d0dd; }
body.light-theme .leya-wallet-action.is-primary,html[data-theme="light"] .leya-wallet-action.is-primary,body.light-theme .leya-wallet-tabs [aria-selected="true"],html[data-theme="light"] .leya-wallet-tabs [aria-selected="true"] { background:#087b94; color:#fff; }
body.light-theme .leya-wallet-check,html[data-theme="light"] .leya-wallet-check,body.light-theme .leya-wallet-count,html[data-theme="light"] .leya-wallet-count { background:#e6f3f7; border-color:#afd5df; }
body.light-theme .leya-wallet-intro,html[data-theme="light"] .leya-wallet-intro,body.light-theme .leya-wallet-message,html[data-theme="light"] .leya-wallet-message,body.light-theme .leya-wallet-values dt,html[data-theme="light"] .leya-wallet-values dt,body.light-theme .leya-wallet-facts dt,html[data-theme="light"] .leya-wallet-facts dt,body.light-theme .leya-wallet-status-label,html[data-theme="light"] .leya-wallet-status-label { color:#486772; }
body.light-theme .leya-wallet-message.is-error,html[data-theme="light"] .leya-wallet-message.is-error { color:#a32139; }
body.light-theme .leya-wallet-fee-hint,html[data-theme="light"] .leya-wallet-fee-hint { color:#486772; }
body.light-theme .leya-wallet-why summary,html[data-theme="light"] .leya-wallet-why summary,body.light-theme .leya-wallet-explorer,html[data-theme="light"] .leya-wallet-explorer { color:#006e85; }
@media(max-width:760px) {
    .leya-wallet-panel { top:auto; right:8px; left:8px; bottom:calc(var(--paxor-mobile-player-height,90px) + env(safe-area-inset-bottom) + 8px); width:auto; max-height:calc(100dvh - var(--paxor-mobile-player-height,90px) - env(safe-area-inset-bottom) - 20px); border-radius:16px; }
    .leya-wallet-panel[data-in-wallet-modal="true"] { bottom:8px; max-height:calc(100dvh - env(safe-area-inset-bottom) - 16px); }
    .leya-wallet-head { padding:13px; }.leya-wallet-content { padding:13px; }
    .leya-wallet-panel .leya-wallet-head .leya-wallet-identity strong { font-size:14px; }
    .leya-wallet-tabs .leya-wallet-action { font-size:12px; padding:8px; }
}
@media(prefers-reduced-motion:reduce) { .leya-wallet-panel * { scroll-behavior:auto !important; } }
