/* PokéLocke v16.20 — calm, unified trainer controls. */
.pl1596-topbar .v149-account-cluster{position:relative!important;min-width:0!important;padding:4px!important;display:flex!important;align-items:center!important;gap:3px!important;overflow:hidden!important;border:1px solid rgba(190,235,255,.3)!important;border-radius:19px!important;background:linear-gradient(180deg,rgba(4,55,98,.28),rgba(3,43,78,.18))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 22px rgba(1,28,52,.1)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
.pl1596-topbar .v149-account-cluster::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,rgba(255,255,255,.07),transparent 42%)}
.pl1596-topbar .v11-account-link.pl1596-profile,.pl1596-topbar .v149-profile-link{position:relative!important;z-index:1!important;box-sizing:border-box!important;width:158px!important;min-width:158px!important;height:46px!important;min-height:46px!important;padding:4px 9px 4px 5px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 20px!important;align-items:center!important;column-gap:8px!important;overflow:hidden!important;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;color:#fff!important;text-decoration:none!important;transform:none!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important}
.pl1596-topbar .v11-account-link.pl1596-profile::before,.pl1596-topbar .v11-account-link.pl1596-profile::after,.pl1596-topbar .v149-profile-link::before,.pl1596-topbar .v149-profile-link::after{content:none!important;display:none!important}
.pl1596-topbar .v11-account-link.pl1596-profile:hover,.pl1596-topbar .v149-profile-link:hover{background:rgba(255,255,255,.11)!important;border-color:rgba(203,241,255,.2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;filter:none!important;transform:none!important}
.pl1596-topbar .v11-account-link.pl1596-profile.is-active,.pl1596-topbar .v149-profile-link.is-active{border-color:rgba(255,221,79,.34)!important;background:linear-gradient(180deg,rgba(255,219,70,.16),rgba(255,196,30,.08))!important;box-shadow:inset 3px 0 0 #ffdc48!important}
.pl1596-topbar .pl1597-profile-avatar,.pl1596-topbar .v149-nav-user-icon.pl1597-profile-avatar{position:relative!important;z-index:1!important;box-sizing:border-box!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(205,242,255,.74)!important;border-radius:11px!important;background:linear-gradient(145deg,#f7fdff,#a7e6ff)!important;box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(2,38,67,.15)!important}
.pl1596-topbar .pl1597-profile-avatar::after{content:"";position:absolute;right:-3px;bottom:-3px;width:9px;height:9px;border:2px solid #0a619f;border-radius:50%;background:#35d38c;box-shadow:0 0 0 2px rgba(53,211,140,.15)}
.pl1596-topbar .pl1597-profile-avatar img,.pl1596-topbar .v149-nav-user-icon.pl1597-profile-avatar img{width:19px!important;height:19px!important;opacity:.94!important;filter:brightness(0) saturate(100%) invert(25%) sepia(32%) saturate(1819%) hue-rotate(164deg) brightness(84%) contrast(95%)!important}
.pl1596-topbar .pl1597-profile-copy{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;line-height:1!important}
.pl1596-topbar .pl1597-profile-copy b{max-width:100%!important;overflow:hidden!important;color:#fff!important;font-size:12.5px!important;font-weight:950!important;line-height:1.1!important;letter-spacing:-.01em!important;text-overflow:ellipsis!important;text-shadow:none!important;white-space:nowrap!important}
.pl1596-topbar .pl1597-profile-copy small{margin:0!important;color:#9fddf7!important;font-size:6.5px!important;font-weight:950!important;line-height:1!important;letter-spacing:.16em!important;opacity:1!important}
.pl1596-topbar .pl1597-profile-chevron{width:20px!important;height:26px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:#c9efff!important;font-size:19px!important;font-weight:700!important;line-height:1!important;text-shadow:none!important}
.pl1596-topbar .v149-session-actions{position:relative!important;z-index:1!important;padding-left:4px!important;display:flex!important;align-items:center!important;gap:2px!important;border-left:1px solid rgba(203,239,255,.14)!important}
.pl1596-topbar .v149-nav-action{box-sizing:border-box!important;min-width:68px!important;height:46px!important;min-height:46px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;box-shadow:none!important;color:#d8f2ff!important;font-size:10px!important;font-weight:900!important;text-decoration:none!important;cursor:pointer!important;transition:background .16s ease,border-color .16s ease,color .16s ease!important}
.pl1596-topbar .v149-nav-action>span{width:17px!important;height:17px!important;display:block!important;flex:0 0 17px!important;overflow:hidden!important;background:currentColor!important;color:transparent!important;font-size:0!important}
.pl1596-topbar .v149-nav-action.is-admin,.pl1596-topbar .v149-nav-action.is-logout{background:transparent!important;box-shadow:none!important}
.pl1596-topbar .v149-nav-action.is-admin{color:#ffe178!important;border-color:transparent!important}
.pl1596-topbar .v149-nav-action.is-admin>span{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 20 5v6c0 5.1-3.4 9.7-8 11-4.6-1.3-8-5.9-8-11V5l8-3Zm0 3.1L7 7v4c0 3.5 2 6.8 5 8 3-1.2 5-4.5 5-8V7l-5-1.9Zm-1 3h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 20 5v6c0 5.1-3.4 9.7-8 11-4.6-1.3-8-5.9-8-11V5l8-3Zm0 3.1L7 7v4c0 3.5 2 6.8 5 8 3-1.2 5-4.5 5-8V7l-5-1.9Zm-1 3h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z'/%3E%3C/svg%3E") center/contain no-repeat}
.pl1596-topbar .v149-nav-action.is-admin:hover,.pl1596-topbar .v149-nav-action.is-admin.is-active{border-color:rgba(255,224,112,.22)!important;background:rgba(255,211,65,.11)!important;color:#ffec9e!important;filter:none!important;transform:none!important}
.pl1596-topbar .v149-nav-action.is-logout{color:#cae8f6!important;border-color:transparent!important}
.pl1596-topbar .v149-nav-action.is-logout>span{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h9v2H6v14h7v2H4V3Zm11.6 4.6L21 13l-5.4 5.4-1.4-1.4 3-3H9v-2h8.2l-3-3 1.4-1.4Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h9v2H6v14h7v2H4V3Zm11.6 4.6L21 13l-5.4 5.4-1.4-1.4 3-3H9v-2h8.2l-3-3 1.4-1.4Z'/%3E%3C/svg%3E") center/contain no-repeat}
.pl1596-topbar .v149-nav-action.is-logout:hover{border-color:rgba(255,144,158,.24)!important;background:rgba(239,66,82,.13)!important;color:#ffc0c7!important;filter:none!important;transform:none!important}
.pl1596-topbar .v149-nav-action:focus-visible,.pl1596-topbar .v149-profile-link:focus-visible{outline:2px solid #ffdc48!important;outline-offset:2px!important}
.pl1596-topbar .v149-nav-action.is-busy{opacity:.62!important;pointer-events:none!important}
@media(max-width:900px){.pl1596-topbar .v149-account-cluster{width:min(100%,430px)!important;justify-content:stretch!important}.pl1596-topbar .v11-account-link.pl1596-profile,.pl1596-topbar .v149-profile-link{flex:1 1 auto!important;width:auto!important;min-width:125px!important;max-width:none!important;height:44px!important;min-height:44px!important;grid-template-columns:34px minmax(0,1fr) 18px!important}.pl1596-topbar .pl1597-profile-avatar,.pl1596-topbar .v149-nav-user-icon.pl1597-profile-avatar{width:34px!important;min-width:34px!important;height:34px!important}.pl1596-topbar .v149-nav-action{height:44px!important;min-height:44px!important}}
@media(max-width:430px){.pl1596-topbar .v149-account-cluster{width:100%!important;padding:3px!important;border-radius:16px!important}.pl1596-topbar .v149-session-actions{gap:1px!important;padding-left:3px!important}.pl1596-topbar .v149-nav-action{width:42px!important;min-width:42px!important;padding:0!important}.pl1596-topbar .v149-nav-action b{display:none!important}.pl1596-topbar .v11-account-link.pl1596-profile,.pl1596-topbar .v149-profile-link{padding-right:6px!important}.pl1596-topbar .pl1597-profile-copy b{font-size:11px!important;max-width:96px!important}.pl1596-topbar .pl1597-profile-copy small{font-size:5.8px!important}}
@media(max-width:350px){.pl1596-topbar .pl1597-profile-chevron{display:none!important}.pl1596-topbar .v11-account-link.pl1596-profile,.pl1596-topbar .v149-profile-link{grid-template-columns:32px minmax(0,1fr)!important;column-gap:6px!important}}

/* Final layer: neutralize older page-specific button skins with higher specificity. */
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster{padding:4px!important;gap:3px!important;border:1px solid rgba(190,235,255,.3)!important;border-radius:19px!important;background:linear-gradient(180deg,rgba(4,55,98,.28),rgba(3,43,78,.18))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 22px rgba(1,28,52,.1)!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-profile-link{width:158px!important;min-width:158px!important;height:46px!important;min-height:46px!important;padding:4px 9px 4px 5px!important;grid-template-columns:36px minmax(0,1fr) 20px!important;column-gap:8px!important;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-profile-link:hover{border-color:rgba(203,241,255,.2)!important;background:rgba(255,255,255,.11)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-profile-link.is-active{border-color:rgba(255,221,79,.34)!important;background:linear-gradient(180deg,rgba(255,219,70,.16),rgba(255,196,30,.08))!important;box-shadow:inset 3px 0 0 #ffdc48!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .pl1597-profile-avatar{width:36px!important;min-width:36px!important;height:36px!important;border:1px solid rgba(205,242,255,.74)!important;border-radius:11px!important;background:linear-gradient(145deg,#f7fdff,#a7e6ff)!important;box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(2,38,67,.15)!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .pl1597-profile-avatar img{width:19px!important;height:19px!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .pl1597-profile-chevron{width:20px!important;height:26px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-session-actions{padding-left:4px!important;gap:2px!important;border-left:1px solid rgba(203,239,255,.14)!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action{min-width:68px!important;width:auto!important;height:46px!important;min-height:46px!important;padding:0 10px!important;border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action.is-admin{border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:#ffe178!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action.is-admin:hover,html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action.is-admin.is-active{border-color:rgba(255,224,112,.22)!important;background:rgba(255,211,65,.11)!important;color:#ffec9e!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action.is-logout{border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:#cae8f6!important}
html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action.is-logout:hover{border-color:rgba(255,144,158,.24)!important;background:rgba(239,66,82,.13)!important;color:#ffc0c7!important}
@media(max-width:900px){html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-profile-link{flex:1 1 auto!important;width:auto!important;min-width:125px!important;max-width:none!important;height:44px!important;min-height:44px!important;grid-template-columns:34px minmax(0,1fr) 18px!important}html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .pl1597-profile-avatar{width:34px!important;min-width:34px!important;height:34px!important}html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action{height:44px!important;min-height:44px!important}}
@media(max-width:430px){html body .pl1596-topbar .pl1596-account-slot .v149-account-cluster .v149-nav-action{width:42px!important;min-width:42px!important;padding:0!important}}
