/* YoutubeSubHub chrome bundle — generated 2026-11-04T22:35:37+00:00 */
.site-chrome-wrap { max-width: 1180px; margin: 0 auto; padding: 0; }
.net-ad-rail { display: none; }
html, body { overflow-x: visible; }
@media (min-width: 1280px) {
  .site-chrome-wrap,
  body.ythub-site .page,
  body.ythub-site .site-chrome-wrap {
    max-width: min(960px, calc(100vw - 320px));
  }
  .net-ad-rail {
    display: block;
    position: fixed;
    top: 90px;
    width: 160px;
    min-height: 600px;
    z-index: 40;
  }
  .net-ad-rail--left { left: max(0px, calc(50% - 640px)); }
  .net-ad-rail--right { right: max(0px, calc(50% - 640px)); }
}
.site-chrome-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}
.site-chrome-header__primary {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}
.site-chrome-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    color: #0f0f0f;
    white-space: nowrap;
}
.site-chrome-brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    background: #ffffff;
}
.site-chrome-brand__name {
    font-weight: 700;
    color: #0f0f0f;
}
.site-chrome-search {
    display: flex;
    align-items: stretch;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}
.site-chrome-search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: #fff;
    font: inherit;
    color: #0f0f0f;
}
.site-chrome-search input:focus {
    outline: none;
    border-color: #065fd4;
    box-shadow: inset 0 0 0 1px #065fd4;
}
.site-chrome-search__btn {
    width: 56px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 0 999px 999px 0;
    background: #f8f8f8;
    color: #0f0f0f;
    cursor: pointer;
}
.site-chrome-search__btn:hover { background: #f2f2f2; }
.site-chrome-header nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.site-chrome-header nav a {
    text-decoration: none;
    color: #0f0f0f;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.site-chrome-header nav a:hover { background: #f2f2f2; }
.site-chrome-header nav a:focus-visible { outline: 2px solid #065fd4; outline-offset: 2px; }
.site-chrome-main { margin: 0 auto; max-width: 1180px; padding: 12px clamp(12px, 2.5vw, 20px) 26px; }
.site-chrome-footer {
    margin: 24px auto 0;
    max-width: 1180px;
    padding: 18px 16px 22px;
    border-radius: 12px;
    text-align: center;
    color: #606060;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.site-chrome-footer__tagline {
    font-size: 0.82rem;
    margin: 0 auto 12px;
    line-height: 1.5;
    max-width: 48ch;
}
.site-chrome-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin: 14px 0 12px;
}
.site-chrome-footer nav a {
    color: #606060;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}
.site-chrome-footer nav a:hover { color: #0f0f0f; text-decoration: underline; text-underline-offset: 3px; }
.site-chrome-footer__bglinks-wrap {
    width: 100%;
    max-width: 100%;
    margin: 12px auto 0;
}
.site-chrome-footer__bglinks-intro {
    font-size: 0.78rem;
    color: #606060;
    margin: 0 auto 8px;
    max-width: 58ch;
    line-height: 1.45;
    text-align: center;
}
.site-chrome-footer__bglinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    margin: 12px 0 14px;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 12px;
    font-size: 0.86rem;
}
.site-chrome-footer__bglinks a {
    color: #065fd4;
    font-weight: 500;
    text-decoration: none;
}
.site-chrome-footer__bglinks a:hover { text-decoration: underline; }
.site-chrome-footer__sep { color: #ccc; font-weight: 700; user-select: none; }
.site-chrome-footer__copyright {
    margin: 16px 0 0;
    font-size: 0.84rem;
    line-height: 1.6;
}
.site-chrome-footer__copyright a {
    color: #065fd4;
    font-weight: 600;
    text-decoration: none;
}
.site-chrome-footer__copyright a:hover { text-decoration: underline; text-underline-offset: 3px; }
:root {
  --ythub-primary: #6366f1;
  --ythub-primary-dark: #4f46e5;
  --ythub-accent: #a855f7;
  --ythub-gold: #eab308;
  --ythub-gold-dark: #ca8a04;
  --ythub-surface: #ffffff;
  --ythub-ink: #0f172a;
  --ythub-muted: #64748b;
  --ythub-radius-xl: 20px;
  --ythub-radius: 14px;
  --ythub-shadow-header: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255,255,255,0.65) inset;
  --ythub-shadow-card: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
}
.site-chrome-wrap { position: relative; }
.site-chrome-header {
  border-radius: var(--ythub-radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.94) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--ythub-shadow-header);
  margin-bottom: 20px;
  padding: 16px 20px 18px;
}
.site-chrome-brand {
  font-size: clamp(0.95rem, 2.6vw, 1.12rem);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.site-chrome-brand__name {
  background: linear-gradient(115deg, var(--ythub-primary-dark) 0%, var(--ythub-primary) 45%, var(--ythub-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-chrome-header nav a {
  border-radius: 11px;
  font-size: 0.78rem;
  padding: 9px 12px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(255,255,255,0.96);
  color: var(--ythub-primary-dark);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.site-chrome-header nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.48);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.14);
}
.site-chrome-footer {
  border-radius: var(--ythub-radius-xl);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.58) 0%, rgba(30, 27, 75, 0.52) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--ythub-shadow-card);
  padding: 26px 18px 30px;
}
.static-sheet--pro {
  border-radius: var(--ythub-radius-xl);
  box-shadow: var(--ythub-shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.07);
}
.home-hero {
  margin-bottom: clamp(18px, 3vw, 26px);
  padding: clamp(22px, 4vw, 32px) clamp(18px, 3vw, 28px);
  border-radius: var(--ythub-radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(238,242,255,0.95) 55%, rgba(250,245,255,0.92) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: var(--ythub-shadow-card);
}
.home-hero h1 {
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 800;
  color: var(--ythub-ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 12px;
}
.home-hero p { color: var(--ythub-muted); line-height: 1.75; margin: 0 0 14px; font-size: 0.95rem; max-width: 65ch; }
.home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.home-hero__tags span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--ythub-primary-dark);
  border: 1px solid rgba(99, 102, 241, 0.18);
}
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.home-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-hero__cta a.primary {
  background: linear-gradient(135deg, var(--ythub-primary) 0%, var(--ythub-accent) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}
.home-hero__cta a.primary:hover { transform: translateY(-2px); }
.home-hero__cta a.ghost {
  background: rgba(255,255,255,0.85);
  color: var(--ythub-primary-dark);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.home-hero__cta a.ghost:hover { border-color: rgba(99, 102, 241, 0.45); }

/* Base typography/canvas is owned by main.css and sb_shell_css. */
body.ythub-site.has-page-bg {
  background-image: var(--page-bg-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.ythub-site.has-page-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.88);
  z-index: 0;
  pointer-events: none;
}
body.ythub-site .page {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
body.ythub-site .site-chrome-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1280px) {
  body.ythub-site .page,
  body.ythub-site .site-chrome-wrap {
    max-width: min(960px, calc(100vw - 320px));
  }
}
body.ythub-site .page.site-chrome-wrap,
body.ythub-site .page-wrap.site-chrome-wrap {
  padding-left: 0;
  padding-right: 0;
}
body.ythub-site .site-chrome-header {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 16px clamp(14px, 3vw, 20px) 18px !important;
  box-sizing: border-box;
  width: 100%;
}
body.ythub-site .site-chrome-main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px clamp(14px, 3vw, 20px) 26px;
}
body.ythub-site .site-chrome-brand__name {
  background: linear-gradient(115deg, #15803d 0%, #16a34a 45%, #ca8a04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.ythub-site .site-chrome-header nav a {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}
body.ythub-site .site-chrome-header nav a:hover {
  border-color: #fcd34d;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.2);
}
body.ythub-site .site-chrome-footer {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 22px clamp(14px, 3vw, 20px) 26px !important;
  box-sizing: border-box;
  width: 100%;
}
body.ythub-site .site-chrome-footer__tagline { color: #64748b; opacity: 1; }
body.ythub-site .site-chrome-footer__tagline strong { color: #0f172a; }
body.ythub-site .site-chrome-footer nav a {
  color: #334155 !important;
  opacity: 1 !important;
}
body.ythub-site .site-chrome-footer nav a:hover {
  color: #15803d !important;
  text-decoration: none !important;
}
body.ythub-site .site-chrome-footer nav {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  gap: 8px 12px;
}
body.ythub-site .site-chrome-footer__bglinks-intro {
  color: #64748b !important;
}
body.ythub-site .site-chrome-footer__bglinks {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
body.ythub-site .site-chrome-footer__bglinks a { color: #2563eb !important; }
body.ythub-site .site-chrome-footer__bglinks a:hover { color: #1d4ed8 !important; }
body.ythub-site .site-chrome-footer__sep { color: #cbd5e1 !important; }
body.ythub-site .site-chrome-footer__copyright { color: #64748b !important; opacity: 1 !important; }
body.ythub-site .site-chrome-footer__copyright a { color: #ca8a04 !important; }
body.ythub-site .site-chrome-footer .ythub-social--light {
  border-top: 1px solid #e2e8f0;
  border-bottom: none;
  margin: 0 auto 10px;
  padding: 10px 8px 2px;
  max-width: 100%;
}
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__head,
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__head-text { color: #64748b; }
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__at { color: #475569; font-weight: 700; }
body.ythub-site .home-hero {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  border-top: 4px solid #22c55e;
}
body.ythub-site .home-hero h1 { color: #0f172a; }
body.ythub-site .home-hero__tags span {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
body.ythub-site .home-hero__cta a.primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.32);
  color: #fff;
}
body.ythub-site .home-hero__cta a.ghost {
  background: #fff;
  color: #15803d;
  border: 2px solid #86efac;
}
body.ythub-site .site-chrome-main article.panel.static-sheet {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 3vw, 28px) clamp(24px, 4vw, 32px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  line-height: 1.85;
}
body.ythub-site .site-chrome-main article.panel.static-sheet.static-sheet--pro {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border-top: 4px solid #22c55e;
}
body.ythub-site .site-chrome-main article.panel.static-sheet h1 {
  color: #15803d;
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-bottom: 12px;
  border-bottom: 3px solid #fbbf24;
}
body.ythub-site .site-chrome-main article.panel.static-sheet h2 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  color: #334155;
  border-bottom: 2px solid #d1fae5;
  padding-bottom: 6px;
}
body.ythub-site .site-chrome-main article.panel.static-sheet p:not(.handle-line) {
  margin: 0.85rem 0;
  color: #475569;
}
body.ythub-site .site-chrome-main article.panel.static-sheet a {
  color: #15803d;
  font-weight: 600;
  text-decoration: none;
}
body.ythub-site .site-chrome-main article.panel.static-sheet a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.ythub-site .site-chrome-main article.panel.static-sheet ul {
  padding-right: 1.25rem;
  color: #475569;
}
body.ythub-site .site-chrome-main article.panel.static-sheet li {
  margin-bottom: 0.45rem;
}
body.ythub-site .site-chrome-main article.panel.static-sheet.ythub-static--center {
  text-align: center;
}
body.ythub-site .site-chrome-main article.panel.static-sheet.ythub-static--center h1 {
  border-bottom: none;
  padding-bottom: 0;
}
body.ythub-site .site-chrome-main article.panel.static-sheet.ythub-narrow-640 {
  max-width: 640px;
}
body.ythub-site .site-chrome-main article.panel.static-sheet.ythub-narrow-520 {
  max-width: 520px;
}
body.ythub-site .site-chrome-main .panel.ythub-register-panel {
  max-width: min(560px, 100%);
  margin: 0 auto 22px;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}
body.ythub-site .site-chrome-main .panel.ythub-register-panel .card {
  max-width: 100%;
  margin: 0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.site-chrome-yt-promo {
  margin: 0 0 18px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #fecaca;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.08);
}
.site-chrome-yt-promo__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 10px;
}
.site-chrome-yt-promo__label {
  font-weight: 800;
  font-size: 0.82rem;
  color: #991b1b;
  letter-spacing: 0.02em;
}
.site-chrome-yt-promo__hint {
  font-size: 0.72rem;
  color: #64748b;
  max-width: 42ch;
  line-height: 1.45;
}
.site-chrome-yt-promo__row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.site-chrome-yt-promo__cell {
  position: relative;
  flex: 0 0 min(300px, 88vw);
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}
.site-chrome-yt-promo__cell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Footer “about” strip + YouTube-style shell */
.site-footer-about {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
  border: 1px solid #fecaca;
  border-radius: 14px;
  text-align: center;
}
.site-footer-about__text {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.55;
  max-width: 68ch;
  margin-inline: auto;
}
.site-footer-about code {
  background: #fff;
  padding: 0.12em 0.38em;
  border-radius: 5px;
  font-size: 0.82em;
  border: 1px solid #e2e8f0;
}
.site-footer-about__more {
  font-weight: 800;
  color: #b91c1c;
  text-decoration: none;
  margin-inline-start: 0.35em;
  white-space: nowrap;
}
.site-footer-about__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-tips-lead { font-size: 0.95rem; color: #475569; line-height: 1.65; margin: 0 0 1rem; max-width: 62ch; }
.site-tips-cta { margin-top: 1.5rem; }
.site-tips-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #41a474 0%, #2f8f5c 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(65, 164, 116, 0.28);
}
.site-tips-cta__btn:hover { filter: brightness(1.05); color: #fff; }
/* Static page bento — YouTube-like grays */
body.ythub-site article.static-sheet--pro > h2 {
  margin-top: 1.15rem;
  margin-bottom: 0;
  padding: 12px 14px;
  font-size: 0.98rem;
  background: #f1f1f1;
  color: #0f0f0f;
  border: 1px solid #dcdcde;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}
body.ythub-site article.static-sheet--pro > h1 + h2 {
  margin-top: 0.85rem;
}
body.ythub-site article.static-sheet--pro > h2 + p,
body.ythub-site article.static-sheet--pro > h2 + ul,
body.ythub-site article.static-sheet--pro > h2 + div {
  margin-top: 0;
  margin-bottom: 0.35rem;
  padding: 14px 16px 16px;
  background: #ffffff;
  color: #0f0f0f;
  border: 1px solid #dcdcde;
  border-top: 1px solid #dcdcde;
  border-radius: 0 0 10px 10px;
  box-shadow: none;
}
body.ythub-site article.static-sheet--pro > h2 + ul {
  list-style: none;
  padding-inline: 14px 16px;
}
body.ythub-site article.static-sheet--pro > h2 + ul > li {
  position: relative;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid #dcdcde;
  font-size: 0.92rem;
  line-height: 1.55;
}
body.ythub-site article.static-sheet--pro > h2 + ul > li:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}
body.ythub-site article.static-sheet--pro > h1 + p {
  margin-top: 0.65rem;
  padding: 14px 16px;
  background: #ffffff;
  color: #0f0f0f;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  box-shadow: none;
}
/* === YouTube-inspired shell === */
body.ythub-site {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  line-height: 1.5 !important;
  -webkit-font-smoothing: antialiased !important;
}
body.ythub-site.ythub-home {
  background: #ffffff !important;
}
body.ythub-site a { color: #2271b1 !important; }
body.ythub-site a:hover { color: #135e96 !important; }
body.ythub-site .page,
body.ythub-site .site-chrome-wrap {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 1280px) {
  body.ythub-site .page,
  body.ythub-site .site-chrome-wrap {
    max-width: min(960px, calc(100vw - 320px)) !important;
  }
}
body.ythub-site .site-chrome-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.ythub-site .site-chrome-header {
  background: rgba(255, 255, 255, 0.88) !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  backdrop-filter: saturate(160%) blur(12px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px) !important;
  color: #0f172a !important;
  margin-bottom: 0 !important;
}
body.ythub-site .site-chrome-header__primary {
  padding: 10px 16px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 14px !important;
}
body.ythub-site .site-chrome-search {
  display: flex !important;
  align-items: stretch !important;
  max-width: 640px !important;
  width: 100% !important;
  margin: 0 auto !important;
}
body.ythub-site .site-chrome-search input {
  flex: 1 !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #ccc !important;
  border-right: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: #fff !important;
  font: inherit !important;
  color: #0f0f0f !important;
}
body.ythub-site .site-chrome-search input::placeholder {
  color: #606060 !important;
  opacity: 1 !important;
}
body.ythub-site .site-chrome-search input:focus {
  outline: none !important;
  border-color: #065fd4 !important;
  box-shadow: inset 0 0 0 1px #065fd4 !important;
}
/* Prevent Chrome autofill yellow background */
body.ythub-site .site-chrome-search input:-webkit-autofill,
body.ythub-site .site-chrome-search input:-webkit-autofill:hover,
body.ythub-site .site-chrome-search input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f0f0f !important;
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s;
}
body.ythub-site .site-chrome-search__btn {
  width: 56px !important;
  height: 40px !important;
  border: 1px solid #ccc !important;
  border-radius: 0 999px 999px 0 !important;
  background: #f8f8f8 !important;
  color: #0f0f0f !important;
  cursor: pointer !important;
}
body.ythub-site .site-chrome-search__btn:hover { background: #f2f2f2 !important; }
body.ythub-site .site-chrome-brand {
  color: #0f0f0f !important;
}
body.ythub-site .site-chrome-brand__name {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #0f0f0f !important;
  color: #0f0f0f !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
body.ythub-site .site-chrome-brand__mark {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
body.ythub-site .site-chrome-header nav a {
  background: transparent !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 18px !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
}
body.ythub-site .site-chrome-header nav a:hover {
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
  border-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}
body.ythub-site .site-chrome-main {
  color: #0f0f0f !important;
  padding-top: 12px !important;
}

/* WordPress-like surfaces, YouTube-ish accents */
body.ythub-site .panel,
body.ythub-site .site-chrome-main section.panel,
body.ythub-site .site-chrome-main article.panel {
  border-radius: 10px !important;
  border-color: #dcdcde !important;
  box-shadow: none !important;
}
body.ythub-site .btn,
body.ythub-site .search-form button {
  border-radius: 8px !important;
}
body.ythub-site .site-chrome-footer {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  color: #606060 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.ythub-site .site-chrome-footer__tagline {
  color: #606060 !important;
  opacity: 1 !important;
}
body.ythub-site .site-chrome-footer__tagline strong {
  color: #0f0f0f !important;
}
body.ythub-site .site-chrome-footer nav a {
  color: #606060 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
body.ythub-site .site-chrome-footer nav a:hover {
  color: #0f0f0f !important;
  text-decoration: none !important;
}
body.ythub-site .site-chrome-footer__bglinks-intro {
  color: #606060 !important;
}
body.ythub-site .site-chrome-footer__bglinks {
  background: #f9f9f9 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 10px !important;
}
body.ythub-site .site-chrome-footer__bglinks a {
  color: #065fd4 !important;
}
body.ythub-site .site-chrome-footer__bglinks a:hover {
  color: #065fd4 !important;
  text-decoration: underline !important;
}
body.ythub-site .site-chrome-footer__sep {
  color: #ccc !important;
}
body.ythub-site .site-chrome-footer__copyright {
  color: #909090 !important;
  opacity: 1 !important;
}
body.ythub-site .site-chrome-footer__copyright a {
  color: #065fd4 !important;
}
body.ythub-site .site-chrome-footer .ythub-social--light {
  border-color: #e5e5e5 !important;
}
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__head,
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__head-text {
  color: #606060 !important;
}
body.ythub-site .site-chrome-footer .ythub-social--light .ythub-social__at {
  color: #0f0f0f !important;
}
body.ythub-site .site-chrome-yt-promo {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
}
body.ythub-site .site-chrome-yt-promo__label {
  color: #cc0000 !important;
  font-weight: 700 !important;
}
body.ythub-site .site-chrome-yt-promo__hint {
  color: #606060 !important;
}
body.ythub-site .site-footer-about {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
}
body.ythub-site .site-footer-about__text {
  color: #606060 !important;
}
body.ythub-site .site-footer-about__more {
  color: #065fd4 !important;
}
body.ythub-site .site-tips-cta__btn {
  background: #ff0000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border: 1px solid #cc0000 !important;
  border-radius: 18px !important;
  font-weight: 600 !important;
}
body.ythub-site .site-tips-cta__btn:hover {
  background: #cc0000 !important;
  color: #ffffff !important;
}
body.ythub-site.has-page-bg::before {
  background: #f9f9f9 !important;
  opacity: 1 !important;
}
body.ythub-site:not(.ythub-home) .home-hero {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}
body.ythub-site:not(.ythub-home) .home-hero h1 { color: #0f0f0f !important; font-weight: 700 !important; }
body.ythub-site:not(.ythub-home) .home-hero p,
body.ythub-site:not(.ythub-home) .home-lead {
  color: #606060 !important;
}
body.ythub-home .home-landing h1,
body.ythub-home .home-landing .home-lead {
  -webkit-text-fill-color: unset !important;
}
body.ythub-site .home-hero__tags span {
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
  border: 1px solid #e5e5e5 !important;
}
body.ythub-site .home-hero__cta a.primary {
  background: #ff0000 !important;
  color: #ffffff !important;
  border: 1px solid #cc0000 !important;
  box-shadow: none !important;
}
body.ythub-site .home-hero__cta a.primary:hover {
  background: #cc0000 !important;
  color: #ffffff !important;
}
body.ythub-site .home-hero__cta a.ghost {
  background: #f9f9f9 !important;
  color: #065fd4 !important;
  border: 1px solid #e5e5e5 !important;
}
body.ythub-site .home-hero__cta a.ghost:hover {
  background: #f2f2f2 !important;
  color: #065fd4 !important;
}
body.ythub-site .site-chrome-main article.panel.static-sheet,
body.ythub-site .site-chrome-main article.panel.static-sheet.static-sheet--pro {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
}
body.ythub-site .site-chrome-main article.panel.static-sheet h1,
body.ythub-site .site-chrome-main article.panel.static-sheet h2 {
  color: #0f0f0f !important;
  border-bottom-color: #e5e5e5 !important;
}
body.ythub-site .site-chrome-main article.panel.static-sheet p,
body.ythub-site .site-chrome-main article.panel.static-sheet ul,
body.ythub-site .site-chrome-main article.panel.static-sheet li {
  color: #606060 !important;
}
body.ythub-site .site-chrome-main article.panel.static-sheet a {
  color: #065fd4 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
body.ythub-site .site-chrome-main article.panel.static-sheet a:hover {
  text-decoration: underline !important;
}
body.ythub-site .site-chrome-main .panel,
body.ythub-site .site-chrome-main section.panel,
body.ythub-site .site-chrome-main div.panel {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
}
body.ythub-site .site-chrome-main section.panel h1,
body.ythub-site .site-chrome-main section.panel h2 {
  color: #0f0f0f !important;
}
body.ythub-site .site-chrome-main section.panel p,
body.ythub-site .site-chrome-main section.panel .muted {
  color: #606060 !important;
}
body.ythub-site .site-chrome-main > :first-child {
  margin-top: 0 !important;
}
body.ythub-site .site-chrome-yt-promo__cell {
  background: #0f0f0f !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
}
:root {
  --ythub-primary: #ff0000;
  --ythub-primary-dark: #cc0000;
  --ythub-accent: #065fd4;
  --ythub-gold: #ff0000;
  --ythub-gold-dark: #cc0000;
  --ythub-surface: #ffffff;
  --ythub-ink: #0f0f0f;
  --ythub-muted: #606060;
  --ythub-shadow-header: 0 1px 2px rgba(0, 0, 0, 0.06);
  --ythub-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.08);
}
body.ythub-site .ythub-social__link {
  color: #606060 !important;
  border-color: #e5e5e5 !important;
  background: #ffffff !important;
}
body.ythub-site .ythub-social__link:hover {
  color: #0f0f0f !important;
  background: #f2f2f2 !important;
  border-color: #e5e5e5 !important;
}
body.ythub-site .ythub-social--light .ythub-social__head,
body.ythub-site .ythub-social--light .ythub-social__at,
body.ythub-site .ythub-social--light .ythub-social__head-text {
  color: #606060 !important;
}
body.ythub-site .ythub-social__link:focus-visible {
  outline: 2px solid #065fd4 !important;
}
/* YoutubeSubHub design system — directory polish (snapty / tiktokit quality, YouTube red) */

:root {
  --yth-brand-primary: #ff0000;
  --yth-brand-primary-dark: #cc0000;
  --yth-brand-accent: #ff4444;
  --yth-brand-link: #065fd4;
  --yth-brand-bg: #f8fafc;
  --yth-brand-bg-glow-a: rgba(255, 0, 0, 0.07);
  --yth-brand-bg-glow-b: rgba(255, 68, 68, 0.05);
  --yth-brand-border: #e2e8f0;
  --yth-brand-nav-bg: #f8fafc;
  --yth-brand-nav-text: #334155;
  --yth-brand-shadow: rgba(255, 0, 0, 0.14);
  --yth-snap-radius-lg: 20px;
  --yth-snap-radius-md: 14px;
  --yth-snap-shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --yth-snap-shadow-md: 0 10px 32px rgba(15, 23, 42, 0.08);
  --vs-hero-1: #0f0f0f;
  --vs-hero-2: #1a0808;
  --vs-hero-3: #3d1010;
}

/* —— Page canvas —— */
body.ythub-site {
  background:
    radial-gradient(900px 520px at 8% -4%, var(--yth-brand-bg-glow-a), transparent 58%),
    radial-gradient(760px 480px at 96% 4%, var(--yth-brand-bg-glow-b), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%) !important;
  color: #0f172a !important;
  padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right)) !important;
}

body.ythub-site.ythub-home {
  background:
    radial-gradient(900px 520px at 8% -4%, var(--yth-brand-bg-glow-a), transparent 58%),
    radial-gradient(760px 480px at 96% 4%, var(--yth-brand-bg-glow-b), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%) !important;
}

body.ythub-site a {
  color: var(--yth-brand-link) !important;
}

body.ythub-site a:hover {
  color: #0350a8 !important;
}

/* —— Header —— */
body.ythub-site .site-chrome-header {
  position: sticky !important;
  top: max(8px, env(safe-area-inset-top)) !important;
  background: #ffffff !important;
  border: 1px solid var(--yth-brand-border) !important;
  border-top: 3px solid var(--yth-brand-primary) !important;
  border-radius: var(--yth-snap-radius-lg) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
  margin-bottom: 20px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.ythub-site .site-chrome-brand__name {
  background: linear-gradient(115deg, #990000 0%, var(--yth-brand-primary) 48%, var(--yth-brand-accent) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

body.ythub-site .site-chrome-brand__mark {
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.12) !important;
}

body.ythub-site .site-chrome-header nav a {
  min-height: 40px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  background: var(--yth-brand-nav-bg) !important;
  color: var(--yth-brand-nav-text) !important;
  border: 1px solid var(--yth-brand-border) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

body.ythub-site .site-chrome-header nav a:hover {
  border-color: rgba(255, 0, 0, 0.35) !important;
  color: var(--yth-brand-primary-dark) !important;
  box-shadow: 0 6px 16px var(--yth-brand-shadow) !important;
  transform: translateY(-1px) !important;
  background: #fff !important;
}

body.ythub-site .site-chrome-search input:focus {
  border-color: var(--yth-brand-primary) !important;
  box-shadow: inset 0 0 0 1px var(--yth-brand-primary) !important;
}

body.ythub-site .site-chrome-search__btn:hover {
  background: #fff5f5 !important;
  color: var(--yth-brand-primary-dark) !important;
}

/* —— Footer —— */
body.ythub-site .site-chrome-footer {
  background: #ffffff !important;
  border: 1px solid var(--yth-brand-border) !important;
  border-radius: var(--yth-snap-radius-lg) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
  margin-top: 8px !important;
}

body.ythub-site .site-chrome-footer__tagline {
  color: #64748b !important;
}

body.ythub-site .site-chrome-footer__tagline strong {
  color: #0f172a !important;
}

body.ythub-site .site-chrome-footer nav a {
  color: #334155 !important;
  font-weight: 600 !important;
}

body.ythub-site .site-chrome-footer nav a:hover {
  color: var(--yth-brand-primary-dark) !important;
}

body.ythub-site .site-chrome-footer__bglinks-intro {
  color: #64748b !important;
  font-size: 0.82rem !important;
}

body.ythub-site .site-chrome-footer__bglinks {
  background: #f8fafc !important;
  border: 1px solid var(--yth-brand-border) !important;
  border-radius: var(--yth-snap-radius-md) !important;
  padding: 10px 14px !important;
}

body.ythub-site .site-chrome-footer__bglinks a {
  color: var(--yth-brand-link) !important;
  font-weight: 600 !important;
}

body.ythub-site .site-chrome-footer__bglinks a:hover {
  color: #0350a8 !important;
}

body.ythub-site .site-chrome-footer__copyright a {
  color: var(--yth-brand-primary-dark) !important;
  font-weight: 700 !important;
}

body.ythub-site .ythub-social__link:hover {
  border-color: rgba(255, 0, 0, 0.35) !important;
  color: var(--yth-brand-primary-dark) !important;
}

/* —— Home hero —— */
body.ythub-home .home-landing {
  border-radius: var(--yth-snap-radius-lg) !important;
  background: linear-gradient(145deg, var(--vs-hero-1) 0%, var(--vs-hero-2) 42%, var(--vs-hero-3) 100%) !important;
  box-shadow: var(--yth-snap-shadow-md) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.ythub-home .home-landing::before {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(255, 0, 0, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(255, 68, 68, 0.12) 0%, transparent 50%) !important;
}

body.ythub-home .home-landing__eyebrow {
  color: #fecaca !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

body.ythub-home .home-landing .search-form input:focus {
  border-color: #ff6666 !important;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.25) !important;
}

body.ythub-home .home-landing .search-form button {
  background: linear-gradient(180deg, #ff3333 0%, var(--yth-brand-primary) 100%) !important;
  box-shadow: 0 4px 18px rgba(255, 0, 0, 0.4) !important;
}

body.ythub-home .home-landing .search-form button:hover {
  background: linear-gradient(180deg, var(--yth-brand-primary) 0%, var(--yth-brand-primary-dark) 100%) !important;
}

body.ythub-home .home-hero__cta a.btn-vs-primary {
  background: #ffffff !important;
  color: #7f1d1d !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
}

body.ythub-home .home-hero__cta a.btn-vs-primary:hover {
  background: #fff5f5 !important;
  color: #450a0a !important;
}

body.ythub-home .home-hero__cta a.btn-vs-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

/* —— Feature cards & browse grid —— */
body.ythub-site .home-feature-card {
  border-radius: var(--yth-snap-radius-md) !important;
  border: 1px solid var(--yth-brand-border) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.ythub-site .home-feature-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--yth-snap-shadow-md) !important;
  border-color: rgba(255, 0, 0, 0.2) !important;
}

body.ythub-site .home-feature-card h3 {
  color: #0f172a !important;
}

body.ythub-site .home-section-panel,
body.ythub-site .site-chrome-main section.panel {
  border-radius: var(--yth-snap-radius-lg) !important;
  border: 1px solid var(--yth-brand-border) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
}

body.ythub-site .browse-card,
body.ythub-site a.ch-card.browse-card {
  border-radius: var(--yth-snap-radius-md) !important;
  border: 1px solid var(--yth-brand-border) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.ythub-site .browse-card:hover,
body.ythub-site a.ch-card.browse-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--yth-snap-shadow-md) !important;
  border-color: rgba(255, 0, 0, 0.25) !important;
}

body.ythub-site .browse-card .t,
body.ythub-site a.ch-card.browse-card .t {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* —— Static pages —— */
body.ythub-site .site-chrome-main article.panel.static-sheet,
body.ythub-site .site-chrome-main article.panel.static-sheet.static-sheet--pro {
  border-top: 3px solid var(--yth-brand-primary) !important;
  border-radius: var(--yth-snap-radius-lg) !important;
  box-shadow: var(--yth-snap-shadow-sm) !important;
}

body.ythub-site .site-chrome-main article.panel.static-sheet h1 {
  color: var(--yth-brand-primary-dark) !important;
  border-bottom: 3px solid #fecaca !important;
}

body.ythub-site article.static-sheet--pro > h2 {
  background: #f8fafc !important;
  border-color: var(--yth-brand-border) !important;
  color: #0f172a !important;
}

/* —— Channel snapshot card —— */
body.ythub-channel-tool .sb-profile-card {
  border-radius: var(--yth-snap-radius-lg) !important;
  border: 1px solid var(--yth-brand-border) !important;
  box-shadow: var(--yth-snap-shadow-md) !important;
  overflow: hidden !important;
}

body.ythub-channel-tool .sb-profile-title {
  color: #0f172a !important;
}

body.ythub-channel-tool .sb-btn-open,
body.ythub-channel-tool .sb-profile-ytlink {
  color: var(--yth-brand-link) !important;
}

body.ythub-channel-tool .sb-stat-num {
  color: var(--yth-brand-primary-dark) !important;
}

body.ythub-channel-tool .ch-tab-card:hover {
  border-color: rgba(255, 0, 0, 0.3) !important;
}

body.ythub-site .site-chrome-yt-promo {
  border-color: #fecaca !important;
  border-radius: var(--yth-snap-radius-md) !important;
}

body.ythub-site .site-tips-cta__btn {
  background: linear-gradient(145deg, #ff3333 0%, var(--yth-brand-primary-dark) 100%) !important;
  border-color: var(--yth-brand-primary-dark) !important;
  box-shadow: 0 6px 20px var(--yth-brand-shadow) !important;
}

.ythub-social { margin: 0; }
.ythub-social__head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; line-height: 1.3; }
.ythub-social__head-text { color: inherit; opacity: 0.85; }
.ythub-social__at { direction: ltr; unicode-bidi: isolate; letter-spacing: 0.02em; }
.ythub-social__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.ythub-social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  text-decoration: none;
  color: #64748b;
  background: transparent;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  position: relative;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ythub-social__link:hover {
  color: #334155;
  background: #f1f5f9;
  border-color: #94a3b8;
}
.ythub-social__link:active { background: #e2e8f0; }
.ythub-social__link:focus-visible { outline: 2px solid #16a34a; outline-offset: 2px; }
.ythub-social__icon { display: block; flex-shrink: 0; width: 16px; height: 16px; }
.ythub-social__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ythub-social__link--x,
.ythub-social__link--facebook,
.ythub-social__link--instagram,
.ythub-social__link--telegram,
.ythub-social__link--tiktok,
.ythub-social__link--youtube {
  background: transparent;
  color: #64748b;
  border-color: #cbd5e1;
}
.ythub-social--light .ythub-social__head { color: #64748b; }
.ythub-social--light .ythub-social__at { color: #475569; font-weight: 700; }
.ythub-social--light { padding-top: 4px; border-top: 1px solid #e2e8f0; }
.ythub-social--dark .ythub-social__head { color: rgba(255,255,255,0.88); }
.ythub-social--dark .ythub-social__at { color: rgba(255,255,255,0.92); }
.ythub-social--dark { padding-bottom: 4px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ythub-social--dark .ythub-social__link {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.ythub-social--dark .ythub-social__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.ythub-social--flush.ythub-social--light { border-top: none; padding-top: 0; }
.ythub-social--flush.ythub-social--dark { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.ch-breadcrumb { font-size: 0.875rem; margin: 0 0 1rem; color: var(--muted, #64748b); }
.ch-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; }
.ch-breadcrumb li + li::before { content: "›"; margin-right: 0.5rem; color: #94a3b8; }
.ch-breadcrumb a { color: inherit; text-decoration: none; }
.ch-breadcrumb a:hover { text-decoration: underline; }
.ch-intro-panel__title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.ch-intro-panel__lead { margin: 0 0 0.5rem; line-height: 1.55; max-width: 72ch; }

/* ── Channel tabs & counts grid ──────────────────────────────────────── */
.ch-tabs-panel .ch-tabs-head { margin-bottom: 0.85rem; }
.ch-tabs-panel .ch-tabs-head h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.ch-tabs-panel .ch-tabs-head p { margin: 0; line-height: 1.55; max-width: 78ch; }
.ch-tabs-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.ch-tab-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.ch-tab-card:hover { border-color: #cbd5e1; box-shadow: 0 6px 18px rgba(15,23,42,.08); transform: translateY(-1px); }
.ch-tab-card:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.ch-tab-card__icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
}
.ch-tab-card__body { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; flex: 1 1 auto; }
.ch-tab-card__label { font-weight: 600; font-size: 0.92rem; color: #0f172a; }
.ch-tab-card__value { font-weight: 700; font-size: 1.1rem; color: #0f172a; line-height: 1.15; }
.ch-tab-card__sub { font-size: 0.74rem; color: #64748b; }
.ch-tab-card__open { color: #94a3b8; font-size: 0.95rem; flex: 0 0 auto; }
.ch-tab-card:hover .ch-tab-card__open { color: #2563eb; }

/* tones — exact counts get a subtle blue accent, approximations amber, presence-only neutral */
.ch-tab-card--exact .ch-tab-card__icon  { background: #dbeafe; color: #1d4ed8; }
.ch-tab-card--approx .ch-tab-card__icon { background: #fef3c7; color: #92400e; }
.ch-tab-card--approx .ch-tab-card__value { color: #92400e; }
.ch-tab-card--open .ch-tab-card__value  { color: #475569; font-size: 1rem; font-weight: 600; }

/* ── More channel pages (related) — card grid with avatars ───────────── */
.ch-related-panel { }
.ch-related-head { margin-bottom: 0.85rem; }
.ch-related-head h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.ch-related-sub { margin: 0; line-height: 1.55; max-width: 78ch; }
.ch-related-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.ch-related-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.ch-related-card:hover { border-color: #cbd5e1; box-shadow: 0 8px 20px rgba(15,23,42,.08); transform: translateY(-1px); background: #fafbff; }
.ch-related-card:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.ch-related-card__avatar {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}
.ch-related-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-related-card__initial { font-size: 1.05rem; }
.ch-related-card__body { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; flex: 1 1 auto; }
.ch-related-card__title { font-weight: 600; color: #0f172a; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-related-card__handle { font-size: 0.78rem; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-related-card__cta { font-size: 0.78rem; color: #2563eb; opacity: 0; transition: opacity .15s ease; flex: 0 0 auto; }
.ch-related-card:hover .ch-related-card__cta { opacity: 1; }
.ch-related-foot { margin: 0.85rem 0 0; }
.ch-related-foot a { color: #2563eb; text-decoration: none; font-weight: 600; }
.ch-related-foot a:hover { text-decoration: underline; }

/* legacy list class — kept for any old caller; new grid above supersedes it */
.ch-related-list { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ch-related-list a { display: block; padding: 0.5rem 0.65rem; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: inherit; }
.ch-related-list a:hover { border-color: #94a3b8; background: #f8fafc; }