/* Results page — verifiable live accounts, rendered from assets/data/results.json.
   Built on the site's tokens so it follows the light/dark theme. */

/* ---- summary strip ---- */

.rs-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.rs-sum {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.rs-sum b {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.rs-sum span {
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  color: var(--muted);
}

/* ---- how to verify ---- */

.rs-verify {
  padding: 26px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--tint-primary);
}

.rs-verify h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.rs-verify > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .93rem;
  max-width: 70ch;
}

.rs-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.rs-steps li {
  counter-increment: step;
  padding-left: 42px;
  position: relative;
  font-size: .9rem;
  line-height: 1.5;
}

.rs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}

/* ---- toolbar ---- */

.rs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.rs-bar .rs-count {
  margin-left: auto;
  font-size: .88rem;
  color: var(--muted);
}

.rs-chip {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.rs-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.rs-chip[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--violet));
}

/* ---- card grid ---- */

.rs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.rs-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.rs-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.rs-shot {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: var(--bg-2);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
}

.rs-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.rs-shot::after {
  content: "Tap to enlarge";
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 10px;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(5, 6, 10, .9), rgba(5, 6, 10, 0));
}

.rs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 0;
}

.rs-acct {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.rs-tag {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--muted);
}

.rs-date {
  margin-left: auto;
  font-size: .78rem;
  color: var(--muted);
}

.rs-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--border);
}

.rs-figs div {
  padding: 11px 13px;
  background: var(--surface);
}

.rs-figs dt {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.rs-figs dd {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
}

.rs-figs .up { color: var(--green); }
.rs-figs .down { color: var(--red); }

/* ---- credentials ---- */

.rs-creds {
  margin: 0 18px 16px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--tint-primary);
}

.rs-creds h4 {
  margin: 0 0 10px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rs-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: .85rem;
}

.rs-cred span {
  color: var(--muted);
  min-width: 74px;
}

.rs-cred code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .84rem;
  color: var(--text);
}

.rs-copy {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .75rem;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.rs-copy:hover { color: var(--primary); border-color: var(--primary); }
.rs-copy.done { color: var(--green); border-color: var(--green); }

.rs-links {
  display: flex;
  gap: 8px;
  margin: auto 18px 18px;
}

.rs-links a {
  flex: 1;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-align: center;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.rs-links a:hover { border-color: var(--primary); color: var(--primary); }
.rs-links .rs-mfb { border-color: var(--gold); color: var(--gold); }

/* ---- load more ---- */

.rs-more {
  display: block;
  margin: 32px auto 0;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 107, 255, .3);
}

.rs-empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* ---- lightbox ---- */

.rs-box {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 10, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rs-box[open] { display: grid; }

.rs-box img {
  max-width: min(92vw, 560px);
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.rs-box-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .rs-card { transition: none; }
  .rs-card:hover { transform: none; }
}
