
       
        :root {
            --bg-body: #0b0e11; --bg-card: #161a1e; --bg-header: #181a20;
            --bg-input: #2b3139; --border: #353a42; --text-main: #eaecef; --text-sub: #848e9c;
            --brand: #00F0FF; --brand-glow: rgba(0, 240, 255, 0.3);
            --accent-yellow: #F0B90B; --accent-green: #0ECB81; --accent-red: #F6465D;
            --purple: #9945FF;
            --font-main: 'Be Vietnam Pro', sans-serif; --font-num: 'Rajdhani', sans-serif;
        }
        body { background-color: var(--bg-body); color: var(--text-main); font-family: var(--font-main); font-size: 13px; display: flex; flex-direction: column; min-height: 100vh; }
        ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--bg-body); } ::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
        .font-num { font-family: var(--font-num); font-weight: 700; letter-spacing: 0.5px; }
        .text-brand { color: var(--brand) !important; text-shadow: 0 0 10px var(--brand-glow); }
        .text-gold { color: var(--accent-yellow) !important; } .text-green { color: var(--accent-green) !important; } .text-red { color: var(--accent-red) !important; }

        .navbar { background: var(--bg-header); border-bottom: 1px solid var(--border); padding: 12px 0; position: sticky; top: 0; z-index: 1000; }
        .brand-logo { font-family: var(--font-num); font-weight: 800; font-size: 1.6rem; color: var(--text-main); text-decoration: none; cursor:pointer; display: flex; align-items: center; gap: 4px; }
        .brand-logo span { color: var(--brand); }

        .btn-icon { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-sub); background: var(--bg-input); transition: all 0.2s ease-in-out; cursor: pointer; position: relative; }
        .btn-icon:hover { color: #fff; border-color: #fff; background: #333; box-shadow: 0 0 15px 2px rgba(255,255,255,0.6); transform: scale(1.1); z-index: 10; }

        .stat-box { background: linear-gradient(145deg, var(--bg-card), #080808); border: 1px solid var(--border); border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: space-between; height: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
        .stat-val { font-size: 2rem; font-weight: 700; font-family: var(--font-num); line-height: 1; }

       
        .arsenal-section { margin-bottom: 25px; }
        .arsenal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 10px;
        }
        .arsenal-card {
            background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            height: 50px;
        }
        .arsenal-card:hover {
            transform: translateY(-2px);
            border-color: var(--brand);
            background: rgba(0, 240, 255, 0.05);
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
        }
       
        .ex-logo {
            width: 24px; height: 24px;
            object-fit: contain;
            transition: 0.3s;
            flex-shrink: 0;
            filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
        }
       
        .arsenal-card:hover .ex-logo {
            transform: scale(1.15);
            filter: brightness(1.2) drop-shadow(0 0 5px var(--brand));
        }


        .ex-info { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; overflow: hidden; }
        .ex-name {
            font-family: var(--font-num);
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--text-main);
            white-space: nowrap;
        }
        .ex-bonus {
            font-size: 0.55rem;
            color: var(--accent-yellow);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

       
        .balance-badge { background: rgba(14, 203, 129, 0.15); border: 1px solid var(--accent-green); color: var(--accent-green); font-family: var(--font-num); font-weight: 700; padding: 5px 12px; border-radius: 20px; display: flex; align-items: center; gap: 5px; font-size: 0.9rem; margin-right: 10px; }
        .rule-list { list-style: none; padding: 0; }
        .rule-list li { margin-bottom: 10px; padding-left: 20px; position: relative; color: #ddd; font-size: 0.9rem; }
        .rule-list li::before { content: '►'; position: absolute; left: 0; color: var(--brand); font-size: 0.7rem; top: 4px; }
        .admin-settle-box { background: rgba(246, 70, 93, 0.1); border: 1px dashed var(--accent-red); padding: 15px; border-radius: 8px; margin-top: 20px; width: 100%; }

       
        .hero-banner { background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, rgba(11, 14, 17, 0) 100%); border-bottom: 1px solid var(--border); padding: 40px 0 20px 0; margin-bottom: 30px; text-align: center; }
        .hero-title { font-family: var(--font-main); font-weight: 900; font-size: 2.2rem; letter-spacing: 1px; color: #fff; text-shadow: 0 0 20px rgba(0,240,255,0.3); margin-bottom: 10px; text-transform: uppercase; }
        .hero-sub { color: var(--text-sub); font-size: 1rem; max-width: 600px; margin: 0 auto; }
        .sort-select { background: var(--bg-input); border: 1px solid var(--border); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; cursor: pointer; outline: none; transition: 0.3s; }
        .sort-select:hover, .sort-select:focus { border-color: var(--brand); box-shadow: 0 0 10px rgba(0,240,255,0.3); }

       
        .tour-card {
            background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: relative;
            display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.2); cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            transform-origin: center center;
            z-index: 1;
            height: 100%;
        }


        .tour-card:hover { transform: translateY(-3px); border-color: #666; box-shadow: 0 8px 25px rgba(0,0,0,0.5); }

       
        
       
        #card-backdrop {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
            z-index: 9998; display: none; opacity: 0; transition: opacity 0.3s ease;
        }
        #card-backdrop.show { display: block; opacity: 1; }

       
        .tour-card.active-card {
           
            box-shadow: 
                0 25px 50px -12px rgba(0, 0, 0, 1), 
                0 0 0 1px rgba(0, 240, 255, 0.2) !important;
                
            border-color: rgba(0, 240, 255, 0.3) !important;
            background: #161a1e !important;
            overflow-y: auto !important; cursor: default !important;
        }

       
       
        .tour-card.ended-card.active-card {
            opacity: 1 !important;    
            filter: none !important;  
            border-color: #444 !important;
        }

        

       
        .tour-card-placeholder {
            visibility: hidden; border: 1px dashed #333; border-radius: 10px; height: 100%; width: 100%;
        }

       
        .tour-card {
            display: flex; flex-direction: column; height: 100%;
        }
        .card-list { flex: 1; }
        .card-actions {
            margin-top: auto;
            display: grid; grid-template-columns: 1fr;
            border-top: 1px solid var(--border); padding: 0;
        }
        .btn-card-action.predict { margin-bottom: 0 !important; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; }

       
        body.has-active-card .tour-card:not(.active-card) { opacity: 0; pointer-events: none; }
        
       
.tour-card.ended-card { 
    opacity: 1 !important;      
    filter: none !important;    
    border-color: var(--border);
}


        
       
        .tour-card.highlight-x4 { border: 1px solid rgba(240, 185, 11, 0.8); box-shadow: 0 0 15px rgba(240, 185, 11, 0.15); }
        .tour-card.highlight-x2 { border: 1px solid rgba(14, 203, 129, 0.8); box-shadow: 0 0 15px rgba(14, 203, 129, 0.15); }

        .card-head { padding: 10px 15px; background: linear-gradient(to bottom, #20252b, #161a1e); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: relative; }
        .token-info-wrapper { display: flex; align-items: center; gap: 10px; }
        .token-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #333; background: #000; transition: transform 0.2s, border-color 0.2s; cursor: pointer; }
        .token-logo:hover { transform: scale(1.15); border-color: var(--brand); box-shadow: 0 0 10px var(--brand); }
        .token-title { font-family: var(--font-num); font-weight: 800; font-size: 1.4rem; color: var(--text-main); line-height: 1; }
        .token-status { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

        .tag-x4, .tag-x2 { font-family: var(--font-num); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.5px; margin-left: 5px; transition: all 0.3s; }
        .tag-x4 { background: rgba(255, 215, 0, 0.1); color: var(--accent-yellow); border: 1px solid var(--accent-yellow); }
        .tag-x2 { background: rgba(14, 203, 129, 0.1); color: var(--accent-green); border: 1px solid var(--accent-green); }
        .tag-expired { opacity: 0.3; filter: grayscale(1); border-color: #444 !important; color: #666 !important; background: transparent !important; }

        .x4-timer-box { font-family: var(--font-num); font-size: 0.75rem; color: var(--text-sub); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 2px; justify-content: flex-end;}
        .x4-timer-val { color: var(--accent-yellow); font-weight: 700; }

        .card-stats-grid { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2); }
        .stat-cell { padding: 12px 5px; text-align: center; position: relative; display: flex; flex-direction: column; justify-content: center; }
        .stat-cell:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: #333; }
              
       
        .card-stats-grid .stat-lbl { font-size: 0.6rem; color: var(--text-sub); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
        .card-stats-grid .stat-val { font-family: var(--font-num); font-weight: 700; font-size: 1rem; color: var(--text-main); line-height: 1; }

       
        .stat-box .stat-lbl { font-size: 0.9rem; color: var(--text-sub); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
        .stat-box .stat-val { font-family: var(--font-num); font-weight: 700; font-size: 2.8rem; color: var(--text-main); line-height: 1; text-shadow: 0 0 20px rgba(0,0,0,0.5); }

        .card-list { padding: 10px 15px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
        .acc-item { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; position: relative; padding: 2px 0; }
        .acc-info { display: flex; align-items: center; width: 25%; gap: 6px; color: var(--text-main); font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; z-index: 2; }
        .acc-bar-bg { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #222; border-radius: 2px; }
        .acc-bar-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; }
        .acc-stats { text-align: right; font-family: var(--font-num); font-weight: 700; z-index: 2; display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex: 1; }
        .acc-vol { color: #fff; font-size: 0.9rem; }
        .acc-gap { font-size: 0.75rem; padding: 1px 4px; border-radius: 3px; background: rgba(0,0,0,0.3); }
        .gap-pos { color: var(--accent-green); }
        .gap-neg { color: var(--accent-red); }

    
.card-actions { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--border); }
        .btn-card-action { background: var(--bg-input); border: none; color: var(--text-sub); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 10px; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px; }
        .btn-card-action:hover { background: #fff; color: #000; box-shadow: 0 0 15px rgba(255,255,255,0.7); z-index: 10; transform: translateY(-2px); }
        .btn-card-action.action-update { color: var(--accent-green); }
        .btn-card-action.action-update:hover { background: var(--accent-green); color: #000; box-shadow: 0 0 15px var(--accent-green); }
       
.btn-card-action.predict { 
    color: #fff; 
    background: rgba(153, 69, 255, 0.15); 
   
    border-top: 1px solid var(--border); 
}

.btn-card-action.predict:hover { 
    background: var(--purple) !important; 
    color: #fff !important; 
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.6); 
    text-shadow: 0 0 5px #fff; 
}

        .card-foot { padding: 8px 15px; background: var(--bg-input); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
        .tour-timer { display: flex; align-items: center; gap: 5px; }
        .tour-timer-label { font-size: 0.6rem; font-weight: 700; color: var(--text-sub); text-transform: uppercase; }
        .tour-timer-val { font-family: var(--font-num); font-weight: 700; font-size: 0.9rem; color: var(--text-main); }
        .btn-edit-foot { background: transparent; border: none; color: #444; font-size: 0.85rem; padding: 2px 10px; transition: 0.2s; cursor: pointer; }
        .btn-edit-foot:hover { color: var(--brand); transform: scale(1.1); }

       
        .terminal-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 20px; height: calc(100vh - 80px); padding: 0 20px 20px 20px; max-width:1600px; margin:0 auto; }
        .terminal-main { display: flex; flex-direction: column; gap: 15px; overflow: hidden; }
        .terminal-side { display: flex; flex-direction: column; gap: 15px; overflow: hidden; }
        .terminal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }

        .hero-header { display: grid; grid-template-columns: 0.8fr 1.5fr 0.8fr; align-items: center; padding: 25px 30px; background: linear-gradient(90deg, #111 0%, #161616 100%); border: 1px solid var(--border); border-radius: 12px; gap: 20px; }
        .hh-left { display: flex; align-items: center; gap: 15px; }
        #pt-logo { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #444; object-fit: cover; transition:0.2s; cursor: pointer; }
        #pt-logo:hover { border-color: var(--brand); box-shadow: 0 0 15px var(--brand); transform: scale(1.05); }
        #pt-symbol { font-size: 2.2rem; line-height: 1; }
        .hh-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .big-vol { font-size: 5.5rem; font-weight: 800; font-family: var(--font-num); line-height: 1; color: #fff; text-shadow: 0 0 40px rgba(255,255,255,0.1); margin: 5px 0 15px 0; }

        .btn-predict-hero { background: linear-gradient(135deg, var(--purple), #7b2cbf); border: none; color: #fff; font-weight: 800; padding: 12px 50px; border-radius: 50px; font-size: 1.1rem; box-shadow: 0 0 20px rgba(153, 69, 255, 0.4); transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
        .btn-predict-hero:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(153, 69, 255, 0.6); }
        .btn-ended { background: #333 !important; color: #888 !important; border: 1px solid #444 !important; box-shadow: none !important; cursor: not-allowed; opacity: 0.8; }
        .btn-ended:hover { transform: none !important; }

        .hh-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 15px; }
        .header-stat-lbl { font-size: 0.7rem; color: var(--text-sub); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
        .p-tabs { display: flex; border-bottom: 1px solid var(--border); background: #111; }
        .p-tab { padding: 12px 20px; color: var(--text-sub); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; transition: 0.2s; font-size: 0.85rem; }
        .p-tab:hover { color: #fff; }
        .p-tab.active { color: var(--brand); border-bottom-color: var(--brand); background: rgba(0,240,255,0.05); }
        .feed-box { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
        .chat-bubble { max-width: 85%; padding: 8px 12px; border-radius: 8px; font-size: 0.9rem; line-height: 1.4; color: #ddd; display: flex; flex-direction: column; }
        .chat-me { align-self: flex-end; background: rgba(157, 78, 221, 0.2); border: 1px solid var(--purple); }
        .chat-other { align-self: flex-start; background: #222; border: 1px solid #333; }
        .chat-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 5px; }
        .chat-row.me { flex-direction: row-reverse; }

        .leaderboard-table th { padding: 10px; text-align: left; color: var(--text-sub); font-size: 0.7rem; }
        .leaderboard-table td { padding: 8px 10px; border-bottom: 1px solid #222; vertical-align: middle; }
        .rank-badge { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.7rem; font-weight: bold; background: #333; color: #aaa; margin-right: 5px; }
        .rank-1 { background: #FFD700; color: #000; box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
        .rank-2 { background: #C0C0C0; color: #000; }
        .rank-3 { background: #CD7F32; color: #000; }

       
        .app-footer { background: var(--bg-header); border-top: 1px solid var(--border); padding: 30px 0; margin-top: auto; }
        .footer-socials { display: flex; gap: 15px; justify-content: center; margin-bottom: 15px; }
        .social-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-input); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-sub); transition: 0.2s; text-decoration: none; }
        .social-btn:hover { color: #fff; border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 0 10px var(--brand); }
        .footer-copy { color: var(--text-sub); font-size: 0.8rem; text-align: center; }

       
        .modal-content { background: #1e2329; border: 1px solid var(--border); box-shadow: 0 0 30px rgba(0,0,0,0.5); }
        .form-control, .form-select { background: var(--bg-input); border: 1px solid var(--border); color: #fff; }
        .form-control:focus { border-color: var(--brand); background: #2b3139; color:#fff; box-shadow:none; }
        .form-control:disabled { background: #111; color: #555; }
        input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 30px var(--bg-input) inset !important; -webkit-text-fill-color: white !important; }
        .btn-action { background: var(--brand); color: #000; font-weight: 800; border: none; padding: 10px; width: 100%; border-radius: 4px; text-transform: uppercase; transition: 0.2s; }
        .btn-action:hover { background: #fff; box-shadow: 0 0 15px var(--brand); }
        .acc-input-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 10px; padding: 8px; background: rgba(255,255,255,0.02); border-radius: 4px; border: 1px solid transparent; }
        .acc-input-row:hover { border-color: #333; }

        #loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0b0e11; z-index: 9999; display: none; align-items: center; justify-content: center; flex-direction: column; }
        .spinner { width: 50px; height: 50px; border: 4px solid #333; border-top: 4px solid var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
        @keyframes spin { 100% { transform: rotate(360deg); } }
        .admin-only { display: none !important; }
        body.is-admin .admin-only { display: flex !important; }
        .back-btn { color: #fff; border: 1px solid #444; padding: 8px 20px; border-radius: 30px; font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; background:rgba(255,255,255,0.05); }
        .back-btn:hover { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 10px #fff; }
        @media (max-width: 1200px) {
            .terminal-layout { grid-template-columns: 1fr; height: auto; display: block; }
            .hero-header { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 20px; }
            .hh-left, .hh-right { justify-content: center; align-items: center; width: 100%; }
            .btn-predict-hero { width: 100%; }
        }
        .anim-breathe { animation: breathe 3s infinite ease-in-out; }
        @keyframes breathe { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

        #legalModal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 99999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
        .legal-box { width: 90%; max-width: 500px; background: #161a1e; border: 1px solid var(--brand); border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 0 50px rgba(0,240,255,0.2); }
        .legal-title { color: var(--brand); font-family: var(--font-num); font-weight: 800; font-size: 1.8rem; margin-bottom: 20px; letter-spacing: 1px; }
        .legal-text { color: #ddd; font-size: 0.9rem; line-height: 1.6; text-align: left; margin-bottom: 25px; max-height: 200px; overflow-y: auto; padding: 10px; background: rgba(0,0,0,0.2); border-radius: 6px; border: 1px solid #333; }
        .btn-legal { background: var(--brand); color: #000; font-weight: 800; padding: 12px 30px; border: none; border-radius: 30px; text-transform: uppercase; transition: 0.3s; width: 100%; }
        .btn-legal:hover { transform: scale(1.05); background: #fff; box-shadow: 0 0 20px var(--brand); }

        .cursor-pointer { cursor: pointer; }

       
        .user-avatar-sm { width:24px; height:24px; border-radius:50%; object-fit:cover; border:1px solid var(--brand); margin-right:5px; }
        .profile-btn-area { display: flex; align-items: center; cursor: pointer; padding: 5px 10px; border-radius: 20px; transition:0.2s; border: 1px solid transparent;}
        .profile-btn-area:hover { background: rgba(255,255,255,0.1); border-color:#444; }
        .avatar-upload-box { position: relative; width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 2px dashed #444; cursor: pointer; background: #111; transition: 0.2s; }
        .avatar-upload-box:hover { border-color: var(--brand); }
        .avatar-upload-box img { width: 100%; height: 100%; object-fit: cover; display: none; }
        .upload-placeholder { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #666; font-size: 0.8rem; pointer-events: none; }
        #file-input { display: none; }

       
        .list-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-right: 8px; border: 1px solid #444; vertical-align: middle; }
        .chat-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid #444; margin-bottom: 5px; flex-shrink: 0; }
        .act-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--brand); margin-right: 10px; flex-shrink: 0; }
        .list-avatar-placeholder { width: 28px; height: 28px; border-radius: 50%; background: #333; color: #aaa; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; margin-right: 8px; vertical-align: middle; }
        .chat-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; background: #333; color: #aaa; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; margin-bottom: 5px; flex-shrink: 0; }

       
        #share-card-container {
            width: 100%; max-width: 400px; margin: 0 auto;
            background: #0b0e11;
            background-image:
                linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
            background-size: 20px 20px;
            border: 1px solid var(--border); border-radius: 16px;
            padding: 25px; text-align: center; position: relative; overflow: hidden;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        }
       
        #share-card-container::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
            background: linear-gradient(90deg, var(--brand), var(--purple));
        }

        .sc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
        .sc-logo-text { font-family: var(--font-num); font-weight: 800; font-size: 1.4rem; color: #fff; letter-spacing: 1px; }
        .sc-logo-text span { color: var(--brand); }
        .sc-date { font-family: var(--font-num); font-size: 0.85rem; color: var(--text-sub); font-weight: 600; text-transform: uppercase; }

        .sc-main { position: relative; z-index: 2; margin-bottom: 25px; }
        .sc-token-row { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; }
        .sc-token-img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--brand); box-shadow: 0 0 15px rgba(0,240,255,0.3); }
        .sc-token-name { font-size: 2.2rem; font-weight: 800; font-family: var(--font-num); color: #fff; line-height: 1; text-shadow: 0 0 20px rgba(255,255,255,0.2); }

        .sc-stat-box {
            background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 15px;
            display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center;
        }
        .sc-divider { height: 40px; background: rgba(255,255,255,0.1); }

        .sc-stat-label { font-size: 0.65rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 5px; font-weight: 700; }
        .sc-stat-val { font-size: 1.5rem; font-weight: 700; font-family: var(--font-num); color: #fff; }
        .sc-stat-val.gold { color: var(--accent-yellow); text-shadow: 0 0 10px rgba(240, 185, 11, 0.4); }
        .sc-stat-val.brand { color: var(--brand); }

        .sc-footer {
            display: flex; align-items: center; justify-content: space-between;
            background: linear-gradient(90deg, rgba(0,240,255,0.1), transparent);
            padding: 12px 15px; border-radius: 8px; border: 1px solid rgba(0,240,255,0.2);
        }
        .sc-qr-box { background: #fff; padding: 4px; border-radius: 4px; height: 58px; width: 58px; display: flex; align-items: center; justify-content: center; }
        .sc-ref-text { text-align: left; font-size: 0.75rem; color: #ddd; line-height: 1.3; font-weight: 500; }
        .sc-web-link {
            font-family: var(--font-num); font-weight: 800; color: var(--brand);
            font-size: 0.9rem; margin-top: 3px; letter-spacing: 0.5px;
        }

       
        .sc-user-box {
            display: flex; align-items: center; justify-content: center; gap: 12px;
            margin-bottom: 15px; padding-bottom: 15px;
            border-bottom: 1px dashed rgba(255,255,255,0.1);
        }
        .sc-user-avatar {
            width: 45px; height: 45px; border-radius: 50%; object-fit: cover;
            border: 2px solid var(--text-sub);
        }
        .sc-user-info { text-align: left; }
        .sc-user-label { font-size: 0.6rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 1px; }
        .sc-user-name {
            font-family: var(--font-num); font-weight: 800; font-size: 1.2rem; color: #fff;
            text-shadow: 0 0 10px rgba(255,255,255,0.1);
        }

       
        #toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
        .toast-item {
            background: rgba(16, 20, 24, 0.95); border: 1px solid var(--border); border-left: 4px solid var(--brand);
            color: #fff; padding: 15px 20px; border-radius: 4px; display: flex; align-items: center; gap: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: slideIn 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
            min-width: 300px; backdrop-filter: blur(10px);
        }
        .toast-success { border-left-color: var(--accent-green); }
        .toast-error { border-left-color: var(--accent-red); }
        @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
       
        .rule-pill {
            font-family: var(--font-num);
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 2px 6px;
            border-radius: 4px;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 2px;
            cursor: help;
            transition: all 0.2s;
            border: 1px solid transparent;
            line-height: 1.1;
            width: fit-content;
        }
        .rule-pill:hover { filter: brightness(1.2); transform: translateY(-1px); }

       
        .rp-buy {
            border-color: rgba(14, 203, 129, 0.4);
            color: #0ECB81;
            background: rgba(14, 203, 129, 0.05);
        }

        
               
        .rp-all {
            border-color: rgba(42, 171, 238, 0.5);
            color: #2AABEE;                       
            background: rgba(42, 171, 238, 0.1);  
        }


       
        .rp-x4 {
            border-color: rgba(153, 69, 255, 0.5);
            color: #d0aaff;
            background: rgba(153, 69, 255, 0.05);
        }

       
        .x4-box {
            background: #9945FF;
            color: #fff;
            padding: 1px 3px;
            border-radius: 2px;
            font-size: 0.55rem;
            font-weight: 800;
        }

       
        .card-head-right {
            display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3px;
        }
       
        .res-badge {
            font-family: var(--font-num);
            font-size: 0.65rem;
            font-weight: 800;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 6px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            min-width: 45px;
            justify-content: center;
        }
       
        .res-win {
            background: #F0B90B;
            color: #000;
            box-shadow: 0 0 8px rgba(240, 185, 11, 0.4);
        }
       
        .res-lose {
            background: #2b3139;
            color: #666;
            border: 1px solid #444;
        }
        
        .text-silver { color: #C0C0C0 !important; text-shadow: 0 0 10px rgba(192, 192, 192, 0.4); }
        .text-bronze { color: #CD7F32 !important; text-shadow: 0 0 10px rgba(205, 127, 50, 0.4); }



       

       
        .tour-card.dragging {
            opacity: 0.5;
            border: 2px dashed var(--brand);
            transform: scale(0.95);
            z-index: 1000;
        }

       
        .admin-drag-handle {
            display: none;
            color: var(--text-sub);
            margin-right: 8px;
            font-size: 1.1rem;
            cursor: grab;
            transition: 0.2s;
        }

       
        body.is-admin .admin-drag-handle { display: inline-block; }
        body.is-admin .admin-drag-handle:hover { color: var(--brand); }
        body.is-admin .tour-card { cursor: grab; }
        body.is-admin .tour-card:active { cursor: grabbing; }
        
       
.health-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.h-item { text-align: center; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.05); }
.h-item:last-child { border-right: none; }
.h-lbl { font-size: 0.55rem; color: var(--text-sub); text-transform: uppercase; font-weight: 700; margin-bottom: 3px; }
.h-val { font-family: var(--font-num); font-size: 0.9rem; font-weight: 700; line-height: 1; }


.rocket-badge {
    position: absolute; top: -12px; right: 50px;
    background: var(--brand); color: #000;
    font-size: 0.65rem; font-weight: 800; font-family: var(--font-num);
    padding: 2px 8px; border-radius: 10px;
    box-shadow: 0 0 10px var(--brand);
    z-index: 5;
    animation: rocketPulse 2s infinite;
    border: 2px solid #fff;
}
@keyframes rocketPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}
.tour-card.card-perfect {
    border: 1px solid var(--brand) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2) !important;
}

        
       




.health-panel, 
#view-list-container,
#view-grid-container,
#appGrid {
    height: auto !important;      
    min-height: 0 !important;     
    flex: none !important;        
    overflow: visible !important; 
}


.table-responsive {
    height: auto !important;
    margin-bottom: 0 !important;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.app-footer {
    margin-top: auto;
}

.health-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(22,26,30,1) 0%, rgba(32,36,40,1) 100%);
    border-bottom: 1px solid #2a2e35;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.health-table th {
    background: #1a1e23;
    color: #848e9c;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border-bottom: 2px solid #2a2e35;
    white-space: nowrap;
}

.health-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #1e2329;
    font-size: 0.9rem;
    vertical-align: middle;
}


.col-highlight {
    background: rgba(0, 240, 255, 0.02); 
    border-left: 1px solid #2a2e35;
    border-right: 1px solid #2a2e35;
}


.health-badge { 
    font-size: 0.65rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; 
    text-transform: uppercase; letter-spacing: 1px; display: inline-block; min-width: 80px; text-align: center;
}
.hb-hot { background: rgba(246, 70, 93, 0.15); color: #F6465D; border: 1px solid #F6465D; box-shadow: 0 0 10px rgba(246, 70, 93, 0.2); }
.hb-moon { background: rgba(14, 203, 129, 0.15); color: #0ECB81; border: 1px solid #0ECB81; box-shadow: 0 0 10px rgba(14, 203, 129, 0.2); }
.hb-dead { background: #222; color: #666; border: 1px solid #444; }
.hb-normal { background: rgba(0, 240, 255, 0.1); color: var(--brand); border: 1px solid var(--brand); }


.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: #0b0e11;
}

.guide-item {
    font-size: 0.8rem;
    color: #b7bdc6;
    line-height: 1.6;
}

.guide-title {
    color: var(--brand);
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-box {
    margin-top: 15px;
    padding: 12px;
    background: rgba(246, 70, 93, 0.05);
    border: 1px dashed rgba(246, 70, 93, 0.3);
    border-radius: 6px;
    color: #888;
    font-size: 0.7rem;
    text-align: center;
    font-style: italic;
}

.tooltip-inner { max-width: 300px; text-align: left; }

@media (max-width: 992px) {
    .guide-grid { grid-template-columns: 1fr; }
}

        
       
    .timeline-wrapper {
        margin-bottom: 30px;
        position: relative;
    }
    
   
    .timeline-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 20px 2px 15px 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .timeline-scroll::-webkit-scrollbar { display: none; }

   
    .date-box {
        flex: 0 0 auto;
        width: 75px;
        height: 85px;
        background: #161a1e;
        border: 1px solid #353a42;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
    }

   
    .date-box:hover {
        transform: translateY(-5px);
        border-color: var(--text-sub);
        background: #2b3139;
    }

   
    .date-box.active {
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid var(--brand);
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    }

   
    .date-box .d-name {
        font-size: 0.7rem;
        color: #848e9c;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 4px;
    }
    .date-box.active .d-name { color: var(--brand); }

   
    .date-box .d-num {
        font-family: var(--font-num);
        font-size: 1.6rem;
        color: #fff;
        font-weight: 700;
        line-height: 1;
    }

   
    .date-dot {
        position: absolute;
        top: -6px; right: -6px;
        min-width: 20px; height: 20px;
        background: var(--accent-yellow);
        color: #000;
        border-radius: 50%;
        font-family: var(--font-num);
        font-size: 0.7rem; font-weight: 800;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 0 8px rgba(240, 185, 11, 0.8);
        border: 2px solid var(--bg-body);
        z-index: 5;
        animation: bounceBadge 2s infinite;
    }
    
    @keyframes bounceBadge { 
        0%, 100% { transform: translateY(0); } 
        50% { transform: translateY(-3px); } 
    }
   
    .d-val {
        font-family: var(--font-num);
        font-size: 0.75rem;
        font-weight: 700;
        color: #0ECB81;
        background: rgba(14, 203, 129, 0.15);
        padding: 1px 6px;
        border-radius: 4px;
        line-height: 1;
        white-space: nowrap;
        min-width: 45px; text-align: center;
        margin-top: 4px;
    }
    .date-dot.has-event { display: block; }
   
        
  


.neo-wrapper {
    width: 100%;
   
    height: 100dvh; 
   
    min-height: -webkit-fill-available;
    
    background: radial-gradient(circle at 50% 50%, #1a1e23 0%, #0b0e11 100%);
    
   
    padding: 80px 20px 50px 20px;
    
    position: fixed; top: 0; left: 0; z-index: 2000;
    display: grid;
    grid-template-columns: 320px 1fr 350px;
    grid-template-rows: 1fr;
    gap: 20px;
    font-family: var(--font-main);
    overflow: hidden;
}


.grid-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none; z-index: -1;
}


.glass-card {
    background: rgba(22, 26, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


.glass-head {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem; font-weight: 800; color: var(--text-sub);
    text-transform: uppercase; letter-spacing: 1.5px;
    display: flex; justify-content: space-between; align-items: center;
}


.stat-highlight {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.stat-label { font-size: 0.7rem; color: var(--text-sub); letter-spacing: 1px; margin-bottom: 5px; font-weight: 700; }
.stat-val-mega {
    font-family: var(--font-num); font-size: 2.8rem; font-weight: 800; color: #fff;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4); line-height: 1;
}
.stat-val-sub { font-family: var(--font-num); font-size: 1.8rem; font-weight: 700; color: var(--accent-green); }


.btn-cyber {
    margin: 20px;
    background: transparent;
    border: 1px solid var(--brand);
    color: var(--brand);
    padding: 15px;
    font-weight: 800; font-size: 1rem; letter-spacing: 2px;
    text-transform: uppercase;
    position: relative; overflow: hidden;
    cursor: pointer; transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.btn-cyber::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: 0.5s;
}
.btn-cyber:hover {
    background: var(--brand); color: #000; box-shadow: 0 0 30px var(--brand);
}
.btn-cyber:hover::before { left: 100%; }
.btn-cyber:disabled { border-color: #555; color: #555; cursor: not-allowed; box-shadow: none; background: transparent; }


.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px; }
.btn-tool-glass {
    background: rgba(255,255,255,0.05); border: none; color: #aaa; padding: 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; transition: 0.2s;
}
.btn-tool-glass:hover { background: #fff; color: #000; }


.chart-wrapper { flex: 1; width: 100%; position: relative; min-height: 0; padding: 10px; }
.token-badge {
    display: flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.3); padding: 8px 15px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
}


.tab-capsule {
    display: flex; background: rgba(0,0,0,0.3); margin: 15px; padding: 4px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
}
.tab-pill {
    flex: 1; text-align: center; padding: 8px; font-size: 0.75rem; font-weight: 700; color: #888; cursor: pointer; border-radius: 20px; transition: 0.3s;
}
.tab-pill.active { background: var(--brand); color: #000; box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }


.neo-list { flex: 1; overflow-y: auto; padding: 0 15px 15px 15px; }
.neo-list::-webkit-scrollbar { width: 4px; }
.neo-list::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.chat-bubble-v2 {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05);
    padding: 8px 12px; border-radius: 12px; font-size: 0.85rem; color: #ddd; margin-bottom: 8px;
}
.chat-bubble-v2.me { background: rgba(153, 69, 255, 0.15); border-color: var(--purple); color: #fff; text-align: right; }


.modal { z-index: 3000 !important; }
.modal-backdrop { z-index: 2900 !important; }
@media (max-width: 1200px) {
    .neo-wrapper { display: block; overflow-y: auto; padding-bottom: 80px; height: auto; position: absolute; }
    .glass-card { margin-bottom: 20px; min-height: 400px; }
    .btn-cyber { position: fixed; bottom: 0; left: 0; width: 100%; margin: 0; z-index: 2050; background: #000; border-top: 1px solid var(--brand); }
}



.modal { z-index: 3000 !important; }
.modal-backdrop { z-index: 2900 !important; }



.chat-visible {
    display: flex !important;
}
.hide-force {
    display: none !important;
}


@media (max-height: 800px) {
    .neo-wrapper {
        padding-top: 60px;
        padding-bottom: 70px;
    }

   
    .stat-val-mega { font-size: 2.2rem; }
    .stat-val-sub { font-size: 1.5rem; }
    
   
    .stat-highlight { padding: 15px 10px; }
    .btn-cyber { padding: 12px; margin: 10px 20px; }
    
   
    .glass-card {
        height: 100%; 
        max-height: 100%;
    }
}


@media (max-width: 1024px) {
    .neo-wrapper {
        display: flex;
        flex-direction: column;
        height: auto; 
        min-height: 100dvh;
        position: absolute;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    
    .glass-card {
        min-height: 450px;
        flex-shrink: 0;
    }
    
   
   
    .btn-cyber {
        position: relative; 
        margin-top: auto;
    }
}


.btn-card-action.predict:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--brand);
    filter: brightness(1.1);
}


.btn-card-action.action-update:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #fff !important;
}


.mini-chart-box {
    position: relative;
    height: 110px;
    width: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 5px;
}
.chart-legend {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    margin-bottom: 5px;
}
.legend-item {
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-sub);
}
.dot { width: 6px; height: 6px; border-radius: 50%; }




.mini-chart-wrapper {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 10px 5px 0 5px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}




.acc-stats-grid {
    display: grid;
   
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: none; 
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.as-item {
    background: rgba(20, 24, 28, 0.9);
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.as-head { font-size: 0.6rem; color: var(--text-sub); display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.as-vol { font-family: var(--font-num); font-size: 1rem; font-weight: 700; color: #fff; line-height: 1; }
.as-gap { font-family: var(--font-num); font-size: 0.75rem; font-weight: 700; margin-top: 3px; }


.market-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 15px;
    background: #111;
    border-top: 1px solid var(--border);
}
.mb-item { display: flex; flex-direction: column; gap: 4px; }
.mb-label { font-size: 0.55rem; color: #666; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 4px; height: 14px; }
.mb-val { font-family: var(--font-num); font-size: 1.1rem; font-weight: 700; line-height: 1; height: 20px; display: flex; align-items: center; }


.btn-card-action.predict {
    width: 100%;
    border: none;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(0, 240, 255, 0.2)); 
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--brand);
    transition: 0.3s;
}
.btn-card-action.predict:hover {
    background: var(--brand) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}


.card-head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
}
.tag-timer {
    font-family: var(--font-num);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ccc;
    margin-top: 2px;
    letter-spacing: 0.5px;
}




.tour-end-timer {
    font-size: 0.7rem; 
    color: #ccc; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    margin-top: 2px;
    font-weight: 600;
}


.promo-timer {
    font-family: var(--font-num);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
    letter-spacing: 0.5px;
   
    color: var(--accent-yellow); 
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}




.fab-telegram {
    position: fixed; 
    bottom: 25px; 
    right: 25px;
    width: 48px; height: 48px;
    
   
    background: rgba(0, 136, 204, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 136, 204, 0.5);
    
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    color: #0088cc;
    font-size: 1.4rem;
    z-index: 9990; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.fab-telegram:hover { 
    transform: translateY(-3px);
    background: #0088cc; 
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.6);
    border-color: #fff;
}


.fab-dot {
    position: absolute; top: 10px; right: 10px;
    width: 8px; height: 8px;
    background: #F6465D;
    border-radius: 50%;
    box-shadow: 0 0 5px #F6465D;
}


.feedback-type-btn {
    flex: 1; padding: 10px; border: 1px solid var(--border);
    background: var(--bg-input); color: var(--text-sub);
    border-radius: 8px; font-size: 0.85rem; font-weight: 700;
    transition: 0.2s;
}
.feedback-type-btn.active {
    border-color: var(--brand); background: rgba(0, 240, 255, 0.1); color: #fff;
}


.action-btn {
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.action-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.action-btn:active {
    transform: translateY(0);
}







.card-wrapper {
    margin-bottom: 40px !important;
}


.card-actions {
    margin-top: 0 !important;
    border-top: none !important;
}
.btn-card-action.predict {
    border-radius: 0 0 10px 10px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}




.tour-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
}


.card-list {
    flex: 0 0 auto !important;
    padding-bottom: 0 !important;
}


.market-bar {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}


.card-actions {
    margin-top: 0 !important;
    border-top: none !important;
}
.btn-card-action.predict {
    border-radius: 0 0 10px 10px !important;
    padding: 12px !important;
    margin-bottom: 0 !important;
}


.card-wrapper {
    margin-bottom: 35px !important;
    height: auto !important;
}


.mb-val {
    margin-top: 2px;
}
.tele-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.tele-floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
}

.tele-text span {
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-6px);}
    60% {transform: translateY(-3px);}
}


.admin-panel {
position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
width: 90%; max-width: 400px;
background: #1a1a1a; border: 1px solid #333; border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 10000;
color: white; font-family: sans-serif; padding: 20px;
}
.admin-panel.hidden { display: none; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-header h3 { margin: 0; font-size: 16px; color: #00ff88; }
.close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.admin-section { display: flex; flex-direction: column; gap: 10px; }
.admin-section label { font-size: 12px; color: #ccc; }
.admin-section input { background: #333; border: 1px solid #444; color: white; padding: 10px; border-radius: 6px; }
.btn-save { background: #444; color: white; padding: 8px; border: none; border-radius: 6px; cursor: pointer; }
.btn-send { background: #0088cc; color: white; padding: 12px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.btn-send:hover { background: #0099ff; }


.eco-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 15px;
margin-bottom: 40px;
}

.eco-card {
background: linear-gradient(145deg, #161a1e, #0b0e11);
border: 1px solid #353a42;
border-radius: 12px;
padding: 20px;
display: flex;
align-items: center;
gap: 15px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-decoration: none;
}


.eco-card:hover {
transform: translateY(-5px);
border-color: var(--brand);
box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
}

.eco-icon {
width: 50px;
height: 50px;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
color: var(--brand);
border: 1px solid rgba(0, 240, 255, 0.2);
transition: 0.3s;
}

.eco-card:hover .eco-icon {
background: var(--brand);
color: #000;
box-shadow: 0 0 15px var(--brand);
}

.eco-content {
flex: 1;
}

.eco-title {
font-family: var(--font-num);
font-weight: 800;
font-size: 1.1rem;
color: #fff;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 4px;
}

.eco-desc {
font-size: 0.8rem;
color: var(--text-sub);
line-height: 1.3;
}


.eco-card.tele .eco-icon { color: #2AABEE; border-color: rgba(42, 171, 238, 0.3); }
.eco-card.tele:hover { border-color: #2AABEE; box-shadow: 0 5px 20px rgba(42, 171, 238, 0.2); }
.eco-card.tele:hover .eco-icon { background: #2AABEE; color: #fff; }

.eco-card.channel .eco-icon { color: #F0B90B; border-color: rgba(240, 185, 11, 0.3); }
.eco-card.channel:hover { border-color: #F0B90B; box-shadow: 0 5px 20px rgba(240, 185, 11, 0.2); }
.eco-card.channel:hover .eco-icon { background: #F0B90B; color: #000; }





.hero-banner {
background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
padding: 40px 0 20px 0; 
text-align: center; 
border-bottom: none;
margin-bottom: 20px;
}
.hero-title { 
font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; color: #fff; 
text-shadow: 0 0 30px rgba(0,240,255,0.3); margin-bottom: 5px; 
}
.hero-sub { color: var(--text-sub); font-size: 0.9rem; }


.event-carousel { 
border: 1px solid var(--brand); border-radius: 12px; overflow: hidden; 
box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); margin-bottom: 30px; position: relative; 
}
.carousel-item img { width: 100%; height: 180px; object-fit: cover; filter: brightness(0.9); }


.trading-hub-wrapper { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.hub-item {
background: linear-gradient(180deg, #161a1e 0%, #0b0e11 100%);
border: 1px solid var(--border); border-radius: 8px; padding: 15px;
display: flex; flex-direction: column; align-items: center; text-align: center;
text-decoration: none; transition: 0.3s; cursor: pointer;
}
.hub-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.03); }

.hub-binance { border-bottom: 3px solid #F0B90B; }
.hub-web3 { border-bottom: 3px solid var(--brand); }
.hub-dex { border-bottom: 3px solid #9945FF; }
.hub-icon { font-size: 1.8rem; margin-bottom: 8px; }
.hub-title { font-family: var(--font-num); font-weight: 800; color: #fff; text-transform:uppercase; font-size: 0.9rem;}
.btn-join-hub { font-size: 0.65rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); margin-top: 5px; color: #fff; }


.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 30px; }
.eco-card { 
background: #161a1e; border: 1px solid var(--border); padding: 10px; border-radius: 8px; 
display: flex; align-items: center; gap: 10px; text-decoration: none; transition: 0.2s; 
}
.eco-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.eco-icon { font-size: 1.2rem; color: var(--text-sub); width: 30px; text-align: center; }
.eco-title { color: #fff; font-weight: 700; font-size: 0.85rem; }
.eco-desc { font-size: 0.7rem; color: var(--text-sub); }


@media (max-width: 768px) { .trading-hub-wrapper { grid-template-columns: 1fr; } }





.command-deck {
display: grid;
gap: 20px;
margin-bottom: 35px;
}


.cmd-label {
font-size: 0.7rem;
font-weight: 800;
color: var(--text-sub);
text-transform: uppercase;
letter-spacing: 1.5px;
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 8px;
}
.cmd-label::after {
content: ''; flex: 1; height: 1px; 
background: rgba(255,255,255,0.1);
}


.cmd-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}


.cmd-card {
background: linear-gradient(145deg, #161a1e 0%, #0e1114 100%);
border: 1px solid var(--border);
border-radius: 8px;
padding: 15px 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
text-decoration: none;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
min-height: 85px;
}


.cmd-card:hover {
transform: translateY(-4px);
background: rgba(255, 255, 255, 0.03);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}



.cc-eco:hover { border-color: var(--brand); }
.cc-eco .cmd-icon { color: var(--brand); filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.4)); }


.cc-binance:hover { border-color: #F0B90B; }
.cc-binance .cmd-icon { color: #F0B90B; filter: drop-shadow(0 0 5px rgba(240, 185, 11, 0.4)); }


.cc-web3:hover { border-color: #0ECB81; }
.cc-web3 .cmd-icon { color: #0ECB81; filter: drop-shadow(0 0 5px rgba(14, 203, 129, 0.4)); }


.cc-dex:hover { border-color: #9945FF; }
.cc-dex .cmd-icon { color: #9945FF; filter: drop-shadow(0 0 5px rgba(153, 69, 255, 0.4)); }



.cmd-icon {
font-size: 1.5rem;
margin-bottom: 8px;
transition: 0.3s;
}
.cmd-title {
color: #fff;
font-family: var(--font-num);
font-weight: 700;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.cmd-sub {
font-size: 0.65rem;
color: var(--text-sub);
margin-top: 2px;
}


@media (max-width: 768px) {
.cmd-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.cmd-card {
    padding: 10px 5px;
    min-height: 70px;
}
.cmd-icon { font-size: 1.2rem; margin-bottom: 5px; }
.cmd-title { font-size: 0.7rem; }
.cmd-sub { display: none; }
}
   
    .tele-floating-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: #0088cc;
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
        z-index: 9999;
        transition: all 0.3s ease;
        animation: bounce 2s infinite;
    }
    
    .tele-floating-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
    }
    
    .tele-text span {
        font-weight: bold;
        font-size: 15px;
        letter-spacing: 0.5px;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-6px);}
        60% {transform: translateY(-3px);}
    }


.admin-panel {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; max-width: 400px;
    background: #1a1a1a; border: 1px solid #333; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 10000;
    color: white; font-family: sans-serif; padding: 20px;
}
.admin-panel.hidden { display: none; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-header h3 { margin: 0; font-size: 16px; color: #00ff88; }
.close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.admin-section { display: flex; flex-direction: column; gap: 10px; }
.admin-section label { font-size: 12px; color: #ccc; }
.admin-section input { background: #333; border: 1px solid #444; color: white; padding: 10px; border-radius: 6px; }
.btn-save { background: #444; color: white; padding: 8px; border: none; border-radius: 6px; cursor: pointer; }
.btn-send { background: #0088cc; color: white; padding: 12px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.btn-send:hover { background: #0099ff; }


.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.eco-card {
    background: linear-gradient(145deg, #161a1e, #0b0e11);
    border: 1px solid #353a42;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}


.eco-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
}

.eco-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand);
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: 0.3s;
}

.eco-card:hover .eco-icon {
    background: var(--brand);
    color: #000;
    box-shadow: 0 0 15px var(--brand);
}

.eco-content {
    flex: 1;
}

.eco-title {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.eco-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.3;
}


.eco-card.tele .eco-icon { color: #2AABEE; border-color: rgba(42, 171, 238, 0.3); }
.eco-card.tele:hover { border-color: #2AABEE; box-shadow: 0 5px 20px rgba(42, 171, 238, 0.2); }
.eco-card.tele:hover .eco-icon { background: #2AABEE; color: #fff; }

.eco-card.channel .eco-icon { color: #F0B90B; border-color: rgba(240, 185, 11, 0.3); }
.eco-card.channel:hover { border-color: #F0B90B; box-shadow: 0 5px 20px rgba(240, 185, 11, 0.2); }
.eco-card.channel:hover .eco-icon { background: #F0B90B; color: #000; }





.hero-banner {
    background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    padding: 40px 0 20px 0; 
    text-align: center; 
    border-bottom: none;
    margin-bottom: 20px;
}
.hero-title { 
    font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; color: #fff; 
    text-shadow: 0 0 30px rgba(0,240,255,0.3); margin-bottom: 5px; 
}
.hero-sub { color: var(--text-sub); font-size: 0.9rem; }


.event-carousel { 
    border: 1px solid var(--brand); border-radius: 12px; overflow: hidden; 
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); margin-bottom: 30px; position: relative; 
}
.carousel-item img { width: 100%; height: 180px; object-fit: cover; filter: brightness(0.9); }


.trading-hub-wrapper { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.hub-item {
    background: linear-gradient(180deg, #161a1e 0%, #0b0e11 100%);
    border: 1px solid var(--border); border-radius: 8px; padding: 15px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    text-decoration: none; transition: 0.3s; cursor: pointer;
}
.hub-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.03); }

.hub-binance { border-bottom: 3px solid #F0B90B; }
.hub-web3 { border-bottom: 3px solid var(--brand); }
.hub-dex { border-bottom: 3px solid #9945FF; }
.hub-icon { font-size: 1.8rem; margin-bottom: 8px; }
.hub-title { font-family: var(--font-num); font-weight: 800; color: #fff; text-transform:uppercase; font-size: 0.9rem;}
.btn-join-hub { font-size: 0.65rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); margin-top: 5px; color: #fff; }


.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 30px; }
.eco-card { 
    background: #161a1e; border: 1px solid var(--border); padding: 10px; border-radius: 8px; 
    display: flex; align-items: center; gap: 10px; text-decoration: none; transition: 0.2s; 
}
.eco-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.eco-icon { font-size: 1.2rem; color: var(--text-sub); width: 30px; text-align: center; }
.eco-title { color: #fff; font-weight: 700; font-size: 0.85rem; }
.eco-desc { font-size: 0.7rem; color: var(--text-sub); }


@media (max-width: 768px) { .trading-hub-wrapper { grid-template-columns: 1fr; } }


.command-deck {
    display: grid;
    gap: 20px;
    margin-bottom: 35px;
}

.cmd-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}


.cmd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;
}


.cmd-card {
    background: linear-gradient(145deg, #161a1e 0%, #0e1114 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 90px;
    position: relative;
}

.cmd-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-color: #fff;
}


.cc-eco .cmd-icon { color: var(--brand); font-size: 1.4rem; margin-bottom: 5px; }
.cc-binance .cmd-icon { color: #F0B90B; font-size: 1.4rem; margin-bottom: 5px; }
.cc-web3 .cmd-icon { color: #0ECB81; font-size: 1.4rem; margin-bottom: 5px; }
.cc-dex .cmd-icon { color: #9945FF; font-size: 1.4rem; margin-bottom: 5px; }

.cmd-title {
    color: #fff;
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.cmd-sub {
    font-size: 0.6rem;
    color: var(--text-sub);
    margin-top: 2px;
}


.admin-panel {
    position: fixed; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%);
    width: 90%; max-width: 400px;
    background: #1a1a1a; 
    border: 1px solid #333; 
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9); 
    z-index: 10000;
    color: white; 
    padding: 20px;
}


.admin-panel.hidden {
    display: none !important;
}

.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.admin-section { display: flex; flex-direction: column; gap: 10px; }
.admin-section label { font-size: 0.75rem; color: #aaa; margin-bottom: 2px; }
.admin-section input { background: #333; border: 1px solid #444; color: white; padding: 8px; border-radius: 4px; }


@media (max-width: 768px) {
    .cmd-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .cmd-card { padding: 10px 2px; min-height: 75px; }
    .cmd-icon { font-size: 1.2rem; }
    .cmd-title { font-size: 0.65rem; }
    .cmd-sub { display: none; }
}




.health-table th, 
.health-table td {
    padding: 6px 10px !important;   
    vertical-align: middle !important;
    text-align: center !important;    
    white-space: nowrap !important;   
}



.cell-stack {
    display: flex;
    flex-direction: column;
    align-items: center !important;   
    justify-content: center !important;
    line-height: 1.3 !important;      
    min-height: 32px;
    width: 100%;
}


.cell-primary {
    font-family: var(--font-num);
    font-size: 0.9rem !important;     
    font-weight: 700;
    color: #eaecef;                   
    letter-spacing: 0.3px;
    margin-bottom: 2px !important;    
    display: flex;
    align-items: center;
    justify-content: center;
}


.cell-secondary {
    font-family: var(--font-num);
    font-size: 0.75rem !important;
    font-weight: 500;
    color: #848e9c !important;        
    margin-top: 0;
    opacity: 0.9;
}


.token-cell-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    padding-left: 15px;
    gap: 8px !important;
}

.token-info-col {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center !important;    
    line-height: 1.2 !important;
}


.token-name-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.token-name-text {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}


.token-sub-row {
    margin-top: 2px !important;
    display: flex !important;
    justify-content: center !important;
}

.contract-box {
    font-size: 0.7rem !important;
    color: #848e9c !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.contract-box:hover { color: #eaecef !important; }


.promo-badge-inline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    color: #F0B90B !important;
    line-height: 1 !important;
    
    background: rgba(240, 185, 11, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
    white-space: nowrap !important;
}

.promo-icon-inline {
    width: 14px !important;  
    height: 14px !important;
    object-fit: contain;
    margin-right: 2px !important;
    transform: translateY(-0.5px) !important;
}


.rule-pill {
    font-family: var(--font-num);
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    padding: 3px 8px !important;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-width: 60px;
}

.rp-buy { border: 1px solid rgba(14, 203, 129, 0.4); color: #0ECB81; background: rgba(14, 203, 129, 0.1); }
.rp-all { border: 1px solid rgba(42, 171, 238, 0.4); color: #2AABEE; background: rgba(42, 171, 238, 0.1); }
.rp-x4 { border: 1px solid rgba(153, 69, 255, 0.4); color: #d0aaff; background: rgba(153, 69, 255, 0.1); }


.text-highlight { color: #0ECB81; } 
.text-gold { color: #F0B90B; }      
.text-white { color: #ffffff !important; }
.text-up { color: #0ECB81; }
.text-down { color: #F6465D; }


.text-discord { 
    color: #00FF99 !important;
   
    text-shadow: none !important;
}



.ai-cell-micro {
    display: flex; flex-direction: column; justify-content: center;
    gap: 3px; padding: 0 4px; font-family: inherit;
    width: 100%; max-width: 130px; margin: 0 auto; position: relative;
}


.ai-pred-val-micro {
    font-size: 0.7rem; font-weight: 800; color: #ffd700;
    line-height: 1; margin-bottom: 3px; cursor: help;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}


.track-micro {
    display: flex; width: 100%; height: 16px;
    border-radius: 99px; overflow: hidden; cursor: pointer;
    background: #2c3e50; border: 1px solid rgba(255,255,255,0.1);
}


.seg-micro {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.85);
    transition: all 0.2s ease; position: relative;
}


.bg-mic-low { background-color: #c0392b; }
.bg-mic-match { background-color: #2980b9; }
.bg-mic-high { background-color: #27ae60; }


.seg-micro:hover { filter: brightness(1.2); color: #fff; }


.seg-micro.active {
    filter: brightness(1.3);
    font-weight: 900;
    z-index: 1;
}


.seg-micro span { display: block; }
.seg-micro .icon-check { display: none; font-size: 10px; color: #fff; text-shadow: 0 0 4px rgba(0,0,0,0.5); }


.seg-micro.showing-check span { display: none; }
.seg-micro.showing-check .icon-check { display: block; animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }


.labels-micro {
    display: flex; justify-content: space-between; width: 100%;
    font-size: 9px; margin-top: 2px; font-weight: 700; letter-spacing: 0.3px;
}
.lbl-text-low { color: #e74c3c; opacity: 0.8; cursor: pointer; transition: 0.2s; }
.lbl-text-match { color: #3498db; opacity: 0.8; cursor: pointer; transition: 0.2s; }
.lbl-text-high { color: #2ecc71; opacity: 0.8; cursor: pointer; transition: 0.2s; }
.lbl-text-low:hover, .lbl-text-match:hover, .lbl-text-high:hover { opacity: 1; text-decoration: underline; }


.popup-micro {
    display: none; position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    background: #111; border: 1px solid #555; padding: 3px; border-radius: 4px; z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}
.popup-micro.show { display: flex; gap: 3px; animation: fadeIn 0.15s; }
.mic-input { width: 55px; background: #000; border: 1px solid #444; color: #fff; font-size: 10px; text-align: center; border-radius: 2px; }
.mic-btn { background: #333; color: #fff; border: 1px solid #444; font-size: 9px; cursor: pointer; padding: 0 8px; border-radius: 2px; }
.mic-btn:hover { background: #3498db; border-color: #3498db; }

@keyframes popIn { 0% {transform: scale(0);} 80% {transform: scale(1.3);} 100% {transform: scale(1);} }
@keyframes fadeIn { from{opacity:0; transform:translate(-50%, 5px);} to{opacity:1; transform:translate(-50%, 0);} }




.custom-cyber-tooltip {
    z-index: 10000 !important;
    opacity: 1 !important;
}


.custom-cyber-tooltip .tooltip-inner {
    background: rgba(18, 22, 31, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    
    border: 1px solid rgba(255, 255, 255, 0.15);
   
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6); 
        
    border-radius: 12px;
    padding: 12px 14px;
    
   
    width: 280px; 
    max-width: 280px; 
    
    font-family: inherit;
    color: #e0e0e0;
}


.custom-cyber-tooltip .tooltip-arrow::before {
    background: rgba(18, 22, 31, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}


.cyber-tip-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.cyber-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
   
    color: #00f2ea; 
   
    text-shadow: none; 
    
   
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 2px;
}


.cyber-tip-header i {
    font-size: 1rem;
   
    filter: none;
    color: #00f2ea;
}


.cyber-tip-body {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    
   
    text-align: justify; 
    text-justify: inter-word;
}


.radar-tabs-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.radar-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.radar-tab.active {
    color: #00f2ea;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
}


.radar-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00f2ea;
    box-shadow: 0 0 8px #00f2ea;
}

.text-secondary { color: #6c757d !important; }




.health-table th:first-child {
    text-align: left !important;
    padding-left: 15px !important; 
}


.token-cell-wrapper {
    justify-content: flex-start !important; 
    padding-left: 5px !important;
}


.token-info-col {
    align-items: flex-start !important; 
    text-align: left !important;
}


.token-name-row {
    justify-content: flex-start !important;
}


.token-sub-row {
    justify-content: flex-start !important;
}


#calendar-wrapper {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    
   
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
#calendar-wrapper::-webkit-scrollbar { 
    display: none; 
}


.date-box {
    flex: 0 0 auto;
    min-width: 85px;
}



.health-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background-color: #161a1e !important;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}


.health-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #161a1e !important;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    border-right: 1px solid rgba(255,255,255,0.05);
}


@media (max-width: 768px) {
   
    .sort-icon, 
    .fa-pencil-alt, 
    .contract-box i,
    .btn-sm {
        padding: 10px !important;
        margin: -5px !important;
        cursor: pointer;
    }
    
   
    .health-table th {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}


.overlay-clone {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10000 !important;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8) !important;
    margin: 0 !important;
    animation: popupFadeIn 0.2s ease-out forwards;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translate(-50%, -45%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}


.btn-close-overlay {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: #ff4d4d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10001;
    font-size: 1.2rem;
    border: 2px solid #fff;
    transition: transform 0.2s;
}

.btn-close-overlay:hover {
    transform: scale(1.1);
    background: #ff0000;
}


.tour-card.active-card {
   
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10000 !important;
    margin: 0 !important;

   
    width: 360px !important; 
    max-width: 95vw !important;
    
   
    height: auto !important;
    max-height: 85vh !important;
    min-height: 500px !important;

   
    background: #161a1e !important;
    border: 1px solid rgba(0, 240, 255, 0.5) !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.95) !important;
    border-radius: 12px !important;
    
   
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


@media (max-height: 500px) {
    .tour-card.active-card {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        max-width: 600px !important;
    }
}




.tour-card.active-card .card-list {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-bottom: 10px !important;
}


.tour-card.active-card .mini-chart-wrapper {
    flex: 1 !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
}


.tour-card.active-card canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px !important;
}



#maintenance-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0b0c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.maintenance-content {
    padding: 2rem;
    max-width: 600px;
}


#maintenance-screen h1 {
    font-family: sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}


#maintenance-screen p {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 3rem;
    line-height: 1.6;
}


.loader {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #00ff88;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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




.market-ticker-bar {
    background: rgba(11, 14, 17, 0.95);
    border-bottom: 1px solid #2b3139;
    padding: 10px 0;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow-x: auto;
}

.ticker-item {
    display: inline-flex;
    flex-direction: column;
    padding: 0 15px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.ticker-label { font-size: 0.7rem; color: #848e9c; letter-spacing: 0.5px; }
.ticker-val { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.1rem; color: #eaecef; }


.text-purple { color: #bb86fc !important; }
.text-blue { color: #00b8ff !important; }
.text-up { color: #0ecb81 !important; }
.text-down { color: #f6465d !important; }


.market-table-container {
    background: #161a1e;
    border-radius: 8px;
    border: 1px solid #2b3139;
    overflow: hidden;
    margin-bottom: 30px;
}

.market-table th {
    background: #1e2329;
    color: #848e9c;
    font-size: 0.75rem;
    padding: 12px;
    border-bottom: 1px solid #2b3139;
}

.market-table td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #2b3139;
    font-size: 0.9rem;
    color: #eaecef;
}

.market-table tr:hover { background-color: #2b3139; cursor: pointer; }


.source-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    background: #2b3139;
    color: #848e9c;
}
.source-mix { background: rgba(252, 213, 53, 0.15); color: #fcd535; border: 1px solid rgba(252, 213, 53, 0.3); }
.source-limit { background: rgba(187, 134, 252, 0.15); color: #bb86fc; border: 1px solid rgba(187, 134, 252, 0.3); }


.nav-pills-custom .nav-link {
    color: #848e9c;
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.9rem;
}
.nav-pills-custom .nav-link.active {
    background-color: #fcd535;
    color: #000;
}

