/* Rewards page — OutRun theme (body.theme-outrun supplies the tokens).
   Podium markup/colours ported from mockups/onboarding/mockup-3-platform.html. */

/* width comes from wo-shared .container (600px, app-wide) */

/* prize + countdown banner */
.prize-banner {
  background: linear-gradient(120deg, var(--a2), var(--a1));
  color: #fff; border-radius: 18px; padding: 16px 18px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  box-shadow: 0 14px 32px rgba(247,52,94,0.28);
}
.prize-text { font-size: 14px; font-weight: 700; line-height: 1.4; flex: 1; min-width: 180px; }
.prize-count { text-align: right; }
.prize-count .pc-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.prize-count .pc-time { font-size: 20px; font-weight: 900; letter-spacing: 0.5px; }

/* podium (top 3) */
.podium { display: flex; align-items: flex-end; gap: 10px; justify-content: center; margin: 6px 0 18px; min-height: 150px; }
.pod { flex: 1; max-width: 150px; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; align-items: center; padding: 12px 6px 12px; color: #fff; text-align: center; }
.pod .rank { font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.pod .pa { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 7px; background: rgba(255,255,255,0.18); overflow: hidden; }
.pod .pa img { width: 100%; height: 100%; object-fit: cover; }
.pod .pn { font-size: 12.5px; font-weight: 800; line-height: 1.15; }
.pod .pk { font-size: 11px; opacity: 0.92; margin-top: 1px; }
.pod.p1 { background: linear-gradient(180deg, #E8A654, #D96A3A); height: 140px; }
.pod.p2 { background: linear-gradient(180deg, #B7B7C2, #8E8E9B); height: 112px; }
.pod.p3 { background: linear-gradient(180deg, #C98A4B, #A56A32); height: 92px; }
.pod.me { box-shadow: 0 0 0 3px var(--a1), 0 10px 24px rgba(0,0,0,0.3); }
.pod.empty { background: rgba(247,239,228,0.08); color: var(--on-dark-soft); }

/* you-are-#N strip */
.me-strip {
  background: var(--ink2); border: 1px solid var(--line-d); border-radius: 14px;
  padding: 13px 16px; margin-bottom: 16px; color: var(--on-dark);
  display: flex; align-items: center; gap: 12px;
}
.me-strip .mr { font-size: 22px; font-weight: 900; color: var(--a1); }
.me-strip .mt { flex: 1; font-size: 13px; line-height: 1.4; }
.me-strip .mt b { font-weight: 800; }
.me-strip a { color: var(--a1); font-weight: 800; text-decoration: none; font-size: 13px; white-space: nowrap; }

/* ranked list (4th onward) */
.rw-list { display: flex; flex-direction: column; gap: 8px; }
.rw-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink2); border: 1px solid var(--line-d); border-radius: 12px; padding: 10px 14px;
  color: var(--on-dark);
}
.rw-row.me { border-color: var(--a1); }
.rw-row .rk { width: 24px; text-align: center; font-weight: 900; color: var(--on-dark-soft); font-size: 14px; }
.rw-row .av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--a1), var(--a2)); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; color: #fff; flex-shrink: 0; }
.rw-row .av img { width: 100%; height: 100%; object-fit: cover; }
.rw-row .nm { flex: 1; font-weight: 700; font-size: 14px; }
.rw-row .bd { font-size: 11px; color: var(--on-dark-soft); }
.rw-row .pts { font-weight: 900; font-size: 15px; color: var(--a1); }

.rw-empty { text-align: center; color: var(--on-dark-soft); font-size: 13.5px; padding: 18px; }

/* how points work */
.how { margin-top: 22px; background: var(--ink2); border: 1px solid var(--line-d); border-radius: 14px; padding: 4px 16px; color: var(--on-dark); }
.how summary { cursor: pointer; font-weight: 800; font-size: 13.5px; padding: 12px 0; letter-spacing: 0.3px; }
.how ul { margin: 4px 0 10px; padding-left: 20px; line-height: 1.7; font-size: 13.5px; color: var(--on-dark-soft); }
.how ul b { color: var(--a1); }
.how-note { font-size: 12px; color: var(--on-dark-soft); padding-bottom: 14px; line-height: 1.5; }
.how-note b { color: var(--on-dark); }
