/* NPS ROBOTICS — Share System v3.9.0 */

.nps-share {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 24px;
    padding: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 16px;
    background: rgba(5,18,32,.72);
    border: 1px solid rgba(93,180,255,.14);
    backdrop-filter: blur(12px);
}

.nps-course-share-wrap .nps-share {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.nps-share-label {
    margin-right: 2px;
    padding: 0 6px;
    color: #9fb3c5;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nps-share-btn {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .16s ease, opacity .16s ease;
}

.nps-share-btn:hover {
    transform: translateY(-1px);
}

.nps-share-btn:active {
    transform: translateY(0);
}

.nps-share-facebook {
    background: #1877f2;
}

.nps-share-line {
    background: #06c755;
}

.nps-share-copy {
    background: linear-gradient(135deg,#24384c,#17283a);
    border: 1px solid rgba(139,190,229,.18);
}

.nps-share-icon {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.nps-share-line .nps-share-icon {
    min-width: 26px;
    font-size: 6px;
    letter-spacing: -.04em;
}

.nps-share--compact {
    width: auto;
    margin: 12px 0 0;
    padding: 0;
    gap: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.nps-share--compact .nps-share-label {
    padding-left: 0;
}

.nps-share--compact .nps-share-btn {
    min-height: 30px;
    padding: 0 9px;
    border-radius: 9px;
    font-size: 8px;
}

.nps-share--compact .nps-share-icon {
    min-width: 15px;
    height: 15px;
    font-size: 9px;
}

.nps-share--compact .nps-share-line .nps-share-icon {
    min-width: 21px;
    font-size: 5px;
}

.nps-share-toast {
    position: fixed;
    left: 50%;
    bottom: 92px;
    z-index: 99999;
    max-width: min(90vw, 460px);
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(2,9,20,.94);
    border: 1px solid rgba(108,194,255,.22);
    box-shadow: 0 12px 38px rgba(0,0,0,.28);
    font-size: 10px;
    font-weight: 750;
    text-align: center;
}

.nps-achievement-title-link {
    color: inherit;
    text-decoration: none;
}

.nps-achievement-detail-link {
    display: inline-flex;
    margin-top: 10px;
    color: #73c8ff;
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 640px) {
    .nps-share {
        width: calc(100% - 24px);
        margin-top: 12px;
        margin-bottom: 18px;
        padding: 10px;
        gap: 6px;
    }

    .nps-course-share-wrap .nps-share {
        width: 100%;
    }

    .nps-share-label {
        width: 100%;
        margin-bottom: 1px;
    }

    .nps-share-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 34px;
        padding: 0 7px;
        font-size: 8px;
    }

    .nps-share--compact {
        width: 100%;
        margin-top: 10px;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .nps-share--compact .nps-share-label {
        grid-column: 1 / -1;
        width: auto;
        margin: 0 0 1px;
    }

    .nps-share--compact .nps-share-btn {
        width: 100%;
        min-width: 0;
        padding: 0 5px;
    }
}


/* ==========================================================
   Mobile Share UI Tune v3.9.3
   Compact icon-only controls on phones.
   ========================================================== */

@media (max-width: 640px) {

    .nps-share,
    .nps-share--compact {
        display: grid !important;
        grid-template-columns: auto repeat(3, 42px) !important;
        align-items: center !important;
        justify-content: start !important;
        gap: 8px !important;
    }

    .nps-share {
        width: calc(100% - 24px) !important;
        margin: 10px auto 16px !important;
        padding: 9px 10px !important;
        border-radius: 14px !important;
    }

    .nps-course-share-wrap .nps-share {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .nps-share--compact {
        width: 100% !important;
        margin-top: 9px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
    }

    .nps-share-label,
    .nps-share--compact .nps-share-label {
        grid-column: auto !important;
        width: auto !important;
        margin: 0 2px 0 0 !important;
        padding: 0 !important;
        font-size: 8px !important;
        white-space: nowrap !important;
    }

    .nps-share-btn,
    .nps-share--compact .nps-share-btn {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        border-radius: 11px !important;
        display: grid !important;
        place-items: center !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    .nps-share-btn > span:last-child {
        display: none !important;
    }

    .nps-share-icon,
    .nps-share--compact .nps-share-icon {
        min-width: 0 !important;
        width: auto !important;
        height: auto !important;
        font-size: 15px !important;
        line-height: 1 !important;
    }

    .nps-share-line .nps-share-icon,
    .nps-share--compact .nps-share-line .nps-share-icon {
        min-width: 0 !important;
        font-size: 7px !important;
        letter-spacing: -.04em !important;
    }

    .nps-share-copy .nps-share-icon {
        font-size: 17px !important;
    }

    .v3-whats-row,
    .v3-course-list-row {
        padding-bottom: 18px !important;
    }

    .v3-whats-copy,
    .v3-course-row-copy {
        min-width: 0 !important;
    }

    .v3-row-arrow {
        align-self: end !important;
        margin-bottom: 4px !important;
    }

    .nps-share-toast {
        bottom: 104px !important;
        max-width: calc(100vw - 32px) !important;
        font-size: 9px !important;
    }
}

@media (max-width: 390px) {
    .nps-share,
    .nps-share--compact {
        grid-template-columns: auto repeat(3, 38px) !important;
        gap: 7px !important;
    }

    .nps-share-btn,
    .nps-share--compact .nps-share-btn {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 36px !important;
        min-height: 36px !important;
    }
}
