body {
    overflow-x: hidden;
    width: 100%;
}

.planetary-container {
    border: 1px solid #ffffff06;
    border-radius: 20px;
    position: relative;
}

.planetary-chart-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: 50vh;
    max-height: 600px;
    overflow: visible;
    z-index: 1;
}

#three-canvas {
    display: block;
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130% !important;
    height: 130% !important;
    pointer-events: none;
    z-index: 0;
}

.interaction-zone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    touch-action: none;
    cursor: default;
    background: rgba(0, 0, 0, 0);
}

.interaction-zone.active-3d {
    cursor: grab;
    touch-action: none;
    pointer-events: auto;
}

.interaction-zone.active-3d:active {
    cursor: grabbing;
}

.planetary-inner-chart {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.planetary-inner-chart>canvas {
    border-radius: inherit;
    display: block;
}

.view-lock-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.view-lock-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.view-lock-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 1));
}

.planet-label-3d {
    position: absolute;
    transform: translate(-50%, -100%);
    pointer-events: none;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 5px #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 15;
    will-change: left, top;
}

.planet-label-3d.visible {
    opacity: 1;
}

.planet-label-content {
    background: linear-gradient(90deg,
            rgb(24, 24, 33) 0%,
            rgb(30, 24, 33) 50%,
            rgb(31, 24, 29) 100%);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}