/* BMC V33: mobile AI, clean guest drawer, full leaderboard table on mobile, home empty section cleanup, smooth sliders */
:root{--bmc-v33-red:#ef1737;--bmc-v33-line:rgba(255,255,255,.10);--bmc-v33-card:rgba(255,255,255,.045)}
/* Never show old bottom button bar after V23/V32 mixes. */
.bottom-nav,.mobile-bottom-nav,.bmc-bottom-nav{display:none!important}
.footer{padding-bottom:22px!important}
/* Clean drawer menu: logged-out visitors get fewer items and SVG alignment. */
.drawer a{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;line-height:1.1!important;text-decoration:none!important}.drawer .menu-svg{width:17px!important;height:17px!important;min-width:17px!important;color:rgba(255,255,255,.82)}
@media(max-width:760px){.drawer{width:min(292px,82vw)!important}.drawer-brand{margin-bottom:12px!important}.drawer a{font-size:14px!important;padding:8px 4px!important}}
/* Better AI floating icon. */
.bmc-ai-fab-v33{position:fixed!important;right:18px!important;bottom:18px!important;width:52px!important;height:52px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.16)!important;background:radial-gradient(circle at 30% 20%,#ff6a7d 0,#ef1737 48%,#88091b 100%)!important;box-shadow:0 14px 38px rgba(239,23,55,.38),inset 0 1px 0 rgba(255,255,255,.18)!important;color:#fff!important;display:grid!important;place-items:center!important;z-index:985!important;padding:0!important;text-align:center!important;font-weight:900!important;letter-spacing:.02em!important}.bmc-ai-fab-v33 .bmc-ai-stars{font-size:18px!important;line-height:1!important;transform:translateY(1px)}.bmc-ai-fab-v33 .bmc-ai-text{position:absolute;bottom:8px;font-size:9px;line-height:1;font-weight:900}.bmc-ai-fab-v33:hover{transform:translateY(-2px);filter:saturate(1.05)}
.bmc-ai-panel-v33{z-index:995!important}.bmc-ai-panel-v33 .ai-messages{min-height:0!important;-webkit-overflow-scrolling:touch}.bmc-ai-panel-v33 .ai-input textarea{line-height:1.35!important}.bmc-ai-panel-v33 .ai-input button{min-width:44px!important}body.ai-panel-open{overflow:hidden!important}
@media(max-width:760px){.bmc-ai-fab-v33{right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;width:50px!important;height:50px!important}.bmc-ai-panel-v33{display:none!important;position:fixed!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;height:min(76dvh,570px)!important;max-height:calc(100dvh - 72px)!important;border-radius:20px!important;overflow:hidden!important;flex-direction:column!important;background:rgba(10,12,18,.96)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 24px 80px rgba(0,0,0,.68)!important}.bmc-ai-panel-v33.open{display:flex!important}.bmc-ai-head-v33{padding:12px!important;flex-shrink:0!important}.bmc-ai-head-v33 b{font-size:14px}.bmc-ai-head-v33 .tiny{font-size:9px}.bmc-ai-panel-v33 .ai-messages{flex:1 1 auto!important;overflow-y:auto!important;padding:10px!important;gap:8px!important;overscroll-behavior:contain!important}.bmc-ai-panel-v33 .ai-msg{font-size:12px!important;border-radius:13px!important;padding:9px 10px!important;max-width:94%!important}.bmc-ai-panel-v33 .ai-input{position:relative!important;bottom:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;gap:8px!important;flex-shrink:0!important;padding:10px!important;padding-bottom:calc(10px + env(safe-area-inset-bottom))!important;background:rgba(4,5,8,.88)!important;backdrop-filter:blur(16px)!important}.bmc-ai-panel-v33 .ai-input textarea{min-height:44px!important;max-height:92px!important;font-size:13px!important;border-radius:14px!important}.bmc-ai-panel-v33 .ai-input button{width:46px!important;height:44px!important;padding:0!important;border-radius:14px!important}}
/* Full desktop-style leaderboard table on mobile, swipe-friendly. */
@media(max-width:760px){.leaderboard-podium,.podium,.leaderboard-rule,.leader-mobile,.leader-mobile.leaderboard-mobile-list,.lb20-mobile-list,.lb21-mobile-list{display:none!important}.leader-desktop,.leaderboard-table-card,.table-wrap.leaderboard-table-card{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;border-radius:16px!important;padding:8px!important;margin-top:10px!important}.leaderboard-table-card::before{content:"Swipe table →";display:block;width:max-content;margin:0 0 7px 2px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:800;color:rgba(255,255,255,.75);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}.leaderboard-table{min-width:900px!important;width:900px!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 6px!important;font-size:11px!important}.leaderboard-table th,.leaderboard-table td{padding:8px 7px!important;white-space:nowrap!important;vertical-align:middle!important}.leaderboard-table th{font-size:9px!important;text-transform:uppercase!important;letter-spacing:.04em!important;opacity:.75!important}.leaderboard-table tr:not(:first-child){background:rgba(255,255,255,.045)!important}.leaderboard-table th:nth-child(1),.leaderboard-table td:nth-child(1){width:42px!important}.leaderboard-table th:nth-child(2),.leaderboard-table td:nth-child(2){width:210px!important}.leaderboard-table th:nth-child(3),.leaderboard-table td:nth-child(3){width:125px!important}.leaderboard-table th:nth-child(n+4),.leaderboard-table td:nth-child(n+4){text-align:center!important}.leader-name-cell{display:inline-flex!important;align-items:center!important;gap:8px!important;max-width:190px!important;text-decoration:none!important}.leader-name-cell img{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;border-radius:50%!important;object-fit:cover!important;margin:0!important}.leader-name-cell b{display:block!important;max-width:145px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;line-height:1.15!important}.leader-name-cell small{display:block!important;font-size:8.5px!important;line-height:1.15!important;opacity:.65!important;max-width:145px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.rank-box{width:26px!important;height:26px!important;min-width:26px!important;border-radius:9px!important;font-size:11px!important}.score-chip{min-width:40px!important;padding:5px 7px!important;border-radius:999px!important;font-size:11px!important}.leaderboard-tabs{display:flex!important;overflow-x:auto!important;white-space:nowrap!important;gap:6px!important;padding-bottom:4px!important;-webkit-overflow-scrolling:touch!important}.leaderboard-tabs a{flex:0 0 auto!important;font-size:11px!important;padding:8px 10px!important;border-radius:999px!important}.leaderboard-hero-head{align-items:flex-start!important;gap:8px!important}.leaderboard-hero-head h2{font-size:18px!important;line-height:1.15!important}.leaderboard-mode-badge{font-size:10px!important;padding:6px 8px!important}}
/* Home: no empty placeholder boxes, stable slider rows. */
.home-conditional-v33:empty{display:none!important}.scroll-row[data-auto-scroll]{scroll-behavior:auto!important;will-change:scroll-position;overscroll-behavior-x:contain}.scroll-row[data-auto-scroll] .loop-card{flex:0 0 auto}.empty:only-child{min-width:260px}
/* keep compact player directory from becoming huge if old CSS mixes in */
@media(max-width:760px){.players-grid-v32{grid-template-columns:repeat(2,minmax(0,1fr))!important}.player-photo-wrap-v32{height:88px!important}.player-tile-v32{padding:8px!important}}
[data-theme="light"] .bmc-ai-panel-v33{background:rgba(255,255,255,.96)!important;color:#111827!important;border-color:rgba(16,24,40,.12)!important}[data-theme="light"] .bmc-ai-panel-v33 .ai-input{background:rgba(255,255,255,.92)!important}[data-theme="light"] .bmc-ai-panel-v33 .ai-input textarea{background:#fff!important;color:#111827!important;border-color:rgba(47,58,78,.18)!important}[data-theme="light"] .leaderboard-table-card::before{color:rgba(16,24,40,.68);background:rgba(16,24,40,.05);border-color:rgba(16,24,40,.08)}[data-theme="light"] .leaderboard-table tr:not(:first-child){background:rgba(16,24,40,.045)!important}
