html.ned-rating-open,
html.ned-rating-open body {
    overflow: hidden !important;
}

.ned-rating-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 195, 255, .14), transparent 42%),
        rgba(0, 8, 18, .76);
    backdrop-filter: blur(12px);
}

.ned-rating-gate.is-open {
    display: flex;
}

.ned-rating-card {
    position: relative;
    width: min(92vw, 420px);
    background:
        linear-gradient(145deg, rgba(13, 28, 48, .98), rgba(5, 14, 28, .98)),
        var(--ned-card-bg, rgba(9, 20, 38, .98));
    border: 1px solid rgba(59, 210, 255, .30);
    border-radius: 22px;
    padding: 26px 22px 24px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, .55),
        0 0 34px rgba(0, 183, 255, .12),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    color: var(--ned-text, #f5fbff);
    text-align: center;
    font-family: inherit;
    animation: nedRatingPop .18s ease-out;
    overflow: hidden;
}

.ned-rating-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(59, 210, 255, .10), transparent),
        radial-gradient(circle at 18% 0%, rgba(245, 190, 45, .16), transparent 34%);
    pointer-events: none;
}

@keyframes nedRatingPop {
    from { transform: scale(.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ned-rating-title {
    position: relative;
    font-weight: 900;
    font-size: 21px;
    color: var(--ned-text, #f5fbff);
    margin-bottom: 22px;
    letter-spacing: .02em;
}

.ned-rating-stars {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 27px;
}

.ned-rating-stars button {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(207, 225, 240, .72);
    font-size: clamp(38px, 10vw, 56px);
    line-height: 1;
    cursor: pointer;
    padding: 0;
    -webkit-text-stroke: 1px rgba(245, 190, 45, .85);
    text-shadow:
        0 0 14px rgba(0, 183, 255, .10),
        0 2px 0 rgba(0,0,0,.20);
    transition: transform .15s ease, color .15s ease, text-shadow .15s ease;
}

.ned-rating-stars button:hover {
    transform: translateY(-2px) scale(1.04);
}

.ned-rating-stars button.is-active {
    color: var(--ned-gold, #d8a81f);
    text-shadow:
        0 0 14px rgba(216, 168, 31, .38),
        0 0 24px rgba(0, 190, 255, .14);
}

.ned-rating-submit-row {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: stretch;
    max-width: 350px;
    margin: 0 auto;
    min-height: 54px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(216, 168, 31, .35);
    background: rgba(0, 0, 0, .22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.ned-rating-value {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(105deg, var(--ned-gold, #b98a15) 0%, #f4cf55 100%);
    color: #07111f;
    font-size: 19px;
    font-weight: 900;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    padding-right: 14px;
}

.ned-rating-submit {
    border: 0;
    background:
        linear-gradient(135deg, rgba(14, 31, 52, .96), rgba(4, 12, 24, .98));
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    padding: 0 20px;
    letter-spacing: .01em;
}

.ned-rating-submit:hover {
    background:
        linear-gradient(135deg, rgba(18, 46, 76, .98), rgba(7, 19, 36, .98));
}

.ned-rating-submit:disabled {
    opacity: .72;
    cursor: wait;
}

@media (max-width: 480px) {
    .ned-rating-card {
        width: min(92vw, 356px);
        padding: 22px 17px 20px;
        border-radius: 20px;
    }

    .ned-rating-title {
        font-size: 19px;
        margin-bottom: 20px;
    }

    .ned-rating-stars {
        gap: 5px;
        margin-bottom: 24px;
    }

    .ned-rating-submit-row {
        grid-template-columns: 96px 1fr;
        min-height: 50px;
    }

    .ned-rating-value {
        font-size: 17px;
    }

    .ned-rating-submit {
        font-size: 18px;
    }
}

.ned-rating-warning{color:#f4cf55!important;text-shadow:0 0 16px rgba(244,207,85,.35)!important;}
