.profile-panel[hidden],.profile-backdrop[hidden]{display:none!important}.profile-panel,.profile-sidebar{color:#fff;background:#080808;border:1px solid #85222b;border-radius:18px;padding:20px}.profile-panel{position:fixed;z-index:1100;right:max(20px,calc((100vw - 1240px)/2));top:var(--profile-top,110px);width:300px;max-height:calc(100dvh - var(--profile-top,110px) - 16px);overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 50px #000b}.profile-backdrop{position:fixed;inset:0;background:#0005;z-index:1090}.profile-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.profile-avatar{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border:2px solid #e52b3b;border-radius:50%;background:#191919}.profile-avatar svg{width:25px;height:25px}.profile-heading strong{display:block;font-size:16px;overflow-wrap:anywhere}.profile-heading small{display:block;color:#ccc;font-size:11px;margin-top:4px}.profile-close{margin-left:auto;background:#171717;border:1px solid #70232b;border-radius:10px;color:#fff;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.profile-wallet{display:flex;justify-content:space-between;align-items:center;padding:14px;background:#151515;border:1px solid #70232b;border-radius:14px;gap:10px}.profile-wallet small{display:block;color:#ccc;font-size:11px;letter-spacing:1px}.profile-wallet strong{display:block;font-size:19px}.profile-wallet a{background:#d91f32;color:#fff;border-radius:12px;padding:12px;font-size:11px;font-weight:800;white-space:nowrap}.profile-group{margin-top:20px}.profile-group h2{display:flex;align-items:center;gap:9px;color:#ccc;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 10px}.profile-group h2:before{content:"";width:18px;height:2px;background:#ed293e}.profile-group>div{border:1px solid #602129;border-radius:15px;overflow:hidden}.profile-links .profile-group a{display:flex;align-items:center;gap:12px;padding:10px 12px;color:#fff;background:#121212;border-bottom:1px solid #602129;font-size:13px;margin:0;border-radius:0}.profile-links .profile-group a:last-child{border-bottom:0}.profile-links .profile-group a:hover,.profile-links .profile-group a:focus-visible{background:#2a1115}.profile-icon{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border:1px solid #4c2529;border-radius:10px;background:#222}.profile-chevron{margin-left:auto;color:#a05c64}.profile-chevron svg{width:15px}.profile-logout{margin-top:20px}.profile-logout button{display:flex;align-items:center;gap:12px;width:100%;padding:16px;background:#200d10;color:#fff;border:1px solid #b62738;border-radius:14px;cursor:pointer}.profile-trigger-name{font-size:12px;max-width:90px;overflow:hidden;text-overflow:ellipsis}.header-tools .account-button{width:auto;gap:8px;padding:0 12px}.profile-panel :focus-visible,.profile-sidebar :focus-visible{outline:2px solid #ff4055;outline-offset:-3px}.account-sidebar.profile-sidebar{padding:20px}.profile-sidebar .profile-heading{display:flex}.profile-sidebar .profile-wallet a{margin:0}.profile-open{overflow:hidden}
@media(min-width:761px){.profile-sidebar{align-self:start}.profile-panel .profile-group{margin-top:12px}.profile-panel .profile-group a{padding:6px 8px}.profile-panel .profile-icon{width:27px;height:27px}.profile-panel .profile-heading{margin-bottom:12px}}
@media(max-width:760px){.profile-panel{inset:var(--profile-top,100px) 0 0;width:auto;max-height:none;border-radius:0;border-width:2px 0 0;padding:22px 20px max(30px,env(safe-area-inset-bottom));background:#080808}.profile-panel .profile-group a{font-size:16px;min-height:62px;padding:10px 16px}.profile-panel .profile-icon{width:40px;height:40px}.profile-panel .profile-heading strong{font-size:19px}.profile-panel .profile-wallet{padding:16px}.profile-panel .profile-wallet a{font-size:13px;padding:14px 18px}.profile-trigger-name{display:none}.account-sidebar.profile-sidebar{display:block;width:100%}.page-account .account-layout{display:flex;flex-direction:column}.page-account .account-content{width:100%;min-width:0}.profile-open .mobile-nav{visibility:hidden}}

.game-history-intro{padding:20px;border:1px solid #303039;border-radius:14px;background:linear-gradient(125deg,#25171c,#17171d);margin-bottom:20px}.game-history-intro p{margin:0 0 10px;line-height:1.6}.game-history-intro small,.game-history-count{color:#b9b6bf}.game-history-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.game-history-filters select{background:#19191f;color:#fff;border:1px solid #48434d;padding:12px;border-radius:8px;font:inherit}.game-history-caption{text-align:left;padding:12px 0;font-weight:600}.game-history-table{min-width:760px}.game-history-round{max-width:190px;overflow-wrap:anywhere}.page-game-history .account-content{min-width:0}.page-game-history .history-wrap{max-width:100%;overflow-x:auto}@media(max-width:600px){.game-history-filters label{width:100%}.game-history-filters select{flex:1;min-width:0}.game-history-intro{padding:16px}}

.account-layout.account-layout-direct{display:block}.account-layout-direct>.account-content{width:100%;min-width:0}

/* Desktop member identity, using the configured LOCA accent. */
.profile-trigger-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.profile-trigger-caption,.profile-trigger-arrow{display:none}
@media(min-width:761px){
 .header-tools .account-button{height:52px;min-width:176px;max-width:228px;gap:10px;padding:5px 13px 5px 6px;border-radius:28px;border:1px solid var(--cms-accent,#ef3548);background:linear-gradient(145deg,#29232a,#101217);box-shadow:inset 0 1px 0 #ffffff0d,0 5px 18px #0005;color:var(--cms-text,#f5f5f7)}
 .account-button .profile-trigger-avatar{width:39px;height:39px;border:1px solid var(--cms-accent,#ef3548);border-radius:50%;background:radial-gradient(circle at 35% 25%,#54303a,#17131a 75%);box-shadow:0 0 0 3px #ffffff05;color:var(--cms-accent,#ef3548)}
 .account-button .profile-trigger-avatar svg{width:23px;height:23px}
 .account-button .profile-trigger-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;text-align:left;line-height:1.25}
 .account-button .profile-trigger-name{display:block;max-width:100%;font-size:13px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .account-button .profile-trigger-caption{display:block;color:#a7a9b2;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
 .account-button .profile-trigger-arrow{display:block;width:18px;height:18px;margin-left:4px;color:#a7a9b2;transition:transform .18s}
 .header-tools .account-button:hover,.header-tools .account-button[aria-expanded="true"]{background:linear-gradient(145deg,#39242d,#18141b);border-color:var(--cms-accent,#ef3548);box-shadow:0 4px 18px #0006,inset 0 0 15px #ef354810}
 .account-button[aria-expanded="true"] .profile-trigger-arrow{transform:rotate(180deg)}
 .header-tools .account-button:focus-visible{outline:2px solid var(--cms-accent,#ef3548);outline-offset:4px}
}
@media(max-width:760px){.account-button .profile-trigger-copy{display:none}}

/* Keep the wallet summary level with the adjacent deposit button. */
.header-tools .balance-pill{justify-content:center;flex-shrink:0;height:42px;min-height:0;padding:0 16px;border:1px solid var(--cms-accent,#ef3548);border-radius:28px;background:linear-gradient(145deg,#29232a,#101217);box-shadow:inset 0 1px 0 #ffffff0d,0 5px 18px #0005;color:var(--cms-text,#f5f5f7)}
.header-tools .balance-pill small{color:#a7a9b2;font-size:10px;font-weight:600;letter-spacing:.08em}
.header-tools .balance-pill strong{white-space:nowrap}
.header-tools .balance-pill:hover{background:linear-gradient(145deg,#39242d,#18141b);border-color:var(--cms-accent,#ef3548);box-shadow:0 4px 18px #0006,inset 0 0 15px #ef354810}
.header-tools .balance-pill:focus-visible{outline:2px solid var(--cms-accent,#ef3548);outline-offset:4px}
@media(max-width:760px){.main-header.has-member .balance-pill{height:36px;min-height:0;padding-top:0;padding-bottom:0}}
@media(max-width:640px){.header-tools .balance-pill{padding:5px 10px}.header-tools .balance-pill small{font-size:8px}}
