/* Radio Party Mix - approved 3-column chat transformed to site's light palette */
/* Scoped exclusively to homepage chat; no audio/player/chat API changes. */
body.np-home .rpm-community {
  background:linear-gradient(145deg,#fffdfa,#fff5fb 65%,#fff);
  border:1px solid #ead9e8;border-radius:26px;
  box-shadow:0 18px 55px rgba(84,41,88,.10);
  padding:24px!important;
}
body.np-home .rpm-community-heading {margin-bottom:14px}
body.np-home .rpm-community-heading h2{font-size:clamp(22px,2.4vw,30px);font-weight:850;letter-spacing:-.035em}
body.np-home .rpm-community .np-chat-panel {
  height:780px;max-height:85vh;min-height:590px;
  border:1px solid #eeddea;border-radius:23px;
  background:#fff;box-shadow:0 16px 48px rgba(74,24,83,.09);
}
body.np-home .rpm-community .np-chat-heading {
  background:linear-gradient(100deg,#fdf6fb,#fff 55%,#fff8fc);
  min-height:72px;padding:16px 22px;border-bottom:1px solid #efe0ec
}
body.np-home .rpm-community .np-chat-heading>div:first-child{font-size:18px;letter-spacing:-.02em}
body.np-home .rpm-community .np-chat-heading>div:first-child i{font-size:20px}
body.np-home .rpm-community .np-chat-status{font-size:11px;padding:8px 10px}
body.np-home .rpm-community .np-chat-body{
  display:grid!important;
  grid-template-columns:minmax(176px,210px) minmax(0,1fr) minmax(205px,240px)!important;
  gap:0!important;padding:0!important;
  background:#fff;border-radius:0 0 23px 23px;overflow:hidden;
}
body.np-home .rpm-community .np-chat-shell {
  display:flex;flex-direction:column;min-width:0;min-height:0;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:#fff;
}
body.np-home .rpm-community .np-chat-sidebar{
  position:relative;display:flex;transform:none;opacity:1;visibility:visible;
  width:auto;max-width:none;height:100%;
  border:0;border-left:1px solid #f1e5ee;border-radius:0!important;
  background:#fffafe!important;box-shadow:none;z-index:1;
}
body.np-home .rpm-community .np-chat-sidebar-heading{
  background:#fff8fc;border-bottom:1px solid #f1e5ec;min-height:62px
}
body.np-home .rpm-community .np-chat-users-list{padding:10px 8px;min-height:80px}
body.np-home .rpm-community .np-chat-guest{border-radius:9px}
body.np-home .rpm-community .np-chat-user{padding:9px}
body.np-home .rpm-community .np-chat-stage{padding:10px 12px;min-height:0}
body.np-home .rpm-community .np-chat-messages{padding:11px 6px;background:#fff}
body.np-home .rpm-community .np-chat-message{margin-bottom:13px}
body.np-home .rpm-community .np-chat-bubble{max-width:min(90%,780px);padding:12px 14px;line-height:1.6;border-radius:5px 15px 15px 15px}
body.np-home .rpm-community .np-chat-message-text{font-size:14px;line-height:1.55}
body.np-home .rpm-community .np-chat-message-name{font-size:13px}
body.np-home .rpm-community .np-chat-mode-bar{padding:9px 16px;min-height:52px;background:#fff}
body.np-home .rpm-community .np-chat-mode-tab{font-size:12px;font-weight:700;min-height:36px}
body.np-home .rpm-community .np-chat-join-bar{margin:8px 13px;border-radius:14px}
body.np-home .rpm-community .np-chat-composer{
  border-radius:0!important;border:0!important;border-top:1px solid #f2e3ee!important;
  background:#fffafd!important;box-shadow:none!important;padding:12px 14px
}
body.np-home .rpm-community .np-chat-composer input{font-size:15px;min-height:42px}
body.np-home .rpm-community .np-chat-send{width:42px;height:42px;display:grid;place-items:center}
body.np-home .rpm-community .np-chat-feedback{padding-left:14px;padding-right:14px}
.rpm-chat-rail{display:flex;flex-direction:column;min-width:0;min-height:0;padding:18px 12px;
 background:linear-gradient(180deg,#fff8fc,#fffafd 55%,#fff7fa);
 border-right:1px solid #f1e0eb;color:#4c3b53}
.rpm-chat-rail-header{display:flex;align-items:center;gap:10px;margin-bottom:27px;padding:0 4px}
.rpm-chat-rail-logo{flex:0 0 39px;height:39px;display:grid;place-items:center;color:#fff;background:#e6007b;border-radius:13px;box-shadow:0 7px 15px rgba(230,0,123,.18);font-size:16px}
.rpm-chat-rail-header strong{font:850 14px/1.2 system-ui;letter-spacing:.02em;color:#261d35}
.rpm-chat-rail-header small{display:block;font:750 9px/1.4 system-ui;color:#b26091;letter-spacing:.13em}
.rpm-chat-rail-caption{padding:4px 10px 9px;font:850 10px/1 system-ui;letter-spacing:.13em;color:#a48aa0}
.rpm-rail-tools-caption{margin-top:22px}
.rpm-chat-rail-link{display:flex;align-items:center;gap:10px;width:100%;padding:12px 11px;
 border:0;border-radius:11px;background:transparent;color:#55455b!important;
 font:750 12px/1.35 system-ui;text-align:left;text-decoration:none!important;cursor:pointer;
 transition:background .16s,color .16s}
.rpm-chat-rail-link i{font-size:15px;color:#ae7ca0;min-width:19px;text-align:center}
.rpm-chat-rail-link span:not(.rpm-rail-unread){flex:1}
.rpm-chat-rail-link:hover,.rpm-chat-rail-link.is-active{background:#ffe1ef;color:#ae0065!important}
.rpm-chat-rail-link.is-active i,.rpm-chat-rail-link:hover i{color:#d60073}
.rpm-rail-unread{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:#e6007b;color:white;font-size:10px}
.rpm-chat-bot-card{margin-top:auto;border:1px solid #f1d5e6;border-radius:16px;padding:13px 11px;background:white;box-shadow:0 6px 22px rgba(127,33,80,.045)}
.rpm-chat-bot-head{display:flex;align-items:center;gap:8px}
.rpm-chat-bot-avatar{flex:0 0 34px;height:34px;border-radius:11px;background:#fff0f8;color:#d5007b;display:grid;place-items:center}
.rpm-chat-bot-head strong{display:block;font-size:12px;color:#3b2440}
.rpm-chat-bot-head small{font-size:10px;color:#766b7d}
.rpm-chat-bot-dot{margin-left:auto;width:9px;height:9px;background:#27b779;border-radius:50%;box-shadow:0 0 0 3px #e6fff2}
.rpm-chat-bot-card p{font:12px/1.55 system-ui;color:#746b7b;margin:11px 0}
.rpm-chat-bot-rules{width:100%;display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 5px;
 border:1px solid #f2cada;border-radius:10px;background:#fff2f9;color:#b70067;font:750 11px system-ui;cursor:pointer}
.rpm-chat-bot-rules:hover{background:#ffe4f0}
.rpm-chat-roomtop{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:63px;
 border-bottom:1px solid #f2e5ee;padding:10px 17px;background:#fff}
.rpm-chat-roomname{display:flex;align-items:center;gap:11px}
.rpm-chat-room-icon{display:grid;place-items:center;border-radius:12px;height:38px;width:38px;background:#fff0f7;color:#d30072;font-size:18px}
.rpm-chat-roomname strong{display:block;color:#2e223a;font-size:15px;line-height:1.15}
.rpm-chat-roomname small{display:block;font-size:11px;color:#807487;margin-top:4px}
.rpm-chat-roomsecure{font:700 11px system-ui;color:#27845c;background:#ebfff4;border-radius:99px;padding:8px 10px;white-space:nowrap}
.rpm-chat-bot-banner{display:flex;align-items:center;gap:10px;margin:12px 15px 4px;padding:10px 12px;
 border:1px solid #f1d2e2;border-radius:12px;background:linear-gradient(110deg,#fff4fa,#fffafd);box-shadow:0 3px 12px rgba(153,45,101,.04)}
.rpm-chat-bot-banner-avatar{flex:0 0 36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#fbd3e7;color:#a70062;font-size:16px}
.rpm-chat-bot-banner>div{flex:1;min-width:0}
.rpm-chat-bot-banner strong{display:block;font-size:12px;color:#38203b}
.rpm-chat-bot-tag{display:inline-block;margin-left:5px;color:#b60068;font-size:9px;letter-spacing:.04em}
.rpm-chat-bot-banner p{margin:3px 0 0;font:11px/1.55 system-ui;color:#70586d}
.rpm-chat-bot-banner button{background:transparent;border:0;color:#b90071;padding:8px;cursor:pointer;font-size:15px}
.rpm-chat-bot-alert{margin:5px 15px;padding:10px 12px;border:1px solid #f3b9cd;border-radius:10px;background:#fff2f5;color:#95315b;font:12px/1.45 system-ui}
.rpm-chat-bot-alert[hidden]{display:none!important}
.rpm-chat-dialog{position:fixed;inset:0;z-index:11050;display:grid;place-items:center;padding:14px;background:rgba(27,14,31,.6)}
.rpm-chat-dialog[hidden]{display:none!important}
.rpm-chat-dialog-card{max-width:430px;width:100%;border-radius:22px;padding:24px;background:#fff;box-shadow:0 20px 75px rgba(22,15,33,.25);position:relative}
.rpm-chat-dialog-card h3{color:#2c2138;font-size:20px;margin:0 0 12px}
.rpm-chat-dialog-card p,.rpm-chat-dialog-card li{font-size:14px;line-height:1.65;color:#62536b}
.rpm-chat-dialog-card ul{padding-left:22px}
.rpm-chat-dialog-close{position:absolute;right:12px;top:10px;border:0;border-radius:50%;background:#fff0f7;color:#ab0066;width:34px;height:34px;cursor:pointer}
.rpm-chat-dialog-card .rpm-chat-bot-rules{max-width:160px;margin-top:18px}
body.np-home.rpm-chat-expanded .rpm-community {padding:12px 16px!important;overflow:hidden}
body.np-home.rpm-chat-expanded .rpm-community .np-chat-panel{height:calc(100dvh - 120px)!important;max-height:none;min-height:0}
@media(max-width:1120px){
  body.np-home .rpm-community .np-chat-body{grid-template-columns:165px minmax(0,1fr) 205px!important}
  .rpm-chat-rail{padding:14px 8px}
  .rpm-chat-rail-link{font-size:11px;padding:11px 7px}
  .rpm-chat-rail-header{gap:6px}
  .rpm-chat-rail-header strong{font-size:12px}
}
@media(max-width:900px){
  body.np-home .rpm-community .np-chat-body{grid-template-columns:168px minmax(0,1fr)!important;overflow:visible}
  body.np-home .rpm-community .np-chat-sidebar{
    position:absolute;z-index:17;top:0;right:0;bottom:0;width:min(300px,87%);
    transform:translateX(110%);visibility:hidden;opacity:0;
    border-left:1px solid #f1e5ee;transition:transform .2s,opacity .2s
  }
  body.np-home .rpm-community .np-chat-panel.np-chat-users-open .np-chat-sidebar{transform:translateX(0);visibility:visible;opacity:1}
  body.np-home .rpm-community .np-chat-users-toggle{display:inline-flex}
}
@media(max-width:650px){
  body.np-home .rpm-community{padding:11px!important;border-radius:16px}
  body.np-home .rpm-community .np-chat-panel{height:690px;max-height:80dvh;min-height:450px;border-radius:14px}
  body.np-home .rpm-community .np-chat-body{display:block!important;position:relative;overflow:hidden}
  body.np-home .rpm-community .rpm-chat-rail{display:none}
  body.np-home .rpm-community .np-chat-shell{height:100%}
  body.np-home .rpm-community .np-chat-heading{padding:11px 12px;min-height:57px}
  body.np-home .rpm-community .np-chat-heading>div:first-child{font-size:13px}
  body.np-home .rpm-community .np-chat-mode-bar{min-height:40px;padding:5px 10px}
  .rpm-chat-roomtop{min-height:50px;padding:7px 11px}
  .rpm-chat-roomname strong{font-size:13px}
  .rpm-chat-roomname small{font-size:10px}
  .rpm-chat-room-icon{width:31px;height:31px;font-size:15px}
  .rpm-chat-roomsecure{font-size:0;padding:7px}
  .rpm-chat-roomsecure i{font-size:13px}
  .rpm-chat-bot-banner{margin:8px 9px 3px;padding:8px;gap:7px}
  .rpm-chat-bot-banner-avatar{flex-basis:28px;width:28px;height:28px}
  .rpm-chat-bot-banner p{font-size:10px}
  .rpm-chat-bot-tag{font-size:8px}
  body.np-home .rpm-community .np-chat-stage{padding:7px}
  body.np-home .rpm-community .np-chat-message-text{font-size:13px}
  body.np-home .rpm-community .np-chat-composer input{font-size:16px}
  body.np-home.rpm-chat-expanded .rpm-community{padding:4px!important;overflow:hidden}
  body.np-home.rpm-chat-expanded .rpm-community .np-chat-panel{height:calc(100dvh - 98px)!important;max-height:none}
  body.np-home.rpm-chat-expanded .rpm-community-heading{padding-right:116px}
}


/* Full-screen chat must outrank sticky website navigation and fit the viewport. */
body.np-home.rpm-chat-expanded .rpm-community {
 position:fixed!important;
 inset:0!important;
 z-index:200000!important;
 margin:0!important;
 padding:16px!important;
 width:100vw!important;max-width:none!important;
 height:100dvh!important;max-height:none!important;
 overflow:hidden!important;
 border-radius:0!important;
 box-sizing:border-box!important;
}
body.np-home.rpm-chat-expanded .rpm-community-heading{display:none!important}
body.np-home.rpm-chat-expanded .rpm-community-layout{height:100%!important;min-height:0!important}
body.np-home.rpm-chat-expanded .rpm-community .np-chat-panel {
 height:100%!important;max-height:none!important;min-height:0!important;
 display:flex!important;flex-direction:column!important;
}
body.np-home.rpm-chat-expanded .rpm-chat-launcher {
 position:fixed!important;
 z-index:200020!important;
 top:24px!important;bottom:auto!important;right:28px!important;
}
@media(max-width:650px){
 body.np-home.rpm-chat-expanded .rpm-community{padding:5px!important}
 body.np-home.rpm-chat-expanded .rpm-chat-launcher{
   top:16px!important;right:12px!important;
 }
 body.np-home.rpm-chat-expanded .rpm-community .np-chat-heading{padding-right:143px!important}
}

/* Site sticky header sits above the in-page chat stacking context. Hide it only while chat is expanded. */
body.np-home.rpm-chat-expanded > .np-header{visibility:hidden!important;pointer-events:none!important}
body.np-home.rpm-chat-expanded .rpm-community .np-chat-heading{padding-right:205px!important}
@media(max-width:650px){
 body.np-home.rpm-chat-expanded .rpm-community .np-chat-heading{padding-right:145px!important}
 body.np-home.rpm-chat-expanded .rpm-community .np-chat-status{display:none!important}
}


/* Party Bot in online participants (not counted as a real listener). */
body.np-home .rpm-community .rpm-chat-bot-user{
 width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px 9px;
 border:1px solid #f5d8e8;border-radius:12px;background:#fff5fa;cursor:pointer;
 color:#4a334b;font:inherit;margin-bottom:8px
}
body.np-home .rpm-community .rpm-chat-bot-user:hover{background:#ffe7f2}
.rpm-chat-online-avatar{width:34px;height:34px;display:grid;place-items:center;
 border-radius:11px;background:#ffdce9;color:#be0068;flex:0 0 auto}
.rpm-chat-online-copy{min-width:0;flex:1}
.rpm-chat-online-copy strong{display:block;font:bold 12px system-ui}
.rpm-chat-online-copy small{display:block;font:10px/1.45 system-ui;color:#a35379}
.rpm-chat-online-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#28bb79}
.rpm-chat-bot-user[data-active="0"] .rpm-chat-online-dot{background:#a6a6a6}


/* Current song mirrored from pre-existing radio player metadata. */
.rpm-chat-now-card{margin-top:18px;margin-bottom:14px;border:1px solid #f0d6e4;border-radius:15px;
 background:#fff;padding:12px;box-shadow:0 4px 15px rgba(160,46,100,.04)}
.rpm-chat-now-head{display:flex;align-items:center;gap:7px;color:#b7006c;font:850 10px/1.35 system-ui;letter-spacing:.045em}
.rpm-chat-now-head i{font-size:13px}
.rpm-chat-now-live{margin-left:auto;border-radius:20px;padding:3px 6px;background:#ffeff6;color:#e50078;font-size:9px}
.rpm-chat-now-card>strong{display:block;color:#2b1d34;margin-top:12px;font:750 12px/1.45 system-ui;
 overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rpm-chat-now-card>small{display:block;color:#826e7f;font:11px/1.4 system-ui;margin-top:7px}
.rpm-chat-now-btn{margin-top:10px;border:0;border-radius:9px;padding:8px 9px;background:#fff1f8;color:#bb006d;
 font:750 11px system-ui;cursor:pointer}
.rpm-chat-now-btn:hover{background:#ffe1f0}
@media(max-height:690px) and (min-width:651px){.rpm-chat-now-card{display:none}}


/* Alexandra's established Radio Party Mix portrait in CHAT ONLY.
   The image is the existing /images/alexandra-premium-hero.webp asset. */
body.np-home .rpm-community .rpm-alexandra-face {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 19%;
  border-radius:inherit;
}
body.np-home .rpm-community .rpm-chat-bot-avatar,
body.np-home .rpm-community .rpm-chat-bot-banner-avatar,
body.np-home .rpm-community .rpm-chat-online-avatar,
body.np-home .rpm-community .np-chat-message-bot .np-chat-avatar {
  overflow:hidden;
}
