/* =====================================================================
   InfoHub · 智能助手（Agent Console）视觉层
   设计语言：浅色玻璃 + 电光蓝/青/紫极光 + 细网格 + 等宽标签 + 动态光环
   ===================================================================== */
.as-wrap {
  --as-c1: #2563eb; --as-c2: #06b6d4; --as-c3: #7c3aed;
  --as-ink: #0b1f3a; --as-ink-2: #3b5b82; --as-ink-3: #7f9bc0;
  --as-line: rgba(59, 130, 246, .2);
  --as-glass: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  --as-shadow: 0 14px 44px rgba(30, 58, 95, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
  --as-glow: 0 0 0 1px rgba(37, 99, 235, .25), 0 10px 30px rgba(37, 99, 235, .18);
  position: relative;
  display: grid; grid-template-columns: 226px minmax(0, 1fr) 316px; gap: 14px;
  height: calc(100vh - 72px); min-height: 520px;
  isolation: isolate;
}
/* 极光背景 + 网格（固定在面板区后方，随状态呼吸） */
.as-wrap::before {
  content: ''; position: absolute; inset: -40px -60px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 48% at 12% 18%, rgba(37, 99, 235, .16), transparent 70%),
    radial-gradient(36% 42% at 88% 12%, rgba(6, 182, 212, .16), transparent 70%),
    radial-gradient(40% 44% at 70% 92%, rgba(124, 58, 237, .12), transparent 70%);
  filter: blur(10px);
  animation: as-drift 18s ease-in-out infinite alternate;
}
.as-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(59, 130, 246, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 20%, transparent 85%);
}
.as-wrap.busy::before { animation-duration: 6s; }
@keyframes as-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.06); }
}

/* ---------- 面板（玻璃） ---------- */
.as-panel {
  position: relative; min-height: 0; display: flex; flex-direction: column;
  background: var(--as-glass); border: 1px solid var(--as-line); border-radius: 16px;
  box-shadow: var(--as-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.as-panel::before { /* 顶部高光细线 */
  content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .55), rgba(6, 182, 212, .55), transparent);
  pointer-events: none;
}
.as-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--as-ink-3); font-weight: 600;
}
.as-panel-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; border-bottom: 1px solid var(--as-line); flex: none; }
.as-panel-h .as-count { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--as-ink-2); background: rgba(59, 130, 246, .08); border: 1px solid var(--as-line); border-radius: 10px; padding: 1px 8px; }

/* ---------- 左：会话列表 ---------- */
.as-sessions { padding: 12px 10px 10px; }
.as-new {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600;
  color: #fff; border: 0; background: linear-gradient(135deg, #1d4ed8, #0ea5e9 60%, #06b6d4);
  box-shadow: 0 6px 18px rgba(14, 165, 233, .28); transition: transform .15s, box-shadow .2s, filter .2s;
}
.as-new:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 24px rgba(14, 165, 233, .36); }
.as-slist { flex: 1; overflow-y: auto; margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.as-slist::-webkit-scrollbar { width: 5px; }
.as-sitem {
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 9px; cursor: pointer;
  color: var(--as-ink-2); font-size: 12.8px; line-height: 1.35; border: 1px solid transparent; transition: all .15s;
}
.as-sitem:hover { background: rgba(59, 130, 246, .08); color: var(--as-ink); }
.as-sitem.active { background: linear-gradient(135deg, rgba(29, 78, 216, .12), rgba(14, 165, 233, .1)); color: var(--accent-deep); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(13, 132, 224, .28); }
.as-sitem .as-st { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-sitem .as-sd { display: block; font-size: 10.5px; color: var(--as-ink-3); font-weight: 400; margin-top: 1px; }
.as-sdel { opacity: 0; border: 0; background: transparent; color: var(--as-ink-3); cursor: pointer; font-size: 13px; padding: 0 4px; border-radius: 6px; }
.as-sitem:hover .as-sdel { opacity: 1; }
.as-sdel:hover { color: var(--neg); background: rgba(220, 38, 38, .1); }
.as-sfoot { flex: none; padding: 10px 6px 2px; border-top: 1px solid var(--as-line); font-size: 10.5px; color: var(--as-ink-3); display: flex; flex-direction: column; gap: 3px; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.as-sfoot b { color: var(--as-ink-2); font-weight: 600; }

/* ---------- 中：对话 ---------- */
.as-chat { position: relative; }
.as-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--as-line); background: linear-gradient(90deg, rgba(255,255,255,.6), rgba(255,255,255,.15)); }
.as-title { font-size: 15px; font-weight: 700; letter-spacing: .6px; color: var(--as-ink); }
.as-sub { font-size: 11.5px; color: var(--as-ink-3); margin-top: 1px; display: flex; align-items: center; gap: 6px; }
.as-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: #0d9668; box-shadow: 0 0 8px #0d9668; }
.as-head-right { margin-left: auto; display: flex; gap: 6px; }
.as-chip { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; color: var(--as-ink-2); padding: 3px 8px; border-radius: 8px; border: 1px solid var(--as-line); background: rgba(59, 130, 246, .06); }

/* 光环（状态：idle / think / tool / answer） */
.as-orb { width: 42px; height: 42px; position: relative; flex: none; border-radius: 50%; }
.as-orb::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #2563eb, #06b6d4, #7c3aed, #2563eb);
  animation: as-spin 7s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
}
.as-orb::after {
  content: ''; position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #dbeafe, #2563eb 58%, #1e3a8a);
  box-shadow: 0 0 16px rgba(37, 99, 235, .45);
  transition: background .3s, box-shadow .3s;
}
.as-orb[data-state="think"]::before { animation-duration: 1.6s; }
.as-orb[data-state="think"]::after { background: radial-gradient(circle at 35% 32%, #cffafe, #06b6d4 58%, #0e7490); box-shadow: 0 0 22px rgba(6, 182, 212, .65); animation: as-pulse 1.1s ease-in-out infinite; }
.as-orb[data-state="tool"]::before { animation-duration: .9s; }
.as-orb[data-state="tool"]::after { background: radial-gradient(circle at 35% 32%, #fef3c7, #f59e0b 58%, #b45309); box-shadow: 0 0 22px rgba(245, 158, 11, .6); animation: as-pulse .7s ease-in-out infinite; }
.as-orb[data-state="answer"]::before { animation-duration: 2.2s; }
.as-orb[data-state="answer"]::after { background: radial-gradient(circle at 35% 32%, #ede9fe, #7c3aed 58%, #4c1d95); box-shadow: 0 0 22px rgba(124, 58, 237, .6); animation: as-pulse 1.4s ease-in-out infinite; }
@keyframes as-spin { to { transform: rotate(360deg); } }
@keyframes as-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }

/* 消息区 */
.as-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 22px 14px; scroll-behavior: smooth; }
.as-body::-webkit-scrollbar { width: 6px; }
.as-msg { display: flex; gap: 12px; margin-bottom: 20px; animation: as-rise .28s ease-out; }
@keyframes as-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.as-msg.user { justify-content: flex-end; }
.as-msg.user .as-bubble {
  max-width: 78%; padding: 11px 15px; border-radius: 14px 14px 4px 14px; color: #fff; font-size: 13.8px; line-height: 1.7;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9); box-shadow: 0 8px 22px rgba(14, 165, 233, .28);
  white-space: pre-wrap; word-break: break-word;
}
.as-msg.bot { align-items: flex-start; }
.as-ava { width: 30px; height: 30px; flex: none; margin-top: 2px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 32%, #dbeafe, #2563eb 60%, #1e3a8a); box-shadow: 0 0 14px rgba(37, 99, 235, .4); }
.as-ava::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: #06b6d4; border-right-color: #2563eb; animation: as-spin 4s linear infinite; }
.as-msg-body { flex: 1; min-width: 0; }
/* 步骤胶囊 */
.as-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.as-step { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--as-ink-2); padding: 4px 9px; border-radius: 20px; border: 1px solid var(--as-line); background: rgba(255,255,255,.75); }
.as-step i { width: 7px; height: 7px; border-radius: 50%; background: #0d9668; box-shadow: 0 0 6px #0d9668; flex: none; }
.as-step.running i { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; animation: as-pulse .8s ease-in-out infinite; }
.as-step.error { color: #b91c1c; border-color: rgba(220,38,38,.3); }
.as-step.error i { background: #dc2626; box-shadow: 0 0 6px #dc2626; }
.as-step b { font-weight: 600; color: var(--as-ink); }
.as-step .ms { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; color: var(--as-ink-3); }
/* 过程旁白（模型在调用工具前的一句话） */
.as-narr { font-size: 12.3px; color: var(--as-ink-3); font-style: italic; margin: 2px 0 8px; padding-left: 10px; border-left: 2px solid var(--as-line); line-height: 1.6; }
/* 正文（Markdown） */
.as-md { font-size: 13.8px; line-height: 1.8; color: var(--as-ink); word-break: break-word; }
.as-md p { margin: 6px 0; }
.as-md h2 { font-size: 15.5px; color: var(--as-ink); margin: 14px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--as-line); }
.as-md h3 { font-size: 14px; color: #0b6bbd; margin: 12px 0 5px; }
.as-md h4 { font-size: 13.3px; color: #2563eb; margin: 10px 0 4px; }
.as-md ul, .as-md ol { margin: 4px 0 10px; padding-left: 20px; }
.as-md li { margin: 3px 0; }
.as-md li::marker { color: var(--accent); }
.as-md strong { color: #123c66; }
.as-md a { color: #0b6bbd; text-decoration: underline; text-underline-offset: 2px; }
.as-md code { background: rgba(59,130,246,.1); border: 1px solid var(--as-line); border-radius: 4px; padding: 1px 6px; font-size: 12px; color: #0b6bbd; }
.as-md blockquote { margin: 8px 0; padding: 7px 12px; background: rgba(13,132,224,.06); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--as-ink-2); font-size: 12.5px; }
.as-md hr { border: 0; border-top: 1px dashed var(--as-line); margin: 12px 0; }
.as-cursor { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: linear-gradient(180deg, #2563eb, #06b6d4); border-radius: 2px; animation: as-blink .9s steps(2) infinite; }
.as-md.as-streaming { white-space: pre-wrap; }
.as-narr + .as-md { margin-top: 4px; }
@keyframes as-blink { 50% { opacity: 0; } }
.as-msg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--as-ink-3); font-family: ui-monospace, Menlo, Consolas, monospace; }
.as-msg-foot a, .as-msg-foot span[data-act] { color: #0b6bbd; cursor: pointer; }
/* 产出物卡片 */
.as-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.as-art { position: relative; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--as-line); background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(241,247,255,.9)); overflow: hidden; }
.as-art::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--as-c1), var(--as-c2)); }
.as-art-k { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .16em; color: var(--as-ink-3); text-transform: uppercase; }
.as-art-t { font-size: 13px; font-weight: 600; color: var(--as-ink); margin: 3px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-art-b { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--as-ink-2); }
.as-art .as-status { display: inline-flex; align-items: center; gap: 5px; }
.as-art .as-status i { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 6px #f59e0b; animation: as-pulse .9s ease-in-out infinite; }
.as-art .as-status.done i { background: #0d9668; box-shadow: 0 0 6px #0d9668; animation: none; }
.as-art .as-status.failed i { background: #dc2626; box-shadow: 0 0 6px #dc2626; animation: none; }
.as-art a, .as-art button.as-link { margin-left: auto; font-size: 12px; color: #0b6bbd; text-decoration: none; border: 0; background: transparent; cursor: pointer; padding: 0; font-weight: 600; }
.as-art a:hover, .as-art button.as-link:hover { text-decoration: underline; }
.as-prog { height: 3px; border-radius: 2px; background: rgba(59,130,246,.12); margin-top: 8px; overflow: hidden; }
.as-prog b { display: block; height: 100%; background: linear-gradient(90deg, var(--as-c1), var(--as-c2)); transition: width .4s; }

/* ---------- 欢迎页 ---------- */
.as-hero { max-width: 760px; margin: 4vh auto 0; text-align: center; animation: as-rise .5s ease-out; }
.as-hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .22em; color: var(--as-ink-2); padding: 5px 12px; border-radius: 20px; border: 1px solid var(--as-line); background: rgba(255,255,255,.7); }
.as-hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #0d9668; box-shadow: 0 0 8px #0d9668; animation: as-pulse 2s ease-in-out infinite; }
.as-hero h1 { font-size: 34px; font-weight: 700; letter-spacing: 1px; color: var(--as-ink); margin: 18px 0 8px; line-height: 1.2; }
.as-grad { background: linear-gradient(90deg, #1d4ed8, #06b6d4, #7c3aed, #1d4ed8); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: as-shine 7s linear infinite; }
@keyframes as-shine { to { background-position: 260% 0; } }
.as-hero p { font-size: 13.5px; color: var(--as-ink-2); line-height: 1.75; margin-bottom: 22px; }
.as-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; margin-bottom: 20px; }
.as-cap { position: relative; padding: 12px 13px; border-radius: 13px; border: 1px solid var(--as-line); background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(240,247,255,.85)); cursor: pointer; transition: transform .18s, box-shadow .22s, border-color .2s; overflow: hidden; }
.as-cap::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(6,182,212,.35), rgba(124,58,237,.35)); opacity: 0; transition: opacity .22s; z-index: -1; }
.as-cap:hover { transform: translateY(-2px); box-shadow: var(--as-glow); border-color: transparent; }
.as-cap:hover::before { opacity: 1; }
.as-cap .ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 6px 14px rgba(37, 99, 235, .28); margin-bottom: 8px; }
.as-cap:nth-child(2) .ic { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.as-cap:nth-child(3) .ic { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.as-cap:nth-child(4) .ic { background: linear-gradient(135deg, #0d9668, #34d399); }
.as-cap:nth-child(5) .ic { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.as-cap:nth-child(6) .ic { background: linear-gradient(135deg, #db2777, #f59e0b); }
.as-cap b { display: block; font-size: 13.2px; color: var(--as-ink); margin-bottom: 2px; }
.as-cap span { font-size: 11.5px; color: var(--as-ink-3); line-height: 1.5; display: block; }
.as-ex { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.as-ex span { font-size: 12.3px; color: var(--as-ink-2); padding: 6px 12px; border-radius: 18px; border: 1px solid var(--as-line); background: rgba(255,255,255,.75); cursor: pointer; transition: all .15s; }
.as-ex span:hover { color: var(--accent-deep); border-color: rgba(13,132,224,.45); background: rgba(59,130,246,.08); transform: translateY(-1px); }

/* ---------- 输入区 ---------- */
.as-input { flex: none; padding: 10px 18px 14px; border-top: 1px solid var(--as-line); background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.7)); }
.as-input-box { position: relative; border-radius: 14px; border: 1px solid rgba(59,130,246,.3); background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(30,58,95,.08); transition: box-shadow .2s, border-color .2s; }
.as-input-box:focus-within { border-color: rgba(37,99,235,.65); box-shadow: 0 0 0 4px rgba(37,99,235,.12), 0 14px 34px rgba(30,58,95,.1); }
.as-input-box::before { content: ''; position: absolute; left: 14%; right: 14%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #2563eb, #06b6d4, transparent); opacity: .8; }
.as-input textarea { display: block; width: 100%; border: 0; outline: none; resize: none; background: transparent; padding: 12px 14px 6px; font-size: 13.8px; line-height: 1.6; color: var(--as-ink); font-family: inherit; max-height: 170px; }
.as-input textarea::placeholder { color: var(--as-ink-3); }
.as-input-bar { display: flex; align-items: center; gap: 8px; padding: 4px 8px 8px 12px; }
.as-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.as-opt { font-size: 11.5px; color: var(--as-ink-2); padding: 4px 10px; border-radius: 16px; border: 1px solid var(--as-line); cursor: pointer; user-select: none; transition: all .15s; background: rgba(255,255,255,.6); }
.as-opt:hover { border-color: rgba(13,132,224,.4); }
.as-opt.on { color: #fff; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); border-color: transparent; box-shadow: 0 4px 12px rgba(14,165,233,.3); }
.as-send { margin-left: auto; width: 36px; height: 36px; border-radius: 11px; border: 0; cursor: pointer; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1d4ed8, #0ea5e9 60%, #06b6d4); box-shadow: 0 6px 16px rgba(14,165,233,.3); transition: transform .15s, box-shadow .2s, filter .2s; }
.as-send:hover:not(:disabled) { transform: translateY(-1px) scale(1.03); filter: brightness(1.06); }
.as-send:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.as-send.stop { background: linear-gradient(135deg, #dc2626, #f59e0b); box-shadow: 0 6px 16px rgba(220,38,38,.3); }
.as-hint { font-size: 11px; color: var(--as-ink-3); margin-top: 6px; padding-left: 4px; display: flex; justify-content: space-between; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }

/* ---------- 右：执行链路 / 引用来源 / 产出物 ---------- */
.as-side { display: grid; grid-template-rows: auto minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; min-height: 0; }
.as-timeline { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 0; max-height: 300px; overflow-y: auto; }
.as-tl { position: relative; padding: 0 0 12px 20px; }
.as-tl::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: -2px; width: 1.5px; background: linear-gradient(180deg, rgba(37,99,235,.35), rgba(6,182,212,.2)); }
.as-tl:last-child::before { display: none; }
.as-tl i { position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #0d9668; background: #fff; }
.as-tl.running i { border-color: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.5); animation: as-ring 1.2s ease-out infinite; }
.as-tl.error i { border-color: #dc2626; }
@keyframes as-ring { to { box-shadow: 0 0 0 7px rgba(245,158,11,0); } }
.as-tl b { display: block; font-size: 12.3px; color: var(--as-ink); font-weight: 600; line-height: 1.35; }
.as-tl small { display: block; font-size: 10.8px; color: var(--as-ink-3); margin-top: 1px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.as-tl .as-tl-arg { display: block; font-size: 10.8px; color: var(--as-ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-empty { padding: 18px 12px; text-align: center; font-size: 12px; color: var(--as-ink-3); line-height: 1.6; }
.as-src-list { overflow-y: auto; padding: 6px 8px 10px; }
.as-src { display: flex; gap: 8px; padding: 7px 8px; border-radius: 9px; transition: background .15s; align-items: flex-start; }
.as-src:hover { background: rgba(59,130,246,.07); }
.as-src .n { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; color: var(--as-ink-3); min-width: 18px; padding-top: 2px; }
.as-src .t { flex: 1; min-width: 0; font-size: 12px; color: var(--as-ink); line-height: 1.45; }
.as-src .t a { color: inherit; text-decoration: none; }
.as-src .t a:hover { color: #0b6bbd; text-decoration: underline; }
.as-src .m { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10.5px; color: var(--as-ink-3); margin-top: 2px; }
.as-src .s { color: #0b6bbd; }
.as-arts-pad { padding: 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.as-arts-pad .as-art { margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) { .as-wrap { grid-template-columns: 200px minmax(0, 1fr) 280px; } .as-caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .as-wrap { grid-template-columns: 200px minmax(0, 1fr); } .as-side { display: none; } }
@media (max-width: 860px) { .as-wrap { grid-template-columns: minmax(0, 1fr); } .as-sessions { display: none; } .as-hero h1 { font-size: 26px; } .as-caps { grid-template-columns: 1fr; } }
