#page-topbar.fr-topbar{background:var(--bs-secondary-bg,#fff);border-bottom:1px solid #e8eaf1;box-shadow:0 3px 15px #21345004}
#page-topbar.fr-topbar .navbar-header{display:grid;grid-template-columns:250px minmax(100px,1fr) auto auto;gap:12px;height:70px;padding:0 20px 0 0;max-width:none;align-items:center}
.fr-topbar .tb-brand{width:250px;height:70px;display:flex;align-items:center;justify-content:center;padding:8px 18px;border-right:1px solid #edf0f5;background:transparent}.fr-topbar .tb-brand .logo{line-height:normal}.fr-topbar .tb-brand img{max-width:190px;max-height:44px;object-fit:contain}
.tb-tools,.tb-account,.tb-wallets{display:flex;align-items:center;min-width:0;gap:10px}.tb-tools{height:100%}.tb-account{padding-left:4px;gap:6px}.tb-icon{flex-shrink:0;vertical-align:middle}.tb-icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:0;border-radius:10px;background:transparent;color:#5f6a80;padding:0;cursor:pointer;text-decoration:none}.tb-icon-button:hover{background:#99009908;color:var(--brand-color,#990099)}.tb-icon-button:focus-visible,.tb-user-button:focus-visible,.tb-search-submit:focus-visible{outline:2px solid var(--brand-color,#990099);outline-offset:2px}.tb-search{height:38px;display:flex;align-items:center;gap:8px;border:1px solid #e8eaf1;border-radius:10px;padding:0 10px;background:#f8f9fc;flex:1 1 230px;max-width:320px;min-width:100px;margin:0}.tb-search>.tb-icon{width:16px;color:#939bad}.tb-search input{min-width:0;width:100%;background:transparent;outline:none;border:0;font-size:12px;color:var(--bs-body-color,#394459)}.tb-search input::placeholder{color:#9299a9}.tb-search-submit{display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#8b94a6;width:22px;padding:0}.tb-search-submit svg{transform:rotate(-90deg);width:15px}
.tb-add-money,.tb-live{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;flex:0 0 auto;white-space:nowrap;border-radius:9px;font-size:11px;font-weight:650;text-decoration:none;padding:0 10px}.tb-add-money{background:var(--brand-color,#990099);color:#fff}.tb-add-money:hover{color:#fff;filter:brightness(.94)}.tb-add-money .tb-icon,.tb-live .tb-icon{width:16px;height:16px}.tb-live{border:1px solid #d7eae4;background:#f1fbf6;color:#198362}.tb-live:hover{background:#e4f7ee;color:#136c50}
.tb-wallets{gap:7px}.tb-wallet{border:1px solid #ebdfee;background:#fcf7fd;padding:6px 11px;border-radius:10px;min-width:118px}.tb-wallet-label{display:block;font-size:9px;color:#886392;line-height:1.5;white-space:nowrap;font-weight:600;letter-spacing:.1px}.tb-wallet strong{display:block;font-size:13px;font-weight:750;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums;color:#862590}.tb-wallet-collection{background:#f0faf8;border-color:#d8ece6}.tb-wallet-collection .tb-wallet-label{color:#558c81}.tb-wallet-collection strong{color:#197968}.tb-refresh{width:28px;height:32px}.tb-refresh svg{width:17px;height:17px}.tb-refresh:disabled{opacity:.5;cursor:wait}.tb-refresh[aria-busy=true] svg{animation:tb-spin 1s linear infinite}.tb-mobile-add,.tb-mobile-search{display:none}
.tb-user-button{display:flex;align-items:center;gap:9px;border:0;border-radius:11px;padding:5px 6px;background:transparent;color:var(--bs-body-color,#394459);text-align:left;max-width:190px;cursor:pointer}.tb-user-button:hover{background:#f6f7fb}.tb-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;background:#f2e8f7;color:var(--brand-color,#990099);font-size:12px;font-weight:750;flex-shrink:0}.tb-user-summary{display:flex;flex-direction:column;min-width:0;max-width:115px}.tb-user-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.tb-user-summary small{font-size:10px;color:#929bad;margin-top:2px}.tb-user-chevron svg{width:13px;height:13px;color:#929bad}.tb-profile-menu{min-width:255px;border:1px solid #e8eaf1;border-radius:13px;box-shadow:0 15px 45px #1b2d4b20;padding:7px}.tb-profile-heading{padding:12px 12px 14px;border-bottom:1px solid #edf0f5;margin-bottom:6px}.tb-profile-heading strong,.tb-profile-heading span{display:block;overflow-wrap:anywhere}.tb-profile-heading strong{font-size:13px}.tb-profile-heading span{font-size:10px;color:#8a94a8;margin-top:5px}.tb-profile-menu .dropdown-item{display:flex;align-items:center;gap:10px;font-size:12px;padding:10px;border-radius:7px}.tb-profile-menu .dropdown-item svg{width:17px;height:17px;color:#8993a4}.tb-profile-menu .tb-logout,.tb-profile-menu .tb-logout svg{color:#ce425c}.tb-profile-menu .dropdown-item:active{background:var(--brand-color,#990099);color:white}.tb-profile-menu .dropdown-item:active svg{color:white}.tb-sun{display:none}
body[data-bs-theme=dark] .tb-moon{display:none}body[data-bs-theme=dark] .tb-sun{display:inline-flex}body[data-bs-theme=dark] .fr-topbar,body[data-bs-theme=dark] .fr-topbar .tb-brand{border-color:#343847}body[data-bs-theme=dark] .tb-search,body[data-bs-theme=dark] .tb-user-button:hover{background:#2c3040;border-color:#3b4051}body[data-bs-theme=dark] .tb-icon-button{color:#bdc6d9}body[data-bs-theme=dark] .tb-wallet{background:#352b3d;border-color:#514057}body[data-bs-theme=dark] .tb-wallet strong{color:#e9bbef}body[data-bs-theme=dark] .tb-wallet-label{color:#baa1c3}body[data-bs-theme=dark] .tb-wallet-collection{background:#233d37;border-color:#3a5750}body[data-bs-theme=dark] .tb-wallet-collection strong{color:#a7e2cd}body[data-bs-theme=dark] .tb-wallet-collection .tb-wallet-label{color:#8dbbaa}body[data-bs-theme=dark] .tb-avatar{background:#44304b;color:#edb8f5}body[data-bs-theme=dark] .tb-profile-menu{border-color:#3b4051}body[data-bs-theme=dark] .tb-profile-heading{border-color:#3b4051}
.tb-search-modal{border-radius:16px;overflow:hidden}.tb-modal-search{display:flex;gap:8px}.tb-modal-search input{min-width:0}.tb-search-hint{font-size:12px;color:#8b95a5;margin:16px 0 8px}.tb-search-results{display:grid;gap:7px}.tb-search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e9edf3;border-radius:10px;color:var(--bs-body-color,#394459);text-decoration:none}.tb-search-result:hover{background:#99009904;border-color:#d8c3df}.tb-result-type{display:inline-block;font-size:9px;color:var(--brand-color,#990099);background:#99009908;padding:3px 6px;border-radius:4px;margin-bottom:5px}.tb-search-result strong,.tb-search-result small{display:block;overflow-wrap:anywhere}.tb-search-result strong{font-size:13px}.tb-search-result small{font-size:11px;color:#8a94a4;margin-top:3px}.tb-result-arrow{color:#9c8ca6;font-size:20px}.tb-search-empty{padding:24px;text-align:center;color:#8b95a5;font-size:13px}
@media(max-width:1399px){#page-topbar.fr-topbar .navbar-header{gap:8px;padding-right:12px}.tb-tools{gap:6px}.tb-add-money span,.tb-live span{display:none}.tb-add-money,.tb-live{width:34px;padding:0}.tb-user-summary{max-width:95px}.tb-wallet{min-width:112px;padding-inline:9px}}
@media(min-width:768px){body[data-sidebar-size=sm] #page-topbar.fr-topbar .navbar-header{grid-template-columns:70px minmax(100px,1fr) auto auto}body[data-sidebar-size=sm] .fr-topbar .tb-brand{width:70px;padding:8px}body[data-sidebar-size=sm] .fr-topbar .tb-brand img{max-width:42px}body[data-sidebar-size=md] #page-topbar.fr-topbar .navbar-header{grid-template-columns:160px minmax(100px,1fr) auto auto}body[data-sidebar-size=md] .fr-topbar .tb-brand{width:160px;padding:8px}body[data-sidebar-size=md] .fr-topbar .tb-brand img{max-width:135px}}
@media(max-width:1199px){.tb-search{display:none}.tb-mobile-search{display:inline-flex}.tb-tools{justify-content:flex-start}.tb-live{display:none}.tb-user-summary,.tb-user-chevron{display:none}.tb-user-button{padding:3px}.tb-wallet strong{font-size:12px}.tb-wallet{min-width:110px}}
@media(max-width:767px){#page-topbar.fr-topbar .navbar-header{height:auto;min-height:125px;grid-template-columns:minmax(100px,1fr) 34px auto;grid-template-areas:'brand tools account' 'wallets wallets wallets';gap:0 8px;padding:0}.fr-topbar .tb-brand{grid-area:brand;width:auto;height:62px;border:0;justify-content:flex-start;padding:10px 16px}.fr-topbar .tb-brand .logo-lg{display:block!important}.fr-topbar .tb-brand .logo-sm{display:none!important}.fr-topbar .tb-brand img{max-width:145px;max-height:39px;width:auto;height:auto}.tb-tools{grid-area:tools}.tb-tools .tb-add-money{display:none}.tb-account{grid-area:account;padding:0 10px 0 0;gap:2px}.tb-account .tb-icon-button{width:32px;height:34px}.tb-avatar{width:31px;height:31px;border-radius:10px}.tb-wallets{grid-area:wallets;border-top:1px solid #edf0f5;padding:8px 14px;gap:7px;height:63px}.tb-wallet{flex:1 1 0;min-width:0;padding:3px 9px}.tb-wallet-label{font-size:9px}.tb-wallet strong{font-size:12px}.tb-mobile-add{display:inline-flex;background:var(--brand-color,#990099);color:white;width:29px;height:31px;border-radius:8px}.tb-mobile-add:hover{color:white}.tb-mobile-add svg{width:17px;height:17px}.tb-refresh{width:23px}.fr-has-topbar .page-content{padding-top:147px}.fr-has-topbar .vertical-menu{top:125px;height:calc(100% - 125px)}.tb-profile-menu{min-width:250px;max-width:calc(100vw - 24px)}.tb-search-modal .modal-body{padding:16px}}
@media(max-width:359px){.fr-topbar .tb-brand{padding-left:12px}.fr-topbar .tb-brand img{max-width:115px}.tb-account{padding-right:7px}.tb-wallets{padding-inline:10px;gap:5px}.tb-wallet{padding-inline:6px}.tb-wallet strong{font-size:11px}.tb-wallet-label{font-size:8px}.tb-account .tb-icon-button{width:29px}}
@keyframes tb-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tb-refresh[aria-busy=true] svg{animation:none}}
.tb-mobile-add:hover{background:var(--brand-color,#990099)}
