/* 自动生成，禁止人工编辑。请运行 npm run build 重建。 */
.channels-section { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--cb-bg-cinema); border-top: 1px solid color-mix(in srgb, var(--cb-border) 45%, var(--cb-bg-cinema)); }
.channels-section .stage { max-width: 80rem; }
.channels-section h1, .channels-section h2, .channels-section h3 { font-family: var(--cb-font-heading); line-height: 1.12; text-wrap: balance; }
.channels-section h1 { font-size: clamp(2.8rem, 4.7vw, 4.75rem); letter-spacing: -0.035em; margin: 0 0 1.5rem; }
.channels-section h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -0.025em; margin: 0 0 1.25rem; max-width: 26ch; }
.channels-section h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin: 0 0 1rem; }
.channels-section p { color: var(--cb-text-muted); max-width: 65ch; margin: 0 0 1.5rem; }
.channels-section ul { padding: 0; list-style: none; margin: 1.5rem 0; }
.channels-section img { display: block; width: 100%; height: auto; border-radius: var(--cb-radius-card); }
.channels-section picture { display: block; min-width: 0; }
.channels-section a { text-decoration-thickness: 1px; }
.channels-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.channels-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.85rem; border: 1px solid var(--cb-border); border-radius: var(--cb-radius-control); text-decoration: none; }
.channels-links a:hover { border-color: var(--cb-info); background: var(--cb-surface); }
.channels-section .channel-examples { display: flex; flex: initial; flex-wrap: wrap; gap: 0.6rem; }
.channel-examples > li { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.channel-examples a { padding: 0.45rem 0.75rem; min-height: 44px; display: inline-flex; align-items: center; font-size: 0.88rem; border-radius: 6px; background: var(--cb-surface); overflow-wrap: anywhere; }
.channel-category { font-size: 0.78rem; color: var(--cb-text-muted); text-transform: capitalize; }
.channels-section--hero { padding: clamp(2rem, 4vw, 4.5rem) 0; border-top: 0; }
.channels-section--hero > .stage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem; }
.channels-hero__copy { min-width: 0; }
.channels-section .channels-count { color: var(--cb-text); font-weight: 700; margin-bottom: 1rem; }
.channels-section--hero form { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.channels-section--hero label { grid-column: 1 / -1; font-size: 0.88rem; }
.channels-section input, .channels-section select { min-width: 0; width: 100%; border: 1px solid var(--cb-border); border-radius: var(--cb-radius-control); background: var(--cb-surface); color: var(--cb-text); padding: 0.85rem; font: inherit; }
.channels-section input::placeholder { color: var(--cb-text-muted); }
.channels-section button { border: 0; border-radius: var(--cb-radius-control); background: var(--cb-info); color: #07090f; padding: 0.85rem 1rem; font-weight: 700; cursor: pointer; }
.channels-try { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.8rem 0 1.3rem; font-size: 0.8rem; }
.channels-try .channels-links { margin: 0; gap: 0 0.7rem; }
.channels-try a { border: 0; padding: 0.2rem 0; min-height: 32px; text-decoration: underline; color: var(--cb-text-muted); }
.channels-section--browse-content { padding: 2rem 0 2.5rem; background: var(--cb-bg-navy); }
.channels-section--browse-content h2 { font-size: 1.35rem; max-width: none; }
.channels-section--browse-content .channels-links { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-bottom: 0; }
.channels-section--browse-content a { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; padding: 1rem 0.35rem; border: 0; font-size: 0.84rem; text-align: center; height: 100%; }
.channels-section--browse-content svg { width: 28px; height: 28px; }
.channels-section--browse-content svg { color: var(--cb-info); }
.channels-section--sports .stage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0 3rem; align-items: start; }
.channels-section--sports .stage > * { grid-column: 1; }
.channels-section--sports .stage > picture { grid-column: 2; grid-row: 1 / span 8; align-self: center; }
.channels-section--sports .channel-category, .channels-household .channel-category { display: none; }
.channels-section--sports .stage > a { justify-self: start; color: var(--cb-info); font-weight: 600; }
.channels-section--sports .channel-examples { margin-top: 0; }
/* 查找与阅读使用影院黑，观看场景和 FAQ 使用深蓝，跟随当前内容顺序。 */
.channels-section--sports, .channels-section--language-family, .channels-section--channel-faq { background: var(--cb-bg-navy); }
/* 光感从深蓝缓慢退回影院黑，边缘衔接保持安静。 */
.channels-section--hero { background-image: radial-gradient(ellipse at 85% 25%, var(--cb-bg-navy), var(--cb-bg-cinema) 75%); }
.channels-section--browse-content { background-image: linear-gradient(105deg, var(--cb-bg-cinema), var(--cb-bg-navy) 50%, var(--cb-bg-cinema)); }
.channels-section--local-channels { background-image: radial-gradient(ellipse at 25% 50%, var(--cb-bg-navy), var(--cb-bg-cinema) 75%); }
.channels-section--sports { background-image: radial-gradient(ellipse at 80% 45%, var(--cb-surface), var(--cb-bg-navy) 48%, var(--cb-bg-cinema) 85%); }
.channels-section--language-family { background-image: linear-gradient(165deg, var(--cb-bg-cinema), var(--cb-surface) 48%, var(--cb-bg-navy) 72%, var(--cb-bg-cinema)); }
.channels-section--channel-faq { background-image: linear-gradient(110deg, var(--cb-bg-cinema), var(--cb-bg-navy) 55%, var(--cb-bg-cinema)); }
.channels-local-layout { display: grid; grid-template-columns: minmax(8rem, 0.65fr) minmax(0, 2.3fr) minmax(12rem, 0.9fr); align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.channels-location-controls { display: grid; gap: 0.6rem; align-content: start; }
.channels-location-controls select { margin-bottom: 0.8rem; }
.channels-location-controls select:disabled { opacity: 0.55; }
[data-channel-map] svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-states { fill: #192b45; stroke: #435979; stroke-width: 0.85; pointer-events: none; }
[data-map-city] { pointer-events: bounding-box; }
.map-dot { fill: #7eb2ff; stroke: #0d1424; stroke-width: 3; }
.map-hit { fill: transparent; }
[data-map-city] text { fill: var(--cb-text); font: 19px var(--cb-font-body); paint-order: stroke; stroke: #0d1424; stroke-width: 4px; stroke-linejoin: round; }
[data-map-city]:hover .map-dot, [data-map-city][aria-current] .map-dot { fill: var(--cb-brand-gold); r: 10; }
[data-map-city]:focus-visible { outline: none; }
[data-map-city]:focus-visible .map-hit { stroke: var(--cb-text); stroke-width: 3; }
.map-inset-labels { fill: var(--cb-text-muted); font: 18px var(--cb-font-body); }
.channels-location-results { padding: 1.25rem; border: 1px solid var(--cb-border); border-radius: var(--cb-radius-card); scroll-margin-top: calc(var(--cb-header-height) + 1rem); }
.channels-location-results h3 { font-size: 1.1rem; }
.channels-location-results p { font-size: 0.9rem; margin: 0; }
.channels-location-results a { font-size: 0.85rem; }
.channels-city-examples > li + li { margin-top: 2rem; }
.channels-section--language-family .stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; row-gap: 0; }
.channels-section--language-family h2 { grid-column: 1 / -1; }
.channels-household { display: grid; grid-row: span 5; grid-template-rows: subgrid; min-width: 0; }
.channels-household .channel-examples { margin: 1rem 0; gap: 0 1.25rem; align-content: start; }
.channels-household .channel-examples a { padding: 0.4rem 0; background: none; border-radius: 0; color: var(--cb-text-muted); font-weight: 400; text-decoration-color: var(--cb-border); text-underline-offset: 4px; }
.channels-household .channel-examples a:hover { color: var(--cb-text); text-decoration-color: currentColor; }
.channels-household__browse { padding-top: 0.75rem; border-top: 1px solid var(--cb-border); }
.channels-household .channels-links { margin: 0; gap: 0 1.5rem; }
.channels-household .channels-links a { padding: 0.5rem 0; border: 0; border-radius: 0; background: none; color: var(--cb-info); font-weight: 600; font-size: 0.95rem; }
.channels-household .channels-links a:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.channels-explanations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.channels-explanations li { padding-top: 1.4rem; border-top: 1px solid var(--cb-border); }
.channels-explanations p { margin-bottom: 0; }
.channels-section--directory-preview .channel-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.channels-section--directory-preview .channel-examples li { border-bottom: 1px solid var(--cb-border); padding-bottom: 1.25rem; }
.channels-section--directory-preview .channel-examples a { background: none; padding-left: 0; font-size: 1.15rem; color: var(--cb-text); text-decoration-color: var(--cb-border); text-underline-offset: 4px; }
.channels-section--directory-preview .channel-examples a:hover { color: var(--cb-info); text-decoration-color: currentColor; }
.channels-section--directory-preview .stage > a { display: inline-flex; align-items: center; min-height: 48px; padding: 0.65rem 1rem; border: 1px solid var(--cb-info); border-radius: var(--cb-radius-control); text-decoration: none; }
.channels-section--channel-faq .stage { max-width: 65rem; }
.channels-section--channel-faq details { padding: 1.4rem 0; border-bottom: 1px solid var(--cb-border); }
.channels-section--channel-faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.channels-section--channel-faq details p { margin: 1rem 0; }
@media (max-width: 1023px) {
  .channels-section--hero > .stage { grid-template-columns: 1fr; }
  .channels-section--hero picture { max-width: 48rem; width: 100%; justify-self: center; }
  .channels-section--browse-content .channels-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .channels-local-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .channels-location-controls { grid-column: 1 / -1; grid-template-columns: auto 1fr auto 1fr; align-items: center; }
  .channels-location-controls select { margin: 0; }
}
@media (max-width: 767px) {
  .channels-section--hero form { grid-template-columns: 1fr; }
  .channels-section--hero button { min-height: 48px; }
  .channels-section--sports .stage, .channels-section--language-family .stage, .channels-local-layout { display: flex; flex-direction: column; align-items: stretch; }
  .channels-section--sports picture { margin: 0.5rem 0 1.5rem; }
  .channels-section--sports .stage > a { align-self: flex-start; }
  .channels-location-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
  .channels-location-controls label { grid-row: 1; }
  .channels-location-controls select { grid-row: 2; }
  .channels-location-results { min-height: 5rem; }
  .channels-household { display: block; }
  .channels-household + .channels-household { margin-top: 1.5rem; }
  .channels-household picture { margin: 1.5rem 0; }
  .channels-explanations { grid-template-columns: 1fr; gap: 1.5rem; }
  .channels-section--directory-preview .channel-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .channels-section * { scroll-behavior: auto; transition: none; } }
/* 全量城市默认以点表示，避免密集文字遮住地图。 */
[data-map-city] text { visibility: hidden; pointer-events: none; }
[data-map-city]:hover text, [data-map-city]:focus-visible text, [data-map-city][aria-current] text { visibility: visible; }
[data-map-city] { pointer-events: visiblePainted; }
[data-map-cluster] { cursor: pointer; }
[data-map-cluster] .map-dot { fill: #7eb2ff; stroke: #0d1424; stroke-width: 3; }
[data-map-cluster]:focus { outline: none; }
[data-map-cluster]:focus-visible .map-hit { stroke: var(--cb-text); stroke-width: 3; }
[data-map-cluster]:hover .map-dot, [data-map-cluster][aria-expanded="true"] .map-dot { fill: var(--cb-brand-gold); r: 8; }
.map-city-choices:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; padding-top: 0.75rem; }
.map-city-choices button { min-height: 44px; padding: 0.65rem 1rem; border: 1px solid #7eb2ff; border-radius: var(--cb-radius-control); background: #192b45; color: var(--cb-text); cursor: pointer; }
.map-city-choices button:hover { background: #223e66; }
.channels-section .channels-map-note {
  max-width: 52ch;
  margin: 1.25rem auto 0;
  padding-inline: 0.75rem;
  color: var(--cb-text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}
.is-map-enhanced .channels-location-results {
  height: clamp(320px, 45vh, 440px);
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #7eb2ff #192b45;
}
.is-map-enhanced .channels-city-examples > li { margin-top: 0; }

/* 地图为主，筛选和示例在同一列形成连续的查询面板。 */
.channels-local-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  grid-template-rows: auto 1fr;
  column-gap: 2rem;
  row-gap: 0;
  align-items: start;
}
.channels-local-layout > [data-channel-map] { grid-column: 1; grid-row: 1 / 3; }
.channels-location-controls {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem 0.75rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--cb-border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--cb-surface);
}
.channels-location-controls label { grid-row: 1; font-size: 0.85rem; color: var(--cb-text-muted); }
.channels-location-controls select { grid-row: 2; min-width: 0; margin: 0; padding-inline: 0.65rem; font-size: 0.9rem; }
.channels-location-results {
  grid-column: 2;
  grid-row: 2;
  padding: 0 1.5rem 1.5rem;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: var(--cb-surface);
}
.channels-location-results [data-location-status]:not(:empty) { border-top: 1px solid var(--cb-border); padding-top: 1.5rem; line-height: 1.7; }
.channels-location-results .channels-city-examples { margin: 0; padding: 0; }
.channels-location-results h3 { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--cb-border); font: 600 1.3rem/1.35 var(--cb-font-heading); }
.channels-location-results h3 + p { margin-top: 0.5rem; color: var(--cb-text-muted); font-size: 0.8rem; }
.channels-location-results .channel-examples { display: block; margin: 1rem 0; }
.channels-location-results .channel-examples li { padding: 0; border-bottom: 1px solid var(--cb-border); }
.channels-location-results .channel-examples a { display: flex; padding: 0.65rem 0; border-radius: 0; background: none; color: var(--cb-text); font-size: 0.95rem; line-height: 1.45; font-weight: 500; text-decoration: none; }
.channels-location-results .channel-examples a:hover { color: var(--cb-info); text-decoration: underline; }
.channels-location-results .channel-category { display: none; }
.channels-location-results [data-location] > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cb-info); font-size: 0.9rem; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 1023px) {
  .channels-local-layout { display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .channels-location-controls { border: 0; border-radius: 0; padding: 0; background: none; }
  .channels-location-results { border: 1px solid var(--cb-border); border-radius: 16px; padding: 1.25rem; }
  .channels-location-results h3 { padding-top: 0; border-top: 0; }
  .channels-location-results [data-location-status]:not(:empty) { border-top: 0; padding-top: 0; }
}

/* Shared brand hierarchy; preserve the approved content and map layout. */
.channels-section h2 { font-size: var(--cb-heading-section); letter-spacing: -.035em; line-height: 1.08; }
.channels-section--browse-content h2 { font-size: 1.35rem; }
.channels-section--hero { background-image: var(--cb-gradient-brand); }
.channels-section .channels-count { color: var(--cb-brand-gold); font-family: var(--cb-font-heading); }
.channels-section button { color: var(--cb-bg-cinema); }
.channels-location-results h3 { font-size: 1.3rem; }
[data-map-city]:hover .map-dot, [data-map-city][aria-current] .map-dot { fill: var(--cb-info-readable); }

/* Section boundaries continue the same color rather than restarting a gradient. */
#main-content>.channels-section{--section-start:var(--cb-bg-cinema);--section-end:var(--cb-bg-navy);background:linear-gradient(180deg,var(--section-start),var(--section-end));border-top-color:color-mix(in srgb,var(--cb-border) 55%,transparent)}
#main-content>.channels-section--hero{background:radial-gradient(ellipse 60% 45% at 80% 40%,rgb(75 141 255 / .12),transparent),linear-gradient(180deg,var(--cb-bg-navy),var(--cb-bg-cinema))}
#main-content>:is(#local-channels,#directory-preview,#content-details){--section-start:var(--cb-bg-navy);--section-end:var(--cb-bg-cinema)}
#main-content>#channel-faq{--section-start:var(--cb-bg-cinema);--section-end:var(--cb-bg-cinema)}

.content-demo { min-width: 0; scroll-margin-top: 100px; }
.content-demo h2 { font-size: clamp(1.6rem,2.4vw,2.2rem); }
.content-demo__player { position: relative; overflow: hidden; border-radius: var(--cb-radius-card); background: #000; }
.content-demo video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.content-demo [data-demo-play] { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; color: white; background: linear-gradient(transparent, rgb(0 0 0 / .45)); cursor: pointer; font-weight: 700; }
.content-demo [data-demo-play] > span:first-child { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cb-info); color: #07101f; font-size: 26px; }
.content-demo [data-demo-play][hidden] { display: none; }
.content-demo [data-demo-play]:focus-visible { outline: 3px solid var(--cb-info); outline-offset: -4px; }
