/* =========================================================================
   R33 City Feed — mobile card list
   ========================================================================= */

.r33-grid {
    display: block;
    width: 100%;
}

/* Card wrapper — div, not <a>, so theme can never override flex */
.r33-feed-card {
    display: flex;
    flex-direction: row;
    position: relative;
    background: #111;
    margin-bottom: 1px;
    overflow: hidden;
}

.r33-feed-card:active { background: #1a1a1a; }

/* Full-card tap overlay — sits below interactive elements */
.r33-feed-card-link {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    display: block;
}

/* ── Left column — r33cf-left ─────────────────────────────────────────── */
/* New isolated class: no theme has ever heard of r33cf-left */
.r33cf-left {
    flex: 0 0 50%;
    width: 50%;
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.r33-feed-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.r33-feed-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.r33-media-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Video playing state */
.r33-feed-card.r33-video-playing .r33-feed-video { opacity: 1; }
.r33-feed-card.r33-video-playing .r33-feed-img   { opacity: 0; }

/* Play badge — top right of media */
.r33-video-badge {
    position: absolute;
    top: 8px; right: 8px;
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 8px;
    z-index: 2;
}

/* Name + activity overlaid at bottom of media */
.r33-media-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 10px 10px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.r33-media-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.r33-activity {
    display: block;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
}
.r33-activity--now    { color: #22c55e; }
.r33-activity--recent { color: #86efac; }
.r33-activity--today  { color: #9ca3af; }

/* ── Right column — r33cf-right ───────────────────────────────────────── */
.r33cf-right {
    flex: 0 0 50%;
    width: 50%;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
}

/* Badges row */
.r33-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.r33-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    line-height: 16px;
    white-space: nowrap;
    text-transform: uppercase;
}

.r33-badge--elite    { background: linear-gradient(135deg, #f59e0b, #d97706); color: #000; }
.r33-badge--vip      { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.r33-badge--top      { background: rgba(239,68,68,0.9); color: #fff; }
.r33-badge--verified { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.4); }

/* Detail lines */
.r33-detail-line  { font-size: 12px; color: #d1d5db; line-height: 1.4; }
.r33-detail-price { font-size: 13px; font-weight: 600; color: #fff; }

/* Fav — pushed to bottom, above tap overlay */
.r33-info-footer {
    margin-top: auto;
}

.r33-feed-card-fav {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 2;
}

.r33-feed-card-fav .r33-fav-icon::before        { content: '♡'; color: #9ca3af; font-size: 15px; line-height: 1; }
.r33-feed-card-fav.is-active .r33-fav-icon::before { content: '♥'; color: #ef4444; }

/* Empty state */
.r33-feed-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.r33-feed-empty__cta {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: #111;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}
