: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;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  --header-height: 74px;
  --footer-height: 64px;
  --sidebar-width: 230px;
  --members-width: 315px;
  --profile-width: 360px;
}

* {
  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,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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: 20;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(600px, 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);
  box-shadow: inset 0 0 20px rgba(142, 57, 221, 0.08);
}

.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)
    var(--members-width)
    minmax(440px, 1fr)
    var(--profile-width);
  min-height: 0;
}

.control-sidebar,
.members-panel,
.chat-panel,
.profile-panel {
  min-width: 0;
  min-height: 0;
  background: rgba(10, 7, 17, 0.8);
  border-right: 1px solid var(--line);
}

.control-sidebar {
  overflow-y: auto;
  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;
}

.profile-summary-main,
.moderator-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.profile-summary-main p,
.moderator-main p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.verified {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #8756ff, #d55cff);
  font-size: 9px;
}

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

.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;
  box-shadow: 0 0 18px rgba(137, 62, 205, 0.22);
  overflow: hidden;
}

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

.avatar-large {
  width: 56px;
  height: 56px;
  font-size: 17px;
}

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

.avatar-mike {
  background:
    radial-gradient(circle at 38% 34%, #aa704b 0 10%, transparent 11%),
    linear-gradient(145deg, #4d2663, #171427 65%);
}

.avatar-eric {
  background:
    radial-gradient(circle at 56% 32%, #cf7858 0 10%, transparent 11%),
    linear-gradient(145deg, #194e7b, #1a1229 65%);
}

.secondary-button,
.danger-button,
.primary-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 150ms ease;
}

.secondary-button:hover {
  background: rgba(158, 76, 235, 0.12);
  border-color: rgba(194, 108, 255, 0.52);
}

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

.danger-button:hover {
  background: rgba(255, 76, 114, 0.09);
}

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

.primary-button:hover {
  filter: brightness(1.08);
}

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

.two-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}

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

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

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

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

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

.quick-actions {
  display: flex;
  flex-direction: column;
}

.quick-action {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 34px;
  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;
}

.quick-action.is-camera {
  color: var(--green);
  background: rgba(35, 229, 140, 0.05);
}

.quick-action.is-danger {
  margin-top: 8px;
  color: #ff637e;
}

.members-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 0 10px 10px;
  background: rgba(13, 9, 22, 0.9);
}

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

.panel-heading h1 {
  margin: 0;
  color: #f3edf9;
  font-size: 13px;
  text-transform: uppercase;
}

.panel-heading h1 span {
  color: var(--muted);
  font-weight: 500;
}

.heading-actions,
.chat-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

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

.small-icon-button:hover,
.small-icon-button.is-active {
  color: #fff;
  border-color: rgba(187, 98, 255, 0.45);
  background: rgba(135, 54, 205, 0.12);
}

.search-field,
.chat-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 3, 10, 0.52);
}

.search-field {
  margin-bottom: 8px;
}

.search-field span,
.chat-search span {
  color: var(--muted);
  font-size: 17px;
}

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

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

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

.member-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 55px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: 140ms ease;
}

.member-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.member-row.is-selected {
  background: linear-gradient(90deg, rgba(132, 62, 207, 0.3), rgba(113, 47, 182, 0.14));
  border-color: rgba(191, 104, 255, 0.38);
}

.member-row .avatar {
  width: 36px;
  height: 36px;
  font-size: 11px;
}

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

.member-copy strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-copy small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-side {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}

.member-badge {
  padding: 3px 5px;
  border-radius: 4px;
  color: #e5d9f1;
  background: rgba(139, 73, 192, 0.28);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.member-badge.live {
  color: #6ff2b2;
  background: rgba(35, 229, 140, 0.13);
}

.member-badge.new {
  color: #ff88db;
  background: rgba(255, 57, 189, 0.13);
}

.load-more-button {
  min-height: 34px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.chat-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 0 14px 13px;
  background:
    radial-gradient(circle at 60% 10%, rgba(115, 43, 178, 0.06), transparent 30%),
    rgba(9, 6, 15, 0.93);
}

.chat-heading {
  min-height: 60px;
}

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

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

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

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

.chat-search {
  width: 205px;
}

.moderator-notice {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  min-height: 48px;
  margin-bottom: 7px;
  padding: 0 12px;
  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: 10px;
}

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

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

.chat-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 61px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(194, 146, 235, 0.08);
}

.chat-message .avatar {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

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

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

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

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

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

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

.system-message {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin: 7px 0;
  padding: 10px 12px;
  border: 1px solid rgba(160, 85, 212, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
}

.system-message-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  color: #d772ff;
  background: rgba(145, 54, 205, 0.14);
}

.system-message strong {
  display: block;
  color: #ce7df4;
  font-size: 9px;
  text-transform: uppercase;
}

.system-message p {
  margin: 5px 0 0;
  color: var(--cyan);
  font-size: 9px;
}

.chat-composer {
  display: grid;
  grid-template-columns: 34px 34px minmax(0, 1fr) 34px 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);
}

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

.profile-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(13, 8, 22, 0.96);
}

.profile-panel.is-empty .profile-scroll {
  opacity: 0.38;
  pointer-events: none;
}

.profile-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}

.profile-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-panel-heading h1 {
  margin: 0;
  font-size: 17px;
}

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

.close-profile-button {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 18px;
  cursor: pointer;
}

.profile-scroll {
  overflow-y: auto;
  padding: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 76, 220, 0.45) transparent;
}

.profile-hero {
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.profile-main-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 166px;
  height: 181px;
  border: 1px solid rgba(196, 103, 255, 0.54);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 54px;
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 170, 121, 0.75) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 70%, rgba(191, 98, 255, 0.42), transparent 45%),
    linear-gradient(160deg, #552072, #140d26 55%, #22113b);
  box-shadow: inset 0 0 38px rgba(132, 44, 191, 0.22);
  overflow: hidden;
}

.profile-main-photo::before,
.photo-thumbnail::before {
  content: "";
  position: absolute;
  inset: auto 18% 0;
  height: 58%;
  border-radius: 48% 48% 10% 10%;
  background: linear-gradient(180deg, rgba(255, 181, 132, 0.85), rgba(105, 47, 127, 0.7));
  filter: saturate(0.85);
}

.profile-main-photo > span,
.photo-thumbnail > span {
  position: relative;
  z-index: 2;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.45);
}

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

.profile-main-details {
  padding-top: 7px;
}

.profile-main-details h2 {
  margin: 0;
  font-size: 18px;
}

.profile-main-details p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 10px;
  line-height: 1.5;
}

.profile-main-details strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 10px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 13px;
}

.photo-thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 0.9;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(150deg, #522074, #160d24);
  overflow: hidden;
  cursor: pointer;
}

.photo-thumbnail.is-active {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 57, 189, 0.14);
}

.profile-copy {
  margin-top: 15px;
}

.profile-copy h3 {
  margin: 13px 0 6px;
  font-size: 11px;
}

.profile-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 10px;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.profile-tag {
  padding: 5px 8px;
  border: 1px solid rgba(185, 91, 244, 0.25);
  border-radius: 14px;
  color: #d68ef9;
  background: rgba(141, 54, 203, 0.11);
  font-size: 8px;
}

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

.profile-actions .danger-button {
  grid-column: span 2;
}

.gaybelgium-card {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(55, 223, 132, 0.2);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(15, 81, 53, 0.16), rgba(8, 17, 15, 0.34));
}

.gaybelgium-heading {
  display: flex;
  gap: 10px;
}

.gaybelgium-heading > span {
  color: #c9ffd9;
  font-size: 20px;
}

.gaybelgium-heading strong {
  font-size: 10px;
}

.gaybelgium-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.gaybelgium-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 6px;
  color: #effff6;
  background: linear-gradient(135deg, #0f763e, #159c54);
  font-size: 9px;
  font-weight: 700;
}

.registration-link {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.registration-link a {
  color: #54e99a;
  text-decoration: underline;
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr 0.9fr 1.1fr 1.2fr;
  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);
}

.cam-status-item {
  position: relative;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 21px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: #302a3d;
  cursor: pointer;
  transition: 150ms ease;
}

.toggle-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #9a93a7;
  transition: 150ms ease;
}

.toggle-switch.is-on {
  background: linear-gradient(135deg, #7f3fff, #e839c2);
}

.toggle-switch.is-on span {
  left: 22px;
  background: #fff;
}

.session-status {
  border-right: 0;
}

.session-status > span:last-child {
  margin-left: auto;
  color: var(--muted);
}

.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: var(--shadow);
  animation: toast-in 180ms ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 1450px) {
  :root {
    --sidebar-width: 210px;
    --members-width: 285px;
    --profile-width: 330px;
  }

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

  .profile-hero {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .profile-main-photo {
    width: 145px;
    height: 164px;
  }

  .header-statistic {
    min-width: 72px;
    padding-inline: 9px;
  }
}


/* =========================================================
   GAYZZEE RESPONSIVE APP SHELL
   ========================================================= */

.mobile-activity-bar,
.mobile-bottom-nav,
.mobile-live-hub,
.mobile-sheet-backdrop {
  display: none;
}

@media (max-width: 1279px) {
  :root {
    --sidebar-width: 82px;
    --members-width: 285px;
    --profile-width: 330px;
  }

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

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

  .brand-copy {
    display: none;
  }

  .control-sidebar .section-label,
  .control-sidebar .profile-summary-main > div,
  .control-sidebar .moderator-main > div,
  .control-sidebar .secondary-button,
  .control-sidebar .danger-button,
  .control-sidebar .statistic-list strong,
  .control-sidebar .statistic-list small,
  .control-sidebar .quick-action strong,
  .control-sidebar .quick-action small {
    display: none;
  }

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

  .control-sidebar .profile-summary-main,
  .control-sidebar .moderator-main {
    justify-content: center;
  }

  .control-sidebar .two-buttons {
    display: none;
  }

  .control-sidebar .statistic-list {
    justify-items: center;
  }

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

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

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

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

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

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

  .main-navigation {
    display: none;
  }

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

  .header-icon-button {
    display: none;
  }

  .header-user {
    min-width: 72px;
    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,
  .members-panel,
  .chat-panel,
  .profile-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    border-right: 0;
    background: rgba(10, 7, 17, 0.98);
  }

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

  .members-panel {
    display: grid;
    padding: 0 10px 10px;
  }

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

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

  body[data-mobile-tab="more"] .members-panel,
  body[data-mobile-tab="live"] .members-panel {
    display: none;
  }

  body[data-mobile-tab="more"] .control-sidebar {
    display: block;
    overflow-y: auto;
    padding-bottom: 30px;
  }

  .control-sidebar .section-label,
  .control-sidebar .profile-summary-main > div,
  .control-sidebar .moderator-main > div,
  .control-sidebar .secondary-button,
  .control-sidebar .danger-button,
  .control-sidebar .statistic-list strong,
  .control-sidebar .statistic-list small,
  .control-sidebar .quick-action strong,
  .control-sidebar .quick-action small {
    display: initial;
  }

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

  .control-sidebar .profile-summary-main,
  .control-sidebar .moderator-main {
    justify-content: flex-start;
  }

  .control-sidebar .secondary-button,
  .control-sidebar .danger-button {
    display: block;
  }

  .control-sidebar .two-buttons {
    display: grid;
  }

  .control-sidebar .statistic-list {
    justify-items: stretch;
  }

  .control-sidebar .statistic-list > div {
    display: grid;
  }

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

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

  .members-heading h1,
  .chat-heading h1 {
    font-size: 12px;
  }

  .members-list {
    padding-bottom: 12px;
  }

  .member-row {
    min-height: 62px;
    padding: 7px 8px;
  }

  .member-row .avatar {
    width: 42px;
    height: 42px;
  }

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

  .member-copy small {
    font-size: 10px;
  }

  .chat-panel {
    padding: 0 10px 9px;
  }

  .chat-search {
    display: none;
  }

  .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),
  .chat-composer .composer-icon:nth-of-type(3) {
    display: none;
  }

  .status-bar {
    display: none;
  }

  .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.96);
    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.985);
    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-live-hub {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    display: block;
    max-height: min(78dvh, 690px);
    padding: 9px 14px calc(18px + env(safe-area-inset-bottom));
    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-live-open .mobile-live-hub {
    transform: translateY(0);
  }

  .mobile-drawer-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-close {
    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-own-cam {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  .mobile-own-cam > div {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-own-cam > div > span:last-child {
    display: flex;
    flex-direction: column;
  }

  .mobile-own-cam strong {
    font-size: 11px;
  }

  .mobile-own-cam small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
  }

  .mobile-live-grid {
    display: grid;
    gap: 8px;
    margin-top: 12px;
  }

  .mobile-live-grid a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 61px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.022);
  }

  .mobile-live-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, rgba(126, 62, 211, 0.62), rgba(40, 35, 83, 0.8));
    font-size: 19px;
  }

  .mobile-live-grid a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .mobile-live-grid strong {
    font-size: 11px;
  }

  .mobile-live-grid small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
  }

  .mobile-live-grid b {
    color: #d99aff;
    font-size: 8px;
  }

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

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

  .profile-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 102;
    display: grid;
    width: 100%;
    max-height: min(88dvh, 780px);
    border: 1px solid var(--line-strong);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(105%);
    transition: transform 220ms ease;
    box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.55);
  }

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

  .profile-panel-heading {
    min-height: 55px;
    padding: 0 15px;
  }

  .profile-scroll {
    padding: 12px 14px calc(22px + env(safe-area-inset-bottom));
  }

  .profile-hero {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
  }

  .profile-main-photo {
    width: 112px;
    height: 128px;
  }

  .photo-strip {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    overflow-x: auto;
  }

  .profile-actions {
    grid-template-columns: 1fr 1fr;
  }

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

  .gaybelgium-card {
    margin-bottom: 10px;
  }

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

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

@media (max-width: 479px) {
  .app-header {
    grid-template-columns: 58px 1fr 62px;
  }

  .members-panel {
    padding-inline: 8px;
  }

  .search-field {
    height: 40px;
  }

  .member-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

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

  .moderator-notice p {
    font-size: 9px;
  }

  .profile-hero {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .profile-main-photo {
    width: 98px;
    height: 116px;
  }

  .profile-main-details h2 {
    font-size: 16px;
  }
}

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

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

  .profile-panel,
  .mobile-live-hub {
    max-height: 94dvh;
  }
}

/* =========================================================
   GAYZZEE SHARED HEADER
   ========================================================= */

a.header-icon-button {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.header-inbox-button {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px;
  height: 100%;
  padding: 0;
  line-height: 1;
}

.header-icon-glyph {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  transform: none;
}

.header-counter {
  position: absolute;
  top: 12px;
  right: 6px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid rgba(7, 4, 13, 0.98);
  border-radius: 10px;
  color: #fff;
  background: var(--pink);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 12px rgba(255, 57, 189, 0.42);
}

.header-counter[hidden] {
  display: none !important;
}

@media (max-width: 979px) {
  .header-inbox-button {
    display: none;
  }
}


/* =========================================================
   GAYZZEE ONLINE MEMBERS
   ========================================================= */

.member-avatar {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.member-row {
  user-select: none;
}

.member-row .member-side {
  justify-content: flex-end;
  flex-wrap: wrap;
  max-width: 105px;
}

.member-row .member-badge {
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-main-photo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}



/* Geen placeholder-silhouet boven echte profielfoto */
.profile-main-photo.has-image::before {
  display: none !important;
}

/* =========================================================
   WELKOM — INFO & VEILIGHEID LINKS
   ========================================================= */

.info-navigation {
  display: block;
}

.info-link-list {
  display: grid;
  gap: 4px;
}

.info-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;

  min-height: 34px;
  padding: 0 9px;

  color: var(--muted-strong);
  background: transparent;

  border: 1px solid transparent;
  border-radius: 7px;

  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.info-link > span {
  display: grid;
  place-items: center;

  color: var(--purple-light);
  font-size: 13px;
}

.info-link strong {
  min-width: 0;
  overflow: hidden;

  font-size: 11px;
  font-weight: 700;

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

.info-link:hover,
.info-link:focus-visible {
  color: #fff;
  background: rgba(151, 76, 220, 0.10);
  border-color: rgba(192, 108, 255, 0.18);
  outline: none;
}

@media (min-width: 980px) and (max-width: 1279px) {
  .info-navigation .section-label,
  .info-link strong {
    display: none;
  }

  .info-link {
    grid-template-columns: 1fr;
    place-items: center;
    min-height: 38px;
    padding: 0;
  }

  .info-link > span {
    font-size: 16px;
  }
}

@media (max-width: 979px) {
  .info-navigation .section-label {
    display: block;
  }

  .info-link {
    grid-template-columns: 22px minmax(0, 1fr);
    place-items: initial;
    padding: 0 9px;
  }

  .info-link strong {
    display: initial;
  }
}

