@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --np-bg: #05070b;
    --np-bg-2: #080b11;
    --np-panel: rgba(10, 13, 20, 0.94);
    --np-panel-soft: rgba(15, 18, 27, 0.92);
    --np-line: rgba(255, 36, 138, 0.58);
    --np-line-soft: rgba(255, 36, 138, 0.22);
    --np-pink: #ff248a;
    --np-pink-2: #b6005d;
    --np-purple: #7f2cff;
    --np-text: #f7f7fb;
    --np-muted: #a5a6b2;
    --np-radius: 16px;
    --np-shadow: 0 0 0 1px rgba(255, 36, 138, 0.12), 0 14px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(255, 36, 138, 0.08);
}

html { scroll-behavior: smooth; }
body.np-home, body.np-inner {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 35% 5%, rgba(133, 0, 82, 0.12), transparent 24rem),
        radial-gradient(circle at 88% 28%, rgba(88, 20, 155, 0.08), transparent 24rem),
        linear-gradient(180deg, #030407 0%, #07090d 48%, #030406 100%);
    color: var(--np-text);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
body.np-home::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 42px 42px;
}
.np-debug {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 10000;
    padding: 8px 12px;
    border: 1px solid #ff248a;
    border-radius: 8px;
    background: #000;
    color: #ff6fb3;
    font: 12px/1.4 monospace;
}

.np-header {
    width: min(1460px, calc(100% - 40px));
    height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 235px 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.np-logo { display: inline-flex; align-items: center; }
.np-logo img { display: block; width: 205px; max-height: 60px; object-fit: contain; }
.np-nav { display: flex; justify-content: center; gap: 28px; align-items: stretch; height: 82px; }
.np-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #dddde5;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}
.np-nav a::after {
    content: '';
    position: absolute;
    left: 50%; right: 50%; bottom: 12px;
    height: 2px;
    background: var(--np-pink);
    box-shadow: 0 0 12px var(--np-pink);
    transition: left .2s ease, right .2s ease;
}
.np-nav a:hover, .np-nav a.active { color: #fff; }
.np-nav a:hover::after, .np-nav a.active::after { left: 0; right: 0; }
.np-social-top, .np-footer-social { display: flex; gap: 10px; }
.np-social-top a, .np-footer-social a {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: #fff;
    display: grid; place-items: center;
    text-decoration: none;
    transition: border-color .2s, color .2s, box-shadow .2s;
}
.np-social-top a:hover, .np-footer-social a:hover { color: var(--np-pink); border-color: var(--np-pink); box-shadow: 0 0 16px rgba(255,36,138,.25); }
.np-menu-button { display: none; border: 0; color: #fff; background: transparent; font-size: 24px; cursor: pointer; }

.np-shell { width: min(1460px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.np-player-card, .np-card, .np-panel, .np-recent-panel {
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    background: linear-gradient(145deg, rgba(14,16,24,.96), rgba(5,7,11,.98));
    box-shadow: var(--np-shadow);
}
.np-player-card {
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 52% 55%, rgba(255, 0, 106, .16), transparent 25%),
        radial-gradient(circle at 21% 28%, rgba(78, 0, 85, .20), transparent 30%),
        linear-gradient(145deg, rgba(12, 10, 18, .98), rgba(4, 6, 10, .98));
}
.np-player-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-radial-gradient(ellipse at 50% 45%, transparent 0 25px, rgba(255,36,138,.018) 26px 27px);
}
.np-player-main { padding: 24px 28px 18px; position: relative; z-index: 1; }
.np-live-row { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.np-live-badge {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--np-pink);
    border-radius: 6px;
    padding: 5px 9px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 0 16px rgba(255,36,138,.16);
}
.np-live-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--np-pink); box-shadow: 0 0 8px var(--np-pink); animation: npPulse 1.4s infinite; }
.np-live-text { color: var(--np-pink); font-weight: 700; font-size: 13px; }
@keyframes npPulse { 50% { opacity: .35; transform: scale(.8); } }
.np-player-content { display: grid; grid-template-columns: 140px 250px minmax(280px, 1fr) 220px; gap: 28px; align-items: center; }
.np-big-play {
    width: 104px; height: 104px; border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    background: radial-gradient(circle, rgba(255,36,138,.24), rgba(10,11,18,.92) 65%);
    box-shadow: 0 0 0 5px rgba(255,36,138,.09), 0 0 28px rgba(255,36,138,.55), inset 0 0 24px rgba(255,36,138,.16);
    cursor: pointer;
    font-size: 38px;
    display: grid; place-items: center;
    transition: transform .2s, box-shadow .2s;
}
.np-big-play:hover { transform: scale(1.035); box-shadow: 0 0 0 6px rgba(255,36,138,.11), 0 0 36px rgba(255,36,138,.7); }
.np-big-play.pause i::before { content: '\f04c'; }
.np-kicker { display: block; font-size: 10px; letter-spacing: .15em; color: #858795; font-weight: 700; margin-bottom: 7px; }
.np-stream-info { color: var(--np-pink); font-size: 19px; font-weight: 600; line-height: 1.25; min-height: 54px; }
.np-stream-info strong { color: #fff; font-size: 28px; font-family: 'Montserrat', sans-serif; display: inline-block; margin-top: 3px; }
.np-ghost-button {
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.025); color: #ddd;
    border-radius: 8px; padding: 8px 11px; cursor: pointer;
}
.np-ghost-button:hover { border-color: var(--np-pink); color: #fff; }
.np-visualizer { height: 110px; display: flex; gap: 5px; align-items: center; justify-content: center; overflow: hidden; }
.np-visualizer span {
    width: 4px; min-height: 8px; border-radius: 6px;
    background: linear-gradient(to top, #9d0057, #ff248a, #ff78b8);
    box-shadow: 0 0 10px rgba(255,36,138,.25);
    animation: npBars .9s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -47ms);
}
@keyframes npBars { from { height: 10%; opacity: .55; } to { height: 92%; opacity: 1; } }
.np-album-cover { width: 210px; height: 210px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,36,138,.7); box-shadow: 0 0 26px rgba(255,36,138,.16); justify-self: end; }
.np-album-cover img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; border-radius: 0 !important; padding: 0 !important; background: none !important; }
.np-player-bottom { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; }
.np-stream-quality { color: var(--np-muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.np-stream-quality i { color: var(--np-pink); }
.np-player-controls { display: flex; gap: 11px; align-items: center; }
.np-icon-button { width: 38px; height: 38px; border: 0; color: #fff; background: transparent; font-size: 17px; cursor: pointer; }
.np-volume-slider { -webkit-appearance: none; appearance: none; width: 150px; height: 4px; background: linear-gradient(90deg, var(--np-pink), #4b4c55); border-radius: 10px; outline: none; }
.np-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,36,138,.75); cursor: pointer; }
.np-volume-slider::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,36,138,.75); cursor: pointer; }

.np-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.np-card { padding: 21px; min-height: 214px; display: flex; flex-direction: column; }
.np-card-icon { color: var(--np-pink); font-size: 24px; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(255,36,138,.4)); }
.np-card h2, .np-panel h2 { margin: 0 0 8px; font-size: 17px; color: #f6d4e6; }
.np-card p { color: var(--np-muted); margin: 0 0 16px; font-size: 13px; line-height: 1.6; }
.np-primary-btn, .np-secondary-btn, .np-viber-btn {
    margin-top: auto;
    min-height: 40px;
    border: 1px solid rgba(255,36,138,.62);
    border-radius: 7px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #c50067, #8b004b);
    color: #fff;
    text-decoration: none;
    font: 600 13px/1 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 16px rgba(255,36,138,.12);
}
.np-primary-btn:hover, .np-viber-btn:hover { filter: brightness(1.12); }
.np-secondary-btn { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); }
.np-store-btn { display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 7px 11px; background: #030406; margin-top: auto; }
.np-store-btn i { font-size: 27px; }
.np-store-btn span { display: flex; flex-direction: column; font-size: 17px; line-height: 1.1; }
.np-store-btn small { font-size: 8px; letter-spacing: .04em; color: #c5c5ca; }

.np-secondary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "chat";
    gap: 16px;
    margin-top: 16px;
}

.np-panel {
    padding: 18px;
    height: 600px;
    min-height: 0;
    overflow: hidden;
}

.np-program-panel {
    grid-area: program;
    display: none;
}

.np-chat-panel {
    grid-area: chat;
}

.np-partners-panel {
    grid-area: partners;
    display: none;
}
.np-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.np-panel-heading > div { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: #f4c8de; }
.np-panel-heading i { color: var(--np-pink); }
.np-panel-heading a, .np-text-button { color: var(--np-muted); font-size: 11px; text-decoration: none; background: none; border: 0; cursor: pointer; }
.np-panel-heading a:hover, .np-text-button:hover { color: var(--np-pink); }
.np-broadcast-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.np-broadcast-list .program { border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025) !important; border-radius: 10px; padding: 9px; min-width: 0; position: relative; }
.np-broadcast-list .program.current { border-color: rgba(255,36,138,.55); box-shadow: inset 0 0 20px rgba(255,36,138,.04); }
.np-broadcast-list .program .label { position: absolute; top: 6px; right: 6px; color: var(--np-pink); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.np-broadcast-list .program-details { display: flex; gap: 9px; align-items: center; }
.np-broadcast-list .program-details img { width: 58px; height: 58px; object-fit: cover; border-radius: 7px; }
.np-broadcast-list .program .info { min-width: 0; color: var(--np-muted); font-size: 10px; line-height: 1.35; }
.np-broadcast-list .program .title { color: #fff; font-size: 11px; line-height: 1.25; }
.np-broadcast-list .program .time { color: #ff77b7; margin-top: 4px; }
.np-partners-panel .np-partner-logos {
    height: calc(100% - 34px);
    min-height: 170px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
}

.np-partners-panel .np-partner-logos img {
    width: 100%;
    height: 92px;
    object-fit: contain;
    background: rgba(255,255,255,.96);
    border-radius: 10px;
    padding: 7px;
}


/* Radio Party Mix Chat */

.np-chat-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 760px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255,36,138,.10),
            transparent 36%
        ),
        rgba(9,10,16,.92);
}

.np-chat-panel::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255,36,138,.13);
    filter: blur(42px);
    pointer-events: none;
}

.np-chat-heading {
    position: relative;
    z-index: 2;
}

.np-chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(255,36,138,.34);
    border-radius: 999px;
    background: rgba(255,36,138,.07);
    color: #ff86bd;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.np-chat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--np-pink);
    box-shadow: 0 0 10px rgba(255,36,138,.9);
}

.np-chat-shell {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.012)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 0 35px rgba(255,36,138,.018);
}

.np-chat-stage {
    flex: 1;
    min-height: 190px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.np-chat-welcome-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,36,138,.42);
    border-radius: 22px;
    color: #fff;
    font-size: 27px;
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,106,176,.36),
            rgba(255,36,138,.14) 45%,
            rgba(255,36,138,.025) 72%
        );
    box-shadow:
        0 0 30px rgba(255,36,138,.14),
        inset 0 0 22px rgba(255,36,138,.07);
}

.np-chat-welcome-copy {
    min-width: 0;
}

.np-chat-kicker {
    display: block;
    margin-bottom: 5px;
    color: #ff68ae;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}

.np-chat-welcome-copy h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
}

.np-chat-welcome-copy p {
    max-width: 390px;
    margin: 0;
    color: var(--np-muted);
    font-size: 11px;
    line-height: 1.55;
}

.np-chat-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.np-chat-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    color: #c8cad2;
    background: rgba(255,255,255,.025);
    font-size: 8px;
    font-weight: 700;
}

.np-chat-tags i {
    color: #ff5da8;
}

.np-chat-composer {
    margin: 0 10px 10px;
    min-height: 48px;
    padding: 5px;
    display: grid;
    grid-template-columns: 38px 1fr 40px;
    gap: 5px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(3,4,8,.58);
}

.np-chat-composer input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
}

.np-chat-composer input::placeholder {
    color: #6f727d;
}

.np-chat-emoji,
.np-chat-send {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 0;
}

.np-chat-emoji {
    color: #777b86;
    background: transparent;
}

.np-chat-send {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #ff248a,
            #b31263
        );
    box-shadow: 0 0 15px rgba(255,36,138,.20);
}

.np-chat-composer-disabled {
    opacity: .66;
}

.np-chat-composer-disabled button,
.np-chat-composer-disabled input {
    cursor: not-allowed;
}

.np-recent-panel { margin-top: 16px; padding: 15px 18px 18px; }
.np-song-list { width: 100% !important; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.np-song-list .song { margin: 0; min-width: 0; padding: 8px; border-radius: 9px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); box-shadow: none; display: flex; align-items: center; }
.np-song-list .song:hover { background: rgba(255,255,255,.075); }
.np-song-list .position { display: none; }
.np-song-list .song img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; border-radius: 6px; padding: 0; margin-right: 9px; background: none; }
.np-song-list .song-details { min-width: 0; }
.np-song-list .song-details h3 { width: auto; color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-song-list .song-details p { color: var(--np-muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-loading { color: var(--np-muted); font-size: 12px; padding: 8px; }

.np-modal { display: none; position: fixed; inset: 0; z-index: 5000; padding: 28px; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); overflow-y: auto; }
.np-modal.open { display: flex; align-items: flex-start; justify-content: center; }
.np-modal-dialog { width: min(620px, 100%); margin: 5vh auto; border: 1px solid var(--np-line); border-radius: 16px; background: #0b0d13; box-shadow: 0 0 60px rgba(255,36,138,.18); padding: 20px; }
.np-modal-large { width: min(850px, 100%); }
.np-modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.np-modal-head h2 { margin: 0; font-size: 22px; }
.np-modal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #fff; cursor: pointer; }
#greetFrame { width: 100%; min-height: 720px; margin-top: 10px; border-radius: 10px; background: #fff; }
.np-support-copy { color: var(--np-muted); margin: 20px 0; }
.np-support-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.np-support-actions form { margin: 0; }
.np-support-actions .np-primary-btn, .np-support-actions .np-secondary-btn { width: 100%; }

.np-footer { width: min(1460px, calc(100% - 40px)); margin: 20px auto 0; min-height: 92px; padding: 18px 4px; border-top: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: #888b96; font-size: 11px; position: relative; z-index: 1; }
.np-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.np-footer-brand img { width: 145px; max-height: 46px; object-fit: contain; }
.np-footer-copy { text-align: right; }

.np-inner-shell { width: min(1200px, calc(100% - 40px)); margin: 20px auto; color: #222; }
.np-inner-shell .grid-container, .np-inner-shell .grid-item { max-width: 100%; }

@media (max-width: 1120px) {
    .np-header { grid-template-columns: 200px 1fr auto; }
    .np-nav { gap: 18px; }
    .np-player-content { grid-template-columns: 120px 230px 1fr 170px; gap: 18px; }
    .np-album-cover { width: 165px; height: 165px; }
    .np-actions { grid-template-columns: repeat(2, 1fr); }
    .np-secondary-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "chat";
    }
    .np-song-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .np-header { width: calc(100% - 24px); height: 72px; grid-template-columns: 1fr auto; }
    .np-logo img { width: 165px; }
    .np-menu-button { display: block; justify-self: end; }
    .np-social-top { display: none; }
    .np-nav {
        position: fixed; top: 72px; left: -310px; width: 290px; height: calc(100vh - 72px);
        padding: 24px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
        background: rgba(5,7,11,.98); border-right: 1px solid var(--np-line); transition: left .25s ease; z-index: 4500;
    }
    .np-nav.open { left: 0; }
    .np-nav a { min-height: 48px; border-bottom: 1px solid rgba(255,255,255,.06); }
    .np-nav a::after { display: none; }
    .np-shell { width: calc(100% - 24px); }
    .np-player-main { padding: 18px; }
    .np-player-content { grid-template-columns: 90px 1fr; }
    .np-big-play { width: 76px; height: 76px; font-size: 28px; }
    .np-visualizer { grid-column: 1 / -1; height: 70px; order: 4; }
    .np-album-cover { position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; opacity: .3; }
    .np-track-copy { padding-right: 70px; }
    .np-stream-info strong { font-size: 22px; }
    .np-actions { grid-template-columns: 1fr; }

    .np-secondary-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "chat";
    }
    .np-song-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .np-footer { width: calc(100% - 24px); grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .np-footer-brand { align-items: center; }
    .np-footer-copy { text-align: center; }
}

@media (max-width: 520px) {
    .np-player-content { grid-template-columns: 74px 1fr; gap: 14px; }
    .np-big-play { width: 66px; height: 66px; font-size: 23px; }
    .np-album-cover { width: 74px; height: 74px; }
    .np-track-copy { padding-right: 55px; }
    .np-stream-info { font-size: 16px; }
    .np-stream-info strong { font-size: 19px; }
    .np-player-bottom { align-items: flex-end; gap: 10px; }
    .np-volume-slider { width: 110px; }
    .np-song-list { grid-template-columns: 1fr; }
    .np-broadcast-list { grid-template-columns: 1fr; }

    .np-chat-stage {
        min-height: 220px;
        padding: 22px 16px;
        flex-direction: column;
        text-align: center;
    }

    .np-chat-welcome-icon {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        border-radius: 18px;
        font-size: 23px;
    }

    .np-chat-tags {
        justify-content: center;
    }
    .np-support-actions { grid-template-columns: 1fr; }
    .np-modal { padding: 10px; }
    #greetFrame { min-height: 760px; }
}

/* =========================================================
   NIGHT PULSE PLAYER POLISH
   Real Web Audio spectrum layout
   ========================================================= */

.np-player-main {
    padding: 26px 30px 20px;
}

.np-live-row {
    margin-bottom: 20px;
}

.np-player-content {
    display: grid;
    grid-template-columns: 112px minmax(250px, 340px) minmax(320px, 1fr) 190px;
    gap: 24px;
    align-items: center;
}

.np-big-play {
    width: 96px;
    height: 96px;
    font-size: 34px;
    flex-shrink: 0;
}

.np-track-copy {
    min-width: 0;
}

.np-kicker {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .18em;
}

.np-stream-info {
    min-height: 58px;
    color: var(--np-pink);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.np-stream-info strong {
    display: -webkit-box;
    margin-top: 4px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.12;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.np-ghost-button {
    margin-top: 15px;
    padding: 8px 13px;
}

.np-visualizer {
    position: relative;
    height: 124px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    padding: 8px 4px 3px;
    border-bottom: 1px solid rgba(255, 36, 138, .12);
}

.np-visualizer::before,
.np-visualizer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22px;
    z-index: 2;
    pointer-events: none;
}

.np-visualizer::before {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 14, .9),
        rgba(8, 8, 14, 0)
    );
}

.np-visualizer::after {
    right: 0;
    background: linear-gradient(
        270deg,
        rgba(8, 8, 14, .9),
        rgba(8, 8, 14, 0)
    );
}

.np-visualizer span {
    width: 5px;
    min-height: 5px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(
        to top,
        #770044 0%,
        #d90073 38%,
        #ff248a 68%,
        #ff8ac5 100%
    );
    box-shadow:
        0 0 7px rgba(255, 36, 138, .32),
        0 0 15px rgba(255, 36, 138, .08);
    animation: none !important;
    transition:
        height 65ms linear,
        opacity 65ms linear;
    transform-origin: bottom center;
}

.np-album-cover {
    width: 184px;
    height: 184px;
    justify-self: end;
    border-radius: 16px;
    border: 1px solid rgba(255, 36, 138, .58);
    background: #090a0f;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.025),
        0 0 28px rgba(255, 36, 138, .17);
}

.np-album-cover img {
    transition: transform .35s ease;
}

.np-player-card:hover .np-album-cover img {
    transform: scale(1.025);
}

.np-player-bottom {
    margin-top: 20px;
    padding-top: 16px;
}

.np-stream-quality {
    font-size: 12px;
    letter-spacing: .025em;
}

.np-player-controls {
    gap: 9px;
}

.np-icon-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition:
        color .2s ease,
        background .2s ease;
}

.np-icon-button:hover {
    color: var(--np-pink);
    background: rgba(255, 36, 138, .08);
}

.np-volume-slider {
    width: 170px;
}


/* ---------- TABLET ---------- */

@media (max-width: 1120px) {
    .np-player-content {
        grid-template-columns: 96px minmax(210px, 260px) minmax(240px, 1fr) 150px;
        gap: 18px;
    }

    .np-big-play {
        width: 84px;
        height: 84px;
        font-size: 30px;
    }

    .np-album-cover {
        width: 150px;
        height: 150px;
    }

    .np-visualizer {
        height: 100px;
    }
}


/* ---------- MOBILE ---------- */

@media (max-width: 820px) {
    .np-player-main {
        padding: 18px;
    }

    .np-live-row {
        margin-bottom: 16px;
    }

    .np-player-content {
        grid-template-columns: 76px minmax(0, 1fr) 88px;
        grid-template-rows: auto 76px;
        gap: 16px;
        align-items: center;
    }

    .np-big-play {
        grid-column: 1;
        grid-row: 1;
        width: 72px;
        height: 72px;
        font-size: 25px;
    }

    .np-track-copy {
        grid-column: 2;
        grid-row: 1;
        padding-right: 0;
    }

    .np-stream-info {
        min-height: 48px;
        font-size: 15px;
    }

    .np-stream-info strong {
        font-size: 20px;
    }

    .np-ghost-button {
        margin-top: 10px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .np-album-cover {
        position: static;
        grid-column: 3;
        grid-row: 1;
        width: 88px;
        height: 88px;
        opacity: 1;
        border-radius: 12px;
    }

    .np-visualizer {
        grid-column: 1 / -1;
        grid-row: 2;
        order: initial;
        width: 100%;
        height: 76px;
        padding-top: 6px;
    }

    .np-visualizer span {
        width: 4px;
        gap: 3px;
    }

    .np-player-bottom {
        margin-top: 14px;
        padding-top: 13px;
    }
}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 520px) {
    .np-player-main {
        padding: 15px;
    }

    .np-player-content {
        grid-template-columns: 62px minmax(0, 1fr) 70px;
        grid-template-rows: auto 68px;
        gap: 11px;
    }

    .np-big-play {
        width: 58px;
        height: 58px;
        font-size: 21px;
    }

    .np-album-cover {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    .np-kicker {
        font-size: 8px;
        margin-bottom: 5px;
    }

    .np-stream-info {
        font-size: 13px;
        line-height: 1.2;
    }

    .np-stream-info strong {
        margin-top: 2px;
        font-size: 17px;
    }

    .np-ghost-button {
        margin-top: 7px;
        font-size: 11px;
    }

    .np-visualizer {
        height: 68px;
        gap: 3px;
    }

    .np-visualizer span {
        width: 3px;
    }

    .np-player-bottom {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 14px;
    }

    .np-volume-slider {
        width: 105px;
    }
}


/* =========================================================
   NIGHT PULSE - BIDIRECTIONAL REAL SPECTRUM
   Restore equalizer growth from the center
   ========================================================= */

.np-visualizer {
    align-items: center !important;
    border-bottom: 0 !important;
}

.np-visualizer span {
    transform-origin: center center !important;
}


/* ========================================================
   NIGHT PULSE - LATEST GREETINGS STRIP
   ====================================================== */

.np-greetings-strip {
    width: min(1280px, calc(100% - 32px));
    margin: 18px auto 34px;
}

.np-greetings-shell {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 36, 138, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 36, 138, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(18, 10, 18, 0.96), rgba(9, 7, 11, 0.98));
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.np-greetings-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, #ff248a, rgba(255, 36, 138, 0));
    box-shadow: 0 0 18px rgba(255, 36, 138, 0.55);
    pointer-events: none;
}

.np-greetings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.np-greetings-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    color: #ff4b9e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.np-greetings-eyebrow i {
    font-size: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 36, 138, 0.65));
}

.np-greetings-head h2 {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 750;
    line-height: 1.15;
}

.np-greetings-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 36, 138, 0.22);
    border-radius: 11px;
    background: rgba(255, 36, 138, 0.055);
    color: #dad3dc;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.np-greetings-refresh:hover {
    border-color: rgba(255, 36, 138, 0.55);
    background: rgba(255, 36, 138, 0.11);
    color: #fff;
    transform: translateY(-1px);
}

.np-greetings-refresh.is-loading i {
    animation: npGreetingSpin 700ms linear infinite;
}

@keyframes npGreetingSpin {
    to { transform: rotate(360deg); }
}

.np-greetings-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px 9px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 36, 138, 0.38) rgba(255, 255, 255, 0.035);
}

.np-greetings-list::-webkit-scrollbar {
    height: 6px;
}

.np-greetings-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
}

.np-greetings-list::-webkit-scrollbar-thumb {
    background: rgba(255, 36, 138, 0.38);
    border-radius: 999px;
}

.np-greeting-card {
    position: relative;
    display: flex;
    flex: 1 0 300px;
    min-width: 300px;
    max-width: 420px;
    min-height: 154px;
    gap: 13px;
    padding: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 36, 138, 0.09), transparent 38%),
        linear-gradient(145deg, rgba(24, 18, 25, 0.96), rgba(13, 11, 16, 0.98));
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.np-greeting-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 36, 138, 0.25);
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(255, 36, 138, 0.045);
}

.np-greeting-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 36, 138, 0.045);
    filter: blur(3px);
    pointer-events: none;
}

.np-greeting-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(255, 36, 138, 0.22);
    border-radius: 12px;
    background: rgba(255, 36, 138, 0.09);
    color: #ff3f98;
    box-shadow: inset 0 0 20px rgba(255, 36, 138, 0.05);
}

.np-greeting-icon i {
    filter: drop-shadow(0 0 8px rgba(255, 36, 138, 0.45));
}

.np-greeting-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1 1 auto;
}

.np-greeting-route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 7px;
    margin-bottom: 9px;
    line-height: 1.25;
}

.np-greeting-label {
    color: #827b88;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.np-greeting-name {
    max-width: 100%;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.np-greeting-arrow {
    color: #ff3f98;
    font-size: 10px;
    opacity: 0.88;
}

.np-greeting-message,
.np-greeting-body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #c8c1cc;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.np-greeting-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.np-greeting-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #a29aa7;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.np-greeting-status::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #ffb02e;
    box-shadow: 0 0 9px rgba(255, 176, 46, 0.55);
}

.np-greeting-status.is-played::before {
    background: #ff3f98;
    box-shadow: 0 0 10px rgba(255, 63, 152, 0.7);
}

.np-greeting-time {
    flex: 0 0 auto;
    color: #6f6973;
    font-size: 10px;
    white-space: nowrap;
}

.np-greeting-loading {
    opacity: 0.82;
}

.np-greeting-loading .np-greeting-icon {
    animation: npGreetingPulse 1.1s ease-in-out infinite alternate;
}

@keyframes npGreetingPulse {
    from {
        opacity: 0.5;
        box-shadow: 0 0 0 rgba(255, 36, 138, 0);
    }
    to {
        opacity: 1;
        box-shadow: 0 0 22px rgba(255, 36, 138, 0.14);
    }
}

.np-greetings-empty,
.np-greetings-error {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 86px;
    padding: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #a9a2ad;
    background: rgba(255, 255, 255, 0.018);
    font-size: 13px;
}

.np-greetings-error {
    border-color: rgba(255, 36, 138, 0.16);
}

@media (max-width: 720px) {
    .np-greetings-strip {
        width: min(100% - 20px, 1280px);
        margin-top: 12px;
        margin-bottom: 24px;
    }

    .np-greetings-shell {
        padding: 16px 14px 14px;
        border-radius: 17px;
    }

    .np-greetings-head {
        align-items: flex-end;
        margin-bottom: 13px;
    }

    .np-greetings-refresh span {
        display: none;
    }

    .np-greetings-refresh {
        width: 38px;
        padding: 0;
    }

    .np-greeting-card {
        flex-basis: min(84vw, 330px);
        min-width: min(84vw, 330px);
        min-height: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-greeting-card,
    .np-greetings-refresh {
        transition: none;
    }

    .np-greetings-refresh.is-loading i,
    .np-greeting-loading .np-greeting-icon {
        animation: none;
    }
}

/* =========================================================
   NIGHT PULSE - NEW GREETING ENTRY
   ========================================================= */

@keyframes npGreetingEnter {
    0% {
        opacity: 0;
        transform: translateX(16px) scale(.985);
        filter: blur(3px);
    }

    55% {
        opacity: 1;
        transform: translateX(-2px) scale(1);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.np-greeting-card.np-greeting-enter {
    animation: npGreetingEnter 420ms cubic-bezier(.22, .8, .26, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .np-greeting-card.np-greeting-enter {
        animation: none;
    }
}

/* =========================================================
   NIGHT PULSE - LIVE GREETING BUTTON
   ========================================================= */

.np-live-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-live-greet-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: auto;
    min-height: 38px;
    padding: 9px 15px;
    overflow: visible;
    border: 1px solid rgba(255, 36, 138, .58);
    border-radius: 11px;
    background:
        linear-gradient(135deg, rgba(255, 36, 138, .18), rgba(255, 36, 138, .07));
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 0 18px rgba(255, 36, 138, .12);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.np-live-greet-btn > * {
    position: relative;
    z-index: 2;
}

.np-live-greet-btn i {
    color: #ff4b9e;
    font-size: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 36, 138, .72));
}

.np-live-greet-pulse {
    position: absolute;
    z-index: 0;
    inset: -1px;
    border: 1px solid rgba(255, 36, 138, .54);
    border-radius: inherit;
    pointer-events: none;
    animation: npLiveGreetPulse 2s ease-out infinite;
}

.np-live-greet-btn::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 4px;
    border-radius: 8px;
    background: rgba(255, 36, 138, .07);
    opacity: .7;
    pointer-events: none;
}

.np-live-greet-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 68, 157, .9);
    background:
        linear-gradient(135deg, rgba(255, 36, 138, .28), rgba(255, 36, 138, .12));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .09),
        0 0 24px rgba(255, 36, 138, .22);
}

.np-live-greet-btn:active {
    transform: translateY(0) scale(.98);
}

.np-live-greet-btn:focus-visible {
    outline: 2px solid #ff4b9e;
    outline-offset: 3px;
}

@keyframes npLiveGreetPulse {
    0% {
        opacity: .78;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 36, 138, .18);
    }

    70% {
        opacity: 0;
        transform: scale(1.12, 1.38);
        box-shadow: 0 0 0 11px rgba(255, 36, 138, 0);
    }

    100% {
        opacity: 0;
        transform: scale(1.12, 1.38);
    }
}

@media (max-width: 620px) {
    .np-live-row {
        flex-wrap: wrap;
    }

    .np-live-greet-btn {
        margin-left: 0;
        padding: 8px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-live-greet-pulse {
        animation: none;
    }
}

/* NIGHT PULSE - GREETING BUTTON LEFT */
.np-live-greet-btn {
    margin-left: 10px !important;
}

/* === GREET MODAL HEADER FIX === */
#greetModal .np-modal-head {
    border-bottom: 1px solid rgba(255, 0, 122, 0.18);
}

#greetModal .np-kicker {
    display: inline-block;
    color: #ff4fa3;
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(255, 79, 163, 0.28);
}

#greetModalTitle {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(255, 0, 122, 0.18);
}

#greetModal .np-modal-close {
    color: #ffffff;
}

#greetModal .np-modal-close:hover {
    color: #ff4fa3;
    border-color: rgba(255, 79, 163, 0.45);
    box-shadow: 0 0 18px rgba(255, 79, 163, 0.18);
}

/* === GREET MODAL HEADER FIX === */
#greetModal .np-modal-head {
    border-bottom: 1px solid rgba(255, 0, 122, 0.18);
}

#greetModal .np-kicker {
    display: inline-block;
    color: #ff4fa3;
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(255, 79, 163, 0.28);
}

#greetModalTitle {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(255, 0, 122, 0.18);
}

#greetModal .np-modal-close {
    color: #ffffff;
}

#greetModal .np-modal-close:hover {
    color: #ff4fa3;
    border-color: rgba(255, 79, 163, 0.45);
    box-shadow: 0 0 18px rgba(255, 79, 163, 0.18);
}


/* NIGHT PULSE LOGIN BUTTON */
.np-nav .np-login-link {
    display: inline-grid !important;
    place-items: center !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;

    margin-left: 4px !important;
    padding: 0 !important;

    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,.025) !important;
    color: #ffffff !important;

    text-decoration: none !important;
    line-height: 1 !important;

    transition:
        border-color .16s ease,
        background .16s ease,
        color .16s ease,
        transform .16s ease !important;
}

.np-nav .np-login-link:hover {
    transform: translateY(-1px);

    border-color: rgba(255,36,138,.55) !important;
    background: rgba(255,36,138,.08) !important;
    color: #ff72b7 !important;
}

.np-nav .np-login-link i {
    margin: 0 !important;

    color: inherit !important;

    font-size: 13px !important;
    line-height: 1 !important;
}

@media (max-width: 900px) {
    .np-nav .np-login-link {
        display: inline-grid !important;

        width: 38px !important;
        height: 38px !important;

        margin-top: 6px !important;
        margin-left: 0 !important;
    }
}


/* =========================================================
   RADIO PARTY MIX CHAT
   Read-only realtime message UI
   ========================================================= */

.np-chat-status-offline {
    border-color: rgba(255,255,255,.12);
    color: #8d909a;
    background: rgba(255,255,255,.025);
}

.np-chat-status-offline .np-chat-status-dot {
    background: #777a84;
    box-shadow: none;
}


.np-chat-stage-has-messages {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
}


.np-chat-messages {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 14px 12px 18px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255,36,138,.38)
        rgba(255,255,255,.025);
}


.np-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.np-chat-messages::-webkit-scrollbar-track {
    background: rgba(255,255,255,.025);
}

.np-chat-messages::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,36,138,.38);
}


.np-chat-message {
    width: 100%;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin-bottom: 12px;
}


.np-chat-message:last-child {
    margin-bottom: 0;
}


.np-chat-avatar {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    color: #d8dae0;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
}


.np-chat-message-team .np-chat-avatar,
.np-chat-message-owner .np-chat-avatar {
    border-color: rgba(255,36,138,.48);

    color: #fff;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,112,181,.52),
            rgba(255,36,138,.20) 46%,
            rgba(96,8,49,.38) 100%
        );

    box-shadow:
        0 0 16px rgba(255,36,138,.18);
}


.np-chat-message-body {
    min-width: 0;
}


.np-chat-message-meta {
    min-height: 17px;

    display: flex;
    align-items: center;
    gap: 6px;

    margin: 0 3px 4px;
}


.np-chat-message-name {
    min-width: 0;

    color: #f0f1f5;

    font-size: 10px;
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.np-chat-message-team .np-chat-message-name,
.np-chat-message-owner .np-chat-message-name {
    color: #ff9ac8;
}


.np-chat-role {
    flex: 0 0 auto;

    padding: 2px 5px;

    border: 1px solid rgba(255,36,138,.28);
    border-radius: 999px;

    color: #ff71b2;

    background: rgba(255,36,138,.07);

    font-size: 6px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .08em;
}


.np-chat-role-owner {
    border-color: rgba(255,193,76,.30);
    color: #ffd27b;
    background: rgba(255,193,76,.07);
}


.np-chat-message-time {
    flex: 0 0 auto;

    margin-left: auto;

    color: #676b76;

    font-size: 8px;
    line-height: 1;
}


.np-chat-bubble {
    width: fit-content;
    max-width: min(100%, 430px);

    padding: 8px 10px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px 12px 12px 12px;

    color: #d9dbe2;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.050),
            rgba(255,255,255,.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}


.np-chat-message-team .np-chat-bubble,
.np-chat-message-owner .np-chat-bubble {
    border-color: rgba(255,36,138,.20);

    background:
        linear-gradient(
            145deg,
            rgba(255,36,138,.095),
            rgba(255,36,138,.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,116,181,.045),
        0 0 18px rgba(255,36,138,.025);
}


.np-chat-message-text {
    overflow-wrap: anywhere;
    word-break: normal;

    color: inherit;

    font-size: 10px;
    line-height: 1.48;

    white-space: pre-wrap;
}


.np-chat-reply-preview {
    max-width: 100%;

    margin-bottom: 6px;
    padding: 5px 7px;

    display: flex;
    align-items: center;
    gap: 6px;

    border-left: 2px solid rgba(255,36,138,.60);
    border-radius: 5px;

    color: #9599a5;

    background: rgba(0,0,0,.18);

    font-size: 8px;
    line-height: 1.35;
}


.np-chat-reply-preview i {
    flex: 0 0 auto;
    color: #ff5da8;
}


.np-chat-reply-preview span {
    min-width: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 520px) {

    .np-chat-stage-has-messages {
        min-height: 280px;
    }

    .np-chat-messages {
        height: auto;
        min-height: 0;
        padding: 13px 10px 16px;
        text-align: left;
    }

    .np-chat-message {
        grid-template-columns: 31px minmax(0, 1fr);
        gap: 8px;
    }

    .np-chat-avatar {
        width: 31px;
        height: 31px;
        border-radius: 10px;
        font-size: 9px;
    }

    .np-chat-bubble {
        max-width: 100%;
    }

}


/* =========================================================
   RADIO PARTY MIX CHAT
   Live join / composer / reply UI
   ========================================================= */

.np-chat-shell [hidden] {
    display: none !important;
}


.np-chat-join-bar {
    margin: 0 10px 10px;
    padding: 11px;

    display: grid;
    grid-template-columns: minmax(120px, .85fr) minmax(180px, 1.35fr);
    gap: 10px 12px;
    align-items: center;

    border: 1px solid rgba(255,36,138,.16);
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(255,36,138,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}


.np-chat-join-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.np-chat-join-copy strong {
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
}


.np-chat-join-copy span {
    color: #858995;
    font-size: 8px;
    line-height: 1.35;
}


.np-chat-join-controls {
    min-width: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;

    margin: 0;
}


.np-chat-join-controls input {
    width: 100%;
    min-width: 0;
    height: 38px;

    padding: 0 11px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    outline: 0;

    color: #fff;
    background: rgba(2,3,7,.62);

    font-size: 10px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.np-chat-join-controls input:focus {
    border-color: rgba(255,36,138,.52);

    background: rgba(6,5,11,.78);

    box-shadow:
        0 0 0 3px rgba(255,36,138,.055),
        0 0 18px rgba(255,36,138,.055);
}


.np-chat-join-controls input::placeholder {
    color: #656a76;
}


.np-chat-join-controls button {
    height: 38px;

    padding: 0 15px;

    border: 1px solid rgba(255,84,163,.50);
    border-radius: 9px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #ff248a,
            #b61465
        );

    box-shadow:
        0 0 16px rgba(255,36,138,.13);

    font-size: 9px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .16s ease,
        filter .16s ease;
}


.np-chat-join-controls button:hover {
    filter: brightness(1.10);
    transform: translateY(-1px);
}


.np-chat-join-controls button:disabled {
    cursor: wait;
    opacity: .62;
    transform: none;
}


.np-chat-feedback {
    flex: 0 0 auto;

    min-height: 12px;
    margin: -3px 12px 7px;
    padding: 1px 2px;

    color: #9195a0;

    font-size: 8px;
    line-height: 1.35;

    overflow: visible;
}


.np-chat-feedback:empty {
    display: none;
}


.np-chat-feedback-error {
    color: #ff869f;
}


.np-chat-feedback-success {
    color: #91e4b4;
}


.np-chat-reply-bar {
    margin: 0 10px 6px;
    padding: 7px 8px 7px 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    border: 1px solid rgba(255,36,138,.14);
    border-left: 2px solid rgba(255,36,138,.65);
    border-radius: 8px;

    color: #a9acb5;

    background: rgba(255,36,138,.035);

    font-size: 8px;
}


.np-chat-reply-bar > div {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 6px;
}


.np-chat-reply-bar > div i {
    flex: 0 0 auto;
    color: #ff5da8;
}


.np-chat-reply-bar span {
    min-width: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.np-chat-reply-bar button {
    flex: 0 0 25px;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 7px;

    color: #8d919b;
    background: rgba(255,255,255,.035);

    cursor: pointer;
}


.np-chat-reply-bar button:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
}


.np-chat-reply-action {
    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    margin-left: 1px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 6px;

    color: #626773;
    background: transparent;

    font-size: 8px;

    cursor: pointer;

    opacity: 0;

    transition:
        opacity .15s ease,
        color .15s ease,
        background .15s ease;
}


.np-chat-message:hover .np-chat-reply-action {
    opacity: 1;
}


.np-chat-reply-action:hover {
    color: #ff70b1;
    background: rgba(255,36,138,.08);
}


.np-chat-composer:not(.np-chat-composer-disabled) {
    opacity: 1;

    border-color: rgba(255,36,138,.13);

    background:
        linear-gradient(
            145deg,
            rgba(7,8,13,.93),
            rgba(3,4,8,.82)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 0 16px rgba(255,36,138,.025);
}


.np-chat-composer:not(.np-chat-composer-disabled) input {
    cursor: text;
}


.np-chat-composer:not(.np-chat-composer-disabled) input:focus {
    outline: 0;
}


.np-chat-composer:not(.np-chat-composer-disabled) .np-chat-emoji,
.np-chat-composer:not(.np-chat-composer-disabled) .np-chat-send {
    cursor: pointer;
}


.np-chat-composer:not(.np-chat-composer-disabled) .np-chat-emoji {
    color: #90949f;
}


.np-chat-composer:not(.np-chat-composer-disabled) .np-chat-emoji:hover {
    color: #ff70b1;
    background: rgba(255,36,138,.055);
}


.np-chat-composer:not(.np-chat-composer-disabled) .np-chat-send:hover {
    filter: brightness(1.10);
}


.np-chat-emoji-palette {
    position: absolute;
    z-index: 20;

    left: 12px;
    bottom: 66px;

    width: 184px;

    padding: 8px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;

    border: 1px solid rgba(255,36,138,.17);
    border-radius: 12px;

    background:
        rgba(9,10,15,.98);

    box-shadow:
        0 16px 35px rgba(0,0,0,.46),
        0 0 22px rgba(255,36,138,.06);

    backdrop-filter: blur(18px);
}


.np-chat-emoji-palette button {
    width: 38px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 8px;

    background: transparent;

    font-size: 17px;

    cursor: pointer;

    transition:
        background .14s ease,
        transform .14s ease;
}


.np-chat-emoji-palette button:hover {
    background: rgba(255,255,255,.065);
    transform: scale(1.08);
}


@media (max-width: 620px) {

    .np-chat-join-bar {
        grid-template-columns: 1fr;
    }

    .np-chat-join-controls {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .np-chat-feedback {
        grid-column: auto;
    }

    .np-chat-reply-action {
        opacity: 1;
    }

}


@media (hover: none) {

    .np-chat-reply-action {
        opacity: 1;
    }

}

/* =========================================================
   RADIO CHAT - LISTENER IDENTITY CONTROL
   ========================================================= */

.np-chat-identity-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 8px 12px;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #989ba6;
    background: rgba(255,255,255,.018);

    font-size: 10px;
}

.np-chat-identity-bar span {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-chat-identity-bar button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;

    border: 1px solid rgba(255,36,138,.28);
    border-radius: 8px;

    color: #ff8fc1;
    background: rgba(255,36,138,.055);

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

.np-chat-identity-bar button:hover {
    border-color: rgba(255,36,138,.48);
    background: rgba(255,36,138,.11);
}

.np-chat-identity-bar button:disabled {
    opacity: .55;
    cursor: default;
}

/* =========================================================
   NIGHT PULSE - AUTO DJ / MUSIC GREETING PLAYER UI
   Added 2026-08-30
   ========================================================= */

.np-auto-dj-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .055),
            rgba(255, 36, 138, .045)
        );
    color: #d9d9df;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .055em;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

.np-auto-dj-badge i {
    color: #ff4b9e;
    font-size: 12px;
    filter:
        drop-shadow(
            0 0 7px rgba(255, 36, 138, .5)
        );
}

.np-auto-dj-badge strong {
    color: #ff4b9e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.np-music-greeting-btn {
    text-decoration: none;
}

.np-music-greeting-btn i {
    color: #ff78b8;
}

.np-live-text-greet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    color: #bdbdc6;
    font: 600 11px/1 'Inter', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.np-live-text-greet-btn i {
    color: #d58bad;
    font-size: 11px;
}

.np-live-text-greet-btn:hover {
    color: #fff;
    border-color: rgba(255, 36, 138, .42);
    background: rgba(255, 36, 138, .07);
}

.np-live-text-greet-btn:focus-visible {
    outline: 2px solid #ff4b9e;
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .np-auto-dj-badge strong {
        display: none;
    }
}

@media (max-width: 820px) {
    .np-live-row {
        flex-wrap: wrap;
    }

    .np-auto-dj-badge {
        order: 3;
    }

    .np-music-greeting-btn {
        order: 4;
    }

    .np-live-text-greet-btn {
        order: 5;
    }
}

@media (max-width: 520px) {
    .np-auto-dj-badge {
        min-height: 32px;
        padding: 6px 9px;
    }

    .np-music-greeting-btn,
    .np-live-text-greet-btn {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 10px;
    }
}


/* =========================================================
   MUSIC GREETING POPUP
   ========================================================= */

.np-music-greeting-dialog {
    width: min(1180px, 100%);
    margin: 2vh auto;
    padding: 18px;
}

#musicGreetingFrame {
    display: block;
    width: 100%;
    height: 78vh;
    min-height: 650px;
    margin-top: 12px;
    border: 0;
    border-radius: 11px;
    background: #0b0d13;
}

@media (max-width: 820px) {
    .np-music-greeting-dialog {
        width: 100%;
        margin: 1vh auto;
        padding: 12px;
    }

    #musicGreetingFrame {
        height: 82vh;
        min-height: 620px;
    }
}

@media (max-width: 520px) {
    .np-music-greeting-dialog {
        padding: 9px;
    }

    #musicGreetingFrame {
        height: 84vh;
        min-height: 580px;
        margin-top: 8px;
    }
}

/* =========================================================
   MUSIC GREETING TITLE COLOR FIX
   ========================================================= */

#musicGreetingModal .np-modal-head h2,
#musicGreetingModal #musicGreetingModalTitle {
    color: #ffffff !important;
}

#musicGreetingModal .np-kicker {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* =========================================================
   MUSIC GREETING TITLE FONT FIX
   ========================================================= */

#musicGreetingModal #musicGreetingModalTitle {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


/* =========================================================
   NIGHT PULSE - ALEXANDRA AI HOST UX V1
   ========================================================= */

.np-ai-host-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-height: 42px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 36, 138, .34);
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 0 50%,
            rgba(255, 36, 138, .15),
            transparent 56%
        ),
        rgba(255, 255, 255, .025);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 0 20px rgba(255, 36, 138, .08);
    color: #fff;
}

.np-ai-host-badge > i {
    color: #ff4b9e;
    font-size: 17px;
    filter:
        drop-shadow(
            0 0 9px rgba(255, 36, 138, .62)
        );
}

.np-ai-host-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.05;
}

.np-ai-host-copy strong {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.np-ai-host-copy small {
    color: #ff68ad;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.np-ai-host-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 3px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .10);
    color: #cfcbd2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    white-space: nowrap;
}

.np-ai-host-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #ff248a;
    box-shadow:
        0 0 9px rgba(255, 36, 138, .9);
    animation:
        npPulse 1.4s ease-in-out infinite;
}


/* Main and only greeting CTA in the player */

.np-main-greeting-cta {
    margin-left: 0 !important;
    min-height: 44px;
    padding: 10px 18px;
    border-color: rgba(255, 60, 157, .92);
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #e40070,
            #a70059
        );
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .15),
        0 0 22px rgba(255, 36, 138, .26);
}

.np-main-greeting-cta i {
    color: #fff;
    font-size: 13px;
}

.np-main-greeting-cta:hover {
    background:
        linear-gradient(
            135deg,
            #ff1785,
            #bd0064
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .17),
        0 0 30px rgba(255, 36, 138, .36);
}


/* Greetings stream */

.np-greetings-intro {
    margin: 7px 0 0;
    color: #9e97a2;
    font-size: 12px;
    line-height: 1.45;
}


/* Alexandra information card */

.np-alexandra-card {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 36, 138, .12),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(17, 11, 19, .98),
            rgba(7, 7, 11, .98)
        );
}

.np-ai-card-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 36, 138, .25);
    border-radius: 10px;
    background: rgba(255, 36, 138, .055);
    color: #ff68ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.np-ai-card-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff248a;
    box-shadow:
        0 0 10px rgba(255, 36, 138, .85);
    animation:
        npPulse 1.4s ease-in-out infinite;
}


@media (max-width: 1000px) {

    .np-ai-host-badge {
        margin-left: auto;
    }

    .np-ai-host-status {
        display: none;
    }
}


@media (max-width: 720px) {

    .np-live-row {
        align-items: stretch;
    }

    .np-ai-host-badge {
        order: 3;
        flex: 1 1 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .np-ai-host-status {
        display: inline-flex;
        margin-left: auto;
    }

    .np-main-greeting-cta {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        min-height: 46px;
    }

    .np-greetings-intro {
        max-width: 240px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .np-ai-host-dot,
    .np-ai-card-status > span {
        animation: none;
    }
}


/* =========================================================
   RADIO CHAT V2.1 - JOINED USERS SIDEBAR
   ========================================================= */

.np-chat-heading-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.np-chat-users-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: #d7d9e1;
    background: rgba(255,255,255,.035);
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.np-chat-body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        280px;

    gap: 12px;
}

.np-chat-body > .np-chat-shell {
    min-width: 0;
    height: 100%;
}

.np-chat-sidebar {
    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255,36,138,.045),
            rgba(255,255,255,.015)
        ),
        rgba(8,9,14,.96);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 0 30px rgba(255,36,138,.018);
}

.np-chat-sidebar-heading {
    flex: 0 0 auto;

    min-height: 48px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.np-chat-sidebar-heading > div,
.np-chat-sidebar-heading-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.np-chat-sidebar-heading > div:first-child {
    color: #efc7da;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.np-chat-sidebar-heading i {
    color: #ff5da8;
}

.np-chat-sidebar-heading strong {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,36,138,.22);
    border-radius: 999px;

    color: #ff8fc1;
    background: rgba(255,36,138,.055);

    font-size: 9px;
}

.np-chat-users-close {
    display: none;

    width: 28px;
    height: 28px;

    place-items: center;

    border: 0;
    border-radius: 8px;

    color: #a6a9b2;
    background: rgba(255,255,255,.035);

    cursor: pointer;
}

.np-chat-users-list {
    flex: 1 1 auto;
    min-height: 0;

    padding: 8px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255,36,138,.30)
        rgba(255,255,255,.02);
}

.np-chat-users-list::-webkit-scrollbar {
    width: 5px;
}

.np-chat-users-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,36,138,.30);
}

.np-chat-user {
    width: 100%;
    min-width: 0;

    padding: 9px 8px;

    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr);

    gap: 9px;
    align-items: center;

    border-radius: 10px;
}

.np-chat-user + .np-chat-user {
    margin-top: 2px;
}

.np-chat-user:hover {
    background: rgba(255,255,255,.025);
}

.np-chat-user-avatar {
    position: relative;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    color: #d9dbe2;
    background: rgba(255,255,255,.035);

    font-size: 10px;
    font-weight: 900;
}

.np-chat-user-owner .np-chat-user-avatar,
.np-chat-user-team .np-chat-user-avatar {
    border-color: rgba(255,36,138,.42);
    color: #fff;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,112,181,.48),
            rgba(255,36,138,.17) 48%,
            rgba(96,8,49,.30) 100%
        );
}

.np-chat-user-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;

    width: 9px;
    height: 9px;

    border: 2px solid #0b0c12;
    border-radius: 50%;

    background: #42d987;

    box-shadow:
        0 0 8px rgba(66,217,135,.52);
}

.np-chat-user-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.np-chat-user-name {
    min-width: 0;

    color: #eceef3;

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-chat-user-owner .np-chat-user-name,
.np-chat-user-team .np-chat-user-name {
    color: #ff9ac8;
}

.np-chat-user-role {
    color: #717681;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .07em;
}

.np-chat-user-role-owner {
    color: #ffd27b;
}

.np-chat-user-role-team {
    color: #ff71b2;
}

.np-chat-users-empty {
    min-height: 120px;
    padding: 18px 12px;

    display: grid;
    place-items: center;

    text-align: center;

    color: #737783;

    font-size: 9px;
    line-height: 1.45;
}

.np-chat-sidebar-backdrop {
    display: none;
}


@media (max-width: 820px) {

    .np-chat-users-toggle {
        display: inline-flex;
    }

    .np-chat-body {
        display: block;
    }

    .np-chat-sidebar-backdrop {
        position: absolute;
        z-index: 40;

        inset: 0;

        display: block;

        border: 0;

        opacity: 0;
        pointer-events: none;

        background: rgba(0,0,0,.58);

        backdrop-filter: blur(2px);

        transition:
            opacity .18s ease;
    }

    .np-chat-sidebar {
        position: absolute;
        z-index: 41;

        top: 0;
        right: 0;
        bottom: 0;

        width:
            min(
                300px,
                calc(100% - 34px)
            );

        transform:
            translateX(
                calc(100% + 18px)
            );

        opacity: 0;
        pointer-events: none;

        box-shadow:
            -18px 0 40px rgba(0,0,0,.40);

        transition:
            transform .20s ease,
            opacity .18s ease;
    }

    .np-chat-users-close {
        display: grid;
    }

    .np-chat-panel.np-chat-users-open
    .np-chat-sidebar {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .np-chat-panel.np-chat-users-open
    .np-chat-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}


@media (max-width: 520px) {

    .np-chat-heading-actions {
        gap: 5px;
    }

    .np-chat-users-toggle {
        width: 29px;
        height: 29px;

        padding: 0;

        justify-content: center;
    }

    .np-chat-users-toggle span {
        display: none;
    }

    .np-chat-status {
        padding-left: 7px;
        padding-right: 7px;

        letter-spacing: .05em;
    }
}

/* =========================================================
   RADIO CHAT V2.2 - PRIVATE MESSAGES
   ========================================================= */

.np-chat-mode-bar{flex:0 0 auto;min-height:40px;padding:5px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(5,6,10,.34)}
.np-chat-mode-tabs{display:flex;align-items:center;gap:5px}
.np-chat-mode-tab{min-height:29px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:9px;color:#858994;background:transparent;font:inherit;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;cursor:pointer}
.np-chat-mode-tab:hover{color:#e9c6d7;background:rgba(255,255,255,.025)}
.np-chat-mode-tab-active{border-color:rgba(255,36,138,.30);color:#ff88bd;background:rgba(255,36,138,.075)}
.np-chat-mode-tab:disabled{opacity:.45;cursor:default}

.np-chat-dm-unread,.np-chat-dm-count,.np-chat-user-dm-badge{min-width:18px;height:18px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,86,164,.45);border-radius:999px;color:#fff;background:#c20b61;box-shadow:0 0 12px rgba(255,36,138,.18);font-size:8px;font-weight:900;line-height:1}

.np-chat-dm-peer{min-width:0;max-width:45%;color:#d9a9c0;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.np-chat-user{position:relative}
.np-chat-user-dm{border:0;text-align:left;font:inherit;background:transparent;cursor:pointer}
.np-chat-user-dm:hover{background:rgba(255,36,138,.055)}
.np-chat-user-dm::after{content:"Лично";position:absolute;right:8px;bottom:7px;color:#6f737e;font-size:7px;font-weight:800;opacity:0;transition:opacity .14s ease}
.np-chat-user-dm:hover::after{opacity:1}
.np-chat-user-dm-badge{position:absolute;top:7px;right:7px;pointer-events:none}

.np-chat-dm-empty{flex:1 1 auto;width:100%;min-height:0;padding:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#777b86;text-align:center;font-size:10px;line-height:1.5}
.np-chat-dm-empty i{margin-bottom:4px;color:#ff5da8;font-size:24px;opacity:.85}
.np-chat-dm-empty strong{color:#e6c8d7;font-size:12px}

.np-chat-dm-conversations{flex:1 1 auto;width:100%;min-height:0;padding:10px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(255,36,138,.32) rgba(255,255,255,.02)}

.np-chat-dm-conversation{width:100%;padding:10px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;border:0;border-bottom:1px solid rgba(255,255,255,.045);border-radius:10px;text-align:left;color:inherit;background:transparent;font:inherit;cursor:pointer}
.np-chat-dm-conversation:hover{background:rgba(255,36,138,.045)}

.np-chat-dm-conversation-avatar{position:relative;width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.10);border-radius:12px;color:#d9dbe2;background:rgba(255,255,255,.035);font-size:10px;font-weight:900}
.np-chat-dm-role-owner,.np-chat-dm-role-team{border-color:rgba(255,36,138,.42);color:#fff;background:rgba(255,36,138,.14)}

.np-chat-dm-conversation-copy{min-width:0}
.np-chat-dm-conversation-top,.np-chat-dm-conversation-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.np-chat-dm-conversation-top strong{min-width:0;color:#eceef3;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-chat-dm-conversation-top time{flex:0 0 auto;color:#656a75;font-size:7px}
.np-chat-dm-conversation-bottom{margin-top:4px}
.np-chat-dm-conversation-bottom>span{min-width:0;color:#7c818c;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.np-chat-dm-thread{flex:1 1 auto;width:100%;min-height:0;padding:16px 14px 18px;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(255,36,138,.38) rgba(255,255,255,.025)}

.np-chat-dm-message{width:fit-content;max-width:min(78%,720px);margin-bottom:12px;display:flex;flex-direction:column;gap:4px}
.np-chat-dm-message-peer{margin-right:auto;align-items:flex-start}
.np-chat-dm-message-mine{margin-left:auto;align-items:flex-end}

.np-chat-dm-message-meta{padding:0 4px;display:flex;align-items:center;gap:6px;color:#777c87;font-size:7px}
.np-chat-dm-message-meta strong{color:#c9cbd3;font-size:9px}
.np-chat-dm-message-mine .np-chat-dm-message-meta strong{color:#ff8fc1}

.np-chat-dm-message-role{font-size:6px;font-weight:900;letter-spacing:.06em}
.np-chat-dm-role-owner{color:#ffd27b}
.np-chat-dm-role-team{color:#ff71b2}

.np-chat-dm-bubble{padding:9px 11px;border:1px solid rgba(255,255,255,.08);border-radius:12px 12px 12px 4px;color:#e8e9ee;background:rgba(255,255,255,.035);font-size:10px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.np-chat-dm-message-mine .np-chat-dm-bubble{border-color:rgba(255,36,138,.34);border-radius:12px 12px 4px 12px;background:rgba(255,36,138,.10)}

@media(max-width:820px){
    .np-chat-dm-peer{display:none}
}

@media(max-width:520px){
    .np-chat-mode-bar{min-height:38px;padding:4px 6px}
    .np-chat-mode-tab{min-height:28px;padding:0 8px;font-size:7px}
    .np-chat-dm-message{max-width:88%}
    .np-chat-dm-thread{padding:13px 10px 16px}
}


/* =========================================================
   RADIO CHAT V2.3 - PASSIVE HOMEPAGE GUESTS
   ========================================================= */

.np-chat-users-list {
    flex: 0 1 auto;
    max-height: 48%;
    min-height: 70px;
}

.np-chat-guests-heading {
    flex: 0 0 auto;

    min-height: 42px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-top:
        1px solid rgba(255,255,255,.055);

    border-bottom:
        1px solid rgba(255,255,255,.055);

    background:
        rgba(255,255,255,.012);
}

.np-chat-guests-heading > div {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #a9acb5;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.np-chat-guests-heading i {
    color: #8e92a0;
}

.np-chat-guests-heading strong {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 999px;

    color: #aeb1ba;
    background: rgba(255,255,255,.025);

    font-size: 9px;
}

.np-chat-guests-list {
    flex: 1 1 auto;
    min-height: 0;

    padding: 8px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255,255,255,.14)
        rgba(255,255,255,.02);
}

.np-chat-guests-list::-webkit-scrollbar {
    width: 5px;
}

.np-chat-guests-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.np-chat-guests-empty {
    min-height: 72px;
    padding: 14px 10px;

    display: grid;
    place-items: center;

    color: #646873;

    text-align: center;

    font-size: 8px;
}

.np-chat-guest {
    cursor: default;
}

.np-chat-guest:hover {
    background:
        rgba(255,255,255,.018);
}

.np-chat-guest-avatar {
    color: #aeb1ba;

    border-color:
        rgba(255,255,255,.075);

    background:
        rgba(255,255,255,.022);
}

.np-chat-guest-dot {
    position: absolute;

    right: -2px;
    bottom: -2px;

    width: 9px;
    height: 9px;

    border:
        2px solid #0b0c12;

    border-radius: 50%;

    background: #737887;

    box-shadow:
        0 0 7px
        rgba(150,155,170,.24);
}

.np-chat-guest-state {
    color: #676c77;
}

@media (max-width: 820px) {

    .np-chat-users-list {
        max-height: 45%;
    }

    .np-chat-guests-heading {
        min-height: 40px;
    }
}

