/* 채널 1~20(features/channel, 11-04 PLAN 3) — 고품질UI: 알약 28 · 흰 선 막대 아이콘 · 작은 팝업 = 어두운 둥근 판(windows-css 18) · 누름 .92 → 1.06 */

/* 알약 "채널 3": 높이 28 · 어두운 판 · 금빛 테. 채팅 창 머리 띠 오른쪽 위 = 누르면 목록(11-04 J) · HUD 알약은 11-05 제거 */
#ui .ch-pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; box-sizing: border-box; padding: 0 9px 0 8px; border-radius: 14px;
  white-space: nowrap; color: #f2f0e7; background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .5)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38); }
#ui .ch-pill[hidden] { display: none; }
#ui .ch-pill .ch-n { font-size: 12px; font-weight: 800; text-shadow: 0 1px 2px #000; }
#ui .ch-pill .ch-go { font-style: normal; font-size: 12px; font-weight: 900; line-height: 1; color: #b9bcb4; margin-top: -1px; }
#ui .ch-pill .ch-go::before { content: "›"; }
#ui .ch-bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }   /* 혼잡도 막대 글리프(흰 선) */
#ui .ch-bars i { display: block; width: 2.5px; border-radius: 1px; background: #e8c979; }
#ui .ch-bars i:nth-child(1) { height: 5px; } #ui .ch-bars i:nth-child(2) { height: 8px; } #ui .ch-bars i:nth-child(3) { height: 11px; }
#ui .ch-pill.in .ch-n { animation: pc-where-in .32s ease-out both; }
#ui .ch-pill.ch-chat { flex: none; margin: 0 0 0 auto; padding: 0 11px 0 10px; border: 0; font: inherit; cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }
#ui .ch-pill.ch-chat:active { transform: scale(.92); transition-duration: .06s; background: linear-gradient(90deg, rgba(40, 44, 46, .82), rgba(40, 44, 46, .6)); }
#ui .ch-pill.ch-chat.press { animation: pc-press .22s ease-out both; }

/* 채널 목록: 2열 칸(채널 · 막대 · 혼잡도) — 지금 채널 = 금 테, 가득 · 다른 서버 = 흐림 */
#ui .popup.ch-pop { width: 380px; }
#ui .ch-pop .ch-hint { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; opacity: .72; }
#ui .ch-pop .ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 300px; overflow-y: auto; }
#ui .ch-pop .ch-wait { grid-column: 1 / -1; margin: 18px 0; text-align: center; font-size: 12px; opacity: .6; }
#ui .ch-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; text-align: left; color: inherit;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: pointer; }
#ui .dim.fx-intro .ch-row { animation: ch-in .26s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 18ms); }
#ui .ch-row b { font-size: 12.5px; font-weight: 800; }
#ui .ch-row em { font-size: 10.5px; font-style: normal; font-weight: 900; }
#ui .ch-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .45); overflow: hidden; }
#ui .ch-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: currentColor; transition: width .4s ease-out; }
#ui .ch-row.calm .ch-bar, #ui .ch-row.calm em { color: #7fd99a; }
#ui .ch-row.normal .ch-bar, #ui .ch-row.normal em { color: #e8d36f; }
#ui .ch-row.busy .ch-bar, #ui .ch-row.busy em { color: #f0a050; }
#ui .ch-row.full .ch-bar, #ui .ch-row.full em { color: #ec6a5a; }
#ui .ch-row.far em { color: #9a9a92; }
#ui .ch-row.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 8px rgba(232, 201, 121, .55); }
#ui .ch-row.on em { color: #e8c979; }
#ui .ch-row.off { opacity: .45; }
#ui .ch-row:active { transform: scale(.97); }
#ui .ch-row.press { animation: pc-press .22s ease-out both; }
#ui .ch-row.no { animation: pq-no .3s ease-in-out; }
@keyframes ch-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
