/* Ghost mode (mobile ghost_receive_view.dart, ghost_wallet_sheets.dart). */
.ghost-screen{gap:14px}
.ghost-hero{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:16px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#6c5fb0,#2e1065)}
.ghost-hero small{display:block;font-size:12px;color:#ffffffb3}.ghost-hero strong{display:block;font-size:18px;font-weight:700}
.ghost-hero p{grid-column:1/-1;margin:0;font-size:12px}
.ghost-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#ffffff26}.ghost-mark svg{width:26px;height:26px}
.ghost-pill{grid-column:1/-1;justify-self:start;padding:4px 10px;border-radius:12px;background:#ffffff3d;font-size:11px;font-weight:600}
.ghost-actions button{min-height:44px}
.ghost-lapsed{padding:13px 14px;border-radius:13px;background:#fff;border:1px solid #f0b42966}.ghost-lapsed strong{font-size:13px}.ghost-lapsed p{margin:4px 0 6px;font-size:12px;line-height:1.45;color:var(--muted)}.ghost-lapsed small{font-size:11.5px;color:var(--muted)}
.ghost-rows{display:flex;flex-direction:column;gap:8px}
.ghost-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #ece8f3;border-radius:13px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}
.ghost-row:disabled{cursor:default}
.ghost-row-text{display:flex;flex-direction:column;gap:2px;min-width:0}.ghost-row-text>span{display:flex;align-items:center;gap:6px}.ghost-row-text strong{font-size:13px}.ghost-row-text small{font-size:11px;color:var(--muted)}
.ghost-row-amount{font-size:12.5px;font-weight:700;white-space:nowrap;text-align:right}
.ghost-hero strong.ghost-total{font-size:22px;overflow-wrap:anywhere}
.ghost-hero small.ghost-cause{margin-top:2px;font-size:10px;color:#ffffff99;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ghost-coin{width:26px;height:26px;border-radius:50%}
.ghost-tag{padding:1.5px 6px;border-radius:10px;font-style:normal;font-size:8.5px;font-weight:700}.ghost-tag-pool{background:#ece8fb;color:#5b4ba8}
.ghost-spinner{display:inline-block;width:14px;height:14px;border:2px solid #d9d2ee;border-top-color:#8b5cf6;border-radius:50%;animation:ghost-spin .8s linear infinite}
@keyframes ghost-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ghost-spinner{animation:none}}
.ghost-qr{display:flex;justify-content:center;padding:6px 0}
.ghost-copy{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:9px 12px;border:1px solid #ece8f3;border-radius:10px;background:#faf8fd}.ghost-copy .mono{font-size:11.5px;overflow-wrap:anywhere}
.ghost-note{margin:0;padding:9px 11px;border-radius:11px;border:1px solid #b8afe8;background:#b8afe833;color:#6c5fb0;font-size:11.5px;line-height:1.45;font-weight:500}
html[data-lumo-theme=dark] :is(.ghost-row,.ghost-lapsed,.ghost-copy){background:#17151c;border-color:#292630;color:#f7f5fa}
html[data-lumo-theme=dark] .ghost-note{color:#cfc7f5}

/* Send via Handle (mobile send_handle_view.dart fe71b4f3, 97c3e942). */
.handle-premium-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px}
.handle-premium-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border-radius:14px;border:1px solid #8b5cf673;background:#8b5cf61a;color:#8b5cf6;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.handle-premium-button.filled{border:0;color:#fff;background:linear-gradient(90deg,#8b5cf6,#6d3fd6);box-shadow:0 3px 10px #8b5cf659}
.handle-contacts+.send-form .send-field:not(.send-network){border-radius:25px;border-color:#8b5cf640;box-shadow:0 4px 14px #8b5cf61a}
.handle-requests-card{margin-top:10px}
.handle-request-row .tag{margin-left:auto;font-style:normal}
.handle-history-pill{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 14px;border-radius:12px;border:1px solid #ece8f3;background:#fff;color:inherit;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.handles-link-actions{margin-top:6px}
.receive-qr{box-shadow:0 6px 16px #0000002e}
html[data-lumo-theme=dark] .handle-history-pill{background:#17151c;border-color:#292630;color:#f7f5fa}

/* Handle payment chat (mobile handle_chat_view.dart). */
.chat-screen{display:flex;flex-direction:column;gap:10px;min-height:420px;margin:-6px -8px 0;padding:10px 8px;border-radius:18px;background:linear-gradient(180deg,#3b2a86,#2e1065);color:#fff}
.chat-header{display:flex;align-items:center;gap:10px;padding:4px 6px;border:0;background:none;color:#fff;font:inherit;text-align:left;cursor:pointer}.chat-header strong{display:block;font-size:16px}.chat-header small{color:#ffffffb3}
.chat-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#6d3fd6);color:#fff;font-weight:700}
.chat-thread{flex:1;display:flex;flex-direction:column;gap:8px;max-height:52vh;min-height:220px;overflow-y:auto;padding:4px 6px}
.chat-empty{margin:auto;display:grid;justify-items:center;gap:8px;text-align:center}.chat-empty p{margin:0;color:#ffffff99;font-size:14px}
.chat-line{display:flex}.chat-line.mine{justify-content:flex-end}
.chat-bubble{display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:78%;padding:10px 14px;border:0;border-radius:18px 18px 18px 5px;background:#ffffff24;color:#fff;font:inherit;text-align:left;cursor:pointer}
.chat-bubble.mine{border-radius:18px 18px 5px 18px;background:linear-gradient(135deg,#8b5cf6,#6d3fd6);box-shadow:0 3px 12px #6d3fd659}
.chat-bubble.chat-gif{padding:0;background:none;box-shadow:none}
.chat-text{font-size:15px;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-gif{display:block;width:210px;max-width:100%;border-radius:16px}
.chat-pay-head{display:flex;align-items:center;gap:5px}.chat-pay-head em{padding:2px 8px;border-radius:10px;background:#ffffff2e;font-style:normal;font-size:11px;font-weight:700}
.chat-pay-amount{font-size:24px;font-weight:800;letter-spacing:-.3px}.chat-pay-note{font-size:14px;color:#ffffffd9}
.chat-time{font-size:11px;color:#ffffff9e}
.chat-reactions{display:flex;flex-wrap:wrap;gap:4px}.chat-reaction{padding:1px 6px;border-radius:10px;border:1px solid #b8afe8;background:#2e1065;font-size:12px}
.chat-screen .error{color:#ffb4b4}.chat-screen .muted{color:#ffffffb3}
.chat-actions button{min-height:42px}
.chat-screen .chat-actions .secondary{background:#ffffff26;color:#fff;border-color:transparent}.chat-screen .chat-actions .primary{background:#fff;color:#4c2a9e}
.chat-composer{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:6px}
.chat-composer input{min-width:0;border-radius:22px;border:0;background:#ffffff1f;color:#fff;padding:11px 14px}.chat-composer input::placeholder{color:#ffffff8a}
.chat-tool{min-width:34px;min-height:40px;border:0;background:none;color:#ffffffb3;font:inherit;font-size:19px;cursor:pointer}
.chat-gif-button{min-height:auto;padding:1px 6px;border:1.3px solid #ffffff8a;border-radius:6px;font-size:11px;font-weight:800;letter-spacing:.5px}
.chat-submit{width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#6d3fd6;font-size:19px;font-weight:700;cursor:pointer}
.chat-picker{padding:10px;border-radius:16px;background:#fff;color:#17151c}
.chat-emoji-grid,.chat-react-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.chat-emoji{border:0;background:none;font-size:26px;line-height:1.2;cursor:pointer}
.chat-picker input{width:100%;box-sizing:border-box;margin-bottom:10px}
.chat-gif-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-height:300px;overflow-y:auto}
.chat-gif-pick{padding:0;border:0;border-radius:10px;overflow:hidden;background:#0000000f;aspect-ratio:1;cursor:pointer}.chat-gif-pick img{width:100%;height:100%;object-fit:cover}
.chat-sheet-handle{display:block;width:42px;height:4.5px;margin:0 auto 4px;border-radius:4px;background:#9e9e9e66}
.chat-totals{text-align:left}
.danger-text{color:#e5484d}
html[data-lumo-theme=dark] .chat-picker{background:#17151c;color:#f7f5fa}
/* Ghost withdrawal (mobile ghost_withdraw_view.dart). */
.ghost-row.selected{border-color:#8b5cf6;background:#8b5cf614}
.ghost-choice{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #ece8f3;border-radius:13px;background:#fff}.ghost-choice span{display:flex;flex-direction:column;gap:2px}.ghost-choice small{font-size:11px;color:var(--muted)}
.ghost-lapsed .primary{margin-top:11px;width:100%}
.ghost-result{padding:13px 14px;border-radius:13px;border:1px solid #2f9e6a80;background:#fff}.ghost-result.partial{border-color:#f0b42999}.ghost-result p{margin:6px 0 0}
.ghost-outcome{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #ece8f3;border-radius:13px;background:#fff}.ghost-outcome>span:first-child{font-weight:700}.ghost-outcome.sent>span:first-child{color:#2f9e6a}.ghost-outcome.failed>span:first-child{color:#e5484d}.ghost-outcome span:last-child{display:flex;flex-direction:column;min-width:0}.ghost-outcome small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
html[data-lumo-theme=dark] :is(.ghost-choice,.ghost-result,.ghost-outcome){background:#17151c;border-color:#292630;color:#f7f5fa}
.ghost-outcome.unknown>span:first-child{color:#c98a00}
/* Mobile 3863d418: a pool token line (USDT on Tron) and a row whose read failed. */
.ghost-token{display:block;margin-top:2px;font-size:11.5px;font-weight:600;color:var(--lumo-text,inherit)}
.ghost-unavailable{font-size:11px;color:var(--lumo-caution,#b7791f)}
.ghost-price{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:6px;font-size:12.5px}.ghost-price span{color:var(--muted)}.ghost-price strong{font-size:12.5px;font-weight:800}
