/* Compact XUI-like channel rows, search and pagination */
.channel-browser-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:12px;margin:14px 0 9px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}
.channel-search-control{display:flex!important;align-items:center;gap:9px;min-width:0;color:var(--muted)!important;font-size:18px!important}
.channel-search-control input{width:100%;min-width:0;margin:0!important;padding:10px 11px!important;background:#0e1117!important;border:1px solid #303642!important;border-radius:5px!important;color:var(--text)!important;font-size:11px!important}
.channel-page-size-control{display:flex!important;align-items:center;gap:8px;white-space:nowrap;color:var(--muted)!important;font-size:10px!important}
.channel-page-size-control select{width:auto;margin:0!important;padding:8px 9px!important;background:#0e1117!important;color:var(--text)!important;border:1px solid #303642!important;border-radius:5px!important;font-size:10px!important}
#channel-result-count{font-size:10px;color:var(--muted);white-space:nowrap}
.channel-list.channel-list-rows{display:grid;grid-template-columns:1fr;gap:7px}
.channel-card.channel-list-row{padding:0;overflow:hidden;border-radius:5px;background:#15181e}
.channel-list-row .channel-row-main{display:grid;grid-template-columns:minmax(220px,1.5fr) auto minmax(175px,1fr) minmax(125px,auto) auto;align-items:center;gap:12px;min-height:62px;margin:0;padding:9px 12px;border:0;background:#171a20}
.channel-row-identity{display:flex;align-items:center;gap:10px;min-width:0}
.channel-row-logo{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:4px;background:#242b35;color:#c3f567;font-size:10px;font-weight:750;letter-spacing:.2px}
.channel-row-title-block{min-width:0}
.channel-row-title-block h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.4}
.channel-row-id{display:block;margin-top:3px;font-size:8px;letter-spacing:.4px;color:#758092}
.channel-row-kind{margin:0;white-space:nowrap;padding:4px 7px;font-size:9px}
.channel-row-spec{font-size:9px;color:var(--muted);white-space:nowrap}
.channel-row-state{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:3px 8px}
.channel-row-state .badge{grid-column:1/-1;justify-self:start;padding:4px 7px;font-size:9px}
.channel-row-state .badge-online{background:#263d28;color:#aef27e}
.channel-uptime-label{font-size:8px;color:#788293}
.channel-uptime-value{font-size:9px;color:#cbd2dc;font-variant-numeric:tabular-nums;white-space:nowrap}
.channel-quick-control{width:32px;height:32px;padding:0!important;border-color:#34402f!important;color:var(--accent)!important;font-size:15px!important}
.channel-row-details{border-top:1px solid #252a33}
.channel-row-details>summary{display:flex;align-items:center;gap:7px;padding:7px 13px;color:#8c95a3;font-size:9px;cursor:pointer;list-style:none}
.channel-row-details>summary::-webkit-details-marker{display:none}
.channel-row-details>summary:after{content:'⌄';margin-left:auto;font-size:13px;color:#788293}
.channel-row-details[open]>summary:after{content:'⌃'}
.channel-row-details-body{padding:8px 14px 14px;border-top:1px solid #222731}
.channel-row-details-body>.channel-actions{margin-top:10px!important}
.channel-row-details-body>p:first-child{margin-top:4px}
.channel-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:14px 0 0}
.channel-page-label{min-width:230px;text-align:center;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}
.channel-pagination .secondary{padding:8px 12px;font-size:10px}
@media(max-width:950px){.channel-list-row .channel-row-main{grid-template-columns:minmax(180px,1fr) auto auto;gap:9px}.channel-row-kind{display:none}.channel-row-spec{display:none}}
@media(max-width:650px){.channel-browser-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px}.channel-search-control{grid-column:1/-1}.channel-page-size-control{font-size:9px!important}.channel-row-logo{flex-basis:32px;height:32px}.channel-list-row .channel-row-main{grid-template-columns:minmax(0,1fr) auto auto;padding:8px}.channel-row-title-block h3{font-size:10px}.channel-row-state{gap:2px 5px}.channel-row-state .badge{font-size:8px}.channel-uptime-value{font-size:8px}.channel-page-label{min-width:0;font-size:9px}.channel-pagination{gap:7px}.channel-pagination .secondary{padding:8px;font-size:9px}}
