.arrtm-wrap{
  width:100%;
  background:var(--arrtm-bg,#fff);
  border-bottom:1px solid rgba(0,0,0,.08);
  color:var(--arrtm-text,#20252b);
  position:relative;
  z-index:25;
}
.arrtm-inner{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 14px;
}
.arrtm-league{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:8px;
  position:relative;
}
.arrtm-league + .arrtm-league{
  border-top:1px solid rgba(0,0,0,.06);
}
.arrtm-league-label{
  flex:0 0 auto;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--arrtm-accent,#0b5f86);
  white-space:nowrap;
  border-right:2px solid var(--arrtm-accent,#0b5f86);
  padding-right:10px;
}
.arrtm-track{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  scroll-behavior:smooth;
  padding:5px 1px;
}
.arrtm-track::-webkit-scrollbar{display:none}
.arrtm-team{
  flex:0 0 51px;
  min-width:51px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:var(--arrtm-text,#20252b)!important;
  text-decoration:none!important;
  border-radius:8px;
  padding:3px 2px;
  transition:background .15s ease,transform .15s ease;
}
.arrtm-team:hover,.arrtm-team:focus-visible{
  background:rgba(0,0,0,.045);
  transform:translateY(-1px);
  outline:none;
}
.arrtm-crest{
  width:calc(var(--arrtm-crest,38px) + 6px);
  height:calc(var(--arrtm-crest,38px) + 6px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.arrtm-crest img{
  width:var(--arrtm-crest,38px)!important;
  height:var(--arrtm-crest,38px)!important;
  max-width:var(--arrtm-crest,38px)!important;
  object-fit:contain;
  display:block;
}
.arrtm-initials{
  width:var(--arrtm-crest,38px);
  height:var(--arrtm-crest,38px);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--arrtm-accent,#0b5f86);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
}
.arrtm-team-name{
  max-width:62px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:700;
  line-height:1.1;
  text-align:center;
}
.arrtm-arrow{
  flex:0 0 26px;
  width:26px;
  height:34px;
  padding:0;
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--arrtm-accent,#0b5f86);
  font-size:26px;
  line-height:30px;
  cursor:pointer;
  opacity:.85;
}
.arrtm-arrow:hover,.arrtm-arrow:focus-visible{
  background:rgba(0,0,0,.05);
  opacity:1;
  outline:none;
}
.arrtm-arrow.is-hidden{visibility:hidden;pointer-events:none}
@media (max-width:767px){
  .arrtm-inner{padding:0 8px}
  .arrtm-league{gap:4px;min-height:54px}
  .arrtm-league-label{font-size:9px;padding-right:6px;max-width:55px;white-space:normal;line-height:1.05}
  .arrtm-arrow{display:none}
  .arrtm-track{gap:5px;padding:5px 0}
  .arrtm-team{flex-basis:47px;min-width:47px}
  .arrtm-team-name{font-size:8px;max-width:48px}
}

/* Integración manual en Header Builder / widgets */
.athfb-column .arrtm-wrap,
.widget .arrtm-wrap,
.aft-header-custom-html .arrtm-wrap{width:100%;min-width:0;}
.athfb-column .arrtm-inner,
.widget .arrtm-inner,
.aft-header-custom-html .arrtm-inner{max-width:none;padding-left:0;padding-right:0;}
.athfb-column .arrtm-league-label{font-size:10px;}

/* Elemento nativo dentro del Header Builder de CoverNews/Newsport */
.arrtm-builder-element{
  width:100%;
  min-width:0;
  flex:1 1 auto;
}
.arrtm-builder-element .arrtm-wrap{
  width:100%;
  min-width:0;
  border-bottom:0;
  z-index:auto;
}
.arrtm-builder-element .arrtm-inner{
  width:100%;
  max-width:none;
  min-width:0;
  padding-left:0;
  padding-right:0;
}
.arrtm-builder-element .arrtm-league{
  width:100%;
  min-width:0;
}
.site-header .arrtm-builder-element .arrtm-track{
  min-width:0;
}
