:root {
    /* Color Palette */
    --bg-base: #05050A; /* Extremely dark blue/black */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Neon Accents */
    --primary: #8b5cf6; /* Vibrant Purple */
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #3b82f6; /* Electric Blue */
    --secondary-glow: rgba(59, 130, 246, 0.5);
    --accent: #ec4899; /* Neon Pink */
    
    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    /* Status */
    --error: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --shadow-neon: 0 0 20px var(--primary-glow);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-top: var(--safe-top);
    padding-right: var(--safe-right);
    padding-bottom: var(--safe-bottom);
    padding-left: var(--safe-left);
}

/* Background Animated Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.3);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.full-width { width: 100%; }

/* Typography */
h1, h2, h3, h4 { 
    font-family: var(--font-title); 
    letter-spacing: -0.5px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Header */
.main-header {
    padding: 1.2rem 0;
    position: sticky;
    top: var(--safe-top);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.arena-header-v2__inner {
    gap: 0.85rem 1rem;
}
.arena-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    flex: 1 1 220px;
    min-width: 0;
}
.arena-brand-lockup__icon {
    width: clamp(52px, 11vw, 64px);
    height: clamp(52px, 11vw, 64px);
    border-radius: 14px;
    flex-shrink: 0;
    object-fit: cover;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(129, 140, 248, 0.2);
}
.arena-brand-lockup__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
    width: fit-content;
    max-width: min(100%, 22rem);
}
.arena-brand-lockup__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.02rem, 2.6vw, 1.38rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.05;
    display: block;
    align-self: center;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
}
.arena-brand-lockup__tagline {
    font-size: clamp(0.72rem, 1.9vw, 0.86rem);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
}
.arena-header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    flex-wrap: wrap;
}
.arena-install-slot {
    display: flex;
    align-items: center;
}

/* Nav principal (Início | Jogar | Guia) — index, guia, etc. */
.arena-header-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.arena-header-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.arena-header-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.arena-header-nav a.active {
    color: var(--neon-cyan);
    background: rgba(6, 182, 212, 0.12);
}
.arena-install-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: linear-gradient(180deg, rgba(12, 12, 18, 0.96), rgba(5, 5, 10, 0.98));
    color: #fff;
    border-radius: 12px;
    padding: 0.38rem 0.7rem 0.38rem 0.42rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.12), 0 0 22px rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}
.arena-install-btn.visible {
    display: inline-flex;
}
.arena-install-btn__logo {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}
.arena-install-btn:hover {
    border-color: rgba(167, 139, 250, 0.75);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22), 0 0 26px rgba(99, 102, 241, 0.32);
}
.arena-header-v2--lobby .arena-brand-lockup__title {
    font-size: clamp(0.95rem, 2.4vw, 1.22rem);
}
@media (max-width: 900px) {
    .arena-header-v2__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .arena-brand-lockup {
        flex: 1 1 auto;
        width: 100%;
    }
    .arena-header-actions {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    .arena-header-nav {
        flex: 1 1 auto;
        justify-content: center;
    }
    .auth-section {
        width: 100%;
        justify-content: center;
    }
}
.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: inline-block;
}
.auth-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}
.avatar-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.avatar-ring.avatar-ring--emoji {
    padding: 0;
    background: transparent;
    width: auto;
    height: auto;
    min-width: unset;
    min-height: unset;
}
.arena-avatar {
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
}
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-base);
    object-fit: cover;
}
.avatar-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.25rem;
}
.avatar-pick-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    border: 3px solid transparent;
    padding: 0;
    box-sizing: border-box;
}
.avatar-pick-btn:hover { transform: scale(1.08); }
.avatar-pick-btn.selected {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.45), 0 0 14px rgba(239, 68, 68, 0.35);
    transform: scale(1.05);
}
.chat-system-msg {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    padding: 0.35rem 0.5rem;
    margin: 0.15rem 0;
    border-radius: 6px;
    animation: chatSystemIn 0.45s ease;
}
.chat-system-msg.join { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); }
.chat-system-msg.leave { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); }
@keyframes chatSystemIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.nickname {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn-primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
}
.btn-outline:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: rgba(255,255,255,0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--primary-glow), inset 0 0 10px rgba(255,255,255,0.2);
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
}
.btn-icon:hover { 
    color: white; 
    background: rgba(255,255,255,0.1);
    transform: rotate(5deg);
}

/* Link Effects */
.link-fx {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
}
.link-fx::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}
.link-fx:hover { color: var(--primary); }
.link-fx:hover::after { width: 100%; }

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding-bottom: 5rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.game-card {
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-card:hover .card-glow {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.game-stop .card-glow { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }
.game-acromania .card-glow { box-shadow: 0 0 40px rgba(59, 130, 246, 0.3); }

.game-stop {
    background:
        radial-gradient(ellipse at 25% 15%, rgba(99, 102, 241, 0.38), transparent 52%),
        radial-gradient(ellipse at 85% 75%, rgba(236, 72, 153, 0.22), transparent 48%),
        #050508;
}
.game-acromania {
    background: url('https://images.unsplash.com/photo-1606326608606-aa0b62935f2b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(5,5,10,0.1), rgba(5,5,10,0.9));
    border-radius: 20px;
    z-index: 0;
}

.game-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateY(0);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.game-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.1);
    width: 50px; height: 50px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 12px;
}
.game-icon--stop {
    padding: 0;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}
.game-icon--stop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.game-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}
.game-card-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.btn-play {
    width: 100%;
}
.btn-play.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-dev {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-dif-facil {
    background: rgba(16, 185, 129, 0.22);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.45);
}
.badge-dif-medio {
    background: rgba(234, 179, 8, 0.18);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.4);
}
.badge-dif-dificil {
    background: rgba(248, 113, 113, 0.18);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.4);
}
.badge-dif-muito {
    background: rgba(168, 85, 247, 0.22);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.45);
}
.badge-dif-elite {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(236, 72, 153, 0.22));
    color: #e9d5ff;
    border: 1px solid rgba(236, 72, 153, 0.45);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}
.profile-name-tooltip {
    cursor: help;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.profile-name-tooltip:hover {
    background: rgba(168, 85, 247, 0.15);
}

/* Ranking Section */
.ranking-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.ranking-box {
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.ranking-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ranking-title {
    font-size: 1.3rem;
    color: white;
}
.ranking-pulse {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-dot 2s infinite;
}
.pulse-red {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.ranking-list {
    list-style: none;
}
.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.02);
    transition: var(--transition);
}
.ranking-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}
.empty-state {
    color: var(--text-muted);
    font-style: italic;
    justify-content: center;
    background: transparent;
}
.empty-state:hover { transform: none; background: transparent; }

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
.modal-content {
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    max-height: calc(90vh - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.close-btn {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition);
}
.close-btn:hover { color: white; transform: rotate(90deg); }

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}
.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dev-icon-wrapper {
    width: 80px; height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 1.5rem;
    border: 2px dashed rgba(245, 158, 11, 0.3);
}
.dev-icon { font-size: 2.5rem; }

/* Sugestões de respostas (Etapa 10) */
.sugestoes-atencao-line {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    text-align: center;
}
.sugestoes-destaque-limite,
.sugestoes-destaque-semanal {
    color: #f87171;
    font-weight: 700;
    font-style: normal;
}
.sugestoes-bonus-line {
    text-align: center;
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.55;
}
.sugestoes-destaque-bonus {
    display: inline;
    font-weight: 800;
    font-style: normal;
    color: #22d3ee;
    text-shadow:
        0 0 8px rgba(34, 211, 238, 0.95),
        0 0 18px rgba(167, 139, 250, 0.55),
        0 0 28px rgba(34, 211, 238, 0.35);
    padding: 0 0.15rem;
    border-bottom: 2px solid rgba(34, 211, 238, 0.45);
}
.sugestoes-stats-line {
    text-align: center;
    margin: 0 0 1.35rem !important;
    font-size: 0.8rem;
}
.sugestoes-continue-btn {
    margin-top: 0.15rem;
}
.sugestoes-limit-msg {
    color: #f87171;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    text-align: center;
}
.sugestoes-success-msg {
    color: var(--success);
    font-size: 0.95rem;
    padding: 1rem 0;
    text-align: center;
}
.sugestoes-field {
    width: 100%;
    margin: 0.25rem 0 0.75rem;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: var(--font-main);
    resize: vertical;
}

/* Cool Forms */
.cool-form .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.cool-form input {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}
.cool-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background-color: rgba(0,0,0,0.4);
}
.cool-form label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    font-size: 0.95rem;
}
.cool-form input:focus ~ label,
.cool-form input:not(:placeholder-shown) ~ label {
    top: 0.6rem;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
}

.cool-form .input-group--password input {
    padding-right: 3rem;
}
.cool-form .password-toggle {
    position: absolute;
    right: 0.65rem;
    bottom: 0.85rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0.35rem;
    line-height: 1;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.cool-form .password-toggle:hover {
    color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.06);
}
.cool-form .password-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.register-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: inherit;
    background: rgba(8, 10, 22, 0.92);
    backdrop-filter: blur(6px);
    text-align: center;
}
.register-loading-overlay.hidden {
    display: none;
}
.register-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(168, 85, 247, 0.25);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.register-alert {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    text-align: left;
    background: linear-gradient(145deg, rgba(255, 71, 87, 0.12), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(255, 71, 87, 0.45);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.12);
}
.register-alert.hidden {
    display: none;
}
.register-alert__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #ff6b81;
}
.register-alert__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.register-alert__hint {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}
.register-alert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.85rem;
}
.register-alert__actions .link-fx {
    font-size: 0.88rem;
    font-weight: 600;
}

.error-msg { color: var(--error); font-size: 0.85rem; margin-bottom: 1rem; text-align: center; }
.success-msg { color: var(--success); font-size: 0.85rem; margin-bottom: 1rem; text-align: center;}

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.slide-in-left { animation: slideInLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.slide-in-right { animation: slideInRight 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.scale-in { animation: scaleIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .header-container { flex-direction: column; gap: 1rem; }
    .games-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .ranking-container { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Mobile Navigation & Drawers */
    main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }
    
    #players-sidebar, #chat-sidebar {
        position: fixed !important;
        top: 0 !important;
        height: 100vh !important;
        z-index: 9999 !important;
        width: 300px !important;
        max-width: 85vw !important;
        background: rgba(10,10,15,0.98) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 0 20px rgba(0,0,0,0.8);
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }

    #players-sidebar {
        left: 0 !important;
        transform: translateX(-100%) !important;
    }
    
    #players-sidebar.drawer-open {
        transform: translateX(0) !important;
    }

    #chat-sidebar {
        right: 0 !important;
        transform: translateX(100%) !important;
    }

    #chat-sidebar.drawer-open {
        transform: translateX(0) !important;
    }

    .mobile-nav {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 1.5rem;
        z-index: 9000;
        background: rgba(10,10,15,0.9);
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        border: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .drawer-close-btn {
        display: block !important;
    }

}

/* Table Fixes (Global) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.table-responsive th, .table-responsive td {
    white-space: nowrap;
}


.drawer-close-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
}
.drawer-close-btn:hover {
    opacity: 1;
}

.mobile-nav {
    display: none;
}

/* Player tooltip v2 — perfil + equipe */
#player-tooltip.player-tooltip-v2 {
    width: 320px !important;
    padding: 0 !important;
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.25), 0 12px 40px rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    overflow: hidden;
    pointer-events: auto;
    flex-direction: column;
    background: rgba(12, 8, 24, 0.96);
}
.ptt-card { padding: 0.85rem 0.95rem 0.95rem; }
.ptt-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    position: relative;
}
.ptt-avatar-wrap .avatar-ring { box-shadow: 0 0 16px rgba(168, 85, 247, 0.55); }
.ptt-header-main { flex: 1; min-width: 0; }
.ptt-name { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.ptt-self-badge {
    font-size: 0.65rem;
    background: rgba(168, 85, 247, 0.25);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
    margin-left: 0.25rem;
    vertical-align: middle;
}
.ptt-patente { font-size: 0.88rem; margin-top: 0.15rem; }
.ptt-header-emblem { flex-shrink: 0; margin-left: auto; }
.ptt-equipe-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    background: rgba(168, 85, 247, 0.08);
    color: #fff;
    cursor: pointer;
    text-align: left;
}
.ptt-equipe-bar:hover { background: rgba(168, 85, 247, 0.14); }
.ptt-equipe-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; white-space: nowrap; }
.ptt-equipe-name { flex: 1; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 0.35rem; }
.ptt-equipe-chevron { color: #c084fc; font-size: 1.1rem; line-height: 1; }
.ptt-stats { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.55rem; }
.ptt-stat-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.88rem; }
.ptt-stat-label { color: rgba(255,255,255,0.72); }
.ptt-rank-purple { color: #c084fc; }
.ptt-rank-gold { color: #fbbf24; }
.ptt-rank-cyan { color: #67e8f9; }
.ptt-progress-box {
    margin-top: 0.35rem;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
.ptt-progress-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.45rem; font-size: 0.82rem; }
.ptt-progress-faltam { margin-left: auto; color: #fbbf24; font-weight: 700; font-size: 0.78rem; }
.ptt-progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ptt-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #22d3ee);
}
.ptt-progress-caption { margin: 0.35rem 0 0; font-size: 0.72rem; color: rgba(255,255,255,0.45); text-align: center; }

/* Etapa 14-A — menu do jogador + perfil */
#player-tooltip.player-menu-panel {
    width: 380px !important;
    max-width: calc(100vw - 2rem);
    padding: 0 !important;
    pointer-events: auto;
    z-index: 10060;
    overflow: hidden;
    border-radius: 16px;
}
.ppm-card { display: flex; flex-direction: column; gap: 0.65rem; }
.ppm-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.65rem; }
.ppm-name { font-size: 1.05rem; display: block; }
.ppm-patente { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.ppm-pts { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin: 0.35rem 0 0; }
.equipe-atual-card { display: flex; flex-direction: column; gap: 0.75rem; }
.equipe-hero-card {
    display: flex; gap: 0.75rem; align-items: center; padding: 0.85rem; border-radius: 14px;
    background: rgba(15, 18, 35, 0.65); border: 1px solid rgba(139, 92, 246, 0.25);
}
.equipe-hero-card__name-row { display: flex; align-items: center; gap: 0.35rem; }
.equipe-hero-card__name-row strong { font-size: 1.05rem; }
.equipe-edit-name { border: none; background: transparent; cursor: pointer; opacity: 0.75; }
.equipe-hero-card__meta { margin: 0.15rem 0 0; font-size: 0.78rem; opacity: 0.65; }
.equipe-codigo-card {
    padding: 0.85rem; border-radius: 12px; background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2); text-align: center;
}
.equipe-codigo-card__label { margin: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.equipe-codigo-card__code { font-family: monospace; font-size: 1.45rem; letter-spacing: 0.18em; font-weight: 800; margin: 0.35rem 0; color: #c084fc; }
.equipe-codigo-card__hint { margin: 0; font-size: 0.72rem; opacity: 0.6; }
.equipe-membros-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; padding: 0 0.15rem; }
.equipe-membros-list--v2 { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.equipe-membro-row {
    display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.65rem; border-radius: 12px;
    background: rgba(15, 18, 35, 0.55); border: 1px solid rgba(255,255,255,0.06);
}
.equipe-membro-row__rank { width: 1.1rem; font-size: 0.72rem; opacity: 0.55; text-align: center; }
.equipe-membro-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.equipe-membro-row__info strong { font-size: 0.85rem; }
.equipe-membro-row__info small { font-size: 0.68rem; opacity: 0.6; }
.equipe-membro-row__pts { font-size: 0.72rem; font-weight: 700; color: #c084fc; white-space: nowrap; }
.equipe-membro-row__more { border: none; background: rgba(255,255,255,0.06); border-radius: 8px; width: 28px; height: 28px; cursor: pointer; color: inherit; }
.equipe-leave-btn {
    width: 100%; padding: 0.7rem; border-radius: 12px; border: 1px solid rgba(239, 68, 68, 0.45);
    background: transparent; color: #f87171; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
    text-transform: uppercase; cursor: pointer; margin-top: 0.25rem;
}
.ppm-actions { display: flex; flex-direction: column; gap: 0.45rem; }
.ppm-action { font-size: 0.88rem !important; padding: 0.5rem 0.75rem !important; }
.player-interactive { cursor: pointer; }
.ranking-player-name {
    cursor: pointer;
    text-decoration: underline dotted rgba(103, 232, 249, 0.35);
    text-underline-offset: 3px;
}
.ranking-player-name:hover { color: var(--neon-cyan); }
.player-profile-modal-content { max-width: 420px; width: 95%; max-height: 90vh; overflow-y: auto; }
.player-profile-modal-content { max-width: 480px; width: 95%; max-height: 90vh; overflow-y: auto; padding: 0; }
.ppf-view--v2 { padding: 0 1rem 1rem; }
.ppf-head { padding: 1rem 0 0.5rem; border-bottom: 1px solid rgba(139, 92, 246, 0.15); margin-bottom: 0.75rem; }
.ppf-head__title { display: flex; gap: 0.5rem; align-items: flex-start; }
.ppf-head__spark { font-size: 1.1rem; }
.ppf-title { margin: 0; font-size: 1.25rem; font-weight: 800; }
.ppf-subtitle { margin: 0.15rem 0 0; font-size: 0.78rem; opacity: 0.65; }
.ppf-hero--v2 { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.85rem; }
.ppf-avatar--v2 .avatar-ring--emoji { border: 3px solid rgba(139, 92, 246, 0.55); border-radius: 50%; }
.ppf-name-row { display: flex; align-items: center; gap: 0.35rem; }
.ppf-name { margin: 0; font-size: 1.15rem; font-weight: 800; }
.ppf-edit-btn { border: none; background: transparent; cursor: pointer; font-size: 0.95rem; opacity: 0.8; }
.ppf-patente-badge { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: rgba(139, 92, 246, 0.22); color: #d8b4fe; }
.ppf-member-since { margin: 0.35rem 0 0; font-size: 0.78rem; opacity: 0.65; }
.ppf-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-bottom: 0.85rem; }
.ppf-stat-card { padding: 0.55rem 0.45rem; border-radius: 12px; background: rgba(15, 18, 35, 0.65); border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.ppf-stat-card__icon { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.ppf-stat-card__label { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.65; }
.ppf-stat-card__value { display: block; font-size: 0.95rem; font-weight: 800; margin: 0.15rem 0; }
.ppf-stat-card__value--sm { font-size: 0.72rem; line-height: 1.25; }
.ppf-stat-card small { font-size: 0.62rem; opacity: 0.6; }
.ppf-section--v2 { padding: 0.75rem; border-radius: 12px; background: rgba(15, 18, 35, 0.55); border: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; }
.ppf-password-row {
    display: flex; align-items: center; gap: 0.65rem; width: 100%; padding: 0.75rem 0.85rem; margin: 0.75rem 0;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: inherit; cursor: pointer;
}
.ppf-password-row__text { flex: 1; text-align: left; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ppf-close-btn { margin-top: 0.75rem; background: linear-gradient(135deg, #8b5cf6, #6366f1) !important; border: none !important; }
.ppf-hero { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.ppf-title { margin: 0; font-size: 1.35rem; }
.ppf-section { margin: 1rem 0; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.ppf-section-title { margin: 0 0 0.5rem; font-size: 0.95rem; }
.ppf-sugestoes { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.ppm-sug-btn { font-size: 0.78rem !important; padding: 0.25rem 0.5rem !important; }

/* Social — badges, pop-ups lobby, destaque Amigos */
#amigos-settings-badge {
    display: none; position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: #ef4444; color: #fff; font-size: 0.65rem; font-weight: 800;
    align-items: center; justify-content: center; line-height: 18px;
}
.btn-settings-wrap { position: relative; display: inline-flex; }
.btn-settings-wrap.has-amigos-pending .btn-settings-gear {
    animation: amigos-gear-pulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.45);
    border-radius: 8px;
}
@keyframes amigos-gear-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.settings-amigos-hint { color: #f87171; font-weight: 700; font-size: 0.75rem; text-transform: none; letter-spacing: 0; }
.settings-menu-row.settings-btn--highlight { border-color: rgba(239, 68, 68, 0.55); background: rgba(239, 68, 68, 0.1); }
.settings-menu-row.settings-btn--highlight-urgent {
    border-color: rgba(251, 191, 36, 0.65);
    background: rgba(251, 191, 36, 0.12);
    animation: amigos-row-pulse 1.6s ease-in-out infinite;
}
@keyframes amigos-row-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } 50% { box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35); } }

.amigos-lobby-popup, .dm-lobby-popup {
    display: none; position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 99990;
    max-width: min(380px, calc(100vw - 2rem)); padding: 0.85rem 2.25rem 0.85rem 1rem; cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); animation: amigos-popup-in 0.35s ease;
}
.amigos-lobby-popup { border: 1px solid rgba(251, 191, 36, 0.45); }
.dm-lobby-popup { border: 1px solid rgba(139, 92, 246, 0.5); bottom: 5.5rem; }
.amigos-lobby-popup__close, .dm-lobby-popup__close {
    position: absolute; top: 0.35rem; right: 0.45rem; background: transparent;
    border: none; color: inherit; font-size: 1.25rem; cursor: pointer; opacity: 0.7;
}
.amigos-lobby-popup__text, .dm-lobby-popup__text { margin: 0; font-size: 0.88rem; line-height: 1.45; word-break: break-word; }
.amigos-lobby-popup__cta, .dm-lobby-popup__cta { display: block; margin-top: 0.35rem; font-weight: 600; }
.amigos-lobby-popup__cta { color: #fbbf24; }
.dm-lobby-popup__cta { color: #c084fc; }
@keyframes amigos-popup-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Menu do jogador v2 */
.ppm-v2 { position: relative; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.75rem; background: rgba(11, 11, 15, 0.98); }
.ppm-v2-close {
    position: absolute; top: 0.45rem; right: 0.55rem; z-index: 2; border: none; background: transparent;
    color: rgba(255,255,255,0.65); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.ppm-v2-hero { display: flex; gap: 0.75rem; align-items: flex-start; padding-right: 1.25rem; }
.ppm-v2-avatar { position: relative; flex-shrink: 0; }
.ppm-v2-avatar .avatar-ring--emoji { border: 3px solid rgba(234, 179, 8, 0.65); border-radius: 50%; }
.ppm-v2-online {
    position: absolute; bottom: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%;
    background: #22c55e; border: 2px solid rgba(11, 11, 15, 0.95);
}
.ppm-v2-hero-body { min-width: 0; flex: 1; }

.arena-pwa-banner {
    position: fixed;
    left: max(0.75rem, calc(0.75rem + var(--safe-left)));
    right: max(0.75rem, calc(0.75rem + var(--safe-right)));
    bottom: max(0.75rem, calc(0.75rem + var(--safe-bottom)));
    z-index: 10080;
    display: none;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 12, 30, 0.96);
    border: 1px solid rgba(96, 223, 255, 0.35);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    padding: 0.8rem 0.9rem;
}
.arena-pwa-banner.visible {
    display: flex;
}
.arena-pwa-banner__body strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.1rem;
}
.arena-pwa-banner__body p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}
.arena-pwa-banner__actions {
    display: inline-flex;
    gap: 0.45rem;
}
.arena-pwa-banner__actions button {
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.42rem 0.7rem;
    cursor: pointer;
}
.arena-pwa-banner__actions button:first-child {
    background: #22d3ee;
    color: #04131f;
}
.arena-pwa-banner__actions button:last-child {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

html.is-standalone .main-header {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ppm-v2-name { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.ppm-v2-patente { margin: 0.2rem 0 0; font-size: 0.82rem; color: #93c5fd; font-weight: 600; }
.ppm-v2-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.ppm-v2-chip-stat {
    font-size: 0.68rem; padding: 0.2rem 0.45rem; border-radius: 999px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); white-space: nowrap;
}
.ppm-v2-since { margin: 0.35rem 0 0; font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.ppm-v2-toolbar { display: flex; gap: 0.45rem; align-items: stretch; }
.ppm-v2-btn-profile {
    flex: 1; border: none; border-radius: 12px; padding: 0.62rem 0.75rem; cursor: pointer;
    font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
}
.ppm-v2-chip {
    border-radius: 12px; padding: 0.55rem 0.65rem; font-size: 0.72rem; font-weight: 700;
    border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: inherit;
    white-space: nowrap; align-self: center;
}
.ppm-v2-chip--add { cursor: pointer; color: #c084fc; border-color: rgba(139, 92, 246, 0.45); }
.ppm-v2-chip--friend { color: #86efac; border-color: rgba(34, 197, 94, 0.35); }
.ppm-v2-chip--wait { opacity: 0.75; }
.ppm-v2-chip--incoming { color: #fbbf24; border-color: rgba(251, 191, 36, 0.45); }
.ppm-v2-section { padding: 0.65rem; border-radius: 12px; background: rgba(15, 18, 35, 0.55); border: 1px solid rgba(255,255,255,0.06); }
.ppm-v2-section-title { margin: 0 0 0.55rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.ppm-v2-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.ppm-v2-stat { padding: 0.55rem; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.ppm-v2-stat__icon { font-size: 0.85rem; }
.ppm-v2-stat__label { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.6; margin-top: 0.15rem; }
.ppm-v2-stat__value { display: block; font-size: 1rem; font-weight: 800; margin: 0.15rem 0; }
.ppm-v2-stat small { font-size: 0.65rem; opacity: 0.65; line-height: 1.3; display: block; }
.ppm-v2-equipe-card { padding: 0.55rem 0.65rem; border-radius: 10px; background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.2); }
.ppm-v2-equipe-card__info strong { display: block; font-size: 0.88rem; }
.ppm-v2-equipe-card__info small { font-size: 0.68rem; opacity: 0.65; }
.ppm-v2-menu { display: flex; flex-direction: column; gap: 0.35rem; }
.ppm-v2-row {
    display: flex; align-items: center; gap: 0.55rem; width: 100%; padding: 0.62rem 0.65rem;
    border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
    color: inherit; cursor: pointer; text-align: left; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.03em; text-transform: uppercase;
}
.ppm-v2-row:hover { background: rgba(255,255,255,0.06); }
.ppm-v2-row--primary { border-color: rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.08); }
.ppm-v2-row--danger { color: #f87171; border-color: rgba(239, 68, 68, 0.35); }
.ppm-v2-row__icon { width: 1.25rem; text-align: center; flex-shrink: 0; }
.ppm-v2-row__label { flex: 1; min-width: 0; }
.ppm-v2-row__chev { opacity: 0.45; font-size: 1rem; }
