/* Ranked hub (/ranked): two entry cards on top of ranked_leaderboard.style.1.css (rl-wrap, rl-hero, live badge). */
.rh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.rh-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: var(--card); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; overflow: hidden;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.rh-card:hover {
    border-color: rgba(var(--primary-rgb), 0.55); transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.rh-card-head { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06); }
.rh-card-icon { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)); transition: transform 0.3s ease; }
.rh-card:hover .rh-card-icon { transform: scale(1.08) translateY(-2px); }
.rh-card-text { flex: 1; min-width: 0; }
.rh-card-text h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.3px; line-height: 1.15;
    display: flex; align-items: center; gap: 0.5rem; }
.rh-card-text p { margin: 0.3rem 0 0; font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; }
.rh-new { font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    background: rgba(var(--primary-rgb), 0.18); color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.35); border-radius: 5px; padding: 0.15rem 0.45rem; }
.rh-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-dim); transition: color 0.18s, transform 0.18s; }
.rh-card:hover .rh-arrow { color: var(--primary); transform: translateX(3px); }

.rh-preview { flex: 1; padding: 0.85rem 1.1rem 0.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.rh-preview-label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-dim); margin-bottom: 0.15rem; }
.rh-muted { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; padding: 0.6rem 0; }

.rh-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0.65rem; border-radius: 9px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.rh-row .rl-rank { width: 2rem; flex-shrink: 0; font-weight: 800; font-size: 0.82rem; }
.rh-avatar { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.rh-name { flex: 1; min-width: 0; font-weight: 700; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-pts { font-weight: 800; font-size: 0.9rem; color: var(--primary); }

.rh-brawlers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.rh-brawler { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.5rem 0.3rem;
    border-radius: 9px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.rh-brawler img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.rh-brawler-name { font-size: 0.68rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rh-brawler-wr { font-size: 0.64rem; color: var(--text-dim); font-weight: 600; }

.rh-cta { margin: 0.6rem 1.1rem 1.1rem; padding: 0.6rem; text-align: center; border-radius: 9px;
    font-size: 0.82rem; font-weight: 700; color: #fff; background: var(--primary); transition: filter 0.18s; }
.rh-card:hover .rh-cta { filter: brightness(1.12); }

@media (max-width: 700px) {
    .rh-cards { grid-template-columns: 1fr; gap: 0.75rem; }
    .rh-card-head { padding: 0.9rem; gap: 0.7rem; }
    .rh-card-icon { width: 44px; height: 44px; }
    .rh-card-text h2 { font-size: 1.1rem; }
    .rh-preview { padding: 0.75rem 0.9rem 0.3rem; }
    .rh-cta { margin: 0.5rem 0.9rem 0.9rem; }
}
