/* /css/team.css */

/* Page-specific styles for team page */
.team-header-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.team-main-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50% !important;
    border: 3px solid #ddd;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.team-details h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.team-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.gm-info {
    font-size: 1.1rem;
    color: #007bff;
    font-weight: 500;
    transition: color 0.3s;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #ddd;
    transition: background-color 0.3s, border-color 0.3s;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.stat-rank {
    font-size: 0.8rem;
    color: #007bff;
    margin-top: 0.3rem;
    font-weight: 500;
    transition: color 0.3s;
}

.positive { color: #28a745; }
.negative { color: #dc3545; }

.stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 6px;
}

.stat-card-link .stat-card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.stat-card-link:hover .stat-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.pick-origin-stats.unlinked {
    color: inherit;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.roster-section, .schedule-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: fit-content;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.schedule-section { min-height: 600px; }

.section-header {
    background-color: #333;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.section-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.roster-list, .games-list { padding: 0; }

.roster-header {
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
    font-size: 0.9rem;
    color: #666;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.roster-header .header-player { text-align: left; padding-left: 0; }
.roster-header .header-rel, .roster-header .header-war { text-align: center; padding-right: 0; }
.roster-header .sortable { cursor: pointer; transition: color 0.2s; }
.roster-header .sortable:hover { color: #007bff; }
.roster-header .sort-indicator { display: inline-block; margin-left: 5px; width: 1em; }
.roster-content { padding: 0; }

.player-item {
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s, border-color 0.3s;
}

.roster-player-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-item:hover { background-color: #f8f9fa; }
.player-item:last-child { border-bottom: none; }

.player-info { display: flex; flex-direction: column; min-width: 0; padding-left: 0; }
.player-rel, .player-war { font-weight: bold; font-size: 1.1rem; color: #333; text-align: center; min-width: 80px; padding-right: 0; transition: color 0.3s; }

.player-name {
    font-weight: 500;
    font-size: 1.1rem;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.player-name:hover { color: #0056b3; text-decoration: underline; }
.player-stats { font-size: 0.9rem; color: #666; margin-top: 0.2rem; transition: color 0.3s; }
.games-list { padding: 1.5rem; max-height: none; overflow-y: visible; }

.game-item {
    display: flex;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
    margin-left: 0;
    position: relative;
    min-height: 70px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.game-item:hover { background-color: #f8f9fa; }
.game-item:last-child { border-bottom: none; }

.game-info-table {
    display: grid;
    grid-template-rows: 1fr 1fr;
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    flex-shrink: 0;
    border-right: 1px solid #ddd;
    background-color: #f8f9fa;
    transition: background-color 0.3s, border-color 0.3s;
}

.week-cell { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #ddd; padding: 0.5rem; transition: border-color 0.3s; }
.date-cell { display: flex; align-items: center; justify-content: center; padding: 0.5rem; }

.game-content-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem;
    flex: 1;
    background-color: #fff;
    gap: 1rem;
    transition: background-color 0.3s;
}

.team-section { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.team-section.left { justify-content: flex-start; }
.team-section.right { justify-content: flex-end; flex-direction: row-reverse; }

.team-details { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.team-details.right { text-align: right; }

.scores-section { display: flex; align-items: center; gap: 0.75rem; font-weight: bold; font-size: 1.1rem; white-space: nowrap; min-width: 120px; justify-content: center; }
.score { min-width: 40px; text-align: center; }
.vs-text { color: #666; font-weight: 500; font-size: 1rem; transition: color 0.3s; }

.team-name-game { font-weight: 500; font-size: 0.95rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-name-game a { color: inherit; text-decoration: none; }
.team-name-game a:hover { text-decoration: underline; }
.team-record-game { font-size: 0.8rem; color: #666; line-height: 1; margin-top: 0.2rem; white-space: nowrap; transition: color 0.3s; }

.win { color: #28a745; }
.loss { color: #333; }
.upcoming { color: #333; font-weight: 500; }
.team-matchup, .team, .team-info, .vs { display: none; }
.game-matchup .week-badge { display: none; }

.week-badge {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.date-badge { font-size: 0.65rem; color: #666; font-weight: 500; transition: color 0.3s; }

.draft-capital {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.picks-list { padding: 1.5rem; max-height: 400px; overflow-y: auto; }

.pick-item-enhanced {
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s, border-color 0.3s;
}

.pick-item-enhanced:hover { background-color: #f8f9fa !important; }
.pick-item-enhanced:last-child { border-bottom: none; }
.pick-main-info { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.pick-team-logo { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; }
.pick-text-content { min-width: 0; }
.pick-description { font-weight: 500; }
.pick-origin { color: #666; font-size: 0.8rem; transition: color 0.3s; }
.pick-origin a { color: #007bff; text-decoration: none; transition: color 0.3s; }
.pick-origin a:hover { text-decoration: underline; }
.pick-origin-stats { font-size: 0.75rem; color: #007bff; margin-left: 0.5rem; }
.pick-status { font-size: 0.8rem; color: #666; transition: color 0.3s; }
.pick-status-own { color: #28a745; font-weight: 500; }
.pick-item-enhanced.pick-forfeiture { background-color: #f8d7da; }

.season-group { box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 6px; overflow: hidden; }
.season-header { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }

.draft-capital .season-group .season-header .season-pick-count-badge {
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.draft-summary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    transition: background-color 0.3s, border-color 0.3s;
}

.draft-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
}

.draft-summary-value { font-size: 1.5rem; font-weight: bold; transition: color 0.3s; }
.draft-summary-label { font-size: 0.9rem; color: #666; transition: color 0.3s; }
.draft-summary-value.total { color: #333; }
.draft-summary-value.own { color: #28a745; }
.draft-summary-value.acquired { color: #007bff; }
.draft-summary-value.forfeiture { color: #dc3545; }

.game-item[onclick] { cursor: pointer; transition: all 0.3s ease; }
.game-item[onclick]:hover {
    background-color: #e8f5e8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.back-button {
    background-color: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    transition: background-color 0.3s;
}

.back-button:hover { background-color: #0056b3; text-decoration: none; color: white; }
.desktop-only-roster-logo { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* Reset admin-styles.css leakage on schedule section (needs .content-grid parent for specificity) */
.content-grid .schedule-section { padding: 0; }
.content-grid .schedule-section h3 { border-bottom: none; padding-bottom: 0; margin-bottom: 0; margin-top: 0; }

/* Consistent body outline on both sections */
.roster-list, .games-list { border: 1px solid #e5e7eb; border-radius: 8px; }

/* Dark Mode Styles */
.dark-mode .back-button { background-color: #3b82f6; }
.dark-mode .back-button:hover { background-color: #60a5fa; }
.dark-mode .team-header-content, .dark-mode .roster-section, .dark-mode .schedule-section, .dark-mode .draft-capital { background-color: #1e1e1e; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.dark-mode .content-grid .schedule-section { padding: 0; }
.dark-mode .content-grid .schedule-section h3 { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.dark-mode .roster-list, .dark-mode .games-list { border-color: #e5e7eb; }
.dark-mode .team-logo-large { border-color: #444; }
.dark-mode .team-subtitle, .dark-mode .stat-label, .dark-mode .player-stats, .dark-mode .team-record-game, .dark-mode .vs-text, .dark-mode .date-badge, .dark-mode .pick-origin, .dark-mode .pick-status, .dark-mode .draft-summary-label { color: #aaa; }
.dark-mode .gm-info, .dark-mode .stat-rank, .dark-mode .player-name, .dark-mode .pick-origin a { color: #8ab4f8; }
.dark-mode .stat-card { background-color: #2c2c2c; border-color: #444; }
.dark-mode .stat-value, .dark-mode .player-rel, .dark-mode .player-war { color: #e0e0e0; }
.dark-mode .positive { color: #66bb6a; }
.dark-mode .negative { color: #ef5350; }
.dark-mode .roster-header { background-color: #2c2c2c; border-bottom-color: #444; color: #bbb; }
.dark-mode .player-item { border-bottom-color: #333; }
.dark-mode .player-item:hover { background-color: #2c2c2c; }
.dark-mode .game-item, .dark-mode .game-content-table { background-color: #1e1e1e; border-bottom-color: #333; }
.dark-mode .game-item:hover { background-color: #2c2c2c !important; }
.dark-mode .game-info-table { background-color: #2c2c2c; border-right-color: #444; }
.dark-mode .week-cell { border-bottom-color: #444; }
.dark-mode .score.loss, .dark-mode .pick-origin { color: #e0e0e0; }
.dark-mode .team-name.loss, .dark-mode .team-score.loss { color: #ef5350; }
.dark-mode .team-name.upcoming, .dark-mode .team-score.upcoming { color: #e0e0e0; }
.dark-mode .pick-item-enhanced { border-bottom-color: #333; }
.dark-mode .pick-item-enhanced:hover { background-color: #2c2c2c !important; }
.dark-mode .pick-status-own { color: #66bb6a; }
.dark-mode .pick-item-enhanced.pick-forfeiture { background-color: #5d1c21; }
.dark-mode .draft-summary { background-color: #2c2c2c; border-color: #444; }
.dark-mode .draft-summary-value.total { color: #e0e0e0; }
.dark-mode .draft-summary-value.own { color: #66bb6a; }
.dark-mode .draft-summary-value.acquired { color: #8ab4f8; }
.dark-mode .draft-summary-value.forfeiture { color: #ef5350; }

/* Responsive Styles */
@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .team-main-info { flex-direction: column; gap: 1rem; }
    .team-details h2 { font-size: 1.8rem; }
    .team-logo-large { width: 80px; height: 80px; }
    .team-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .player-item { padding: 0.75rem; grid-template-columns: 1fr 80px !important; }
    .roster-header { grid-template-columns: 1fr 80px !important; }
    .desktop-only-roster-logo, .header-war, .player-war { display: none; }
    .game-item { padding: 0.75rem; margin-left: 0; position: relative; display: block; }
    .game-item .game-matchup { display: flex !important; }
    .game-item .game-info-table, .game-item .game-content-table { display: none !important; }

    .game-matchup .week-badge {
        display: flex !important;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        left: auto;
        transform: none;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        z-index: 2;
        background-color: #007bff;
        color: white;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        border: 2px solid white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .game-matchup { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; margin-top: 0; padding-right: 35px; }
    .team { display: flex; align-items: center; gap: 0.5rem; min-width: auto; width: 100%; }
    .team-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
    .team-name { font-weight: 500; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
    .team-name:hover { text-decoration: underline; }
    .team-name.win { color: #28a745; }
    .team-name.loss { color: #dc3545; }
    .team-record { font-size: 0.8rem; color: #666; }
    .team-score { font-weight: bold; color: #333; margin-left: auto; min-width: 35px; text-align: right; flex-shrink: 0; }
    .team-score.win { color: #28a745; }
    .team-score.loss { color: #dc3545; }
    .team-score.upcoming { color: #333; }
    .vs { display: none; }

    .pick-item-enhanced { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .pick-main-info { justify-content: center; }
    .pick-text-content { text-align: center; }
    .pick-description { display: block; margin: 0 auto; }
    .pick-origin { margin-top: 0.25rem; }
    .pick-status { align-self: flex-start; margin-top: 0.5rem; }

    .draft-capital .season-group .season-header { padding: 0.75rem 1rem; }
    .draft-capital .season-group .season-header > span:first-child { font-size: 0.9rem; margin-right: 8px; flex-grow: 1; flex-shrink: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .draft-capital .season-group .season-header .season-pick-count-badge { font-size: 0.8rem; padding: 0.2rem 0.5rem; }
}

@media (max-width: 480px) {
    .team-details h2 { font-size: 1.4rem; }
    .team-stats-grid { grid-template-columns: 1fr; }
    .player-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .player-rel { align-self: flex-end; }
}

/* ====================================================================== */
/* MODERN STYLE OVERRIDES (only apply when data-style-rollout="modern") */
/* ====================================================================== */

[data-style-rollout="modern"] .team-header-content,
[data-style-rollout="modern"] .roster-section,
[data-style-rollout="modern"] .schedule-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

[data-style-rollout="modern"] .roster-section,
[data-style-rollout="modern"] .roster-list,
[data-style-rollout="modern"] .roster-content {
    height: auto;
    max-height: none;
    overflow: visible;
}

[data-style-rollout="modern"] .team-logo-large {
    border-color: #e5e7eb;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

[data-style-rollout="modern"] .team-subtitle,
[data-style-rollout="modern"] .player-stats,
[data-style-rollout="modern"] .stat-label {
    color: #1f2937;
}

[data-style-rollout="modern"] .gm-info,
[data-style-rollout="modern"] .stat-rank,
[data-style-rollout="modern"] .player-name {
    color: #2563eb;
}

[data-style-rollout="modern"] .stat-card {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-color: #e5e7eb;
}

[data-style-rollout="modern"] .stat-value {
    color: #0f172a;
}

[data-style-rollout="modern"] .section-header {
    background: linear-gradient(135deg, #0f172a, #111d35);
    border-bottom: 1px solid #1f2937;
    box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.12);
}

[data-style-rollout="modern"] .roster-header {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-bottom-color: #e5e7eb;
    color: #111827;
}

[data-style-rollout="modern"] .player-item {
    border-bottom-color: #e5e7eb;
}

[data-style-rollout="modern"] .player-item:hover {
    background: linear-gradient(145deg, #f8fafc, #edf2ff);
}

[data-style-rollout="modern"] .player-rel,
[data-style-rollout="modern"] .player-war {
    color: #0f172a;
}

[data-style-rollout="modern"] .player-stats .stat-divider {
    background-color: #e5e7eb;
}

[data-style-rollout="modern"] .draft-capital .season-group {
    border-color: #e5e7eb;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

[data-style-rollout="modern"] .draft-capital {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

[data-style-rollout="modern"] .draft-capital .season-group .season-header {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-bottom-color: #e5e7eb;
    color: #0f172a;
}

[data-style-rollout="modern"] .draft-capital .season-group .season-header .season-pick-count-badge {
    background-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

[data-style-rollout="modern"] .draft-capital .season-group .season-picks {
    border: 1px solid #e5e7eb;
}

[data-style-rollout="modern"] .game-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-color: #e5e7eb;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

[data-style-rollout="modern"] .game-info-table,
[data-style-rollout="modern"] .game-content-table {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-color: #e5e7eb;
}

[data-style-rollout="modern"] .week-cell,
[data-style-rollout="modern"] .date-cell,
[data-style-rollout="modern"] .team-record-game,
[data-style-rollout="modern"] .vs-text {
    color: #0f172a;
}

[data-style-rollout="modern"] .game-item:hover {
    background: linear-gradient(145deg, #f8fafc, #edf2ff);
}

[data-style-rollout="modern"] .draft-capital .season-group .pick-item {
    border-bottom-color: #e5e7eb;
}

[data-style-rollout="modern"] header {
    background: linear-gradient(135deg, #0f172a, #111d35);
    border-bottom: 1px solid #1f2937;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

[data-style-rollout="modern"] footer {
    background: linear-gradient(135deg, #0f172a, #111d35);
    border-top: 1px solid #1f2937;
}

[data-style-rollout="modern"] footer a {
    color: #60a5fa;
}

[data-style-rollout="modern"] footer a:hover {
    color: #93c5fd;
}

[data-style-rollout="modern"].dark-mode .team-header-content,
[data-style-rollout="modern"].dark-mode .roster-section,
[data-style-rollout="modern"].dark-mode .schedule-section {
    background: linear-gradient(145deg, #1a1f2e, #1e2433);
    border-color: #2d3748;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

[data-style-rollout="modern"].dark-mode .roster-list,
[data-style-rollout="modern"].dark-mode .roster-content,
[data-style-rollout="modern"].dark-mode .player-item {
    background: linear-gradient(145deg, #111827, #0f172a);
}

[data-style-rollout="modern"].dark-mode .roster-list,
[data-style-rollout="modern"].dark-mode .games-list {
    border-color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .section-header {
    background: linear-gradient(135deg, #111827, #1b2435);
    border-bottom-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .team-logo-large {
    border-color: #2d3748;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

[data-style-rollout="modern"].dark-mode .team-subtitle,
[data-style-rollout="modern"].dark-mode .player-stats,
[data-style-rollout="modern"].dark-mode .stat-label {
    color: #cbd5e1;
}

[data-style-rollout="modern"].dark-mode .gm-info,
[data-style-rollout="modern"].dark-mode .stat-rank,
[data-style-rollout="modern"].dark-mode .player-name {
    color: #93c5fd;
}

[data-style-rollout="modern"].dark-mode .stat-card {
    background: linear-gradient(145deg, #111827, #0f172a);
    border-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .stat-value {
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .content-grid .section-header {
    background: linear-gradient(135deg, #111827, #1b2435);
    border-bottom-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .roster-header {
    background: linear-gradient(145deg, #111827, #0f172a);
    border-bottom-color: #2d3748;
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .player-item {
    border-bottom-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .player-item:hover {
    background: linear-gradient(145deg, #0b1220, #111827);
}

[data-style-rollout="modern"].dark-mode .player-rel,
[data-style-rollout="modern"].dark-mode .player-war {
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .player-stats .stat-divider {
    background-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .draft-capital .season-group {
    border-color: #2d3748;
    background: linear-gradient(145deg, #1a1f2e, #1e2433);
}

[data-style-rollout="modern"].dark-mode .draft-capital {
    background: linear-gradient(145deg, #1a1f2e, #1e2433);
    border-color: #2d3748;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

[data-style-rollout="modern"] .draft-summary {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .draft-summary {
    background: linear-gradient(145deg, #111827, #0f172a);
    border-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .draft-capital .season-group .season-header {
    background: linear-gradient(145deg, #111827, #0f172a);
    border-bottom-color: #2d3748;
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .draft-capital .season-group .season-header .season-pick-count-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .draft-capital .season-group .season-picks {
    border: 1px solid #2d3748;
}

[data-style-rollout="modern"].dark-mode .game-item {
    background: linear-gradient(145deg, #1a1f2e, #1e2433);
    border-color: #2d3748;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

[data-style-rollout="modern"].dark-mode .game-info-table,
[data-style-rollout="modern"].dark-mode .game-content-table {
    background: linear-gradient(145deg, #111827, #0f172a);
    border-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode .week-cell,
[data-style-rollout="modern"].dark-mode .date-cell,
[data-style-rollout="modern"].dark-mode .team-record-game,
[data-style-rollout="modern"].dark-mode .vs-text {
    color: #e5e7eb;
}

[data-style-rollout="modern"].dark-mode .game-item:hover {
    background: linear-gradient(145deg, #0b1220, #111827);
}

[data-style-rollout="modern"].dark-mode .draft-capital .season-group .pick-item {
    border-bottom-color: #2d3748;
}

[data-style-rollout="modern"].dark-mode footer {
    background: linear-gradient(135deg, #1a1f2e, #1e2433);
    border-top: 1px solid #2d3748;
}

[data-style-rollout="modern"].dark-mode footer a {
    color: #60a5fa;
}

[data-style-rollout="modern"].dark-mode footer a:hover {
    color: #93c5fd;
}