/* Shared, bounded header geometry and responsive menu rows. */
header.top .topin{box-sizing:border-box;max-width:1480px;width:100%;margin-inline:auto}
.desktop-language{cursor:pointer}
.desktop-settings{display:none}
.home-news-row>span:first-of-type{min-width:0;flex:1}
.home-news-row strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.home-overview-news .home-news-row{padding-block:11px}
.home-overview-news .home-news-row img{width:48px;height:48px;object-fit:cover}
.home-overview-news .panelhead{flex-wrap:wrap}
@media(min-width:761px){
 header.top .topin{display:grid!important;grid-template-columns:auto minmax(0,1fr) 312px!important;grid-auto-flow:row;height:auto!important;min-height:72px;align-items:center;gap:16px!important;padding:14px 24px!important}
 header.top .logo{white-space:nowrap;min-width:0;font-size:19px}
 header.top #nav{display:grid!important;position:static!important;inset:auto!important;transform:none!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;width:100%;height:auto;order:initial;overflow:visible;background:transparent;border:0;padding:0;box-shadow:none}
 header.top #nav>.settings-menu{display:none!important}
 header.top #nav>button{width:100%!important;min-width:0;min-height:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:4px 6px;gap:5px;border-radius:8px;font-size:14px;line-height:1.25;white-space:normal;overflow-wrap:normal}
 header.top #nav>button .ico{flex:none;width:17px;height:17px}
 header.top .tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0;margin:0}
 header.top .tools>.desktop-settings{display:block!important;min-width:0}
 header.top .desktop-settings .settings-menu{margin:0;width:100%;min-width:0}
 header.top .tools>.desktop-language,header.top .desktop-settings summary,header.top .tools>.login-button{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;width:100%!important;height:44px!important;min-height:44px!important;margin:0;padding:0 8px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:#efe4d2!important;color:#000!important;font-size:14px!important;line-height:1.25;white-space:nowrap;text-align:center}
 header.top .tools>.desktop-language{display:block!important}
 header.top .tools .apps-dropdown{left:auto;right:0}
 header.top .mobile-alert{display:none!important}
 .mobile-nav{display:none!important}
 body{padding-bottom:0}
 #view .tabs.release-board-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 #view .tabs.release-board-tabs>:is(.tab,[data-team-news-entry]){white-space:normal!important;min-height:46px}
 #football-match-menu .football-tabs,.football-league-sticky .football-tabs{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}
}
@media(min-width:761px) and (max-width:1099px){
 :root{--mobile-header-height:126px}
 header.top .topin{grid-template-columns:minmax(0,1fr) 312px!important;gap:10px 16px!important}
 header.top .logo{grid-column:1;grid-row:1;justify-self:start}
 header.top .tools{grid-column:2;grid-row:1}
 header.top #nav{grid-column:1/-1;grid-row:2}
}
@media(max-width:760px){
 header.top .topin{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-auto-flow:row;gap:8px!important;padding:10px 12px!important;align-items:center}
 header.top .logo{font-size:17px;min-width:0;gap:6px;white-space:nowrap}
 header.top .brand-crown{width:23px;flex:none}
 header.top #nav{display:none!important}
 header.top .tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;width:166px}
 header.top .desktop-language,header.top .tools>.login-button{display:block!important;box-sizing:border-box;width:100%;height:40px!important;min-height:40px!important;margin:0;padding:0 4px!important;border:1px solid var(--line);border-radius:8px;background:#efe4d2!important;color:#000!important;font-size:12px;text-align:center}
 header.top .desktop-settings,header.top .mobile-alert{display:none!important}
 #view .tabs.release-board-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:56px}
 :root .settings-page nav.settings-tabs{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 :root .settings-page nav.settings-tabs>button.chip{height:auto;min-height:46px;font-size:13px;padding:8px 6px;white-space:normal;overflow-wrap:normal}
 .home-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-quick-links .btn{font-size:14px;min-height:44px;padding:8px}
}
@media(max-width:360px){
 header.top .tools{width:144px;gap:4px!important}
 header.top .logo{font-size:15px;gap:4px}
 header.top .brand-crown{width:20px}
 .clubhero .clubrow{min-width:0}
}
