        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #0f1419;
            color: #fff;
            padding: 0;
            min-height: 100vh;
        }

        /* ============================================ */
        /* KMAN TRACKER - STANDARD HEADER (ALL PAGES)  */
        /* ============================================ */
        .kman-header {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
            padding: 20px 30px;
            margin: 15px;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            overflow: hidden;
        }

        .kman-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" y="50" width="50" height="50"/></svg>');
            opacity: 0.3;
        }

        .kman-header-left {
            display: flex;
            align-items: center;
            gap: 20px;
            position: relative;
            z-index: 1;
        }

        .kman-logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid rgba(255,255,255,0.3);
            box-shadow: 0 6px 20px rgba(0,0,0,0.4);
            object-fit: cover;
        }

        .kman-header-text h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8em;
            margin-bottom: 2px;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            color: #fff;
            letter-spacing: 1px;
        }

        .kman-header-text .kman-subtitle {
            font-family: 'Rajdhani', sans-serif;
            color: rgba(255,255,255,0.9);
            font-size: 0.95em;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .kman-header-nav {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }

        .kman-nav-btn {
            font-family: 'Rajdhani', sans-serif;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 0.9em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            letter-spacing: 0.5px;
        }

        .kman-nav-btn:hover {
            transform: scale(1.05);
        }

        .kman-nav-btn.nav-tracker { background: #10b981; }
        .kman-nav-btn.nav-tracker:hover { background: #059669; }
        .kman-nav-btn.nav-tracker.active { background: #059669; box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }

        .kman-nav-btn.nav-crypto { background: #f97316; }
        .kman-nav-btn.nav-crypto:hover { background: #ea580c; }
        .kman-nav-btn.nav-crypto.active { background: #ea580c; box-shadow: 0 0 15px rgba(249, 115, 22, 0.5); }

        .kman-nav-btn.nav-etf { background: #8b5cf6; }
        .kman-nav-btn.nav-etf:hover { background: #7c3aed; }
        .kman-nav-btn.nav-etf.active { background: #7c3aed; box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }

        .kman-nav-btn.nav-briefing { background: #f59e0b; }
        .kman-nav-btn.nav-briefing:hover { background: #d97706; }
        .kman-nav-btn.nav-briefing.active { background: #d97706; box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }

        .kman-nav-btn.nav-research { background: #ec4899; }
        .kman-nav-btn.nav-research:hover { background: #db2777; }
        .kman-nav-btn.nav-research.active { background: #db2777; box-shadow: 0 0 15px rgba(236, 72, 153, 0.5); }

        .kman-nav-btn.nav-heatmap { background: #ef4444; }
        .kman-nav-btn.nav-heatmap:hover { background: #dc2626; }
        .kman-nav-btn.nav-heatmap.active { background: #dc2626; box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }

        .kman-nav-btn.nav-settings { background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.3); }
        .kman-nav-btn.nav-settings:hover { background: rgba(255,255,255,0.3); }

        .kman-nav-btn.nav-auth { background: #10b981; border: 2px solid rgba(255,255,255,0.3); }
        .kman-nav-btn.nav-auth:hover { background: #059669; }
        .kman-nav-btn.nav-auth.logged-in { background: #3b82f6; }

        .kman-nav-btn.nav-subscribe { background: linear-gradient(135deg, #f59e0b, #d97706); border: 2px solid rgba(255,255,255,0.3); animation: subscribeGlow 2s ease-in-out infinite; }
        .kman-nav-btn.nav-subscribe:hover { background: linear-gradient(135deg, #d97706, #b45309); }
        
        @keyframes subscribeGlow {
            0%, 100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
            50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.8); }
        }

        @media (max-width: 768px) {
            .kman-header {
                padding: 15px;
                margin: 10px;
                flex-direction: column;
                text-align: center;
            }

            .kman-header-left {
                flex-direction: column;
                gap: 12px;
            }

            .kman-logo {
                width: 70px;
                height: 70px;
            }

            .kman-header-text h1 {
                font-size: 1.5em;
            }

            .kman-header-nav {
                justify-content: center;
            }

            .kman-nav-btn {
                padding: 8px 14px;
                font-size: 0.85em;
            }
        }

        @media (max-width: 480px) {
            .kman-header-nav {
                flex-direction: column;
                width: 100%;
            }

            .kman-nav-btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* ============================================ */
        /* SCROLLING ETF TICKER                         */
        /* ============================================ */
        .etf-ticker-container {
            background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
            border-bottom: 1px solid #2d3748;
            border-top: 1px solid #2d3748;
            margin: 0 15px 15px 15px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        
        .etf-ticker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 12px;
            background: rgba(30, 64, 175, 0.15);
            border-bottom: 1px solid #2d3748;
        }
        
        .ticker-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.7em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #3b82f6;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .ticker-title-icon {
            font-size: 1.2em;
        }
        
        .ticker-status {
            font-size: 0.65em;
            color: #6b7280;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .ticker-live-dot {
            width: 6px;
            height: 6px;
            background: #10b981;
            border-radius: 50%;
            animation: tickerPulse 2s infinite;
        }
        
        @keyframes tickerPulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 4px #10b981; }
            50% { opacity: 0.5; box-shadow: none; }
        }
        
        .etf-ticker-wrapper {
            overflow: hidden;
            position: relative;
            height: 38px;
        }
        
        .etf-ticker-wrapper::before,
        .etf-ticker-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 40px;
            z-index: 2;
            pointer-events: none;
        }
        
        .etf-ticker-wrapper::before {
            left: 0;
            background: linear-gradient(90deg, #0d1117 0%, transparent 100%);
        }
        
        .etf-ticker-wrapper::after {
            right: 0;
            background: linear-gradient(90deg, transparent 0%, #0d1117 100%);
        }
        
        .etf-ticker-track {
            display: flex;
            align-items: center;
            height: 100%;
            animation: tickerScroll 60s linear infinite;
            width: max-content;
        }
        
        .etf-ticker-track:hover {
            animation-play-state: paused;
        }
        
        @keyframes tickerScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        .ticker-item {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            white-space: nowrap;
            border-right: 1px solid #2d3748;
            transition: background 0.2s;
            cursor: pointer;
        }
        
        .ticker-item:hover {
            background: rgba(59, 130, 246, 0.1);
        }
        
        .ticker-symbol {
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
            font-size: 0.85em;
            color: #fff;
        }
        
        .ticker-price {
            font-size: 0.8em;
            color: #9ca3af;
            font-variant-numeric: tabular-nums;
        }
        
        .ticker-change {
            font-weight: 600;
            font-size: 0.8em;
            padding: 2px 6px;
            border-radius: 4px;
            font-variant-numeric: tabular-nums;
        }
        
        .ticker-change.positive {
            color: #10b981;
            background: rgba(16, 185, 129, 0.15);
        }
        
        .ticker-change.negative {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.15);
        }
        
        .ticker-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 38px;
            color: #6b7280;
            font-size: 0.85em;
            gap: 8px;
        }
        
        .ticker-loading-spinner {
            width: 14px;
            height: 14px;
            border: 2px solid #2d3748;
            border-top-color: #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .main-content {
            padding: 20px;
            max-width: 1600px;
            margin: 0 auto;
        }
        
        .container {
            max-width: 1600px;
            margin: 0 auto;
        }
        
        
        
        
        
        .header-left {
            display: flex;
            align-items: center;
            gap: 25px;
            position: relative;
            z-index: 1;
        }
        
        .header-text h1 {
            font-size: 2.8em;
            margin-bottom: 5px;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header-text .subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 1.2em;
            font-weight: 500;
        }
        
        .header-right {
            display: flex;
            gap: 10px;
            position: relative;
            z-index: 1;
        }
        
        .manage-btn {
            font-family: 'Rajdhani', sans-serif;
            background: #10b981;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            letter-spacing: 0.5px;
        }
        
        .manage-btn:hover {
            background: #059669;
            transform: scale(1.05);
        }
        
        .watchlist-btn {
            font-family: 'Rajdhani', sans-serif;
            background: #3b82f6;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            letter-spacing: 0.5px;
        }
        
        .watchlist-btn:hover {
            background: #2563eb;
            transform: scale(1.05);
        }

        /* Watchlist Tabs */
        .watchlist-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        
        .watchlist-tab {
            font-family: 'Rajdhani', sans-serif;
            background: #252d3d;
            border: 1px solid #3d4555;
            color: #d1d5db;
            padding: 7px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.75em;
            font-weight: 600;
            transition: all 0.2s;
            letter-spacing: 0.3px;
        }
        
        .watchlist-tab:hover {
            background: #3d4555;
        }
        
        .watchlist-tab.active {
            background: #3b82f6;
            border-color: #3b82f6;
            color: white;
        }
        
        .add-watchlist-btn {
            background: transparent;
            border: 2px dashed #3d4555;
            color: #6b7280;
            padding: 7px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.75em;
        }
        
        .add-watchlist-btn:hover {
            border-color: #10b981;
            color: #10b981;
        }

        .status-bar {
            background: linear-gradient(135deg, #1a1f2e 0%, #1e2538 100%);
            padding: 8px 16px;
            border-radius: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid #2d3748;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .status-left {
            display: flex;
            gap: 6px;
        }
        
        .status-center {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .live-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(16, 185, 129, 0.15);
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid rgba(16, 185, 129, 0.3);
        }
        
        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #10b981;
            animation: livePulse 1.5s ease-in-out infinite;
            box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
        }
        
        .live-dot.connected {
            background: #10b981;
            box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
        }
        
        .live-dot.connecting {
            background: #f59e0b;
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
            animation: livePulse 0.8s ease-in-out infinite;
        }
        
        .live-dot.offline {
            background: #6b7280;
            box-shadow: none;
            animation: none;
        }
        
        @keyframes livePulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.6; transform: scale(0.9); }
        }
        
        .live-badge span {
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.75em;
            font-weight: 700;
            color: #10b981;
            letter-spacing: 1px;
        }
        
        .status-divider {
            width: 1px;
            height: 20px;
            background: #3d4555;
        }
        
        .status-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1px;
        }
        
        .update-label {
            font-size: 0.6em;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .update-time {
            font-size: 0.85em;
            font-weight: 600;
            color: #e5e7eb;
            font-variant-numeric: tabular-nums;
        }
        
        .countdown-time {
            font-size: 0.85em;
            font-weight: 600;
            color: #3b82f6;
            font-variant-numeric: tabular-nums;
        }
        
        .status-btn {
            font-family: 'Rajdhani', sans-serif;
            border: none;
            padding: 5px 12px;
            border-radius: 6px;
            font-size: 0.8em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            letter-spacing: 0.3px;
        }
        
        .status-btn:hover {
            transform: scale(1.03);
        }
        
        .watchlist-btn-sm {
            background: #3b82f6;
            color: white;
        }
        
        .watchlist-btn-sm:hover {
            background: #2563eb;
        }
        
        .manage-btn-sm {
            background: #10b981;
            color: white;
        }
        
        .manage-btn-sm:hover {
            background: #059669;
        }
        
        .status-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85em;
        }
        
        .status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #10b981;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        .grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
            margin-bottom: 20px;
        }
        
        @media (max-width: 1400px) {
            .grid { grid-template-columns: repeat(5, 1fr); }
        }
        
        @media (max-width: 1100px) {
            .grid { grid-template-columns: repeat(4, 1fr); }
        }
        
        @media (max-width: 900px) {
            .grid { grid-template-columns: repeat(3, 1fr); }
        }
        
        @media (max-width: 650px) {
            .grid { grid-template-columns: repeat(2, 1fr); }
        }
        
        @media (max-width: 450px) {
            .grid { grid-template-columns: 1fr; }
        }

        .card {
            background: linear-gradient(135deg, #1a1f2e 0%, #252d3d 100%);
            border-radius: 8px;
            padding: 10px;
            border: 1px solid #2d3748;
            transition: all 0.3s ease;
            position: relative;
            cursor: grab;
        }
        
        .card:active {
            cursor: grabbing;
        }
        
        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            border-color: #3b82f6;
        }
        
        .card.positive { border-left: 3px solid #10b981; }
        .card.negative { border-left: 3px solid #ef4444; }
        .card.dragging { 
            opacity: 0.5; 
            cursor: grabbing;
        }
        .card.drag-over { 
            border: 2px dashed #3b82f6; 
            transform: scale(1.02);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 5px;
        }
        
        .ticker-info { flex: 1; }
        
        .sector-label {
            color: #9ca3af;
            font-size: 0.6em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1px;
        }
        
        .ticker {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.1em;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.5px;
        }
        
        .leverage-badge {
            background: #3b82f6;
            color: white;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 0.6em;
            font-weight: 600;
        }
        
        .price-section { 
            margin: 6px 0; 
            min-height: 45px;
        }
        
        .price-row {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .price {
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.2em;
            font-weight: 700;
            margin-bottom: 1px;
            letter-spacing: -1px;
            font-variant-numeric: tabular-nums;
            min-width: 85px;
        }
        
        .extended-price-box {
            background: rgba(251, 191, 36, 0.15);
            border: 1px solid #fbbf24;
            border-radius: 4px;
            padding: 2px 5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 65px;
        }
        
        .extended-label {
            font-size: 0.5em;
            color: #fbbf24;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        .extended-price {
            font-size: 0.75em;
            font-weight: 700;
            color: #fbbf24;
            font-variant-numeric: tabular-nums;
        }
        
        .change {
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.85em;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
            font-variant-numeric: tabular-nums;
            min-width: 70px;
        }
        
        .change.positive { color: #10b981; }
        .change.negative { color: #ef4444; }
        
        .last-trade-time {
            display: flex;
            align-items: center;
            gap: 3px;
            margin-top: 4px;
            font-size: 0.6em;
            color: rgba(156, 163, 175, 0.6);
            font-weight: 500;
            font-variant-numeric: tabular-nums;
        }
        
        .last-trade-time::before {
            content: '🕐';
            font-size: 0.9em;
            opacity: 0.5;
        }

        .card-data-section {
            margin: 6px 0;
            padding: 5px 0;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        
        .card-data-row {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 0.65em;
            font-variant-numeric: tabular-nums;
        }
        
        .card-data-row:first-child { border-top: none; }
        
        .data-label {
            color: #6b7280;
            font-weight: 500;
        }
        
        .data-value {
            color: #d1d5db;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }
        
        .data-value.positive { color: #10b981; }
        .data-value.negative { color: #ef4444; }

        .high-low-bar {
            height: 3px;
            background: linear-gradient(90deg, #ef4444 0%, #6b7280 50%, #10b981 100%);
            border-radius: 2px;
            margin: 5px 0;
            position: relative;
        }
        
        .high-low-marker {
            position: absolute;
            width: 6px;
            height: 6px;
            background: #fff;
            border-radius: 50%;
            top: -1.5px;
            transform: translateX(-50%);
            box-shadow: 0 0 4px rgba(255,255,255,0.8);
            transition: left 0.3s ease;
        }

        .metrics-row {
            display: flex;
            justify-content: space-between;
            gap: 4px;
            margin-bottom: 4px;
            font-variant-numeric: tabular-nums;
        }
        
        .metric-item {
            flex: 1;
            text-align: center;
            background: rgba(0,0,0,0.2);
            padding: 3px 2px;
            border-radius: 4px;
            min-width: 0;
        }
        
        .metric-label {
            display: block;
            font-size: 0.5em;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 1px;
        }
        
        .metric-value {
            display: block;
            font-size: 0.65em;
            color: #e5e7eb;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }
        
        .metric-value.positive { color: #10b981; }
        .metric-value.negative { color: #ef4444; }
        .metric-value.high-vol { color: #f59e0b; }
        .metric-value.very-high-vol { color: #ef4444; animation: pulse 1s infinite; }

        .dollar-change {
            font-size: 0.7em;
            color: #9ca3af;
            margin-left: 5px;
            font-variant-numeric: tabular-nums;
        }
        
        .dollar-change.positive { color: #10b981; }
        .dollar-change.negative { color: #ef4444; }

        .arrow { font-size: 0.9em; }

        /* Price flash animation */
        @keyframes priceFlashUp {
            0% { background-color: transparent; }
            50% { background-color: rgba(16, 185, 129, 0.3); }
            100% { background-color: transparent; }
        }
        
        @keyframes priceFlashDown {
            0% { background-color: transparent; }
            50% { background-color: rgba(239, 68, 68, 0.3); }
            100% { background-color: transparent; }
        }
        
        .price-flash-up { animation: priceFlashUp 0.5s ease; }
        .price-flash-down { animation: priceFlashDown 0.5s ease; }

        /* WebSocket status */
        .ws-status {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: rgba(0,0,0,0.2);
            border-radius: 16px;
            font-size: 0.75em;
            font-weight: 500;
        }
        
        .ws-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ef4444;
            transition: background 0.3s;
        }
        
        .ws-dot.connected {
            background: #10b981;
            box-shadow: 0 0 8px #10b981;
            animation: pulse 2s infinite;
        }
        
        .ws-dot.connecting {
            background: #f59e0b;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .card-actions {
            display: flex;
            gap: 4px;
            margin-top: 5px;
        }
        
        .action-btn {
            font-family: 'Rajdhani', sans-serif;
            flex: 1;
            padding: 5px;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.65em;
            letter-spacing: 0.3px;
        }
        
        .chart-btn { background: #3b82f6; color: white; }
        .chart-btn:hover { background: #2563eb; }
        .info-btn { background: #8b5cf6; color: white; }
        .info-btn:hover { background: #7c3aed; }
        .news-btn { background: #f59e0b; color: #000; }
        .news-btn:hover { background: #d97706; }

        /* ETF Movers Strip - Compact Design */
        .etf-movers-strip {
            background: linear-gradient(135deg, #1a1f2e 0%, #252d3d 100%);
            border-radius: 12px;
            border: 1px solid #2d3748;
            margin-bottom: 10px;
            padding: 12px 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }
        
        .movers-section {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            min-width: 280px;
        }
        
        .movers-label {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.7em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 4px 8px;
            border-radius: 4px;
            white-space: nowrap;
        }
        
        .movers-label.gainers {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.3);
        }
        
        .movers-label.losers {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }
        
        .movers-list {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            align-items: center;
        }
        
        .mover-item {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 3px 8px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 4px;
            font-size: 0.75em;
            transition: all 0.2s;
        }
        
        .mover-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: scale(1.02);
        }
        
        .mover-ticker {
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
            color: #fff;
        }
        
        .mover-change {
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }
        
        .mover-change.positive { color: #10b981; }
        .mover-change.negative { color: #ef4444; }
        
        .movers-divider {
            width: 1px;
            height: 24px;
            background: #3d4555;
            margin: 0 8px;
        }
        
        .movers-stats {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-left: auto;
            padding-left: 12px;
            border-left: 1px solid #3d4555;
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1px;
        }
        
        .stat-label {
            font-size: 0.55em;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .stat-value {
            font-size: 0.85em;
            font-weight: 700;
        }
        
        .stat-value.positive { color: #10b981; }
        .stat-value.negative { color: #ef4444; }
        .stat-value.neutral { color: #fff; }
        
        @media (max-width: 900px) {
            .etf-movers-strip {
                flex-direction: column;
                align-items: stretch;
            }
            
            .movers-section {
                min-width: unset;
            }
            
            .movers-divider {
                display: none;
            }
            
            .movers-stats {
                margin-left: 0;
                padding-left: 0;
                border-left: none;
                padding-top: 8px;
                border-top: 1px solid #3d4555;
                justify-content: space-around;
            }
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.95);
            animation: fadeIn 0.3s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .modal.show {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* ============================================ */
        /* INFO MODAL STYLES */
        /* ============================================ */
        .info-modal-content {
            max-width: 700px !important;
            max-height: 85vh;
        }
        
        .info-body {
            padding: 10px 0;
            overflow-y: auto;
            max-height: calc(85vh - 100px);
        }
        
        .info-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px;
            gap: 15px;
            color: #9ca3af;
        }
        
        .info-header-section {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #2d3748;
        }
        
        .info-logo {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            background: #252d3d;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            flex-shrink: 0;
        }
        
        .info-logo img {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            object-fit: cover;
        }
        
        .info-header-details {
            flex: 1;
        }
        
        .info-name {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3em;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
            letter-spacing: 0.5px;
        }
        
        .info-exchange {
            font-size: 0.85em;
            color: #6b7280;
            margin-bottom: 8px;
        }
        
        .info-type-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.75em;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .info-type-badge.etf { background: #3b82f6; color: #fff; }
        .info-type-badge.stock { background: #10b981; color: #fff; }
        .info-type-badge.crypto { background: #f59e0b; color: #000; }
        .info-type-badge.index { background: #8b5cf6; color: #fff; }
        
        .info-description {
            background: #1e2533;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
            line-height: 1.6;
            color: #d1d5db;
            font-size: 0.95em;
        }
        
        .info-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .info-stat-card {
            background: #1e2533;
            border-radius: 10px;
            padding: 12px;
            text-align: center;
        }
        
        .info-stat-label {
            font-size: 0.7em;
            color: #6b7280;
            text-transform: uppercase;
            margin-bottom: 5px;
        }
        
        .info-stat-value {
            font-size: 1.1em;
            font-weight: 700;
            color: #fff;
        }
        
        .info-stat-value.positive { color: #10b981; }
        .info-stat-value.negative { color: #ef4444; }
        
        .info-section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85em;
            font-weight: 600;
            color: #9ca3af;
            text-transform: uppercase;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 1px solid #2d3748;
            letter-spacing: 0.5px;
        }
        
        .info-details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        .info-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 12px;
            background: #1e2533;
            border-radius: 6px;
        }
        
        .info-detail-label {
            color: #6b7280;
            font-size: 0.85em;
        }
        
        .info-detail-value {
            color: #e5e7eb;
            font-weight: 600;
            font-size: 0.85em;
        }
        
        .info-error {
            text-align: center;
            padding: 40px;
            color: #ef4444;
        }
        
        .info-error h3 {
            margin-bottom: 10px;
        }

        /* ============================================ */
        /* SUBSCRIPTION MODAL STYLES */
        /* ============================================ */
        .subscribe-modal-content {
            max-width: 700px !important;
            padding: 30px;
            background: linear-gradient(135deg, #1a1f2e 0%, #252d3d 100%);
            border-radius: 20px;
            border: 1px solid #3d4555;
        }
        
        .subscribe-plans {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 25px;
        }
        
        .subscribe-plan {
            background: #0f1419;
            border: 2px solid #2d3748;
            border-radius: 16px;
            padding: 25px;
            width: 280px;
            text-align: center;
            position: relative;
            transition: all 0.3s;
        }
        
        .subscribe-plan:hover {
            transform: translateY(-5px);
            border-color: #3b82f6;
        }
        
        .subscribe-plan.featured {
            border-color: #10b981;
            box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
        }
        
        .plan-badge {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.75em;
            font-weight: 700;
        }
        
        .plan-header h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4em;
            margin-bottom: 5px;
            color: #fff;
            letter-spacing: 0.5px;
        }
        
        .plan-price {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5em;
            font-weight: 800;
            color: #fff;
            margin: 15px 0;
        }
        
        .plan-price span {
            font-size: 0.35em;
            font-weight: 500;
            color: #9ca3af;
        }
        
        .plan-features {
            list-style: none;
            text-align: left;
            margin: 20px 0;
            padding: 0;
        }
        
        .plan-features li {
            padding: 8px 0;
            color: #d1d5db;
            font-size: 0.9em;
            border-bottom: 1px solid #1e2533;
        }
        
        .plan-features li:last-child {
            border-bottom: none;
        }
        
        .plan-btn {
            font-family: 'Rajdhani', sans-serif;
            display: block;
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 10px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            text-align: center;
            letter-spacing: 0.5px;
        }
        
        .plan-btn-basic {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
        }
        
        .plan-btn-basic:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }
        
        .plan-btn-premium {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
        }
        
        .plan-btn-premium:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
        }

        /* ============================================ */
        /* NEWS MODAL STYLES */
        /* ============================================ */
        .news-modal-content {
            max-width: 800px !important;
            max-height: 85vh;
        }
        
        .news-body {
            padding: 10px 0;
            overflow-y: auto;
            max-height: calc(85vh - 100px);
        }
        
        .news-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px;
            gap: 15px;
            color: #9ca3af;
        }
        
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .news-item {
            background: #1e2533;
            border-radius: 10px;
            padding: 15px;
            border: 1px solid #2d3748;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .news-item:hover {
            border-color: #3b82f6;
            transform: translateY(-2px);
        }
        
        .news-item-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 10px;
        }
        
        .news-source {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #252d3d;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.75em;
            color: #9ca3af;
            flex-shrink: 0;
        }
        
        .news-source img {
            width: 16px;
            height: 16px;
            border-radius: 3px;
        }
        
        .news-date {
            font-size: 0.75em;
            color: #6b7280;
            flex-shrink: 0;
        }
        
        .news-headline {
            font-size: 1em;
            font-weight: 600;
            color: #fff;
            line-height: 1.4;
            margin-bottom: 8px;
        }
        
        .news-summary {
            font-size: 0.85em;
            color: #9ca3af;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px solid #2d3748;
        }
        
        .news-sentiment {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.75em;
            font-weight: 600;
        }
        
        .news-sentiment.positive {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }
        
        .news-sentiment.negative {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
        
        .news-sentiment.neutral {
            background: rgba(107, 114, 128, 0.2);
            color: #9ca3af;
        }
        
        .news-read-more {
            font-size: 0.8em;
            color: #3b82f6;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .news-related {
            font-size: 0.75em;
            color: #6b7280;
        }
        
        .news-empty {
            text-align: center;
            padding: 40px;
            color: #6b7280;
        }
        
        .news-empty h3 {
            margin-bottom: 10px;
            color: #9ca3af;
        }
        
        .news-error {
            text-align: center;
            padding: 40px;
            color: #ef4444;
        }
        
        .news-error h3 {
            margin-bottom: 10px;
        }

        /* ============================================ */
        /* CHART MODAL STYLES */
        /* ============================================ */
        #chart-modal .modal-content {
            max-width: 95vw;
            width: 95vw;
            height: 90vh;
            max-height: 90vh;
            padding: 15px;
            display: flex;
            flex-direction: column;
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            border-bottom: 1px solid #2d3748;
            margin-bottom: 10px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .chart-title-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .chart-ticker {
            font-size: 1.3em;
            font-weight: 700;
            color: #fff;
        }
        
        .chart-interval-badge {
            background: #2d3748;
            color: #9ca3af;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.85em;
            font-weight: 600;
        }
        
        .chart-live-dot {
            color: #10b981;
            font-size: 0.9em;
            animation: livePulse 1.5s ease-in-out infinite;
        }
        
        .chart-ohlc-bar {
            display: flex;
            gap: 12px;
            font-size: 0.9em;
            align-items: center;
            background: rgba(45, 55, 72, 0.5);
            padding: 5px 12px;
            border-radius: 6px;
        }
        
        .ohlc-item {
            display: flex;
            gap: 4px;
            align-items: center;
        }
        
        .ohlc-label {
            color: #6b7280;
            font-size: 0.85em;
        }
        
        .ohlc-value {
            color: #e5e7eb;
            font-weight: 600;
            font-family: 'Consolas', 'Monaco', monospace;
        }
        
        .ohlc-value.ohlc-high {
            color: #10b981;
        }
        
        .ohlc-value.ohlc-low {
            color: #ef4444;
        }
        
        .ohlc-change {
            gap: 6px !important;
        }
        
        .ohlc-change .ohlc-value {
            color: #10b981;
        }
        
        .ohlc-change.negative .ohlc-value {
            color: #ef4444;
        }
        
        .chart-date-display {
            color: #9ca3af;
            font-size: 0.8em;
            background: rgba(45, 55, 72, 0.5);
            padding: 4px 10px;
            border-radius: 4px;
        }
        
        .chart-controls {
            display: flex;
            gap: 20px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .timeframe-group {
            display: flex;
            gap: 5px;
            align-items: center;
        }
        
        .timeframe-label {
            font-size: 0.75em;
            color: #6b7280;
            margin-right: 5px;
            text-transform: uppercase;
        }
        
        .timeframe-btn {
            background: #252d3d;
            border: 1px solid #3d4555;
            color: #9ca3af;
            padding: 6px 10px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.75em;
            font-weight: 600;
            transition: all 0.2s;
        }
        
        .timeframe-btn:hover {
            background: #3d4555;
            color: #fff;
        }
        
        .timeframe-btn.active {
            background: #3b82f6;
            border-color: #3b82f6;
            color: #fff;
        }
        
        .chart-reset-btn {
            background: #374151;
            border: 1px solid #4b5563;
            color: #d1d5db;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1em;
            transition: all 0.2s;
            margin-left: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .chart-reset-btn:hover {
            background: #3b82f6;
            color: #fff;
            border-color: #3b82f6;
            transform: rotate(-45deg);
        }
        
        .chart-close-btn {
            background: #ef4444;
            border: none;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            font-size: 1.2em;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        
        .chart-close-btn:hover {
            background: #dc2626;
            transform: scale(1.1);
        }
        
        .chart-container {
            flex: 1;
            min-height: 0;
            background: #131722;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        #main-chart {
            width: 100%;
            height: 100%;
        }
        
        .chart-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            color: #9ca3af;
        }
        
        .chart-loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #2d3748;
            border-top-color: #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .chart-error {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #ef4444;
        }
        
        .chart-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 10px;
            border-top: 1px solid #2d3748;
            margin-top: 10px;
            font-size: 0.8em;
            color: #6b7280;
        }
        
        #chart-live-status {
            animation: livePulse 1.5s ease-in-out infinite;
            font-weight: 600;
        }
        
        @keyframes livePulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }
        
        .chart-data-info {
            display: flex;
            gap: 15px;
        }

        .modal-content {
            background: #1a1f2e;
            padding: 25px;
            border-radius: 20px;
            width: 95%;
            max-width: 1200px;
            max-height: 95vh;
            overflow-y: auto;
            position: relative;
            border: 2px solid #3b82f6;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .modal-title-section { display: flex; flex-direction: column; }
        
        .modal-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.2em;
            font-weight: 700;
            color: #fff;
            letter-spacing: 1px;
        }
        
        .modal-subtitle {
            color: #9ca3af;
            font-size: 1em;
            margin-top: 5px;
        }
        
        .close-btn {
            font-family: 'Rajdhani', sans-serif;
            background: #ef4444;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            letter-spacing: 0.5px;
        }
        
        .close-btn:hover {
            background: #dc2626;
            transform: scale(1.05);
        }

        /* Manage Modal */
        .manage-modal-content {
            background: #1a1f2e;
            padding: 30px;
            border-radius: 20px;
            width: 90%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            border: 2px solid #10b981;
        }
        
        .add-symbol-section {
            background: #252d3d;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 30px;
            border: 1px solid #3b82f6;
        }
        
        .add-symbol-section h3 {
            color: #10b981;
            margin-bottom: 20px;
            font-size: 1.5em;
        }
        
        .simple-add-form {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .ticker-input {
            flex: 1;
            background: #1a1f2e;
            border: 2px solid #2d3748;
            color: #fff;
            padding: 15px;
            border-radius: 10px;
            font-size: 1.2em;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .ticker-input:focus {
            outline: none;
            border-color: #3b82f6;
        }
        
        .add-btn {
            background: #10b981;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }
        
        .add-btn:hover {
            background: #059669;
            transform: scale(1.05);
        }
        
        .help-text {
            color: #9ca3af;
            font-size: 0.9em;
            line-height: 1.5;
            background: #1a1f2e;
            padding: 15px;
            border-radius: 10px;
            border: 1px solid #2d3748;
        }
        
        .symbols-list {
            background: #252d3d;
            padding: 20px;
            border-radius: 15px;
            border: 1px solid #2d3748;
        }
        
        .symbols-list h3 {
            color: #3b82f6;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        
        .symbol-item {
            background: #1a1f2e;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid #2d3748;
        }
        
        .symbol-info { flex: 1; }
        
        .symbol-ticker {
            font-size: 1.2em;
            font-weight: 700;
            color: #fff;
            margin-bottom: 3px;
        }
        
        .symbol-details {
            font-size: 0.9em;
            color: #9ca3af;
        }
        
        .delete-btn {
            background: #ef4444;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .delete-btn:hover { background: #dc2626; }

        /* Watchlist Item Styles */
        .watchlist-item {
            background: #1a1f2e;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid #2d3748;
        }
        
        .watchlist-name {
            font-size: 1.1em;
            font-weight: 600;
            color: #fff;
        }
        
        .watchlist-count {
            font-size: 0.85em;
            color: #9ca3af;
        }
        
        .delete-watchlist-btn {
            background: #ef4444;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8em;
            font-weight: 600;
            cursor: pointer;
        }
        
        .delete-watchlist-btn:hover { background: #dc2626; }

        /* Info Modal Placeholder */
        .info-placeholder {
            text-align: center;
            padding: 60px 20px;
            color: #9ca3af;
        }
        
        .info-placeholder h2 {
            font-size: 2em;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .info-placeholder p {
            font-size: 1.1em;
            line-height: 1.6;
        }
        
        /* ============================================ */
        /* INDEX TICKER - Simple compact text strip   */
        /* ============================================ */
        .index-ticker-strip {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 16px;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #1a1f2e 0%, #151922 100%);
            border-radius: 10px;
            border: 1px solid #2d3748;
            flex-wrap: wrap;
        }
        
        .index-ticker-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            background: rgba(255,255,255,0.03);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
        }
        
        .index-ticker-item:hover {
            background: rgba(59, 130, 246, 0.15);
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        .index-ticker-name {
            font-size: 0.85em;
            font-weight: 700;
            color: #9ca3af;
            min-width: 45px;
        }
        
        .index-ticker-price {
            font-size: 0.95em;
            font-weight: 600;
            color: #fff;
            font-variant-numeric: tabular-nums;
        }
        
        .index-ticker-change {
            font-size: 0.85em;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            padding: 2px 6px;
            border-radius: 4px;
        }
        
        .index-ticker-change.positive {
            color: #10b981;
            background: rgba(16, 185, 129, 0.15);
        }
        
        .index-ticker-change.negative {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.15);
        }
        
        .index-ticker-divider {
            width: 1px;
            height: 20px;
            background: #2d3748;
        }
        
        @media (max-width: 768px) {
            .index-ticker-strip {
                gap: 6px;
                padding: 8px 12px;
            }
            .index-ticker-item {
                padding: 5px 10px;
                gap: 6px;
            }
            .index-ticker-name {
                font-size: 0.75em;
            }
            .index-ticker-price {
                font-size: 0.85em;
            }
            .index-ticker-change {
                font-size: 0.75em;
            }
            .index-ticker-divider {
                display: none;
            }
        }
        
        /* ============================================ */
        /* OLD INDEX CARD STYLES (keeping for fallback) */
        /* ============================================ */
        .index-card {
            border-left: 4px solid #f59e0b !important;
        }
        
        .tv-widget-container {
            min-height: 80px;
            margin: 10px 0;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .tv-widget-container .tradingview-widget-container {
            height: 100%;
        }
        
        .tv-widget-container .tradingview-widget-copyright {
            display: none !important;
        }
        
        .index-time-display {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px;
            margin: 5px 0;
            background: rgba(245, 158, 11, 0.1);
            border: 1px solid rgba(245, 158, 11, 0.3);
            border-radius: 8px;
        }
        
        .est-clock {
            font-size: 1em;
        }
        
        .est-time {
            font-size: 1.1em;
            font-weight: 600;
            color: #f59e0b;
            font-family: 'Courier New', monospace;
        }
        
        /* Index Stats Row */
        .index-stats-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 8px 12px;
            margin: 5px 0;
            background: rgba(30, 41, 59, 0.8);
            border-radius: 6px;
            font-size: 0.9em;
        }
        
        .index-stat {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .index-stat-divider {
            color: #64748b;
        }
        
        .index-change-arrow {
            font-size: 0.85em;
        }
        
        .index-change-pct {
            font-weight: 600;
        }
        
        .index-change-pct.positive {
            color: #10b981;
        }
        
        .index-change-pct.negative {
            color: #ef4444;
        }
        
        .index-vol-label {
            color: #94a3b8;
        }
        
        .index-volume {
            color: #e2e8f0;
            font-weight: 500;
        }
