 body {
    margin: 0;
    padding: 0;
    padding-top: 12px; /* Top space ko badhane ke liye */
    background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%);
    color: #e8edf5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px; /* Header ke andar vertical space badhane ke liye */
    margin-top: 4px;    /* Header ko thoda aur niche push karne ke liye */
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 50px;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

select {
    background: #1e2636;
    color: #e8edf5;
    border: 1px solid #2f3b52;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

select:focus {
    border-color: #4a6a9a;
    box-shadow: 0 0 0 2px rgba(74,106,154,0.3);
}

.price-display {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
    min-width: 110px;
    font-variant-numeric: tabular-nums;
}

.price-up { 
    color: #0ecb81; 
}

.price-down { 
    color: #f6465d; 
}

.price-change { 
    font-weight: 500; 
    font-size: 12px; 
    margin-left: 5px; 
}  .chart-wrap { flex: 1; position: relative; background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%) !important; overflow: hidden; }
    #chartCanvas { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%) !important; cursor: crosshair; touch-action: none; }
        .footer { font-size: 10px; color: #4a5a6a; padding: 3px 12px; background: transparent; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-shrink: 0; flex-wrap: wrap; gap: 2px 10px; min-height: 22px; }
        .footer .debug { color: #6a8a9a; font-family: monospace; font-size: 9px; }
        .footer .ok { color: #0ecb81; }
        .footer .err { color: #f6465d; }
        .footer {
    display: none !important;
}
        @media (max-width:480px) {
            .header { padding: 4px 6px; min-height:38px; }
            select { font-size:10px; padding:2px 6px; }
            .price-display { font-size:12px; min-width:70px; }
            .footer { font-size:8px; padding:2px 6px; min-height:18px; }
            .footer {
    display: none !important;
}
        }