.damege-culc-gyro-ball-wrap[hidden] {
    display: none;
}

.damege-culc-gyro-ball-numbers .damege-culc-move-times-col {
    align-items: stretch;
}

.damege-culc-gyro-ball-numbers .damege-culc-move-times-label,
.damege-culc-gyro-ball-numbers .damege-culc-move-times-controls {
    align-self: center;
}

.damege-culc-gyro-ball-numbers .damege-culc-gyro-ball-number-preset {
    align-self: center;
    margin-top: 0.15rem;
}

.damege-culc-gyro-ball-wrap .damege-culc-status-preset-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.damege-culc-gyro-ball-wrap .damege-culc-status-preset-button:disabled:hover {
    transform: none;
}

.damege-culc-gyro-ball-rank {
    width: 100%;
    margin-top: 0.35rem;
    box-sizing: border-box;
}

.damege-culc-gyro-ball-rank .damege-culc-slider-row {
    margin: 0;
    gap: 0.25rem;
}

.damege-culc-gyro-ball-rank .damege-culc-slider-label,
.damege-culc-gyro-ball-rank .damege-culc-slider-value {
    font-size: 0.8rem;
}

.damege-culc-gyro-ball-rank .damege-culc-slider-step-button {
    width: 1.7rem;
    min-width: 1.7rem;
    height: 1.7rem;
}

.damege-culc-gyro-ball-mod-toggles {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.45rem;
    box-sizing: border-box;
}

.damege-culc-gyro-ball-mod-toggles .damege-culc-quick-toggle {
    width: 100%;
}

.damege-culc-gyro-ball-corrected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.45rem;
    box-sizing: border-box;
}

.damege-culc-gyro-ball-corrected-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
}

.damege-culc-gyro-ball-corrected-value {
    font-size: 1rem;
    font-weight: 700;
    color: #4f46e5;
    font-variant-numeric: tabular-nums;
}

.damege-culc-gyro-ball-input {
    width: 3.5rem;
    min-width: 3.5rem;
    margin: 0;
    padding: 0.15rem 0.2rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-family: inherit;
    line-height: 1.3;
    box-sizing: border-box;
    appearance: textfield;
    -moz-appearance: textfield;
}

.damege-culc-gyro-ball-input::-webkit-outer-spin-button,
.damege-culc-gyro-ball-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.damege-culc-gyro-ball-input:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
    border-color: #2563eb;
}

@media (max-width: 767px) {
    .damege-culc-gyro-ball-numbers {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .damege-culc-gyro-ball-numbers .damege-culc-move-times-col {
        width: 100%;
    }

    .damege-culc-gyro-ball-mod-toggles {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .damege-culc-gyro-ball-mod-toggles .damege-culc-quick-toggle {
        width: auto;
        flex: 1 1 0;
    }
}
