: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: 228px;
  --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;
}

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

.control-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;
}

.camroom-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.camroom-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;
}

.camroom-title-row div {
  display: flex;
  flex-direction: column;
}

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

.camroom-title-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 35px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 10px;
  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: 14px;
}

.mini-cam-preview {
  position: relative;
  aspect-ratio: 1.35;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 38%, rgba(150, 72, 218, 0.22), transparent 40%),
    #0d0916;
  overflow: hidden;
}

.mini-cam-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 36px;
  font-weight: 800;
}

.mini-cam-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 9px;
}

.stacked-actions {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.quick-action {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  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;
}

.quick-action small {
  padding: 3px 5px;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 50, 98, 0.9);
  font-size: 7px;
  font-weight: 800;
}

.cam-stage {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  padding: 0 16px 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(133, 52, 202, 0.1), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(63, 217, 255, 0.035), transparent 55%),
    rgba(8, 5, 14, 0.95);
}

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

.stage-heading > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

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

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

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

.cam-arena {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(132, 56, 207, 0.15), transparent 27%),
    linear-gradient(145deg, rgba(20, 11, 33, 0.96), rgba(8, 5, 13, 0.98));
}

.arena-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 64, 227, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(18px);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(181, 101, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-one {
  width: 620px;
  height: 620px;
}

.orbit-two {
  width: 770px;
  height: 770px;
  border-style: dashed;
  border-color: rgba(63, 217, 255, 0.055);
}

.focus-cam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(37vw, 500px);
  aspect-ratio: 1;
  border: 2px solid rgba(205, 126, 255, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #10091a;
  box-shadow:
    0 0 0 10px rgba(139, 58, 213, 0.06),
    0 0 55px rgba(154, 69, 230, 0.28),
    inset 0 0 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: 220ms ease;
}

.focus-cam.is-switching {
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0.76;
}

.focus-cam-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 88px;
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 170, 121, 0.75) 0 9%, transparent 10%),
    radial-gradient(ellipse at 50% 70%, rgba(191, 98, 255, 0.42), transparent 45%),
    linear-gradient(160deg, #552072, #140d26 55%, #22113b);
}

.profile-photo-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);
}

.profile-photo-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);
}

.profile-photo-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);
}

.profile-photo-5 {
  background:
    radial-gradient(circle at 50% 28%, rgba(216, 148, 106, 0.85) 0 10%, transparent 11%),
    linear-gradient(160deg, #244c72, #0d1020 55%, #25133b);
}

.focus-cam-topline {
  position: absolute;
  top: 14%;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.live-badge,
.viewer-count {
  padding: 5px 8px;
  border-radius: 12px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  background: rgba(5, 5, 8, 0.62);
  backdrop-filter: blur(10px);
}

.live-badge {
  color: #6ff2b2;
  background: rgba(18, 61, 40, 0.72);
}

.focus-cam-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 72%;
  margin: auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(7, 5, 12, 0.7);
  backdrop-filter: blur(14px);
}

.focus-cam-info > div:first-child {
  display: flex;
  flex-direction: column;
}

.focus-cam-info strong {
  font-size: 13px;
}

.focus-cam-info small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.focus-cam-controls {
  display: flex;
  gap: 6px;
}

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

.satellite-cam {
  position: absolute;
  width: clamp(82px, 8.6vw, 118px);
  aspect-ratio: 1;
  border: 2px solid rgba(188, 104, 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;
}

.satellite-cam:hover,
.satellite-cam.is-active {
  border-color: var(--pink);
  transform: scale(1.08);
  box-shadow:
    0 0 0 7px rgba(255, 57, 189, 0.07),
    0 0 32px rgba(255, 57, 189, 0.28);
}

.satellite-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

.satellite-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));
}

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

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

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

.satellite-cam.is-speaking {
  animation: speaking-pulse 1.3s ease-in-out infinite;
}

@keyframes speaking-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(136, 57, 205, 0.035),
      0 0 24px rgba(137, 57, 205, 0.18);
  }

  50% {
    box-shadow:
      0 0 0 9px rgba(35, 229, 140, 0.1),
      0 0 38px rgba(35, 229, 140, 0.32);
  }
}

.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);
}

.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 0.9fr 1fr 0.9fr 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);
}

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

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 100;
  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;
  }

  .focus-cam {
    width: min(34vw, 440px);
  }

  .orbit-one {
    width: 540px;
    height: 540px;
  }

  .orbit-two {
    width: 670px;
    height: 670px;
  }
}


/* =========================================================
   GAYZZEE RESPONSIVE CAMROOM
   ========================================================= */

.mobile-cam-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;
  }

  .control-sidebar .section-label,
  .control-sidebar .camroom-title-row > div,
  .control-sidebar .camroom-title-row + button,
  .control-sidebar .mini-cam-overlay,
  .control-sidebar .stacked-actions,
  .control-sidebar .quick-action strong,
  .control-sidebar .quick-action small {
    display: none;
  }

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

  .camroom-title-row {
    justify-content: center;
  }

  .mini-cam-preview {
    aspect-ratio: 1;
    border-radius: 50%;
  }

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

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

  .header-statistic {
    display: none;
  }

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

  .focus-cam {
    width: min(42vw, 440px);
  }
}

@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: 150px;
  }

  .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;
  }

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

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

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

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

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

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

  .control-sidebar .section-label,
  .control-sidebar .camroom-title-row > div,
  .control-sidebar .camroom-title-row + button,
  .control-sidebar .mini-cam-overlay,
  .control-sidebar .stacked-actions,
  .control-sidebar .quick-action strong,
  .control-sidebar .quick-action small {
    display: initial;
  }

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

  .camroom-title-row {
    justify-content: flex-start;
  }

  .mini-cam-preview {
    aspect-ratio: 1.35;
    border-radius: 10px;
  }

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

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

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

  .stage-heading > div:first-child {
    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;
  }

  #resetFocusButton {
    display: none;
  }

  .cam-arena {
    border-radius: 14px;
    overflow: hidden;
  }

  .arena-glow {
    width: 320px;
    height: 320px;
  }

  .orbit {
    display: none;
  }

  .focus-cam {
    top: 42%;
    width: min(78vw, 390px);
    max-height: 48dvh;
  }

  .focus-cam-topline {
    top: 10%;
  }

  .focus-cam-info {
    bottom: 5%;
    width: 82%;
    padding: 9px 10px;
  }

  .focus-cam-info strong {
    font-size: 11px;
  }

  .focus-cam-info small {
    font-size: 8px;
  }

  .focus-cam-controls button {
    width: 28px;
    height: 28px;
  }

  .satellite-cams {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 92px;
    padding: 7px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

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

  .satellite-cam {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    flex: 0 0 76px;
    width: 76px;
    transform: none !important;
    scroll-snap-align: center;
  }

  .satellite-cam:hover,
  .satellite-cam.is-active {
    transform: scale(1.04) !important;
  }

  .satellite-label {
    bottom: 4px;
    font-size: 7px;
  }

  .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-cam-controls {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 108px;
    z-index: 72;
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 7px;
    min-height: 48px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(10, 6, 17, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
  }

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

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

  .mobile-cam-controls button span {
    font-size: 16px;
  }

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

  .mobile-cam-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) {
  .focus-cam {
    top: 40%;
    width: min(82vw, 340px);
  }

  .focus-cam-info {
    width: 86%;
  }

  .satellite-cam {
    flex-basis: 70px;
    width: 70px;
  }

  .mobile-cam-controls {
    left: 7px;
    right: 7px;
  }

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

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

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

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

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

  .focus-cam {
    top: 48%;
    width: min(45vw, 310px);
  }

  .satellite-cams {
    left: auto;
    top: 42px;
    right: 8px;
    bottom: 8px;
    display: grid;
    grid-template-columns: repeat(2, 68px);
    align-content: center;
    width: 150px;
    overflow-y: auto;
  }

  .satellite-cam {
    width: 64px;
    flex-basis: 64px;
  }
}


/* ==========================================================
   GAY PLATFORM 3.0
   CAMROOM LIVEKIT FOCUS + SATELLITES
========================================================== */

.satellite-cams {
  position: absolute;
  inset: 0;

  z-index: 8;

  pointer-events: none;
}


.satellite-cam {
  z-index: 9;

  margin:
    calc(
      clamp(82px, 8.6vw, 118px) / -2
    )
    0
    0
    calc(
      clamp(82px, 8.6vw, 118px) / -2
    );

  padding: 0;

  pointer-events: auto;

  animation:
    camroom-satellite-float
    4.8s
    ease-in-out
    infinite;

  animation-delay:
    var(
      --satellite-delay,
      0s
    );
}


@keyframes camroom-satellite-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}


.satellite-video {
  position: absolute;
  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  background: #09060d;
}


.satellite-visual {
  overflow: hidden;
}


.satellite-visual > span:not(.satellite-label) {
  position: relative;

  z-index: 2;
}


.satellite-label {
  z-index: 5;
}


.focus-cam-visual video {
  position: absolute;
  inset: 0;

  z-index: 2;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 50%;

  background: #060309;
}


.focus-cam-visual #focusInitial {
  position: relative;

  z-index: 1;
}


.mini-cam-preview video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.camroom-hidden-audio {
  position: fixed;

  width: 1px;
  height: 1px;

  opacity: 0;

  pointer-events: none;
}


/* Focus moet altijd boven de orbit maar onder satellietcams staan */
.focus-cam {
  z-index: 7;
}


/* Actieve spreker duidelijker */
.satellite-cam.is-speaking {
  border-color:
    rgba(35, 229, 140, 0.95);

  animation:
    camroom-satellite-float
      4.8s
      ease-in-out
      infinite,
    speaking-pulse
      1.3s
      ease-in-out
      infinite;

  animation-delay:
    var(
      --satellite-delay,
      0s
    ),
    0s;
}


/* Fullscreen */
.cam-arena:fullscreen .focus-cam {
  width:
    min(
      42vw,
      620px
    );
}


.cam-arena:fullscreen .satellite-cam {
  width:
    clamp(
      95px,
      8vw,
      135px
    );
}


/* Mobiel behoudt bestaande horizontale lijst */
@media (max-width: 979px) {
  .satellite-cams {
    inset: auto;
  }

  .satellite-cam {
    margin: 0;

    animation: none;
  }
}


/* ==========================================================
   CAMROOM 3.0
   AUTOMATIC SPEAKER FOCUS
========================================================== */

#resetFocusButton.is-auto-focus {
  color: #7dffd0;

  border-color:
    rgba(35, 229, 140, 0.42);

  background:
    rgba(35, 229, 140, 0.08);

  box-shadow:
    inset 0 0 16px
    rgba(35, 229, 140, 0.04);
}


/* Focuspersoon blijft ook zichtbaar als satelliet */
.satellite-cam[data-identity] {
  opacity: 1;
}


/* Actieve spreker */
.satellite-cam.is-speaking {
  border-color:
    rgba(35, 229, 140, 0.95) !important;

  box-shadow:
    0 0 0 7px
      rgba(35, 229, 140, 0.09),
    0 0 36px
      rgba(35, 229, 140, 0.38) !important;
}


/* Microfoonstatus op satelliet */
.satellite-mic-state {
  position: absolute;

  top: 7px;
  right: 7px;

  z-index: 7;

  display: grid;
  place-items: center;

  width: 23px;
  height: 23px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  color: #fff;

  background:
    rgba(5, 3, 9, 0.74);

  box-shadow:
    0 3px 10px
    rgba(0, 0, 0, 0.32);

  font-size: 10px;

  pointer-events: none;

  backdrop-filter:
    blur(8px);
}


/* Rustige zweefbeweging - elke cam heeft eigen fase */
.satellite-cam {
  will-change:
    translate;

  animation-duration:
    5.4s !important;
}


/* Grote focus reageert subtiel bij wissel */
.focus-cam.is-switching {
  opacity: 0.82;

  transform:
    translate(-50%, -50%)
    scale(0.975);

  filter:
    brightness(0.92);
}


/* Fullscreen */
.cam-arena:fullscreen .satellite-mic-state {
  width: 27px;
  height: 27px;

  font-size: 12px;
}


/* ==========================================================
   CAMROOM FOCUS VOLUME
========================================================== */

.focus-volume-control {
  display: flex;
  align-items: center;

  width: 82px;
  height: 31px;

  padding: 0 7px;

  border: 1px solid var(--line-strong);
  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.04);
}


.focus-volume-control input {
  width: 100%;

  margin: 0;

  accent-color:
    var(--pink);

  cursor: pointer;
}


.focus-volume-control input:disabled {
  opacity: 0.35;

  cursor: default;
}


@media (max-width: 979px) {
  .focus-volume-control {
    width: 64px;
    height: 28px;

    padding: 0 5px;
  }
}


/* ==========================================================
   CAMROOM 3.0
   STABLE ROTATING ORBIT
========================================================== */

/*
 * Oude op/neer animaties volledig uitschakelen.
 */
#satelliteCams .satellite-cam {
  animation:
    camroom-counter-orbit
    120s
    linear
    infinite !important;

  translate: none !important;

  margin: 0 !important;

  transform:
    translate(-50%, -50%)
    rotate(0deg);

  will-change:
    transform;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease !important;
}


/*
 * De volledige satellietlaag draait langzaam.
 * Daardoor draaien de cams echt rond de focuscam.
 */
#satelliteCams {
  position: absolute;
  inset: 0;

  z-index: 8;

  pointer-events: none;

  transform-origin:
    50% 50%;

  animation:
    camroom-orbit
    120s
    linear
    infinite;
}


@keyframes camroom-orbit {
  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }
}


/*
 * Tegengestelde rotatie houdt personen rechtop.
 */
@keyframes camroom-counter-orbit {
  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}


#satelliteCams .satellite-cam {
  pointer-events: auto;
}


#satelliteCams .satellite-cam:hover {
  border-color:
    var(--pink);

  box-shadow:
    0 0 0 7px
      rgba(255, 57, 189, 0.08),
    0 0 34px
      rgba(255, 57, 189, 0.3);
}


#satelliteCams .satellite-cam.is-speaking {
  border-color:
    #23e58c !important;

  box-shadow:
    0 0 0 8px
      rgba(35, 229, 140, 0.1),
    0 0 38px
      rgba(35, 229, 140, 0.4) !important;
}


#satelliteCams .satellite-cam.is-focus {
  border-color:
    #ff62d2;

  box-shadow:
    0 0 0 7px
      rgba(255, 57, 189, 0.08),
    0 0 30px
      rgba(255, 57, 189, 0.26);
}


.satellite-video {
  position: absolute;
  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 50%;
}


.satellite-initial {
  position: relative;
  z-index: 2;
}


.satellite-mic-state {
  position: absolute;

  top: 7px;
  right: 7px;

  z-index: 6;

  display: grid;
  place-items: center;

  width: 23px;
  height: 23px;

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

  border-radius: 50%;

  background:
    rgba(5,3,9,.76);

  font-size: 10px;

  pointer-events: none;
}


/* ==========================================================
   FOCUS ACTIVE SPEAKER
========================================================== */

#focusCam {
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}


#focusCam.is-switching {
  opacity: .82;

  transform:
    translate(-50%, -50%)
    scale(.975);
}


#resetFocusButton.is-auto-focus {
  color:
    #74f8bd;

  border-color:
    rgba(35,229,140,.45);

  background:
    rgba(35,229,140,.08);
}


/* ==========================================================
   EXTRA CAMS
========================================================== */

.camroom-more-button {
  position: absolute;

  right: 18px;
  bottom: 18px;

  z-index: 30;

  min-width: 86px;
  height: 34px;

  padding: 0 13px;

  border:
    1px solid
    rgba(203,140,255,.36);

  border-radius: 18px;

  color: #fff;

  background:
    rgba(18,10,28,.88);

  box-shadow:
    0 8px 24px
    rgba(0,0,0,.34);

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

  cursor: pointer;

  backdrop-filter:
    blur(12px);
}


.camroom-more-button:hover {
  border-color:
    rgba(255,57,189,.7);
}


.camroom-more-drawer {
  position: absolute;

  top: 16px;
  right: 16px;
  bottom: 60px;

  z-index: 40;

  width:
    min(
      280px,
      38%
    );

  overflow: hidden;

  border:
    1px solid
    rgba(203,140,255,.28);

  border-radius: 14px;

  background:
    rgba(12,7,19,.96);

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

  backdrop-filter:
    blur(18px);
}


.camroom-more-drawer[hidden] {
  display: none !important;
}


.camroom-more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 58px;

  padding: 10px 12px;

  border-bottom:
    1px solid var(--line);
}


.camroom-more-header > div {
  display: flex;
  flex-direction: column;
}


.camroom-more-header strong {
  font-size: 11px;
}


.camroom-more-header small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 8px;
}


.camroom-more-close {
  width: 30px;
  height: 30px;

  border:
    1px solid var(--line);

  border-radius: 50%;

  color: #fff;

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

  font-size: 18px;

  cursor: pointer;
}


.camroom-more-list {
  display: grid;

  gap: 6px;

  max-height:
    calc(100% - 58px);

  padding: 9px;

  overflow-y: auto;
}


.camroom-more-person {
  display: grid;

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

  align-items: center;

  gap: 9px;

  min-height: 48px;

  padding: 5px 8px;

  border:
    1px solid
    rgba(203,140,255,.12);

  border-radius: 10px;

  color: #fff;

  background:
    rgba(255,255,255,.025);

  text-align: left;

  cursor: pointer;
}


.camroom-more-person:hover {
  border-color:
    rgba(255,57,189,.4);

  background:
    rgba(255,57,189,.06);
}


.camroom-more-avatar {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  border:
    1px solid
    rgba(190,103,255,.45);

  border-radius: 50%;

  background:
    rgba(139,58,213,.14);

  font-size: 11px;
  font-weight: 800;
}


.camroom-more-copy {
  display: flex;
  flex-direction: column;

  min-width: 0;
}


.camroom-more-copy strong {
  overflow: hidden;

  font-size: 10px;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.camroom-more-copy small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 8px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 979px) {
  #satelliteCams {
    animation: none;
  }

  #satelliteCams .satellite-cam {
    animation: none !important;

    transform: none !important;
  }

  .camroom-more-drawer {
    top: 8px;
    right: 8px;
    bottom: 105px;

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

  .camroom-more-button {
    right: 10px;
    bottom: 106px;
  }
}


/* ==========================================================
   CAMROOM ORBIT FIX
   INDIVIDUELE SATELLIETBANEN
========================================================== */

/*
 * De container zelf draait NIET meer.
 */
#satelliteCams {
  animation: none !important;
  transform: none !important;
}


/*
 * Iedere satelliet krijgt zijn eigen orbit.
 * Daardoor blijft iedere camera rechtop.
 */
#satelliteCams .satellite-cam {
  left: 50% !important;
  top: 50% !important;

  margin: 0 !important;

  animation:
    camroom-real-orbit
    120s
    linear
    infinite !important;

  animation-delay:
    calc(
      var(--orbit-index, 0) *
      -1.15s
    ) !important;

  transform-origin:
    center !important;

  translate: none !important;

  will-change:
    transform;
}


/*
 * Radius ligt bewust BUITEN de grote focuscirkel.
 */
@keyframes camroom-real-orbit {
  from {
    transform:
      translate(-50%, -50%)
      rotate(
        var(--orbit-angle)
      )
      translateX(
        clamp(
          285px,
          24vw,
          385px
        )
      )
      rotate(
        calc(
          -1 * var(--orbit-angle)
        )
      )
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(
        calc(
          var(--orbit-angle) +
          360deg
        )
      )
      translateX(
        clamp(
          285px,
          24vw,
          385px
        )
      )
      rotate(
        calc(
          -1 *
          (
            var(--orbit-angle) +
            360deg
          )
        )
      )
      rotate(0deg);
  }
}


/*
 * Iets kleiner zodat ze netjes buiten de focus passen.
 */
#satelliteCams .satellite-cam {
  width:
    clamp(
      78px,
      7.2vw,
      108px
    ) !important;
}


/*
 * Geen extra scale tijdens hover:
 * dat gaf botsingen met de orbit-transform.
 */
#satelliteCams .satellite-cam:hover,
#satelliteCams .satellite-cam.is-focus,
#satelliteCams .satellite-cam.is-speaking {
  transform-origin:
    center !important;
}


/*
 * Focuscam blijft altijd boven de achtergrond,
 * satellieten draaien netjes erbuiten.
 */
.focus-cam {
  z-index: 10;
}

#satelliteCams {
  z-index: 11;
}


/*
 * Mobiel: géén draaiende orbit.
 * Daar blijft de horizontale lijst logischer.
 */
@media (max-width: 979px) {
  #satelliteCams .satellite-cam {
    animation: none !important;

    left: auto !important;
    top: auto !important;

    transform: none !important;
  }
}



/* ==========================================================
   CAMROOM 3.0
   STABIELE ORBIT - 120 SECONDEN
========================================================== */

/*
 * Een focuswissel verandert NOOIT de plaats van een
 * satellietcam.
 *
 * De individuele cams behouden hun orbit-slot zolang
 * ze in de room aanwezig zijn.
 */
#satelliteCams .satellite-cam {
  animation-duration:
    120s !important;
}


/*
 * Eventuele oudere containeranimatie eveneens op
 * dezelfde snelheid houden.
 */
#satelliteCams {
  animation-duration:
    120s !important;
}


/*
 * Geen hover/speaker-status mag de orbitpositie
 * via translate of scale beïnvloeden.
 */
#satelliteCams .satellite-cam:hover,
#satelliteCams .satellite-cam.is-speaking,
#satelliteCams .satellite-cam.is-focus {
  translate:
    none !important;
}


/*
 * Speaking/focus verandert uitsluitend de gloed.
 */
#satelliteCams .satellite-cam.is-speaking {
  border-color:
    #23e58c !important;

  box-shadow:
    0 0 0 8px
      rgba(35, 229, 140, 0.10),
    0 0 38px
      rgba(35, 229, 140, 0.40) !important;
}


#satelliteCams .satellite-cam.is-focus {
  border-color:
    #ff62d2 !important;
}


/* ==========================================================
   CAMROOM 3.0
   GROTERE SATELLIETCAMS + DICHTER BIJ FOCUS
========================================================== */

#satelliteCams .satellite-cam {
  width:
    clamp(
      96px,
      8.5vw,
      126px
    ) !important;
}


/*
 * Orbit iets dichter tegen de grote focuscam.
 */
@keyframes camroom-real-orbit {
  from {
    transform:
      translate(-50%, -50%)
      rotate(
        var(--orbit-angle)
      )
      translateX(
        clamp(
          245px,
          21vw,
          335px
        )
      )
      rotate(
        calc(
          -1 * var(--orbit-angle)
        )
      );
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(
        calc(
          var(--orbit-angle) + 360deg
        )
      )
      translateX(
        clamp(
          245px,
          21vw,
          335px
        )
      )
      rotate(
        calc(
          -1 * (
            var(--orbit-angle) + 360deg
          )
        )
      );
  }
}


/*
 * Labels iets beter leesbaar nu de cams groter zijn.
 */
#satelliteCams .satellite-label {
  bottom: 8px;

  padding:
    4px 8px;

  font-size:
    9px;
}


#satelliteCams .satellite-mic-state {
  top: 8px;
  right: 8px;

  width: 25px;
  height: 25px;

  font-size: 11px;
}


/*
 * Fullscreen mag iets ruimer.
 */
.cam-arena:fullscreen #satelliteCams .satellite-cam {
  width:
    clamp(
      110px,
      8vw,
      140px
    ) !important;
}


@media (max-width: 979px) {
  #satelliteCams .satellite-cam {
    width:
      76px !important;
  }
}


/* ==========================================================
   CAMROOM 3.0
   ADAPTIEVE ORBIT ZONDER OVERLAP
========================================================== */

#satelliteCams .satellite-cam {
  --orbit-radius:
    clamp(
      250px,
      20.5vw,
      325px
    );
}


/*
 * De radius komt nu uit JavaScript en wordt automatisch
 * groter wanneer er meer cams zichtbaar zijn.
 */
@keyframes camroom-real-orbit {
  from {
    transform:
      translate(-50%, -50%)
      rotate(
        var(--orbit-angle)
      )
      translateX(
        var(--orbit-radius)
      )
      rotate(
        calc(
          -1 * var(--orbit-angle)
        )
      );
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(
        calc(
          var(--orbit-angle) + 360deg
        )
      )
      translateX(
        var(--orbit-radius)
      )
      rotate(
        calc(
          -1 * (
            var(--orbit-angle) + 360deg
          )
        )
      );
  }
}


/*
 * De huidige grotere satellietmaat behouden.
 */
#satelliteCams .satellite-cam {
  width:
    clamp(
      96px,
      8.5vw,
      126px
    ) !important;

  animation-duration:
    120s !important;
}
