/* Press Box MLB — Mobile-first, BEM with pb-mlb- prefix */

/* Hide scrollbars globally — swipe-to-scroll on touch, no visible bars. */
[data-pb-mlb-tabs],
.pb-mlb-injuries__table-wrap,
.pb-mlb-roster__table-wrap,
.pb-mlb-standings__table-wrap {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
[data-pb-mlb-tabs]::-webkit-scrollbar,
.pb-mlb-injuries__table-wrap::-webkit-scrollbar,
.pb-mlb-roster__table-wrap::-webkit-scrollbar,
.pb-mlb-standings__table-wrap::-webkit-scrollbar {
    display: none;
}

:root {
    --pb-mlb-highlight-color: #002D72;
    --pb-mlb-highlight-color-light: rgba(0, 45, 114, 0.06);
    --pb-mlb-highlight-text: #ffffff;
    --pb-mlb-bg: #ffffff;
    --pb-mlb-bg-alt: #f7f8fa;
    --pb-mlb-border: #e2e4e8;
    --pb-mlb-text: #1a1a1a;
    --pb-mlb-text-muted: #6b7280;
    --pb-mlb-win: #16a34a;
    --pb-mlb-loss: #dc2626;
    --pb-mlb-tie: #d97706;
    --pb-mlb-live: #dc2626;
    --pb-mlb-il-60: #dc2626;
    --pb-mlb-il-15: #ea580c;
    --pb-mlb-il-10: #ca8a04;
    --pb-mlb-radius: 6px;
    --pb-mlb-xs: 4px;
    --pb-mlb-sm: 8px;
    --pb-mlb-md: 16px;
    --pb-mlb-lg: 24px;
}

/* ---- Shared ---- */

/* Root wrappers only — not nested children */
.pb-mlb-games-today,
.pb-mlb-schedule,
.pb-mlb-standings,
.pb-mlb-injuries,
.pb-mlb-transactions,
.pb-mlb-roster,
.pb-mlb-player-card,
.pb-mlb-team-tag,
.pb-mlb-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--pb-mlb-text);
    max-width: 900px;
    margin: 0 auto 32px;
}

.pb-mlb-games-today p:empty,
.pb-mlb-schedule p:empty,
.pb-mlb-standings p:empty,
.pb-mlb-injuries p:empty,
.pb-mlb-transactions p:empty,
.pb-mlb-roster p:empty,
.pb-mlb-player-card p:empty,
.pb-mlb-team-tag p:empty,
.pb-mlb-widget p:empty {
    display: none;
}

.pb-mlb-games-today a,
.pb-mlb-schedule a,
.pb-mlb-standings a,
.pb-mlb-injuries a,
.pb-mlb-transactions a,
.pb-mlb-roster a,
.pb-mlb-player-card a,
.pb-mlb-team-tag a,
.pb-mlb-widget a {
    color: var(--pb-mlb-highlight-color);
    text-decoration: none;
}

.pb-mlb-games-today a:hover,
.pb-mlb-schedule a:hover,
.pb-mlb-standings a:hover,
.pb-mlb-injuries a:hover,
.pb-mlb-transactions a:hover,
.pb-mlb-roster a:hover,
.pb-mlb-player-card a:hover,
.pb-mlb-team-tag a:hover,
.pb-mlb-widget a:hover {
    text-decoration: underline;
}

/* Shared tab component */

button.pb-mlb-tab,
.pb-mlb-tab {
    background: none;
    border: 1px solid transparent;
    border-radius: var(--pb-mlb-radius);
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--pb-mlb-text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.pb-mlb-tab:hover {
    color: var(--pb-mlb-text);
    background: var(--pb-mlb-bg-alt);
}

.pb-mlb-tab--active {
    background: var(--pb-mlb-highlight-color) !important;
    color: var(--pb-mlb-highlight-text) !important;
    border-color: var(--pb-mlb-highlight-color) !important;
    font-weight: 700 !important;
}

.pb-mlb-tab--active:hover {
    background: var(--pb-mlb-highlight-color) !important;
    color: var(--pb-mlb-highlight-text) !important;
}

.pb-mlb-tab__count {
    font-weight: 400;
    opacity: 0.7;
    margin-left: 2px;
}

/* Data cell links inherit parent color */

.pb-mlb-injuries__player-name a,
.pb-mlb-roster__player-name a,
.pb-mlb-transactions__player-name a,
.pb-mlb-player-card__name a,
.pb-mlb-widget__performer-name a,
.pb-mlb-standings__td--team a {
    color: inherit;
}

/* ---- Games Today ---- */

.pb-mlb-games-today__header {
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-games-today__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-games-today__section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-games-today__upcoming-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-mlb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--pb-mlb-sm);
    grid-column: 1 / -1;
}

.pb-mlb-game {
    display: flex;
    flex-direction: column;
    gap: var(--pb-mlb-xs);
    background: var(--pb-mlb-bg);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    padding: var(--pb-mlb-md);
    transition: border-color 0.15s;
}

.pb-mlb-game--highlighted {
    background: var(--pb-mlb-highlight-color-light);
    border-color: var(--pb-mlb-highlight-color);
}

.pb-mlb-game--live {
    border-color: var(--pb-mlb-live);
    border-width: 2px;
}

.pb-mlb-game__row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center;
    gap: var(--pb-mlb-sm);
    width: 100%;
}

.pb-mlb-game__team {
    display: flex !important;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pb-mlb-game__team--away {
    justify-content: flex-end;
}

.pb-mlb-game__team--home {
    justify-content: flex-start;
}

.pb-mlb-game__abbr {
    font-weight: 700;
    font-size: 15px;
    color: var(--pb-mlb-highlight-color);
}

.pb-mlb-game__abbr a {
    color: var(--pb-mlb-highlight-color);
    text-decoration: none;
}

.pb-mlb-game__abbr a:hover {
    text-decoration: underline;
}

.pb-mlb-game__logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.pb-mlb-game__score {
    font-size: 20px;
    font-weight: 700;
    color: var(--pb-mlb-text);
    padding: 0 4px;
}

.pb-mlb-game__score--winner {
    color: var(--pb-mlb-text);
}

.pb-mlb-game__center {
    text-align: center;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pb-mlb-game__time {
    font-size: 14px;
    font-weight: 700;
    color: var(--pb-mlb-text);
}

.pb-mlb-game__broadcast {
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.pb-mlb-game__inning {
    font-size: 14px;
    font-weight: 700;
    color: var(--pb-mlb-live);
    text-transform: uppercase;
    animation: pb-mlb-pulse 1.5s ease-in-out infinite;
}

@keyframes pb-mlb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pb-mlb-game__final-label {
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pb-mlb-game__decisions {
    display: flex;
    gap: var(--pb-mlb-sm);
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    justify-content: center;
    flex-wrap: wrap;
}

.pb-mlb-game__probables {
    display: flex;
    gap: var(--pb-mlb-sm);
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    justify-content: center;
    flex-wrap: wrap;
}

.pb-mlb-game__probable {
    white-space: nowrap;
}

.pb-mlb-game__actions {
    display: flex;
    gap: var(--pb-mlb-sm);
    justify-content: center;
    margin-top: var(--pb-mlb-xs);
}

.pb-mlb-game__action {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.15s;
}

.pb-mlb-game__action--watch {
    background: var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-text) !important;
}

.pb-mlb-game__action--tickets {
    border: 1px solid var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-color) !important;
}

.pb-mlb-game__action:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* ---- Schedule ---- */

.pb-mlb-schedule {
    display: flex;
    flex-direction: column;
}

.pb-mlb-schedule__header {
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-schedule__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-schedule__hero {
    border: 1px solid var(--pb-mlb-border);
    border-left: 4px solid var(--pb-mlb-highlight-color);
    border-radius: var(--pb-mlb-radius);
    padding: var(--pb-mlb-lg);
    margin-bottom: var(--pb-mlb-lg);
    background: var(--pb-mlb-bg);
    text-align: center;
}

.pb-mlb-schedule__hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: var(--pb-mlb-sm);
    background: var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-text);
}

.pb-mlb-schedule__hero-opponent {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--pb-mlb-xs);
}

.pb-mlb-schedule__hero-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--pb-mlb-sm);
    justify-content: center;
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
    margin-bottom: var(--pb-mlb-sm);
}

.pb-mlb-schedule__hero-actions {
    display: flex;
    gap: var(--pb-mlb-sm);
    justify-content: center;
    margin-top: var(--pb-mlb-sm);
}

.pb-mlb-schedule__btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.15s;
}

.pb-mlb-schedule__btn--tickets {
    background: var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-text) !important;
}

.pb-mlb-schedule__btn--watch {
    border: 1px solid var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-color) !important;
}

.pb-mlb-schedule__btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.pb-mlb-schedule__lists {
    display: flex;
    flex-direction: column;
    gap: var(--pb-mlb-lg);
}

.pb-mlb-schedule__section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-xs);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-schedule__game {
    display: grid;
    grid-template-columns: 80px 1fr 30px 60px auto;
    align-items: center;
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    font-size: 14px;
    background: var(--pb-mlb-bg);
    border-radius: var(--pb-mlb-radius);
}

.pb-mlb-schedule__game:nth-child(even) {
    background: var(--pb-mlb-bg-alt);
}

.pb-mlb-schedule__game-date {
    font-weight: 600;
    white-space: nowrap;
}

.pb-mlb-schedule__game-opp {
    font-weight: 500;
}

.pb-mlb-schedule__game-result {
    font-weight: 700;
    text-align: center;
}

.pb-mlb-schedule__game-result--win { color: var(--pb-mlb-win); }
.pb-mlb-schedule__game-result--loss { color: var(--pb-mlb-loss); }
.pb-mlb-schedule__game-result--tie { color: var(--pb-mlb-tie); }

.pb-mlb-schedule__game-score {
    text-align: center;
    white-space: nowrap;
}

.pb-mlb-schedule__game-time {
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
    white-space: nowrap;
}

.pb-mlb-schedule__game-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.pb-mlb-schedule__action-icon {
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.pb-mlb-schedule__accordion {
    margin-top: var(--pb-mlb-sm);
}

.pb-mlb-schedule__accordion summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: var(--pb-mlb-text);
    list-style: none;
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    background: var(--pb-mlb-bg-alt);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    user-select: none;
    transition: background 0.15s;
}

.pb-mlb-schedule__accordion summary:hover {
    background: var(--pb-mlb-border);
}

.pb-mlb-schedule__accordion summary::-webkit-details-marker {
    display: none;
}

.pb-mlb-schedule__accordion summary::before {
    content: '\25B6';
    display: inline-block;
    margin-right: var(--pb-mlb-sm);
    font-size: 10px;
    transition: transform 0.2s;
}

.pb-mlb-schedule__accordion[open] summary::before {
    transform: rotate(90deg);
}

.pb-mlb-schedule__accordion .pb-mlb-schedule__games {
    padding-top: var(--pb-mlb-xs);
}

/* ---- Standings ---- */

.pb-mlb-standings__header {
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-standings__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-standings__tabs {
    display: flex;
    gap: var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-md);
    margin-bottom: var(--pb-mlb-md);
    border-bottom: 1px solid var(--pb-mlb-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-mlb-standings__division {
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-standings__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 500px;
    table-layout: fixed;
}

/* Explicit percent widths summing to 100 so every division's
   columns line up regardless of division name length. */
.pb-mlb-standings__table col.pb-mlb-standings__col--rank { width: 5%; }
.pb-mlb-standings__table col.pb-mlb-standings__col--team { width: 25%; }
.pb-mlb-standings__table col.pb-mlb-standings__col--stat { width: 9%; }
.pb-mlb-standings__table col.pb-mlb-standings__col--streak { width: 7%; }

.pb-mlb-standings__th {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    padding: var(--pb-mlb-xs) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
    white-space: nowrap;
}

.pb-mlb-standings__th--division {
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: var(--pb-mlb-text);
}

.pb-mlb-standings__td {
    text-align: center;
    padding: var(--pb-mlb-xs) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-standings__td--rank {
    width: 24px;
    text-align: center;
    color: var(--pb-mlb-text-muted);
    font-weight: 600;
}

.pb-mlb-standings__td--team {
    text-align: left;
    font-weight: 600;
}

.pb-mlb-standings__td--streak {
    font-weight: 600;
}

.pb-mlb-standings__row--highlighted {
    background: var(--pb-mlb-highlight-color-light);
}

.pb-mlb-standings__row--highlighted .pb-mlb-standings__td--team {
    color: var(--pb-mlb-highlight-color);
    font-weight: 700;
}

.pb-mlb-standings__row:last-child .pb-mlb-standings__td {
    border-bottom: none;
}

/* Wild Card playoff cutoff — visual line between top 3 and the rest. */
.pb-mlb-standings__cutoff td {
    padding: 0;
    border-bottom: none;
}

.pb-mlb-standings__cutoff-line {
    height: 2px;
    background: #cc0000;
    margin: var(--pb-mlb-xs) 0;
}

/* ---- Injury Report ---- */

.pb-mlb-injuries__header {
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-injuries__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-injuries__summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--pb-mlb-sm);
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-injuries__card {
    background: var(--pb-mlb-bg-alt);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    padding: var(--pb-mlb-md);
    text-align: center;
}

.pb-mlb-injuries__card-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.pb-mlb-injuries__card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    letter-spacing: 0.5px;
}

/* Returning Soon */

.pb-mlb-injuries__returning {
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-injuries__section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-xs);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-injuries__returning-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--pb-mlb-sm);
}

.pb-mlb-injuries__returning-player {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-md);
    padding: var(--pb-mlb-md);
    background: var(--pb-mlb-bg);
    border: 1px solid var(--pb-mlb-border);
    border-left: 3px solid var(--pb-mlb-highlight-color);
    border-radius: var(--pb-mlb-radius);
}

.pb-mlb-injuries__headshot {
    border-radius: 50%;
    object-fit: cover;
    background: var(--pb-mlb-bg-alt);
    flex-shrink: 0;
}

.pb-mlb-injuries__returning-info {
    flex: 1;
    min-width: 0;
}

.pb-mlb-injuries__player-name {
    font-weight: 600;
    font-size: 15px;
}

.pb-mlb-injuries__player-meta {
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
}

/* IL Status Badges */

.pb-mlb-injuries__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
}

.pb-mlb-injuries__badge--d60 { background: var(--pb-mlb-il-60); }
.pb-mlb-injuries__badge--d15 { background: var(--pb-mlb-il-15); }
.pb-mlb-injuries__badge--d10 { background: var(--pb-mlb-il-10); }

/* Injury Table */

.pb-mlb-injuries__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-mlb-injuries__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pb-mlb-injuries__th {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    padding: var(--pb-mlb-xs) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
    white-space: nowrap;
}

.pb-mlb-injuries__th:first-child {
    text-align: left;
}

.pb-mlb-injuries__td {
    text-align: center;
    padding: var(--pb-mlb-sm) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
    vertical-align: middle;
}

.pb-mlb-injuries__td--player {
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-sm);
}

.pb-mlb-injuries__headshot--sm {
    width: 32px;
    height: 32px;
}

.pb-mlb-injuries__row:last-child .pb-mlb-injuries__td {
    border-bottom: none;
}

/* ---- Transactions ---- */

.pb-mlb-transactions__header {
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-transactions__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-transactions__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--pb-mlb-sm);
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-transactions__card {
    background: var(--pb-mlb-bg-alt);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    padding: var(--pb-mlb-md);
    text-align: center;
}

.pb-mlb-transactions__card--deadline {
    border-color: var(--pb-mlb-highlight-color);
    background: var(--pb-mlb-highlight-color-light);
}

.pb-mlb-transactions__card-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.pb-mlb-transactions__card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    letter-spacing: 0.5px;
}

.pb-mlb-transactions__section {
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-transactions__section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-xs);
    border-bottom: 1px solid var(--pb-mlb-border);
}

/* Trade Cards */

.pb-mlb-transactions__trade {
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    margin-bottom: var(--pb-mlb-md);
    overflow: hidden;
}

.pb-mlb-transactions__trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    background: var(--pb-mlb-bg-alt);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-transactions__trade-date {
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-transactions__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    background: var(--pb-mlb-text-muted);
    white-space: nowrap;
}

.pb-mlb-transactions__badge--trade { background: var(--pb-mlb-highlight-color); }
.pb-mlb-transactions__badge--des { background: #dc2626; }
.pb-mlb-transactions__badge--opt { background: #6366f1; }
.pb-mlb-transactions__badge--cu { background: #16a34a; }
.pb-mlb-transactions__badge--sfa { background: #0891b2; }
.pb-mlb-transactions__badge--clw { background: #d97706; }
.pb-mlb-transactions__badge--sc { background: #6b7280; }
.pb-mlb-transactions__badge--rel { background: #9333ea; }
.pb-mlb-transactions__badge--se { background: #059669; }
.pb-mlb-transactions__badge--asg { background: #0d9488; }
.pb-mlb-transactions__badge--out { background: #78716c; }
.pb-mlb-transactions__badge--num { background: #64748b; }

.pb-mlb-transactions__trade-body {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-md);
    padding: var(--pb-mlb-md);
}

.pb-mlb-transactions__trade-player {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-sm);
    flex: 1;
}

.pb-mlb-transactions__headshot {
    border-radius: 50%;
    object-fit: cover;
    background: var(--pb-mlb-bg-alt);
    flex-shrink: 0;
}

.pb-mlb-transactions__player-name {
    font-weight: 600;
}

.pb-mlb-transactions__trade-teams {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-sm);
    font-weight: 600;
    white-space: nowrap;
}

.pb-mlb-transactions__arrow {
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-transactions__trade-desc {
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
    border-top: 1px solid var(--pb-mlb-border);
    background: var(--pb-mlb-bg-alt);
    line-height: 1.4;
}

/* Other Activity List */

.pb-mlb-transactions__list {
    display: flex;
    flex-direction: column;
}

.pb-mlb-transactions__item {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-sm);
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    border-bottom: 1px solid var(--pb-mlb-border);
    font-size: 13px;
}

.pb-mlb-transactions__item:last-child {
    border-bottom: none;
}

.pb-mlb-transactions__item-desc {
    flex: 1;
    min-width: 0;
    color: var(--pb-mlb-text);
    line-height: 1.4;
}

.pb-mlb-transactions__item-date {
    color: var(--pb-mlb-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.pb-mlb-transactions__accordion {
    margin-top: var(--pb-mlb-sm);
}

.pb-mlb-transactions__accordion summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: var(--pb-mlb-text);
    list-style: none;
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    background: var(--pb-mlb-bg-alt);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    user-select: none;
    transition: background 0.15s;
}

.pb-mlb-transactions__accordion summary:hover {
    background: var(--pb-mlb-border);
}

.pb-mlb-transactions__accordion summary::-webkit-details-marker {
    display: none;
}

.pb-mlb-transactions__accordion summary::before {
    content: '\25B6';
    display: inline-block;
    margin-right: var(--pb-mlb-sm);
    font-size: 10px;
    transition: transform 0.2s;
}

.pb-mlb-transactions__accordion[open] summary::before {
    transform: rotate(90deg);
}

.pb-mlb-transactions__accordion .pb-mlb-transactions__list {
    padding-top: var(--pb-mlb-xs);
}

/* ---- Roster ---- */

.pb-mlb-roster__header {
    display: flex;
    align-items: baseline;
    gap: var(--pb-mlb-sm);
    margin-bottom: var(--pb-mlb-md);
    padding-bottom: var(--pb-mlb-sm);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
}

.pb-mlb-roster__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pb-mlb-roster__count {
    font-size: 14px;
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-roster__tabs {
    display: flex;
    gap: var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-md);
    margin-bottom: var(--pb-mlb-md);
    border-bottom: 1px solid var(--pb-mlb-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-mlb-roster__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-mlb-roster__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.pb-mlb-roster__th {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    padding: var(--pb-mlb-xs) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
    white-space: nowrap;
}

.pb-mlb-roster__th--player {
    text-align: left;
}

/* Sortable header indicator */
.pb-mlb-roster__th[data-sort] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.pb-mlb-roster__th[data-sort]:hover {
    color: var(--pb-mlb-text);
}

.pb-mlb-roster__th[data-sort]::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--pb-mlb-border);
    opacity: 0.4;
}

.pb-mlb-sortable__th--sorted {
    color: var(--pb-mlb-text);
}

.pb-mlb-sortable__th--sorted[data-sort-dir="asc"]::after {
    border-top: none;
    border-bottom: 4px solid var(--pb-mlb-text);
    opacity: 1;
}

.pb-mlb-sortable__th--sorted[data-sort-dir="desc"]::after {
    border-top: 4px solid var(--pb-mlb-text);
    border-bottom: none;
    opacity: 1;
}

.pb-mlb-roster__td {
    text-align: center;
    padding: var(--pb-mlb-sm) var(--pb-mlb-sm);
    border-bottom: 1px solid var(--pb-mlb-border);
    vertical-align: middle;
}

.pb-mlb-roster__td--player {
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-sm);
}

.pb-mlb-roster__headshot {
    border-radius: 50%;
    object-fit: cover;
    background: var(--pb-mlb-bg-alt);
    flex-shrink: 0;
}

.pb-mlb-roster__player-name {
    font-weight: 600;
    white-space: nowrap;
}

.pb-mlb-roster__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--pb-mlb-il-15);
    color: #fff;
}

.pb-mlb-roster__table[data-pb-mlb-roster-layout="hitting"] .pb-mlb-roster__th--pitching,
.pb-mlb-roster__table[data-pb-mlb-roster-layout="hitting"] .pb-mlb-roster__td--pitching,
.pb-mlb-roster__table[data-pb-mlb-roster-layout="pitching"] .pb-mlb-roster__th--hitting,
.pb-mlb-roster__table[data-pb-mlb-roster-layout="pitching"] .pb-mlb-roster__td--hitting {
    display: none;
}

.pb-mlb-roster__row[hidden] {
    display: none;
}

.pb-mlb-roster__row:nth-child(even) {
    background: var(--pb-mlb-bg-alt);
}

.pb-mlb-roster__row:last-child .pb-mlb-roster__td {
    border-bottom: none;
}

/* ---- Player Card ---- */

.pb-mlb-player-card {
    border: 1px solid var(--pb-mlb-border);
    border-top: 3px solid var(--pb-mlb-highlight-color);
    border-radius: var(--pb-mlb-radius);
    overflow: hidden;
    background: var(--pb-mlb-bg);
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-player-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--pb-mlb-lg);
    padding: var(--pb-mlb-lg);
    background: var(--pb-mlb-bg-alt);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-player-card__headshot {
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: var(--pb-mlb-bg);
    flex-shrink: 0;
    border: 2px solid var(--pb-mlb-border);
}

.pb-mlb-player-card__info {
    flex: 1;
    min-width: 0;
}

.pb-mlb-player-card__name {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
}

.pb-mlb-player-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--pb-mlb-text-muted);
    margin-bottom: var(--pb-mlb-md);
}

.pb-mlb-player-card__sep {
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-player-card__number {
    font-weight: 700;
    color: var(--pb-mlb-highlight-color);
}

.pb-mlb-player-card__bio-table {
    width: 100%;
    border-collapse: collapse;
}

.pb-mlb-player-card__bio-table tr {
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-player-card__bio-table tr:last-child {
    border-bottom: none;
}

.pb-mlb-player-card__bio-label {
    font-size: 14px;
    color: var(--pb-mlb-text-muted);
    padding: 6px 12px 6px 0;
    white-space: nowrap;
    text-transform: none;
}

.pb-mlb-player-card__bio-value {
    font-size: 15px;
    font-weight: 600;
    padding: 6px 24px 6px 0;
}

.pb-mlb-player-card__stats {
    padding: var(--pb-mlb-md) var(--pb-mlb-lg) var(--pb-mlb-lg);
}

.pb-mlb-player-card__stats-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--pb-mlb-text);
    margin: 0 0 var(--pb-mlb-md);
    border-bottom: 2px solid var(--pb-mlb-highlight-color);
    padding-bottom: var(--pb-mlb-sm);
}

.pb-mlb-player-card__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--pb-mlb-sm);
}

.pb-mlb-player-card__stat {
    text-align: center;
    padding: var(--pb-mlb-sm);
    background: var(--pb-mlb-bg-alt);
    border-radius: var(--pb-mlb-radius);
}

.pb-mlb-player-card__stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pb-mlb-player-card__stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    letter-spacing: 0.5px;
}

/* ---- Team Tag Page ---- */

.pb-mlb-team-tag {
    border: 1px solid var(--pb-mlb-border);
    border-top: 3px solid var(--pb-mlb-highlight-color);
    border-radius: var(--pb-mlb-radius);
    overflow: hidden;
    background: var(--pb-mlb-bg);
    margin-bottom: var(--pb-mlb-lg);
}

.pb-mlb-team-tag__record {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--pb-mlb-sm) var(--pb-mlb-md);
    padding: var(--pb-mlb-md) var(--pb-mlb-lg);
    background: var(--pb-mlb-bg-alt);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-team-tag__logo {
    object-fit: contain;
    flex-shrink: 0;
}

.pb-mlb-team-tag__record-text {
    font-size: 20px;
    font-weight: 700;
}

.pb-mlb-team-tag__record-detail {
    font-size: 14px;
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-team-tag__record-streak {
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--pb-mlb-radius);
    background: var(--pb-mlb-bg);
    border: 1px solid var(--pb-mlb-border);
}

.pb-mlb-team-tag__il-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--pb-mlb-radius);
    background: var(--pb-mlb-il-10);
    color: #fff;
}

.pb-mlb-team-tag__tabs {
    display: flex;
    gap: var(--pb-mlb-xs);
    padding: var(--pb-mlb-sm) var(--pb-mlb-lg);
    border-bottom: 1px solid var(--pb-mlb-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-mlb-team-tag__panel {
    padding: var(--pb-mlb-md) var(--pb-mlb-lg) var(--pb-mlb-lg);
}

.pb-mlb-team-tag__panel .pb-mlb-standings,
.pb-mlb-team-tag__panel .pb-mlb-schedule,
.pb-mlb-team-tag__panel .pb-mlb-roster,
.pb-mlb-team-tag__panel .pb-mlb-injuries,
.pb-mlb-team-tag__panel .pb-mlb-transactions {
    border: none;
    border-top: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
}

.pb-mlb-team-tag__body {
    display: flex;
    gap: var(--pb-mlb-lg);
    padding: var(--pb-mlb-md) var(--pb-mlb-lg) var(--pb-mlb-lg);
}

.pb-mlb-team-tag__games-col {
    flex: 1;
    min-width: 0;
}

.pb-mlb-team-tag__leaders-col {
    flex: 0 0 280px;
    min-width: 0;
}

.pb-mlb-team-tag__section {
    margin-bottom: var(--pb-mlb-md);
}

.pb-mlb-team-tag__section:last-child {
    margin-bottom: 0;
}

.pb-mlb-team-tag__section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pb-mlb-text-muted);
    margin: 0 0 var(--pb-mlb-sm);
    padding-bottom: var(--pb-mlb-xs);
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-team-tag__game {
    display: flex;
    align-items: center;
    gap: var(--pb-mlb-md);
    padding: var(--pb-mlb-sm) 0;
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-team-tag__game:last-child {
    border-bottom: none;
}

.pb-mlb-team-tag__game--last {
    gap: var(--pb-mlb-sm);
}

.pb-mlb-team-tag__game--last .pb-mlb-team-tag__game-opp {
    flex: none;
}

.pb-mlb-team-tag__decisions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pb-mlb-sm) var(--pb-mlb-md);
    padding: var(--pb-mlb-xs) 0;
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-team-tag__decision-label {
    font-weight: 600;
    color: var(--pb-mlb-text);
    margin-right: 3px;
}

.pb-mlb-team-tag__result-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--pb-mlb-radius);
    color: #fff;
}

.pb-mlb-team-tag__result-badge--win {
    background: var(--pb-mlb-win);
}

.pb-mlb-team-tag__result-badge--loss {
    background: var(--pb-mlb-loss);
}

.pb-mlb-team-tag__result-badge--tie {
    background: var(--pb-mlb-tie);
}

.pb-mlb-team-tag__game-score {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pb-mlb-team-tag__game-date {
    font-weight: 700;
    font-size: 14px;
    min-width: 80px;
}

.pb-mlb-team-tag__game-opp {
    flex: 1;
    font-weight: 600;
}

.pb-mlb-team-tag__game-time {
    font-size: 13px;
    white-space: nowrap;
}

.pb-mlb-team-tag__game-broadcast {
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
    font-style: italic;
    white-space: nowrap;
}

.pb-mlb-team-tag__game-actions {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.pb-mlb-team-tag__action-icon {
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.pb-mlb-team-tag__leader {
    display: flex;
    align-items: baseline;
    gap: var(--pb-mlb-sm);
    padding: 4px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-team-tag__leader:last-child {
    border-bottom: none;
}

.pb-mlb-team-tag__leader-name {
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-mlb-team-tag__leader-name a {
    color: var(--pb-mlb-text);
    text-decoration: none;
}

.pb-mlb-team-tag__leader-name a:hover {
    color: var(--pb-mlb-highlight-color);
    text-decoration: underline;
}

.pb-mlb-team-tag__leader-pos {
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    flex-shrink: 0;
}

.pb-mlb-team-tag__leader-stat {
    font-size: 13px;
    color: var(--pb-mlb-text-muted);
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

/* ---- Homepage Widget ---- */

.pb-mlb-widget {
    border: 1px solid var(--pb-mlb-border);
    border-top: 3px solid var(--pb-mlb-highlight-color);
    border-radius: var(--pb-mlb-radius);
    overflow: hidden;
    background: var(--pb-mlb-bg);
}

/* Games row: Next Game + Last Game side-by-side on desktop */
.pb-mlb-widget__games {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--pb-mlb-sm);
    padding: var(--pb-mlb-md);
}

.pb-mlb-widget__next-game,
.pb-mlb-widget__last-game {
    padding: var(--pb-mlb-sm) var(--pb-mlb-md);
    border: 1px solid var(--pb-mlb-border);
    border-radius: var(--pb-mlb-radius);
    min-width: 0;
}

.pb-mlb-widget__game-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pb-mlb-highlight-color);
    margin-bottom: 6px;
}

.pb-mlb-widget__game-matchup {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pb-mlb-widget__opp-logo {
    flex-shrink: 0;
    object-fit: contain;
}

.pb-mlb-widget__game-opp {
    font-weight: 700;
    font-size: 17px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-mlb-widget__game-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pb-mlb-text-muted);
    margin-bottom: 8px;
}

.pb-mlb-widget__game-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pb-mlb-widget__btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    background: var(--pb-mlb-highlight-color);
    color: var(--pb-mlb-highlight-text) !important;
    transition: opacity 0.15s;
}

.pb-mlb-widget__btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: var(--pb-mlb-highlight-text) !important;
}

.pb-mlb-widget__schedule-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-mlb-highlight-color);
    text-decoration: none;
}

.pb-mlb-widget__schedule-link:hover {
    text-decoration: underline;
}

/* Last Game */

.pb-mlb-widget__last-result {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pb-mlb-widget__result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    color: #fff;
}

.pb-mlb-widget__result-badge--win { background: var(--pb-mlb-win); }
.pb-mlb-widget__result-badge--loss { background: var(--pb-mlb-loss); }
.pb-mlb-widget__result-badge--tie { background: var(--pb-mlb-tie); }

.pb-mlb-widget__last-opp {
    font-size: 15px;
    font-weight: 500;
}

.pb-mlb-widget__last-score {
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Season Stats */

.pb-mlb-widget__stats,
.pb-mlb-widget__leaders {
    padding: 0 var(--pb-mlb-md) var(--pb-mlb-md);
}

.pb-mlb-widget__section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pb-mlb-highlight-color);
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--pb-mlb-border);
}

.pb-mlb-widget__stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.pb-mlb-widget__stat {
    text-align: center;
    padding: 10px 6px;
    background: var(--pb-mlb-bg-alt);
    border-radius: var(--pb-mlb-radius);
    min-width: 0;
}

.pb-mlb-widget__stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

.pb-mlb-widget__stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pb-mlb-text-muted);
    letter-spacing: 0.3px;
}

/* Leaders — two columns: Hitting + Pitching */

.pb-mlb-widget__leaders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--pb-mlb-lg);
}

.pb-mlb-widget__leader-col {
    min-width: 0;
}

.pb-mlb-widget__leader-list {
    display: flex;
    flex-direction: column;
}

.pb-mlb-widget__leader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--pb-mlb-border);
    font-size: 14px;
    min-width: 0;
}

.pb-mlb-widget__leader:last-child {
    border-bottom: none;
}

.pb-mlb-widget__leader-rank {
    width: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pb-mlb-text-muted);
    text-align: center;
    flex-shrink: 0;
}

.pb-mlb-widget__leader-headshot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--pb-mlb-bg-alt);
    flex-shrink: 0;
}

.pb-mlb-widget__leader-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pb-mlb-widget__leader-name {
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-mlb-widget__leader-meta {
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Missing element styles ---- */

/* Games Today: decision line items */
.pb-mlb-game__decision {
    white-space: nowrap;
}

/* Schedule: hero detail children */
.pb-mlb-schedule__hero-time {
    font-weight: 600;
}

.pb-mlb-schedule__hero-broadcast {
    font-weight: 600;
    color: var(--pb-mlb-text-muted);
}

/* Player Card: meta items */
.pb-mlb-player-card__position {
    font-weight: 600;
}

.pb-mlb-player-card__team {
    color: var(--pb-mlb-text);
}

/* Widget: game detail children */
.pb-mlb-widget__game-time {
    font-weight: 600;
}

.pb-mlb-widget__game-broadcast {
    font-weight: 600;
    color: var(--pb-mlb-text-muted);
}

/* Transactions: team labels in trade cards */
.pb-mlb-transactions__team-from,
.pb-mlb-transactions__team-to {
    font-weight: 700;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
    .pb-mlb-games-today__title,
    .pb-mlb-schedule__title,
    .pb-mlb-standings__title,
    .pb-mlb-injuries__title,
    .pb-mlb-transactions__title,
    .pb-mlb-roster__title {
        font-size: 18px;
    }

    .pb-mlb-game__abbr {
        font-size: 14px;
    }

    .pb-mlb-game__logo {
        width: 22px;
        height: 22px;
    }

    .pb-mlb-game__time {
        font-size: 13px;
    }

    .pb-mlb-game__venue,
    .pb-mlb-game__broadcast {
        font-size: 11px;
    }

    .pb-mlb-schedule__hero {
        padding: var(--pb-mlb-md);
    }

    .pb-mlb-schedule__hero-opponent {
        font-size: 16px;
    }

    .pb-mlb-schedule__game {
        grid-template-columns: 55px 1fr 25px 50px;
        font-size: 13px;
        padding: var(--pb-mlb-xs) var(--pb-mlb-sm);
    }

    .pb-mlb-schedule__game--future {
        grid-template-columns: 55px 1fr auto auto;
    }

    .pb-mlb-standings__table {
        font-size: 13px;
    }

    .pb-mlb-standings__th,
    .pb-mlb-standings__td {
        padding: var(--pb-mlb-xs) 4px;
    }

    .pb-mlb-standings__th--hide-mobile,
    .pb-mlb-standings__td--hide-mobile {
        display: none;
    }

    .pb-mlb-injuries__summary {
        grid-template-columns: 1fr;
    }

    .pb-mlb-injuries__th--hide-mobile,
    .pb-mlb-injuries__td--hide-mobile {
        display: none;
    }

    .pb-mlb-injuries__table {
        font-size: 13px;
    }

    .pb-mlb-transactions__trade-body {
        flex-direction: column;
    }

    .pb-mlb-roster__table {
        font-size: 13px;
    }

    .pb-mlb-roster__th--hide-mobile,
    .pb-mlb-roster__td--hide-mobile {
        display: none;
    }

    .pb-mlb-player-card__stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--pb-mlb-xs);
    }

    .pb-mlb-player-card__stat-value {
        font-size: 16px;
    }

    .pb-mlb-widget__games {
        grid-template-columns: 1fr;
    }

    .pb-mlb-widget__stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pb-mlb-widget__leaders {
        grid-template-columns: 1fr;
        gap: var(--pb-mlb-md);
    }

    /* Team Tag Page — must stack on mobile */
    .pb-mlb-team-tag__body {
        flex-direction: column;
    }

    .pb-mlb-team-tag__leaders-col {
        flex: 1;
    }

    .pb-mlb-team-tag__record {
        flex-wrap: wrap;
    }

    .pb-mlb-team-tag__tabs {
        padding: var(--pb-mlb-sm);
    }

    .pb-mlb-team-tag__panel {
        padding: var(--pb-mlb-sm);
    }

    /* Player Card — stack on mobile */
    .pb-mlb-player-card__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pb-mlb-player-card__headshot {
        width: 120px;
        height: 120px;
    }

    .pb-mlb-player-card__meta {
        justify-content: center;
    }

    .pb-mlb-player-card__bio-table {
        text-align: left;
    }

    .pb-mlb-player-card__stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 480px) {
    .pb-mlb-team-tag__game {
        gap: var(--pb-mlb-sm);
        font-size: 13px;
    }

    .pb-mlb-team-tag__game-date {
        min-width: 60px;
        font-size: 13px;
    }

    .pb-mlb-team-tag__game-time,
    .pb-mlb-team-tag__game-broadcast {
        font-size: 12px;
    }

    .pb-mlb-team-tag__record {
        padding: var(--pb-mlb-sm);
        gap: var(--pb-mlb-xs) var(--pb-mlb-sm);
    }

    .pb-mlb-team-tag__record-text {
        font-size: 16px;
    }

    .pb-mlb-team-tag__record-detail {
        font-size: 12px;
    }

    .pb-mlb-team-tag__leader {
        font-size: 13px;
    }

    .pb-mlb-team-tag__decisions {
        font-size: 12px;
    }
}

@media (min-width: 601px) {
    .pb-mlb-games-today__section--live,
    .pb-mlb-games-today__section--final,
    .pb-mlb-games-today__section--upcoming {
        grid-template-columns: 1fr 1fr;
    }

    .pb-mlb-injuries__returning-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .pb-mlb-schedule__lists {
        flex-direction: row;
    }

    .pb-mlb-schedule__section {
        flex: 1;
        min-width: 0;
    }

    .pb-mlb-player-card__stats-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Venue (stadium) displays: shared typography + anchor-inside styling. */
.pb-mlb-game__venue,
.pb-mlb-widget__game-venue {
    font-size: 12px;
    color: var(--pb-mlb-text-muted);
}

/* Hero venue: no font-size — inherits hero typography. */
.pb-mlb-schedule__hero-venue {
    color: var(--pb-mlb-text-muted);
}

.pb-mlb-game__venue a,
.pb-mlb-schedule__hero-venue a,
.pb-mlb-widget__game-venue a,
.pb-mlb-game__broadcast a,
.pb-mlb-schedule__hero-broadcast a,
.pb-mlb-team-tag__game-broadcast a,
.pb-mlb-widget__game-broadcast a {
    color: inherit;
    text-decoration: none;
}

.pb-mlb-game__venue a:hover,
.pb-mlb-schedule__hero-venue a:hover,
.pb-mlb-widget__game-venue a:hover,
.pb-mlb-game__broadcast a:hover,
.pb-mlb-schedule__hero-broadcast a:hover,
.pb-mlb-team-tag__game-broadcast a:hover,
.pb-mlb-widget__game-broadcast a:hover {
    text-decoration: underline;
}
