/* ELDERCS – "Last players" + "Last maps played" (Dashboard). Datos de /dashboard/recent-activity */
.ec-recent .card { height: 100%; }
.ec-recent .rc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ec-recent .rc-title { margin: 0; font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 1rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.ec-recent .rc-title i { color: #e58d27; }
.ec-recent .rc-sub { font-size: .75rem; letter-spacing: 1px; color: rgba(255, 255, 255, .45); text-transform: uppercase; font-weight: 700; }
.ec-recent .rc-empty { padding: 26px 10px; text-align: center; color: rgba(255, 255, 255, .5); }
.ec-recent .rc-empty i { display: block; font-size: 1.8rem; margin-bottom: 8px; color: rgba(229, 141, 39, .5); }

/* ---- last players ---- */
.ec-recent .rc-players { display: flex; flex-direction: column; gap: 8px; }
.ec-recent .rc-p { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; cursor: pointer; color: #fff;
    background: linear-gradient(110deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border: 1px solid rgba(255, 255, 255, .07);
    opacity: 0; transform: translateX(-10px); animation: rc-in .4s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 35ms);
    transition: border-color .2s ease, background .2s ease, transform .2s ease; }
@keyframes rc-in { to { opacity: 1; transform: none; } }
.ec-recent .rc-p:hover { border-color: rgba(229, 141, 39, .55); background: linear-gradient(110deg, rgba(229, 141, 39, .12), rgba(255, 255, 255, .02)); transform: translateX(3px); }
.ec-recent .rc-av { position: relative; flex: 0 0 40px; }
.ec-recent .rc-av img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .18); filter: grayscale(.35); background: #1a1a1d; transition: filter .2s; }
.ec-recent .rc-p:hover .rc-av img { filter: none; }
.ec-recent .rc-av s { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #6b7280; border: 2px solid #121214; }
.ec-recent .rc-p.is-staff .rc-av img { border-color: var(--c); }
.ec-recent .rc-info { min-width: 0; flex: 1; }
.ec-recent .rc-name { display: block; font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-recent .rc-tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.ec-recent .rc-right { text-align: right; flex: 0 0 auto; }
.ec-recent .rc-ago { display: block; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.ec-recent .rc-ago i { color: rgba(255, 255, 255, .4); margin-right: 4px; }
.ec-recent .rc-kd { display: block; font-size: .7rem; color: rgba(255, 255, 255, .4); white-space: nowrap; }
.ec-recent .rc-kd b { color: #ffb454; }
/* etiquetas (mismo estilo que "Players online right now") */
.ec-recent .on-tag { display: inline-block; padding: 1px 7px; border-radius: 20px; font-size: .6rem; font-weight: 800; letter-spacing: .6px; line-height: 1.5; color: #fff; white-space: nowrap; }
.ec-recent .on-tag.staff { background: var(--c); }
.ec-recent .on-tag.vip { background-size: 200% 100%; }
.ec-recent .on-tag.vip i { font-size: .55rem; margin-right: 2px; }
.ec-recent .on-tag.vip-free    { color: #0a0a0c; background-image: linear-gradient(110deg, #ffd24a, #e58d27, #ffd24a); }
.ec-recent .on-tag.vip-pro     { background-image: linear-gradient(110deg, #0891b2, #38bdf8, #0891b2); }
.ec-recent .on-tag.vip-premium { color: #0a0a0c; background-image: linear-gradient(110deg, #e58d27, #ffb454, #e58d27); }
.ec-recent .on-tag.vip-extreme { background-image: linear-gradient(110deg, #be123c, #ff3d6e, #a855f7, #be123c); }
.ec-recent .on-rating { display: inline-flex; align-items: center; padding: 0 8px; height: 16px; transform: skewX(-14deg); border-radius: 3px; background: linear-gradient(90deg, var(--tb), transparent 140%); border-left: 3px solid var(--t); }
.ec-recent .on-rating b { transform: skewX(14deg); font-family: 'Orbitron', sans-serif; font-style: italic; font-weight: 900; font-size: .66rem; color: var(--t); }
.ec-recent .on-pos { display: inline-flex; align-items: center; gap: 3px; height: 16px; padding: 0 6px; border-radius: 20px; font-size: .62rem; font-weight: 800; color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ec-recent .on-pos i { font-size: .55rem; opacity: .6; }

/* ---- last maps ---- */
.ec-recent .rc-maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ec-recent .rc-m { position: relative; min-height: 104px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px; color: #fff;
    background: #1a1a1d center/cover no-repeat; border: 1px solid rgba(255, 255, 255, .08);
    opacity: 0; transform: translateY(10px); animation: rc-up .45s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 50ms);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
@keyframes rc-up { to { opacity: 1; transform: none; } }
.ec-recent .rc-m::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 12, .05) 0%, rgba(10, 10, 12, .55) 55%, rgba(10, 10, 12, .92) 100%); transition: background .25s; }
.ec-recent .rc-m > * { position: relative; }
.ec-recent .rc-m:hover { transform: translateY(-3px); border-color: rgba(229, 141, 39, .6); box-shadow: 0 12px 26px -12px rgba(229, 141, 39, .8); }
.ec-recent .rc-m:hover::before { background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, .4) 55%, rgba(10, 10, 12, .9) 100%); }
.ec-recent .rc-m-name { font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; font-size: .92rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-recent .rc-m-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.ec-recent .rc-m-meta i { color: #e58d27; margin-right: 3px; }
.ec-recent .rc-m-when { position: absolute; top: 8px; right: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .5px; color: rgba(255, 255, 255, .85); background: rgba(10, 10, 12, .6); padding: 2px 8px; border-radius: 20px; backdrop-filter: blur(4px); }
.ec-recent .rc-m.live { border-color: rgba(61, 220, 132, .6); box-shadow: 0 0 0 1px rgba(61, 220, 132, .25), 0 0 22px -6px rgba(61, 220, 132, .8); }
.ec-recent .rc-m.live .rc-m-when { color: #0a0a0c; background: #3ddc84; display: inline-flex; align-items: center; gap: 5px; }
.ec-recent .rc-m.live .rc-m-when i { width: 6px; height: 6px; border-radius: 50%; background: #0a0a0c; animation: rc-blink 1.2s ease-in-out infinite; }
@keyframes rc-blink { 50% { opacity: .25; } }
.ec-recent .rc-m:first-child.live { grid-column: 1 / -1; min-height: 130px; }
.ec-recent .rc-m:first-child.live .rc-m-name { font-size: 1.15rem; }

@media (max-width: 767px) { .ec-recent .col-md-6 + .col-md-6 { margin-top: 16px; } }
@media (max-width: 420px) { .ec-recent .rc-maps { grid-template-columns: 1fr; } .ec-recent .rc-kd { display: none; } }
.ec-recent .rc-more { grid-column: 1 / -1; justify-self: center; margin-top: 4px; background: none; border: 1px solid rgba(229, 141, 39, .35); border-radius: 8px; color: #e58d27; cursor: pointer;
    font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; padding: 8px 16px; transition: background .2s, color .2s; }
.ec-recent .rc-more:hover { background: #e58d27; color: #0a0a0c; }
.ec-recent .rc-more i { margin-right: 6px; }
