.currency-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.intro-note {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 20px 0 32px;
}

.page-h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--purple);
  margin: 30px 0 6px;
}
.page-lead {
  font-size: 15px;
  color: var(--gray);
  margin: 0 0 24px;
}

.rate-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35, 32, 43, 0.07);
  padding: 32px;
  margin-bottom: 32px;
}

.rate-card h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px 14px 28px;
  border-bottom: 2px solid #eee2f2;
  white-space: nowrap;
}

tbody td {
  padding: 20px 16px 20px 28px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid #f0edf3;
}
tbody td:first-child { font-weight: 700; }

tbody tr:nth-child(even) { background: #faf8fb; }

/* Таблица золота (2 колонки) — фиксируем пропорции, чтобы не было пустоты справа */
#goldTable {
  table-layout: fixed;
}
#goldTable th:first-child,
#goldTable td:first-child {
  width: 30%;
}
#goldTable th:last-child,
#goldTable td:last-child {
  width: 15%;
}

.loading-row {
  text-align: center;
  color: var(--gray);
  font-style: italic;
}

.legal-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin: 18px 0 0;
}

.updated-note {
  font-size: 13px;
  color: var(--gray);
  margin: 20px 0 0;
}

@media (max-width: 600px) {
  .rate-card { padding: 22px 18px; }
  .rate-card h2 { font-size: 20px; }
  thead th, tbody td { padding: 10px 8px; font-size: 13.5px; }
}