/* DAS RAD — Maße 1:1 aus WheelView.jsx

   Aus `farbrad.css` herausgelöst, damit keine Datei über
   300 Zeilen wächst. Inhalt unverändert. */

.fr-buehne {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

.fr-erklaerung {
    flex: 1 1 320px;
    min-width: min(320px, 100%);
}

.fr-rad-platz {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    user-select: none;
    margin: 0 auto 20px auto;
}

#fr-rad {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#f00 0deg, #ff0 60deg, #0f0 120deg, #0ff 180deg, #00f 240deg, #f0f 300deg, #f00 360deg);
    cursor: crosshair;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    -webkit-mask-image: radial-gradient(transparent 84.5px, black 85px);
    mask-image: radial-gradient(transparent 84.5px, black 85px);
}

#fr-mitte {
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    pointer-events: none;
    transition: background .05s linear;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .2);
}

#fr-zeiger {
    position: absolute;
    top: 4px;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    transform-origin: 8px 106px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
    pointer-events: none;
}

#fr-sv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 4px;
    cursor: crosshair;
}

#fr-svpunkt {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.fr-regler {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.fr-schiene {
    height: 12px;
    width: 100%;
    border-radius: 6px;
    cursor: ew-resize;
    position: relative;
}

.fr-griff {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#fr-ton {
    background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}

#fr-alpha {
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .03) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, .03)),
        linear-gradient(45deg, rgba(255, 255, 255, .03) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, .03));
    background-position: 0 0, 6px 6px;
    background-size: 12px 12px;
    background-color: rgba(0, 0, 0, .15);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .3);
}

#fr-alphafarbe {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    pointer-events: none;
}
