/**
 * Shared chart styles
 * Used by individual chart pages and generated index/toplist pages
 */

.chart-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 800px;
    height: 533px;
    margin: 20px auto;
}

.chart-inner {
    width: 100%;
    height: 100%;
}

.download-btn {
    position: absolute;
    top: -8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #666;
    padding: 8px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s;
    z-index: 10;
}

.download-btn:hover {
    color: #e3c91a;
}

/* For standalone chart pages */
.chart-page {
    background: #1a1a1a;
    margin: 20px;
    font-family: sans-serif;
}

/* Grid layout for multiple charts */
.charts-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}
