/* nflgt-core components (docs/07 §4). Uses theme tokens with safe fallbacks. */
.nflgt-block, .nflgt-page { --_s: var(--surface, #fff); --_s2: var(--surface-2, #eef1ee); --_b: var(--border, #d9dfdb); --_t: var(--text, #141a17);
  --_m: var(--text-muted, #55615b); --_br: var(--brand, #1d5c45); --_bi: var(--brand-ink, #fff); --_live: var(--live, #b91c1c);
  --_wb: var(--warn-bg, #fff7e6); --_wi: var(--warn-ink, #7a4a00); --_win: var(--win, #14532d); --_r: var(--radius, 10px); }
.nflgt-block { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.nflgt-h { font-size: 1.125rem; margin: 0; }
.nflgt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nflgt-meta, .nflgt-note { font-size: .8125rem; color: var(--_m); margin: 0; }
.nflgt-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent, #b45309); margin: 0; }
.nflgt-crumbs { font-size: .75rem; color: var(--_m); }
.nflgt-crumbs a { color: inherit; }

.nflgt-answer { background: var(--_s); border: 1px solid var(--_b); border-left: 4px solid var(--_br); border-radius: var(--_r); padding: 12px 14px; }
.nflgt-answer strong { display: block; font-size: 1.0625rem; }
.nflgt-answer span { color: var(--_m); font-size: .875rem; }

.nflgt-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.nflgt-chip { flex: 0 0 auto; text-decoration: none; border: 1px solid var(--_b); background: var(--_s); border-radius: 999px; padding: 8px 14px; font-size: .8125rem; min-height: 40px; color: var(--_t); display: inline-flex; align-items: center; }
.nflgt-chip[aria-current="true"] { background: var(--_br); border-color: var(--_br); color: var(--_bi); font-weight: 600; }

.nflgt-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .nflgt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nflgt-grid { grid-template-columns: repeat(3, 1fr); } }
.nflgt-day { font-size: 1rem; margin: 8px 0 0; }

.nflgt-card { display: block; text-decoration: none; color: inherit; background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 10px 14px; min-height: 88px; }
.nflgt-card__status { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--_m); margin-bottom: 4px; }
.nflgt-card__foot { font-size: .75rem; color: var(--_m); margin-top: 4px; }
.nflgt-team { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.nflgt-abbr { display: inline-grid; place-items: center; min-width: 40px; height: 24px; border-radius: 6px; background: var(--_s2); font-size: .75rem; font-weight: 700; color: var(--_t); text-decoration: none; padding: 0 4px; }
.nflgt-tname { flex: 1; font-size: .9375rem; }
.nflgt-score { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.nflgt-team--winner .nflgt-tname { font-weight: 700; }
.nflgt-team--winner .nflgt-score { color: var(--_win); }
.nflgt-team--loser .nflgt-score, .nflgt-team--loser .nflgt-tname { color: var(--_m); font-weight: 500; }

.nflgt-pill { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .6875rem; letter-spacing: .03em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: var(--_s2); color: var(--_m); }
.nflgt-pill--live { background: transparent; color: var(--_live); }
.nflgt-pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--_live); }
.nflgt-pill--delayed { background: var(--_wb); color: var(--_wi); }
.nflgt-pill--final { background: transparent; color: var(--_t); }

.nflgt-banner { background: var(--_wb); color: var(--_wi); border-radius: 8px; padding: 10px 12px; font-size: .8125rem; }
.nflgt-state { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 14px; }
.nflgt-state h3 { margin: 0 0 4px; font-size: .9375rem; }
.nflgt-state p { margin: 0; font-size: .875rem; color: var(--_m); }

.nflgt-tablewrap { overflow-x: auto; border: 1px solid var(--_b); border-radius: var(--_r); background: var(--_s); }
.nflgt-table { border-collapse: collapse; width: 100%; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.nflgt-table caption { text-align: left; font-weight: 700; padding: 10px 12px 6px; font-size: .875rem; }
.nflgt-table th, .nflgt-table td { padding: 8px 10px; text-align: right; white-space: nowrap; border-top: 1px solid var(--_b); }
.nflgt-table thead th { background: var(--_s2); font-weight: 600; color: var(--_m); font-size: .75rem; }
.nflgt-table th:first-child, .nflgt-table td:first-child { text-align: left; position: sticky; left: 0; background: var(--_s); }
.nflgt-table thead th:first-child { background: var(--_s2); }
.nflgt-table abbr { text-decoration: none; }
.nflgt-why { color: var(--_m); font-size: .75rem; }
.nflgt-unresolved th { font-style: italic; }
.nflgt-seed { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--_br); color: var(--_bi); font-size: .6875rem; font-weight: 700; margin-right: 6px; }

.nflgt-seeds { display: grid; gap: 16px; }
@media (min-width: 768px) { .nflgt-seeds { grid-template-columns: 1fr 1fr; } }
.nflgt-seeds h2, .nflgt-seeds h3 { margin: 0 0 6px; font-size: 1rem; }
.nflgt-seedlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nflgt-seedlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--_s); border: 1px solid var(--_b); border-radius: 8px; padding: 6px 10px; font-size: .875rem; }
.nflgt-seed__team { font-weight: 600; }
.nflgt-seed__rec { color: var(--_m); }
.nflgt-seedlist .nflgt-why { margin-left: auto; }
.nflgt-hunt { font-size: .8125rem; color: var(--_m); }

.nflgt-scorehead { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 8px; }
.nflgt-big { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nflgt-leaders { display: grid; gap: 8px; }
@media (min-width: 768px) { .nflgt-leaders { grid-template-columns: repeat(2, 1fr); } }
.nflgt-leader { background: var(--_s); border: 1px solid var(--_b); border-radius: 8px; padding: 8px 12px; font-size: .8125rem; }
.nflgt-leader b { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--_m); }

.nflgt-picks { display: flex; flex-direction: column; gap: 8px; }
.nflgt-pick { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 10px 12px; margin: 0; }
.nflgt-seg { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 4px; margin-top: 6px; background: var(--_s2); padding: 4px; border-radius: 8px; }
.nflgt-seg label { position: relative; }
.nflgt-seg input { position: absolute; opacity: 0; inset: 0; }
.nflgt-seg span { display: grid; place-items: center; min-height: 44px; border-radius: 6px; font-weight: 600; font-size: .875rem; cursor: pointer; }
.nflgt-seg input:checked + span { background: var(--_br); color: var(--_bi); }
.nflgt-seg input:focus-visible + span { outline: 2px solid var(--_br); outline-offset: 2px; }
.nflgt-btn { font: inherit; font-size: .875rem; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--_b); background: var(--_s); color: var(--_t); cursor: pointer; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; }
.nflgt-btn--primary { background: var(--_br); color: var(--_bi); border-color: var(--_br); }
.nflgt-proj { background: var(--_s); border: 1px solid var(--_b); border-top: 3px solid var(--_br); border-radius: var(--_r); padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.nflgt-filter select { font: inherit; font-size: .875rem; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--_b); background: var(--_s); color: var(--_t); min-height: 40px; }
.nflgt-teams__grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .nflgt-teams__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nflgt-teams__grid { grid-template-columns: repeat(4, 1fr); } }
.nflgt-teams ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nflgt-teams h3 { font-size: .9375rem; margin: 0 0 6px; }

.nflgt-source { font-size: .75rem; color: var(--_m); border-top: 1px dashed var(--_b); padding-top: 6px; margin: 4px 0 0; }
.nflgt-source--mock { color: #7a0b0b; font-weight: 700; }
.nflgt-updated { margin-left: 6px; }

@media (prefers-reduced-motion: no-preference) { .nflgt-score.is-changed { animation: nflgt-flash 1.2s ease-out; } }
@keyframes nflgt-flash { from { background: var(--_wb); } to { background: transparent; } }

/* Homepage previews (compact block attribute). */
.nflgt-standings__pair { display: grid; gap: 12px; }
@media (min-width: 768px) { .nflgt-standings__pair { grid-template-columns: 1fr 1fr; } }
.nflgt-more { margin: 0; font-size: .875rem; font-weight: 600; }
.nflgt-more a { color: var(--_br); }
