.brand img{object-fit:contain;width:42px;height:42px}.brand span{letter-spacing:.1em}.nav-label{min-width:0}.rail nav button,.rail-footer>button{min-height:36px;padding-top:7px;padding-bottom:7px}.rail-footer{padding-top:8px}.role-badges{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%;vertical-align:middle}.role-badge{display:inline-flex;max-width:100%;align-items:center;overflow-wrap:anywhere}.role-badge img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.role-badge>span{font-size:11px;padding:4px 7px;border:1px solid var(--accent);border-radius:4px}.role-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.role-checks label{overflow-wrap:anywhere}.community-card,.trophy-badge,.earned-badge-count,.badge-choice,.trainer-card,.catch-row{min-width:0;overflow-wrap:anywhere}.trophy-badge{white-space:normal!important;line-height:1.5;max-width:100%;height:auto!important}.earned-badge-count span{white-space:normal}.profile-section-collapse>summary{font-weight:700;font-size:1.12em;cursor:pointer;margin-bottom:14px;line-height:1.6;list-style-position:outside;margin-left:14px}.profile-section-collapse:not([open])>summary{margin-bottom:0}.profile-section-collapse>summary::marker{color:var(--accent)}.community-card{margin-block:18px}.profile-heading{gap:20px;padding-block:12px 20px}.current-team{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px}.current-team article{display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center}.current-team article>img{object-fit:contain}.current-team small{display:block}.team-editor{width:620px}.team-editor select{width:100%}.profile-gym-badge-counts,.pinned-trophies{gap:12px}.two-factor-setup{margin-top:16px}.two-factor-setup input[readonly],.recovery-codes{font-family:monospace;overflow-wrap:anywhere;user-select:all}.recovery-codes{line-height:1.8;background:var(--panel,#152130);padding:16px;border:1px solid var(--accent);white-space:pre-wrap}.approved-forum-image{display:block;width:auto;max-width:100%;max-height:520px;object-fit:contain;margin-block:14px}.pending-image-note{display:block;padding:12px;border:1px dashed var(--line);color:var(--muted)}.inline-reference-results{max-height:280px;overflow:auto;border:1px solid var(--accent);padding:8px;background:var(--panel,#172232)}.inline-reference-results>button{display:block;width:100%;text-align:left;white-space:normal;margin-block:5px}.forum-upload-label{display:inline-block;cursor:pointer}.approval-image-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.approval-image img{width:100%;height:200px;object-fit:contain}.forum-author{flex-wrap:wrap}.forum-body{overflow-wrap:anywhere}.forum-message{animation:forge-enter .18s ease-out}.mobile-more{display:none}.mobile-page-picker{display:none!important}button,a.button{transition:filter .14s,transform .14s}button:hover,a.button:hover{filter:brightness(1.1)}button:active,a.button:active{transform:translateY(1px)}@keyframes forge-enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:761px){html[data-navigation=icons] .rail{width:86px;padding-inline:12px}html[data-navigation=icons] main{margin-left:86px}html[data-navigation=icons] .rail .nav-label,html[data-navigation=icons] .rail .nav-heading,html[data-navigation=icons] .rail .brand span,html[data-navigation=icons] .rail>small,html[data-navigation=icons] .rail-bottom{display:none}html[data-navigation=icons] .rail [data-tab]{justify-content:center;position:relative;min-height:42px}html[data-navigation=icons] .rail .nav-art-icon{width:29px;height:29px;margin:0}html[data-navigation=icons] .rail .brand{justify-content:center}html[data-navigation=icons] #logout{font-size:10px;overflow-wrap:anywhere}html[data-navigation=icons] .rail nav{overflow-x:hidden}}
html[data-pixel-borders=false] .community-card,html[data-pixel-borders=false] .card,html[data-pixel-borders=false] .pokemon-card,html[data-pixel-borders=false] button,html[data-pixel-borders=false] .button,html[data-pixel-borders=false] input,html[data-pixel-borders=false] select,html[data-pixel-borders=false] textarea,html[data-pixel-borders=false] details{border-image:none!important;background-image:none!important;border:1px solid var(--line,#35445c)!important;border-radius:8px!important;box-shadow:none!important}html[data-pixel-borders=false] .community-card::before,html[data-pixel-borders=false] .pokemon-card::before,html[data-pixel-borders=false] .nav-group::before,html[data-pixel-borders=false] .nav-group::after{display:none!important}html[data-pixel-borders=false] .pokemon-card{padding:12px!important}
@media(max-width:760px){.mobile-page-picker{display:block!important;width:100%;margin-block:8px 16px}.mobile-page-picker>summary{padding:12px;cursor:pointer;font-weight:700;display:list-item!important}.mobile-page-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}.mobile-page-buttons button{display:flex;align-items:center;gap:7px;text-align:left;white-space:normal!important;min-height:44px;padding:9px;font-size:12px;line-height:1.5}.mobile-page-buttons img{width:25px;height:25px;object-fit:contain}.mobile-page-buttons .active{outline:2px solid var(--accent)}.mobile-page-picker .install-app{margin-top:12px}.mobile-list-extra{display:none!important}.mobile-more{display:inline-flex;margin-block:8px;min-height:40px}.role-badge img{width:48px;height:48px}.role-badges{gap:4px}.role-checks{grid-template-columns:1fr}.current-team{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-heading{align-items:flex-start;gap:12px}.profile-heading>div{min-width:0}.profile-heading h2{line-height:1.7;font-size:18px}.community-card{padding:16px!important}.community-metrics .metric{overflow-wrap:anywhere}h1,h2,h3,h4,p,label,.badge,.progress-badge{overflow-wrap:anywhere;max-width:100%}.trophy-badge{font-size:11px!important;padding:8px!important}.trophy-badge img{flex-shrink:0}.forum-author .role-badges{width:100%}.forum-author time{font-size:11px}.team-editor{max-width:calc(100vw - 20px)}.profile-gym-badge-counts{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.earned-badge-count{font-size:11px}.profile-section-collapse>summary{font-size:14px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.home-section-collapse>summary{font-weight:700;font-size:1.12em;cursor:pointer;margin-bottom:14px;line-height:1.6}.home-section-collapse:not([open])>summary{margin-bottom:0}html[data-pixel-borders=false] .community-card>details{border:0!important;padding:0!important}html[data-pixel-borders=false] .pokemon-name-link,html[data-pixel-borders=false] .forum-species-link{border:0!important;background:none!important;padding:0!important}.mobile-page-buttons .mobile-more{grid-column:1 / -1;justify-content:center}
.brand{display:flex;align-items:center;text-decoration:none;color:inherit;gap:10px;min-height:88px}.brand img{width:76px;height:76px;flex-shrink:0}.brand:hover{filter:brightness(1.12)}
#logout{flex-shrink:0;min-height:44px!important;min-width:68px!important;white-space:normal;line-height:1.5!important;padding:9px 12px!important;font-size:12px!important;overflow-wrap:normal!important}.rail-footer{flex-shrink:0}.admin-subpage-link{display:none!important}
.profile-heading{display:grid!important;grid-template-columns:104px minmax(200px,1fr) 150px minmax(260px,1.3fr);align-items:center!important;padding:24px!important;gap:24px!important}.profile-heading>.avatar{width:100px;height:100px}.profile-favourite{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center}.profile-favourite>img{width:112px;height:112px;object-fit:contain;border-radius:50%}.profile-favourite button{font-size:11px!important;white-space:normal!important}
.profile-heading>.profile-trophy-showcase{margin:0!important;padding:16px!important;align-self:stretch;display:flex;flex-direction:column;justify-content:center;overflow:visible}.profile-trophy-showcase h2{font-size:13px}.profile-trophy-showcase>p{font-size:11px}.profile-trophy-showcase .pinned-trophies{display:flex;flex-wrap:wrap;gap:8px}.trophy-icon-only{position:relative;padding:5px!important;width:58px!important;height:58px!important;min-width:0!important;display:inline-flex;justify-content:center;align-items:center;background:none!important;border:0!important;border-image:none!important}.trophy-icon-only>b{display:none}.trophy-icon-only img{width:48px;height:48px;object-fit:contain}.trophy-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:25;background:var(--panel,#142030);border:1px solid var(--accent);padding:9px;min-width:150px;max-width:240px;white-space:normal;font-size:12px;line-height:1.5;pointer-events:none}.trophy-icon-only:is(:hover,:focus-visible) .trophy-tooltip{display:block}
.authenticator-qr{display:block;max-width:100%;width:256px;height:auto;padding:0;background:white;image-rendering:pixelated;border:8px solid white;margin:16px 0;filter:none!important}.settings-summary{cursor:pointer;font-weight:bold;line-height:1.7;padding-block:8px}.settings-summary img{width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:9px}.art-close{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;min-width:40px!important;min-height:40px!important;padding:5px!important}.art-close img{width:26px;height:26px;object-fit:contain;filter:none!important}.search-pokemon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.search-pokemon-grid>div{display:flex;align-items:center;gap:8px}.forum-original-post{margin-block:20px 28px}.forum-original-post .forum-body{margin-top:18px}
@media(max-width:1100px){.profile-heading{grid-template-columns:96px minmax(160px,1fr) 130px}.profile-heading>.profile-trophy-showcase{grid-column:1/-1}.profile-heading .pinned-trophies{justify-content:center}}@media(max-width:760px){.profile-heading{grid-template-columns:80px minmax(0,1fr)!important;gap:14px!important;padding:16px!important}.profile-heading>.avatar{width:76px;height:76px}.profile-heading>.profile-favourite{grid-column:1/-1;flex-direction:row}.profile-favourite>img{width:88px;height:88px}.profile-heading>.profile-trophy-showcase{grid-column:1/-1}.profile-trophy-showcase .mobile-more{display:none}.profile-trophy-showcase .mobile-list-extra{display:inline-flex!important}.brand{min-height:72px}.brand img{width:64px;height:64px}.settings-summary{font-size:14px}.profile-heading .role-badge img{width:44px;height:44px}}

.profile-heading .role-badge img{width:48px;height:48px}.profile-heading .role-badges{display:flex;margin-top:8px}.profile-heading h2{margin-block:0 12px}.trophy-icon-only{box-shadow:none!important;background-color:transparent!important}.trophy-icon-only::before,.trophy-icon-only::after{display:none!important}
.profile-heading{grid-template-columns:96px 112px minmax(180px,.85fr) minmax(0,1.5fr)!important;grid-template-areas:'avatar favourite identity trophies';gap:18px!important;align-items:center!important}.profile-heading>img{grid-area:avatar}.profile-heading>div{grid-area:identity}.profile-heading>.profile-favourite{grid-area:favourite;min-width:0}.profile-heading>.profile-trophy-showcase{grid-area:trophies;min-width:0;max-width:100%;align-self:center;padding:14px!important}.profile-trophy-showcase .pinned-trophies{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;min-width:0;width:100%}.profile-trophy-showcase .trophy-badge{flex:0 0 56px!important;width:56px!important;max-width:56px!important;min-width:56px!important;height:56px!important;margin:0!important}.profile-trophy-showcase .trophy-badge[hidden]{display:none!important}.profile-trophy-showcase .trophy-badge>b,.trophy-tooltip{display:none!important}.profile-trophy-showcase .trophy-badge img{width:46px;height:46px;object-fit:contain}.profile-trophy-showcase .profile-section-collapse>summary{font-size:13px;margin-bottom:10px}.profile-trophy-showcase .profile-section-collapse>p{font-size:11px;line-height:1.6}.trophy-expand{margin-top:12px;font-size:11px!important;max-width:100%;white-space:normal!important}.trophy-expand[hidden]{display:none!important}.expand-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:normal!important}.expand-toggle::after{content:'';display:block;flex:0 0 20px;width:20px;height:20px;background:url('/assets/ui/dropdown-arrow.png') center center/90px 90px no-repeat;image-rendering:pixelated;transition:transform .15s}.expand-toggle[aria-expanded=true]::after{transform:rotate(180deg)}
@media(max-width:1100px){.profile-heading{grid-template-columns:88px 104px minmax(0,1fr)!important;grid-template-areas:'avatar favourite identity' 'trophies trophies trophies';gap:16px!important}.profile-heading>.profile-trophy-showcase{grid-column:auto!important}}
@media(max-width:600px){.profile-heading{grid-template-columns:76px 88px minmax(0,1fr)!important;grid-template-areas:'avatar favourite identity' 'trophies trophies trophies';gap:10px!important;padding:14px!important}.profile-heading>.profile-favourite{grid-column:auto!important;flex-direction:column}.profile-favourite>img{width:78px;height:78px}.profile-heading>.profile-trophy-showcase{grid-column:auto!important}.profile-heading h2{font-size:15px}.profile-heading .toolbar{gap:8px}.profile-heading .toolbar button,.profile-heading p{font-size:11px!important}.profile-heading .role-badge img{width:36px;height:36px}.profile-favourite button{font-size:10px!important}.profile-heading>img{max-width:76px!important}.profile-trophy-showcase .pinned-trophies{justify-content:flex-start}}
@media(max-width:1100px){.profile-heading>.profile-trophy-showcase{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;box-sizing:border-box}.profile-heading>.profile-favourite{grid-column:2!important;grid-row:1!important}}
@media(max-width:600px){.profile-heading .toolbar button{white-space:normal!important;width:100%;max-width:100%}}
/* The cabinet owns the whole second header row at every viewport width. */
.profile-heading{grid-template-areas:'avatar favourite identity identity' 'trophies trophies trophies trophies'!important;grid-template-rows:auto auto}.profile-heading>.profile-trophy-showcase{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;box-sizing:border-box;justify-self:stretch}.profile-trophy-showcase .pinned-trophies{align-content:flex-start;justify-content:flex-start!important}.mobile-more[hidden],.expand-toggle[hidden],.profile-gym-badge-counts>[hidden],.role-badges>[hidden],.mobile-page-buttons>[hidden],.current-team>[hidden]{display:none!important}
@media(max-width:1100px){.profile-heading{grid-template-areas:'avatar favourite identity' 'trophies trophies trophies'!important}}
[hidden]{display:none!important}
