* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 24px;
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #f0f6fc;
}

#status {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: #8b949e;
}
#status.connected { color: #3fb950; }
#status.disconnected { color: #f85149; }

.quote-wrap {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 16px;
}

.chart-wrap {
  margin-top: 16px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 16px;
}

.quote-wrap h2 {
  font-size: 1rem;
  color: #f0f6fc;
  margin-bottom: 10px;
}

.chart-wrap h2 {
  font-size: 1rem;
  color: #f0f6fc;
  margin-bottom: 10px;
}

#price-chart {
  width: 100%;
  height: 260px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.quote-table th,
.quote-table td {
  border: 1px solid #30363d;
  padding: 12px 8px;
  text-align: center;
}

.quote-table th {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8b949e;
  background: #0d1117;
}

.quote-table td {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f6fc;
}

.quote-table td.sell {
  color: #f85149;
}

.quote-table td.buy {
  color: #3fb950;
}

.updated {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #8b949e;
}

@media (max-width: 640px) {
  .quote-table th,
  .quote-table td {
    padding: 10px 4px;
    font-size: 0.95rem;
  }
}
