/* ===== SCHEDULE STORIES ===== */
.fb-stories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fb-stories-scroll::-webkit-scrollbar {
    display: none;
}

.fb-story-card {
    flex: 0 0 auto;
    width: 130px;
    height: 160px;
    background: var(--bg-card);
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.fb-story-card:hover {
    border-color: var(--pink);
    transform: translateY(-2px);
}

.fb-story-card.league {
    border-color: var(--teal);
}

.fb-story-card.tournament {
    border-color: var(--yellow);
}

.fb-story-card.today {
    border-color: var(--pink);
    background: linear-gradient(135deg, rgba(255,70,154,0.2), var(--bg-card));
}

.fb-story-card.completed {
    opacity: 0.85;
}

.fb-story-card.past {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    opacity: 0.7;
}

.fb-story-card.past .fb-story-event,
.fb-story-card.past .fb-story-week,
.fb-story-card.past .fb-story-date,
.fb-story-card.past .fb-story-opponent,
.fb-story-card.past .fb-story-record {
    color: #a0aec0;
}

.fb-story-week {
    font-size: 9px;
    color: var(--pink);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.fb-story-date {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.fb-story-day {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--text-light);
    line-height: 1;
}

.fb-story-opponent {
    font-size: 11px;
    color: var(--teal);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.fb-story-card.completed .fb-story-opponent {
    color: var(--text-light);
}

.fb-story-stats {
    font-size: 9px;
    color: var(--text-dim);
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.fb-story-stats .home-avg {
    color: var(--pink);
}

.fb-story-stats .away-avg {
    color: var(--teal);
}

.fb-story-record {
    font-size: 9px;
    color: var(--text-dim);
    margin-top: 2px;
}

.fb-story-score {
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    margin-top: 4px;
}

.fb-story-score .winner {
    color: var(--yellow);
}

.fb-story-score .loser {
    color: var(--text-dim);
}

.fb-story-status {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.fb-story-status.scheduled {
    background: rgba(145, 215, 235, 0.2);
    color: var(--teal);
}

.fb-story-status.today-status {
    background: rgba(255, 70, 154, 0.3);
    color: var(--pink);
}

.fb-story-status.past-status {
    background: rgba(113, 128, 150, 0.3);
    color: #a0aec0;
}

.fb-story-status.completed {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.fb-story-event {
    font-size: 10px;
    color: var(--teal);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-story-card.today .fb-story-event {
    color: var(--pink);
    font-weight: 600;
}

.fb-see-all-link {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--teal);
    text-decoration: none;
    padding: 2px 8px 4px;
}

.fb-see-all-link:hover {
    text-decoration: underline;
}

/* ===== MATCH NIGHT BANNER ===== */
.match-night-banner {
    background: var(--bg-panel);
    color: var(--text-light);
    border: 3px solid var(--yellow);
    border-radius: 8px;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    overflow: hidden;
}
.match-night-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    background: rgba(0,0,0,0.4);
    padding: 8px 14px;
    border-bottom: 1px solid rgba(253, 216, 53, 0.2);
}
/* Centered matchup header - match-hub style */
.match-night-matchup-header {
    padding: 14px 16px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.match-night-league-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}
.match-night-matchup {
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    color: var(--text-light);
    letter-spacing: 1.5px;
    line-height: 1.1;
    text-transform: uppercase;
}
.match-night-matchup-vs {
    font-size: 18px;
    color: var(--text-dim);
    letter-spacing: 3px;
}
.match-night-time {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}
/* Roster grid */
.match-night-roster {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.match-night-roster-team-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 10px;
}
.match-night-roster-left .match-night-roster-team-header {
    justify-content: flex-start;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.match-night-roster-right .match-night-roster-team-header {
    justify-content: flex-end;
}
.mn-standing-badge {
    background: var(--pink);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10px;
}
.mn-record {
    color: #888;
    font-size: 10px;
}
.mn-avg {
    color: var(--text-dim);
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.match-night-roster-player {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 11px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.match-night-roster-player:last-child {
    border-bottom: none;
}
.match-night-roster-left .match-night-roster-player {
    justify-content: space-between;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.match-night-roster-right .match-night-roster-player {
    justify-content: space-between;
    flex-direction: row-reverse;
}
.match-night-roster-name {
    color: var(--text-light);
    flex: 0 0 auto;
}
.match-night-roster-stats {
    color: var(--text-dim);
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.match-night-roster-stats .better {
    color: var(--green);
}
.match-night-roster-stats .worse {
    color: var(--danger);
}
/* Buttons footer - flat, no border-radius (card handles rounding) */
.match-night-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid rgba(255,255,255,0.08);
}
.match-night-btn {
    padding: 13px 16px;
    border: none;
    border-radius: 0;
    font-family: 'Bebas Neue', cursive;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s;
    background: rgba(0,0,0,0.2);
    color: var(--text-dim);
}
.match-night-btn:first-child {
    border-right: 1px solid rgba(255,255,255,0.08);
}
.match-night-btn.confirm {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.match-night-btn.confirm:hover {
    background: rgba(34, 197, 94, 0.22);
}
.match-night-btn.cant-make {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.match-night-btn.cant-make:hover {
    background: rgba(239, 68, 68, 0.22);
}
.match-night-btn.confirm.selected {
    background: rgba(34, 197, 94, 0.35);
    color: #22c55e;
    font-weight: 700;
    box-shadow: inset 0 -3px 0 #22c55e;
}
.match-night-btn.cant-make.selected {
    background: rgba(239, 68, 68, 0.35);
    color: #ef4444;
    font-weight: 700;
    box-shadow: inset 0 -3px 0 #ef4444;
}

/* Captain Section */
.match-night-captain {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.match-night-captain-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--pink);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.match-night-status-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.match-night-status-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.match-night-status-item.confirmed {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
}
.match-night-status-item.declined {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
}
.match-night-status-item.pending {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}
.match-night-status-icon {
    font-size: 11px;
}
.match-night-captain-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 70, 154, 0.12);
    color: var(--pink);
    font-family: 'Bebas Neue', cursive;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 70, 154, 0.35);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.match-night-captain-btn:hover {
    background: rgba(255, 70, 154, 0.25);
}

.schedule-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px 10px;
    font-size: 11px;
    color: var(--text-muted, #888);
    font-family: 'Inter', sans-serif;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.legend-dot.league { background: var(--teal, #91D7EB); }
.legend-dot.community { background: #2D8B46; }
.legend-dot.tournament { background: var(--pink, #FF469A); }
