#arenaMenuTrigger{display:none}#arenaMobileMenu{display:none}
@media(max-width:720px){
 body>header.has-immersive-menu{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}
 body>header.has-immersive-menu>#account,body>header.has-immersive-menu>nav,body>header.has-immersive-menu>.header-status{display:none!important}
 #arenaMenuTrigger:not([hidden]){display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid #7c9da9;border-radius:12px;background:transparent;color:var(--ink,#123547);font:inherit;font-weight:700;margin-left:auto}
 #arenaMobileMenu[open]{display:block;position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:white;box-shadow:none;overflow:hidden}
 #arenaMobileMenu::backdrop{background:#073d4a99;backdrop-filter:none}
 #arenaMobileMenu .immersive-panel{box-sizing:border-box;display:flex;flex-direction:column;width:77%;height:100%;overflow-y:auto;overscroll-behavior:contain;padding: max(22px,env(safe-area-inset-top)) 16px max(22px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at bottom,#176b7a,#063747);color:#fff}
 .immersive-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.immersive-head>strong{font-size:17px}
 #arenaMobileMenu button{font:inherit;box-shadow:none;cursor:pointer;color:inherit}
 #arenaMobileMenu .immersive-close{padding:9px;min-height:44px;font-size:13px;border:1px solid #ffffff40;border-radius:12px;background:#ffffff12;white-space:nowrap}
 .immersive-profile{display:flex;align-items:center;gap:12px;margin:24px 0}.immersive-profile>div{min-width:0}.immersive-name{display:block;overflow-wrap:anywhere;font-size:16px}.immersive-profile small{display:block;font-size:12px;opacity:.72;margin-top:5px}
 .immersive-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#d2e7ed;color:#143c49;font-weight:700}
 #arenaMobileMenu .immersive-links{display:flex!important;position:static!important;flex-direction:column;gap:7px;padding:0;margin:0;width:100%;background:none;border:0}
 #arenaMobileMenu .immersive-links button{display:flex;align-items:center;gap:14px;text-align:left;padding:12px 8px;min-height:48px;background:transparent;border:1px solid transparent;border-radius:12px;font-size:15px;width:100%;white-space:normal}
 #arenaMobileMenu svg{width:23px;height:23px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 #arenaMobileMenu .immersive-links .immersive-new{background:#c1e5df;color:#103b47;font-weight:700}
 #arenaMobileMenu .immersive-links .immersive-exit{margin-top:12px;border-top:1px solid #91aebc55;border-radius:0}
 #arenaMobileMenu button:hover{background:#ffffff18}#arenaMobileMenu button:focus-visible{outline:3px solid #e3be60;outline-offset:2px}
 .immersive-count{margin-left:auto;background:#c1e5df;color:#103b47;padding:2px 6px;border-radius:20px}.immersive-footer{margin-top:auto;padding-top:24px;font-size:12px;line-height:1.6;opacity:.7}
 body.immersive-open{overflow:hidden}body.immersive-open>header,body.immersive-open>main,body.immersive-open>footer,body.immersive-open>#syncWarning{transform:translateX(77vw) scale(.87);transform-origin:left top;border-radius:24px;pointer-events:none}
}
@media print{#arenaMenuTrigger,#arenaMobileMenu{display:none!important}}

@media(max-width:720px){#arenaMobileMenu[open]{backdrop-filter:none;-webkit-backdrop-filter:none}#arenaMobileMenu .immersive-footer{color:#fff}}

.mobile-ap-logo{display:none}
@media(max-width:720px){
header.has-immersive-menu .brand-link>img:not(.mobile-ap-logo){display:none!important}
header.has-immersive-menu .brand-link>.mobile-ap-logo{display:block!important;width:60px!important;height:40px!important;object-fit:contain}
body:has(header.has-immersive-menu)>.site-footer{display:none!important}
#arenaMobileMenu .immersive-head{justify-content:flex-end}
#arenaMobileMenu .immersive-close{border:0;background:transparent;outline:none}
#arenaMobileMenu .immersive-close:focus-visible{outline:2px solid #c5eaff;outline-offset:2px}
.immersive-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#arenaMobileMenu .immersive-utilities{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:16px;border-top:1px solid #ffffff30}
#arenaMobileMenu .immersive-utilities button,#arenaMobileMenu .immersive-utilities a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px;font-size:14px;color:#d9efff;background:transparent;border:0;border-radius:8px;text-decoration:none}
#arenaMobileMenu .immersive-footer{text-align:center;padding-top:22px;margin-top:0;opacity:1}
#arenaMobileMenu .immersive-footer img{width:78px;height:120px;object-fit:contain;filter:brightness(0) invert(1);opacity:.8}
html[data-theme=dark] #arenaMenuTrigger{color:#d9efff!important;border-color:#b9dcf0!important}
html[data-theme=dark] header.has-immersive-menu .mobile-ap-logo{filter:brightness(0) invert(1)}
html[data-theme=dark] #arenaMobileMenu[open]{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
html[data-theme=dark] #arenaMobileMenu :is(button,a,strong,small){color:#d9efff!important}
html[data-theme=dark] #arenaMobileMenu .immersive-links .immersive-new{background:#c1e5df!important;color:#103b47!important}
html[data-theme=dark] :is(.ranking-heading,.medal-progress,.medal-how,.score-head,.player-link-state,a){color:#c5e5ff!important}
}

@media(max-width:720px){
#arenaMobileMenu .immersive-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:22px}
#arenaMobileMenu .immersive-head .immersive-profile{margin:0;flex:1;min-width:0;gap:10px}
#arenaMobileMenu .immersive-head .immersive-avatar{width:38px;height:38px}
#arenaMobileMenu .immersive-head .immersive-name{font-size:15px;line-height:1.3}
#arenaMobileMenu .immersive-close{font-size:29px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;width:44px;height:44px;flex:none}
#arenaMobileMenu .immersive-links .immersive-exit{display:flex;align-items:center;min-height:48px;padding:12px 8px;gap:14px;line-height:24px}
#arenaMobileMenu .immersive-exit svg{display:block;align-self:center;margin:0;vertical-align:middle}
#arenaMobileMenu .immersive-exit span{display:block;line-height:24px;margin:0}
}
