:root { --blue:#1475ee; --ink:#121a29; --nav:#071421; --deep-gradient:linear-gradient(110deg,#020a12 0%,#071827 48%,#193d79 100%); --line:#dfe7f1; }
.home-body { min-height:100vh; display:flex; flex-direction:column; background:#fff; color:var(--ink); }
.home-header { background:var(--deep-gradient); border:0; box-shadow:0 2px 12px #02091466; color:#fff; }
.home-header .header-row { width:calc(100% - 64px); min-height:78px; max-width:none; margin:0 32px; }
.home-header .header-actions { margin-left:auto; }
.home-header .header-actions a,.home-header .header-actions button { color:#fff; }
.home-header .header-actions button:hover,.home-header .header-actions a:hover { background:#ffffff18; }
.home-brand { display:flex; align-items:center; gap:12px; color:#fff; font-size:2rem; font-weight:950; letter-spacing:-.08em; text-decoration:none; text-shadow:0 1px 1px #00387866; }
.home-brand img { width:46px; height:46px; filter:drop-shadow(0 2px 3px #00387855); }
.channel-main { flex:1; width:min(1180px,calc(100% - 48px)); padding:23px 0 48px; }
.channel-intro { display:block; padding:0 0 16px; border-bottom:2px solid #102d57; }
.section-label { margin:0; color:#1475ee; font-size:.78rem; font-weight:850; letter-spacing:.12em; }
.channel-intro h1 { margin:4px 0 0; color:#101827; font-size:clamp(1.7rem,2.5vw,2.15rem); letter-spacing:-.06em; }
.channel-directory { padding-top:18px; }
.channel-directory-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.channel-column { min-width:0; min-height:292px; padding:16px 12px 20px; border-right:1px solid var(--line); }
.channel-column:last-child { border-right:0; }
.channel-column h2 { margin:0 0 13px; padding-bottom:9px; border-bottom:2px solid #1d5eab; color:#164c91; font-size:1rem; letter-spacing:-.06em; }
.channel-column ul { display:grid; gap:2px; margin:0; padding:0; list-style:none; }
.channel-column li { min-width:0; }
.channel-column a { display:flex; align-items:center; gap:6px; min-height:30px; padding:3px 2px; border-radius:5px; color:#26364d; font-size:.92rem; font-weight:750; letter-spacing:-.04em; line-height:1.25; text-decoration:none; }
.channel-column a:hover,.channel-column a:focus-visible { background:#eaf3ff; color:#0e65d4; outline:0; }
.channel-column a span { flex:0 0 auto; color:#1677ef; font-size:.56rem; }
.channel-empty { margin:4px 0 0; color:#9aa7b8; font-size:.82rem; }
.empty-state { grid-column:1/-1; margin:0; padding:32px; color:#667085; text-align:center; }
.home-footer { margin-top:auto; background:var(--deep-gradient); color:#d8e4f5; }
.home-footer a { color:#fff; }
.home-footer nav { margin:8px 0; }
.home-footer strong { color:#fff; font-size:1.15rem; }
@media (max-width:1120px) {
  .channel-directory-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .channel-column { min-height:0; border-bottom:1px solid var(--line); }
  .channel-column:nth-child(4n) { border-right:0; }
}
@media (max-width:700px) {
  .home-header .header-row { width:calc(100% - 28px); min-height:64px; margin:0 14px; }
  .home-brand { gap:9px; font-size:1.58rem; }
  .home-brand img { width:38px; height:38px; }
  .channel-main { width:min(100% - 24px,600px); padding:18px 0 31px; }
  .channel-intro h1 { margin-top:4px; font-size:1.65rem; }
  .channel-directory { padding-top:13px; }
  .channel-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); border-radius:8px; }
  .channel-column { min-height:0; padding:14px 11px 16px; }
  .channel-column:nth-child(2n) { border-right:0; }
  .channel-column h2 { margin-bottom:9px; padding-bottom:7px; font-size:1rem; }
  .channel-column a { min-height:28px; font-size:.86rem; }
}
