/* ═══════════════════════════════════════════════════════════════════
   STREET FILE v6.0 - Premium Profile Design 🔫
   ENFORCER MINI APP
   
   Shareable hero card, animated effects, premium feel
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   BACK & SHARE ROW
   ═══════════════════════════════════════════════════════════════════ */

.sf-back {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sf-back-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 13px;
    padding: 8px 0;
    cursor: pointer;
}

.sf-share-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: all 0.2s;
}

.sf-share-btn:active {
    transform: scale(0.95);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO CARD - The shareable part
   ═══════════════════════════════════════════════════════════════════ */

.sf-hero {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.sf-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sf-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.08) 0%, transparent 40%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-10px); }
}

.sf-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--glow-color, #22c55e);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.2; transform: translateX(-50%) scale(1.1); }
}

.sf-hero-content {
    position: relative;
    z-index: 1;
}

/* Avatar */
.sf-avatar-wrap {
    position: relative;
    width: fit-content;
    margin: 0 auto 16px;
}

.sf-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 4px solid var(--rank-color, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 0 0 4px rgba(0,0,0,0.5),
        0 0 30px var(--rank-color, #22c55e)40;
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 0 30px var(--rank-color, #22c55e)30; }
    50% { box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 0 40px var(--rank-color, #22c55e)50; }
}

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

.sf-avatar-emoji {
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-vip-crown {
    position: absolute;
    top: -8px;
    right: -4px;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-3px) rotate(10deg); }
}

.sf-level-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--rank-color, #22c55e);
    color: #000;
    font-size: 14px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Identity */
.sf-identity {
    text-align: center;
    margin-bottom: 12px;
}

.sf-name {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sf-name.vip {
    background: linear-gradient(90deg, #ffd700, #ffed4a, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

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

/* Rank & Title */
.sf-rank-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.sf-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rank-color, #22c55e)15;
    border: 1px solid var(--rank-color, #22c55e)40;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.sf-rank-emoji {
    font-size: 16px;
}

.sf-rank-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--rank-color, #22c55e);
}

.sf-title {
    font-size: 12px;
    color: var(--title-color, #888);
    font-weight: 600;
}

/* XP Progress */
.sf-xp-section {
    margin-bottom: 16px;
}

.sf-xp-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf-xp-bar {
    position: relative;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

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

.sf-xp-glow {
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    filter: blur(8px);
    opacity: 0.8;
    transform: translateX(-50%);
}

.sf-xp-text {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 6px;
}

/* Power Stats Row */
.sf-power-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.sf-power-item {
    text-align: center;
    padding: 10px 6px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid #222;
}

.sf-power-item.positive .sf-power-val { color: #22c55e; }
.sf-power-item.negative .sf-power-val { color: #ef4444; }

.sf-power-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

.sf-power-val {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}

.sf-power-label {
    font-size: 9px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Since line */
.sf-since {
    text-align: center;
    font-size: 11px;
    color: #444;
    padding-top: 12px;
    border-top: 1px solid #1a1a1a;
}

.sf-since strong {
    color: #888;
}

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

.sf-tabs {
    display: flex;
    gap: 4px;
    background: #0a0a0a;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sf-tabs::-webkit-scrollbar { display: none; }

.sf-tab {
    flex: 1;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.sf-tab.active {
    background: linear-gradient(135deg, #22c55e20 0%, #22c55e10 100%);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.sf-tab-icon {
    font-size: 18px;
}

.sf-tab-name {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sf-tab.active .sf-tab-name {
    color: #22c55e;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════════════ */

.sf-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sf-section {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

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

.sf-section-icon {
    font-size: 16px;
}

.sf-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.sf-section-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    color: #fff;
}

.sf-section-count {
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    background: #22c55e20;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   OVERVIEW TAB
   ═══════════════════════════════════════════════════════════════════ */

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

.sf-activity-card {
    text-align: center;
    padding: 12px 6px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}

.sf-ac-icon { font-size: 20px; margin-bottom: 6px; }
.sf-ac-val { font-size: 16px; font-weight: 900; color: #fff; }
.sf-ac-label { font-size: 9px; color: #555; margin-top: 2px; text-transform: uppercase; }

/* Highlights */
.sf-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sf-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border-left: 3px solid #333;
}

.sf-highlight.hot { border-color: #f97316; background: rgba(249, 115, 22, 0.05); }
.sf-highlight.positive { border-color: #22c55e; background: rgba(34, 197, 94, 0.05); }
.sf-highlight.street { border-color: #ef4444; background: rgba(239, 68, 68, 0.05); }
.sf-highlight.money { border-color: #ffd700; background: rgba(255, 215, 0, 0.05); }
.sf-highlight.mafia { border-color: #8b5cf6; background: rgba(139, 92, 246, 0.05); }
.sf-highlight.badge { border-color: #3b82f6; background: rgba(59, 130, 246, 0.05); }

.sf-hl-icon { font-size: 18px; }
.sf-hl-text { font-size: 13px; color: #ccc; }

/* Compare */
.sf-compare {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-compare-row {
    display: grid;
    grid-template-columns: 50px 1fr 50px 50px;
    align-items: center;
    gap: 10px;
}

.sf-cmp-label { font-size: 11px; color: #666; }
.sf-cmp-bar {
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}
.sf-cmp-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 4px;
}
.sf-cmp-val { font-size: 13px; font-weight: 700; color: #fff; text-align: right; }
.sf-cmp-diff { font-size: 11px; text-align: right; color: #666; }
.sf-cmp-diff.pos { color: #22c55e; }
.sf-cmp-diff.neg { color: #ef4444; }

/* Actions */
.sf-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

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

.sf-action-btn:active {
    transform: scale(0.98);
    background: #222;
}

.sf-action-btn.primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #000;
}

/* ═══════════════════════════════════════════════════════════════════
   STREETS TAB
   ═══════════════════════════════════════════════════════════════════ */

.sf-char-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.sf-char-header { margin-bottom: 12px; }
.sf-char-name {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    font-style: italic;
}
.sf-char-build {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.sf-char-x { color: #444; margin: 0 6px; }

.sf-char-power {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
}
.sf-char-power-val {
    font-size: 32px;
    font-weight: 900;
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}
.sf-char-power-label {
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
}

/* Stats Grid */
.sf-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-stat-row {
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    align-items: center;
    gap: 10px;
}

.sf-stat-info {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sf-stat-emoji { font-size: 16px; }
.sf-stat-name { font-size: 12px; font-weight: 700; color: #888; }

.sf-stat-bar {
    height: 10px;
    background: #1a1a1a;
    border-radius: 5px;
    overflow: hidden;
}
.sf-stat-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.sf-stat-val {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    text-align: right;
}

/* PvP Card */
.sf-pvp-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sf-pvp-elo {
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ffd70020 0%, transparent 100%);
    border-radius: 12px;
    border: 1px solid #ffd70030;
}
.sf-pvp-elo-val {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
}
.sf-pvp-elo-label {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

.sf-pvp-stats {
    flex: 1;
    display: flex;
    justify-content: space-around;
}
.sf-pvp-stat { text-align: center; }
.sf-pvp-stat-val { font-size: 18px; font-weight: 900; color: #fff; }
.sf-pvp-stat.wins .sf-pvp-stat-val { color: #22c55e; }
.sf-pvp-stat.losses .sf-pvp-stat-val { color: #ef4444; }
.sf-pvp-stat-label { font-size: 10px; color: #666; }

/* Missions Card */
.sf-missions-card { }
.sf-missions-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 8px;
}
.sf-mission-stat { text-align: center; }
.sf-mission-val { font-size: 20px; font-weight: 900; color: #fff; }
.sf-mission-stat.success .sf-mission-val { color: #22c55e; }
.sf-mission-stat.failed .sf-mission-val { color: #ef4444; }
.sf-mission-stat.rate .sf-mission-val { color: #f59e0b; }
.sf-mission-label { font-size: 10px; color: #666; }
.sf-missions-total {
    text-align: center;
    font-size: 11px;
    color: #555;
    padding-top: 8px;
    border-top: 1px solid #222;
}

/* ═══════════════════════════════════════════════════════════════════
   MONEY TAB
   ═══════════════════════════════════════════════════════════════════ */

.sf-money-hero {
    background: linear-gradient(135deg, #22c55e15 0%, #0d0d0d 100%);
    border: 1px solid #22c55e30;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
    text-align: center;
}

.sf-mh-cash { margin-bottom: 12px; }
.sf-mh-icon { font-size: 32px; margin-bottom: 4px; }
.sf-mh-amount {
    font-size: 32px;
    font-weight: 900;
    color: #22c55e;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}
.sf-mh-label { font-size: 11px; color: #666; }

.sf-mh-flow {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.sf-mh-flow-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.sf-mh-flow-item.earned { color: #22c55e; }
.sf-mh-flow-item.spent { color: #ef4444; }

/* Gambling Hero */
.sf-gambling-hero {
    text-align: center;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    margin-bottom: 12px;
}
.sf-gambling-hero.positive { background: rgba(34, 197, 94, 0.1); }
.sf-gambling-hero.negative { background: rgba(239, 68, 68, 0.1); }

.sf-gh-profit {
    font-size: 28px;
    font-weight: 900;
}
.sf-gambling-hero.positive .sf-gh-profit { color: #22c55e; }
.sf-gambling-hero.negative .sf-gh-profit { color: #ef4444; }
.sf-gh-label { font-size: 11px; color: #666; }

.sf-gambling-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.sf-gs-stat { text-align: center; }
.sf-gs-val { font-size: 18px; font-weight: 900; color: #fff; }
.sf-gs-label { font-size: 10px; color: #666; }

/* Game Breakdown */
.sf-game-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sf-game-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}
.sf-gr-game { display: flex; align-items: center; gap: 8px; }
.sf-gr-emoji { font-size: 18px; }
.sf-gr-name { font-size: 13px; font-weight: 600; color: #fff; }
.sf-gr-stats { font-size: 12px; color: #888; }
.sf-gr-profit { font-size: 13px; font-weight: 700; }
.sf-gr-profit.pos { color: #22c55e; }
.sf-gr-profit.neg { color: #ef4444; }

/* Mafia */
.sf-mafia-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    padding: 12px;
}
.sf-mafia-stats { display: flex; justify-content: space-around; }
.sf-mafia-stat { text-align: center; }
.sf-mafia-val { font-size: 20px; font-weight: 900; color: #8b5cf6; }
.sf-mafia-label { font-size: 10px; color: #888; }

/* ═══════════════════════════════════════════════════════════════════
   CRED TAB
   ═══════════════════════════════════════════════════════════════════ */

.sf-rep-hero {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #333;
    border-radius: 14px;
    margin-bottom: 12px;
}

.sf-rep-hero.positive { border-color: #22c55e40; background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, #0d0d0d 100%); }
.sf-rep-hero.negative { border-color: #ef444440; background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, #0d0d0d 100%); }

.sf-rep-main { margin-bottom: 12px; }
.sf-rep-val {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
}
.sf-rep-hero.positive .sf-rep-val { color: #22c55e; text-shadow: 0 0 30px rgba(34, 197, 94, 0.4); }
.sf-rep-hero.negative .sf-rep-val { color: #ef4444; text-shadow: 0 0 30px rgba(239, 68, 68, 0.4); }

.sf-rep-level {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    margin-top: 4px;
}

.sf-rep-breakdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.sf-rep-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
}
.sf-rep-item.pos span:last-child { color: #22c55e; }
.sf-rep-item.neg span:last-child { color: #ef4444; }

/* Badges Grid */
.sf-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sf-badge {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border: 1px solid #222;
    transition: all 0.2s;
}

.sf-badge:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.05);
}

.sf-badge-icon { font-size: 24px; margin-bottom: 4px; }
.sf-badge-name { font-size: 10px; color: #888; }

/* Giveaway */
.sf-giveaway-card {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
    border-radius: 12px;
}
.sf-gw-val { font-size: 32px; font-weight: 900; color: #fbbf24; }
.sf-gw-label { font-size: 11px; color: #888; }

/* Status */
.sf-status-card { }
.sf-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}
.sf-status-item.clean { border-left: 3px solid #22c55e; }
.sf-status-item.warn { border-left: 3px solid #ef4444; }
.sf-status-icon { font-size: 18px; }
.sf-status-text { font-size: 13px; color: #ccc; }

/* ═══════════════════════════════════════════════════════════════════
   RECORDS TAB
   ═══════════════════════════════════════════════════════════════════ */

.sf-records-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sf-record-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
}

.sf-record-row:last-child { border-bottom: none; }

.sf-rec-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sf-rec-emoji { font-size: 16px; }
.sf-rec-label { font-size: 13px; color: #888; }
.sf-rec-val { font-size: 14px; font-weight: 700; color: #fff; }
.sf-rec-val.pos { color: #22c55e; }
.sf-rec-val.neg { color: #ef4444; }

/* ═══════════════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════════════ */

.sf-empty {
    text-align: center;
    padding: 40px 20px;
}

.sf-empty-icon { font-size: 48px; margin-bottom: 12px; }
.sf-empty-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.sf-empty-text { font-size: 13px; color: #666; margin-bottom: 16px; }
.sf-empty-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
}

.sf-empty-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #555;
    font-size: 13px;
}

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

@media (max-width: 360px) {
    .sf-power-row { grid-template-columns: repeat(2, 1fr); }
    .sf-activity-grid { grid-template-columns: repeat(2, 1fr); }
    .sf-badges-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════
   ADMIN PROFILE (Root, Godfather, Capo)
   ═══════════════════════════════════════════════════════════════════ */

.admin-profile {
    position: relative;
    background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
    border: 2px solid var(--admin-color, #ffd700);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 
        0 0 50px var(--admin-color, #ffd700)20,
        inset 0 0 100px var(--admin-color, #ffd700)05;
}

.admin-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.admin-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--admin-color, #ffd700);
    filter: blur(100px);
    opacity: 0.2;
    animation: adminGlow 4s ease-in-out infinite;
}

@keyframes adminGlow {
    0%, 100% { opacity: 0.15; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.25; transform: translateX(-50%) scale(1.2); }
}

.admin-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, var(--admin-color, #ffd700)15 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, var(--admin-color, #ffd700)10 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, var(--admin-color, #ffd700)05 0%, transparent 50%);
    animation: adminParticles 6s ease-in-out infinite;
}

@keyframes adminParticles {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

.admin-badge {
    font-size: 48px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px var(--admin-color, #ffd700));
    animation: adminBadge 3s ease-in-out infinite;
}

@keyframes adminBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.admin-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--admin-color, #ffd700);
    text-shadow: 0 0 30px var(--admin-color, #ffd700)80;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.admin-subtitle {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.admin-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 4px solid var(--admin-color, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 6px rgba(0,0,0,0.5),
        0 0 40px var(--admin-color, #ffd700)50;
    animation: adminAvatarPulse 3s ease-in-out infinite;
}

@keyframes adminAvatarPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(0,0,0,0.5), 0 0 40px var(--admin-color, #ffd700)40; }
    50% { box-shadow: 0 0 0 6px rgba(0,0,0,0.5), 0 0 60px var(--admin-color, #ffd700)60; }
}

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

.admin-avatar-emoji {
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-name {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 4px;
}

.admin-username {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.admin-powers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.admin-power {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid var(--admin-color, #ffd700)20;
}

.ap-icon { font-size: 20px; }
.ap-label { font-size: 10px; color: #666; text-transform: uppercase; }
.ap-val {
    font-size: 14px;
    font-weight: 900;
    color: var(--admin-color, #ffd700);
}

.admin-quote {
    font-size: 14px;
    font-style: italic;
    color: #888;
    margin-bottom: 16px;
    padding: 0 10px;
}

.admin-since {
    font-size: 11px;
    color: #555;
    padding-top: 16px;
    border-top: 1px solid #222;
}
