.hero-insights-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.hero-insights-overlay.hidden {
    display: none;
}

.hero-insights-modal {
    background: #1a1a1a;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 95dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.hero-insights-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.hero-insights-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-insights-close:hover {
    color: #ff4444;
}

.hero-insights-body {
    padding: 20px;
    overflow-y: auto;
}

.hero-insights-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #242424;
    border-radius: 4px;
}

.hero-info-item {
    display: flex;
    gap: 10px;
}

.hero-info-label {
    color: #888;
    font-weight: 600;
}

.hero-info-value {
    color: #fff;
}

.hero-insights-grid-container {
    width: 100%;
}

.hero-range-grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    max-width: 500px;
    margin: 0 auto;
}

.hero-grid-square {
    aspect-ratio: 1;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.1s;
}

.hero-grid-square:hover {
    transform: scale(1.05);
    z-index: 10;
    border-color: #fff;
}

.hero-grid-label {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-grid-square.hero-current-hand {
    border: 3px solid #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-grid-square.expanded {
    z-index: 100;
}

.hero-square-details {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid #ffd700;
    border-radius: 4px;
    padding: 8px;
    min-width: 120px;
    margin-top: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-action-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-action-item {
    font-size: 12px;
    color: #fff;
    text-align: left;
}

/* Responsive */
@media (max-width: 700px) {
    .hero-insights-modal {
        max-height: 95dvh;
    }
    .hero-grid-label {
        font-size: 10px;
    }
}