/* Results wall: real TikTok accounts whose clips went through FrameLift (home + FrameLift page) */
.r-wall { --flg: linear-gradient(135deg, #25f4ee 0%, #a24bff 50%, #fe2c55 100%); }
.r-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.r-total { position: relative; padding: 22px 24px; border-radius: 22px; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, rgba(162,75,255,.16), rgba(254,44,85,.08) 60%, rgba(37,244,238,.06)); border: 1px solid rgba(254,44,85,.32); }
.r-total b { display: block; font: 800 clamp(38px, 5vw, 60px)/1 var(--font-display); letter-spacing: -0.03em;
  background: var(--flg); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.r-total span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; font-size: 14.5px; }

.r-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.r-col { display: grid; gap: 14px; align-content: start; }
.r-acct { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; color: inherit; text-decoration: none;
  background: rgba(255,255,255,.045); border: 1px solid var(--stroke); transition: border-color .2s, transform .2s; }
.r-acct:hover { border-color: rgba(254,44,85,.55); transform: translateY(-2px); }
.r-acct img { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #0a0814, 0 0 0 4px rgba(254,44,85,.7); }
.r-acct .r-who { flex: 1; min-width: 0; }
.r-acct .r-who b { display: block; font: 700 17px var(--font-display); }
.r-acct .r-who small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.r-acct .r-who small i { font-style: normal; color: #fff; font-weight: 700; }
.r-acct .r-open { flex: none; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 11px; background: rgba(254,44,85,.16); border: 1px solid rgba(254,44,85,.45); white-space: nowrap; }

.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.r-vid { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #0a0814; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.1); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }
.r-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .5s cubic-bezier(.2,.8,.2,1); -webkit-user-drag: none; }
.r-vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(8,6,15,.35), transparent 28%, transparent 55%, rgba(8,6,15,.92)); pointer-events: none; }
.r-vid:hover { transform: translateY(-3px); border-color: rgba(254,44,85,.6); box-shadow: 0 18px 40px -16px rgba(254,44,85,.7); }
.r-vid:hover img { transform: scale(1.06); }
.r-vid .r-fl { position: absolute; top: 7px; left: 7px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 3px 7px 3px 3px; border-radius: 8px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; background: rgba(8,6,15,.72); backdrop-filter: blur(6px); }
.r-vid .r-fl img { position: static; width: 16px; height: 16px; border-radius: 5px; transform: none !important; }
.r-vid .r-views { position: absolute; left: 9px; bottom: 26px; z-index: 2; font: 800 17px var(--font-display); text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.r-vid .r-views::before { content: '▶'; font-size: 11px; margin-right: 5px; vertical-align: 2px; }
.r-vid .r-cap { position: absolute; left: 9px; right: 9px; bottom: 8px; z-index: 2; font-size: 11.5px; color: rgba(255,255,255,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-vid .r-watch { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: all .25s;
  font-size: 12.5px; font-weight: 800; padding: 8px 12px; border-radius: 999px; white-space: nowrap; background: var(--flg); box-shadow: 0 8px 24px -6px rgba(254,44,85,.9); }
.r-vid:hover .r-watch, .r-vid:focus-visible .r-watch { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.r-vid.top { border-color: rgba(247,201,72,.55); }
.r-vid.top .r-fl { background: linear-gradient(90deg, rgba(240,138,36,.95), rgba(254,44,85,.95)); }
.r-note { text-align: center; color: var(--dim); font-size: 13px; margin: 18px 0 0; }

@media (max-width: 1000px) {
  .r-cols { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .r-totals { grid-template-columns: 1fr 1fr; }
  .r-totals .r-total:last-child { grid-column: 1 / -1; }
  .r-total { padding: 16px; }
  .r-acct { flex-wrap: wrap; }
  .r-acct .r-open { width: 100%; text-align: center; }
  .r-vid .r-views { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-vid, .r-vid img, .r-vid .r-watch { transition: none; }
}

/* only one account on the wall: one centred column */
.r-cols.one { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
