.delta-naik { color: #0e7c66; font-weight: 700; }
.delta-turun { color: #c62828; font-weight: 700; }
[data-theme="dark"] .delta-naik { color: #26a69a; }
[data-theme="dark"] .delta-turun { color: #ef5350; }
.tgl-pendek { display: none; }
@media (max-width: 1024px), (pointer: coarse) {
  .tgl-panjang { display: none; }
  .tgl-pendek { display: inline; }
}
.stock-chart { width: 100%; height: 380px; background: #0e1117; border-radius: 8px; }
.stock-legend { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  color: #d1d4dc; background: #0e1117; border-radius: 8px 8px 0 0; padding: 8px 12px;
  margin: 0; letter-spacing: .2px; }
.stock-table-scroll { max-height: 476px; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; border: 1px solid rgba(125,125,125,.25);
  border-radius: 8px; }
.stock-table-scroll table { margin: 0; }
.stock-table-scroll thead th { position: sticky; top: 0; z-index: 2;
  box-shadow: inset 0 -1px 0 rgba(125,125,125,.25); }
[data-theme="light"] .stock-chart { background: #ffffff; }
[data-theme="light"] .stock-legend { color: #242424; background: #ffffff; }

.gainer-panel{margin:1.5rem 0;border:1px solid rgba(125,125,125,.25);border-radius:12px;overflow:hidden}
.gainer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.1rem;border-bottom:1px solid rgba(125,125,125,.22)}
.gainer-toolbar>div:first-child{display:flex;flex-direction:column;gap:.25rem}
.gainer-updated,.gainer-footnote{font-size:.88rem;opacity:.72}
.gainer-periods{display:flex;gap:.4rem;flex-wrap:wrap}
.gainer-periods button{border:1px solid rgba(125,125,125,.35);border-radius:999px;padding:.5rem .85rem;background:transparent;color:inherit;cursor:pointer;font:inherit}
.gainer-periods button:hover,.gainer-periods button.is-active{background:#0e7c66;border-color:#0e7c66;color:#fff}
.gainer-table-wrap{overflow-x:auto}.gainer-table{width:100%;border-collapse:collapse;margin:0}
.gainer-table th,.gainer-table td{padding:.75rem .8rem;border-bottom:1px solid rgba(125,125,125,.16);text-align:left;vertical-align:middle}
.gainer-table th{white-space:nowrap;font-size:.88rem;opacity:.8}.gainer-table td small{margin-left:.1rem;opacity:.6}
.gainer-table tbody tr:last-child td{border-bottom:0}
.gainer-change{color:#0e7c66;font-weight:700;white-space:nowrap}
[data-theme="dark"] .gainer-change{color:#26a69a}
.gainer-footnote{margin:.8rem 1rem 1rem}
@media(max-width:700px){.gainer-table th,.gainer-table td{padding:.65rem .5rem;font-size:.9rem}.gainer-table th:nth-child(3),.gainer-table td:nth-child(3){min-width:13rem}}
