@charset "utf-8";
/* SCOREBOOK_PORTAL_RESPONSIVE_ASSET */

/* The portal responds to its own center-column width, not only viewport width. */
.global-portal-slot {
    container-name: scorebook-portal;
    container-type: inline-size;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.global-portal-slot *,
.global-portal-slot *::before,
.global-portal-slot *::after {
    box-sizing: border-box;
}
.global-portal-slot .portal-news-grid,
.global-portal-slot .portal-share-board,
.global-portal-slot .portal-community-board,
.global-portal-slot .portal-community-toolbar,
.global-portal-slot .portal-mini-tabs,
.global-portal-slot .portal-content-swap,
.global-portal-slot .portal-sports-row,
.global-portal-slot .portal-section-nav,
.global-portal-slot .portal-page-tabs {
    min-width: 0;
    max-width: 100%;
}

/* Desktop / wide center column */
.global-portal-slot .portal-news-grid {
    display: grid !important;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
    min-height: 180px;
    overflow: hidden !important;
}
.global-portal-slot .portal-share-board,
.global-portal-slot .portal-community-board {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
}
.global-portal-slot .portal-board-head,
.global-portal-slot .portal-community-toolbar {
    min-width: 0;
}
.global-portal-slot .portal-community-toolbar {
    display: grid;
    grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
    align-items: stretch;
}
.global-portal-slot .portal-community-toolbar > strong {
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.global-portal-slot .portal-mini-tabs {
    width: 100%;
    min-width: 0;
}
.global-portal-slot .portal-mini-tabs button {
    min-width: 0;
    padding-inline: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.global-portal-slot .portal-compact-list,
.global-portal-slot .portal-content-swap {
    min-width: 0;
}
.global-portal-slot .portal-feed-link {
    min-width: 0;
    max-width: 100%;
}
.global-portal-slot .portal-feed-link > span {
    min-width: 0;
}

.global-portal-slot .portal-sports-row {
    display: grid !important;
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
}
.global-portal-slot .portal-sports-row > a,
.global-portal-slot .portal-sports-row > button {
    min-width: 0 !important;
    max-width: none;
}
.global-portal-slot .portal-sports-row > a b,
.global-portal-slot .portal-sports-row > button b {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-portal-slot .portal-section-nav {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(132px, 170px) minmax(0, 1fr) auto !important;
}
.global-portal-slot .portal-page-tabs {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}
.global-portal-slot .portal-page-tabs::-webkit-scrollbar { display: none; }
.global-portal-slot .portal-page-tabs > a,
.global-portal-slot .portal-page-tabs > button {
    flex: 0 0 auto;
}

/* Compact center column: keep news panels side-by-side, scroll sports only. */
.global-portal-slot.portal-layout-compact .portal-news-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    min-height: 170px;
}
.global-portal-slot.portal-layout-compact .portal-community-toolbar {
    grid-template-columns: minmax(96px, 116px) minmax(0, 1fr);
}
.global-portal-slot.portal-layout-compact .portal-sports-row {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}
.global-portal-slot.portal-layout-compact .portal-sports-row::-webkit-scrollbar { display: none; }
.global-portal-slot.portal-layout-compact .portal-sports-row > a,
.global-portal-slot.portal-layout-compact .portal-sports-row > button {
    flex: 0 0 78px;
    min-width: 78px !important;
    scroll-snap-align: start;
}
.global-portal-slot.portal-layout-compact .portal-section-nav {
    grid-template-columns: 138px minmax(0, 1fr) !important;
}
.global-portal-slot.portal-layout-compact .portal-section-nav > p {
    grid-column: 1 / -1;
    min-height: 30px;
    display: flex !important;
    justify-content: flex-end;
    border-top: 1px solid #e4eaf0;
}

/* Mobile center column: stack latest/community without hiding either panel. */
.global-portal-slot.portal-layout-mobile .portal-news-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    overflow: visible !important;
}
.global-portal-slot.portal-layout-mobile .portal-share-board {
    border-right: 0 !important;
    border-bottom: 1px solid #dce5ed !important;
}
.global-portal-slot.portal-layout-mobile .portal-community-board {
    display: block !important;
    border-right: 0 !important;
}
.global-portal-slot.portal-layout-mobile .portal-community-toolbar {
    min-height: 42px;
    height: auto !important;
    grid-template-columns: minmax(96px, 118px) minmax(0, 1fr);
}
.global-portal-slot.portal-layout-mobile .portal-community-toolbar > strong {
    display: flex !important;
    font-size: 11px;
}
.global-portal-slot.portal-layout-mobile .portal-mini-tabs {
    display: flex !important;
    grid-template-columns: none !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.global-portal-slot.portal-layout-mobile .portal-mini-tabs::-webkit-scrollbar { display: none; }
.global-portal-slot.portal-layout-mobile .portal-mini-tabs button {
    flex: 0 0 64px;
    min-width: 64px;
    height: 42px;
    font-size: 9px;
}
.global-portal-slot.portal-layout-mobile .portal-compact-list {
    min-height: 112px;
}
.global-portal-slot.portal-layout-mobile .portal-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.global-portal-slot.portal-layout-mobile .portal-sports-row > a,
.global-portal-slot.portal-layout-mobile .portal-sports-row > button {
    flex-basis: 72px;
    min-width: 72px !important;
}
.global-portal-slot.portal-layout-mobile .portal-sports-row > a span,
.global-portal-slot.portal-layout-mobile .portal-sports-row > button span {
    font-size: 23px;
}
.global-portal-slot.portal-layout-mobile .portal-sports-row > a b,
.global-portal-slot.portal-layout-mobile .portal-sports-row > button b {
    display: block !important;
    font-size: 7px;
}
.global-portal-slot.portal-layout-mobile .portal-section-nav {
    grid-template-columns: 120px minmax(0, 1fr) !important;
}
.global-portal-slot.portal-layout-mobile .portal-section-title {
    padding-inline: 12px;
}
.global-portal-slot.portal-layout-mobile .portal-section-title h1 {
    font-size: 15px;
}
.global-portal-slot.portal-layout-mobile .portal-page-tabs {
    padding-left: 10px;
}
.global-portal-slot.portal-layout-mobile .portal-page-tabs > a,
.global-portal-slot.portal-layout-mobile .portal-page-tabs > button {
    min-width: 68px;
    padding-inline: 9px;
    font-size: 9px;
}

/* Small phones */
.global-portal-slot.portal-layout-phone {
    border-radius: 7px;
}
.global-portal-slot.portal-layout-phone .portal-board-head {
    height: 40px;
    padding-inline: 10px;
}
.global-portal-slot.portal-layout-phone .portal-community-toolbar {
    grid-template-columns: 1fr;
}
.global-portal-slot.portal-layout-phone .portal-community-toolbar > strong {
    min-height: 38px;
    border-bottom: 1px solid #e4eaf0;
}
.global-portal-slot.portal-layout-phone .portal-mini-tabs button {
    flex-basis: 60px;
    min-width: 60px;
    height: 38px;
    font-size: 8px;
}
.global-portal-slot.portal-layout-phone .portal-compact-list {
    padding-inline: 9px;
}
.global-portal-slot.portal-layout-phone .portal-compact-list li {
    font-size: 9px;
}
.global-portal-slot.portal-layout-phone .portal-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.global-portal-slot.portal-layout-phone .portal-sports-row {
    height: 56px;
}
.global-portal-slot.portal-layout-phone .portal-sports-row > a,
.global-portal-slot.portal-layout-phone .portal-sports-row > button {
    flex-basis: 64px;
    min-width: 64px !important;
}
.global-portal-slot.portal-layout-phone .portal-sports-row > a span,
.global-portal-slot.portal-layout-phone .portal-sports-row > button span {
    font-size: 20px;
}
.global-portal-slot.portal-layout-phone .portal-section-nav {
    grid-template-columns: 106px minmax(0, 1fr) !important;
}
.global-portal-slot.portal-layout-phone .portal-section-title {
    padding-inline: 9px;
    gap: 6px;
}
.global-portal-slot.portal-layout-phone .portal-section-title h1 {
    font-size: 14px;
}
.global-portal-slot.portal-layout-phone .portal-page-tabs > a,
.global-portal-slot.portal-layout-phone .portal-page-tabs > button {
    min-width: 62px;
    padding-inline: 7px;
    font-size: 8px;
}
.global-portal-slot.portal-layout-phone .portal-section-nav > p {
    padding-inline: 10px;
    font-size: 8px;
}

/* Native container-query path for browsers with support. */
@container scorebook-portal (max-width: 920px) {
    .portal-news-grid {
        display: grid !important;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
        overflow: hidden !important;
    }
    .portal-share-board,
    .portal-community-board {
        display: block !important;
        min-width: 0 !important;
        flex: none !important;
    }
    .portal-sports-row {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .portal-sports-row > a,
    .portal-sports-row > button {
        flex: 0 0 78px;
        min-width: 78px !important;
        scroll-snap-align: start;
    }
}
@container scorebook-portal (max-width: 720px) {
    .portal-news-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: 0 !important;
        overflow: visible !important;
    }
    .portal-share-board { border-right: 0 !important; border-bottom: 1px solid #dce5ed !important; }
    .portal-community-board { display: block !important; border-right: 0 !important; }
    .portal-community-toolbar { grid-template-columns: minmax(96px, 118px) minmax(0, 1fr); }
    .portal-community-toolbar > strong { display: flex !important; }
    .portal-mini-tabs { display: flex !important; grid-template-columns: none !important; overflow-x: auto; }
    .portal-mini-tabs button { flex: 0 0 64px; min-width: 64px; }
}
@container scorebook-portal (max-width: 480px) {
    .portal-community-toolbar { grid-template-columns: 1fr; }
    .portal-community-toolbar > strong { min-height: 38px; border-bottom: 1px solid #e4eaf0; }
    .portal-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Viewport fallback when ResizeObserver/container queries are unavailable. */
@media (max-width: 760px) {
    .global-portal-slot:not(.portal-responsive-ready) .portal-news-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        overflow: visible !important;
    }
    .global-portal-slot:not(.portal-responsive-ready) .portal-community-board { display: block !important; }
    .global-portal-slot:not(.portal-responsive-ready) .portal-sports-row {
        display: flex !important;
        overflow-x: auto !important;
        grid-template-columns: none !important;
    }
    .global-portal-slot:not(.portal-responsive-ready) .portal-sports-row > a,
    .global-portal-slot:not(.portal-responsive-ready) .portal-sports-row > button {
        flex: 0 0 72px;
        min-width: 72px !important;
    }
}
