/* ============================================
   全站样式表
   改配色只改下面 :root 这一段就够了
   ============================================ */

:root {
  /* 底色：纯黑，往上带一点冷蓝 */
  --bg:        #000000;
  --surface:   #0B0D14;
  --surface-2: #12151F;
  --line:      #232838;
  --line-soft: #171B26;

  /* 文字 */
  --text:      #F4F6FB;
  --text-dim:  #8B93A8;
  --text-mute: #5C637A;

  /* 强调：霓虹紫 + 青 */
  --gold:      #A855F7;
  --gold-dim:  #6D3BA8;
  --cyan:      #22D3EE;
  --cyan-dim:  #0E7490;
  --glow:      0 0 24px rgba(168, 85, 247, .35);
  --glow-cyan: 0 0 22px rgba(34, 211, 238, .3);

  /* 分类色（小面积用，只做圆点和标签） */
  --c-ai:      #C084FC;
  --c-win:     #22D3EE;
  --c-net:     #4ADE80;
  --c-res:     #FB923C;
  --c-tut:     #F472B6;

  /* 尺寸 */
  --wrap:      1180px;
  --read:      700px;
  --r:         10px;

  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system,
          "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #000; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   顶栏
   ============================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gold);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.brand__mark img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }

.nav {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-left: auto;
}

.nav a { transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.search {
  position: relative;
  flex-shrink: 0;
}

.search input {
  width: 190px;
  height: 36px;
  padding: 0 12px 0 34px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: width .2s, border-color .15s;
}

.search input::placeholder { color: var(--text-mute); }
.search input:focus { width: 240px; border-color: var(--gold-dim); outline: none; }

.search__icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute);
  pointer-events: none;
  line-height: 0;
}

.menu-btn {
  display: none;
  background: none; border: 0; color: var(--text);
  font-size: 22px; cursor: pointer; padding: 4px 8px;
}

/* ============================================
   元信息行（分类点 + 日期 + 时长）
   ============================================ */

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: .03em;
}

.meta__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-weight: 600;
}

.meta__cat::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dot, var(--gold));
}

/* ============================================
   筛选条
   ============================================ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0 4px;
}

.chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.chip:hover { color: var(--text); border-color: var(--line); background: var(--surface-2); }

.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
}

/* ============================================
   文章网格
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  padding: 28px 0 64px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
}

.card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s;
}

.card:hover .card__cover img { transform: scale(1.035); }

/* 没有封面图时的占位：斜纹 + 分类首字 */
.ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg,
      var(--surface) 0 10px,
      var(--surface-2) 10px 20px);
  color: var(--text-mute);
  font-size: 13px;
  letter-spacing: .1em;
}

.card__title {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__title a { transition: color .15s; }
.card:hover .card__title a { color: var(--gold); }

.card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--text-dim);
}

.empty b { color: var(--text); }

/* ============================================
   文章页
   ============================================ */

.article {
  display: grid;
  grid-template-columns: minmax(0, var(--read)) 1fr;
  gap: 56px;
  padding: 48px 0 80px;
  align-items: start;
}

.post__head { margin-bottom: 32px; }

.post__title {
  margin: 14px 0 18px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.32;
  letter-spacing: -.015em;
  font-weight: 700;
}

.post__cover {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 36px;
}

.post__body { font-size: 16.5px; line-height: 1.95; }

.post__body h2 {
  margin: 48px 0 16px;
  padding-top: 8px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -.01em;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}

.post__body h3 {
  margin: 32px 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

.post__body p { margin: 0 0 20px; }

.post__body a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
}
.post__body a:hover { border-bottom-color: var(--gold); }

.post__body ul, .post__body ol { margin: 0 0 20px; padding-left: 22px; }
.post__body li { margin-bottom: 8px; }
.post__body li::marker { color: var(--gold-dim); }

.post__body img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  margin: 8px 0 28px;
}

.post__body blockquote {
  margin: 0 0 24px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold-dim);
  color: var(--text-dim);
}

.post__body code {
  font-family: var(--mono);
  font-size: .89em;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 2px 6px;
}

.post__body pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 24px;
  line-height: 1.65;
}

.post__body pre code { background: none; border: 0; padding: 0; font-size: 14px; }

/* 提示框 */
.note {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15px;
  color: var(--text-dim);
}

.note strong { color: var(--text); }

/* 目录 */
.toc {
  position: sticky;
  top: 92px;
  font-size: 14px;
  border-left: 1px solid var(--line-soft);
  padding-left: 20px;
}

.toc__label {
  color: var(--text-mute);
  font-size: 12.5px;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 10px; }
.toc a { color: var(--text-dim); transition: color .15s; }
.toc a:hover, .toc a.is-active { color: var(--gold); }

/* 上一篇 / 下一篇 */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

.pager a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .15s;
}

.pager a:hover { border-color: var(--gold-dim); }
.pager span { display: block; font-size: 12.5px; color: var(--text-mute); margin-bottom: 6px; }
.pager strong { font-weight: 600; font-size: 15px; line-height: 1.5; }
.pager .is-next { text-align: right; }

/* ============================================
   页脚
   ============================================ */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 56px;
  color: var(--text-mute);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--gold); }

.footer__links { display: flex; gap: 20px; }

/* ============================================
   关于页
   ============================================ */

.about { padding: 56px 0 80px; max-width: var(--read); }

.about__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  margin-bottom: 24px;
}

.about h1 { font-size: 30px; letter-spacing: -.015em; margin: 0 0 16px; }
.about p { color: var(--text-dim); line-height: 1.9; margin: 0 0 18px; }

/* ============================================
   响应式
   ============================================ */

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .topbar__inner { gap: 12px; }
  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-btn { display: block; order: 3; }
  .search input { width: 130px; }
  .search input:focus { width: 160px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .pager { grid-template-columns: 1fr; }
  .pager .is-next { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================
   咨询页
   ============================================ */

.hero-c {
  padding: 72px 0 56px;
  max-width: 720px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-c__title {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}

.hero-c__sub {
  margin: 0 0 30px;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.9;
}

.btn-gold {
  display: inline-block;
  padding: 12px 26px;
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}

.btn-gold:hover { background: #FFC44D; }

.sec { padding: 52px 0; border-bottom: 1px solid var(--line-soft); }

.sec__h {
  margin: 0 0 28px;
  font-size: 22px;
  letter-spacing: -.01em;
  font-weight: 700;
}

/* 服务三项 */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.svc__item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  padding-top: 14px;
  border-top: 2px solid var(--gold-dim);
}

.svc__item p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.8; }

/* 价格 */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.tier {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.tier--pick { border-color: var(--gold-dim); background: var(--surface-2); }

.tier__tag {
  position: absolute;
  top: -11px; left: 24px;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}

.tier__name { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

.tier__price { margin-bottom: 14px; display: flex; align-items: baseline; gap: 6px; }
.tier__price b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--gold); }
.tier__price span { color: var(--text-mute); font-size: 14px; }

.tier__note { margin: 0 0 18px; color: var(--text-dim); font-size: 14.5px; line-height: 1.75; }

.tier__list { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--text-dim); }
.tier__list li { margin-bottom: 7px; }
.tier__list li::marker { color: var(--gold-dim); }

/* 流程 */
.flow { margin: 0; padding-left: 20px; max-width: var(--read); color: var(--text-dim); font-size: 16px; }
.flow li { margin-bottom: 14px; line-height: 1.85; }
.flow li::marker { color: var(--gold); font-weight: 700; }
.flow b { color: var(--text); font-weight: 600; }

/* 表单 */
.book { max-width: 560px; }
.book__lead { margin: 0 0 24px; color: var(--text-dim); }

.form label { display: block; margin-bottom: 18px; }
.form label span { display: block; margin-bottom: 8px; font-size: 14.5px; color: var(--text-dim); }

.form input, .form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold-dim); }

.form__tip { margin: 14px 0 0; font-size: 13.5px; color: var(--text-mute); }
.form__tip a { color: var(--gold); }

/* 首页底部的转化条 */
.cta-strip {
  margin: 8px 0 64px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-strip h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cta-strip p { margin: 0; color: var(--text-dim); font-size: 15px; max-width: 52ch; }

@media (max-width: 960px) {
  .svc, .tiers { grid-template-columns: 1fr; }
  .hero-c { padding: 48px 0 40px; }
}

/* ============================================
   首页开场白 + 缩略图上的播放角标
   ============================================ */

.intro { padding: 52px 0 8px; max-width: 620px; }

.intro h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
}

.intro p { margin: 0; color: var(--text-dim); font-size: 16px; line-height: 1.8; }

.card__cover { position: relative; }

.play {
  position: absolute;
  left: 14px; bottom: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .18s, transform .18s;
}

.play::after {
  content: "";
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.card:hover .play { background: var(--gold); transform: scale(1.08); }
.card:hover .play::after { border-left-color: #000; }

/* ============================================
   文章页：视频、图片、下载按钮
   ============================================ */

.single { max-width: var(--read); padding: 44px 0 8px; }

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 34px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post__body figure { margin: 0 0 28px; }
.post__body figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* 下载按钮 */
.dl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .15s, background .15s;
}

.dl:hover { border-color: var(--gold-dim); background: var(--surface-2); }

.dl__ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
}

.dl__ico::before {
  content: "";
  position: absolute;
  left: 50%; top: 9px;
  width: 2px; height: 11px;
  background: var(--gold);
  transform: translateX(-50%);
}

.dl__ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 15px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.dl__text { flex: 1; min-width: 0; line-height: 1.4; }
.dl__text b { display: block; font-size: 15.5px; font-weight: 600; }
.dl__text i { display: block; margin-top: 3px; font-style: normal; font-size: 13px; color: var(--text-mute); }

.dl__go {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .intro { padding: 34px 0 4px; }
  .dl__go { padding: 6px 12px; font-size: 13px; }
}

/* ============================================
   霓虹质感（对齐频道封面风格）
   ============================================ */

.brand__mark {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  color: #fff;
  box-shadow: var(--glow);
}

.intro h1 {
  font-weight: 800;
  letter-spacing: -.03em;
}

.intro h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow);
}

.card__cover {
  transition: border-color .2s, box-shadow .25s;
}

.card:hover .card__cover {
  border-color: var(--cyan-dim);
  box-shadow: var(--glow-cyan);
}

.card__title { font-weight: 700; letter-spacing: -.01em; }
.card:hover .card__title a { color: var(--cyan); }

.play { background: rgba(0,0,0,.66); }
.card:hover .play {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: var(--glow);
}
.card:hover .play::after { border-left-color: #fff; }

.post__title { font-weight: 800; letter-spacing: -.025em; }

.post__body h2 {
  font-weight: 700;
  border-top-color: var(--line);
}

.post__body a { color: var(--cyan); border-bottom-color: var(--cyan-dim); }

.note { border-left-color: var(--cyan); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border: 0;
  color: #fff;
  box-shadow: var(--glow);
}
.btn-gold:hover { filter: brightness(1.12); }

.dl__go {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  color: #fff;
}

.dl:hover { border-color: var(--cyan-dim); box-shadow: var(--glow-cyan); }
.dl__ico::before, .dl__ico::after { background: var(--cyan); }
.dl__ico::after { background: none; border-color: var(--cyan); }

.tier--pick { border-color: var(--gold-dim); }
.tier__tag { background: linear-gradient(135deg, var(--gold), var(--cyan)); color: #fff; }
.tier__price b { color: var(--cyan); }

.cta-strip { border-left-color: var(--cyan); }

.meta__cat::before { box-shadow: 0 0 8px currentColor; }

/* ============================================
   频道头部（对齐 YouTube 频道页）
   ============================================ */

.channel { padding: 20px 0 4px; }

.channel__banner {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  line-height: 0;
}

.channel__banner img {
  width: 100%;
  height: clamp(112px, 16vw, 190px);
  object-fit: cover;
  object-position: center 45%;
}

.channel__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 4px 4px;
}

.channel__avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px #000, var(--glow);
}

.channel__info { min-width: 0; flex: 1; }

.channel__info h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.channel__stat {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: .01em;
}

.channel__bio {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
  max-width: 58ch;
}

.channel__acts { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #FF0033;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  transition: filter .15s;
}
.btn-yt:hover { filter: brightness(1.12); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 600;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan-dim); }

/* 顶栏用头像做 logo */
.brand__mark { overflow: hidden; padding: 0; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }

/* 分类条做成频道页的标签栏 */
.filters {
  padding: 22px 0 0;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}

@media (max-width: 640px) {
  .channel__row { gap: 16px; padding: 16px 0 0; }
  .channel__avatar { width: 72px; height: 72px; }
  .channel__bio { display: none; }
  .channel__banner { border-radius: 10px; }
}
