/* ============================
   GLOBAL
============================ */

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #222;
}

h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

/* Containers */
.section {
    background: #fff;
    padding: 16px;
    margin: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ============================
   TICKER
============================ */

#ticker {
    background: #1e1e1e;
    color: #fff;
    padding: 10px;
    display: flex;
    overflow-x: auto;
    gap: 20px;
    font-size: 14px;
}

.ticker-item {
    white-space: nowrap;
    cursor: pointer;
    opacity: 0.85;
}

.ticker-item:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ============================
   CBS-STYLE SCOREBUG
============================ */

#scorebug {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e1e1e;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 18px;
    margin: 12px;
}

/* Team blocks */
.team {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
}

/* Team abbreviations */
.team-abbr {
    font-weight: bold;
    font-size: 20px;
}

/* Scores */
.team-score {
    font-size: 22px;
    font-weight: bold;
}

/* Game info block */
.game-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

/* Dynamic team colors */
.home {
    background: var(--home-color, #0033a0); /* default Bills blue */
}

.away {
    background: var(--away-color, #008e97); /* default Dolphins aqua */
}

/* ============================
   FIELD VIEW
============================ */

#field {
    background: #0b6623;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    margin: 12px;
}

#yardline {
    font-size: 24px;
    margin-top: 10px;
}

/* ============================
   DRIVE CHART
============================ */

#drive-chart {
    font-size: 14px;
    line-height: 1.4;
    margin: 12px;
}

/* ============================
   PLAY-BY-PLAY
============================ */

#play-by-play {
    font-size: 14px;
    line-height: 1.5;
    margin: 12px;
}

/* ============================
   PLAYER STATS
============================ */

#player-stats {
    font-size: 14px;
    margin: 12px;
}
