        @import url('https://fonts.googleapis.com/css2?family=Bangers&family=Creepster&family=Dancing+Script:wght@700&family=Fredericka+the+Great&family=Gloria+Hallelujah&family=Indie+Flower&family=Montserrat:wght@400;700&family=Orbitron:wght@400;700&family=Permanent+Marker&family=Poppins:wght@300;400;600&family=Press+Start+2P&family=Rajdhani:wght@500;700&family=Righteous&family=Roboto:wght@400;700&family=Russo+One&family=Special+Elite&family=VT323&display=swap');

/* ======================== 🎨 VARIÁVEIS DE TEMA ======================== */
        :root {
            /* TEMA ÚNICO - Background Transparente */
            --primary-color: #B88CFF;
            --secondary-color: #6A42B2;
            --text-primary: #E5D7FF;
            --text-secondary: #c7adff;
            --background-main: transparent;

            /* OPACIDADE CONTROLÁVEL: 0.75 é o valor inicial */
            --content-opacity: 0.75;

            /* Fundos que usam opacidade (A opacidade varia, o RGB é fixo) */
            --background-content-rgba: 0, 0, 0;
            --card-background-rgba: 30, 20, 50;
            --item-background-rgba: 110, 78, 180;
            --input-background-rgba: 43, 34, 72;

            --background-content: rgba(var(--background-content-rgba), var(--content-opacity));
            --card-background: rgba(var(--card-background-rgba), var(--content-opacity));
            --item-background: rgba(var(--item-background-rgba), calc(var(--content-opacity) * 0.4));
            --input-background: rgba(var(--input-background-rgba), var(--content-opacity));

            --chat-background: #120F1C;
            --shadow-color: rgba(184, 140, 255, 0.5);
            --chat-text-color: #E5D7FF;

            /* Neon Glow Effect */
            --neon-glow: 0 0 5px var(--primary-color), 0 0 20px rgba(184, 140, 255, 0.4);

            /* MIRKGANG NEW VARS */
            --neon-cyan: #00f3ff;
            --neon-pink: #ff0cf5;
            --neon-purple: #bc13fe;
            --glass-border-cyan: rgba(0, 243, 255, 0.5);
            --glass-border-pink: rgba(255, 12, 245, 0.5);
            --glass-border-purple: rgba(188, 19, 254, 0.5);
            --boss-row-height: 40px;
        }

        /* ======================== 🆕 NEW BADGE (Standardized) ======================== */
.new-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #00ff00, #00aa00);
    color: black;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.5);
    box-shadow: 0 0 5px #00ff00;
    z-index: 10;
    animation: pulseNew 1.5s infinite;
}

@keyframes pulseNew {
    0% { transform: scale(1); box-shadow: 0 0 5px #00ff00; }
    50% { transform: scale(1.1); box-shadow: 0 0 10px #00ff00; }
    100% { transform: scale(1); box-shadow: 0 0 5px #00ff00; }
}

/* ======================== 🛒 STORE MODAL ======================== */
#store-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.store-panel {
    background: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(184, 140, 255, 0.2);
    animation: slideIn 0.3s ease-out;
}

.store-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
}

.store-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-content {
    padding: 20px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.store-item-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.store-item-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.store-item-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.store-item-desc {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 15px;
    flex-grow: 1;
}

.store-item-price {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.store-buy-btn {
    width: 100%;
    padding: 8px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.store-buy-btn:hover {
    background: var(--primary-color);
}

.store-buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #555;
}


        body.classic-mode {
            --primary-color: #888888;
            --secondary-color: #555555;
            --text-primary: #e0e0e0;
            --text-secondary: #aaaaaa;
            --background-main: #121212;
            --background-content: #1e1e1e;
            --card-background: #252525;
            --item-background: #303030;
            --input-background: #353535;
            --chat-background: #1a1a1a;
            --shadow-color: transparent;
            --neon-glow: none;
        }

        /* Remove TODAS as animações no modo clássico */
        body.classic-mode *,
        body.classic-mode *::before,
        body.classic-mode *::after {
            animation: none !important;
            transition: none !important;
        }

        /* Fundo sólido */
        body.classic-mode {
            background: #121212 !important;
        }

        /* Títulos sem gradiente RGB */
        body.classic-mode h1,
        body.classic-mode .section-title {
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            -webkit-text-fill-color: #ffffff !important;
            color: #ffffff !important;
            text-shadow: none !important;
            filter: none !important;
        }

        /* Cards simples */
        body.classic-mode .piso-card {
            background: #2a2a2a !important;
            border: 1px solid #444 !important;
            border-radius: 8px !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
        }

        body.classic-mode .piso-card::before,
        body.classic-mode .piso-card::after {
            display: none !important;
        }

        body.classic-mode .piso-card:hover {
            transform: none !important;
            box-shadow: none !important;
            border-color: #666 !important;
        }

        /* Títulos dos cards */
        body.classic-mode .piso-card h3 {
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            -webkit-text-fill-color: #ffffff !important;
            color: #ffffff !important;
            filter: none !important;
            font-family: Arial, sans-serif !important;
        }

        /* Boss items simples */
        body.classic-mode .boss-item {
            background: #333 !important;
            border: 1px solid #555 !important;
            border-radius: 6px !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
        }

        body.classic-mode .boss-item::before {
            display: none !important;
        }

        body.classic-mode .boss-item:hover {
            transform: none !important;
            background: #3a3a3a !important;
        }

        /* Timers - cores sólidas sem gradiente */
        body.classic-mode .time-left {
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            -webkit-text-fill-color: currentColor !important;
            filter: none !important;
            text-shadow: none !important;
            font-family: 'Consolas', 'Courier New', monospace !important;
            font-weight: bold !important;
        }

        body.classic-mode .boss-item.safe .time-left {
            color: #22c55e !important;
        }

        body.classic-mode .boss-item.warning .time-left {
            color: #f59e0b !important;
        }

        body.classic-mode .boss-item.urgent .time-left {
            color: #ef4444 !important;
        }

        /* Progress bars simples */
        body.classic-mode .boss-progress {
            background: #444 !important;
            border-radius: 2px !important;
        }

        body.classic-mode .boss-progress-bar {
            background: #666 !important;
            box-shadow: none !important;
        }

        body.classic-mode .boss-item.safe .boss-progress-bar {
            background: #22c55e !important;
        }

        body.classic-mode .boss-item.warning .boss-progress-bar {
            background: #f59e0b !important;
        }

        body.classic-mode .boss-item.urgent .boss-progress-bar {
            background: #ef4444 !important;
        }

        /* Botões simples */
        body.classic-mode button,
        body.classic-mode .btn,
        body.classic-mode [class*="btn"] {
            background: #444 !important;
            border: 1px solid #666 !important;
            box-shadow: none !important;
            border-radius: 4px !important;
        }

        body.classic-mode button:hover,
        body.classic-mode .btn:hover {
            background: #555 !important;
            transform: none !important;
            box-shadow: none !important;
        }

        body.classic-mode #btnRegistrar {
            background: #22c55e !important;
            border-color: #16a34a !important;
        }

        body.classic-mode #btnHoraAtual {
            background: #f97316 !important;
            border-color: #ea580c !important;
        }

        /* Rotação sem gradiente */
        body.classic-mode .boss-rotation {
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            -webkit-text-fill-color: #f59e0b !important;
            color: #f59e0b !important;
            filter: none !important;
            text-shadow: none !important;
        }

        /* Next rotation bar simples */
        body.classic-mode #next-rotation-info {
            background: none !important;
            -webkit-text-fill-color: #ffffff !important;
            text-shadow: none !important;
        }

        /* Badges simples */
        body.classic-mode .risk-badge,
        body.classic-mode .high-req-badge,
        body.classic-mode .on-demand-badge {
            background: #555 !important;
            border: 1px solid #777 !important;
            box-shadow: none !important;
        }

        /* Toggle oculto simples */
        body.classic-mode .expand-hidden-btn {
            background: #333 !important;
            border: 1px dashed #666 !important;
        }

        body.classic-mode .expand-hidden-btn:hover {
            background: #444 !important;
            border-style: solid !important;
            box-shadow: none !important;
            transform: none !important;
        }

        /* Chat simples */
        body.classic-mode #chatWindow {
            background: #222 !important;
            border: 1px solid #444 !important;
            box-shadow: none !important;
        }

        /* Online box simples */
        body.classic-mode #online-count-box {
            background: #2a2a2a !important;
            border: 1px solid #444 !important;
            box-shadow: none !important;
        }

        /* Inputs simples */
        body.classic-mode input,
        body.classic-mode select {
            background: #333 !important;
            border: 1px solid #555 !important;
            box-shadow: none !important;
        }

        /* Histórico simples */
        body.classic-mode .history-card {
            background: #252525 !important;
            border: 1px solid #444 !important;
        }

        /* Neon sub texto */
        body.classic-mode .neon-sub {
            text-shadow: none !important;
            color: #888 !important;
        }

        /* FAB buttons */
        body.classic-mode #chatFab,
        body.classic-mode #manual-fab {
            background: #555 !important;
            box-shadow: none !important;
        }

        body.classic-mode #chatFab:hover,
        body.classic-mode #manual-fab:hover {
            box-shadow: none !important;
        }

        /* Botão de Toggle de Modo */
        #classic-mode-toggle {
            position: fixed;
            bottom: 80px;
            left: 20px;
            background: linear-gradient(145deg, rgba(40, 40, 60, 0.95), rgba(25, 25, 40, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 25px;
            padding: 10px 16px;
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        }

        #classic-mode-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
            border-color: rgba(255, 255, 255, 0.25);
        }

        #classic-mode-toggle .mode-icon {
            font-size: 16px;
        }

        /* Estilo do botão no modo clássico */
        body.classic-mode #classic-mode-toggle {
            background: #333 !important;
            border: 1px solid #555 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        }

        body.classic-mode #classic-mode-toggle:hover {
            background: #444 !important;
        }

        .profile-new-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: linear-gradient(45deg, #ff0055, #ff00aa);
            color: white;
            font-size: 9px;
            padding: 2px 6px;
            border-radius: 8px;
            font-weight: 800;
            box-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
            animation: badgePulse 1.5s infinite;
            z-index: 10;
            border: 1px solid rgba(255, 255, 255, 0.3);
            letter-spacing: 0.5px;
        }

        @keyframes badgePulse {
            0% { transform: scale(1); box-shadow: 0 0 5px rgba(255, 0, 85, 0.6); }
            50% { transform: scale(1.1); box-shadow: 0 0 10px rgba(255, 0, 85, 0.8); }
            100% { transform: scale(1); box-shadow: 0 0 5px rgba(255, 0, 85, 0.6); }
        }

        .profile-modal-content {
            animation: profileSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes profileSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .profile-avatar-container {
            position: relative;
            display: inline-block;
        }

        .profile-avatar-container::after {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-color), var(--neon-cyan), var(--neon-pink));
            z-index: -1;
            animation: spinBorder 4s linear infinite;
            opacity: 0.7;
        }

        @keyframes spinBorder {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .message-reactions {
            display: flex;
            gap: 2px;
            margin-top: 2px;
            justify-content: flex-end;
            flex-wrap: wrap;
        }

        .reaction-badge {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 2px 6px;
            font-size: 10px;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .reaction-badge:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
        }

        .reaction-badge.user-reacted {
            background: rgba(184, 140, 255, 0.3);
            border-color: var(--primary-color);
        }

        .reaction-picker {
            position: absolute;
            bottom: 100%;
            right: 0;
            background: var(--card-background);
            border: 1px solid var(--secondary-color);
            border-radius: 20px;
            padding: 5px 10px;
            display: flex;
            gap: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            z-index: 2000;
            animation: fadeIn 0.2s ease;
            flex-wrap: wrap;
            max-width: 260px;
        }

        .reaction-option {
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .reaction-option:hover {
            transform: scale(1.3);
        }

        .online-user-item,
        .online-user {
            cursor: pointer;
            transition: background 0.2s;
            padding: 4px 8px;
            border-radius: 4px;
        }

        .online-user-item:hover,
        .online-user:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        body.classic-mode {
            background-image: none !important;
            background-color: #121212 !important;
        }
        
        body.classic-mode::before {
            display: none !important;
        }

        body.classic-mode .profile-avatar-container::after {
            display: none !important;
        }

        body.classic-mode .profile-new-badge {
            animation: none !important;
            box-shadow: none !important;
            background: #ff0055 !important;
        }

        /* ======================== ✨ ANIMAÇÕES DE ENTRADA (ESSENCIAIS) ======================== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes glowPulse {

            0%,
            100% {
                box-shadow: 0 0 5px var(--shadow-color);
            }

            50% {
                box-shadow: 0 0 15px var(--shadow-color);
            }
        }

        /* BOTÕES DE PRESET DE COR */
        .color-preset {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .color-preset:hover {
            transform: scale(1.15);
            box-shadow: 0 0 10px currentColor;
        }

        /* ======================== 🔐 LOGIN CLÁSSICO (SÓBRIO) ======================== */
        #login-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(0, 0, 0, 0.92);
            backdrop-filter: none;
            display: flex;
            /* Centraliza o box */
            align-items: center;
            justify-content: center;
        }

        #login-box {
            background: #1e1e2f;
            /* Azul escuro sólido */
            border: 1px solid #333;
            border-radius: 8px;
            padding: 35px;
            width: 100%;
            max-width: 380px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        #login-box h2 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 20px;
            text-shadow: none;
        }

        .auth-tab {
            background: transparent;
            border: none;
            color: #888;
            font-weight: 600;
            font-size: 14px;
            padding: 10px 15px;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
        }

        .auth-tab.active {
            color: #fff;
            border-bottom: 2px solid var(--primary-color);
        }

        .auth-tab:hover {
            color: #ccc;
        }

        .auth-tab.active::after {
            display: none;
        }

        /* Inputs Clássicos */
        #login-box input {
            background: #2b2b3d;
            border: 1px solid #444;
            color: #fff;
            padding: 12px;
            margin-bottom: 12px;
            border-radius: 4px;
            width: 100%;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
        }

        #login-box input:focus {
            outline: none;
            border-color: var(--primary-color);
            background: #32324a;
        }

        #login-box input::placeholder {
            color: #666;
        }

        /* Botão Principal Clássico */
        #btnLogin,
        #btnRegister {
            background: var(--primary-color);
            color: #fff;
            font-weight: 600;
            text-transform: uppercase;
            padding: 12px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            width: 100%;
            margin-top: 10px;
            font-size: 14px;
            transition: opacity 0.2s;
            box-shadow: none;
            font-family: 'Inter', sans-serif;
        }

        #btnLogin:hover,
        #btnRegister:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .auth-link {
            color: #888;
            font-size: 12px;
            text-decoration: none;
            margin-top: 15px;
            display: inline-block;
        }

        .auth-link:hover {
            color: #fff;
            text-decoration: underline;
        }

        /* ======================== 💰 PAYMENT OVERLAY (GLASSMORPHISM) ======================== */
        #payment-overlay {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(10, 10, 18, 0.95);
            backdrop-filter: blur(15px);
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.5s ease-out;
        }

        #payment-box {
            background: rgba(18, 15, 28, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(184, 140, 255, 0.3);
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(184, 140, 255, 0.2);
            animation: fadeInUp 0.6s ease-out;
            text-align: center;
        }

        #payment-box h2 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 26px;
            text-shadow: 0 0 20px rgba(184, 140, 255, 0.5);
        }

        #payment-box h3 {
            color: var(--accent-color);
            margin: 20px 0 10px;
            font-size: 20px;
        }

        .payment-price {
            font-size: 42px;
            font-weight: 900;
            color: #FFD700;
            margin: 20px 0;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
            animation: glowPulse 2s ease-in-out infinite;
        }

        .payment-subtitle {
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 30px;
        }

        .pix-qr-container {
            margin: 25px 0;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            border: 1px solid rgba(184, 140, 255, 0.2);
        }

        .pix-qr-container img {
            max-width: 250px;
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .pix-key {
            background: rgba(20, 18, 30, 0.8);
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
            font-family: 'Courier New', monospace;
            color: #00FFFF;
            font-size: 14px;
            word-break: break-all;
            border: 1px solid rgba(0, 255, 255, 0.3);
            box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
        }

        .payment-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin: 10px 5px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(184, 140, 255, 0.4);
        }

        .payment-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(184, 140, 255, 0.6);
        }

        .payment-btn-secondary {
            background: rgba(100, 100, 120, 0.3);
            border: 1px solid var(--border-color);
        }

        .payment-btn-secondary:hover {
            background: rgba(120, 120, 140, 0.4);
        }

        .payment-info {
            color: var(--text-muted);
            font-size: 12px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(184, 140, 255, 0.2);
        }

        /* ======================== 🔐 NICK SETUP OVERLAY ======================== */
        #nick-setup-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.92);
            backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
        }

        /* ======================== 👤 PERFIL DE USUÁRIO (NOVO) ======================== */
#profile-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001; /* Acima de tudo */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

#profile-card {
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(184, 140, 255, 0.2);
    box-shadow: 0 0 30px rgba(184, 140, 255, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

/* Header com Imagem de Capa e Foto */
.profile-header {
    height: 140px;
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-cover {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.profile-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-container {
    position: absolute;
    bottom: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #1a1a2e;
    background: #000;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-avatar-container:hover {
    transform: scale(1.05);
}

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

.profile-edit-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.profile-edit-btn.is-visible {
    display: flex;
}

#edit-profile-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#edit-profile-modal .edit-profile-panel {
    width: min(1080px, 96vw);
    height: min(1080px, 92vh);
    max-height: 92vh;
    background: #1a1a2e;
    border-radius: 16px;
    border: 1px solid var(--primary-color);
    padding: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#edit-profile-modal .edit-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#edit-profile-modal .edit-profile-title {
    color: var(--primary-color);
    margin: 0;
}

#edit-profile-modal .edit-profile-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.90);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

#edit-profile-modal .edit-profile-close:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
}

#edit-profile-modal .edit-profile-layout {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-top: 14px;
}

#edit-profile-modal .edit-profile-col {
    flex: 1;
    min-width: 0;
}

#edit-profile-modal .edit-profile-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

#edit-profile-modal .edit-profile-card {
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

#edit-profile-modal .edit-profile-card:hover {
    transform: translateY(-1px);
    border-color: rgba(184, 140, 255, 0.30);
    background: rgba(0,0,0,0.33);
}

#edit-profile-modal .edit-profile-card-title {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
    margin-bottom: 12px;
}

#edit-profile-modal .edit-profile-preview-card {
    text-align: center;
}

#edit-profile-modal .edit-profile-mini-cover {
    position: relative;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

#edit-profile-modal .edit-profile-mini-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#edit-profile-modal .edit-profile-mini-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    border: 3px solid rgba(26, 26, 46, 0.95);
    box-shadow: 0 10px 22px rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.25);
    object-fit: cover;
}

#edit-profile-modal .edit-profile-preview-text {
    display: block;
    font-size: 18px;
    margin-top: 32px;
}

#edit-profile-modal .file-upload-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 4px;
}

#edit-profile-modal .file-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(184, 140, 255, 0.95), rgba(120, 70, 240, 0.95));
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

#edit-profile-modal .file-upload-filename {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#edit-profile-modal .hidden-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#edit-profile-modal .edit-profile-hint {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
}

#edit-profile-modal input[type="file"],
#edit-profile-modal select {
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px;
    border-radius: 10px;
    color: white;
    color-scheme: dark;
}

#edit-profile-modal input[type="file"] {
    padding: 8px;
}

#edit-profile-modal select option {
    background: #141424;
    color: rgba(255,255,255,0.95);
}

#edit-profile-modal .bio-select option {
    background: #141424;
    color: rgba(255,255,255,0.95);
}

#edit-profile-modal input[type="file"]:focus,
#edit-profile-modal select:focus,
#edit-profile-modal .rich-input:focus {
    border-color: rgba(184, 140, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(184, 140, 255, 0.18);
}

#edit-profile-modal .emoji-badge-grid {
    max-height: 160px;
    overflow-y: auto;
    background: rgba(0,0,0,0.20);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#edit-profile-modal .edit-profile-btn {
    flex: 1;
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 0.6px;
    transition: transform 0.15s ease, filter 0.15s ease;
}

#edit-profile-modal .edit-profile-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

#edit-profile-modal .edit-profile-btn-primary {
    background: linear-gradient(135deg, rgba(184, 140, 255, 0.95), rgba(120, 70, 240, 0.95));
    color: white;
}

#edit-profile-modal .edit-profile-btn-secondary {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.12);
}

#online-list .online-user * {
    pointer-events: none;
}

#leaderboard-modal {
    display: none;
    position: fixed;
    z-index: 10003;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#leaderboard-modal .leaderboard-panel {
    width: min(720px, 92vw);
    max-height: 88vh;
    background: #1a1a2e;
    border-radius: 16px;
    border: 1px solid rgba(184, 140, 255, 0.35);
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#leaderboard-modal .leaderboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#leaderboard-modal .leaderboard-title {
    color: var(--primary-color);
    margin: 0;
}

#leaderboard-modal .leaderboard-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.90);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

#leaderboard-modal .leaderboard-close:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
}

#leaderboard-modal .leaderboard-body {
    padding-top: 14px;
    overflow: auto;
    display: grid;
    gap: 12px;
}

#leaderboard-modal .leaderboard-section {
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px;
}

#leaderboard-modal .leaderboard-section-title {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
    margin-bottom: 10px;
}

#leaderboard-modal .leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

#leaderboard-modal .leaderboard-row:hover {
    background: rgba(255,255,255,0.05);
}

#leaderboard-modal .leaderboard-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#leaderboard-modal .leaderboard-trophy {
    width: 28px;
    text-align: center;
    flex: 0 0 auto;
}

#leaderboard-modal .leaderboard-nick {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#leaderboard-modal .leaderboard-value {
    color: rgba(255,255,255,0.80);
    font-weight: 800;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    #edit-profile-modal .edit-profile-layout {
        flex-direction: column;
    }
}

.profile-edit-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(15deg);
}

/* Corpo do Perfil */
.profile-body {
    padding: 60px 25px 30px; /* Top padding compensates for avatar */
    text-align: center;
    color: var(--text-primary);
}

.profile-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.profile-bio {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================== 💬 CHAT TABS & ADMIN CHAT ======================== */
.chat-tabs {
    display: flex;
    background: rgba(0,0,0,0.2);
    padding: 5px 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 5px;
}

.chat-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid transparent;
    border-bottom: none;
}

.chat-tab.active {
    background: var(--chat-background);
    color: var(--primary-color);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.chat-tab:hover:not(.active) {
    background: rgba(255,255,255,0.1);
}

.chat-tab.admin-tab {
    color: var(--text-secondary);
}

.chat-tab.admin-tab.active {
    background: linear-gradient(180deg, rgba(255,215,0,0.08), transparent);
    color: #ffd93d;
    border-color: rgba(255,215,0,0.18);
}

.chat-tab.has-notification {
    position: relative;
}

.chat-tab.has-notification::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}

/* Admin Message Style */
.message.admin-announcement {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
    padding-left: 10px;
}

.message.admin-announcement .msg-author {
    color: #FFD700 !important;
    font-weight: 900;
}

/* Reactions */
.msg-reactions {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
    position: relative;
}

.reaction-pill {
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reaction-pill[data-action="toggle-reaction-picker"] {
    background: linear-gradient(135deg, rgba(184,140,255,0.35), rgba(120,70,240,0.25));
    border: 1px solid rgba(184,140,255,0.35);
    font-weight: 900;
    min-width: 30px;
    height: 22px;
    padding: 0 10px;
    justify-content: center;
}

.reaction-pill[data-action="toggle-reaction-picker"]:hover {
    background: linear-gradient(135deg, rgba(184,140,255,0.55), rgba(120,70,240,0.35));
}

.reaction-pill:hover {
    background: rgba(255,255,255,0.2);
}

.reaction-pill.active {
    background: rgba(var(--primary-color-rgb), 0.3);
    border: 1px solid var(--primary-color);
}

/* Reaction Picker */
.reaction-picker {
    position: absolute;
    background: #1e1e2f;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 5px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 260px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 2000;
    animation: fadeIn 0.2s;
    bottom: calc(100% + 6px);
    right: 0;
}

.reaction-option {
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.reaction-option:hover {
    transform: scale(1.3);
    background: rgba(255,255,255,0.1);
}

/* ======================== ✨ VISUAL UPDATES ======================== */

/* Profile FAB "NEW" Badge */
#nick-fab-button {
    position: relative;
    overflow: visible;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(184, 140, 255, 0.4);
}

.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF0055;
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Background Image Update */
body {
    background: url('https://i.imgur.com/2z375ER.jpeg') no-repeat center center fixed !important;
    background-size: cover !important;
}

/* Adjust Classic Mode to NOT use the image if needed, or keep as requested */
body.classic-mode {
    background: #121212 !important;
    background-image: none !important;
}

/* Online List Interaction */
.online-user-item {
    cursor: pointer;
    transition: background 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}

.online-user-item:hover {
    background: rgba(255,255,255,0.1);
}

/* Edit Profile Modal */
.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.form-group label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: bold;
}

.rich-input {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.rich-editor {
    min-height: 120px;
    resize: none;
    overflow-y: auto;
    outline: none;
    white-space: pre-wrap;
    word-break: break-word;
}

.rich-editor:empty::before {
    content: attr(data-placeholder);
    color: rgba(255,255,255,0.35);
}

.bio-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.22);
}

.bio-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}

.bio-btn:hover {
    background: rgba(255,255,255,0.14);
}

.bio-select {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 12px;
}

.bio-color {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.25);
    cursor: pointer;
}

.bio-sep {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.12);
    margin: 0 2px;
}

.rich-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.bio-emoji-panel {
    margin-top: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(184, 140, 255, 0.4);
    background: radial-gradient(circle at top, rgba(46, 16, 101, 0.95), rgba(10, 5, 25, 0.98));
    max-height: 210px;
    overflow-y: auto;
    display: none;
}

.bio-emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bio-emoji-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.bio-emoji-btn:hover {
    background: rgba(184,140,255,0.18);
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(184,140,255,0.35);
}

        .lista {
            margin-top: 10px;
        }

        /* ESTILO DO BOTÃO DE MUTE POR PISO */
        .piso-mute-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--secondary-color);
            color: var(--primary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            opacity: 0.7;
            z-index: 10;
        }

        .piso-mute-btn:hover {
            opacity: 1;
            background: var(--secondary-color);
            color: var(--background-main);
        }

        .piso-mute-btn.is-muted {
            background: #ff6b6b;
            border: 1px solid #c85555;
            color: white;
            opacity: 1;
            box-shadow: 0 0 5px #ff6b6b;
        }

        /* ============================================================= */
        /* 🎯 PREMIUM BUTTON EFFECTS - Hover 3D + Neon Glow              */
        /* ============================================================= */

        /* BOTÕES GERAIS - Estilo premium base */
        button,
        .btn,
        [class*="btn"] {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* BOTÕES PRIMÁRIOS - Efeito 3D com neon */
        #btnRegistrar,
        #btnHoraAtual,
        #btnToggleHistory,
        .action-btn {
            background: linear-gradient(145deg, #8b5cf6, #7c3aed);
            border: 1px solid rgba(139, 92, 246, 0.5);
            border-radius: 10px;
            padding: 10px 20px;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 4px 15px rgba(139, 92, 246, 0.3),
                0 2px 5px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        /* Hover 3D com elevação e brilho */
        #btnRegistrar:hover,
        #btnHoraAtual:hover,
        #btnToggleHistory:hover,
        .action-btn:hover {
            transform: translateY(-3px) scale(1.02);
            background: linear-gradient(145deg, #a78bfa, #8b5cf6);
            border-color: rgba(167, 139, 250, 0.7);
            box-shadow:
                0 8px 25px rgba(139, 92, 246, 0.45),
                0 4px 10px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(139, 92, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        /* Click effect (active) */
        #btnRegistrar:active,
        #btnHoraAtual:active,
        #btnToggleHistory:active,
        .action-btn:active {
            transform: translateY(-1px) scale(0.98);
            box-shadow:
                0 2px 10px rgba(139, 92, 246, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.2);
        }

        /* BOTÕES SECUNDÁRIOS */
        .btn-secondary {
            background: linear-gradient(145deg, rgba(60, 60, 80, 0.8), rgba(40, 40, 60, 0.9));
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-secondary:hover {
            background: linear-gradient(145deg, rgba(80, 80, 100, 0.9), rgba(60, 60, 80, 0.95));
            transform: translateY(-2px);
            box-shadow:
                0 4px 15px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        /* BOTÃO VERDE (Sucesso) */
        .btn-success,
        #btnRegistrar {
            background: linear-gradient(145deg, #22c55e, #16a34a) !important;
            border: 1px solid rgba(34, 197, 94, 0.5) !important;
        }

        .btn-success:hover,
        #btnRegistrar:hover {
            background: linear-gradient(145deg, #4ade80, #22c55e) !important;
            box-shadow:
                0 8px 25px rgba(34, 197, 94, 0.4),
                0 0 20px rgba(34, 197, 94, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        }

        /* BOTÃO LARANJA (Warning) */
        #btnHoraAtual {
            background: linear-gradient(145deg, #f97316, #ea580c) !important;
            border: 1px solid rgba(249, 115, 22, 0.5) !important;
        }

        #btnHoraAtual:hover {
            background: linear-gradient(145deg, #fb923c, #f97316) !important;
            box-shadow:
                0 8px 25px rgba(249, 115, 22, 0.4),
                0 0 20px rgba(249, 115, 22, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        }

        /* ============================================================= */
        /* 🌟 PREMIUM VISUAL EFFECTS - BOSS ITEMS                         */
        /* Glassmorphism + Neon Glow Multicamada + Progress Bar           */
        /* ============================================================= */

        /* BOSS ITEMS - Glassmorphism com borda interna luminosa */
        #section-universal .boss-item,
        #section-comum .boss-item,
        #section-myrkheimr .boss-item {
            background: linear-gradient(145deg, rgba(25, 25, 45, 0.95) 0%, rgba(15, 15, 30, 0.9) 100%);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(217, 70, 239, 0.3);
            border-radius: 10px;
            padding: 12px 14px;
            margin-bottom: 8px;
            display: block;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Borda interna mais clara (pseudo-element) */
        #section-universal .boss-item::before,
        #section-comum .boss-item::before,
        #section-myrkheimr .boss-item::before {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: 9px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            pointer-events: none;
        }

        /* Hover com efeito 3D e glow intenso */
        #section-universal .boss-item:hover,
        #section-comum .boss-item:hover,
        #section-myrkheimr .boss-item:hover {
            background: linear-gradient(145deg, rgba(35, 35, 60, 0.98) 0%, rgba(25, 25, 45, 0.95) 100%);
            transform: translateY(-2px) translateX(2px);
            box-shadow:
                0 4px 15px rgba(217, 70, 239, 0.25),
                0 8px 30px rgba(168, 85, 247, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        /* Header do boss - Nome à esquerda, ícone à direita */
        #section-universal .boss-header,
        #section-comum .boss-header,
        #section-myrkheimr .boss-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin-bottom: 4px;
        }

        /* Nome do boss com leve brilho */
        #section-universal .boss-header span:first-child,
        #section-comum .boss-header span:first-child,
        #section-myrkheimr .boss-header span:first-child {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 13px;
            color: #e2e8f0;
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
        }

        /* TIMER - Grande, colorido com gradiente */
        #section-universal .time-left,
        #section-comum .time-left,
        #section-myrkheimr .time-left {
            font-family: 'Orbitron', 'Inter', monospace;
            font-weight: 700;
            font-size: 18px;
            display: block;
            margin-top: 4px;
            margin-bottom: 6px;
        }

        /* Timer Verde (safe) - Gradiente verde neon */
        #section-universal .boss-item.safe .time-left,
        #section-comum .boss-item.safe .time-left,
        #section-myrkheimr .boss-item.safe .time-left {
            background: linear-gradient(90deg, #22c55e, #4ade80);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
        }

        /* Timer Amarelo (warning) - Gradiente laranja/amarelo */
        #section-universal .boss-item.warning .time-left,
        #section-comum .boss-item.warning .time-left,
        #section-myrkheimr .boss-item.warning .time-left {
            background: linear-gradient(90deg, #f59e0b, #fbbf24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
        }

        /* Timer Vermelho (urgent) - Gradiente vermelho pulse */
        #section-universal .boss-item.urgent .time-left,
        #section-comum .boss-item.urgent .time-left,
        #section-myrkheimr .boss-item.urgent .time-left {
            background: linear-gradient(90deg, #ef4444, #f87171);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.7));
            animation: pulse-urgent 3s ease-in-out infinite;
            /* Desacelerado */
        }

        @keyframes pulse-urgent {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }
        }

        /* Timer padrão verde */
        #section-universal .time-left,
        #section-comum .time-left,
        #section-myrkheimr .time-left {
            color: #22c55e;
            text-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
        }

        /* ============================================================= */
        /* 📊 PROGRESS BAR - Barra de progresso sincronizada             */
        /* ============================================================= */
        #section-universal .boss-progress,
        #section-comum .boss-progress,
        #section-myrkheimr .boss-progress {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 6px;
        }

        #section-universal .boss-progress-bar,
        #section-comum .boss-progress-bar,
        #section-myrkheimr .boss-progress-bar {
            height: 100%;
            border-radius: 2px;
            transition: width 1s linear;
        }

        /* Progress Verde (safe) */
        #section-universal .boss-item.safe .boss-progress-bar,
        #section-comum .boss-item.safe .boss-progress-bar,
        #section-myrkheimr .boss-item.safe .boss-progress-bar {
            background: linear-gradient(90deg, #22c55e, #4ade80);
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
        }

        /* Progress Amarelo (warning) */
        #section-universal .boss-item.warning .boss-progress-bar,
        #section-comum .boss-item.warning .boss-progress-bar,
        #section-myrkheimr .boss-item.warning .boss-progress-bar {
            background: linear-gradient(90deg, #f59e0b, #fbbf24);
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
        }

        /* Progress Vermelho (urgent) */
        #section-universal .boss-item.urgent .boss-progress-bar,
        #section-comum .boss-item.urgent .boss-progress-bar,
        #section-myrkheimr .boss-item.urgent .boss-progress-bar {
            background: linear-gradient(90deg, #ef4444, #f87171);
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
            animation: progress-pulse 3s ease-in-out infinite;
            /* Desacelerado */
        }

        @keyframes progress-pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }
        }

        .boss-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-size: 15px;
            font-weight: bold;
        }

        .boss-details {
            display: none;
            margin-top: 10px;
            font-size: 13px;
            opacity: 0.9;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 8px;
        }

        .time-left {
            font-family: 'Inter', sans-serif;
            font-variant-numeric: tabular-nums;
            font-weight: 800;
            /* Extra Bold para leitura clara */
            color: #fff;
            letter-spacing: 0.5px;
            font-size: 15px;
            text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
            /* Melhora contraste */
        }

        .risk-badge {
            display: inline-block;
            margin-left: 8px;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.5px;
            border: 1px solid transparent;
        }

        .risk-badge.low {
            background: rgba(27, 59, 27, 0.6);
            color: #4caf50;
            border-color: #2e7d32;
        }

        .risk-badge.med {
            background: rgba(59, 54, 27, 0.6);
            color: #ffcc00;
            border-color: #b38f00;
        }

        .risk-badge.high {
            background: rgba(59, 27, 27, 0.6);
            color: #ff4444;
            border-color: #c62828;
            animation: glowPulse 1.5s ease-in-out infinite;
        }

        /* Botões de Ação na Lista (Excluir/Editar) */
        .boss-actions {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }

        .boss-actions button {
            padding: 6px 10px;
            border-radius: 8px;
            font-size: 12px;
            flex-grow: 1;
            cursor: pointer;
            border: none;
            font-weight: bold;
            transition: transform 0.2s;
        }

        .boss-actions button:hover {
            transform: scale(1.02);
            opacity: 0.9;
        }

        .delete-btn {
            background: #8b2e2e;
            color: white;
        }

        .edit-btn {
            background: var(--secondary-color);
            color: var(--text-primary);
        }

        .history-card {
            opacity: 0.7;
            background: var(--item-background);
            border: 1px solid var(--secondary-color);
        }

        .history-item .boss-header {
            cursor: default;
        }


        .color-preset.selected {
            border: 2px solid #fff;
            box-shadow: 0 0 12px currentColor;
        }

        /* SWITCH TOGGLE PARA FUNDO */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
            vertical-align: middle;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #555;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: var(--primary-color);
        }

        input:checked+.slider:before {
            transform: translateX(24px);
        }

        /* EFEITOS ANIMADOS PARA NICKS */
        .nick-effect-glow {
            animation: nickGlow 2s ease-in-out infinite;
        }

        .nick-effect-pulse {
            animation: nickPulse 1.5s ease-in-out infinite;
        }

        .nick-effect-rainbow {
            animation: nickRainbow 3s linear infinite;
            background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
            background-size: 400% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nick-effect-sparkle {
            animation: nickSparkle 0.8s ease-in-out infinite;
        }

        .nick-effect-shake {
            animation: nickShake 0.5s ease-in-out infinite;
        }

        .nick-effect-fire {
            animation: nickFire 0.8s ease-in-out infinite;
            text-shadow: 0 0 10px #ff4500, 0 0 20px #ff8c00, 0 0 30px #ff0000;
        }

        .nick-effect-glitch {
            animation: nickGlitch 0.4s steps(2, end) infinite;
        }

        .nick-effect-neon-flicker {
            animation: nickNeonFlicker 2s linear infinite;
        }

        .nick-effect-float {
            animation: nickFloat 3s ease-in-out infinite;
            display: inline-block;
        }

        .nick-effect-matrix {
            color: #00ff41 !important;
            text-shadow: 0 0 8px #00ff41, 0 0 15px #003b00;
            animation: nickMatrix 1.5s linear infinite;
        }

        .nick-effect-ghost {
            animation: nickGhost 4s ease-in-out infinite;
        }

        .nick-effect-chrome {
            background: linear-gradient(110deg, #a1a1a1 20%, #ffffff 40%, #ffffff 50%, #a1a1a1 70%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickChrome 3s linear infinite;
            filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
        }

        .nick-effect-vortex {
            animation: nickVortex 4s ease-in-out infinite;
            display: inline-block;
        }

        .nick-effect-shine {
            position: relative;
            overflow: hidden;
            background: linear-gradient(90deg, currentColor 0%, #fff 50%, currentColor 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickShine 2s linear infinite;
        }

        @keyframes nickGlow {

            0%,
            100% {
                text-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
            }

            50% {
                text-shadow: 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor;
            }
        }

        @keyframes nickPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.08);
                opacity: 0.85;
            }
        }

        @keyframes nickRainbow {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 400% 50%;
            }
        }

        @keyframes nickSparkle {

            0%,
            100% {
                opacity: 1;
                text-shadow: 0 0 5px currentColor;
            }

            25% {
                opacity: 0.7;
                text-shadow: 0 0 15px currentColor, 2px -2px 8px #fff;
            }

            50% {
                opacity: 1;
                text-shadow: 0 0 8px currentColor;
            }

            75% {
                opacity: 0.8;
                text-shadow: 0 0 15px currentColor, -2px 2px 8px #fff;
            }
        }

        @keyframes nickShake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-2px) rotate(-1deg);
            }

            75% {
                transform: translateX(2px) rotate(1deg);
            }
        }

        @keyframes nickFire {

            0%,
            100% {
                transform: scale(1) translateY(0);
                text-shadow: 0 -2px 10px #ff4500, 0 -4px 20px #ff8c00;
            }

            50% {
                transform: scale(1.02) translateY(-2px) rotate(0.5deg);
                text-shadow: 0 -4px 15px #ff4500, 0 -8px 30px #ff8c00, 0 -12px 40px #ff0000;
            }
        }

        @keyframes nickGlitch {
            0% {
                transform: translate(0);
                text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9;
                clip-path: inset(10% 0 30% 0);
            }

            20% {
                transform: translate(-1px, 1px);
                text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9;
                clip-path: inset(40% 0 10% 0);
            }

            40% {
                transform: translate(1px, -1px);
                clip-path: inset(20% 0 50% 0);
            }

            60% {
                transform: translate(-1px, -1px);
                text-shadow: 1px 0 #ff00c1, -1px 0 #00fff9;
                clip-path: inset(60% 0 10% 0);
            }

            80% {
                transform: translate(1px, 1px);
                clip-path: inset(10% 0 70% 0);
            }

            100% {
                transform: translate(0);
                text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9;
                clip-path: inset(0);
            }
        }

        @keyframes nickNeonFlicker {

            0%,
            18%,
            22%,
            25%,
            53%,
            57%,
            100% {
                text-shadow: 0 0 4px currentColor, 0 0 10px currentColor, 0 0 20px currentColor;
                opacity: 1;
            }

            20%,
            24%,
            55% {
                text-shadow: none;
                opacity: 0.5;
            }
        }

        @keyframes nickFloat {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-6px);
            }
        }

        @keyframes nickMatrix {

            0%,
            100% {
                text-shadow: 0 0 5px #00ff41;
            }

            50% {
                text-shadow: 0 0 15px #00ff41, 0 0 25px #00ff41;
                opacity: 0.8;
            }
        }

        @keyframes nickGhost {

            0%,
            100% {
                opacity: 0.2;
                filter: blur(4px);
                transform: scale(0.95);
            }

            50% {
                opacity: 1;
                filter: blur(0);
                transform: scale(1.05);
            }
        }

        @keyframes nickChrome {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 200% 50%;
            }
        }

        @keyframes nickVortex {
            0% {
                transform: rotate(0) scale(1);
                filter: hue-rotate(0deg);
            }

            50% {
                transform: rotate(2deg) scale(1.1) skew(2deg);
                filter: hue-rotate(45deg);
            }

            100% {
                transform: rotate(0) scale(1);
                filter: hue-rotate(0deg);
            }
        }

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

            100% {
                background-position: -200% center;
            }
        }

        /* ========== 🆕 NOVOS EFEITOS ESPECIAIS (12) ========== */

        .nick-effect-bounce {
            animation: nickBounce 1s ease-in-out infinite;
            display: inline-block;
        }

        .nick-effect-rotate {
            animation: nickRotate 3s linear infinite;
            display: inline-block;
        }

        .nick-effect-electric {
            animation: nickElectric 0.2s steps(4, end) infinite;
            text-shadow: 0 0 8px #00d9ff, 0 0 16px #00d9ff, 0 0 24px #00d9ff;
        }

        .nick-effect-cosmic {
            background: linear-gradient(45deg, #000428, #004e92, #000428);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickCosmic 4s ease-in-out infinite;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .nick-effect-hologram {
            animation: nickHologram 2s ease-in-out infinite;
            background: linear-gradient(180deg, transparent 40%, rgba(0, 255, 255, 0.3) 50%, transparent 60%);
            background-size: 100% 200%;
            -webkit-background-clip: text;
            background-clip: text;
        }

        .nick-effect-laser {
            animation: nickLaser 1.5s linear infinite;
            background: linear-gradient(90deg, red 0%, transparent 50%, transparent 100%);
            background-size: 300% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nick-effect-toxic {
            animation: nickToxic 2s ease-in-out infinite;
            text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #228b22;
            color: #39ff14 !important;
        }

        .nick-effect-frozen {
            animation: nickFrozen 3s ease-in-out infinite;
            text-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff, -2px -2px 4px rgba(255, 255, 255, 0.8);
            color: #b3e5fc !important;
        }

        .nick-effect-lava {
            background: linear-gradient(45deg, #ff4500, #ff8c00, #ff0000, #8b0000);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickLava 2s ease-in-out infinite;
        }

/* ======================== 💰 LOOT GALLERY (FEED STYLE) ======================== */
#loot-gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.loot-gallery-panel {
    background: var(--card-background);
    width: 95%;
    max-width: 600px; /* Width for a feed column */
    height: 90vh;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0; /* Remove padding to let header/footer touch edges */
}

.loot-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.loot-gallery-input-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.loot-gallery-input-area input {
    background: var(--input-background);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 8px;
}

.loot-gallery-input-area button {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a1a;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

#loot-gallery-feed {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Post Card Styles */
.loot-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.loot-card-header {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.loot-card-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #444;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}

.loot-card-info {
    display: flex;
    flex-direction: column;
}

.loot-card-author {
    font-weight: bold;
    color: #ffd700;
    font-size: 14px;
}

.loot-card-date {
    font-size: 11px;
    color: #888;
}

.loot-card-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: #000;
}

.loot-card-content {
    padding: 12px;
}

.loot-card-caption {
    font-size: 14px;
    color: #eee;
    margin-bottom: 10px;
}

.loot-card-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.loot-action-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    transition: color 0.2s;
}

.loot-action-btn:hover {
    color: #fff;
}

.loot-action-btn.liked {
    color: #ff4444;
}

/* Comments Section */
.loot-comments-section {
    background: rgba(0,0,0,0.2);
    padding: 10px 12px;
    display: none; /* Hidden by default */
}

.loot-comments-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loot-comment {
    font-size: 13px;
    color: #ccc;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 6px;
}

.loot-comment-author {
    font-weight: bold;
    color: #ffd700;
    margin-right: 5px;
}

.loot-comment-input-wrapper {
    display: flex;
    gap: 8px;
}

.loot-comment-input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.loot-comment-btn {
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-weight: bold;
}

        .nick-effect-pixelate {
            animation: nickPixelate 1s steps(10, end) infinite;
            filter: blur(0px);
        }

        .nick-effect-wave {
            animation: nickWave 2s ease-in-out infinite;
            display: inline-block;
        }

        .nick-effect-slide {
            animation: nickSlide 3s linear infinite;
            display: inline-block;
        }

        /* ========== 🔥 ANIMAÇÕES DOS NOVOS EFEITOS ========== */

        @keyframes nickBounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        @keyframes nickRotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes nickElectric {

            0%,
            100% {
                text-shadow: 0 0 8px #00d9ff, 2px 0 8px #00d9ff, -2px 0 8px #00d9ff;
                transform: translate(0);
            }

            25% {
                text-shadow: 0 0 16px #00d9ff, 4px 2px 12px #00d9ff;
                transform: translate(1px, -1px);
            }

            50% {
                text-shadow: 0 0 8px #00d9ff, -2px 0 8px #00d9ff;
                transform: translate(-1px, 1px);
            }

            75% {
                text-shadow: 0 0 12px #00d9ff, 3px -2px 10px #00d9ff;
                transform: translate(1px, 1px);
            }
        }

        @keyframes nickCosmic {

            0%,
            100% {
                background-position: 0% 50%;
                filter: brightness(1);
            }

            50% {
                background-position: 100% 50%;
                filter: brightness(1.3);
            }
        }

        @keyframes nickHologram {

            0%,
            100% {
                background-position: 0% 0%;
                opacity: 0.8;
            }

            50% {
                background-position: 0% 100%;
                opacity: 1;
            }
        }

        @keyframes nickLaser {
            0% {
                background-position: 300% 0%;
            }

            100% {
                background-position: -300% 0%;
            }
        }

        @keyframes nickToxic {

            0%,
            100% {
                text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
            }

            50% {
                text-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #228b22;
                filter: brightness(1.3);
            }
        }

        @keyframes nickFrozen {

            0%,
            100% {
                text-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff;
                filter: brightness(1);
            }

            50% {
                text-shadow: 0 0 16px #00ffff, 0 0 32px #00ffff, -4px -4px 8px rgba(255, 255, 255, 0.9);
                filter: brightness(1.5);
            }
        }

        @keyframes nickLava {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        @keyframes nickPixelate {

            0%,
            100% {
                filter: blur(0px);
                opacity: 1;
            }

            50% {
                filter: blur(1px);
                opacity: 0.8;
            }
        }

        @keyframes nickWave {

            0%,
            100% {
                transform: translateX(0) rotate(0deg);
            }

            25% {
                transform: translateX(-3px) rotate(-2deg);
            }

            75% {
                transform: translateX(3px) rotate(2deg);
            }
        }

        @keyframes nickSlide {
            0% {
                transform: translateX(-100%);
                opacity: 0;
            }

            10%,
            90% {
                transform: translateX(0);
                opacity: 1;
            }

            100% {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /*  ======================== 🎭 20 NOVOS EFEITOS DE NICK ======================== */

        /* 1. Cyber Glitch */
        @keyframes nickCyberGlitch {

            0%,
            100% {
                transform: translateX(0);
                filter: hue-rotate(0deg);
                clip-path: none;
            }

            20% {
                transform: translateX(-3px);
                filter: hue-rotate(90deg);
            }

            40% {
                transform: translateX(3px);
                clip-path: inset(0 0 50% 0);
            }

            60% {
                transform: translateX(-2px);
                clip-path: inset(50% 0 0 0);
            }

            80% {
                transform: translateX(2px);
                filter: hue-rotate(180deg);
            }
        }

        .nick-effect-cyber-glitch {
            animation: nickCyberGlitch 0.6s ease-in-out infinite;
            text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
        }

        /* 2. Void Pulse */
        @keyframes nickVoidPulse {

            0%,
            100% {
                color: #8B00FF;
                text-shadow: 0 0 10px #8B00FF, 0 0 20px #4B0082, 0 0 30px #4B0082;
                transform: scale(1);
            }

            50% {
                color: #4B0082;
                text-shadow: 0 0 20px #8B00FF, 0 0 40px #8B00FF, 0 0 60px #4B0082;
                transform: scale(1.05);
            }
        }

        .nick-effect-void-pulse {
            animation: nickVoidPulse 2s ease-in-out infinite;
            display: inline-block;
        }

        /* 3. Golden Aura */
        @keyframes nickGoldenAura {

            0%,
            100% {
                text-shadow: 0 0 10px #FFD700, 0 0 20px #FFA500, 0 0 30px #FF8C00;
            }

            50% {
                text-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500, 0 0 60px #FF8C00, 0 0 80px #FFD700;
            }
        }

        .nick-effect-golden-aura {
            animation: nickGoldenAura 2s ease-in-out infinite;
            color: #FFD700 !important;
            font-weight: bold;
        }

        /* 4. Blood Mist */
        @keyframes nickBloodMist {

            0%,
            100% {
                text-shadow: 0 0 8px #8B0000, 0 0 16px #DC143C, 2px 2px 4px rgba(139, 0, 0, 0.5);
                filter: blur(0px);
            }

            50% {
                text-shadow: 0 0 20px #8B0000, 0 0 40px #DC143C, 0 0 60px #8B0000;
                filter: blur(0.5px);
            }
        }

        .nick-effect-blood-mist {
            animation: nickBloodMist 2.5s ease-in-out infinite;
            color: #DC143C !important;
        }

        /* 5. Ice Shard */
        @keyframes nickIceShard {

            0%,
            100% {
                transform: rotate(0deg) scale(1);
                text-shadow: 0 0 10px #00CED1, 2px -2px 8px #87CEEB;
            }

            25% {
                transform: rotate(-2deg) scale(1.02);
                text-shadow: 0 0 15px #00CED1, -2px 2px 10px #87CEEB;
            }

            75% {
                transform: rotate(2deg) scale(0.98);
                text-shadow: 0 0 15px #00CED1, 2px 2px 10px #87CEEB;
            }
        }

        .nick-effect-ice-shard {
            animation: nickIceShard 2s ease-in-out infinite;
            color: #87CEEB !important;
            display: inline-block;
        }

        /* 6. Toxic Slime */
        @keyframes nickToxicSlime {

            0%,
            100% {
                text-shadow: 0 0 10px #39FF14, 0 0 20px #00FF00, 0 2px 8px rgba(57, 255, 20, 0.6);
                transform: translateY(0) skewX(0deg);
            }

            50% {
                text-shadow: 0 0 20px #39FF14, 0 0 40px #00FF00, 0 4px 12px rgba(57, 255, 20, 0.8);
                transform: translateY(2px) skewX(-2deg);
            }
        }

        .nick-effect-toxic-slime {
            animation: nickToxicSlime 1.8s ease-in-out infinite;
            color: #39FF14 !important;
            display: inline-block;
        }

        /* 7. Neon Heartbeat */
        @keyframes nickNeonHeartbeat {

            0%,
            100% {
                transform: scale(1);
                text-shadow: 0 0 10px #FF1493, 0 0 20px #FF69B4;
            }

            10%,
            30% {
                transform: scale(1.1);
                text-shadow: 0 0 20px #FF1493, 0 0 40px #FF69B4, 0 0 60px #FF1493;
            }

            20%,
            40% {
                transform: scale(1);
                text-shadow: 0 0 10px #FF1493, 0 0 20px #FF69B4;
            }
        }

        .nick-effect-neon-heartbeat {
            animation: nickNeonHeartbeat 1.5s ease-in-out infinite;
            color: #FF1493 !important;
            display: inline-block;
        }

        /* 8. Divine Shield */
        @keyframes nickDivineShield {

            0%,
            100% {
                text-shadow: 0 0 15px #FFFFFF, 0 0 30px #FFD700, 0 0 45px #FFF5E1;
                transform: rotateY(0deg);
            }

            50% {
                text-shadow: 0 0 30px #FFFFFF, 0 0 60px #FFD700, 0 0 90px #FFF5E1;
                transform: rotateY(180deg);
            }
        }

        .nick-effect-divine-shield {
            animation: nickDivineShield 3s linear infinite;
            color: #FFF5E1 !important;
            display: inline-block;
            transform-style: preserve-3d;
        }

        /* 9. Shadow Step */
        @keyframes nickShadowStep {

            0%,
            100% {
                opacity: 1;
                transform: translateX(0);
                text-shadow: 3px 3px 6px #000000;
            }

            25% {
                opacity: 0.3;
                transform: translateX(-10px);
                text-shadow: 5px 5px 10px #000000;
            }

            50% {
                opacity: 1;
                transform: translateX(0);
                text-shadow: 3px 3px 6px #000000;
            }

            75% {
                opacity: 0.3;
                transform: translateX(10px);
                text-shadow: 5px 5px 10px #000000;
            }
        }

        .nick-effect-shadow-step {
            animation: nickShadowStep 2s ease-in-out infinite;
            color: #696969 !important;
            display: inline-block;
        }

        /* 10. Plasma Wave */
        @keyframes nickPlasmaWave {
            0% {
                background-position: 0% 50%;
                filter: hue-rotate(0deg);
            }

            50% {
                background-position: 100% 50%;
                filter: hue-rotate(180deg);
            }

            100% {
                background-position: 0% 50%;
                filter: hue-rotate(360deg);
            }
        }

        .nick-effect-plasma-wave {
            background: linear-gradient(90deg, #FF00FF, #00FFFF, #FF00FF, #00FFFF);
            background-size: 300% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickPlasmaWave 3s linear infinite;
        }

        /* 11. Crystal Shimmer */
        @keyframes nickCrystalShimmer {

            0%,
            100% {
                text-shadow: 0 0 5px #E0FFFF, 2px 2px 10px #ADD8E6, -2px -2px 10px #87CEEB;
                transform: scale(1);
                filter: brightness(1);
            }

            50% {
                text-shadow: 0 0 15px #E0FFFF, 4px 4px 20px #ADD8E6, -4px -4px 20px #87CEEB;
                transform: scale(1.05);
                filter: brightness(1.5);
            }
        }

        .nick-effect-crystal-shimmer {
            animation: nickCrystalShimmer 2s ease-in-out infinite;
            color: #E0FFFF !important;
            display: inline-block;
        }

        /* 12. Inferno Burst */
        @keyframes nickInfernoBurst {

            0%,
            100% {
                text-shadow: 0 0 10px #FF4500, 0 0 20px #FF6347, 0 0 30px #FF0000;
                transform: scale(1);
            }

            50% {
                text-shadow: 0 0 30px #FF4500, 0 0 60px #FF6347, 0 0 90px #FF0000, 0 0 120px #8B0000;
                transform: scale(1.1);
            }
        }

        .nick-effect-inferno-burst {
            animation: nickInfernoBurst 1.5s ease-in-out infinite;
            color: #FF4500 !important;
            display: inline-block;
        }

        /* 13. Lightning Strike */
        @keyframes nickLightningStrike {

            0%,
            90%,
            100% {
                opacity: 1;
                text-shadow: 0 0 10px #FFFF00, 0 0 20px #FFD700;
                transform: translateY(0);
            }

            92%,
            96% {
                opacity: 0.5;
                text-shadow: 0 0 30px #FFFF00, 0 0 60px #FFD700, 0 0 90px #FFFFFF;
                transform: translateY(-2px);
            }

            94%,
            98% {
                opacity: 1;
                text-shadow: 0 0 40px #FFFF00, 0 0 80px #FFD700;
                transform: translateY(0);
            }
        }

        .nick-effect-lightning-strike {
            animation: nickLightningStrike 3s ease-in-out infinite;
            color: #FFFF00 !important;
            display: inline-block;
        }

        /* 14. Ocean Current */
        @keyframes nickOceanCurrent {

            0%,
            100% {
                transform: translateX(0) rotateZ(0deg);
                text-shadow: 0 0 10px #006994, 0 0 20px #0892D0;
            }

            25% {
                transform: translateX(-5px) rotateZ(-1deg);
                text-shadow: 0 0 15px #006994, 0 0 30px #0892D0;
            }

            75% {
                transform: translateX(5px) rotateZ(1deg);
                text-shadow: 0 0 15px #006994, 0 0 30px #0892D0;
            }
        }

        .nick-effect-ocean-current {
            animation: nickOceanCurrent 2.5s ease-in-out infinite;
            color: #0892D0 !important;
            display: inline-block;
        }

        /* 15. Starlight */
        @keyframes nickStarlight {

            0%,
            100% {
                text-shadow: 0 0 5px #FFFFFF, 0 0 10px #FFFACD, 0 0 15px #F0E68C;
                filter: brightness(1);
            }

            20%,
            60% {
                text-shadow: 0 0 15px #FFFFFF, 0 0 30px #FFFACD, 0 0 45px #F0E68C, 0 0 60px #FFD700;
                filter: brightness(1.5);
            }

            40%,
            80% {
                text-shadow: 0 0 5px #FFFFFF, 0 0 10px #FFFACD;
                filter: brightness(0.8);
            }
        }

        .nick-effect-starlight {
            animation: nickStarlight 2s ease-in-out infinite;
            color: #FFFACD !important;
        }

        /* 16. Nebula Swirl */
        @keyframes nickNebulaSwirl {
            0% {
                background-position: 0% 50%;
                filter: hue-rotate(0deg);
                transform: rotate(0deg);
            }

            50% {
                background-position: 100% 50%;
                filter: hue-rotate(180deg);
                transform: rotate(180deg);
            }

            100% {
                background-position: 0% 50%;
                filter: hue-rotate(360deg);
                transform: rotate(360deg);
            }
        }

        .nick-effect-nebula-swirl {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: nickNebulaSwirl 4s linear infinite;
            display: inline-block;
            transform-origin: center;
        }

        /* 17. Quantum Flux */
        @keyframes nickQuantumFlux {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
                filter: blur(0px);
            }

            25% {
                transform: translate(-3px, 2px) scale(0.98);
                opacity: 0.7;
                filter: blur(0.5px);
            }

            50% {
                transform: translate(3px, -2px) scale(1.02);
                opacity: 1;
                filter: blur(0px);
            }

            75% {
                transform: translate(-2px, -3px) scale(0.99);
                opacity: 0.8;
                filter: blur(0.3px);
            }
        }

        .nick-effect-quantum-flux {
            animation: nickQuantumFlux 1.5s ease-in-out infinite;
            text-shadow: 0 0 10px #00FFFF, 2px 2px 8px #FF00FF, -2px -2px 8px #FFFF00;
            display: inline-block;
        }

        /* 18. Dragon Breath */
        @keyframes nickDragonBreath {

            0%,
            100% {
                text-shadow: 0 0 10px #FF4500, 0 0 20px #DC143C, 0 0 30px #8B0000;
                transform: scale(1) skewX(0deg);
            }

            50% {
                text-shadow: 0 0 30px #FF4500, 0 0 60px #DC143C, 0 0 90px #8B0000, 0 0 120px #FF8C00;
                transform: scale(1.08) skewX(5deg);
            }
        }

        .nick-effect-dragon-breath {
            animation: nickDragonBreath 2s ease-in-out infinite;
            background: linear-gradient(45deg, #FF4500, #FF8C00, #DC143C);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        /* 19. Phoenix Rise */
        @keyframes nickPhoenixRise {
            0% {
                transform: translateY(10px) rotate(-5deg);
                opacity: 0.5;
                text-shadow: 0 0 5px #FFA500, 0 0 10px #FF4500;
            }

            50% {
                transform: translateY(-5px) rotate(2deg);
                opacity: 1;
                text-shadow: 0 0 20px #FFA500, 0 0 40px #FF4500, 0 0 60px #FFD700;
            }

            100% {
                transform: translateY(10px) rotate(-5deg);
                opacity: 0.5;
                text-shadow: 0 0 5px #FFA500, 0 0 10px #FF4500;
            }
        }

        .nick-effect-phoenix-rise {
            animation: nickPhoenixRise 2.5s ease-in-out infinite;
            color: #FFA500 !important;
            display: inline-block;
        }

        /* 20. Void Tear */
        @keyframes nickVoidTear {

            0%,
            100% {
                transform: scaleX(1) scaleY(1);
                text-shadow: 0 0 10px #000000, 0 0 20px #4B0082, 0 0 30px #8B00FF;
                filter: contrast(1);
            }

            50% {
                transform: scaleX(1.1) scaleY(0.9);
                text-shadow: 0 0 25px #000000, 0 0 50px #4B0082, 0 0 75px #8B00FF, 0 0 100px #000000;
                filter: contrast(1.5);
            }
        }

        .nick-effect-void-tear {
            animation: nickVoidTear 2s ease-in-out infinite;
            color: #8B00FF !important;
            display: inline-block;
            transform-origin: center;
        }


        /* ======================== 🖼️ ESTILO DE FUNDO ======================== */
        body {
            margin: 0;
            padding: 0;
            background-color: var(--background-main);
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://i.imgur.com/2z375ER.jpeg');
            background-size: cover;
            background-attachment: fixed;
            background-position: center center;
            background-repeat: no-repeat;
            color: var(--text-primary);
            font-family: "Inter", sans-serif;
            text-align: center;
            min-height: 100vh;
            animation: fadeIn 0.6s ease-out;
        }

        h1 {
            font-size: 34px;
            margin-top: 25px;
            color: var(--primary-color);
            text-shadow: 0 0 14px var(--primary-color);
        }

        .light-mode h1 {
            text-shadow: none;
        }

        .neon-sub {
            margin-top: -10px;
            margin-bottom: 20px;
            font-size: 15px;
            color: #a98fe0;
            opacity: 0.85;
            /* Destaque para a imagem de fundo */
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 2px var(--primary-color);
        }

        .light-mode .neon-sub {
            color: var(--primary-color);
            opacity: 0.9;
            text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
        }

        .container {
            width: 90%;
            max-width: 1300px;
            margin: auto;
            margin-top: 10px;
            background: var(--background-content);
            padding: clamp(10px, 2vw, 20px);
            border-radius: 18px;
            box-shadow: 0 0 20px var(--shadow-color);
            position: relative;
            animation: fadeInUp 0.9s ease-out 0.2s both;
        }

        @media (max-width: 768px) {
            .container {
                width: 95%;
                padding: 15px;
            }
        }

        /* ======================== TOAST NOTIFICATION ======================== */
        #toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1800;
            pointer-events: none;
            /* Permite cliques por baixo */
        }

        .toast {
            background: rgba(50, 200, 50, 0.85);
            /* Verde sucesso */
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: opacity 0.5s, transform 0.5s;
            transform: translateY(20px);
            font-size: 14px;
            font-weight: bold;
            pointer-events: auto;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast.error {
            background: rgba(200, 50, 50, 0.85);
            /* Vermelho erro */
        }

        /* ======================== 🎯 CHECK-IN SYSTEM STYLES ======================== */
        #checkin-container {
            position: fixed;
            top: 90px;
            right: 20px;
            max-width: 330px;
            /* Reduzido de 380px */
            width: calc(100% - 40px);
            max-height: 70vh;
            overflow-y: auto;
            z-index: 998;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        /* SCROLLBAR CUSTOMIZADA */
        #checkin-container::-webkit-scrollbar {
            width: 6px;
        }

        #checkin-container::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }

        #checkin-container::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
            opacity: 0.5;
        }

        /* CARD DE CHECK-IN */
        .checkin-card {
            background: rgba(18, 15, 28, 0.97);
            backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(184, 140, 255, 0.35);
            border-radius: 16px;
            padding: 18px;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(184, 140, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transition: all 0.3s ease;
            pointer-events: auto;
            position: relative;
            overflow: hidden;
        }

        /* SUPER EVIDÊNCIA - Pulsação forte para chamar atenção */
        .checkin-card.super-evident {
            animation: superEvidentPulse 1.5s ease-in-out infinite, slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(255, 215, 0, 0.9) !important;
            box-shadow:
                0 0 50px rgba(255, 215, 0, 0.6),
                0 0 100px rgba(255, 140, 0, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.7),
                inset 0 0 30px rgba(255, 215, 0, 0.15) !important;
        }

        @keyframes superEvidentPulse {

            0%,
            100% {
                transform: scale(1);
                filter: brightness(1);
            }

            50% {
                transform: scale(1.03);
                filter: brightness(1.3);
            }
        }

        /* ==================== 📊 MODO CLÁSSICO (REVISADO) ==================== */
body.classic-mode *:not([class^="nick-effect-"]) {
    animation: none !important;
    transition: none !important;
}

body.classic-mode .boss-card,
body.classic-mode .section-header,
body.classic-mode h1 {
    text-shadow: none !important;
    box-shadow: none !important;
}

body.classic-mode .boss-card {
    background: #2a2a2a !important; /* Cinza neutro */
    border: 1px solid #444 !important;
}

body.classic-mode h1,
body.classic-mode .section-header span {
    color: #ddd !important; /* Cinza claro */
    background: none !important;
    -webkit-text-fill-color: #ddd !important;
}

body.classic-mode {
    background: #121212 !important; /* Cinza bem escuro/preto neutro */
}

body.classic-mode::before {
    display: none !important;
}

body.classic-mode .checkin-card.super-evident {
    animation: none !important;
    border: 1px solid #666 !important;
    box-shadow: none !important;
    background: #2a2a2a !important;
}

        .checkin-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg,
                    transparent,
                    var(--primary-color),
                    var(--secondary-color),
                    transparent);
            animation: shimmer 2s linear infinite;
        }

        .checkin-card:hover {
            transform: translateX(-5px);
            border-color: rgba(184, 140, 255, 0.5);
            box-shadow:
                0 12px 40px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(184, 140, 255, 0.25);
        }

        /* HEADER DO CHECK-IN */
        .checkin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(184, 140, 255, 0.2);
        }

        .checkin-floor {
            font-weight: 700;
            font-size: 15px;
            color: var(--primary-color);
            text-shadow: 0 0 10px rgba(184, 140, 255, 0.5);
            letter-spacing: 0.5px;
        }

        .checkin-timer {
            font-size: 13px;
            color: var(--text-secondary);
            font-family: 'Consolas', 'Courier New', monospace;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.05);
            padding: 4px 10px;
            border-radius: 8px;
            border: 1px solid rgba(184, 140, 255, 0.2);
        }

        /* PROGRESS BAR */
        .checkin-progress {
            margin-bottom: 12px;
        }

        .checkin-count {
            font-size: 12px;
            color: var(--text-secondary);
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .checkin-progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(100, 100, 120, 0.3);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }




        /* ======================== ⚙️ BOTÕES DE TEMA E COR ======================== */

        /* CONTROLES DO TOPO DIREITO */
        #controls-top-right {
            position: fixed;
            top: 12px;
            right: 12px;
            display: flex;
            gap: 8px;
            z-index: 1500;
        }



        /* BOTÃO REDONDO DE TEMA E COR */
        #theme-toggle,
        #color-fab-button,
        #nick-fab-button,
        #admin-fab-button,
        #store-fab-button,
        #inventory-fab-button,
        #quests-fab-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--input-background);
            border: 1px solid var(--secondary-color);
            color: var(--primary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            cursor: pointer;
            transition: background 0.2s;
            box-shadow: 0 0 5px var(--primary-color);
            position: relative;
            /* Para o badge de notificação */
        }

        #theme-toggle:hover,
        #color-fab-button:hover,
        #nick-fab-button:hover,
        #admin-fab-button:hover,
        #store-fab-button:hover,
        #inventory-fab-button:hover,
        #quests-fab-button:hover {
            background: var(--secondary-color);
            color: var(--background-main);
        }

        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
            70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); }
        }

        .pulse-notification {
            animation: pulse 1.5s infinite;
            border-color: #ff4444 !important;
            color: #ff4444 !important;
        }

        /* Estilo do Botão de ADM */
        #admin-fab-button {
            background: #FFD700;
            color: #120F1C;
            border: 1px solid #c9b400;
            box-shadow: 0 0 8px #FFD700;
            display: none;
            order: -1;
        }


        /* LOGIN */
        #login-overlay {
            position: fixed;
            inset: 0;
            background: rgba(5, 5, 15, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
        }

        .light-mode #login-overlay {
            background: rgba(240, 240, 245, 0.95);
        }

        #login-box {
            background: var(--chat-background);
            border-radius: 12px;
            padding: 18px 20px;
            border: 1px solid var(--secondary-color);
            box-shadow: 0 12px 30px var(--shadow-color);
            max-width: 320px;
            width: 100%;
        }

        #login-box input {
            background: var(--input-background);
            color: var(--chat-text-color);
            border: 1px solid var(--secondary-color);
            border-radius: 6px;
            padding: 6px 8px;
            font-size: 13px;
            margin-bottom: 10px;
            /* Espaçamento entre inputs */
        }

        #login-error {
            color: #ff6b6b;
            font-size: 12px;
            margin-top: 6px;
            min-height: 16px;
        }

        /* ======================== AUTH TABS & FORMS ======================== */
        .auth-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .auth-tab {
            flex: 1;
            padding: 8px 12px;
            background: var(--input-background);
            border: 1px solid var(--secondary-color);
            border-radius: 6px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s;
            font-size: 13px;
            font-weight: 600;
        }

        .auth-tab.active {
            background: var(--secondary-color);
            color: var(--background-main);
            box-shadow: 0 0 10px var(--primary-color);
        }

        .auth-tab:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 10px var(--primary-color);
        }

        .auth-form {
            width: 100%;
        }

        .auth-form input {
            width: 100%;
            box-sizing: border-box;
            background: var(--input-background);
            color: var(--chat-text-color);
            border: 1px solid var(--secondary-color);
            border-radius: 6px;
            padding: 10px 12px;
            font-size: 14px;
            margin-bottom: 12px;
        }

        .auth-form input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 8px var(--primary-color);
        }

        .auth-form button {
            width: 100%;
            padding: 12px;
            background: var(--secondary-color);
            color: var(--background-main);
            border: none;
            border-radius: 6px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 5px;
        }

        .auth-form button:hover {
            background: var(--primary-color);
            box-shadow: 0 0 15px var(--primary-color);
            transform: translateY(-2px);
        }

        .auth-form button:active {
            transform: translateY(0);
        }

        .auth-link {
            display: block;
            text-align: center;
            margin-top: 12px;
            color: var(--primary-color);
            text-decoration: none;
            font-size: 12px;
            cursor: pointer;
        }

        .auth-link:hover {
            text-decoration: underline;
            color: var(--text-primary);
        }


        /* ONLINE (Painel Fixo Reposicionado) */
        #online-count-box {
            position: fixed;
            left: 16px;
            top: 16px;
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 10px 12px;
            border-radius: 12px;
            backdrop-filter: blur(4px);
            font-size: 13px;
            color: #ffffff;
            z-index: 1000;
            text-align: left;
            min-width: 160px;
            width: auto;
            max-width: 360px;
            max-height: 360px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        #online-count-box.collapsed {
            padding: 5px 14px;
            min-width: unset;
        }

        #online-count-box h3 {
            margin: 0;
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        #online-count {
            margin-left: 5px;
            font-weight: bold;
            color: var(--primary-color);
        }

        #collapse-icon {
            font-size: 16px;
            margin-left: 10px;
            transition: transform 0.3s ease;
        }

        #online-count-box.collapsed #collapse-icon {
            transform: rotate(-90deg);
        }

        /* Estilo para usuário AWAY */
        .user-away {
            opacity: 0.5;
            font-style: italic;
        }

        /* Estilo para usuário ADM */
        .user-admin-nick {
            font-weight: bold;
            color: #FFD700 !important;
            text-shadow: 0 0 5px #FFD700;
        }

        #online-list {
            margin-top: 6px;
            font-size: 12px;
            color: var(--text-secondary);
            /* Controlado por JS para recolher */
            overflow: hidden;
            max-height: 300px;
            transition: max-height 0.3s ease-in-out;
        }

        #online-count-box.collapsed #online-list {
            max-height: 0;
            margin-top: 0;
        }


        /* CONFIG PANEL (Cor + Opacidade) */
        #config-panel {
            position: fixed;
            right: 59px;
            top: 60px;
            background: var(--card-background);
            border: 1px solid var(--secondary-color);
            border-radius: 12px;
            padding: 15px;
            display: none;
            z-index: 1610;
            text-align: left;
            box-shadow: 0 0 15px var(--shadow-color);
            min-width: 250px;
        }

        /* OVERLAY GERAL */
        #modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            z-index: 1605;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        #modal-overlay.active {
            display: block;
            opacity: 1;
        }

        /* PAINEL DE PERSONALIZAÇÃO DE NICK (MODAL) */
        #nick-config-panel {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            background: var(--card-background);
            /* Fundo sólido necessário */
            border: 1px solid var(--secondary-color);
            border-radius: 16px;
            padding: 25px;
            display: none;
            z-index: 1610;
            text-align: left;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 10px var(--primary-color);
            width: 90%;
            max-width: 400px;
            max-height: 85vh;
            overflow-y: auto;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        /* Classe auxiliar para animação de entrada */
        #nick-config-panel.modal-open {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Estilo para o campo de emoji com botão */
        .emoji-input-group {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .emoji-input-group input {
            flex-grow: 1;
        }


        /* NOVO: PAINEL DE ADMIN (MODAL CENTRO) */
        #admin-panel {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            background: var(--chat-background);
            /* Mais escuro */
            border: 2px solid #FFD700;
            border-radius: 16px;
            padding: 25px;
            display: none;
            z-index: 1610;
            text-align: left;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 15px #FFD700;

            flex-wrap: wrap;
            gap: 20px;
            width: 95%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        /* Classe JS para exibir o painel ADM no modo flex */
        #admin-panel.is-visible {
            display: flex;
            /* Admin usa flex */
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Classe JS para exibir o painel ADM no modo flex */
        #admin-panel.is-visible {
            display: flex;
        }

        #admin-panel h4 {
            flex-basis: 100%;
            color: #FFD700;
            margin-top: 0;
            padding-bottom: 5px;
            border-bottom: 1px solid #FFD700;
        }

        .admin-section {
            padding-bottom: 10px;
            border-bottom: 1px dashed var(--secondary-color);
            /* Define largura para layout em 2 colunas */
            flex: 1 1 45%;
            min-width: 250px;
        }

        .admin-section:nth-child(2),
        .admin-section:nth-child(3) {
            border-bottom: 1px dashed var(--secondary-color);
        }

        .admin-section:last-child {
            border-bottom: none;
        }

        /* Reorganização de elementos no painel de ADM para caber */
        .admin-section:nth-child(2) {
            order: 2;
        }

        /* Gerenciar Sessões */
        .admin-section:nth-child(3) {
            order: 3;
        }

        /* Relatório de Marcação */
        .admin-section:nth-child(4) {
            order: 4;
        }

        /* Ações de Usuário */
        .admin-section:nth-child(5) {
            order: 5;
        }

        /* Segurança Global */

        .admin-section button {
            background: #8b2e2e;
            color: white;
            padding: 8px 12px;
            border-radius: 8px;
            margin-top: 5px;
        }

        .admin-section button.yellow {
            background: #ffcc00;
            color: #120F1C;
            font-weight: bold;
        }

        .admin-online-list {
            max-height: 200px;
            overflow-y: auto;
            padding: 5px;
            background: var(--input-background);
            border-radius: 6px;
        }

        .admin-online-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
            border-bottom: 1px dotted var(--secondary-color);
        }

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

        .admin-online-item button {
            margin-left: 5px;
            padding: 4px 8px;
            font-size: 11px;
        }


        #config-panel label,
        #nick-config-panel label,
        #admin-panel label {
            color: var(--text-secondary);
            display: block;
            margin-top: 10px;
        }

        #color-picker {
            width: 100%;
            height: 40px;
            border: none;
            padding: 0;
            background: transparent;
            cursor: pointer;
        }

        /* Estilos para a prévia do Nick */
        #nickPreview {
            margin-top: 10px;
            padding: 8px 10px;
            border-radius: 6px;
            border: 1px dashed var(--primary-color);
            font-size: 16px;
            text-align: center;
            color: var(--text-primary);
        }

        #nickConfigInput {
            margin-top: 10px;
        }

        /* CONTROLS (Input Bar) */
        .control-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        /* CORREÇÃO C: Seletor mais eficiente para inputs */
        .custom-control,
        select,
        input:not(#color-picker):not([type=range]),
        button:not(#theme-toggle):not(#color-fab-button):not(#nick-fab-button):not(#admin-fab-button):not(.loot-delete-btn):not(.chat-message-delete-btn),
        .emoji-picker-btn {
            background: var(--input-background);
            border: 1px solid var(--secondary-color);
            color: var(--chat-text-color);
            padding: 8px 14px;
            border-radius: 30px;
            font-size: 14px;
            box-shadow: 0 0 3px var(--secondary-color);
        }

        button:hover,
        .emoji-picker-btn:hover {
            cursor: pointer;
            background: rgba(120, 80, 200, 0.5);
        }

        .light-mode button:hover,
        .light-mode .emoji-picker-btn:hover {
            background: rgba(124, 84, 216, 0.2);
        }

        /* Estilo específico para input de texto (como os da barra de controle) */
        #inputKill,
        #loginNick,
        #loginPass,
        #chatInput,
        #nickConfigInput,
        #kickTargetNick,
        #newNickInput,
        #mentionTargetNick,
        #newPasswordInput {
            border-radius: 30px;
            /* Mantém o formato arredondado nos inputs de texto */
            padding: 8px 14px;
        }


        /* VOLUME SLIDER CSS */
        #volume-control {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            background: var(--input-background);
            border: 1px solid var(--secondary-color);
            border-radius: 30px;
        }

        #volume-control input[type=range] {
            -webkit-appearance: none;
            appearance: none;
            background: transparent;
            cursor: pointer;
            width: 80px;
            padding: 0;
            margin: 0;
        }

        #volume-control input[type=range]::-webkit-slider-runnable-track {
            background: var(--secondary-color);
            height: 4px;
            border-radius: 2px;
        }

        #volume-control input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            margin-top: -6px;
            background: var(--primary-color);
            height: 16px;
            width: 16px;
            border-radius: 50%;
            box-shadow: 0 0 5px var(--primary-color);
        }


        .section-title {
            margin-top: 45px;
            font-family: 'Orbitron', 'Inter', sans-serif;
            font-size: 24px;
            font-weight: 900;
            color: #ffffff;
            animation: rgbNeon 4s ease-in-out infinite;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            text-align: center;
        }

        .light-mode .section-title {
            text-shadow: none;
            color: #333;
            animation: none;
        }

        /* SEÇÕES COLAPSÁVEIS */
        .section-collapsible {
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: opacity 0.2s ease;
        }

        .section-collapsible:hover {
            opacity: 0.8;
        }

        .section-collapsible .collapse-icon {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .section-collapsible.collapsed .collapse-icon {
            transform: rotate(-90deg);
        }

        .section-content {
            overflow: hidden;
            max-height: 2000px;
            transition: max-height 0.4s ease-out, opacity 0.3s ease, margin 0.3s ease;
            opacity: 1;
        }

        .section-content.collapsed {
            max-height: 0;
            opacity: 0;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }

        /* HISTÓRICO DISCRETO */
        #history-section {
            transition: max-height 0.4s ease-out, opacity 0.3s ease, padding 0.3s ease;
            overflow: hidden;
        }

        #history-section.history-collapsed {
            max-height: 0;
            opacity: 0;
            padding: 0;
        }

        #history-section.history-visible {
            max-height: 2000px;
            opacity: 1;
        }

        #btnToggleHistory:hover {
            background: var(--secondary-color);
            color: var(--background-main);
        }

        .history-card {
            padding: 12px !important;
        }

        .history-card h3 {
            font-size: 14px;
            margin-bottom: 8px;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 22px;
            margin-top: 18px;
        }

        /* ======================== 🎮 LAYOUT HORIZONTAL FLEXBOX ======================== */
        /* Todos os cards em uma única linha, centralizados */
        #section-universal,
        #section-comum,
        #section-myrkheimr {
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: flex-start;
            gap: 14px;
            margin-top: 18px;
            padding: 0 20px;
        }

        /* Cards com largura fixa para caber em desktop */
        #section-universal .piso-card,
        #section-comum .piso-card,
        #section-myrkheimr .piso-card {
            flex: 0 0 auto;
            width: 180px;
            min-width: 180px;
        }

        /* Responsivo: em telas menores permite quebra de linha */
        @media (max-width: 1100px) {

            #section-universal,
            #section-comum,
            #section-myrkheimr {
                flex-wrap: wrap;
            }
        }

        /* Histórico também usa layout compacto */
        #history-grid-u,
        #history-grid-mc {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            margin-top: 18px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        #history-grid-u .history-card:nth-child(4) {
            grid-column: 1;
            margin-left: auto;
            max-width: 280px;
        }

        #history-grid-u .history-card:nth-child(5) {
            grid-column: 2;
            max-width: 280px;
        }

        #history-grid-mc .history-card:nth-child(4) {
            grid-column: 1;
            margin-left: auto;
            max-width: 280px;
        }

        #history-grid-mc .history-card:nth-child(5) {
            grid-column: 2;
            max-width: 280px;
        }

        /* ============================================================= */
        /* 🌟 PREMIUM PISO CARDS - Glassmorphism + Neon Multicamada       */
        /* ============================================================= */

        /* PISO CARDS - Glassmorphism Clean/Smart */
        #section-universal .piso-card,
        #section-comum .piso-card,
        #section-myrkheimr .piso-card {
            background: rgba(13, 13, 20, 0.75);
            /* Mais escuro e neutro */
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            /* Borda muito sutil */
            border-radius: 16px;
            padding: 16px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            /* Sombra suave, sem cor forte */
        }

        /* Borda interna luminosa (pseudo-element) */
        #section-universal .piso-card::before,
        #section-comum .piso-card::before,
        #section-myrkheimr .piso-card::before {
            content: '';
            position: absolute;
            inset: 2px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            pointer-events: none;
            background: linear-gradient(180deg,
                    rgba(255, 255, 255, 0.03) 0%,
                    transparent 50%);
        }

        /* Glow externo animado (pseudo-element) - REMOVIDO PARA CLEAN LOOK */
        #section-universal .piso-card::after,
        #section-comum .piso-card::after,
        #section-myrkheimr .piso-card::after {
            display: none;
        }

        /* Hover Clean - Leve brilho na borda */
        #section-universal .piso-card:hover,
        #section-comum .piso-card:hover,
        #section-myrkheimr .piso-card:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
            background: rgba(20, 20, 30, 0.85);
        }

        #section-universal .piso-card:hover::after,
        #section-comum .piso-card:hover::after,
        #section-myrkheimr .piso-card:hover::after {
            opacity: 0.8;
            filter: blur(12px);
        }

        /* Título do Piso - Premium com gradiente e brilho */
        #section-universal .piso-card h3,
        #section-comum .piso-card h3,
        #section-myrkheimr .piso-card h3 {
            font-family: 'Orbitron', 'Inter', sans-serif;
            font-size: 20px;
            font-weight: 700;
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #ffffff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
            margin-bottom: 4px;
            text-align: left;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* Garantir que badges dentro do h3 tenham cor visível */
        #section-universal .piso-card h3 span,
        #section-comum .piso-card h3 span,
        #section-myrkheimr .piso-card h3 span {
            -webkit-background-clip: padding-box !important;
            background-clip: padding-box !important;
            -webkit-text-fill-color: white !important;
            filter: none !important;
        }

        /* ROTAÇÃO - Laranja vibrante com gradiente */
        #section-universal .boss-rotation,
        #section-comum .boss-rotation {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 600;
            background: linear-gradient(90deg, #f97316, #fb923c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.5));
            margin-bottom: 12px;
            margin-top: 0;
        }

        /* Estilo geral da rotação */
        .boss-rotation {
            font-size: 14px;
            color: #ffcc00;
            margin-top: 8px;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
            min-height: 20px;
        }

        /* PISOS BLOQUEADOS (RESTRIÇÃO DE VISUALIZAÇÃO) */
        .piso-card.restricted {
            filter: blur(8px);
            pointer-events: none;
            user-select: none;
            position: relative;
        }

        .piso-card.restricted::after {
            content: '🔒 Acesso Restrito';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: #ff6b6b;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: bold;
            z-index: 100;
            filter: none;
            pointer-events: none;
        }

        /* ============================================================= */
        /* 🔄 CARDS OCULTOS ON-DEMAND (U5 e MYR3)                         */
        /* ============================================================= */

        /* Container do botão de toggle - MESMO TAMANHO DE UM CARD para manter layout */
        .hidden-card-toggle {
            flex: 0 0 auto;
            width: 180px;
            min-width: 180px;
            display: flex;
            align-items: stretch;
            justify-content: center;
        }

        /* Botão para expandir card oculto - ocupa espaço do card */
        .expand-hidden-btn {
            width: 100%;
            min-height: 120px;
            background: linear-gradient(145deg, rgba(30, 30, 50, 0.6), rgba(20, 20, 35, 0.8));
            border: 2px dashed rgba(184, 140, 255, 0.3);
            border-radius: 16px;
            padding: 20px 16px;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            opacity: 0.85;
            text-align: center;
        }

        .expand-hidden-btn::before {
            content: '➕';
            font-size: 28px;
            filter: grayscale(0.3);
            transition: all 0.3s ease;
        }

        .expand-hidden-btn:hover {
            background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(100, 70, 180, 0.25));
            border-color: var(--primary-color);
            border-style: solid;
            color: var(--text-primary);
            opacity: 1;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
        }

        .expand-hidden-btn:hover::before {
            filter: grayscale(0);
            transform: scale(1.1);
        }

        /* Botão para ocultar card expandido */
        .hide-card-btn {
            position: absolute;
            top: 10px;
            right: 40px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255, 100, 100, 0.2);
            border: 1px solid rgba(255, 100, 100, 0.5);
            color: #ff6b6b;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 11;
        }

        .hide-card-btn:hover {
            background: rgba(255, 100, 100, 0.6);
            color: #fff;
            transform: scale(1.1);
            box-shadow: 0 0 8px rgba(255, 100, 100, 0.5);
        }

        /* Estilo específico para o botão X de fechar */
        .hide-card-btn {
            padding: 0;
            line-height: 24px;
        }

        /* Badge de requisito alto (U5) */
        .high-req-badge {
            font-size: 10px;
            background: linear-gradient(135deg, #f97316, #ea580c) !important;
            -webkit-background-clip: padding-box !important;
            background-clip: padding-box !important;
            -webkit-text-fill-color: white !important;
            color: white !important;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 6px;
            font-weight: 600;
            vertical-align: middle;
            animation: pulse-badge 2s ease-in-out infinite;
            display: inline-block;
        }

        /* Badge de sob demanda (MYR3) */
        .on-demand-badge {
            font-size: 10px;
            background: linear-gradient(135deg, #22c55e, #16a34a) !important;
            -webkit-background-clip: padding-box !important;
            background-clip: padding-box !important;
            -webkit-text-fill-color: white !important;
            color: white !important;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 6px;
            font-weight: 600;
            vertical-align: middle;
            display: inline-block;
        }

        @keyframes pulse-badge {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }
        }

        /* Card oculto quando expandido */
        .hidden-card {
            animation: fadeInCard 0.3s ease-out;
        }

        @keyframes fadeInCard {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }


        /* CHECKBOXES ESTILIZADOS NO ADMIN */
        .checkbox-label {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            cursor: pointer;
            background: var(--input-background);
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid transparent;
            transition: border-color 0.2s;
        }

        .checkbox-label:hover {
            border-color: var(--secondary-color);
        }

        .checkbox-label input[type="checkbox"] {
            accent-color: var(--primary-color);
            cursor: pointer;
        }

        /* ESTILO DO BOTÃO DE MUTE POR PISO */
        .piso-mute-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--secondary-color);
            color: var(--primary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            opacity: 0.7;
            z-index: 10;
            /* Garante que o botão mute esteja acima de outros elementos do card */
        }

        .piso-mute-btn:hover {
            opacity: 1;
            background: var(--secondary-color);
            color: var(--background-main);
        }

        .piso-mute-btn.is-muted {
            background: #ff6b6b;
            /* Cor vermelha para indicar mute */
            border: 1px solid #c85555;
            color: white;
            opacity: 1;
            box-shadow: 0 0 5px #ff6b6b;
        }

        .piso-card .lista {
            margin-top: 10px;
        }

        /* BOSS CARD */
        .boss-item {
            background: var(--item-background);
            border: 1px solid var(--primary-color);
            border-radius: 12px;
            padding: 10px 15px;
            margin-bottom: 12px;
            box-shadow: 0 0 5px var(--primary-color);
            transition: box-shadow 0.2s ease;
            min-height: 42px;
            /* Altura mínima fixa para simetria */
            display: flex;
            align-items: center;
        }

        .boss-item:hover {
            box-shadow: 0 0 12px var(--primary-color);
        }

        .risk-badge {
            display: inline-block;
            margin-left: 8px;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.5px;
            border: 1px solid transparent;
        }

        .risk-badge.low {
            background: rgba(27, 59, 27, 0.6);
            color: #4caf50;
            border-color: #2e7d32;
        }

        .risk-badge.med {
            background: rgba(59, 54, 27, 0.6);
            color: #ffcc00;
            border-color: #b38f00;
        }

        .risk-badge.high {
            background: rgba(59, 27, 27, 0.6);
            color: #ff4444;
            border-color: #c62828;
            animation: glowPulse 1.5s ease-in-out infinite;
        }

        .risk-gauge {
            display: inline-flex;
            gap: 4px;
            align-items: center;
            margin-left: 8px;
        }

        .risk-seg {
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 6px;
            border: 1px solid var(--secondary-color);
            opacity: 0.5;
        }

        .risk-seg.low {
            background: rgba(27, 59, 27, 0.6);
            color: #4caf50;
            border-color: #2e7d32;
        }

        .risk-seg.med {
            background: rgba(59, 54, 27, 0.6);
            color: #ffcc00;
            border-color: #b38f00;
        }

        .risk-seg.high {
            background: rgba(59, 27, 27, 0.6);
            color: #ff4444;
            border-color: #c62828;
        }

        .risk-seg.active {
            opacity: 1;
            box-shadow: 0 0 8px var(--shadow-color);
        }

        .boss-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-size: 15px;
        }

        .boss-details {
            display: none;
            margin-top: 10px;
            font-size: 13px;
            opacity: 0.9;
        }

        /* Botões de Ação na Lista (Excluir/Editar) */
        .boss-actions {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }

        .boss-actions button {
            padding: 6px 10px;
            border-radius: 8px;
            font-size: 12px;
            flex-grow: 1;
        }

        .delete-btn {
            background: #8b2e2e;
            color: white;
        }

        .edit-btn {
            background: var(--secondary-color);
            color: var(--text-primary);
        }


        .history-card {
            opacity: 0.7;
            background: var(--item-background);
            border: 1px solid var(--secondary-color);
        }

        /* CHAT */
        /* Estilo para Menção */
        .chat-mention {
            background: rgba(255, 255, 0, 0.2);
            padding: 2px 4px;
            border-radius: 4px;
            box-shadow: 0 0 5px yellow;
            font-weight: bold;
        }

        #chatFab {
            position: fixed;
            right: 30px;
            bottom: 30px;
            width: 54px;
            height: 54px;
            background: linear-gradient(135deg, #B88CFF 0%, #6A42B2 100%);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0;
            color: white;
            cursor: pointer;
            z-index: 1600;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            box-shadow: 0 4px 20px rgba(184, 140, 255, 0.35);
        }

        #chatFab:hover {
            transform: scale(1.06);
            box-shadow: 0 8px 26px rgba(184, 140, 255, 0.6);
        }

        /* Animação de pulse quando há notificação */
        #chatFab.has-notification {
            animation: glowPulse 1.5s ease-in-out infinite;
        }

        .notification-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            min-width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #ff4444, #cc0000);
            border-radius: 10px;
            border: 2px solid var(--background-main, #120F1C);
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: bold;
            color: white;
            padding: 0 5px;
        }

        #chatWindow {
            position: fixed;
            right: 30px;
            bottom: 100px;
            width: 380px;
            height: 480px;
            background: rgba(18, 16, 28, 0.95);
            border: 1px solid rgba(184, 140, 255, 0.25);
            border-radius: 16px;
            padding: 0;
            display: none;
            flex-direction: column;
            z-index: 1600;
            backdrop-filter: blur(10px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(184, 140, 255, 0.1);
            overflow: hidden;
            will-change: transform, opacity;
            transform: translateY(0) scale(1);
            opacity: 1;
            box-sizing: border-box;
        }

        #chatWindow * {
            box-sizing: border-box;
        }

        .chat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            background: linear-gradient(135deg, rgba(184, 140, 255, 0.12), rgba(106, 66, 178, 0.08));
            border-bottom: 1px solid rgba(184, 140, 255, 0.12);
        }

        .chat-header-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-header-title {
            font-weight: 600;
            color: #E5D7FF;
            font-size: 14px;
        }

        .chat-header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .chat-header-actions #closeChat {
            cursor: pointer;
            font-size: 16px;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .chat-header-actions #closeChat:hover {
            opacity: 1;
        }

        .chat-header-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
        }

        .chat-header-btn:hover {
            background: rgba(184, 140, 255, 0.2);
            border-color: rgba(184, 140, 255, 0.4);
        }

        #chatMessages {
            flex: 1;
            overflow-y: auto;
            color: var(--chat-text-color);
            text-align: left;
            padding: 14px;
            gap: 10px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
            scrollbar-gutter: stable;
            overscroll-behavior: contain;
        }

        /* Estilos para inputs */
        .chat-input-row {
            display: flex;
            gap: 8px;
            align-items: center;
            padding: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(18, 16, 28, 0.95);
            position: relative;
            flex-wrap: nowrap;
        }

        /* Estilos e lógica de prints removidos */
        #chatInput {
            flex: 1;
            min-height: 36px;
            max-height: 100px;
            padding: 8px 14px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            color: var(--chat-text-color, #E5D7FF);
            font-size: 13px;
            resize: none;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            min-width: 0;
        }

        #chatInput:focus {
            border-color: rgba(184, 140, 255, 0.5);
            box-shadow: 0 0 0 3px rgba(184, 140, 255, 0.1);
        }

        .chat-message-wrapper {
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .chat-message-bubble {
            display: inline-block;
            max-width: 85%;
            padding: 8px 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
        }

        .chat-message-wrapper.my-message {
            align-items: flex-end;
        }

        .chat-message-wrapper.my-message .chat-message-bubble {
            background: rgba(139, 92, 246, 0.16);
            border-color: rgba(139, 92, 246, 0.3);
            border-bottom-right-radius: 4px;
        }

        .chat-message-wrapper.other-message .chat-message-bubble {
            border-bottom-left-radius: 4px;
        }

        .chat-msg-header {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 4px;
            flex-wrap: wrap;
        }

        .chat-msg-nick {
            font-weight: 600;
            font-size: 12px;
            color: var(--primary-color);
        }

        .chat-msg-time {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.4);
            font-family: 'Consolas', monospace;
        }

        .chat-msg-text {
            color: var(--chat-text-color, #E5D7FF);
            font-size: 15px;
            line-height: 1.5;
            word-wrap: break-word;
        }

        img.emoji {
            height: 1.4em;
            width: 1.4em;
            vertical-align: -0.3em;
        }

        .chat-message-delete-btn {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 20px;
            height: 20px;
            background: rgba(255, 68, 68, 0.2);
            border: none;
            border-radius: 50%;
            color: #ff4444;
            cursor: pointer;
            font-size: 10px;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .chat-message-bubble:hover .chat-message-delete-btn {
            display: flex;
        }

        .chat-message-delete-btn:hover {
            background: #ff4444;
            color: white;
        }

        .chat-image {
            max-width: 100%;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            cursor: zoom-in;
            display: block;
        }

        #imageViewer {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }

        #imageViewer .viewer-inner {
            position: relative;
            max-width: 92vw;
            max-height: 88vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #imageViewer img {
            max-width: 100%;
            max-height: 100%;
            transform-origin: center center;
            transition: transform 0.08s ease-out;
            cursor: grab;
        }

        #imageViewer .viewer-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            background: rgba(30, 25, 50, 0.9);
            padding: 10px 16px;
            border-radius: 30px;
            border: 1px solid rgba(184, 140, 255, 0.3);
        }

        #imageViewer .viewer-controls button {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.2s;
        }

        #imageViewer .viewer-controls button:hover {
            background: rgba(184, 140, 255, 0.3);
        }

        #chatUploadProgress {
            /* Componentes de upload removidos, mas mantemos o estilo de progresso se o JS os usar */
            color: #ffcc00;
            font-size: 12px;
            margin-top: 5px;
            align-self: flex-start;
            padding-left: 5px;
        }

        /* ======================== 😀 EMOJI PICKER ======================== */
        .emoji-btn {
            background: transparent;
            border: none;
            font-size: 18px;
            cursor: pointer;
            padding: 4px 6px;
            border-radius: 50%;
            transition: background 0.2s, transform 0.2s;
        }

        #btnSendChat {
            flex-shrink: 0;
        }

        @keyframes chatOpen {
            0% {
                opacity: 0;
                transform: translateY(14px) scale(0.98);
            }

            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes chatClose {
            0% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }

            100% {
                opacity: 0;
                transform: translateY(14px) scale(0.98);
            }
        }

        .emoji-btn:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }

        #emojiPicker {
            position: absolute;
            bottom: 55px;
            right: 10px;
            width: 280px;
            max-height: 250px;
            background: var(--chat-background);
            border: 1px solid var(--secondary-color);
            border-radius: 12px;
            padding: 10px;
            display: none;
            flex-direction: column;
            z-index: 1800;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        }

        #emojiPicker.visible {
            display: flex;
        }

        #chatImagePreview {
            display: none;
            margin-bottom: 10px;
            position: relative;
            max-width: 150px;
        }

        #chatImagePreview img {
            max-width: 100%;
            max-height: 100px;
            border-radius: 8px;
            border: 2px solid rgba(184, 140, 255, 0.4);
        }

        #chatImagePreview .remove-preview {
            position: absolute;
            top: -8px;
            right: -8px;
            width: 22px;
            height: 22px;
            background: #ff4444;
            border: 2px solid rgba(18, 16, 28, 0.9);
            border-radius: 50%;
            color: white;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #mentionSuggestions {
            position: absolute;
            bottom: 100%;
            left: 14px;
            right: 14px;
            background: rgba(30, 25, 50, 0.98);
            border: 1px solid rgba(184, 140, 255, 0.3);
            border-radius: 12px;
            max-height: 180px;
            overflow-y: auto;
            display: none;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
            z-index: 100;
            margin-bottom: 8px;
        }

        #mentionSuggestions.visible {
            display: block;
        }

        .mention-item {
            padding: 10px 14px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mention-item:hover,
        .mention-item.selected {
            background: rgba(184, 140, 255, 0.15);
        }

        .emoji-categories {
            display: flex;
            gap: 5px;
            margin-bottom: 8px;
            border-bottom: 1px solid var(--secondary-color);
            padding-bottom: 8px;
        }

        .emoji-category-btn {
            background: transparent;
            border: none;
            font-size: 18px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background 0.2s;
        }

        .emoji-category-btn:hover,
        .emoji-category-btn.active {
            background: var(--secondary-color);
        }

        .emoji-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
            overflow-y: auto;
            max-height: 180px;
        }

        .emoji-item {
            font-size: 22px;
            cursor: pointer;
            padding: 5px;
            border-radius: 6px;
            text-align: center;
            transition: background 0.2s, transform 0.15s;
        }

        .emoji-item:hover {
            background: var(--secondary-color);
            transform: scale(1.2);
        }

        /* Emoji Badge Selector in Nick Panel */
        .emoji-badge-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 4px;
            margin-top: 8px;
            max-height: 100px;
            overflow-y: auto;
        }

        .emoji-badge-item {
            font-size: 18px;
            cursor: pointer;
            padding: 4px;
            border-radius: 6px;
            text-align: center;
            border: 2px solid transparent;
            transition: border-color 0.2s, transform 0.15s;
        }

        .emoji-badge-item:hover {
            background: var(--secondary-color);
        }

        .emoji-badge-item.selected {
            border-color: var(--primary-color);
            box-shadow: 0 0 8px var(--primary-color);
        }

        /* MAP WINDOW (Redimensionável e Movível) */
        #mapWindow {
            position: fixed;
            top: 150px;
            left: 50%;
            width: 450px;
            height: auto;
            background: var(--chat-background);
            border: 1px solid var(--secondary-color);
            border-radius: 18px;
            padding: 15px;
            display: none;
            flex-direction: column;
            z-index: 1700;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            touch-action: none;
            user-select: none;
        }

        #mapWindow .map-header {
            cursor: move;
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-weight: bold;
            color: var(--primary-color);
            padding-bottom: 5px;
            border-bottom: 1px solid var(--secondary-color);
        }

        #mapWindow .map-content {
            flex-grow: 1;
            overflow: hidden;
        }

        #mapWindow img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
        }

        /* Estilo para a barra de edição ativa */
        .editing-active {
            border: 2px solid #ffcc00;
            /* Neon amarelo */
            box-shadow: 0 0 15px #ffcc00;
        }

        /* ======================== 📑 PAINÉIS LATERAIS (NOTES E MANUAL) ======================== */
        /* Posicionamento dos botões (junto com o chatFab) */

        /* Botão de loot/notes removido, deixando só o manual */
        #manual-fab {
            position: fixed;
            right: 30px;
            bottom: 100px;
            /* Posicionado acima do chat */
            width: 45px;
            height: 45px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            color: white;
            cursor: pointer;
            z-index: 1600;
            box-shadow: 0 0 10px var(--secondary-color);
        }

        /* Estilo do badge de notificação removido (sem patch notes) */
        .fab-badge {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 10px;
            height: 10px;
            background: #ffcc00;
            /* Amarelo para destacar novidade */
            border-radius: 50%;
            border: 2px solid var(--background-main);
            display: none;
        }


        /* Estilo da Janela Lateral */
        .info-window {
            position: fixed;
            right: 95px;
            /* Perto dos botões */
            bottom: 100px;
            /* Alinhado com a janela do chat */
            width: 330px;
            height: 420px;
            background: var(--chat-background);
            border: 1px solid var(--primary-color);
            border-radius: 18px;
            padding: 15px;
            display: none;
            flex-direction: column;
            z-index: 1600;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            text-align: left;
            overflow-y: auto;
            color: var(--chat-text-color);
        }

        /* Pop-up de Aviso */
        #warning-popup {
            position: fixed;
            inset: 0;
            background: rgba(5, 5, 15, 0.95);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 3000;
        }

        #warning-box {
            background: #250d4f;
            border: 2px solid #ffcc00;
            border-radius: 15px;
            padding: 30px;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
        }

        #warning-box h4 {
            color: #ffcc00;
        }


        .info-window h4 {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 8px;
            border-bottom: 1px solid var(--secondary-color);
            padding-bottom: 5px;
        }








        /* HIDE PALETTE/THEME BUTTONS */
        /* HIDE PALETTE/THEME BUTTONS (SAFE CSS) */
        #theme-toggle,
        #color-fab-button,
        .color-preset {
            display: none !important;
        }

        /* O botão de usuário (nick) PERMANECE VISÍVEL */
        #nick-fab-button {
            display: inline-block !important;
            /* ou block/flex */
        }

        /* ======================== 🕯️ MIRKGANG NORMAL LAYOUT (REWORKED) ======================== */

        /* Container Principal - Grid Ajustado */
        #section-myrkheimr {
            display: grid;
            grid-template-columns: repeat(3, minmax(270px, 1fr));
            gap: 18px;
            max-width: 1100px;
            margin: 0 auto;
            width: 100%;
            padding: 10px 20px;
            box-sizing: border-box;
        }

        /* Toggle Button do Canal 3 */
        #section-myrkheimr .hidden-card-toggle {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 0;
            height: 100%;
        }

        #section-myrkheimr .expand-hidden-btn {
            background: rgba(var(--card-background-rgba), 0.7);
            border: 1px dashed var(--secondary-color);
            color: var(--text-secondary);
            font-size: 14px;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        #section-myrkheimr .expand-hidden-btn:hover {
            background: rgba(var(--card-background-rgba), 0.9);
            color: var(--primary-color);
            border-style: solid;
        }

        /* Cards principais (Canal 1, 2 e 3) - TAMANHO NORMAL */
        #section-myrkheimr .piso-card {
            /* Resetando overrides anteriores */
            flex: unset;
            max-width: unset;
            min-width: unset;
            width: auto;
            overflow: visible;

            background: var(--card-background);
            border: 1px solid var(--secondary-color);
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            position: relative;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        #section-myrkheimr .piso-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        }

        /* Mantendo as cores das bordas superiores */
        #MYR1 {
            border-top: 3px solid #00f3ff !important;
        }

        #MYR2 {
            border-top: 3px solid #ff0cf5 !important;
        }

        #MYR3 {
            border-top: 3px solid #bc13fe !important;
        }

        /* TÍTULO DO CANAL */
        #section-myrkheimr .piso-card h3 {
            font-family: 'Orbitron', 'Inter', sans-serif;
            font-size: 18px;
            /* Maior que o compact */
            color: var(--text-primary);
            margin-bottom: 15px;
            margin-top: 0;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-weight: 700;
            letter-spacing: 1px;
        }

        /* ROTAÇÃO */
        #section-myrkheimr .boss-rotation {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            color: #fb923c;
            background: rgba(0, 0, 0, 0.2);
            padding: 8px;
            border-radius: 6px;
            margin-bottom: 12px;
            text-align: center;
            line-height: 1.4;
        }

        /* Boss Item - Normal */
        #section-myrkheimr .boss-item {
            display: flex !important;
            justify-content: space-between;
            align-items: flex-start !important;
            flex-wrap: wrap;
            padding: 8px 10px !important;
            margin-bottom: 6px !important;
            font-size: 14px;
            gap: 10px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 6px;
        }

        /* Nome do Boss */
        #section-myrkheimr .boss-header {
            display: flex !important;
            align-items: center;
            gap: 8px;
            flex: 1 1 auto;
        }

        #section-myrkheimr .boss-details {
            display: none;
            width: 100%;
            margin-top: 6px;
            line-height: 1.45;
        }

        #section-myrkheimr .boss-header span:first-child {
            font-family: 'Inter', sans-serif;
            font-size: 14px !important;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Timer */
        #section-myrkheimr .time-left {
            font-family: 'Orbitron', monospace;
            font-size: 14px !important;
            text-align: right;
            color: var(--text-primary);
            font-weight: bold;
        }

        /* Badge de Risco */
        #section-myrkheimr .risk-badge {
            font-size: 10px !important;
            padding: 2px 6px !important;
            border-radius: 4px !important;
            height: fit-content;
        }

        #section-myrkheimr .boss-item.warning .risk-badge {
            background: rgba(255, 165, 0, 0.15) !important;
            color: #ffa500 !important;
            border-color: rgba(255, 165, 0, 0.3) !important;
        }

        #section-myrkheimr .boss-item.urgent .risk-badge {
            background: rgba(255, 41, 41, 0.15) !important;
            color: #ff4444 !important;
            border-color: rgba(255, 41, 41, 0.3) !important;
            animation: pulseSoft 2s infinite !important;
        }

        @keyframes pulseSoft {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }

            100% {
                opacity: 1;
            }
        }

        /* REMOVE TUDO QUE ERA EXTRA (Scanlines, brilhos excessivos) */
        #section-myrkheimr .piso-card::after,
        #section-myrkheimr .piso-card::before {
            display: none !important;
        }


        /* Adjust for mobile/tablet */
        /* RAG - Media Queries conflitantes removidas para permitir o wrap nativo do Flexbox */

        /* Tablets e telas médias (até 1024px) */
        @media (max-width: 1024px) {
            #section-myrkheimr {
                grid-template-columns: repeat(2, minmax(260px, 1fr));
            }

            h1 {
                font-size: 28px;
            }

            #online-count-box {
                font-size: 12px;
                min-width: 140px;
            }
        }

        /* Tablets pequenos (até 768px) */
        @media (max-width: 768px) {
            #section-myrkheimr {
                grid-template-columns: 1fr;
            }

            h1 {
                font-size: 24px;
                margin-top: 15px;
            }

            .neon-sub {
                font-size: 13px;
            }

            .section-title {
                font-size: 18px;
                margin-top: 30px;
            }

            #controls-top-right {
                gap: 6px;
                top: 8px;
                right: 8px;
            }

            #theme-toggle,
            #color-fab-button,
            #nick-fab-button,
            #admin-fab-button,
            #install-app-button {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }

            #chatWindow,
            .info-window {
                width: calc(100vw - 40px);
                right: 20px;
                bottom: 90px;
            }

            #chatFab,
            #manual-fab {
                width: 50px;
                height: 50px;
                font-size: 22px;
                right: 20px;
            }

            #manual-fab {
                bottom: 80px;
            }

            .piso-card {
                padding: 14px;
            }

            .control-bar {
                flex-wrap: wrap;
                gap: 8px !important;
            }

            .custom-control {
                min-width: calc(50% - 4px);
                flex: 1 1 calc(50% - 4px);
            }

            #btnMap {
                flex: 1 1 100%;
            }
        }

        /* Celulares (até 480px) */
        @media (max-width: 480px) {
            .grid-4 {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            h1 {
                font-size: 20px;
            }

            .container {
                width: 98%;
                padding: 12px;
                border-radius: 12px;
            }

            #controls-top-right {
                flex-wrap: wrap;
                gap: 4px;
            }

            #theme-toggle,
            #color-fab-button,
            #nick-fab-button,
            #admin-fab-button,
            #install-app-button {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }

            #online-count-box {
                font-size: 11px;
                padding: 6px 10px;
                min-width: 120px;
            }

            .custom-control {
                min-width: 100%;
                flex: 1 1 100%;
            }

            #chatWindow {
                width: calc(100vw - 20px);
                height: calc(100vh - 120px);
                right: 10px;
                bottom: 70px;
            }

            .piso-card {
                padding: 12px;
            }

            .boss-item {
                padding: 8px 12px;
            }

            #nick-config-panel,
            #admin-panel {
                width: 95%;
                max-width: 95%;
                padding: 18px;
            }

            #config-panel {
                right: 10px;
                top: 50px;
                width: calc(100vw - 40px);
            }
        }

        /* Modo paisagem em celulares */
        @media (max-height: 500px) and (orientation: landscape) {
            h1 {
                font-size: 18px;
                margin-top: 10px;
            }

            .neon-sub {
                display: none;
            }

            .container {
                margin-top: 5px;
            }

            #chatWindow {
                height: calc(100vh - 80px);
            }
        }

        /* MELHORIAS MOBILE - Prevenção de toques acidentais */
        @media (max-width: 768px) {

            /* Botões maiores e mais espaçados para evitar toques acidentais */
            .delete-btn,
            .edit-btn {
                min-width: 44px;
                min-height: 44px;
                padding: 10px 14px !important;
                margin: 4px !important;
                font-size: 12px !important;
            }

            /* Botão de delete com mais destaque e afastado */
            .delete-btn {
                margin-left: 10px !important;
            }

            /* Area de toque maior para cards */
            .boss-item {
                padding: 14px !important;
                margin: 8px 0 !important;
            }

            /* Botão registrar maior */
            #btnRegistrar {
                min-height: 48px;
                font-size: 16px !important;
            }

            /* Inputs maiores para toque */
            input,
            select {
                min-height: 44px;
                font-size: 16px !important;
            }

            /* Painel admin mais espaçado */
            .admin-section {
                padding: 15px !important;
            }

            .admin-section button {
                min-height: 44px;
                margin: 6px 0 !important;
            }

            /* Próximo boss mais visível */
            #next-rotation-bar {
                padding: 20px 10px !important;
            }

            #next-rotation-info {
                font-size: 16px !important;
            }

            /* Chat input maior */
            #chatInput {
                min-height: 44px;
                font-size: 16px !important;
            }

            /* Previne zoom acidental em inputs no iOS */
            input[type="text"],
            input[type="password"],
            select,
            textarea {
                font-size: 16px !important;
            }
        }

        /* Celulares pequenos - layout mais compacto */
        @media (max-width: 380px) {
            h1 {
                font-size: 16px !important;
            }

            .neon-sub {
                font-size: 10px !important;
            }

            #next-rotation-info {
                font-size: 14px !important;
            }

            .piso-card h3 {
                font-size: 14px !important;
            }
        }
        @keyframes rgbNeon {
            0% {
                text-shadow:
                    0 0 10px #ff0080,
                    0 0 20px #ff0080,
                    0 0 30px #ff0080,
                    0 0 40px #ff0080;
            }

            25% {
                text-shadow:
                    0 0 10px #00ff00,
                    0 0 20px #00ff00,
                    0 0 30px #00ff00,
                    0 0 40px #00ff00;
            }

            50% {
                text-shadow:
                    0 0 10px #00ffff,
                    0 0 20px #00ffff,
                    0 0 30px #00ffff,
                    0 0 40px #00ffff;
            }

            75% {
                text-shadow:
                    0 0 10px #ff00ff,
                    0 0 20px #ff00ff,
                    0 0 30px #ff00ff,
                    0 0 40px #ff00ff;
            }

            100% {
                text-shadow:
                    0 0 10px #ff0080,
                    0 0 20px #ff0080,
                    0 0 30px #ff0080,
                    0 0 40px #ff0080;
            }
        }

        /* REMOVING CENTRAL PANEL BACKGROUND AS REQUESTED */
        .container,
        .control-bar,
        .section-content {
            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            border: none !important;
        }

        /* Garantir que inputs e botões mantenham visibilidade se necessário */
        .control-bar {
            padding: 10px 0 !important;
        }

        body:not(.classic-mode) #boss-title {
            animation: rgbNeon 6s linear infinite;
            font-family: 'Orbitron', 'Inter', sans-serif;
        }

        body:not(.classic-mode) .neon-sub {
            background: none;
            color: #ffffff;
            padding: 0;
            border: none;
            display: inline-block;
            text-shadow:
                -1px -1px 0 #000,
                1px -1px 0 #000,
                -1px 1px 0 #000,
                1px 1px 0 #000,
                0 0 6px rgba(255, 255, 255, 0.6),
                0 0 12px var(--primary-color);
        }

        body:not(.classic-mode) h2.section-title[data-section="universal"] {
            color: #3aa9ff;
            animation: none;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }

        body:not(.classic-mode) h2.section-title[data-section="comum"] {
            color: #ff8c3a;
            animation: none;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }

        body:not(.classic-mode) h2.section-title[data-section="myrkheimr"] {
            color: #a93aff;
            animation: none;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }

        .online-pill {
            background: rgba(0, 0, 0, 0.6);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            backdrop-filter: blur(4px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
            z-index: 1000;
            overflow: hidden;
            min-width: 160px;
            will-change: backdrop-filter;
            transition: backdrop-filter 0.25s ease, box-shadow 0.25s ease;
        }

        .online-pill-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            cursor: pointer;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .online-pill-title {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .online-dot {
            width: 8px;
            height: 8px;
            background: #2ecc71;
            border-radius: 50%;
            box-shadow: 0 0 8px #2ecc71;
        }

        #online-list {
            max-height: 0;
            overflow: auto;
            padding: 0 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease;
        }

        .online-pill.expanded #online-list {
            max-height: 260px;
            opacity: 1;
            padding: 10px 12px;
        }

        .online-pill.expanded {
            backdrop-filter: blur(6px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
        }

        .online-caret {
            font-size: 14px;
            opacity: 0.8;
            transition: transform 0.2s ease;
        }

        .online-pill.expanded .online-caret {
            transform: rotate(180deg);
        }
        /* DEFINIÇÃO DA ANIMAÇÃO NEON PULSE */
        @keyframes neonPulse {

            0%,
            100% {
                box-shadow: 0 0 5px rgba(217, 70, 239, 0.2);
                border-color: rgba(217, 70, 239, 0.3);
            }

            50% {
                box-shadow: 0 0 12px rgba(217, 70, 239, 0.4);
                border-color: rgba(217, 70, 239, 0.6);
            }
        }

        /* CONFIGURAÇÃO DE OPACIDADE E FUNDO MAIS SÓLIDO */
        :root {
            --card-bg-robust: linear-gradient(145deg, rgba(15, 12, 30, 0.98) 0%, rgba(8, 5, 15, 0.99) 100%);
            --content-opacity: 1;
            /* Força opacidade total */
        }

        /* APLICAÇÃO NOS CARDS DE BOSS */
        .boss-item {
            background: var(--card-bg-robust) !important;
            backdrop-filter: blur(5px) !important;
            /* Blur leve mantido */
            border: 1px solid rgba(217, 70, 239, 0.3);
            border-radius: 12px;
            opacity: 0.98 !important;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: neonPulse 3s infinite ease-in-out;
            color: #fff !important;
            /* Garante contrate */
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        }

        .boss-item:hover {
            transform: translateY(-5px) scale(1.02);
            z-index: 100;
            animation: none;
            /* Pausa pulso e fixa brilho no hover */
            box-shadow: 0 0 30px rgba(217, 70, 239, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
            border-color: #d946ef;
        }

        /* APLICAÇÃO NA BARRA DE CONTROLE E ELEMENTOS INTERNOS */
        /* APLICAÇÃO NA BARRA DE CONTROLE E ELEMENTOS INTERNOS */
        .control-bar {
            background: transparent !important;
            backdrop-filter: none;
            border-bottom: none !important;
            box-shadow: none;
            padding: 10px 0 !important;
        }

        /* SELECTS E INPUTS */
        .control-bar select,
        .control-bar input,
        #inputKill {
            background: rgba(20, 15, 40, 0.95) !important;
            border: 1px solid rgba(217, 70, 239, 0.3) !important;
            color: #fff !important;
            box-shadow: 0 0 5px rgba(217, 70, 239, 0.1);
            transition: all 0.3s ease;
            opacity: 0.98 !important;
            font-weight: 600;
        }

        .control-bar select:focus,
        .control-bar input:focus {
            box-shadow: 0 0 25px rgba(217, 70, 239, 0.6) !important;
            border-color: #d946ef !important;
            animation: none;
        }

        /* BOTÕES PRINCIPAIS */
        #btnRegistrar,
        #btnHoraAtual,

        .custom-control,
        .repo-btn {
            background: linear-gradient(to bottom, rgba(50, 20, 80, 0.9), rgba(30, 10, 50, 0.95)) !important;
            border: 1px solid rgba(217, 70, 239, 0.5) !important;
            color: #fff !important;
            font-weight: bold;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            box-shadow: 0 0 15px rgba(217, 70, 239, 0.2);
            animation: neonPulse 3s infinite ease-in-out;
            opacity: 1 !important;
        }

        #btnRegistrar:hover,
        #btnHoraAtual:hover {
            background: #d946ef !important;
            color: #000 !important;
            box-shadow: 0 0 40px rgba(217, 70, 239, 0.8) !important;
            animation: none;
        }

        /* BOTÕES TOPO DIREITO */
        #controls-top-right button,
        .theme-btn,
        .discord-btn,
        .config-btn,
        .admin-btn {
            background: rgba(30, 20, 50, 0.9) !important;
            border: 1px solid rgba(217, 70, 239, 0.4) !important;
            box-shadow: 0 0 10px rgba(217, 70, 239, 0.2);
            animation: neonPulse 5s infinite ease-in-out;
            opacity: 1 !important;
        }

        /* Ajuste de Texto para Contraste */
        .time-left,
        .boss-header span {
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(217, 70, 239, 0.5);
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Global Soft Dark Blue/Petrol Aesthetics overrides */
        body {
            --primary-color: #d946ef;
            /* Magenta Neon */
            --secondary-color: #a21caf;
            /* Purple Darker */
            --text-primary: #ffffff;
        }


/* ==================== MERGED STYLES ==================== */

/* ==================== 🎨 NEW RPG PROFILE CUSTOMIZATION (ADDED) ==================== */
#profile-custom-modal {
    display: none; /* Initially hidden */
}

.rpg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.rpg-modal-content {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    width: 90%;
    max-width: 900px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    animation: profileSlideIn 0.3s ease-out;
}

.rpg-modal-header {
    background: #151515;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rpg-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
}

.rpg-close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.rpg-close-btn:hover {
    color: #fff;
}

/* ==================== 📑 TABS ==================== */
.rpg-tabs {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #151515;
    border-bottom: 1px solid #333;
}

.rpg-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #888;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.rpg-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.rpg-tab.active {
    background: #252525;
    border-color: #333;
    color: #FFD700;
}

/* ==================== ✨ NICK EFFECTS ==================== */
.effect-glow {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
    animation: glowPulse 2s infinite alternate;
}

.effect-pulse {
    animation: pulseText 1.5s infinite;
}

.effect-rainbow {
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: rainbowMove 5s linear infinite;
    background-size: 500% 100%;
}

.effect-sparkle {
    position: relative;
    display: inline-block;
}
.effect-sparkle::after {
    content: '✨';
    position: absolute;
    font-size: 0.5em;
    top: -5px;
    right: -5px;
    animation: sparkleAnim 1s infinite alternate;
}

.effect-fire {
    color: #ff4500 !important;
    text-shadow: 0 0 4px #ff0000, 0 -5px 4px #ff8800, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -25px 18px #f20;
    animation: fireFlicker 0.1s infinite alternate;
}

.effect-glitch {
    position: relative;
    display: inline-block;
    animation: glitchSkew 1s infinite linear alternate-reverse;
}
.effect-glitch::before, .effect-glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.effect-glitch::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitchAnim 2s infinite linear alternate-reverse;
}
.effect-glitch::after {
    color: #00fff9;
    z-index: -2;
    animation: glitchAnim 3s infinite linear alternate-reverse;
}

.effect-neon-flicker {
    color: #fff;
    text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff, 0 0 40px #0fa, 0 0 80px #0fa, 0 0 90px #0fa, 0 0 100px #0fa, 0 0 150px #0fa;
    animation: neonFlicker 1.5s infinite alternate;
}

.effect-matrix {
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0;
    font-family: 'Courier New', monospace;
}

.effect-ghost {
    animation: ghostFloat 3s infinite;
    opacity: 0.8;
    filter: blur(0.5px);
}

.effect-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.effect-float {
    animation: float 3s ease-in-out infinite;
}

.effect-ice-shard {
    color: #a5f2f3 !important;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0ff;
    animation: iceGlint 3s infinite;
}

.effect-toxic-slime {
    color: #ccff00 !important;
    text-shadow: 0 0 5px #0f0, 2px 2px 0px #000;
    animation: slimeDrip 2s infinite;
}

.effect-neon-heartbeat {
    color: #ff0055 !important;
    animation: neonHeartbeat 1.5s ease-in-out infinite;
}

.effect-divine-shield {
    color: #ffd700 !important;
    text-shadow: 0 0 5px #fff, 0 0 15px #ffd700, 0 0 25px #ffd700;
    animation: divineShine 3s infinite;
}

.effect-shadow-step {
    color: #333 !important;
    text-shadow: 2px 2px 4px #000;
    animation: shadowFade 2s infinite alternate;
}

.effect-plasma-wave {
    background: linear-gradient(90deg, #f0f, #0ff, #f0f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: plasmaFlow 2s linear infinite;
}

.effect-crystal-shimmer {
    background: linear-gradient(135deg, #e6e6e6 0%, #ffffff 50%, #e6e6e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: 0 0 2px rgba(255,255,255,0.5);
    animation: crystalShine 3s infinite;
}

.effect-inferno-burst {
    color: #ff2200 !important;
    text-shadow: 0 0 10px #ff4500, 0 0 20px #ff0000;
    animation: infernoPulse 0.5s infinite alternate;
}

.effect-lightning-strike {
    color: #e0ffff !important;
    text-shadow: 0 0 10px #00ffff;
    animation: lightningFlash 3s infinite;
}

.effect-ocean-current {
    background: linear-gradient(180deg, #006994, #003366);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: oceanWave 4s infinite ease-in-out;
}

.effect-starlight {
    color: #fff !important;
    text-shadow: 0 0 4px #fff, 0 0 8px #fff;
    animation: starlightTwinkle 2s infinite;
}

.effect-nebula-swirl {
    background: linear-gradient(45deg, #ff00cc, #333399, #00ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: nebulaMove 6s infinite linear;
    background-size: 300% 300%;
}

.effect-quantum-flux {
    color: #00ff00 !important;
    animation: quantumFlicker 0.2s infinite;
}

.effect-dragon-breath {
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: dragonBreath 3s infinite alternate;
}

.effect-phoenix-rise {
    color: #ff4500 !important;
    text-shadow: 0 -2px 5px #ff8c00, 0 -4px 10px #ff0000;
    animation: phoenixFloat 2s infinite ease-in-out;
}

.effect-void-tear {
    color: #000 !important;
    text-shadow: 0 0 5px #4b0082;
    animation: voidPulse 3s infinite;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

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

@keyframes iceGlint {
    0% { text-shadow: 0 0 5px #fff; }
    50% { text-shadow: 0 0 20px #0ff, 0 0 30px #fff; }
    100% { text-shadow: 0 0 5px #fff; }
}

@keyframes slimeDrip {
    0%, 100% { color: #ccff00; text-shadow: 0 0 5px #0f0; }
    50% { color: #99cc00; text-shadow: 0 3px 8px #0f0; }
}

@keyframes neonHeartbeat {
    0% { transform: scale(1); text-shadow: 0 0 10px #ff0055; }
    10% { transform: scale(1.1); text-shadow: 0 0 20px #ff0055; }
    20% { transform: scale(1); text-shadow: 0 0 10px #ff0055; }
    30% { transform: scale(1.1); text-shadow: 0 0 20px #ff0055; }
    40% { transform: scale(1); text-shadow: 0 0 10px #ff0055; }
    100% { transform: scale(1); text-shadow: 0 0 10px #ff0055; }
}

@keyframes divineShine {
    0% { opacity: 0.8; text-shadow: 0 0 5px #fff; }
    50% { opacity: 1; text-shadow: 0 0 20px #ffd700, 0 0 30px #fff; }
    100% { opacity: 0.8; text-shadow: 0 0 5px #fff; }
}

@keyframes shadowFade {
    0% { opacity: 1; filter: blur(0px); }
    100% { opacity: 0.7; filter: blur(1px); }
}

@keyframes plasmaFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes crystalShine {
    0% { filter: brightness(100%); }
    50% { filter: brightness(150%); }
    100% { filter: brightness(100%); }
}

@keyframes infernoPulse {
    0% { text-shadow: 0 0 10px #ff4500; }
    100% { text-shadow: 0 0 25px #ff0000, 0 0 5px #ffff00; }
}

@keyframes lightningFlash {
    0%, 90% { opacity: 1; text-shadow: 0 0 10px #00ffff; }
    92% { opacity: 0.5; text-shadow: none; }
    94% { opacity: 1; text-shadow: 0 0 20px #fff; }
    96% { opacity: 0.5; text-shadow: none; }
    100% { opacity: 1; text-shadow: 0 0 10px #00ffff; }
}

@keyframes oceanWave {
    0% { transform: translateY(0); color: #006994; }
    50% { transform: translateY(2px); color: #003366; }
    100% { transform: translateY(0); color: #006994; }
}

@keyframes starlightTwinkle {
    0%, 100% { opacity: 1; text-shadow: 0 0 4px #fff; }
    50% { opacity: 0.7; text-shadow: 0 0 10px #fff, 0 0 2px #aaa; }
}

@keyframes nebulaMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes quantumFlicker {
    0% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(1px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes dragonBreath {
    0% { text-shadow: 0 0 5px #ff0000; }
    100% { text-shadow: 0 0 15px #ff7f00, 0 -5px 10px #ffff00; }
}

@keyframes phoenixFloat {
    0% { transform: translateY(0); text-shadow: 0 -2px 5px #ff8c00; }
    50% { transform: translateY(-3px); text-shadow: 0 -5px 10px #ff0000; }
    100% { transform: translateY(0); text-shadow: 0 -2px 5px #ff8c00; }
}

@keyframes voidPulse {
    0% { text-shadow: 0 0 5px #4b0082; }
    50% { text-shadow: 0 0 15px #000, 0 0 5px #800080; }
    100% { text-shadow: 0 0 5px #4b0082; }
}

/* Animations */
@keyframes rainbowMove { 
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}
@keyframes pulseText {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes sparkleAnim {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1.2); }
}
@keyframes fireFlicker {
    0% { text-shadow: 0 0 4px #ff0000, 0 -5px 4px #ff8800, 2px -10px 6px #fd3; }
    100% { text-shadow: 0 0 4px #ff0000, 0 -5px 4px #ff8800, 2px -10px 6px #fd3, -2px -15px 11px #f80; }
}
@keyframes glitchSkew {
    0% { transform: skew(0deg); }
    20% { transform: skew(-2deg); }
    40% { transform: skew(2deg); }
    60% { transform: skew(-1deg); }
    80% { transform: skew(1deg); }
    100% { transform: skew(0deg); }
}
@keyframes glitchAnim {
    0% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(80% 0 10% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(20% 0 60% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(60% 0 30% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(10% 0 80% 0); transform: translate(2px, -2px); }
}
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff, 0 0 40px #0fa, 0 0 80px #0fa, 0 0 90px #0fa, 0 0 100px #0fa, 0 0 150px #0fa;
    }
    20%, 24%, 55% {        
        text-shadow: none;
    }    
}
@keyframes ghostFloat {
    0% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-5px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 0.8; }
}

/* ==========================================================================
   DISCORD-LIKE PROFILE EDIT MODAL & ADMIN STYLES (Restored)
   ========================================================================== */
.pc-container {
    display: flex;
    height: 100%;
    background: #313338;
    color: #dbdee1;
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.pc-sidebar {
    width: 230px;
    background: #2b2d31;
    display: flex;
    flex-direction: column;
    padding: 60px 6px 60px 20px;
    flex-shrink: 0;
}

.pc-sidebar h2 {
    font-size: 12px;
    font-weight: 700;
    color: #949ba4;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-left: 10px;
}

.pc-tab-btn {
    text-align: left;
    background: transparent;
    border: none;
    color: #b5bac1;
    padding: 6px 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.1s, color 0.1s;
}

.pc-tab-btn:hover {
    background: rgba(78, 80, 88, 0.3);
    color: #dbdee1;
}

.pc-tab-btn.active {
    background: rgba(78, 80, 88, 0.6);
    color: #fff;
}

.pc-content {
    flex: 1;
    padding: 60px 40px;
    overflow-y: auto;
    background: #313338;
}

.pc-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #f2f3f5;
    margin-bottom: 20px;
}

.pc-preview-area {
    margin-bottom: 30px;
}

.pc-preview-card {
    width: 300px;
    background: #111214;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

.pc-preview-banner {
    height: 60px;
    background-color: #5865f2;
    background-size: cover;
    background-position: center;
}

.pc-preview-avatar-container {
    position: absolute;
    top: 40px;
    left: 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #111214;
    background: #313338;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pc-preview-avatar {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.pc-preview-info {
    padding: 50px 16px 16px 16px;
    background: #111214;
}

.pc-preview-nick {
    font-size: 20px;
    font-weight: 600;
    color: #f2f3f5;
    line-height: 1.2;
}

.pc-preview-username {
    font-size: 14px;
    color: #b5bac1;
    margin-top: 2px;
}

.pc-preview-badges {
    margin-top: 10px;
    display: flex;
    gap: 4px;
}

.pc-preview-badge {
    background: #232428;
    border-radius: 4px;
    padding: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pc-form-group {
    margin-bottom: 24px;
}

.pc-label {
    display: block;
    color: #b5bac1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pc-input {
    width: 100%;
    background: #1e1f22;
    border: none;
    border-radius: 3px;
    padding: 10px;
    color: #dbdee1;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.pc-input:focus {
    background: #1e1f22;
}

.pc-color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-color-preview {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #2b2d31;
    cursor: pointer;
}

.pc-save-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111214;
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.pc-save-bar.visible {
    transform: translateY(0);
}

.pc-btn {
    padding: 10px 24px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.pc-btn-primary {
    background: #248046;
    color: white;
}

.pc-btn-primary:hover {
    background: #1a6334;
}

.pc-btn-secondary {
    background: transparent;
    color: #fff;
}

.pc-btn-secondary:hover {
    text-decoration: underline;
}

.pc-effect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.pc-effect-item {
    background: #2b2d31;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.pc-effect-item:hover {
    background: #404249;
}

.pc-effect-item.active {
    border-color: #5865f2;
    background: #404249;
}

.pc-effect-preview {
    font-size: 20px;
    margin-bottom: 5px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-effect-name {
    font-size: 10px;
    color: #949ba4;
    font-weight: 600;
}

.pc-modal {
    max-width: 800px;
    height: 600px;
    border-radius: 5px;
    padding: 0;
    overflow: hidden;
    background: #313338;
}

.pc-header {
    display: none;
}

.pc-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    color: #b5bac1;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pc-close:hover {
    color: #dbdee1;
}

.pc-close::after {
    content: "ESC";
    font-size: 10px;
    font-weight: 700;
}

.rpg-tabs.pc-tabs {
    display: none;
}

.rpg-modal-overlay {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}
