:root {
  --background: #07050d;
  --background-soft: #0c0814;
  --panel: #100b1b;
  --panel-strong: #151025;
  --panel-hover: #1b1230;
  --line: rgba(198, 152, 255, 0.15);
  --line-strong: rgba(203, 140, 255, 0.28);
  --text: #f7f3ff;
  --muted: #aaa2ba;
  --muted-strong: #c9c0d7;
  --purple: #9b4dff;
  --purple-light: #c06cff;
  --pink: #ff39bd;
  --cyan: #3fd9ff;
  --green: #23e58c;
  --red: #ff4c72;
  --header-height: 74px;
  --footer-height: 64px;
  --sidebar-width: 230px;
  --chat-width: 390px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(132, 48, 218, 0.14), transparent 26%),
    radial-gradient(circle at 100% 35%, rgba(220, 40, 170, 0.08), transparent 28%),
    var(--background);
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr) var(--footer-height);
  width: 100%;
  height: 100dvh;
  min-width: 1180px;
}

.app-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(610px, 1fr) auto;
  align-items: stretch;
  min-height: var(--header-height);
  background: rgba(7, 4, 13, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(135deg, var(--cyan), var(--purple) 50%, var(--pink));
  box-shadow:
    0 0 0 4px rgba(120, 66, 255, 0.12),
    0 0 26px rgba(82, 215, 255, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--pink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  overflow: hidden;
}

.navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: 160ms ease;
}

.navigation-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.navigation-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(141, 62, 225, 0.22), rgba(89, 38, 148, 0.16));
  border-color: rgba(190, 103, 255, 0.45);
}

.navigation-icon {
  color: #e6ddf2;
  font-size: 19px;
}

.live-label {
  position: absolute;
  top: -8px;
  right: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #fff;
  background: var(--red);
  font-size: 8px;
  font-weight: 800;
}

.header-status {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.header-statistic {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 82px;
  padding: 0 13px;
  border-left: 1px solid var(--line);
}

.header-statistic > span:last-child {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.header-statistic strong {
  font-size: 15px;
  line-height: 1;
}

.header-statistic small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.header-icon-button {
  position: relative;
  width: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--muted-strong);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.header-icon-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.has-counter > span {
  position: absolute;
  top: 15px;
  right: 8px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  color: #fff;
  background: var(--pink);
  font-size: 9px;
  font-weight: 800;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 132px;
  padding: 0 13px;
  border: 0;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
}

.header-user-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-user-copy strong {
  font-size: 12px;
}

.header-user-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.header-user-copy i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
}

.header-user-arrow {
  margin-left: auto;
  color: var(--muted);
}

.workspace {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--chat-width);
  min-height: 0;
}

.studio-sidebar,
.livestream-stage,
.chat-panel {
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--line);
}

.studio-sidebar {
  overflow-y: auto;
  background: rgba(10, 7, 17, 0.86);
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 76, 220, 0.45) transparent;
}

.sidebar-section {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin: 0 0 13px;
  color: #f067d7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-title {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 11px;
}

.studio-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(184, 96, 255, 0.35);
  border-radius: 12px;
  color: #e8d5ff;
  background: rgba(138, 51, 203, 0.15);
  font-size: 22px;
}

.studio-title > div {
  display: flex;
  flex-direction: column;
}

.studio-title strong {
  font-size: 14px;
}

.studio-title small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.on-air-pill {
  padding: 4px 6px;
  border-radius: 5px;
  color: #ff87dd;
  background: rgba(255, 57, 189, 0.14);
  font-size: 7px;
  font-weight: 800;
}

.statistic-list {
  display: grid;
  gap: 10px;
}

.statistic-list > div {
  display: grid;
  grid-template-columns: 10px 58px 1fr;
  align-items: center;
  gap: 5px;
}

.statistic-list strong {
  font-size: 10px;
}

.statistic-list small {
  color: var(--muted);
  font-size: 9px;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 35px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #7540ff, #c33eff);
  border: 0;
  box-shadow: 0 8px 22px rgba(145, 54, 225, 0.2);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-strong);
}

.danger-button {
  color: #ff6c89;
  background: rgba(255, 76, 114, 0.04);
  border: 1px solid rgba(255, 76, 114, 0.28);
}

.full-width {
  width: 100%;
  margin-top: 10px;
}

.no-top-margin {
  margin-top: 7px;
}

.volume-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 8px;
}

.volume-box input {
  width: 100%;
  accent-color: var(--pink);
}

.radio-program-card {
  display: flex;
  flex-direction: column;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.radio-program-card small {
  color: #e178d7;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.radio-program-card strong {
  margin-top: 5px;
  font-size: 10px;
}

.radio-program-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.quick-action {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  width: 100%;
  min-height: 35px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  color: var(--muted-strong);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.quick-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.quick-action > span {
  color: #b77cff;
}

.quick-action strong {
  font-size: 10px;
}

.livestream-stage {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  padding: 0 14px 14px;
  background:
    radial-gradient(circle at 50% 43%, rgba(128, 46, 190, 0.11), transparent 31%),
    rgba(8, 5, 14, 0.95);
}

.stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-heading-copy {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stage-heading-copy > div {
  display: flex;
  flex-direction: column;
}

.stage-heading strong {
  font-size: 13px;
  text-transform: uppercase;
}

.stage-heading small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.stage-heading-actions {
  display: flex;
  gap: 7px;
}

.stream-arena {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 98px 54px;
  min-height: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 46, 187, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(20, 11, 33, 0.96), rgba(8, 5, 13, 0.98));
  overflow: hidden;
}

.stream-arena.is-cams-hidden {
  grid-template-rows: minmax(0, 1fr) 0 54px;
}

.stream-arena.is-cams-hidden .viewer-cams {
  opacity: 0;
  pointer-events: none;
}

.stream-glow {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 78%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 62, 229, 0.18), transparent 72%);
  transform: translate(-50%, -50%);
  filter: blur(28px);
}

.main-stream {
  position: relative;
  z-index: 4;
  min-width: 0;
  min-height: 0;
  border: 2px solid rgba(205, 126, 255, 0.47);
  border-radius: 16px;
  background: #050407;
  box-shadow:
    0 0 0 7px rgba(136, 57, 205, 0.04),
    0 0 42px rgba(153, 62, 222, 0.24),
    0 25px 55px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.radio-image,
.main-stream video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-stream video {
  display: none;
  background: #050407;
}

.main-stream.is-video-live .radio-image {
  display: none;
}

.main-stream.is-video-live video {
  display: block;
}

.stream-topbar {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  z-index: 7;
  display: flex;
  justify-content: space-between;
}

.live-stream-pill,
.viewer-pill {
  padding: 6px 9px;
  border-radius: 13px;
  color: #fff;
  background: rgba(5, 5, 8, 0.64);
  font-size: 8px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.live-stream-pill {
  color: #ff8ee1;
}

.stream-center-control {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.stream-center-control button {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding-left: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 6, 14, 0.64);
  font-size: 25px;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.stream-overlay-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 0.8fr) auto;
  align-items: center;
  gap: 15px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(7, 5, 11, 0.73);
  backdrop-filter: blur(14px);
}

.stream-copy small {
  display: block;
  color: #f07edb;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.stream-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
}

.stream-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 34px;
}

.equalizer span {
  width: 5px;
  height: 10px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--pink), var(--purple), var(--cyan));
  animation: equalizer 1.1s ease-in-out infinite;
  animation-play-state: paused;
}

.equalizer.is-playing span {
  animation-play-state: running;
}

.equalizer span:nth-child(2n) {
  animation-delay: 0.14s;
}

.equalizer span:nth-child(3n) {
  animation-delay: 0.28s;
}

.equalizer span:nth-child(4n) {
  animation-delay: 0.42s;
}

@keyframes equalizer {
  0%,
  100% {
    height: 9px;
  }

  50% {
    height: 33px;
  }
}

.stream-controls-inline {
  display: flex;
  align-items: center;
  gap: 7px;
}

.stream-controls-inline button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.stream-controls-inline label {
  display: flex;
  width: 70px;
}

.stream-controls-inline input {
  width: 100%;
  accent-color: var(--pink);
}

.viewer-cams {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 22px);
  transition: 180ms ease;
}

.viewer-cam {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 6vw, 88px);
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid rgba(189, 105, 255, 0.42);
  border-radius: 50%;
  background: #120b1c;
  box-shadow:
    0 0 0 6px rgba(136, 57, 205, 0.035),
    0 0 24px rgba(137, 57, 205, 0.18);
  overflow: hidden;
  cursor: pointer;
  transition: 170ms ease;
}

.viewer-cam:hover,
.viewer-cam.is-speaking {
  border-color: var(--pink);
  transform: scale(1.06);
  box-shadow:
    0 0 0 7px rgba(255, 57, 189, 0.07),
    0 0 30px rgba(255, 57, 189, 0.25);
}

.viewer-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 28%, rgba(221, 152, 107, 0.82) 0 10%, transparent 11%),
    linear-gradient(160deg, #552072, #140d26 55%, #22113b);
}

.viewer-visual.style-2 {
  background:
    radial-gradient(circle at 50% 28%, rgba(199, 132, 92, 0.85) 0 10%, transparent 11%),
    linear-gradient(160deg, #164a72, #160c22 55%, #35154f);
}

.viewer-visual.style-3 {
  background:
    radial-gradient(circle at 50% 28%, rgba(226, 160, 116, 0.85) 0 10%, transparent 11%),
    linear-gradient(160deg, #712b53, #190c22 55%, #42163f);
}

.viewer-visual.style-4 {
  background:
    radial-gradient(circle at 50% 28%, rgba(176, 116, 76, 0.85) 0 10%, transparent 11%),
    linear-gradient(160deg, #583014, #130b1d 55%, #301740);
}

.viewer-visual::after {
  content: "";
  position: absolute;
  inset: auto 22% 0;
  height: 56%;
  border-radius: 48% 48% 12% 12%;
  background: linear-gradient(180deg, rgba(255, 181, 132, 0.8), rgba(105, 47, 127, 0.72));
}

.viewer-visual > span {
  position: relative;
  z-index: 2;
}

.viewer-label {
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 88%;
  padding: 4px 7px;
  border-radius: 10px;
  color: #fff;
  background: rgba(6, 4, 10, 0.72);
  font-size: 7px;
  white-space: nowrap;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.viewer-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(35, 229, 140, 0.9);
}

.stream-info-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  gap: 8px;
}

.stream-info-strip > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid var(--line);
}

.stream-info-strip > div:last-child {
  border-right: 0;
}

.stream-strip-icon {
  color: #c77eff;
  font-size: 17px;
}

.stream-info-strip > div > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stream-info-strip strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stream-info-strip small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 0 12px 13px;
  background: rgba(11, 7, 18, 0.94);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-title-icon {
  font-size: 28px;
}

.chat-title h1 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
}

.chat-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.chat-tools {
  display: flex;
  gap: 7px;
}

.small-icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.022);
  cursor: pointer;
}

.moderator-notice {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  min-height: 47px;
  margin-bottom: 7px;
  padding: 0 11px;
  border: 1px solid rgba(173, 75, 228, 0.16);
  border-radius: 8px;
  background: rgba(89, 32, 117, 0.18);
}

.moderator-notice > span {
  color: #df52ef;
  font-size: 18px;
}

.moderator-notice p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 9px;
}

.moderator-notice button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.messages {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 76, 220, 0.45) transparent;
}

.chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(194, 146, 235, 0.08);
}

.avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(205, 136, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, #4d2663, #171427 65%);
}

.avatar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid #120b1c;
  border-radius: 50%;
  background: var(--green);
}

.avatar-small {
  width: 30px;
  height: 30px;
}

.avatar-mike {
  background: linear-gradient(145deg, #4d2663, #171427 65%);
}

.avatar-eric {
  background: linear-gradient(145deg, #194e7b, #1a1229 65%);
}

.message-copy {
  min-width: 0;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.origin-badge {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.origin-gb {
  color: #92ffc0;
  background: rgba(21, 155, 84, 0.16);
}

.origin-gz {
  color: #dfb0ff;
  background: rgba(155, 77, 255, 0.17);
}

.origin-cam {
  color: #81efff;
  background: rgba(63, 217, 255, 0.13);
}

.origin-c24 {
  color: #ff9de4;
  background: rgba(255, 57, 189, 0.13);
}

.origin-on {
  color: #ffc88e;
  background: rgba(255, 156, 61, 0.13);
}

.origin-live {
  color: #ff91e2;
  background: rgba(255, 57, 189, 0.15);
}

.message-meta strong {
  color: #e1a3ff;
  font-size: 10px;
}

.message-meta span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-copy p {
  margin: 6px 0 0;
  color: #e7e1ef;
  font-size: 10px;
  line-height: 1.42;
}

.message-time {
  color: var(--muted);
  font-size: 8px;
}

.chat-composer {
  display: grid;
  grid-template-columns: 34px 34px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 5px;
  min-height: 50px;
  margin-top: 8px;
  padding: 4px 5px 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(8, 5, 13, 0.88);
}

.chat-composer input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.chat-composer input::placeholder {
  color: #776f85;
}

.composer-icon {
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.send-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #853dff, #f03fc5);
  box-shadow: 0 0 18px rgba(227, 57, 202, 0.32);
  cursor: pointer;
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  background: rgba(7, 4, 13, 0.98);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.status-item > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.status-item strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-item small {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-icon {
  color: #c383ff;
  font-size: 20px;
}

.status-accent {
  background: rgba(164, 53, 205, 0.07);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot-green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(35, 229, 140, 0.8);
}

.status-dot-pink {
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 57, 189, 0.75);
}

.status-dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(63, 217, 255, 0.75);
}

.status-dot-purple {
  background: var(--purple-light);
  box-shadow: 0 0 10px rgba(192, 108, 255, 0.75);
}

.status-dot-red {
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 76, 114, 0.75);
}

.available-text {
  color: var(--green) !important;
}

.live-pill {
  padding: 4px 6px;
  border-radius: 5px;
  color: #6ff2b2;
  background: rgba(35, 229, 140, 0.14);
  font-size: 8px;
  font-weight: 800;
}

.profile-popover {
  position: fixed;
  z-index: 100;
  width: 260px;
  padding: 14px;
  border: 1px solid rgba(192, 103, 255, 0.36);
  border-radius: 12px;
  background: rgba(17, 10, 28, 0.97);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.profile-popover-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 19px;
  cursor: pointer;
}

.profile-popover-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(205, 136, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4d2663, #171427 65%);
  font-size: 20px;
  font-weight: 800;
}

.profile-popover-copy {
  margin-top: 10px;
}

.profile-popover-copy h3 {
  margin: 8px 0 0;
  font-size: 15px;
}

.profile-popover-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.profile-popover-actions {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 120;
  display: grid;
  gap: 8px;
}

.toast {
  min-width: 240px;
  padding: 11px 13px;
  border: 1px solid rgba(189, 102, 255, 0.35);
  border-radius: 8px;
  color: #fff;
  background: rgba(22, 12, 34, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1450px) {
  :root {
    --sidebar-width: 210px;
    --chat-width: 360px;
  }

  .navigation-item {
    padding: 0 10px;
  }
}


.now-playing-card {
  border-color: rgba(255, 79, 200, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 79, 200, 0.06), rgba(162, 104, 255, 0.035));
}

.now-playing-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing-card > span {
  overflow: hidden;
  color: #ef8ddd;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metadata-state {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 7px;
}

.metadata-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74707d;
}

.metadata-dot.is-connected {
  background: var(--green);
  box-shadow: 0 0 8px rgba(35, 229, 140, 0.75);
}

.metadata-dot.is-reconnecting {
  background: var(--orange, #ff9f4a);
  box-shadow: 0 0 8px rgba(255, 159, 74, 0.6);
}

.recent-tracks-card {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.recent-tracks-card > small {
  color: #e178d7;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

#recentTracks {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

#recentTracks > span,
.recent-track {
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-track strong {
  color: var(--muted-strong);
  font-weight: 700;
}


.now-playing-card {
  position: relative;
  min-height: 104px;
  padding: 12px;
  border-color: rgba(255, 79, 200, 0.34);
  box-shadow:
    inset 3px 0 0 rgba(255, 79, 200, 0.78),
    0 10px 26px rgba(0, 0, 0, 0.14);
}

.now-playing-card::after {
  content: "LIVE";
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 3px 5px;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 57, 189, 0.82);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.now-playing-card > small {
  padding-right: 38px;
}

.now-playing-card strong {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
}

.now-playing-card > span {
  margin-top: 4px;
  font-size: 9px;
  white-space: normal;
}

.metadata-state {
  margin-top: auto;
  padding-top: 10px;
}


/* =========================================================
   GAYZZEE RESPONSIVE LIVESTREAM
   ========================================================= */

.mobile-stream-controls,
.mobile-activity-bar,
.mobile-bottom-nav,
.mobile-profile-sheet,
.mobile-sheet-backdrop {
  display: none;
}

@media (max-width: 1279px) {
  :root {
    --sidebar-width: 82px;
    --chat-width: 350px;
  }

  .app-shell {
    min-width: 0;
  }

  .brand {
    justify-content: center;
    padding: 0;
  }

  .brand-copy {
    display: none;
  }

  .studio-sidebar .section-label,
  .studio-sidebar .studio-title > div,
  .studio-sidebar .on-air-pill,
  .studio-sidebar .radio-controls,
  .studio-sidebar .stream-controls,
  .studio-sidebar .quick-action strong {
    display: none;
  }

  .studio-sidebar .sidebar-section {
    padding: 12px 8px;
  }

  .studio-title {
    display: flex;
    justify-content: center;
  }

  .studio-sidebar .statistic-list > div {
    display: flex;
    justify-content: center;
  }

  .studio-sidebar .statistic-list strong,
  .studio-sidebar .statistic-list small {
    display: none;
  }

  .studio-sidebar .quick-action {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
  }

  .studio-sidebar .quick-action > span {
    font-size: 18px;
  }

  .header-statistic {
    display: none;
  }

  .navigation-item {
    padding: 0 10px;
  }
}

@media (max-width: 979px) {
  :root {
    --header-height: 58px;
    --footer-height: 0px;
  }

  html,
  body {
    overflow: hidden;
  }

  body {
    overscroll-behavior: none;
  }

  .app-shell {
    display: grid;
    grid-template-rows: var(--header-height) minmax(0, 1fr);
    height: 100dvh;
    min-width: 0;
    padding-bottom: 152px;
  }

  .app-header {
    grid-template-columns: 58px minmax(0, 1fr) 64px;
    min-height: 58px;
  }

  .brand {
    width: 58px;
    border-right: 0;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 21px;
  }

  .main-navigation,
  .header-statistic,
  .header-icon-button {
    display: none;
  }

  .header-status {
    grid-column: 3;
  }

  .header-user {
    min-width: 64px;
    padding: 0 10px;
    border-left: 0;
  }

  .header-user-copy,
  .header-user-arrow {
    display: none;
  }

  .header-user .avatar {
    width: 36px;
    height: 36px;
  }

  .workspace {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
  }

  .studio-sidebar,
  .livestream-stage,
  .chat-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    border-right: 0;
  }

  .studio-sidebar,
  .chat-panel {
    display: none;
  }

  .livestream-stage {
    display: grid;
    grid-template-rows: 48px minmax(0, 1fr);
    padding: 0 8px 8px;
  }

  body[data-mobile-tab="chat"] .livestream-stage,
  body[data-mobile-tab="more"] .livestream-stage {
    display: none;
  }

  body[data-mobile-tab="chat"] .chat-panel {
    display: grid;
  }

  body[data-mobile-tab="more"] .studio-sidebar {
    display: block;
    overflow-y: auto;
    padding-bottom: 30px;
    background: rgba(10, 7, 17, 0.99);
  }

  .studio-sidebar .section-label,
  .studio-sidebar .studio-title > div,
  .studio-sidebar .on-air-pill,
  .studio-sidebar .radio-controls,
  .studio-sidebar .stream-controls,
  .studio-sidebar .quick-action strong {
    display: initial;
  }

  .studio-sidebar .sidebar-section {
    padding: 15px 14px;
  }

  .studio-title {
    display: grid;
    justify-content: initial;
  }

  .studio-sidebar .statistic-list > div {
    display: grid;
    justify-content: initial;
  }

  .studio-sidebar .statistic-list strong,
  .studio-sidebar .statistic-list small {
    display: initial;
  }

  .studio-sidebar .quick-action {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    place-items: initial;
    padding: 0 9px;
  }

  .studio-sidebar .quick-action > span {
    font-size: inherit;
  }

  .stage-heading {
    min-height: 48px;
  }

  .stage-heading-copy {
    min-width: 0;
  }

  .stage-heading strong {
    font-size: 11px;
  }

  .stage-heading small {
    display: none;
  }

  .stage-heading-actions {
    gap: 5px;
  }

  .stage-heading-actions .secondary-button {
    min-height: 31px;
    padding: 0 9px;
    font-size: 8px;
  }

  #toggleCamsButton {
    display: none;
  }

  .stream-arena {
    grid-template-rows: minmax(0, 1fr) 92px 48px;
    padding: 8px;
    border-radius: 14px;
  }

  .stream-glow {
    width: 330px;
    height: 330px;
  }

  .main-stream {
    border-radius: 12px;
  }

  .radio-image,
  .main-stream video {
    object-fit: cover;
  }

  .stream-center-control button {
    width: 58px;
    height: 58px;
  }

  .stream-overlay-bottom {
    left: 8px;
    right: 8px;
    bottom: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }

  .stream-copy small {
    font-size: 7px;
  }

  .stream-copy strong {
    font-size: 13px;
  }

  .stream-copy p {
    font-size: 8px;
  }

  .equalizer {
    grid-column: 1 / 3;
    height: 24px;
  }

  .equalizer span {
    width: 4px;
  }

  .stream-controls-inline {
    align-self: start;
  }

  .stream-controls-inline label {
    display: none;
  }

  .viewer-cams {
    justify-content: flex-start;
    gap: 10px;
    padding: 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .viewer-cams::-webkit-scrollbar {
    display: none;
  }

  .viewer-cam {
    flex: 0 0 74px;
    width: 74px;
    scroll-snap-align: center;
  }

  .stream-info-strip {
    gap: 0;
  }

  .stream-info-strip > div {
    padding: 0 6px;
  }

  .stream-info-strip strong {
    font-size: 7px;
  }

  .stream-info-strip small {
    font-size: 6px;
  }

  .chat-panel {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 0 9px 9px;
    background: rgba(11, 7, 18, 0.99);
  }

  .panel-heading {
    min-height: 52px;
  }

  .chat-title h1 {
    font-size: 12px;
  }

  .chat-title p {
    font-size: 7px;
  }

  .moderator-notice {
    min-height: 43px;
  }

  .chat-message {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 10px 2px;
  }

  .chat-message .avatar {
    width: 38px;
    height: 38px;
  }

  .message-copy p {
    font-size: 11px;
  }

  .chat-composer {
    grid-template-columns: 34px minmax(0, 1fr) 42px;
    min-height: 48px;
  }

  .chat-composer .composer-icon:nth-of-type(2) {
    display: none;
  }

  .status-bar {
    display: none;
  }

  .mobile-stream-controls {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 108px;
    z-index: 72;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    min-height: 50px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(10, 6, 17, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
  }

  body[data-mobile-tab="chat"] .mobile-stream-controls,
  body[data-mobile-tab="more"] .mobile-stream-controls {
    display: none;
  }

  .mobile-stream-controls button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.025);
  }

  .mobile-stream-controls button span {
    font-size: 15px;
  }

  .mobile-stream-controls button strong {
    font-size: 7px;
  }

  .mobile-stream-controls button.is-primary {
    color: #fff;
    border-color: rgba(208, 100, 255, 0.42);
    background: linear-gradient(135deg, #7540ff, #c33eff);
  }

  .mobile-activity-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 64px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 38px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 5, 14, 0.97);
    backdrop-filter: blur(18px);
  }

  .mobile-activity-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    color: var(--muted);
    font-size: 8px;
    white-space: nowrap;
  }

  .mobile-activity-bar strong {
    color: #fff;
    font-size: 9px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(7, 4, 13, 0.99);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.3);
  }

  .mobile-nav-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    border: 0;
    color: #82798e;
    background: transparent;
    cursor: pointer;
  }

  .mobile-nav-button > span {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-nav-button strong {
    font-size: 8px;
  }

  .mobile-nav-button small {
    position: absolute;
    top: 8px;
    left: calc(50% + 8px);
    display: grid;
    place-items: center;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 10px;
    color: #fff;
    background: var(--pink);
    font-size: 7px;
  }

  .mobile-nav-button.is-active {
    color: #fff;
  }

  .mobile-nav-button.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    box-shadow: 0 0 11px rgba(255, 57, 189, 0.65);
  }

  .mobile-nav-live > span {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    margin-top: -20px;
    border: 4px solid #090611;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #7842ff, #e43fc6);
    box-shadow: 0 0 22px rgba(205, 57, 201, 0.36);
  }

  .mobile-profile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 102;
    display: block;
    max-height: min(84dvh, 720px);
    padding: 9px 14px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(135, 56, 205, 0.16), transparent 28%),
      rgba(14, 8, 24, 0.99);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(105%);
    transition: transform 220ms ease;
  }

  body.mobile-profile-open .mobile-profile-sheet {
    transform: translateY(0);
  }

  .mobile-sheet-handle {
    width: 44px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 4px;
    background: #50465e;
  }

  .mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-sheet-header small {
    color: var(--pink);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-sheet-header h2 {
    margin: 5px 0 0;
    font-size: 18px;
  }

  .mobile-sheet-header button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    font-size: 20px;
  }

  .mobile-profile-hero {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 17px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  .mobile-profile-avatar {
    width: 70px;
    height: 70px;
    font-size: 22px;
  }

  .mobile-profile-hero > div {
    display: flex;
    flex-direction: column;
  }

  .mobile-profile-hero strong {
    font-size: 15px;
  }

  .mobile-profile-hero span {
    margin-top: 5px;
    color: var(--muted-strong);
    font-size: 10px;
  }

  .mobile-profile-hero small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--green);
    font-size: 8px;
  }

  .mobile-profile-info {
    display: grid;
    gap: 9px;
    margin-top: 11px;
  }

  .mobile-profile-info article {
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.018);
  }

  .mobile-profile-info span {
    color: var(--pink);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-profile-info p {
    margin: 6px 0 0;
    color: var(--muted-strong);
    font-size: 10px;
    line-height: 1.45;
  }

  .mobile-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 12px;
  }

  .mobile-profile-actions .primary-button {
    grid-column: 1 / 3;
  }

  .mobile-profile-actions button {
    min-height: 41px;
  }

  .mobile-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    background: rgba(2, 1, 5, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.mobile-profile-open .mobile-sheet-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .toast-region {
    right: 10px;
    bottom: 112px;
    left: 10px;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 479px) {
  .stream-arena {
    grid-template-rows: minmax(0, 1fr) 84px 44px;
  }

  .viewer-cam {
    flex-basis: 68px;
    width: 68px;
  }

  .mobile-stream-controls {
    left: 6px;
    right: 6px;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 979px) {
  .app-shell {
    padding-bottom: 64px;
  }

  .mobile-activity-bar {
    display: none;
  }

  .mobile-stream-controls {
    left: auto;
    right: 8px;
    bottom: 70px;
    width: 330px;
  }

  .livestream-stage {
    grid-template-rows: 40px minmax(0, 1fr);
  }

  .stream-arena {
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-rows: minmax(0, 1fr) 44px;
  }

  .main-stream {
    grid-column: 1;
    grid-row: 1;
  }

  .viewer-cams {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    overflow-y: auto;
  }

  .stream-info-strip {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}
