        .silkx-chart {
        background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%);
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            max-height: 100%;
            position: relative;
            overflow: hidden;
        }
        /* ---- TOP ROW ---- */
        .top-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 10px;
            background: #0f1620;
            border-bottom: 1px solid #1a2634;
            flex-shrink: 0;
            gap: 6px;
            min-height: 32px;
            flex-wrap: nowrap;
        }
        .top-row .left-group {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            min-width: 0;
        }
        .top-row .right-group {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }
        .symbol-search-wrap {
            position: relative;
            min-width: 100px;
            flex: 1;
            max-width: 200px;
        }
        .symbol-search-wrap input {
            width: 100%;
            padding: 3px 26px 3px 8px;
            background: #1a2634;
            border: 1px solid #2a3a4a;
            border-radius: 4px;
            color: #d4e0f0;
            font-size: 11px;
            font-weight: 500;
            outline: none;
            font-family: inherit;
            height: 24px;
            transition: border-color 0.2s;
        }
        .symbol-search-wrap input:focus {
            border-color: #f0b90b;
        }
        .symbol-search-wrap input::placeholder {
            color: #5a6a7a;
        }
        .symbol-search-wrap .search-icon {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: #5a6a7a;
            font-size: 9px;
            pointer-events: none;
        }
        .symbol-search-wrap .clear-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: #5a6a7a;
            font-size: 9px;
            cursor: pointer;
            display: none;
            background: none;
            border: none;
            padding: 0 2px;
        }
        .symbol-search-wrap .clear-btn:hover {
            color: #d4e0f0;
        }
        .symbol-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1a2634;
            border: 1px solid #2a3a4a;
            border-radius: 4px;
            margin-top: 2px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 100;
            display: none;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
        }
        .symbol-dropdown.open {
            display: block;
        }
        .symbol-dropdown .item {
            padding: 5px 10px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #2a3a4a;
            transition: background 0.1s;
            font-size: 11px;
            color: #d4e0f0;
        }
        .symbol-dropdown .item:last-child {
            border-bottom: none;
        }
        .symbol-dropdown .item:hover,
        .symbol-dropdown .item.active {
            background: #2a3a4a;
        }
        .symbol-dropdown .item .sym-key {
            font-weight: 600;
            font-family: monospace;
        }
        .symbol-dropdown .item .sym-label {
            color: #7f94aa;
            font-size: 10px;
            margin-left: 8px;
        }
        .symbol-dropdown .item .sym-price {
            color: #26a69a;
            font-family: monospace;
            font-size: 10px;
        }
        .symbol-dropdown .no-results {
            padding: 10px;
            text-align: center;
            color: #5a6a7a;
            font-size: 11px;
        }
        .top-row .opt-btn {
            display: flex;
            align-items: center;
            gap: 3px;
            background: #1a2634;
            padding: 2px 8px;
            border-radius: 4px;
            border: 1px solid #2a3a4a;
            cursor: pointer;
            font-size: 10px;
            font-weight: 500;
            color: #a0b0c0;
            transition: 0.1s;
            font-family: inherit;
            white-space: nowrap;
            height: 24px;
        }
        .top-row .opt-btn i {
            color: #f0b90b;
            font-size: 9px;
        }
        .top-row .opt-btn:active {
            background: #2a3a4a;
        }
        .top-row .tf-box {
            position: relative;
            width: 50px;
        }
        .top-row .tf-box select {
            width: 100%;
            padding: 2px 16px 2px 6px;
            background: #1a2634;
            border: 1px solid #2a3a4a;
            border-radius: 4px;
            color: #d4e0f0;
            font-size: 9px;
            font-weight: 500;
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            outline: none;
            font-family: inherit;
            height: 24px;
        }
        .top-row .tf-box select:focus {
            border-color: #f0b90b;
        }
        .top-row .tf-box::after {
            content: "\f0d7";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            color: #5a6a7a;
            font-size: 7px;
            pointer-events: none;
        }
        .top-row .live-price {
            display: flex;
            align-items: center;
            gap: 4px;
            background: #1a2634;
            padding: 2px 8px;
            border-radius: 4px;
            border: 1px solid #2a3a4a;
            font-size: 10px;
            font-weight: 600;
            color: #d4e0f0;
            white-space: nowrap;
            height: 24px;
        }
        .top-row .live-price i {
            font-size: 7px;
            color: #00c853;
        }
        .top-row .live-price .price-val {
            font-family: monospace;
            font-size: 11px;
        }
        .top-row .live-price .price-change {
            font-size: 9px;
            margin-left: 2px;
        }
        
        /* ---- CHART CONTAINER ---- */
        #chart-container {
            position: relative;
            width: 100%;
            flex: 1;
        background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%);
            overflow: hidden;
        }
        #tradingCanvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
        background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%);
            cursor: grab;
        }
        #tradingCanvas:active {
            cursor: grabbing;
        }
        .pair-label {
            position: absolute;
            top: 8px;
            left: 10px;
            background: rgba(10, 14, 20, 0.8);
            padding: 2px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            color: #d4e0f0;
            pointer-events: none;
            z-index: 5;
        }
        .pair-label small {
            color: #5a6a7a;
            font-weight: 400;
            font-size: 9px;
            margin-left: 4px;
        }
        .chart-stats {
            position: absolute;
            bottom: 6px;
            right: 10px;
            font-size: 9px;
            color: #4a5a6a;
            pointer-events: none;
            z-index: 5;
            background: rgba(10, 14, 20, 0.7);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
        }
        .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5a6a7a;
            font-size: 13px;
            background: rgba(10, 14, 20, 0.7);
            z-index: 10;
            pointer-events: none;
            transition: opacity 0.3s;
        }
        .loading-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .loading-overlay i {
            margin-right: 8px;
            font-size: 16px;
        }
        .toast {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(26, 38, 52, 0.9);
            padding: 4px 14px;
            border-radius: 4px;
            border: 1px solid #2a3a4a;
            color: #d4e0f0;
            font-size: 10px;
            font-weight: 500;
            z-index: 15;
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            white-space: nowrap;
        }
        .toast.visible {
            opacity: 1;
        }
        .toast i {
            margin-right: 4px;
        }
        .toast.success i {
            color: #00c853;
        }
        .toast.error i {
            color: #ff1744;
        }
        /* scrollbar */
        .symbol-dropdown::-webkit-scrollbar {
            width: 3px;
        }
        .symbol-dropdown::-webkit-scrollbar-track {
            background: #0a0e14;
        }
        .symbol-dropdown::-webkit-scrollbar-thumb {
            background: #2a3a4a;
            border-radius: 2px;
        }