/* =========================================================
   THE ROUND ROBIN — Oscars shared components
   Loaded by /oscars/forecasts/ and /oscars/history/ via the
   layout's `extra_css` front-matter hook.

   These eleven .osc-field-* rules plus .osc-empty-state were written
   TWICE, once in each page's own <style> block, because the two pages
   were built separately and nothing made the first copy visible to the
   second. They had already drifted: /oscars/forecasts/ had picked up a
   hover lift and a pointer cursor that /oscars/history/ never got.

   Those two differences are real -- a forecast card is clickable, a
   history card is not -- so they stay as overrides on the forecasts
   page rather than being averaged away here.

   Requires assets/css/tokens.css (loaded ahead of this by the layout).
   ========================================================= */

/* ---- The Field ---- */
.osc-field-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.osc-field-title {
  font-family: var(--fd); font-weight: 600; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text);
}
.osc-field-note { font-family: var(--fb); font-size: 12px; color: var(--muted); }
.osc-field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; }
.osc-field-card { min-width: 0; }
.osc-field-poster {
  position: relative; aspect-ratio: 2/3; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-2); margin-bottom: 9px; background: var(--surface);
}
.osc-field-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.osc-field-rank {
  position: absolute; top: 6px; left: 6px; font-family: var(--fm); font-size: 10px;
  font-weight: 700; padding: 2px 6px; border-radius: var(--r-pill);
  background: rgba(1,23,43,0.72); color: var(--sub); backdrop-filter: blur(3px);
}
.osc-field-pick {
  position: absolute; top: 6px; right: 6px; font-family: var(--fd); font-size: 9px;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--r-pill); background: rgba(239,68,68,0.85); color: #fff; backdrop-filter: blur(3px);
}
.osc-field-name {
  font-family: var(--fb); font-size: 12.5px; font-weight: 600; color: var(--sub);
  line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px;
}
.osc-field-probrow { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.osc-field-prob { font-family: var(--fm); font-size: 12px; color: var(--text); min-width: 34px; }
.osc-field-bar-track { flex: 1; height: 4px; background: var(--border); border-radius: var(--r-sm); overflow: hidden; }
.osc-field-bar { height: 100%; background: var(--muted); border-radius: var(--r-sm); }
.osc-field-year { font-family: var(--fm); font-size: 10px; color: var(--muted); }

.osc-empty-state {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-5); text-align: center; color: var(--sub);
  font-family: var(--fb); font-size: 14px; line-height: 1.7;
}
.osc-empty-state strong { color: var(--text); }
