/* Shared header across markets. Localized links retain their intrinsic width. */
.scorila-body .topbar .topbar-inner{
 display:grid;grid-template-columns:max-content minmax(0,1fr) max-content max-content;
 grid-template-rows:1fr;align-items:center;column-gap:clamp(8px,1.1vw,16px)
}
.topbar .brand{grid-area:1/1;flex:none;gap:8px}
.topbar .brand-mark{display:block;flex:none}
.topbar .brand-word{display:block;white-space:nowrap;line-height:1}
.scorila-body .topbar .main-nav{
 grid-area:1/2;position:static;display:flex;flex-flow:row nowrap;align-items:center;
 justify-content:flex-start;min-width:0;max-width:100%;width:100%;height:auto;
 margin:0;padding:3px 0;background:none;border:0;box-shadow:none;
 overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
 scrollbar-color:#627895 transparent;scroll-snap-type:x proximity;scroll-padding-inline:4px
}
.scorila-body .topbar .main-nav a{
 flex:0 0 auto;width:auto;min-height:42px;height:auto;padding:6px clamp(8px,.8vw,12px);
 white-space:nowrap;word-break:normal;overflow-wrap:normal;scroll-snap-align:start
}
.topbar .main-nav [data-nav-key="news"]{color:#e1f9cc}
.topbar .main-nav a:focus-visible{outline:2px solid #b5ee73;outline-offset:-2px}
.topbar .brand:focus-visible,.topbar .head-tool:focus-visible{
 outline:2px solid #b5ee73;outline-offset:2px
}
.scorila-body .topbar .scorila-inline-search{grid-area:1/3;margin:0;width:clamp(96px,10vw,158px)}
.scorila-body .topbar .topbar-end{grid-area:1/4;margin:0;min-width:0}
.topbar .topbar-end{gap:6px;display:flex;align-items:center}
.topbar .stadium-theme-trigger,.topbar .header-sound{width:36px;height:38px;display:grid;place-items:center;padding:0}
.topbar .header-sound[hidden],.topbar .stadium-theme-label,.topbar .stadium-sound-label{display:none}
.scorila-body .topbar select.locale-picker{max-width:clamp(85px,11vw,165px);height:38px;min-height:38px}
.topbar .scorila-locale-current .scorila-locale-code{display:none}

@media(max-width:920px){
 .scorila-body .topbar{height:auto;min-height:0}
 .scorila-body .topbar .topbar-inner{
  width:100%;height:auto;min-height:0;
  grid-template-columns:minmax(0,1fr) max-content max-content;
  grid-template-rows:minmax(55px,auto) auto;gap:0 6px;padding-inline:clamp(8px,2vw,18px)
 }
 .scorila-body .topbar .main-nav{
  grid-area:2/1/3/-1;gap:4px;padding:3px 0 4px;border-block-start:1px solid var(--stadium-header-line)
 }
 .scorila-body .topbar .main-nav a{font-size:13px;min-height:42px;padding-inline:10px}
 .scorila-body .topbar .scorila-inline-search{grid-area:1/2;width:auto}
 .scorila-body .topbar .topbar-end{grid-area:1/3;gap:5px}
 .topbar .brand-mark{width:34px;height:34px}
 .topbar .brand-word{font-size:clamp(17px,4.7vw,21px);letter-spacing:-.05em}
 .topbar .stadium-theme-trigger,.topbar .header-sound{width:39px;height:40px;padding:0;place-items:center}
 .topbar .stadium-theme-label,.topbar .stadium-sound-label{display:none}
 .scorila-body #main{scroll-margin-top:120px}
}
@media(max-width:480px){
 .scorila-body .topbar .topbar-inner{gap:0 4px}
 .scorila-body .topbar .topbar-end{gap:4px}
 .topbar .brand{gap:5px}
 .topbar .brand-mark{width:30px;height:30px}
 .scorila-body .topbar .stadium-theme-trigger,.scorila-body .topbar .header-sound,
 .scorila-body .topbar .scorila-mobile-search{width:36px;height:40px}
 .topbar .scorila-locale-current{padding-inline:6px;gap:4px;font-size:11px}
 .topbar .scorila-locale-current .scorila-locale-name{display:none}
 .topbar .scorila-locale-current .scorila-locale-code{display:block;white-space:nowrap}
}
