/* Watchlist 样式（复用主站 dark theme 变量） */
.hint { font-size: 12px; color: var(--text-dim); margin: 10px 0; line-height: 1.6; }
.hint b { color: var(--text); }

.admin-toggle button { margin-left: 6px; }
.admin-gate { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.admin-gate input { padding: 6px 10px; background: var(--panel, #1a1a1a); border: 1px solid var(--border); color: var(--text); border-radius: 6px; }
#admin-msg { color: #e5534b; font-size: 12px; }

/* 未解锁隐藏管理元素 */
.admin-only { display: none; }
body.admin-on .admin-only { display: revert; }
body.admin-on td.admin-only { display: table-cell; }
body.admin-on th.admin-only { display: table-cell; }

#wl-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
#wl-table th, #wl-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
#wl-table th { color: var(--text-dim); font-weight: 600; font-size: 12px; position: sticky; top: 0; background: var(--bg, #111); }
#wl-table td.num, #wl-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
#wl-table td.name { font-weight: 600; }
#wl-table td.name .sym { color: var(--text-dim); font-weight: 400; font-size: 11px; margin-left: 6px; }

.up { color: #3fb950; }
.down { color: #e5534b; }
.down.big { font-weight: 700; }

/* 行高亮 */
tr.row-crash { background: rgba(229, 83, 75, 0.10); }
tr.row-buy { background: rgba(63, 185, 80, 0.14); }

/* 质量徽章 */
.q { display: inline-block; min-width: 20px; text-align: center; padding: 1px 7px; border-radius: 5px; font-weight: 700; font-size: 12px; }
.q-A { background: rgba(63,185,80,.2); color: #3fb950; }
.q-B { background: rgba(210,153,34,.2); color: #d29922; }
.q-C { background: rgba(139,148,158,.2); color: #8b949e; }

.sig-buy { color: #3fb950; font-weight: 700; }
.sig-crash { color: #e5534b; font-weight: 700; }
.sig-tgt { color: #d29922; font-weight: 700; }

.ops button { padding: 2px 7px; margin: 0 2px; background: transparent; border: 1px solid var(--border); border-radius: 5px; color: var(--text-dim); cursor: pointer; }
.ops button:hover { color: var(--text); border-color: var(--text-dim); }

.add-box { margin-top: 20px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; }
.add-box h4 { margin: 0 0 10px; }
.add-box .form-grid { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.add-box label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-dim); }
.add-box input, .add-box select { padding: 6px 10px; background: var(--panel, #1a1a1a); border: 1px solid var(--border); color: var(--text); border-radius: 6px; }
.log { margin-top: 10px; font-size: 12px; color: var(--text-dim); min-height: 18px; }
