/* MOVE Coach — Apple-style layer: SF system font, iOS dark system grays, inset grouped lists,
   segmented controls, frosted nav bar / menus / sheets, iOS switches, SF Rounded numbers.
   Loaded after style.css on index.html only (admin.css does the same for the admin portal).
   Dark only, like the app; MOVE cyan stays the tint. The clip overlay keeps Montserrat — it
   draws what the app burns into a clip, so index.html still loads that font. */

:root {
  --bg: #000;
  --surface: #1c1c1e;
  --surface-hi: #2c2c2e;
  --surface-top: #3a3a3c;
  --fill: rgba(118,118,128,.24);
  --fill-hi: rgba(118,118,128,.34);
  --line: rgba(84,84,88,.55);
  --line-hi: rgba(84,84,88,.85);
  --muted: rgba(235,235,245,.6);
  --dim: rgba(235,235,245,.3);
  --bad: #ff453a;
  --good: #30d158;
  --material: rgba(28,28,30,.74);
  --material-thick: rgba(44,44,46,.82);
  --r-tile: 12px;
  --r-card: 16px;
  --r-inner: 10px;
  --shadow: none;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --sf-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ring: 0 0 0 3px rgba(0,220,250,.4);
}

body {
  font-family: var(--sf);
  font-size: 15px;
  letter-spacing: -.01em;
  background: var(--bg);
}
::selection { background: rgba(0,220,250,.35); }
:focus-visible { outline: 3px solid rgba(0,220,250,.5); outline-offset: 1px; }
a:hover { color: var(--cyan); opacity: .8; }

/* SF Rounded for every big number, the way Health and Fitness set theirs. */
.kpi .v, .t-speed, .s-nums b, .bd-hero, .bd-score-v, .bd-small b, .mv, .rank-v, .pr-val, .podium-r em, .lab-tip strong,
.rep-cardt td.big, .s-time, .delta, .move, .avatar, .logo, .rep-n, .rank-n {
  font-family: var(--sf-rounded);
}

/* ---- Type ---- */
h1 { font-size: 34px; font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: 20px; font-weight: 600; }
.section-title {
  font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted);
  margin: 28px 16px 8px;
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.day { font-size: 20px; font-weight: 700; color: var(--text); margin: 26px 0 10px; padding-left: 0; letter-spacing: -.01em; }
.note { color: var(--muted); }

/* Back links read like a nav bar's back button: tint, a chevron, no weight. */
.crumb, .back { color: var(--cyan); font-size: 15px; font-weight: 400; gap: 2px; }
.crumb:hover, .back:hover { color: var(--cyan); opacity: .7; }
.back.linkbtn { color: var(--cyan); font-size: 15px; }
.back.linkbtn:hover { color: var(--cyan); opacity: .7; }

/* ---- Nav bar: a thin frosted material with a hairline ---- */
.topbar {
  background: var(--material);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--line-hi);
  padding-top: calc(env(safe-area-inset-top) + 11px); padding-bottom: 11px;
}
.brand img { height: 20px; }
.who { color: var(--muted); font-size: 13px; }

/* ---- Cards and inset grouped lists ---- */
.card { background: var(--surface); border: 0; border-radius: var(--r-card); box-shadow: none; padding: 16px 18px; }
.card.tight { border-radius: var(--r-tile); }
.item {
  background: var(--surface); border: 0; border-radius: var(--r-tile); padding: 11px 16px; min-height: 52px;
}
button.item:hover, a.item:hover { background: var(--surface-hi); border-color: transparent; }
button.item:active, a.item:active { background: var(--surface-top); }
.item .title { font-weight: 500; font-size: 16px; }
.item .detail { font-size: 13px; }
.chev { color: var(--dim); font-size: 20px; font-weight: 600; line-height: 1; }

/* A .list is one grouped section: rows share a rounded background, split by inset hairlines. */
.list { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.list > * + * { margin-top: 0; }
.list > .item, .list > .card { position: relative; border-radius: 0; background: transparent; }
.list > .item:hover { background: var(--surface-hi); }
.list > :is(.item, .card) + :is(.item, .card)::before {
  content: ""; position: absolute; top: 0; right: 0; left: 16px; height: .5px; background: var(--line); pointer-events: none;
}
.list > :is(.item, .card) + .item:has(> .logo.sm)::before { left: 72px; }
.list > :is(.item, .card) + .item:has(> .avatar.sm)::before { left: 58px; }
.list > .empty { margin: 0; }
.list > p { margin: 0; padding: 14px 16px; }

/* ---- Buttons ---- */
.btn {
  background: var(--fill); color: var(--text); border: 0; border-radius: 12px; padding: 11px 16px;
  font-weight: 600; font-size: 15px; transition: background .15s, opacity .15s, transform .1s;
}
.btn:hover { background: var(--fill-hi); border: 0; color: var(--text); }
.btn:active { transform: scale(.97); opacity: .8; }
.btn.primary { background: #fff; color: #000; }
.btn.primary:hover { background: #fff; color: #000; opacity: .88; }
.btn.accent { background: var(--cyan); color: #000; }
.btn.accent:hover { background: var(--cyan); color: #000; opacity: .88; }
.btn.ghost { background: transparent; color: var(--cyan); }
.btn.ghost:hover { background: var(--fill); color: var(--cyan); }
.btn.small { padding: 6px 13px; font-size: 13px; border-radius: 999px; }
.btn.block { border-radius: 14px; padding: 15px; font-size: 17px; }
.btn:disabled { opacity: .35; }
.linkbtn { font-weight: 500; }
.linkbtn:hover { opacity: .7; }
.iconbtn { border: 0; background: var(--fill); }
.iconbtn:hover { background: var(--fill-hi); }

/* ---- Fields ---- */
input[type=text], input[type=email], input[type=password], input[type=number], select {
  background: var(--fill); border: 0; border-radius: var(--r-inner); padding: 11px 13px;
}
input::placeholder { color: var(--dim); }
input:focus, select:focus { border-color: transparent; box-shadow: var(--ring); }
label.field > span { font-size: 13px; font-weight: 400; color: var(--muted); margin: 0 0 6px 4px; }
input[type=file] { font-size: 14px; color: var(--muted); }
input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; color: var(--cyan); background: rgba(0,220,250,.14);
  border: 0; border-radius: 999px; padding: 6px 12px; margin-right: 10px; cursor: pointer;
}
.logo-drop { border: 0; background: var(--fill); border-radius: var(--r-tile); }
.swatch input[type=color] { border: 0; }
.player-row { background: var(--surface); border: 0; border-radius: var(--r-card); }
.player-row .row-head { font-size: 13px; }
.steps i { background: var(--fill); }

/* iOS switch: 51 × 31, green when on. */
.toggle { font-weight: 400; font-size: 15px; }
.toggle .sw { width: 51px; height: 31px; background: var(--fill-hi); }
.toggle .sw::after { top: 2px; left: 2px; width: 27px; height: 27px; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); }
.toggle input:checked + .sw { background: var(--good); }
.toggle input:checked + .sw::after { transform: translateX(20px); }
.pick input, .colpick input, .colpick-counts input { accent-color: var(--cyan); }

/* ---- Chips and badges: tinted fills, no outlines ---- */
.chip { border: 0; background: var(--fill); color: var(--muted); font-weight: 500; }
.chip.cyan { color: var(--cyan); background: rgba(0,220,250,.15); }
.chip.amber { color: var(--amber); background: rgba(255,191,6,.16); }
/* REACH (Nolan, 2026-10-23): the yellow tag on a catch the glove went far to get to. A tag
   only: no number, no count. Same gold as the app's MoveTheme.amber, dark text, both themes. */
.reach-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: #FDC124; color: #111; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.v-reach .reach-tag { padding: 4px 11px; font-size: 12px; }
/* Training labels (2026-11-07): the app's chip colours — cyan caught, gold not caught, coral no
   ball, grey outline for a record problem. */
.label-tag { display: inline-flex; align-items: center; margin-left: 4px; padding: 2px 8px; border-radius: 999px;
  color: #111; font-size: 10.5px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.label-tag.caught { background: #00DCFA; }
.label-tag.missed { background: #FFBF06; }
.label-tag.noball { background: #FF6B6B; }
.label-tag.record { background: transparent; color: var(--muted); border: 1px solid var(--muted); }
.v-reach { display: flex; flex-wrap: wrap; gap: 4px; }
.v-reach[hidden] { display: none; }
.v-reach .paired-chip, .v-reach .loc-chip { padding: 4px 11px; font-size: 12px; }
.v-reach .label-tag { padding: 4px 11px; font-size: 12px; margin-left: 0; }
.chip.bad { color: var(--bad); background: rgba(255,69,58,.16); }
.badge { border: 0; background: var(--fill); font-weight: 600; }
.badge.ipad { background: rgba(255,191,6,.15); }
.badge.phone { background: rgba(0,220,250,.13); }
.live { font-weight: 500; }
.live::before { box-shadow: none; }

/* ---- Team header ---- */
.hero {
  border: 0; border-radius: 22px; box-shadow: none;
  background:
    radial-gradient(700px 260px at 0% 0%, color-mix(in srgb, var(--team) 26%, transparent), transparent 70%),
    var(--surface);
}
.hero.compact { border-radius: var(--r-card); }
.hero h1 { font-size: 28px; font-weight: 700; }
.hero.compact h1 { font-size: 19px; font-weight: 600; }
.hero .sub { color: var(--muted); }
.kpi { display: flex; flex-direction: column; background: rgba(255,255,255,.06); border: 0; border-radius: 14px; }
.kpi .v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.kpi .v small { font-family: var(--sf); font-size: 13px; font-weight: 500; }
.kpi .k { font-size: 13px; font-weight: 500; margin-top: 0; order: -1; }
.body > .kpis .kpi, .lab-kpis .kpi { background: var(--surface); border: 0; }
.teambar { font-weight: 600; }

/* Segmented control: grey track, a lifted thumb on the chosen segment. */
.tabs, .seg {
  background: var(--fill); border: 0; border-radius: 10px; padding: 2px; gap: 0;
}
.tabs a, .seg button {
  border-radius: 8px; color: var(--text); font-weight: 500; font-size: 14px; padding: 7px 16px;
  transition: background .2s, box-shadow .2s;
}
.seg button { font-size: 13px; padding: 5px 12px; }
.tabs a.on, .seg button.on {
  color: var(--text); background: #636366; font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04);
}
.tabs a:not(.on):hover, .seg button:not(.on):hover { color: var(--text); background: rgba(255,255,255,.06); }
.lab-modes .seg button { font-size: 14px; padding: 7px 16px; }

/* ---- Filters: pull-down buttons ---- */
.dd { background: var(--fill); border: 0; }
.dd:hover, .dd:focus-within, .dd[open] { background: var(--fill-hi); border-color: transparent; }
.dd > span, .dd summary > span {
  font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted);
}
.dd select { font-weight: 600; }
.dd select:focus { box-shadow: none; }
.menu > summary { font-weight: 600; }
.menu > summary b { font-weight: 600; }
.select select { background-color: var(--fill); }
.rep-dates input { background: var(--fill); border: 0; }

/* Menus and popovers: frosted, hairline edge, soft shadow. */
.pop {
  background: var(--material-thick);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: .5px solid rgba(255,255,255,.12); border-radius: 14px; padding: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
}
.pick, .menu-list button { border-radius: 8px; font-weight: 400; }
.pick:hover, .menu-list button:hover { background: rgba(255,255,255,.1); }
.pick.all { border-bottom: .5px solid var(--line); }
.menu-list button.bad { border-top: .5px solid var(--line); }
.lab-tip {
  background: var(--material-thick);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: .5px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.lab-tip strong { font-weight: 700; }

/* ---- Sessions ---- */
.session {
  background: var(--surface); border: 0; border-radius: var(--r-card); box-shadow: none;
  transition: background .15s;
}
.session:hover { background: var(--surface-hi); transform: none; }
.session:active { background: var(--surface-top); }
/* A day's sessions read as one grouped list: shared corners, inset hairlines between rows. */
.session { position: relative; }
.session + .session { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.session:has(+ .session) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.session + .session::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--line); pointer-events: none;
}
.s-time { font-weight: 600; }
.s-nums b { font-weight: 700; }
.s-nums span { font-weight: 400; }
.who-chip { border: 0; background: color-mix(in srgb, var(--c) 16%, transparent); font-weight: 500; }
.who-chip:hover { background: color-mix(in srgb, var(--c) 26%, transparent); }
.who-chip b { font-weight: 600; }
.srow { background: var(--surface); border: 0; border-radius: var(--r-tile); }
.srow:hover { background: var(--surface-hi); }
.srow .title { font-weight: 600; }

.avatar { box-shadow: none; font-weight: 600; }
.logo { font-weight: 700; }

/* ---- Tables ---- */
.panel { background: var(--surface); border: 0; border-radius: var(--r-card); box-shadow: none; }
.panel-h { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); border-bottom: .5px solid var(--line); }
table.grid th { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
table.grid td { border-top: .5px solid var(--line); }
table.grid .num { font-weight: 600; }
.linkish { font-weight: 600; }

/* ---- Catch cards ---- */
.catch { background: var(--surface); border: 0; border-radius: 18px; box-shadow: none; }
.catch:hover { border-color: transparent; }
.thumb { border-bottom: 0; }
.t-idx { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.t-speed { font-weight: 700; }
.t-play { font-weight: 600; }
.mt { background: var(--surface-hi); border-radius: 10px; }
.mk { font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.mv { font-weight: 700; }
/* Clip viewer: a tappable box; lit = on the video (2026-10-07, the app's MetricCard look). */
.mt.tap { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; font: inherit; color: inherit; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: background .15s, box-shadow .15s; }
.mt.tap:hover { background: var(--fill-hi); }
.mt.tap.on { background: color-mix(in srgb, var(--mc) 12%, var(--surface-hi)); box-shadow: inset 0 0 0 1.5px var(--mc); }
.mt.tap.on .mv { color: var(--mc); }
.star { background: rgba(28,28,30,.6); border: 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.star.on { border: 0; }

/* ---- Catchers: one breakdown row each, after Proteus's set summary ---- */
.bd-key { margin: -2px 16px 10px; font-size: 13px; }
.bd-list { display: flex; flex-direction: column; gap: 12px; }
.bd-list.solo { margin-top: 18px; }
.bd-row {
  position: relative; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.6fr) minmax(220px, 1.25fr);
  color: var(--text); background: var(--surface); border-radius: 20px; overflow: hidden; transition: background .15s;
}
a.bd-row:hover { color: var(--text); opacity: 1; background: #232325; }
.bd-row > .chev { position: absolute; top: 16px; right: 14px; color: var(--dim); }
.bd-who {
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px;
  background: radial-gradient(320px 180px at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
}
.bd-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c); }
.bd-eyebrow .amber { color: var(--amber); font-weight: 500; }
.bd-name { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin-top: 8px; overflow-wrap: anywhere; }
.bd-meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 4px; }
.bd-meta b { color: var(--text); font-weight: 700; }
.bd-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin: 0 6px; }
.bd-last { font-size: 12px; color: var(--dim); margin-top: auto; padding-top: 10px; }
.bd-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: rgba(255,255,255,.025); }
.bd-m { padding: 20px 16px 14px; min-width: 0; }
.bd-label { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bd-sub { font-size: 12px; color: var(--muted); font-style: italic; }
.bd-hero {
  display: flex; align-items: flex-start; font-size: 60px; font-weight: 600; line-height: 1;
  letter-spacing: -.04em; margin: 14px 0 10px; white-space: nowrap;
}
.bd-hero small { font-size: 22px; font-weight: 600; letter-spacing: -.01em; align-self: flex-end; margin: 0 0 6px 4px; color: var(--muted); }
.bd-trend {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  font-size: 9px; color: #000; background: #8e8e93; margin-left: 6px; flex: none; font-family: var(--sf);
}
.bd-trend.up { background: var(--good); }
.bd-trend.down { background: var(--bad); color: var(--text); }
.bd-key .bd-trend { vertical-align: -3px; margin: 0 2px; }
.bd-spark { display: block; width: 100%; max-width: 260px; height: auto; border-top: .5px solid var(--line-hi); border-bottom: .5px solid var(--line-hi); padding: 4px 0; overflow: visible; }
.bd-spark .g { stroke: var(--line-hi); stroke-width: 1; stroke-dasharray: 1.5 3; }
.bd-spark .yl { font-size: 8px; fill: var(--muted); text-anchor: end; font-family: var(--sf); }
.bd-spark .xl { font-size: 8px; fill: var(--muted); text-anchor: middle; font-weight: 600; font-family: var(--sf); }
.bd-spark polyline { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 1.6; stroke-linejoin: round; }
.bd-spark circle { fill: #fff; }
.bd-spark circle.on { fill: var(--mc); stroke: #000; stroke-width: 1; }
.bd-spark.none { font-size: 12px; color: var(--dim); padding: 26px 0; max-width: 260px; }
.bd-score { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.bd-score-top { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: .5px solid var(--line-hi); }
.bd-score-v { flex: none; font-size: 76px; font-weight: 500; line-height: .9; letter-spacing: -.05em; }
.bd-smalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bd-small { min-width: 0; }
.bd-small b { display: block; font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.03em; margin-bottom: 4px; }
.bd-small span { display: block; font-size: 13px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.bd-small em { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1180px) {
  .bd-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .bd-metrics { grid-column: 1 / -1; grid-row: 2; }
  .bd-hero { font-size: 52px; }
}
@media (max-width: 720px) {
  .bd-row { grid-template-columns: 1fr; }
  .bd-metrics { grid-row: auto; grid-template-columns: 1fr; }
  .bd-m { display: grid; grid-template-columns: minmax(0, 1fr) 170px; column-gap: 12px; align-items: center; padding: 14px 16px; border-top: .5px solid var(--line); }
  .bd-m .bd-hero { grid-row: span 2; font-size: 40px; margin: 0; order: 3; grid-column: 1; }
  .bd-m .bd-spark, .bd-m .bd-spark.none { grid-column: 2; grid-row: 1 / span 3; padding: 2px 0; }
  .bd-label { font-size: 15px; }
  .bd-name { font-size: 24px; }
  .bd-score-v { font-size: 64px; }
  .bd-small b { font-size: 26px; }
  .bd-who { padding: 18px 16px; }
  .bd-score { padding: 16px; }
}

/* Empty states: a quiet centred message, no dashed box. */
.empty { border: 0; background: var(--surface); }
.empty-t { font-size: 20px; font-weight: 600; }

/* ---- Clip viewer: a sheet over a dimmed page ---- */
/* No blur behind it (2026-10-12): Chrome on a laptop dropped the blur now and then while the
   clip played, flashing the catch list through. A darker plain dim instead. */
.modal { background: rgba(0,0,0,.85); backdrop-filter: none; -webkit-backdrop-filter: none; }
/* The page under an open viewer is hidden, not just dimmed (2026-10-19): Chrome still dropped
   a frame of the viewer now and then — hovering the metric boxes repaints it — and the catch
   list flashed through the hole. With nothing under it there is nothing to flash. */
body:has(> #modal:not([hidden])) > :is(.topbar, #side, #view, #tabbar) { visibility: hidden; }
.viewer { background: var(--surface); border: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.v-side { border-left: .5px solid var(--line); }
.v-jump, .v-ai-scope { align-self: flex-start; }
.v-link { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; font-weight: 600; }
.v-nav { border-top: .5px solid var(--line); }
@media (max-width: 860px) { .v-side { border-left: 0; border-top: .5px solid var(--line); } }
/* Whole picture on a phone (2026-11-17, Sam): the stage was 62vh tall at the clip's own shape,
   so a sideways (16:9) clip came out ~2x the screen's width and showed only its left half —
   the catcher off the right edge. Now as wide as the screen allows, never taller than 62vh;
   an upright clip is exactly as before. */
@media (max-width: 860px) {
  .v-stage .stage { height: auto; width: min(100%, 62vh * var(--ar, .5625)); max-width: 100%; aspect-ratio: var(--ar, 9 / 16); }
}
/* Half and half (2026-10-07, Sam): on a laptop the viewer fills the screen, the clip the left
   half, the numbers and options the right. The clip is as big as the half allows at its own
   shape — --ar (width / height, set from the video) — so the overlay canvas still covers
   exactly the frame. */
@media (min-width: 861px) {
  .viewer { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: calc(100vh - 40px); max-height: none; }
  .v-stage { container-type: size; min-height: 0; padding: 12px; }
  .v-stage .stage { height: auto; width: min(100cqw, 100cqh * var(--ar, .5625)); max-width: none; }
  .v-side { width: auto; min-width: 0; padding: 24px 28px; gap: 16px; }
  .v-side .mtiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .v-side .mt { padding: 10px 12px 9px 14px; }
  .v-side .mv { font-size: 24px; }
}
.dl-toast {
  background: var(--material-thick);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: .5px solid rgba(255,255,255,.12); border-radius: 999px; padding-left: 20px;
}

/* ---- Who caught it (2026-11-15): the catcher chip on a coach-recorded catch + its menu ---- */
.who-pick {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%;
  padding: 3px 10px 3px 3px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--text);
  background: var(--fill); border: .5px solid var(--line);
  transition: border-color .15s, background .15s;
}
.who-pick span:not(.caret) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-pick .caret { color: var(--muted); font-size: 10px; }
.who-pick:hover, .who-pick:focus-visible { border-color: var(--amber); background: var(--fill-hi); outline: none; }
.assign-pop {
  position: absolute; z-index: 70; min-width: 210px; max-width: 280px; max-height: 60vh; overflow-y: auto; padding: 6px;
  background: var(--material-thick); backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: .5px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.95);
}
.assign-h { padding: 6px 8px 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.assign-sub { padding: 4px 8px; font-size: 11px; color: var(--muted); }
.assign-sep { height: .5px; margin: 4px 6px; background: var(--line); }
.assign-opt {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: 0; border-radius: 9px;
  background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
}
.assign-opt span:not(.tick) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assign-opt:hover, .assign-opt:focus-visible { background: var(--fill-hi); outline: none; }
.assign-opt.cur { color: var(--amber); }
.assign-opt .tick { margin-left: auto; color: var(--amber); }
.assign-picked { border-color: var(--amber); color: var(--amber); }
/* Caught by (2026-11-24, caughtby.js): the name on a catch, cyan = the account's own, amber = someone else */
.caught-chip, .caught-pill { color: var(--cyan); border-color: rgba(0,220,250,.45); background: rgba(0,220,250,.12); }
.caught-chip.other, .caught-pill.other { color: var(--amber); border-color: rgba(255,191,6,.5); background: rgba(255,191,6,.12); }
.caught-chip { font-size: 13px; padding: 2px 9px 2px 2px; }
.caught-pill { padding: 5px 12px; font-size: 13px; }
.caught-pill .cb-lead { color: var(--muted); font-weight: 600; }
.cb-dot { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface-top); color: var(--text); font-size: 11px; font-weight: 700; }
.caught-chip + .who-pick { margin-left: 4px; }
.caught-picked { border-color: var(--cyan); color: var(--cyan); }
.cb-type { padding: 4px 4px 2px; }
.cb-type input { width: 100%; box-sizing: border-box; padding: 7px 9px; border-radius: 9px; border: .5px solid var(--line);
  background: var(--fill); color: var(--text); font: inherit; font-size: 14px; }
.cb-type input:focus { outline: none; border-color: var(--cyan); }
.assign-toast .btn { flex: none; }
@media (prefers-color-scheme: light) {
  :root:not(.force-dark) .assign-pop { border-color: var(--line-hi); box-shadow: 0 10px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08); }
}

/* ---- Lab ---- */
.lab-t { font-weight: 600; }
.podium { background: var(--surface); border: 0; }
.podium:hover { background: var(--surface-hi); }
.podium.on { box-shadow: 0 0 0 2px var(--cyan) inset; border: 0; }
.podium-t { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.podium-r em { font-weight: 700; }
.rank { border-top: .5px solid var(--line); }
.rank-name { font-weight: 600; }
.rank-v { font-weight: 700; }
.rank-n { font-weight: 600; }
.unranked { border-top: .5px solid var(--line); }
.delta { font-weight: 700; }
.delta.better, .move.up { color: var(--good); }
.delta.worse, .move.down { color: var(--bad); }

/* ---- Reports: a sidebar like Finder's / Mail's ---- */
.rep-pick { border-left: 0; border-radius: 8px; padding: 7px 10px; }
.rep-pick b { font-weight: 500; }
.rep-pick:hover { background: rgba(255,255,255,.06); }
.rep-pick.on { background: rgba(255,255,255,.1); border-radius: 8px; }
.rep-name { font-weight: 700; }
.rep-name:focus { background: var(--fill); box-shadow: var(--ring); }
.rep-table table.grid th { background: var(--surface); box-shadow: 0 .5px 0 var(--line-hi); }
.rep-table table.grid th button { font-weight: 500; }
.rep-table .rep-rowh { box-shadow: .5px 0 0 var(--line); }
.rep-table tfoot td { border-top: 1px solid var(--line-hi); }
.colpick td { border-top: .5px solid var(--line); }
.colpick-counts { border-bottom: .5px solid var(--line); }
.rep-card-grid, .rep-card-t { border-top: .5px solid var(--line); }
.pr-h { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.pr-name { font-weight: 500; }
.pr-val { font-weight: 700; }
.pr-track b { font-family: var(--sf-rounded); font-weight: 700; }
@media (max-width: 900px) {
  .rep-pick { background: var(--fill); border: 0; border-radius: 999px; }
  .rep-pick.on { background: #636366; border: 0; border-radius: 999px; }
}

@media (max-width: 560px) {
  h1, .page-head h1 { font-size: 28px; }
  .hero h1 { font-size: 22px; }
  .kpi .v { font-size: 24px; }
  .day { font-size: 17px; }
}

@media print {
  .kpi { border: 1px solid #ddd !important; }
}

/* ---- Body angles in the catch viewer (2026-10-25, Nolan; bodyangles.js) ----
   Under the metric boxes: a button with a box that takes a check mark; on, a drop-down with the
   START / CATCH / STICK card and the angles through the catch. Colours are the app's. */
.v-ba { display: flex; flex-direction: column; gap: 8px; }
.ba-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: var(--r-inner);
  background: var(--surface-hi); border: 1.5px solid transparent; color: var(--text); font: inherit; font-weight: 700; font-size: 14px; text-align: left; cursor: pointer; }
.ba-btn.on { border-color: var(--cyan); }
.ba-btn:disabled { cursor: default; opacity: .7; }
.ba-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ba-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-hi); display: grid; place-items: center; flex: none;
  font-size: 13px; font-weight: 900; color: #000; line-height: 1; }
.ba-btn.on .ba-box { background: var(--cyan); border-color: var(--cyan); }
.ba-note { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.ba-chev { margin-left: auto; color: var(--muted); }
.ba-drop { display: flex; flex-direction: column; gap: 8px; background: var(--surface-hi); border-radius: var(--r-inner); padding: 10px 12px; }
.ba-drop .note { margin: 0; }
.ba-card { display: grid; gap: 4px 12px; align-items: baseline; font-variant-numeric: tabular-nums; }
.ba-card .ba-h { font-size: 10px; font-weight: 900; color: rgba(255,255,255,.6); letter-spacing: .04em; text-align: right; }
/* LEAN / ARM / ELBOW / HEAD show or hide their line (2026-10-26). */
.ba-k { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; text-align: left; }
.ba-k:not(.on) { opacity: .4; }
.ba-k:focus-visible, .ba-jump:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.ba-tick { width: 12px; height: 12px; border-radius: 4px; border: 2px solid currentColor; flex: none; display: grid; place-items: center; }
.ba-k.on .ba-tick { background: currentColor; }
.ba-k.on .ba-tick::after { content: "\2713"; color: #000; font-size: 9px; font-weight: 900; line-height: 1; }
.ba-card .ba-v { font-size: 14px; font-weight: 700; text-align: right; }
/* CATCH / STICK jump the clip there. */
.ba-jumps { display: flex; gap: 8px; }
.ba-jump { flex: 1; padding: 8px 0; border-radius: 999px; border: 1.5px solid var(--line-hi); background: transparent; color: var(--text);
  font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .06em; cursor: pointer; }
.ba-jump.on { border-color: rgba(255,191,6,.7); color: #FFBF06; }
.ba-jump:hover { background: rgba(255,255,255,.06); }
.ba-chart { width: 100%; height: auto; display: block; }

/* ---- Reports left side (Max, 2026-10-28, simplified): MOVE AI, search, six rows, All charts —
   in the main sidebar's look: thin icons, 36 px rows, the open one tinted cyan. ---- */
.rp-side { gap: 1px; }
.rp-side > *, .rp-side .rp-home > *, .rp-side .rp-find > * { flex-shrink: 0; }
.rp-side .rep-ai { margin-bottom: 8px; }
.rp-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; margin: 0 0 8px; border-radius: 10px; background: var(--surface); color: var(--muted); cursor: text; }
.rp-search:focus-within { box-shadow: 0 0 0 2px rgba(0,220,250,.45); color: var(--text); }
.rp-search input, .rp-search input:focus { box-shadow: none; outline: none; background: none; padding: 0; border-radius: 0; }
.rp-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: 400 14px var(--sf); outline: none; }
.rp-search input::placeholder { color: var(--muted); }
.rp-search input::-webkit-search-cancel-button { filter: invert(.6); }
.rp-search kbd { font: 600 11px var(--sf); color: var(--dim); border: .5px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.rp-search:focus-within kbd { display: none; }
.rp-home, .rp-find { display: flex; flex-direction: column; gap: 1px; }
.rp-row { display: flex; }
.rp-it { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: var(--text); font: 500 14px var(--sf); text-align: left; cursor: pointer; }
.rp-it svg { flex: none; color: var(--muted); }
.rp-it .rp-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-it:hover { background: var(--hover); }
.rp-it.on { background: var(--tint-soft); color: var(--cyan); font-weight: 600; }
.rp-it.on svg { color: var(--cyan); }
.rp-all-row { margin-top: 6px; padding-top: 6px; border-top: .5px solid var(--line); }
.rp-all-row i { display: inline-flex; font-style: normal; }
.rp-all-row i svg { width: 12px; height: 12px; color: var(--dim); }
/* Searching: the short list steps aside, matches from every report and chart show. */
.rp-side:not(.searching) .rp-find { display: none; }
.rp-side.searching .rp-home { display: none; }
.rp-none { margin: 8px 10px; font-size: 13px; }
@media (max-width: 900px) {
  .rp-side.rep-side { flex-direction: column; overflow-x: visible; gap: 1px; }
}
/* All charts: every report and chart as a tile. */
.rp-all h2 { font: 700 22px var(--sf); margin: 4px 0 6px; }
.rp-all h3 { font: 600 12px var(--sf); color: var(--dim); margin: 22px 0 10px; }
.rp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.rp-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: .5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.rp-tile:hover { border-color: rgba(0,220,250,.55); background: var(--hover); }
.rp-tile-pic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 10px; background: var(--tint-soft); color: var(--cyan); }
.rp-tile-pic svg { width: 22px; height: 22px; }
.rp-tile b { font: 600 14px var(--sf); }
.rp-tile > span:last-child { font-size: 12.5px; line-height: 1.35; color: var(--muted); }

/* ---- Tags (tags.js, 2026-10-29) ---- */
.tg { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.tg-lede { margin: -8px 0 0; color: var(--muted); font-size: 15px; }
.tg-sec { display: flex; flex-direction: column; gap: 10px; }
.tg-h { margin: 0; font-size: 13px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.tg-none { color: var(--muted); font-size: 14px; }
.tg-card { display: flex; flex-direction: column; gap: 12px; }
.tg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tg-name { flex: 1 1 180px; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--text); font: 700 17px var(--sf); padding: 4px 0; }
.tg-name:hover, .tg-name:focus { border-bottom-color: var(--line-hi); outline: none; }
.tg-title { font-size: 17px; }
.tg-sub { color: var(--muted); font-size: 13px; flex: 1; }
.tg-del { color: var(--muted); }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tg-chip { height: 34px; padding: 0 6px 0 12px; border-radius: 10px; background: var(--surface-hi); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.tg-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--c); }
.tg-x { border: 0; background: transparent; color: var(--dim); font-size: 17px; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; }
.tg-x:hover { color: var(--text); background: var(--hover); }
.tg-add { height: 34px; width: 150px; border-radius: 10px; border: 1px dashed var(--line-hi); background: transparent; color: var(--text); padding: 0 12px; font: 14px var(--sf); }
.tg-add::placeholder { color: var(--cyan); }
.tg-lib { position: relative; }
.tg-lib .pop { position: absolute; z-index: 5; top: 40px; left: 0; min-width: 220px; max-height: 280px; overflow-y: auto; }
.tg-radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tg-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.tg-check input { accent-color: var(--cyan); width: 18px; height: 18px; }
.tg .off { opacity: .4; }
.tg-new { align-self: flex-start; }
.tg-hint { margin: -4px 0 0; }
.tg-pick { height: 34px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line-hi); background: transparent; color: var(--muted); font: 14px var(--sf); cursor: pointer; }
.tg-pick:hover { color: var(--text); }
.tg-pick.on { background: var(--cyan); border-color: var(--cyan); color: #000; font-weight: 600; }
.tg-pick:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

/* ---- Metric info ⓘ + Redirect Angle tag (Nolan, 2026-11-11; metricinfo.js) ---- */
.mt.has-info .mk { padding-right: 24px; align-self: stretch; max-width: 100%; box-sizing: border-box; }
.mt-info { position: absolute; top: 7px; right: 7px; width: 17px; height: 17px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1.4px solid color-mix(in srgb, var(--text, #fff) 38%, transparent);
  color: color-mix(in srgb, var(--text, #fff) 70%, transparent);
  font: italic 700 10.5px/1 Georgia, "Times New Roman", serif; cursor: pointer; user-select: none; z-index: 1; }
.mt-info:hover, .mt-info.open, .mt-info:focus-visible { border-color: var(--text, #fff); color: var(--text, #fff);
  background: color-mix(in srgb, var(--text, #fff) 12%, transparent); outline: none; }
.mt-rate { display: inline-block; align-self: flex-start; margin-top: 5px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 1.35; color: #111; white-space: nowrap; }
.mt-rate.rate-elite { background: #0A84FF; color: #fff; }
.mt-rate.rate-good { background: #34C759; }
.mt-rate.rate-ok { background: #FFCC00; }
.mt-rate.rate-work { background: #FF453A; color: #fff; }
.mt-pop { position: fixed; z-index: 10000; width: min(300px, calc(100vw - 16px)); box-sizing: border-box;
  background: var(--surface-top, #3a3a3c); color: var(--text, #fff); border: 1px solid var(--line-hi, rgba(255,255,255,.15));
  border-radius: 14px; padding: 13px 15px; box-shadow: 0 14px 40px rgba(0,0,0,.5); font-size: 13.5px; line-height: 1.45; }
.mt-pop::before { content: ""; position: absolute; top: -7px; left: calc(var(--arrow, 50%) - 6px); width: 12px; height: 12px;
  background: inherit; border-left: inherit; border-top: inherit; transform: rotate(45deg); }
.mt-pop.above::before { top: auto; bottom: -7px; transform: rotate(225deg); }
.mt-pop b { display: block; font-size: 15px; margin-bottom: 5px; }
.mt-pop p { margin: 0; }
.mt-pop-beta { display: inline-block; margin-left: 7px; padding: 1px 6px; border: 1px solid var(--line-hi, rgba(255,255,255,.2));
  border-radius: 6px; font-size: 10.5px; font-weight: 700; color: var(--muted); vertical-align: 2px; }
.mt-pop-rates { margin-top: 10px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--muted); }
.mt-pop-rates .mt-rate { margin-top: 0; }
/* On the tile, the tag follows the number, clear of "beta"; it wraps under it only on a narrow tile. */
.mv .mt-rate { margin: 0 0 0 10px; vertical-align: 0.25em; letter-spacing: 0; }

/* METRIC GROUPS (Nolan, 2026-11-23, folding groups): the catch viewer's tiles in Speed · Time ·
   Distance · Path · Angles boxes, all open to start; a closed box shows its first numbers. */
.mgroups { display: flex; flex-direction: column; gap: 6px; }
.mg-fold { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface-hi) 35%, transparent); }
.mg-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 7px 10px; }
.mg-fold > summary::-webkit-details-marker { display: none; }
.mg-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.mg-pv { margin-left: auto; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pv b { color: var(--text); font-weight: 700; }
.mg-fold[open] .mg-pv { display: none; }
.mg-chev { margin-left: auto; color: var(--muted); flex: none; transition: transform .15s; }
.mg-pv + .mg-chev { margin-left: 0; }
.mg-fold[open] .mg-chev { margin-left: auto; transform: rotate(90deg); }
.mg-fold > .mtiles { padding: 0 6px 6px; gap: 6px; }
/* Smaller tiles in the groups (Nolan, 2026-11-23): about a third shorter, still three across,
   words ("No hold", a pitch location) smaller than figures, a long note on its own line. */
.v-side .mgroups .mtiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; }
.mg-fold > .mtiles { padding: 0 5px 5px; }
.mg-fold > summary { padding: 5px 9px; }
.v-side .mgroups .mt { padding: 6px 8px 6px 11px; }
.v-side .mgroups .mk { font-size: 10.5px; }
.v-side .mgroups .mv { font-size: 19px; line-height: 1.15; }
.v-side .mgroups .mt-info { top: 5px; right: 5px; width: 15px; height: 15px; }
.mv.txt { font-size: 15px; }
.v-side .mgroups .mv.txt { font-size: 13px; padding-top: 4px; }
.mv small.sub { display: block; font-size: 10px; margin: 1px 0 0; white-space: normal; line-height: 1.25; }
/* Caught by row in the tag box (tagedit.js, 2026-11-24). */
.tg-cb-new { color: var(--muted); border: 1px dashed var(--line); background: transparent; }
.tg-cb-form { display: flex; gap: 6px; margin-top: 8px; }
.tg-cb-form input { flex: 1; min-width: 0; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-hi); color: inherit; padding: 0 10px; font: inherit; }

/* REMOVE + PUT BACK (Nolan, 11-24, removecatch.js) ----------------------------------------- */
.menu.more.s-more > summary { padding: 6px 14px; font-size: 16px; letter-spacing: 1px; background-image: none; }
.s-more .menu-list button:disabled { opacity: .45; cursor: default; }
.remove-picked { color: var(--bad); }
.v-link.v-remove { color: var(--bad); }
.removed-link { margin: 22px 0 8px; }
.removed-link a { color: var(--muted); }
.rm-dim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rm-dlg { background: var(--surface-hi); border-radius: var(--r-card); width: min(440px, 100%); padding: 20px; }
.rm-dlg h3 { margin: 0 0 8px; font-size: 18px; }
.rm-dlg p { margin: 0 0 10px; line-height: 1.4; }
.rm-dlg p b { color: var(--text, #fff); }
.rm-why-l { font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.rm-why { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-why button { font: inherit; font-size: 13px; border: 0; border-radius: 16px; padding: 5px 11px; background: var(--fill); color: var(--text, #fff); cursor: pointer; }
.rm-why button.on { background: rgba(0,220,250,.18); color: var(--cyan); }
.rm-btns { display: flex; gap: 10px; margin-top: 18px; }
.rm-btns .btn { flex: 1; justify-content: center; }
.rm-btns .rm-go { background: var(--bad); color: #fff; }
.removed-seg { margin: 10px 0 14px; }
.removed-list { display: flex; flex-direction: column; gap: 8px; }
.removed-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--r-tile); padding: 10px 12px; }
.removed-row .thumb { width: 64px; height: 44px; flex: none; border: 0; border-radius: 8px; background: var(--surface-top); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.removed-t { flex: 1; min-width: 0; font-size: 14px; }
.removed-t small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.mine-sbar .sbar-end { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.mine-sbar .sbar-end .dl-bar { grid-column: auto; }
/* Phone width: the session bar was wider than the screen (Download + ••• off the right edge). */
@media (max-width: 640px) {
  .section-title.mine-sbar { grid-template-columns: 1fr auto; row-gap: 10px; }
  .mine-sbar .sbar-mid { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .mine-sbar > .watch-session { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .mine-sbar .sbar-end { grid-column: 2; grid-row: 1; }
}
/* Caught by: ask before changing more than one catch (app.js openCaughtMenu, 11-24). */
.caught-pop .cb-warn { margin: 4px 12px 8px; color: var(--amber, #f5b942); font-size: 13px; max-width: 280px; }
.caught-pop .cb-confirm { display: flex; flex-direction: column; gap: 6px; padding: 4px 12px 10px; align-items: stretch; }
/* Read-only session label (caughtby.js, 11-24): no button look, no caret. */
span.caught-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid; border-radius: 999px; cursor: default; }

/* ---- Session report (sessionreport.js, Sam 11-27): the app's End Session scorecard ---- */
.st-sheet.srep-sheet { width: min(440px, 100%); padding: 20px 20px 22px; }
.srep { display: flex; flex-direction: column; gap: 12px; }
.srep-top { display: flex; justify-content: space-between; align-items: center; }
.srep-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--cyan); }
.srep-top .x { border: 0; background: var(--fill); color: inherit; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.srep-who { display: flex; align-items: center; gap: 12px; }
.srep-who h2 { margin: 0; font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.srep-team { font-size: 14px; font-weight: 600; color: var(--muted); }
.srep-sub { font-size: 14px; color: var(--muted); }
.srep-chips { display: flex; gap: 8px; overflow-x: auto; }
.srep-chip { border: 0; border-radius: 999px; padding: 0 14px; min-height: 36px; background: var(--fill); color: inherit; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.srep-chip.on { background: #ffbf06; color: #000; }
.srep-rule { width: 96px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ffbf06, rgba(255,191,6,0)); }
.srep-vs { font-size: 13px; color: var(--muted); }
.srep-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border: .5px solid var(--line); border-radius: 16px; }
.srep-k { font-size: 13px; color: var(--muted); font-weight: 500; }
.srep-v { font-size: 34px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.srep-v small { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.srep-ch { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.srep-ch b { font-size: 14px; white-space: nowrap; }
.srep-ch b.better { color: var(--good); } .srep-ch b.worse { color: var(--warn); } .srep-ch b.flat { color: var(--muted); }
.srep-ch span { font-size: 12px; color: var(--muted); }
.srep-best { background: var(--surface); border: .5px solid var(--line); border-radius: 16px; overflow: hidden; }
.srep-still { position: relative; height: 170px; background: #000; }
.srep-still img, .srep-still video { width: 100%; height: 100%; object-fit: cover; display: block; }
.srep-tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: #ffbf06; color: #000; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; }
.srep-best-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.srep-best-row b { display: block; font-size: 15px; }
.srep-best-row span { font-size: 12px; color: var(--muted); }
.srep-watch { min-height: 40px; border-radius: 999px; border: 1.5px solid #ffbf06; white-space: nowrap; }

/* ---- PLAYER REPORTS (2026-11-28, Sam; playerreport.js) ------------------------------------
   The builder: the catcher's reps, the averages, the report's catches and the note on the left;
   what the catcher sees (the Scorecard, playerreport.js SCORECARD_CSS) in a phone on the right. */
.create-report, .tm-report { white-space: nowrap; }
/* Create a TrackMan Report (Sam, 12-03): purple, the TrackMan Paired badge's violet. */
.btn.tm-report { background: #8e5cff; color: #fff; border-color: #8e5cff; }
.btn.tm-report:hover { background: #8e5cff; color: #fff; opacity: .88; }
.prb-have { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; }
.prb-have > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prb-havechip { border-radius: 999px; padding: 6px 12px; background: var(--fill); color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; }
.prb-havechip.sent { box-shadow: inset 0 0 0 1.5px var(--good); }
.prb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 16px; }
.prb-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.prb-tab { border-radius: 999px; padding: 7px 14px; background: var(--fill); color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; }
.prb-tab.on { background: #ffbf06; color: #000; }
.prb-title { flex: 1 1 260px; min-width: 0; background: transparent; border: 0; border-bottom: 1px dashed var(--line-hi, rgba(255,255,255,.25)); color: inherit; font: inherit; font-size: 24px; font-weight: 800; padding: 2px 0; }
.prb-title:focus { outline: none; border-bottom-color: var(--cyan); }
.prb-state { font-size: 13px; color: var(--muted); white-space: nowrap; }
.prb-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.prb-left { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.prb-sec { background: var(--surface); border: .5px solid var(--line); border-radius: 18px; padding: 16px; }
.prb-sec h3 { margin: 0; font-size: 12px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.prb-sec h3 span { color: var(--muted); letter-spacing: .04em; font-weight: 600; text-transform: none; font-size: 13px; margin-left: 6px; }
.prb-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.prb-row select { background: var(--fill); color: inherit; border: 0; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; }
.prb-sec > .note { margin: -4px 0 12px; }
.prb-reps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.prb-rep { background: var(--surface-hi, #2c2c2e); border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 2px transparent; }
.prb-rep.in { box-shadow: inset 0 0 0 2px #ffbf06; }
.prb-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; background: #000; cursor: pointer; }
.prb-thumb, .prb-ith { position: absolute; inset: 0; display: block; overflow: hidden; }
.prb-thumb img, .prb-thumb video, .prb-ith img, .prb-ith video { width: 100%; height: 100%; object-fit: cover; display: block; }
.prb-ord { position: absolute; top: 7px; left: 7px; z-index: 2; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ffbf06; color: #000; font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.prb-best { position: absolute; top: 7px; right: 7px; z-index: 2; background: rgba(0,0,0,.65); color: #ffbf06; font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 3px 7px; border-radius: 999px; }
.prb-studio, .prb-novid { position: absolute; bottom: 7px; left: 7px; z-index: 2; background: rgba(0,0,0,.65); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.prb-studio { color: var(--cyan); }
.prb-novid { color: #c7c7cc; left: auto; right: 7px; }
.prb-info { padding: 8px 9px 9px; }
.prb-info b { font-size: 13px; }
.prb-nums { font-size: 11.5px; color: var(--muted); margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.prb-tog { display: flex; gap: 6px; }
.prb-tog button { flex: 1; border: 1px solid var(--line-hi, rgba(255,255,255,.2)); background: transparent; color: inherit; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700; padding: 5px 0; cursor: pointer; }
.prb-tog button.on { background: #ffbf06; border-color: #ffbf06; color: #000; }
.prb-tog button:disabled { opacity: .3; cursor: default; }
.prb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.prb-mgroup b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 6px; }
.prb-mgroup .prb-chips { margin-bottom: 8px; }
.prb-chip { border: 1.5px solid var(--line-hi, rgba(255,255,255,.2)); background: transparent; color: inherit; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.prb-chip.on { border-color: var(--cyan); background: var(--tint-soft); }
.prb-chip.on::before { content: "✓ "; color: var(--cyan); font-weight: 900; }
.prb-over { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.prb-it { display: grid; grid-template-columns: 24px 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.prb-it:first-child { border-top: 0; }
.prb-mv { display: flex; flex-direction: column; gap: 3px; }
.prb-mv button { border: 0; background: var(--fill); color: inherit; border-radius: 6px; font-size: 10px; padding: 3px 0; cursor: pointer; }
.prb-mv button:disabled { opacity: .3; cursor: default; }
.prb-ith { position: relative; width: 58px; height: 72px; border-radius: 8px; background: #000; }
.prb-itx b { font-size: 14px; }
.prb-what { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.prb-what em { color: var(--cyan); font-style: normal; font-weight: 700; }
.prb-cap { width: 100%; background: var(--fill); border: 0; border-radius: 9px; padding: 7px 10px; color: inherit; font: inherit; font-size: 13px; }
.prb-ia { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.prb-studiobtn { box-shadow: inset 0 0 0 1.5px #ffbf06; white-space: nowrap; }
.prb-x { border: 0; background: none; color: var(--muted); font-size: 17px; cursor: pointer; }
.prb-note { width: 100%; background: var(--fill); border: 0; border-radius: 12px; padding: 10px 12px; color: inherit; font: inherit; font-size: 14px; resize: vertical; }
/* Player report Design (reportdesign.js, Sam 11-29): templates, the team's saved designs, MOVE AI, Customize. */
.prd-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.prd-tpl { position: relative; display: flex; gap: 10px; align-items: center; text-align: left; border: 1.5px solid var(--line); background: transparent; color: inherit; border-radius: 14px; padding: 8px; font: inherit; cursor: pointer; }
.prd-tpl.saved { padding: 0; }
.prd-tpl-b { display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: transparent; color: inherit; padding: 8px 28px 8px 8px; font: inherit; cursor: pointer; width: 100%; border-radius: 14px; }
.prd-tpl.on { border-color: var(--cyan); background: var(--tint-soft); }
.prd-tpl b { display: block; font-size: 13px; }
.prd-tpl small { display: block; font-size: 11px; color: var(--muted); line-height: 1.25; margin-top: 1px; }
.prd-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--fill); color: var(--muted); font-size: 11px; cursor: pointer; }
.prd-sw { flex: none; width: 34px; height: 44px; display: flex; flex-direction: column; gap: 3px; padding: 3px; overflow: hidden; border: .5px solid var(--line); }
.prd-sw i { display: block; border-radius: 1px; }
.prd-sw em { display: grid; gap: 2px; }
.prd-sw u { display: block; height: 6px; border-radius: 1px; }
.prd-sw b { display: block; height: 2px; width: 60%; margin-top: auto; }
.prd-ai { margin-top: 12px; }
.prd-log { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.prd-q { align-self: flex-end; background: var(--tint-soft); border-radius: 12px 12px 4px 12px; padding: 6px 10px; max-width: 85%; }
.prd-a { align-self: flex-start; background: var(--fill); border-radius: 12px 12px 12px 4px; padding: 6px 10px; max-width: 85%; line-height: 1.4; }
.prd-a.error { color: var(--muted); }
.prd-ask { display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 12px; }
.prd-ask:focus-within { border-color: var(--cyan); }
.prd-ai-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--cyan), #FFBF06, var(--cyan)); }
.prd-ask input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; outline: none; padding: 6px 0; }
.prd-custom { margin-top: 12px; }
.prd-custom summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); }
.prd-grid { display: grid; grid-template-columns: 120px 1fr; gap: 10px 12px; align-items: center; margin: 12px 0 8px; }
.prd-grid > b { font-size: 12px; font-weight: 700; color: var(--muted); }
.prd-seg { flex-wrap: wrap; justify-self: start; }
.prd-colours { display: flex; flex-wrap: wrap; gap: 6px; }
.prd-colours button, .prd-colours label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: transparent; color: inherit; border-radius: 999px; padding: 4px 10px 4px 5px; font: inherit; font-size: 12.5px; cursor: pointer; }
.prd-colours .on { border-color: var(--cyan); background: var(--tint-soft); }
.prd-colours i { width: 16px; height: 16px; border-radius: 50%; border: .5px solid var(--line); }
.prd-colours input[type=color] { width: 18px; height: 18px; border: 0; padding: 0; background: none; cursor: pointer; }
.prd-parts, .prd-shows, .prd-words { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.prd-part { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 12.5px; }
.prd-part.on { border-color: var(--cyan); }
.prd-part label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.prd-part button { border: 0; background: var(--fill); color: inherit; border-radius: 50%; width: 22px; height: 22px; font-size: 9px; cursor: pointer; }
.prd-part button:disabled { opacity: .3; cursor: default; }
.prd-words label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.prd-words input, .prd-name { border: 1px solid var(--line); background: var(--fill); color: var(--text, inherit); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; width: 150px; }
.prd-name { width: 100%; font-size: 15px; padding: 10px 12px; }
@media (max-width: 640px) { .prd-grid { grid-template-columns: 1fr; gap: 4px; } .prd-grid > b { margin-top: 8px; } }
.prb-right { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.prb-plab { font-size: 11.5px; letter-spacing: .16em; font-weight: 800; color: var(--muted); text-align: center; }
.prb-phone { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 40px; border: 9px solid #232326; background: #000; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.prb-scr { height: min(640px, calc(100vh - 230px)); overflow: auto; scrollbar-width: none; }
.prb-scr::-webkit-scrollbar { display: none; }
.prb-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.prb-sendnote { text-align: center; margin: 0; }
.prb-picks { display: flex; flex-direction: column; gap: 8px; }
.prb-pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid transparent; background: var(--fill); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.prb-pick.on { border-color: #ffbf06; }
.prb-pick b { display: block; font-size: 15px; }
.prb-pick small { font-size: 13px; color: var(--muted); }
.prb-pick i { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-hi, rgba(255,255,255,.25)); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
.prb-pick.on i { background: #ffbf06; border-color: #ffbf06; color: #000; }
.st-sheet.prb-sheet { width: min(480px, 100%); }
.st-forrep { font-size: 12px; font-weight: 800; color: #000; background: var(--cyan); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.st-saveopt-rep { box-shadow: inset 0 0 0 1.5px #ffbf06; }
.msg-report { margin-top: 8px; display: inline-flex; }
/* The catcher's side: their reports on Team, and one report on its own page. */
.prep-list { margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.prep-li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: .5px solid var(--line); color: inherit; text-decoration: none; }
.prep-li b { font-size: 15px; }
.prep-li span { font-size: 13px; color: var(--muted); }
.prep-li em { color: #ffbf06; font-style: normal; font-weight: 700; }
.prep-page { max-width: 480px; margin: 8px auto 0; border-radius: 22px; overflow: hidden; }
@media (max-width: 980px) {
  .prb-wrap { grid-template-columns: minmax(0, 1fr); }
  .prb-right { position: static; }
}

/* Editing a player report on its preview (playerreport.js edit mode, Sam 11-29). */
.prep[data-prep-edit] [data-edit] { outline: 1px dashed transparent; outline-offset: 2px; border-radius: 4px; cursor: text; min-width: 2ch; }
.prep[data-prep-edit] [data-edit]:hover { outline-color: rgba(127,127,127,.55); }
.prep[data-prep-edit] [data-edit]:focus { outline: 1.5px solid var(--cyan); }
.prep[data-prep-edit] [data-edit]:empty::before { content: attr(data-ph); color: var(--mut); opacity: .7; pointer-events: none; }
.prep[data-prep-edit] p[data-edit]:empty, .prep[data-prep-edit] figcaption[data-edit]:empty { display: block; }
.prep-edblk { position: relative; border-radius: var(--rad); }
.prep-edblk:hover, .prep-edblk:focus-within { box-shadow: 0 0 0 1px rgba(0,220,250,.35); }
.prep-tools { position: absolute; z-index: 6; right: 4px; top: -14px; display: none; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 3px; max-width: calc(100% - 8px); }
.prep-edblk:hover > .prep-tools, .prep-edblk:focus-within > .prep-tools, .prep-tools:has(.prep-colpanel:not([hidden])) { display: flex; }
.prep-tools > button, .prep-tools > select { height: 24px; min-width: 24px; border-radius: 999px; border: 0; background: #2c2c2e; color: #fff; font: 600 11px/1 -apple-system, system-ui, sans-serif; padding: 0 8px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.prep-tools > button:disabled { opacity: .35; cursor: default; }
.prep-tname { font: 700 10px/1 -apple-system, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,137,163,.9); border-radius: 999px; padding: 6px 8px; margin-right: auto; }
.prep-colpanel { flex-basis: 100%; background: #1c1c1e; border: .5px solid rgba(255,255,255,.15); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.prep-colpanel[hidden] { display: none; }
.prep-crow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.prep-crow > span { width: 100%; font: 700 10px/1.2 -apple-system, system-ui, sans-serif; color: #8e8e93; letter-spacing: .08em; text-transform: uppercase; }
.prep-crow button, .prep-crow label { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); padding: 0; cursor: pointer; display: grid; place-items: center; font-size: 11px; color: #fff; background: #3a3a3c; }
.prep-crow button.on { box-shadow: 0 0 0 2px var(--cyan); }
.prep-crow label { position: relative; overflow: hidden; }
.prep-crow label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.prep-add { position: relative; height: 0; display: flex; justify-content: center; z-index: 5; }
.prep-addbtn { position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--cyan); color: #000; font: 800 16px/1 -apple-system, system-ui, sans-serif; cursor: pointer; opacity: 0; transition: opacity .12s; box-shadow: 0 1px 6px rgba(0,0,0,.5); }
.prep[data-prep-edit]:hover .prep-addbtn { opacity: .45; }
.prep-add:hover .prep-addbtn, .prep-addbtn:focus-visible, .prep-add:has(.prep-addmenu:not([hidden])) .prep-addbtn { opacity: 1; }
.prep-addmenu { position: absolute; top: 16px; background: #1c1c1e; border: .5px solid rgba(255,255,255,.15); border-radius: 12px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.prep-addmenu[hidden] { display: none; }
.prep-addmenu button { border: 0; background: #2c2c2e; color: #fff; border-radius: 8px; padding: 8px; font: 600 12px/1.1 -apple-system, system-ui, sans-serif; cursor: pointer; text-align: left; }
.prep-addmenu button:hover { background: #3a3a3c; }
.prep-empty { font-size: 12px; color: var(--mut); border: 1px dashed var(--ln); border-radius: var(--rad); padding: 12px; text-align: center; }

/* Report templates page (Sam, 11-29). */
.prt-page { max-width: 1100px; }
.prt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.prt-card { background: var(--surface); border: .5px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.prt-card.def { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.prt-open { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.prt-open .prd-sw { width: 48px; height: 62px; }
.prt-open b { display: block; font-size: 15px; }
.prt-open small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.prt-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.prt-acts .iconbtn { margin-left: auto; }
.prd-savebtns { gap: 8px; align-items: center; }

/* PLAYER REPORT BUILDER, 11-30 review (Sam + Nolan): steps, tap a catch to add it, Preview, Select all,
   the session's Sort & filter, a short tile for a catch with no video, no grey describing text. */
.prb-name { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prb-name > span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.prb-name .prb-title { flex: none; width: 100%; }
.prb-steph { margin-bottom: 8px; }
.prb-steph h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: 0; text-transform: none; }
.prb-steph h3 i { font-style: normal; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: #000; font-size: 13px; font-weight: 900; display: grid; place-items: center; }
.prb-count { font-size: 13px; font-weight: 700; color: var(--muted); }
.prb-say { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.prb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.prb-tools .cs-bar { margin: 0; }
.prb-reps { align-items: start; }
.prb-rep { position: relative; }
.prb-rep .prb-media { aspect-ratio: 4 / 5; }
.prb-rep.novid .prb-media { aspect-ratio: auto; height: 38px; background: var(--fill, rgba(255,255,255,.06)); }
.prb-rep.novid .prb-novid { position: static; display: grid; place-items: center; height: 100%; background: none; color: var(--muted); font-size: 12px; }
.prb-check { position: absolute; top: 7px; left: 7px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: rgba(0,0,0,.35); color: #000; font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.prb-rep.novid .prb-check { top: 7px; left: 7px; width: 22px; height: 22px; }
.prb-rep.in .prb-check { background: #ffbf06; border-color: #ffbf06; }
.prb-rep .prb-studio { left: auto; right: 7px; }
.prb-info { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 6px; }
.prb-info .prb-nums { grid-column: 1 / -1; }
.prb-prev { border: 0; background: var(--fill, rgba(255,255,255,.08)); color: inherit; font: inherit; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.prb-prev:hover { background: rgba(255,255,255,.16); }
.prb-ithead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.prb-ithead .prb-tog button { flex: none; padding: 3px 10px; font-size: 11px; }
button.prb-ith { border: 0; padding: 0; cursor: pointer; }
.prb-cvrow { margin-top: 10px; align-items: center; gap: 10px; }
.prb-cvhas { color: var(--cyan); font-weight: 700; font-size: 13px; }
.prb-sendnote { font-size: 12.5px; margin: 8px 0 0; }
.prd-h { font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--muted); }
/* The catch viewer opened from a report's Preview */
.v-rep { display: flex; flex-direction: column; gap: 8px; padding: 10px; margin: 4px 0; border-radius: 14px; background: rgba(255,191,6,.08); box-shadow: inset 0 0 0 1px rgba(255,191,6,.35); }
.v-rep .v-rep-in { width: 100%; font-size: 15px; padding: 11px 14px; }
.v-rep textarea { width: 100%; box-sizing: border-box; resize: vertical; background: var(--fill, rgba(255,255,255,.06)); color: inherit; border: 0; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; }
/* Report builder cleanup (Nolan, 11-30): less to read, smaller catch tiles, one line per control row. */
.prb-nameln { display: flex; align-items: center; gap: 12px; }
.prb-nameln .prb-title { flex: 1 1 auto; border-bottom-color: transparent; }
.prb-nameln .prb-title:hover { border-bottom-color: var(--line-hi, rgba(255,255,255,.25)); }
.prb-nameln .prb-state { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--fill); }
.prb-head { margin-bottom: 12px; }
.prb-tools { flex-wrap: nowrap; }
.prb-tools .cs-bar { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prb-tools .cs-count { display: none; }
.prb-tools > .btn { margin-left: auto; flex: none; }
.prb-reps { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.prb-info { padding: 6px 8px 7px; }
.prb-info b { font-size: 12.5px; }
.prb-prev { font-size: 11px; padding: 3px 8px; }
.prb-nums { margin-bottom: 0; font-size: 11px; }
.prb-steph { flex-wrap: nowrap; }
.prb-steph .prd-row { margin: 0; flex-wrap: nowrap; }
.prb-steph .prd-h { display: none; }
.prd-tpls { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin-top: 4px; }
.prd-tpl { padding: 6px; gap: 8px; }
.prd-tpl .prd-sw { width: 26px; height: 34px; }
.prd-tpl b { font-size: 12px; }
.prb-mline { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; gap: 8px; }
.prb-mline b { margin: 0; }
.prb-mline .prb-chips { gap: 6px; margin-bottom: 6px; }
.prb-mline .prb-chip { padding: 5px 11px; font-size: 12.5px; }
.prb-fromyou { display: flex; gap: 10px; align-items: flex-start; }
.prb-fromyou .prb-note { flex: 1; }
.prb-fromyou .prb-cvrow { margin-top: 0; flex: none; flex-direction: column; align-items: flex-end; }
@media (max-width: 640px) { .prb-fromyou { flex-direction: column; } .prb-fromyou .prb-cvrow { align-items: flex-start; } .prb-mline { grid-template-columns: 1fr; gap: 2px; } .prb-tools { flex-wrap: wrap; } }
.prb-name > .prb-nameln { color: inherit; font-size: inherit; letter-spacing: 0; text-transform: none; font-weight: inherit; }
.prb-nameln .prb-state { color: var(--muted); letter-spacing: 0; text-transform: none; }
.prb-info b { white-space: nowrap; }
.prb-prev { padding: 3px 7px; font-size: 10.5px; }
.prb-nums { font-size: 10.5px; line-height: 1.3; }
.prd-tpls { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
/* SPACING (Sam, 11-29: "make sure all buttons and features are properly spaced" — the Sort & filter
   box touched Hide non-catches). Step 1's toolbar keeps a clear gap whichever way it wraps, the
   count never breaks onto two lines, and Select all sits level with Sort & filter. */
.prb-tools { align-items: flex-start; gap: 12px 14px; }
.prb-tools .cs-bar { gap: 12px 16px; }
.prb-tools > .btn, .prb-tools > .toggle { margin-top: 3px; }
.prb-count { white-space: nowrap; }
.prb-steph { gap: 10px 14px; }
/* Step 5 in a narrow column: the buttons go under the catch's name and toggles instead of over them. */
.prb-list { container-type: inline-size; }
@container (max-width: 560px) {
  .prb-it { grid-template-columns: 24px 58px minmax(0, 1fr); }
  .prb-ia { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .prb-ia .prb-x { margin-left: auto; }
}
