/* ============================================================
   TONIGHT'S STAKES — home record-watch strip (.ts-* namespace)
   Section chrome reuses .home-zone / .home-section-hdr from
   main.css; cards mirror the .home-game-card anatomy (surface,
   border, 3px team-color identity edge, color wash). All color
   through variables.css tokens — the only literal allowed is
   the per-card --team-color value injected from data (team
   colors are data, DESIGN.md).
   ============================================================ */

.ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: var(--space-3);
}

.ts-card {
    --team-color: var(--accent);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-left: 3px solid var(--team-color);
    border-radius: var(--radius);
    padding: var(--space-3) var(--space-4) var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.ts-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--team-color) 8%, transparent);
    pointer-events: none;
}

.ts-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.ts-game {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    white-space: nowrap;
}

.ts-entity {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.ts-stake {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.45;
    color: var(--text-secondary);
}

.ts-detail {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.4;
    color: var(--text-muted);
}

.ts-need {
    margin-top: auto;
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-default);
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}
.ts-need-value {
    font-family: var(--font-sans);
    font-size: var(--text-2xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    white-space: nowrap;
}
.ts-need-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.ts-source {
    font-size: var(--text-xs);
    color: var(--text-subtle);
}
