/* Football Tips Today: tip cards, the live table and the day's record. Colours follow site.css tokens. */

.dt-meta {
    color: var(--muted);
    font-size: 0.85rem;
}

.dt-day-links a {
    font-weight: 600;
}

.dt-day-links a.active {
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid var(--brand);
}

.dt-record {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #1e2842;
    border-radius: 999px;
    background: #0f1422;
    font-size: 0.85rem;
}

.dt-notice {
    border-left: 3px solid var(--accent);
    background: #0f1422;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Tip cards */
.dt-tip {
    background: #0c101a;
    border: 1px solid #1e2842;
    border-radius: 12px;
    padding: 16px 18px;
}

.dt-tip + .dt-tip {
    margin-top: 0.75rem;
}

.dt-tip-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.9rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.dt-tip-head img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.dt-teams {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0.6rem 0;
}

.dt-teams img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.dt-teams .dt-vs {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.dt-pick {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: rgba(92, 210, 185, 0.12);
    color: var(--brand);
    font-weight: 600;
}

.dt-numbers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0.8rem 0 0.5rem;
}

.dt-number {
    background: #0f1422;
    border: 1px solid #1e2842;
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    text-align: center;
}

.dt-number .dt-label {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dt-number .dt-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.dt-ev {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.dt-ev.positive {
    background: rgba(92, 210, 185, 0.18);
    color: var(--brand);
}

.dt-ev.negative {
    background: rgba(255, 110, 110, 0.14);
    color: #ff8f8f;
}

.dt-why {
    color: var(--muted);
    font-size: 0.85rem;
}

.dt-state {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dt-state.inplay { background: rgba(128, 179, 255, 0.18); color: var(--accent); }
.dt-state.won { background: rgba(92, 210, 185, 0.18); color: var(--brand); }
.dt-state.lost { background: rgba(255, 110, 110, 0.14); color: #ff8f8f; }
.dt-state.void { background: rgba(169, 178, 195, 0.18); color: var(--muted); }

.dt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 0.8rem;
}

.dt-actions .small a {
    color: var(--brand);
}

/* Live table */
.dt-matches summary {
    cursor: pointer;
    color: var(--brand);
    font-weight: 600;
    list-style: none;
}

.dt-matches summary::-webkit-details-marker {
    display: none;
}

.dt-matches summary::before {
    content: "▸ ";
}

.dt-matches[open] summary::before {
    content: "▾ ";
}

.dt-matches .table-responsive {
    margin-top: 0.75rem;
    border: 1px solid #1e2842;
    border-radius: 12px;
}

.dt-matches td.dt-odd {
    text-align: center;
    white-space: nowrap;
}

.dt-matches td.dt-odd .dt-model {
    display: block;
    font-weight: 600;
}

.dt-matches td.dt-odd .dt-price {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.dt-matches td.dt-odd.tipped {
    background: rgba(92, 210, 185, 0.08);
}

.dt-matches .dt-score {
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .dt-numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
