/* ============================================================
   AI Marketing Employee · 线路调度台
   世界：午夜蓝搪瓷 + 瓷白站牌 + 四色线路（主线蓝/返工红/调度琥珀/待发车灰）
   ============================================================ */

@font-face {
  font-family: "Overpass";
  src: url("/static/fonts/overpass-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("/static/fonts/overpass-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #101A3C;
  --panel: #16224A;
  --line: #2C3B72;
  --line-soft: #1D2A57;
  --ink: #F2F4F8;
  --ink-dim: #98A5CD;
  --ink-faint: #7E8CC2;
  --main: #2E6FD8;
  --retry: #E0433C;
  --dispatch: #F0A322;
  --beacon: #3A4778;
  --ok: #35A46F;
  --font-cn: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-data: "Overpass", var(--font-cn);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-cn);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--main); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; border: 2px solid var(--panel); }
::-webkit-scrollbar-track { background: transparent; }

.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

/* ---------------- 布局 ---------------- */
#app { height: 100vh; display: flex; flex-direction: column; min-height: 600px; }

.topbar {
  height: 64px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; border-bottom: 1px solid var(--line); background: var(--ground);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { flex: none; }
.brand-text strong { display: block; font-family: var(--font-data); font-size: 19px; font-weight: 700; letter-spacing: .01em; }
.brand-text span { display: block; font-size: 12px; color: var(--ink-dim); margin-top: 2px; }

.topbar-right { display: flex; align-items: center; gap: 18px; }
.modes { display: flex; gap: 6px; }
.mode {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-size: 13.5px; font-family: var(--font-cn);
  cursor: pointer; transition: all .3s var(--ease);
}
.mode:hover:not(:disabled):not(.is-on) { color: var(--ink); border-color: var(--ink-dim); }
.mode.is-on { background: var(--ink); color: var(--ground); border-color: var(--ink); font-weight: 600; }
.mode:disabled { opacity: .45; cursor: not-allowed; }

.conn { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-dim); }
.conn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--beacon); transition: background .3s; }
.conn.is-ok .conn-dot { background: var(--ok); }
.conn.is-bad .conn-dot { background: var(--retry); }

.workspace {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: 316px minmax(400px, 1fr) 540px;
  gap: 1px; background: #0B1330;
}
.panel { background: var(--panel); min-height: 0; min-width: 0; }

/* ---------------- 左栏：输入 ---------------- */
.input-panel { display: flex; flex-direction: column; padding: 22px 20px; }
.panel-title { font-size: 17px; font-weight: 700; }
.field-label { font-size: 13px; color: var(--ink-dim); margin: 16px 0 8px; }
#req {
  width: 100%; min-height: 112px; resize: vertical;
  background: var(--ground); border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); padding: 12px 14px; font-size: 14.5px; line-height: 1.65;
  font-family: var(--font-cn); transition: border-color .3s var(--ease);
}
#req::placeholder { color: #8391C6; }
#req:focus { border-color: var(--main); outline: none; }
#req:disabled { opacity: .6; }

.chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-size: 13px; font-family: var(--font-cn);
  cursor: pointer; transition: all .25s var(--ease);
}
.chip:hover:not(:disabled) { border-color: var(--main); color: var(--ink); }
.chip:disabled { opacity: .45; cursor: not-allowed; }

.primary {
  margin-top: auto; padding: 15px 0; border-radius: 8px; border: none;
  background: var(--ink); color: #0F1830; font-size: 16.5px; font-weight: 700;
  font-family: var(--font-cn); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s;
}
.primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(242, 244, 248, .12); }
.primary:active:not(:disabled) { transform: translateY(0); }
.primary:disabled { opacity: .4; cursor: not-allowed; }

.hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; min-height: 40px; }

/* ---------------- 中栏：执行线路 ---------------- */
.flow-panel { display: flex; flex-direction: column; padding: 20px 22px 14px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; flex: none; }
.panel-note { font-size: 12.5px; letter-spacing: .14em; color: var(--ink-faint); }

.route-wrap { position: relative; flex: none; }
#route { width: 100%; height: auto; display: block; }

/* 主线区段：底色 + 生长层（draw-on） */
.seg-base { stroke: var(--line-soft); stroke-width: 9; stroke-linecap: round; }
.seg { stroke: var(--main); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.seg.is-on { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); }

/* 站点 */
.st .ring { fill: var(--ground); stroke: var(--beacon); stroke-width: 6; transition: stroke .5s var(--ease), fill .5s var(--ease), stroke-dasharray .4s; }
.st .core { fill: var(--beacon); transition: fill .5s var(--ease); }
.st .pulse { fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.st .st-name { fill: var(--ink); font-size: 18px; font-weight: 600; text-anchor: middle; transition: opacity .4s; }
.st .st-state { fill: var(--ink-dim); font-size: 15px; letter-spacing: .08em; text-anchor: middle; transition: fill .4s; font-variant-numeric: tabular-nums; }

.st.is-run .ring { stroke: var(--ink); }
.st.is-run .core { fill: var(--ink); }
.st.is-run .pulse { animation: pulse 1.8s var(--ease) infinite; }
.st.is-run .st-state { fill: var(--ink); }

.st.is-done .ring { stroke: var(--main); fill: var(--main); }
.st.is-done .core { fill: var(--ink); }
.st.is-done .st-state { fill: var(--main); }

.st .ring2 { fill: none; stroke: var(--main); stroke-width: 3; opacity: 0; transition: opacity .6s var(--ease); }
.st.is-done .ring2 { opacity: 1; }
.st.is-degraded .ring { stroke: var(--dispatch); fill: var(--dispatch); }
.st.is-degraded .core { fill: var(--ground); }
.st.is-degraded .st-state { fill: var(--dispatch); }

.st.is-skipped { opacity: .5; }
.st.is-skipped .ring { stroke: var(--line-soft); stroke-dasharray: 4 3; fill: var(--ground); }
.st.is-skipped .core { fill: var(--line-soft); }
.st.is-skipped .st-state { fill: var(--ink-faint); }

@keyframes pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* 返工支线 */
.retry-line {
  fill: none; stroke: var(--retry); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 178; stroke-dashoffset: 178;
  transition: stroke-dashoffset .9s var(--ease);
}
.retry-line.is-on { stroke-dashoffset: 0; }
.retry-tag { fill: var(--retry); font-size: 13px; letter-spacing: .14em; opacity: 0; transition: opacity .5s .55s; }
.retry-tag.is-on { opacity: 1; }
.retry-arrow { fill: var(--ground); stroke: var(--retry); stroke-width: 2.5; opacity: 0; transition: opacity .5s .55s; }
.retry-arrow.is-on { opacity: 1; }

/* 调度注（跟随站点） */
.dispatch-pop {
  position: absolute; top: 2px; left: 50%;
  --tx: -50%;
  transform: translateX(var(--tx));
  background: #33270F; border: 1px solid var(--dispatch); border-radius: 8px;
  padding: 9px 14px; max-width: 344px;
  transition: left .55s var(--ease), opacity .35s var(--ease);
  opacity: 1;
}
.dispatch-pop[hidden] { display: none; }
.dispatch-pop.is-out { opacity: 0; }
.dispatch-pop.is-left { --tx: 0%; }
.dispatch-pop.is-right { --tx: -100%; }
.dispatch-pop.is-pop { animation: pop-in .45s var(--ease); }
@keyframes pop-in {
  from { opacity: 0; transform: translateX(var(--tx)) translateY(6px) scale(.97); }
  to   { opacity: 1; transform: translateX(var(--tx)) translateY(0) scale(1); }
}
.dispatch-pop::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px;
  background: #33270F; border-right: 1px solid var(--dispatch); border-bottom: 1px solid var(--dispatch);
  transform: translateX(-50%) rotate(45deg);
}
.dispatch-pop.is-left::after { left: 24px; }
.dispatch-pop.is-right::after { left: calc(100% - 24px); }
.dp-line { display: flex; gap: 9px; align-items: flex-start; }
.dp-tag { color: var(--dispatch); font-size: 11.5px; letter-spacing: .1em; white-space: nowrap; padding-top: 2px; }
.dp-text { color: #F3DCB2; font-size: 12.5px; line-height: 1.55; }

/* 执行流列表 */
.stream {
  list-style: none; flex: 1; min-height: 90px; overflow-y: auto;
  margin-top: 14px; padding: 2px 4px 6px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ev {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ground); border: 1px solid var(--line-soft);
  animation: enter .5s var(--ease);
}
@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ev-name { font-size: 14px; font-weight: 600; }
.ev-state { margin-left: auto; width: 74px; text-align: right; font-size: 12px; letter-spacing: .1em; color: var(--ink-dim); white-space: nowrap; }
.ev-state.is-done { color: var(--main); }
.ev-state.is-degraded { color: var(--dispatch); }
.ev-time { width: 52px; text-align: right; font-size: 12px; color: var(--ink-faint); white-space: nowrap; margin-left: 12px; font-variant-numeric: tabular-nums; }

.ev-idle {
  justify-content: center; color: var(--ink-faint); font-size: 13px;
  background: transparent; border-style: dashed; padding: 16px 14px;
}
.ev-decision { background: #241D0E; border-color: #57431A; }
/* 上一轮运行记录：首屏回填时的说明行（实线，区别于待发车虚线） */
.ev-hist { border-style: solid; border-color: var(--line-soft); color: var(--ink-dim); padding: 11px 14px; }

/* LLM 调用记录（数据匣） */
.ev-llm { padding: 0; display: block; }
.llm-head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; background: none; border: none; cursor: pointer;
  font-family: var(--font-cn); text-align: left; border-radius: 8px;
}
.llm-head:hover { background: rgba(46, 111, 216, .08); }
.llm-tag {
  font-size: 10.5px; letter-spacing: .12em; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; white-space: nowrap;
}
.llm-purpose { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.llm-meta { margin-left: auto; font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }
.llm-caret { font-size: 14px; color: var(--ink-dim); width: 18px; text-align: center; flex: none; }
.llm-body { padding: 2px 14px 12px; }
.llm-field { margin-top: 8px; }
.llm-field b { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; color: var(--ink-dim); margin-bottom: 5px; }
.llm-field pre {
  margin: 0; padding: 10px 12px; background: #0D1631; border: 1px solid var(--line-soft);
  border-radius: 6px; font-family: var(--font-data); font-size: 12px; line-height: 1.7;
  color: var(--ink-dim); white-space: pre-wrap; word-break: break-word;
  max-height: 190px; overflow-y: auto;
}
.ev-decision .ev-tag { color: var(--dispatch); font-size: 11.5px; letter-spacing: .12em; white-space: nowrap; margin-top: 1px; }
.ev-decision .ev-text { color: #F3DCB2; font-size: 13px; line-height: 1.6; }

/* ---------------- 右栏：报告 ---------------- */
.result-panel { display: flex; flex-direction: column; padding: 20px 22px 16px; }
.report { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }

.report-skeleton { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.sk { height: 13px; border-radius: 4px; background: var(--line-soft); animation: sk 1.6s ease-in-out infinite; }
@keyframes sk { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.report-idle { margin-top: 18px; font-size: 13px; color: var(--ink-faint); line-height: 1.7; }

/* 交付成果：首屏即成果（海报 + 主标语），文案与清单在下 */
.dlv { animation: enter .6s var(--ease); padding-bottom: 6px; flex: none; }
.dlv-kicker { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-faint); }
.dlv-title { margin-top: 8px; font-size: 21px; line-height: 1.4; }
.dlv-meta {
  margin-top: 7px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-dim);
}
.dlv-meta .mono { letter-spacing: .04em; }
.dlv-meta .meta-dot { color: var(--line); }
.dlv-sub { margin-top: 20px; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: .08em; }
.dlv-lede { margin-top: 7px; font-size: 13.5px; line-height: 1.8; color: var(--ink); }

.hero {
  margin-top: 18px; display: grid; align-items: start;
  grid-template-columns: minmax(0, 212px) minmax(0, 1fr); gap: 18px;
}
.hero-poster { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.poster-btn {
  display: block; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: 6px; background: var(--ground);
  transition: border-color .3s var(--ease);
}
.poster-btn:hover { border-color: var(--main); }
.poster-btn:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.poster-img { display: block; width: 100%; height: auto; }
.poster-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 220px; border: 1.5px dashed var(--line); border-radius: 6px;
  color: var(--ink-faint); font-size: 12.5px;
}
.hero-poster > .poster-ph { display: none; }
.hero-poster.is-missing > .poster-ph { display: flex; }
.hero-poster.is-missing > .poster-btn,
.hero-poster.is-missing > .hero-cap { display: none; }
.hero-cap { display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.6; color: var(--ink-dim); }
.hero-cap .cap-tag { font-size: 11.5px; letter-spacing: .14em; color: var(--ink-faint); }
.cap-acts { display: flex; gap: 6px; margin-top: 5px; }
.cap-btn {
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; background: transparent;
  color: var(--ink-dim); font-family: var(--font-cn); font-size: 11.5px; text-decoration: none; cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.cap-btn:hover { border-color: var(--main); color: var(--ink); }

.hero-text { min-width: 0; }
.hero-k { margin-top: 15px; font-size: 11.5px; letter-spacing: .16em; color: var(--ink-faint); }
.hero-k:first-child { margin-top: 0; }
.hero-slogan { margin-top: 6px; font-size: 21px; line-height: 1.45; font-weight: 700; }
.hero-sub { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-dim); }
.cap-meta { font-size: 11px; letter-spacing: .1em; color: var(--ink-faint); }

.tagline { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tagline li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-dim); }

.dlv-sec { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.dlv-sec-h {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: .08em;
}
.dlv-sec-h .mono { color: var(--main); letter-spacing: .12em; }
.dlv-sec-x { margin-left: auto; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-faint); }

.copy-block { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--ink); }
.steps { margin-top: 12px; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 10px; }
.steps li {
  counter-increment: st; display: grid; grid-template-columns: 26px minmax(0, 1fr);
  font-size: 13.5px; line-height: 1.7; color: var(--ink);
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--font-data); font-size: 11.5px; letter-spacing: .08em; color: var(--main); padding-top: 3px;
}

.collapsible { position: relative; max-height: var(--clamp-h, 216px); overflow: hidden; }
.collapsible.is-expanded { max-height: none; }
/* 折叠处用同底渐隐收口，避免半行字被硬切 */
.collapsible:not(.is-expanded)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background: linear-gradient(to bottom, rgba(22, 34, 74, 0), var(--panel));
  pointer-events: none;
}
.more-btn {
  margin-top: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--ink-dim); font-family: var(--font-cn); font-size: 12px; cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.more-btn:hover { border-color: var(--main); color: var(--ink); }

/* 依据区（沿用报告分节排版） */
.report-sec { margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.report-sec h4 { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: .08em; margin-bottom: 9px; }
.report-sec h5 { margin: 10px 0 4px; font-size: 12px; font-weight: 600; color: var(--ink-dim); }
.report-sec p, .report-sec li { font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.report-sec ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.report-sec .kv { display: flex; gap: 8px; margin-top: 4px; }
.report-sec .kv b { color: var(--ink-dim); font-weight: 600; flex: none; }

.dlv-ev { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.dlv-ev > summary {
  display: flex; align-items: baseline; gap: 8px; cursor: pointer; list-style: none;
  font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: .08em;
}
.dlv-ev > summary::-webkit-details-marker { display: none; }
.dlv-ev > summary .mono { color: var(--ink-faint); letter-spacing: .12em; }
.dlv-ev > summary::after { content: "＋"; margin-left: auto; font-family: var(--font-data); font-weight: 400; color: var(--ink-faint); }
.dlv-ev[open] > summary::after { content: "－"; }
.dlv-ev .report-sec:first-of-type { border-top: 0; padding-top: 12px; }
.plan-row { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.plan-row + .plan-row { border-top: 1px dashed var(--line-soft); padding-top: 12px; }
.plan-ch { display: flex; align-items: baseline; gap: 8px; }
.plan-ch .mono { color: var(--main); letter-spacing: .1em; }

/* 素材大图 */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 40px; background: rgba(9, 15, 39, .97);
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(94vw, 640px); max-height: 86vh; border: 1px solid var(--line); border-radius: 6px; }
.lb-close {
  position: absolute; top: 22px; right: 26px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: transparent;
  color: var(--ink-dim); font-size: 11.5px; letter-spacing: .16em; cursor: pointer;
}
.lb-close:hover { border-color: var(--main); color: var(--ink); }
body.lb-open { overflow: hidden; }

.error-bar {
  margin-top: 12px; padding: 12px 14px; border-radius: 8px;
  background: #3A1715; border: 1px solid var(--retry);
  color: #F5C4BF; font-size: 13px; line-height: 1.6;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .workspace { grid-template-columns: 296px minmax(360px, 1fr) 464px; }
  .hero { grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: 15px; }
  .hero-slogan { font-size: 19px; }
}
@media (max-width: 1080px) {
  #app { height: auto; min-height: 100vh; }
  .topbar { height: auto; flex-wrap: wrap; row-gap: 10px; padding: 12px 18px; }
  .workspace { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .input-panel { min-height: 320px; }
  .flow-panel { min-height: 480px; }
  .result-panel { min-height: 420px; }
  .hero { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 18px; }
  .hero-slogan { font-size: 21px; }
}
@media (max-width: 640px) {
  .st .st-name { font-size: 26px; }
  .st .st-state { font-size: 22px; }
  .retry-tag { font-size: 18px; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 16px; }
  .topbar-right { gap: 12px; }
  .conn { font-size: 11.5px; }
  .input-panel, .flow-panel, .result-panel { padding-left: 14px; padding-right: 14px; }
  #req { min-height: 92px; }
  .hero { grid-template-columns: minmax(0, 176px) minmax(0, 1fr); gap: 14px; }
  .hero-slogan { font-size: 18px; }
  .lightbox { padding: 16px; }
  .lb-close { top: 12px; right: 14px; }
}

/* ---------------- 无交付物（blocked） ---------------- */
#result-note.is-blocked { color: var(--retry); }


.blk {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(224, 67, 60, 0.34);
  border-radius: 8px;
  background: #241418;
}

.blk-tag {
  margin-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--retry);
}

.blk-lead { font-size: 13.5px; line-height: 1.75; color: var(--ink-dim); }

.blk-list {
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blk-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}

.blk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--retry);
}

.blk-list em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.blk-acts { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.blk-btn {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-dim);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.blk-btn:hover { color: var(--ink); border-color: var(--ink-faint); }

.blk-btn.is-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
  font-weight: 600;
}

.blk-btn.is-primary:hover { box-shadow: 0 6px 18px rgba(242, 244, 248, 0.12); }

/* ---------------- 动效降级 ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
