/* Fog Studio. Fog Rugby tokens (Rev 4). Jost is the sanctioned off-platform fallback for Futura PT. */
:root {
  --fog-blue: #006EB6; --fog-light-blue: #24A0F1; --fog-dark-blue: #00243C;
  --fog-gray: #DCDDDE; --fog-gray-50: #F1F2F3; --fog-dark-gray: #141718; --fog-white: #FFFFFF;
  --fog-slate: #3D464D;     /* secondary text, 9.6:1 on white */
  --fog-amber: #9A5B00;     /* "needs you", 5.6:1 on white */
  --fog-red: #C4321F;
  --fog-green: #157A38;
  --font: "Futura PT", "Jost", Arial, sans-serif;
  --focus-ring: 0 0 0 2px var(--fog-white), 0 0 0 4px var(--fog-blue);
  --focus-ring-dark: 0 0 0 2px var(--fog-dark-blue), 0 0 0 4px var(--fog-white);
  --shadow: 0 20px 48px rgba(0, 18, 30, 0.36);
  --motion: 200ms;
  /* Set per match from the manifest (validated #RRGGBB). Fog Blue never changes. */
  --opp-main: #3D464D; --opp-second: #3D464D; --opp-ink: #FFFFFF; --opp-mark: #3FB98A;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--fog-dark-gray);
  background-color: var(--fog-dark-blue); background-image: url(/static/fog-nebuly.svg); background-size: 170px auto; }
.page { min-height: 100vh; display: flex; flex-direction: column; background: rgba(0, 18, 30, 0.42); }
.hidden { display: none !important; }
h1, h2, h3, p { margin: 0; }
a:link, a:visited { color: var(--fog-blue); text-underline-offset: 0.15em; }
a:hover { color: var(--fog-dark-blue); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.resume :focus-visible, .status :focus-visible { box-shadow: var(--focus-ring-dark); }

.pride { display: flex; height: 8px; }
.pride--bottom { height: 5px; }
.pride span { flex: 1; }
.pride span:nth-child(1) { background: #000000; } .pride span:nth-child(2) { background: #613915; }
.pride span:nth-child(3) { background: #74D7EE; } .pride span:nth-child(4) { background: #FFAFC8; }
.pride span:nth-child(5) { background: #FFFFFF; } .pride span:nth-child(6) { background: #E40303; }
.pride span:nth-child(7) { background: #FF8C00; } .pride span:nth-child(8) { background: #FFED00; }
.pride span:nth-child(9) { background: #008026; } .pride span:nth-child(10) { background: #004DFF; }
.pride span:nth-child(11) { background: #750787; }

/* Top bar */
.bar { background: var(--fog-white); border-bottom: 1px solid var(--fog-gray); color: var(--fog-dark-blue); }
.bar__in { max-width: 1360px; margin: 0 auto; min-height: 60px; padding: 6px 24px; display: flex; flex-wrap: wrap;
  gap: 12px 16px; align-items: center; justify-content: space-between; }
.bar__brand { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.brand span { color: var(--fog-blue); }
.bar__where { font-size: 15px; color: var(--fog-slate); }
.bar__tools { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.bar__key { font-size: 14px; color: var(--fog-slate); }

.main { flex: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
#home { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }

.card { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); border-radius: 4px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card--match { flex: 999 1 520px; padding: 24px 28px; gap: 8px; }
.card--score { flex: 1 1 420px; border-top: 6px solid var(--fog-blue); }
.card--score[data-state="fail"], .card--score[data-state="no_score"], .card--score[data-state="overridden"] { border-top-color: var(--fog-amber); }
.card--todo { flex: 1 1 320px; gap: 10px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fog-blue); }
.eyebrow--light { color: var(--fog-light-blue); }
.eyebrow--small { font-size: 12px; }
.card--score[data-state="fail"] .eyebrow, .card--score[data-state="no_score"] .eyebrow, .card--score[data-state="overridden"] .eyebrow { color: var(--fog-amber); }
h1 { font-size: clamp(26px, 6vw, 42px); line-height: 1.05; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fog-dark-blue); overflow-wrap: anywhere; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fog-dark-blue); }
h3 { font-size: 18px; font-weight: 600; color: var(--fog-dark-blue); margin-top: 8px; }
.note { font-size: 15px; color: var(--fog-slate); }
.headline { font-size: 22px; font-weight: 700; line-height: 1.25; }

.pills { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.pill { font-weight: 700; padding: 6px 12px; border-radius: 2px; }
.pill--fog { background: var(--fog-blue); color: var(--fog-white); }
.pill--opp { background: var(--opp-main); color: var(--opp-ink); border-bottom: 4px solid var(--opp-second); }
.pill--small { font-size: 14px; padding: 3px 10px; }
.pill--small.pill--opp { border-bottom-width: 3px; }

.resume { flex: 1 1 300px; background: var(--fog-dark-blue); color: var(--fog-white); border: 1px solid var(--fog-light-blue);
  box-shadow: var(--shadow); padding: 20px 24px; border-radius: 4px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.resume__text { font-size: 18px; }

/* Buttons: real buttons, 44px targets */
.btn { font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px;
  padding: 10px 18px; min-height: 44px; cursor: pointer; background: var(--fog-blue); color: var(--fog-white); border: 2px solid var(--fog-blue);
  transition: background-color var(--motion) ease, color var(--motion) ease; }
.btn:hover { background: var(--fog-dark-blue); border-color: var(--fog-dark-blue); }
.btn--line { background: var(--fog-white); color: var(--fog-dark-blue); border-color: var(--fog-dark-blue); }
.btn--line:hover { background: var(--fog-dark-blue); color: var(--fog-white); }
.btn--white { background: var(--fog-white); color: var(--fog-dark-blue); border-color: var(--fog-white); }
.btn--white:hover { background: var(--fog-gray); border-color: var(--fog-gray); }
.btn--danger { background: var(--fog-red); border-color: var(--fog-red); }
.btn--link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--fog-blue); text-transform: none; letter-spacing: 0;
  font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; text-align: left; align-self: flex-start; }
.btn--link:hover { background: none; color: var(--fog-dark-blue); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field--grow { flex: 1 1 260px; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
label, legend { font-size: 14px; font-weight: 600; color: var(--fog-dark-blue); }
input, select { font: inherit; font-size: 16px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--fog-slate); border-radius: 2px;
  background: var(--fog-white); color: var(--fog-dark-gray); min-width: 0; max-width: 100%; }
input[type="number"] { width: 110px; }
input[type="color"] { width: 64px; padding: 4px; }
input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; margin: 0; }
select { width: 100%; }
.check { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-right: 16px; font-size: 16px; font-weight: 400; color: var(--fog-dark-gray); }
fieldset.formats { border: 0; padding: 0; margin: 0; }
.score-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.override summary { cursor: pointer; font-weight: 600; color: var(--fog-blue); min-height: 44px; display: flex; align-items: center; }
.override form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 8px; }

/* Status tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--fog-gray); border-top: 6px solid var(--fog-gray); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--fog-white); }
.tile__state { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog-slate); }
.tile__title { font-size: 20px; font-weight: 700; }
.tile__detail { font-size: 15px; color: var(--fog-slate); }
.tile[data-state="done"] { border-top-color: var(--fog-blue); }
.tile[data-state="done"] .tile__state, .tile[data-state="in_progress"] .tile__state { color: var(--fog-blue); }
.tile[data-state="needs_you"] { border-top-color: var(--fog-amber); }
.tile[data-state="needs_you"] .tile__state { color: var(--fog-amber); }
.tile[data-state="in_progress"] { border-top-color: var(--fog-light-blue); }
.tile[data-state="locked"] { background: var(--fog-gray-50); }
.meter { height: 10px; background: var(--fog-gray); border-radius: 2px; }
.meter > div { height: 10px; background: var(--fog-blue); border-radius: 2px; }

/* Score check */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--fog-gray); vertical-align: top; }
thead th { border-bottom: 2px solid var(--fog-dark-gray); }
.score-table th.num, .score-table td.num { text-align: right; }
.score-table td.over { font-weight: 700; color: var(--fog-amber); }
.score-table + .score-table { margin-top: 12px; }
.todo { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }

/* Step panels */
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kit-img { width: 100%; height: auto; display: block; border: 1px solid var(--fog-gray); margin-top: 4px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 2px; background: var(--fog-gray); color: var(--fog-dark-gray); white-space: nowrap; }
.tag--fog { background: var(--fog-blue); color: var(--fog-white); }
.tag--opp { background: var(--opp-main); color: var(--opp-ink); border-bottom: 3px solid var(--opp-second); }
.tag--reel { background: var(--fog-dark-blue); color: var(--fog-white); }
.progress { height: 12px; background: var(--fog-gray); border-radius: 2px; }
.progress > div { height: 100%; width: 0; background: var(--fog-blue); border-radius: 2px; transition: width var(--motion) ease; }
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.count { background: var(--fog-white); border: 1px solid var(--fog-gray); border-radius: 4px; padding: 14px 16px; }
.count__n { font-size: 32px; font-weight: 700; color: var(--fog-dark-blue); line-height: 1; }
.count__l { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button, .mini { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; min-height: 44px; padding: 6px 14px; border-radius: 2px;
  border: 1px solid var(--fog-dark-blue); background: var(--fog-white); color: var(--fog-dark-blue); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fog-dark-blue); color: var(--fog-white); }
.mini { margin: 0 6px 6px 0; }
.mini:hover { background: var(--fog-dark-blue); color: var(--fog-white); }
.lean { display: block; font-size: 13px; color: var(--fog-slate); margin: 2px 0 4px; }
.msg { padding: 12px 16px; border-left: 4px solid var(--fog-blue); background: var(--fog-white); border-radius: 2px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.msg--error { border-color: var(--fog-red); }
.msg--ok { border-color: var(--fog-green); }
.msg--warn { border-color: var(--fog-amber); }
#pageMsg:empty, #scoreMsg:empty, #kitState:empty, #sortMsg:empty, #fileMsg:empty, #reelMsg:empty, #reviewScoreMsg:empty, #scoreActions:empty, #rvMsg:empty, #reviewProgressNote:empty { display: none; }

/* Make videos: recipe cards */
.recipes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.recipe { background: var(--fog-white); border: 1px solid var(--fog-gray); border-top: 6px solid var(--fog-gray); border-radius: 4px;
  padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.recipe[data-state="ready"] { border-top-color: var(--fog-blue); }
.recipe[data-state="nearly"] { border-top-color: var(--fog-light-blue); }
.recipe[data-state="needs_you"] { border-top-color: var(--fog-amber); }
.recipe[data-state="after_review"], .recipe[data-state="later"] { background: var(--fog-gray-50); }
.recipe__head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.recipe__state { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog-slate); }
.recipe[data-state="ready"] .recipe__state, .recipe[data-state="nearly"] .recipe__state { color: var(--fog-blue); }
.recipe[data-state="needs_you"] .recipe__state { color: var(--fog-amber); }
h3.recipe__title { font-size: 21px; font-weight: 700; line-height: 1.2; margin: 0; color: var(--fog-dark-gray); }
.recipe__wait { font-size: 15px; font-weight: 600; color: var(--fog-dark-blue); flex: 1; }
.recipe .btn { align-self: flex-start; }
fieldset.recipe__formats { border: 0; padding: 0; margin: 0; }
.recipe__formats legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.recipe__out:empty { display: none; }
.recipe__out { font-size: 15px; overflow-wrap: anywhere; }

/* Screen 2: review one clip. List | clip | help; on a phone the clip comes first. */
.review { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(240px, 300px);
  grid-template-areas: "list clip side"; gap: 20px; align-items: start; }
.rv-list { grid-area: list; padding: 16px; gap: 12px; position: sticky; top: 12px; max-height: calc(100vh - 24px); }
.rv-clip { grid-area: clip; padding: 20px; gap: 14px; }
.rv-side { grid-area: side; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rv-side .card { padding: 16px 18px; gap: 8px; }
.rv-list__head { display: flex; flex-direction: column; gap: 2px; }
.rv-list .filters button { padding: 6px 10px; font-size: 13px; min-width: 44px; }
.rv-tally { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.rv-tally li { display: inline-flex; align-items: center; gap: 6px; }
.rv-tally i { display: block; width: 12px; height: 12px; border-radius: 2px; background: var(--fog-amber); }
.rv-tally [data-status="check_again"] { background: #B3261E !important; }
.rv-tally [data-status="fog"] { background: var(--fog-blue) !important; }
.rv-tally [data-status="opponent"] { background: var(--opp-main) !important; }
.rv-tally [data-status="cant_tell"] { background: #6B7480 !important; }
.rv-items { list-style: none; margin: 0; padding: 0; border: 1px solid var(--fog-gray); border-radius: 2px; overflow-y: auto; min-height: 120px; flex: 1; }
.rv-item { font: inherit; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; text-align: left;
  background: var(--fog-white); color: var(--fog-dark-gray); border: 0; border-bottom: 1px solid var(--fog-gray);
  border-left: 6px solid transparent; padding: 9px 10px; min-height: 44px; cursor: pointer; }
.rv-item:hover { background: var(--fog-gray-50); }
.rv-item__name { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.rv-item__sub { grid-column: 1 / -1; font-size: 14px; color: var(--fog-slate); }
.rv-item[aria-current="true"] { background: var(--fog-dark-blue); color: var(--fog-white); border-left-color: var(--fog-light-blue); }
.rv-item[aria-current="true"] .rv-item__sub { color: var(--fog-gray); }
.badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 2px; white-space: nowrap; border: 1px solid transparent; }
.badge--to_review { background: var(--fog-white); color: #7A4700; border-color: var(--fog-amber); }
.badge--check_again { background: #B3261E; color: var(--fog-white); }
.badge--fog { background: var(--fog-blue); color: var(--fog-white); }
.badge--opponent { background: var(--opp-main); color: var(--opp-ink); border-bottom: 3px solid var(--opp-second); }
.badge--cant_tell { background: #6B7480; color: var(--fog-white); }
.badge--current { background: var(--fog-light-blue); color: var(--fog-dark-blue); }

.rv-clip__head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; }
.rv-clip__name { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.rv-clip h1 { font-size: 22px; letter-spacing: 0.04em; text-transform: none; }
.rv-player { position: relative; aspect-ratio: 16 / 9; background: var(--fog-dark-gray); border-radius: 2px; overflow: hidden; }
.rv-player video { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--fog-dark-gray); }
.rv-player__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px;
  text-align: center; color: var(--fog-gray); font-size: 16px; pointer-events: none; }
.rv-controls { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.rv-controls .mini, .rv-rating .mini { margin: 0; }
.mini[aria-pressed="true"] { background: var(--fog-dark-blue); color: var(--fog-white); }
fieldset.rv-answer, fieldset.rv-rating { border: 0; padding: 0; margin: 0; min-width: 0; }
.rv-answer legend { font-size: 20px; font-weight: 700; color: var(--fog-dark-gray); margin-bottom: 10px; }
.rv-answer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.answer { font: inherit; border-radius: 2px; padding: 14px 16px; min-height: 72px; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 2px; cursor: pointer; text-align: left; border: 0; position: relative; }
.answer__name { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.answer__key { font-size: 15px; }
.answer--fog { background: var(--fog-blue); color: var(--fog-white); }
.answer--opp { background: var(--opp-main); color: var(--opp-ink); border-bottom: 6px solid var(--opp-second); }
.answer--none { background: var(--fog-white); color: var(--fog-dark-blue); border: 2px solid var(--fog-dark-blue); }
.answer:hover { filter: brightness(0.9); }
.answer[aria-pressed="true"] { outline: 4px solid var(--fog-dark-gray); outline-offset: 2px; }
.answer[aria-pressed="true"] .answer__key::after { content: " · Your answer"; font-weight: 700; }
.answer:disabled { opacity: 0.5; cursor: wait; }
.rv-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; align-items: end; }
.rv-extra legend { margin-bottom: 4px; }
.rv-score { border-top: 6px solid var(--fog-blue); }
.rv-score[data-state="fail"], .rv-score[data-state="no_score"], .rv-score[data-state="overridden"] { border-top-color: var(--fog-amber); }
.rv-score[data-state="fail"] .eyebrow, .rv-score[data-state="no_score"] .eyebrow { color: var(--fog-amber); }
.rv-score__head { font-size: 17px; font-weight: 700; line-height: 1.3; }
#aiBody { font-size: 16px; display: flex; flex-direction: column; gap: 6px; }
.keys { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.keys dt { font-weight: 700; }
.keys dd { margin: 0; }
.rv-nav .btn { flex: 1; }
.rv-home { width: 100%; }
.timeline i[data-current] { width: 6px; height: 40px !important; bottom: 0; background: var(--fog-white) !important; z-index: 1; }

@media (max-width: 1100px) {
  .review { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); grid-template-areas: "clip side" "list side"; }
  .rv-list { position: static; max-height: 480px; }
}
@media (max-width: 760px) {
  .review { grid-template-columns: minmax(0, 1fr); grid-template-areas: "clip" "side" "list"; gap: 16px; }
  .rv-clip, .rv-list { padding: 16px; }
}

/* Footer: now watching + timeline */
.status { background: rgba(0, 18, 30, 0.94); border-top: 1px solid var(--fog-light-blue); color: var(--fog-white); }
.status__in { max-width: 1360px; margin: 0 auto; padding: 12px 24px 10px; display: flex; flex-direction: column; gap: 10px; }
.status__top { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.status__now { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.status__meta { font-size: 14px; color: var(--fog-gray); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.legend li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.legend i, .timeline i { display: block; border-radius: 1px; background: #E0A030; }
.legend i { width: 4px; height: 14px; }
.timeline { position: relative; height: 40px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: rgba(255, 255, 255, 0.35); }
.timeline i { position: absolute; bottom: 8px; width: 3px; height: 16px; }
[data-status="check_again"] { background: #FF6B5E !important; }
[data-status="fog"] { background: #24A0F1 !important; }
[data-status="opponent"] { background: var(--opp-mark) !important; }
[data-status="cant_tell"] { background: #AEB6BF !important; }
.timeline [data-status="check_again"], .timeline [data-status="fog"] { height: 28px; }
.timeline [data-status="opponent"] { height: 22px; }
.timeline [data-status="cant_tell"] { height: 12px; }
.ticks { position: relative; height: 18px; font-size: 12px; color: var(--fog-gray); }
.ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }
.status__notes { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; font-size: 13px; color: var(--fog-gray); }

@media (max-width: 520px) {
  .main { padding: 16px; gap: 16px; }
  #home { gap: 16px; }
  .bar__in, .status__in { padding-left: 16px; padding-right: 16px; }
  .card, .card--match { padding: 16px; }
  .score-form .btn, .override form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; } }

/* Google sign-in card */
.signin { max-width: 520px; margin: 48px auto; text-align: left; }
.signin h1 { margin: 6px 0 8px; }
.signin p { color: var(--fog-slate); }
.signin__btn { margin: 20px 0 8px; min-height: 44px; }
#signinMsg:empty { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#people select, #people input { min-height: 44px; }
#people td, #people th { text-align: left; padding: 8px 12px 8px 0; vertical-align: middle; }
