:root {
  --bg: #0a0d12;
  --card: #111722;
  --card-soft: #151c28;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.24);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #22d3ee;
  --accent: #38bdf8;
  --accent-strong: #7dd3fc;
  --gold: #f6d365;
  --green: #86efac;
  --amber: #fbbf24;
  --red: #f87171;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 0 34px rgba(34, 211, 238, 0.08);
  font-family: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent 310px),
    linear-gradient(115deg, rgba(246, 211, 101, 0.07), transparent 24%, rgba(34, 211, 238, 0.06) 58%, transparent 78%),
    var(--bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    linear-gradient(rgba(125, 211, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.03) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 42%, rgba(246, 211, 101, 0.045) 43%, transparent 44% 100%);
  background-size: 44px 44px, 44px 44px, 320px 320px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  animation: gridDrift 22s linear infinite;
}

body::after {
  z-index: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.06) 48%, transparent 52%);
  background-size: auto, 100% 360px;
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: scanFall 10s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.app-main {
  width: 100%;
  margin: 0;
  padding: 28px 28px 40px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.09), transparent 18%, rgba(246, 211, 101, 0.045) 92%),
    rgba(10, 15, 25, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.card::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--accent-strong), transparent 24%) top left / 170px 1px no-repeat,
    linear-gradient(180deg, var(--accent-strong), transparent 30%) top left / 1px 88px no-repeat,
    linear-gradient(270deg, rgba(246, 211, 101, 0.7), transparent 24%) bottom right / 170px 1px no-repeat,
    linear-gradient(0deg, rgba(246, 211, 101, 0.7), transparent 30%) bottom right / 1px 88px no-repeat;
  opacity: 0.55;
}

.card::after {
  left: -15%;
  top: 0;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.95), transparent);
  animation: headerScan 4.8s ease-in-out infinite;
}

.page-header {
  margin-bottom: 18px;
  padding: 18px;
}

.header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brand-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(125, 211, 252, 0.55);
}

.brand-line::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.75);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  text-shadow: 0 0 28px rgba(125, 211, 252, 0.2);
}

.status-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-strip strong {
  color: var(--text);
  font-weight: 700;
}

.status-strip span {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.18);
  padding: 2px 8px;
}

.header-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
  justify-items: end;
}

.header-actions .search-box {
  width: 100%;
}

.system-log {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(134, 239, 172, 0.18);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.24);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 5px 10px;
}

.live-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.55);
  animation: livePulse 1.4s ease-out infinite;
}

.divider {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.28), rgba(246, 211, 101, 0.24), transparent);
}

.dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 16px;
  align-items: stretch;
}

.news-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 44%),
    rgba(2, 6, 23, 0.35);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.035);
  overflow: hidden;
}

.search-box:focus-within {
  border-color: rgba(125, 211, 252, 0.58);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08), inset 0 0 24px rgba(34, 211, 238, 0.06);
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  padding: 8px 11px;
}

.search-box input::placeholder {
  color: var(--faint);
}

.search-box span {
  border-left: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
}

.market-globe,
.china-market {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.075), transparent 26%),
    linear-gradient(315deg, rgba(246, 211, 101, 0.055), transparent 34%),
    rgba(4, 11, 22, 0.48);
  padding: 12px;
  box-shadow: inset 0 0 28px rgba(34, 211, 238, 0.035);
}

.market-globe::before,
.china-market::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.38), transparent 38%) top left / 90px 1px no-repeat,
    linear-gradient(180deg, rgba(125, 211, 252, 0.32), transparent 45%) top left / 1px 52px no-repeat,
    linear-gradient(270deg, rgba(246, 211, 101, 0.32), transparent 38%) bottom right / 90px 1px no-repeat,
    linear-gradient(0deg, rgba(246, 211, 101, 0.25), transparent 45%) bottom right / 1px 52px no-repeat;
  opacity: 0.74;
}

.market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.market-head strong {
  color: var(--text);
  font-size: 14px;
  text-shadow: 0 0 16px rgba(125, 211, 252, 0.22);
}

.market-head span {
  color: var(--muted);
  font-size: 12px;
}

.globe-stage {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.globe {
  position: relative;
  width: 148px;
  aspect-ratio: 1;
  isolation: isolate;
  border: 1px solid rgba(125, 211, 252, 0.54);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(125, 211, 252, 0.18) 53%, transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 32%, rgba(246, 211, 101, 0.12) 33%, transparent 34%),
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.48), transparent 8%),
    radial-gradient(circle at 28% 25%, rgba(125, 211, 252, 0.48), transparent 24%),
    radial-gradient(circle at 62% 62%, rgba(14, 165, 233, 0.22), transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(8, 47, 73, 0.88), rgba(2, 6, 23, 0.92) 72%);
  box-shadow:
    inset -18px -18px 34px rgba(0, 0, 0, 0.48),
    inset 12px 10px 24px rgba(125, 211, 252, 0.18),
    0 0 0 5px rgba(14, 165, 233, 0.04),
    0 0 34px rgba(56, 189, 248, 0.22);
  overflow: hidden;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.globe::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 48.8%, rgba(125, 211, 252, 0.2) 49.5%, transparent 51.2%),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(125, 211, 252, 0.14) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(125, 211, 252, 0.11) 23px 24px);
  mask-image: radial-gradient(circle, black 64%, transparent 70%);
  opacity: 0.82;
}

.globe::after {
  inset: -20%;
  z-index: 0;
  background:
    conic-gradient(from 16deg, transparent 0deg, rgba(125, 211, 252, 0.04) 240deg, rgba(125, 211, 252, 0.48) 344deg, rgba(34, 211, 238, 0.88) 358deg, transparent 360deg);
  animation: radarSweep 4.8s linear infinite;
  mix-blend-mode: screen;
}

.globe-grid {
  position: absolute;
  inset: 15px 7px;
  pointer-events: none;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 50%;
}

.globe-grid::before,
.globe-grid::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 50%;
}

.globe-grid::before {
  inset: 10px 31px;
}

.globe-grid::after {
  inset: 31px 10px;
}

.globe-scan-ring {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 50%;
  animation: radarPulse 2.8s ease-out infinite;
}

.globe-scan-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(125, 211, 252, 0.22);
  border-radius: inherit;
}

.market-dot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.13), transparent),
    rgba(2, 6, 23, 0.88);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.2);
  backdrop-filter: blur(5px);
}

.market-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0.18;
}

.market-dot.up,
.market-row.up strong {
  color: var(--green);
}

.market-dot.down,
.market-row.down strong {
  color: var(--red);
}

.market-dot.flat,
.market-row.flat strong {
  color: var(--muted);
}

.market-list {
  display: flex;
  gap: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.market-row {
  display: grid;
  flex: 0 0 96px;
  gap: 3px;
  min-width: 96px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.06), transparent),
    rgba(2, 6, 23, 0.25);
  padding: 7px 8px;
  animation: marketTicker 24s linear infinite;
}

.market-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-row strong {
  font-weight: 800;
}

.china-stats {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 8px;
  margin-bottom: 10px;
}

.china-stats div {
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.06), transparent 55%),
    rgba(2, 6, 23, 0.25);
  padding: 8px;
}

.china-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.china-stats strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 16px;
}

.china-indices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.china-index {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding-bottom: 5px;
}

.china-index span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.china-index strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.china-index.up strong,
.up {
  color: var(--green);
}

.china-index.down strong,
.down {
  color: var(--red);
}

.china-index.flat strong {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-day {
  display: grid;
  gap: 8px;
}

.timeline-day-head {
  position: sticky;
  top: 16px;
  z-index: 2;
  align-self: start;
}

.timeline-date {
  width: max-content;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(246, 211, 101, 0.06)),
    rgba(10, 13, 18, 0.94);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.08);
}

.timeline-day-items {
  display: grid;
  border-left: 1px solid rgba(125, 211, 252, 0.2);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 22px 18px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 84px;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.11), transparent 72%);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--cyan) 0 31%, var(--bg) 34% 100%);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(34, 211, 238, 0.55);
}

.item-meta {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.24);
}

.item-title-row {
  display: block;
}

.item-title {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 740;
  line-height: 1.45;
}

.title-action {
  display: inline;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.title-action:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-text-wrap {
  max-width: 980px;
  margin-top: 7px;
}

.title-wrap {
  margin-top: 0;
}

.title-wrap .item-text {
  line-height: 1.45;
}

.item-text {
  max-width: 980px;
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.item-text.clamped {
  display: -webkit-box;
  max-height: calc(1.72em * 4);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.title-wrap .item-text.clamped {
  max-height: calc(1.45em * 3);
  -webkit-line-clamp: 3;
}

.item-text-wrap.expanded .item-text {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.item-more {
  margin-top: 7px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(246, 211, 101, 0.05)),
    rgba(125, 211, 252, 0.08);
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 9px;
}

.item-more:hover {
  border-color: rgba(125, 211, 252, 0.48);
  background: rgba(125, 211, 252, 0.14);
}

.modal-open {
  overflow: hidden;
}

.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(125, 211, 252, 0.035) 0 1px, transparent 1px 6px),
    rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.09), transparent 24%, rgba(246, 211, 101, 0.05)),
    rgba(9, 14, 24, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 52px rgba(34, 211, 238, 0.14);
  padding: 24px;
}

.modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--accent-strong), transparent 24%) top left / 170px 1px no-repeat,
    linear-gradient(180deg, var(--accent-strong), transparent 30%) top left / 1px 88px no-repeat,
    linear-gradient(270deg, rgba(246, 211, 101, 0.7), transparent 24%) bottom right / 170px 1px no-repeat,
    linear-gradient(0deg, rgba(246, 211, 101, 0.7), transparent 30%) bottom right / 1px 88px no-repeat;
  opacity: 0.58;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.38);
}

.modal-time {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.modal-title {
  margin: 10px 38px 14px 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.45;
}

.modal-content {
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.78;
  white-space: normal;
}

.modal-note {
  margin-bottom: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent),
    rgba(14, 165, 233, 0.08);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  padding: 10px 12px;
}

.modal-body-text {
  white-space: pre-wrap;
}

.modal-original {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  color: #bfdbfe;
  padding-top: 14px;
}

.modal-original strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modal-original p {
  margin: 0;
  color: #cbd5e1;
  white-space: pre-wrap;
}

.modal-empty {
  color: var(--muted);
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .app-main {
    width: 100%;
    padding: 18px 14px 32px;
  }

  .dashboard-row {
    grid-template-columns: 1fr;
  }

  .header-row {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-items: stretch;
  }

  .china-indices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-day-head {
    top: 8px;
  }
}

@media (max-width: 640px) {
  .header-row,
  .dashboard-row,
  .timeline-day,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
  }

  .market-globe,
  .china-market {
    padding: 10px;
  }

  .market-head {
    margin-bottom: 8px;
  }

  .globe-stage {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .globe {
    width: 86px;
    align-self: center;
  }

  .globe::before {
    mask-image: radial-gradient(circle, black 62%, transparent 69%);
  }

  .globe::after {
    inset: -20%;
  }

  .globe-grid {
    inset: 10px 5px;
  }

  .globe-grid::before {
    inset: 7px 20px;
  }

  .globe-grid::after {
    inset: 20px 7px;
  }

  .globe-scan-ring {
    inset: 8px;
  }

  .globe-scan-ring::after {
    inset: 14px;
  }

  .market-dot {
    min-width: 21px;
    height: 15px;
    font-size: 8px;
  }

  .china-indices {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .china-indices::-webkit-scrollbar {
    display: none;
  }

  .china-index {
    flex: 0 0 auto;
    min-width: 92px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 7px;
    background: rgba(2, 6, 23, 0.22);
    padding: 7px 8px;
  }

  .market-row span,
  .china-index span {
    max-width: 90px;
  }

  .market-row strong,
  .china-index strong {
    font-size: 13px;
  }

  .china-indices {
    margin-top: 8px;
  }

  .china-stats {
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    gap: 6px;
    margin-bottom: 0;
  }

  .china-stats div {
    padding: 7px;
  }

  .china-stats span {
    font-size: 11px;
  }

  .china-stats strong {
    font-size: 14px;
  }

  .timeline-day {
    gap: 8px;
  }

  .timeline-day-items {
    border-left: 1px solid rgba(125, 211, 252, 0.18);
  }

  .timeline-item {
    gap: 4px;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .timeline-item::after {
    left: 0;
  }

  .timeline-item::before {
    display: none;
  }

  .item-title-row {
    flex-direction: column;
    gap: 6px;
  }
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 8px rgba(134, 239, 172, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 44px 44px, 44px 44px, 320px 320px;
  }
}

@keyframes scanFall {
  from {
    background-position: 0 0, 0 -360px;
  }
  to {
    background-position: 0 0, 0 360px;
  }
}

@keyframes headerScan {
  0%,
  18% {
    transform: translateX(0);
    opacity: 0;
  }
  42% {
    opacity: 0.75;
  }
  82%,
  100% {
    transform: translateX(310%);
    opacity: 0;
  }
}

@keyframes marketTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% * 7 - 56px));
  }
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarPulse {
  0% {
    opacity: 0.18;
    transform: scale(0.72);
  }
  54% {
    opacity: 0.48;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}
