/* "Ставка дня" card. Scoped styles, no dependency on the old .fqc card. */
.fqs-bod-slot { width: 100%; min-width: 0; }
.schedule-rail > .fqs-bod-slot:first-child { margin-top: 36px; }
.fq-home-promo-stack > .fqs-bod-slot { max-width: 260px; margin-inline: auto; }
.fqs-bod-inline:empty { display: none; }
.fqs-bod-inline > .fqs-bod-slot { max-width: 260px; margin: 12px auto; }
.bod {
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 14px;
  padding: 16px 16px 14px;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.bod *,
.bod *::before,
.bod *::after { box-sizing: border-box; }
.bod-head { margin: 0 0 12px; }
.bod-head h2 {
  margin: 0;
  padding-left: 9px;
  border-left: 4px solid #f97316;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0f172a;
}
.bod-head p { margin: 3px 0 0 13px; font-size: 12.5px; color: #6b7280; }

.bod-teams { display: grid; gap: 8px; margin-bottom: 12px; }
.bod-team {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  min-width: 0;
}
.bod-team:hover span,
.bod-team:focus-visible span { text-decoration: underline; }
.bod-team img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.bod-logo-empty {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: #f1f3f5;
}
.bod-team span { overflow-wrap: anywhere; }

.bod-date { margin: 0 0 10px; font-size: 12.5px; color: #6b7280; }

.bod-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff4e8;
  color: #b45309;
  font-size: 12.5px;
  font-weight: 600;
}
.bod-status[hidden] { display: none; }
.bod-status--live { color: #b91c1c; background: #fef2f2; }
.bod-status--refresh { color: #b45309; }
.bod-status--plain { background: none; padding: 0; }
.bod-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.bod-clock { width: 14px; height: 14px; flex: none; }

.bod-pick {
  margin: 0 0 8px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff4ec;
  color: #ea580c;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.bod-pick b { font-weight: 800; white-space: nowrap; }

.bod-result {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.bod-result--win { background: #dcfce7; color: #15803d; }
.bod-result--loss { background: #f1f5f9; color: #475569; }
.bod-result--push,
.bod-result--void { background: #eff6ff; color: #1d4ed8; }

.bod-note { margin: 0 0 12px; font-size: 12.5px; color: #6b7280; }

.bod-rule { height: 1px; background: #eef1f4; margin: 0 0 11px; }

.bod-history-label { margin: 0 0 8px; font-size: 12.5px; color: #6b7280; }
.bod-history-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 9px;
  padding: 0;
  list-style: none;
}
.bod-history,
.bod-dot-empty {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.bod-history--win { --bod-result-bg: #22c55e; background: var(--bod-result-bg); color: #fff; }
.bod-history--loss { --bod-result-bg: #e5e7eb; background: var(--bod-result-bg); color: #6b7280; }
.bod-history--push { --bod-result-bg: #eff6ff; background: var(--bod-result-bg); color: #1d4ed8; }
.bod-history--void { --bod-result-bg: #f3f4f6; background: var(--bod-result-bg); color: #9ca3af; }
.bod-history--next { background: #dbeafe; color: #2563eb; }
.bod-dot-empty { border: 1.5px dashed #d1d5db; background: none; }
.bod-history-entry { background: none; }
.bod-history-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--bod-result-bg);
  color: inherit;
  text-decoration: none;
  transition: transform 100ms ease-out, filter 100ms ease-out;
}
.bod-history-link:hover,
.bod-history-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.bod-history-link:active { transform: scale(.91); filter: brightness(.84); }
@media (prefers-reduced-motion: reduce) {
  .bod-history-link { transition: none; }
  .bod-history-link:active { transform: none; }
}
.bod-history-tooltip {
  display: none;
  position: absolute;
  z-index: 2;
  inset: auto 0 calc(100% + 5px);
  padding: 8px 10px;
  border-radius: 8px;
  background: #182230;
  color: white;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.bod-history-tooltip > span { display: block; }
.bod-history-tooltip > span:first-child { font-weight: 700; }
.bod-history-entry:hover .bod-history-tooltip,
.bod-history-entry:focus-within .bod-history-tooltip { display: block; }

.bod-next { margin: 0 0 14px; font-size: 12.5px; color: #6b7280; }

.bod-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 2px solid #f97316;
  border-radius: 10px;
  background: #fff;
  color: #ea580c;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}
.bod-cta:hover,
.bod-cta:focus-visible { background: #fff7ed; }
.bod-cta strong { display: block; font-size: 15px; }
.bod-cta small { display: block; font-size: 12px; font-weight: 600; }
.bod-cta svg { width: 18px; height: 18px; flex: none; }

.bod--waiting .bod-waiting {
  margin: 2px 0 14px;
  font-size: 14px;
  color: #374151;
  font-weight: 600;
}

@media (max-width: 420px) {
  .bod { max-width: none; padding: 14px 13px 12px; }
  .bod-history, .bod-dot-empty { width: 28px; height: 28px; }
  .bod-pick { font-size: 16px; }
  .bod-cta strong { font-size: 14px; }
}
