/* Matchs-only extras on top of the copied myrank.shop style.css */

.nav-logo small {
  display: none;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-600);
}
@media (min-width: 768px) {
  .nav-logo small { display: inline; }
}

.hero--tool {
  padding-bottom: 3rem;
}
.hero--tool .hero-inner {
  grid-template-columns: 1fr;
}
.hero--tool .hero-lead {
  max-width: 40rem;
}

.feature-go {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--brand-700);
}

.matchs-note {
  margin-top: 1.5rem;
  color: var(--slate-500);
  font-size: 0.95rem;
}

.match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .match-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .match-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.match-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-nav);
}
.match-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.match-card .matchup {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.35rem;
}
.match-card .matchup small { color: var(--slate-400); font-weight: 600; }
.match-card .scoreline { margin: 0 0 0.75rem; color: var(--slate-600); }
.match-card .match-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--slate-500); }
.match-card .match-meta { font-size: 0.8rem; color: var(--slate-400); }
.match-card.phase-live {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-xl);
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--slate-100);
  font-size: 0.75rem;
  font-weight: 700;
}
.phase-live .phase-pill { background: #ccfbf1; color: var(--brand-700); }
.phase-after .phase-pill { background: var(--slate-200); }

.prob-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
}
.prob-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
  margin-top: 0.35rem;
}
.prob-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-700));
  border-radius: 999px;
}
.prob-bar.slim { height: 0.28rem; margin-top: 0.25rem; max-width: 8rem; }

.hit-ok, .hit-no, .hit-wait {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.hit-ok { background: #ccfbf1; color: var(--brand-700); }
.hit-no { background: #ffe4e6; color: var(--danger); }
.hit-wait { background: var(--slate-100); color: var(--slate-500); }

.table-wrap { overflow-x: auto; }
.match-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
}
.match-table th, .match-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.92rem;
}
.match-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  background: var(--slate-50);
}
.match-table tr.is-top td { font-weight: 700; background: #f0fdfa; }
.match-table td.is-fav,
.match-table tr.is-top td:nth-child(2) {
  color: var(--brand-700);
  background: #ccfbf1;
  font-weight: 800;
}

.is-fav {
  color: var(--brand-700);
  background: #ccfbf1;
  padding: 0.08em 0.32em;
  border-radius: 0.35em;
  font-weight: 800;
}

.match-card.is-fav-home,
.match-card.is-fav-away {
  border-color: var(--brand-200);
}

.race-block {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.1rem;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.6rem 0.6rem;
}
.race-block summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  padding: 0.7rem 0.5rem;
  font-weight: 700;
}
.race-block summary::-webkit-details-marker { display: none; }
.race-title { font-size: 1.05rem; }
.race-sub { font-size: 0.88rem; color: var(--slate-500); font-weight: 500; }

.nav-cta-wrap { position: relative; }
.nav-cta-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 12rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  padding: 0.4rem;
  z-index: 60;
}
.nav-cta-wrap:hover .nav-cta-menu,
.nav-cta-wrap.is-open .nav-cta-menu { display: block; }
.nav-cta-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
}
.nav-cta-menu a:hover { background: var(--slate-100); }
.nav-cta-menu i {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.4rem;
  background: var(--slate-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
}

.board-block {
  margin-top: 1.75rem;
}
.board-block:first-child { margin-top: 0.25rem; }
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.85rem;
}
.board-head h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.board-count {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 700;
}

.kick-clock {
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}

.daily-list { display: flex; flex-direction: column; gap: 0.65rem; }
.daily-day {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 0.2rem 0.7rem 0.55rem;
}
.daily-day summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.75rem 0.2rem;
  font-weight: 700;
}
.daily-day summary::-webkit-details-marker { display: none; }
.daily-date { font-size: 1.05rem; }
.daily-stat { color: var(--slate-500); font-weight: 600; font-size: 0.92rem; }
.blind-overall {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: 1.05rem;
}
