/* Public header only; no colors overridden. Keep all menu items and theme/member links. */
html body.premium .topbar .topinner{min-height:56px!important;padding:6px 22px!important;gap:6px 16px!important;align-items:center!important;box-sizing:border-box}
html body.premium .topbar .brand{display:flex!important;align-items:center!important;min-width:0!important;gap:9px!important;font-size:17px!important;line-height:1.2!important;white-space:nowrap}
html body.premium .topbar .brand>span:last-child{display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.premium .topbar .brand > small,html body.premium .topbar .brand > span > small{display:none!important}
html body.premium .topbar .brandmark,html body.premium .topbar .brand img{width:36px!important;height:36px!important;max-width:36px!important;flex:none!important;object-fit:contain}
html body.premium .topbar .brandmark{border-radius:9px!important;font-size:17px!important}
html body.premium .topbar .mainnav{min-width:0!important;gap:3px!important;scrollbar-width:none!important}
html body.premium .topbar .mainnav::-webkit-scrollbar{display:none}
html body.premium .topbar .mainnav a{box-sizing:border-box;flex-shrink:0!important;white-space:nowrap;display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;padding:6px 11px!important;font-size:13px!important;line-height:1.35!important;border-radius:7px!important}
html body.premium .topbar .topactions{gap:6px!important;flex-shrink:0!important;align-items:center}
html body.premium .topbar .topactions .secondary{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;min-width:36px!important;padding:6px 10px!important;border-radius:9px!important;line-height:1.2!important}
html body.premium .topbar .topactions .ui-icon{width:17px!important;height:17px!important}
/* The existing mobile navigation is retained, without wrapping or a visible scrollbar. */
@media(max-width:900px){
 html body.premium .topbar .topinner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:3px 8px!important;min-height:0!important;padding:6px 12px 4px!important}
 html body.premium .topbar .brand{grid-column:1;grid-row:1;gap:8px!important;font-size:16px!important}
 html body.premium .topbar .brandmark,html body.premium .topbar .brand img{width:32px!important;height:32px!important;max-width:32px!important}
 html body.premium .topbar .brandmark{border-radius:8px!important;font-size:15px!important}
 html body.premium .topbar .topactions{grid-column:2;grid-row:1;gap:5px!important;margin:0!important}
 html body.premium .topbar .topactions .secondary{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;gap:0!important;border-radius:8px!important}
 html body.premium .topbar .topactions .secondary>span{display:none!important}
 html body.premium .topbar .v30-pc-nav{display:none!important}
 html body.premium .topbar .v30-mobile-nav{display:flex!important;grid-column:1/-1;grid-row:2;width:100%!important;max-width:100%!important;min-width:0!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0!important;margin:0!important;gap:3px!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch}
 html body.premium .topbar .v30-mobile-nav a{flex:1 0 auto!important;min-height:32px!important;max-height:none!important;padding:5px 7px!important;font-size:12px!important;border-radius:7px!important}
}
@media(max-width:360px){html body.premium .topbar .topinner{padding-inline:9px!important}html body.premium .topbar .brand{font-size:15px!important}}
