.evt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evt-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 9px;
  padding: 14px 15px 12px;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 var(--hairline);
  cursor: pointer;
  transition: border-color .14s, transform .14s, background .14s;
  outline: none;
}

.evt-card > :not(.evt-chips):not(.evt-card-actions) { grid-column: 1 / -1; }

.evt-card:hover,
.evt-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent-2) 58%, var(--border));
  background: color-mix(in srgb, var(--bg-card2) 82%, var(--accent-2));
  transform: translateY(-1px);
}

.evt-card.is-new {
  animation: evt-new-in .42s cubic-bezier(.22,1,.36,1) both;
}

.evt-card.is-updated {
  animation: evt-update .7s ease-out both;
}

.evt-card.is-locked {
  background: color-mix(in srgb, var(--bg-card) 91%, var(--accent-2));
}

.evt-card.evt-kind-mega_transaction { border-left-color: var(--flow-in); }
.evt-card.evt-kind-formed_signal { border-left-color: var(--accent-2); }
.evt-card.evt-kind-agent_post_published { border-left-color: #4f8cff; }
.evt-card.evt-kind-setup_lifecycle { border-left-color: #e7a928; }

.evt-media-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.evt-media-action:hover { color: var(--text-hi); }

.evt-media-action svg { flex: none; }

.evt-lock-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.evt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.evt-category {
  color: var(--accent-2);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.evt-time {
  color: var(--text-md);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.evt-value {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
}

.evt-value strong {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.evt-value span:last-child {
  color: var(--text-md);
  font-size: 13px;
  font-weight: 800;
}

.evt-asset-icon-link {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 50%;
}

.evt-asset-icon-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.evt-entity-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.evt-value.inflow strong { color: var(--flow-in); }
.evt-value.outflow strong { color: var(--flow-out); }

.evt-signal-value {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
}

.evt-signal-value strong {
  font-size: 21px;
  line-height: 1.15;
}

.evt-signal-value span:last-child {
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
}

.evt-signal-value.bullish { color: var(--green); }
.evt-signal-value.bearish { color: var(--red); }

.evt-post-value,
.evt-setup-value {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--text-hi);
}

.evt-post-value strong,
.evt-setup-value strong {
  overflow: hidden;
  font-size: 19px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evt-post-value span:last-child {
  overflow: hidden;
  color: var(--text-md);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evt-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  text-underline-offset: 3px;
  border-radius: 4px;
}
.evt-link:hover {
  color: var(--accent-2, var(--accent));
  text-decoration: underline solid;
  text-decoration-color: currentColor;
}
.evt-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.evt-kind-note {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-elev, rgba(127, 127, 127, .12));
  color: var(--text-lo);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.evt-locked-asset {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--text-hi);
}
.evt-locked-asset strong { font-size: 19px; line-height: 1.15; }

.evt-lock-teaser {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}

.evt-lock-teaser strong {
  color: var(--text-hi);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.evt-lock-teaser span {
  color: var(--text-md);
  font-size: 11px;
  font-weight: 700;
}

.evt-lock-clues {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.evt-lock-clues span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev, rgba(127, 127, 127, .1));
  color: var(--text-md);
  font: 700 9px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.evt-lock-clues i {
  color: var(--accent-2);
  font-style: normal;
  letter-spacing: .12em;
}

.evt-setup-value span:last-child {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
}

.evt-setup-value.bullish { color: var(--green); }
.evt-setup-value.bearish { color: var(--red); }
.evt-setup-value.active { color: var(--accent-2); }

.evt-card h3 {
  margin: 6px 0 5px;
  color: var(--text-hi);
  font-size: 14px;
  line-height: 1.38;
  font-weight: 750;
}

.evt-amount,
.evt-route,
.evt-summary {
  color: var(--text-md);
  font-size: 11px;
  line-height: 1.45;
}

.evt-amount { font-variant-numeric: tabular-nums; }

.evt-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.evt-route {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 4px;
}

.evt-chips {
  grid-column: 1;
  align-self: center;
  display: flex;
  gap: 6px;
  margin-top: 11px;
  min-width: 0;
  overflow: hidden;
}

.evt-chip {
  min-width: 0;
  max-width: calc(100% - 42px);
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-md);
  background: var(--bg-card2);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evt-chip.more { flex: 0 0 auto; }

.evt-chip.strong {
  color: var(--text-hi);
  border-color: color-mix(in srgb, var(--accent-2) 38%, var(--border));
}

.evt-card-actions {
  grid-column: 2;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 32px;
  margin-top: 11px;
  white-space: nowrap;
}

.evt-open-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-height: 32px;
  color: var(--text-md);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.evt-card.is-locked .evt-card-actions { grid-column: 1 / -1; justify-self: end; }

.evt-card:hover .evt-open-label,
.evt-card:focus-visible .evt-open-label { color: var(--accent-2); }

.evt-chevron {
  flex: 0 0 auto;
}

.evt-card.compact {
  padding: 12px 12px 9px;
  border-radius: 9px;
}

.evt-card.compact .evt-value strong { font-size: 17px; }
.evt-card.compact .evt-signal-value strong { font-size: 17px; }
.evt-card.compact .evt-post-value strong,
.evt-card.compact .evt-setup-value strong { font-size: 16px; }
.evt-card.compact h3 { font-size: 14px; }
.evt-card.compact .evt-amount { display: none; }
.evt-card.compact .evt-chips { margin-top: 8px; }
.evt-card.compact .evt-lock-mark svg { width: 17px; height: 17px; }
.evt-card.compact .evt-lock-teaser strong { font-size: 19px; }

.evt-skeletons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evt-skeleton {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.evt-skeleton > * {
  display: block;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--bg-card2), var(--bg-hover), var(--bg-card2));
  background-size: 220% 100%;
  animation: evt-shimmer 1.2s linear infinite;
}

.evt-skeleton i { width: 28%; height: 9px; }
.evt-skeleton b { width: 48%; height: 22px; margin-top: 16px; }
.evt-skeleton span { width: 72%; height: 10px; margin-top: 11px; }
.evt-skeleton span:last-child { width: 55%; }

.evt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 34px 20px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-md);
}

.evt-empty b { color: var(--text-hi); font-size: 14px; }
.evt-empty span { max-width: 380px; font-size: 12px; line-height: 1.55; }

.evt-retry,
.evt-load-more,
.evt-all-link {
  display: block;
  width: max-content;
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card2);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.evt-generic-value {
  color: var(--text-hi);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

@keyframes evt-shimmer { to { background-position: -220% 0; } }
@keyframes evt-new-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes evt-update {
  0% { border-color: var(--accent-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-2) 28%, transparent); }
  100% { border-color: var(--border); box-shadow: inset 0 1px 0 var(--hairline); }
}

@media (max-width: 860px) {
  .evt-list { gap: 12px; }
  .evt-card { padding: 13px 13px 10px; }
  .evt-value strong { font-size: 19px; }
  .evt-post-value strong,
  .evt-setup-value strong { font-size: 18px; }
  .evt-card h3 { font-size: 14px; }
  .evt-card,
  .evt-card h3,
  .evt-summary { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .evt-media-action span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .evt-card, .evt-skeleton > * { animation: none !important; transition: none !important; }
}
