/* «الرئيسية» (assets/home-view.js). القيم من assets/tokens.css. */
.home-head {
  margin-bottom: 20px;
}
.home-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
}
.home-slot {
  margin-bottom: 20px;
}
.home-slot:empty {
  display: none;
}
.overview-results-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.home-columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.home-columns-2 .section-head h2 {
  font-size: 17px;
}
.home-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* القادم في التقويم */
.home-upcoming {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-upcoming li + li {
  border-top: 1px solid var(--border);
}
.home-upcoming-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 10px 4px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  text-align: right;
}
.home-upcoming-row:hover {
  background: var(--surface-2);
}
.home-date {
  display: grid;
  justify-items: center;
  flex-shrink: 0;
  width: 52px;
  line-height: 1.2;
}
.home-date b {
  font-size: 22px;
}
.home-date small {
  color: var(--muted);
}
.home-upcoming-text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.home-upcoming-text strong {
  overflow: hidden;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.home-upcoming-text small {
  color: var(--muted);
}

/* قنواتك */
.home-channels {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-channels li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}
.home-channels li + li {
  border-top: 1px solid var(--border);
}
.home-channels li span:nth-child(2) {
  flex: 1;
  font-weight: 500;
}

@media (max-width: 900px) {
  .home-columns-2 {
    grid-template-columns: 1fr;
  }
}
.home-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .home-metrics {
    gap: 8px;
  }
  .home-metrics .summary {
    padding: 12px;
  }
  .home-metrics .summary small {
    display: none;
  }
}
