* { box-sizing: border-box; }
body {
    margin: 0; color: #fff; font-family: -apple-system, Segoe UI, Arial, sans-serif; min-height: 100vh;
    background-color: #000;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    background-attachment: fixed;
}
a { color: inherit; }

.rv-page { max-width: 980px; margin: 0 auto; padding: 120px 20px 80px; position: relative; z-index: 1; }

.rv-header { text-align: center; margin-bottom: 32px; }
.rv-header h1 { font-size: 36px; margin: 0 0 6px; font-weight: 700; }
.rv-header h1 .accent { color: #aaa; }
.rv-stats { display: inline-flex; align-items: center; gap: 18px; margin-top: 16px; padding: 14px 22px; background: #0f0f12; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; font-size: 14px; color: #ddd; }
.rv-stats b { color: #2cf5b3; font-weight: 700; }
.rv-stars-big { color: #ffd54a; letter-spacing: 1px; font-size: 18px; }

.rv-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 28px 0 20px; padding: 14px; background: #0f0f12; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.rv-tabs { display: flex; gap: 6px; }
.rv-tab { background: transparent; border: 1px solid rgba(255,255,255,.1); color: #ccc; padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
.rv-tab:hover { background: rgba(255,255,255,.05); }
.rv-tab.active { background: #2cf5b3; color: #0a0a0d; border-color: #2cf5b3; }
.rv-search { margin-left: auto; display: flex; align-items: center; }
.rv-search input { background: #17171a; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 7px 12px; font-size: 13px; min-width: 240px; outline: none; }
.rv-search input:focus { border-color: rgba(44,245,179,.5); }
@media (max-width: 640px) { .rv-search { margin-left: 0; width: 100%; } .rv-search input { width: 100%; min-width: 0; } }
.rv-filters { display: flex; gap: 8px; align-items: center; }
.rv-filters select { background: #17171a; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 7px 10px; font-size: 13px; cursor: pointer; }

#rv-list { display: flex; flex-direction: column; gap: 12px; }

.rv-card { background: #0f0f12; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; }
.rv-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #17171a; flex-shrink: 0; }
.rv-head { flex: 1; min-width: 0; }
.rv-user { font-weight: 700; font-size: 14px; }
.rv-handle { color: #777; font-size: 12px; margin-left: 6px; }
.rv-meta { display: flex; align-items: center; gap: 10px; margin-top: 3px; width: 100%; }
.rv-meta .rv-date { margin-left: auto; }
.rv-stars { color: #ffd54a; font-size: 13px; letter-spacing: 1px; }
.rv-date { color: #777; font-size: 12px; }
.rv-badge { background: rgba(44,245,179,.1); color: #2cf5b3; border: 1px solid rgba(44,245,179,.3); padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.rv-text { color: #d7d7df; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.rv-mention { background: rgba(88, 101, 242, 0.18); color: #a8b1ff; padding: 1px 5px; border-radius: 4px; font-weight: 500; cursor: default; }
.rv-mention:hover { background: rgba(88, 101, 242, 0.3); }
.rv-mention-channel { background: rgba(44, 245, 179, 0.14); color: #7ff5c5; }
.rv-mention-channel:hover { background: rgba(44, 245, 179, 0.26); }
.rv-images { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rv-img-thumb { width: 86px; height: 86px; border-radius: 8px; object-fit: cover; cursor: pointer; background: #17171a; border: 1px solid rgba(255,255,255,.08); transition: transform .15s ease; }
.rv-img-thumb:hover { transform: scale(1.04); }

.rv-empty { text-align: center; padding: 60px 20px; color: #666; font-size: 15px; }
.rv-loading { text-align: center; padding: 30px; color: #666; font-size: 13px; }
.rv-load-more-wrap { text-align: center; margin-top: 20px; }
.rv-load-more { background: #17171a; color: #fff; border: 1px solid rgba(255,255,255,.1); padding: 11px 26px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.rv-load-more:hover:not(:disabled) { background: #1f1f24; border-color: rgba(44,245,179,.4); }
.rv-load-more:disabled { opacity: .5; cursor: not-allowed; }

.rv-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.rv-lightbox.open { display: flex; }
.rv-lightbox img { max-width: 95vw; max-height: 95vh; border-radius: 8px; }
.rv-lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; }

@media (max-width: 640px) {
    .rv-header h1 { font-size: 26px; }
    .rv-stats { font-size: 12px; gap: 10px; padding: 10px 14px; }
    .rv-controls { flex-direction: column; align-items: stretch; }
    .rv-filters { flex-direction: column; align-items: stretch; }
    .rv-filters select { width: 100%; }
    .rv-tabs { justify-content: center; }
}
