/* ══════════════════════════════════════════════════════════════════
   channels.css — sk-btv-channels.html 전용
   2026-08-18 · 사장님 「css분리해야지」 · 시안 「채널페이지-점검」 §1

   본문에 흩어져 있던 <style> 블록을 "있던 순서 그대로" 이어 붙인 것입니다.
   순서 의존이 심해 재정렬하지 않았습니다.
   (옛 주석: "이 페이지는 <style> 이 본문에도 5개 있다. 맨 끝에 와야 이긴다.")

   ⚠️ 가 그대로 들어 있습니다. 파일 분리와 걷기를 한꺼번에
      하면 뭐가 원인인지 못 가립니다. 걷는 것은 다음 걸음입니다.
   ⚠️ head 의 맨 마지막에 실어야 합니다. 본문 <style> 이던 시절과 같은 힘을
      가지려면 다른 시트보다 뒤여야 합니다.
   ══════════════════════════════════════════════════════════════════ */

/* ───── 옛 <style> 1 (원래 146행) ───── */
      .main-header {
        position: relative;
        overflow: hidden;
        background: #0b1c4d;
        color: #fff;
        padding: 26px 22px;
        text-align: left;
        margin-bottom: 18px;
        border-radius: 14px;
        border: 0;
        box-shadow: 0 14px 34px rgba(11, 28, 77, 0.22);
      }
      .main-header::after {
        content: "";
        position: absolute;
        right: -38px;
        bottom: -50px;
        width: 200px;
        height: 200px;
        background: url("img/b-logo.webp") center/contain no-repeat;
        opacity: 0.08;
        filter: brightness(0) invert(1);
        z-index: 0;
      }
      .main-header > * {
        position: relative;
        z-index: 1;
      }
      .main-header .ch-badge {
        display: inline-block;
        background: #FFC400;
        color: #0b1c4d;
        font-weight: 800;
        font-size:var(--fs-xs);
        padding: 5px 13px;
        border-radius: 999px;
        margin-bottom: 13px;
      }

      /* 데스크톱 폰트 크기 조정 */
      .main-header h1 {
        font-size:var(--fs-title);
        margin: 0 0 9px;
        font-weight: 800;
        line-height: 1.25;
      }
      .main-header h1 b {
        color: #ffc400;
      }

      /* 모바일 푸터 여백 문제 해결 */
      @media (max-width: 768px) {
        footer .container {
          padding-left: 0;
          padding-right: 0;
        }

        .footer-container {
          padding-left: 15px;
          padding-right: 15px;
        }

        .main-header h1 {
          font-size:var(--fs-num-md);
        }
      }

      .subtitle {
        font-size:var(--fs-body);
        color: #cdd6ee;
        opacity: 1;
        margin: 0 0 5px;
      }

      .update-info {
        font-size:var(--fs-xs);
        color: #93a2c9;
        opacity: 1;
        margin: 0;
      }

      .search-section {
        background: white;
        padding: 22px;
        border-radius: 13px;
        margin-bottom: 30px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
      }

      .product-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
      }

      .tab {
        padding: 12px 20px;
        background: #f1f5f9;
        border-radius: 10px;
        cursor: pointer;
        font-size:var(--fs-body);
        font-weight: 600;
        transition: all 0.3s;
        border: 2px solid transparent;
        user-select: none;
        white-space: nowrap;
      }

      .tab.active {
        background: #1e40af;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(30, 64, 175, 0.3);
      }

      .tab:hover:not(.active) {
        background: #e2e8f0;
        border-color: #3b82f6;
        transform: translateY(-1px);
      }

      /* 모바일에서 상품 탭 3-2-3 그리드 레이아웃 */
      @media (max-width: 768px) {
        .product-tabs {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 8px;
        }

        .tab {
          font-size:var(--fs-sm);
          padding: 10px 8px;
          text-align: center;
        }
      }

      @media (max-width: 480px) {
        .tab {
          font-size:var(--fs-xs);
          padding: 8px 6px;
          text-align: center;
        }

        .product-tabs {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 6px;
        }
      }

      .product-info {
        background: #f8fafc;
        padding: 18px;
        border-radius: 10px;
        font-size:var(--fs-body);
        color: #4b5563;
        border-left: 4px solid #3b82f6;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
      }

      .product-info-text {
        flex: 1;
      }

      .price-check-btn {
        background: #1e40af;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-size:var(--fs-body);
        font-weight: 600;
        transition: all 0.3s;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
      }

      .price-check-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
      }

      .channel-section {
        margin-bottom: 40px;
      }

      .categories-container {
        margin-bottom: 30px;
      }

      .category-section {
        margin-bottom: 40px;
        background: white;
        border-radius: 13px;
        padding: 20px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
      }

      .category-title {
        background: #1e40af;
        color: white;
        padding: 10px 18px;
        border-radius: 8px;
        font-size:var(--fs-lead);
        font-weight: 700;
        margin-bottom: 18px;
        display: inline-block;
      }

      .channel-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
      }

      .channel-item {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        transition: all 0.3s;
        font-size:var(--fs-body);
      }

      .channel-item:hover {
        border-color: #3b82f6;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
        transform: translateY(-1px);
      }

      .channel-number {
        background: #1e40af;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size:var(--fs-sm);
        font-weight: bold;
        min-width: 35px;
        text-align: center;
        margin-right: 12px;
        flex-shrink: 0;
      }

      .channel-name {
        font-weight: 500;
        color: #1f2937;
        flex: 1;
      }

      /* 태블릿: 3열 */
      @media (max-width: 1024px) {
        .channel-list {
          grid-template-columns: repeat(3, 1fr);
        }
      }

      /* 모바일: 2열 */
      @media (max-width: 768px) {
        .category-section {
          margin-bottom: 25px;
          padding: 15px;
        }

        .category-title {
          font-size:var(--fs-body);
          padding: 10px 16px;
          margin-bottom: 15px;
        }

        .channel-list {
          grid-template-columns: repeat(2, 1fr);
          gap: 6px;
        }

        .channel-item {
          padding: 8px 12px;
          font-size:var(--fs-sm);
        }
      }

      /* 작은 모바일: 2열 유지 */
      @media (max-width: 480px) {
        .category-title {
          font-size:var(--fs-sm);
          padding: 8px 12px;
        }

        .channel-list {
          grid-template-columns: repeat(2, 1fr);
          gap: 4px;
        }

        .channel-item {
          padding: 6px 8px;
          font-size:var(--fs-xs);
        }

        .channel-number {
          font-size:var(--fs-micro);
          padding: 3px 6px;
          min-width: 30px;
          margin-right: 8px;
        }
      }

      .search-result-info {
        background: #f1f5f9;
        padding: 12px 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size:var(--fs-sm);
        color: #475569;
        border-left: 4px solid #3b82f6;
      }

      .search-results-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 8px;
        margin-bottom: 30px;
      }

      .search-channel-item {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        transition: all 0.3s;
        font-size:var(--fs-sm);
      }

      .search-channel-item:hover {
        border-color: #3b82f6;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
        transform: translateY(-1px);
      }

      .search-channel-item .channel-number {
        font-size:var(--fs-xs);
        padding: 4px 8px;
        min-width: 35px;
        margin-right: 12px;
      }

      .search-channel-item .channel-name {
        font-size:var(--fs-sm);
      }

      .loading {
        text-align: center;
        padding: 80px 20px;
        font-size:var(--fs-body);
        color: #6b7280;
      }

      /* 모바일에서 상품 그룹별 헤더 */
      .mobile-product-groups {
        display: none;
      }

      @media (max-width: 768px) {
        .mobile-product-groups {
          display: block;
        }

        .product-info {
          display: none;
        }
      }

      .product-group-header {
        background: #f8fafc;
        color: #333;
        padding: 12px 16px;
        border-radius: 8px;
        margin: 20px 0 10px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        border: 1px solid #e2e8f0;
      }

      .group-title {
        font-size:var(--fs-sm);
      }

      .group-price-btn {
        background: #1e40af;
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        text-decoration: none;
        font-size:var(--fs-xs);
        font-weight: 600;
        transition: all 0.3s;
        border: 1px solid #1e40af;
      }

      .group-price-btn:hover {
        background: #1E40AF;
        transform: translateY(-1px);
      }
      @media (max-width: 768px) {
        nav.product-tabs {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 8px;
        }

        /* 공통 텍스트 중앙 정렬 */
        .product-tabs .tab {
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          padding: 12px 0;
          font-size:var(--fs-sm);
          font-weight: 700;
          border-radius: 10px;
        }
      }

      /* 상품 탭: 가로·세로 선으로 나눈 바둑판(격자) — 선택 시 파란 칸. 데스크탑·모바일 공통 */
      nav.product-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        background: #ededf2;
        border: 1px solid #ededf2;
        border-radius: 10px;
        overflow: hidden;
        padding: 0;
      }
      .product-tabs .tab {
        background: #ffffff;
        border: none;
        border-radius: 0;
        box-shadow: none;
        color: #555;
        font-weight: 600;
        transform: none;
        padding: 15px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
      .product-tabs .tab.active {
        background: #1e40af;
        color: #ffffff;
      }
      .product-tabs .tab.tab-empty {
        pointer-events: none;
      }
      .product-tabs .tab:hover:not(.active):not(.tab-empty) {
        background: #f3f5fb;
      }

/* ───── 옛 <style> 2 (원래 639행) ───── */
      /* 이 페이지는 styles.css 가 .top-tabs-wrapper 를 position:fixed 로 띄운다(다른 페이지는 흐름 안).
         그래서 공용 규칙(margin-top:2px)으로는 브레드크럼이 탭바에 통째로 가려졌다.
         탭바 아래끝 114px 까지 밀어야 하는데 브레드크럼이 이미 top 67 에서 시작하므로 차이 58px 만 이 페이지에서만 밀어준다(2026-08-08). */
      /* 2026-08-17: 탭바를 .dc-tabs 로 바꾸며 흐름 안으로 들어와 밀어줄 필요가 없어졌다 */

      /* 챗봇 말풍선만 끈다(2026-08-08). 챗봇 버튼은 그대로 둔다.
         왜: 이 페이지는 사이트에서 노출이 가장 많은데(3개월 44,129회) 성격이 다르다.
             채널 번호를 찾으러 온 기존 가입자가 대부분이라, 묻지도 않았는데 4초마다
             떴다 사라지는 말풍선이 채널 칩을 가리기만 했다.
             버튼을 남기는 이유는 "이 채널 보려면 무슨 상품?" 하고 스스로 누르는
             신규 손님의 통로까지 막을 이유는 없어서다.
         방법: chatbot-v6.js 는 opacity 만 로 건드리고 display 는 그냥 넣는다.
               그래서 display:none 한 줄이면 JS 를 안 고치고 이긴다.
               (챗봇 JS 는 난독화 배포본이라 되도록 손대지 않는다) */
      #speechBubble{display:none}

/* ───── 옛 <style> 3 (원래 938행) ───── */
        .search-section {
          background: #fff;
          border: 1px solid #e3e8f2;
          border-radius: 14px;
          padding: 20px;
          box-shadow: 0 10px 28px rgba(11, 28, 77, 0.06);
          margin-bottom: 24px;
        }
        .product-tabs {
          gap: 8px;
        }
        .product-tabs .tab {
          background: #f4f6fb;
          color: #0b1c4d;
          border: 1.5px solid transparent;
          border-radius: 13px;
          font-weight: 700;
          box-shadow: none;
          transition: all 0.2s;
        }
        .product-tabs .tab.active {
          background: #1e40af;
          color: #fff;
          transform: none;
          box-shadow: 0 6px 16px rgba(30, 64, 175, 0.28);
        }
        .product-tabs .tab:hover:not(.active):not(.tab-empty) {
          background: #eef2fb;
          border-color: #c9d5ef;
          transform: none;
        }
        .product-info,
        .product-group-header {
          background: #eef2fb;
          border-left: 0;
          border-radius: 13px;
          color: #0b1c4d;
        }
        .price-check-btn,
        .group-price-btn {
          background: #1e40af;
          color: #fff;
          font-weight: 800;
          border-radius: 10px;
          text-decoration: none;
        }
        #channelSearch {
          border: 1.5px solid #e3e8f2;
          border-radius: 13px;
          font-size:var(--fs-body);
          padding: 13px 16px;
        }
        #channelSearch:focus {
          border-color: #1e40af;
        }
        .category-title {
          background: #0b1c4d;
          color: #fff;
          font-weight: 800;
          padding: 11px 16px;
          border-radius: 13px;
          font-size:var(--fs-body);
          box-shadow: 0 4px 12px rgba(11, 28, 77, 0.14);
          margin-bottom: 10px;
        }
        .channel-list {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 8px;
        }
        .channel-item {
          display: flex;
          align-items: center;
          gap: 10px;
          background: #fff;
          border: 1px solid #eef2fb;
          border-radius: 13px;
          padding: 10px 12px;
          box-shadow: 0 2px 8px rgba(11, 28, 77, 0.04);
          transition: all 0.2s;
        }
        .channel-item:hover {
          border-color: #c9d5ef;
          box-shadow: 0 6px 16px rgba(11, 28, 77, 0.09);
          transform: translateY(-1px);
        }
        .channel-number {
          flex: none;
          min-width: 40px;
          height: 31px;
          display: flex;
          align-items: center;
          justify-content: center;
          background: #1e40af;
          color: #fff;
          font-weight: 800;
          font-size:var(--fs-body);
          border-radius: 9px;
        }
        .channel-name {
          color: #0b1c4d;
          font-weight: 600;
          font-size:var(--fs-sm);
          line-height: 1.3;
        }
        .category-section {
          margin-bottom: 16px;
        }
        @media (max-width: 480px) {
          .channel-item {
            padding: 9px 10px;
            gap: 8px;
          }
          .channel-name {
            font-size:var(--fs-sm);
          }
          .channel-number {
            min-width: 36px;
          }
        }

/* ───── 옛 <style> 4 (원래 1147행) ───── */
        .chx-faq {
          max-width: 900px;
          margin: 0 auto 34px;
        }
        .chx-faq h2 {
          font-size:var(--fs-subtitle);
          font-weight: 800;
          color: #1e293b;
          text-align: center;
          margin: 0 0 6px;
        }
        .chx-faq__sub {
          text-align: center;
          color: #64748b;
          font-size:var(--fs-sm);
          margin: 0 0 18px;
        }
        .chx-faq details {
          background: #fff;
          border: 1px solid #e2e8f0;
          border-radius: 13px;
          padding: 2px 18px;
          margin-bottom: 10px;
        }
        .chx-faq summary {
          cursor: pointer;
          font-weight: 700;
          color: #1e293b;
          font-size:var(--fs-body);
          padding: 14px 28px 14px 0;
          list-style: none;
          position: relative;
        }
        .chx-faq summary::-webkit-details-marker {
          display: none;
        }
        .chx-faq summary::after {
          content: "+";
          position: absolute;
          right: 0;
          top: 12px;
          font-size:var(--fs-num-md);
          color: #1e40af;
          font-weight: 700;
        }
        .chx-faq details[open] summary::after {
          content: "–";
        }
        .chx-faq details p {
          margin: 0 0 14px;
          color: #475569;
          font-size:var(--fs-sm);
          line-height: 1.7;
        }
        .chx-pop {
          max-width: 900px;
          margin: 0 auto 34px;
        }
        .chx-pop h2 {
          font-size:var(--fs-subtitle);
          font-weight: 800;
          color: #1e293b;
          text-align: center;
          margin: 0 0 6px;
        }
        .chx-pop__sub {
          text-align: center;
          color: #64748b;
          font-size:var(--fs-sm);
          margin: 0 0 18px;
        }
        .chx-pop__wrap {
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
          border: 1px solid #e2e8f0;
          border-radius: 13px;
          background: #fff;
        }
        .chx-pop table {
          width: 100%;
          border-collapse: collapse;
          font-size:var(--fs-sm);
          min-width: 420px;
        }
        .chx-pop th {
          background: #1e40af;
          color: #fff;
          font-weight: 800;
          padding: 10px 12px;
          text-align: center;
          white-space: nowrap;
        }
        .chx-pop td {
          padding: 10px 12px;
          text-align: center;
          border-top: 1px solid #eef2f7;
          color: #334155;
          white-space: nowrap;
        }
        .chx-pop td:first-child {
          font-weight: 700;
          color: #1e293b;
          text-align: left;
        }
        .chx-pop tr:nth-child(even) td {
          background: #f8fafc;
        }
        .chx-pop__note {
          font-size:var(--fs-sm);
          color: #64748b;
          line-height: 1.7;
          margin: 12px 4px 0;
        }
        @media (max-width: 600px) {
          .chx-pop__wrap {
            overflow-x: visible;
          }
          .chx-pop table {
            min-width: 0;
            table-layout: fixed;
            font-size:var(--fs-xs);
          }
          .chx-pop th,
          .chx-pop td {
            padding: 7px 5px;
            white-space: normal;
            word-break: keep-all;
            vertical-align: middle;
          }
          .chx-pop th:first-child,
          .chx-pop td:first-child {
            width: 40%;
          }
          .chx-pop th:nth-child(2),
          .chx-pop td:nth-child(2) {
            width: 26%;
          }
          .chx-pop td[colspan] {
            white-space: normal;
          }
        }

/* ───── 옛 <style> 5 (원래 2077행) — 통째로 걷음 ─────
   사장님 2026-08-18 「고정버튼 컬러 확인 상담신청」 · 「흰색으로 바꿔야지」

   이 블록은 하단 고정바(.mfix)를 처음부터 다시 정의하고 있었고,
   이 장 시트가 맨 마지막에 실리는 탓에 dc-chrome·cite 를 덮고 있었습니다.
     상담 버튼   #FFC400 옐로우   ← 지시서는 「흰 바탕 + 파란 테두리」
     z-index     90              ← 지시서는 900
   지시서(통합지시서 2-6)는 이미 dc-chrome.css 와 cite.css 에 적용돼 있었습니다.
   미착수가 아니라 이 장에서만 덮여 있었던 것입니다.

   걷어도 되는 근거 — dc-chrome.css 에 같은 것이 전부 있습니다
     .mfix 기본(position·z-index 900·gap·padding·배경·경계·그림자)   32~45행
     .mfix > a (flex·min-height 52·radius 12·글자 15/800)            47~65행
     색(상담 흰바탕+파란테두리 / 전화 파란바탕+흰글씨)                 68~83행
     @media(max-width:820px){ .mfix{display:flex} body{pb:88px} }     92~95행
   ───────────────────────────────────────────────────────────── */

/* ───── 옛 <style> 6 (원래 2136행) ───── */
/* ── 채널 칸 정렬 (2026-08-16) ───────────────────────────────────
   사장님: **"채널페이지 너저분한것 정리"** → 카드를 칩으로 바꿨더니
           **"이거 눈아프지 않니 정렬이라도"**

   칩이 들쭉날쭉하면 번호를 훑을 수가 없다. **번호를 세로로 한 줄 세운다.**
     · 바깥은 격자 — 칸 너비가 같아 줄이 맞는다
     · 칸 안도 격자 — 번호칸 34px 고정·오른쪽 정렬, 이름은 왼쪽
     · 숫자는 tabular-nums 로 자릿수가 흔들리지 않게

   ⚠️ HTML·JS 는 한 글자도 안 건드린다. 채널 데이터는 그대로 둔다.
   ⚠️ 이 페이지는 <style> 이 본문에도 5개 있다. **맨 끝에 와야 이긴다.** */
.channel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));
  gap:2px 8px}
.channel-item{display:grid;grid-template-columns:34px 1fr;
  align-items:center;gap:7px;width:auto;
  background:none;border:0;border-radius:6px;
  padding:5px 6px;font-size:var(--fs-sm);line-height:1.4;
  box-shadow:none;transform:none;transition:background .12s}
.channel-item:hover{background:#eef2fb;border:0;box-shadow:none;
  transform:none}
.channel-number{background:none;color:#1e40af;padding:0;
  margin:0;min-width:0;width:auto;height:auto;
  border-radius:0;font-size:var(--fs-sm);font-weight:800;
  text-align:right;font-variant-numeric:tabular-nums;
  display:block}
.channel-name{color:#15223f;font-weight:600;font-size:var(--fs-sm);
  flex:none;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
/* 분류 제목이 내용보다 무거웠다 — 진한 알약 46px vs 채널 한 줄 28px.
   얇은 밑줄 하나로 낮춘다. */
.category-title{background:none;color:#0b1c4d;
  padding:0 0 6px 6px;margin:0 0 6px;border-radius:0;
  border-bottom:2px solid #e3e9f6;font-size:var(--fs-sm);font-weight:900;
  letter-spacing:-.3px;display:block;width:auto;
  box-shadow:none}
.category-section{margin-bottom:16px}

/* ── 히어로를 B 계열(로고 크롭)로 (2026-08-16) ────────────────────
   본사 매뉴얼 6.4 그래픽 B — 로고 변주형·크롭.
   ⚠️ 매뉴얼의 크롭은 **흐린 무늬가 아니라 꽉 찬 도형**이다. 옅게 깔면 티가 안 난다.
      2026-08-16 에 opacity .16 으로 깔았더니 사장님: **"기존거랑 거의 같네"**
   ⚠️ 크롭을 쓰면 같은 면에 로고를 또 배치하지 않는다(내비는 별개 면).
   ⚠️ 글이 도형 위로 올라타면 안 읽힌다. 글은 왼쪽에 가둔다. */
.channel-title-section .main-header{position:relative;overflow:hidden}
.channel-title-section .main-header::after{
  /* 모바일 — 오른쪽 아래 구석. 네모로만 보이지 않게 B 의 굴곡이 살 만큼 내보낸다 */
  content:'';position:absolute;right:-24%;bottom:-26%;top:auto;
  width:72%;max-width:300px;aspect-ratio:1/1;
  background:url('img/B_logo_white.webp') no-repeat center/contain;
  opacity:1;pointer-events:none;
  /* 흰 로고를 브랜드 블루로 물들인다 — 남색 위에서 도형으로 읽힌다 */
  filter:brightness(0) saturate(100%) invert(21%) sepia(72%) saturate(2270%) hue-rotate(219deg) brightness(93%) contrast(94%)}
.channel-title-section .main-header > *{position:relative;z-index:1}
@media(min-width:760px){
  .channel-title-section .main-header > *{max-width:68%}
  .channel-title-section .main-header::after{right:-8%;top:-28%;bottom:-28%;
    width:40%;max-width:420px;aspect-ratio:auto;background-position:left center}
}
.bhero__cite{font-size:var(--fs-sm);line-height:1.65}

/* ═══ 상품 탭 — 3그룹 · 가로 슬라이드 알약 ═════════════════════════
   사장님 2026-08-18 「상품별 전체 채널 버튼 이런식으로 구분했어 버튼 정렬」
   시안 「채널페이지-점검」 §4 — 3열 고정이라 상품이 늘면 다음 줄로 내려간다.
        index·상품 페이지에서 쓴 가로 슬라이드 pill 로 바꾼다.

   ⚠️ 위쪽 옛 규칙(.tab · .product-tabs .tab)이 를 쓰고 있어
      여기도 로 덮습니다. 옛 규칙을 걷는 것은 다음 걸음입니다.
   ⚠️ class="tab" 과 data-product 를 그대로 뒀습니다. 탭을 읽는 JS 가
      document.querySelectorAll(".tab") 이라 건드리면 필터가 죽습니다.
   시안값 — 알약 radius 22px · 최소 높이 44px · padding 0 15px · 글자 14px */
.chx-prod{ display:flex; flex-direction:column; gap:14px; margin-bottom:18px; }
.chx-prod__gh{
  font-size:var(--fs-xs); font-weight:800; letter-spacing:-.01em;
  color:#5b6b8f; margin-bottom:7px;
}
.chx-prod__row{
  display:flex; gap:7px; overflow-x:auto; padding-bottom:2px;
  scrollbar-width:none; -ms-overflow-style:none;
}
.chx-prod__row::-webkit-scrollbar{ display:none; }
.chx-prod .tab{
  flex:0 0 auto;
  display:inline-flex; align-items:center; gap:6px;
  min-height:44px; padding:0 15px;
  background:#fff; border:1.5px solid #d8e0f0;
  border-radius:22px; box-shadow:none; transform:none;
  font-family:inherit; font-size:var(--fs-sm); font-weight:600;
  color:#2B3D63; cursor:pointer; white-space:nowrap;
}
.chx-prod .tab:hover:not(.active){
  background:#f3f5fb; border-color:#1E40AF; transform:none;
}
.chx-prod .tab.active{
  background:#1E40AF; border-color:#1E40AF;
  color:#fff; transform:none; box-shadow:none;
}
.chx-prod__b{
  flex:0 0 auto; padding:3px 8px; border-radius:5px;
  background:#FFC400; color:#0b1c4d;
  font-size:var(--fs-micro); font-weight:700; line-height:1.3;
}
.chx-prod .tab.active .chx-prod__b{ background:#FFC400; color:#0b1c4d; }

/* ═══ 「내가 보는 채널」 칩 — 모바일 2열 그리드 ═══════════════════
   사장님 2026-08-18 「모바일에서 채널 내용 두줄 그리드로」
   flex-wrap 이라 줄마다 4개·2개·3개로 갈리고 칩 폭도 53~118px 로 제각각이었습니다.
   (2026-08-16 에도 같은 지적 — 「이거 눈아프지 않니 정렬이라도」)
   ⚠️ 아래 채널 목록(.channel-list)은 이미 2열입니다. 여기만 어긋나 있었습니다.
   ⚠️ 데스크탑은 그대로 둡니다. 폭이 넓어 한 줄에 잘 들어갑니다. */
@media (max-width:768px){
  .chx-chips{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    align-items:stretch;
  }
  .chx-chips > span{
    display:flex; align-items:center; justify-content:center;
    min-height:34px; padding:0 8px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
}

/* ═══ 카드 제목 아이콘 — 우리가 만든 SVG ═══════════════════════════
   사장님 2026-08-18 「지상파 종합 옆에 tv이모지 다른거 없어 내가 촌스럽다고」
                    「그것만 아이콘 쓰기도 그렇고 이모지 니가 만들어서 쓰면 좋잖아」

   📺⚾⛳ 이모지를 걷고 인라인 SVG 로 직접 그렸습니다.
     지상파·종합  안테나 달린 TV
     스포츠·야구  야구공 (솔기는 브랜드 옐로우)
     골프·취미    깃발 + 그린 (공은 옐로우)
   ⚠️ 파일이 아니라 인라인입니다 — 로딩 실패가 없고 색이 글자색을 따라갑니다.
      icons96 에는 스포츠·골프에 맞는 그림이 없어 TV 만 바꾸면 섞여서 더 어색합니다. */
.chx-card__h{ display:flex; align-items:center; gap:7px; }
.chx-ico{
  flex:0 0 auto; width:19px; height:19px; display:block;
  fill:#1E40AF;
}
/* 사장님 2026-08-18 「골프도 이모지인데 다른건 괜찮은데 tv만」
   → 야구·골프는 이모지 그대로 두고 TV 만 우리 SVG 로 갑니다.
   이모지도 아이콘과 같은 자리·크기로 맞춰 제목 줄이 흔들리지 않게 합니다. */
.chx-emo{
  flex:0 0 auto; width:19px; height:19px;
  display:flex; align-items:center; justify-content:center;
  font-size:var(--fs-body); line-height:1;
}
