/* 蓝贴页专用样式：只用 .blue-* / .blues 选择器，不影响全站。由 apply-blues.mjs 复制到 /blue/blue.css */
.blue-article { max-width: 720px; margin: 0 auto; }
.blue-article > h1 { font-size: 30px; line-height: 1.4; margin: 0 0 16px; color: var(--cream); }
.blue-article > time.gold { margin-bottom: 10px; }
.blue-article .blue-hero { margin: 0 0 24px; }
.blue-article .blue-hero img {
  width: 100%; max-width: 720px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px;
}
.blue-body { font-size: 17px; line-height: 1.85; color: var(--cream); }
.blue-body p { margin: 0 0 1em; }
.blue-body h2 {
  font-size: 22px; line-height: 1.4; margin: 2em 0 .8em; padding-left: 10px;
  border-left: 3px solid var(--gold); color: var(--gold); scroll-margin-top: 90px;
}
.blue-body h3 { font-size: 18px; line-height: 1.5; margin: 1.6em 0 .6em; color: var(--cream); scroll-margin-top: 90px; }
.blue-body h3::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 3px 2px;
  border-radius: 50%; background: var(--gold); vertical-align: middle;
}
.blue-body .blue-sub { font-size: 14px; line-height: 1.6; margin: 1.2em 0 .4em; color: var(--muted); letter-spacing: .04em; }
.blue-body .blue-term { color: var(--cream); font-weight: 700; margin-right: .2em; }
.blue-body ul { margin: 0 0 1em; padding-left: 1.4em; }
.blue-body li { margin: .4em 0; }
.blue-body li::marker { color: var(--teal-bright); }
.blue-body .blue-fig { margin: 0 0 1.2em; }
.blue-body .blue-fig img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }
.blue-body .blue-gallery { gap: 16px; margin: 0 0 1.2em; }
.blue-body .blue-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; }
.blue-body .blue-table-wrap .guide-table { margin: 0; font-size: 15px; line-height: 1.6; }
.blue-body .blue-price { width: 100%; border-collapse: collapse; }
.blue-body .blue-price th { text-align: left; white-space: nowrap; }
.blue-body .blue-price td, .blue-body .blue-price th { padding: 7px 12px; }
.blue-body .blue-price .blue-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.blue-body .blue-price td.blue-old { color: var(--muted); }
.blue-body .blue-price td.blue-new { color: var(--uncommon); font-weight: 600; }
.blue-body .blue-price tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .035); }
.blue-body .blue-price .blue-pnote { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.blue-toc {
  display: block;
  margin: 0 0 28px; padding: 14px 18px; background: var(--bg-2);
  border: 1px solid var(--line); border-left: 3px solid var(--teal-bright); border-radius: 4px;
}
.blue-toc strong { display: block; margin-bottom: 6px; color: var(--cream); font-size: 15px; }
.blue-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 24px; font-size: 15px; line-height: 1.9; }
.blue-toc a { color: var(--teal-bright); }
.blue-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 50; padding: 8px 14px; border-radius: 20px;
  background: var(--header); border: 1px solid var(--line); color: var(--cream); font-size: 14px;
}
.blue-top:hover { text-decoration: none; border-color: var(--gold); color: var(--gold); }
/* 首页蓝贴列表 */
.blues { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 16px; }
.blues .blue-card.has-art {
  display: flex; flex-direction: column; height: auto; padding: 0; border-left-width: 1px;
  border-top: 3px solid var(--teal-bright); border-radius: 4px; overflow: hidden;
}
.blues .blue-card.has-art > img, .blues .blue-card > .blue-ph { width: 100%; height: 170px; flex: none; }
.blues .blue-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--bg-2) 70%);
}
.blues .blue-ph > img {
  width: auto; height: auto; max-width: 58%; max-height: 72%;
  object-fit: contain; display: block; pointer-events: none;
}
.blues .blue-card.has-art .blue-copy { padding: 12px 16px 14px; }
.blues .blue-card.has-art .blue-copy strong { -webkit-line-clamp: 2; line-height: 1.5; font-size: 16px; }
.blues .blue-card.has-art .blue-copy p { -webkit-line-clamp: 2; line-height: 1.6; color: rgba(243, 238, 226, .85); }
.blues.is-folded .blue-card:nth-child(n+13) { display: none; }
.blues-more {
  display: block; margin: -12px auto 28px; padding: 9px 28px; cursor: pointer; font: inherit; font-size: 15px;
  color: var(--cream); background: var(--bg-2); border: 1px solid var(--teal-bright); border-radius: 4px;
}
.blues-more:hover { border-color: var(--gold); color: var(--gold); }
.blues-more[hidden] { display: none; }
@media (max-width: 640px) {
  .blues { grid-template-columns: 1fr; gap: 12px; }
  .blues .blue-card.has-art > img, .blues .blue-card > .blue-ph { height: 150px; }
  .blue-article > h1 { font-size: 22px; }
  .blue-body { font-size: 16px; line-height: 1.8; }
  .blue-body h2 { font-size: 20px; }
  .blue-body h3 { font-size: 17px; }
  .blue-toc ol { columns: 1; }
  .blue-body .blue-price { font-size: 14px; }
  .blue-body .blue-price td, .blue-body .blue-price th { padding: 6px 8px; }
  .blue-top { right: 12px; bottom: 16px; }
}
/* 技能改动卡片 */
.blue-body .sc-sub { margin: 1.4em 0 .5em; font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.blue-body .spell-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: .4em 0 1em; }
.blue-body .spell-card { background: var(--bg-2, rgba(0, 0, 0, .28)); border: 1px solid rgba(243, 238, 226, .12); border-left: 3px solid var(--teal-bright); border-radius: 4px; padding: 12px 14px; font-size: 15px; line-height: 1.7; }
.blue-body .sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.blue-body .sc-icon { width: 36px; height: 36px; flex: none; border-radius: 4px; border: 1px solid rgba(243, 238, 226, .25); }
.blue-body .sc-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: var(--cream); font-size: 16px; }
.blue-body .sc-name { font-size: 17px; color: var(--gold); }
.blue-body .sc-name a { color: inherit; text-decoration: none; }
.blue-body .sc-name a:hover { text-decoration: underline; }
.blue-body .sc-tag { font-size: 12px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--teal-bright); color: var(--teal-bright); }
.blue-body .sc-desc, .blue-body .sc-note { margin: 0 0 6px; color: rgba(243, 238, 226, .9); }
.blue-body .sc-note { font-size: 14px; color: var(--muted); }
.blue-body .sc-x { color: var(--gold); font-weight: 700; padding: 0 1px; }
.blue-body .sc-ranks { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 14px; }
.blue-body .sc-ranks th, .blue-body .sc-ranks td { padding: 4px 8px; border-bottom: 1px solid rgba(243, 238, 226, .1); text-align: left; white-space: nowrap; }
.blue-body .sc-ranks th { color: var(--muted); font-weight: 400; }
.blue-body .sc-ranks td:not(:first-child) { color: var(--gold); font-variant-numeric: tabular-nums; }
.blue-body .sc-ranklist { margin: 6px 0; padding-left: 1.1em; font-size: 14px; }
.blue-body .sc-ranklist b { margin-right: .5em; color: var(--gold); font-weight: 400; }
.blue-body .sc-fold summary, .blue-body .sc-more summary { cursor: pointer; color: var(--teal-bright); font-size: 14px; margin: 4px 0; }
.blue-body .sc-more > summary { display: inline-block; padding: 6px 18px; border: 1px solid var(--teal-bright); border-radius: 4px; margin: 0 0 12px; }
.blue-body .sc-more[open] > summary { margin-bottom: 8px; }
.blue-body .sc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.blue-body .sc-chip { font-size: 13px; padding: 2px 10px; border-radius: 12px; background: rgba(214, 170, 80, .12); border: 1px solid rgba(214, 170, 80, .45); color: var(--cream); }
.blue-body .sc-chip b { color: var(--gold); font-weight: 600; margin-right: 4px; }
.blue-body .sc-chip i { font-style: normal; color: var(--muted); }
@media (max-width: 640px) {
  .blue-body .spell-cards { grid-template-columns: 1fr; }
  .blue-body .spell-card { font-size: 14px; padding: 10px 12px; }
}
/* 编辑版：类型、导语、要点、引用、提示框 */
.blue-article .blue-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.blue-article .blue-type { font-size: 12px; padding: 1px 10px; border-radius: 10px; border: 1px solid var(--teal-bright); color: var(--teal-bright); letter-spacing: .1em; }
.blue-article .blue-lead { font-size: 18px; line-height: 1.75; margin: 16px 0 12px; color: var(--cream); }
.blue-article .blue-lead strong { font-weight: 700; }
.blue-article .blue-points { margin: 0 0 20px; padding: 12px 16px 10px; background: var(--bg-2, rgba(0, 0, 0, .28)); border: 1px solid rgba(214, 170, 80, .35); border-left: 3px solid var(--gold); border-radius: 4px; }
.blue-article .blue-points > strong { display: block; color: var(--gold); font-size: 14px; letter-spacing: .2em; margin-bottom: 4px; }
.blue-article .blue-points ul { margin: 0; padding-left: 1.2em; line-height: 1.8; }
.blue-body .blue-quote { margin: 1em 0; padding: 10px 16px; border-left: 3px solid var(--teal-bright); background: rgba(255, 255, 255, .04); border-radius: 0 4px 4px 0; }
.blue-body .blue-quote p { margin: 0; font-size: 16px; }
.blue-body .blue-quote cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.blue-body .blue-callout { margin: 1em 0; padding: 10px 14px; border-radius: 4px; border: 1px solid; line-height: 1.7; }
.blue-body .blue-callout b { margin-right: 8px; }
.blue-body .blue-callout.is-warn { border-color: rgba(230, 120, 80, .6); background: rgba(230, 120, 80, .1); }
.blue-body .blue-callout.is-warn b { color: #f0a070; }
.blue-body .blue-callout.is-key { border-color: rgba(214, 170, 80, .6); background: rgba(214, 170, 80, .1); }
.blue-body .blue-callout.is-key b { color: var(--gold); }
@media (max-width: 640px) {
  .blue-article .blue-lead { font-size: 16px; }
  .blue-article .blue-points { padding: 10px 12px 8px; }
}

/* ===== 第二批组件 ===== */
.blue-article .blue-timeline { margin: 14px 0 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: var(--bg-2, rgba(0,0,0,.28)); }
.blue-timeline h3 { margin: 0 0 10px; font-size: 15px; color: var(--gold); }
.blue-timeline h3 small { margin-left: 8px; font-size: 12px; font-weight: normal; opacity: .7; color: inherit; }
.blue-timeline ol { list-style: none; margin: 0; padding: 0; }
.blue-timeline .bt-item { display: flex; gap: 12px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.1); }
.blue-timeline .bt-item:first-child { border-top: 0; }
.blue-timeline .bt-date { flex: 0 0 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 4px; border-radius: 4px; background: rgba(240,190,80,.12); border: 1px solid rgba(240,190,80,.35); }
.blue-timeline .bt-date b { font-size: 16px; color: var(--gold); }
.blue-timeline .bt-date small { font-size: 12px; opacity: .8; }
.blue-timeline .bt-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.5; }
.blue-timeline .bt-text span { font-size: 13px; opacity: .8; }
.blue-article .blue-video { display: flex; gap: 14px; align-items: center; margin: 14px 0 18px; padding: 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); background: var(--bg-2, rgba(0,0,0,.28)); text-decoration: none; color: inherit; }
.blue-video .bv-thumb { position: relative; flex: 0 0 200px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #000; }
.blue-video .bv-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.blue-video .bv-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff; }
.blue-video .bv-play::after { content: ""; position: absolute; left: 17px; top: 12px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.blue-video .bv-text { display: flex; flex-direction: column; gap: 4px; }
.blue-video .bv-text em { font-style: normal; color: var(--gold); font-size: 14px; }
.blue-body .pt-sum { font-size: 14px; opacity: .85; }
.blue-body .pt-wrap { overflow-x: auto; margin: 8px 0 12px; }
.blue-body .price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.blue-body .price-table th, .blue-body .price-table td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; vertical-align: top; }
.blue-body .price-table th { color: var(--gold); font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.04); }
.blue-body .price-table .pt-num { white-space: nowrap; }
.blue-body .price-table .pt-pct { white-space: nowrap; font-weight: 600; text-align: right; }
.blue-body .price-table .pt-pct.is-down { color: #e8806a; }
.blue-body .price-table .pt-pct.is-up { color: #7fd17f; }
.blue-body .pt-cmp { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.blue-body .chip { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 12px; background: rgba(255,255,255,.07); }
.blue-body .chip.is-chg { background: rgba(240,190,80,.14); color: var(--gold); }
.blue-article .blue-more { margin: 6px 0 14px; }
.blue-article .blue-more > summary { cursor: pointer; color: var(--gold); font-size: 14px; padding: 6px 0; }
.blue-article .blue-refs { margin: 22px 0 10px; }
.blue-refs h3 { font-size: 16px; color: var(--gold); margin: 0 0 10px; }
.blue-refs .br-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.blue-refs .blue-ref { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 5px; border: 1px solid rgba(255,255,255,.1); background: var(--bg-2, rgba(0,0,0,.28)); text-decoration: none; color: inherit; }
.blue-refs a.blue-ref:hover { border-color: rgba(240,190,80,.5); }
.blue-refs .blue-ref img, .blue-refs .br-noico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); }
.blue-refs .br-noico { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; background: rgba(255,255,255,.06); }
.blue-refs .br-text { display: flex; flex-direction: column; min-width: 0; }
.blue-refs .br-text small { font-size: 12px; opacity: .7; }
.blue-refs .q2 strong { color: #1eff00; } .blue-refs .q3 strong { color: #0070dd; } .blue-refs .q4 strong { color: #a335ee; } .blue-refs .q5 strong { color: #ff8000; }
@media (max-width: 640px) {
  .blue-video { flex-direction: column; align-items: stretch; }
  .blue-video .bv-thumb { flex-basis: auto; }
  .blue-timeline .bt-date { flex-basis: 76px; }
  .blue-body .price-table { font-size: 13px; }
  .blue-body .price-table th, .blue-body .price-table td { padding: 5px 5px; }
}

/* 蓝贴列表页 */
.blues-all { margin: 8px 0 0; text-align: right; }
.blues-all a { color: var(--gold); }
.blue-list .bl-list { list-style: none; margin: 14px 0; padding: 0; }
.blue-list .bl-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.blue-list .bl-item a { display: flex; flex-direction: column; gap: 4px; padding: 12px 4px; text-decoration: none; color: inherit; }
.blue-list .bl-item a:hover strong { color: var(--gold); }
.blue-list .bl-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; opacity: .85; }
.blue-list .bl-item strong { font-size: 17px; line-height: 1.4; }
.blue-list .bl-sum { font-size: 14px; opacity: .75; line-height: 1.6; }
.blue-list .bl-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0; }
.blue-list .bl-pager a, .blue-list .bl-pager b, .blue-list .bl-pager span { padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,.12); }
.blue-list .bl-pager b { background: rgba(240,190,80,.18); color: var(--gold); }
.blue-list .bl-pager .is-off { opacity: .4; }
.blue-list .bl-pager a, .blue-list .bl-pager b, .blue-list .bl-pager span { flex: 0 0 auto; min-width: auto; }
.blue-article .blue-followup a { color: var(--gold); }
