.pg-sports-guide { --al: #355f81; --nl: #996524; }
.pg-champions { position: relative; border-top: 3px solid #263e55; border-bottom: 1px solid var(--line); padding: 24px 0; }
.pg-champions-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.pg-champions-heading h2 { font-size: 1.65rem; margin: 0; font-variant-numeric: tabular-nums; }
.pg-champions-heading h2 span { font-size: .8rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }
.pg-league-key { display: flex; gap: 18px; font-size: .72rem; margin: 0; }
.pg-league-key span { border-bottom: 3px solid; padding-bottom: 4px; }
.pg-league-al { color: var(--al); }
.pg-league-nl { color: var(--nl); }
.pg-champions-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.pg-franchise-board { border-right: 1px solid var(--line); padding-right: 18px; }
.pg-franchise-board h3 { font-size: .85rem; margin: 0 0 12px; }
.pg-franchise-board h3 span { display: block; font: .68rem var(--mono); color: var(--ink-soft); margin-top: 6px; }
.pg-franchise-board ol { padding: 0; margin: 0; list-style: none; }
.pg-franchise-board button[data-franchise] { display: grid; grid-template-columns: 20px 1fr auto; gap: 7px; align-items: center; text-align: left; width: 100%; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .76rem; }
.pg-franchise-board button:hover, .pg-franchise-board button[aria-pressed=true] { background: #e9f0f6; color: #193b58; }
.pg-franchise-board strong { font: 1.1rem Georgia, serif; }
.pg-franchise-rank { font: .64rem var(--mono); color: var(--ink-soft); }
.pg-franchise-board .project-caption { margin-top: 22px; }
.pg-franchise-summary { font-size: .78rem; min-height: 2.9em; margin: 0 0 12px; color: #304e66; line-height: 1.5; }
.pg-champions-decade { margin-bottom: 12px; }
.pg-champions-decade h3 { margin: 0 0 6px; font: .72rem var(--mono); color: var(--ink-soft); }
.pg-decade-tiles { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.pg-season-tile { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 7px 3px 0; min-height: 95px; border: 1px solid #cdd8e0; border-radius: 3px; background: #f6f8fa; color: #243f55; text-align: center; cursor: pointer; transition: background .15s, opacity .15s, box-shadow .15s; }
.pg-season-year { font: .7rem var(--mono); }
.pg-season-name { font-size: .65rem; line-height: 1.25; margin: 7px 0 4px; overflow-wrap: anywhere; }
.pg-season-score { font-size: .65rem; margin-top: auto; padding-bottom: 5px; }
.pg-season-league { font: .55rem var(--mono); background: var(--al); color: white; margin: 0 -3px; border-radius: 0 0 2px 2px; padding: 2px 0; }
[data-league=NL] .pg-season-league { background: var(--nl); }
.pg-season-missing { border-style: dashed; background: transparent; }
.pg-season-missing .pg-season-league { background: #637384; }
.pg-season-tile:hover, .pg-season-tile[aria-expanded=true] { background: #e1ecf5; box-shadow: inset 0 0 0 2px #355f81; }
.pg-season-tile.pg-is-dimmed { background: #fff; color: #607181; border-color: #dce3e9; }
.pg-season-tile.pg-is-dimmed .pg-season-league { background: #637585; }
.pg-season-tile.pg-is-selected { background: #e1ecf5; box-shadow: inset 0 0 0 1px #355f81; }
.pg-season-tile.pg-is-dimmed:hover, .pg-season-tile.pg-is-dimmed:focus-visible { opacity: 1; }
.pg-season-detail { position: absolute; z-index: 100; width: 340px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; background: #fff; border: 1px solid #8da6bb; border-radius: 8px; box-shadow: 0 12px 38px #182f4a30; color: #243b50; }
.pg-season-detail .eyebrow { font-size: .65rem; margin: 0 36px 8px 0; line-height: 16px; }
.pg-season-detail h3 { font-size: 1.2rem; margin: 0 22px 10px 0; margin-right: 38px; line-height: 24px; }
.pg-season-detail p { font-size: .8rem; margin: 8px 0 0; }
.pg-detail-close { position: absolute; top: 34px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: #edf2f6; border-radius: 50%; color: #243b50; cursor: pointer; }
.pg-sports-support { display: grid; grid-template-columns: 1.4fr 1fr; gap: 42px; padding: 42px 0; }
.pg-sports-support figure { margin: 0; min-width: 0; }
.pg-sports-support h2 { font-size: 1.5rem; margin-bottom: 22px; }
.pg-sports-support figcaption { font-size: .77rem; color: var(--ink-soft); margin-top: 18px; }
.pg-decade-columns { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-decade-column { flex: 1 0 30px; max-width: 54px; text-align: center; font-size: .56rem; }
.pg-column-pair { height: 156px; display: flex; gap: 2px; align-items: flex-end; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.pg-column-pair > div { position: relative; height: var(--height); min-height: 2px; background: currentColor; flex: 1; }
.pg-column-pair b { position: absolute; bottom: calc(100% + 3px); left: 0; right: 0; font-size: .62rem; font-weight: 500; color: var(--ink); }
.pg-column-pair span { position: absolute; bottom: 5px; left: 0; right: 0; font-size: .5rem; color: white; }
.pg-length-columns { height: 180px; display: flex; gap: 14px; align-items: stretch; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.pg-length-columns > div { flex: 1; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.pg-length-columns > div > div { width: 100%; height: var(--height); background: #53786c; max-width: 48px; border-radius: 3px 3px 0 0; }
.pg-length-columns strong { position: absolute; top: -20px; font: .8rem var(--mono); }
.pg-length-columns span { position: absolute; bottom: -27px; font-size: .65rem; white-space: nowrap; }
.pg-sports-recipe { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin-top: 32px; }
.pg-pivot-preview { padding: 22px; background: #f1f5f8; align-self: start; border: 1px solid var(--line); }
@media (max-width: 900px) {
    .pg-champions-layout { grid-template-columns: 145px minmax(0, 1fr); gap: 16px; }
    .pg-franchise-board { padding-right: 10px; }
    .pg-season-name { font-size: .55rem; }
    .pg-sports-support, .pg-sports-recipe { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .pg-champions-layout { display: block; }
    .pg-franchise-board { border: 0; padding: 0 0 16px; }
    .pg-franchise-board ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
    .pg-franchise-board h3 span { display: inline; margin-left: 8px; }
    .pg-franchise-board .project-caption { margin: 12px 0 0; }
    .pg-franchise-summary { padding: 12px; background: #edf3f7; border-left: 2px solid var(--al); }
    .pg-decade-tiles { gap: 3px; }
    .pg-season-tile { min-height: 42px; padding: 7px 1px 0; justify-content: space-between; }
    .pg-season-year { font-size: .64rem; }
    .pg-year-century, .pg-season-name, .pg-season-score { display: none; }
    .pg-season-league { margin: 4px -1px 0; font-size: .49rem; }
    .pg-season-missing .pg-season-year { text-decoration: line-through; }
    .pg-champions-decade { margin-bottom: 10px; }
    .pg-champions-decade h3 { font-size: .65rem; }
    .pg-sports-support { gap: 40px; }
    .pg-decade-columns { gap: 9px; }
    .pg-decade-column { flex-basis: 32px; }
    .pg-column-pair { height: 105px; }
    .pg-sports-recipe { gap: 22px; }
    .pg-season-detail { padding: 18px; }
    .pg-detail-close { top: 32px; }
}

@media (max-width: 767px) {
    .pg-season-detail { position: relative; width: 100%; max-width: 100%; max-height: none; margin: 12px 0 18px; overflow: visible; }
}

.pg-detail-close .site-icon { display: block; width: 20px; height: 20px; margin: 0; }
.pg-detail-close[hidden] { display: none; }
