:root {
  color-scheme: dark;
  --bg: #040814;
  --panel: rgba(5, 10, 22, 0.96);
  --panel-border: rgba(80, 213, 255, 0.2);
  --panel-border-hover: rgba(240, 191, 77, 0.48);
  --text: #eef7ff;
  --muted: #8aa8c6;
  --gold-1: #ffd66e;
  --cyan: #68f0ff;
  --green: #5bffb6;
  --red: #ff6d8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell-width: min(92vw, 1720px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "JetBrains Mono", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 216, 0.1), transparent 20%),
    radial-gradient(circle at top right, rgba(104, 240, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #050915 0%, #07101f 45%, #040812 100%);
}

a,
button {
  font: inherit;
}

.matrix-rain,
.screen-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.matrix-rain {
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.screen-noise {
  z-index: 1;
  opacity: 0.08;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
}

.dashboard-back-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 240, 255, 0.22);
  background: rgba(6, 12, 24, 0.9);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 0 18px rgba(104, 240, 255, 0.12);
  backdrop-filter: blur(12px);
}

.dashboard-back-link:hover,
.dashboard-back-link:focus-visible {
  color: var(--gold-1);
  border-color: rgba(240, 191, 77, 0.52);
}

.dashboard-shell {
  position: relative;
  z-index: 2;
  width: var(--shell-width);
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.feed-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(104, 240, 255, 0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    rgba(6, 12, 24, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.feed-status-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.feed-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feed-status-pill-online {
  color: var(--green);
  background: rgba(91, 255, 182, 0.1);
}

.feed-status-pill-warning {
  color: var(--gold-1);
  background: rgba(255, 214, 110, 0.1);
}

.feed-status-pill-offline {
  color: #ff9eb0;
  background: rgba(255, 109, 139, 0.12);
}

.feed-status-pill-pending {
  color: var(--cyan);
  background: rgba(104, 240, 255, 0.1);
}

.feed-status-copy {
  min-width: 0;
}

.feed-status-copy strong,
.feed-status-copy p {
  display: block;
}

.feed-status-copy strong {
  font-size: 0.96rem;
}

.feed-status-copy p,
.feed-status-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.feed-status-meta {
  display: grid;
  justify-items: end;
  gap: 0.28rem;
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
  font-size: 0.84rem;
}

.kline-grid {
  display: grid;
  gap: 1rem;
}

.kline-grid-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: calc(100vh - 6rem);
  align-content: start;
}

.kline-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.panel {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%),
    var(--panel);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.panel:hover {
  transform: translateY(-2px);
  border-color: var(--panel-border-hover);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(240, 191, 77, 0.16),
    0 0 24px rgba(240, 191, 77, 0.08);
}

.kline-panel,
.more-symbols-panel {
  padding: 1rem 1rem 1.2rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.panel-head h2 {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.focus-mode-button {
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 240, 255, 0.18);
  background: rgba(10, 18, 34, 0.9);
  color: var(--muted);
  cursor: pointer;
}

.focus-mode-button:hover,
.focus-mode-button:focus-visible {
  color: var(--gold-1);
  border-color: rgba(240, 191, 77, 0.5);
}

.chart-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.overlay-price {
  font-size: 1.08rem;
  font-weight: 800;
}

.overlay-change {
  font-size: 0.84rem;
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.neutral {
  color: var(--cyan);
}

.timeframe-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow: visible;
  padding-bottom: 0.35rem;
  margin-bottom: 0.7rem;
}

.timeframe-bar::-webkit-scrollbar {
  display: none;
}

.timeframe-bar::-webkit-scrollbar-thumb {
  display: none;
}

.timeframe-chip,
.symbol-chip {
  flex: 0 0 auto;
  min-height: 2.15rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(123, 255, 175, 0.3);
  border-radius: 999px;
  background: rgba(123, 255, 175, 0.08);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.timeframe-chip:hover,
.timeframe-chip:focus-visible,
.timeframe-chip.is-active,
.symbol-chip:hover,
.symbol-chip:focus-visible,
.symbol-chip.is-active {
  color: #03110a;
  background: #7bffaf;
  border-color: rgba(123, 255, 175, 0.8);
  box-shadow: 0 0 18px rgba(123, 255, 175, 0.18);
}

.chart {
  width: 100%;
  height: 320px;
}

.kline-chart-large {
  height: 360px;
}

.add-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 424px;
  padding: 1.4rem;
}

.add-symbol-button {
  width: 9rem;
  height: 9rem;
  border: 1px dashed rgba(104, 240, 255, 0.28);
  border-radius: 24px;
  background: rgba(9, 18, 32, 0.96);
  color: var(--gold-1);
  font-size: 4rem;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(104, 240, 255, 0.08);
}

.add-symbol-button:hover,
.add-symbol-button:focus-visible {
  border-color: rgba(240, 191, 77, 0.56);
  box-shadow: 0 0 26px rgba(240, 191, 77, 0.14);
}

.add-panel-text {
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.more-symbols-panel {
  margin-top: 1rem;
}

.more-symbol-toolbar {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.more-symbol-picker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.more-symbol-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.more-symbol-select {
  min-width: min(100%, 280px);
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(123, 255, 175, 0.22);
  border-radius: 14px;
  background: rgba(4, 12, 20, 0.92);
  color: var(--text);
}

.symbol-table-shell {
  overflow: hidden;
  border: 1px solid rgba(123, 255, 175, 0.12);
  border-radius: 16px;
  background: rgba(4, 12, 20, 0.72);
}

.symbol-table {
  width: 100%;
  border-collapse: collapse;
}

.symbol-table th,
.symbol-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(123, 255, 175, 0.08);
  text-align: left;
  font-size: 0.88rem;
}

.symbol-table th {
  color: var(--muted);
  font-weight: 600;
  background: rgba(123, 255, 175, 0.04);
}

.symbol-table tbody tr {
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.symbol-table tbody tr:hover,
.symbol-table tbody tr.is-active {
  background: rgba(123, 255, 175, 0.1);
}

.symbol-table tbody tr:last-child td {
  border-bottom: none;
}

.symbol-table-empty {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
}

.chart-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 1rem;
  border: 1px dashed rgba(123, 255, 175, 0.16);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.focus-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1.2rem 1.2rem;
  background:
    radial-gradient(circle at top, rgba(46, 255, 132, 0.08), transparent 24%),
    rgba(2, 8, 14, 0.76);
  backdrop-filter: blur(14px);
  overflow-y: auto;
}

.focus-matrix-rain,
.focus-screen-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.focus-matrix-rain {
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.focus-screen-noise {
  z-index: 1;
  opacity: 0.08;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
}

.focus-window {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(92vw, 1720px);
  height: min(90vh, 960px);
  border-radius: 34px;
  border: 1px solid rgba(123, 255, 175, 0.22);
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.04), transparent 14%),
    rgba(4, 12, 20, 0.97);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(123, 255, 175, 0.08),
    0 0 32px rgba(123, 255, 175, 0.06);
  overflow: hidden;
}

.focus-topbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(123, 255, 175, 0.12);
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.04), transparent 100%),
    rgba(6, 15, 24, 0.94);
}

.focus-controls {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.focus-dot {
  width: 1.58rem;
  height: 1.58rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.focus-dot::before,
.focus-dot::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.focus-dot-close {
  background: #ff5f57;
}

.focus-dot-close::before,
.focus-dot-close::after {
  width: 0.68rem;
  height: 2px;
  background: rgba(60, 15, 15, 0.72);
}

.focus-dot-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.focus-dot-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.focus-dot-min {
  background: #f4bf1a;
}

.focus-dot-min::before {
  width: 0.68rem;
  height: 2px;
  background: rgba(88, 63, 0, 0.72);
}

.focus-dot-expand {
  background: #28c840;
}

.focus-dot-expand::before {
  width: 0.58rem;
  height: 0.58rem;
  border: 1.6px solid rgba(9, 72, 20, 0.72);
  border-radius: 3px;
}

.focus-heading h2 {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 1.22rem;
}

.focus-heading p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.focus-actions {
  margin-left: auto;
}

.focus-back-button {
  min-height: 1.72rem;
  padding: 0.24rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 255, 175, 0.4);
  background: rgba(10, 18, 34, 0.9);
  color: #7bffaf;
  font-size: 0.74rem;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.focus-back-button:hover {
  border-color: #7bffaf;
  background: rgba(123, 255, 175, 0.12);
  box-shadow: 0 0 14px rgba(123, 255, 175, 0.22);
}

/* 新闻详情弹窗 */
.news-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(2, 8, 14, 0.78);
  backdrop-filter: blur(10px);
}

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

.news-detail-window {
  width: min(620px, 92vw);
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 22px;
  border: 1px solid rgba(123, 255, 175, 0.3);
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.05), transparent 20%),
    rgba(6, 15, 24, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  padding: 1.2rem 1.4rem 1.4rem;
}

.news-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.news-detail-head h3 {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 1.1rem;
}

.news-detail-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(123, 255, 175, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #7bffaf;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.news-detail-close:hover {
  background: rgba(123, 255, 175, 0.12);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.news-detail-source {
  padding: 0.08rem 0.55rem;
  border: 1px solid rgba(123, 255, 175, 0.4);
  border-radius: 999px;
  color: #7bffaf;
  font-size: 0.75rem;
}

.news-detail-meta time {
  color: var(--gold-1);
  font-size: 0.8rem;
}

.news-detail-text {
  margin: 0;
  color: var(--text);
  line-height: 1.85;
  white-space: pre-wrap;
}

.focus-body {
  display: grid;
  grid-template-columns: 1.88fr 0.72fr;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}

.focus-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.72rem 0.82rem 0.9rem;
  border-right: 1px solid rgba(123, 255, 175, 0.1);
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.028), transparent 18%),
    rgba(4, 12, 20, 0.82);
}

.focus-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.82rem 0.88rem;
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.03), transparent 20%),
    rgba(5, 14, 24, 0.88);
}

.focus-chart {
  flex: 1 1 auto;
  min-height: 0;
  cursor: grab;
}

.focus-chart:active {
  cursor: grabbing;
}

.focus-chart.draw-cursor-crosshair {
  cursor: crosshair;
}

.draw-toolbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.draw-toolbar-label {
  margin-right: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.draw-tool {
  min-height: 1.9rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(123, 255, 175, 0.22);
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.86);
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.draw-tool:hover,
.draw-tool:focus-visible {
  color: var(--gold-1);
  border-color: rgba(240, 191, 77, 0.5);
}

.draw-tool.is-active {
  color: #03110a;
  background: #7bffaf;
  border-color: rgba(123, 255, 175, 0.8);
}

.draw-tool-danger:hover,
.draw-tool-danger:focus-visible {
  color: #ff9eb0;
  border-color: rgba(255, 109, 139, 0.55);
}

.focus-news-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(123, 255, 175, 0.12);
}

.focus-news-header h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.news-filter-control {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.news-filter-symbol {
  color: var(--gold-1);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.news-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
}

.news-filter-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.news-filter-track {
  position: relative;
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 255, 175, 0.35);
  background: rgba(10, 18, 34, 0.9);
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.news-filter-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.3rem - 6px);
  height: calc(1.3rem - 6px);
  border-radius: 50%;
  background: var(--muted);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.news-filter-toggle input:checked + .news-filter-track {
  background: rgba(123, 255, 175, 0.24);
  border-color: rgba(123, 255, 175, 0.75);
}

.news-filter-toggle input:checked + .news-filter-track .news-filter-thumb {
  background: #7bffaf;
  transform: translateX(1.1rem);
}

.news-filter-toggle input:focus-visible + .news-filter-track {
  box-shadow: 0 0 0 2px rgba(123, 255, 175, 0.5);
}

.news-filter-text {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.news-item-empty {
  border-style: dashed;
}

.news-empty-hint {
  margin: 0.35rem 0 0 !important;
  color: var(--muted) !important;
  font-size: 0.82rem;
}

.news-live-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(123, 255, 175, 0.85);
  animation: news-live-pulse 1.6s ease-in-out infinite;
}

@keyframes news-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}

.news-feed {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0 0;
  display: grid;
  gap: 0.8rem;
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 255, 175, 0.4) transparent;
}

.news-feed::-webkit-scrollbar {
  width: 6px;
}

.news-feed::-webkit-scrollbar-track {
  background: transparent;
}

.news-feed::-webkit-scrollbar-thumb {
  background: rgba(123, 255, 175, 0.3);
  border-radius: 999px;
}

.news-item {
  position: relative;
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(123, 255, 175, 0.12);
  background:
    linear-gradient(180deg, rgba(123, 255, 175, 0.05), transparent 55%),
    rgba(6, 15, 24, 0.94);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.news-item:hover {
  border-color: rgba(123, 255, 175, 0.45);
  box-shadow:
    0 0 14px rgba(123, 255, 175, 0.14),
    inset 0 0 22px rgba(123, 255, 175, 0.04);
  transform: translateY(-1px);
}

.news-item time {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--gold-1);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.news-source {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05rem 0.5rem;
  border: 1px solid rgba(123, 255, 175, 0.35);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.7rem;
  line-height: 1.5;
  vertical-align: 0.06rem;
  background: rgba(123, 255, 175, 0.06);
}

.news-source.src-jin10 {
  border-color: rgba(123, 255, 175, 0.5);
  color: #7bffaf;
  background: rgba(123, 255, 175, 0.1);
}

.news-source.src-em {
  border-color: rgba(255, 214, 90, 0.5);
  color: #ffd65a;
  background: rgba(255, 214, 90, 0.08);
}

.news-source.src-ths {
  border-color: rgba(90, 214, 255, 0.5);
  color: #5ad6ff;
  background: rgba(90, 214, 255, 0.08);
}

.news-source.src-demo {
  border-color: rgba(160, 170, 190, 0.4);
  color: #a0aabe;
  background: rgba(160, 170, 190, 0.07);
}

.news-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

@media (max-width: 980px) {
  .feed-status-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .feed-status-meta {
    justify-items: start;
    text-align: left;
  }

  .kline-grid-primary,
  .kline-grid-secondary {
    grid-template-columns: 1fr;
  }

  .kline-grid-primary {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .dashboard-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 4.6rem;
  }

  .dashboard-back-link {
    top: 0.7rem;
    left: 0.7rem;
  }

  .panel-head {
    flex-direction: column;
  }

  .feed-status-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-overlay {
    align-items: flex-start;
  }

  .more-symbol-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .more-symbol-select {
    width: 100%;
  }

  .focus-body {
    grid-template-columns: 1fr;
  }

  .focus-left {
    border-right: none;
    border-bottom: 1px solid rgba(123, 255, 175, 0.1);
  }

  .chart,
  .kline-chart-large,
  .focus-chart {
    height: 270px;
  }
}
