
/* Haske247 GoLive V7.5.4 — room layout compaction + top pinned notice */
body.golive-spaces #live.panel{
  padding-top:18px!important;
}
body.golive-spaces #live .head{
  align-items:start!important;
  gap:10px 16px!important;
  margin-bottom:6px!important;
}
body.golive-spaces #live .head h2{
  margin:2px 0 4px!important;
  line-height:1.1!important;
}
body.golive-spaces #live #role{
  display:block;
  margin-bottom:6px;
}
body.golive-spaces #live #roomStatus,
body.golive-spaces #live #connectionDetail{
  font-size:13px!important;
  margin:4px 0 0!important;
}
body.golive-spaces #live #roomTimer{
  margin:8px 0 0!important;
  font-size:13px!important;
}
body.golive-spaces #live .topic-badges{
  margin-top:6px!important;
}

/* Pinned message now lives near the top of the room, outside chat */
body.golive-spaces #live .room-pinned-banner{
  position:sticky;
  top:8px;
  z-index:34;
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:8px 0 10px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(59,130,246,.10))!important;
  border:1px solid rgba(129,140,248,.26)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body.golive-spaces #live .room-pinned-banner .pin-icon{
  flex:none;
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  font-size:14px;
}
body.golive-spaces #live .room-pinned-copy{
  flex:1;min-width:0;
  display:flex;flex-direction:column;gap:2px;
}
body.golive-spaces #live .room-pinned-banner .pin-label{
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gl-cap,#64748b);
}
body.golive-spaces #live .room-pinned-banner #roomPinnedBody{
  display:block;
  font-size:13px;
  line-height:1.35;
  color:var(--text,#0f172a);
  overflow-wrap:anywhere;
}
body.golive-spaces #live .room-pinned-banner #roomPinnedClear{
  flex:none;
  min-width:32px;min-height:32px;
  padding:0!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.65)!important;
  color:var(--text)!important;
  border:1px solid rgba(148,163,184,.25)!important;
}
:root[data-theme="dark"] body.golive-spaces #live .room-pinned-banner{
  background:linear-gradient(135deg,rgba(76,29,149,.42),rgba(15,23,42,.86))!important;
  border-color:rgba(167,139,250,.30)!important;
  box-shadow:0 14px 30px rgba(2,6,23,.42);
}
:root[data-theme="dark"] body.golive-spaces #live .room-pinned-banner .pin-icon,
:root[data-theme="dark"] body.golive-spaces #live .room-pinned-banner #roomPinnedClear{
  background:rgba(15,23,42,.55)!important;
  color:#f8fafc!important;
  border-color:rgba(255,255,255,.08)!important;
}
:root[data-theme="dark"] body.golive-spaces #live .room-pinned-banner #roomPinnedBody{
  color:#f8fafc!important;
}
:root[data-theme="light"] body.golive-spaces #live .room-pinned-banner #roomPinnedBody{
  color:#172033!important;
}

/* Compact room body */
body.golive-spaces #live .house-stage{
  padding:2px 0 0!important;
  display:grid;
  gap:8px;
}
body.golive-spaces #live .stage-sec{
  margin:0 0 8px!important;
}
body.golive-spaces #live .stage-head{
  margin:0 0 6px!important;
  font-size:10.5px!important;
}
body.golive-spaces #live .spk-grid{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px!important;
  justify-content:flex-start;
}
body.golive-spaces #live .spk{
  width:94px;
  padding:8px 6px 7px!important;
  border-radius:16px!important;
}
body.golive-spaces #live .spk-face{
  width:48px!important;
  height:48px!important;
  margin:0 auto 5px!important;
}
body.golive-spaces #live .spk-name{
  font-size:11.5px!important;
}
body.golive-spaces #live .spk-role{
  font-size:10px!important;
}
body.golive-spaces #live .aud-grid{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px 6px!important;
  align-items:flex-start;
}
body.golive-spaces #live .aud{
  width:56px;
}
body.golive-spaces #live .aud-face{
  width:34px!important;
  height:34px!important;
}
body.golive-spaces #live .aud-name{
  font-size:10px!important;
}
body.golive-spaces #live .presence-bar,
body.golive-spaces #live .hands-panel,
body.golive-spaces #live .chat-panel{
  margin:10px 0!important;
}
body.golive-spaces #live .presence-bar{
  padding:8px 12px!important;
  border-radius:12px!important;
}
body.golive-spaces #live .chat-panel{
  padding-top:12px!important;
}
/* when room is audio-only, remove needless empty feeling */
body.golive-spaces #live .video-grid:empty + .avatar-ring,
body.golive-spaces #live .avatar-ring{
  margin-top:0!important;
}

@media (max-width:700px){
  body.golive-spaces #live.panel{padding-top:14px!important;}
  body.golive-spaces #live .head{gap:8px 10px!important;}
  body.golive-spaces #live .room-pinned-banner{
    top:6px;
    margin:6px 0 8px!important;
    padding:9px 10px!important;
  }
  body.golive-spaces #live .room-pinned-banner .pin-icon{
    width:24px;height:24px;font-size:12px;
  }
  body.golive-spaces #live .room-pinned-banner .pin-label{
    font-size:10px;
  }
  body.golive-spaces #live .room-pinned-banner #roomPinnedBody{
    font-size:12px;
  }
  body.golive-spaces #live .spk-grid{
    justify-content:center;
  }
  body.golive-spaces #live .spk{
    width:84px;
    padding:7px 5px 6px!important;
  }
  body.golive-spaces #live .spk-face{
    width:44px!important;height:44px!important;
  }
  body.golive-spaces #live .aud{
    width:50px;
  }
  body.golive-spaces #live .aud-face{
    width:30px!important;height:30px!important;
  }
}
