/* Channel Tab V1: page-scoped Telegram list; preserve the main site's existing floating Dock. */
#globalBottomNav.bottom-nav { grid-template-columns:repeat(5,minmax(0,1fr)); }
#globalBottomNav .nav-item { min-width:0; }
#globalBottomNav .nav-label { white-space:nowrap; }
/* Match the original main-site active red; Motion V1 owns all transition timing. */
#globalBottomNav .nav-item.active,
#globalBottomNav .nav-item.active .nav-icon,
#globalBottomNav .nav-item.active .nav-label { color:#d91e31!important; }
html.app-booting.channels-direct-route #page-draw { display:none!important;visibility:hidden!important; }
html.channels-direct-route { background:#fff; }
body.channels-page-open { max-width:none!important;padding-bottom:0!important;background:#fff!important; }
#page-channels.c8546-channels-page { width:100%;max-width:680px!important;margin:0 auto;min-height:100dvh;background:#fff;color:#20252a;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important; }
#page-channels .channels-search { display:flex;align-items:center;gap:8px;height:38px;padding:0 11px;border-radius:11px;background:#f0f2f5;color:#8b929a; }
#page-channels .channels-search svg { width:18px;height:18px;flex:none; }
#page-channels .channels-search input { width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#20252a;font:inherit;font-size:15px; }
#page-channels .channels-search:focus-within { box-shadow:0 0 0 2px #1685e62b; }
#page-channels .channels-search input::placeholder { color:#8b929a; }
#page-channels .channels-row { position:relative;display:flex;align-items:center;gap:12px;height:76px;padding:10px 16px;text-decoration:none;color:inherit;background:#fff;-webkit-tap-highlight-color:transparent; }
#page-channels .channels-row::after { content:"";position:absolute;left:82px;right:16px;bottom:0;height:1px;background:#edf0f3;transform:scaleY(.5); }
#page-channels .channels-row:active { background:#f1f5f8; }
#page-channels .channels-row:focus-visible { outline:2px solid #1685e6;outline-offset:-3px; }
#page-channels .channels-avatar { display:grid;place-items:center;flex:none;width:52px;height:52px;overflow:hidden;position:relative;border-radius:50%;color:#fff;font-size:20px;font-weight:600; }
#page-channels .channels-avatar img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
#page-channels .channels-copy { display:flex;flex-direction:column;gap:7px;min-width:0;flex:1; }
#page-channels .channels-top,#page-channels .channels-bottom { display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0; }
#page-channels .channels-title { overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15.5px;font-weight:650;line-height:20px;letter-spacing:-.2px; }
#page-channels .channels-time { flex:none;color:#9aa1aa;font-size:11.5px;line-height:17px;white-space:nowrap; }
#page-channels .channels-preview { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7a828c;font-size:13.5px;line-height:19px; }
#page-channels .channels-indicators { flex:none;display:flex;align-items:center;gap:7px; }
#page-channels .channels-pin { display:block;width:14px;height:14px;color:#a3abb5;transform:rotate(35deg); }
#page-channels .channels-unread { display:block;width:9px;height:9px;flex:none;background:#1685e6;border-radius:50%; }
#page-channels .has-unread .channels-time { color:#1685e6; }
#page-channels .channels-state { padding:60px 22px 12px;text-align:center;font-size:14px;line-height:1.7;color:#929aa4; }
#page-channels .channels-state[hidden],#page-channels .channels-retry[hidden] { display:none; }
#page-channels .channels-retry { display:block;margin:8px auto 30px;padding:9px 20px;border:0;border-radius:10px;background:#edf6ff;color:#1685e6;font-size:14px;cursor:pointer; }
@media (hover:hover) { #page-channels .channels-row:hover { background:#f7f9fb; } }
@media (max-width:360px) { #globalBottomNav .nav-label { font-size:10.5px!important; } #page-channels .channels-row { gap:10px;padding-left:13px;padding-right:13px; } }
