/* Stili pagine dirette — usa layout marketing + marketing.css */
.live-main .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.live-main video {
  width: 100%;
  max-height: 70vh;
  background: #000;
  border-radius: 12px;
}

.live-main .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.live-main .badge-live { background: #e53935; color: #fff; }
.live-main .badge-on-air { background: #2e7d32; color: #fff; }
.live-main .badge-wait { background: #444; color: #ddd; }
.live-main .badge-connecting { background: #f57c00; color: #fff; }
.live-main .badge-ended { background: #374151; color: #ddd; }

.live-main .stream-ended {
  text-align: center;
  padding: 48px 24px;
  margin: 16px 0;
  background: linear-gradient(160deg, #14141c 0%, #0a0a0e 100%);
  border: 1px dashed #2a2a36;
  border-radius: 16px;
}

.live-main .stream-ended-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.live-main .stream-ended h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #fff;
}

.live-main .stream-ended p {
  margin: 0 0 8px;
  color: #aaa;
  font-size: 0.95rem;
}

.live-main .stream-ended-meta { color: #888; font-size: 0.85rem; }
.live-main .stream-ended-hint { margin-top: 12px !important; }
.live-main .stream-ended-btn { margin-top: 20px; display: inline-block; }

.live-main .scoreboard { margin: 12px 0 16px; }

.live-main .sets-line {
  font-size: 0.95rem;
  color: #f5c542;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.live-main .partials-line {
  font-size: 0.88rem;
  color: #9ecbff;
  margin: 0 0 4px;
}

.live-main .partials-line[hidden] { display: none; }

.live-main .score { font-size: 1.5rem; font-weight: 700; margin: 0; }

.live-main h1 { font-size: 1.35rem; margin: 0 0 8px; }

.live-main h2.page-subtitle {
  font-size: 1.1rem;
  margin: 0 0 16px;
  font-weight: 600;
  color: #ccc;
}

.live-main .search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.live-main .search-form input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #14141c;
  color: #fff;
  font-size: 1rem;
}

.live-main .search-form input[type="search"]:focus {
  outline: none;
  border-color: #e53935;
}

.live-main .live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.live-main .live-card {
  background: #14141c;
  border: 1px solid #2a2a36;
  border-radius: 14px;
  padding: 18px;
  transition: border-color 0.15s, transform 0.15s;
}

.live-main .live-card:hover {
  border-color: #e53935;
  transform: translateY(-2px);
}

.live-main .live-card h3,
.live-main .live-card .live-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.live-main .live-card__club {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e53935;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.live-main .live-card__matchup {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.live-main .live-page-heading {
  margin: 0 0 12px;
}

.live-main .live-page-heading__club {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e53935;
}

.live-main .live-page-heading__matchup {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.live-main .live-card .meta {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.live-main .live-card .card-score { margin: 0 0 10px; font-size: 0.9rem; }

.live-main .live-card .card-sets {
  display: block;
  color: #f5c542;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.live-main .live-card .card-partials {
  display: block;
  color: #9ecbff;
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.live-main .live-card .card-points {
  font-weight: 700;
  font-size: 1.1rem;
}

.live-main .live-card .badges { margin-bottom: 14px; }

.live-main .live-card .btn-watch {
  width: 100%;
  background: #e53935;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  display: block;
  text-decoration: none;
}

.live-main .live-card .btn-watch:hover {
  background: #c62828;
  text-decoration: none;
  color: #fff;
}

.live-main .empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #14141c;
  border-radius: 14px;
  border: 1px dashed #2a2a36;
  color: #aaa;
}

.live-main .back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #aaa;
  font-size: 0.9rem;
}

.live-main .results-hint {
  color: #888;
  font-size: 0.9rem;
  margin: -12px 0 20px;
}

.live-main .section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.live-main .section-heading--spaced {
  margin-top: 32px;
}

.live-main .badge-scheduled {
  background: #1565c0;
  color: #fff;
}

.live-main .live-card--upcoming {
  border-color: #2a3a4a;
}

.live-main .live-card--upcoming:hover {
  border-color: #1565c0;
  transform: none;
}

.live-main .upcoming-when {
  font-size: 1rem;
  font-weight: 600;
  color: #9ecbff;
  margin: 0 0 12px;
}

.live-main .empty-state--soft {
  margin-top: 28px;
  padding: 28px 24px;
  text-align: left;
}

.live-main .empty-state--soft p {
  margin: 0 0 10px;
  color: #bbb;
}

.live-main .empty-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-top: 8px;
  align-items: start;
}

@media (max-width: 860px) {
  .live-main .empty-hero {
    grid-template-columns: 1fr;
  }
}

.live-main .empty-hero-copy h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #fff;
}

.live-main .empty-hero-copy > p {
  color: #aaa;
  margin: 0 0 16px;
  line-height: 1.5;
}

.live-main .empty-hero-list {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: #aaa;
  line-height: 1.6;
}

.live-main .empty-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.live-main .demo-live-card {
  background: #14141c;
  border: 1px dashed #333;
  border-radius: 14px;
  padding: 16px;
}

.live-main .demo-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin: 0 0 12px;
}

.live-main .live-card--demo {
  opacity: 0.92;
  pointer-events: none;
}

.live-main .btn-watch--demo {
  cursor: default;
  opacity: 0.85;
}

.live-main .replay-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
}
