/* Hoopmaster · compacto arriba, picks visibles antes, fechas desplazables. */
.main-area:has(.home-intro) .topbar{height:64px}
.main-area .content:has(.home-intro){padding-top:18px}
.main-area .content .home-intro,.main-area .content .home-intro.hm-home-intro-with-stage{margin-bottom:10px}
.main-area .content .home-intro .page-title{font-size:clamp(34px,3.2vw,48px);line-height:1.04;margin:6px 0 7px}
.main-area .content .home-intro .page-description{font-size:13px;line-height:1.45;margin:0;max-width:760px}
.main-area .content .hm-home-stage{margin:0 0 10px}
.main-area .content .hm-home-stage .hm-home-stage-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);grid-template-areas:"kicker action" "title action" "description reto";column-gap:18px;row-gap:4px;padding:10px 15px;align-items:center}
.main-area .content .hm-home-stage .hm-home-stage-kicker{grid-area:kicker}
.main-area .content .hm-home-stage .hm-home-stage-head{grid-area:title;margin:0}
.main-area .content .hm-home-stage .hm-home-stage-head h2{font-size:clamp(22px,2.1vw,28px);line-height:1.06}
.main-area .content .hm-home-stage .hm-home-stage-main>p{grid-area:description;font-size:12px;line-height:1.38;margin:0}
.main-area .content .hm-home-stage .hm-home-stage-telegram{grid-area:action;justify-self:end;margin:0;white-space:nowrap}
.main-area .content .hm-home-stage .hm-home-stage-reto{grid-area:reto;justify-self:end;max-width:100%;margin:0;padding:5px 8px;gap:6px}
.main-area .content .hm-home-performance{margin:8px 0 10px;padding-top:10px;padding-bottom:10px}
.main-area .content .edition-heading{margin-bottom:10px}
.hm-mobile-brand{display:none}
@media(max-width:850px){
  .main-area:has(.home-intro) .topbar{height:56px}
  .main-area .content:has(.home-intro){padding-top:12px}
  .main-area .content .home-intro,.main-area .content .home-intro.hm-home-intro-with-stage{margin-bottom:9px}
  .main-area .content .home-intro .eyebrow{font-size:10px;line-height:1.2}
  .main-area .content .home-intro .page-title{font-size:clamp(28px,6.6vw,36px);line-height:1.06;margin:5px 0 6px}
  .main-area .content .home-intro .page-description{font-size:12px;line-height:1.38}
  .main-area .content .hm-home-stage .hm-home-stage-main{grid-template-columns:minmax(0,1fr);grid-template-areas:"kicker" "title" "description" "action" "reto";padding:8px 10px;row-gap:4px}
  .main-area .content .hm-home-stage .hm-home-stage-kicker{font-size:9px;letter-spacing:1px}
  .main-area .content .hm-home-stage .hm-home-stage-head h2{font-size:22px}
  .main-area .content .hm-home-stage .hm-home-stage-main>p{font-size:11px;line-height:1.35}
  .main-area .content .hm-home-stage .hm-home-stage-telegram{justify-self:start;margin:1px 0 0;font-size:11px}
  .main-area .content .hm-home-stage .hm-home-stage-telegram svg{width:13px;height:13px}
  .main-area .content .hm-home-stage .hm-home-stage-reto{justify-self:start;padding:3px 6px;font-size:9px}
  .main-area .content .hm-home-stage .hm-home-stage-reto-name,.main-area .content .hm-home-stage .hm-home-stage-reto-status{font-size:9px;line-height:1.25}
  .main-area .content .hm-home-stage .hm-home-stage-reto-rule{height:10px}
  .main-area .content .hm-home-performance{margin:14px 0 10px}
  .main-area .content .edition-heading{margin-bottom:8px;gap:5px}
  .main-area .content .edition-heading>div{gap:7px}
  .topbar .top-left{gap:10px;min-width:0}
  .topbar .top-basketball{display:none!important}
  .topbar .hm-mobile-brand{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border:1px solid #ff7b26;background:#0b2944;border-radius:4px;font:900 italic 25px/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:-1.6px;color:#f6f9ff;padding-right:2px;box-sizing:border-box}
  .hm-mobile-brand .hm-mark-m{color:#ff7b26}
  .main-area .content .day-browser{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;margin-bottom:16px;min-width:0;max-width:100%}
  .main-area .content .day-browser .day-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;gap:6px;padding:2px 0 4px;scrollbar-width:thin;scrollbar-color:#466780 transparent;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .main-area .content .day-browser .day-tabs .button{flex:0 0 auto;white-space:nowrap;padding:8px 11px;font-size:11px}
  .main-area .content .day-browser .pagination{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;gap:8px;white-space:nowrap;font-size:11px}
  .main-area .content .day-browser .pagination button{width:auto;min-width:78px;height:28px;padding:3px 8px;display:inline-flex;justify-content:center;align-items:center;font-size:11px;line-height:1.2}


}

/* Indicadores de deslizamiento solo cuando quedan fechas por mostrar. */
@media(max-width:850px){
  .main-area .content .day-browser .day-tabs.hm-tabs-more-right{
    mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);
    -webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);
  }
  .main-area .content .day-browser .day-tabs.hm-tabs-more-left{
    mask-image:linear-gradient(to right,transparent 0%,#000 18px,#000 100%);
    -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 18px,#000 100%);
  }
  .main-area .content .day-browser .day-tabs.hm-tabs-more-left.hm-tabs-more-right{
    mask-image:linear-gradient(to right,transparent 0%,#000 18px,#000 calc(100% - 18px),transparent 100%);
    -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 18px,#000 calc(100% - 18px),transparent 100%);
  }
  .main-area .content .parlay-page-grid{gap:12px}
  .main-area .content .parlay-page-grid .leg-card{padding:18px;min-height:270px}
  .main-area .content .parlay-page-grid .leg-card .leg-player{margin-top:16px!important}
  .main-area .content .parlay-page-grid .leg-card .market-large{margin-top:8px}
  .main-area .content .parlay-page-grid .leg-card .sub{margin-top:7px}
  .main-area .content .parlay-page-grid .leg-card .why{margin-top:11px}
  .main-area .content .parlay-page-grid .leg-card .foot{padding-top:12px}
  .main-area .content .triple-legs .parlay-row{padding:12px 14px;min-height:80px}
}

/* Date paging: the entire row remains available to dates at every screen size. */
.main-area .content .day-browser .day-tabs{min-width:0}
@media(min-width:851px){
 .main-area .content .day-browser .pagination{display:flex;justify-content:space-between;align-items:center;padding-top:6px;padding-bottom:0}
 .main-area .content .day-browser .pagination button{font-size:12px;padding:4px 10px;min-height:28px}
}

/* Place the edition selector after the detail page's explanatory note. */
.main-area .content .day-browser.hm-day-browser-bottom{margin-top:16px;margin-bottom:0}
@media(max-width:850px){.main-area .content .day-browser.hm-day-browser-bottom{margin-top:12px;margin-bottom:0}}

/* Compact mobile navigation: 56px usable bar plus the device's safe area. */
@media(max-width:850px){
 :root{--hm-mobile-nav-height:56px;--hm-mobile-safe-bottom:env(safe-area-inset-bottom,0px)}
 #app .mobile-nav{height:calc(var(--hm-mobile-nav-height) + var(--hm-mobile-safe-bottom));box-sizing:border-box;border-top-width:1px;padding:0 0 var(--hm-mobile-safe-bottom);grid-template-columns:repeat(5,minmax(0,1fr))}
 #app .mobile-nav button{min-width:0;min-height:44px;gap:2px;padding:0 2px;font-size:10px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap;line-height:1.15}
 #app .mobile-nav svg{width:18px;height:18px;flex-shrink:0}
 #app .content{padding-bottom:calc(78px + var(--hm-mobile-safe-bottom))}
 .notice{bottom:calc(68px + var(--hm-mobile-safe-bottom))}
}
@media(max-width:350px){#app .mobile-nav button{font-size:9px;padding-inline:1px}}
