/* Phase 3: header and navigation only. Design tokens: giratina-theme.css. */
.site-header.portal-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--space-6);min-height:110px;padding:12px 0;margin-bottom:22px;border-bottom:1px solid var(--border-color);background:none;z-index:20}
.portal-header .brand{position:static;transform:none;display:flex;flex:0 0 170px;width:170px;max-width:none;margin:0;align-items:center;justify-content:flex-start}
.site-header.portal-header .brand img{display:block;width:170px;height:85px;max-width:100%;object-fit:contain;filter:none}
.portal-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,24px);flex:1;min-width:0}
.portal-nav a{position:relative;padding:16px 0;color:var(--text-secondary);font-size:12px;font-weight:500;white-space:nowrap;text-decoration:none;transition:color var(--motion-fast)}
.portal-nav a:hover,.portal-nav a[aria-current]{color:var(--accent-gold)}
.portal-nav a[aria-current]:after{content:'';position:absolute;bottom:5px;left:0;right:0;height:2px;background:var(--accent-gold);border-radius:var(--radius-pill)}
.portal-header .header-actions{display:flex;position:static;transform:none;align-items:center;gap:10px;margin:0;flex:0 0 auto}
.portal-header .navbuttons{display:none}
.portal-header .language-current{height:40px;padding:0 10px;gap:7px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-card);color:var(--text-secondary);font-size:11px}
.portal-header .language-current img{width:21px;height:auto}
.portal-header .theme-toggle{display:flex;width:40px;height:40px;min-width:40px;align-items:center;justify-content:center;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:50%;order:0}
.portal-header .header-account{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 15px;color:var(--accent-gold);border:1px solid var(--accent-gold);border-radius:var(--radius-card);font-size:12px;font-weight:600;white-space:nowrap;background:var(--bg-secondary);text-decoration:none;order:1;transition:background var(--motion-fast)}
.portal-header .header-account:hover{background:var(--accent-purple-soft)}
.portal-header a:focus-visible,.portal-header button:focus-visible{outline:2px solid var(--accent-gold);outline-offset:4px}
#noticias,#rankings,.download-guide{scroll-margin-top:24px}
.mobile-site-menu a[aria-current]{color:var(--accent-gold)!important;border-left:3px solid var(--accent-gold)}
.mobile-site-menu .mobile-menu-logo{width:150px;height:75px;object-fit:contain}
@media(max-width:1200px){.portal-header .language-picker{display:none}.portal-header .brand{flex-basis:145px;width:145px}.site-header.portal-header .brand img{width:145px;height:73px}.site-header.portal-header{gap:18px}.portal-nav{gap:14px}.portal-header .header-account{padding:10px 12px}}
@media(max-width:1000px){.portal-nav{display:none}.site-header.portal-header{min-height:96px;gap:12px}.portal-header .brand{flex:1;max-width:185px}.site-header.portal-header .brand img{width:170px;height:80px}.portal-header .mobile-menu-toggle{display:grid!important;position:static;transform:none;order:3;place-items:center;width:42px;height:42px;min-width:42px;background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--accent-gold);border-radius:var(--radius-card)}.portal-header .header-actions{margin-left:auto}.mobile-site-menu{width:min(360px,90vw)!important;max-width:90vw;overflow-y:auto}.mobile-site-menu header{gap:12px}.mobile-site-menu a{min-height:48px}}
@media(max-width:480px){.site-header.portal-header{gap:8px;padding-block:8px;min-height:85px}.portal-header .brand{max-width:135px}.site-header.portal-header .brand img{width:135px;height:68px}.portal-header .header-actions{gap:8px}.portal-header .header-account{min-width:40px;width:40px;height:40px;padding:0}.portal-header .header-account span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.portal-header .mobile-menu-toggle{width:38px;height:40px;min-width:38px}}
.portal-header .header-actions{width:auto;max-width:none;min-width:0;flex-wrap:nowrap}.portal-header .brand{min-width:0}.portal-header .theme-toggle{flex-shrink:0}
