/* Nova IPTV's site. Everything else comes from CROSSFADE's stylesheets (the same look across the JbTecWiz
   product sites); this file only adds what Nova's pages have that CROSSFADE's don't. */

/* The app's icon as the brand mark */
.nova-brand img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.cf-foot-product b img.nova-foot-icon { width: 20px; height: 20px; border-radius: 5px; vertical-align: -4px; }

/* Two phone screenshots side by side (the phone remote) */
.nova-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: 520px; justify-self: center; width: 100%; }
.nova-phone { margin: 0; }
.nova-phone img { border-radius: 26px; width: 100%; height: auto; }

/* Two cards in a row (Android and the web) */
.nova-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.nova-two .card { padding: clamp(24px, 3vw, 36px); }
.nova-two .card h3 { margin: 14px 0 8px; }
@media (max-width: 760px) { .nova-two { grid-template-columns: 1fr; } }

/* The player's bento sits under its chapter heading */
.nova-bento { margin-top: clamp(48px, 6vw, 72px); }

.nova-credit { margin-top: 18px; font-size: 13px; opacity: .65; text-align: center; }

/* The latest release's notes, beside the download */
.nova-latest ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.nova-latest li { line-height: 1.5; }
.nova-latest .nova-latest-v { font-weight: 600; margin: 0 0 10px; }

/* What's new: one card per version */
.nova-versions { display: grid; gap: 22px; }
.nova-version { padding: clamp(22px, 3vw, 34px); }
.nova-version h2 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 28px); }
.nova-version .nova-v-meta { margin: 0 0 16px; opacity: .65; font-size: 14px; }
.nova-version ul { margin: 0; padding-left: 1.15em; display: grid; gap: 10px; }
.nova-version li { line-height: 1.55; }
.nova-version li b { font-weight: 600; }
.nova-version--latest { outline: 1px solid color-mix(in srgb, var(--a, #0a84ff) 55%, transparent); }

@media (max-width: 600px) {
  .nova-phones { max-width: 100%; }
}

/* Light mode: the dark bands (the hero, the guide, the player) stay dark, so what's in them keeps its dark-mode look.
   CROSSFADE's light theme turns the at-a-glance figures dark and cards white; its own hero is excused by art.css's
   .cx-hero--art rules, and it has no cards in a dark band. (The :not()s outweigh light.css's id-strength rules.) */
@media (prefers-color-scheme: light) {
  html body .ch--dark .facts b { background-image: linear-gradient(180deg, #fff 35%, #b4b4ba); }
  html body .ch--dark .facts > div:last-child b { background-image: linear-gradient(135deg, #ffb340, #ff6a3d 55%, #ff3d8b); }
  html body .ch--dark .facts span { color: #86868b; }
  html body .ch--dark .facts > div + div::before { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16), transparent); }
  html body .ch--dark :is(.card, .facts):not(#_n1):not(#_n2) { background: #1c1c1e !important; border-color: transparent !important; box-shadow: none !important; }
  html body .ch--dark .card :is(h3, .cf-stat) { color: #f5f5f7; }
  html body .ch--dark .card p { color: #a1a1a6; }
}
