/* ============ K线看板 · 全局 ============ */
:root {
  --bg: #10121a; --card: #191c27; --card2: #141721; --line: #2a2e3f;
  --gold: #d9a441; --gold-dim: #8a6f33; --txt: #e9e7e1; --muted: #8b90a5;
  --up: #ff4d57; --down: #22c584; --up-bg: rgba(255,77,87,.12); --down-bg: rgba(34,197,132,.12);
  --poster-red: #c8161e; --poster-red-deep: #8f0f14; --poster-cream: #fff8ec;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 500px at 50% -100px, #241827 0%, var(--bg) 55%);
  color: var(--txt); min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 16px 18px 60px; }

/* ============ 顶栏 ============ */
header.top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 2px 14px; border-bottom: 1px solid var(--line); }
.logo { font-size: 20px; font-weight: 800; letter-spacing: 1px; cursor: pointer; }
.logo .gold { color: var(--gold); }
.logo .ver { font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.tabs { display: flex; gap: 6px; }
.tab-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 7px 18px; border-radius: 999px; font-size: 13.5px; cursor: pointer; font-weight: 600;
}
.tab-btn.on { color: #241a05; background: linear-gradient(180deg, #e8b54f, #c98f2e); border-color: var(--gold); }
.tab-btn:hover:not(.on) { color: var(--txt); border-color: var(--gold-dim); }
.spacer { flex: 1; }
.status { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.dot.ok { background: var(--down); box-shadow: 0 0 8px var(--down); animation: pulse 2s infinite; }
.dot.err { background: var(--up); box-shadow: 0 0 8px var(--up); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }
.mode-badge { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--gold-dim); color: var(--gold); }
.btn {
  background: linear-gradient(180deg, #e8b54f, #c98f2e); color: #241a05; border: 0; border-radius: 8px;
  padding: 7px 15px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--card); color: var(--txt); border: 1px solid var(--line); font-weight: 600; }
.btn.ghost:hover { border-color: var(--gold-dim); }
.btn.mini { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.banner { display: none; margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--up-bg); border: 1px solid rgba(255,77,87,.4); color: #ffb3b8; font-size: 13px; }

/* ============ 纯文本 Tab ============ */
.text-tools { display: flex; gap: 10px; margin: 16px 2px 10px; flex-wrap: wrap; align-items: center; }
.searchbox { position: relative; flex: 1; max-width: 460px; }
.searchbox input {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  color: var(--txt); padding: 9px 13px; font-size: 13.5px; outline: none;
}
.searchbox input:focus { border-color: var(--gold-dim); }
.search-drop {
  position: absolute; top: 110%; left: 0; right: 0; z-index: 30; background: #1c2030;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: none; max-height: 320px; overflow-y: auto;
}
.search-drop.show { display: block; }
.search-drop .sr { display: flex; gap: 10px; align-items: center; padding: 9px 13px; cursor: pointer; font-size: 13px; border-bottom: 1px solid #232738; }
.search-drop .sr:hover { background: #262b3d; }
.search-drop .sr b { color: var(--gold); }
.search-drop .sr .mkt { margin-left: auto; font-size: 11px; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }
.count-chip { font-size: 12px; color: var(--gold); border: 1px dashed var(--gold-dim); border-radius: 999px; padding: 3px 12px; }

.tblbox { border: 1px solid var(--line); border-radius: 12px; overflow: auto; max-height: calc(100vh - 230px); background: var(--card2); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { position: sticky; top: 0; background: #1c2030; color: var(--muted); font-weight: 600; padding: 9px 12px; text-align: right; cursor: pointer; user-select: none; white-space: nowrap; z-index: 2; }
thead th:first-child, tbody td:first-child { text-align: left; }
thead th:hover { color: var(--gold); }
tbody td { padding: 7px 12px; text-align: right; border-top: 1px solid #232738; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: #1e2231; }
tbody tr.sel { background: #232740; box-shadow: inset 3px 0 0 var(--gold); }
tbody tr.hero td:first-child::after { content: "★"; color: var(--gold); margin-left: 6px; font-size: 11px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); }
.flash-up { animation: fu .8s; } .flash-down { animation: fd .8s; }
@keyframes fu { 0%{background:var(--up-bg)} 100%{background:transparent} }
@keyframes fd { 0%{background:var(--down-bg)} 100%{background:transparent} }

/* ============ 图文看板 Tab（海报还原） ============ */
.poster-sheet {
  max-width: 1020px; margin: 22px auto 0; border-radius: 18px; padding: 30px 26px 26px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(255,190,80,.28), transparent 60%),
    radial-gradient(500px 260px at 12% 8%, rgba(255,120,60,.25), transparent 60%),
    linear-gradient(175deg, #d3252b 0%, #b3141a 45%, #8c0e13 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,215,120,.25);
  position: relative; overflow: hidden;
}
.poster-sheet::before, .poster-sheet::after {
  content: "%"; position: absolute; color: rgba(255,215,120,.16); font-weight: 900; font-size: 120px; font-family: Georgia, serif;
}
.poster-sheet::before { top: -26px; left: 12px; transform: rotate(-14deg); }
.poster-sheet::after { bottom: -34px; right: 16px; transform: rotate(12deg); }

.banner { display: block; text-align: center; position: relative; z-index: 1; }
.banner h1 {
  font-size: clamp(34px, 6vw, 58px); letter-spacing: 6px; color: #ffd873; margin: 0 0 6px;
  text-shadow: 0 3px 0 #7c1013, 0 6px 14px rgba(0,0,0,.45);
  -webkit-text-stroke: 1px #a35505;
}
.banner .ribbon {
  display: inline-block; background: linear-gradient(180deg, #ffe08a, #f0b23e);
  color: #7c1013; font-weight: 900; font-size: clamp(15px, 2.6vw, 22px); letter-spacing: 4px;
  padding: 8px 34px; border-radius: 8px; box-shadow: 0 4px 0 #93330f, 0 8px 18px rgba(0,0,0,.35);
}
.banner [contenteditable="true"] { outline: 2px dashed rgba(255,255,255,.6); outline-offset: 6px; border-radius: 6px; min-width: 120px; }
.banner-edit-tip { text-align: center; font-size: 11px; color: rgba(255,224,138,.85); margin-top: 10px; letter-spacing: 1px; }

.poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; position: relative; z-index: 1; }
@media (max-width: 760px) { .poster-grid { grid-template-columns: 1fr; } }

.pcard {
  background: linear-gradient(160deg, #fffdf7, var(--poster-cream) 70%);
  border-radius: 14px; padding: 16px 18px; position: relative; cursor: pointer;
  box-shadow: 0 6px 16px rgba(60,5,8,.45), inset 0 0 0 2px #f3ddb2;
  display: grid; grid-template-columns: 1fr 118px; gap: 12px; overflow: hidden;
  transition: transform .15s;
}
.pcard:hover { transform: translateY(-2px) scale(1.005); }
.pcard.sel { box-shadow: 0 0 0 3px #ffd873, 0 6px 16px rgba(60,5,8,.45); }
.pcard .pct {
  position: absolute; top: -4px; right: 104px; width: 74px; height: 74px; display: grid; place-items: center; z-index: 3;
  background:
    radial-gradient(circle at 50% 50%, #ffe27a 0 54%, transparent 55%),
    repeating-conic-gradient(#ffd23e 0 14deg, #f5b71e 14deg 28deg);
  border-radius: 50%; box-shadow: 0 3px 8px rgba(120,60,0,.4);
  transform: rotate(10deg);
}
.pcard .pct span { color: #a11113; font-weight: 900; font-size: 16.5px; transform: rotate(-4deg); white-space: nowrap; }
.pcard .pname { font-size: 21px; font-weight: 900; color: var(--poster-red); letter-spacing: 1px; line-height: 1.15; }
.pcard .pcode { font-size: 11px; color: #b98f68; font-weight: 600; margin-left: 6px; }
.pcard .phist { margin-top: 7px; font-size: 13px; color: #9a9a92; }
.pcard .phist s { text-decoration-color: #c96a5a; }
.pcard .pprice-l { margin-top: 2px; font-size: 13px; color: #6b5b4a; }
.pcard .pprice { font-size: 34px; font-weight: 900; color: #e2161f; line-height: 1.05; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #fff; }
.pcard .pprice small { font-size: 17px; margin-right: 2px; }
.pcard .plive { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.pcard .plive.up { background: #fde3e1; color: #d3222c; }
.pcard .plive.down { background: #ddf3e9; color: #14945f; }
.pcard .plive.flat { background: #efe9dc; color: #8b7f6d; }
.pcard .pvis {
  border-radius: 10px; background: linear-gradient(160deg, #fffdf8, #f7efe0);
  display: grid; place-items: center; position: relative; min-height: 108px;
  box-shadow: inset 0 0 0 2px #f0e2c8, 0 4px 10px rgba(120,60,0,.18);
}
.pcard .pvis .plogo { width: 72%; height: 72%; object-fit: contain; position: relative; z-index: 2; }
.pcard .pvis .emoji { font-size: 40px; filter: drop-shadow(0 3px 4px rgba(90,40,0,.25)); position: relative; z-index: 2; }
.pcard .pvis canvas { position: absolute; left: 6px; right: 6px; bottom: 6px; width: calc(100% - 12px); height: 28px; opacity: .95; z-index: 1; }
.pcard .pedit {
  position: absolute; left: 8px; bottom: 8px; z-index: 4; font-size: 11px; color: #8a6f33;
  background: rgba(255,255,255,.85); border: 1px solid #e5cfa0; border-radius: 6px; padding: 2px 8px; cursor: pointer; opacity: 0; transition: opacity .15s;
}
.pcard:hover .pedit { opacity: 1; }
.pcard .pshare {
  position: absolute; left: 8px; top: 8px; z-index: 4; font-size: 11px; color: #8a6f33;
  background: rgba(255,255,255,.85); border: 1px solid #e5cfa0; border-radius: 6px; padding: 2px 8px; cursor: pointer; opacity: 0; transition: opacity .15s;
}
.pcard:hover .pshare, .pcard:hover .pedit { opacity: 1; }
.pedit-form {
  position: absolute; inset: 0; z-index: 5; background: rgba(255,248,236,.97); border-radius: 14px;
  display: none; flex-direction: column; gap: 8px; justify-content: center; padding: 16px 18px;
}
.pedit-form.show { display: flex; }
.pedit-form label { font-size: 12px; color: #7a6248; display: flex; align-items: center; gap: 8px; }
.pedit-form input {
  flex: 1; border: 1px solid #e0c79c; background: #fff; border-radius: 6px; padding: 5px 9px; font-size: 13px; color: #4a3a28;
}
.pedit-form .row { display: flex; gap: 8px; justify-content: flex-end; }

.poster-note { position: relative; z-index: 1; margin-top: 22px; text-align: center; color: #ffdca0; font-size: 11.5px; line-height: 2; letter-spacing: .5px; }
.poster-note b { color: #fff3d6; }

/* ============ 弹层 ============ */
.mlogo { width: 30px; height: 30px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.chart-info {
  margin-top: 12px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap;
  gap: 4px 14px; padding: 7px 10px; background: #141721; border: 1px solid var(--line); border-radius: 8px;
  font-variant-numeric: tabular-nums; min-height: 30px; align-items: center;
}
.chart-info b { color: var(--txt); font-weight: 600; }
.chart-info .mi span { margin-right: 3px; }
.tip { position: fixed; display: none; z-index: 60; pointer-events: none; background: #0c0e16; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 11.5px; line-height: 1.7; white-space: nowrap; }

/* ============ 经典看板（v1 卡片） ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px;
  cursor: pointer; transition: border-color .15s, transform .15s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); opacity: .5; }
.card .r1 { display: flex; align-items: center; gap: 8px; }
.card .clogo { width: 26px; height: 26px; object-fit: contain; background: #fff; border-radius: 7px; padding: 2px; }
.card .name { font-size: 16px; font-weight: 700; }
.card .code { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .mkt { font-size: 10px; color: var(--gold); border: 1px solid var(--gold-dim); padding: 0 5px; border-radius: 4px; }
.card .disc { margin-left: auto; font-size: 12px; color: #241a05; background: linear-gradient(180deg, #e8b54f, #c98f2e); padding: 3px 9px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.card .r2 { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.price { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.chg { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card .ohlc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.card .ohlc b { display: block; color: var(--txt); font-weight: 600; font-variant-numeric: tabular-nums; }
.card .spark { width: 100%; height: 54px; display: block; margin-top: 8px; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.card .meta b { color: var(--txt); font-weight: 600; font-variant-numeric: tabular-nums; }
.card .posterline { margin-top: 8px; padding-top: 7px; border-top: 1px dashed #34394e; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .posterline em { color: var(--gold); font-style: normal; }
.card.err { opacity: .55; pointer-events: none; }
.card.sel { border-color: var(--gold); }
.warn-tri { color: #e8b54f; }

/* 列表内小 logo */
#tbody .tlogo { width: 20px; height: 20px; object-fit: contain; vertical-align: -5px; margin-right: 7px; background: #fff; border-radius: 5px; padding: 1px; }
.search-drop .sr .slogo { width: 20px; height: 20px; object-fit: contain; background: #fff; border-radius: 5px; padding: 1px; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(6,8,14,.78); z-index: 50; align-items: center; justify-content: center; padding: 20px; }
.overlay.show { display: flex; }
.modal { background: var(--card); border: 1px solid var(--gold-dim); border-radius: 14px; width: min(960px, 100%); max-height: 92vh; overflow: auto; padding: 18px 20px 20px; }
.mhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mhead .name { font-size: 20px; font-weight: 800; }
.mhead .sub { color: var(--muted); font-size: 13px; }
.mdisc { font-size: 12px; color: #241a05; background: linear-gradient(180deg,#e8b54f,#c98f2e); padding: 3px 10px; border-radius: 999px; font-weight: 800; }
.mhead .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.tab-mini { display: flex; gap: 6px; }
.tab { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; cursor: pointer; }
.tab.on { color: #241a05; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.close { font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; }
.close:hover { color: var(--txt); }
#chart { width: 100%; height: 420px; display: block; margin-top: 14px; }
.legend { display: flex; gap: 16px; font-size: 11px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.tip { position: fixed; display: none; z-index: 60; pointer-events: none; background: #0c0e16; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 11.5px; line-height: 1.7; white-space: nowrap; }

/* ============ 设置弹层 ============ */
.settings { max-width: 460px; }
.settings h3 { font-size: 16px; margin-bottom: 4px; }
.settings p { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 8px 0; }
.settings textarea {
  width: 100%; height: 84px; background: #0f1119; color: var(--txt); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 11px; font-size: 12px; font-family: ui-monospace, monospace; resize: vertical;
}
.settings .row { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }

#toast {
  position: fixed; left: 50%; bottom: 44px; transform: translateX(-50%) translateY(20px); z-index: 99;
  background: #262b3d; color: var(--txt); border: 1px solid var(--gold-dim); border-radius: 999px;
  padding: 9px 22px; font-size: 13px; opacity: 0; pointer-events: none; transition: all .25s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 海报分享弹层 ============ */
.poster-modal { width: min(860px, 100%); }
.poster-preview { margin-top: 14px; display: grid; place-items: center; background: #0f1119; border-radius: 10px; padding: 10px; max-height: 62vh; overflow: auto; }
.poster-preview canvas { max-width: 100%; max-height: 58vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.poster-actions { display: flex; gap: 8px; margin-top: 12px; justify-content: center; flex-wrap: wrap; }

/* 纯文本多选 */
#tbody input.selcb { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
#tbody td.selcell { text-align: center; }
#tbody td.selcell, th.selhead { width: 64px; }
#tbody .selwrap { padding: 14px 0; cursor: pointer; }
th.selhead { cursor: default; vertical-align: middle; }
.selhead-box { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.selmini { padding: 3px 6px; font-size: 11px; border-radius: 5px; width: 100%; }
#selChip { user-select: none; }

footer { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); line-height: 1.9; }
footer a { color: var(--gold); text-decoration: none; }

/* ============ 多页面 & 纯文本增强 ============ */
a.tab-btn { text-decoration: none; display: inline-block; }
a.logo { text-decoration: none; color: inherit; }
.selwrap { display: inline-flex; align-items: center; justify-content: center; width: 100%; cursor: pointer; }
th.selcell, td.selcell { text-align: center; width: 40px; }
#selAll { accent-color: var(--gold); cursor: pointer; width: 15px; height: 15px; }
#tbl thead th.asc::after { content: " ▲"; color: var(--gold); font-size: 9px; }
#tbl thead th.desc::after { content: " ▼"; color: var(--gold); font-size: 9px; }

/* ============ 首字头像 & 拖拽 ============ */
.lchar {
  display: none; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e8b54f, #c98f2e); color: #241a05;
  font-weight: 800; border-radius: 7px; text-transform: none; flex: none;
}
span.lchar.clogo { width: 26px; height: 26px; font-size: 14px; }
span.lchar.tlogo { width: 20px; height: 20px; font-size: 11px; border-radius: 5px; margin-right: 7px; vertical-align: -5px; }
span.lchar.slogo { width: 20px; height: 20px; font-size: 11px; border-radius: 5px; }
span.lchar.mlogo { width: 30px; height: 30px; font-size: 15px; }
span.lchar.plogo { width: 58px; height: 58px; font-size: 26px; border-radius: 12px; }
.card.dragging { opacity: .35; }
.card.drag-over { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(0,0,0,.4); }

/* ============ 纯文本：图标列 + 名称列 独立两列 ============ */
#tbody td.logo-cell { text-align: center; }
#tbody .celllogo { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 9px; padding: 3px; }
#tbody span.lchar.celllogo { font-size: 19px; }
#tbody td.namecell { text-align: left; vertical-align: middle; font-weight: 600; }
th.logo-head { width: 64px; }

/* ============ 独立K线页：全屏布局 ============ */
.kwrap { height: 100vh; display: flex; flex-direction: column; padding: 12px 16px 10px; box-sizing: border-box; max-width: none; }
.kbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kname { font-size: 22px; font-weight: 800; }
.kquote { display: flex; align-items: baseline; gap: 10px; margin-left: 8px; }
.kquote .price { font-size: 34px; }
.kchg { font-size: 16px; font-weight: 800; }
.kbody { flex: 1; display: flex; gap: 14px; margin-top: 12px; min-height: 0; }
.kpanel {
  width: 264px; flex: none; overflow: auto; background: var(--card2);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
}
.krow { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #20242f; font-size: 13px; }
.krow:last-child { border-bottom: 0; }
.krow span { color: var(--muted); }
.krow b { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.kchart { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.kchart #chart { flex: 1; min-height: 320px; width: 100%; }
.kchart .legend { margin-top: 6px; }
@media (max-width: 900px) {
  .kwrap { height: auto; }
  .kbody { flex-direction: column; }
  .kpanel { width: auto; }
  .kchart #chart { height: 56vh; flex: none; }
}
#chart { cursor: crosshair; }

/* ============ 海报卡片：K线背景水印 ============ */
.pcard .pbg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.pcard::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,250,240,.94) 0%, rgba(255,250,240,.72) 52%, rgba(255,250,240,.28) 100%);
}
.pcard > div { position: relative; z-index: 2; }
.pcard .pct { z-index: 3; }

/* ============ 纯文本名称列：图标+名称 横排 ============ */
#tbody .nm { display: inline-flex; align-items: center; gap: 9px; }
#tbody .nmlogo { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 7px; padding: 2px; flex: none; }
#tbody span.lchar.nmlogo { font-size: 14px; }
#tbody .nm b { font-weight: 600; }
