:root {
  color-scheme: dark;
  --bg: #020409;
  --panel: #0a0f1d;
  --panel-2: #11182b;
  --line: rgba(111, 86, 255, .22);
  --text: #e5e7eb;
  --muted: #a1a1aa;
  --accent: #24c8ff;
  --accent-soft: rgba(36, 200, 255, .14);
  --ok: #22c55e;
  --danger: #f87171;
}

html,
body {
  background: var(--bg) !important;
  color: var(--text);
}

body {
  background: var(--bg) !important;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
}

.brand {
  font-weight: 780;
}

.brand-icon,
.side-mark {
  background: #11182b !important;
  color: #f4f4f5 !important;
  box-shadow: none !important;
}

.subtitle,
.hint,
.connection-note,
.upload-note {
  color: var(--muted) !important;
  font-weight: 650;
}

.card {
  background: rgba(17, 21, 26, .9) !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18) !important;
}

.card-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, .13) !important;
}

.card-head h1,
.card-head h2 {
  color: var(--text) !important;
  font-weight: 760;
}

.card-body {
  padding: 20px;
}

label {
  color: var(--muted) !important;
  font-weight: 720 !important;
}

input,
.bio-editor,
.bio-canvas {
  background: rgba(8, 9, 11, .58) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  color: var(--text) !important;
}

input:focus {
  border-color: rgba(36, 200, 255, .52) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .11) !important;
}

input[type="file"]::file-selector-button,
button,
.recording-download {
  background: #11182b !important;
  color: #f4f4f5 !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  box-shadow: none !important;
  font-weight: 750 !important;
}

button:hover,
.recording-download:hover {
  border-color: rgba(36, 200, 255, .42) !important;
}

.profile-hero {
  background: rgba(17, 21, 26, .9) !important;
  border-color: rgba(148, 163, 184, .14) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18) !important;
}

.profile-hero::after {
  background: var(--accent) !important;
  opacity: .72;
}

.avatar {
  border-color: var(--accent) !important;
  background: #24c8ff !important;
  box-shadow: none !important;
}

.eyebrow,
.show-title,
.page-kicker {
  color: var(--accent) !important;
}

.profile-title,
.profile-head .name {
  font-weight: 780 !important;
  text-shadow: none !important;
}

.profile-line,
.profile-head .meta,
.request-msg {
  color: var(--muted) !important;
}

.tag,
.mini,
.connection-item,
.request-card,
.toggle-card,
.avatar-tile,
.empty-state {
  background: rgba(17, 21, 26, .72) !important;
  border-color: rgba(148, 163, 184, .13) !important;
  color: var(--text) !important;
}

.dj-tabs {
  background: rgba(17, 21, 26, .74) !important;
  border-color: rgba(148, 163, 184, .13) !important;
}

.dj-tabs.nav-tabs {
  border-bottom-color: rgba(148, 163, 184, .13) !important;
}

.dj-tabs .nav-link {
  color: var(--muted) !important;
  font-weight: 740 !important;
}

.dj-tabs .nav-link:hover {
  color: var(--text) !important;
  background: rgba(36, 40, 46, .42) !important;
  border-color: rgba(148, 163, 184, .14) !important;
}

.dj-tabs .nav-link.active {
  color: var(--text) !important;
  background: rgba(36, 200, 255, .1) !important;
  border-color: rgba(36, 200, 255, .28) !important;
  box-shadow: none !important;
}

.pill {
  font-weight: 740 !important;
  border-color: rgba(148, 163, 184, .16) !important;
}

.pill.idle {
  color: #d4d4d8;
  background: rgba(36, 40, 46, .72);
}

.recording-list {
  display: grid;
  gap: 14px;
}

.jingle-card {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(36, 200, 255, .1), transparent 42%),
    rgba(17, 21, 26, .72);
}

.social-links-card {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(123, 53, 255, .22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .055) 58%),
    rgba(17, 21, 26, .72);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jingle-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 900;
}

.jingle-title i {
  color: var(--accent);
}

.jingle-sub,
.jingle-empty {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.jingle-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px dashed rgba(148, 163, 184, .18);
  border-radius: 12px;
  background: rgba(0, 0, 0, .16);
}

.jingle-audio {
  width: 100%;
  min-height: 42px;
}

.jingle-remove-form {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 0;
}

.discord-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(84, 122, 255, .16);
}

.discord-connect-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(225, 234, 247, .8);
  font-size: .9rem;
  font-weight: 720;
  line-height: 1.35;
}

.discord-connect-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7b35ff);
  border: 1px solid rgba(151, 160, 255, .72);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(88, 101, 242, .22);
}

.discord-connect {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px !important;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #5865f2, #6f46ef) !important;
  border-color: rgba(151, 160, 255, .75) !important;
  box-shadow: 0 10px 24px rgba(88, 101, 242, .24) !important;
}

.discord-connect:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #6975ff, #7d55ff) !important;
  border-color: rgba(196, 201, 255, .94) !important;
  box-shadow: 0 14px 28px rgba(88, 101, 242, .34) !important;
}

.discord-connect .fa-arrow-right {
  font-size: .72rem;
  opacity: .84;
}

@media (max-width: 620px) {
  .discord-connect-row {
    align-items: stretch;
    flex-direction: column;
  }

  .discord-connect {
    width: 100%;
  }
}

/* OBS video ingest lives beside the existing radio connection details. */
.video-connection-card {
  margin-top: 20px;
}

.video-connection-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connection-key-item {
  grid-column: 1 / -1;
}

.connection-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

.video-connection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.video-connection-actions form {
  margin: 0;
}

.video-connection-actions .danger {
  border-color: rgba(255, 97, 132, .42) !important;
  color: #ffd4de !important;
}

@media (max-width: 620px) {
  .video-connection-list {
    grid-template-columns: 1fr;
  }

  .connection-key-item {
    grid-column: auto;
  }

  .video-connection-actions .button-small {
    width: 100%;
  }
}

.jingle-remove {
  background: rgba(255, 77, 95, .13) !important;
  border-color: rgba(255, 77, 95, .3) !important;
  color: #d9e1ff !important;
}

.recording-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px) 158px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(36, 200, 255, .11), transparent 34%),
    rgba(17, 21, 26, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.recording-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.recording-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #11182b;
  color: var(--accent);
}

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

.recording-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 780;
}

.recording-rename-form {
  min-width: 0;
  margin: 0;
}

.recording-title-button {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
  cursor: text;
}

.recording-title-button:hover {
  color: #d9e1ff;
}

.recording-rename-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 38px;
  gap: 7px;
  align-items: center;
}

.recording-rename-editor[hidden] {
  display: none;
}

.recording-rename-editor input {
  height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #fff;
}

.recording-rename-save,
.recording-rename-cancel {
  width: 38px;
  min-height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.recording-rename-save {
  background: rgba(53, 208, 127, .16) !important;
  border-color: rgba(53, 208, 127, .32) !important;
  color: #d8ffe8 !important;
}

.recording-rename-cancel {
  background: rgba(255, 77, 95, .13) !important;
  border-color: rgba(255, 77, 95, .3) !important;
  color: #d9e1ff !important;
}

.recording-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 650;
}

.recording-audio {
  display: none;
}

.recording-player {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(0, 0, 0, .18);
}

.recording-play {
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(36, 200, 255, .32) !important;
  background: linear-gradient(135deg, #7a35ff, #e8fbff) !important;
  color: #140900 !important;
  box-shadow: 0 10px 28px rgba(36, 200, 255, .2) !important;
}

.recording-player.is-playing .recording-play {
  box-shadow: 0 0 0 7px rgba(36, 200, 255, .12), 0 14px 34px rgba(36, 200, 255, .26) !important;
}

.recording-wave {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.11) 0 3px, transparent 3px 8px),
    rgba(0, 0, 0, .32);
  outline: none;
}

.recording-wave:focus-visible {
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .18);
}

.recording-buffer,
.recording-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  pointer-events: none;
}

.recording-buffer {
  background: rgba(148, 163, 184, .16);
  z-index: 1;
}

.recording-progress {
  background: linear-gradient(90deg, #24c8ff, #e8fbff, #22d3ee);
  box-shadow: 0 0 22px rgba(36, 200, 255, .22);
  z-index: 2;
}

.recording-time {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.recording-progress-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 14px;
  border: 1px solid rgba(36, 200, 255, .28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(36, 200, 255, .14), rgba(255, 224, 102, .06)),
    rgba(0, 0, 0, .18);
}

.recording-live-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: #24c8ff;
  box-shadow: 0 0 0 7px rgba(36, 200, 255, .12), 0 0 24px rgba(36, 200, 255, .58);
  animation: recording-pulse 1.25s ease-out infinite;
}

.recording-progress-title {
  color: var(--text);
  font-weight: 900;
}

.recording-progress-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
}

@keyframes recording-pulse {
  0% { transform: scale(.86); }
  70%, 100% { transform: scale(1.08); }
}

.recording-download {
  width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  white-space: nowrap;
}

.recording-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.recording-delete-form {
  margin: 0;
}

.recording-feature-form {
  margin: 0;
}

.recording-feature {
  color: rgba(218, 226, 242, .78) !important;
}

.recording-feature:hover {
  color: #fff !important;
  border-color: rgba(123, 53, 255, .72) !important;
  background: rgba(123, 53, 255, .16) !important;
}

.recording-feature.featured {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .62) !important;
  background: linear-gradient(135deg, #7b35ff, #24c8ff) !important;
  box-shadow: 0 10px 24px rgba(36, 200, 255, .2) !important;
}

.recording-delete {
  background:
    linear-gradient(135deg, rgba(255, 77, 95, .32), rgba(123, 53, 255, .16)),
    rgba(30, 8, 15, .9) !important;
  border-color: rgba(255, 77, 95, .44) !important;
  color: #fff !important;
}

.recording-delete:hover {
  border-color: rgba(255, 77, 95, .78) !important;
  box-shadow: 0 16px 36px rgba(255, 77, 95, .15) !important;
}

.recording-download.disabled {
  opacity: .58;
  cursor: not-allowed;
  pointer-events: none;
}


.dj-request-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(36, 200, 255, .34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(36, 200, 255, .18), rgba(36, 40, 46, .94)),
    #15191f;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .48), 0 0 34px rgba(36, 200, 255, .14);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}

.dj-request-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dj-request-toast[hidden] {
  display: none;
}

.toast-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #24c8ff, #e8fbff);
  color: #130900;
  box-shadow: 0 0 0 7px rgba(36, 200, 255, .12);
}

.toast-title {
  color: var(--text);
  font-weight: 900;
}

.toast-copy {
  margin-top: 2px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.toast-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(36, 200, 255, .28);
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;
  background: rgba(0, 0, 0, .22);
}


@media (max-width: 980px) {

  .dj-request-toast {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .toast-action {
    grid-column: 2;
    justify-content: center;
  }

  .recording-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
  }

  .social-links-grid {
    grid-template-columns: 1fr;
  }

  .recording-player {
    grid-template-columns: 44px minmax(0, 1fr);
    border-radius: 18px;
  }

  .recording-time {
    grid-column: 2;
  }
}
/* DropDeck 2026 theme reinforcement */
:root {
  --bg: #03040b;
  --panel: #0a0f1f;
  --panel-2: #10172a;
  --surface: rgba(12, 18, 34, .86);
  --surface-strong: rgba(15, 23, 42, .94);
  --line: rgba(84, 122, 255, .34);
  --line-strong: rgba(36, 200, 255, .46);
  --text: #f8fbff;
  --muted: #b8c1d6;
  --dim: #7f8aa3;
  --accent: #24c8ff;
  --accent-soft: rgba(36, 200, 255, .16);
  --violet: #7b35ff;
  --violet-soft: rgba(123, 53, 255, .18);
  --magenta: #cc4cff;
  --ok: #35d07f;
  --danger: #ff4d6d;
  --shadow: 0 26px 80px rgba(0, 0, 0, .42);
}

html,
body {
  background: #03040b !important;
}

body {
  position: relative;
  background:
    radial-gradient(circle at 10% -8%, rgba(123, 53, 255, .24), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(36, 200, 255, .18), transparent 32rem),
    linear-gradient(135deg, #03040b 0%, #070815 46%, #05111b 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .68), transparent 72%);
  z-index: -1;
}

.wrap {
  width: min(1240px, calc(100% - 36px));
}

.top,
.portal-shell,
.profile-layout,
.booking-layout,
.requests-layout,
.recording-layout {
  position: relative;
  z-index: 1;
}

.brand {
  color: var(--text) !important;
  letter-spacing: -.02em;
  text-shadow: 0 0 30px rgba(36, 200, 255, .18);
}

.brand-icon,
.side-mark {
  background: linear-gradient(135deg, var(--violet), var(--accent)) !important;
  color: #fff !important;
  box-shadow: 0 0 34px rgba(36, 200, 255, .22), 0 0 58px rgba(123, 53, 255, .18) !important;
}

.card,
.profile-hero,
.panel,
.portal-side,
.portal-main,
.status-card,
.requests-panel,
.recording-panel,
.booking-panel,
.chat-panel {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .055) 42%, rgba(6, 11, 22, .94)),
    var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.card-head,
.panel-head,
.portal-head,
.recording-head,
.requests-head,
.booking-head {
  border-bottom-color: rgba(36, 200, 255, .16) !important;
  background: linear-gradient(90deg, rgba(123, 53, 255, .13), rgba(36, 200, 255, .045), transparent) !important;
}

.card-head h1,
.card-head h2,
.panel-head h1,
.panel-head h2,
.page-title,
.profile-title,
.profile-head .name {
  color: var(--text) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 28px rgba(36, 200, 255, .16) !important;
}

.subtitle,
.hint,
.connection-note,
.upload-note,
.profile-line,
.profile-head .meta,
.request-msg,
.toggle-sub,
.mini-sub,
.recording-meta,
.booking-head-copy {
  color: var(--muted) !important;
}

.eyebrow,
.show-title,
.page-kicker,
.card-head h1 i,
.card-head h2 i,
.panel-head i,
.jingle-title i {
  color: var(--accent) !important;
}

.profile-hero {
  overflow: hidden;
}

.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 18%, rgba(123, 53, 255, .28), transparent 18rem),
    radial-gradient(circle at 94% 22%, rgba(36, 200, 255, .18), transparent 18rem);
}

.profile-hero::after {
  background: linear-gradient(90deg, var(--violet), var(--accent), var(--magenta)) !important;
  opacity: .9 !important;
}

.profile-identity,
.profile-head,
.card-body,
.panel-body {
  position: relative;
  z-index: 1;
}

.avatar {
  border-color: var(--accent) !important;
  background: linear-gradient(135deg, var(--violet), var(--accent)) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .12), 0 0 38px rgba(36, 200, 255, .24) !important;
}

.tag,
.mini,
.connection-item,
.request-card,
.toggle-card,
.avatar-tile,
.empty-state,
.jingle-card,
.social-links-card,
.booking-show-field,
.booking-merge-toggle,
.booking-day-title,
.slot-card,
.merged-booking-card {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .09), rgba(36, 200, 255, .045)),
    rgba(6, 10, 20, .76) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  color: var(--text) !important;
}

.tag:hover,
.connection-item:hover,
.request-card:hover,
.avatar-tile:hover,
.slot-card:hover {
  border-color: var(--line-strong) !important;
}

.dj-tabs {
  gap: 8px;
  padding: 8px !important;
  background: rgba(5, 9, 18, .78) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .26) !important;
}

.dj-tabs .nav-link {
  border-radius: 12px !important;
  color: var(--muted) !important;
}

.dj-tabs .nav-link:hover {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .28) !important;
  background: rgba(36, 200, 255, .08) !important;
}

.dj-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .88), rgba(36, 200, 255, .82)) !important;
  border-color: rgba(36, 200, 255, .38) !important;
  box-shadow: 0 12px 34px rgba(36, 200, 255, .18) !important;
}

input,
select,
textarea,
.bio-editor,
.bio-canvas {
  background: rgba(2, 6, 14, .72) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  color: var(--text) !important;
}

input:focus,
select:focus,
textarea:focus,
.bio-editor:focus,
.bio-canvas:focus {
  border-color: rgba(36, 200, 255, .62) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .13) !important;
}

input[type="file"]::file-selector-button,
button,
.button-small,
.recording-download {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .22), rgba(36, 200, 255, .12)),
    #141c2d !important;
  color: #f8fbff !important;
  border-color: rgba(84, 122, 255, .38) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2) !important;
}

button:hover,
.button-small:hover,
.recording-download:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 200, 255, .62) !important;
  box-shadow: 0 16px 36px rgba(36, 200, 255, .12) !important;
}

button[type="submit"],
.booking-date-field button,
.slot-action button {
  background: linear-gradient(135deg, var(--violet), var(--accent)) !important;
  color: #fff !important;
  border-color: rgba(36, 200, 255, .48) !important;
}

.pill,
.tag,
.mini {
  border-color: rgba(84, 122, 255, .26) !important;
}

.pill.ok,
.tag.ok,
.toggle-status.ok {
  color: #d9ffeb !important;
  background: rgba(53, 208, 127, .14) !important;
  border-color: rgba(53, 208, 127, .42) !important;
}

.pill.idle {
  color: #dbeafe !important;
  background: rgba(84, 122, 255, .14) !important;
}

.pill.danger,
.toggle-status.danger {
  color: #ffe4ea !important;
  background: rgba(255, 77, 109, .13) !important;
  border-color: rgba(255, 77, 109, .38) !important;
}

.portal-side {
  background:
    radial-gradient(circle at 0 0, rgba(123, 53, 255, .24), transparent 18rem),
    linear-gradient(180deg, rgba(12, 18, 34, .94), rgba(5, 9, 18, .96)) !important;
}

.side-link {
  color: var(--muted) !important;
}

.side-link:hover {
  color: #fff !important;
  background: rgba(36, 200, 255, .08) !important;
}

.side-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .42), rgba(36, 200, 255, .18)) !important;
  border-color: rgba(36, 200, 255, .36) !important;
  box-shadow: inset 3px 0 0 var(--accent), 0 12px 32px rgba(36, 200, 255, .08) !important;
}

.on-air,
.live-session,
.status-card {
  border-color: rgba(36, 200, 255, .36) !important;
  background:
    linear-gradient(135deg, rgba(53, 208, 127, .12), rgba(36, 200, 255, .08), rgba(123, 53, 255, .08)),
    rgba(6, 10, 20, .86) !important;
}

.recording-player,
.recording-card,
.chat-shell,
.poll-card {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .05)),
    rgba(3, 7, 15, .78) !important;
  border-color: rgba(84, 122, 255, .26) !important;
}

.jingle-preview,
.recording-player {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100%;
  padding: 8px 10px !important;
  border: 1px solid rgba(36, 200, 255, .14) !important;
  border-radius: 999px !important;
  background: rgba(2, 6, 12, .46) !important;
  box-shadow: none !important;
}

.jingle-preview-play,
.recording-play {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #061018 !important;
  background: linear-gradient(135deg, var(--cyan), var(--violet)) !important;
  box-shadow: 0 10px 24px rgba(36, 200, 255, .2) !important;
}

.jingle-preview.playing .jingle-preview-play,
.recording-player.is-playing .recording-play {
  box-shadow: 0 0 0 6px rgba(36, 200, 255, .12), 0 12px 26px rgba(36, 200, 255, .22) !important;
}

.jingle-preview-track,
.recording-wave {
  position: relative !important;
  height: 8px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(148, 163, 184, .18) !important;
  cursor: pointer !important;
  touch-action: none;
  transition: height .16s ease, background .16s ease, box-shadow .16s ease;
}

.recording-wave:hover,
.recording-wave:focus-visible {
  height: 10px !important;
  background: rgba(148, 163, 184, .24) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .08) !important;
}

.jingle-preview-track span,
.recording-buffer,
.recording-progress {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 0%;
  border-radius: inherit !important;
  pointer-events: none !important;
}

.jingle-preview-track span,
.recording-progress {
  background: linear-gradient(90deg, var(--violet), var(--cyan)) !important;
  box-shadow: none !important;
}

.recording-buffer {
  background: rgba(148, 163, 184, .28) !important;
  z-index: 1 !important;
}

.recording-progress {
  z-index: 2 !important;
  background: linear-gradient(90deg, #8f55ff, #24c8ff, #e8fbff) !important;
  box-shadow: 0 0 18px rgba(36, 200, 255, .34) !important;
}

.jingle-preview time,
.recording-time {
  color: var(--muted) !important;
  font-size: .84rem !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.recording-time {
  min-width: 104px;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 5px !important;
}

.dj-jingle-preview {
  margin-top: 4px;
}

.recording-play {
  border: 1px solid rgba(36, 200, 255, .38) !important;
  color: #eaf8ff !important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(145deg, rgba(36, 200, 255, .24), rgba(123, 53, 255, .18)),
    rgba(3, 8, 18, .94) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 0 1px rgba(123, 53, 255, .12),
    0 10px 24px rgba(0, 0, 0, .28) !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease !important;
}

.recording-play:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 200, 255, .68) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 0 0 5px rgba(36, 200, 255, .08),
    0 14px 30px rgba(36, 200, 255, .18) !important;
}

.recording-player.is-playing .recording-play {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .82) !important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .26), transparent 30%),
    linear-gradient(145deg, rgba(36, 200, 255, .54), rgba(123, 53, 255, .42)),
    rgba(3, 8, 18, .98) !important;
  box-shadow:
    0 0 0 6px rgba(36, 200, 255, .12),
    0 14px 30px rgba(36, 200, 255, .24) !important;
}

.recording-player.is-playing .recording-play i {
  color: #fff !important;
}

.quality-monitor {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(36, 200, 255, .24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .06), rgba(3, 8, 18, .7));
}
.quality-summary { display: flex; align-items: center; gap: 14px; }
.quality-ring { width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-content: center; border: 2px solid rgba(148, 163, 184, .28); border-radius: 50%; background: rgba(3, 8, 18, .66); text-align: center; }
.quality-ring.healthy { border-color: #2ed8a7; box-shadow: 0 0 0 6px rgba(46, 216, 167, .09), 0 0 24px rgba(46, 216, 167, .18); }
.quality-ring strong { color: #f8fbff; font-size: 1.2rem; line-height: 1; }.quality-ring span { color: var(--muted); font-size: .6rem; font-weight: 850; }
.quality-kicker { color: var(--cyan); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }.quality-title { margin-top: 3px; color: #f8fbff; font-size: 1rem; font-weight: 900; }.quality-detail { margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.quality-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(36, 200, 255, .14); padding-top: 14px; gap: 10px; }.quality-metrics > div { min-width: 0; }.quality-metrics span { display: block; color: var(--muted); font-size: .64rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }.quality-metrics strong { display: block; overflow: hidden; margin-top: 4px; color: #f8fbff; font-size: .82rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .quality-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.quality-metrics > div:last-child { grid-column: span 2; } }

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 22px, 1240px);
  }

  .card-body,
  .panel-body {
    padding: 16px;
  }
}

/* DropDeck 2026 DJ portal final overrides */
body {
  background:
    radial-gradient(circle at 10% -8%, rgba(123, 53, 255, .24), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(36, 200, 255, .18), transparent 32rem),
    linear-gradient(135deg, #03040b 0%, #070815 46%, #05111b 100%) !important;
}
.brand-icon,
.side-mark {
  background: linear-gradient(135deg, #7b35ff, #24c8ff) !important;
  color: #fff !important;
  box-shadow: 0 0 34px rgba(36, 200, 255, .22), 0 0 58px rgba(123, 53, 255, .18) !important;
}
.card,
.profile-hero,
.panel,
.portal-side,
.portal-main,
.status-card,
.requests-panel,
.recording-panel,
.booking-panel,
.chat-panel {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .055) 42%, rgba(6, 11, 22, .94)),
    rgba(12, 18, 34, .86) !important;
  border-color: rgba(84, 122, 255, .34) !important;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .42) !important;
}
.card-head,
.panel-head,
.portal-head,
.recording-head,
.requests-head,
.booking-head {
  border-bottom-color: rgba(36, 200, 255, .16) !important;
  background: linear-gradient(90deg, rgba(123, 53, 255, .13), rgba(36, 200, 255, .045), transparent) !important;
}
.card-head h1,
.card-head h2,
.panel-head h1,
.panel-head h2,
.page-title,
.profile-title,
.profile-head .name {
  color: #f8fbff !important;
  font-weight: 950 !important;
  text-shadow: 0 0 28px rgba(36, 200, 255, .16) !important;
}
.subtitle,
.hint,
.connection-note,
.upload-note,
.profile-line,
.profile-head .meta,
.request-msg,
.toggle-sub,
.mini-sub,
.recording-meta,
.booking-head-copy {
  color: #b8c1d6 !important;
}
.eyebrow,
.show-title,
.page-kicker,
.card-head h1 i,
.card-head h2 i,
.panel-head i,
.jingle-title i {
  color: #24c8ff !important;
}
.profile-hero::after {
  background: linear-gradient(90deg, #7b35ff, #24c8ff, #cc4cff) !important;
  opacity: .9 !important;
}
.avatar {
  border-color: #24c8ff !important;
  background: linear-gradient(135deg, #7b35ff, #24c8ff) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .12), 0 0 38px rgba(36, 200, 255, .24) !important;
}
.tag,
.mini,
.connection-item,
.request-card,
.toggle-card,
.avatar-tile,
.empty-state,
.jingle-card,
.social-links-card,
.booking-show-field,
.booking-merge-toggle,
.booking-day-title,
.slot-card,
.merged-booking-card {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .09), rgba(36, 200, 255, .045)),
    rgba(6, 10, 20, .76) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  color: #f8fbff !important;
}
.dj-tabs {
  gap: 8px;
  padding: 8px !important;
  background: rgba(5, 9, 18, .78) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .26) !important;
}
.dj-tabs .nav-link {
  border-radius: 12px !important;
  color: #b8c1d6 !important;
}
.dj-tabs .nav-link:hover {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .28) !important;
  background: rgba(36, 200, 255, .08) !important;
}
.dj-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .88), rgba(36, 200, 255, .82)) !important;
  border-color: rgba(36, 200, 255, .38) !important;
  box-shadow: 0 12px 34px rgba(36, 200, 255, .18) !important;
}
input,
select,
textarea,
.bio-editor,
.bio-canvas {
  background: rgba(2, 6, 14, .72) !important;
  border-color: rgba(84, 122, 255, .28) !important;
  color: #f8fbff !important;
}
input:focus,
select:focus,
textarea:focus,
.bio-editor:focus,
.bio-canvas:focus {
  border-color: rgba(36, 200, 255, .62) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .13) !important;
}
input[type="file"]::file-selector-button,
button,
.button-small,
.recording-download {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .22), rgba(36, 200, 255, .12)),
    #141c2d !important;
  color: #f8fbff !important;
  border-color: rgba(84, 122, 255, .38) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2) !important;
}
button:hover,
.button-small:hover,
.recording-download:hover {
  border-color: rgba(36, 200, 255, .62) !important;
  box-shadow: 0 16px 36px rgba(36, 200, 255, .12) !important;
}
button[type="submit"],
.booking-date-field button,
.slot-action button {
  background: linear-gradient(135deg, #7b35ff, #24c8ff) !important;
  color: #fff !important;
  border-color: rgba(36, 200, 255, .48) !important;
}
.pill.ok,
.tag.ok,
.toggle-status.ok {
  color: #d9ffeb !important;
  background: rgba(53, 208, 127, .14) !important;
  border-color: rgba(53, 208, 127, .42) !important;
}
.pill.idle {
  color: #dbeafe !important;
  background: rgba(84, 122, 255, .14) !important;
}
.pill.danger,
.toggle-status.danger {
  color: #ffe4ea !important;
  background: rgba(255, 77, 109, .13) !important;
  border-color: rgba(255, 77, 109, .38) !important;
}
.portal-side {
  background:
    radial-gradient(circle at 0 0, rgba(123, 53, 255, .24), transparent 18rem),
    linear-gradient(180deg, rgba(12, 18, 34, .94), rgba(5, 9, 18, .96)) !important;
}
.side-link {
  color: #b8c1d6 !important;
}
.side-link:hover {
  color: #fff !important;
  background: rgba(36, 200, 255, .08) !important;
}
.side-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .42), rgba(36, 200, 255, .18)) !important;
  border-color: rgba(36, 200, 255, .36) !important;
  box-shadow: inset 3px 0 0 #24c8ff, 0 12px 32px rgba(36, 200, 255, .08) !important;
}
.on-air,
.live-session,
.status-card {
  border-color: rgba(36, 200, 255, .36) !important;
  background:
    linear-gradient(135deg, rgba(53, 208, 127, .12), rgba(36, 200, 255, .08), rgba(123, 53, 255, .08)),
    rgba(6, 10, 20, .86) !important;
}
.recording-player,
.recording-card,
.chat-shell,
.poll-card {
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .05)),
    rgba(3, 7, 15, .78) !important;
  border-color: rgba(84, 122, 255, .26) !important;
}
.recording-card {
  padding-inline: 22px !important;
}
.recordings-portal-region .song-library-card .card-body {
  padding: 22px !important;
}
.recordings-portal-region .recording-list {
  padding: 0 !important;
}
.recording-card .recording-main,
.recording-card .recording-player,
.recording-card .recording-actions {
  min-width: 0;
}
@media (max-width: 760px) {
  .recordings-portal-region .song-library-card .card-body {
    padding: 16px !important;
  }
  .recording-card {
    padding-inline: 16px !important;
  }
}

/* Public recording state must win over the shared icon-button treatment above. */
.recording-card.is-featured {
  border-color: rgba(36, 200, 255, .42) !important;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .18), rgba(36, 200, 255, .08) 54%, transparent),
    rgba(3, 7, 15, .82) !important;
}

.recording-public-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(36, 200, 255, .36);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(36, 200, 255, .1);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.recording-feature.featured,
.recording-feature.featured:hover {
  color: #fff !important;
  border-color: rgba(165, 234, 255, .92) !important;
  background: linear-gradient(135deg, #7b35ff, #24c8ff) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .12), 0 12px 26px rgba(36, 200, 255, .28) !important;
}

.recording-feature.featured i {
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 22px, 1240px); }
  .card-body, .panel-body { padding: 16px; }
}

html,
body,
.dj-admin-shell {
  background-color: #020409 !important;
}

body {
  background:
    radial-gradient(circle at 13% 8%, rgba(123, 53, 255, .24), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(36, 200, 255, .17), transparent 31rem),
    radial-gradient(circle at 50% 48%, rgba(123, 53, 255, .08), transparent 34rem),
    linear-gradient(180deg, #070915 0%, #020409 54%, #010205 100%) !important;
}

.dj-main-panel {
  min-width: 0;
  background: transparent;
}

/* OBS overlay studio */
.overlay-studio {
  display: grid;
  gap: 18px;
}

/* Broadcast overlay workspace */
.broadcast-studio {
  display: grid;
  gap: 18px;
}

.broadcast-command-bar,
.broadcast-editor,
.broadcast-source-card {
  border: 1px solid rgba(63, 121, 223, .28);
  background: linear-gradient(145deg, rgba(15, 22, 44, .96), rgba(5, 12, 24, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 14px 34px rgba(0, 0, 0, .2);
}

.broadcast-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 16px 20px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(123, 53, 255, .2), transparent 38%),
    linear-gradient(145deg, rgba(15, 22, 44, .96), rgba(5, 12, 24, .97));
}

.broadcast-command-title,
.broadcast-command-status,
.broadcast-source-heading,
.broadcast-source-footer,
.broadcast-editor-head,
.broadcast-display-options {
  display: flex;
  align-items: center;
}

.broadcast-command-title { gap: 12px; }
.broadcast-command-icon,
.broadcast-source-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(36, 200, 255, .5);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(123, 53, 255, .82), rgba(36, 200, 255, .82));
  color: #fff;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .08);
}

.broadcast-command-bar .page-kicker { margin-bottom: 2px; }
.broadcast-command-bar h2,
.broadcast-editor-head h2,
.broadcast-source-heading h2 { margin: 0; color: #f8fbff; font-weight: 950; letter-spacing: 0; }
.broadcast-command-bar h2 { font-size: 1.3rem; }

.broadcast-command-status { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.broadcast-command-status span,
.broadcast-editor-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid rgba(36, 200, 255, .28);
  border-radius: 999px;
  background: rgba(4, 18, 33, .7);
  color: #c7eafa;
  font-size: .7rem;
  font-weight: 900;
}
.broadcast-command-status span i { color: #24c8ff; }

.broadcast-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.broadcast-source-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.broadcast-source-heading {
  gap: 11px;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(119, 102, 255, .21);
  background: linear-gradient(90deg, rgba(123, 53, 255, .17), rgba(36, 200, 255, .06));
}

.broadcast-source-icon { width: 35px; height: 35px; border-radius: 10px; box-shadow: none; }
.broadcast-source-icon.poll { background: linear-gradient(135deg, rgba(36, 200, 255, .88), rgba(65, 89, 255, .88)); }
.broadcast-source-label { margin-bottom: 2px; color: #8b9ab6; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.broadcast-source-heading h2 { font-size: 1rem; }

.broadcast-source-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #9caccc;
  font-size: .68rem;
  font-weight: 900;
}
.broadcast-source-state i { font-size: .45rem; color: #71809c; }
.broadcast-source-state.live { color: #b9f9d5; }
.broadcast-source-state.live i { color: #39f59b; }

.broadcast-source-copy { min-height: 45px; margin: 16px 16px 0; color: #b9c5da; font-size: .82rem; font-weight: 700; line-height: 1.45; }

.broadcast-url-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 16px;
  padding: 10px 11px 10px 13px;
  border: 1px solid rgba(80, 117, 219, .32);
  border-radius: 11px;
  background: rgba(3, 9, 20, .66);
}
.broadcast-url-row > div { min-width: 0; display: grid; gap: 4px; }
.broadcast-url-row > div > span { color: #91a0bc; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.broadcast-url-row code { overflow-wrap: anywhere; color: #f6f9ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 800; }
.broadcast-url-row .button-small { display: grid; flex: 0 0 37px; place-items: center; width: 37px; min-width: 37px; padding: 0; border-radius: 9px; }

.broadcast-preview {
  display: grid;
  min-height: 195px;
  margin: 0 16px;
  overflow: hidden;
  border: 1px solid rgba(84, 122, 255, .3);
  border-radius: 12px;
  background: #050914;
  box-shadow: inset 0 0 34px rgba(0, 0, 0, .42);
}
.broadcast-preview .obs-preview-frame { width: 100%; height: 195px; border: 0; background: transparent; }
.broadcast-preview.broadcast-poll-preview { min-height: 195px; }
.broadcast-preview .obs-poll-preview-frame { height: 195px; }

.broadcast-source-footer { justify-content: space-between; gap: 12px; padding: 13px 16px 15px; color: #8e9fbb; font-size: .7rem; font-weight: 800; }
.broadcast-source-footer span,
.broadcast-source-footer a { display: inline-flex; align-items: center; gap: 6px; }
.broadcast-source-footer span i { color: #24c8ff; }
.broadcast-source-footer a { color: #d5e4ff; text-decoration: none; }
.broadcast-source-footer a:hover { color: #fff; }

.broadcast-editor { overflow: hidden; border-radius: 14px; }
.broadcast-editor-head { justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid rgba(119, 102, 255, .21); background: linear-gradient(90deg, rgba(123, 53, 255, .18), rgba(36, 200, 255, .05)); }
.broadcast-editor-head .page-kicker { margin-bottom: 3px; }
.broadcast-editor-head h2 { font-size: 1.25rem; }
.broadcast-editor-head p { margin: 4px 0 0; color: #9baac5; font-size: .78rem; font-weight: 700; }
.broadcast-editor-live { color: #bcf8d6; border-color: rgba(57, 245, 155, .32); }
.broadcast-editor-live i { color: #39f59b; }

.broadcast-editor form { display: grid; gap: 16px; padding: 18px 20px 16px; }
.broadcast-editor-grid { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(285px, 1.1fr) minmax(285px, 1fr); gap: 14px; }
.broadcast-setting-group { display: grid; align-content: start; gap: 13px; padding: 14px; border: 1px solid rgba(84, 122, 255, .24); border-radius: 12px; background: rgba(5, 12, 25, .58); }
.broadcast-setting-title { display: inline-flex; align-items: center; gap: 8px; color: #edf4ff; font-size: .75rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.broadcast-setting-title i { color: #24c8ff; }

.broadcast-colour-list,
.broadcast-range-list { display: grid; gap: 8px; }
.broadcast-colour-list label { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 7px 8px 7px 10px; border: 1px solid rgba(83, 111, 173, .25); border-radius: 9px; background: rgba(12, 17, 33, .72); color: #c6d2e7; font-size: .71rem; font-weight: 800; }
.broadcast-colour-list input[type="color"] { width: 36px; height: 25px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: transparent; overflow: hidden; cursor: pointer; }
.broadcast-colour-list input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.broadcast-colour-list input[type="color"]::-webkit-color-swatch,
.broadcast-colour-list input[type="color"]::-moz-color-swatch { border: 0; }

.broadcast-range-list label { display: grid; grid-template-columns: 115px minmax(0, 1fr); align-items: center; gap: 10px; color: #c6d2e7; font-size: .71rem; font-weight: 800; }
.broadcast-range-list input[type="range"] { width: 100%; height: 18px; appearance: none; -webkit-appearance: none; border: 0; background: transparent; cursor: pointer; }
.broadcast-range-list input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #7938ff, #25c7ff); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
.broadcast-range-list input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -5.5px; appearance: none; -webkit-appearance: none; border: 2px solid #eff9ff; border-radius: 50%; background: #16395e; box-shadow: 0 0 0 3px rgba(36, 200, 255, .16); }
.broadcast-range-list input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #7938ff, #25c7ff); }
.broadcast-range-list input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #eff9ff; border-radius: 50%; background: #16395e; }

.broadcast-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.broadcast-choice-grid label { position: relative; min-width: 0; cursor: pointer; }
.broadcast-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.broadcast-choice-grid label > span { display: grid; gap: 2px; min-height: 57px; padding: 10px; border: 1px solid rgba(83, 111, 173, .25); border-radius: 9px; background: rgba(12, 17, 33, .72); transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.broadcast-choice-grid strong { color: #eaf3ff; font-size: .77rem; }
.broadcast-choice-grid small { color: #91a0bb; font-size: .66rem; font-weight: 700; }
.broadcast-choice-grid input:checked + span { border-color: rgba(36, 200, 255, .7); background: linear-gradient(135deg, rgba(123,53,255,.32), rgba(36,200,255,.14)); box-shadow: inset 3px 0 0 #24c8ff; }
.poll-title { margin-top: 4px; }
.poll-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.broadcast-display-options { justify-content: space-between; gap: 18px; padding: 13px 14px; border: 1px solid rgba(84, 122, 255, .24); border-radius: 12px; background: linear-gradient(90deg, rgba(123,53,255,.09), rgba(36,200,255,.035)); }
.broadcast-display-options p { margin: 4px 0 0; color: #91a0ba; font-size: .71rem; font-weight: 700; }
.broadcast-visibility-options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.broadcast-visibility-options label { position: relative; cursor: pointer; }
.broadcast-visibility-options input { position: absolute; opacity: 0; pointer-events: none; }
.broadcast-visibility-options span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 10px; border: 1px solid rgba(83, 111, 173, .28); border-radius: 8px; background: rgba(5, 12, 25, .72); color: #aebbd2; font-size: .69rem; font-weight: 900; }
.broadcast-visibility-options i { color: #8fa0c0; }
.broadcast-visibility-options input:checked + span { border-color: rgba(36,200,255,.65); background: rgba(17, 58, 96, .58); color: #f1fbff; }
.broadcast-visibility-options input:checked + span i { color: #24c8ff; }
.broadcast-save-state { display: inline-flex; align-items: center; gap: 7px; min-height: 18px; color: #9caac5; font-size: .72rem; font-weight: 800; }
.broadcast-save-state i { color: #39f59b; }

@media (max-width: 1120px) {
  .broadcast-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .broadcast-setting-group.artwork { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .broadcast-command-bar,
  .broadcast-display-options { align-items: stretch; flex-direction: column; }
  .broadcast-command-status,
  .broadcast-visibility-options { justify-content: flex-start; }
  .broadcast-source-grid,
  .broadcast-editor-grid { grid-template-columns: 1fr; }
  .broadcast-setting-group.artwork { grid-column: auto; }
}

@media (max-width: 540px) {
  .broadcast-command-bar,
  .broadcast-editor-head,
  .broadcast-editor form { padding-left: 14px; padding-right: 14px; }
  .broadcast-editor-head { align-items: flex-start; flex-direction: column; }
  .broadcast-source-copy,
  .broadcast-url-row,
  .broadcast-preview { margin-left: 12px; margin-right: 12px; }
  .broadcast-source-footer { padding-left: 12px; padding-right: 12px; }
  .broadcast-url-row { gap: 8px; }
  .broadcast-range-list label { grid-template-columns: 1fr; gap: 5px; }
  .poll-choice-grid { grid-template-columns: 1fr; }
}

.streaming-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.obs-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.obs-source-card { overflow: hidden; }
.obs-source-card .card-body { display: grid; gap: 14px; }
.obs-source-card .hint { min-height: 40px; margin: 0; }

.obs-source-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #aebbd2;
  font-size: .73rem;
  font-weight: 800;
}

.obs-source-footer span,
.obs-source-footer a { display: inline-flex; align-items: center; gap: 7px; }
.obs-source-footer span i { color: #24c8ff; }
.obs-source-footer a { color: #dce9ff; text-decoration: none; }
.obs-source-footer a:hover { color: #fff; }

.obs-style-card {
  width: 100%;
}

.obs-style-card > .card-head { align-items: center; }
.obs-style-card > .card-head h2 { margin-bottom: 3px; }
.obs-style-card > .card-head p { margin: 0; color: #9facca; font-size: .76rem; font-weight: 700; }

.obs-style-card .card-body {
  display: grid;
  gap: 18px;
}

.obs-settings-layout {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(310px, 1.1fr) minmax(310px, 1.15fr);
  gap: 14px;
}

.obs-style-section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(84, 122, 255, .22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .09), rgba(36, 200, 255, .035)),
    rgba(3, 7, 15, .62);
}

.obs-style-section-head {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f8fbff;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.obs-style-section-head i {
  color: #24c8ff;
}

.obs-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(84, 122, 255, .28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .05)),
    rgba(3, 7, 15, .78);
}

.obs-url-box .button-small { white-space: nowrap; }

.obs-url {
  max-width: 100%;
  color: #f8fbff;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.obs-preview-shell {
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(84, 122, 255, .28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 24%, rgba(123, 53, 255, .22), transparent 16rem),
    radial-gradient(circle at 82% 42%, rgba(36, 200, 255, .14), transparent 18rem),
    linear-gradient(135deg, rgba(5, 8, 18, .9), rgba(2, 5, 12, .74));
  box-shadow: inset 0 0 42px rgba(0, 0, 0, .42);
}

.poll-preview-shell {
  min-height: 250px;
}

.obs-preview-frame {
  width: 100%;
  height: 190px;
  border: 0;
  background: transparent;
}

.obs-poll-preview-frame {
  height: 220px;
}

.poll-preview-shell { min-height: 220px; }

.obs-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.obs-color-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px;
  border: 1px solid rgba(84, 122, 255, .28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .1), rgba(36, 200, 255, .04)),
    rgba(3, 7, 15, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.obs-color-field span,
.obs-range-grid span {
  color: #dbeafe;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.obs-color-field input[type="color"] {
  width: 62px;
  height: 38px;
  padding: 0 !important;
  border: 2px solid rgba(248, 251, 255, .14) !important;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background: transparent !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .08) !important;
}

.obs-color-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.obs-color-field input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 999px;
}

.obs-color-field input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 999px;
}

.obs-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.obs-range-grid label {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(84, 122, 255, .28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .1), rgba(36, 200, 255, .04)),
    rgba(3, 7, 15, .82);
}

.obs-range-grid input[type="range"] {
  width: 100%;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.obs-range-grid input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #7b35ff, #24c8ff),
    rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45), 0 0 18px rgba(36, 200, 255, .14);
}

.obs-range-grid input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -7px;
  -webkit-appearance: none;
  border: 3px solid #eaf7ff;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b35ff, #24c8ff);
  box-shadow: 0 0 0 5px rgba(36, 200, 255, .14), 0 10px 22px rgba(0, 0, 0, .38);
}

.obs-range-grid input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b35ff, #24c8ff);
}

.obs-range-grid input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #eaf7ff;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b35ff, #24c8ff);
}

.obs-toggle-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.obs-art-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.obs-artwork-section { gap: 14px; }
.obs-poll-head { margin-top: 3px; }
.poll-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.obs-display-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(84, 122, 255, .24);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(123, 53, 255, .1), rgba(36, 200, 255, .04));
}

.obs-display-options p { margin: 4px 0 0; color: #9facca; font-size: .75rem; font-weight: 700; }
.obs-display-options .obs-toggle-row { width: min(100%, 470px); }

.obs-save-footer {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 3px;
}

.obs-save-footer [data-obs-save-status] { display: inline-flex; align-items: center; gap: 7px; }

.art-style-card span {
  display: grid;
  gap: 2px;
}

.art-style-card strong {
  color: #f8fbff;
  font-size: .88rem;
  line-height: 1.05;
}

.art-style-card small {
  color: rgba(216, 228, 255, .66);
  font-size: .72rem;
  font-weight: 800;
}

.obs-settings-form [data-obs-save-status] {
  color: rgba(216, 228, 255, .72);
  font-weight: 900;
  transition: color .18s ease;
}

.obs-settings-form [data-obs-save-status][data-state="saving"] {
  color: #24c8ff;
}

.obs-settings-form [data-obs-save-status][data-state="ok"] {
  color: #39f59b;
}

.obs-settings-form [data-obs-save-status][data-state="bad"] {
  color: #ff6b8b;
}

.radio-card.compact {
  min-height: 46px;
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .obs-source-grid,
  .obs-settings-layout,
  .obs-color-grid,
  .obs-range-grid,
  .obs-art-style-grid,
  .obs-toggle-row {
    grid-template-columns: 1fr;
  }

  .obs-display-options { align-items: stretch; flex-direction: column; }
  .obs-display-options .obs-toggle-row { width: 100%; }
}

@media (max-width: 620px) {
  .obs-url-box { align-items: stretch; flex-direction: column; }
  .obs-url-box .button-small { width: 100%; justify-content: center; }
  .obs-source-footer { align-items: flex-start; flex-direction: column; }
}

.requests-toggle-panel {
  margin-bottom: 1rem;
}

.dj-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem;
  margin-left: auto;
}

.dj-notifications { position: relative; }
.dj-notification-bell { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(36, 200, 255, .24); border-radius: 13px; background: rgba(8, 13, 24, .74); color: rgba(235, 243, 255, .92); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.18); transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.dj-notification-bell:hover,.dj-notification-bell[aria-expanded="true"] { border-color: rgba(36, 200, 255, .68); background: rgba(16, 34, 61, .9); transform: translateY(-1px); }
.dj-notification-bell.has-notifications { color: #ffffff; border-color: rgba(123, 53, 255, .72); background: linear-gradient(135deg, rgba(123, 53, 255, .62), rgba(36, 200, 255, .42)); }
.dj-notification-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #08101e; border-radius: 999px; background: #ff5f92; color: #fff; font-size: .64rem; font-weight: 950; line-height: 1; }
.dj-notification-menu { position: absolute; z-index: 1060; top: calc(100% + 10px); right: 0; width: min(380px, calc(100vw - 32px)); overflow: hidden; border: 1px solid rgba(36, 200, 255, .32); border-radius: 16px; background: linear-gradient(145deg, rgba(16, 20, 54, .98), rgba(4, 14, 24, .98)); box-shadow: 0 22px 65px rgba(0,0,0,.55), 0 0 30px rgba(36,200,255,.09); }
.dj-notification-menu header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px; border-bottom: 1px solid rgba(36, 200, 255, .16); }
.dj-notification-menu header div { display: grid; gap: 2px; }.dj-notification-menu header strong { color: var(--text); font-size: .84rem; }.dj-notification-menu header span { color: var(--muted); font-size: .68rem; font-weight: 700; }.dj-notification-menu header button { border: 0; padding: 0; background: transparent; color: #61d7ff; font: inherit; font-size: .7rem; font-weight: 900; cursor: pointer; }
.dj-notification-list { max-height: 350px; overflow: auto; }.dj-notification-empty { min-height: 112px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: .76rem; font-weight: 750; }.dj-notification-empty i { color: rgba(36,200,255,.68); font-size: 1.15rem; }
.dj-notification-item { display: grid; grid-template-columns: 32px minmax(0,1fr) 24px; gap: 9px; align-items: start; padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.055); }.dj-notification-item:last-child { border-bottom: 0; }.dj-notification-item-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, rgba(123,53,255,.88), rgba(36,200,255,.76)); font-size: .74rem; }.dj-notification-item > div { min-width: 0; display: grid; gap: 2px; }.dj-notification-item strong,.dj-notification-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dj-notification-item strong { color: var(--text); font-size: .74rem; }.dj-notification-item span,.dj-notification-item small { color: var(--muted); font-size: .67rem; font-weight: 700; }.dj-notification-item small { margin-top: 2px; color: rgba(36,200,255,.8); }.dj-notification-item button { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: rgba(205,216,238,.7); cursor: pointer; }.dj-notification-item button:hover { color: #fff; background: rgba(255,95,146,.2); }

/* Notification controls stay intentionally compact even when portal-wide button rules change. */
.dj-notification-bell {
  width: 40px;
  height: 40px;
  border-color: rgba(112, 115, 255, .34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(20, 23, 54, .94), rgba(7, 21, 37, .94));
  justify-content: center;
}
.dj-notification-bell:hover,
.dj-notification-bell[aria-expanded="true"] {
  border-color: rgba(36, 200, 255, .78);
  background: linear-gradient(145deg, rgba(39, 42, 92, .96), rgba(10, 42, 66, .96));
  color: #fff;
}
.dj-notification-bell.has-notifications {
  border-color: rgba(120, 92, 255, .94);
  background: linear-gradient(135deg, #4830bd, #177cb5);
}
.dj-notification-bell.has-notifications { width: auto; min-width: 52px; grid-template-columns: auto auto; gap: 6px; padding: 0 10px; }
.dj-notification-bell.has-notifications > i { font-size: .92rem; }
.dj-notification-count[hidden] { display: none !important; }
.dj-notification-count { position: static; min-width: 16px; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: .72rem; font-weight: 950; line-height: 1; box-shadow: none; }
.dj-notification-menu {
  top: calc(100% + 11px);
  width: min(356px, calc(100vw - 32px));
  border-color: rgba(36, 200, 255, .38);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(17, 24, 66, .985), rgba(4, 15, 29, .99));
  box-shadow: 0 24px 58px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.04);
}
.dj-notification-menu header { padding: 12px 13px; border-bottom-color: rgba(92, 124, 255, .2); }
.dj-notification-heading { display: flex !important; align-items: center; gap: 9px; min-width: 0; }
.dj-notification-heading > div { display: grid; gap: 1px; }
.dj-notification-heading-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #6842ef, #26bced); font-size: .72rem; box-shadow: 0 6px 16px rgba(67,91,244,.26); }
.dj-notification-menu header strong { color: #f8fbff; font-size: .8rem; letter-spacing: .01em; }
.dj-notification-menu header span { color: rgba(188, 202, 235, .72); font-size: .65rem; }
.dj-notification-menu .dj-notification-clear-all { border: 1px solid rgba(112, 160, 255, .32) !important; border-radius: 8px; padding: 5px 7px !important; background: rgba(43, 61, 113, .42) !important; color: #b9eaff !important; font: inherit; font-size: .65rem; font-weight: 900; line-height: 1; cursor: pointer; }
.dj-notification-menu .dj-notification-clear-all:hover { border-color: rgba(36, 200, 255, .7) !important; background: rgba(31, 118, 165, .38) !important; }
.dj-notification-list { max-height: 292px; padding: 6px; }
.dj-notification-item { grid-template-columns: 34px minmax(0,1fr) 28px; gap: 9px; align-items: center; padding: 9px; border: 1px solid transparent; border-radius: 11px; }
.dj-notification-item { cursor: pointer; }
.dj-notification-item + .dj-notification-item { margin-top: 3px; }
.dj-notification-item:hover { border-color: rgba(85, 130, 255, .22); background: rgba(22, 39, 85, .36); }
.dj-notification-item-icon { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, rgba(116,69,244,.98), rgba(31,180,235,.92)); }
.dj-notification-item strong { color: #f6f8ff; font-size: .72rem; }
.dj-notification-item span,.dj-notification-item small { color: rgba(187, 201, 233, .73); font-size: .65rem; }
.dj-notification-item small { color: #31c7fa; }
.dj-notification-item button { width: 28px !important; height: 28px !important; border: 1px solid rgba(112, 125, 255, .35) !important; border-radius: 8px !important; padding: 0 !important; background: rgba(25, 31, 77, .88) !important; color: rgba(220, 230, 255, .85) !important; }
.dj-notification-item button:hover { border-color: rgba(255, 108, 150, .75) !important; background: rgba(149, 41, 83, .42) !important; color: #fff !important; }

.requests-toggle-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-requests-toggle {
  min-width: 230px;
  padding: .55rem .65rem .55rem .85rem;
  border: 1px solid rgba(36, 200, 255, .24);
  border-radius: 18px;
  background: rgba(8, 13, 24, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 34px rgba(0, 0, 0, .18);
}

.topbar-requests-toggle .toggle-title {
  font-size: .78rem;
  line-height: 1.1;
}

.topbar-requests-toggle .toggle-sub {
  margin-top: .1rem;
  font-size: .72rem;
  line-height: 1.1;
  color: rgba(218, 226, 242, .72);
}

.dd-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 58px;
  height: 32px;
  cursor: pointer;
}

.dd-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.dd-toggle-track {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 999px;
  background: rgba(10, 14, 24, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 28px rgba(0, 0, 0, .28);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.dd-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8e4ff, #ffffff);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.dd-toggle input:checked + .dd-toggle-track {
  border-color: rgba(36, 200, 255, .78);
  background: linear-gradient(135deg, rgba(123, 53, 255, .95), rgba(36, 200, 255, .92));
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .12), 0 14px 34px rgba(36, 200, 255, .22);
}

.dd-toggle input:checked + .dd-toggle-track .dd-toggle-thumb {
  transform: translateX(26px);
  background: #f8fbff;
  box-shadow: 0 8px 18px rgba(4, 9, 18, .42), 0 0 18px rgba(255, 255, 255, .44);
}

.dd-toggle input:focus-visible + .dd-toggle-track {
  outline: 2px solid rgba(36, 200, 255, .72);
  outline-offset: 3px;
}

.dd-toggle input:disabled + .dd-toggle-track {
  opacity: .7;
  cursor: wait;
}

@media (max-width: 640px) {
  .dj-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .dj-notification-menu { position: fixed; top: 68px; right: 16px; width: min(380px, calc(100vw - 32px)); }

  .topbar-requests-toggle {
    min-width: 0;
    flex: 1;
  }

  .requests-toggle-form {
    align-items: flex-start;
  }
}
.dj-chat-log {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.dj-chat-message {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 46px 12px 12px;
  border: 1px solid rgba(123, 53, 255, .24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .1), rgba(36, 200, 255, .045)),
    rgba(5, 9, 18, .6);
}

.dj-chat-message.dj {
  border-color: rgba(123, 53, 255, .42);
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .18), rgba(36, 200, 255, .06)),
    rgba(7, 11, 24, .72);
}

.dj-chat-message.system {
  border-color: rgba(36, 200, 255, .42) !important;
  background:
    linear-gradient(135deg, rgba(36, 200, 255, .16), rgba(123, 53, 255, .08)),
    rgba(5, 13, 24, .76) !important;
}

.dj-chat-message.official {
  border-color: rgba(36, 200, 255, .64);
  background: linear-gradient(115deg, rgba(36, 200, 255, .15), rgba(123, 53, 255, .16), rgba(7, 11, 24, .74));
  box-shadow: inset 3px 0 0 #24c8ff;
}

.dj-chat-avatar.official {
  border-color: #24c8ff;
}

.dj-chat-role.official {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid rgba(36, 200, 255, .62);
  border-radius: 999px;
  color: #b9f2ff;
  background: rgba(36, 200, 255, .14);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  vertical-align: 1px;
}

.connection-key {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px 6px 12px;
}

.connection-key input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: 0;
}

.connection-key-toggle {
  flex: 0 0 34px;
  width: 34px;
  height: 32px;
  border: 1px solid rgba(36, 200, 255, .28);
  border-radius: 8px;
  background: rgba(7, 15, 27, .72);
  color: #9fe9ff;
  cursor: pointer;
}

.connection-key-toggle:hover { border-color: #24c8ff; color: #fff; }

/* Keep the secret itself as the visual control, not an oversized nested panel. */
.video-connection-list .connection-key-item {
  grid-template-columns: 136px minmax(0, 680px);
  justify-content: start;
  align-items: center;
  gap: 14px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.video-connection-list .connection-key {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(84, 122, 255, .32);
  border-radius: 11px;
  background: rgba(8, 14, 25, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.video-connection-list .connection-key input {
  letter-spacing: .08em;
}

@media (max-width: 620px) {
  .video-connection-list .connection-key-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.dj-chat-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(36, 200, 255, .72);
  border-radius: 50%;
  color: #07111f;
  background: linear-gradient(135deg, #24c8ff, #7b35ff);
  font-size: .86rem;
  font-weight: 950;
  overflow: hidden;
}

.dj-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-chat-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
  color: rgba(218, 226, 242, .68);
  font-size: .78rem;
  font-weight: 900;
}

.dj-chat-meta strong {
  min-width: 0;
  color: #f8fbff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dj-chat-meta span {
  flex: 0 0 auto;
}

.dj-chat-text {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 2px;
  color: #f8fbff;
  font-size: .96rem;
  font-weight: 850;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 200, 255, .7) transparent;
}

.dj-chat-text::-webkit-scrollbar {
  height: 4px;
}

.dj-chat-text::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #7b35ff, #24c8ff);
}

.dj-chat-pin {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 200, 255, .34);
  border-radius: 999px;
  color: rgba(218, 226, 242, .78);
  background: rgba(8, 13, 24, .86);
  cursor: pointer;
  font-size: .72rem;
  line-height: 1;
}

.dj-chat-pin:hover,
.dj-chat-pin.active {
  color: #fff;
  border-color: rgba(36, 200, 255, .74);
  background: linear-gradient(135deg, #7b35ff, #24c8ff);
}

/* DropDeck Mail page */
.mail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: start;
}

.mail-card {
  overflow: hidden;
  position: relative;
}

.mail-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--accent), var(--magenta));
  border-radius: 999px 999px 0 0;
}

.mail-card-head {
  min-height: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

.mail-form {
  gap: 18px;
}

.mail-usage-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px;
  border-color: rgba(36, 200, 255, .28);
  background:
    radial-gradient(circle at 7% 15%, rgba(123, 53, 255, .22), transparent 18rem),
    radial-gradient(circle at 95% 28%, rgba(36, 200, 255, .18), transparent 18rem),
    rgba(6, 11, 23, .82);
}

.mail-usage-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mail-usage-icon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 1.35rem;
  border: 1px solid rgba(36, 200, 255, .30);
  background: linear-gradient(135deg, rgba(123, 53, 255, .90), rgba(36, 200, 255, .78));
  box-shadow: 0 18px 42px rgba(36, 200, 255, .14);
}

.mail-usage-main > div:last-child {
  min-width: 0;
  flex: 1;
}

.mail-usage-card h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 950;
  letter-spacing: 0;
}

.mail-usage-card h2 span {
  color: var(--muted);
  font-size: .7em;
}

.mail-usage-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.mail-usage-meter {
  height: 12px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(36, 200, 255, .20);
  background: rgba(3, 7, 14, .70);
  overflow: hidden;
}

.mail-usage-meter span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--accent), var(--magenta));
  box-shadow: 0 0 18px rgba(36, 200, 255, .25);
}

.mail-field-block {
  display: grid;
  gap: 8px;
}

.mail-field-block > label {
  margin-bottom: 0;
}

.mail-address-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(36, 200, 255, .22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .07), rgba(36, 200, 255, .035)),
    rgba(3, 7, 14, .76);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.mail-address-control:focus-within {
  border-color: rgba(36, 200, 255, .58);
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .11);
}

.mail-address-control.locked {
  border-color: rgba(184, 193, 214, .18);
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .045), rgba(36, 200, 255, .025)),
    rgba(3, 7, 14, .58);
}

.mail-address-control input {
  height: 54px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mail-address-control input:disabled {
  color: rgba(248, 251, 255, .78);
  opacity: 1;
  cursor: not-allowed;
}

.mail-address-control span {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #dff8ff;
  font-weight: 900;
  border-left: 1px solid rgba(36, 200, 255, .18);
  background: rgba(36, 200, 255, .08);
  white-space: nowrap;
}

.mail-page input[type="password"] {
  min-height: 54px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .06), rgba(36, 200, 255, .03)),
    rgba(3, 7, 14, .76);
  border-color: rgba(36, 200, 255, .22);
}

.mail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.mail-actions button,
.webmail-button {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(36, 200, 255, .38);
  background: linear-gradient(135deg, rgba(123, 53, 255, .92), rgba(36, 200, 255, .84));
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(36, 200, 255, .13);
}

.mail-delete-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 70, 112, .30);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 70, 112, .12), rgba(123, 53, 255, .06)),
    rgba(4, 7, 14, .72);
}

.mail-delete-copy {
  display: grid;
  gap: 4px;
}

.mail-delete-copy strong {
  color: #fff;
  font-size: .96rem;
  font-weight: 950;
}

.mail-delete-copy span {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.4;
}

.webmail-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(36, 200, 255, .22);
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 53, 255, .26), transparent 16rem),
    radial-gradient(circle at 92% 18%, rgba(36, 200, 255, .18), transparent 15rem),
    linear-gradient(145deg, rgba(9, 14, 31, .94), rgba(5, 11, 22, .90));
}

.webmail-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--accent), var(--magenta));
  border-radius: 999px 999px 0 0;
}

.webmail-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.webmail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(123, 53, 255, .95), rgba(36, 200, 255, .88));
  box-shadow: 0 18px 42px rgba(36, 200, 255, .18);
}

.webmail-hero h2 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
}

.webmail-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

.webmail-address {
  padding: 15px;
  border-radius: 16px;
  background: rgba(3, 7, 14, .62);
  border: 1px solid rgba(36, 200, 255, .16);
  margin-bottom: 14px;
}

.webmail-address span,
.mail-info-item span {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.webmail-address strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.mail-info-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mail-info-item {
  padding: 14px;
  border-radius: 15px;
  background: rgba(3, 7, 14, .48);
  border: 1px solid rgba(84, 122, 255, .20);
}

.mail-info-item strong {
  display: block;
  color: var(--text);
  font-size: .96rem;
  margin-bottom: 2px;
}

.mail-info-item small {
  color: var(--muted);
  font-weight: 760;
}

.webmail-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

@media (max-width: 980px) {
  .mail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .mail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mail-actions button,
  .mail-delete-form button {
    width: 100%;
  }

  .mail-delete-form {
    align-items: stretch;
    flex-direction: column;
  }

  .mail-address-control {
    grid-template-columns: 1fr;
  }

  .mail-address-control span {
    min-height: 42px;
    border-left: 0;
    border-top: 1px solid rgba(36, 200, 255, .18);
    justify-content: center;
  }

  .mail-usage-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .webmail-hero {
    align-items: flex-start;
  }
}

.profile-page-tabs {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: .45rem;
  overflow-x: auto;
  border: 1px solid rgba(99, 179, 255, .18);
  border-radius: 14px;
  background: rgba(3, 8, 17, .5);
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 200, 255, .5) transparent;
}

.profile-page-tabs::-webkit-scrollbar {
  height: 4px;
}

.profile-page-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #7b35ff, #24c8ff);
}

.profile-page-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: .55rem .8rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(210, 221, 238, .74);
  font-size: .84rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.profile-page-tabs a:hover {
  color: #fff;
  border-color: rgba(99, 179, 255, .2);
  background: rgba(99, 179, 255, .08);
}

.profile-page-tabs a.active {
  color: #fff;
  border-color: rgba(36, 200, 255, .34);
  background: linear-gradient(135deg, rgba(123, 53, 255, .32), rgba(36, 200, 255, .18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 7px 18px rgba(12, 121, 203, .14);
}

.profile-page-tabs i {
  color: #24c8ff;
  font-size: .9rem;
}

.scoped-page-tabs {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: .45rem;
  overflow-x: auto;
  border: 1px solid rgba(99, 179, 255, .18);
  border-radius: 14px;
  background: rgba(3, 8, 17, .5);
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 200, 255, .5) transparent;
}

.scoped-page-tabs::-webkit-scrollbar { height: 4px; }
.scoped-page-tabs::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(90deg, #7b35ff, #24c8ff); }

.scoped-page-tabs button,
.scoped-page-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: .55rem .8rem !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: rgba(210, 221, 238, .74) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: .84rem !important;
  font-weight: 850 !important;
  line-height: 1;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  text-decoration: none;
}

.scoped-page-tabs button:hover,
.scoped-page-tabs a:hover {
  color: #fff !important;
  border-color: rgba(99, 179, 255, .2) !important;
  background: rgba(99, 179, 255, .08) !important;
  transform: none;
}

.scoped-page-tabs button.active,
.scoped-page-tabs a.active {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .34) !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .32), rgba(36, 200, 255, .18)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 7px 18px rgba(12, 121, 203, .14) !important;
}

.scoped-page-tabs button i,
.scoped-page-tabs a i { color: #24c8ff; font-size: .9rem; }

.broadcast-offline-thumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid rgba(36, 200, 255, .26);
  border-radius: 10px;
  background: rgba(5, 11, 21, .68);
}

.broadcast-offline-thumb img {
  width: 88px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.broadcast-offline-thumb label { margin: 0; }
.scoped-tab-content > .tab-pane { outline: 0; }
.scoped-tab-content > .tab-pane.active { display: grid; gap: 0; }

/* Profile workspace tabs: mirror the manager portal's page-tab component. */
.mail-workspace-tabs.profile-workspace-tabs {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin: 18px 0 0 !important;
  padding: .45rem !important;
  overflow-x: auto;
  border: 1px solid rgba(99, 179, 255, .18) !important;
  border-radius: 14px !important;
  background: rgba(3, 8, 17, .5) !important;
  box-shadow: none !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 200, 255, .5) transparent;
}

.mail-workspace-tabs.profile-workspace-tabs::-webkit-scrollbar {
  height: 4px;
}

.mail-workspace-tabs.profile-workspace-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #7b35ff, #24c8ff);
}

.mail-workspace-tabs.profile-workspace-tabs button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: .55rem .8rem !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: rgba(210, 221, 238, .74) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: .84rem !important;
  font-weight: 850 !important;
  line-height: 1;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mail-workspace-tabs.profile-workspace-tabs button:hover {
  color: #fff !important;
  border-color: rgba(99, 179, 255, .2) !important;
  background: rgba(99, 179, 255, .08) !important;
  transform: none;
}

.mail-workspace-tabs.profile-workspace-tabs button.active {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .34) !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .32), rgba(36, 200, 255, .18)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 7px 18px rgba(12, 121, 203, .14) !important;
}

.mail-workspace-tabs.profile-workspace-tabs button i {
  color: #24c8ff;
  font-size: .9rem;
}

/* Editor.js bio surface. */
.editorjs-bio-editor {
  overflow: hidden;
  border: 1px solid rgba(84, 122, 255, .32) !important;
  border-radius: 14px;
  background: rgba(2, 6, 14, .76) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.editorjs-bio-editor:focus-within {
  border-color: rgba(36, 200, 255, .66) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .11), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.bio-editorjs {
  min-height: 300px;
  padding: 12px 18px 18px;
  color: #edf3ff;
}

.bio-editorjs .codex-editor__redactor {
  padding-bottom: 8px !important;
}

.bio-editorjs .ce-block {
  margin: 6px 0;
}

.bio-editorjs .ce-paragraph,
.bio-editorjs .ce-header,
.bio-editorjs .cdx-quote__text,
.bio-editorjs .cdx-list__item {
  color: #edf3ff !important;
  line-height: 1.7;
}

.bio-editorjs .ce-paragraph[data-placeholder]:empty::before,
.bio-editorjs .ce-paragraph[data-placeholder]:empty:focus::before {
  color: rgba(184, 193, 214, .56) !important;
}

.bio-editorjs .ce-toolbar__plus,
.bio-editorjs .ce-toolbar__settings-btn,
.bio-editorjs .ce-inline-toolbar,
.bio-editorjs .ce-conversion-toolbar,
.bio-editorjs .ce-settings,
.bio-editorjs .ce-popover {
  color: #f8fbff !important;
  border-color: rgba(36, 200, 255, .24) !important;
  background: #08111f !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35) !important;
}

.bio-editorjs .ce-toolbar__plus:hover,
.bio-editorjs .ce-toolbar__settings-btn:hover,
.bio-editorjs .ce-inline-tool:hover,
.bio-editorjs .ce-inline-tool--active,
.bio-editorjs .ce-conversion-tool:hover,
.bio-editorjs .ce-popover-item:hover,
.bio-editorjs .ce-settings__button:hover,
.bio-editorjs .ce-settings__button--active {
  color: #fff !important;
  background: rgba(36, 200, 255, .14) !important;
}

.bio-editorjs .cdx-quote {
  padding-left: 14px;
  border-left: 3px solid #24c8ff;
}

.editorjs-bio-editor .bio-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(184, 193, 214, .72);
  font-size: .78rem;
  font-weight: 750;
  border-top: 1px solid rgba(84, 122, 255, .16);
  background: rgba(5, 10, 19, .54);
}

.editorjs-bio-editor .bio-editor-foot strong {
  color: #fff;
}

@media (max-width: 620px) {
  .mail-workspace-tabs.profile-workspace-tabs {
    margin-top: 14px !important;
  }

  .mail-workspace-tabs.profile-workspace-tabs button {
    min-height: 36px;
    padding-inline: .7rem !important;
  }

  .bio-editorjs {
    min-height: 240px;
    padding-inline: 14px;
  }

  .editorjs-bio-editor .bio-editor-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Manager-style tab bar and focused public-bio editor. */
.dj-main-panel .nav-tabs,
.dj-tabs {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: .45rem !important;
  overflow-x: auto;
  border: 1px solid rgba(99, 179, 255, .18) !important;
  border-radius: 14px;
  background: rgba(3, 8, 17, .5) !important;
  box-shadow: none !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 200, 255, .5) transparent;
}

.dj-main-panel .nav-tabs::-webkit-scrollbar,
.dj-tabs::-webkit-scrollbar {
  height: 4px;
}

.dj-main-panel .nav-tabs::-webkit-scrollbar-thumb,
.dj-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #7b35ff, #24c8ff);
}

.dj-main-panel .nav-tabs .nav-link,
.dj-tabs .nav-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: .55rem .8rem;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: rgba(210, 221, 238, .74) !important;
  font-size: .84rem;
  font-weight: 850 !important;
  line-height: 1;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.dj-main-panel .nav-tabs .nav-link:hover,
.dj-tabs .nav-link:hover {
  color: #fff !important;
  border-color: rgba(99, 179, 255, .2) !important;
  background: rgba(99, 179, 255, .08) !important;
}

.dj-main-panel .nav-tabs .nav-link.active,
.dj-tabs .nav-link.active {
  color: #fff !important;
  border-color: rgba(36, 200, 255, .34) !important;
  background: linear-gradient(135deg, rgba(123, 53, 255, .32), rgba(36, 200, 255, .18)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 7px 18px rgba(12, 121, 203, .14) !important;
}

.dj-main-panel .nav-tabs .nav-link i,
.dj-tabs .nav-link i {
  color: #24c8ff;
  font-size: .9rem;
}

.bio-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bio-field-head label {
  margin: 0;
}

.bio-field-head span {
  color: rgba(184, 193, 214, .78);
  font-size: .78rem;
  font-weight: 800;
}

.bio-field-head i {
  color: var(--accent);
  margin-right: 5px;
}

.bio-editor {
  overflow: hidden;
  border: 1px solid rgba(84, 122, 255, .32) !important;
  border-radius: 14px;
  background: rgba(2, 6, 14, .76) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.bio-editor:focus-within {
  border-color: rgba(36, 200, 255, .66) !important;
  box-shadow: 0 0 0 4px rgba(36, 200, 255, .11), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.bio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(84, 122, 255, .2);
  background: linear-gradient(135deg, rgba(123, 53, 255, .12), rgba(36, 200, 255, .055));
}

.bio-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bio-toolbar-label {
  color: rgba(184, 193, 214, .64);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bio-toolbar select {
  width: auto;
  min-height: 34px;
  padding: .35rem 2rem .35rem .65rem;
  border-radius: 9px;
  font-size: .82rem;
}

.bio-toolbar button {
  display: inline-grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0 !important;
  border-radius: 9px !important;
  color: rgba(225, 234, 247, .82) !important;
  background: rgba(8, 14, 27, .72) !important;
  border: 1px solid rgba(99, 179, 255, .18) !important;
  box-shadow: none !important;
}

.bio-toolbar button:hover,
.bio-toolbar button.active {
  color: #fff !important;
  background: rgba(36, 200, 255, .13) !important;
  border-color: rgba(36, 200, 255, .46) !important;
  transform: none;
}

.bio-canvas {
  min-height: 260px;
  padding: 18px;
  outline: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #edf3ff !important;
  line-height: 1.7;
}

.bio-canvas:empty::before {
  color: rgba(184, 193, 214, .56);
  content: attr(data-placeholder);
  pointer-events: none;
}

.bio-canvas h2,
.bio-canvas h3 {
  color: #fff;
  line-height: 1.25;
}

.bio-canvas a {
  color: #5edaff;
  text-decoration-color: rgba(94, 218, 255, .42);
}

.bio-canvas blockquote {
  margin: 1em 0;
  padding: .2rem 0 .2rem 1rem;
  color: rgba(225, 234, 247, .82);
  border-left: 3px solid #24c8ff;
}

.bio-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(184, 193, 214, .72);
  font-size: .78rem;
  font-weight: 750;
  border-top: 1px solid rgba(84, 122, 255, .16);
  background: rgba(5, 10, 19, .54);
}

.bio-editor-foot strong {
  color: #fff;
}

@media (max-width: 620px) {
  .bio-field-head,
  .bio-editor-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .bio-toolbar {
    gap: 8px;
  }

  .bio-toolbar-group {
    flex-wrap: wrap;
  }

  .bio-canvas {
    min-height: 220px;
    padding: 15px;
  }
}

.webmail-card {
  display: grid;
  gap: 0;
  padding: 0;
  align-self: stretch;
}

.webmail-body {
  display: grid;
  gap: 16px;
}

.webmail-topline,
.webmail-title-row,
.mail-app-head,
.mail-setting-row {
  position: relative;
  z-index: 1;
}

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

.webmail-title-row {
  padding: 2px 0 4px;
}

.webmail-title-row h2 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: .98;
  font-weight: 950;
  color: #fff;
}

.webmail-title-row p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.42;
}

.webmail-card .webmail-address {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 15px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .08), rgba(36, 200, 255, .045)),
    rgba(3, 7, 14, .68);
  border: 1px solid rgba(36, 200, 255, .18);
  border-radius: 14px;
}

.webmail-card .webmail-address:hover {
  border-color: rgba(36, 200, 255, .42);
}

.webmail-card .webmail-address span,
.mail-app-head span,
.mail-setting-row span {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.webmail-card .webmail-address strong {
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.webmail-card .webmail-button {
  min-height: 50px;
  margin: 0;
}

.mail-app-settings {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.mail-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2px;
}

.mail-app-head i {
  color: var(--accent);
}

.mail-setting-row {
  display: grid;
  grid-template-columns: minmax(74px, .7fr) minmax(92px, .8fr) minmax(0, 1.5fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 13px;
  background: rgba(3, 7, 14, .42);
  border: 1px solid rgba(84, 122, 255, .18);
}

.mail-setting-row strong {
  color: var(--text);
  font-size: .9rem;
  font-weight: 900;
}

.mail-setting-row code {
  justify-self: end;
  color: #dff8ff;
  font-size: .84rem;
  font-weight: 850;
  background: rgba(36, 200, 255, .08);
  border: 1px solid rgba(36, 200, 255, .16);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .webmail-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .mail-setting-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mail-setting-row code {
    justify-self: start;
    white-space: normal;
  }
}

/* Restream destination fields use the same control surface as normal portal inputs. */
.dj-page .connection-key {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  padding: 0 8px 0 12px;
  border: 1px solid rgba(84, 122, 255, .32);
  border-radius: 11px;
  background: rgba(8, 14, 25, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.dj-page .connection-key input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
}
.dj-page .connection-key-toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(84, 122, 255, .3);
  border-radius: 0;
  background: transparent;
  color: #9fe9ff;
}
.dj-page .connection-key-toggle:hover {
  border-color: rgba(84, 122, 255, .3);
  color: #fff;
}
.restream-status-card{margin-top:18px}.restream-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.restream-metrics>div{min-width:0;padding:16px 18px;border:1px solid rgba(84,122,255,.28);border-radius:12px;background:rgba(8,14,25,.72)}.restream-metrics span,.restream-metrics small{display:block;color:var(--muted,#aeb8d2);font-size:.76rem;font-weight:700}.restream-metrics strong{display:block;margin:5px 0;font-size:1.25rem;color:#f8fbff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restream-metrics small{font-weight:600;opacity:.8}@media(max-width:720px){.restream-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.restream-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.restream-source-card{min-width:0;padding:18px;border:1px solid rgba(84,122,255,.3);border-radius:14px;background:rgba(8,14,25,.58)}.restream-source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.restream-source-kicker{display:block;color:#24c8ff;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.restream-source-head h3{margin:5px 0 0;font-size:1.05rem}.restream-source-fields{display:grid;gap:14px}.restream-source-fields input{width:100%;min-width:0}.restream-source-fields .connection-key{display:flex;min-width:0}.restream-source-fields .connection-key input{min-width:0;flex:1}.restream-source-fields .connection-key-toggle{flex:0 0 42px}@media(max-width:1100px){.restream-source-grid{grid-template-columns:1fr 1fr}}@media(max-width:720px){.restream-source-grid{grid-template-columns:1fr}}
.restream-source-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:5px 9px;border:1px solid rgba(174,184,210,.3);border-radius:999px;background:rgba(8,14,25,.66);color:#aeb8d2;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.restream-source-status.live{border-color:rgba(45,220,143,.55);background:rgba(45,220,143,.13);color:#8ff2c2}.restream-source-status.connecting{border-color:rgba(255,194,77,.55);background:rgba(255,194,77,.13);color:#ffd98a}.restream-source-status.enabled{border-color:rgba(36,200,255,.45);background:rgba(36,200,255,.1);color:#8de5ff}.restream-source-status.offline{opacity:.72}
