/* Home only. Shared wallet, navigation and payment controls keep their IDs. */
body.munia-home { --home-line:var(--munia-line, #e4eae6); --home-muted:var(--munia-muted, #65736b); --home-green:var(--munia-positive-text, #00865d); height:100dvh !important; overflow:hidden; background:var(--munia-surface, #fff) !important; color:var(--munia-text, #18231e); }
/* Presentation settings come from main.py's Blockchat constants on #homeShell. */
@media (min-width:769px) {
  body.munia-home { padding-bottom:0 !important; }
}
.munia-home #walletContainer { background:#0AC18E !important; border-color:var(--munia-positive-line, #0AC18E) !important; }
.munia-home #walletContainer { transition:background-color .15s ease, box-shadow .15s ease; }
.munia-home #walletContainer:hover, .munia-home #walletContainer:focus-visible { background:#09b585 !important; box-shadow:0 3px 12px #00865d22 !important; }
.munia-home #walletContainer:focus-visible { outline:2px solid #00865d; outline-offset:3px; }
.munia-home #walletContainer > div:first-child, .munia-home #walletStatus, .munia-home #walletFiat { color:#06281f !important; }
.munia-home #walletBalanceToggle { color:#06281f; }
.munia-home #walletBalanceToggle:hover { color:#06281f !important; }
body.munia-home #topBar + div { padding:0 !important; overflow:hidden; }
.munia-home .home-shell, .munia-home .home-shell:not(.app-shell) *, .munia-app .home-sidebar *, .munia-app .app-main, .munia-app .app-toolbar, .munia-app .app-page-content { box-sizing:border-box; }
.munia-home .home-shell { display:grid; grid-template-columns:230px minmax(0,1fr) 330px; width:100%; max-width:1440px; margin:0 auto; flex:1; min-height:0; height:100%; }
.munia-home .home-sidebar { display:flex; flex-direction:column; padding:20px 18px 16px; min-height:0; min-width:0; }
.munia-home #homeBrandSlot { padding:0 8px 20px; }
.munia-home #homeMenuSlot { flex:1; min-height:0; overflow:hidden; }
.munia-home #homeMenuSlot #menuDropdown { display:block !important; position:static !important; background:transparent !important; border:0 !important; padding:0 !important; min-width:0 !important; }
.munia-home #homeMenuSlot #menuDropdown > br { display:none; }
.munia-home #homeMenuSlot #menuDropdown > a { display:flex; align-items:center; gap:11px; padding:8px 10px; border-radius:9px; color:var(--munia-text, #18231e); font:18px/1.4 system-ui,"Segoe UI",sans-serif; text-decoration:none; }
.munia-home #homeMenuSlot #menuDropdown > a:hover { background:var(--munia-surface-soft, #f4f7f5); }
.munia-home #homeMenuSlot #menuDropdown > a[aria-current="page"] { background:var(--munia-surface-soft, #f4f7f5); color:var(--home-green); font-weight:700; }
.munia-home #homeMenuSlot #menuDropdown > a[href="/contact"] { border-top:1px solid var(--home-line); margin-top:8px; padding-top:14px; border-radius:0; }
.munia-home .home-menu-icon { width:19px; height:19px; flex-shrink:0; }
.munia-home #homeNotificationsLink .notif-badge-dot { position:static !important; margin-left:auto; flex-shrink:0; }
.munia-home #homeMenuSlot #menuDropdown > div { font-size:12px; padding:10px 8px !important; }
.munia-home .home-sidebar-footer { flex-shrink:0; padding-top:14px; }
.munia-home #homeWalletSlot #walletContainer { position:static !important; border:1px solid var(--munia-positive-line, #0AC18E) !important; border-radius:12px !important; padding:12px 14px !important; box-shadow:none !important; align-items:flex-start !important; width:100%; z-index:auto !important; }
.munia-home #homeWalletSlot #walletContainer:hover, .munia-home #homeWalletSlot #walletContainer:focus-visible { box-shadow:0 3px 12px #00865d22 !important; }
.munia-home #homeWalletSlot #walletStatus { font-size:19px !important; overflow-wrap:anywhere; }
.munia-home #homeWalletSlot #walletContainer > div:first-child { width:100%; justify-content:space-between; }
.munia-home #homeProfileSlot { display:flex; width:100%; gap:10px; align-items:center; color:var(--munia-text, #18231e); padding:10px 6px; margin-top:8px; text-decoration:none; min-width:0; border:0; border-radius:12px; background:transparent; font:inherit; text-align:left; cursor:pointer; transition:background-color .15s ease; }
.munia-home #homeProfileSlot:hover, .munia-home #homeProfileSlot:focus-visible { background:var(--munia-surface-soft, #f4f7f5) !important; }
.munia-home #homeProfileSlot:focus-visible { outline:2px solid #00865d; outline-offset:2px; }
.munia-home #homeProfileSlot .nav-user-profile { text-align:left !important; min-width:0; flex:1; order:1; }
.munia-home #homeProfileSlot .nav-user-profile > div { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.munia-home #homeProfileDots { font-size:23px; line-height:1; margin-left:auto; order:2; }
.munia-home .home-profile { position:relative; }
.munia-home #homeAccountMenu { position:absolute; bottom:calc(100% + 8px); left:0; width:260px; max-width:calc(100vw - 32px); padding:8px; background:var(--munia-surface, #fff); border:1px solid var(--home-line); border-radius:14px; box-shadow:0 4px 20px #18231e22; z-index:8200; }
.munia-home #homeAccountMenu[hidden] { display:none; }
.munia-home #homeAccountMenu > a { display:flex; align-items:center; gap:10px; padding:12px; border-radius:8px; color:var(--munia-text, #18231e); font-size:14px; text-decoration:none; }
.munia-home #homeAccountMenu > a:hover, .munia-home #homeAccountMenu > a:focus-visible { background:var(--munia-surface-soft, #f4f7f5); }
.munia-home #homeAccountMenu > a[href="/logout"] { margin-top:4px; padding-top:16px; border-top:1px solid var(--home-line); border-radius:0 0 8px 8px; }
.munia-home .home-feed { border-inline:1px solid var(--home-line); display:flex; flex-direction:column; min-width:0; min-height:0; position:relative; }
.munia-home .home-feed-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 22px; min-height:56px; border-bottom:1px solid var(--home-line); flex-shrink:0; }
.munia-home .home-feed-header h1 { font-size:21px; margin:0; }
.munia-home .home-shell:not(.app-shell) small { display:block; font-size:12px; color:var(--home-muted); }
.munia-home .home-avatar { width:36px; height:36px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--munia-surface-soft, #f1f6f3); color:var(--home-green); font-weight:700; flex:0 0 36px; }
.munia-home .home-compose { padding:18px 22px; border-bottom:1px solid var(--home-line); flex-shrink:0; }
.munia-home .home-compose-main { display:flex; gap:12px; align-items:flex-start; }
.munia-home #gbcTextInput { --munia-composer-highlight:1; box-sizing:border-box; width:100%; min-width:0; height:34px; min-height:34px; max-height:none; border:0; background:transparent; resize:none; overflow-y:hidden; overscroll-behavior:contain; color:var(--munia-text, #18231e); padding:5px 0; font:16px/1.5 Arial,sans-serif; }
.munia-home #gbcTextInput:focus { outline:0; box-shadow:0 2px 0 #0ac18e; }
.munia-home .home-compose-editor { position:relative; flex:1; min-width:0; }
.munia-home .home-compose-editor #gbcTextInput { position:relative; display:block; caret-color:var(--munia-text, #18231e); }
.munia-home .home-compose-backdrop { position:absolute; inset:0; overflow:hidden; pointer-events:none; user-select:none; }
.munia-home .home-compose-highlight-text { box-sizing:border-box; min-height:34px; padding:5px 0; font:16px/1.5 Arial,sans-serif; color:var(--munia-text, #18231e); transform-origin:top left; }
.munia-home .home-compose-highlight-text::after { content:'\200b'; }
.munia-home #gbcTextInput, .munia-home .home-compose-highlight-text { white-space:pre-wrap; overflow-wrap:break-word; tab-size:8; }
.munia-home .home-compose-link { color:var(--munia-link-text, #2563eb); }
.munia-home .home-compose-has-links #gbcTextInput { color:transparent; }
.munia-home #gbcTextInput::selection { color:HighlightText; background:Highlight; }
@media (forced-colors:active) {
  .munia-home .home-compose-backdrop { display:none !important; }
  .munia-home .home-compose-editor #gbcTextInput { color:FieldText !important; caret-color:FieldText; }
}
.munia-home .home-compose-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:12px; }
.munia-home .home-sats { color:var(--home-green); font-size:12px; white-space:nowrap; }
.munia-home #gbcCharCount { margin-top:4px; }
.munia-home #gbcSendBtn { background:#0ac18e; color:#06281f; padding:10px 22px; border:0; border-radius:22px; font:700 14px Arial,sans-serif; cursor:pointer; }
.munia-home #gbcSendBtn:disabled { opacity:.6; cursor:wait; }
.munia-home #gbcSendBtn:hover, .munia-home #homeComposeLaunch:hover { background:#08ad7f !important; }
.munia-home .home-tabs button:hover { background:var(--munia-surface-soft, #f4f7f5) !important; }
.munia-home #gbcError { font-size:13px; color:var(--munia-danger-text, #dc2626); margin-top:10px; }
.munia-home #globalBlockchatContainer { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; overflow-anchor:none; scrollbar-width:thin; }
.munia-home .home-post { display:flex; gap:12px; padding:12px 22px 4px; border-bottom:1px solid var(--home-line); }
.munia-home .home-post-body { flex:1; min-width:0; }
.munia-home .home-post[data-post-url] { cursor:pointer; }
.munia-home [data-post-detail] .home-post { cursor:default; }
@media (hover:hover) {
  .munia-home #globalBlockchatContainer:not([data-post-detail]) .home-post[data-post-url]:hover { background:color-mix(in srgb, var(--munia-text, #18231e) 3%, transparent); }
}
.munia-home .home-post-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:4px; }
.munia-home .home-post-options { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; min-height:36px; padding:0; border:0; border-radius:50%; background:transparent !important; color:var(--home-muted); cursor:pointer; font:24px/1 Arial,sans-serif; }
.munia-home .home-post-options:hover,.munia-home .home-post-options:focus-visible { color:var(--home-green); background:color-mix(in srgb, var(--home-green) 8%, transparent) !important; }
.munia-home .home-post-options:focus-visible { outline:2px solid var(--home-green); outline-offset:2px; }
#homePostMenu { position:fixed; z-index:9000; box-sizing:border-box; max-width:calc(100vw - 24px); padding:6px; border:1px solid var(--munia-line, #dfe8e3); border-radius:12px; background:var(--munia-surface, #fff); color:var(--munia-text, #18231e); box-shadow:0 4px 20px #0002; font:14px/1.4 Arial,sans-serif; }
#homePostMenu[hidden],#homePostMenu [hidden] { display:none !important; }
#homePostMenu > a,#homePostMenu > button { display:block; width:100%; box-sizing:border-box; padding:12px; border:0; border-radius:7px; background:transparent !important; color:inherit; text-decoration:none; text-align:left; font:inherit; cursor:pointer; }
#homePostMenu > a:hover,#homePostMenu > button:hover { background:var(--munia-surface-soft, #f1f6f3) !important; }
#homePostMenu > a:focus-visible,#homePostMenu > button:focus-visible { outline:2px solid var(--munia-positive-text, #00865d); outline-offset:-2px; }
#homePostMenu .home-post-copy-status:not(:empty) { padding:6px 12px; color:var(--munia-positive-text, #00865d); }
#homePostMenu > input { box-sizing:border-box; width:100%; padding:8px; font:inherit; color:inherit; background:var(--munia-surface-soft, #f1f6f3); border:1px solid var(--munia-line, #dfe8e3); border-radius:6px; }
.munia-home .home-post-page { width:100%; }
.munia-home .home-post-page #globalBlockchatContainer { flex:none; padding-bottom:0; overflow:visible; }
.munia-home #homeChat.home-post-page .home-feed-header { display:flex; justify-content:space-between; padding-left:14px; }
.munia-home .home-post-heading { display:flex; align-items:center; gap:14px; min-width:0; }
.munia-home .home-post-back { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; height:36px; border-radius:50%; color:var(--munia-text, #18231e); text-decoration:none; font:24px/1 Arial,sans-serif; }
.munia-home .home-post-back:hover { background:var(--munia-surface-soft, #f4f7f5); }
.munia-home .home-post-back:focus-visible { outline:2px solid var(--home-green); outline-offset:2px; }
.munia-home .home-post-content { flex:1; min-height:0; overflow-wrap:anywhere; }
.munia-home .home-post-missing { padding:14px 22px; }
.munia-home .home-post-page .home-long-actions { display:flex; flex-wrap:wrap; gap:16px; padding:16px; }
.munia-home .home-post-page .home-long-actions a { color:var(--munia-link-text, #2563eb); }
.munia-home .home-post-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; }
.munia-home .home-post-meta strong { font-size:15px; overflow-wrap:anywhere; }
.munia-home .home-post-author { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; min-width:0; }
.munia-home .home-post-author strong,
.munia-home .home-post-author strong .clickable-id,
.munia-home .home-post-author .home-platform-name { color:var(--munia-text, #000); }
.munia-home .home-post-handle { color:var(--home-muted); font-size:14px; font-weight:400; overflow-wrap:anywhere; cursor:pointer; text-decoration:none; }
.munia-home .home-post-handle:hover { color:var(--home-muted); text-decoration:none; }
.munia-home .home-post-meta > strong,
.munia-home .home-post-meta > strong .clickable-id,
.munia-home .home-post-meta > strong .home-platform-name { color:var(--munia-text, #000); }
.munia-home .home-platform-avatar img { width:100%; height:100%; object-fit:contain; border-radius:50%; }
.munia-home .home-platform-name { color:inherit; text-decoration:none; }
.munia-home .home-platform-name:hover { text-decoration:underline; }
.munia-home .home-platform-badge { display:inline-block; vertical-align:middle; margin-left:5px; padding:3px 7px; border-radius:6px; background:var(--munia-surface-soft, #e7f8f0); color:var(--munia-positive-text, #008565); font-size:11px; font-weight:600; line-height:1.2; }
.munia-home .home-post-body > small { margin-top:4px; }
.munia-home .home-post-meta > small { color:var(--home-muted); font-size:11px; overflow-wrap:anywhere; }
.munia-home .home-post-meta > .home-sats,.munia-home .gbc-explorer { margin-left:auto; }
.munia-home .gbc-sats-link { text-decoration:none; }
.munia-home .gbc-sats-link:hover { text-decoration:underline; }
.munia-home .gbc-explorer { position:relative; }
.munia-home .gbc-explorer summary { cursor:pointer; list-style:none; }
.munia-home .gbc-explorer summary::-webkit-details-marker { display:none; }
.munia-home .gbc-explorer-links { position:absolute; right:0; top:100%; z-index:3; background:var(--munia-surface, white); border:1px solid var(--home-line); border-radius:8px; padding:6px; box-shadow:0 4px 12px #0002; }
.munia-home .gbc-explorer-links a { display:block; padding:10px 14px; }
.munia-home .gbc-donate { position:relative; display:inline-flex; align-items:center; gap:7px; min-width:44px; min-height:36px; border:0; background:transparent !important; padding:4px 0; color:var(--munia-muted, #53655c); font:inherit; font-size:12px; cursor:pointer; border-radius:18px; }
.munia-home .gbc-donate::before { content:""; position:absolute; left:-6px; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; background:transparent; transition:background-color .15s ease; pointer-events:none; }
.munia-home .gbc-donate:hover,.munia-home .gbc-donate:focus-visible { color:var(--munia-positive-text, #008d67); }
.munia-home .gbc-donate:hover::before,.munia-home .gbc-donate:focus-visible::before { background:#008d6710; }
.munia-home .gbc-donate svg { position:relative; flex-shrink:0; }
.munia-home .gbc-donate[data-viewer-donated="true"] svg { fill:#0AC18E; stroke:#0AC18E; }
@media (pointer:coarse) { .munia-home .gbc-donate { min-height:44px; } }
.munia-home .gbc-donate:focus-visible,.munia-home .gbc-sats-link:focus-visible,.munia-home .gbc-explorer summary:focus-visible { outline:2px solid #008d67; outline-offset:3px; }
#gbcDonationDialog { box-sizing:border-box; width:min(520px,calc(100vw - 24px)); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--munia-line, #dfe8e3); border-radius:18px; padding:20px; color:var(--munia-text, #18231e); box-shadow:0 16px 60px #12261e30; }
#gbcDonationDialog::backdrop { background:#14271f55; }
#gbcDonationDialog header { display:flex; align-items:center; gap:12px; justify-content:space-between; }
#gbcDonationDialog h2 { font-size:21px; margin:0; overflow-wrap:anywhere; }
#gbcDonationDialog label { display:block; margin-top:18px; font-size:14px; }
#gbcDonationDialog input { box-sizing:border-box; display:block; width:100%; min-width:0; padding:12px; font:inherit; font-size:16px; border:1px solid var(--munia-line, #d1d5db); border-radius:8px; margin-top:6px; }
#gbcDonationDialog p { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
#gbcDonationDialog dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin:20px 0; font-size:14px; }
#gbcDonationDialog dt { color:var(--munia-muted, #63766d); }
#gbcDonationDialog dd { margin:0; text-align:right; overflow-wrap:anywhere; }
#gbcDonationDialog .gbc-donation-total { font-weight:700; color:var(--munia-text, #18231e); padding-top:8px; border-top:1px solid var(--munia-line, #e4eae6); }
#gbcDonationDialog .gbc-donation-detail { border-top:1px solid var(--munia-line, #e4eae6); padding-top:10px; margin-bottom:16px; }
#gbcDonationDialog .gbc-donation-detail summary { cursor:pointer; color:var(--munia-positive-text, #00865d); font-size:14px; padding:6px 0; }
#gbcDonationDialog .gbc-donation-detail summary:focus-visible { outline:2px solid #00865d; outline-offset:3px; border-radius:4px; }
#gbcDonationDialog .gbc-donation-detail dl { font-size:13px; margin:14px 0; }
#gbcDonationDialog button { min-height:44px; padding:10px 16px; border:1px solid var(--munia-line, #dfe8e3); border-radius:22px; background:var(--munia-surface, #fff); font:inherit; font-size:14px; cursor:pointer; }
#gbcDonationDialog button:disabled { opacity:.55; cursor:wait; }
#gbcDonationDialog button:focus-visible { outline:2px solid #008d67; outline-offset:2px; }
#gbcDonationDialog #gbcDonationClose { flex-shrink:0; border:0; padding:0; min-width:44px; font-size:26px; background:transparent !important; color:var(--munia-muted, #63766d) !important; }
#gbcDonationDialog #gbcDonationClose:is(:hover,:active):not(:disabled) { background:var(--munia-control-hover, #edf1ef) !important; color:var(--munia-text, #18231e) !important; }
#gbcDonationActions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; padding-bottom:env(safe-area-inset-bottom); }
#gbcDonationDialog .gbc-donation-primary { position:relative; background:#0ac18e !important; color:#06281f !important; border-color:transparent; font-weight:600; }
#gbcDonationDialog .gbc-donation-primary:hover:not(:disabled) { background:#08ad7f !important; }
#gbcDonationDialog .gbc-donation-secondary { background:transparent !important; color:var(--munia-text, #18231e) !important; }
#gbcDonationDialog .gbc-donation-secondary:hover:not(:disabled) { background:var(--munia-control-hover, #edf1ef) !important; }
#gbcDonationDialog .gbc-donation-primary[aria-busy="true"] { padding-left:42px; opacity:1; cursor:progress; }
#gbcDonationDialog .gbc-donation-primary[aria-busy="true"]::before { content:""; position:absolute; left:16px; top:calc(50% - 8px); width:16px; height:16px; box-sizing:border-box; border:2px solid #06281f40; border-top-color:#06281f; border-radius:50%; animation:gbc-donation-spin .8s linear infinite; }
@keyframes gbc-donation-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { #gbcDonationDialog .gbc-donation-primary[aria-busy="true"]::before { animation:none; } }
#gbcDonationStatus { color:var(--munia-muted, #53655c); }
#gbcDonationDialog { background:var(--munia-surface, #fff); }
#gbcDonationDialog .gbc-donation-amount-row { display:flex; align-items:center; gap:12px; margin-top:6px; }
#gbcDonationDialog .gbc-donation-amount-row > input { flex:1; width:0; margin:0; background:var(--munia-surface-soft, var(--munia-surface, #fff)); color:var(--munia-text, #18231e); }
#gbcDonationDialog .gbc-donation-fiat { display:block; margin-top:4px; }
#gbcDonationDialog form > .gbc-donation-primary { display:block; margin-top:16px; }
#gbcDonationDialog .gbc-voluntary-control { position:relative; display:inline-flex; flex-shrink:0; align-items:center; gap:2px; font-size:13px; white-space:nowrap; color:var(--munia-muted, #63766d); }
#gbcDonationDialog .gbc-voluntary-control input { display:inline-block; width:3.4ch; min-width:2ch; margin:0; padding:5px 0; border:0; border-bottom:1px solid var(--munia-line, #d1d5db); border-radius:0; background:transparent; color:var(--munia-text, #18231e); font-size:14px; text-align:center; appearance:textfield; }
#gbcDonationDialog .gbc-voluntary-control input::-webkit-inner-spin-button,
#gbcDonationDialog .gbc-voluntary-control input::-webkit-outer-spin-button { appearance:none; margin:0; }
#gbcDonationDialog .gbc-voluntary-help { min-height:28px; min-width:24px; padding:0; border:0; background:transparent; color:inherit; font-size:15px; }
#gbcDonationDialog .gbc-voluntary-tooltip { display:none; position:absolute; z-index:2; right:0; top:100%; width:min(240px,calc(100vw - 48px)); padding:10px 12px; border:1px solid var(--munia-line, #dfe8e3); border-radius:10px; background:var(--munia-surface, #fff); color:var(--munia-text, #18231e); box-shadow:0 6px 20px #12261e25; white-space:normal; font-size:12px; line-height:1.5; text-align:left; }
#gbcDonationDialog .gbc-voluntary-help:is(:hover,:focus-visible) ~ .gbc-voluntary-tooltip,
#gbcDonationDialog .gbc-voluntary-control[data-open="true"] .gbc-voluntary-tooltip { display:block; }
#gbcDonationDialog.gbc-donation-quick { position:fixed; margin:0; width:min(360px,calc(100vw - 16px)); padding:22px 12px 12px; border-radius:14px; overflow:visible; }
#gbcDonationDialog.gbc-donation-quick[open] { display:flex; flex-direction:column; }
#gbcDonationDialog.gbc-donation-quick::backdrop { background:transparent; }
#gbcDonationDialog.gbc-donation-quick header { position:absolute; top:0; right:2px; }
#gbcDonationDialog.gbc-donation-quick h2 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#gbcDonationDialog.gbc-donation-quick #gbcDonationClose { min-width:28px; min-height:24px; font-size:20px; }
#gbcDonationDialog.gbc-donation-quick #gbcDonationBody { order:1; }
#gbcDonationDialog.gbc-donation-quick dl { margin:0; gap:12px 8px; font-size:13px; align-items:center; grid-template-columns:minmax(0,1fr) auto; }
#gbcDonationDialog.gbc-donation-quick .gbc-quick-amount { display:flex; align-items:center; justify-content:flex-end; gap:8px; white-space:nowrap; }
#gbcDonationDialog.gbc-donation-quick #gbcDonationStatus { order:2; min-height:18px; margin:4px 0; font-size:12px; }
#gbcDonationDialog.gbc-donation-quick #gbcDonationActions { order:3; padding:0; }
#gbcDonationDialog.gbc-donation-quick #gbcDonationActions > .gbc-donation-primary { width:100%; }
#gbcDonationDialog.gbc-donation-quick.gbc-donation-below #gbcDonationActions { order:0; margin-bottom:12px; }
.munia-home .home-post p { font-size:16px; line-height:1.5; margin:6px 0 0; overflow-wrap:anywhere; white-space:pre-line; }
.munia-home .home-post-text .home-post-link { color:var(--munia-link-text, #2563eb); text-decoration:underline; text-underline-offset:2px; }
.munia-home .home-post-text .home-post-link:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
/* Clamp just the text, leaving identity, donations and future media separate.
   JS adds this class only when the accessible expansion button is available. */
.munia-home .home-post-text-collapsed { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--home-message-preview-lines); max-height:calc(var(--home-message-preview-lines) * 1.5em); max-height:calc(var(--home-message-preview-lines) * 1lh); overflow:hidden; }
.munia-home .home-post-expand { display:block; min-height:32px; margin:2px 0; padding:4px 0; border:0; border-radius:4px; background:transparent !important; color:var(--home-green); font:600 13px/1.4 Arial,sans-serif; cursor:pointer; }
.munia-home .home-post-expand[hidden] { display:none !important; }
.munia-home .home-post-expand:hover { text-decoration:underline; }
.munia-home .home-post-expand:focus-visible { outline:2px solid #0ac18e; outline-offset:2px; }
/* The original collapse button stays inside its own post's containing block.
   bottom-sticky also works in the compact feed's independent scroll container. */
.munia-home .home-post-expand[aria-expanded="true"] { position:sticky; bottom:8px; z-index:2; width:max-content; max-width:100%; min-height:36px; padding:6px 14px; border:1px solid var(--home-line); border-radius:18px; background:var(--munia-surface, #fff) !important; box-shadow:0 2px 10px #18231e22; }
.munia-home .gbc-tx-link { color:var(--home-muted); text-decoration:none; font-size:12px; }
.munia-home .gbc-tx-link:hover { color:var(--home-green); }
.munia-home .home-discover { display:flex; flex-direction:column; padding:20px 22px 16px; min-width:0; min-height:0; }
.munia-home .home-discover h2 { font-size:21px; line-height:1.35; letter-spacing:-.3px; margin:20px 0 16px; }
.munia-home .home-discover h2 .home-communities-link { color:inherit; text-decoration:none; }
.munia-home .home-discover h2 .home-communities-link span { color:var(--home-green); }
.munia-home .home-discover h2 .home-communities-link:hover { text-decoration:underline; text-underline-offset:4px; }
.home-communities-link:focus-visible { outline:2px solid #00865d; outline-offset:4px; border-radius:3px; }
.munia-home .home-sort { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:8px; font-size:12px; color:var(--home-muted); }
.munia-home #homeSort { min-width:0; max-width:100%; padding:6px; font:inherit; border:1px solid var(--home-line); border-radius:6px; background:var(--munia-surface, #fff); color:var(--munia-text, #18231e); }
.munia-home #homeSort:focus-visible { outline:2px solid #0ac18e; outline-offset:2px; }
@supports (appearance:base-select) {
  #homeSort, #homeSort::picker(select) { appearance:base-select; }
  #homeSort::picker(select) { background:var(--munia-surface, #fff); color:var(--munia-control-text, #202724); border:1px solid var(--munia-control-border, #d8dfdc); border-radius:12px; padding:6px; margin-top:6px; box-shadow:0 8px 24px #0003; }
  #homeSort::picker-icon { color:var(--munia-muted, #65736b); }
  #homeSort option { padding:10px 12px; border-radius:7px; white-space:normal; }
  #homeSort option:hover, #homeSort option:focus { background:var(--munia-control-hover, #edf1ef); color:var(--munia-control-text, #202724); }
  #homeSort option:focus { outline:2px solid #0ac18e; outline-offset:-2px; }
  #homeSort option:checked { background:var(--munia-surface-mint, #e8faf4); color:var(--munia-positive-text, #00865d); }
  #homeSort option::checkmark { color:var(--munia-positive-text, #00865d); }
}
.munia-home .home-sort-direction { display:flex; gap:4px; }
.munia-home .home-sort-direction a { min-width:32px; min-height:32px; display:flex; align-items:center; justify-content:center; border-radius:6px; text-decoration:none; background:var(--munia-surface-soft, #f4f7f5); color:var(--home-muted); font-size:16px; }
.munia-home .home-sort-direction a[aria-current="true"] { background:#0ac18e; color:#06281f; }
.munia-home .home-community-list { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.munia-home .home-community { display:flex; flex-direction:column; padding:18px 10px; border-bottom:1px solid var(--home-line); gap:3px; overflow-wrap:anywhere; transition:background-color .15s ease; }
.munia-home .home-community:hover, .munia-home .home-community:focus-within { background:var(--munia-surface-soft, #f4f7f5); }
.munia-home .home-community-date { font-size:11px !important; margin-top:3px; }
.munia-home .home-community > a.card-link { color:var(--munia-text, #18231e); font-size:15px; font-weight:700; text-decoration:none; }
.munia-home .home-community-meta { font-size:12px; color:var(--home-muted); margin-top:6px; }
.munia-home #homeCommunities .home-community { padding:20px 10px; gap:5px; }
.munia-home #homeCommunities .home-community > a.card-link { font-size:17px; line-height:1.35; }
.munia-home #homeCommunities .home-community > small { font-size:13px; line-height:1.4; }
.munia-home #homeCommunities .home-community-date { font-size:12px !important; margin-top:1px; }
.munia-home #homeCommunities .home-community-meta { font-size:14px; line-height:1.4; margin-top:3px; }
.munia-home #homeCommunities .home-community:last-child { border-bottom:0; }
.munia-home #homeCommunities .home-sort { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 8px; }
.munia-home #homeCommunities .home-sort > label { grid-column:1 / -1; }
.munia-home #homeCommunities #homeSort { width:100%; }
.munia-home .ts-live-badge { display:inline-flex; align-items:center; gap:6px; background:var(--munia-surface-mint, #dcfce7); color:var(--munia-positive-text, #15803d); border-radius:20px; padding:4px 8px; font-size:11px; margin-top:6px; }
.munia-home .ts-live-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
.munia-home .home-create { flex-shrink:0; padding-top:16px; }
.munia-home .home-create > button, .munia-home .home-create > a { width:100%; min-height:42px; font-size:14px !important; }
.munia-home #homeSearchSlot { flex-shrink:0; min-width:0; }
.munia-home #searchEmptyState { display:none; }
.munia-home .home-tabs, .munia-home #homeComposeLaunch, .munia-home #homeComposeClose { display:none; }
@media (min-width:1024px) {
  /* Keep the shared columns aligned even when the center has little content. */
  html:has(#homeShell) { scrollbar-gutter:stable; }
  body.munia-home #topBar { display:none !important; }
  /* Home uses the browser scrollbar. Shared app/community screens keep their
     existing independently scrolling panels. Sticky controls never change the
     feed's layout while they move in and out of view. */
  body.munia-home:has(#homeShell) { height:auto !important; min-height:100dvh; overflow-x:clip; overflow-y:auto; }
  body.munia-home:has(#homeShell) #topBar + div { overflow:visible; }
  .munia-home #homeShell { grid-template-columns:230px minmax(0,1fr) 354px; flex:none; height:auto; min-height:100dvh; align-items:start; }
  /* Sticky creates a stacking context: keep the account popup above feed layers. */
  .munia-home #homeShell > .home-sidebar { position:sticky; top:0; height:100dvh; z-index:50; }
  /* Paint the divider with the sidebar so fractional scaling cannot cover it. */
  .munia-home #homeShell > .home-sidebar::after { content:""; position:absolute; inset-block:0; inset-inline-start:100%; border-inline-start:1px solid var(--home-line); pointer-events:none; }
  .munia-home #homeChat { min-height:100dvh; border-inline-start-color:transparent; }
  .munia-home #homeChat .home-feed-header { position:sticky; top:0; z-index:40; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); background:var(--munia-surface, #fff); }
  .munia-home #homeChat .home-feed-header h1 { min-width:0; overflow-wrap:normal; }
  .munia-home #homeChat .home-cashrain-button { justify-self:center; }
  .munia-home #homeChat #homeSearchSlot { justify-self:end; width:100%; max-width:240px; }
  .munia-home #homeChat .home-compose { position:sticky; top:calc(var(--home-header-height,56px) - var(--home-compose-hidden,0px)); z-index:30; background:var(--munia-surface, #fff); }
  .munia-home #homeChat #globalBlockchatContainer { flex:none; overflow:visible; }
  .munia-home #homeCommunities { position:sticky; top:20px; align-self:start; height:calc(100dvh - 40px); margin:20px 22px 20px 24px; padding:18px 16px 16px; border:1px solid var(--home-line); border-radius:18px; background:var(--munia-surface, #fff); }
  .munia-home #homeCommunities h2 { margin:0 0 18px; }
  .munia-home #homeSearchSlot .search-wrapper { width:100%; position:relative; }
  .munia-home #homeSearchSlot .search-wrapper > .bnav-moved { display:none !important; }
  .munia-home #homeSearchSlot #searchDropdown { position:static !important; display:block !important; width:100%; min-width:0; border:0; background:transparent; box-shadow:none; padding:0; }
  .munia-home #homeSearchSlot #searchDropdown > div:first-child { box-sizing:border-box; border:1px solid var(--home-line) !important; background:var(--munia-surface, #fff); border-radius:22px; height:44px; min-height:44px; padding:8px 12px !important; }
  .munia-home #homeSearchSlot #searchInput { min-width:0; font-size:14px !important; }
  .munia-home #homeSearchSlot .home-search-popup { display:none; position:absolute; z-index:20; top:48px; left:0; right:0; background:var(--munia-surface, #fff); border:1px solid var(--home-line); border-radius:10px; box-shadow:0 5px 18px #18231e14; overflow:hidden; }
  .munia-home #homeSearchSlot .home-search-open .home-search-popup { display:block; }
}
@media (min-width:1024px) and (max-width:1199px) {
  .munia-home #homeChat .home-feed-header h1 { font-size:18px; }
  .munia-home #homeChat .home-cashrain-button { font-size:14px; padding-inline:12px; }
}
@media (min-width:1024px) and (max-height:720px) {
  .munia-home .home-sidebar { padding-top:14px; }
  .munia-home #homeMenuSlot #menuDropdown > a { padding-top:6px; padding-bottom:6px; }
  .munia-home #homeBrandSlot { padding-bottom:12px; }
}
@media (max-width:1023px) {
  body.munia-home #topBar { flex-shrink:0; display:flex !important; align-items:center; justify-content:space-between; gap:10px !important; padding:10px 14px !important; }
  .munia-home #topBar > div:first-child { padding-left:0 !important; gap:12px; flex:1; flex-direction:row-reverse; justify-content:space-between !important; }
  .munia-home #topBar > div:nth-child(2) { display:none !important; }
  .munia-home #topBar > div:last-child { margin-left:auto; }
  .munia-home #walletContainer { position:static !important; border:1px solid var(--munia-positive-line, #0AC18E) !important; border-radius:10px !important; padding:6px 10px !important; box-shadow:none !important; }
  .munia-home #walletStatus { overflow-wrap:anywhere; min-width:0; }
  body.munia-home .nav-auth-cluster .nav-user-profile { display:none !important; }
  .munia-home .home-shell { display:flex; flex-direction:column; }
  .munia-home .home-sidebar, .munia-home #homeSearchSlot { display:none; }
  .munia-home .home-tabs { display:flex; flex-shrink:0; border-bottom:1px solid var(--home-line); }
  .munia-home .home-tabs button { flex:1; min-width:0; padding:1px 6px; border:0; border-bottom:3px solid transparent; background:var(--munia-surface, #fff); color:var(--home-muted); font:18px/1.2 Arial,sans-serif; cursor:pointer; overflow-wrap:anywhere; }
  .munia-home .home-tabs button[aria-selected="true"] { border-bottom-color:var(--munia-positive-line, #0ac18e); color:var(--munia-text, #18231e); font-weight:700; }
  .munia-home [data-home-panel] { display:none; }
  .munia-home [data-home-panel].home-active-panel { display:flex; flex:1; min-height:0; }
  .munia-home .home-feed { border:0; }
  .munia-home .home-feed-header { display:none; }
  .munia-home .home-post { padding:12px 14px 4px; }
  .munia-home .home-discover { padding:0 16px 14px; }
  .munia-home .home-discover h2 { font-size:20px; }
  .munia-home .home-compose { display:none; padding:14px; }
  .munia-home .home-compose.home-compose-open { display:block; }
  .munia-home #homeComposeClose { display:block; margin-left:auto; border:0; background:transparent; color:var(--home-muted); font-size:24px; min-width:32px; cursor:pointer; }
  .munia-home #homeComposeLaunch { display:block; position:absolute; bottom:16px; right:18px; width:54px; height:54px; border-radius:50%; border:0; background:#0ac18e; color:#06281f; font-size:32px; box-shadow:0 4px 16px #18231e33; cursor:pointer; }
  .munia-home #homeComposeLaunch[aria-expanded="true"] { display:none; }
  .munia-home #globalBlockchatContainer { padding-bottom:70px; }
  .munia-home .home-post-content { overflow-y:auto; }
}
@media (max-width:360px) {
  .munia-home #topBar h2 a { font-size:20px !important; }
  .munia-home #walletStatus { font-size:13px !important; }
}
/* Short landscape screens and the reduced viewport while typing on a phone. */
@media (max-width:1023px) and (max-height:500px) {
  .munia-home .home-compose.home-compose-open { min-height:0; overflow-y:auto; }
  .munia-home .home-feed:has(.home-compose-open) #globalBlockchatContainer { display:none; }
}
.home-long-actions { display:flex; gap:16px; align-items:center; margin:10px 0; }
.home-long-actions button, .home-long-actions a { color:var(--munia-accent, #00c9a0); background:transparent; border:0; padding:4px 0; cursor:pointer; font:inherit; }
#gbcLongProgress { color:var(--munia-muted, #89969e); font-size:.875rem; padding-top:8px; }

/* Replies use the same cards and remain visible in the post page on mobile. */
.munia-home .home-post-footer .home-post-options { margin-left:auto; }
.munia-home .home-post-footer { justify-content:flex-start; gap:28px; }
.munia-home .gbc-reply { display:inline-flex; align-items:center; gap:7px; min-width:44px; min-height:36px; color:var(--home-muted); text-decoration:none; border-radius:18px; font-size:12px; }
.munia-home .gbc-reply:hover,.munia-home .gbc-reply:focus-visible { color:var(--home-green); background:color-mix(in srgb,var(--home-green) 8%,transparent); }
.munia-home .gbc-reply:focus-visible { outline:2px solid var(--home-green); outline-offset:3px; }
.munia-home #homeChat.home-post-page .home-reply-compose { display:block; position:static; margin:0; background:var(--munia-surface,#fff); }
.munia-home #reply-composer { scroll-margin-top:80px; }
.munia-home .home-replies-more { display:block; padding:20px 22px; color:var(--munia-link-text,#2563eb); }
.munia-home .home-thread-parent { position:relative; }
.munia-home .home-thread-parent::after { content:""; position:absolute; left:39px; top:58px; bottom:0; width:2px; background:var(--home-line); pointer-events:none; }
.munia-home .home-thread-parent .home-post { border-bottom:0; padding-bottom:16px; }
.munia-home .home-thread-parent .home-post-text { font-size:15px; line-height:1.45; }
/* The selected post opens out below its identity; context keeps the compact card. */
.munia-home .home-post[data-post-selected] { display:grid; grid-template-columns:36px minmax(0,1fr); column-gap:12px; row-gap:0; padding-block:16px 10px; }
.munia-home .home-post[data-post-selected] > .home-avatar { grid-column:1; grid-row:1; }
.munia-home .home-post[data-post-selected] .home-post-body { display:contents; }
.munia-home .home-post[data-post-selected] .home-post-meta { grid-column:2; grid-row:1; align-self:center; }
.munia-home .home-post[data-post-selected] .home-post-author { flex-direction:column; align-items:flex-start; }
.munia-home .home-post[data-post-selected] .home-post-text { grid-column:1 / -1; margin:14px 0 12px; font-size:20px; line-height:1.5; }
.munia-home .home-post[data-post-selected] .home-post-footer { grid-column:1 / -1; }
.munia-home [data-post-detail] .home-post:not([data-post-selected]) { cursor:pointer; }
@media (hover:hover) { .munia-home [data-post-detail] .home-post:not([data-post-selected]):hover { background:color-mix(in srgb,var(--munia-text,#18231e) 3%,transparent); } }
@media (pointer:coarse) { .munia-home .gbc-reply { min-height:44px; } }

/* Lightweight video preview; the YouTube frame exists only after Play. */
.munia-home .home-youtube { grid-column:1 / -1; width:100%; min-width:0; max-width:720px; margin:12px 0 8px; }
.munia-home .home-youtube-stage { position:relative; width:100%; min-width:0; aspect-ratio:16 / 9; min-height:202px; overflow:hidden; border:1px solid var(--home-line); border-radius:12px; background:#101514; }
.munia-home .home-youtube-play { position:absolute; inset:0; display:block; width:100%; height:100%; padding:0; border:0; border-radius:0; background:#101514 !important; color:#fff !important; cursor:pointer; }
.munia-home .home-youtube-play img { display:block; width:100%; height:100%; object-fit:cover; }
.munia-home .home-youtube-play img[hidden] { display:none; }
.munia-home .home-youtube-play-icon { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:68px; height:48px; border-radius:12px; background:#c00; box-shadow:0 2px 12px #0008; }
.munia-home .home-youtube-play-icon::after { content:""; position:absolute; left:28px; top:14px; border-left:18px solid #fff; border-top:10px solid transparent; border-bottom:10px solid transparent; }
.munia-home .home-youtube-caption { position:absolute; bottom:0; left:0; right:0; padding:20px 12px 10px; background:linear-gradient(transparent,#000c); text-align:left; font-size:13px; font-weight:500; }
.munia-home .home-youtube-play:hover .home-youtube-play-icon { background:#f00; }
.munia-home .home-youtube-play:focus-visible { outline:3px solid var(--home-green); outline-offset:-4px; }
.munia-home .home-youtube-stage iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.munia-home .home-youtube-source { display:inline-block; margin-top:6px; font-size:12px; color:var(--home-muted); text-decoration:none; }
.munia-home .home-youtube-source:hover,.munia-home .home-youtube-source:focus-visible { color:var(--home-green); text-decoration:underline; }

/* Generic metadata cards share one presentation; media players keep their own renderer. */
.munia-home .home-link-preview { grid-column:1 / -1; display:flex; width:100%; max-width:720px; min-width:0; min-height:104px; margin:12px 0 8px; border:1px solid var(--home-line); border-radius:12px; overflow:hidden; color:var(--munia-text,#18231e); background:var(--munia-surface,#fff); text-decoration:none; text-align:left; }
.munia-home .home-link-preview:hover { border-color:var(--home-green); }
.munia-home .home-link-preview:focus-visible { outline:2px solid var(--home-green); outline-offset:3px; }
.munia-home .home-link-preview > img { display:block; align-self:stretch; flex:0 0 104px; width:104px; min-height:104px; max-height:150px; object-fit:cover; background:var(--munia-surface-soft,#f1f6f3); }
.munia-home .home-link-preview-copy { display:flex; flex:1; flex-direction:column; justify-content:center; gap:5px; min-width:0; padding:12px; overflow-wrap:anywhere; }
.munia-home .home-link-preview-domain { color:var(--home-muted); font-size:12px; line-height:1.3; }
.munia-home .home-link-preview strong { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:15px; line-height:1.35; }
.munia-home .home-link-preview-description { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; color:var(--home-muted); font-size:13px; line-height:1.4; }
/* Landscape covers keep their complete image above the title, description and domain. */
.munia-home .home-link-preview.home-link-preview-large { flex-direction:column; min-height:0; }
.munia-home .home-link-preview.home-link-preview-large > img { flex:none; width:100%; height:auto; min-height:0; max-height:none; object-fit:contain; }
.munia-home .home-link-preview-large .home-link-preview-copy { flex:none; }
/* Posts show the complete image; composer thumbnails keep a compact frame. */
.munia-home .home-post-text .home-image-source-hidden, .munia-home .home-post-text.home-image-only { display:none; }
.munia-home .home-image-preview { grid-column:1 / -1; width:100%; max-width:720px; min-width:0; margin:12px 0 8px; }
.munia-home .home-image-link { display:flex; align-items:center; justify-content:center; width:fit-content; max-width:100%; min-width:0; overflow:hidden; border:1px solid var(--home-line); border-radius:12px; background:var(--munia-surface-soft,#f1f6f3); }
.munia-home .home-image-link:hover { border-color:var(--home-green); }
.munia-home .home-image-link:focus-visible { outline:2px solid var(--home-green); outline-offset:3px; }
.munia-home .home-image-link img { display:block; width:auto; height:auto; max-width:100%; }
.munia-home .home-image-preview:not(.home-image-ready) .home-image-link { width:160px; height:160px; }
.munia-home .home-compose-preview { margin:12px 0 4px 48px; }
.munia-home .home-compose-preview[hidden] { display:none; }
.munia-home .home-compose-preview .home-link-preview { margin:0; }
.munia-home .home-compose-preview .home-link-preview-large { max-width:360px; }
.munia-home .home-compose-preview .home-image-preview { margin:0; }
.munia-home .home-compose-preview .home-image-link img { max-height:180px; }
.munia-home .home-compose-preview .home-youtube { margin:0; max-width:360px; }
.munia-home .home-compose-preview .home-youtube-stage { min-height:0; }
.munia-home .home-x-preview { grid-column:1 / -1; width:100%; max-width:550px; min-width:0; margin:12px 0 8px; overflow:hidden; }
.munia-home .home-x-preview[aria-busy] { min-height:140px; }
.munia-home .home-x-stage { min-width:0; }
.munia-home .home-x-stage iframe, .munia-home .home-x-stage twitter-widget { max-width:100% !important; }
.munia-home .home-x-stage .twitter-tweet { margin:0 !important; }
.munia-home .home-x-source { display:inline-block; margin-top:6px; color:var(--home-muted); font-size:12px; }
.munia-home .home-x-source:hover, .munia-home .home-x-source:focus-visible { color:var(--home-green); }
.munia-home .home-compose-preview .home-x-preview { margin:0; }
.munia-home .home-compose-preview-x { max-height:clamp(96px,calc(100dvh - 360px),360px); overflow-y:auto; overscroll-behavior:contain; }
.munia-home .home-compose-preview-x:focus-visible { outline:2px solid var(--home-green); outline-offset:2px; border-radius:4px; }
@media (max-width:420px) {
  .munia-home .home-link-preview { min-height:96px; }
  .munia-home .home-link-preview > img { flex-basis:76px; width:76px; min-height:96px; }
  .munia-home .home-link-preview-copy { padding:10px; }
  .munia-home .home-compose-preview { margin-left:0; }
}
