/* Date column dark yellow background */
.date-col {
    background: #ffb300 !important;
    color: #222 !important;
}

.date-colum {
    background: #ffb300 !important;
    color: #222 !important;
}
.history-table-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 24px 0 16px 0;
}
.history-table {
    border-collapse: collapse;
    width: 98%;
    max-width: 900px;
    background: #fffde7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    font-size: 1em;
}
.history-header {
    background: #0d47a1 !important;
    color: #fff !important;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    letter-spacing: 2px;
}
.history-table th, .history-table td {
    border: 1px solid #e0e0e0;
    padding: 8px 4px;
    text-align: center;
}
.history-table th {
    background: #fffde7;
    color: #c00;
    font-weight: bold;
}
.game-col {
    background: #ffd600 !important;
    color: #222 !important;
}

.history-table td {
    background: #fff;
    color: #222;
}
@media (max-width: 600px) {
    .history-table-container {
        width: 100%;
        margin: 16px 0 10px 0;
    }
    .history-table {
        font-size: 0.85em;
        width: 99vw;
        max-width: 99vw;
    }
    .history-header {
        font-size: 1em;
        padding: 7px 0;
    }
    .history-table th, .history-table td {
        padding: 6px 2px;
    }
}
.result-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.row-label {
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 0.8em;
    color: #222;
    text-align: center;
}
.xx-red {
    color: #c00;
    font-weight: bold;
}
.num-blue {
    color: #0074D9;
    font-weight: bold;
}
.faast-result {
    background: #001f4d;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    padding: 8px 0;
    margin: 10px auto 0 auto;
    border-radius: 6px;
    width: 80%;
    text-align: center;
    letter-spacing: 1px;
    /* animation removed from box, now only on text */
}
.faast-anim {
    display: inline-block;
    animation: faast-pulse 1.2s infinite alternate;
}
@keyframes faast-pulse {
    0% { transform: scale(1) translateX(0); opacity: 1; }
    50% { transform: scale(1.08) translateX(8px); opacity: 0.7; }
    100% { transform: scale(1) translateX(0); opacity: 1; }
}
body {
    font-family: Arial, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 1.15em;
}
.header {
    background: #c00;
    color: #fff;
    font-size: 1.6em;
    font-weight: bold;
    padding: 12px 0 6px 0;
    letter-spacing: 2px;
}
.sub-header {
    background: #137c3c;
    color: #fff;
    font-size: 1em;
    padding: 4px 0;
    font-weight: bold;
}
.info {
    margin: 18px 0 10px 0;
}
.date {
    font-size: 1em;
    color: #c00;
}
.desc {
    font-size: 1em;
    color: #222;
    margin: 4px 0 8px 0;
}
.status {
    margin: 10px 0 18px 0;
}
.wait {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    margin: 6px 0;
}
.wait.red {
    color: #c00;
}
.wait.green {
    color: #137c3c;
}
.game-name {
    color: #8B0000;
    font-weight: bold;
    font-size: 1.6em;
    display: inline-block;
    margin-top: 6px;
}
.red {
    color: #c00 !important;
}
.darkblue {
    color: #001f4d;
    font-weight: bold;
}
.blue-xx {
    color: #0074D9;
    font-weight: bold;
}
.results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 18px 0 0 0;
    width: 100%;
}
.row-block {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
    width: 100%;
}
.card {
    background: #ffff66;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 350px;
    min-width: 0;
    padding: 12px 0 8px 0;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}
.title {
    font-size: 1.25em;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 4px;
    word-break: break-word;
}
.time {
    font-size: 1.05em;
    color: #c00;
    margin-left: 4px;
}
.row {
    display: flex;
    justify-content: space-between;
    width: 100px;
    font-size: 1.15em;
    color: #222;
    margin-bottom: 6px;
    word-break: break-word;
    font-weight: bold;
    gap: 0.7em;
}
.numbers {
    font-size: 1.35em;
    color: #c00;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.arrow-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.arrow {
    font-weight: bold;
    font-size: 1.7em;
    color: #c00;
    display: inline-block;
    vertical-align: middle;
    animation: arrow-move 1s infinite alternate, arrow-blink 1s infinite;
}
@keyframes arrow-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}
@keyframes arrow-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@media (max-width: 600px) {
    .results {
        margin: 10px 0 0 0;
        width: 100%;
        align-items: center;
    }
    .row-block {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8px;
        width: 100%;
        align-items: center;
    }
    .card {
        width: 98vw;
        max-width: 99vw;
        min-width: 0;
        padding: 10px 0 6px 0;
        margin-bottom: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .row {
        width: 90px;
        font-size: 1em;
        margin-bottom: 8px;
        align-self: center;
        justify-content: center;
        display: flex;
    }
    .numbers {
        font-size: 1.15em;
        gap: 7px;
        width: 100%;
        justify-content: center;
        display: flex;
        flex-direction: row;
    }
    .title {
        font-size: 1.15em;
    }
    .time {
        font-size: 0.85em;
    }
    
    
    .top-live-table{
    width:90%;
    margin:auto;
    border-collapse:collapse;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.top-live-table th{
    background:#c00;
    color:#fff;
    padding:10px;
    font-size:1.1em;
}

.top-live-table{
    width:90%;
    margin:auto;
    border-collapse:collapse;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.top-live-table th{
    background:#c00;
    color:#fff;
    padding:10px;
    font-size:1.1em;
}

.top-live-table td{
    border:1px solid #ddd;
    padding:10px;
    font-size:1.2em;
    font-weight:bold;
}

.top-live-table tr:nth-child(even){
    background:#fffde7;
}
