/* ReachAds 32.0.0 — Launch Gate Closure */
:root{--ra-header:78px;--ra-nav:78px}
#ra-toast.ra-toast{position:fixed!important;inset:auto 14px calc(var(--ra-nav) + 18px + env(safe-area-inset-bottom)) 14px!important;display:block!important;width:auto!important;max-width:520px!important;height:auto!important;min-height:44px!important;max-height:120px!important;margin-inline:auto!important;padding:12px 16px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:14px!important;background:#101827!important;color:#fff!important;font:700 12px/1.6 'Alexandria',sans-serif!important;text-align:center!important;overflow:auto!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(12px)!important;transition:opacity .18s ease,transform .18s ease,visibility .18s!important;z-index:2147483000!important;box-shadow:0 14px 36px rgba(0,0,0,.28)!important}
#ra-toast.ra-toast.is-visible{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
#ra-toast.ra-toast-success{background:#0f5132!important}#ra-toast.ra-toast-error{background:#7f1d1d!important}#ra-toast.ra-toast-warning{background:#713f12!important}#ra-toast.ra-toast-info{background:#1e3a8a!important}
.app-header{min-height:var(--ra-header)!important;padding:10px 16px!important}.header-tools{gap:8px!important}.header-tool{width:44px!important;height:44px!important;flex:0 0 44px!important}.header-balance{height:44px!important;min-width:76px!important;padding-inline:12px!important}.header-avatar,.header-avatar img{width:36px!important;height:36px!important;border-radius:11px!important}.header-profile{box-shadow:none!important}.header-brand-mark,.header-brand-mark img{width:42px!important;height:42px!important;border-radius:12px!important}.header-brand-copy small{display:none!important}
.app-main{padding-bottom:calc(var(--ra-nav) + 32px + env(safe-area-inset-bottom))!important}.bottom-nav{height:var(--ra-nav)!important;bottom:0!important}
.channel-avatar{position:relative!important;overflow:hidden!important}.channel-avatar img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:2!important}.channel-avatar-fallback{position:relative!important;z-index:1!important}
.wallet-overview{min-height:auto!important}.empty-state{min-height:260px!important;padding:28px 20px!important}.section-card .empty-state{min-height:230px!important}
.quick-grid .quick-card{min-height:142px!important}.quick-card h3{font-size:17px!important;line-height:1.45!important}.quick-card p{font-size:11px!important}
@media(max-width:380px){.header-brand-copy{display:none!important}.app-header{padding-inline:12px!important}.header-tools{gap:6px!important}.header-balance{min-width:68px!important}.page-head h1{font-size:30px!important}.home-actions{gap:10px!important}.home-action-card{min-height:176px!important;padding:18px!important}}


/* ReachAds 33.0.0 — 360° launch hardening */
:root{--ra-header:68px;--ra-nav:68px;--ra-content-max:760px;--ra-hit:44px;--ra-radius:18px;--ra-gap:14px}
html,body{width:100%;height:100%;margin:0;overflow:hidden!important;overscroll-behavior:none;background:var(--bg,#f6f7fb)}
#app,.app-shell{width:100%;height:100%;min-height:0;overflow:hidden!important}
.app-shell{position:relative;display:grid;grid-template-rows:var(--ra-header) minmax(0,1fr) var(--ra-nav)}
.app-header{position:relative!important;inset:auto!important;grid-row:1;z-index:50;box-sizing:border-box;width:100%;height:var(--ra-header)!important;min-height:var(--ra-header)!important;padding:8px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;background:color-mix(in srgb,var(--surface,#fff) 94%,transparent)!important;backdrop-filter:blur(16px);border-bottom:1px solid var(--border,#e6eaf0)!important}
.app-main{position:relative!important;inset:auto!important;grid-row:2;min-height:0!important;width:100%;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none;padding:16px 14px 24px!important;box-sizing:border-box;touch-action:pan-y pinch-zoom}
.app-main::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.bottom-nav{position:relative!important;inset:auto!important;grid-row:3;z-index:50;width:100%!important;height:var(--ra-nav)!important;min-height:var(--ra-nav)!important;padding:6px 8px max(6px,env(safe-area-inset-bottom))!important;box-sizing:border-box;background:color-mix(in srgb,var(--surface,#fff) 96%,transparent)!important;backdrop-filter:blur(16px);border-top:1px solid var(--border,#e6eaf0)!important}
.connection-banner{position:absolute!important;top:var(--ra-header)!important;left:12px!important;right:12px!important;z-index:80!important}
.header-brand-wrap{min-width:0!important;flex:1 1 auto!important;justify-content:flex-start!important;gap:8px!important;padding:0!important}
.header-brand-copy{min-width:0!important}.header-brand-copy b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.header-tools{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
.header-tool,.header-balance{min-height:44px!important;touch-action:manipulation}
.header-profile,.header-support{width:44px!important;height:44px!important;flex:0 0 44px!important;padding:0!important}
.header-balance{min-width:72px!important;max-width:112px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
.header-avatar{position:relative;display:grid!important;place-items:center!important;overflow:hidden!important;background:var(--surface-soft,#eef2f8)!important;color:var(--text-secondary,#526070)!important}
.header-avatar img,.profile-avatar img,.channel-avatar img,.channel-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.header-avatar.has-image-error img,.profile-avatar.has-image-error img,.channel-avatar.has-image-error img{display:none!important}
button,[role="button"],a,input,select,textarea{font:inherit}button{touch-action:manipulation}.btn,.icon-btn,.nav-item,.header-tool,.header-balance,.home-action,.qa-card{min-height:var(--ra-hit)}
button:disabled,.btn:disabled,[aria-disabled="true"]{opacity:.48!important;cursor:not-allowed!important;filter:saturate(.55)!important;pointer-events:none!important}
.home-actions,.form-two,.balance-actions,.channel-detail-actions{align-items:stretch!important}.home-action{height:auto!important;min-height:108px!important;padding:16px!important}.home-action>span:nth-child(2){min-width:0}.home-action b,.home-action small{display:block;overflow-wrap:anywhere}
.qa-grid{grid-auto-rows:1fr}.qa-card{height:100%!important;min-height:92px!important;padding:14px!important;align-items:center!important}.qa-card>div:nth-child(2){min-width:0}.qa-card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.section-card,.wallet-overview,.market-card,.channel-card{overflow:hidden!important}.empty-state{min-height:190px!important;padding:22px 16px!important}.section-card .empty-state{min-height:170px!important}
.market-card,.channel-card{position:relative}.channel-avatar,.channel-photo{position:relative;overflow:hidden;flex:0 0 auto}.channel-avatar-fallback{display:grid!important;place-items:center!important;width:100%;height:100%;font-weight:800;text-transform:uppercase}
.channel-actions{display:flex!important;gap:8px!important;align-items:center!important}.channel-actions .icon-btn{width:42px!important;height:42px!important;flex:0 0 42px!important}.channel-actions .btn{flex:1 1 auto!important}
.modal-overlay{position:fixed!important;inset:0!important;z-index:2147482000!important;padding:12px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;background:rgba(5,10,20,.54)!important;backdrop-filter:blur(6px)}
.modal-content{width:min(100%,680px)!important;max-height:min(88dvh,780px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:22px 22px 16px 16px!important;background:var(--surface,#fff)!important;color:var(--text,#101827)!important}
.modal-header{flex:0 0 auto!important}.modal-body{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
#ra-toast.ra-toast{left:50%!important;right:auto!important;bottom:calc(var(--ra-nav) + 12px + env(safe-area-inset-bottom))!important;width:min(calc(100vw - 28px),520px)!important;max-width:none!important;transform:translate(-50%,12px)!important;overflow-wrap:anywhere!important;white-space:normal!important}
#ra-toast.ra-toast.is-visible{transform:translate(-50%,0)!important}
.app-fatal{position:absolute!important;inset:0!important;z-index:2147482500!important;display:grid!important;place-items:center!important;padding:20px!important;background:var(--bg,#f6f7fb)!important}
.app-fatal-card{width:min(100%,460px)!important;box-sizing:border-box!important}
.ltr,[dir="ltr"]{unicode-bidi:isolate!important;direction:ltr!important}.rtl,[dir="rtl"]{unicode-bidi:isolate!important;direction:rtl!important}
@media(max-width:420px){:root{--ra-header:64px;--ra-nav:66px}.app-header{padding-inline:10px!important}.app-main{padding:12px 10px 20px!important}.header-brand-mark,.header-brand-mark img{width:38px!important;height:38px!important}.header-brand-copy small{display:none!important}.header-profile,.header-support{width:40px!important;height:40px!important;flex-basis:40px!important}.header-balance{height:40px!important;min-height:40px!important;min-width:62px!important;padding-inline:8px!important}.header-avatar,.header-avatar img{width:34px!important;height:34px!important}.home-actions{grid-template-columns:1fr 1fr!important;gap:10px!important}.home-action{min-height:100px!important;padding:13px!important}.home-action small{font-size:10px!important}.qa-grid{gap:10px!important}.qa-card{min-height:84px!important;padding:12px!important}.channel-actions{flex-wrap:wrap!important}.channel-actions .btn{flex-basis:100%!important;order:3!important}}
@media(max-width:350px){.header-brand-copy{display:none!important}.header-balance{min-width:58px!important}.home-actions{grid-template-columns:1fr!important}.form-two{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
