

        /* Logged-in user and logout bar */
        .entry-content > div[style*="max-width:950px"]:has(a[href*="logout"]) {
            background: #f7f3e6 !important;
            border: 1px solid #c9a227 !important;
            border-radius: 10px !important;
        }

        /* Main scorecard panel */
        .entry-content > div[style*="max-width:950px"]:has(select[name="match_id"]) {
            background: #ffffff !important;
            border: 1px solid #d6dfd8 !important;
            border-radius: 12px !important;
            box-shadow: 0 3px 14px rgba(0, 55, 32, 0.06);
        }

        /* Scorecard title */
        .entry-content h3 {
            color: #075334;
        }

        /* Fixture selector */
        .entry-content select[name="match_id"] {
            border: 1px solid #a9c2b2 !important;
            border-radius: 7px !important;
            background: #ffffff !important;
            color: #173b2a !important;
        }

        /* Match information panel */
        .entry-content div[style*="text-align:center"]:has(+ form) {
            background: #f7f3e6 !important;
            border: 1px solid #c9a227 !important;
            border-radius: 9px !important;
        }

        /* Scorecard table */
        .entry-content table:has(select[name^="frame_"]) {
            border: 1px solid #d6dfd8 !important;
        }

        /* Replace the blue table heading */
        .entry-content table:has(select[name^="frame_"]) tr:first-child {
            background: #075334 !important;
            color: #ffffff !important;
        }

        .entry-content table:has(select[name^="frame_"]) tr:first-child th {
            background: #075334 !important;
            color: #ffffff !important;
            border-bottom: 3px solid #c9a227 !important;
        }

        /* Alternating frame rows */
        .entry-content table:has(select[name^="frame_"]) tr:nth-child(even) {
            background: #ffffff !important;
        }

        .entry-content table:has(select[name^="frame_"]) tr:nth-child(odd):not(:first-child) {
            background: #f0f6f1 !important;
        }

        /* Player dropdowns */
        .entry-content select[name^="frame_"] {
            border: 1px solid #b8cfc0 !important;
            border-radius: 5px !important;
            background: #ffffff !important;
            color: #173b2a !important;
        }

        /* Winner radio buttons */
        .entry-content input[type="radio"][name^="frame_"] {
            accent-color: #075334;
        }

        /* Submit button */
        .entry-content input[name="submit_scorecard"] {
            background: #075334 !important;
            color: #ffffff !important;
            border: 2px solid #c9a227 !important;
            border-radius: 7px !important;
            font-weight: 700 !important;
        }

        .entry-content input[name="submit_scorecard"]:hover {
            background: #0b7048 !important;
        }

    