/**
 * Baseball Scoreboard - Public Styles
 * Classic LED Stadium Scoreboard Design
 *
 * @version 1.7.2
 * CHANGELOG
 * 1.7.2 (2026-10-30) - Bundled DSEG7 Classic for the LED digits.
 * 1.5.0 (2026-10-29) - Team sponsor cards.
 * 1.4.0 (2026-10-28) - Concessions: PayPal (blue P) + Venmo (white V)
 *                      buttons, Sold Out rows, pay-in-person note.
 * 1.2.0 (2026-10-28) - Rebrand: navy + Scoreboard.ing green. All colors and
 *                      fonts now come from the variables in :root below, so a
 *                      future re-skin is a 10-line edit. Amber kept as a
 *                      small accent only (VS badge, live dot).
 * 1.0.0 - Original amber/dark design.
 */

/* ============================================
   BRAND TOKENS — edit these to re-skin everything
   BEGINNER NOTE: var(--name) in the rules below reads these values.
   ============================================ */

/* LED digits: DSEG7 Classic by keshikan — SIL Open Font License 1.1,
   free for commercial use (license: public/fonts/DSEG-LICENSE.txt). */
@font-face {
    font-family: 'DSEG7 Classic';
    src: url('../fonts/DSEG7Classic-Bold.woff2') format('woff2');
    font-weight: 400 900;
    font-display: swap;
}

:root {
    --bsb-bg:          #111827;  /* page background */
    --bsb-surface:     #1E293B;  /* sections / cards */
    --bsb-border:      #334155;  /* section borders */
    --bsb-face:        #0b1220;  /* scoreboard face */
    --bsb-face-dark:   #05080f;
    --bsb-green:       #178508;  /* brand green (logo / topbar) */
    --bsb-green-dark:  #0f5c05;
    --bsb-led:         #3fd42a;  /* lit LED digits — brighter tint so small text reads on navy */
    --bsb-amber:       #FFB000;  /* accent only */
    --bsb-red:         #ef4444;
    --bsb-text:        #ffffff;
    --bsb-muted:       #94a3b8;
    --bsb-font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bsb-font-mono:   'DM Mono', ui-monospace, monospace;
    --bsb-font-led:    'DSEG7 Classic', 'DM Mono', ui-monospace, monospace;
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */

.bsb-scoreboard-page {
    margin: 0;
    padding: 0;
    background: var(--bsb-bg);
    min-height: 100vh;
    font-family: var(--bsb-font-body);
    color: #fff;
}

.bsb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   CUSTOM HEADER WITH TEAM LOGOS
   ============================================ */

.bsb-header {
    position: relative;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default gradient background */
.bsb-header-default {
    background: linear-gradient(135deg, var(--bsb-bg) 0%, var(--bsb-surface) 50%, var(--bsb-surface) 100%);
}

/* Custom image background */
.bsb-header-custom {
    background-size: cover;
    background-position: center center; /* Keep center focus */
    background-repeat: no-repeat;
     max-width: 1920px;
}
.bsb-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bsb-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Team Sections */
.bsb-header-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.bsb-header-away {
    justify-content: flex-start;
}

.bsb-header-home {
    justify-content: flex-end;
}

.bsb-team-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bsb-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bsb-team-info {
    text-align: left;
}

.bsb-header-home .bsb-team-info {
    text-align: right;
}

.bsb-team-name {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.bsb-team-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* VS Divider */
.bsb-header-vs {
    text-align: center;
    flex-shrink: 0;
}

.bsb-vs-badge {
    background: var(--bsb-amber);
    color: #111827 !important;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(23, 133, 8, 0.4);
    margin-bottom: 15px;
}

.bsb-game-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.bsb-location {
    font-size: 13px;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bsb-header {
        padding: 30px 15px;
        min-height: auto;
    }
    
    .bsb-header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .bsb-header-team {
        width: 100%;
        justify-content: center !important;
    }
    
    .bsb-team-info {
        text-align: center !important;
    }
    
    .bsb-team-logo {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
    
    .bsb-team-name {
        font-size: 24px;
    }
    
    .bsb-vs-badge {
        font-size: 20px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .bsb-team-logo {
        width: 60px;
        height: 60px;
    }
    
    .bsb-team-name {
        font-size: 20px;
    }
}

/* ============================================
   MAIN SCOREBOARD - THE STAR OF THE SHOW
   ============================================ */

.bsb-scoreboard-wrapper {
    margin-bottom: 40px;
}

.bsb-scoreboard {
    background: linear-gradient(145deg, var(--bsb-face), var(--bsb-face-dark));
    border: 6px solid var(--bsb-green);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

/* Team Names Column */
.bsb-team-names {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.bsb-label-cell {
    height: 40px;
    background: transparent;
}

.bsb-team-cell {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

/* Innings Grid */
.bsb-innings-grid {
    display: flex;
    gap: 8px;
    flex: 1;
}

.bsb-inning-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 60px;
}

.bsb-inning-label {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* LED SCORE CELLS - This is where the magic happens */
.bsb-score-cell {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bsb-font-led);
    font-size: 36px;
    font-weight: 900;
    background: #000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    
    /* LED glow effect */
    color: var(--bsb-led);
    text-shadow: 
        0 0 10px var(--bsb-led),
        0 0 20px var(--bsb-led),
        0 0 30px var(--bsb-green),
        0 0 40px var(--bsb-green);
    
    /* Inset effect for depth */
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.8),
        inset 0 -1px 2px rgba(23, 133, 8, 0.1);
    
    /* Animation for new scores */
    transition: all 0.3s ease;
}

.bsb-score-cell:empty::before {
    content: '-';
    color: var(--bsb-border);
    text-shadow: none;
}

/* Score update animation */
@keyframes scoreFlash {
    0%, 100% { 
        text-shadow: 
            0 0 10px var(--bsb-led),
            0 0 20px var(--bsb-led),
            0 0 30px var(--bsb-green),
            0 0 40px var(--bsb-green);
    }
    50% { 
        text-shadow: 
            0 0 20px var(--bsb-led),
            0 0 40px var(--bsb-led),
            0 0 60px var(--bsb-green),
            0 0 80px var(--bsb-green);
        transform: scale(1.1);
    }
}

.bsb-score-cell.bsb-updated {
    animation: scoreFlash 0.5s ease;
}

/* Totals Column */
.bsb-totals-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 80px;
    border-left: 3px solid var(--bsb-border);
    padding-left: 15px;
}

.bsb-total-label {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--bsb-led);
    background: rgba(23, 133, 8, 0.1);
    border-radius: 8px;
}

.bsb-total-score {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bsb-font-led);
    font-size: 48px;
    font-weight: 900;
    background: #000;
    border-radius: 8px;
    
    /* Brighter glow for totals */
    color: var(--bsb-led);
    text-shadow: 
        0 0 15px var(--bsb-led),
        0 0 30px var(--bsb-led),
        0 0 45px var(--bsb-green),
        0 0 60px var(--bsb-green);
    
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.8),
        inset 0 -1px 2px rgba(23, 133, 8, 0.2);
}

/* ============================================
   CURRENT INNING INDICATOR
   ============================================ */

.bsb-current-inning {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(23, 133, 8, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(23, 133, 8, 0.3);
}

.bsb-inning-indicator {
    font-size: 18px;
    font-weight: 600;
    color: var(--bsb-led);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   CONFIDENCE METER
   ============================================ */

.bsb-confidence-bar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.bsb-confidence-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.bsb-confidence-meter {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bsb-confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bsb-red), var(--bsb-led));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bsb-confidence-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--bsb-led);
    min-width: 40px;
    text-align: right;
}

/* ============================================
   SCORE SUBMISSION FORM
   ============================================ */

.bsb-submission-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.bsb-submission-section h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #fff;
}

.bsb-submission-section p {
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Force both widget headings to match exactly */
.bsb-score-form-section h3,
.bsb-concessions-widget h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    color: var(--bsb-led) !important;
    text-align: center !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Also make sure the containers have same padding */
.bsb-score-form-section,
.bsb-concessions-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px; /* Same padding */
    max-height: 600px;
}

.bsb-score-form {
    max-width: 600px;
}

.bsb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.bsb-form-group {
    display: flex;
    flex-direction: column;
}

.bsb-form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.bsb-form-group input,
.bsb-form-group select {
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.bsb-form-group input:focus,
.bsb-form-group select:focus {
    outline: none;
    border-color: var(--bsb-led);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(23, 133, 8, 0.1);
}

.bsb-form-group input[type="number"] {
    font-family: var(--bsb-font-led);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.bsb-submit-btn {
    width: 90%;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--bsb-led), var(--bsb-green));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 133, 8, 0.3);
}

.bsb-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 133, 8, 0.4);
}

.bsb-submit-btn:active {
    transform: translateY(0);
}

.bsb-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.bsb-form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.bsb-form-message.bsb-success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid var(--bsb-led);
    color: var(--bsb-led);
}

.bsb-form-message.bsb-error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid var(--bsb-red);
    color: var(--bsb-red);
}

.bsb-previous-submission {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(33, 150, 243, 0.1);
    border-left: 3px solid #2196f3;
    border-radius: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   STATS SECTION
   ============================================ */

.bsb-stats-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.bsb-stats-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #fff;
    text-align: center;
}

.bsb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.bsb-stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.bsb-stat-value {
    font-family: var(--bsb-font-led);
    font-size: 36px;
    font-weight: 900;
    color: var(--bsb-led);
    text-shadow: 0 0 10px rgba(23, 133, 8, 0.5);
    margin-bottom: 8px;
}

.bsb-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

/* Official Mode Notice */
.bsb-official-mode-notice {
    background: linear-gradient(135deg, rgba(23, 133, 8, 0.1), rgba(23, 133, 8, 0.05));
    border: 2px solid rgba(23, 133, 8, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.bsb-notice-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.bsb-notice-content h3 {
    color: var(--bsb-led);
    margin: 0 0 10px 0;
    font-size: 24px;
}

.bsb-notice-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    font-size: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.bsb-footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.bsb-footer p {
    margin: 5px 0;
}

.bsb-auto-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bsb-pulse {
    width: 8px;
    height: 8px;
    background: var(--bsb-led);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ============================================
   SPONSOR ADVERTISEMENT BANNER
   ============================================ */

.bsb-ad-section {
    margin: 40px 0 30px 0;
    text-align: center;
}

.bsb-ad-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.bsb-ad-banner-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.bsb-ad-banner {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 300px;
}

.bsb-ad-banner:hover {
    transform: translateY(-3px);
    border-color: var(--bsb-led);
    box-shadow: 0 5px 20px rgba(23, 133, 8, 0.3);
}

.bsb-ad-banner img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 10px;
    background: white;
    padding: 10px;
}

.bsb-ad-business-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bsb-ad-banner {
        max-width: 100%;
    }
    
    .bsb-ad-banner-container {
        flex-direction: column;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .bsb-container {
        padding: 10px;
    }
    
    .bsb-game-title h1 {
        font-size: 20px;
    }
    
    .bsb-scoreboard {
        padding: 15px;
        font-size: 14px;
    }
    
    .bsb-score-cell {
        height: 50px;
        font-size: 24px;
    }
    
    .bsb-total-score {
        height: 50px;
        font-size: 32px;
    }
    
    .bsb-team-names {
        min-width: 80px;
    }
    
    .bsb-team-cell {
        height: 50px;
        font-size: 11px;
        padding-right: 8px;
    }
    
    .bsb-inning-column {
        min-width: 45px;
    }
    
    .bsb-inning-label {
        height: 30px;
        font-size: 12px;
    }
    
    .bsb-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ============================================
   SPONSOR ADVERTISEMENT BANNER
   ============================================ */

.bsb-ad-section {
    margin: 40px 0 30px 0;
    text-align: center;
}

.bsb-ad-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.bsb-ad-banner-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.bsb-ad-banner {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0px;
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 350px;
}

.bsb-ad-banner:hover {
    transform: translateY(-3px);
    border-color: var(--bsb-led);
    box-shadow: 0 5px 20px rgba(23, 133, 8, 0.3);
}

.bsb-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px 5px 0 0;
    padding: 0px;
    margin-bottom: 10px;
}

.bsb-ad-business-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bsb-ad-banner {
        max-width: 100%;
    }
    
    .bsb-ad-banner-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .bsb-score-cell {
        font-size: 20px;
    }
    
    .bsb-total-score {
        font-size: 28px;
    }
    
    .bsb-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SIDEBAR CONTAINER (Score Form + Concessions)
   ============================================ */

.bsb-sidebar-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    align-items: flex-start;
}

.bsb-half-width {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink */
    max-width: calc(50% - 10px); /* Force 50% width*/
}

.bsb-full-width {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

/* ============================================
   CONCESSIONS MENU TABLE
   ============================================ */

.bsb-menu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.bsb-menu-table tbody tr {
    transition: all 0.2s ease;
}

.bsb-row-even {
    background: rgba(255, 255, 255, 0.03);
}

.bsb-row-odd {
    background: rgba(255, 255, 255, 0.06);
}

.bsb-menu-table tbody tr:hover {
    background: rgba(23, 133, 8, 0.1);
}

.bsb-menu-table td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bsb-menu-item-name {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    width: 50%;
}

.bsb-menu-item-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--bsb-led);
    text-align: right;
    width: 30%;
}

.bsb-menu-item-action {
    text-align: right;
    width: 20%;
}

/* Green CashApp Button */
.bsb-cashapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bsb-led), var(--bsb-green));
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(23, 133, 8, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bsb-cashapp-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(23, 133, 8, 0.5);
}

.bsb-cashapp-btn:active {
    transform: translateY(0) scale(0.98);
}

.bsb-dollar-sign {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', sans-serif;
}

/* Pulse animation for payment button */
@keyframes cashappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(23, 133, 8, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(23, 133, 8, 0.6);
    }
}

.bsb-cashapp-btn {
    animation: cashappPulse 2s ease-in-out infinite;
}

/* Remove old concessions item styles - delete these: */
.bsb-concessions-item {
    /* DELETE THIS ENTIRE BLOCK */
}

.bsb-item-info {
    /* DELETE THIS ENTIRE BLOCK */
}

.bsb-item-name {
    /* DELETE THIS ENTIRE BLOCK */
}

.bsb-item-price {
    /* DELETE THIS ENTIRE BLOCK */
}

.bsb-payment-link {
    /* DELETE THIS ENTIRE BLOCK */
}

/* ============================================
   CONCESSIONS WIDGET
   ============================================ */

.bsb-concessions-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.bsb-score-form-section,
.bsb-concessions-widget {
    max-height: 600px;
    overflow-y: auto;
}

.bsb-score-form-section, .bsb-concessions-widget h3 {
    margin: 0 0 20px 0;
    color: var(--bsb-led);
    font-size: 24px;
    text-align: center;
}

.bsb-concessions-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.bsb-concessions-list::-webkit-scrollbar {
    width: 8px;
}

.bsb-concessions-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.bsb-concessions-list::-webkit-scrollbar-thumb {
    background: rgba(23, 133, 8, 0.5);
    border-radius: 4px;
}

.bsb-concessions-list::-webkit-scrollbar-thumb:hover {
    background: rgba(23, 133, 8, 0.7);
}

.bsb-concessions-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.bsb-concessions-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(23, 133, 8, 0.3);
}

.bsb-item-info {
    flex: 1;
}

.bsb-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.95);
}

.bsb-item-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--bsb-led);
}

.bsb-payment-link {
    background: var(--bsb-led);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bsb-payment-link:hover {
    background: var(--bsb-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 133, 8, 0.4);
}

.bsb-no-items {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.6;
    font-size: 16px;
}

.bsb-concessions-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.bsb-edit-menu-link {
    color: var(--bsb-led);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bsb-edit-menu-link:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bsb-sidebar-container {
        flex-direction: column;
    }
    
    .bsb-half-width,
    .bsb-full-width {
        width: 100%;
    }
    
    .bsb-concessions-widget {
        max-height: 400px;
    }
}

/* ============================================
   1.2.0 — SECTION CARDS (match site: #1E293B + #334155 borders)
   ============================================ */
.bsb-submission-section,
.bsb-concessions-widget,
.bsb-stats-section,
.bsb-official-mode-notice,
.bsb-confidence-bar {
    background: var(--bsb-surface);
    border: 1px solid var(--bsb-border);
}
.bsb-stat-card { background: var(--bsb-bg); border: 1px solid var(--bsb-border); }
.bsb-team-cell, .bsb-inning-label { color: var(--bsb-muted); font-family: var(--bsb-font-mono); }
.bsb-pulse { background: var(--bsb-amber) !important; }
.bsb-footer a { color: var(--bsb-led); }


/* ============================================
   1.4.0 — CONCESSIONS PAYMENTS & SOLD OUT
   ============================================ */
.bsb-pay-warning {
    margin: -8px 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 176, 0, 0.45);
    background: rgba(255, 176, 0, 0.08);
    border-radius: 8px;
    color: #fde68a;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.bsb-menu-item-action { width: auto; white-space: nowrap; }
.bsb-pay-buttons { display: inline-flex; gap: 6px; justify-content: flex-end; }

.bsb-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none !important;
    font-family: 'Arial Black', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bsb-pay-btn:hover { transform: translateY(-2px) scale(1.05); }
.bsb-pay-btn:active { transform: scale(0.97); }

/* Cash App keeps its green gradient (from .bsb-cashapp-btn) */
.bsb-pay-cashapp .bsb-pay-letter { color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }

/* PayPal — blue button, white P */
.bsb-pay-paypal {
    background: #0070E0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 112, 224, 0.35);
}
.bsb-pay-paypal:hover { box-shadow: 0 6px 18px rgba(0, 112, 224, 0.55); }

/* Venmo — white button, blue V */
.bsb-pay-venmo {
    background: #fff;
    color: #008CFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.bsb-pay-venmo:hover { box-shadow: 0 6px 18px rgba(0, 140, 255, 0.4); }

/* Sold out: stays on the menu, dimmed, no buttons */
.bsb-sold-out td { opacity: 0.55; }
.bsb-sold-out .bsb-menu-item-name { text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, 0.7); }
.bsb-sold-out .bsb-menu-item-price { color: var(--bsb-muted); }
.bsb-sold-out-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    font: 500 10px/1.4 var(--bsb-font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;
}

/* Theme-proof headings (some themes force a serif heading font) */
.bsb-scoreboard-page h1, .bsb-scoreboard-page h2, .bsb-scoreboard-page h3 {
    font-family: var(--bsb-font-body) !important;
}

/* Phones: menu takes the full width, nothing clipped */
@media (max-width: 768px) {
    .bsb-half-width { max-width: 100%; }
    .bsb-concessions-widget { max-height: none; }
}

/* Small phones: item + price on one line, pay buttons underneath */
@media (max-width: 520px) {
    .bsb-menu-table, .bsb-menu-table tbody { display: block; }
    .bsb-menu-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .bsb-menu-table td { display: block; width: auto; border: 0; padding: 12px 12px 4px; }
    .bsb-menu-item-action { grid-column: 1 / -1; text-align: left; padding: 4px 12px 12px !important; }
    .bsb-sold-out .bsb-menu-item-action { display: none; }
    .bsb-sold-out td { padding-bottom: 12px; }
    .bsb-pay-buttons { justify-content: flex-start; }
}


/* ============================================
   1.5.0 — TEAM SPONSORS ON THE SCOREBOARD
   ============================================ */
.bsb-sponsor-section {
    margin: 30px 0;
    padding: 22px;
    background: var(--bsb-surface);
    border: 1px solid var(--bsb-border);
    border-top: 3px solid var(--bsb-amber);
    border-radius: 12px;
}
.bsb-sponsor-label {
    text-align: center;
    font: 500 12px var(--bsb-font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bsb-muted);
    margin-bottom: 16px;
}
.bsb-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}
.bsb-sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    min-height: 120px;
    text-align: center;
    background: var(--bsb-bg);
    border: 1px solid var(--bsb-border);
    border-radius: 10px;
    color: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
a.bsb-sponsor-card:hover { border-color: var(--bsb-amber); transform: translateY(-2px); }
.bsb-sponsor-card img { max-width: 140px; max-height: 60px; object-fit: contain; }
.bsb-sponsor-name { font-weight: 600; font-size: 14px; color: #fff; }
.bsb-sponsor-tagline { font-size: 12px; color: var(--bsb-muted); }
@media (max-width: 480px) {
    .bsb-sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
