/* ═══════════════════════════════════════════════════════════════════
   🐺 TOP DOGS v5.0 - Premium Leaderboard Styles
   ENFORCER MINI APP 🔫
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════ */

.td-container {
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM HEADER
   ═══════════════════════════════════════════════════════════════════ */

.td-header {
    position: relative;
    text-align: center;
    padding: 30px 20px 25px;
    margin: -20px -20px 20px -20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.td-header-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 100%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.td-header-content {
    position: relative;
    z-index: 1;
}

.td-icon {
    font-size: 48px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
    animation: wolfProwl 2s ease-in-out infinite;
}

@keyframes wolfProwl {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.td-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #22c55e 50%, #ffd700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 3s linear infinite;
    letter-spacing: 2px;
}

@keyframes goldShine {
    to { background-position: 200% center; }
}

.td-subtitle {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════════ */

.td-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-radius: 14px;
    padding: 6px;
    border: 1px solid #222;
}

.td-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.td-tab:active {
    transform: scale(0.95);
}

.td-tab.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.td-tab-icon {
    font-size: 20px;
}

.td-tab-name {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════════
   LOADING & EMPTY
   ═══════════════════════════════════════════════════════════════════ */

.td-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 60px 20px;
}

.td-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #222;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.td-loading-text {
    color: #666;
    font-size: 13px;
}

.td-empty {
    text-align: center;
    padding: 50px 20px;
}

.td-empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.td-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.td-empty-text {
    font-size: 13px;
    color: #666;
}

/* ═══════════════════════════════════════════════════════════════════
   PODIUM
   ═══════════════════════════════════════════════════════════════════ */

.td-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    padding: 20px 10px;
    margin-bottom: 15px;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, transparent 100%);
    border-radius: 16px;
}

.td-podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.td-podium-item:active {
    transform: scale(0.95);
}

.td-podium-item.first {
    order: 2;
}
.td-podium-item.second {
    order: 1;
}
.td-podium-item.third {
    order: 3;
}

.td-podium-crown {
    font-size: 24px;
    margin-bottom: -5px;
    animation: crownFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-4px) rotate(5deg); }
}

.td-podium-medal {
    font-size: 20px;
    margin-bottom: 8px;
}

.td-podium-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid;
    margin-bottom: 8px;
    overflow: hidden;
}

.td-podium-avatar.gold { border-color: #ffd700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.td-podium-avatar.silver { border-color: #c0c0c0; box-shadow: 0 0 15px rgba(192, 192, 192, 0.3); }
.td-podium-avatar.bronze { border-color: #cd7f32; box-shadow: 0 0 15px rgba(205, 127, 50, 0.3); }

.td-podium-item.first .td-podium-avatar {
    width: 72px;
    height: 72px;
    font-size: 34px;
    border-width: 4px;
}

.td-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.td-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-podium-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-podium-val {
    font-size: 14px;
    font-weight: 800;
    color: #888;
    margin-bottom: 10px;
}

.td-podium-val.gold {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.td-podium-stand {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #000;
    border-radius: 8px 8px 0 0;
}

.td-podium-stand.first {
    height: 70px;
    width: 72px;
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    box-shadow: 0 -4px 20px rgba(255, 215, 0, 0.4);
}

.td-podium-stand.second {
    height: 50px;
    background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
}

.td-podium-stand.third {
    height: 35px;
    background: linear-gradient(180deg, #cd7f32 0%, #8b4513 100%);
}

/* Small podium for < 3 players */
.td-small-podium {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Compact mode for 1-2 players */
.td-small-podium.compact {
    max-width: 320px;
    margin: 0 auto 15px;
}

.td-small-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
}

.td-small-item.compact {
    padding: 12px;
}

.td-small-item.compact .td-small-avatar {
    font-size: 24px;
}

.td-small-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #22c55e15 0%, transparent 100%);
    border-radius: 8px;
    border: 1px dashed #22c55e40;
}

.td-small-hint-icon {
    font-size: 16px;
}

.td-small-hint-text {
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
}

.td-small-pos {
    font-size: 24px;
}

.td-small-avatar {
    font-size: 28px;
}

.td-small-info {
    flex: 1;
}

.td-small-name {
    font-weight: 700;
    color: #fff;
}

.td-small-val {
    font-size: 13px;
    color: #888;
}

/* ═══════════════════════════════════════════════════════════════════
   MY POSITION
   ═══════════════════════════════════════════════════════════════════ */

.td-my-pos {
    margin-bottom: 20px;
}

.td-my-label {
    font-size: 10px;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.td-my-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.td-my-card:active {
    transform: scale(0.98);
}

.td-my-rank {
    font-size: 18px;
    font-weight: 900;
    color: #22c55e;
    min-width: 45px;
    text-align: center;
}

.td-my-avatar {
    font-size: 28px;
}

.td-my-info {
    flex: 1;
}

.td-my-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.td-my-val {
    font-size: 13px;
    color: #22c55e;
    margin-top: 2px;
}

.td-my-badge {
    position: absolute;
    top: -6px;
    right: 12px;
    font-size: 9px;
    font-weight: 900;
    color: #000;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.td-my-pos.not-ranked .td-my-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-color: #333;
}

.td-my-pos.not-ranked .td-my-rank {
    color: #555;
}

.td-my-pos.not-ranked .td-my-val {
    color: #888;
}

/* ═══════════════════════════════════════════════════════════════════
   LIST
   ═══════════════════════════════════════════════════════════════════ */

.td-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.td-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.td-item:active {
    transform: scale(0.98);
    border-color: #22c55e;
}

.td-item.me {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, #141414 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.td-item-pos {
    font-size: 14px;
    font-weight: 800;
    color: #555;
    min-width: 28px;
    text-align: center;
}

.td-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #1a1a1a;
    border: 2px solid #333;
    overflow: hidden;
}

.td-item-avatar .td-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.td-item-info {
    flex: 1;
    min-width: 0;
}

.td-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-item-sub {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.td-item-stat {
    text-align: right;
}

.td-item-val {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.td-item-label {
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.td-item-you {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 8px;
    font-weight: 900;
    color: #000;
    background: #22c55e;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* VIP Styles */
.vip-name {
    background: linear-gradient(90deg, #ffd700, #ffec4d, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.td-item.vip {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
}

.td-my-card.vip {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
}


/* ═══════════════════════════════════════════════════════════════════
   YOUR POSITION (when not in top)
   ═══════════════════════════════════════════════════════════════════ */

.td-my-position {
    margin-top: 24px;
    padding-top: 8px;
}

/* Divider with text */
.td-my-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.td-my-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.td-my-divider-text {
    font-size: 10px;
    font-weight: 800;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main card */
.td-my-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.04) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    overflow: hidden;
}

.td-my-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    opacity: 0.6;
}

.td-my-card:active {
    transform: scale(0.98);
    border-color: #22c55e;
}

.td-my-card.vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.04) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.td-my-card.vip::before {
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

/* Rank number */
.td-my-rank-num {
    font-size: 18px;
    font-weight: 900;
    color: #22c55e;
    min-width: 48px;
    text-align: center;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.td-my-card.vip .td-my-rank-num {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Avatar */
.td-my-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.td-my-avatar.vip-border {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.td-my-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.td-my-avatar-emoji {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Info section */
.td-my-info {
    flex: 1;
    min-width: 0;
}

.td-my-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.td-my-level {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

/* Stats section */
.td-my-stats {
    text-align: right;
    padding-right: 4px;
}

.td-my-value {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.td-my-label {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* YOU badge */
.td-my-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    font-size: 9px;
    font-weight: 900;
    color: #000;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 4px 10px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.td-my-card.vip .td-my-badge {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Progress indicator */
.td-my-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #222;
}

.td-my-progress-icon {
    font-size: 14px;
}

.td-my-progress-text {
    font-size: 12px;
    color: #888;
}

.td-my-progress-amount {
    font-weight: 700;
    color: #22c55e;
}


/* ═══════════════════════════════════════════════════════════════════
   GANGSTA CARD - CRIMINAL FILE STYLE
   ═══════════════════════════════════════════════════════════════════ */

/* Loading */
.gcard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
}

.gcl-icon {
    font-size: 48px;
    animation: gcl-pulse 1.5s ease-in-out infinite;
}

@keyframes gcl-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.gcl-text {
    color: #666;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 1px;
}

/* Main Card */
.gcard {
    position: relative;
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid #1a1a1a;
    border-radius: 0;
    overflow: hidden;
}

.gcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

/* Top Bar */
.gcard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.gcard-file {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gf-icon {
    font-size: 14px;
}

.gf-text {
    font-size: 11px;
    font-family: monospace;
    color: #ef4444;
    letter-spacing: 2px;
    font-weight: 700;
}

.gcard-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #333;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.gcard-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

/* Identity Section */
.gcard-identity {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
    border-bottom: 1px solid #1a1a1a;
}

.gcard-mugshot {
    position: relative;
    flex-shrink: 0;
}

.gm-frame {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    border: 2px solid #333;
    position: relative;
}

.gm-frame::before,
.gm-frame::after {
    content: '';
    position: absolute;
    background: #333;
}

.gm-frame::before {
    top: 50%;
    left: -8px;
    right: -8px;
    height: 1px;
}

.gm-frame::after {
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 1px;
}

.gm-emoji {
    font-size: 40px;
}

.gm-level {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-family: monospace;
    font-weight: 900;
    color: #000;
    background: #ffd700;
    padding: 2px 8px;
    letter-spacing: 1px;
}

.gm-vip {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    animation: vip-glow 2s ease-in-out infinite;
}

@keyframes vip-glow {
    0%, 100% { filter: drop-shadow(0 0 2px #ffd700); }
    50% { filter: drop-shadow(0 0 8px #ffd700); }
}

.gcard-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.gi-name {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gi-name.vip {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.gi-alias {
    font-size: 11px;
    color: #666;
    font-family: monospace;
    margin-top: 4px;
}

.gi-rank {
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
    letter-spacing: 2px;
}

.gi-title {
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
}

/* Threat Assessment */
.gcard-threat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid #1a1a1a;
}

.gt-label {
    font-size: 9px;
    font-family: monospace;
    color: #666;
    letter-spacing: 2px;
}

.gt-value {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gt-icon {
    font-size: 16px;
}

.gt-text {
    font-size: 14px;
    font-weight: 900;
    color: var(--threat);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--threat);
}

.gt-power {
    font-size: 12px;
    font-family: monospace;
    color: #888;
}

/* Character Card */
.gcard-character {
    padding: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.gc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.gc-icon {
    font-size: 14px;
}

.gc-title {
    font-size: 10px;
    font-family: monospace;
    color: #666;
    letter-spacing: 2px;
}

.gc-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.gc-origin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.gc-sep {
    color: #333;
    font-weight: 300;
}

.gc-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    color: #000;
    letter-spacing: 1px;
}

/* Combat Stats */
.gcard-combat {
    padding: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.gcb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-family: monospace;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.gcb-hp {
    color: #ef4444;
}

.gcb-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gcb-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gcbs-bar {
    flex: 1;
    height: 6px;
    background: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.gcbs-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--pct);
    transition: width 0.5s ease;
}

.gcbs-fill.atk { background: linear-gradient(90deg, #ef4444, #f87171); }
.gcbs-fill.def { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.gcbs-fill.spd { background: linear-gradient(90deg, #22c55e, #4ade80); }
.gcbs-fill.vit { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.gcbs-fill.lck { background: linear-gradient(90deg, #a855f7, #c084fc); }

.gcbs-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 70px;
}

.gcbs-label {
    font-size: 10px;
    font-family: monospace;
    color: #666;
    width: 28px;
}

.gcbs-value {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    min-width: 24px;
    text-align: right;
}

/* Fight Record */
.gcard-record {
    padding: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.gcr-header {
    font-size: 10px;
    font-family: monospace;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-align: center;
}

.gcr-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.gcr-stat {
    text-align: center;
}

.gcr-stat.main {
    padding: 0 20px;
}

.gcr-divider {
    width: 1px;
    height: 40px;
    background: #222;
}

.gcrs-value {
    font-size: 24px;
    font-weight: 900;
}

.gcrs-value.green { color: #22c55e; }
.gcrs-value.red { color: #ef4444; }

.gcr-stat.main .gcrs-value {
    font-size: 32px;
}

.gcrs-label {
    font-size: 9px;
    font-family: monospace;
    color: #666;
    letter-spacing: 1px;
    margin-top: 4px;
}

.gcr-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.gcrr-icon {
    font-size: 16px;
}

.gcrr-value {
    font-size: 18px;
    font-weight: 900;
    color: #ffd700;
}

.gcrr-label {
    font-size: 10px;
    font-family: monospace;
    color: #888;
    letter-spacing: 1px;
}

/* Jobs */
.gcard-jobs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #1a1a1a;
}

.gcj-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    border-right: 1px solid #1a1a1a;
}

.gcj-item:last-child {
    border-right: none;
}

.gcji-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.gcji-value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.gcji-label {
    font-size: 9px;
    color: #666;
    margin-top: 2px;
}

/* No Character */
.gcard-no-char {
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

.gnc-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.gnc-text {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.gnc-sub {
    font-size: 11px;
    color: #444;
    margin-top: 4px;
}

/* Financial Intel */
.gcard-finance {
    padding: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.gcf-header {
    font-size: 10px;
    font-family: monospace;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.gcf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gcf-item {
    padding: 12px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
}

.gcfi-label {
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gcfi-value {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.gcfi-value.pos { color: #22c55e; }
.gcfi-value.neg { color: #ef4444; }

/* Activity Intel */
.gcard-activity {
    padding: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.gca-header {
    font-size: 10px;
    font-family: monospace;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.gca-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gca-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #1a1a1a;
}

.gca-item:last-child {
    border-bottom: none;
}

.gcai-icon {
    font-size: 14px;
    width: 24px;
    text-align: center;
}

.gcai-text {
    font-size: 12px;
    color: #aaa;
}

/* Actions */
.gcard-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-bottom: 1px solid #1a1a1a;
}

.gca-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.gca-btn.positive {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
}

.gca-btn.negative {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.gca-btn:active {
    transform: scale(0.98);
}

.gcab-icon {
    font-size: 16px;
}

/* Footer */
.gcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #080808;
}

.gcf-stamp {
    font-size: 9px;
    font-family: monospace;
    color: #ef4444;
    letter-spacing: 2px;
    opacity: 0.6;
}

.gcf-date {
    font-size: 9px;
    font-family: monospace;
    color: #444;
}

/* Error */
.gcard-error {
    padding: 60px 20px;
    text-align: center;
}

.gce-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.gce-title {
    font-size: 18px;
    font-weight: 900;
    color: #ef4444;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gce-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.gce-btn {
    padding: 12px 32px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.gce-btn:hover {
    background: #222;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .td-header {
        padding: 25px 15px 20px;
    }
    
    .td-icon {
        font-size: 40px;
    }
    
    .td-title {
        font-size: 24px;
    }
    
    .td-podium {
        gap: 5px;
        padding: 15px 5px;
    }
    
    .td-podium-avatar {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .td-podium-item.first .td-podium-avatar {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .td-podium-stand {
        width: 50px;
    }
    
    .td-podium-stand.first {
        width: 60px;
        height: 60px;
    }
    
    .td-podium-stand.second {
        height: 40px;
    }
    
    .td-podium-stand.third {
        height: 28px;
    }
    
    .td-podium-name {
        font-size: 11px;
        max-width: 60px;
    }
    
    .td-tab {
        padding: 10px 6px;
    }
    
    .td-tab-icon {
        font-size: 18px;
    }
    
    .td-tab-name {
        font-size: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PLAYER PROFILE CARD v2.0
   ═══════════════════════════════════════════════════════════════════ */

.pp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
}

.pp-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #222;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.pp-loading-text {
    color: #888;
    font-size: 13px;
}

.pp-card {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 16px;
    overflow: hidden;
    max-width: 360px;
    margin: 0 auto;
}

.pp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.pp-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Header */
.pp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid #222;
}

.pp-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.pp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
}

.pp-vip {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 16px;
}

.pp-info {
    flex: 1;
    min-width: 0;
}

.pp-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-name.vip {
    color: #ffd700;
}

.pp-username {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.pp-rank {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.pp-level {
    text-align: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
}

.pp-level-num {
    font-size: 20px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.pp-level-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(0,0,0,0.6);
    letter-spacing: 1px;
}

/* Threat Bar */
.pp-threat {
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
}

.pp-threat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pp-threat-icon {
    font-size: 16px;
}

.pp-threat-text {
    flex: 1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pp-threat-power {
    font-size: 12px;
    font-weight: 700;
    color: #888;
}

.pp-threat-bar {
    height: 6px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
}

.pp-threat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* VS Comparison */
.pp-vs {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, transparent 30%, transparent 70%, rgba(239, 68, 68, 0.1) 100%);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.pp-vs-side {
    flex: 1;
    text-align: center;
}

.pp-vs-side.you .pp-vs-power {
    color: #22c55e;
}

.pp-vs-side.them .pp-vs-power {
    color: #ef4444;
}

.pp-vs-power {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.pp-vs-label {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-top: 4px;
}

.pp-vs-center {
    padding: 0 15px;
    text-align: center;
}

.pp-vs-icon {
    font-size: 24px;
}

.pp-vs-chance {
    font-size: 18px;
    font-weight: 900;
    margin-top: 4px;
}

.pp-vs-win {
    font-size: 9px;
    color: #666;
    letter-spacing: 0.5px;
}

/* Stats Grid */
.pp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 15px 20px;
}

.pp-stat {
    text-align: center;
}

.pp-stat-icon {
    font-size: 14px;
}

.pp-stat-value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 4px 0;
}

.pp-stat-bar {
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
}

.pp-stat-bar span {
    display: block;
    height: 100%;
    border-radius: 2px;
}

/* PvP Record */
.pp-record {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
}

.pp-record-item {
    text-align: center;
}

.pp-record-item.elo {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, transparent 100%);
    border-radius: 12px;
}

.pp-record-icon {
    font-size: 20px;
}

.pp-record-value {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.pp-record-item.wins .pp-record-value {
    color: #22c55e;
}

.pp-record-item.losses .pp-record-value {
    color: #ef4444;
}

.pp-record-label {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Character Info */
.pp-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #222;
}

.pp-char-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-style: italic;
}

.pp-char-build {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* No Character */
.pp-no-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 8px;
}

.pp-no-char-icon {
    font-size: 32px;
    opacity: 0.5;
}

.pp-no-char-text {
    font-size: 13px;
    color: #666;
}

/* Quick Stats */
.pp-quick {
    display: flex;
    justify-content: space-around;
    padding: 12px 20px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid #222;
}

.pp-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pp-quick-icon {
    font-size: 14px;
}

.pp-quick-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pp-quick-value.pos {
    color: #22c55e;
}

.pp-quick-value.neg {
    color: #ef4444;
}

/* Actions */
.pp-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
}

.pp-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.pp-action.positive {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
}

.pp-action.negative {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.pp-action:active {
    transform: scale(0.95);
}

/* Error */
.pp-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.pp-error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.pp-error-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.pp-error-text {
    font-size: 13px;
    color: #666;
    margin: 8px 0 20px;
}

.pp-error-btn {
    padding: 12px 30px;
    background: #222;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}


/* ═══════════════════════════════════════════════════════════════════
   PLAYER CARD v2.0 - PRO PROFILE WITH TABS
   ═══════════════════════════════════════════════════════════════════ */

/* Loading */
.pc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.pc-loading-icon {
    font-size: 48px;
    animation: pc-search 1.5s ease-in-out infinite;
}

@keyframes pc-search {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

.pc-loading-bar {
    width: 120px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
}

.pc-loading-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    border-radius: 2px;
    animation: pc-bar 1s ease-in-out infinite;
}

@keyframes pc-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.pc-loading-text {
    color: #666;
    font-size: 13px;
    font-family: monospace;
}

/* Error */
.pc-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
}

.pc-error-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.pc-error-title {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.pc-error-text {
    font-size: 13px;
    color: #666;
    margin: 8px 0 24px;
}

.pc-error-btn {
    padding: 12px 32px;
    background: #222;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Main Card */
.pc-card {
    background: #0a0a0a;
    border-radius: 16px;
    overflow: hidden;
}

/* Top Bar */
.pc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
    border-bottom: 1px solid #222;
}

.pc-topbar-file {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-topbar-icon {
    font-size: 14px;
}

.pc-topbar-label {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 1.5px;
    font-family: monospace;
}

.pc-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-close:active {
    background: #333;
    color: #fff;
}

/* Header */
.pc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border-bottom: 1px solid #1a1a1a;
}

.pc-header.vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, #0a0a0a 100%);
}

.pc-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 3px solid #333;
    overflow: hidden;
    flex-shrink: 0;
}

.pc-avatar.vip {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.pc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-avatar-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
}

.pc-vip-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.pc-identity {
    flex: 1;
    min-width: 0;
}

.pc-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-name.vip {
    background: linear-gradient(90deg, #ffd700, #ffec4d, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-username {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.pc-title {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

.pc-level-box {
    text-align: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
}

.pc-level-num {
    font-size: 22px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.pc-level-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(0,0,0,0.6);
    letter-spacing: 1px;
}

/* Rank Banner */
.pc-rank-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    border-bottom: 1px solid #1a1a1a;
}

.pc-rank-emoji {
    font-size: 18px;
}

.pc-rank-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--rank-color, #888);
    letter-spacing: 1px;
}

.pc-rank-pos {
    font-size: 11px;
    color: #555;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #333;
}

/* Tabs */
.pc-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 12px 0;
    background: #0f0f0f;
}

.pc-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: 10px 10px 0 0;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-tab:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pc-tab.active {
    background: #141414;
    color: #22c55e;
}

.pc-tab-icon {
    font-size: 14px;
}

/* Content Area */
.pc-content {
    padding: 16px;
    background: #141414;
    min-height: 200px;
}

/* Quick Stats Grid */
.pc-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.pc-quick-item {
    text-align: center;
    padding: 12px 8px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #222;
}

.pc-quick-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.pc-quick-value {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.pc-quick-value.positive { color: #22c55e; }
.pc-quick-value.negative { color: #ef4444; }

.pc-quick-label {
    font-size: 8px;
    color: #555;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Threat Level */
.pc-threat {
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    margin-bottom: 12px;
}

.pc-threat-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-threat-icon {
    font-size: 18px;
}

.pc-threat-level {
    flex: 1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pc-threat-power {
    font-size: 12px;
    font-weight: 700;
    color: #888;
}

/* VS Comparison */
.pc-vs {
    display: flex;
    align-items: center;
    padding: 14px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, transparent 40%, transparent 60%, rgba(239, 68, 68, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #222;
}

.pc-vs-you, .pc-vs-them {
    flex: 1;
    text-align: center;
}

.pc-vs-power {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.pc-vs-you .pc-vs-power { color: #22c55e; }
.pc-vs-them .pc-vs-power { color: #ef4444; }

.pc-vs-label {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-top: 4px;
}

.pc-vs-center {
    padding: 0 16px;
    text-align: center;
}

.pc-vs-icon {
    font-size: 24px;
}

.pc-vs-chance {
    font-size: 18px;
    font-weight: 900;
    margin-top: 2px;
}

.pc-vs-text {
    font-size: 9px;
    color: #666;
}

/* Character Card */
.pc-char-card {
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #222;
}

.pc-char-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-style: italic;
    margin-bottom: 6px;
}

.pc-char-build {
    font-size: 12px;
    color: #888;
}

.pc-char-x {
    margin: 0 6px;
    color: #444;
}

/* No Character */
.pc-no-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.pc-no-char-icon {
    font-size: 40px;
    opacity: 0.5;
    margin-bottom: 12px;
}

.pc-no-char-title {
    font-size: 14px;
    font-weight: 800;
    color: #666;
    letter-spacing: 1px;
}

.pc-no-char-text {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

/* Activity */
.pc-activity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

/* Power Display (Stats Tab) */
.pc-power-display {
    text-align: center;
    padding: 20px;
    margin-bottom: 16px;
}

.pc-power-ring {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid #22c55e;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.pc-power-value {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.pc-power-label {
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 1px;
}

.pc-power-rank {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* Stats List */
.pc-stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.pc-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-stat-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.pc-stat-name {
    width: 70px;
    font-size: 10px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
}

.pc-stat-bar {
    flex: 1;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.pc-stat-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.pc-stat-value {
    width: 30px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-align: right;
}

/* Resources */
.pc-resources {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.pc-resource {
    padding: 10px 12px;
    background: #1a1a1a;
    border-radius: 10px;
}

.pc-resource-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 6px;
}

.pc-resource-bar {
    height: 8px;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
}

.pc-resource-bar.hp .pc-resource-fill {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.pc-resource-bar.energy .pc-resource-fill {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.pc-resource-fill {
    height: 100%;
    border-radius: 4px;
}

/* Build Info */
.pc-build-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pc-build-item {
    text-align: center;
    padding: 10px 8px;
    background: #1a1a1a;
    border-radius: 8px;
}

.pc-build-label {
    display: block;
    font-size: 8px;
    color: #555;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pc-build-value {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* ELO Display (Record Tab) */
.pc-elo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.pc-elo-icon {
    font-size: 32px;
}

.pc-elo-info {
    text-align: center;
}

.pc-elo-value {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
}

.pc-elo-label {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

/* Record Grid */
.pc-record-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.pc-record-item {
    text-align: center;
    padding: 14px 10px;
    background: #1a1a1a;
    border-radius: 10px;
}

.pc-record-item.wins { border-bottom: 3px solid #22c55e; }
.pc-record-item.rate { border-bottom: 3px solid #f59e0b; }
.pc-record-item.losses { border-bottom: 3px solid #ef4444; }

.pc-record-value {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.pc-record-value.positive { color: #22c55e; }
.pc-record-value.negative { color: #ef4444; }

.pc-record-label {
    font-size: 9px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* Missions */
.pc-missions {
    padding: 14px;
    background: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 12px;
}

.pc-missions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pc-missions-icon {
    font-size: 16px;
}

.pc-missions-title {
    font-size: 11px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1px;
}

.pc-missions-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pc-missions-stat {
    text-align: center;
}

.pc-missions-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.pc-missions-value.positive { color: #22c55e; }

.pc-missions-label {
    font-size: 9px;
    color: #555;
}

/* Games */
.pc-games {
    padding: 12px;
    background: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 12px;
}

.pc-games-header {
    font-size: 11px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pc-games-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-games-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
}

/* Badges */
.pc-badges {
    padding: 12px;
    background: #1a1a1a;
    border-radius: 10px;
}

.pc-badges-header {
    font-size: 11px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pc-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pc-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #222;
    border-radius: 8px;
    text-align: center;
}

.pc-badge-emoji {
    font-size: 20px;
}

.pc-badge-name {
    font-size: 9px;
    color: #888;
    margin-top: 4px;
}

.pc-badge.more {
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}

/* Actions */
.pc-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: #0f0f0f;
    border-top: 1px solid #1a1a1a;
}

.pc-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-action.respect {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
}

.pc-action.disrespect {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.pc-action:active {
    transform: scale(0.95);
}


/* ═══════════════════════════════════════════════════════════════════
   PROFESSIONAL PLAYER CARD v2.0 (pc-* classes)
   ═══════════════════════════════════════════════════════════════════ */

/* Loading */
.pc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.pc-loading-icon {
    font-size: 48px;
    animation: pc-pulse 1.5s ease-in-out infinite;
}

@keyframes pc-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.pc-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #222;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.pc-loading-text {
    color: #666;
    font-size: 13px;
    font-family: monospace;
}

/* Error */
.pc-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
}

.pc-error-icon { font-size: 56px; margin-bottom: 16px; }
.pc-error-title { font-size: 20px; font-weight: 800; color: #fff; }
.pc-error-text { font-size: 13px; color: #666; margin: 8px 0 24px; }
.pc-error-btn {
    padding: 12px 32px;
    background: #222;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Card Container */
.pc-card {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.pc-card.vip {
    border-color: rgba(255, 215, 0, 0.3);
}

/* Top Bar */
.pc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    border-bottom: 1px solid #1a1a1a;
}

.pc-file-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-file-icon { font-size: 14px; }
.pc-file-text {
    font-size: 10px;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 2px;
    font-family: monospace;
}

.pc-close {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-close:hover { background: #ef4444; border-color: #ef4444; color: #fff; }

/* Header */
.pc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid #1a1a1a;
}

.pc-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #222 0%, #111 100%);
    border: 3px solid #333;
    overflow: hidden;
    flex-shrink: 0;
}

.pc-avatar.vip-ring {
    border-color: #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.pc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-avatar-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
}

.pc-vip-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.pc-identity {
    flex: 1;
    min-width: 0;
}

.pc-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-username {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.pc-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
    border: 1px solid;
}

.pc-level-box {
    text-align: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
}

.pc-level-num {
    font-size: 22px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.pc-level-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(0,0,0,0.6);
    letter-spacing: 1px;
}

/* Tabs */
.pc-tabs {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.pc-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-tab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pc-tab.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
}

.pc-tab-icon { font-size: 14px; }
.pc-tab-name { text-transform: uppercase; letter-spacing: 0.5px; }

/* Content Area */
.pc-content {
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
}

/* Threat Level */
.pc-threat {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.pc-threat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pc-threat-label {
    font-size: 10px;
    font-weight: 800;
    color: #555;
    letter-spacing: 1.5px;
}

.pc-threat-power {
    font-size: 12px;
    font-weight: 700;
    color: #888;
}

.pc-threat-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pc-threat-icon { font-size: 24px; }
.pc-threat-level {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.pc-threat-bar {
    height: 6px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
}

.pc-threat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* VS Comparison */
.pc-vs {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, transparent 30%, transparent 70%, rgba(239, 68, 68, 0.1) 100%);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.pc-vs-you, .pc-vs-them {
    flex: 1;
    text-align: center;
}

.pc-vs-power {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.pc-vs-you .pc-vs-power { color: #22c55e; }
.pc-vs-them .pc-vs-power { color: #ef4444; }

.pc-vs-label {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-top: 4px;
}

.pc-vs-center {
    padding: 0 16px;
    text-align: center;
}

.pc-vs-icon { font-size: 24px; }
.pc-vs-chance {
    font-size: 20px;
    font-weight: 900;
    margin-top: 4px;
}

.pc-vs-text {
    font-size: 9px;
    color: #666;
}

/* No RPG */
.pc-no-rpg {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
}

.pc-no-rpg-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.6; }
.pc-no-rpg-text { font-size: 14px; font-weight: 700; color: #888; }
.pc-no-rpg-sub { font-size: 12px; color: #555; margin-top: 4px; }

/* Quick Stats Grid */
.pc-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pc-quick-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid #1a1a1a;
}

.pc-quick-item.positive .pc-quick-value { color: #22c55e; }
.pc-quick-item.negative .pc-quick-value { color: #ef4444; }

.pc-quick-icon { font-size: 16px; }
.pc-quick-value {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 4px 0 2px;
}

.pc-quick-label {
    font-size: 8px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.5px;
}

/* Position Info */
.pc-position {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-position-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}

.pc-position-icon { font-size: 14px; }
.pc-position-text {
    font-size: 12px;
    color: #888;
}

.pc-position-text strong { color: #fff; }

/* Character Header */
.pc-char-header {
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    margin-bottom: 14px;
}

.pc-char-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-style: italic;
}

.pc-char-build {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.pc-char-x { color: #444; }

/* Stats Grid */
.pc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pc-stat {
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.pc-stat.power {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
}

.pc-stat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pc-stat-icon { font-size: 12px; }
.pc-stat-name {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
}

.pc-stat-value {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.pc-stat-bar {
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
}

.pc-stat-fill {
    height: 100%;
    border-radius: 2px;
}

.pc-stat-fill.atk { background: linear-gradient(90deg, #ef4444, #f87171); }
.pc-stat-fill.def { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pc-stat-fill.spd { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.pc-stat-fill.vit { background: linear-gradient(90deg, #22c55e, #4ade80); }
.pc-stat-fill.lck { background: linear-gradient(90deg, #a855f7, #c084fc); }
.pc-stat-fill.power { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

/* Section Title */
.pc-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #555;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* PvP Section */
.pc-pvp-section {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.pc-pvp-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pc-pvp-item { text-align: center; }

.pc-pvp-item.elo {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, transparent 100%);
    border-radius: 10px;
}

.pc-pvp-icon { font-size: 18px; }
.pc-pvp-value {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.pc-pvp-item.wins .pc-pvp-value { color: #22c55e; }
.pc-pvp-item.losses .pc-pvp-value { color: #ef4444; }

.pc-pvp-label {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.pc-pvp-winrate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

.pc-pvp-total { color: #555; }

/* Missions Section */
.pc-missions-section {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.pc-missions-row {
    display: flex;
    justify-content: space-around;
}

.pc-missions-stat { text-align: center; }
.pc-missions-value {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.pc-missions-stat.success .pc-missions-value { color: #22c55e; }
.pc-missions-stat.rate .pc-missions-value { color: #f59e0b; }

.pc-missions-label {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

.pc-missions-stat.failed .pc-missions-value { color: #ef4444; }

.pc-missions-total {
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #222;
}

/* Mafia Section */
.pc-mafia-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.pc-mafia-stats {
    display: flex;
    justify-content: space-around;
}

.pc-mafia-item { text-align: center; }
.pc-mafia-value {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.pc-mafia-item.wins .pc-mafia-value { color: #8b5cf6; }
.pc-mafia-item.rate .pc-mafia-value { color: #f59e0b; }

.pc-mafia-label {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* Activity Section */
.pc-activity-section { margin-bottom: 14px; }

.pc-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.pc-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid #1a1a1a;
}

.pc-activity-icon { font-size: 20px; }
.pc-activity-value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.pc-activity-label {
    font-size: 10px;
    color: #666;
}

/* Games Section */
.pc-games-section { margin-bottom: 14px; }

.pc-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pc-game-card {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid #1a1a1a;
}

.pc-game-icon { font-size: 24px; }
.pc-game-name {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    margin: 4px 0;
}

.pc-game-stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
}

.pc-game-stats .win { color: #22c55e; }
.pc-game-stats .loss { color: #ef4444; }

.pc-game-profit {
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
}

.pc-game-profit.positive { color: #22c55e; }
.pc-game-profit.negative { color: #ef4444; }

/* Badges Section */
.pc-badges-section { margin-bottom: 14px; }

.pc-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.pc-badge.more {
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #666;
}

.pc-badge-emoji { font-size: 18px; }
.pc-badge-name {
    font-size: 9px;
    color: #888;
    margin-top: 2px;
}

.pc-no-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: #555;
}

.pc-no-badges-icon { font-size: 20px; opacity: 0.5; }
.pc-no-badges-text { font-size: 12px; }

/* Warns */
.pc-warns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pc-warns-icon { font-size: 14px; }
.pc-warns-text {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
}

/* Actions */
.pc-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #1a1a1a;
}

.pc-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-action.respect {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
}

.pc-action.disrespect {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.pc-action:active { transform: scale(0.95); }

/* Missing class for activity info container */
.pc-activity-info {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   ADMIN PLAYER CARD STYLES
   ═══════════════════════════════════════════════════════════════════ */

.pc-card.admin {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.pc-avatar.admin-ring {
    border-color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.pc-name.admin-name {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.pc-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    margin-top: 4px;
}

.pc-level-box.admin {
    background: linear-gradient(135deg, #ffd70030 0%, #ffd70010 100%);
    border-color: #ffd70050;
}

.pc-level-box.admin .pc-level-num {
    color: #ffd700;
    font-size: 20px;
}

.pc-admin-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-top: 1px solid #ffd70030;
    color: #ffd700;
    font-size: 12px;
    font-weight: 600;
}
