:root {
  --g-primary: #003C47;
  --g-primary-dark: #002B33;
  --g-secondary: #FF9900;
  --g-text: #1E293B;
  --g-muted: #64748B;
  --g-border: #E2E8F0;
  --g-card-bg: #FFFFFF;
  --g-light-gold: #FFFBEB;
  --g-gold-border: #FDE68A;
  --g-radius: 14px;
  --g-shadow: 0 4px 20px rgba(0, 60, 71, 0.07);
}

.utilities_gold {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
}

.utilities_gold__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-gold {
  background: var(--g-card-bg);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  box-shadow: var(--g-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-gold:hover {
  border-color: rgba(0, 60, 71, 0.25);
  box-shadow: 0 8px 26px rgba(0, 60, 71, 0.12);
}

.card-gold .card__inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card Header */
.widget-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--g-border);
  flex-wrap: nowrap;
}

.widget-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--g-primary);
  white-space: nowrap;
}

.widget-icon.gold-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.gold-type-select select {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--g-primary);
  background: #F8FAFC;
  border: 1px solid var(--g-border);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.gold-type-select select:focus {
  border-color: var(--g-secondary);
}

/* Gold Table */
.gold-table-wrap {
  overflow-x: auto;
}

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

.gold-table thead th {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--g-border);
}

.gold-table tbody td {
  padding: 9px 8px;
  font-size: 1.35rem;
  border-bottom: 1px dashed var(--g-border);
  vertical-align: middle;
}

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

.gold-table tbody tr:hover td {
  background-color: #FFFDF5;
}

.brand-badge {
  display: inline-block;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}

.brand-badge.sjc {
  background: #FEF3C7;
  color: #B45309;
}

.brand-badge.pnj {
  background: #E0E7FF;
  color: #4338CA;
}

.brand-badge.doji {
  background: #FEE2E2;
  color: #B91C1C;
}

.brand-badge.default {
  background: #F1F5F9;
  color: var(--g-primary);
}

.price-num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #0F172A;
}

.price-num.buy {
  color: #059669;
}

.price-num.sell {
  color: #DC2626;
}

.loading-td {
  text-align: center;
  color: var(--g-muted);
  padding: 24px 0 !important;
  font-style: italic;
}

.widget-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  color: var(--g-muted);
  padding-top: 4px;
}

.widget-action-wrap {
  margin-top: 4px;
}

.widget-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid var(--g-border);
  color: var(--g-primary);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.widget-action-link:hover {
  background: var(--g-primary);
  color: #FFFFFF;
  border-color: var(--g-primary);
}
