/* tracker.css — camera tracker page, layered over ../styles.css */

.topbar.slim { padding: 14px 16px 10px; }
.topbar.slim h1 { font-size: 1.35rem; }
.topbar.slim .tagline { font-size: .8rem; margin-top: 2px; }

main, .foot-note { max-width: 760px; margin: 14px auto 0; padding: 0 12px; }
/* glass — same material as the solver's panels (see /site.css) */
.panel {
  background: var(--g-sheen), var(--g-base); border: 1px solid var(--g-line); border-radius: var(--g-r-lg);
  padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--g-hi), var(--g-lo), var(--shadow);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
}
.panel h2 { font-size: 1.05rem; }

.ctl { margin: 10px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ctl-lbl { color: var(--muted); font-size: .82rem; min-width: 64px; }
.chk { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; cursor: pointer; }
.chk input { width: 18px; height: 18px; }
.toggles { gap: 18px; }

.cam-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cam-row select { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; max-width: 55%; }
button.primary {
  background: linear-gradient(180deg, #ffd955, var(--gold)); color: #241c02;
  border: 1px solid rgba(255,230,140,.7); border-radius: 10px; padding: 10px 18px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(240,196,25,.28);
}
button.ghost { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }
button:disabled { opacity: .45; cursor: default; }
.small-btn { padding: 5px 12px; font-size: .85rem; }

.players-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.players-row input[type="text"] { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 110px; }
.player-box { display: flex; flex-direction: column; gap: 3px; }
.player-box.is-me input[type="text"] { border-color: rgba(74,168,255,.55); }
.me-pick { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); cursor: pointer; user-select: none; padding-left: 2px; }
.me-pick input { accent-color: var(--gold); width: 15px; height: 15px; margin: 0; }
.player-box.is-me .me-pick { color: var(--accent); }
#me-note { margin: 2px 0 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-info { margin-top: 10px; padding: 12px 14px; background: var(--panel-2); border-radius: 10px; font-size: .95rem; }
.tv-steps > div { margin-top: 4px; }
.tv-url { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.tv-code { color: var(--gold); font-size: 1.5rem; letter-spacing: 4px; font-family: var(--mono); }
.tv-alt { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.tv-alt a { color: var(--accent); }
.how p { margin: 4px 0 0; }
.how a { color: var(--accent); }
.setup-tips { margin: 6px 0 0; padding-left: 20px; }
.setup-tips li { margin: 3px 0; }

/* ---------- video stages ---------- */
.video-stage { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; }
.video-stage video { width: 100%; display: block; }
.video-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.video-stage.small { max-width: 340px; }

.cal-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.loupe { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 2px solid var(--gold); background: #000; pointer-events: none; z-index: 6; box-shadow: var(--shadow); }
.nudge-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.nudge-row .segmented button { font-weight: 700; }
.nudge-pad { display: flex; gap: 6px; }
.nudge-pad button { background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; min-width: 46px; min-height: 42px; font-size: 1.15rem; touch-action: none; }
.nudge-pad button:active { border-color: var(--gold); color: var(--gold); }
.a20 { color: #6fe08f; } .a6 { color: #ffd24d; } .a3 { color: #5db4ff; } .a11 { color: #ff8fa3; }

.cal-dot { fill: rgba(0,0,0,.35); stroke-width: 2.5; cursor: grab; }
.cal-dot-hit { fill: transparent; stroke: none; cursor: grab; }
.cal-lbl { font-size: 15px; font-weight: 700; paint-order: stroke; stroke: rgba(0,0,0,.7); stroke-width: 3px; }
.wire { fill: none; stroke: rgba(70, 235, 130, .85); stroke-width: 1.2; }
.wire-dim { fill: none; stroke: rgba(70, 235, 130, .35); stroke-width: 1; }

/* ---------- live view ---------- */
.live-top { display: flex; gap: 12px; align-items: flex-start; }
.live-side { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 8px; }
.status-pill { padding: 7px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: .85rem; text-align: center; transition: background .15s; }
.status-pill.motion { background: rgba(240,196,25,.16); border-color: rgba(240,196,25,.5); }
.status-pill.hit { background: rgba(54,208,122,.22); border-color: var(--green); font-weight: 700; }
.status-pill.warn { background: rgba(255,93,93,.20); border-color: var(--red); }
#mini, #scatter { width: 100%; max-width: 220px; align-self: center; }

.turn-row { display: flex; gap: 10px; align-items: center; margin: 12px 0 8px; flex-wrap: wrap; }
.turn-who { font-weight: 700; color: var(--gold); }
.turn-who.complete { color: var(--green); }
.pull-cue { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--green-fill); border: 1px solid var(--green); color: var(--green); font-size: .82rem; font-weight: 700; }
.dart-chips { display: flex; gap: 6px; }
.dart-chip { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-family: var(--mono); font-weight: 700; cursor: pointer; }
.dart-chip.cv { border-color: #2c7a4d; }
.dart-chip.iffy { border-style: dashed; border-color: var(--yellow); }
.dart-chip.pending { opacity: .4; font-weight: 400; }
.hint { margin: 10px 0 0; }
.picker-row + .picker-row { margin-top: 6px; }
.picker-row .danger { border-color: #8a3a42; color: #ff9aa4; }
.sb-p .sc { cursor: pointer; }
.sb-p, .sb-cricket th { cursor: pointer; }

/* scoreboard */
.sb-x01 { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-p { flex: 1; min-width: 130px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sb-p.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.sb-p .nm { font-size: .85rem; color: var(--muted); }
.sb-p .sc { font-size: 2.1rem; font-weight: 800; font-family: var(--mono); line-height: 1.1; }
.sb-p .avg { font-size: .78rem; color: var(--muted); }
table.sb-cricket { width: 100%; border-collapse: collapse; text-align: center; }
.sb-cricket th, .sb-cricket td { padding: 5px 6px; border-bottom: 1px solid var(--line); }
.sb-cricket th.on { color: var(--gold); }
.sb-cricket .num { font-weight: 700; font-family: var(--mono); }
.sb-cricket .m0 { color: #3a4552; } .sb-cricket .m1, .sb-cricket .m2 { color: var(--yellow); }
.sb-cricket .m3 { color: var(--green); font-weight: 700; }
.sb-cricket .pts { font-family: var(--mono); font-weight: 700; }

.live-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.warn { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--red-fill); border: 1px solid var(--red-line); font-size: .9rem; }
.win-banner { margin: 10px 0; padding: 14px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 60%), rgba(54,208,122,.22); border: 1px solid var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 24px rgba(54,208,122,.18); font-size: 1.15rem; font-weight: 800; text-align: center; }

/* practice */
.practice-grid { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fit-card { flex: 1; min-width: 200px; font-size: .95rem; line-height: 1.7; }
.fit-card b { font-family: var(--mono); }
.dot-hit { fill: rgba(74, 168, 255, .75); }
.dot-old { fill: rgba(74, 168, 255, .28); }
.dot-mean { fill: none; stroke: var(--gold); stroke-width: 2; }

/* picker sheet: a frosted sheet rising over the dimmed, softened game */
.picker { position: fixed; inset: 0; background: rgba(4,6,10,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; z-index: 30; }
.picker-sheet {
  background: var(--g-sheen), rgba(15,19,27,.80); border: 1px solid var(--g-line-strong); border-bottom: none;
  border-radius: 20px 20px 0 0; padding: 14px 16px 22px; width: 100%; max-width: 480px;
  box-shadow: var(--g-hi), 0 -20px 60px rgba(0,0,0,.5);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
}
.picker-head { font-weight: 700; margin-bottom: 10px; }
.picker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0; }
.picker-grid button { background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 10px 0; font-family: var(--mono); font-weight: 700; }
.picker-row { display: flex; gap: 6px; }
.picker-row button { flex: 1; }

/* ---------- TV view ---------- */
#tv-main { max-width: 1200px; }
.tv-room { text-align: center; font-family: var(--mono); letter-spacing: 2px; margin-bottom: 10px; color: var(--muted); }
.tv-switch { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 3px 12px; margin-left: 10px; font-size: .8rem; letter-spacing: normal; cursor: pointer; }
.tv-switch:hover, .tv-switch:focus { border-color: var(--gold); color: var(--ink); }

.tv-x01 { display: flex; gap: 20px; justify-content: center; }
/* the wall scoreboard: glass tiles, the thrower's lit gold */
.tv-p { flex: 1; max-width: 46%; background: var(--g-sheen), var(--g-base); border: 2px solid var(--g-line); border-radius: 18px; padding: 18px 22px; text-align: center; box-shadow: var(--g-hi), var(--g-lo), var(--shadow); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); transition: border-color .2s, box-shadow .2s; }
.tv-p.on { border-color: var(--gold); box-shadow: var(--g-hi), 0 0 0 3px rgba(240,196,25,.25), 0 0 40px rgba(240,196,25,.18), var(--shadow); }
.tv-p.won { border-color: var(--green); box-shadow: var(--g-hi), 0 0 0 3px rgba(54,208,122,.3), 0 0 40px rgba(54,208,122,.2), var(--shadow); }
.tv-nm { font-size: 1.8rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tv-sc { font-size: 7rem; font-weight: 800; font-family: var(--mono); line-height: 1; color: var(--ink); }
.tv-p.on .tv-sc { color: var(--gold); }
.tv-meta { font-size: 1.1rem; color: var(--muted); margin-top: 6px; }
.tv-visit { min-height: 2.4rem; margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tv-chip { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; font-family: var(--mono); font-weight: 700; font-size: 1.3rem; }
.tv-dim, .tv-ck.dim { color: var(--muted); }
.tv-ck { margin-top: 10px; font-size: 1.5rem; font-weight: 700; color: var(--green); font-family: var(--mono); }

table.tv-cricket { width: 100%; border-collapse: collapse; text-align: center; font-size: 2rem; }
.tv-cricket th, .tv-cricket td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tv-cricket th { font-size: 1.6rem; color: var(--muted); }
.tv-cricket th.on { color: var(--gold); }
.tv-num { font-family: var(--mono); font-weight: 700; color: var(--muted); }
.tv-cricket .mk0 { color: #3a4552; }
.tv-cricket .mk1, .tv-cricket .mk2 { color: var(--yellow); }
.tv-cricket .mk3 { color: var(--green); }
.tv-cricket .closed { opacity: .5; }
.tv-pts { font-family: var(--mono); font-weight: 800; color: var(--ink); }
.tv-ptsrow td { border-top: 2px solid var(--line); }

.tv-last { text-align: center; font-size: 1.8rem; font-family: var(--mono); margin-top: 20px; min-height: 2rem; color: var(--ink); }
.tv-stale { text-align: center; color: var(--yellow); margin-top: 12px; font-size: 1.2rem; }

.foot-note { padding-bottom: 30px; }
.foot-note a { color: var(--accent); }

@media (max-width: 560px) {
  .live-top { flex-direction: row; }
  .video-stage.small { max-width: 55%; }
  #mini { max-width: 150px; }
  .sb-p .sc { font-size: 1.7rem; }
}

/* ---- TV remote mode (second-screen controller on an iPad/tablet) ---- */
.tv-remote-row { text-align: center; margin-top: 18px; }
.tv-remote-bar { max-width: 560px; margin: 10px auto 0; text-align: center; }
.tv-remote-hint { margin-bottom: 8px; }
.tv-remote-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tv-remote-btns button { font-size: 1.15rem; padding: 12px 18px; }
.tv-remote-status { margin-top: 8px; min-height: 1.2em; }
.tv-remote-on .tv-chip { cursor: pointer; border-color: var(--accent); }
.tv-remote-on .tv-p, .tv-remote-on .tv-cricket th { cursor: pointer; }

/* ---- TV stage: live dartboard + side scores ---- */
.tv-layout { display: flex; gap: 26px; align-items: center; justify-content: center; margin-top: 6px; }
.tv-layout #tv-board { flex: 0 1 400px; min-width: 280px; }
.tv-layout .tv-x01 { flex-direction: column; gap: 16px; }
.tv-layout .tv-p { max-width: none; }
.tv-layout .tv-sc { font-size: 4.4rem; }
.tv-layout table.tv-cricket { font-size: 1.5rem; }
.tv-layout .tv-cricket th, .tv-layout .tv-cricket td { padding: 7px 10px; }
.tv-arena { position: relative; flex: 1 1 auto; display: flex; justify-content: center; }
.tv-arena svg { width: 100%; max-width: min(80vh, 740px); height: auto; display: block; }
.tv-bnum { fill: #7f8a9c; font-family: var(--mono); font-size: 24px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
@media (max-width: 900px) {
  .tv-layout { flex-direction: column-reverse; }
  .tv-layout #tv-board { min-width: 0; width: 100%; }
  .tv-layout .tv-x01 { flex-direction: row; }
}

/* dart markers: current visit color-coded, history as fading embers */
.tvd-core { fill: #fff; stroke: #10131a; stroke-width: 1.3; }
.tvd-glow { opacity: .34; }
.tvd.cur.d0 .tvd-core, .tvd.cur.d0 .tvd-glow { fill: #ffd24d; }
.tvd.cur.d1 .tvd-core, .tvd.cur.d1 .tvd-glow { fill: #5db4ff; }
.tvd.cur.d2 .tvd-core, .tvd.cur.d2 .tvd-glow { fill: #ff8fa3; }
.tvd.cur .tvd-core { stroke: #fff; stroke-width: 1.6; }
.tvd.old { opacity: .34; }
.tvd.old .tvd-core, .tvd.old .tvd-glow { fill: #6fe08f; }
.tvd-in.pop { animation: tvpop .5s cubic-bezier(.2, 1.9, .4, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes tvpop { from { transform: scale(0); } to { transform: scale(1); } }
.tvd-ripple { fill: none; stroke: #fff; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: tvripple .75s ease-out forwards; }
@keyframes tvripple { from { transform: scale(.25); opacity: .95; } to { transform: scale(3.4); opacity: 0; } }

/* the big score flash */
.tv-flash { position: absolute; left: 50%; top: 1%; transform: translateX(-50%); font-family: var(--mono); font-weight: 800; font-size: clamp(44px, 9vh, 110px); color: var(--ink); opacity: 0; pointer-events: none; text-shadow: 0 3px 22px rgba(0, 0, 0, .65); }
.tv-flash.hot { color: var(--gold); }
.tv-flash.cold { color: #77808f; }
.tv-flash.go { animation: tvflash 1.35s ease-out forwards; }
@keyframes tvflash {
  0% { opacity: 0; transform: translateX(-50%) scale(.4); }
  14% { opacity: 1; transform: translateX(-50%) scale(1.18); }
  24% { transform: translateX(-50%) scale(1); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(1); }
}

/* ---- picker refinements ---- */
/* the Single/Double/Treble toggle spans the whole sheet — big thumb targets */
#picker-mult { display: flex; width: 100%; }
#picker-mult button { flex: 1 1 0; padding-top: 12px; padding-bottom: 12px; }
/* cricket only scores 15-20 + bull: 6 numbers -> two rows of big buttons */
.picker-grid.cricket { grid-template-columns: repeat(3, 1fr); }
.picker-grid.cricket button { padding: 16px 0; font-size: 1.25rem; }

/* ---------- trainer ---------- */

/* setup: the drill picker */
.drill-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0; }
.drill-chip { background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 9px 10px; text-align: left; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.drill-chip b { font-size: .92rem; }
.drill-chip span { font-size: .74rem; color: var(--muted); }
.drill-chip.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.tr-preview { line-height: 1.6; }
.tr-preview b { color: var(--ink); }

/* live: the drill panel (renders into #scoreboard) */
.tr-live { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tr-target { font-family: var(--mono); font-weight: 800; font-size: 2.6rem; line-height: 1.15; }
.tr-target .tr-sub { font-size: 1.2rem; color: var(--muted); font-weight: 700; }
.tr-line { margin-top: 2px; font-size: .95rem; }
.tr-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.tr-stat { font-size: .88rem; color: var(--muted); }
.tr-stat b { font-family: var(--mono); color: var(--ink); font-size: 1rem; }
.tr-stat.par { color: var(--accent); }
.tr-dots { display: flex; gap: 6px; margin-top: 12px; }
.tr-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tr-dot.don { background: var(--green); }
.tr-dot.cur { background: var(--gold); box-shadow: 0 0 0 2px rgba(240,196,25,.3); }

/* the session report */
.tr-report .win-banner { font-size: 1.05rem; }
.tr-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.tr-row { display: flex; gap: 10px; justify-content: space-between; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .9rem; flex-wrap: wrap; }
.tr-row span { color: var(--muted); }
.tr-prs { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(240,196,25,.14); border: 1px solid rgba(240,196,25,.45); font-weight: 700; }
.tr-sig, .tr-next { margin-top: 8px; font-size: .9rem; }

/* ---- trainer on the TV ---- */
.tv-tr-block { color: var(--muted); font-size: 1.15rem; margin-top: 6px; }
.tv-tr-aim { font-family: var(--mono); font-weight: 800; font-size: 3.6rem; color: var(--gold); margin: 8px 0 2px; line-height: 1.1; }
.tv-tr-ring { font-size: 1.4rem; color: var(--muted); font-weight: 700; }
.tv-tr-line { font-size: 1.3rem; margin-top: 4px; }
.tv-tr-report { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.tv-tr-row { display: flex; justify-content: space-between; gap: 12px; font-size: 1.05rem; flex-wrap: wrap; }
.tv-tr-row span { color: var(--muted); }
.tv-tr-prs { margin-top: 10px; font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.tv-ring { fill: rgba(240, 196, 25, .06); stroke: var(--gold); stroke-width: 1.8; stroke-dasharray: 7 5; }

/* ---- practice on the TV: scatter trainer ---- */
.tv-prac-card { background: var(--g-sheen), var(--g-base); border: 2px solid var(--g-line); border-radius: 18px; padding: 22px 26px; text-align: center; box-shadow: var(--g-hi), var(--g-lo), var(--shadow); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
.tv-prac-head { color: var(--muted); letter-spacing: .25em; font-size: 1.05rem; font-weight: 700; }
.tv-prac-aim { font-size: 1.9rem; margin-top: 6px; }
.tv-prac-mpr { font-family: var(--mono); font-weight: 800; font-size: 4.4rem; color: var(--gold); margin: 10px 0 4px; line-height: 1.1; }
.tv-prac-mpr span { font-size: 1.5rem; color: var(--muted); font-weight: 700; }
.tv-prac-row { font-size: 1.45rem; margin-top: 8px; font-family: var(--mono); }
.tv-prac-row.dim { color: var(--muted); font-size: 1.1rem; font-family: inherit; }
.tv-prac-arrow { display: inline-block; font-weight: 800; color: var(--gold); }
.tvd.prac.p0 .tvd-core { fill: #ffd24d; stroke: #fff; stroke-width: 1.6; }
.tvd.prac.p0 .tvd-glow { fill: #ffd24d; opacity: .4; }
.tvd.prac.p1 { opacity: .8; }
.tvd.prac.p2 { opacity: .45; }
.tvd.prac.p3 { opacity: .2; }
.tvd.prac.p1 .tvd-core, .tvd.prac.p1 .tvd-glow,
.tvd.prac.p2 .tvd-core, .tvd.prac.p2 .tvd-glow,
.tvd.prac.p3 .tvd-core, .tvd.prac.p3 .tvd-glow { fill: #6fe08f; }
.tv-aim circle, .tv-aim line { fill: none; stroke: #ffd24d; stroke-width: 2.2; opacity: .9; }
.tv-sigma { fill: rgba(111, 224, 143, .07); stroke: #6fe08f; stroke-width: 1.6; stroke-dasharray: 6 4; }

/* ---------- syncing training data off the device ---------- */
/* The camera consent line. Sits under the toggles, reads as a statement rather
   than fine print — it is the first thing a stranger should be able to check. */
.privacy-note { margin: 10px 0 0; line-height: 1.5; }
.privacy-note strong { color: var(--ink); }

/* The measured accuracy claim. Set apart from the tips so it reads as a finding
   rather than another instruction, and so the number is findable at a glance. */
.accuracy-note { margin: 12px 0 0; padding: 10px 12px; line-height: 1.55;
  background: var(--panel-2); border-radius: 10px; border-left: 3px solid var(--gold); }
.accuracy-note strong { color: var(--ink); }

.data-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.data-block > p { margin: 6px 0 10px; line-height: 1.5; font-size: .9rem; color: var(--muted); }
.data-block .cam-row { gap: 10px; }

.sync-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.sync-block .sync-head { font-size: .9rem; font-weight: 650; }
.sync-block .sync-head b { color: var(--gold); }
.sync-block > p { margin: 6px 0 10px; line-height: 1.5; }
.sync-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sync-row input[type="text"] {
  flex: 1 1 190px; min-width: 0; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
}
.sync-block.on .sync-head { color: var(--green); }
.sync-block.on .sync-head b { color: var(--green); }
.ghost-block { margin-top: 12px; }
.ghost-spot {
  display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
