/* ============================================================
   白日梦 AIGC — 子页面通用样式 (pages.css)
   用于 SkillHub / 技术与资讯 / 提示词库 / 流程规范 / MCP / 关于 / 法律
   ============================================================ */

/* ---- 顶部小导航（子页面共用） ---- */
.subhero {
  position: relative;
  padding: clamp(90px, 12vw, 150px) clamp(16px, 4vw, 52px) 40px;
  background:
    radial-gradient(circle at 78% 6%, rgba(183,0,0,.14), transparent 42%),
    radial-gradient(circle at 12% 24%, rgba(222,219,200,.08), transparent 44%),
    #000;
  border-bottom: 1px solid rgba(222,219,200,.08);
}
.subhero-inner { max-width: 1160px; margin: 0 auto; }
.subhero .page-kicker {
  display: block; margin-bottom: 18px; color: #dedbc8;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.subhero h1 {
  color: #e1e0cc; font-size: clamp(36px, 6.4vw, 84px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.04em;
  padding-bottom: .06em;
}
.subhero .lede {
  max-width: 780px; margin-top: 22px;
  color: rgba(222,219,200,.68); font-size: clamp(14px, 1.4vw, 17px); line-height: 1.72;
}
.subhero .head-meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px;
  color: rgba(222,219,200,.45); font-size: 12px; text-transform: uppercase;
}
.subhero .head-meta b { color: #dedbc8; font-weight: 700; }

/* ---- 通用工具栏 ---- */
.toolbar {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 26px clamp(16px, 4vw, 40px) 10px;
}
.search-box {
  flex: 1 1 280px; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  border: 1px solid rgba(222,219,200,.16); border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.search-box input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: #e1e0cc; font-size: 15px;
}
.search-box input::placeholder { color: rgba(222,219,200,.4); }
.search-box svg { width: 18px; height: 18px; color: rgba(222,219,200,.5); flex: 0 0 auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(222,219,200,.16); background: rgba(255,255,255,.035);
  color: rgba(222,219,200,.7); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.chip:hover { transform: translateY(-1px); border-color: rgba(222,219,200,.4); }
.chip.active { background: #dedbc8; color: #050505; border-color: #dedbc8; }

/* ---- 排序切换（最新 / 最热） ---- */
.sort-switch {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  border: 1px solid rgba(222,219,200,.16); background: rgba(255,255,255,.03);
}
.sort-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(222,219,200,.62);
  font: 600 13px/1 var(--sans, system-ui); cursor: pointer;
  transition: background .18s, color .18s;
}
.sort-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.sort-btn:hover { color: rgba(222,219,200,.92); }
.sort-btn.active { background: #dedbc8; color: #050505; }

/* ---- 最新上架提示条 ---- */
.skill-new-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 11px 15px; border-radius: 12px;
  border: 1px solid rgba(183,0,0,.34);
  background: linear-gradient(90deg, rgba(183,0,0,.16), rgba(183,0,0,.03));
}
.new-strip-label {
  flex: 0 0 auto; padding: 3px 8px; border-radius: 5px;
  background: #b70000; color: #fff;
  font: 800 10px/1.4 var(--mono, ui-monospace, monospace); letter-spacing: .16em;
}
.new-strip-text { color: rgba(222,219,200,.8); font-size: 13px; line-height: 1.5; }
.new-strip-text b { color: #e1e0cc; font-weight: 700; }

.section-wrap { max-width: 1160px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 40px) 90px; }
.section-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin: 34px 0 20px;
}
.section-title h2 {
  color: #e1e0cc; font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500; letter-spacing: -.03em;
}
.section-title .count { color: rgba(222,219,200,.45); font-size: 13px; }

/* ---- Skill 卡片网格 ---- */
.skill-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
}
.skill-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(222,219,200,.12); border-radius: 16px;
  background: #0b0b0b; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .42s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .42s, background .3s;
  cursor: pointer;
}
.skill-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(222,219,200,.09), transparent 42%);
  opacity: 0; transition: opacity .3s;
}
.skill-card:hover::after { opacity: 1; }
.skill-card:hover {
  transform: translateY(-7px);
  border-color: rgba(222,219,200,.34);
  background: #111;
  box-shadow: 0 32px 70px rgba(0,0,0,.5);
}
.skill-poster {
  margin: -22px -22px 0; aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 1px solid rgba(222,219,200,.1); background: #111;
}
.skill-poster img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) brightness(.86);
  transition: transform .5s cubic-bezier(.16,1,.3,1), filter .3s ease;
}
.skill-card:hover .skill-poster img { transform: scale(1.04); filter: saturate(1) brightness(.94); }
.skill-top { display: flex; align-items: flex-start; gap: 14px; }
.skill-avatar {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  color: #e1e0cc; background: #1d3f58; letter-spacing: .02em;
}
.skill-name { min-width: 0; }
.skill-name h3 {
  color: #e1e0cc; font-size: 17px; font-weight: 600; line-height: 1.25;
  letter-spacing: -.02em; word-break: break-word;
}
.skill-name .author { color: rgba(222,219,200,.5); font-size: 12px; margin-top: 4px; }
.skill-desc {
  color: rgba(222,219,200,.68); font-size: 13.5px; line-height: 1.62;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  padding: 5px 10px; border: 1px solid rgba(222,219,200,.16); border-radius: 999px;
  color: rgba(222,219,200,.6); font-size: 11px;
}
.skill-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding-top: 14px; border-top: 1px solid rgba(222,219,200,.08);
  color: rgba(222,219,200,.5); font-size: 12px;
}
.skill-foot .stats { display: flex; gap: 14px; }
.skill-foot .stats b { color: #dedbc8; font-weight: 700; }
.skill-secure {
  display: inline-flex; align-items: center; gap: 5px;
  color: #6fbf8f; font-size: 11.5px;
}
.skill-secure::before { content: "●"; font-size: 8px; }
.skill-secure.warn { color: #d6a75c; }

/* ---- 提示词词条 ---- */
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.prompt-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(222,219,200,.12); border-radius: 14px;
  background: #0a0a0a; padding: 0;
  transition: border-color .3s, transform .42s cubic-bezier(.16,1,.3,1), box-shadow .42s;
}
.prompt-card:hover {
  border-color: rgba(222,219,200,.3);
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,.48);
}
.prompt-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

/* 剧照 */
.prompt-still {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d, #161616);
  border-bottom: 1px solid rgba(222,219,200,.1);
}
.prompt-still img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.86) contrast(1.04);
  transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .3s;
}
.prompt-card:hover .prompt-still img { transform: scale(1.05); filter: saturate(1) contrast(1.06); }
.prompt-still.is-empty { aspect-ratio: auto; height: 0; border: 0; }
.still-tag {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(5,5,5,.72); border: 1px solid rgba(222,219,200,.22);
  backdrop-filter: blur(6px);
  color: #dedbc8; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
}
.prompt-card h3 {
  color: #e1e0cc; font-size: 19px; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 6px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
}
/* 英文术语对照（中文标题优先时显示） */
.prompt-card h3 .title-en {
  color: rgba(222,219,200,.4);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}
.prompt-card .cat {
  display: inline-block; margin-bottom: 12px;
  color: #dedbc8; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.prompt-card .desc {
  color: rgba(222,219,200,.66); font-size: 13.5px; line-height: 1.66;
  margin-bottom: 16px;
}
.prompt-tpl {
  position: relative; margin-top: auto; padding: 14px 14px 46px;
  border: 1px solid rgba(222,219,200,.1); border-radius: 10px;
  background: #050505; color: rgba(222,219,200,.72);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.6; max-height: 168px; overflow: hidden;
}
.prompt-copy {
  position: absolute; right: 10px; bottom: 10px;
  min-height: 30px; padding: 0 12px; border-radius: 7px;
  border: 1px solid rgba(222,219,200,.2); background: rgba(222,219,200,.1);
  color: #dedbc8; font-size: 12px; cursor: pointer;
  transition: background .18s, color .18s;
}
.prompt-copy:hover { background: #dedbc8; color: #050505; }

/* ---- 资讯瀑布流 ---- */
.masonry { column-count: 3; column-gap: 20px; }
.masonry .card {
  display: inline-block; width: 100%; margin: 0 0 20px; break-inside: avoid;
  overflow: hidden; border: 1px solid rgba(222,219,200,.12); border-radius: 12px;
  background: #050505; box-shadow: 0 30px 90px rgba(0,0,0,.28);
  transition: transform .42s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .42s;
}
.masonry .card:hover {
  transform: translateY(-6px);
  border-color: rgba(222,219,200,.34);
  box-shadow: 0 38px 86px rgba(0,0,0,.52);
}
.masonry .media {
  position: relative; min-height: 0; padding: 18px 18px 0;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: transparent;
}
.masonry .media .media-tag {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(222,219,200,.2); background: rgba(222,219,200,.06);
  color: rgba(235,234,214,.72); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase;
}
.masonry .media .live-dot { position: static; }
.masonry .media .live-dot {
  position: absolute; right: 14px; top: 14px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(183,0,0,.86); color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
}
.masonry .media .live-dot::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; margin-right: 5px; vertical-align: 1px;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.news-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.news-meta .meta-item { color: rgba(222,219,200,.42); font-size: 11.5px; letter-spacing: .02em; }
.masonry .empty.loading { color: rgba(222,219,200,.5); }
.news-refresh {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(222,219,200,.2); background: rgba(222,219,200,.06);
  color: #dedbc8; font-size: 13px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.news-refresh:hover { background: rgba(222,219,200,.14); border-color: rgba(222,219,200,.4); }
.news-refresh svg { width: 15px; height: 15px; }
.news-refresh.spinning svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.masonry .body { padding: 22px; }
.masonry .body h2 { color: #e1e0cc; font-size: 20px; font-weight: 500; line-height: 1.16; margin-bottom: 8px; }
.masonry .date { display: block; margin-bottom: 12px; color: #dedbc8; font-size: 12.5px; font-style: italic; }
.masonry .body p { color: rgba(222,219,200,.7); font-size: 13px; line-height: 1.64; }
.masonry .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.masonry .tag { padding: 6px 9px; border: 1px solid rgba(222,219,200,.2); color: rgba(222,219,200,.55); font-size: 10.5px; text-transform: uppercase; }
.masonry .read { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 7px; background: rgba(222,219,200,.2); color: #e1e0cc; font-size: 12.5px; transition: background .18s, transform .18s; }
.masonry .read:hover { background: rgba(222,219,200,.32); transform: translateY(-2px); }
.masonry .endpoint {
  display: block; margin-top: 16px; padding: 10px 12px;
  border-left: 2px solid #b70000; background: rgba(222,219,200,.06);
  color: rgba(222,219,200,.7); font-size: 11px; font-family: ui-monospace, monospace;
  word-break: break-all;
}
.hot-list { display: grid; gap: 1px; background: rgba(222,219,200,.1); border-radius: 14px; overflow: hidden; }
.hot-row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 20px; background: #101010; transition: background .18s;
  text-decoration: none; color: inherit;
}
.hot-row:hover { background: #171717; }
.hot-row .rk { color: #b70000; font-weight: 800; font-size: 15px; }
.hot-row .tx { color: rgba(222,219,200,.82); font-size: 15px; }
.hot-row .ht { color: rgba(222,219,200,.45); font-size: 12px; white-space: nowrap; }
.hot-row.is-loading { opacity: .55; pointer-events: none; }
.hot-row .tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 流程规范 ---- */
.flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.flow-step {
  position: relative; padding: 26px; border-radius: 16px;
  border: 1px solid rgba(222,219,200,.12); background: #0a0a0a;
  transition: border-color .2s, transform .2s;
}
.flow-step:hover { border-color: rgba(222,219,200,.3); transform: translateY(-2px); }
.flow-step .no {
  display: inline-block; margin-bottom: 14px; color: #b70000;
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
}
.flow-step h3 { color: #e1e0cc; font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.02em; }
.flow-step p { color: rgba(222,219,200,.68); font-size: 13.5px; line-height: 1.68; }
.flow-step ul { margin-top: 14px; display: grid; gap: 8px; }
.flow-step li { color: rgba(222,219,200,.6); font-size: 13px; padding-left: 18px; position: relative; }
.flow-step li::before { content: "→"; position: absolute; left: 0; color: #dedbc8; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.video-card {
  border: 1px solid rgba(222,219,200,.12); border-radius: 14px;
  overflow: hidden; background: #0a0a0a;
  transition: transform .42s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .42s;
}
.video-card:hover {
  transform: translateY(-7px);
  border-color: rgba(222,219,200,.32);
  box-shadow: 0 32px 70px rgba(0,0,0,.5);
}
.video-card { cursor: pointer; }
.video-thumb {
  position: relative; aspect-ratio: 16/9; display: grid; place-items: center;
  background-color: #0a0a0a;
  background-size: cover; background-position: center;
}
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.62));
  transition: background .25s;
}
.video-card:hover .video-thumb::after { background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.52)); }
.video-thumb .play {
  position: relative; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(225,224,204,.5); display: grid; place-items: center;
  color: #e1e0cc; font-size: 18px; background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.video-card:hover .play { background: #dedbc8; color: #050505; transform: scale(1.08); }
.video-thumb .tag-badge {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  padding: 3px 8px; border-radius: 5px;
  background: rgba(183,0,0,.86); color: #fff;
  font-size: 10px; letter-spacing: .08em; font-weight: 700;
}
.video-thumb .dur {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 3px 7px; border-radius: 5px; background: rgba(0,0,0,.72);
  color: #e1e0cc; font-size: 11px;
}
.video-info { padding: 18px; }
.video-info h3 { color: #e1e0cc; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.video-info p { color: rgba(222,219,200,.6); font-size: 12.5px; line-height: 1.6; }

/* ---- 视频播放弹窗 ---- */
.video-lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(0,0,0,.86); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.video-lightbox.open { opacity: 1; visibility: visible; }
.vlb-inner {
  width: min(94vw, 1080px);
  border: 1px solid rgba(222,219,200,.18); border-radius: 16px;
  overflow: hidden; background: #0a0a0a;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.985);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.video-lightbox.open .vlb-inner { transform: none; }
.vlb-video { background: #000; }
.vlb-video video { display: block; width: 100%; max-height: 68vh; background: #000; }
.vlb-meta { padding: 18px 22px 22px; }
.vlb-meta h3 { color: #e1e0cc; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.vlb-meta p { color: rgba(222,219,200,.62); font-size: 13.5px; line-height: 1.65; }
.vlb-close {
  position: absolute; right: 22px; top: 22px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(222,219,200,.3); background: rgba(0,0,0,.6);
  color: #e1e0cc; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.vlb-close:hover { background: #dedbc8; color: #050505; transform: rotate(90deg); }

/* ---- MCP 步骤 ---- */
.mcp-steps { display: grid; gap: 14px; }

/* ---- MCP 主地址展示卡 ---- */
.mcp-hero {
  position: relative; overflow: hidden;
  border: 1px solid rgba(183,0,0,.32); border-radius: 18px;
  background: linear-gradient(135deg, rgba(183,0,0,.16), rgba(183,0,0,.02) 60%, rgba(255,255,255,.02));
  padding: 26px 26px 22px;
}
.mcp-hero::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, #b70000, transparent);
}
.mcp-hero-label {
  color: rgba(222,219,200,.5);
  font: 700 11px/1 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px;
}
.mcp-hero-url {
  position: relative;
  display: block; padding: 16px 92px 16px 18px;
  border: 1px solid rgba(222,219,200,.16); border-radius: 11px;
  background: #050505; color: #f0eeda;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(12.5px, 1.5vw, 16px); font-weight: 600;
  word-break: break-all; line-height: 1.5;
}
.mcp-hero-url .code-copy { top: 50%; transform: translateY(-50%); }
.mcp-hero-tip {
  margin-top: 13px; color: #6fce9a;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
@media (max-width: 560px) {
  .mcp-hero { padding: 20px 18px 18px; }
  .mcp-hero-url { padding: 14px 16px; }
  .mcp-hero-url .code-copy { position: static; transform: none; margin-top: 10px; display: inline-block; }
}
.mcp-step {
  border: 1px solid rgba(222,219,200,.12); border-radius: 16px;
  background: #0a0a0a; padding: 26px;
}
.mcp-step .no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px; margin-bottom: 14px;
  background: #dedbc8; color: #050505; font-weight: 800; font-size: 14px;
}
.mcp-step h3 { color: #e1e0cc; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.mcp-step p { color: rgba(222,219,200,.68); font-size: 13.5px; line-height: 1.7; }
.code-block {
  position: relative; margin-top: 14px; padding: 16px;
  border: 1px solid rgba(222,219,200,.12); border-radius: 10px;
  background: #050505; color: rgba(222,219,200,.78);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.65;
  white-space: pre-wrap; word-break: break-all;
}
.code-copy {
  position: absolute; top: 10px; right: 10px;
  min-height: 28px; padding: 0 11px; border-radius: 6px;
  border: 1px solid rgba(222,219,200,.2); background: rgba(222,219,200,.1);
  color: #dedbc8; font-size: 11.5px; cursor: pointer;
}
.code-copy:hover { background: #dedbc8; color: #050505; }
.note-box {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  border-left: 2px solid #b70000; background: rgba(183,0,0,.08);
  color: rgba(222,219,200,.72); font-size: 13px; line-height: 1.65;
}

/* ---- 关于页 ---- */
.about-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 40px; align-items: start; }
.about-copy p { color: rgba(222,219,200,.74); font-size: 15px; line-height: 1.85; margin-bottom: 18px; }
.about-copy h3 { color: #e1e0cc; font-size: 22px; margin: 26px 0 12px; letter-spacing: -.02em; }
/* 占位态：作者暂未填写的自我介绍 */
.about-copy .about-lazy {
  position: relative;
  margin: 4px 0 22px;
  padding: 22px 26px 22px 30px;
  border: 1px dashed rgba(222,219,200,.22);
  border-left: 3px solid #b70000;
  border-radius: 4px 14px 14px 4px;
  background: linear-gradient(100deg, rgba(183,0,0,.07), rgba(255,255,255,.02) 46%, transparent);
  color: rgba(222,219,200,.62);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  overflow: hidden;
}
.about-copy .about-lazy::before {
  content: "“";
  position: absolute; top: -14px; left: 10px;
  font-size: 68px; line-height: 1;
  color: rgba(222,219,200,.13);
  font-family: Georgia, "Songti SC", serif;
  pointer-events: none;
}
.about-copy .about-lazy::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(222,219,200,.07) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: lazySheen 5.6s cubic-bezier(.4,0,.2,1) infinite;
  pointer-events: none;
}
@keyframes lazySheen {
  0%, 62% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .about-copy .about-lazy::after { animation: none; opacity: 0; }
}
.about-card {
  border: 1px solid rgba(222,219,200,.14); border-radius: 16px;
  background: #0a0a0a; padding: 26px; position: sticky; top: 96px;
}
.about-card h3 { color: #e1e0cc; font-size: 20px; margin-bottom: 18px; }
.about-list { display: grid; gap: 14px; }
.about-list div { display: grid; gap: 4px; }
.about-list .k { color: rgba(222,219,200,.45); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.about-list .v { color: rgba(222,219,200,.84); font-size: 14px; }
.about-list .v a { color: inherit; border-bottom: 1px solid rgba(222,219,200,.28); transition: color .2s, border-color .2s; word-break: break-all; }
.about-list .v a:hover { color: #fff; border-color: rgba(222,219,200,.7); }
.duo-mascot {
  margin: 22px 0; aspect-ratio: 4/3; border-radius: 14px;
  background:
    radial-gradient(circle at 42% 46%, rgba(222,219,200,.2), transparent 50%),
    radial-gradient(circle at 62% 60%, rgba(183,0,0,.28), transparent 55%),
    linear-gradient(150deg, #14100a, #0a0a0a);
  display: grid; place-items: center; color: rgba(225,224,204,.4);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.duo-mascot-img {
  display: block; width: 100%; border-radius: 14px;
  margin: 0 0 22px; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid rgba(222,219,200,.12);
  filter: saturate(.94) brightness(.92); transition: filter .3s ease;
}
.about-card:hover .duo-mascot-img { filter: saturate(1) brightness(1); }

/* 作品集（真实图片） */
.work-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px;
  margin-top: 20px;
}
.work-item {
  position: relative; margin: 0; aspect-ratio: 3/4; border-radius: 10px;
  overflow: hidden; cursor: zoom-in; background: #0a0a0a;
  border: 1px solid rgba(222,219,200,.1);
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.9) brightness(.86);
  transition: transform .5s cubic-bezier(.16,1,.3,1), filter .3s ease;
}
.work-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.work-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 10px 9px;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  color: rgba(225,224,204,.86); font-size: 10.5px; letter-spacing: .05em;
  text-transform: uppercase;
}

/* Lightbox */
.work-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center; padding: 5vw;
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px);
}
.work-lightbox.open { display: grid; }
.work-lightbox img {
  max-width: 100%; max-height: 88vh; border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(225,224,204,.3); background: rgba(0,0,0,.4);
  color: #e1e0cc; font-size: 24px; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: #dedbc8; color: #050505; }

/* ---- 法律页 ---- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 30px clamp(16px,4vw,40px) 90px; }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(222,219,200,.1);
}
.legal-toc a {
  padding: 7px 13px; border: 1px solid rgba(222,219,200,.14); border-radius: 999px;
  color: rgba(222,219,200,.66); font-size: 12.5px; transition: background .18s, color .18s;
}
.legal-toc a:hover { background: #dedbc8; color: #050505; }
.legal-body h2 {
  color: #e1e0cc; font-size: 22px; font-weight: 600; letter-spacing: -.02em;
  margin: 38px 0 14px; scroll-margin-top: 96px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: rgba(222,219,200,.72); font-size: 14.5px; line-height: 1.9; margin-bottom: 14px; }
.legal-body strong { color: #dedbc8; }
.legal-body ul { display: grid; gap: 8px; margin: 0 0 14px; }
.legal-body li { color: rgba(222,219,200,.7); font-size: 14.5px; line-height: 1.8; padding-left: 18px; position: relative; }
.legal-body li::before { content: "—"; position: absolute; left: 0; color: #b70000; }
.legal-lang-toggle {
  display: inline-flex; gap: 6px; margin-bottom: 26px;
  padding: 4px; border: 1px solid rgba(222,219,200,.16); border-radius: 999px;
}
.legal-lang-toggle button {
  min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(222,219,200,.6); font-size: 13px; cursor: pointer;
}
.legal-lang-toggle button.active { background: #dedbc8; color: #050505; }

/* ---- 空状态 ---- */
.empty { padding: 60px 20px; text-align: center; color: rgba(222,219,200,.5); font-size: 14px; }

/* ---- 响应式 ---- */
@media (max-width: 1000px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .prompt-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
  .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
}
@media (max-width: 680px) {
  .skill-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .flow-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .work-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ============================================================
   UI 增强：网格子项错峰入场 + 悬停细节
   ============================================================ */

/* 动态渲染的网格子项：错峰淡入上浮 */
@keyframes gridIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.skill-grid > *,
.prompt-grid > *,
.video-grid > *,
.flow-grid > *,
.masonry > *,
.work-strip > * {
  animation: gridIn .62s cubic-bezier(.16,1,.3,1) both;
}
.skill-grid > *:nth-child(n+1)  { animation-delay: .02s; }
.skill-grid > *:nth-child(3n+2), .prompt-grid > *:nth-child(2n), .video-grid > *:nth-child(3n+2) { animation-delay: .06s; }
.skill-grid > *:nth-child(3n),   .video-grid > *:nth-child(3n)                                  { animation-delay: .11s; }
.skill-grid > *:nth-child(6n+4), .prompt-grid > *:nth-child(2n+1)                               { animation-delay: .15s; }
.skill-grid > *:nth-child(6n+5)  { animation-delay: .19s; }
.skill-grid > *:nth-child(6n)    { animation-delay: .23s; }
.masonry > *:nth-child(2n)       { animation-delay: .08s; }
.masonry > *:nth-child(3n)       { animation-delay: .15s; }

/* 首位卡片略强的高光描边 */
.skill-card:first-child { border-color: rgba(222,219,200,.2); }

/* 图标 / 徽标悬停浮起 */
.skill-avatar, .tag-badge, .live-dot { transition: transform .3s cubic-bezier(.16,1,.3,1), filter .3s; }
.skill-card:hover .skill-avatar { transform: translateY(-2px) scale(1.04); }

/* 剧照悬停更细腻 */
.prompt-still img { transition: transform .7s cubic-bezier(.16,1,.3,1), filter .45s; }
.prompt-card:hover .prompt-still img { transform: scale(1.06); filter: saturate(1.02) brightness(.98); }

/* 章节标题的下划线动画 */
.section-title h2 {
  position: relative; display: inline-block;
}
.section-title h2::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: linear-gradient(90deg, #b70000, transparent);
  transition: width .6s cubic-bezier(.16,1,.3,1);
}
.section-wrap:hover .section-title h2::after,
.section-title:hover h2::after { width: 100%; }

/* 流程步骤序号发光 */
.flow-step .no { transition: text-shadow .35s, color .35s; }
.flow-step:hover .no { text-shadow: 0 0 14px rgba(183,0,0,.9); }

/* 标签 chips 点击反馈 */
.chip, .article-filter, .page-tab { transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .3s; }
.chip:active, .article-filter:active, .page-tab:active { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  .skill-grid > *, .prompt-grid > *, .video-grid > *,
  .flow-grid > *, .masonry > *, .work-strip > * { animation: none; }
}

/* ============================================================
   Skill ZIP 下载（列表页批量 + 单卡）
   ============================================================ */

/* ---- 工具栏里的批量打包按钮 ---- */
.zip-all {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 8px 0 18px; margin-left: auto;
  align-self: center; flex: 0 0 auto;
  border: 1px solid rgba(222,219,200,.3); border-radius: 999px;
  background: transparent; color: #dedbc8;
  font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap;
  transition: border-color .3s ease, color .3s ease, background .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.zip-all:hover:not(:disabled) {
  border-color: rgba(222,219,200,.62); color: #e1e0cc;
  transform: translateY(-2px);
  background: rgba(222,219,200,.05);
}
.zip-all:disabled { opacity: .45; cursor: not-allowed; }
.zip-all-arrow {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 999px; background: #b70000; color: #fff;
  font-size: 13px; transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.zip-all:hover:not(:disabled) .zip-all-arrow { transform: translateY(2px); }

.zip-all.is-busy { cursor: progress; }
.zip-all.is-busy .zip-all-arrow {
  color: transparent; background: none;
  border: 2px solid rgba(222,219,200,.24); border-top-color: #b70000;
  animation: zipSpin .7s linear infinite;
}
.zip-all.is-done { background: #63c98a; border-color: #63c98a; color: #0d1a12; }
.zip-all.is-done .zip-all-arrow { background: #0d1a12; color: #63c98a; }

/* ---- 单卡右上角下载按钮 ---- */
.skill-card { position: relative; }
.skill-dl {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(222,219,200,.24); border-radius: 999px;
  background: rgba(6,6,6,.62); backdrop-filter: blur(8px);
  color: rgba(222,219,200,.82); cursor: pointer;
  opacity: 0; transform: translateY(-6px) scale(.9);
  transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1),
              background .3s ease, border-color .3s ease, color .3s ease;
}
.skill-dl svg { width: 17px; height: 17px; }
/* 有海报时按钮要压在海报之上；悬停卡片或键盘聚焦时浮现 */
.skill-card:hover .skill-dl,
.skill-card:focus-within .skill-dl,
.skill-dl:focus-visible { opacity: 1; transform: translateY(0) scale(1); }
.skill-dl:hover { background: #b70000; border-color: #b70000; color: #fff; }
.skill-dl:active { transform: translateY(0) scale(.94); }

.skill-dl.is-busy {
  opacity: 1; transform: translateY(0) scale(1); cursor: progress;
  border-color: rgba(222,219,200,.3);
}
.skill-dl.is-busy svg { display: none; }
.skill-dl.is-busy::after {
  content: ""; width: 15px; height: 15px; border-radius: 999px;
  border: 2px solid rgba(222,219,200,.24); border-top-color: #b70000;
  animation: zipSpin .7s linear infinite;
}
.skill-dl.is-done {
  opacity: 1; transform: translateY(0) scale(1);
  background: #63c98a; border-color: #63c98a; color: #0d1a12;
}
.skill-dl.is-fail {
  opacity: 1; transform: translateY(0) scale(1);
  background: #b70000; border-color: #b70000; color: #fff;
}

/* 安全扫描未通过：常显提示图标，不可点击 */
.skill-dl-off {
  opacity: 1; transform: translateY(0) scale(1);
  cursor: not-allowed; color: #d6a75c;
  border-color: rgba(214,167,92,.4);
  background: rgba(24,16,6,.72);
}
.skill-card:hover .skill-dl-off { background: rgba(24,16,6,.72); color: #d6a75c; }
.skill-dl-off svg { width: 16px; height: 16px; }

/* 触屏设备：常显下载按钮 */
@media (hover: none) {
  .skill-dl { opacity: 1; transform: none; }
}

@keyframes zipSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .zip-all.is-busy .zip-all-arrow,
  .skill-dl.is-busy::after { animation-duration: 1.6s; }
}

@media (max-width: 760px) {
  .zip-all { margin-left: 0; width: 100%; justify-content: center; }
}

/* ============================================================
   VibePaper 外部技能库（skill.html 切换视图）
   ============================================================ */

/* 来源切换器：白日梦原创 / VibePaper */
.source-switch {
  width: fit-content; max-width: 1160px; margin: 18px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; position: relative; z-index: 5;
}
.source-switch .ss-btn {
  min-height: 38px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(222,219,200,.18); background: rgba(255,255,255,.03);
  color: rgba(222,219,200,.7); font: 600 13.5px/1 var(--sans, system-ui); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.source-switch .ss-btn:hover { border-color: rgba(222,219,200,.4); color: #e1e0cc; }
.source-switch .ss-btn.active {
  background: #dedbc8; color: #050505; border-color: #dedbc8; font-weight: 700;
}

/* 视图切换：默认显示白日梦，切到 VibePaper 时隐藏白日梦区块与 hero，显示单一面板 */
#vpPanel { display: none; }
body.show-vp #bmWrap { display: none; }
body.show-vp .subhero { display: none; }
body.show-vp #vpPanel { display: block; }
/* VibePaper / 站长 Skill 库模式下 subhero 被隐藏，需补回顶部间距，
   避免切换器被固定导航栏 nav-pill 遮挡（用户反馈过「按钮看不全」） */
body.show-vp, body.show-sp { padding-top: 72px; }

/* ===== 站长 Skill 库（第三个来源，实时同步） ===== */
#spPanel { display: none; }
body.show-sp #bmWrap { display: none; }
body.show-sp .subhero { display: none; }
body.show-sp #vpPanel { display: none; }
body.show-sp #spPanel { display: block; }

.sp-simple {
  max-width: 960px; margin: 26px auto 0; padding: 30px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(222,219,200,.12); border-radius: 18px;
  background: #0b0b0b; box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.sp-simple code {
  font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #d6a75c; background: rgba(214,167,92,.1);
  padding: 1px 5px; border-radius: 4px;
}
.sp-state { display: inline-block; margin-left: 6px; font-size: 12px; }
.sp-state.is-live { color: #8fbf9f; }
.sp-state.is-offline { color: #d6a75c; }

.sp-search { margin: 0 0 16px; }
.sp-search input {
  width: 100%; box-sizing: border-box; min-height: 42px; padding: 0 14px;
  border-radius: 10px; border: 1px solid rgba(222,219,200,.18);
  background: rgba(255,255,255,.03); color: #e1e0cc;
  font: 14px/1 var(--sans, system-ui); outline: none;
}
.sp-search input:focus { border-color: rgba(214,167,92,.55); }
.sp-search input::placeholder { color: rgba(222,219,200,.42); }

.sp-list { display: flex; flex-direction: column; gap: 10px; }
.sp-empty { padding: 26px 0; text-align: center; color: rgba(222,219,200,.5); font-size: 13.5px; }
.sp-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border: 1px solid rgba(222,219,200,.1); border-radius: 12px;
  background: rgba(255,255,255,.02); transition: border-color .18s, background .18s;
}
.sp-row:hover { border-color: rgba(214,167,92,.35); background: rgba(214,167,92,.04); }
.sp-row__main { display: flex; gap: 12px; align-items: flex-start; flex: 1 1 420px; min-width: 0; }
.sp-row__no { color: rgba(222,219,200,.38); font: 600 12px/1.6 ui-monospace, monospace; flex: 0 0 auto; }
.sp-row__body { min-width: 0; }
.sp-row__body b { color: #e1e0cc; font-size: 15px; font-weight: 650; }
.sp-row__id { margin-left: 8px; font-size: 11px !important; color: rgba(222,219,200,.45) !important; background: none !important; padding: 0 !important; }
.sp-row__body p {
  margin: 6px 0 0; color: rgba(222,219,200,.62); font-size: 12.8px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-dl {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 38px; padding: 0 14px; border-radius: 9px; text-decoration: none;
  background: rgba(214,167,92,.13); color: #e7c48a; border: 1px solid rgba(214,167,92,.4);
  font: 600 13px/1 var(--sans, system-ui); transition: background .18s, transform .18s;
}
.sp-dl:hover { background: rgba(214,167,92,.22); transform: translateY(-1px); }
.sp-dl i { font-style: normal; font-size: 11px; color: rgba(222,219,200,.5); }

.sp-howto {
  margin-top: 26px; padding: 18px 20px; border-radius: 12px;
  border: 1px solid rgba(222,219,200,.1); background: rgba(255,255,255,.02);
}
.sp-howto h3 { margin: 0 0 12px; color: #dedbc8; font-size: 15px; font-weight: 650; }
.sp-howto ol { margin: 0; padding-left: 20px; color: rgba(222,219,200,.7); font-size: 13px; line-height: 1.9; }
.sp-howto li b { color: #e1e0cc; }
@media (max-width: 640px) {
  .sp-row { flex-direction: column; align-items: stretch; }
  .sp-dl { justify-content: center; width: 100%; }
}

/* VibePaper 单一简洁面板（整站深色 + 金/红强调，不再另起界面、不嵌多卡片） */
.vp-simple {
  max-width: 760px; margin: 26px auto 0; padding: 30px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(222,219,200,.12); border-radius: 18px;
  background: #0b0b0b; box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.vp-simple__kicker {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  border: 1px solid rgba(214,167,92,.4); background: rgba(214,167,92,.1);
  color: #d6a75c; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.vp-simple__title { color: #e1e0cc; font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; }
.vp-simple__desc { color: rgba(222,219,200,.72); font-size: 14px; line-height: 1.72; margin: 0 0 22px; }
.vp-simple__desc b { color: #dedbc8; }
.vp-simple__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-primary.vp-go {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 11px; text-decoration: none; cursor: pointer;
  background: linear-gradient(135deg, #b70000, #d6a75c); color: #fff; font: 700 14px/1 var(--sans, system-ui);
  border: 1px solid transparent; transition: transform .18s, filter .18s;
}
.btn-primary.vp-go:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 11px; cursor: pointer;
  background: rgba(222,219,200,.06); color: #dedbc8; font: 600 14px/1 var(--sans, system-ui);
  border: 1px solid rgba(222,219,200,.2); transition: background .18s, border-color .18s, transform .18s;
}
.btn-ghost:hover { background: rgba(222,219,200,.12); border-color: rgba(222,219,200,.4); transform: translateY(-1px); }
.btn-ghost:disabled { opacity: .55; cursor: progress; transform: none; }
.vp-simple__label { display: block; color: rgba(222,219,200,.6); font-size: 12px; letter-spacing: .06em; margin-bottom: 8px; text-transform: uppercase; }
.vp-simple__mcp .code-block { margin-top: 0; }
.vp-simple__tip { margin: 16px 0 0; color: rgba(222,219,200,.5); font-size: 12px; line-height: 1.6; }

/* ===== 最新动态（白底卡片，与主站首页色调一致） ===== */
.mk-live {
  padding: 24px clamp(16px, 3vw, 30px) 22px; margin-bottom: 26px;
  background: #fff; border: 1px solid #E3E5E7; border-radius: 18px;
  box-shadow: 0 12px 38px -26px rgba(0,0,0,.55);
}
.mk-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.mk-head h2 { color: #18191C; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.mk-count { color: #61666D; font-size: 12.5px; letter-spacing: .04em; }
.mk-live__tip { color: #61666D; font-size: 13px; line-height: 1.7; margin: 0 0 18px; }
.mk-live__tip b { color: #2563EB; font-weight: 600; }
.mk-list {
  border: 1px solid #E3E5E7; border-radius: 14px;
  background: #fff; overflow: hidden;
}
.mk-row {
  display: flex; align-items: flex-start; gap: 14px; padding: 15px 18px;
  border-bottom: 1px solid #EDEFF1; text-decoration: none;
  transition: background .18s;
}
.mk-row:last-child { border-bottom: 0; }
.mk-row:hover { background: #EFF6FF; }
.mk-row__no {
  flex: 0 0 26px; color: #2563EB; font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums; padding-top: 3px;
}
.mk-row__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mk-row__main b {
  color: #18191C; font-size: 14.5px; font-weight: 700; line-height: 1.5;
  word-break: break-word;
}
.mk-row__main i {
  color: #61666D; font-size: 12.5px; font-style: normal; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mk-row__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: #9499A0; font-size: 11.5px; margin-top: 2px;
}
.mk-tag {
  font-style: normal; padding: 2px 8px; border-radius: 999px;
  border: 1px solid #DBEAFE; color: #1E40AF; background: #EFF6FF;
}
.mk-row__thumb { flex: 0 0 96px; height: 66px; border-radius: 9px; overflow: hidden; background: #F1F2F4; display: block; }
.mk-row__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mk-row__go { flex: 0 0 auto; color: #9499A0; font-size: 15px; padding-top: 2px; transition: color .18s; }
.mk-row:hover .mk-row__go { color: #2563EB; }
.mk-empty { padding: 26px 18px; color: #9499A0; font-size: 13px; text-align: center; }
.mk-live__foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.mk-live__foot .btn-ghost {
  min-height: 36px; padding: 0 16px; font-size: 13px;
  color: #2563EB; border-color: #DBEAFE; background: #EFF6FF;
}
.mk-live__foot .btn-ghost:hover { background: #DBEAFE; border-color: #2563EB; color: #1E40AF; }
.mk-live__foot a { color: #61666D; font-size: 13px; text-decoration: none; transition: color .18s; }
.mk-live__foot a:hover { color: #2563EB; }
@media (max-width: 640px) {
  .mk-live { padding: 18px 14px 16px; }
  .mk-row { padding: 13px 12px; gap: 10px; }
  .mk-row__no { flex-basis: 20px; }
  .mk-row__thumb { flex-basis: 64px; height: 52px; }
  .mk-row__main b { font-size: 13.5px; }
}
