/* Usability t438. Scoped to .fu-* so the existing card chrome stays put. */
.fu-root, .fu-orient { color: #e7eef6; }
.fu-banner, .fu-note, .fu-cell p, .fu-sum, .fu-signals p, .fu-money-row, .fu-runner, .fu-date, .fu-sel {
  color: #e7eef6;
  font-size: 15px;
  line-height: 1.45;
}
.fu-k { color: #c5d4e6; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fu-h { font-size: 18px; margin: 0 0 8px; color: #e7eef6; }
.fu-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #8a6a2c;
  border-radius: 10px;
  background: #2a2410;
  color: #f6e7b4;
}
.fu-orient {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #28384f;
  border-radius: 12px;
  background: #111a28;
}
.fu-orient button, .fu-runner, .gs-b, .tk-chip, .rpill, .nextoff, .gatebox button, .hhead {
  min-height: 44px;
}
.fu-orient button {
  font: inherit;
  font-weight: 700;
  color: #e7eef6;
  background: #15202f;
  border: 1px solid #8aa4c4;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.fu-orient button:disabled { opacity: .45; cursor: default; }
.fu-sel b { color: #f6e7b4; }
.fu-et { color: #c5d4e6; }
.fu-trust { margin: 0 0 14px; }
.fu-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fu-cell { background: #111a28; border: 1px solid #28384f; border-radius: 10px; padding: 10px 12px; }
.fu-cell p { margin: 4px 0 0; }
.views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.views.zoom{grid-template-columns:1fr}
.fu-ovalbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.fu-fold{margin:8px 0;border:1px solid #28384f;border-radius:10px;background:#111a28}
.fu-fold summary{min-height:44px;padding:10px 12px;cursor:pointer;font-weight:700;color:#e7eef6}
.fu-fold p,.fu-cap,.fu-roster{color:#c5d4e6;font-size:15px;line-height:1.45;margin:8px 12px}
.fu-roster{overflow-wrap:anywhere}
.mini-nav{min-height:44px;min-width:44px;font:700 15px/1.2 system-ui,sans-serif;text-transform:none;letter-spacing:0;padding:8px 12px;border-radius:10px;border:1px solid #8aa4c4;background:#15202f;color:#e7eef6;cursor:pointer}
.mini-nav:disabled{opacity:.45;cursor:default}
.mini-nav:focus-visible,.fu-tok:focus-visible,.fu-fold summary:focus-visible{outline:3px solid #f6e7b4;outline-offset:2px}
.fu-stage { margin: 0; background: #12171e; border: 1px solid #26303c; border-radius: 12px; padding: 8px; }
.fu-stage figcaption { font-weight: 800; margin: 0 0 6px; }
.fu-oval { display: block; width: 100%; height: auto; background: #0e141c; border-radius: 8px; }
.fu-tok { cursor: pointer; }
.fu-tok:focus-visible, .fu-runner:focus-visible, .fu-orient button:focus-visible, .rpill:focus-visible, .tk-chip:focus-visible {
  outline: 3px solid #f6e7b4;
  outline-offset: 2px;
}
.fu-sum { color: #c5d4e6; font-size: 14px; }
.fu-runners, .fu-money { display: flex; flex-direction: column; gap: 8px; }
.fu-runner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  width: 100%;
  color: #e7eef6;
  background: #111a28;
  border: 1px solid #28384f;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}
.fu-runner.on { border-color: #f6e7b4; box-shadow: inset 3px 0 0 #f6e7b4; }
.fu-name { overflow-wrap: anywhere; font-weight: 700; }
.fu-pgm { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; min-width: 2.2em; }
.fu-money-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 8px 10px;
  border: 1px solid #28384f;
  border-radius: 10px;
  background: #0d1522;
}
.screv { color: #c5d4e6; font-size: 14px; margin-top: 4px; }
.dot.unk, .dot.stale, .dot.down, .dot.hist { animation: none; }
.dot.unk { background: #9db0c8; }
.dot.stale { background: #f6b44a; }
.dot.down { background: #ff8d97; }
.dot.hist { background: #c5d4e6; }
.dot.ok { background: #34d39b; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 620px) {
  .hhead { min-height: 44px; }
}

/* Play list and the small meter. Scoped so horse cards and the three ovals keep their layout. */
.pl-toggle { display: flex; gap: 8px; margin: 12px 0 4px; }
.pl-toggle button {
  min-height: 44px;
  font: inherit;
  font-weight: 800;
  color: #e7eef6;
  background: #15202f;
  border: 1px solid #8aa4c4;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.pl-toggle button.on { border-color: #34d39b; background: rgba(52, 211, 155, .13); color: #d9ffef; }
.pl-legend, .pl-count, .pl-feed, .pl-stage, .pl-empty, .pl-note {
  color: #c5d4e6;
  font-size: 14px;
  line-height: 1.45;
}
.pl-legend { margin: 8px 0; }
.pl-legend div { margin: 4px 0; }
.pl-note { margin: 8px 0 0; }
.pl-feed {
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid #8a6a2c;
  border-radius: 10px;
  background: #2a2410;
  color: #f6e7b4;
}
.pl-race {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #28384f;
  border-radius: 12px;
  background: #111a28;
}
.pl-hd { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.pl-jump {
  min-height: 44px;
  flex: 1;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 4px 0;
}
.pl-meta { color: #9db0c8; font-weight: 600; }
.pl-pill {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid #2e7a56;
  color: #b7f0d4;
  border-radius: 999px;
  padding: 4px 8px;
}
.pl-horse {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed #28384f;
}
.pl-who small { display: block; color: #9db0c8; font-size: 12px; }
.pl-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; }
.pl-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; background: #8b97a6; flex: none; }
.pl-dot.green, .pl-meter.green .pl-dot { background: #34d39b; }
.pl-dot.yellow, .pl-meter.yellow .pl-dot { background: #e0b000; }
.pl-dot.red, .pl-meter.red .pl-dot { background: #ff5d6c; }
.pl-dot.none, .pl-meter.none .pl-dot { background: #8b97a6; }
.pl-meter.green .pl-word { color: #34d39b; }
.pl-meter.yellow .pl-word { color: #e0b000; }
.pl-meter.red .pl-word { color: #ff8d97; }
.pl-meter.none .pl-word { color: #c5d4e6; }
.pl-word { font-weight: 800; }
.pl-px { font-variant-numeric: tabular-nums; }
.pl-px:empty { display: none; }
.pl-upd { color: #9db0c8; font-size: 12px; }
.pl-cardmeter {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid #28384f;
  border-radius: 12px;
  background: #0d1522;
}
.pl-cap { color: #c5d4e6; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 620px) {
  .pl-horse { grid-template-columns: 1fr; }
  .pl-toggle { flex-wrap: wrap; }
}

/* Compact play list. The full-card ovals and horse cards are not restyled here. */
.pl-board { margin: 6px 0 24px; }
.pl-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 6px; color: #e7eef6; font-weight: 800; font-size: 15px; }
.pl-help { display: inline-flex; }
.pl-info { list-style: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #8aa4c4; background: #15202f; color: #e7eef6; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.pl-info::-webkit-details-marker { display: none; }
.pl-help[open] { display: block; width: 100%; }
.pl-help p { margin: 8px 0 4px; color: #c5d4e6; font-size: 15px; font-weight: 500; line-height: 1.45; }
.pl-livebar { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #d5e2f0; font-variant-numeric: tabular-nums; }
.pl-pulse { width: 12px; height: 12px; border-radius: 50%; background: #34d39b; flex: none; animation: plping 1.6s ease-out infinite; }
.pl-pulse-off { background: #8b97a6; animation-name: plpingoff; }
@keyframes plping { 70%, 100% { box-shadow: 0 0 0 8px rgba(52,211,155,0); } }
@keyframes plpingoff { 70%, 100% { box-shadow: 0 0 0 8px rgba(139,151,166,0); } }
.pl-auto { margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9db0c8; }
.pl-banner { margin: 8px 0; padding: 12px 14px; border-radius: 12px; background: #3d2f0b; border: 1px solid #d9a400; color: #ffe7a3; font-weight: 700; font-size: 16px; line-height: 1.4; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 8px; }
.pl-live { font-variant-numeric: tabular-nums; }
.pl-live:empty { display: none; }
.pl-chip { flex: none; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid #8aa4c4; background: #15202f; color: #e7eef6; font: inherit; font-weight: 800; cursor: pointer; }
.pl-chip.on { border-color: #34d39b; background: rgba(52,211,155,.16); color: #d9ffef; }
.pl-row { display: grid; width: 100%; text-align: left; color: inherit; font: inherit; background: #111a28; border: 1px solid #28384f; border-radius: 14px; margin: 8px 0; padding: 10px 12px 10px 14px; min-height: 76px; cursor: pointer; grid-template-columns: 8px minmax(0,1fr) auto; grid-template-areas: "bar id stat" "bar picks stat" "bar pill stat"; column-gap: 10px; row-gap: 2px; align-items: center; }
.pl-bar { grid-area: bar; align-self: stretch; border-radius: 6px; background: #5c6b7d; }
.pl-id { grid-area: id; min-width: 0; }
.pl-id b { font-size: 18px; }
.pl-id small, .pl-pick small { color: #c5d4e6; }
.pl-id small { display: block; font-size: 14px; }
.pl-nexttag { margin-left: 8px; color: #f6e7b4; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pl-row.pl-next { border-color: #e0b000; box-shadow: inset 0 0 0 1px rgba(224,176,0,.5); }
.pl-picks { grid-area: picks; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-pick b { font-size: 17px; }
.pl-pick small { display: block; font-size: 14px; }
.pl-gap { display: inline-block; margin-top: 3px; padding: 2px 8px; border-radius: 999px; border: 1px solid #8a6a2c; color: #f6e7b4; font-size: 12px; font-weight: 800; }
.pl-row .pl-pill { grid-area: pill; justify-self: start; }
.pl-stat { grid-area: stat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 72px; min-height: 44px; }
.pl-big { width: 26px; height: 26px; border-radius: 50%; background: #5c6b7d; display: block; }
.pl-stat b { font-size: 15px; }
.pl-row.pl-green .pl-bar, .pl-row.pl-green .pl-big { background: #34d39b; }
.pl-row.pl-yellow .pl-bar, .pl-row.pl-yellow .pl-big { background: #e0b000; }
.pl-row.pl-red .pl-bar, .pl-row.pl-red .pl-big { background: #ff5d6c; }
.pl-row.pl-green .pl-stat b { color: #34d39b; }
.pl-row.pl-yellow .pl-stat b { color: #e0b000; }
.pl-row.pl-red .pl-stat b { color: #ff8d97; }
.pl-row.pl-none .pl-stat b { color: #c5d4e6; }
.pl-row.pl-done { opacity: .7; }
@media (min-width: 840px) {
  .pl-row { grid-template-columns: 8px 150px auto minmax(0,1fr) auto; grid-template-areas: "bar id pill picks stat"; min-height: 64px; align-items: center; }
  .pl-picks { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
  .pl-pick small { display: inline; margin-left: 8px; }
}
