/*
 * MyTunes Social Platform — Rewards Dashboard Styles
 * File: rewards.css
 * Session 4 — Notes Rewards System Frontend
 *
 * Design tokens:
 *   --rw-bg:         Near-black   #0F0A1E
 *   --rw-surface:    Deep Violet  #2D1B69
 *   --rw-accent:     Warm Amber   #F97316
 *   --rw-cyan:       Electric Cyan #06B6D4
 *   --rw-white:      Electric White #F8FAFC
 *   --rw-border:     rgba(196,181,253,0.18)
 *
 * Fonts: Space Grotesk (headings), Inter (body)
 * Mobile-first; breakpoint at 768px
 */

/* ─── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --rw-bg:           #0F0A1E;
  --rw-surface:      #2D1B69;
  --rw-surface-2:    #1A1035;
  --rw-accent:       #F97316;
  --rw-accent-hover: #fb8c3a;
  --rw-cyan:         #06B6D4;
  --rw-white:        #F8FAFC;
  --rw-text-muted:   rgba(248,250,252,0.55);
  --rw-border:       rgba(196,181,253,0.18);
  --rw-bronze:       #CD7F32;
  --rw-gold:         #F97316;
  --rw-platinum:     #06B6D4;
  --rw-success:      #22c55e;
  --rw-error:        #ef4444;
  --rw-radius:       12px;
  --rw-radius-sm:    8px;
  --rw-shadow:       0 8px 32px rgba(0,0,0,0.55);
}

/* ─── Container (full-screen overlay) ───────────────────────────────────────── */
#rewards-container {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#rewards-container.rw-container--visible {
  pointer-events: auto;
  opacity: 1;
}

/* Lock body scroll when dashboard open */
body.rw-body-locked {
  overflow: hidden;
}

/* ─── Dashboard Shell ─────────────────────────────────────────────────────────── */
.rw-dashboard {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--rw-bg);
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--rw-white);
}

/* ─── Header ──────────────────────────────────────────────────────────────────── */
.rw-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--rw-surface);
  border-bottom: 1px solid var(--rw-border);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.rw-header-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rw-white);
  margin: 0;
  flex: 1;
}

.rw-close-btn {
  background: transparent;
  border: none;
  color: var(--rw-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--rw-radius-sm);
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.rw-close-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--rw-white);
}

/* ─── Scrollable Content ─────────────────────────────────────────────────────── */
.rw-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 60px;
  scroll-behavior: smooth;
}

/* Scrollbar styling */
.rw-content::-webkit-scrollbar { width: 6px; }
.rw-content::-webkit-scrollbar-track { background: transparent; }
.rw-content::-webkit-scrollbar-thumb { background: var(--rw-surface); border-radius: 3px; }

/* ─── Sections ────────────────────────────────────────────────────────────────── */
.rw-section {
  padding: 28px 20px 0;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.rw-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rw-white);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.rw-section-sub {
  font-size: 0.85rem;
  color: var(--rw-text-muted);
  margin: 0 0 16px;
}

/* ─── HERO: Balance ───────────────────────────────────────────────────────────── */
.rw-section--hero {
  padding-top: 36px;
  text-align: center;
}

.rw-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rw-hero-balance-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rw-hero-balance-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--rw-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  /* Amber glow animation */
  animation: rw-balance-glow 3s ease-in-out infinite;
}

@keyframes rw-balance-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(249,115,22,0.4); }
  50%       { text-shadow: 0 0 40px rgba(249,115,22,0.75), 0 0 80px rgba(249,115,22,0.3); }
}

.rw-hero-balance-label {
  font-size: 0.9rem;
  color: var(--rw-text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Tier Badge ─────────────────────────────────────────────────────────────── */
.rw-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--rw-surface);
  border: 1.5px solid var(--rw-border);
  color: var(--rw-white);
}

.rw-tier-badge[data-tier="bronze"] {
  border-color: var(--rw-bronze);
  color: var(--rw-bronze);
}
.rw-tier-badge[data-tier="gold"] {
  border-color: var(--rw-gold);
  color: var(--rw-gold);
}
.rw-tier-badge[data-tier="platinum"] {
  border-color: var(--rw-platinum);
  color: var(--rw-platinum);
}

/* ─── Streak Counter ─────────────────────────────────────────────────────────── */
.rw-streak {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(249,115,22,0.12);
  border: 1.5px solid rgba(249,115,22,0.35);
  color: var(--rw-accent);
}

/* ─── Lifetime Stats (2×2 grid) ──────────────────────────────────────────────── */
.rw-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.rw-stat-card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius);
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rw-stat-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.rw-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rw-cyan);
}

.rw-stat-label {
  font-size: 0.75rem;
  color: var(--rw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Earn More Table ─────────────────────────────────────────────────────────── */
.rw-earn-table-wrap {
  overflow-x: auto;
  border-radius: var(--rw-radius);
  border: 1px solid var(--rw-border);
}

.rw-earn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rw-earn-table thead {
  background: var(--rw-surface);
}

.rw-earn-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.75rem;
  color: var(--rw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
}

.rw-earn-th-mult {
  color: var(--rw-cyan) !important;
}

.rw-earn-table tbody tr:nth-child(odd) {
  background: rgba(45,27,105,0.4);
}
.rw-earn-table tbody tr:nth-child(even) {
  background: rgba(15,10,30,0.5);
}
.rw-earn-table tbody tr:hover {
  background: rgba(249,115,22,0.08);
}

.rw-earn-table td {
  padding: 10px 14px;
  vertical-align: middle;
}

.rw-earn-icon { font-size: 1.1rem; width: 36px; }
.rw-earn-action { color: var(--rw-white); font-weight: 500; }
.rw-earn-base { color: var(--rw-text-muted); white-space: nowrap; }
.rw-earn-multiplied { color: var(--rw-cyan); font-weight: 700; white-space: nowrap; }

.rw-earn-note {
  display: block;
  font-size: 0.72rem;
  color: var(--rw-text-muted);
  margin-top: 2px;
  font-style: italic;
}

/* ─── Redemption Cards (3-col desktop, 1-col mobile) ─────────────────────────── */
.rw-redeem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 4px;
}

.rw-redeem-card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rw-redeem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.rw-redeem-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.rw-redeem-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rw-white);
  margin: 0;
}

.rw-redeem-cost {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rw-accent);
}

.rw-redeem-desc {
  font-size: 0.84rem;
  color: var(--rw-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Redeem button states */
.rw-redeem-btn {
  margin-top: auto;
  padding: 10px 18px;
  border-radius: var(--rw-radius-sm);
  border: none;
  background: var(--rw-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: 'Space Grotesk', sans-serif;
}
.rw-redeem-btn:hover:not([disabled]) {
  background: var(--rw-accent-hover);
  transform: translateY(-1px);
}
.rw-redeem-btn:active:not([disabled]) {
  transform: translateY(0);
}
.rw-redeem-btn--disabled,
.rw-redeem-btn[disabled] {
  background: rgba(248,250,252,0.1) !important;
  color: var(--rw-text-muted) !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* ─── Activity Feed ───────────────────────────────────────────────────────────── */
.rw-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  border-left: 2px solid var(--rw-cyan);
  padding-left: 0;
}

.rw-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rw-border);
  transition: background 0.12s;
  margin-left: 0;
}
.rw-activity-item:hover {
  background: rgba(249,115,22,0.06);
}
.rw-activity-item:last-child {
  border-bottom: none;
}

/* Color by action type */
.rw-activity-item[data-type^="gave_"]  .rw-activity-icon { color: #a78bfa; }
.rw-activity-item[data-type^="got_"]   .rw-activity-icon { color: var(--rw-accent); }
.rw-activity-item[data-type^="streak"] .rw-activity-icon { color: #fb923c; }
.rw-activity-item[data-type^="daily"]  .rw-activity-icon { color: #facc15; }
.rw-activity-item[data-type^="referral"] .rw-activity-icon { color: #4ade80; }
.rw-activity-item[data-type^="redeem"] .rw-activity-icon { color: var(--rw-text-muted); }

.rw-activity-icon {
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.rw-activity-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rw-activity-label {
  font-size: 0.88rem;
  color: var(--rw-white);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rw-activity-time {
  font-size: 0.75rem;
  color: var(--rw-text-muted);
}

.rw-activity-delta {
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.rw-activity-delta--positive { color: var(--rw-success); }
.rw-activity-delta--negative { color: var(--rw-error); }

.rw-activity-empty {
  padding: 24px;
  text-align: center;
  color: var(--rw-text-muted);
  font-size: 0.9rem;
}

/* Load more button */
.rw-load-more-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--rw-border);
  color: var(--rw-text-muted);
  border-radius: var(--rw-radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.15s, color 0.15s;
}
.rw-load-more-btn:hover {
  border-color: var(--rw-accent);
  color: var(--rw-accent);
}

/* ─── Referral Section ────────────────────────────────────────────────────────── */
.rw-section--referral {
  padding-bottom: 8px;
}

.rw-referral-card {
  background: var(--rw-surface);
  border: 2px dashed var(--rw-border);
  border-radius: var(--rw-radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rw-referral-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rw-white);
  margin: 0;
}

.rw-referral-desc {
  font-size: 0.88rem;
  color: var(--rw-text-muted);
  margin: 0;
  line-height: 1.55;
}

.rw-referral-link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.rw-referral-input {
  flex: 1;
  background: rgba(15,10,30,0.6);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-sm);
  color: var(--rw-white);
  padding: 10px 12px;
  font-size: 0.85rem;
  font-family: 'Inter', monospace, sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.rw-referral-input:focus {
  border-color: var(--rw-accent);
}

.rw-referral-copy-btn {
  padding: 10px 16px;
  background: var(--rw-accent);
  border: none;
  border-radius: var(--rw-radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: 'Space Grotesk', sans-serif;
}
.rw-referral-copy-btn:hover { background: var(--rw-accent-hover); }

/* Share buttons */
.rw-referral-share-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rw-share-btn {
  flex: 1;
  min-width: 120px;
  padding: 9px 14px;
  border-radius: var(--rw-radius-sm);
  border: 1.5px solid var(--rw-border);
  background: transparent;
  color: var(--rw-white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: 'Space Grotesk', sans-serif;
}
.rw-share-btn--x:hover  { border-color: #1da1f2; background: rgba(29,161,242,0.1); }
.rw-share-btn--wa:hover { border-color: #25d366; background: rgba(37,211,102,0.1); }

/* Referral stats */
.rw-referral-stats {
  display: flex;
  gap: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--rw-border);
  flex-wrap: wrap;
}

.rw-ref-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rw-ref-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rw-cyan);
}

.rw-ref-stat-label {
  font-size: 0.75rem;
  color: var(--rw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Upgrade CTA Banner ──────────────────────────────────────────────────────── */
.rw-section--upgrade {
  padding-top: 24px;
  padding-bottom: 28px;
}

.rw-upgrade-banner {
  background: linear-gradient(135deg, #F97316 0%, #fb923c 50%, #fbbf24 100%);
  border-radius: var(--rw-radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.rw-upgrade-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.rw-upgrade-btn {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.rw-upgrade-btn:hover { background: rgba(255,255,255,0.35); }

/* ─── Loading Overlay ─────────────────────────────────────────────────────────── */
.rw-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,10,30,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 50;
  color: var(--rw-text-muted);
  font-size: 0.9rem;
}

.rw-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(249,115,22,0.2);
  border-top-color: var(--rw-accent);
  border-radius: 50%;
  animation: rw-spin 0.8s linear infinite;
}

@keyframes rw-spin {
  to { transform: rotate(360deg); }
}

/* ─── Confirm Redemption Modal ────────────────────────────────────────────────── */
.rw-confirm-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.rw-confirm-modal--visible {
  opacity: 1;
  pointer-events: auto;
}

.rw-confirm-card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius);
  padding: 28px 24px;
  max-width: 380px;
  width: calc(100% - 40px);
  box-shadow: var(--rw-shadow);
  animation: rw-fade-scale 0.2s ease;
}

@keyframes rw-fade-scale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.rw-confirm-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rw-white);
  margin: 0 0 14px;
}

.rw-confirm-body p {
  font-size: 0.9rem;
  color: var(--rw-text-muted);
  margin: 0 0 8px;
  line-height: 1.5;
}

.rw-confirm-body strong {
  color: var(--rw-accent);
}

.rw-confirm-item-name {
  font-size: 0.88rem;
  color: var(--rw-white) !important;
  font-weight: 600;
}

.rw-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.rw-confirm-cancel-btn,
.rw-confirm-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--rw-radius-sm);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Space Grotesk', sans-serif;
}

.rw-confirm-cancel-btn {
  background: rgba(248,250,252,0.08);
  color: var(--rw-white);
}
.rw-confirm-cancel-btn:hover { background: rgba(248,250,252,0.14); }

.rw-confirm-btn {
  background: var(--rw-accent);
  color: #fff;
}
.rw-confirm-btn:hover:not([disabled]) { background: var(--rw-accent-hover); }
.rw-confirm-btn[disabled] {
  background: rgba(249,115,22,0.4);
  cursor: not-allowed;
}

/* ─── Nav Widget (🎼 balance in header) ─────────────────────────────────────── */
.rw-nav-widget {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(249,115,22,0.12);
  border: 1.5px solid rgba(249,115,22,0.35);
  border-radius: 99px;
  color: var(--rw-accent);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
}
.rw-nav-widget:hover {
  background: rgba(249,115,22,0.22);
  border-color: rgba(249,115,22,0.6);
}

.rw-nav-balance {
  color: var(--rw-accent);
}

/* Pop animation on balance update */
@keyframes rw-balance-pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.rw-nav-balance--pop {
  animation: rw-balance-pop 0.4s ease;
}

/* ─── Toast (fallback — minimal) ─────────────────────────────────────────────── */
.rw-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  animation: rw-toast-in 0.3s ease;
  max-width: 360px;
  width: calc(100% - 40px);
  text-align: center;
  pointer-events: none;
}
.rw-toast--success { background: var(--rw-surface); color: var(--rw-white); border: 1px solid rgba(249,115,22,0.55); } /* BGE fix: brand surface + amber border — was off-brand green */
.rw-toast--error   { background: var(--rw-surface); color: var(--rw-white); border: 1px solid rgba(239,68,68,0.55);  } /* BGE fix: brand surface + red border — was off-brand dark red */
.rw-toast--info    { background: var(--rw-surface); color: var(--rw-white); border: 1px solid var(--rw-border); }

@keyframes rw-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── Desktop (≥ 768px) ───────────────────────────────────────────────────────── */
@media (min-width: 768px) {

  .rw-header {
    padding: 18px 36px;
  }

  .rw-header-title {
    font-size: 1.4rem;
  }

  .rw-section {
    padding: 36px 36px 0;
  }

  .rw-section--hero {
    padding-top: 48px;
  }

  .rw-hero-balance-number {
    font-size: 5rem;
  }

  .rw-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rw-redeem-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .rw-referral-link-row {
    align-items: center;
  }

  .rw-upgrade-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
  }

  .rw-upgrade-text {
    font-size: 1rem;
  }

  /* Wider sidebar feel on large screens */
  .rw-content {
    padding: 0 0 80px;
  }
}

/* ─── Very small screens ──────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  .rw-hero-balance-number {
    font-size: 3rem;
  }
  .rw-earn-table { font-size: 0.78rem; }
  .rw-earn-table th, .rw-earn-table td { padding: 8px 8px; }
}
