:root{--gold:#f5c542;--gold-soft:#cba63c;--bg:#090909;--panel:#151515;--panel-2:#1d1d1d;--line:rgba(245,197,66,.17);--text:#f4f4f4;--muted:#a4a4a4;--green:#70d7a1;--danger:#ef8888}
.member-body{background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif;min-height:100vh;overflow-x:hidden;position:relative}
.member-ambient{position:fixed;inset:0;z-index:-3;pointer-events:none;background:radial-gradient(ellipse at 16% 18%,rgba(245,197,66,.055),transparent 42%),radial-gradient(ellipse at 84% 80%,rgba(245,197,66,.035),transparent 43%),#090909}
.member-dots{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background-image:radial-gradient(circle,rgba(245,197,66,.22) 1px,transparent 1.6px),radial-gradient(circle,rgba(245,197,66,.12) 1px,transparent 1.8px);background-size:263px 243px,379px 337px;background-position:21px 14px,82px 67px;animation:dot-drift var(--member-dots-drift-duration,42s) linear infinite;opacity:var(--member-dots-opacity,.25);mask-image:linear-gradient(180deg,#000,transparent 96%)}
.member-dots:after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 19% 27%,rgba(245,197,66,.32) 0 1px,transparent 2px),radial-gradient(circle at 73% 17%,rgba(245,197,66,.25) 0 1px,transparent 2px),radial-gradient(circle at 82% 68%,rgba(245,197,66,.25) 0 1px,transparent 2px),radial-gradient(circle at 31% 83%,rgba(245,197,66,.22) 0 1px,transparent 2px);animation:dot-twinkle var(--member-dots-twinkle-duration,9s) ease-in-out infinite alternate}
@keyframes dot-drift{to{background-position:164px 155px,45px 103px}}@keyframes dot-twinkle{from{opacity:.10;transform:translateY(0)}to{opacity:.38;transform:translateY(-3px)}}
.member-wrap{width:min(1120px,calc(100% - 34px));margin:auto}.member-brand{display:inline-flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;font-size:20px;font-weight:900;letter-spacing:-.5px}.member-brand b{color:var(--gold)}.member-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#ffe68f,#d5a329);color:#17130a;font-size:22px;font-weight:900;box-shadow:0 8px 26px rgba(245,197,66,.12)}
.member-topline{padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.member-topline a:not(.member-brand){color:var(--muted);text-decoration:none;font-size:13px}.member-topline a:hover{color:var(--gold)}.member-panel{background:rgba(20,20,20,.88);border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 85px rgba(0,0,0,.32);backdrop-filter:blur(18px)}
.auth-layout{min-height:calc(100vh - 100px);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.88fr);align-items:center;gap:clamp(26px,6vw,86px);padding:20px 0 64px}.auth-side-copy{padding:18px 0}.member-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--gold);font:700 10px/1.5 Arial,sans-serif;letter-spacing:2.5px;text-transform:uppercase}.member-eyebrow:before{content:"";width:20px;height:1px;background:var(--gold)}.auth-side-copy h1{font-size:clamp(32px,4vw,52px);line-height:1.42;letter-spacing:-1.5px;margin:18px 0 14px}.auth-side-copy h1 span{color:inherit}.auth-side-copy h1 .auth-heading-highlight{color:var(--gold)}.auth-side-copy p{max-width:500px;color:var(--muted);font-size:14px;line-height:2.15}.math-float{position:relative;margin-top:40px;min-height:180px;border:1px solid rgba(245,197,66,.12);border-radius:20px;overflow:hidden;background:linear-gradient(145deg,rgba(245,197,66,.035),rgba(255,255,255,.006))}.math-float svg{position:absolute;inset:0;width:100%;height:100%}.math-label{position:absolute;color:rgba(245,197,66,.38);font:italic 15px/1.4 Georgia,serif;animation:math-float 8s ease-in-out infinite}.math-label.m1{top:22px;left:8%}.math-label.m2{top:100px;left:52%;animation-delay:-3s}.math-label.m3{top:47px;right:10%;animation-delay:-5s}.math-label.m4{bottom:18px;left:24%;font-size:13px;animation-delay:-2s}@keyframes math-float{0%,100%{transform:translateY(0);opacity:.35}50%{transform:translateY(-7px);opacity:.75}}
.auth-card{padding:clamp(23px,3vw,36px);position:relative;overflow:hidden}.auth-card:before{content:"";position:absolute;top:-80px;right:-80px;width:190px;height:190px;border-radius:50%;background:rgba(245,197,66,.06);filter:blur(35px);pointer-events:none}.auth-card>*{position:relative}.auth-card h2{font-size:25px;margin:0 0 8px;letter-spacing:-.5px}.auth-card>p{color:var(--muted);font-size:12px;line-height:2;margin:0 0 24px}.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#0d0d0d;border:1px solid rgba(255,255,255,.06);border-radius:13px;margin-bottom:23px}.auth-mode-tabs button{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:11px 8px;font:700 12px Tahoma,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s,transform .2s}.auth-mode-tabs button.active{background:var(--gold);color:#15120a;box-shadow:0 5px 16px rgba(245,197,66,.12)}.auth-fields{display:grid;gap:14px}.member-field{display:grid;gap:7px;color:#d8d8d8;font-size:12px;font-weight:700}.member-field[hidden]{display:none!important}.member-field input,.member-field textarea,.member-field select{width:100%;min-height:47px;box-sizing:border-box;border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:11px 13px;background:#0e0e0e;color:var(--text);outline:0;font:13px Tahoma,Arial,sans-serif;transition:border .2s,box-shadow .2s}.member-field input:focus,.member-field textarea:focus,.member-field select:focus{border-color:rgba(245,197,66,.7);box-shadow:0 0 0 3px rgba(245,197,66,.08)}.member-field input[type=email],.member-field input[type=password],.member-field input[name=username],.member-field input[name=login]{direction:ltr;text-align:left}.member-field textarea{resize:vertical;min-height:105px;line-height:1.9}.member-button{width:100%;min-height:49px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:13px;background:linear-gradient(135deg,#ffe184,#e8b62f);color:#17130a;font:900 13px Tahoma,Arial,sans-serif;cursor:pointer;box-shadow:0 8px 22px rgba(245,197,66,.1);transition:transform .2s,box-shadow .2s}.member-button:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(245,197,66,.16)}.member-button:disabled{opacity:.6;cursor:wait;transform:none}.member-button.secondary{background:#252525;color:var(--text);border:1px solid rgba(255,255,255,.08);box-shadow:none}.auth-error,.member-status{color:var(--muted);font-size:12px;line-height:1.9;min-height:20px;margin:10px 0 0}.auth-error.error,.member-status.error{color:var(--danger)}.auth-error.success,.member-status.success{color:var(--green)}.auth-legal{font-size:10px!important;line-height:1.9!important;color:#777!important;margin:18px 0 0!important}.auth-bottom-switch{display:block;border:0;background:none;color:var(--gold);font:700 12px Tahoma,Arial,sans-serif;padding:12px 0 0;margin:auto;cursor:pointer}
.member-dashboard-shell{padding-bottom:110px}.dashboard-topbar{direction:ltr;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0 24px}.dashboard-right,.dashboard-left{display:flex;align-items:center;gap:12px}.dashboard-right > div[style*="position:relative"]{order:-1}.dashboard-right{margin-left:auto;direction:rtl}.dashboard-left{direction:ltr}.dash-icon-button{position:relative;width:42px;height:42px;border-radius:13px;border:1px solid rgba(245,197,66,.16);background:rgba(20,20,20,.9);color:var(--gold);display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s}.dash-icon-button:hover{background:rgba(245,197,66,.1);transform:translateY(-2px)}.dash-icon-button svg{width:20px;height:20px}.notification-count{position:absolute;top:-4px;right:-3px;min-width:16px;height:16px;padding:0 3px;display:grid;place-items:center;border:2px solid #090909;background:#e9b52f;color:#17130a;font:700 9px Arial,sans-serif;border-radius:20px}.dash-user-chip{display:flex;align-items:center;gap:9px;color:var(--text);background:transparent;border:0;cursor:pointer}.dash-user-avatar{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#fce38d,#c59320);color:#16120a;font-weight:900}.dash-user-name{display:grid;gap:3px;text-align:right}.dash-user-name strong{font-size:12px}.dash-user-name small{font-size:10px;color:var(--muted)}.dashboard-greeting{padding:24px 0 22px}.dashboard-greeting .member-eyebrow{font-size:9px}.dashboard-greeting h1{font-size:clamp(23px,3vw,34px);margin:10px 0 7px;line-height:1.5;letter-spacing:-.8px}.dashboard-greeting p{color:var(--muted);font-size:12px;line-height:2;margin:0}.dashboard-dot-panel{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(245,197,66,.13);border-radius:23px;padding:clamp(18px,3vw,28px);background:linear-gradient(135deg,rgba(245,197,66,.035),rgba(18,18,18,.96) 36%,rgba(14,14,14,.96));margin-bottom:18px}.dashboard-dot-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,rgba(245,197,66,.3) 1px,transparent 1.6px),radial-gradient(circle,rgba(245,197,66,.15) .7px,transparent 1.2px);background-size:263px 243px,379px 337px;background-position:23px 29px,91px 77px;opacity:var(--member-panel-dots-opacity,.18);animation:dot-drift var(--member-dots-drift-duration,42s) linear infinite}.dashboard-dot-panel:after{content:"";position:absolute;z-index:-1;top:-100px;left:22%;width:240px;height:240px;border-radius:50%;background:rgba(245,197,66,.04);filter:blur(45px);pointer-events:none}.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-stat{position:relative;min-width:0;overflow:hidden;padding:21px 19px 18px;background:rgba(15,15,15,.76);border:1px solid rgba(255,255,255,.055);border-radius:17px;transition:transform .22s,border-color .22s}.dashboard-stat:hover{transform:translateY(-3px);border-color:rgba(245,197,66,.25)}.dashboard-stat-top{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;line-height:1.8}.dashboard-stat-icon{width:33px;height:33px;flex:0 0 33px;border-radius:11px;display:grid;place-items:center;background:rgba(245,197,66,.09);color:var(--gold)}.dashboard-stat-icon svg{width:18px;height:18px}.dashboard-stat-value{display:block;margin-top:18px;color:#f7d675;font:800 clamp(17px,2.1vw,25px)/1.35 Arial,sans-serif;direction:ltr;text-align:left;overflow-wrap:anywhere;letter-spacing:-.5px}.dashboard-stat-unit{margin-top:5px;color:#777;font-size:10px;line-height:1.8}.dashboard-content-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px;align-items:start}.member-card{background:rgba(20,20,20,.86);border:1px solid rgba(255,255,255,.065);border-radius:19px;padding:21px;min-width:0}.member-card+.member-card{margin-top:15px}.member-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.member-card-head h2{font-size:15px;margin:0 0 5px}.member-card-head p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.member-card-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:13px;background:rgba(245,197,66,.1);color:var(--gold)}.member-card-icon svg{width:20px;height:20px}.member-stat-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 0;border-top:1px solid rgba(255,255,255,.055);font-size:12px}.member-stat-row span{color:var(--muted)}.member-stat-row strong{font:700 13px Arial,sans-serif;direction:ltr;color:var(--text)}.referral-line{display:flex;gap:8px;margin-top:12px}.referral-line input{flex:1;min-width:0;background:#0a0a0a;border:1px solid rgba(255,255,255,.08);border-radius:11px;color:#bdbdbd;direction:ltr;text-align:left;padding:11px;font:11px Arial,sans-serif}.referral-line button{border:1px solid rgba(245,197,66,.25);border-radius:11px;background:rgba(245,197,66,.08);color:var(--gold);padding:0 12px;white-space:nowrap;cursor:pointer;font:700 11px Tahoma,Arial,sans-serif}.notification-popover{position:absolute;z-index:30;top:calc(100% + 10px);width:min(340px,calc(100vw - 36px));background:#161616;border:1px solid rgba(245,197,66,.2);border-radius:17px;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,.55);animation:pop-in .18s ease-out}.notification-popover{left:0}.notification-popover[hidden],.settings-modal[hidden],.welcome-modal[hidden]{display:none!important}@keyframes pop-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.popover-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 8px 13px;border-bottom:1px solid rgba(255,255,255,.07);font-size:12px;font-weight:800}.popover-title button{border:0;background:transparent;color:#9e9e9e;font-size:19px;cursor:pointer}.notice-list{display:grid;gap:6px;max-height:340px;overflow:auto;padding-top:8px}.notice-item{border:1px solid rgba(255,255,255,.055);border-radius:11px;background:#1b1b1b;padding:12px;cursor:pointer;text-align:right;color:var(--text)}.notice-item.unread{border-color:rgba(245,197,66,.3);background:rgba(245,197,66,.045)}.notice-item strong{font-size:12px;display:block;margin-bottom:5px}.notice-item p{font-size:11px;color:#aaa;line-height:1.9;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.notice-item time{font:10px Arial,sans-serif;color:#777;display:block;margin-top:7px;direction:ltr;text-align:left}.mobile-bottom-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));background:rgba(13,13,13,.94);backdrop-filter:blur(20px);border-top:1px solid rgba(245,197,66,.15);box-shadow:0 -10px 35px rgba(0,0,0,.26);direction:ltr}.mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{display:flex;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:4px 1px 2px;color:#777;text-decoration:none;font-size:9px;line-height:1.5;transition:color .2s,transform .2s}.mobile-bottom-nav a svg,.mobile-bottom-nav .more-nav-trigger svg{width:19px;height:19px;transition:transform .22s,filter .22s}.mobile-bottom-nav a.active,.mobile-bottom-nav .more-nav-trigger.active,.mobile-bottom-nav .more-nav-trigger[aria-expanded="true"]{color:var(--gold)}.mobile-bottom-nav a.active svg,.mobile-bottom-nav .more-nav-trigger.active svg,.mobile-bottom-nav .more-nav-trigger[aria-expanded="true"] svg{filter:drop-shadow(0 0 7px rgba(245,197,66,.35));transform:translateY(-2px)}.mobile-bottom-nav .more-nav-trigger{border:0;background:transparent;font-family:inherit;cursor:pointer;appearance:none}.mobile-bottom-nav .more-nav-trigger:focus-visible,.member-menu-close:focus-visible,.member-menu-links a:focus-visible,.member-menu-links button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.mobile-bottom-nav a.dashboard-tab .nav-icon{display:grid;place-items:center;width:43px;height:35px;margin-top:-17px;border-radius:12px;background:linear-gradient(145deg,#ffe58b,#dfab21);color:#15120a;box-shadow:0 5px 18px rgba(245,197,66,.2);transition:transform .2s,box-shadow .2s}.mobile-bottom-nav a.dashboard-tab.active .nav-icon{transform:translateY(-3px);box-shadow:0 7px 24px rgba(245,197,66,.3)}.mobile-bottom-nav a.dashboard-tab svg{width:21px;height:21px;filter:none}
/* Categorized "More" menu: centered premium panel based on the mobile reference. */
.member-menu-drawer{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 28px));max-width:760px;height:min(86vh,820px);height:min(86dvh,820px);max-height:calc(100dvh - 28px);min-height:0;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain;padding:clamp(16px,3vw,25px);border:1px solid rgba(245,197,66,.28);border-radius:25px;background:linear-gradient(155deg,#1b1a17 0%,#111 42%,#090909 100%);color:var(--text);box-shadow:0 28px 100px rgba(0,0,0,.72);opacity:0;transform:translateY(16px) scale(.985);transition:opacity .2s ease,transform .22s cubic-bezier(.2,.75,.25,1);z-index:2147483001}
.member-menu-drawer:not([open]){display:none!important}
.member-menu-drawer[open]{display:flex!important}
.member-menu-drawer::backdrop{background:rgba(0,0,0,.72);backdrop-filter:none;-webkit-backdrop-filter:none}
.member-menu-drawer[open].is-open{opacity:1;transform:translateY(0) scale(1)}
.member-menu-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 2px 17px;margin-bottom:15px;border-bottom:1px solid rgba(245,197,66,.17);flex:0 0 auto}
.member-menu-brand{display:flex;align-items:center;gap:12px;min-width:0}
.member-menu-mark{width:45px;height:45px;display:grid;place-items:center;flex:0 0 45px;border-radius:14px;background:linear-gradient(145deg,#ffe58b,#dfab21);color:#15120a;font-size:20px;font-weight:1000;box-shadow:0 5px 22px rgba(245,197,66,.16)}
.member-menu-title{display:grid;gap:3px;min-width:0}.member-menu-title strong{font-size:18px;line-height:1.35;color:#f7d675}.member-menu-title small{font-size:10px;color:#a5a5a5;line-height:1.7}.member-menu-eyebrow{font:800 9px/1.4 Arial,sans-serif;letter-spacing:2.4px;color:#d3ad48}
.member-menu-close{width:41px;height:41px;display:grid;place-items:center;flex:0 0 41px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#202020;color:#e2e2e2;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.member-menu-close:hover{background:#292929;border-color:rgba(245,197,66,.35);transform:rotate(4deg)}.member-menu-close svg{width:20px;height:20px}
.member-menu-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:1px 2px 14px;scrollbar-width:thin;scrollbar-color:rgba(245,197,66,.32) transparent}
.member-menu-links{display:grid;gap:18px;overflow:visible;padding:0}
.member-menu-category{min-width:0}.member-menu-section-title{display:flex;align-items:center;gap:9px;margin:0 0 9px;color:#e6c86f;font-size:11px;font-weight:900;line-height:1.7}.member-menu-section-title:before{content:"";width:17px;height:2px;border-radius:2px;background:#d9b64a;flex:0 0 17px}.member-menu-section-title:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(245,197,66,.23),transparent)}
.member-menu-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.member-menu-item{display:flex;align-items:center;gap:11px;min-width:0;min-height:68px;box-sizing:border-box;padding:11px 12px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#ededed;text-align:start;text-decoration:none;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.member-menu-item:hover,.member-menu-item.active{border-color:rgba(245,197,66,.38);background:linear-gradient(145deg,rgba(245,197,66,.13),rgba(245,197,66,.055));color:#ffe08a;box-shadow:0 7px 20px rgba(0,0,0,.14);transform:translateY(-1px)}
.member-menu-item[hidden]{display:none!important}.member-menu-item-icon{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border:1px solid rgba(245,197,66,.16);border-radius:12px;background:rgba(245,197,66,.09);color:var(--gold)}.member-menu-item-icon svg{width:20px;height:20px}
.member-menu-item-copy{display:grid;gap:3px;min-width:0}.member-menu-item-copy strong{font:800 11px/1.55 Tahoma,Arial,sans-serif;overflow-wrap:anywhere}.member-menu-item-copy small{font:10px/1.6 Tahoma,Arial,sans-serif;color:#8d8d8d;overflow-wrap:anywhere}.member-menu-item:hover .member-menu-item-copy small,.member-menu-item.active .member-menu-item-copy small{color:#c5b27d}
.member-menu-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;flex:0 0 auto;padding:13px 2px 0;border-top:1px solid rgba(255,255,255,.09)}.member-menu-footer-note{color:#777;font-size:9px;line-height:1.6;text-align:center}
.member-menu-logout{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;box-sizing:border-box;padding:10px 14px;border:1px solid rgba(255,105,105,.2);border-radius:14px;background:rgba(255,80,80,.055);color:#e9a6a6;font:800 12px Tahoma,Arial,sans-serif;cursor:pointer;transition:background .18s,border-color .18s}.member-menu-logout:hover{background:rgba(255,80,80,.11);border-color:rgba(255,105,105,.36)}.member-menu-logout-icon{display:grid;place-items:center;width:20px;height:20px}.member-menu-logout-icon svg{width:20px;height:20px}
.member-menu-open{overflow:hidden!important;overscroll-behavior:none}
.member-menu-close:focus-visible,.member-menu-item:focus-visible,.member-menu-logout:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:520px){.member-menu-drawer{width:calc(100vw - 22px);height:min(88dvh,790px);max-height:calc(100dvh - 20px);padding:15px 13px;border-radius:22px}.member-menu-head{padding-bottom:13px;margin-bottom:12px}.member-menu-mark{width:40px;height:40px;flex-basis:40px}.member-menu-title strong{font-size:16px}.member-menu-title small{font-size:9px}.member-menu-links{gap:15px}.member-menu-category-grid{gap:7px}.member-menu-item{min-height:64px;padding:9px 8px;gap:8px;border-radius:14px}.member-menu-item-icon{width:32px;height:32px;flex-basis:32px;border-radius:10px}.member-menu-item-icon svg{width:18px;height:18px}.member-menu-item-copy strong{font-size:10px}.member-menu-item-copy small{font-size:9px}}
@media(max-width:350px){.member-menu-item{gap:6px;padding:8px 6px}.member-menu-item-icon{width:28px;height:28px;flex-basis:28px}.member-menu-item-copy strong{font-size:9px}.member-menu-item-copy small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.member-menu-drawer,.member-menu-item,.member-menu-close,.member-menu-logout{transition:none!important}}
.settings-modal,.welcome-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(0,0,0,.7);backdrop-filter:blur(7px);padding:18px;animation:fade-in .2s ease-out}.modal-card{width:min(500px,100%);max-height:min(85vh,760px);overflow:auto;background:#171717;border:1px solid rgba(245,197,66,.24);border-radius:22px;padding:25px;box-shadow:0 24px 90px rgba(0,0,0,.5);animation:pop-in .24s ease-out}.welcome-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ffe58b,#dfad2d);color:#17130a;margin:0 auto 17px;box-shadow:0 10px 30px rgba(245,197,66,.12)}.welcome-icon svg{width:30px;height:30px}.welcome-modal .modal-card{text-align:center}.welcome-modal h2{font-size:21px;margin:0 0 19px}.welcome-large{font-size:18px;line-height:1.9;font-weight:900;color:#f5d575;margin:10px 0}.welcome-medium{font-size:13px;line-height:2;color:#ddd;margin:9px 0}.welcome-small{font-size:10px;line-height:2;color:#8e8e8e;margin:16px 0 22px}.modal-close{float:left;border:0;background:transparent;color:#999;font-size:23px;cursor:pointer}.modal-card h2{font-size:19px;margin:0 0 8px}.modal-card>p{font-size:11px;line-height:2;color:var(--muted)}.settings-modal .setting-content{display:grid;gap:14px;margin:17px 0}.settings-language{display:flex;gap:8px}.settings-language button{border:1px solid rgba(255,255,255,.1);background:#232323;color:#ddd;border-radius:10px;padding:8px 12px;cursor:pointer}.settings-language button.active{border-color:var(--gold);color:var(--gold)}.support-thread-list{display:grid;gap:8px;margin:13px 0}.support-thread-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid rgba(255,255,255,.07);background:#161616;color:var(--text);border-radius:11px;padding:12px;cursor:pointer;text-align:right}.support-thread-button strong{font-size:12px}.support-thread-button small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.support-thread-button em{font-style:normal;font-size:9px;color:var(--gold)}.thread-messages{display:grid;gap:9px;max-height:320px;overflow:auto;margin:13px 0;padding:3px}.thread-message{max-width:88%;justify-self:start;background:#252525;border:1px solid rgba(255,255,255,.055);border-radius:12px 12px 12px 3px;padding:11px 12px}.thread-message.from-user{justify-self:end;background:rgba(245,197,66,.075);border-color:rgba(245,197,66,.15);border-radius:12px 12px 3px 12px}.thread-message strong{font-size:10px;color:var(--gold)}.thread-message p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.thread-message time{font:9px Arial,sans-serif;color:#777;display:block;margin-top:6px;direction:ltr}.member-footer{padding:28px 0 15px;text-align:center;color:#626262;font-size:10px;line-height:1.8}.member-footer a{color:#8c762e;text-decoration:none}.status-pill{font-size:9px;color:var(--green);border:1px solid rgba(112,215,161,.2);background:rgba(112,215,161,.06);border-radius:20px;padding:5px 8px;white-space:nowrap}
@media(max-width:800px){.auth-layout{grid-template-columns:1fr;max-width:520px;margin:auto;gap:15px;padding-top:4px}.auth-side-copy{padding:5px 0 0}.auth-side-copy h1{font-size:34px;margin:12px 0}.auth-side-copy>p{font-size:12px;line-height:2;max-width:440px}.math-float{min-height:100px;margin-top:20px}.math-label.m2{top:55px}.dashboard-content-grid{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr;gap:9px}.dashboard-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px 15px;border-radius:15px}.dashboard-stat-top{grid-column:1;grid-row:1;align-items:center}.dashboard-stat-value{grid-column:2;grid-row:1/3;margin:0;font-size:20px;max-width:48vw}.dashboard-stat-unit{grid-column:1;grid-row:2;margin-top:1px}.dashboard-dot-panel{padding:14px}.dashboard-greeting{padding:15px 0}.dashboard-greeting h1{font-size:25px}.member-card{padding:17px;border-radius:16px}.dashboard-topbar{padding:13px 0 8px}.dashboard-right .member-brand{font-size:17px}.dashboard-right .member-mark{width:34px;height:34px;border-radius:11px;font-size:18px}.dash-user-name{display:none}.dashboard-left{gap:7px}.dash-icon-button{width:39px;height:39px}.member-dashboard-shell{padding-bottom:118px}}
@media(max-width:430px){.member-wrap{width:calc(100% - 24px)}.member-topline{padding:16px 0}.auth-card{padding:21px 18px;border-radius:20px}.auth-card h2{font-size:23px}.math-float{min-height:85px}.dashboard-right{gap:8px}.dashboard-right .member-brand{gap:7px;font-size:15px}.dashboard-right .member-mark{width:31px;height:31px}.dashboard-left{gap:4px}.dash-icon-button{width:35px;height:35px;border-radius:11px}.mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{font-size:8px}.mobile-bottom-nav a.dashboard-tab .nav-icon{width:38px;height:33px}.dashboard-stat-value{font-size:18px}.modal-card{padding:19px}.dashboard-greeting h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.member-dots,.member-dots:after,.member-stat-value,.math-label,.dashboard-dot-panel:before,.auth-mode-tabs button,.member-button,.dashboard-stat,.dash-icon-button,.mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger,.mobile-bottom-nav svg{animation:none!important;transition:none!important}}

/* Simplified auth fields with an explicit show/hide password control. */
.password-field>label{display:block;color:#d8d8d8;font-size:12px;font-weight:700}
.password-input-wrap,.admin-password-wrap{display:flex;align-items:stretch;gap:7px;min-width:0}
.password-input-wrap input,.admin-password-wrap input{flex:1;min-width:0}
.password-visibility{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:78px;border:1px solid rgba(245,197,66,.24);border-radius:10px;padding:0 10px;background:rgba(245,197,66,.055);color:var(--gold);cursor:pointer;font:700 10px Tahoma,Arial,sans-serif;white-space:nowrap}
.password-visibility svg{width:16px;height:16px;display:block}
.password-visibility:hover{background:rgba(245,197,66,.12)}
.auth-bottom-switch{display:none!important}


/* Hi Doge member dashboard: clear hierarchy and compact, mobile-first cards. */
.dashboard-stats-vertical{grid-template-columns:minmax(0,1fr);gap:14px}
.dashboard-stats-vertical .dashboard-stat{display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:18px;align-items:center;padding:21px 24px;min-height:124px}
.dashboard-stats-vertical .dashboard-stat-top{display:contents}
.dashboard-stats-vertical .dashboard-stat-icon{grid-column:1;grid-row:1/4;width:68px;height:68px;flex-basis:68px;border-radius:50%;background:rgba(245,197,66,.085);border:1px solid rgba(245,197,66,.12);align-self:center}
.dashboard-stats-vertical .dashboard-stat-icon svg{width:30px;height:30px}
.dashboard-stats-vertical .dashboard-stat-top>span:not(.dashboard-stat-icon){grid-column:2;grid-row:1;align-self:end;font-size:13px;color:#c4c7d0;font-weight:700;line-height:1.8}
.dashboard-stats-vertical .dashboard-stat-value{grid-column:2;grid-row:2;align-self:center;margin-top:2px;font-size:clamp(23px,2.6vw,31px);letter-spacing:-.45px}
.dashboard-stats-vertical .dashboard-stat-unit{grid-column:2;grid-row:3;margin-top:2px;font-size:10px}
.dashboard-stats-vertical .dashboard-stat-collected{min-height:164px;padding:26px 27px;border-color:rgba(245,197,66,.19);background:linear-gradient(112deg,rgba(245,197,66,.075),rgba(17,17,17,.94) 37%,rgba(17,17,17,.83))}
.dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-icon{width:82px;height:82px;flex-basis:82px}
.dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-icon svg{width:37px;height:37px}
.dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-top>span:not(.dashboard-stat-icon){font-size:14px;color:#d1d3dc}
.dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-value{font-size:clamp(31px,4vw,48px);line-height:1.18;font-weight:900;color:#36d483;letter-spacing:-.8px;text-shadow:0 3px 18px rgba(54,212,131,.2)}
.dashboard-stats-vertical .dashboard-stat-collected[data-collected-style="gold"] .dashboard-stat-value{color:#F5C542;text-shadow:0 3px 18px rgba(245,197,66,.22)}
.dashboard-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;margin:18px 0}
.dashboard-action-card{align-self:start;min-width:0;overflow:hidden;border-radius:18px;border:1px solid rgba(245,197,66,.24);background:linear-gradient(145deg,rgba(24,24,24,.95),rgba(12,12,12,.95));box-shadow:0 12px 28px rgba(0,0,0,.13);transition:border-color .2s,transform .2s}
.dashboard-action-card:hover{border-color:rgba(245,197,66,.45);transform:translateY(-2px)}
.dashboard-action-summary{display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:12px;min-height:76px;padding:15px 17px;list-style:none;cursor:pointer;user-select:none}
.dashboard-action-summary{width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:start;border-radius:inherit}
.dashboard-action-summary:focus-visible{outline:2px solid currentColor;outline-offset:-4px}
.dashboard-action-details[hidden]{display:none!important}
#withdrawalCardPanel[hidden],#depositCardPanel[hidden]{display:none!important}
#withdrawalCardPanel:not([hidden]),#depositCardPanel:not([hidden]){display:block}
.dashboard-action-summary strong{font-size:14px;line-height:1.7;color:var(--gold)}
.dashboard-action-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--gold);background:rgba(245,197,66,.095)}
.dashboard-action-icon svg{width:25px;height:25px}
.dashboard-action-chevron{display:grid;place-items:center;color:var(--gold);transition:transform .2s}
.dashboard-action-chevron svg{width:21px;height:21px}
.dashboard-action-card.is-open .dashboard-action-chevron{transform:rotate(180deg)}
.dashboard-action-details{padding:0 18px 17px;border-top:1px solid rgba(255,255,255,.06);animation:pop-in .18s ease-out}
.dashboard-action-details p{margin:12px 0 0;color:#b7bbc5;font-size:12px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}
.withdrawal-card{border-color:rgba(245,197,66,.45);background:linear-gradient(135deg,#f8c83f,#e5ae1a)}
.withdrawal-card .dashboard-action-summary strong,.withdrawal-card .dashboard-action-summary .dashboard-action-icon,.withdrawal-card .dashboard-action-summary .dashboard-action-chevron{color:#17130a}
.withdrawal-card .dashboard-action-summary .dashboard-action-icon{background:rgba(20,16,4,.08)}
.withdrawal-card .dashboard-action-details{border-top-color:rgba(24,20,8,.17)}
.withdrawal-card .dashboard-action-details p{color:#332b14}
.deposit-card{border-color:rgba(34,197,94,.62);background:linear-gradient(135deg,#166534,#14532d);box-shadow:0 12px 28px rgba(5,46,22,.2)}
.deposit-card:hover{border-color:rgba(134,239,172,.85);box-shadow:0 15px 34px rgba(5,46,22,.28)}
.deposit-card .dashboard-action-summary strong,.deposit-card .dashboard-action-summary .dashboard-action-chevron{color:#dcfce7}
.deposit-card .dashboard-action-summary .dashboard-action-icon{color:#bbf7d0;background:rgba(255,255,255,.1)}
.deposit-card .dashboard-action-details{border-top-color:rgba(220,252,231,.18)}
.deposit-card .dashboard-action-details p{color:#ecfdf5}
.withdrawal-amount-fields[hidden]{display:none!important}
.withdrawal-submit.withdrawal-kyc-locked{opacity:.78;filter:saturate(.72);cursor:pointer;border-style:dashed}
.withdrawal-submit.withdrawal-kyc-locked:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(24,20,8,.12)}
.withdrawal-submit.withdrawal-payout-locked{opacity:.48;cursor:not-allowed}
.dashboard-reminder-card{margin-top:18px;border-color:rgba(245,197,66,.12)}
.dashboard-reminder-card .dashboard-card-head,.dashboard-reminder-card .member-card-head{align-items:center}
.dashboard-reminder-icon{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:rgba(245,197,66,.07);border:1px solid rgba(245,197,66,.1)}
.dashboard-reminder-copy h2{margin:0 0 7px;color:var(--gold);font-size:15px}
.dashboard-reminder-copy p{margin:0;color:#afb2bc;font-size:12px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}
.dashboard-market-shortcut{margin-top:15px}
.dashboard-market-button{display:inline-flex;margin-top:8px}
.dashboard-custom-description{margin-top:8px!important;white-space:pre-wrap;overflow-wrap:anywhere}
.member-page-main{display:grid;gap:16px;align-content:start;min-width:0}
.member-page-main-spaced{padding:10px 0 20px}
.member-page-heading{padding:18px 0 5px}
.member-page-heading h1{font-size:clamp(23px,3vw,32px);line-height:1.55;margin:8px 0}
.member-page-heading p{max-width:820px;font-size:12px;line-height:2;color:var(--muted);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.member-page-heading p[hidden]{display:none!important}
.member-page-card{margin:0;min-width:0}
.member-page-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.member-page-stat{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;min-width:0;padding:19px 20px;background:linear-gradient(135deg,rgba(245,197,66,.055),rgba(20,20,20,.9));border:1px solid rgba(245,197,66,.15);border-radius:17px}
.member-page-stat-icon{grid-row:1/3;grid-column:1;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;color:var(--gold);background:rgba(245,197,66,.09)}
.member-page-stat-icon svg{width:22px;height:22px}
.member-page-stat-label{grid-column:2;grid-row:1;font-size:11px;line-height:1.8;color:var(--muted)}
.member-page-stat strong{grid-column:2;grid-row:2;direction:ltr;text-align:left;font:800 28px/1.4 Arial,sans-serif;color:var(--gold);overflow-wrap:anywhere}
/* Iranian arched window / niche exchange cards with natural flag and soft animations */
.member-exchange-cards.exchange-box-stage{position:relative;isolation:isolate;overflow:visible;width:min(100%,740px);margin:clamp(22px,3.4vw,42px) auto clamp(36px,5.5vw,58px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.2vw,22px);direction:ltr;align-items:stretch}
.exchange-empty-box{position:relative;display:block;width:100%;min-width:0;aspect-ratio:9/16;padding:0;margin:0;appearance:none;-webkit-appearance:none;text-align:initial;color:#f6f6f6;cursor:pointer;overflow:visible;isolation:isolate;border:none;border-radius:0;background:transparent;box-shadow:none;transform:scale(1);transform-origin:center center;transition:transform .38s cubic-bezier(.2,.8,.2,1);z-index:1}
.exchange-empty-box:focus-visible{outline:2px solid #b9df84;outline-offset:6px}
.exchange-empty-box.is-expanded{transform:scale(1.48);z-index:20}
.exchange-empty-box--accent.is-expanded{transform:scale(1.52)}

/* Window frame (outer brick/stone arch niche) */
.exchange-window-frame{position:absolute;inset:8% 6% 4%;border-radius:50% 50% 8px 8px / 28% 28% 8px 8px;background:linear-gradient(165deg,#3a342c 0%,#2a241c 40%,#1f1a14 100%);box-shadow:0 10px 28px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,230,180,.12);overflow:hidden;z-index:1;transition:box-shadow .3s ease,filter .3s ease}
.exchange-empty-box--accent .exchange-window-frame{background:linear-gradient(165deg,#1a3a22 0%,#0f2a18 45%,#0a1f12 100%);box-shadow:0 10px 28px rgba(0,40,15,.45),0 0 18px rgba(0,140,40,.18),inset 0 0 0 1px rgba(120,220,140,.22)}
.exchange-empty-box.is-expanded .exchange-window-frame{box-shadow:0 18px 42px rgba(0,0,0,.65),0 0 24px rgba(185,223,132,.12),inset 0 0 0 1px rgba(255,230,180,.2)}
.exchange-empty-box--accent.is-expanded .exchange-window-frame{box-shadow:0 18px 42px rgba(0,0,0,.65),0 0 32px rgba(0,160,50,.28),inset 0 0 0 1px rgba(140,230,160,.35)}

/* Inner arch opening (recessed niche) */
.exchange-arch{position:absolute;inset:9% 10% 14%;border-radius:50% 50% 6px 6px / 32% 32% 6px 6px;background:linear-gradient(180deg,rgba(12,11,9,.92) 0%,rgba(8,7,6,.96) 100%);box-shadow:inset 0 8px 20px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,220,160,.08);z-index:2}
.exchange-empty-box--accent .exchange-arch{background:linear-gradient(180deg,rgba(6,18,10,.94) 0%,rgba(4,12,7,.97) 100%);box-shadow:inset 0 8px 20px rgba(0,20,8,.55),inset 0 0 0 1px rgba(100,200,120,.12)}

/* Decorative sill at bottom of niche */
.exchange-sill{position:absolute;left:4%;right:4%;bottom:3%;height:7%;border-radius:3px;background:linear-gradient(180deg,#4a4034,#2e2820);box-shadow:0 2px 4px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,230,180,.15);z-index:3}
.exchange-empty-box--accent .exchange-sill{background:linear-gradient(180deg,#1e4a2a,#12331c);box-shadow:0 2px 4px rgba(0,0,0,.4),inset 0 1px 0 rgba(140,220,150,.2)}

/* Subtle brick / tile texture on the frame */
.exchange-brick-texture{position:absolute;inset:0;border-radius:inherit;opacity:.22;background-image:repeating-linear-gradient(90deg,transparent 0 11px,rgba(0,0,0,.35) 11px 12px),repeating-linear-gradient(0deg,transparent 0 7px,rgba(0,0,0,.28) 7px 8px);pointer-events:none;z-index:1;mix-blend-mode:multiply}
.exchange-empty-box--accent .exchange-brick-texture{opacity:.18}

/* Soft inner glow / light animation inside the niche */
.exchange-window-glow{position:absolute;inset:18% 16% 22%;border-radius:50% 50% 4px 4px / 28% 28% 4px 4px;background:radial-gradient(ellipse at 50% 30%,rgba(255,230,180,.09) 0%,transparent 70%);pointer-events:none;z-index:3;animation:exchange-window-breathe 4.8s ease-in-out infinite;opacity:.85}
.exchange-empty-box--accent .exchange-window-glow{background:radial-gradient(ellipse at 50% 30%,rgba(120,220,140,.14) 0%,transparent 70%);animation-duration:4.2s}
@keyframes exchange-window-breathe{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.03)}}

/* Icon placement inside the niche */
.exchange-box-icon{position:absolute;top:28%;left:50%;display:grid;place-items:center;width:clamp(38px,6.2vw,64px);aspect-ratio:1;transform:translateX(-50%);color:#f0e6d0;pointer-events:none;z-index:5;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45));transition:color .25s ease,filter .25s ease}
.exchange-empty-box--accent .exchange-box-icon{color:#b9df84;filter:drop-shadow(0 2px 8px rgba(0,120,40,.35))}
.exchange-empty-box.is-expanded .exchange-box-icon{filter:drop-shadow(0 3px 10px rgba(0,0,0,.5))}
.exchange-box-icon svg{display:block;width:100%;height:100%;overflow:visible}.exchange-box-icon img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border:0;border-radius:0;box-shadow:none}

/* Flag pinned/nailed to the peak of the Iranian arched window */
.exchange-hanging-flag{position:absolute;top:2%;left:50%;width:28px;height:46px;transform:translateX(-50%);z-index:10;pointer-events:none;transform-origin:top center}
.exchange-flag-pin{position:absolute;top:-3px;left:50%;width:7px;height:7px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#e8d5a0,#8a7350 55%,#5a4a30);box-shadow:0 1px 2px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,240,200,.5);z-index:4}
.exchange-flag-pin:after{content:"";position:absolute;left:50%;top:50%;width:2px;height:2px;transform:translate(-50%,-50%);border-radius:50%;background:#3a3020}
.exchange-flag-cloth{position:absolute;top:3px;left:0;right:0;bottom:0;display:grid;grid-template-rows:1fr 1fr 1fr;border-radius:1px 1px 28% 28% / 1px 1px 10% 10%;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.45),1px 0 0 rgba(255,255,255,.07);transform-origin:top center;animation:exchange-flag-wave 4s ease-in-out infinite}
.exchange-flag-green{background:linear-gradient(180deg,#2bb34a,#1a8a32)}
.exchange-flag-white{display:grid;place-items:center;background:linear-gradient(180deg,#fafafa,#ececec);position:relative}
.exchange-flag-red{background:linear-gradient(180deg,#e01212,#b80000)}
.exchange-flag-emblem{display:block;width:13px;height:13px;color:#da0000}
.exchange-flag-white svg{display:block;width:13px;height:13px}
@keyframes exchange-flag-wave{0%,100%{transform:skewX(-2deg)}50%{transform:skewX(2.2deg)}}

@media(max-width:520px){
  .member-exchange-cards.exchange-box-stage{gap:8px;margin-block:16px 34px;width:min(100%,520px)}
  .exchange-hanging-flag{width:22px;height:38px;top:1.5%}
  .exchange-flag-emblem,.exchange-flag-white svg{width:11px;height:11px}
  .exchange-box-icon{width:clamp(30px,8.5vw,42px);top:26%}
  .exchange-empty-box.is-expanded{transform:scale(1.4)}
  .exchange-empty-box--accent.is-expanded{transform:scale(1.44)}
}
@media(prefers-reduced-motion:reduce){
  .exchange-flag-cloth,.exchange-window-glow,.exchange-box-stage[data-niche-style="modern"] .exchange-window-frame{animation:none!important}
  .exchange-empty-box{transition:none!important}
}
.exchange-niche{display:flex;flex-direction:column;min-width:0;align-items:stretch;gap:8px}
.exchange-box-copy{position:absolute;left:12%;right:12%;bottom:12%;z-index:6;display:grid;gap:4px;text-align:center;pointer-events:none}
.exchange-box-copy strong{font-size:clamp(11px,1.5vw,14px);line-height:1.5;color:#f6f1e4;font-weight:800}
.exchange-box-copy span{font-size:10px;line-height:1.7;color:#d7d0c2}
.exchange-box-copy [hidden]{display:none}
.exchange-box-link{display:block;text-align:center;text-decoration:none;font:800 11px/1.4 Tahoma,Arial,sans-serif;color:#17130a;background:#f5c542;border-radius:999px;padding:7px 10px}
.exchange-box-link[hidden]{display:none}
.exchange-box-stage[data-niche-style="modern"] .exchange-window-frame{background:transparent;border-radius:18px;box-shadow:none;border:1px solid rgba(245,197,66,.72)}
.exchange-box-stage[data-niche-style="modern"] .exchange-arch{background:rgba(9,9,9,.35);border-radius:14px;box-shadow:inset 0 0 0 1px rgba(245,197,66,.18)}
.exchange-box-stage[data-niche-style="modern"] .exchange-sill,.exchange-box-stage[data-niche-style="modern"] .exchange-brick-texture,.exchange-box-stage[data-niche-style="modern"] .exchange-hanging-flag{display:none}
.exchange-box-stage[data-niche-style="modern"] .exchange-window-frame{animation:exchange-modern-pulse 2.8s ease-in-out infinite}
@keyframes exchange-modern-pulse{0%,100%{border-color:rgba(245,197,66,.35);box-shadow:0 0 0 rgba(245,197,66,0)}50%{border-color:rgba(245,197,66,1);box-shadow:0 0 18px rgba(245,197,66,.28)}}
.exchange-box-stage[data-niche-style="wood"] .exchange-window-frame{background:linear-gradient(165deg,#8a5a32,#5c3a1e 45%,#3d2412)}
.exchange-box-stage[data-niche-style="wood"] .exchange-arch{background:linear-gradient(180deg,#2a180e,#1a0e08)}
.exchange-box-stage[data-niche-style="wood"] .exchange-sill{background:linear-gradient(180deg,#c4925a,#6b4124)}
.exchange-box-stage[data-niche-style="stone"] .exchange-window-frame{background:linear-gradient(165deg,#b7b1a6,#7d7870 40%,#4e4a45)}
.exchange-box-stage[data-niche-style="stone"] .exchange-arch{background:linear-gradient(180deg,#2c2a27,#161513)}
.exchange-box-stage[data-niche-style="stone"] .exchange-sill{background:linear-gradient(180deg,#d5d0c6,#8d877d)}
.exchange-box-stage[data-niche-style="tile"] .exchange-window-frame{background:linear-gradient(165deg,#1f6f78,#0e3e46 50%,#08262b)}
.exchange-box-stage[data-niche-style="tile"] .exchange-arch{background:linear-gradient(180deg,#07181c,#041012)}
.exchange-box-stage[data-niche-style="tile"] .exchange-sill{background:linear-gradient(180deg,#49c2c8,#14666c)}
.exchange-box-stage[data-niche-style="tile"] .exchange-box-icon{color:#9aecf0}
.exchange-box-stage[data-niche-style="plaster"] .exchange-window-frame{background:linear-gradient(165deg,#f3ead7,#d9c7a4 50%,#b89b72)}
.exchange-box-stage[data-niche-style="plaster"] .exchange-arch{background:linear-gradient(180deg,#fffaf0,#efe2cc)}
.exchange-box-stage[data-niche-style="plaster"] .exchange-sill{background:linear-gradient(180deg,#fff,#cbb892)}
.exchange-box-stage[data-niche-style="plaster"] .exchange-box-icon{color:#6b4b24}
.exchange-box-stage[data-niche-style="plaster"] .exchange-box-copy strong{color:#3d2a14}
.exchange-box-stage[data-niche-style="plaster"] .exchange-box-copy span{color:#5c4630}
.exchange-box-stage[data-niche-style="metal"] .exchange-window-frame{background:linear-gradient(165deg,#4a4e55,#23262b 45%,#101114)}
.exchange-box-stage[data-niche-style="metal"] .exchange-arch{background:linear-gradient(180deg,#14161a,#07080a)}
.exchange-box-stage[data-niche-style="metal"] .exchange-sill{background:linear-gradient(180deg,#8d939c,#3a3e45)}
.exchange-box-stage[data-niche-style="garden"] .exchange-window-frame{background:linear-gradient(165deg,#2f6b3a,#16381d 48%,#0c2412)}
.exchange-box-stage[data-niche-style="garden"] .exchange-arch{background:linear-gradient(180deg,#0d2414,#07150c)}
.exchange-box-stage[data-niche-style="garden"] .exchange-sill{background:linear-gradient(180deg,#7dba74,#2d6a34)}
.exchange-box-stage[data-niche-style="garden"] .exchange-box-icon{color:#c8f0b0}
.member-exchange-description h2{font-size:clamp(18px,2vw,24px);line-height:1.8;margin:0 0 12px;color:#f6d36b}
.member-exchange-description>p{font-size:12px;color:#c1c4cc;line-height:2.2;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.member-info-banner{display:flex;align-items:flex-start;gap:11px;margin-top:18px;padding:13px 14px;border-radius:13px;background:rgba(245,197,66,.055);border:1px solid rgba(245,197,66,.13)}
.member-info-banner>span{color:var(--gold);flex:0 0 auto}
.member-info-banner svg{width:18px;height:18px}
.member-info-banner p{margin:0;color:#aeb2bb;font-size:11px;line-height:2}
.member-subpage-body .dashboard-greeting{padding-bottom:8px}
.member-dashboard-shell,.member-subpage-body .member-dashboard-shell{padding-bottom:124px}
.member-subpage-body .mobile-bottom-nav{display:grid}
/* Use the same bottom navigation on desktop as on mobile; dashboard widgets remain unchanged. */
@media(min-width:801px){
  .mobile-bottom-nav{display:grid;width:min(780px,calc(100% - 40px));left:50%;right:auto;bottom:18px;transform:translateX(-50%);padding:10px 12px 9px;border:1px solid rgba(245,197,66,.19);border-radius:20px;}
  .mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{font-size:11px;gap:5px;padding:5px 6px 3px;}
  .mobile-bottom-nav a svg,.mobile-bottom-nav .more-nav-trigger svg{width:21px;height:21px;}
  .member-dashboard-shell,.member-subpage-body .member-dashboard-shell{padding-bottom:132px}
}
@media(max-width:800px){
  .dashboard-stats-vertical .dashboard-stat{grid-template-columns:56px minmax(0,1fr);padding:15px 15px;gap:0 12px;min-height:102px}
  .dashboard-stats-vertical .dashboard-stat-icon{width:48px;height:48px;flex-basis:48px}
  .dashboard-stats-vertical .dashboard-stat-icon svg{width:23px;height:23px}
  .dashboard-stats-vertical .dashboard-stat-top>span:not(.dashboard-stat-icon){font-size:11px}
  .dashboard-stats-vertical .dashboard-stat-value{font-size:22px;margin:0;max-width:calc(100vw - 112px)}
  .dashboard-stats-vertical .dashboard-stat-unit{font-size:9px}
  .dashboard-stats-vertical .dashboard-stat-collected{min-height:130px;padding:19px 15px}
  .dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-icon{width:54px;height:54px;flex-basis:54px}
  .dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-icon svg{width:27px;height:27px}
  .dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-value{font-size:clamp(27px,7vw,36px);letter-spacing:-.45px;max-width:calc(100vw - 104px)}
  .dashboard-stats-vertical .dashboard-stat-collected .dashboard-stat-top>span:not(.dashboard-stat-icon){font-size:12px}
  .dashboard-actions-grid{gap:9px;margin:14px 0}
  .dashboard-action-summary{grid-template-columns:28px minmax(0,1fr) 16px;gap:7px;min-height:68px;padding:12px 10px}
  .dashboard-action-icon{width:29px;height:29px;border-radius:9px}
  .dashboard-action-icon svg{width:19px;height:19px}
  .dashboard-action-summary strong{font-size:11px}
  .dashboard-action-chevron svg{width:17px;height:17px}
  .dashboard-action-details{padding:0 12px 13px}
  .dashboard-action-details p{font-size:10px;line-height:2}
  .member-page-stats-grid{gap:9px}
  .member-page-stat{grid-template-columns:32px minmax(0,1fr);gap:0 8px;padding:14px 12px;border-radius:14px}
  .member-page-stat-icon{width:31px;height:31px;border-radius:10px}
  .member-page-stat-icon svg{width:18px;height:18px}
  .member-page-stat-label{font-size:10px}
  .member-page-stat strong{font-size:23px}
}
@media(max-width:380px){.dashboard-actions-grid{grid-template-columns:1fr}.dashboard-action-summary{grid-template-columns:34px minmax(0,1fr) 18px}.dashboard-action-summary strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dashboard-action-card,.dashboard-action-chevron{transition:none!important}}


/* Full-page, low-contrast animated charts and random values for the auth screen. */
.auth-animated-background{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:layout paint;mask-image:linear-gradient(180deg,rgba(0,0,0,.25),#000 18%,#000 82%,rgba(0,0,0,.25))}
.auth-animated-background~.member-wrap{position:relative;z-index:1}
.auth-float-number,.auth-float-chart{position:absolute;display:block;will-change:transform,opacity;animation:auth-float-drift var(--float-duration,12s) ease-in-out var(--float-delay,0s) infinite;opacity:0;color:rgba(245,197,66,var(--float-opacity,.2));user-select:none}
.auth-float-number{font:500 clamp(10px,1.2vw,16px)/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em;text-shadow:0 0 18px rgba(245,197,66,.12);white-space:nowrap}
.auth-float-chart{width:clamp(90px,13vw,190px);height:clamp(44px,6vw,80px);color:rgba(245,197,66,var(--float-opacity,.2))}
.auth-float-chart svg{width:100%;height:100%;overflow:visible}
.auth-float-chart polyline{fill:none;stroke:currentColor;stroke-width:1.15;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:240;stroke-dashoffset:240;animation:auth-chart-draw 6s ease-in-out infinite alternate}
.auth-chart-grid{fill:none;stroke:rgba(245,197,66,.09);stroke-width:.7;stroke-dasharray:2 5}
@keyframes auth-float-drift{0%,100%{opacity:0;transform:translate3d(0,calc(var(--float-distance,36px)*.35),0)}18%,78%{opacity:var(--float-opacity,.2)}50%{transform:translate3d(0,calc(var(--float-distance,36px)*-1),0)}}
@keyframes auth-chart-draw{from{stroke-dashoffset:240;opacity:.3}to{stroke-dashoffset:0;opacity:1}}
.auth-animated-background.motion-reduced .auth-float-number,.auth-animated-background.motion-reduced .auth-float-chart,.auth-animated-background.motion-reduced polyline{animation:none!important;opacity:.12}
@media(prefers-reduced-motion:reduce){.auth-float-number,.auth-float-chart,.auth-float-chart polyline{animation:none!important;opacity:.12}}

/* FaucetPay real DOGE withdrawal UI */
.withdrawal-form-wrap{display:grid;gap:9px;margin-top:14px}.withdrawal-form-wrap label{font-size:11px;font-weight:800;color:#332b14}.withdrawal-form-wrap input{width:100%;min-width:0;border:1px solid rgba(24,20,8,.18);border-radius:11px;background:rgba(255,255,255,.45);padding:12px;color:#17130a;font:700 14px Arial,sans-serif;direction:ltr;text-align:left}.withdrawal-help{font-size:10px;line-height:1.8;color:#51431b}.withdrawal-submit{width:100%;border:1px solid rgba(24,20,8,.18);background:#17130a;color:#f8d66b;margin-top:3px}.withdrawal-submit:disabled{opacity:.48;cursor:not-allowed}.withdrawal-submit.withdrawal-kyc-locked{opacity:.42;filter:saturate(.45);cursor:not-allowed;box-shadow:none;border-style:dashed}.withdrawal-submit.withdrawal-kyc-locked:hover{transform:none;box-shadow:none}.withdrawal-lock-hint{display:block;padding:5px 2px;color:#6b5520}.withdrawal-lock-hint[hidden]{display:none!important}.withdrawal-status{margin:0;color:#332b14!important}.withdrawal-status.error{color:#8e2424!important}.withdrawal-status.success{color:#166534!important}.withdrawal-history-mini{display:grid;gap:6px;margin-top:7px}.withdrawal-history-title{font-size:10px;color:#332b14}.withdrawal-history-row{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(24,20,8,.12);padding-top:7px;font:11px Arial,sans-serif;color:#332b14}.withdrawal-history-row small{font:10px Tahoma,Arial,sans-serif;color:#51431b}.withdrawal-modal{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);animation:fade-in .2s ease-out}.withdrawal-modal[hidden]{display:none!important}.withdrawal-modal-card{position:relative;width:min(430px,100%);padding:32px 24px 24px;text-align:center;border-radius:22px;border:1px solid rgba(245,197,66,.25);background:linear-gradient(160deg,#1c1c1c,#111);box-shadow:0 25px 90px rgba(0,0,0,.6);animation:pop-in .2s ease-out}.withdrawal-modal-close{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:32px;height:32px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#292929;color:#fff;font:700 22px/1 Arial,sans-serif;cursor:pointer}.withdrawal-modal-icon{width:44px;height:44px;margin:12px auto 16px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(245,197,66,.32);background:rgba(245,197,66,.09);color:#f5c542;font:800 23px Arial,sans-serif}.withdrawal-modal-card h2{font-size:17px;margin:0 0 12px;color:#f5d575}.withdrawal-modal-card p{font-size:12px;line-height:2;color:#c9c9c9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px}.withdrawal-modal-card .member-button{min-width:150px}



/* Editable collapsed caption and animated expanded description for the three exchange niches. */
.exchange-box-copy{top:43%;bottom:9%;left:12%;right:12%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;overflow:visible}
.exchange-box-copy strong{position:relative;z-index:2;max-width:100%;font-size:clamp(11px,1.45vw,14px);line-height:1.5;color:#f6f1e4;font-weight:800;overflow-wrap:anywhere}
.exchange-box-copy span[data-exchange-box-text]{position:relative;z-index:1;display:block;max-width:100%;font-size:clamp(10px,1.2vw,13px);line-height:1.75;color:#e6dfd0;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;opacity:1;visibility:visible;transform:translateY(0);transition:opacity .24s ease,transform .28s ease,visibility 0s linear 0s}
.exchange-box-expanded-text{position:absolute;left:0;right:0;top:2.7em;bottom:0;display:block;max-width:100%;margin:0;overflow:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;font-size:clamp(10px,1.13vw,12px);font-weight:500;line-height:1.9;color:#e7e1d6;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .32s ease,transform .36s cubic-bezier(.2,.8,.2,1),visibility 0s linear .36s;scrollbar-width:thin;scrollbar-color:rgba(185,223,132,.45) transparent}
.exchange-box-expanded-text[hidden]{display:none}
.exchange-empty-box.is-expanded .exchange-box-copy{top:41%;bottom:8%;justify-content:flex-start;gap:5px;padding-top:2px}
.exchange-empty-box.is-expanded .exchange-box-copy span[data-exchange-box-text]{opacity:0;visibility:hidden;transform:translateY(-8px);transition-delay:0s,.0s,.24s}
.exchange-empty-box.is-expanded .exchange-box-expanded-text{opacity:1;visibility:visible;transform:translateY(0);transition-delay:.12s,.12s,0s}
.exchange-empty-box.is-expanded .exchange-box-expanded-text:not([hidden]){animation:exchange-card-explanation-in .42s cubic-bezier(.2,.8,.2,1) both}
@keyframes exchange-card-explanation-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.exchange-box-copy{top:42%;bottom:8%;gap:4px}.exchange-box-copy strong{font-size:clamp(9px,2.4vw,11px)}.exchange-box-copy span[data-exchange-box-text]{font-size:clamp(9px,2.3vw,11px)}.exchange-box-expanded-text{font-size:clamp(8px,2.05vw,10px);line-height:1.8}.exchange-empty-box.is-expanded .exchange-box-copy{top:40%;bottom:7%}}
@media(prefers-reduced-motion:reduce){.exchange-box-copy span[data-exchange-box-text],.exchange-box-expanded-text{transition:none!important;animation:none!important}}

/* Anchor member dropdowns to the button wrapper instead of the whole page. */
.popover-anchor{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}


/* Private identity verification flow */
.verification-privacy-card,.verification-status-card,.verification-upload-card,.dashboard-verification-notice{display:grid;gap:14px;margin-bottom:16px}
.verification-privacy-list{margin:0;padding-inline-start:22px;display:grid;gap:8px;color:var(--muted,#aaa);font-size:12px;line-height:1.95}
.verification-status-card{justify-items:center;text-align:center;padding:24px!important}
.verification-status-card h2{margin:0;color:#f4d46e;font-size:17px}
.verification-status-card p{margin:0;color:#d0d0d0;font-size:12px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}
.verification-status-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:rgba(245,197,66,.12);border:1px solid rgba(245,197,66,.28);color:#f5c542;font:bold 22px Tahoma,sans-serif}
.verification-admin-note{width:100%;border-inline-start:3px solid #d5a936;border-radius:8px;background:rgba(245,197,66,.07);padding:12px;text-align:start}
.verification-drop-zone{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;align-items:stretch}.verification-upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.verification-camera-button>span{font-size:28px;line-height:1.25}.verification-upload-actions .verification-add-button[hidden]{display:none!important}
.verification-add-button{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed rgba(245,197,66,.55);border-radius:16px;background:rgba(245,197,66,.045);color:#f2d67d;cursor:pointer;font:inherit}
.verification-add-button>span{font:400 42px/1 Arial,sans-serif}.verification-add-button strong{font-size:12px}.verification-add-button small{font-size:10px;color:#aaa}
.verification-add-button:disabled{opacity:.5;cursor:wait}.verification-add-button[hidden]{display:none!important}
.verification-preview-list{display:contents}.verification-preview-item{min-width:0;display:flex;flex-direction:column;gap:7px;border:1px solid rgba(245,197,66,.15);border-radius:14px;padding:8px;background:rgba(255,255,255,.025)}
.verification-preview-item img{width:100%;height:112px;object-fit:contain;border-radius:9px;background:#080808}.verification-preview-item span{font-size:10px;color:#bbb;overflow-wrap:anywhere}.verification-remove-image{align-self:flex-start;background:transparent;color:#efaaaa;border:1px solid rgba(235,110,110,.25);border-radius:8px;padding:5px 10px;cursor:pointer;font:inherit;font-size:10px}
.verification-note-field{display:grid;gap:7px}.verification-note-field textarea{width:100%;border-radius:12px;border:1px solid rgba(245,197,66,.2);background:#101010;color:#eee;padding:12px;font:inherit;resize:vertical}
.verification-consent{display:flex;align-items:flex-start;gap:9px;color:#bdbdbd;font-size:11px;line-height:1.9}.verification-consent input{accent-color:#e9bd43;margin-top:5px;flex:0 0 auto}.verification-submit{width:100%;margin-top:3px}.verification-submit:disabled{opacity:.45;cursor:wait}
.dashboard-verification-notice{border-color:rgba(245,197,66,.28);background:linear-gradient(145deg,rgba(245,197,66,.09),rgba(18,18,18,.92))}.dashboard-verification-notice h2{margin:0 0 5px;color:#f3d476;font-size:14px}.dashboard-verification-notice p{margin:0;font-size:12px;line-height:1.9;color:#cecece}.dashboard-verification-notice .member-button{justify-self:start}
@media(max-width:520px){.verification-drop-zone{grid-template-columns:repeat(2,minmax(0,1fr))}.verification-upload-actions{grid-template-columns:1fr}.verification-add-button{min-height:130px}.verification-preview-item img{height:95px}}


/* Sparse red/green Bullish and Bearish market candles behind the auth form. */
.auth-market-cluster{position:absolute;display:block;width:clamp(104px,13vw,166px);height:clamp(70px,8vw,94px);scale:var(--market-scale,1);transform-origin:center;will-change:transform,opacity;animation:auth-float-drift var(--float-duration,17s) ease-in-out var(--float-delay,0s) infinite;opacity:0;user-select:none;filter:drop-shadow(0 0 10px color-mix(in srgb,currentColor 12%,transparent))}
.auth-market-cluster.is-bullish{color:#32e59b}
.auth-market-cluster.is-bearish{color:#ff536b}
.auth-market-candles{position:absolute;inset:13px 3px 3px;display:flex;align-items:stretch;justify-content:space-evenly;gap:clamp(4px,.65vw,9px);opacity:.95}
.auth-market-candle{position:relative;display:block;flex:0 1 8px;min-width:4px;max-width:8px;height:100%;border-radius:1px;color:inherit;animation:auth-candle-pulse 3.8s ease-in-out var(--candle-delay,0s) infinite}
.auth-market-candle:before{content:"";position:absolute;top:var(--wick-top,12%);left:50%;height:var(--wick-height,65%);width:1px;transform:translateX(-50%);background:currentColor;opacity:.9}
.auth-market-candle:after{content:"";position:absolute;top:var(--body-top,36%);left:50%;width:clamp(4px,.45vw,6px);height:var(--body-height,22%);min-height:5px;transform:translateX(-50%);border-radius:1px;background:currentColor;box-shadow:0 0 9px color-mix(in srgb,currentColor 30%,transparent)}
.auth-market-label{position:absolute;top:-1px;inset-inline-start:2px;color:currentColor;font:700 8px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.09em;opacity:.85;text-shadow:0 0 10px currentColor}
.auth-market-cluster.is-bullish .auth-market-candle:nth-child(2n):after{opacity:.76}
.auth-market-cluster.is-bearish .auth-market-candle:nth-child(2n+1):after{opacity:.78}
@keyframes auth-candle-pulse{0%,100%{filter:brightness(.78);opacity:.72}50%{filter:brightness(1.35);opacity:1}}
.auth-animated-background.motion-reduced .auth-market-cluster,.auth-animated-background.motion-reduced .auth-market-candle{animation:none!important;opacity:.16}
@media(prefers-reduced-motion:reduce){.auth-market-cluster,.auth-market-candle{animation:none!important;opacity:.16}}
@media(max-width:600px){.auth-market-cluster{width:100px;height:66px}.auth-market-label{font-size:7px}.auth-market-candles{inset:12px 2px 2px;gap:4px}.auth-market-candle:after{width:4px}}


/* Mobile-first reliability/performance pass (shared by every account page). */
.member-body{min-height:100vh;min-height:100dvh;-webkit-text-size-adjust:100%;overflow-x:clip;overscroll-behavior-x:none}
.member-body a,.member-body button,.member-body input,.member-body select,.member-body textarea{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mobile-bottom-nav{box-sizing:border-box;gap:2px;isolation:isolate;padding-top:8px;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{box-sizing:border-box;min-height:50px;min-width:0;gap:3px;padding:3px 1px 2px;font-size:clamp(8px,2.4vw,10px);line-height:1.35;white-space:normal;overflow-wrap:normal;word-break:normal;touch-action:manipulation}
.mobile-bottom-nav a>[data-member-icon],.mobile-bottom-nav .more-nav-trigger>[data-member-icon]{display:grid;place-items:center;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;flex:0 0 24px;line-height:0;overflow:visible;transform-origin:center}
.mobile-bottom-nav a>[data-member-icon]>svg,.mobile-bottom-nav .more-nav-trigger>[data-member-icon]>svg{display:block!important;box-sizing:border-box;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:24px!important;max-height:24px!important;flex:0 0 auto!important;overflow:visible!important;transform:none!important;transition:filter .18s ease!important;pointer-events:none}
.mobile-bottom-nav a.active:not(.dashboard-tab)>[data-member-icon],.mobile-bottom-nav .more-nav-trigger.active>[data-member-icon]{transform:translateY(-1px)}
.mobile-bottom-nav a.active:not(.dashboard-tab)>[data-member-icon]>svg,.mobile-bottom-nav .more-nav-trigger.active>[data-member-icon]>svg{filter:drop-shadow(0 0 5px rgba(245,197,66,.3))}
.mobile-bottom-nav a.dashboard-tab .nav-icon{box-sizing:border-box;flex:0 0 43px;isolation:isolate;overflow:visible}
.mobile-bottom-nav a.dashboard-tab .nav-icon>svg{display:block!important;width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important;transform:none!important}
.mobile-bottom-nav a:focus-visible,.mobile-bottom-nav .more-nav-trigger:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;border-radius:11px}
@media(max-width:800px){
  .member-wrap{width:min(calc(100% - 26px),640px)}
  .member-dashboard-shell,.member-subpage-body .member-dashboard-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .mobile-bottom-nav{bottom:0;left:0;right:0;width:100%;border-radius:0;transform:none;box-shadow:0 -6px 22px rgba(0,0,0,.22)}
  .auth-layout{width:100%;min-height:0;padding-top:4px;padding-bottom:calc(22px + env(safe-area-inset-bottom));}
  .auth-card{background:rgba(14,14,14,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
  .auth-animated-background{mask-image:linear-gradient(180deg,rgba(0,0,0,.35),#000 10%,#000 88%,rgba(0,0,0,.6));}
  .auth-market-cluster{filter:none;width:clamp(76px,27vw,100px);height:66px;}
  .auth-market-candle:after{box-shadow:none}
  .auth-float-number{font-size:11px;text-shadow:none}
  .auth-float-chart{width:94px;height:44px}
  .auth-animated-background.motion-reduced .auth-market-cluster,.auth-market-cluster{filter:none}
  .auth-animated-background.motion-reduced .auth-market-cluster{opacity:.32!important}
  .auth-animated-background.motion-reduced .auth-market-candle{opacity:.88!important}
}
@media(max-width:430px){
  .mobile-bottom-nav{gap:0;padding-top:6px;padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right));padding-bottom:calc(6px + env(safe-area-inset-bottom))}
  .mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{min-height:47px;padding:2px 0 1px;font-size:8px;letter-spacing:0;gap:2px}
  .mobile-bottom-nav a>[data-member-icon],.mobile-bottom-nav .more-nav-trigger>[data-member-icon]{width:22px;height:22px;min-width:22px;min-height:22px;flex-basis:22px}
  .mobile-bottom-nav a>[data-member-icon]>svg,.mobile-bottom-nav .more-nav-trigger>[data-member-icon]>svg{max-width:22px!important;max-height:22px!important}
  .mobile-bottom-nav a>span[data-ui],.mobile-bottom-nav .more-nav-trigger>span[data-ui]{display:block;max-width:100%;font-size:8px;line-height:1.35;white-space:nowrap}
  .mobile-bottom-nav a.dashboard-tab .nav-icon{width:38px;height:32px;flex-basis:38px;margin-top:-13px;border-radius:11px}
  .mobile-bottom-nav a.dashboard-tab .nav-icon>svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important}
  .member-page-heading h1{font-size:clamp(22px,6vw,28px);overflow-wrap:anywhere}
  .member-card,.member-page-card{min-width:0}
}
@media(max-height:640px) and (max-width:800px){
  .mobile-bottom-nav{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}
  .mobile-bottom-nav a,.mobile-bottom-nav .more-nav-trigger{min-height:43px;gap:1px}
  .member-dashboard-shell,.member-subpage-body .member-dashboard-shell{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
  .mobile-bottom-nav a>[data-member-icon],.mobile-bottom-nav a>[data-member-icon]>svg,.mobile-bottom-nav .more-nav-trigger>[data-member-icon],.mobile-bottom-nav .more-nav-trigger>[data-member-icon]>svg{transition:none!important;transform:none!important}
  .auth-market-cluster{filter:none}
}

/* Keep custom icons aligned in the More panel and bottom navigation. */
.dash-icon-button>[data-member-icon],.member-menu-links a>[data-menu-icon],.member-menu-links button>[data-menu-icon],.mobile-bottom-nav .more-nav-trigger>[data-member-icon]{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;line-height:0;overflow:visible}
.dash-icon-button>[data-member-icon]>svg,.member-menu-links a>[data-menu-icon]>svg,.member-menu-links button>[data-menu-icon]>svg,.mobile-bottom-nav .more-nav-trigger>[data-member-icon]>svg{display:block;width:100%;height:100%;max-width:22px;max-height:22px;overflow:visible;flex:0 0 auto}
@media(max-width:520px){
  /* Expanded exchange boxes must not spill over the phone viewport. */
  .member-exchange-cards.exchange-box-stage{overflow:visible}
  .exchange-empty-box.is-expanded{transform:scale(1.06)!important;z-index:7}
  .exchange-empty-box--accent.is-expanded{transform:scale(1.08)!important;z-index:8}
}
@media(prefers-reduced-motion:reduce){
  .auth-animated-background.motion-reduced .auth-market-cluster,.auth-market-cluster{animation:none!important}
  .auth-animated-background.motion-reduced .auth-market-cluster{opacity:.32!important}
  .auth-animated-background.motion-reduced .auth-market-candle{opacity:.88!important}
}

.admin-impersonation-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 18px;padding:15px 17px;border:1px solid rgba(245,197,66,.45);border-radius:16px;background:linear-gradient(110deg,rgba(245,197,66,.13),rgba(245,197,66,.045));box-shadow:0 8px 30px rgba(0,0,0,.18)}.admin-impersonation-banner-copy{min-width:0}.admin-impersonation-title{display:block;color:#ffdf7a;font-size:13px;font-weight:900;margin-bottom:5px}.admin-impersonation-message{margin:0;color:#d4cdb9;font-size:11px;line-height:1.9}.admin-impersonation-return{flex:0 0 auto;border:1px solid rgba(245,197,66,.5);border-radius:11px;padding:10px 13px;background:#f5c542;color:#17130a;font:800 11px Tahoma,Arial,sans-serif;cursor:pointer}.admin-impersonation-return:disabled{opacity:.65;cursor:wait}@media(max-width:620px){.admin-impersonation-banner{align-items:stretch;flex-direction:column;gap:10px;padding:13px}.admin-impersonation-return{width:100%}}

/* Account settings, sign-in history and user transaction history. */
.account-settings-main,.transaction-history-main{max-width:940px;margin-inline:auto;width:100%}
.account-settings-form{gap:18px}
.account-info-grid,.settings-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.account-info-grid .member-field input[readonly]{opacity:.78;cursor:default}
.settings-preferences-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:3px}
.account-settings-form select,.member-field select{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--panel-2);color:var(--text);padding:12px 13px;font:inherit;outline-offset:3px}
.account-settings-form select:focus,.member-field select:focus{outline:2px solid rgba(245,197,66,.55)}
.login-history-item[hidden]{display:none!important}
.login-history-more{justify-self:start;width:auto;min-width:132px;min-height:40px;margin-top:4px;padding:9px 16px;border-color:rgba(245,197,66,.3)!important;color:#f3d476!important}
.login-history-list,.active-sessions-list,.transaction-list{display:grid;gap:11px;min-width:0}
.login-history-item,.active-session-item,.transaction-item{min-width:0;border:1px solid var(--line);border-radius:14px;padding:14px 15px;background:var(--panel-2);display:grid;gap:9px}
.login-history-top,.active-session-top,.transaction-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.login-history-status,.transaction-status,.session-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;line-height:1.5}
.login-history-status.is-success,.transaction-status.is-success{background:rgba(34,197,94,.13);color:#4ade80;border:1px solid rgba(34,197,94,.25)}
.login-history-status.is-failed,.transaction-status.is-failed{background:rgba(239,68,68,.13);color:#f87171;border:1px solid rgba(239,68,68,.25)}
.transaction-status.is-pending{background:rgba(245,197,66,.13);color:#f5c542;border:1px solid rgba(245,197,66,.24)}
.login-history-time{direction:ltr;text-align:end;font-size:11px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.login-history-meta,.active-session-meta,.transaction-item-meta{display:flex;flex-wrap:wrap;gap:7px 18px;color:var(--muted);font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.active-session-top strong{min-width:0;overflow-wrap:anywhere}
.session-badge{background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--muted)}
.session-badge.current{background:rgba(34,197,94,.13);color:#4ade80;border-color:rgba(34,197,94,.25)}
.settings-history-link{display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;width:fit-content;max-width:100%;box-sizing:border-box}
.settings-history-link [data-member-icon],.account-more-links [data-member-icon]{display:inline-grid;place-items:center;width:20px;height:20px;flex:0 0 20px}
.settings-history-link [data-member-icon] svg,.account-more-links [data-member-icon] svg{width:100%;height:100%}
.account-more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.account-more-links a,.account-more-links button{display:flex;align-items:center;gap:10px;min-width:0;text-align:start;text-decoration:none;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:var(--panel-2);color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.account-more-links a:hover,.account-more-links button:hover{border-color:rgba(245,197,66,.42);transform:translateY(-1px)}
.transaction-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 16px;padding:5px;border:1px solid var(--line);background:var(--panel-2);border-radius:14px}
.transaction-tab{border:1px solid transparent;border-radius:10px;min-height:43px;padding:10px 12px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.transaction-tab.active{background:linear-gradient(135deg,#f5c542,#e3ad24);color:#17130a;border-color:rgba(245,197,66,.6);box-shadow:0 3px 12px rgba(245,197,66,.11)}
.transaction-history-panel[hidden]{display:none!important}
.transaction-amount{font-size:16px;font-weight:900;direction:ltr;text-align:left;font-variant-numeric:tabular-nums}
.transaction-amount.deposit{color:#4ade80}
.transaction-amount.withdrawal{color:#f87171}
.transaction-item-meta time{direction:ltr}
.member-body .mobile-bottom-nav .more-nav-trigger{display:flex;align-items:center;justify-content:center;text-decoration:none;border:0;background:transparent;color:inherit}

@media(max-width:700px){.account-info-grid,.settings-preferences-grid,.account-more-links{grid-template-columns:minmax(0,1fr)}.login-history-top,.active-session-top,.transaction-item-top{align-items:flex-start}.settings-history-link{width:100%}.transaction-tabs{gap:5px}.transaction-tab{padding-inline:7px;font-size:11px}}

/* Account session controls: keep destructive actions clear but visually secondary. */
.active-sessions-toolbar{display:flex;justify-content:flex-end;margin:0 0 12px}
.active-sessions-end-others{width:auto;min-height:40px;padding:0 14px;font-size:11px}
.active-session-actions{display:flex;justify-content:flex-end}
.session-end-button{width:auto;min-height:36px;padding:0 13px;font-size:11px;border-color:rgba(248,113,113,.28)!important;color:#fecaca!important;background:rgba(127,29,29,.22)!important}
.session-end-button:hover{background:rgba(127,29,29,.34)!important;box-shadow:none}

/* Public topic pages opened from the member More menu keep the member navigation available. */
.topic-member-page .topic-page-main{padding-bottom:150px}
.topic-member-page .site-footer{padding-bottom:150px}
@media(max-width:800px){.topic-member-page .topic-page-main{padding-bottom:125px}.topic-member-page .site-footer{padding-bottom:125px}}


/* Real seamless-loop video backgrounds for the member dashboard. */
html[data-dashboard-background] body.member-dashboard-body .member-ambient {
  overflow: hidden;
  background: #05070a !important;
  isolation: isolate;
}
html[data-dashboard-background] body.member-dashboard-body .member-ambient::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--member-dashboard-poster, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
}
html[data-dashboard-background] body.member-dashboard-body .member-ambient::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,10,.34), rgba(5,7,10,.12) 38%, rgba(5,7,10,.48)), linear-gradient(90deg, rgba(5,7,10,.22), transparent 24%, transparent 76%, rgba(5,7,10,.22));
}
.member-dashboard-body .member-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .28s ease;
  filter: brightness(.70) saturate(.90) contrast(1.04);
  pointer-events: none;
  transform: translateZ(0);
  background: #05070a;
}
html[data-dashboard-video-ready="true"] body.member-dashboard-body .member-background-video { opacity: .38; }
html[data-dashboard-background] body.member-dashboard-body .member-dots {
  opacity: .10 !important;
  animation: none !important;
  background-image: radial-gradient(circle, rgba(245,197,66,.22) 1px, transparent 1.7px) !important;
  background-size: 263px 243px !important;
  mask-image: linear-gradient(180deg, #000, transparent 96%);
}
html[data-dashboard-background] body.member-dashboard-body .member-dots::after { display: none !important; }
html[data-dashboard-background] body.member-dashboard-body .dashboard-dot-panel::before { animation: none !important; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  html[data-dashboard-video-ready="true"] body.member-dashboard-body .member-background-video { opacity: .29; }
  .member-dashboard-body .member-background-video { filter: brightness(.62) saturate(.82); }
}
/* With reduced motion, the controller pauses playback and the video's poster remains visible. */

/* Editable support contact channels shown below the member conversation list. */
.support-contact-methods{overflow:hidden}
.support-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:11px;margin-top:14px}
.support-contact-link{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:82px;padding:13px;border:1px solid rgba(245,197,66,.16);border-radius:16px;background:linear-gradient(145deg,rgba(245,197,66,.075),rgba(255,255,255,.025) 58%,rgba(255,255,255,.015));color:var(--text);text-decoration:none;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.support-contact-link:hover{transform:translateY(-2px);border-color:rgba(245,197,66,.42);background:linear-gradient(145deg,rgba(245,197,66,.13),rgba(255,255,255,.035));box-shadow:0 10px 28px rgba(0,0,0,.2)}
.support-contact-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.support-contact-icon{display:grid;place-items:center;width:46px;height:46px;overflow:hidden;border:1px solid rgba(245,197,66,.2);border-radius:14px;background:rgba(245,197,66,.1);color:var(--gold)}
.support-contact-icon svg{width:23px;height:23px}
.support-contact-icon img{display:block;width:100%;height:100%;object-fit:cover}
.support-contact-copy{display:grid;gap:4px;min-width:0}
.support-contact-copy strong{font-size:12px;line-height:1.7;color:#f4d77c;overflow-wrap:anywhere}
.support-contact-copy small{font-size:10px;line-height:1.75;color:#9d9d9d;overflow-wrap:anywhere}
.support-contact-action{display:flex;align-items:center;gap:5px;justify-self:end;white-space:nowrap;color:var(--gold);font-size:9px;font-weight:800}
.support-contact-external-icon{width:14px;height:14px;flex:0 0 14px}
.support-contact-methods[hidden]{display:none!important}
@media(max-width:560px){.support-contact-grid{grid-template-columns:1fr}.support-contact-link{min-height:74px;padding:11px}.support-contact-action{font-size:8px}}


/* Exchange cards: true responsive dialog rather than an enlarged grid item. */
.member-body.exchange-card-open{overflow:hidden;overscroll-behavior:none}
.member-exchange-cards.exchange-box-stage.has-expanded-card{position:relative;z-index:1000}
.exchange-box-stage.has-expanded-card::before{content:"";position:fixed;inset:0;z-index:100;background:rgba(3,5,7,.82);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:exchange-card-backdrop-in .28s ease both}
.exchange-empty-box.is-expanded,.exchange-empty-box--accent.is-expanded{position:fixed!important;left:50%!important;top:48%!important;z-index:101!important;width:min(560px,calc(100vw - 28px))!important;height:min(78dvh,700px)!important;min-height:min(350px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;transform:translate(-50%,-50%)!important;transform-origin:center!important;border:1px solid rgba(245,197,66,.42)!important;border-radius:24px!important;background:linear-gradient(155deg,#16130b 0%,#0a0c0e 45%,#08090b 100%)!important;box-shadow:0 30px 100px rgba(0,0,0,.72),0 0 42px rgba(245,197,66,.12),inset 0 0 0 1px rgba(255,255,255,.035)!important;animation:exchange-card-modal-in .42s cubic-bezier(.18,.8,.24,1) both!important;cursor:default}
.exchange-empty-box.is-expanded:focus-visible{outline:2px solid #f5c542;outline-offset:4px}
.exchange-empty-box.is-expanded .exchange-window-frame{inset:7px!important;border-radius:19px!important;opacity:.64}
.exchange-empty-box.is-expanded .exchange-arch{inset:9% 6% 7%!important;border-radius:19px!important}
.exchange-empty-box.is-expanded .exchange-sill{opacity:.5}
.exchange-empty-box.is-expanded .exchange-hanging-flag{top:1.5%!important;width:24px!important;height:42px!important;z-index:7}
.exchange-empty-box.is-expanded .exchange-box-icon{top:12%!important;left:50%!important;width:clamp(44px,6vw,60px)!important;height:clamp(44px,6vw,60px)!important;transform:translateX(-50%)!important;z-index:8}
.exchange-empty-box.is-expanded .exchange-box-copy{position:absolute!important;top:27%!important;right:7%!important;bottom:55px!important;left:7%!important;z-index:12!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;min-width:0!important;max-width:none!important;padding:0!important;overflow:hidden!important;pointer-events:auto!important;text-align:start!important}
.exchange-empty-box.is-expanded .exchange-box-copy strong{display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;margin:0!important;color:#f7d66d!important;font-size:clamp(17px,2.5vw,21px)!important;line-height:1.6!important;text-align:center!important;overflow-wrap:anywhere!important}
.exchange-empty-box.is-expanded .exchange-box-copy span[data-exchange-box-text]{display:none!important}
.exchange-empty-box.is-expanded .exchange-box-expanded-text{position:relative!important;inset:auto!important;display:block!important;flex:1 1 auto!important;min-width:0!important;min-height:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:10px 12px 24px!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-align:start!important;direction:inherit!important;font-size:14px!important;line-height:1.95!important;color:#e7e1d6!important;opacity:1!important;visibility:visible!important;transform:none!important;scrollbar-width:thin!important;scrollbar-color:rgba(245,197,66,.5) transparent!important;transition:none!important}
.exchange-box-expanded-text[hidden]{display:none!important}
.exchange-topic{display:block;width:100%;max-width:100%;margin:0 0 17px;overflow-wrap:anywhere;animation:exchange-topic-enter .35s ease both}
.exchange-topic-title{display:block;max-width:100%;margin:0 0 5px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.exchange-topic-body{display:block;max-width:100%;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.exchange-card-close{display:none}
.exchange-empty-box.is-expanded .exchange-card-close{position:absolute;top:15px;right:15px;z-index:30;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(245,197,66,.3);border-radius:50%;background:rgba(8,9,10,.78);color:#f5c542;font:400 23px/1 Arial,sans-serif;pointer-events:none}
.exchange-niche.is-open{position:static!important;z-index:102!important}
.exchange-niche.is-open .exchange-box-link{position:fixed!important;left:50%!important;top:calc(48% + min(39dvh,350px) - 47px)!important;z-index:103!important;display:block!important;width:min(490px,calc(100vw - 76px))!important;max-width:calc(100vw - 76px)!important;margin:0!important;padding:10px 16px!important;box-sizing:border-box!important;transform:translateX(-50%)!important;border:1px solid rgba(245,197,66,.3)!important;box-shadow:0 8px 28px rgba(0,0,0,.36)!important;font-size:12px!important}
.exchange-niche.is-open .exchange-box-link[hidden]{display:none!important}
@keyframes exchange-card-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes exchange-card-modal-in{0%{opacity:0;transform:translate(-50%,-48%) scale(.94)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes exchange-topic-enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.exchange-empty-box.is-expanded,.exchange-empty-box--accent.is-expanded{top:47%!important;width:calc(100vw - 18px)!important;height:min(77dvh,650px)!important;min-height:min(330px,calc(100dvh - 20px))!important;border-radius:20px!important}.exchange-empty-box.is-expanded .exchange-box-icon{top:11%!important;width:46px!important;height:46px!important}.exchange-empty-box.is-expanded .exchange-box-copy{top:26%!important;right:6%!important;left:6%!important;bottom:52px!important;gap:8px!important}.exchange-empty-box.is-expanded .exchange-box-expanded-text{padding:8px 9px 20px!important;font-size:13px!important;line-height:1.9!important}.exchange-empty-box.is-expanded .exchange-box-copy strong{font-size:16px!important}.exchange-niche.is-open .exchange-box-link{top:calc(47% + min(38.5dvh,325px) - 42px)!important;width:calc(100vw - 54px)!important;max-width:calc(100vw - 54px)!important;padding:9px 12px!important}}
@media(prefers-reduced-motion:reduce){.exchange-box-stage.has-expanded-card::before,.exchange-empty-box.is-expanded,.exchange-topic{animation:none!important;transition:none!important}.exchange-empty-box.is-expanded{transform:none!important}}


/* Exchange-card detail polish: double-size artwork and a smoother modal entrance. */
.exchange-empty-box.is-expanded .exchange-box-icon,
.exchange-empty-box--accent.is-expanded .exchange-box-icon{
  top:6.5%!important;left:50%!important;width:clamp(88px,12vw,120px)!important;height:clamp(88px,12vw,120px)!important;
  transform:translateX(-50%)!important;z-index:8!important;filter:drop-shadow(0 8px 22px rgba(245,197,66,.28))!important;
  animation:exchange-icon-arrive .72s cubic-bezier(.2,.85,.25,1.15) both!important;
}
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy{top:29%!important;right:7%!important;left:7%!important;bottom:56px!important;gap:10px!important}
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text{font-size:14px!important;line-height:2!important;padding:12px 14px 26px!important}
.exchange-empty-box.is-expanded,
.exchange-empty-box--accent.is-expanded{width:min(660px,calc(100vw - 24px))!important;height:min(84dvh,820px)!important;max-height:calc(100dvh - 20px)!important;translate:0 0;scale:1;filter:blur(0);animation:exchange-card-modal-in .66s cubic-bezier(.18,.86,.24,1) both!important;will-change:opacity,translate,scale,filter}
.exchange-card-stage.has-expanded-card::before,
.exchange-box-stage.has-expanded-card::before{animation:exchange-card-backdrop-in .34s ease both}
.exchange-card-close{pointer-events:none;opacity:0;transition:opacity .2s ease}
.exchange-empty-box.is-expanded .exchange-card-close,
.exchange-empty-box--accent.is-expanded .exchange-card-close{pointer-events:auto!important;opacity:1;cursor:pointer;animation:exchange-close-arrive .35s .12s ease both}
.exchange-box-open-hint{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;margin-top:5px;color:#d5b961;font-size:9px;line-height:1.7;font-weight:700;opacity:.82;transition:opacity .2s ease,transform .2s ease}
.exchange-box-open-hint span{font-size:12px;line-height:1}
.exchange-empty-box:hover .exchange-box-open-hint{opacity:1;transform:translateY(-1px)}
.exchange-empty-box.is-expanded .exchange-box-open-hint{display:none!important}
.exchange-topic{animation:exchange-topic-enter .42s cubic-bezier(.2,.8,.2,1) both}
@keyframes exchange-card-modal-in{0%{opacity:0;translate:0 22px;scale:.93;filter:blur(10px)}65%{opacity:1;translate:0 -3px;scale:1.008;filter:blur(0)}100%{opacity:1;translate:0 0;scale:1;filter:blur(0)}}
@keyframes exchange-icon-arrive{0%{opacity:0;scale:.72;filter:blur(7px) drop-shadow(0 0 0 rgba(245,197,66,0))}75%{opacity:1;scale:1.06}100%{opacity:1;scale:1}}
@keyframes exchange-close-arrive{from{opacity:0;scale:.78;rotate:-24deg}to{opacity:1;scale:1;rotate:0deg}}
@media(max-width:520px){
  .exchange-empty-box.is-expanded,.exchange-empty-box--accent.is-expanded{top:47%!important;width:calc(100vw - 16px)!important;height:min(82dvh,760px)!important;min-height:min(340px,calc(100dvh - 18px))!important;border-radius:21px!important}
  .exchange-empty-box.is-expanded .exchange-box-icon,.exchange-empty-box--accent.is-expanded .exchange-box-icon{top:5.5%!important;width:92px!important;height:92px!important}
  .exchange-empty-box.is-expanded .exchange-box-copy,.exchange-empty-box--accent.is-expanded .exchange-box-copy{top:29%!important;right:5.5%!important;left:5.5%!important;bottom:51px!important;gap:8px!important}
  .exchange-empty-box.is-expanded .exchange-box-expanded-text,.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text{padding:9px 10px 22px!important;font-size:13px!important;line-height:1.95!important}
  .exchange-empty-box.is-expanded .exchange-box-copy strong,.exchange-empty-box--accent.is-expanded .exchange-box-copy strong{font-size:16px!important}
  .exchange-box-open-hint{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .exchange-empty-box.is-expanded,.exchange-empty-box--accent.is-expanded,.exchange-empty-box.is-expanded .exchange-box-icon,.exchange-empty-box.is-expanded .exchange-card-close,.exchange-topic{animation:none!important;transition:none!important;filter:none!important;translate:0 0!important;scale:1!important}
}


/* Exchange card origin-to-center FLIP motion: the selected tile itself travels into the detail view. */
.exchange-empty-box.is-expanded,
.exchange-empty-box--accent.is-expanded{
  position:fixed!important;left:var(--exchange-modal-left,50%)!important;top:var(--exchange-modal-top,10px)!important;
  width:var(--exchange-modal-width,min(660px,calc(100vw - 24px)))!important;height:var(--exchange-modal-height,min(84dvh,820px))!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;
  margin:0!important;padding:0!important;overflow:hidden!important;transform:none!important;translate:none!important;scale:1!important;
  transform-origin:top left!important;transition:none!important;animation:none!important;will-change:left,top,width,height,border-radius;
  z-index:101!important;border:1px solid rgba(245,197,66,.48)!important;border-radius:24px!important;
  background:linear-gradient(155deg,#191509 0%,#0b0d0f 48%,#08090b 100%)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 34px rgba(245,197,66,.14),inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
.exchange-box-stage.has-expanded-card.is-closing::before{animation:exchange-card-backdrop-out .38s ease both}
.exchange-box-stage.has-expanded-card::before{animation:exchange-card-backdrop-in .3s ease both}
@keyframes exchange-card-backdrop-out{from{opacity:1}to{opacity:0}}
.exchange-empty-box.is-expanded .exchange-card-close{pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important}
.exchange-empty-box.is-expanded .exchange-box-icon,
.exchange-empty-box--accent.is-expanded .exchange-box-icon{
  top:5.5%!important;left:50%!important;width:clamp(92px,12vw,116px)!important;height:clamp(92px,12vw,116px)!important;
  transform:translateX(-50%)!important;translate:none!important;scale:1!important;
  filter:drop-shadow(0 8px 24px rgba(245,197,66,.32))!important;animation:exchange-icon-arrive .7s cubic-bezier(.2,.85,.25,1.12) both!important;
}
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy{top:28.5%!important;right:7%!important;left:7%!important;bottom:56px!important;gap:10px!important}
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text{
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
.exchange-empty-box.is-expanded .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-topic,
.exchange-empty-box.is-expanded .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-topic-body{white-space:pre-wrap!important;tab-size:4!important}
.exchange-empty-box.is-expanded .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-topic-body{line-height:2!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.exchange-niche.is-open .exchange-box-link{
  top:calc(var(--exchange-modal-top,10px) + var(--exchange-modal-height,min(84dvh,820px)) - 47px)!important;
  left:50%!important;z-index:103!important;width:min(490px,calc(100vw - 64px))!important;max-width:calc(100vw - 64px)!important;
  transform:translateX(-50%)!important;pointer-events:auto!important;
}
.exchange-box-stage.is-closing::before{pointer-events:none}
@media(max-width:520px){
  .exchange-empty-box.is-expanded,.exchange-empty-box--accent.is-expanded{border-radius:20px!important}
  .exchange-empty-box.is-expanded .exchange-box-icon,.exchange-empty-box--accent.is-expanded .exchange-box-icon{top:5%!important;width:92px!important;height:92px!important}
  .exchange-empty-box.is-expanded .exchange-box-copy,.exchange-empty-box--accent.is-expanded .exchange-box-copy{top:28%!important;right:5.5%!important;left:5.5%!important;bottom:52px!important;gap:8px!important}
  .exchange-empty-box.is-expanded .exchange-box-expanded-text,.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text{padding:10px 10px 24px!important;font-size:13px!important;line-height:1.95!important}
  .exchange-niche.is-open .exchange-box-link{width:calc(100vw - 52px)!important;max-width:calc(100vw - 52px)!important}
}
@media(prefers-reduced-motion:reduce){
  .exchange-empty-box.is-expanded .exchange-box-icon,.exchange-empty-box--accent.is-expanded .exchange-box-icon{animation:none!important}
}


/* Exchange cards: reveal text only after the tile-to-modal growth has fully finished. */
.exchange-empty-box.is-expanded:not(.is-content-visible) .exchange-box-copy,
.exchange-empty-box--accent.is-expanded:not(.is-content-visible) .exchange-box-copy,
.exchange-empty-box.is-expanded:not(.is-content-visible) .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded:not(.is-content-visible) .exchange-box-expanded-text,
.exchange-empty-box.is-expanded:not(.is-content-visible) .exchange-card-close,
.exchange-empty-box--accent.is-expanded:not(.is-content-visible) .exchange-card-close{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.exchange-empty-box.is-expanded.is-content-visible .exchange-box-copy,
.exchange-empty-box--accent.is-expanded.is-content-visible .exchange-box-copy{
  visibility:visible!important;
  opacity:1!important;
  animation:exchange-copy-reveal .32s cubic-bezier(.2,.8,.2,1) both!important;
}
.exchange-empty-box.is-expanded.is-content-visible .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded.is-content-visible .exchange-box-expanded-text{
  visibility:visible!important;
  opacity:1!important;
  animation:exchange-copy-reveal .32s cubic-bezier(.2,.8,.2,1) both!important;
}
.exchange-empty-box.is-expanded.is-content-visible .exchange-card-close,
.exchange-empty-box--accent.is-expanded.is-content-visible .exchange-card-close{
  visibility:visible!important;
  opacity:1!important;
  animation:exchange-close-arrive .28s ease both!important;
}
.exchange-niche.is-open:not(.has-content-visible) .exchange-box-link{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.exchange-niche.is-open.has-content-visible .exchange-box-link{
  visibility:visible!important;
  opacity:1!important;
  animation:exchange-copy-reveal .28s .04s ease both!important;
}
@keyframes exchange-copy-reveal{
  from{opacity:0;transform:translateY(7px);filter:blur(3px)}
  to{opacity:1;transform:translateY(0);filter:blur(0)}
}
@media(prefers-reduced-motion:reduce){
  .exchange-empty-box.is-expanded.is-content-visible .exchange-box-copy,
  .exchange-empty-box.is-expanded.is-content-visible .exchange-box-expanded-text,
  .exchange-niche.is-open.has-content-visible .exchange-box-link{animation:none!important}
}

/* Exchange card copy: prevent Persian/English text and long unbroken strings
   from exceeding the modal's inner line width, including while typewriter runs. */
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy{
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
.exchange-empty-box.is-expanded .exchange-box-copy strong,
.exchange-empty-box--accent.is-expanded .exchange-box-copy strong{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  padding-inline:3px!important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text{
  min-width:0!important;
  min-inline-size:0!important;
  max-width:100%!important;
  max-inline-size:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.exchange-empty-box.is-expanded .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-topic,
.exchange-empty-box.is-expanded .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-topic-body{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  max-width:100%!important;
  max-inline-size:100%!important;
  box-sizing:border-box!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  overflow-x:hidden!important;
}


/* Final guard for expanded exchange copy: constrain flex/grid intrinsic sizing
   and break long Persian/Latin tokens while the typewriter appends characters. */
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy,
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text,
.exchange-empty-box.is-expanded .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-topic,
.exchange-empty-box.is-expanded .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-topic-body {
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  hyphens: auto !important;
}
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy {
  width: auto !important;
  right: 7% !important;
  left: 7% !important;
  overflow-x: clip !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text {
  display: block !important;
  width: 100% !important;
  inline-size: 100% !important;
  flex: 1 1 0% !important;
  align-self: stretch !important;
  overflow-x: clip !important;
  white-space: pre-wrap !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  inline-size: 100% !important;
  white-space: pre-wrap !important;
  text-overflow: clip !important;
}


/* Solid-color dashboard backgrounds: true flat fill, including pure black. */
html[data-dashboard-background-mode="solid"] body.member-dashboard-body {
  background: var(--member-dashboard-solid-bg, #000000) !important;
}
html[data-dashboard-background-mode="solid"] body.member-dashboard-body .member-ambient {
  background: var(--member-dashboard-solid-bg, #000000) !important;
  background-image: none !important;
}
html[data-dashboard-background-mode="solid"] body.member-dashboard-body .member-ambient::before {
  background: var(--member-dashboard-solid-bg, #000000) !important;
  background-image: none !important;
  opacity: 1 !important;
}
html[data-dashboard-background-mode="solid"] body.member-dashboard-body .member-ambient::after,
html[data-dashboard-background-mode="solid"] body.member-dashboard-body .member-background-video,
html[data-dashboard-background-mode="solid"] body.member-dashboard-body .member-dots {
  display: none !important;
}

/* Final modal text layout guard: keep the expanded copy inside the visible
   card viewport while the character-by-character renderer updates text nodes. */
.exchange-empty-box.is-expanded .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text {
  position: absolute !important;
  top: 42% !important;
  right: 7% !important;
  left: 7% !important;
  bottom: 64px !important;
  display: block !important;
  width: auto !important;
  inline-size: auto !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: none !important;
  max-inline-size: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 12px 22px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  hyphens: auto !important;
  direction: inherit !important;
  unicode-bidi: isolate !important;
  text-align: start !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box.is-expanded .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-box-expanded-text .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  inline-size: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  hyphens: auto !important;
  text-overflow: clip !important;
}
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy {
  min-width: 0 !important;
  max-width: none !important;
  overflow-x: hidden !important;
}
.exchange-empty-box.is-expanded .exchange-box-copy strong,
.exchange-empty-box--accent.is-expanded .exchange-box-copy strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
@media (max-width: 520px) {
  .exchange-empty-box.is-expanded .exchange-box-expanded-text,
  .exchange-empty-box--accent.is-expanded .exchange-box-expanded-text {
    top: 42% !important;
    right: 5.5% !important;
    left: 5.5% !important;
    bottom: 60px !important;
    padding: 8px 9px 18px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
}


/* Language-aware direction for expanded exchange card descriptions. */
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] { direction: rtl !important; text-align: right !important; }
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] { direction: ltr !important; text-align: left !important; }
.exchange-empty-box.is-expanded .exchange-topic[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-topic[dir="rtl"],
.exchange-empty-box.is-expanded .exchange-topic-title[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-topic-title[dir="rtl"],
.exchange-empty-box.is-expanded .exchange-topic-body[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-topic-body[dir="rtl"] { direction: rtl !important; text-align: right !important; }
.exchange-empty-box.is-expanded .exchange-topic[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-topic[dir="ltr"],
.exchange-empty-box.is-expanded .exchange-topic-title[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-topic-title[dir="ltr"],
.exchange-empty-box.is-expanded .exchange-topic-body[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-topic-body[dir="ltr"] { direction: ltr !important; text-align: left !important; }


/* Exchange modal: final bidi rules. Direction is explicit on the server-rendered
   language nodes and must not inherit the page/card grid direction. */
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text [dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text [dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text [dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text [dir="ltr"] {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}


/* Final direction lock for exchange topic text. Inline server styles and these
   selectors keep both first paint and animated client text aligned per language. */
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body { direction: rtl !important; text-align: right !important; unicode-bidi: isolate !important; }
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body { direction: ltr !important; text-align: left !important; unicode-bidi: isolate !important; }


/* exchange-bilingual-direction-final-r6: enforce bidi direction on the actual visible
   description nodes, independently from the card shell and page language inheritance. */
.exchange-box-expanded-text[dir="rtl"],
.exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-box-expanded-text[dir="rtl"] .exchange-topic-body {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-box-expanded-text[dir="ltr"],
.exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-box-expanded-text[dir="ltr"] .exchange-topic-body {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}
.exchange-box-expanded-text .exchange-topic,
.exchange-box-expanded-text .exchange-topic-title,
.exchange-box-expanded-text .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}


/* Exchange bilingual direction r7: outrank the modal's generic text-align:start rules.
   Apply direction and alignment to the scroll host and every visible text node. */
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body,
.exchange-empty-box--accent.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}


/* Exchange description direction lock r9: the paragraph nodes themselves are
   block-level and explicitly horizontal so the card's layout direction cannot
   override the selected language. */
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"],
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: rtl !important;
  writing-mode: horizontal-tb !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"],
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-box-stage .exchange-empty-box.is-expanded .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: ltr !important;
  writing-mode: horizontal-tb !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}


/* Final exchange description direction lock r11: set bidi and alignment on
   each rendered block itself, not only on its container. */
.exchange-box-stage .exchange-box-expanded-text[dir="rtl"],
.exchange-box-stage .exchange-box-expanded-text[dir="rtl"] .exchange-topic,
.exchange-box-stage .exchange-box-expanded-text[dir="rtl"] .exchange-topic-title,
.exchange-box-stage .exchange-box-expanded-text[dir="rtl"] .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: rtl !important;
  writing-mode: horizontal-tb !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}
.exchange-box-stage .exchange-box-expanded-text[dir="ltr"],
.exchange-box-stage .exchange-box-expanded-text[dir="ltr"] .exchange-topic,
.exchange-box-stage .exchange-box-expanded-text[dir="ltr"] .exchange-topic-title,
.exchange-box-stage .exchange-box-expanded-text[dir="ltr"] .exchange-topic-body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: ltr !important;
  writing-mode: horizontal-tb !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}


/* Closed exchange cards: keep every title and short description inside the
   visible card face. The expanded modal has its own independent layout above. */
.exchange-empty-box:not(.is-expanded) .exchange-box-copy,
.exchange-empty-box--accent:not(.is-expanded) .exchange-box-copy {
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: calc(100% - 0px) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}
.exchange-empty-box:not(.is-expanded) .exchange-box-copy strong,
.exchange-empty-box:not(.is-expanded) .exchange-box-copy span[data-exchange-box-text],
.exchange-empty-box--accent:not(.is-expanded) .exchange-box-copy strong,
.exchange-empty-box--accent:not(.is-expanded) .exchange-box-copy span[data-exchange-box-text] {
  display: block !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  hyphens: auto !important;
  text-overflow: clip !important;
}
.exchange-empty-box:not(.is-expanded) .exchange-box-copy,
.exchange-empty-box--accent:not(.is-expanded) .exchange-box-copy {
  contain: inline-size !important;
}


/* Expanded exchange cards: confine the description to the modal's inner viewport.
   Keep the title and description in separate regions and allow long text to scroll. */
.exchange-empty-box.is-expanded > .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
  position: absolute !important;
  inset: 40% 7% 64px 7% !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  box-sizing: border-box !important;
  padding: 10px 12px 22px !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text[hidden],
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text[hidden] {
  display: none !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-body,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-body {
  display: block !important;
  position: relative !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-inline: 0 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text[dir="ltr"] {
  direction: ltr !important;
  text-align: left !important;
}
@media (max-width: 520px) {
  .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
  .exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
    inset: 40% 5.5% 60px 5.5% !important;
    padding: 8px 9px 18px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
}


/* Final modal fit: the expanded exchange card and every text block must stay
   within the real viewport width, including very narrow mobile webviews. */
.exchange-empty-box.is-expanded,
.exchange-empty-box--accent.is-expanded {
  min-width: 0 !important;
  max-width: calc(100vw - 16px) !important;
  box-sizing: border-box !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
  position: absolute !important;
  top: 40% !important;
  right: 7% !important;
  bottom: 64px !important;
  left: 7% !important;
  width: auto !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 10px 12px 22px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-body,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic-body {
  display: block !important;
  position: relative !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  box-sizing: border-box !important;
  margin-inline: 0 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
.exchange-empty-box.is-expanded .exchange-box-copy,
.exchange-empty-box--accent.is-expanded .exchange-box-copy {
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}
.exchange-empty-box.is-expanded .exchange-box-copy strong,
.exchange-empty-box--accent.is-expanded .exchange-box-copy strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
@media (max-width: 520px) {
  .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
  .exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
  .exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
    top: 40% !important;
    right: 5.5% !important;
    bottom: 60px !important;
    left: 5.5% !important;
    padding: 8px 9px 18px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
}


/* Exchange card layout correction r12.
   Compact names are visually centered regardless of RTL/LTR text direction.
   Expanded descriptions stay inside the card's inner window area. */
.exchange-empty-box:not(.is-expanded) > .exchange-box-copy,
.exchange-empty-box--accent:not(.is-expanded) > .exchange-box-copy {
  position: absolute !important;
  top: 43% !important;
  right: 12% !important;
  bottom: 9% !important;
  left: 12% !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  contain: none !important;
  box-sizing: border-box !important;
}
.exchange-empty-box:not(.is-expanded) > .exchange-box-copy strong,
.exchange-empty-box:not(.is-expanded) > .exchange-box-copy span[data-exchange-box-text],
.exchange-empty-box--accent:not(.is-expanded) > .exchange-box-copy strong,
.exchange-empty-box--accent:not(.is-expanded) > .exchange-box-copy span[data-exchange-box-text] {
  display: block !important;
  align-self: stretch !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Keep the exchange name in its own centered heading row in the modal. */
.exchange-empty-box.is-expanded > .exchange-box-copy,
.exchange-empty-box--accent.is-expanded > .exchange-box-copy {
  position: absolute !important;
  top: 25% !important;
  right: 8% !important;
  bottom: auto !important;
  left: 8% !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  contain: none !important;
  overflow: visible !important;
}
.exchange-empty-box.is-expanded > .exchange-box-copy strong,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-copy strong,
.exchange-empty-box--accent.is-expanded > .exchange-box-copy strong {
  display: block !important;
  align-self: stretch !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.exchange-empty-box.is-expanded > .exchange-box-copy span[data-exchange-box-text],
.exchange-empty-box--accent.is-expanded > .exchange-box-copy span[data-exchange-box-text] {
  display: none !important;
}

/* The detail text is positioned inside the recessed window, below the title,
   with its own scroll area so long text cannot cross the card border. */
.exchange-empty-box.is-expanded > .exchange-box-expanded-text,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
  position: absolute !important;
  top: 35% !important;
  right: 8% !important;
  bottom: 64px !important;
  left: 8% !important;
  inset-inline: 8% !important;
  width: auto !important;
  inline-size: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-inline-size: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 12px 14px 22px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
  unicode-bidi: isolate !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-body,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text .exchange-topic-body,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic-title,
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text .exchange-topic-body {
  display: block !important;
  position: relative !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-overflow: clip !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text[dir="rtl"],
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}
.exchange-empty-box.is-expanded > .exchange-box-expanded-text[dir="ltr"],
.exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text[dir="ltr"] {
  direction: ltr !important;
  text-align: left !important;
}
@media (max-width: 520px) {
  .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
  .exchange-box-stage .exchange-empty-box.is-expanded > .exchange-box-expanded-text,
  .exchange-empty-box--accent.is-expanded > .exchange-box-expanded-text {
    top: 36% !important;
    right: 6% !important;
    bottom: 60px !important;
    left: 6% !important;
    inset-inline: 6% !important;
    padding: 10px 10px 18px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .exchange-empty-box.is-expanded > .exchange-box-copy,
  .exchange-empty-box--accent.is-expanded > .exchange-box-copy {
    top: 25% !important;
    right: 6% !important;
    left: 6% !important;
  }
}


/* R33: Mirror the homepage shimmer on power, collected balance and daily production. */
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#playerPower,
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#collectedBalance,
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#dailyProduction {
  position: relative;
  display: inline-block;
  min-width: 8.5ch;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  user-select: none;
  pointer-events: none;
  vertical-align: baseline;
}
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#playerPower { min-width: 6.5ch; }
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#collectedBalance { min-width: 10.5ch; }
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#playerPower::after,
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#collectedBalance::after,
.dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#dailyProduction::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: .48em;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(245,197,66,.08) 0%, rgba(255,224,130,.27) 48%, rgba(245,197,66,.08) 100%);
  background-size: 220% 100%;
  animation: hd-dashboard-value-loading-r33 1.25s ease-in-out infinite;
}
@keyframes hd-dashboard-value-loading-r33 {
  0% { background-position: 100% 0; opacity: .55; }
  50% { opacity: 1; }
  100% { background-position: -120% 0; opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#playerPower::after,
  .dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#collectedBalance::after,
  .dashboard-stats[data-summary-state="loading"] .dashboard-stat-value#dailyProduction::after { animation: none; opacity: .75; }
}


/* Active destination card: the raised gold tile follows the current page. More is intentionally excluded. */
.mobile-bottom-nav a.dashboard-tab .nav-icon{
  display:grid;place-items:center;box-sizing:border-box;
  width:24px;height:24px;min-width:24px;min-height:24px;flex:0 0 24px;
  margin-top:0;border-radius:11px;background:transparent;color:inherit;
  box-shadow:none;transform:none;
  transition:width .2s,height .2s,flex-basis .2s,margin-top .2s,background .2s,color .2s,box-shadow .2s;
}
.mobile-bottom-nav a.active>[data-member-icon]{
  display:grid;place-items:center;box-sizing:border-box;
  width:43px;height:35px;min-width:43px;min-height:35px;flex:0 0 43px;
  margin-top:-17px;padding:0;border-radius:12px;
  background:linear-gradient(145deg,#ffe58b,#dfab21);
  color:#15120a;box-shadow:0 5px 18px rgba(245,197,66,.2);
  transform:none;
  transition:width .2s,height .2s,flex-basis .2s,margin-top .2s,background .2s,color .2s,box-shadow .2s;
}
.mobile-bottom-nav a.active>[data-member-icon]>svg{
  display:block!important;width:21px!important;height:21px!important;
  max-width:21px!important;max-height:21px!important;
  filter:none!important;transform:none!important;
}
.mobile-bottom-nav a.dashboard-tab.active .nav-icon{
  background:linear-gradient(145deg,#ffe58b,#dfab21);
  color:#15120a;box-shadow:0 5px 18px rgba(245,197,66,.2);
}
@media(max-width:430px){
  .mobile-bottom-nav a.dashboard-tab .nav-icon{
    width:22px;height:22px;min-width:22px;min-height:22px;flex:0 0 22px;margin-top:0;
  }
  .mobile-bottom-nav a.active>[data-member-icon]{
    width:38px;height:32px;min-width:38px;min-height:32px;flex:0 0 38px;margin-top:-13px;
  }
  .mobile-bottom-nav a.active>[data-member-icon]>svg{
    width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .mobile-bottom-nav a.active>[data-member-icon],
  .mobile-bottom-nav a.active>[data-member-icon]>svg{transition:none!important;transform:none!important}
}

/* R3: dashboard gets the same raised active tile animation; its icon and label stay 1.2x. */
.mobile-bottom-nav a.dashboard-tab > .nav-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  margin-top: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  transform-origin: center center;
  transition: width .22s ease, height .22s ease, flex-basis .22s ease,
              margin-top .22s ease, background .22s ease, color .22s ease,
              box-shadow .22s ease, transform .22s ease;
}
.mobile-bottom-nav a.dashboard-tab > .nav-icon > svg {
  display: block !important;
  width: 28.8px !important;
  height: 28.8px !important;
  max-width: 28.8px !important;
  max-height: 28.8px !important;
  filter: none !important;
}
.mobile-bottom-nav a.dashboard-tab > span[data-ui] {
  font-size: 1.2em !important;
  line-height: 1.35 !important;
}
.mobile-bottom-nav a.dashboard-tab.active > .nav-icon {
  width: 43px;
  height: 35px;
  min-width: 43px;
  min-height: 35px;
  flex: 0 0 43px;
  margin-top: -17px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe58b, #dfab21);
  color: #15120a;
  box-shadow: 0 5px 18px rgba(245, 197, 66, .2);
  animation: hd-dashboard-nav-active-enter-r3 .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes hd-dashboard-nav-active-enter-r3 {
  0% {
    transform: translateY(11px) scale(.66);
    background: transparent;
    box-shadow: none;
    color: inherit;
  }
  68% { transform: translateY(-2px) scale(1.045); }
  100% {
    transform: translateY(0) scale(1);
    background: linear-gradient(145deg, #ffe58b, #dfab21);
    box-shadow: 0 5px 18px rgba(245, 197, 66, .2);
    color: #15120a;
  }
}
@media (max-width: 430px) {
  .mobile-bottom-nav a.dashboard-tab > .nav-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    flex-basis: 22px;
  }
  .mobile-bottom-nav a.dashboard-tab.active > .nav-icon {
    width: 38px;
    height: 32px;
    min-width: 38px;
    min-height: 32px;
    flex-basis: 38px;
    margin-top: -13px;
  }
  .mobile-bottom-nav a.dashboard-tab > .nav-icon > svg {
    width: 26.4px !important;
    height: 26.4px !important;
    max-width: 26.4px !important;
    max-height: 26.4px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav a.dashboard-tab > .nav-icon,
  .mobile-bottom-nav a.dashboard-tab > .nav-icon > svg {
    animation: none !important;
    transition: none !important;
  }
}


/* Invite page typography tidy-up — visual only; existing copy and behavior stay unchanged. */
body[data-member-page="invite"] .member-page-heading {
  max-width: 900px;
  padding: clamp(16px, 2.6vw, 24px) 0 8px;
  text-align: right;
}
body[data-member-page="invite"] .member-page-heading h1 {
  max-width: 100%;
  margin: 7px 0 11px;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
body[data-member-page="invite"] .member-page-heading p {
  max-width: 680px;
  margin-inline-start: 0;
  font-size: 12px;
  line-height: 2.15;
  text-align: right;
  text-wrap: pretty;
}
body[data-member-page="invite"] .member-page-card .member-card-head {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
body[data-member-page="invite"] .member-page-card .member-card-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-member-page="invite"] .member-page-card .member-card-head h2 {
  margin: 0 0 7px;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.8;
  font-weight: 800;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
body[data-member-page="invite"] .member-page-card .member-card-head p {
  max-width: 680px;
  font-size: 12px;
  line-height: 2.15;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
body[data-member-page="invite"] #memberInviteExplanation {
  color: var(--muted);
  font-size: 12px;
  line-height: 2.15;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
body[data-member-page="invite"] .member-page-stat-label {
  line-height: 1.9;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  body[data-member-page="invite"] .member-page-heading {
    padding-top: 12px;
    padding-bottom: 5px;
  }
  body[data-member-page="invite"] .member-page-heading h1 {
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.7;
    margin-bottom: 8px;
  }
  body[data-member-page="invite"] .member-page-heading p,
  body[data-member-page="invite"] .member-page-card .member-card-head p,
  body[data-member-page="invite"] #memberInviteExplanation {
    font-size: 11px;
    line-height: 2.1;
  }
  body[data-member-page="invite"] .member-page-card .member-card-head {
    gap: 11px;
  }
  body[data-member-page="invite"] .member-page-card .member-card-head h2 {
    font-size: 14px;
    line-height: 1.85;
  }
}


/* Invite numbered instructions: bold markers and compact step spacing. */
body[data-member-page="invite"] #memberInviteExplanation .member-invite-step {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  margin: 0 0 5px;
  line-height: 1.8;
}
body[data-member-page="invite"] #memberInviteExplanation .member-invite-step:last-child {
  margin-bottom: 0;
}
body[data-member-page="invite"] #memberInviteExplanation .member-invite-step-number {
  color: var(--gold, #f5c542);
  font-weight: 900;
  white-space: nowrap;
}
body[data-member-page="invite"] #memberInviteExplanation .member-invite-step-copy {
  min-width: 0;
  font-weight: 700;
}
body[data-member-page="invite"] #memberInviteExplanation .member-invite-copy-line {
  margin: 0 0 5px;
  line-height: 1.8;
}
body[data-member-page="invite"] #memberInviteExplanation .member-invite-copy-line:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  body[data-member-page="invite"] #memberInviteExplanation .member-invite-step,
  body[data-member-page="invite"] #memberInviteExplanation .member-invite-copy-line {
    line-height: 1.75;
    margin-bottom: 4px;
  }
}


/* Invite page: keep English numbered instructions strictly left-to-right.
   Persian keeps the existing RTL layout; content is not modified. */
html[lang="en"] body[data-member-page="invite"] #memberInviteExplanation {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}
html[lang="en"] body[data-member-page="invite"] #memberInviteExplanation .member-invite-step {
  direction: ltr;
  text-align: left;
}
html[lang="en"] body[data-member-page="invite"] #memberInviteExplanation .member-invite-step-number,
html[lang="en"] body[data-member-page="invite"] #memberInviteExplanation .member-invite-step-copy,
html[lang="en"] body[data-member-page="invite"] #memberInviteExplanation .member-invite-copy-line {
  direction: ltr;
  text-align: left;
}


/* Invite explanation: keep the R3-style entrance, but run it only once.
   The page-editor runtime keeps the same animation class across settings refreshes. */
@keyframes hd-invite-explanation-enter-r26 {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
body[data-member-page="invite"] #memberInviteExplanation.hd-animate-fade,
body[data-member-page="invite"] main.member-page-main > section.member-page-card:last-of-type.hd-animate-fade {
  animation: hd-invite-explanation-enter-r26 .52s cubic-bezier(.2,.8,.2,1) 1 both !important;
}
@media (prefers-reduced-motion: reduce) {
  body[data-member-page="invite"] #memberInviteExplanation.hd-animate-fade,
  body[data-member-page="invite"] main.member-page-main > section.member-page-card:last-of-type.hd-animate-fade {
    animation: none !important;
  }
}


/* R1: Click-through contracts panel for the dashboard power card. */
.dashboard-stat-contracts-trigger{cursor:pointer;user-select:none;outline:none}
.dashboard-stat-contracts-trigger:focus-visible{border-color:rgba(245,197,66,.72);box-shadow:0 0 0 3px rgba(245,197,66,.14)}
.dashboard-contracts-trigger-hint{display:block;margin-top:7px;color:#c29a3b;font-size:9px;line-height:1.6;opacity:.92}
.my-contracts-open{overflow:hidden}
.my-contracts-modal{position:fixed;inset:0;z-index:220;display:grid;place-items:center;padding:clamp(10px,3vw,24px)}
.my-contracts-modal[hidden]{display:none!important}
.my-contracts-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.my-contracts-dialog{position:relative;z-index:1;width:min(780px,100%);max-height:min(90dvh,900px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(220,177,65,.26);border-radius:24px;background:radial-gradient(ellipse at 90% 0%,rgba(200,155,44,.105),transparent 42%),linear-gradient(155deg,#1c1b18,#101010 55%,#15130f);box-shadow:0 28px 100px rgba(0,0,0,.68);padding:clamp(17px,3vw,28px);color:#f2eee3;animation:my-contracts-appear .22s ease-out}
@keyframes my-contracts-appear{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.my-contracts-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid rgba(255,255,255,.075)}
.my-contracts-eyebrow{display:block;margin-bottom:7px;color:#c8a34a;font:700 9px/1.3 Arial,sans-serif;letter-spacing:1.6px}
.my-contracts-header h2{margin:0;color:#f2d37e;font-size:clamp(18px,3vw,23px);font-weight:900}
.my-contracts-header p{margin:6px 0 0;color:#9d9a91;font-size:11px;line-height:1.8}
.my-contracts-close{flex:0 0 36px;width:36px;height:36px;border:1px solid rgba(255,255,255,.1);border-radius:50%;background:#24221d;color:#eee;font:24px/1 Arial,sans-serif;cursor:pointer}
.my-contracts-close:hover{border-color:rgba(245,197,66,.55);color:#f5d675}
.my-contracts-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0}
.my-contracts-stat{min-width:0;display:flex;flex-direction:column;gap:7px;padding:11px 12px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(255,255,255,.025)}
.my-contracts-stat span{color:#a6a195;font-size:10px;line-height:1.6}
.my-contracts-stat strong{color:#f4d477;font:800 13px/1.45 Arial,sans-serif;direction:ltr;text-align:start;overflow-wrap:anywhere}
.my-contracts-summary .my-contracts-stat{background:linear-gradient(145deg,rgba(213,169,61,.1),rgba(255,255,255,.025));border-color:rgba(220,177,65,.16)}
.my-contracts-note{margin:0 0 15px;padding:10px 12px;border:1px solid rgba(220,177,65,.15);border-radius:12px;background:rgba(220,177,65,.055);color:#c7b98f;font-size:10px;line-height:1.9}
.my-contracts-status{margin:0 0 12px;padding:9px 11px;border-radius:10px;background:rgba(76,175,117,.1);color:#a9e3bc;font-size:11px;line-height:1.7}
.my-contracts-status.is-error{background:rgba(220,70,70,.1);color:#ffb2a9}
.my-contracts-list{display:grid;gap:12px}
.my-contract-card{min-width:0;padding:15px;border:1px solid rgba(220,177,65,.17);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(0,0,0,.16))}
.my-contract-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.my-contract-name-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.my-contract-name{color:#f0d27a;font-size:14px;font-weight:900;overflow-wrap:anywhere}
.my-contract-locked{padding:3px 7px;border:1px solid rgba(220,177,65,.18);border-radius:99px;color:#b9a36e;font-size:9px}
.my-contract-status{flex:0 0 auto;padding:4px 9px;border-radius:99px;font-size:9px;font-weight:800;background:rgba(255,255,255,.06);color:#bdb8ac}
.my-contract-status.is-active{color:#9ee0b4;background:rgba(73,175,112,.12);border:1px solid rgba(73,175,112,.2)}
.my-contract-status.is-completed{color:#d9c58e;background:rgba(200,165,76,.1)}
.my-contract-status.is-paused{color:#e0ba76;background:rgba(205,144,49,.1)}
.my-contract-status.is-cancelled{color:#e5a09b;background:rgba(210,75,75,.1)}
.my-contract-kind{margin:7px 0 12px;color:#918d83;font-size:10px}
.my-contract-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.my-contract-stats .my-contracts-stat{padding:9px 10px}
.my-contract-rename-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055)}
.my-contract-rename-form input{flex:1 1 180px;min-width:0;min-height:37px;padding:8px 10px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#0d0d0d;color:#fff;font:inherit;font-size:11px}
.my-contract-rename-save{min-height:37px;padding:8px 14px;border:1px solid rgba(220,177,65,.4);border-radius:9px;background:rgba(220,177,65,.11);color:#f1d27b;font:700 10px Arial,sans-serif;cursor:pointer}
.my-contract-rename-save:disabled{opacity:.55;cursor:wait}
.my-contract-rename-help{flex-basis:100%;color:#77746b;font-size:9px}
.my-contracts-empty{margin:0;padding:18px 12px;text-align:center;color:#918d83;font-size:11px;line-height:1.9}
.my-contracts-ledger{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.075)}
.my-contracts-ledger-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.my-contracts-ledger-head h3{margin:0;color:#ddd5c1;font-size:12px}
.my-contracts-ledger-head>strong{color:#f2d37e;font:800 12px Arial,sans-serif;direction:ltr}
.my-contracts-ledger-list{display:grid;gap:7px}
.my-contracts-ledger-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.02)}
.my-contracts-ledger-details{display:grid;gap:4px;min-width:0}
.my-contracts-ledger-details strong{color:#d9d3c6;font-size:10px}
.my-contracts-ledger-details small{color:#807d75;font-size:9px;line-height:1.7;overflow-wrap:anywhere}
.my-contracts-ledger-amount{flex:0 0 auto;font:800 11px Arial,sans-serif;direction:ltr}
.my-contracts-ledger-amount.is-positive{color:#9cdbad}
.my-contracts-ledger-amount.is-negative{color:#e99d93}
@media(max-width:620px){
  .my-contracts-modal{padding:0;align-items:end}
  .my-contracts-dialog{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;padding:17px 14px calc(18px + env(safe-area-inset-bottom));border-bottom:0}
  .my-contracts-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:13px 0}
  .my-contracts-summary .my-contracts-stat{padding:9px 8px}
  .my-contracts-summary .my-contracts-stat span{font-size:9px}
  .my-contracts-summary .my-contracts-stat strong{font-size:11px}
  .my-contract-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .my-contract-card{padding:12px}
  .my-contract-name{font-size:12px}
  .my-contracts-header p{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.my-contracts-dialog{animation:none}}

/* Unique Dogecoin deposit address history */
.deposit-chain-history{margin:14px 0;padding:12px 14px;border:1px solid rgba(215,170,67,.22);border-radius:14px;background:rgba(215,170,67,.045);color:var(--text-color,#eee);font-size:.86rem}
.deposit-chain-history>strong{display:block;margin-bottom:7px;color:#d9b45c}
.deposit-chain-history p{margin:5px 0;color:var(--muted-color,#aaa);overflow-wrap:anywhere}

/* HiDoge identity mark: circular HI badge; applies only to the member brand placeholder. */
.member-mark[data-ui=\"memberBrandMark\"]{background:#080808 url('public/hidoge-hi-round.png') center/cover no-repeat!important;border:1px solid rgba(245,197,66,.55);border-radius:50%!important;color:transparent!important;font-size:0!important;box-shadow:0 0 18px rgba(245,197,66,.22),inset 0 0 0 1px rgba(255,255,255,.12)!important;overflow:hidden}
