/* page-lineup.css — programmatic country/category channel pages (/channels/*.html)
   Neon Noir theme */
html, body { overflow-x: clip; }

/* hero (mirrors page-channels.css) */
.page-head {
  padding: 140px 0 64px;
  text-align: center;
  background:
    radial-gradient(560px 320px at 86% -10%, rgba(255, 45, 120, 0.16), transparent 70%),
    radial-gradient(500px 320px at 4% 110%, rgba(124, 58, 237, 0.14), transparent 70%),
    var(--bg);
}

.page-head h1 {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-head h1 .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-head-sub {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.page-head-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
  padding: 0;
}

.page-head-stats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.page-head-stats .icon { width: 15px; height: 15px; color: var(--neon-soft); }

.page-head-stats strong {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-head);
}

.page-head { padding: 120px 0 48px; }

.lineup-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.lineup-crumbs a { color: var(--neon-soft); text-decoration: none; font-weight: 500; }
.lineup-crumbs a:hover { text-decoration: underline; }

.lineup-flag { display: inline-block; width: .95em; height: .95em; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); vertical-align: -0.08em; }
.lineup-flag--emoji { width: auto; height: auto; box-shadow: none; font-size: .85em; }

.section--tight-top { padding-top: 24px; }

.lineup-filter { position: sticky; top: 72px; z-index: 30; display: flex; align-items: center; gap: 10px;
  background: rgba(16, 16, 26, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 12px 16px; margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
.lineup-filter .icon { color: var(--neon-soft); flex: none; }
.lineup-filter input { flex: 1; border: 0; outline: 0; font: inherit; color: var(--text); background: transparent; }
.lineup-filter input::placeholder { color: var(--muted); }
.lineup-filter-count { flex: none; font-size: 12.5px; font-weight: 700; color: var(--neon-soft); background: rgba(255, 45, 120, 0.12); border: 1px solid rgba(255, 45, 120, 0.26); border-radius: 999px; padding: 4px 12px; }

.chan-grid { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 14px; }
.chan-grid li { break-inside: avoid; content-visibility: auto; font-size: 14px; color: var(--body); padding: 8px 12px;
  margin-bottom: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
@media (max-width: 900px) { .chan-grid { columns: 2; } }
@media (max-width: 560px) { .chan-grid { columns: 1; } }

.lineup-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.lineup-devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lineup-device { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.lineup-device:hover { border-color: rgba(255, 45, 120, 0.5); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 45, 120, 0.14); }
.lineup-device .icon { color: var(--neon-soft); width: 26px; height: 26px; }
.lineup-device span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .lineup-devices { grid-template-columns: 1fr; } }

.related-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 500; transition: border-color .2s, color .2s; }
.related-grid a:hover { border-color: rgba(255, 45, 120, 0.5); color: var(--neon-soft); }
.rel-flag { font-size: 18px; }
.rel-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.related-all { justify-content: center; color: var(--neon-soft) !important; border-style: dashed !important; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* crawlable directory nav injected into channels.html */
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 14px; }
.dir-grid a { display: block; padding: 8px 12px; font-size: 13.5px; color: var(--body); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none; transition: border-color .15s, color .15s; }
.dir-grid a:hover { border-color: rgba(255, 45, 120, 0.5); color: var(--neon-soft); }
.dir-region { grid-column: 1 / -1; margin-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 15px; }
.dir-region:first-child { margin-top: 0; }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }

/* Category blocks (adult-content-18.html grouped lineup) */
.chan-cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chan-cat-nav .chip-noir { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--body); padding: 8px 14px; transition: border-color .2s ease, color .2s ease; }
.chan-cat-nav .chip-noir:hover { color: var(--neon-soft); border-color: rgba(255, 45, 120, 0.45); }
.chip-count { font-size: 11.5px; font-weight: 700; color: var(--neon-soft); }
.chan-cat { scroll-margin-top: 150px; }
.chan-cat + .chan-cat { margin-top: 36px; }
.chan-cat-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.chan-cat-count { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--neon-soft); background: rgba(255, 45, 120, 0.12); border: 1px solid rgba(255, 45, 120, 0.26); border-radius: 999px; padding: 3px 11px; }
.chan-cat-desc { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
