
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.top-bar {
    background-color: #f8f9fa;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    font-size: 0.9em;
    position: relative;
    z-index: 20;
}

.last-updated {
    color: #555;
}

.login-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

    .login-btn:hover {
        background-color: #0056b3;
    }

.logged-in {
    font-size: 0.9em;
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 4px;
    display: none;
}

.admin-badge {
    color: red;
    font-weight: bold;
    margin-left: 8px;
}

.logout-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9em;
    margin-left: 10px;
}

.main-content {
    margin: 40px;
}

h1 {
    text-align: center;
    margin-top: 0;
}

.main-tabs {
    text-align: center;
    margin: 20px 0;
}

    .main-tabs button {
        padding: 10px 20px;
        font-size: 1.1em;
        margin: 0 10px;
        cursor: pointer;
    }

        .main-tabs button.active {
            background-color: #007bff;
            color: white;
            border: none;
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.name-cell {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}

.sort-toggle, .strokes-controls {
    text-align: center;
    margin: 20px 0;
}

    .sort-toggle button, .strokes-controls select {
        padding: 8px 16px;
        margin: 0 5px;
    }

        .sort-toggle button.active {
            background-color: #28a745;
            color: white;
        }

    .strokes-controls label {
        font-weight: bold;
        margin-right: 10px;
    }

.course-info {
    text-align: center;
    margin: 15px 0;
    font-size: 1.1em;
    color: #333;
}

.download-section {
    text-align: center;
    margin: 20px 0;
}

    .download-section button {
        margin: 5px;
        padding: 8px 16px;
        background-color: #6c757d;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 4px;
    }

.occasional-section {
    margin-top: 50px;
}

.occasional-toggle {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
}

.occasional-content {
    display: none;
}

    .occasional-content.open {
        display: block;
    }

.negative-value {
    color: red;
    font-weight: bold;
}

tr.pro-player {
    background-color: #ffff99 !important;
}

.pro-label {
    font-size: 0.8em;
    color: #d35400;
    font-weight: bold;
    margin-left: 6px;
}

.player-details {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.details-table {
    flex: 1;
    min-width: 300px;
}

.details-chart {
    flex: 2;
    min-width: 400px;
    height: 400px;
}

/* Admin page styles */
#admin-container h2 {
    text-align: center;
}

#admin-container .admin-controls {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#admin-container .new-player-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

    #admin-container .new-player-form label {
        font-weight: bold;
    }

    #admin-container .new-player-form input[type="text"], #admin-container .new-player-form input[type="email"] {
        padding: 8px;
        width: 250px;
        font-size: 1em;
    }

    #admin-container .new-player-form button {
        padding: 8px 16px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

#admin-container .commit-changes {
    margin-top: 20px;
    text-align: right;
}

    #admin-container .commit-changes button {
        padding: 10px 20px;
        background-color: #dc3545;
        color: white;
        font-weight: bold;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

#admin-container table {
    width: 100%;
    margin-top: 20px;
}

#admin-container th {
    background-color: #f0f0f0;
    text-align: left;
    padding: 10px;
}

#admin-container td {
    padding: 10px;
    vertical-align: middle;
}

#admin-container select {
    padding: 6px;
    font-size: 1em;
}

#admin-container input[type="checkbox"] {
    transform: scale(1.3);
    cursor: pointer;
}

/* Admin sub-tabs */
#admin-sub-tabs {
    text-align: center;
    margin: 20px 0;
}

    #admin-sub-tabs button {
        padding: 10px 20px;
        font-size: 1.1em;
        margin: 0 10px;
        cursor: pointer;
    }

        #admin-sub-tabs button.active {
            background-color: #28a745;
            color: white;
            border: none;
        }

.admin-sub-content {
    display: none;
}

    .admin-sub-content.active {
        display: block;
    }

/* Misc tables */
.misc-section {
    margin-top: 40px;
}

    .misc-section h3 {
        text-align: center;
        margin-bottom: 15px;
    }

.add-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
}

    .add-form input, .add-form select {
        padding: 8px;
        font-size: 1em;
        width: 100%;
        box-sizing: border-box;
    }

    .add-form label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

    .add-form button {
        padding: 10px 20px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        height: fit-content;
        align-self: end;
    }

.misc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .misc-table th, .misc-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    .misc-table th {
        background-color: #f0f0f0;
    }

    .misc-table input, .misc-table select {
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
        border: none;
    }

/* Upcoming table styles */
#upcoming-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#upcoming-container th, #upcoming-container td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#upcoming-container th {
    background-color: #f0f0f0;
}

.entries-detail-row {
    background-color: #f9f9f9;
}

    .entries-detail-row td {
        padding: 20px;
        border: 1px solid #ddd;
    }

.entry-buttons button {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .entry-buttons button:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

.admin-actions button {
    margin: 0 5px;
    padding: 6px 12px;
    font-size: 0.9em;
}

/* Draw generation styles */
.draw-generation {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f8ff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

    .draw-generation .form-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 15px;
    }

    .draw-generation button {
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
    }

.draw-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .draw-table th, .draw-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    .draw-table th {
        background-color: #e9ecef;
    }

.entries-and-draw {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.entries-table-wrapper {
    flex: 1;
    min-width: 300px;
}

.draw-wrapper {
    flex: 1;
    min-width: 500px;
}

/* Results admin section */
.results-admin-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.results-admin-left, .results-admin-right {
    flex: 1;
    min-width: 400px;
}

.payout-config {
    display: flex;
    flex-wrap: nowrap; /* ← key change: try to keep side-by-side */
    gap: 25px;
    margin-bottom: 25px;
    justify-content: center; /* centers them nicely */
    align-items: flex-start;
}

.payout-block {
    flex: 1 1 210px; /* better balance + minimum size */
    max-width: 240px;
    min-width: 190px;
}

.payout-table {
    font-size: 0.82em;
    margin-top: 8px;
    border-collapse: collapse;
}

    .payout-table th, .payout-table td {
        padding: 4px 6px;
        min-width: 42px;
        text-align: center;
    }

    .payout-table input {
        width: 58px;
        padding: 3px;
        font-size: 0.92em;
    }

/* Force stacking only on very narrow screens */
@media (max-width: 680px) {
    .payout-config {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .payout-block {
        max-width: 260px;
        min-width: 220px;
    }
}

.draw-player-input {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    font-size: 0.95em;
}

.results-draw-player-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-size: 1.1em;
}

.draw-table td input[type="number"] {
    width: 55px;
    padding: 4px;
    font-size: 0.9em;
    text-align: center;
    box-sizing: border-box;
}

.draw-table .results-cf-i,
.draw-table .results-cf-t {
    min-width: 70px;
    text-align: center;
}

.draw-table th:nth-child(2),
.draw-table td:nth-child(2) {
    width: 400px !important;
    min-width: 400px;
}

.results-results-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

    .results-results-table th, .results-results-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .results-results-table th {
        background-color: #f0f0f0;
    }

/* Tighten the score-related columns in the results draw table */
.draw-table th:nth-child(n+6), /* Score, B9, B6, B3, B1 */
.draw-table td:nth-child(n+6) {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    text-align: center;
    padding: 8px 4px !important;
}

.draw-table td input[type="number"] {
    width: 52px !important;
    padding: 4px 2px;
    font-size: 0.95em;
    text-align: center;
}

/* Keep player name generous but not insane */
.draw-table th:nth-child(2),
.draw-table td:nth-child(2) {
    width: 320px !important; /* reduced from 400px */
    min-width: 280px;
    max-width: 380px;
}

/* Time column - very narrow */
.draw-table th:nth-child(1),
.draw-table td:nth-child(1) {
    width: 80px !important;
}

/* SWIN / Strokes / C/F columns - compact */
.draw-table th:nth-child(n+3):nth-child(-n+5),
.draw-table td:nth-child(n+3):nth-child(-n+5) {
    width: 70px !important;
    text-align: center;
}

.draw-table th:last-child,
.draw-table th:nth-last-child(2),
.draw-table td:last-child,
.draw-table td:nth-last-child(2) {
    width: 90px !important;
    min-width: 90px;
    max-width: 110px;
    text-align: center;
    font-weight: bold;
    background-color: #f8f9fa;
}

.draw-table .ind-win-cell,
.draw-table .team-win-cell {
    color: #006400; /* dark green for money */
}

.draw-table .cut-cell {
    min-width: 80px;
    text-align: center;
    background-color: #fff3cd; /* light yellow for attention */
}

.cut-cell.negative {
    color: #dc3545; /* red for cuts */
    font-weight: bold;
}

.cut-cell.positive {
    color: #28a745; /* green for raises */
    font-weight: bold;
}

.sub-tabs {
    text-align: center;
    margin: 20px 0;
}

    .sub-tabs button {
        padding: 8px 16px;
        font-size: 1em;
        margin: 0 5px;
        cursor: pointer;
    }

        .sub-tabs button.active {
            background-color: #007bff;
            color: white;
            border: none;
        }

.sub-tab-content {
    display: none;
}

    .sub-tab-content.active {
        display: block;
    }

#stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1100px) {
    #stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    #stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    border: 1px solid #ddd;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

    .stat-card h3 {
        text-align: center;
        margin-bottom: 12px;
        font-size: 1.15em;
    }

    .stat-card table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.95em;
    }

        .stat-card table th, .stat-card table td {
            border: 1px solid #ddd;
            padding: 7px 8px;
            text-align: left;
        }

        .stat-card table th {
            background: #f2f2f2;
            white-space: nowrap;
        }

        .stat-card table td.player-name {
            max-width: 140px;
            word-break: break-word;
            hyphens: auto;
        }

        .stat-card table td.date-cell {
            max-width: 110px;
            white-space: nowrap;
        }

#majors {
    padding: 20px 0;
}

.majors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.majors-table-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

    .majors-table-wrapper table {
        width: 100%;
        border-collapse: collapse;
    }

    .majors-table-wrapper caption {
        padding: 12px 16px;
        background: #6c757d; /* grey – or use #e9ecef with color:#212529 */
        color: white;
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
    }

    .majors-table-wrapper th, .majors-table-wrapper td {
        padding: 10px 14px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .majors-table-wrapper th {
        background: #f8f9fa;
        font-weight: 600;
        color: #333;
    }

    .majors-table-wrapper tr:last-child td {
        border-bottom: none;
    }

    .majors-table-wrapper .player-name {
        color: #333;
        cursor: default;
        text-decoration: none;
    }
/* 17.3 table styling - similar to draw-table for consistency */
.seventeen-three-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .seventeen-three-table th, .seventeen-three-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    .seventeen-three-table th {
        background-color: #e9ecef;
    }

/* ===== Form Guide Dots ===== */
.form-guide {
    display: inline-flex;
    gap: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
}

.form-dot-top,
.form-dot-bot {
    width: 100%;
    height: 50%;
}

/* Top half */
.form-dot.win    .form-dot-top { background-color: #28a745; }
.form-dot.played .form-dot-top { background-color: #adb5bd; }
.form-dot.absent .form-dot-top { background-color: #dee2e6; }

/* Bottom half — score bands */
.form-dot.absent     .form-dot-bot { background-color: #dee2e6; }
.form-dot.score-red  .form-dot-bot { background-color: #dc3545; }
.form-dot.score-orng .form-dot-bot { background-color: #fd7e14; }
.form-dot.score-grn  .form-dot-bot { background-color: #28a745; }

/* ===== Dark Mode ===== */
body.dark {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

body.dark .top-bar {
    background-color: #16213e;
    border-bottom-color: #444;
}

body.dark .last-updated { color: #aaa; }

body.dark .login-btn { background-color: #0056b3; }

body.dark .logged-in {
    background-color: #16213e;
    color: #e0e0e0;
}

body.dark .logout-btn { color: #66b2ff; }

body.dark h1, body.dark h2, body.dark h3, body.dark h4 { color: #e0e0e0; }

body.dark .main-tabs button {
    background-color: #2a2a4a;
    color: #ccc;
    border-color: #555;
}

body.dark .main-tabs button.active {
    background-color: #0056b3;
    color: white;
}

body.dark .tab-content { color: #e0e0e0; }

body.dark .download-section button {
    background-color: #495057;
    color: #e0e0e0;
}

body.dark table.dataTable thead th,
body.dark table.dataTable thead td {
    background-color: #16213e !important;
    color: #e0e0e0 !important;
    border-bottom-color: #444 !important;
}

body.dark table.dataTable tbody tr {
    background-color: #1a1a2e !important;
    color: #e0e0e0 !important;
}

body.dark table.dataTable tbody tr:nth-child(even) {
    background-color: #16213e !important;
}

body.dark table.dataTable tbody tr:hover {
    background-color: #0d3b66 !important;
}

body.dark table.dataTable tbody td {
    border-bottom-color: #333 !important;
}

body.dark .name-cell { color: #66b2ff; }

body.dark .dataTables_wrapper .dt-buttons .dt-button {
    background-color: #2a2a4a;
    color: #ccc;
    border-color: #555;
}

body.dark .sort-toggle button {
    background-color: #2a2a4a;
    color: #ccc;
    border-color: #555;
}

body.dark .sort-toggle button.active {
    background-color: #1a6e35;
    color: white;
}

body.dark .player-details { color: #e0e0e0; }

body.dark .details-table table {
    border-color: #555;
    color: #e0e0e0;
}

body.dark .details-table th { background-color: #16213e; color: #e0e0e0; }
body.dark .details-table td { color: #e0e0e0; }

body.dark #admin-container .admin-controls,
body.dark .add-form {
    background-color: #16213e;
    border-color: #444;
}

body.dark #admin-container th { background-color: #16213e; color: #e0e0e0; }
body.dark #admin-container td { color: #e0e0e0; }

body.dark #admin-sub-tabs button {
    background-color: #2a2a4a;
    color: #ccc;
    border-color: #555;
}

body.dark #admin-sub-tabs button.active {
    background-color: #1a6e35;
    color: white;
}

body.dark .occasional-toggle {
    background-color: #16213e;
    border-color: #444;
    color: #e0e0e0;
}

body.dark tr.pro-player { background-color: #3a3a00 !important; }

body.dark .stat-card {
    background-color: #16213e !important;
    border-color: #444 !important;
    color: #e0e0e0 !important;
}

body.dark .stat-card h3 { color: #e0e0e0 !important; }

body.dark .majors-table-wrapper {
    background: #16213e;
    border-color: #444;
}

body.dark .majors-table-wrapper caption { background: #495057; }

body.dark .majors-table-wrapper th {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark .majors-table-wrapper td {
    color: #e0e0e0;
    border-bottom-color: #333;
}

body.dark input, body.dark select, body.dark textarea {
    background-color: #2a2a4a;
    color: #e0e0e0;
    border-color: #555;
}

body.dark .draw-table th { background-color: #16213e; color: #e0e0e0; }
body.dark .draw-table td { background-color: #0f0f23; color: #e0e0e0; border-color: #444; }

#adminGuideModal blockquote,
#userGuideModal blockquote {
    margin: 12px 0;
    padding: 8px 16px;
    border-left: 4px solid #adb5bd;
    background: #f8f9fa;
    color: #555;
}

#adminGuideModal table,
#userGuideModal table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
}

#adminGuideModal th,
#userGuideModal th {
    background: #f0f0f0;
    border: 1px solid #dee2e6;
    padding: 6px 10px;
    text-align: left;
}

#adminGuideModal td,
#userGuideModal td {
    border: 1px solid #dee2e6;
    padding: 6px 10px;
}

body.dark #adminGuideModal > div > div {
    background: #16213e !important;
    color: #e0e0e0 !important;
}

body.dark #adminGuideModal h1,
body.dark #adminGuideModal h2,
body.dark #adminGuideModal h3,
body.dark #adminGuideModal p,
body.dark #adminGuideModal li { color: #e0e0e0; }

body.dark #adminGuideModal code,
body.dark #adminGuideModal pre { background: #2a2a4a; color: #e0e0e0; }

body.dark #adminGuideModal table { border-collapse: collapse; }
body.dark #adminGuideModal th { background: #16213e; color: #e0e0e0; border-color: #444; }
body.dark #adminGuideModal td { color: #e0e0e0; border-color: #444; background: #1a1a2e; }
body.dark #adminGuideModal blockquote { background: #1a1a2e; border-left-color: #555; color: #ccc; }
body.dark #adminGuideModal hr { border-color: #444; }
body.dark #adminGuideModal a { color: #66b2ff; }

body.dark #userGuideModal > div > div {
    background: #16213e !important;
    color: #e0e0e0 !important;
}

body.dark #userGuideModal h1,
body.dark #userGuideModal h2,
body.dark #userGuideModal h3,
body.dark #userGuideModal p,
body.dark #userGuideModal li { color: #e0e0e0; }

body.dark #userGuideModal code,
body.dark #userGuideModal pre { background: #2a2a4a; color: #e0e0e0; }

body.dark #userGuideModal table { border-collapse: collapse; }
body.dark #userGuideModal th { background: #16213e; color: #e0e0e0; border-color: #444; }
body.dark #userGuideModal td { color: #e0e0e0; border-color: #444; background: #1a1a2e; }
body.dark #userGuideModal blockquote { background: #1a1a2e; border-left-color: #555; color: #ccc; }
body.dark #userGuideModal hr { border-color: #444; }
body.dark #userGuideModal a { color: #66b2ff; }

body.dark #userGuideClose,
body.dark #adminGuideClose { background: #2a2a4a; border-color: #555; color: #e0e0e0; }

body.dark #amnestySimulateCard {
    background: #16213e !important;
    color: #e0e0e0 !important;
}

body.dark #amnestySimulateCard table { border-collapse: collapse; }
body.dark #amnestySimulateCard thead tr { background: #0f0f23 !important; }
body.dark #amnestySimulateCard th { color: #e0e0e0; border-color: #444; background: #0f0f23; }
body.dark #amnestySimulateCard td { color: #e0e0e0; border-color: #444; background: #1a1a2e; }
body.dark #amnestySimulateCard h3,
body.dark #amnestySimulateCard h4 { color: #e0e0e0; }
body.dark #amnestySimulateCard hr { border-color: #444; }

body.dark .form-dot.absent .form-dot-top,
body.dark .form-dot.absent .form-dot-bot { background-color: #555; }

.reset-date-readonly {
    background: #f0f0f0;
    cursor: not-allowed;
}

body.dark .reset-date-readonly {
    background: #2a2a4a;
    color: #e0e0e0;
    border-color: #555;
}

#darkModeToggle {
    background: none;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    padding: 4px 8px;
    color: inherit;
}

body.dark #darkModeToggle { border-color: #666; color: #e0e0e0; }

body.dark .draw-generation {
    background-color: #1a1a2e;
    border-color: #444;
    color: #e0e0e0;
}

body.dark .course-info { color: #e0e0e0; }

body.dark #resultsRestoreBanner {
    background: #5a4a00 !important;
    border-color: #997300 !important;
    color: #ffe680 !important;
}

body.dark .draw-table .team-win-cell { color: #4caf50; }

body.dark .draw-table .cut-cell {
    background-color: #3a3200;
    color: #e0e0e0;
}

body.dark .draw-table .cut-cell.negative { color: #ff6b6b; }
body.dark .draw-table .cut-cell.positive { color: #4caf50; }

body.dark #ghostsTableContainer td,
body.dark #ghostsTableContainer th { background-color: #1a1a2e; color: #e0e0e0; border-color: #444; }
