.arena-menu-toggle{display:none}.arena-menu-open{overflow:hidden!important}
#arenaMenu{position:fixed!important;inset:0 0 0 auto!important;margin:0!important;width:min(370px,92vw)!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border:0!important;border-radius:24px 0 0 24px!important;padding:22px 22px calc(25px + env(safe-area-inset-bottom))!important;background:#fffaf5!important;color:#1c293c!important;box-shadow:-12px 0 55px #14213130!important;overflow-y:auto!important;font:14px/1.5 system-ui!important}
#arenaMenu::backdrop{background:#10203588;backdrop-filter:blur(4px)}#arenaMenu .arena-menu-head{display:flex;align-items:center;gap:15px;margin-bottom:24px}#arenaMenu .arena-menu-close{margin-left:auto;width:42px;height:42px;border:1px solid #e7dac7;border-radius:13px;background:#f2e7d6;color:#1c293c;font-size:25px;cursor:pointer}#arenaMenu nav{display:flex;flex-direction:column;gap:4px;padding:0;margin:0;position:static;min-height:0}#arenaMenu nav small{font-size:10px;letter-spacing:1.7px;color:#997341;margin:17px 10px 8px}#arenaMenu nav a{display:flex;align-items:center;gap:14px;padding:12px 13px;min-height:46px;border-radius:12px;text-decoration:none;color:#273345;font:600 13px/1.4 system-ui}#arenaMenu nav a>span:last-child{margin:0;color:inherit}#arenaMenu nav a svg{width:22px;height:22px;flex:none;color:#a27b45}#arenaMenu nav a:hover,#arenaMenu nav a[aria-current]{background:#f0e3cf}#arenaBottomNav{display:none}
@media(max-width:767px){
 .arena-menu-toggle{display:inline-grid!important;place-items:center;width:42px;height:42px;min-width:42px;padding:9px!important;background:#f6eddf!important;border:1px solid #e8d9c3!important;border-radius:12px!important;cursor:pointer;flex:none}.arena-menu-toggle svg{width:23px;height:23px;fill:none;stroke:#273345;stroke-width:1.8}
 body>header:not(.topbar){gap:12px}body>header>.arena-menu-toggle{margin-left:auto}body>header nav>.arena-menu-toggle{margin-left:0}
 body.aa-member{overflow-x:clip!important}.aa-member .app{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;border-radius:0!important}.aa-member .app>.sidebar{display:none!important}
 .aa-member .app>main{width:100%!important;min-width:0!important;margin:0!important;padding:12px 12px calc(96px + env(safe-area-inset-bottom))!important}
 .aa-member .app>main>.grid{display:block!important;min-width:0!important}.aa-member .maincol,.aa-member .rightcol{width:100%!important;min-width:0!important;max-width:100%!important}.aa-member .rightcol{margin-top:18px}
 .aa-member .topbar{position:relative!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;padding:12px!important;margin-bottom:14px!important;width:100%!important;height:auto!important}.aa-member .topbar>.search{flex:1 1 100%!important;min-width:0!important;order:2;margin:0!important}.aa-member .topbar .profile{margin-left:auto!important;min-width:0!important}.aa-member .topbar .balance{white-space:nowrap}.aa-member .topbar .arena-menu-toggle{order:1}.aa-member .mobile-mode-badge{position:static!important;width:auto!important;margin:0!important;flex:1}
 #arenaBottomNav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:2px!important;padding:8px 5px calc(8px + env(safe-area-inset-bottom))!important;background:#fffaf5f5!important;backdrop-filter:blur(16px);border-top:1px solid #e5d7c1;box-shadow:0 -5px 24px #3025140b;z-index:12500!important;box-sizing:border-box}
 #arenaBottomNav button{min-width:0!important;min-height:49px!important;margin:0!important;padding:6px 0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent!important;border:0!important;border-radius:11px!important;color:#827565!important;font:600 9px/1.15 system-ui!important;letter-spacing:0!important;cursor:pointer}#arenaBottomNav button span{font:inherit!important;white-space:nowrap}#arenaBottomNav button svg{width:21px;height:21px;flex:none}#arenaBottomNav button.active{background:#efe1c9!important;color:#936b35!important}
 body:has(#authGate:not(.auth-hidden)) #arenaBottomNav,body:has(#gameModal.open) #arenaBottomNav{display:none!important}
 .aa-member .aa-welcome{grid-template-columns:1fr!important;min-height:0!important;border-radius:22px!important}.aa-member .aa-welcome-copy{padding:26px 22px 10px!important}.aa-member .aa-welcome-art{height:235px!important}.aa-member .aa-welcome-art>img{height:100%!important;right:0!important}.aa-member .aa-float-one{top:auto!important;bottom:8px!important;right:12px!important}.aa-member .aa-float-two{left:12px!important;bottom:8px!important}.aa-member .aa-explore{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.aa-member .aa-category{min-width:0!important;padding:17px 13px!important}.aa-member .aa-category-link{font-size:10px!important}.aa-member .aa-section-heading{flex-wrap:wrap!important;gap:12px!important}.aa-member .aa-surveys{padding:20px 16px!important;scroll-margin-top:15px}.aa-member .aa-survey-empty{flex-wrap:wrap!important}
 .aa-member :is(#gamesPage,#tasksPage,#rankingPage,#rafflePage){inset:0!important;width:100%!important;max-width:100vw!important;min-width:0!important;height:100dvh!important;overflow:auto!important;padding:16px 12px calc(98px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
 .aa-member :is(#profileDropdown,.utility-sheet){max-width:calc(100vw - 16px)!important;left:8px!important;right:8px!important;width:auto!important;bottom:calc(80px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 130px)!important;overflow-y:auto!important}
 .aa-member :is(.games-catalog-grid,.tasks-page-grid,.campaign-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.aa-member .campaign-grid{grid-template-columns:1fr!important}
}

@media(max-width:767px){.aa-member .arena-page-menu{position:sticky;top:0;z-index:2;margin:0 0 10px auto;display:grid!important}.aa-member .np-page{overscroll-behavior:contain}}

/* Mobile Safari: keep focused fields at readable size to avoid automatic page zoom. */
@media(max-width:767px){
 html:has(body.aa-member){width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body.aa-member{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important}
 body.aa-member input,body.aa-member select,body.aa-member textarea{font-size:16px!important;max-width:100%;min-width:0}
 .aa-member .aa-explore{width:100%!important;max-width:100%!important;min-width:0!important}
 .aa-member .aa-category{width:100%!important;max-width:100%!important;min-width:0!important;overflow-wrap:anywhere;white-space:normal!important}
 .aa-member .aa-category>*{max-width:100%;min-width:0;white-space:normal!important}
 .aa-member .aa-category small{font-size:12px!important}
 .aa-member .aa-welcome-art>img{width:100%!important;max-width:100%!important}
 #arenaBottomNav{inline-size:100%!important;min-inline-size:0!important;max-inline-size:100%!important;transform:none!important}
}

/* Member home header and shared navigation drawer. */
[data-home-retired][hidden]{display:none!important}
.member-header-logo{display:none}
#arenaMenu{box-sizing:border-box!important;width:min(344px,90vw)!important;overscroll-behavior:contain;padding:14px 14px calc(18px + env(safe-area-inset-bottom))!important}
#arenaMenu .arena-menu-head{position:sticky;top:-14px;z-index:1;background:#fffaf5;padding:9px 4px 12px;border-bottom:1px solid #e5dccf;margin:0 0 8px;gap:11px}
#arenaMenu .arena-menu-head img{width:42px;height:30px;object-fit:contain}
#arenaMenu nav{display:flex!important;position:static!important;align-items:stretch!important;max-width:none!important;gap:2px}
#arenaMenu nav a{box-sizing:border-box!important;justify-content:flex-start!important;text-align:start!important;min-height:44px;gap:12px;padding:10px 12px}
#arenaMenu nav small{margin:12px 12px 4px}
#arenaMenu nav a[aria-current="page"]{background:#f2e5cf;color:#553e20}
#arenaMenu .arena-menu-close:focus:not(:focus-visible){outline:none}
@media(max-width:767px){
 html body.aa-member .app main header.topbar{height:auto!important;min-height:56px!important;padding:7px 10px!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center!important;border:1px solid #e6dfd2!important;border-radius:14px!important;background:#fffaf3!important;box-shadow:none!important}
 .aa-member .member-header-logo{display:flex;align-items:center;flex:1 1 auto;min-width:0}
 .aa-member .member-header-logo img{display:block;width:47px;height:30px;object-fit:contain}
 html body.aa-member .topbar>.user{flex:0 1 auto!important;min-width:0;margin:0!important}
 html body.aa-member .topbar>.arena-menu-toggle{margin:0!important}
}
