/* B27, matches on video (MATCH_VIDEOS_DIRECTION §3.2, §4). Tokens only; kit classes are composed,
   never restyled. The bracket's mark lives in foos.css, which the TV loads too. */

/* ---------- The thumbnail with its play disc (§4.1, §4.6) ---------- */
.mv-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-control); background: var(--surface-2);
}
.mv-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.mv-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-disc {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: color-mix(in srgb, var(--field-ink) 90%, transparent); color: var(--field);
}
.mv-disc .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.mv-disc--28 { position: static; flex: none; width: 28px; height: 28px; margin: 0; }
.mv-disc--28 .icon { width: 13px; height: 13px; margin-left: 2px; }
.mv-thumb .video-card__dur { z-index: 1; }

/* ---------- Home: the champion item and the rivalry flip (§4.1, §4.2) ---------- */
.mv-feed { display: block; max-width: 560px; }
.mv-watch { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; color: var(--ink); text-decoration: none; }
.mv-watch .t-name { font-size: var(--fs-body); }
.mv-watch .t-meta { color: var(--ink-2); }

/* ---------- The match sheet (§4.3) ---------- */
.mvs { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 16px; }
.mvs__meta { color: var(--ink-2); text-align: center; }
.mvs__act { align-self: center; }

/* ---------- Add a video (§3.2) ---------- */
.mva { display: flex; flex-direction: column; gap: 14px; }
.mva__head { display: flex; flex-direction: column; gap: 4px; }
.mva__plate { color: var(--ink-2); }
.mva__head .t-headline { margin: 0; }
.mva__meta { color: var(--ink-2); }
.mva-look:empty { display: none; }
.mva-look { display: flex; flex-direction: column; gap: 10px; }
.mv-q > .input-label { display: block; margin-bottom: 8px; }
.mva__at { margin-top: 12px; }
.mva__clock { max-width: 140px; }
.mv-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; }
.mv-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.mv-check > span { display: flex; flex-direction: column; gap: 2px; }
.mv-check__label { font-weight: 600; font-size: var(--fs-body); color: var(--ink); }
.mv-check .t-meta { color: var(--ink-2); }

/* ---------- Sheets: take it off, tell the TD (§4.9, §4.10) ---------- */
.mv-confirm { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }

/* ---------- The champion plate's ask (§4.5) ---------- */
.champ__actions > .champ__watch { display: inline-flex; justify-content: center; }
.champ__actions > .btn--field-tertiary.champ__watch { width: auto; align-self: center; }
.mv-ask { order: 3; width: 100%; margin: 14px auto 0; max-width: 480px; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2px 6px; }
.mv-ask .t-meta { color: var(--field-ink-2); }

/* ---------- Watch it back: the tournament's row (§4.6) ---------- */
.mv-row-card { display: flex; flex-direction: column; gap: 6px; width: 240px; flex: none; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.mv-row-card__plate { color: var(--ink-2); margin-top: 2px; }
.mv-row-card__ch { color: var(--ink-2); }
.mv-sides { font-weight: 600; font-size: var(--fs-meta); line-height: 1.35; color: var(--ink); }
.mv-sides .mv-score { padding: 0 0.3em; color: var(--ink-2); }
/* 1280 and up: the board fills the left column top to bottom, so the row joins the side column,
   under the standings (foos.css's .tp grid). */
@media (min-width: 1280px) {
  .tp > .mv-back { grid-column: 2; grid-row: 5; align-self: start; min-width: 0; max-width: none; margin: 0; padding: 28px 24px 0; }
  .tp:has(> .mv-back) > .tp__roster { grid-row: 6; align-self: start; }
  .tp > .mv-back .w-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tp > .mv-back .w-row > .video-card { display: flex; }
}

/* ---------- The video page's match plate and In this video (§4.7) ---------- */
.mv-plate { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding: 16px;
  border-radius: var(--radius-card); background: var(--surface-1); }
.mv-plate > .t-plate { color: var(--ink-2); }
.mv-plate .match { cursor: default; }
.mv-plate .match:active { transform: none; }
.mv-plate .t-meta { color: var(--ink-2); }
.mv-gold { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--gold); font-weight: 600; font-size: var(--fs-body); }
.mv-gold .icon { flex: none; width: 20px; height: 20px; }
.mv-plate__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.mv-plate__foot { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: -4px; }
.mv-in { margin-bottom: 16px; }
.mv-in__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center;
  gap: 4px 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mv-in__words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mv-in__words .t-plate { color: var(--ink-2); }
.mv-in__row.is-now { background: linear-gradient(90deg, var(--surface-1), transparent); }
