/* PHONE view (<=767px, touch). Loaded only via media="(max-width:767px) and (pointer:coarse)" so desktop/computer is never affected. */
html,body{overflow-x:hidden;-webkit-text-size-adjust:100%}
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
/* header: compact, thumb-friendly */
header.tbar{flex-wrap:wrap;gap:6px!important;padding:8px 10px!important}
header.tbar button,header.tbar a,.tb-lg button{min-height:38px}
.tb-lg{max-width:100%;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
.tb-lg::-webkit-scrollbar{display:none}
.tb-search input{width:100%!important}
/* tickers: smaller controls */
.gcticker .tkhd button{padding:2px 7px;font-size:11px}
/* home hero */
.hhero{padding:16px!important}
.hhero h1{font-size:30px}
.hcounts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hcounts>*{min-width:0!important}
.hcounts .nl-entry{min-width:0;grid-column:1/-1}
/* single column cards */
.mgrid,.two,.fins,.dstrip-w{grid-template-columns:minmax(0,1fr)!important}
/* game page: scorebug fit */
.scorebug{gap:4px!important;padding:8px 6px!important}
.scorebug .big{font-size:34px!important;min-width:0}
.scorebug .team img{width:30px!important;height:30px!important}
.scorebug .team{min-width:0;gap:4px!important}
.scorebug .mid{min-width:0;font-size:12px}
/* tabs: swipeable row, bigger hits */
.btabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.btabs::-webkit-scrollbar{display:none}
.btabs button{flex:0 0 auto;min-height:42px}
#gcback a{min-height:44px;display:inline-flex;align-items:center}
/* props / standings / leaders / box tables scroll inside their box */
table{max-width:100%}
.bxtbl,.stv table,.ldv table{display:block;overflow-x:auto}
/* favorite stars always visible + tappable */
.fav-s,.mc-star{display:inline-flex;align-items:center;justify-content:center}
.scorebug .big{font-size:28px!important}
.scorebug .rec,.scorebug .gco-hero{display:none!important}
.scorebug .tn{font-size:14px!important;white-space:nowrap}
.scorebug .team>div{min-width:0}
.fav-s,.mc-star{min-width:28px;min-height:28px}
.fav-s:not(.on){opacity:.6!important}
