/* Shared homepage improvements apply to every theme; Classic base stays intact. */
.home-top-ten{font-size:11px;color:#71818e;white-space:nowrap}
.home-upcoming .session-date{min-height:0;line-height:1.4;padding:8px 10px;margin:0}
.home-session-deadline{text-align:center}
.home-current-seasons{margin-top:46px;padding:26px 24px;background:#f1f5f7;border:1px solid #d9e3e9;border-left:5px solid #718d9f;border-radius:8px;box-shadow:0 3px 12px #243e5110}
.home-current-seasons .home-season-art{width:86px;height:86px}
.home-season-links .button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.home-season-links .ui-icon{width:15px;height:15px;flex:none;margin:0}
.home-participation{padding-bottom:32px;border-bottom:0;margin-bottom:0}
@media(max-width:650px){.home-current-seasons{padding:20px 14px;margin-top:32px}.home-current-seasons .home-season-art{width:72px;height:72px}.home-season-links .button{white-space:normal}}
/* 0.8.9.14: preserve cards inside manual recent-activity carousels. */
.home-recent-carousel .carousel-track{align-items:stretch}
.home-recent-carousel .carousel-track>.home-card{flex:0 0 calc((100% - 48px)/3);margin:0;min-width:0;scroll-snap-align:start}
.home-recent-carousel .home-payout-card{display:flex;flex-direction:column}.home-recent-carousel .home-payout-card>.button{margin-top:auto}
.home-stat-picker{margin-top:12px}.bankroll-panel>summary{padding:16px 20px;font-size:17px;font-weight:600;cursor:pointer}.bankroll-panel>.panel-body{padding:20px}
/* One shared border prevents split heights and doubled seams in navbar search. */
.player-search .search-label{display:flex;align-items:stretch;gap:0;height:36px;border:1px solid #b9c7d1;border-radius:5px;background:#fff;overflow:hidden;margin:0}
.player-search .search-label .search-submit,.player-search .search-label input{height:34px;border:0!important;border-radius:0!important;margin:0;box-shadow:none}
.player-search .search-label .search-submit{display:flex;align-items:center;justify-content:center;width:38px;flex:0 0 38px;padding:0;background:#eaf0f4;color:#38546a;font-size:23px;border-right:1px solid #b9c7d1!important;line-height:1;cursor:pointer}
.player-search .search-label input{padding:5px 9px;min-width:0;line-height:24px;outline:none;background:transparent}
.player-search .search-label:focus-within{outline:2px solid #8daec5;outline-offset:2px}
.player-search .search-submit:hover{background:#dce7ee}.player-search .search-submit:focus-visible{outline:2px solid #527c99;outline-offset:-3px}
@media(max-width:1000px){.home-recent-carousel .carousel-track>.home-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:650px){.home-recent-carousel .carousel-track>.home-card{flex-basis:100%}}
.player-search .search-submit .ui-icon{width:18px;height:18px;margin:0;flex:none}
/* Header-aligned carousel controls and links below the cards. */
.home-section-heading .home-carousel-controls{margin:0;padding:0;flex:none;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.home-section-heading .carousel-arrow{position:static}
.home-carousel-footer{margin:12px 0 0;text-align:right;font-size:13px}
.home-participation{border-top:0}
.game-matchmaking{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 24px;border-bottom:1px solid var(--line);font-size:13px}
.matchmaking-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;font-size:19px;white-space:nowrap}
.copy-code-status{font-size:12px;color:var(--muted)}.copy-code-fallback{max-width:150px;margin:0}
/* Keep the position action visible without freezing the detail table cells. */
.career-skater-table>thead>tr>.position-action-cell,.career-skater-table>tbody>tr>.position-action-cell,.career-skater-table>tfoot>tr>.position-action-cell{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-3px 0 5px #0001;border-left:1px solid #d1d9df;min-width:120px;white-space:nowrap}
.career-skater-table>thead>tr>.position-action-cell{z-index:3;background:#f0f4f7}.career-skater-table>tfoot>tr>.position-action-cell{background:#f3f3f3}
.theme-modern-homepage .career-skater-table>tbody>tr>.position-action-cell{background:#fff}
.theme-modern-homepage .career-skater-table>thead>tr>.position-action-cell{background:#f0f4f7}
.theme-modern-homepage-dark .career-skater-table>tbody>tr>.position-action-cell{background:#1c2935;border-color:#486071}
.theme-modern-homepage-dark .career-skater-table>thead>tr>.position-action-cell,.theme-modern-homepage-dark .career-skater-table>tfoot>tr>.position-action-cell{background:#283c4d;border-color:#486071}
.season-skater-stats,.season-goalie-stats{white-space:nowrap}


/* Full-width completed Season cards with a compact podium summary. */
.home-champions .carousel-track>.home-champion-card{flex:0 0 100%;min-width:0;box-sizing:border-box}
.home-champion-heading{margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #dce0e4}.home-champion-heading h3{margin:0}.home-champion-heading p{margin:6px 0 0}
.home-champion-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:28px;text-align:center}
.home-champion-winner{display:flex;align-items:center;justify-content:center;gap:18px;min-width:0}.home-champion-winner>div{min-width:0}
.home-champion-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover}
.home-champion-badge{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700}.home-champion-badge .ui-icon{width:20px;height:20px}
.home-champion-winner h3{margin:10px 0;font-size:24px;overflow-wrap:anywhere}.home-champion-chips{font-size:28px}.home-champion-chips .chip-inline{width:26px;height:26px}
.home-champion-runners{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:13px;width:100%;max-width:300px;justify-self:center;text-align:left}.home-champion-runners li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px}.home-champion-runners a{overflow-wrap:anywhere}.home-champion-runners li>span:last-child{white-space:nowrap}.home-champion-place{color:#76818d;font-weight:700}
.home-champion-links{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;max-width:220px;justify-self:center}.home-champions .home-champion-links .button{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;text-align:center;box-sizing:border-box;width:100%;min-height:44px;padding:10px 16px;font-size:14px;line-height:1.4}
.season-selector .completed-season-options,.season-selector .completed-season-option{color:#68717d}
.theme-modern-homepage-dark .season-selector .completed-season-options,.theme-modern-homepage-dark .season-selector .completed-season-option{color:#a0a9b7}
@media(max-width:1000px) and (min-width:601px){.home-champion-winner{flex-direction:column;gap:12px}}
@media(max-width:600px){.home-champion-summary{grid-template-columns:1fr}.home-champion-links{grid-column:auto}.home-champion-winner h3{font-size:22px}}

.theme-modern-homepage-dark .home-champion-heading{border-bottom-color:#3b4e5f}

/* Standalone logo fallback and compact winning-slip cards. */
.home-standalone-logo{display:block;max-width:100%;width:350px;height:auto;margin:auto}
.home-payout-card .home-card-identity{gap:10px;align-items:center;margin-bottom:10px}
.home-payout-card .home-game-art{width:40px;height:40px}.home-payout-card .home-game-art .ui-icon{width:24px;height:24px}
.home-payout-card .home-card-identity>div:not(.home-scorebug){flex:1}
.home-payout-scorebug{margin-left:auto;text-align:center;min-width:0;flex-shrink:0}
.home-payout-scorebug>div{justify-content:center;gap:4px;padding:6px 8px}
.home-payout-scorebug .home-net-win{margin:0;flex-wrap:nowrap;font-size:18px!important}
.home-payout-scorebug .home-net-win strong{font-size:18px}.home-payout-scorebug .home-net-win img{width:18px;height:18px}
.home-payout-card .home-payout-detail{font-size:11px;margin:0 0 12px}
.home-payout-card>.button{margin-top:auto;font-size:12px}

/* Payout details share the player text column; five-digit winnings stay intact. */
.home-payout-card .home-card-identity{gap:8px}
.home-payout-card .home-card-identity>div:not(.home-scorebug){min-width:0;overflow-wrap:anywhere}
.home-payout-card .home-payout-detail{margin:6px 0 0;line-height:1.4}
.home-payout-card .home-payout-scorebug{min-width:94px;flex:0 0 auto}
.home-payout-card .home-payout-scorebug strong{white-space:nowrap;font-variant-numeric:tabular-nums}

/* 0.9.1 card refinements. */
.home-payout-session{display:flex;align-items:center;gap:5px;min-width:0}
.home-payout-session-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.home-game-number{display:inline-block;flex:none;padding:2px 5px;border-radius:4px;background:#e7edf1;color:#526773;font-size:10px;line-height:1.2;font-weight:700;white-space:nowrap}
.home-payout-card .home-payout-scorebug .home-net-win,.home-payout-card .home-payout-scorebug strong{font-size:16px!important}
.home-game-card,.home-champion-card{border-top:3px solid #b9c9be}
.theme-modern-homepage-dark .home-game-number{background:#2b4356;color:#cfdfeb}
.theme-modern-homepage-dark .home-game-card,.theme-modern-homepage-dark .home-champion-card,.theme-modern-homepage-dark .home-payout-card{border-top-color:#557363}
