.gt-fc-panel {
  margin: 1rem 1rem 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 170, 255, 0.25);
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.96) 0%, rgba(7, 16, 28, 0.98) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.gt-fc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.gt-fc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00aaff;
}
.gt-fc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.gt-fc-tab {
  font-size: 11px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #8ab4d0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.gt-fc-tab:hover {
  border-color: rgba(0, 170, 255, 0.35);
  color: #c8d8e8;
}
.gt-fc-tab.active {
  border-color: rgba(0, 170, 255, 0.55);
  background: rgba(0, 170, 255, 0.18);
  color: #fff;
}
.gt-fc-meta {
  font-size: 10px;
  color: #4a7fa5;
  font-family: ui-monospace, monospace;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.gt-fc-chart-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #050a12;
}
.gt-fc-svg {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 360px;
  display: block;
  cursor: crosshair;
}
.gt-fc-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  min-width: 120px;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 170, 255, 0.35);
  background: rgba(8, 18, 32, 0.96);
  color: #c8d8e8;
  font-size: 10px;
  line-height: 1.45;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  font-family: ui-monospace, monospace;
}
.gt-fc-tooltip strong {
  color: #fff;
  font-size: 11px;
}
.gt-fc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.65rem;
  font-size: 10px;
  color: #c8d8e8;
}
.gt-fc-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.gt-fc-leg-item i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gt-fc-leg-item em {
  font-style: normal;
  font-family: ui-monospace, monospace;
}
.gt-fc-note {
  font-size: 10px;
  color: #6a8fa8;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.gt-fc-list-head {
  margin-top: 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7ec8ff;
}
.gt-fc-list-wrap {
  margin-top: 0.5rem;
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.gt-fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
.gt-fc-table th,
.gt-fc-table td {
  padding: 0.35rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gt-fc-table th {
  position: sticky;
  top: 0;
  background: rgba(10, 22, 40, 0.98);
  color: #6a8fa8;
  font-weight: 600;
}
.gt-fc-table td:nth-child(1),
.gt-fc-table td:nth-child(4),
.gt-fc-table td:nth-child(5),
.gt-fc-table td:nth-child(6) {
  font-family: ui-monospace, monospace;
}
.gt-fc-up {
  color: #66ff99;
}
.gt-fc-down {
  color: #ff9900;
}
.gt-fc-empty {
  text-align: center;
  color: #6a8fa8;
  padding: 1rem !important;
}


/* News right-rail snapshot (Mini + non-Mini web) */
.gt-fc-panel--news {
  margin: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(0, 170, 255, 0.22);
  box-shadow: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(7, 16, 28, 1) 100%);
  padding: 0.75rem 0.7rem 0.85rem;
  box-sizing: border-box;
}
.gt-fc-panel--news .gt-fc-list-wrap {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}
.gt-fc-panel--news .gt-fc-head {
  flex-direction: column;
  align-items: stretch;
}
.gt-fc-panel--news .gt-fc-tabs {
  width: 100%;
}
@media (max-width: 820px) {
  .gt-fc-panel--news {
    border-left: none;
    border-top: 1px solid rgba(0, 170, 255, 0.22);
    min-height: 280px;
  }
}
