/* Shared compact match surfaces, based on the approved homepage. */
:root{--edge-radius:14px;--edge-number:13px;--edge-label:12px;--edge-gap:2px}
.app :is(.mgroup,.jcard,.jcard-notes,.sigp__list,.mcard){border-radius:var(--edge-radius);border-color:var(--m-line,var(--color-line,#e3deeb))}
.app :is(.jcard__nm,.mrow__team,.sig__c--m a){font-size:12px;line-height:1.5;font-weight:600}
.app :is(.jcard__t,.mrow__team) img{width:30px;height:30px;object-fit:contain;flex-shrink:0}
.app :is(.mrow__bar,.hero__prob-line .mrow__bar){gap:2px;border-radius:6px;overflow:hidden}
.app :is(.mrow__bar [data-wdl-pct],[data-jcard-pct]){font-size:13px;font-variant-numeric:tabular-nums}
.app :is(.mrow__strip,.hero__strip,.hland__strip){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.app :is(.mrow__strip,.hero__strip,.hland__strip)>span{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}
.app :is(.mrow__strip,.hero__strip,.hland__strip) b{font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.app :is(.mrow__strip,.hero__strip,.hland__strip) i{font-size:12px;font-style:normal;line-height:1.5}
.app :is(.jcard--live .jcard__score,.mrow--live .mrow__score,.st-live){color:var(--color-live,#16834b)}
.app :is(.sfilt__i,.sig__pill,.dstrip__d){transition:background .15s,color .15s,border-color .15s}
.app :is(.sfilt__i,.sig__pill,.dstrip__d):focus-visible{outline:2px solid var(--color-brand,#9863e8);outline-offset:2px}
.app .sig__row{padding-top:16px;padding-bottom:16px}.app .sig__c--t b,.app .sig__c--s b{font-size:13px;font-variant-numeric:tabular-nums}.app .sig__c--lg,.app .sig__pill{font-size:12px}
.app .mrow__strip-tag,.app .hero__strip-tag{display:none}
@media(max-width:767px){.app :is(.mrow__strip,.hero__strip,.hland__strip){grid-template-columns:repeat(3,minmax(0,1fr))}.app :is(.jcard__t,.mrow__team) img{width:26px;height:26px}.app .sig__c--m a{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.app :is(.sfilt__i,.sig__pill,.dstrip__d){transition:none}}

.app :is(.mrow__strip,.hero__strip,.hland__strip){border-top:1px solid var(--m-line,#e3deeb);border-bottom:1px solid var(--m-line,#e3deeb);padding:12px 0;background:transparent;border-radius:0}
.app :is(.mrow__strip,.hero__strip,.hland__strip)>span{background:transparent;border-radius:0;border-right:1px solid var(--m-line,#e3deeb);padding:0 6px}
.app :is(.mrow__strip,.hero__strip,.hland__strip)>span:nth-child(3){border-right:0}
.app :is(.mrow__strip,.hero__strip,.hland__strip)>span:nth-child(n+4){display:none}

.app :is(.inews-digest,.news-nav-shield,.jrec,.member-benefits__scroll){border-radius:var(--edge-radius)}
.app .inews-digest__m{font-size:12px;line-height:1.6}
.app .news-nav__chip{font-size:12px;border-radius:999px}
.app .news-nav__chip:focus-visible{outline:2px solid var(--color-brand,#9863e8);outline-offset:2px}

/* Detail pages also carry legacy inline rules; pin the shared three-cell contract. */
body.app #main :is(.hero__strip,.mrow__strip,.hland__strip){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important}
body.app #main :is(.hero__strip,.mrow__strip,.hland__strip)>span{background:transparent!important;border-radius:0!important}

/* Quiet sidebar scrollbars: reserve width so revealing them never shifts content. */
.app :is(.sfilt,.jcard3__rail,.mdrawer__body){--edge-scroll-thumb:transparent;scrollbar-width:thin;scrollbar-color:var(--edge-scroll-thumb) transparent!important}
.app :is(.sfilt,.jcard3__rail,.mdrawer__body):is(:hover,:focus-within,.is-scroll-active){--edge-scroll-thumb:var(--sb-thumb,rgba(29,33,41,.28))}
.app :is(.sfilt,.jcard3__rail,.mdrawer__body)::-webkit-scrollbar{width:6px;height:6px}
.app :is(.sfilt,.jcard3__rail,.mdrawer__body)::-webkit-scrollbar-track{background:transparent}
.app :is(.sfilt,.jcard3__rail,.mdrawer__body)::-webkit-scrollbar-thumb{background:var(--edge-scroll-thumb);border:1px solid transparent;background-clip:padding-box;border-radius:999px}
.app :is(.sfilt,.jcard3__rail,.mdrawer__body)::-webkit-scrollbar-thumb:hover{background:var(--sb-thumb-hover,rgba(29,33,41,.42))}
@media(forced-colors:active){.app :is(.sfilt,.jcard3__rail,.mdrawer__body){scrollbar-color:auto!important}}

.mpage .mtabs .mtabs__i.is-on::after{left:50%;right:auto;width:28px;transform:translateX(-50%);height:2px;border-radius:2px}

.mpage .hero__score .board__ht{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:fit-content;margin:4px auto 0;padding:1px 7px;border:1px solid var(--m-border,var(--m-line,#dcdde3));border-radius:999px;font-size:11px;line-height:16px}
.mpage .hero__score .board__ht[hidden]{display:none}
.mpage .hero__bar .mstats{gap:12px}
.mpage .hero__bar .mstat{font-size:13px;gap:5px}
.mpage .hero__bar :is(.mstat--y,.mstat--r)::before{width:9px;height:12px}
.mpage .hero__bar .mstat--c::before{content:"";width:10px;height:10px;border:0;border-radius:0;mask:none;-webkit-mask:none;background:var(--m-text-2,#8190a5);clip-path:polygon(10% 0,90% 0,70% 30%,90% 60%,23% 60%,23% 100%,10% 100%)}

.wrap:has(.mpage){padding-bottom:24px}

@media(min-width:1024px){
  .mlay--day>.mlay__rail{position:sticky;top:calc(var(--bar-h,64px) + 14px);align-self:start;max-height:calc(100dvh - var(--bar-h,64px) - 28px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
