/* ---------------------------------------------------------------
   电报快讯 — wire-service reading room
   --------------------------------------------------------------- */

:root {
  --bg: #080b10;
  --bg-2: #0c1118;
  --panel: #10161f;
  --panel-2: #151d28;
  --panel-3: #1a2432;
  --border: rgba(151, 171, 197, 0.13);
  --border-strong: rgba(151, 171, 197, 0.24);
  --text: #e9eff7;
  --text-2: #b9c6d6;
  --muted: #7f8fa3;
  --muted-2: #617184;
  --accent: #f5b64b;
  --accent-2: #ffd58d;
  --accent-soft: rgba(245, 182, 75, 0.11);
  --accent-line: rgba(245, 182, 75, 0.3);
  --good: #48d597;
  --bad: #ff8080;
  --glow: rgba(245, 182, 75, 0.075);
  --glow-2: rgba(74, 144, 255, 0.055);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia,
    "Noto Serif CJK SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
    "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-2: #eeeae1;
  --panel: #fffdf8;
  --panel-2: #f8f5ed;
  --panel-3: #f1ede3;
  --border: rgba(42, 51, 65, 0.11);
  --border-strong: rgba(42, 51, 65, 0.22);
  --text: #161b22;
  --text-2: #3b4552;
  --muted: #707a88;
  --muted-2: #8a939f;
  --accent: #a85c06;
  --accent-2: #7d4400;
  --accent-soft: rgba(168, 92, 6, 0.085);
  --accent-line: rgba(168, 92, 6, 0.25);
  --good: #14855d;
  --bad: #c33b3b;
  --glow: rgba(190, 130, 30, 0.08);
  --glow-2: rgba(60, 110, 190, 0.05);
  --shadow: 0 24px 60px rgba(80, 64, 34, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  background:
    radial-gradient(1100px 620px at 8% -12%, var(--glow), transparent 62%),
    radial-gradient(900px 520px at 105% -5%, var(--glow-2), transparent 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.reader-open { overflow: hidden; }

::selection { background: var(--accent); color: #161006; }

* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
  border: 3px solid transparent;
  background-clip: content-box;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

button, input, select { font: inherit; color: inherit; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid var(--border);
  border-bottom-color: var(--border-strong);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}

.shell {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 28px;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.10;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
}

/* ------------------------------- top bar ------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  min-width: 0;
}
.brand:hover { text-decoration: none; }

.mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 35% 25%, var(--panel-3), var(--panel));
}
.mark i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px var(--accent);
}
.mark::before,
.mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: radar 3.4s ease-out infinite;
}
.mark::after { animation-delay: 1.7s; }

@keyframes radar {
  0% { transform: scale(0.9); opacity: 0.42; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  white-space: nowrap;
}
.brand-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(72, 213, 151, 0.28);
  border-radius: 999px;
  background: rgba(72, 213, 151, 0.1);
  color: var(--good);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--good);
  animation: blink 1.9s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.notify-wrap { position: relative; display: inline-flex; }

.live-btn { gap: 6px; }
.live-btn .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  flex: 0 0 auto;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.live-btn.connected .live-dot {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(72, 213, 151, 0.13);
}
.live-btn.enabled {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.live-btn.enabled:not(.connected) .live-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 346px;
  padding: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.np-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.np-head strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.np-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}
.np-hint {
  margin: 8px 0 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}
.np-field { display: block; }
.np-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 11px;
}
.np-field input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text);
  font-size: 12px;
  outline: none;
}
.np-field input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.np-field input::placeholder { color: var(--muted-2); }
.np-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 15px;
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
}
.np-check input { accent-color: var(--accent); }
.np-actions { display: flex; gap: 8px; }
.np-actions .btn { flex: 1; }
.np-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.55;
}

.conn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.conn i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 3px rgba(127, 143, 163, 0.12);
}
.conn.ok { color: var(--good); }
.conn.ok i { background: var(--good); box-shadow: 0 0 0 3px rgba(72, 213, 151, 0.13); }
.conn.warn { color: var(--accent); }
.conn.warn i { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.conn.bad { color: var(--bad); }
.conn.bad i { background: var(--bad); box-shadow: 0 0 0 3px rgba(255, 128, 128, 0.14); }

.updated {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease,
    color 0.16s ease;
}
.btn:hover {
  border-color: var(--border-strong);
  background: var(--panel-3);
  color: var(--text);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn.icon { width: 36px; padding: 0; }
.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: #1a1306;
  font-weight: 650;
}
.btn.primary:hover { background: var(--accent-2); color: #1a1306; }
.btn.spinning svg { animation: spin 0.9s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------- toolbar ------------------------------- */

.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 330px;
  min-width: 230px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.search:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search svg { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}
.search input::placeholder { color: var(--muted-2); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.chips {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
  flex: 0 0 auto;
}
.chip {
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.chip:hover { color: var(--text); }
.chip.active {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  font-weight: 600;
}

.selects { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.select { display: flex; flex-direction: column; gap: 2px; }
.select > span {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding-left: 2px;
  text-transform: uppercase;
}
.select select {
  height: 34px;
  max-width: 200px;
  padding: 0 27px 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  background-color: var(--bg-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='m3 4.5 3 3 3-3' fill='none' stroke='%237f8fa3' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: var(--text-2);
  font-size: 11.5px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select select:hover { border-color: var(--border-strong); }
.select select:focus { border-color: var(--accent-line); box-shadow: 0 0 0 2px var(--accent-soft); }
.select option { background: var(--panel); color: var(--text); }

/* ------------------------------- notice -------------------------------- */

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 128, 128, 0.28);
  border-radius: 10px;
  background: rgba(255, 128, 128, 0.08);
  color: var(--text-2);
  font-size: 12px;
}
.notice-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--bad);
  color: #230a0a;
  font-size: 11px;
  font-weight: 800;
}
.notice button {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 11px;
  cursor: pointer;
}

/* ------------------------------- layout -------------------------------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.feed,
.reader {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feed { overflow: hidden; }

.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel-2), transparent);
}
.feed-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.feed-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.feed-head .latency-line {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.feed-stat { text-align: right; flex: 0 0 auto; }
.feed-stat strong {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.feed-stat span {
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.list { min-height: 120px; }

.item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.17s ease;
}
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--panel-2); }
.item.active { background: var(--accent-soft); }
.item.active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.item-time {
  padding-top: 1px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.item-time .tz-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.item-time .tz-row + .tz-row { margin-top: 1px; }
.item-time .tz-label {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 500;
}
.item-time .hhmm,
.item-time .hhmm-us {
  display: inline;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
}
.item-time .hhmm-us { color: var(--muted); font-weight: 500; }
.item-time.precise .hhmm,
.item-time.precise .hhmm-us {
  font-size: 11.5px;
  letter-spacing: -0.03em;
}
.item-time .rel {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.dual-time {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  vertical-align: middle;
  line-height: 1.25;
  white-space: nowrap;
}
.dual-time .tz-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.dual-time .tz-tag {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
}

.item-body { min-width: 0; }
.item-title {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}
.item-title-zh {
  margin: 3px 0 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.item-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge.mirror {
  border-color: var(--border);
  background: var(--bg-2);
  color: var(--muted);
}
.badge.telegram {
  border-color: rgba(75, 179, 245, 0.32);
  background: rgba(75, 179, 245, 0.1);
  color: #4bb3f5;
  letter-spacing: 0.03em;
  text-transform: none;
}
.badge.cross {
  border-color: rgba(72, 213, 151, 0.32);
  background: rgba(72, 213, 151, 0.1);
  color: var(--good);
  letter-spacing: 0.03em;
  text-transform: none;
}
.badge.cross.lag {
  border-color: var(--border);
  background: var(--bg-2);
  color: var(--muted);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ai-badge.bullish {
  border-color: rgba(72, 213, 151, 0.34);
  background: rgba(72, 213, 151, 0.11);
  color: var(--good);
}
.ai-badge.bearish {
  border-color: rgba(255, 128, 128, 0.34);
  background: rgba(255, 128, 128, 0.11);
  color: var(--bad);
}
.ai-badge.mixed {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

.ticker,
.tag,
.country,
.lang {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 9.5px;
  white-space: nowrap;
}
.ticker {
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-2);
  font-family: var(--mono);
  letter-spacing: -0.02em;
}
.tag {
  display: inline-block;
  padding: 0;
  line-height: 17px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.country { color: var(--muted); }
.lang {
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

mark {
  padding: 0 1px;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
}

.list-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 76px 24px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.state-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.list-state.error .state-spinner {
  border: 0;
  background: var(--bad);
  animation: none;
  mask: radial-gradient(circle, transparent 38%, #000 40%);
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%);
}

.load-more-wrap {
  padding: 15px 20px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(0deg, var(--panel-2), transparent);
}
.load-more { width: 100%; height: 38px; border-style: dashed; }

/* ------------------------------- reader -------------------------------- */

.reader {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 116px);
  min-height: 480px;
  overflow: hidden;
}

.reader-close {
  display: none;
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
}

.reader-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.empty-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.empty-mark::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed var(--accent-line);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.empty-mark span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-soft);
}
.reader-empty h2 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}
.reader-empty p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.empty-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.reader-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 27px 40px;
  overscroll-behavior: contain;
}
.reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.reader-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reader-head time {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  white-space: normal;
}
.reader h1 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.27;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}
.reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 17px;
}
.reader-meta .company {
  color: var(--text-2);
  font-size: 11px;
  margin-right: 2px;
}
.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 19px;
  margin-bottom: 21px;
  border-bottom: 1px solid var(--border);
}

#translateBtn[aria-pressed="true"] {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

#translateBtn[disabled] {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.translation-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 20px;
  padding: 8px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.translation-note .tn-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent);
  color: #1a1306;
  font-size: 10.5px;
  font-weight: 700;
  flex: 0 0 auto;
}

.translation-note .tn-provider {
  margin-left: auto;
  color: var(--muted-2);
  white-space: nowrap;
}

.reader-title-zh {
  margin: 10px 0 0;
  color: var(--text-2);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.article {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.84;
  overflow-wrap: anywhere;
}
.article .article-zh {
  margin: -8px 0 18px;
  padding-left: 11px;
  border-left: 2px solid var(--accent-line);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.8;
}
.article .article-zh-heading {
  margin: 0 0 18px;
  font-weight: 500;
}
.article li .article-zh {
  display: block;
  margin: 4px 0 2px;
  padding-left: 0;
  border-left: 0;
  text-indent: 0;
  font-size: 13px;
}
.article p { margin: 0 0 16px; }
.article p:last-child { margin-bottom: 0; }
.article h2,
.article h3 {
  margin: 26px 0 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.005em;
}
.article .li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 15px;
  text-indent: -15px;
}
.article strong { color: var(--text); font-weight: 650; }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

.reader-foot {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
  white-space: pre-line;
}

.article ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.article li {
  margin: 0 0 7px;
  padding-left: 2px;
  line-height: 1.75;
}
.article li::marker { color: var(--accent); }

.reader-error { padding: 10px 0 4px; }
.reader-error .empty-title {
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}
.reader-error p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.reader-error-actions { display: flex; gap: 8px; }

.empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 26px 82px;
  text-align: center;
}
.empty-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.empty-list p {
  max-width: 300px;
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.list-enter { animation: listIn 0.34s ease both; }
@keyframes listIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.reader-loading { padding: 28px 27px; }
.skeleton {
  height: 13px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: linear-gradient(
    90deg,
    var(--panel-2) 25%,
    var(--panel-3) 37%,
    var(--panel-2) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
}
.skeleton.short { width: 34%; height: 18px; margin-bottom: 24px; }
.skeleton.title { width: 92%; height: 28px; margin-bottom: 22px; }
.skeleton.medium { width: 72%; }
.skeleton + .skeleton { margin-top: 10px; }

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ------------------------------- footer -------------------------------- */

.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 26px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.foot p { margin: 0; }
.foot-dim { color: var(--muted-2); }

/* ------------------------------- misc ---------------------------------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 7, 11, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  padding: 10px 17px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel-3);
  color: var(--text);
  font-size: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  animation: toastIn 0.22s ease both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

[hidden] { display: none !important; }

/* ----------------------------- responsive ------------------------------ */

@media (max-width: 1240px) {
  .layout { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr); }
  .updated { display: none; }
  .item-title { font-size: 16px; }
  .reader h1 { font-size: 23px; }
}

@media (max-width: 960px) {
  .shell { padding: 0 16px; }
  .topbar-inner { min-height: 64px; }
  .brand-sub { display: block; font-size: 9.5px; letter-spacing: 0.04em; }
  .brand-sub-cn { display: none; }
  .layout { grid-template-columns: 1fr; gap: 14px; }
  .toolbar { gap: 9px; padding: 10px; }
  .search { flex-basis: 100%; }
  .chips { max-width: 100%; overflow-x: auto; }
  .selects { width: 100%; }
  .select { flex: 1; min-width: 0; }
  .select select { width: 100%; max-width: none; }

  .reader {
    position: fixed;
    inset: 0;
    z-index: 60;
    top: 0;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    transform: translateY(102%);
    transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.26, 1);
    box-shadow: none;
  }
  body.reader-open .reader { transform: translateY(0); }
  .reader-close { display: grid; }
  .reader-scroll { padding: 58px 20px 40px; }
  .reader-loading { padding: 62px 20px 40px; }
  .reader h1 { font-size: 22px; }
  .article { font-size: 15.5px; }
}

@media (max-width: 620px) {
  .shell { padding: 0 12px; }
  .topbar-inner { gap: 10px; }
  .brand { gap: 10px; }
  .mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-title { font-size: 11.5px; letter-spacing: 0.13em; }
  .brand-title .live { display: none; }
  .brand-sub { font-size: 8.5px; }
  .top-actions { gap: 6px; }
  .conn span { display: none; }
  .live-btn span { display: none; }
  .live-btn { width: 34px; padding: 0; gap: 0; }
  .live-btn .live-dot { position: absolute; top: 7px; right: 7px; }
  .notify-panel {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .btn { height: 34px; padding: 0 10px; }
  .btn.icon { width: 34px; }
  #refreshBtn span { display: none; }
  #refreshBtn { width: 34px; padding: 0; }
  #validationBtn span { display: none; }
  #validationBtn { width: 34px; padding: 0; }

  .toolbar { margin-top: 14px; }
  .chip { padding: 0 9px; font-size: 11.5px; }
  .select > span { display: none; }
  .select select { height: 34px; }

  .feed-head { padding: 14px 15px 12px; }
  .feed-stat strong { font-size: 18px; }
  .item { grid-template-columns: 82px minmax(0, 1fr); gap: 11px; padding: 13px 15px; }
  .item-time.precise .hhmm,
  .item-time.precise .hhmm-us { font-size: 10.5px; letter-spacing: -0.04em; }
  .item-time .tz-row { gap: 3px; }
  .item-time .tz-label { font-size: 8px; }
  .item-time .hhmm,
  .item-time .hhmm-us { font-size: 11.5px; }
  .item-time .rel { font-size: 9px; }
  .item-title { font-size: 15.5px; }
  .item-summary { font-size: 12px; -webkit-line-clamp: 2; }
  .tag { max-width: 130px; }
  .load-more-wrap { padding: 12px 15px 14px; }
  .foot { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----------------------------- tradfi --------------------------------- */

.tradfi-chips {
  border-color: rgba(72, 213, 151, 0.16);
}
.tradfi-chips .chip.active {
  background: rgba(72, 213, 151, 0.11);
  color: var(--good);
  box-shadow: inset 0 0 0 1px rgba(72, 213, 151, 0.24);
}

.perp-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.perp-badge.opp.long {
  border-color: rgba(72, 213, 151, 0.28);
  background: rgba(72, 213, 151, 0.1);
  color: var(--good);
}
.perp-badge.opp.short {
  border-color: rgba(255, 128, 128, 0.28);
  background: rgba(255, 128, 128, 0.1);
  color: var(--bad);
}
.perp-badge.move,
.perp-badge.watch {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.perp-badge.early.long,
.perp-badge.early.short {
  border-color: rgba(245, 182, 75, 0.4);
  background: rgba(245, 182, 75, 0.13);
  color: var(--accent);
}

.ai-card {
  margin: 0 0 22px;
  padding: 14px 15px 12px;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--muted-2);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.ai-card.bullish { border-left-color: var(--good); }
.ai-card.bearish { border-left-color: var(--bad); }
.ai-card.mixed { border-left-color: var(--accent); }

.ai-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.ai-mark {
  display: inline-grid;
  place-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ai-stance {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.ai-stance.bullish { color: var(--good); }
.ai-stance.bearish { color: var(--bad); }
.ai-stance.mixed { color: var(--accent); }
.ai-conf,
.ai-horizon,
.ai-copied {
  color: var(--muted-2);
  font-size: 10px;
}
.ai-conf {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ai-copied {
  margin-left: auto;
  font-style: italic;
}
.ai-impact {
  margin: 9px 0 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ai-assets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.ai-label {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ai-section {
  margin-top: 10px;
}
.ai-list {
  margin: 4px 0 0;
  padding-left: 16px;
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.55;
}
.ai-list li + li { margin-top: 2px; }
.ai-risk .ai-list { color: var(--muted); }
.ai-pill {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 9.5px;
  white-space: nowrap;
}
.ai-pill.priced-low { color: var(--good); border-color: rgba(72, 213, 151, 0.3); }
.ai-pill.priced-medium { color: var(--accent); border-color: var(--accent-line); }
.ai-pill.priced-high { color: var(--bad); border-color: rgba(255, 128, 128, 0.3); }
.ai-event p,
.ai-mechanism p {
  margin: 4px 0 0;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}
.ai-event p { color: var(--text); }
.ai-assets-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}
.ai-asset-row {
  display: grid;
  grid-template-columns: 68px 66px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.5;
}
.ai-asset-symbol {
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px;
  overflow-wrap: anywhere;
}
.ai-asset-dir {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.ai-asset-row.bullish .ai-asset-dir { color: var(--good); }
.ai-asset-row.bearish .ai-asset-dir { color: var(--bad); }
.ai-asset-row.mixed .ai-asset-dir { color: var(--accent); }
.ai-asset-note { color: var(--muted); }
.ai-watch .ai-list { color: var(--text-2); }
.ai-invalidation {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.ai-invalidation .ai-label { margin-right: 6px; }
.ai-confidence-note {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
}
.ai-note {
  margin: 11px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.45;
}
.item-ai {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.55;
}
.item-ai-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.tradfi-card {
  margin: 0 0 22px;
  padding: 14px 15px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tc-head-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.tc-kicker {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tc-symbol {
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.tc-venue {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
}
.tc-signal {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}
.tc-signal.opp.long {
  border-color: rgba(72, 213, 151, 0.3);
  background: rgba(72, 213, 151, 0.11);
  color: var(--good);
}
.tc-signal.opp.short {
  border-color: rgba(255, 128, 128, 0.3);
  background: rgba(255, 128, 128, 0.11);
  color: var(--bad);
}
.tc-signal.move,
.tc-signal.watch {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.tc-signal.early.long,
.tc-signal.early.short {
  border-color: rgba(245, 182, 75, 0.42);
  background: rgba(245, 182, 75, 0.14);
  color: var(--accent);
}

.tc-signals {
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px dashed var(--border);
}
.tc-signals-title {
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.tc-sig-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}
.tc-sig-row small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9.5px;
}
.tc-sig-kind {
  flex: 0 0 auto;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 9px;
}
.tc-sig-kind.early {
  border-color: rgba(245, 182, 75, 0.35);
  color: var(--accent);
}
.tc-sig-kind.confirm {
  border-color: rgba(72, 213, 151, 0.35);
  color: var(--good);
}

.tc-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 10px;
}
.tc-precision.ok { color: var(--good); }
.tc-precision.warn { color: var(--accent); }

.tc-horizons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
}
.tc-h {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 8px 9px;
  background: var(--bg-2);
}
.tc-h > span {
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.tc-h strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.tc-h strong.good { color: var(--good); }
.tc-h strong.bad { color: var(--bad); }
.tc-h small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-h small em { font-style: normal; }
.tc-h small em.good { color: var(--good); }
.tc-h small em.bad { color: var(--bad); }
.tc-h .tc-wait {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.tc-seconds-note {
  margin: -4px 0 10px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.55;
}

.tc-cross-anchor {
  margin: 0 0 10px;
  padding: 6px 9px;
  border-left: 2px solid var(--accent, #4da3ff);
  background: color-mix(in srgb, var(--accent, #4da3ff) 8%, transparent);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.tc-spark {
  display: block;
  width: 100%;
  height: 64px;
  margin: 0 0 8px;
  overflow: visible;
}
.tc-zero {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.tc-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}
.tc-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.tc-reasons span {
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 9.5px;
}
.tc-alts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10px;
}
.tc-alt-chip {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
}
.tc-foot {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.55;
}
.tc-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 11.5px;
}
.tc-loading .state-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.tc-empty {
  padding: 2px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .ai-asset-row {
    grid-template-columns: 58px 60px minmax(0, 1fr);
    gap: 6px;
  }
  .tc-horizons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-h strong { font-size: 14px; }
  .tc-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tc-head-main { flex: 1 1 100%; }
  .tc-symbol { font-size: 15px; overflow-wrap: anywhere; }
  .tc-signal { font-size: 10px; }
}

.tradfi-slot { display: contents; }
