:root {
  --exibix-font-family: "Plus Jakarta Sans", "Public Sans", sans-serif;
  --exibix-text-strong: #243548;
  --exibix-text-base: #3e5167;
  --exibix-text-muted: #607389;
  --exibix-sidebar-copy: #5b6f85;
}

html,
body,
button,
input,
select,
textarea,
.menu-link,
.table,
.form-control,
.form-select,
.btn {
  font-family: var(--exibix-font-family);
}

i[class^="fa"],
i[class*=" fa-"] {
  line-height: 1;
}

body,
.layout-page,
.content-wrapper,
.card,
.table,
.form-label,
.input-group-text {
  color: var(--exibix-text-base);
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-semibold,
.card-title,
strong,
.app-brand-text {
  color: var(--exibix-text-strong) !important;
  letter-spacing: -0.02em;
}

.text-muted,
.exibix-subtitle,
small,
.form-text {
  color: var(--exibix-text-muted) !important;
}

.bg-menu-theme .menu-link {
  color: var(--exibix-text-base) !important;
  font-weight: 700;
  border-radius: 1.15rem;
  gap: 0.95rem;
  padding: 0.82rem 1rem;
  position: relative;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.bg-menu-theme .menu-sub > .menu-item::before,
.bg-menu-theme .menu-sub > .menu-item > .menu-link::before {
  display: none !important;
  content: none !important;
}

.exibix-menu-item .menu-link .menu-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(95, 111, 132, 0.08);
}

.exibix-menu-item-dashboard .menu-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(129, 140, 248, 0.14));
  color: #585df9;
}

.exibix-menu-item-users .menu-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(99, 102, 241, 0.12));
  color: #7c3aed;
}

.exibix-menu-item-screens .menu-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.14));
  color: #16a34a;
}

.exibix-menu-item-media .menu-icon {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(59, 130, 246, 0.14));
  color: #0891b2;
}

.exibix-menu-item-playlists .menu-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(245, 158, 11, 0.14));
  color: #ea580c;
}

.exibix-menu-item-banners .menu-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(129, 140, 248, 0.14));
  color: #db2777;
}

.exibix-menu-item-credits .menu-icon {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(249, 115, 22, 0.18));
  color: #c2410c;
}

.exibix-menu-item-payments .menu-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(59, 130, 246, 0.16));
  color: #2563eb;
}

.exibix-menu-item-branding .menu-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(16, 185, 129, 0.14));
  color: #4f46e5;
}

.exibix-menu-item-site .menu-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.14));
  color: #1d4ed8;
}

.exibix-menu-item-notifications .menu-icon {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(99, 102, 241, 0.14));
  color: #be185d;
}

.bg-menu-theme .menu-item.active > .menu-link {
  box-shadow: 0 0.85rem 1.65rem rgba(105, 108, 255, 0.12);
}

html.light-style .bg-menu-theme .menu-link:hover,
html.light-style .bg-menu-theme .menu-item.open > .menu-link {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(124, 92, 255, 0.14)) !important;
  color: #273756 !important;
  border: 1px solid rgba(105, 108, 255, 0.28);
  box-shadow: 0 0.9rem 1.65rem rgba(105, 108, 255, 0.22);
  transform: translateX(2px);
}

html.light-style .bg-menu-theme .menu-item.active > .menu-link,
html.light-style .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(94, 98, 255, 0.45);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow:
    0 1rem 1.95rem rgba(105, 108, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

html.light-style .bg-menu-theme .menu-item.active > .menu-link::before,
html.light-style .bg-menu-theme .menu-item.active > .menu-link::after {
  content: "";
  position: absolute;
  right: 0.48rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  pointer-events: none;
}

html.light-style .bg-menu-theme .menu-item.active > .menu-link::before {
  top: 0.44rem;
  background: #ffd166;
  box-shadow: 0 0 0 0.22rem rgba(255, 209, 102, 0.25);
}

html.light-style .bg-menu-theme .menu-item.active > .menu-link::after {
  bottom: 0.44rem;
  background: #8bd3ff;
  box-shadow: 0 0 0 0.22rem rgba(139, 211, 255, 0.22);
}

html.light-style .bg-menu-theme .menu-sub {
  margin-top: 0.32rem;
  padding: 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background:
    radial-gradient(circle at right top, rgba(139, 211, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 255, 0.92));
}

html.light-style .bg-menu-theme .menu-sub > .menu-item > .menu-link {
  margin: 0.1rem 0;
  border-radius: 0.92rem;
  border: 1px solid transparent;
  padding: 0.66rem 0.95rem 0.66rem 1.08rem;
  color: #425973 !important;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html.light-style .bg-menu-theme .menu-sub > .menu-item > .menu-link:hover {
  background: rgba(105, 108, 255, 0.14) !important;
  border-color: rgba(105, 108, 255, 0.24);
  color: #334a65 !important;
  transform: translateX(2px);
}

html.light-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link {
  position: relative;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.28), rgba(124, 92, 255, 0.2)) !important;
  color: #3040f6 !important;
  font-weight: 800;
  border-color: rgba(105, 108, 255, 0.36);
  box-shadow:
    inset 4px 0 0 #5f63ff,
    0 0.6rem 1.25rem rgba(105, 108, 255, 0.2);
}

html.light-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link::after {
  content: "";
  position: absolute;
  right: 0.62rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #7dd3fc;
  box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.2);
}

html.light-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link::before {
  display: none;
  content: none;
}

.layout-wrapper:not(.layout-horizontal) .bg-menu-theme .menu-inner > .menu-item.active::before {
  display: none !important;
}

.bg-menu-theme .menu-item.active .menu-icon,
.bg-menu-theme .menu-link:hover .menu-icon {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0.85rem 1.65rem rgba(67, 89, 113, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

html.light-style .bg-menu-theme .menu-link:hover .menu-icon,
html.light-style .bg-menu-theme .menu-item.open > .menu-link .menu-icon {
  box-shadow:
    0 0.95rem 1.85rem rgba(105, 108, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item > .menu-link {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    border-radius: 1rem;
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background: transparent !important;
    box-shadow: none;
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background: rgba(105, 108, 255, 0.26) !important;
    border: 1px solid rgba(105, 108, 255, 0.38);
    box-shadow: 0 0.8rem 1.5rem rgba(67, 89, 113, 0.2);
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item > .menu-link .menu-icon {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 2.5rem !important;
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item > .menu-link:hover .menu-icon,
  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon {
    transform: none;
    box-shadow:
      0 0.7rem 1.35rem rgba(67, 89, 113, 0.15),
      inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon {
    box-shadow:
      0 0.95rem 1.85rem rgba(105, 108, 255, 0.38),
      inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background: linear-gradient(140deg, rgba(105, 108, 255, 0.22), rgba(124, 92, 255, 0.15)) !important;
    border: 1px solid rgba(105, 108, 255, 0.45);
    box-shadow:
      0 1rem 1.8rem rgba(105, 108, 255, 0.2),
      inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon {
    background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%);
    color: #fff;
  }
}

html.light-style .bg-menu-theme .exibix-menu-item-credits.active > .menu-link,
html.light-style .bg-menu-theme .exibix-menu-item-credits.open > .menu-link {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.36), rgba(249, 115, 22, 0.3)) !important;
  color: #7c2d12 !important;
  border: 1px solid rgba(245, 158, 11, 0.48);
  box-shadow:
    0 0.95rem 1.85rem rgba(217, 119, 6, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

html.light-style .bg-menu-theme .exibix-menu-item-credits.active > .menu-link .menu-icon,
html.light-style .bg-menu-theme .exibix-menu-item-credits.open > .menu-link .menu-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
  color: #fff !important;
  box-shadow:
    0 0.8rem 1.45rem rgba(194, 65, 12, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

html.light-style .bg-menu-theme .exibix-menu-item-credits.active > .menu-link > div,
html.light-style .bg-menu-theme .exibix-menu-item-credits.open > .menu-link > div {
  color: #7c2d12 !important;
  opacity: 1 !important;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

html.light-style .bg-menu-theme .exibix-menu-item-payments.active > .menu-link,
html.light-style .bg-menu-theme .exibix-menu-item-payments.open > .menu-link {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(59, 130, 246, 0.26)) !important;
  color: #12356f !important;
  border: 1px solid rgba(59, 130, 246, 0.44);
  box-shadow:
    0 0.95rem 1.85rem rgba(37, 99, 235, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

html.light-style .bg-menu-theme .exibix-menu-item-payments.active > .menu-link .menu-icon,
html.light-style .bg-menu-theme .exibix-menu-item-payments.open > .menu-link .menu-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
  color: #fff !important;
  box-shadow:
    0 0.8rem 1.45rem rgba(30, 64, 175, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

html.light-style .bg-menu-theme .exibix-menu-item-payments.active > .menu-link > div,
html.light-style .bg-menu-theme .exibix-menu-item-payments.open > .menu-link > div {
  color: #12356f !important;
  opacity: 1 !important;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.menu-collapsed .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link,
.menu-collapsed .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link {
  color: #22364f !important;
}

.menu-collapsed .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link > div,
.menu-collapsed .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link > div {
  opacity: 1 !important;
  color: #22364f !important;
  font-weight: 800;
}

@media (min-width: 1200px) {
  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item-credits.active > .menu-link,
  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item-credits.open > .menu-link {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.42), rgba(249, 115, 22, 0.34)) !important;
    border-color: rgba(245, 158, 11, 0.58);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item-payments.active > .menu-link,
  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item-payments.open > .menu-link {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(59, 130, 246, 0.3)) !important;
    border-color: rgba(37, 99, 235, 0.54);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link > div,
  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link > div {
    color: #22364f !important;
    opacity: 1 !important;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link .menu-icon,
  html.light-style .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link .menu-icon {
    background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%) !important;
    color: #fff !important;
    box-shadow:
      0 0.95rem 1.85rem rgba(105, 108, 255, 0.34),
      inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  }
}

html.light-style.layout-menu-expanded .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link,
html.light-style.layout-menu-expanded .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link,
html.light-style.layout-menu-hover .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link,
html.light-style.layout-menu-hover .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link,
html.light-style.layout-menu-offcanvas .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link,
html.light-style.layout-menu-offcanvas .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link {
  color: #22364f !important;
}

html.light-style.layout-menu-expanded .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link > div,
html.light-style.layout-menu-expanded .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link > div,
html.light-style.layout-menu-hover .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link > div,
html.light-style.layout-menu-hover .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link > div,
html.light-style.layout-menu-offcanvas .bg-menu-theme .menu-inner > .exibix-menu-item.active > .menu-link > div,
html.light-style.layout-menu-offcanvas .bg-menu-theme .menu-inner > .exibix-menu-item.open > .menu-link > div {
  color: #22364f !important;
  opacity: 1 !important;
  font-weight: 800;
}

html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).active > .menu-link,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).open > .menu-link {
  color: #22364f !important;
}

html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).active > .menu-link > div,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).open > .menu-link > div,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).active > .menu-link .menu-title,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).open > .menu-link .menu-title,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).active > .menu-link span,
html.light-style .bg-menu-theme .menu-inner > .exibix-menu-item:not(.exibix-menu-item-credits):not(.exibix-menu-item-payments).open > .menu-link span {
  color: #22364f !important;
  opacity: 1 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #22364f !important;
}

.table thead th {
  color: #5a6d84;
  font-weight: 700;
}

.table tbody td {
  color: #3b4f65;
  font-weight: 500;
}

.badge {
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 0.65rem;
  padding: 0.48rem 0.75rem;
  border: 1px solid transparent;
}

.badge.bg-label-warning {
  background: rgba(255, 171, 0, 0.2) !important;
  color: #bb6a00 !important;
  border-color: rgba(255, 171, 0, 0.3);
}

.badge.bg-label-primary {
  background: rgba(105, 108, 255, 0.18) !important;
  color: #4d56ff !important;
  border-color: rgba(105, 108, 255, 0.28);
}

.badge.bg-label-success {
  background: rgba(113, 221, 55, 0.18) !important;
  color: #46a61d !important;
  border-color: rgba(113, 221, 55, 0.28);
}

.badge.bg-label-danger {
  background: rgba(255, 62, 29, 0.16) !important;
  color: #de3413 !important;
  border-color: rgba(255, 62, 29, 0.24);
}

.badge.bg-label-secondary {
  background: rgba(133, 146, 163, 0.14) !important;
  color: #516274 !important;
  border-color: rgba(133, 146, 163, 0.22);
}

.exibix-logo-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.layout-menu .app-brand {
  height: auto;
  min-height: 88px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

.layout-menu .app-brand .app-brand-link {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  align-items: center !important;
  text-align: center;
}

.layout-navbar .navbar-nav-right {
  gap: 1rem;
}

.layout-navbar {
  padding: 0.95rem 1.25rem;
}

.exibix-navbar-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 2;
  padding-left: 0.4rem;
}

.exibix-navbar-page-meta {
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.1rem;
  position: relative;
  z-index: 2;
  margin-left: 0;
  padding-left: 0.3rem;
  overflow: visible;
}

.exibix-navbar-page-meta-mobile {
  max-width: calc(100vw - 9.5rem);
}

.exibix-navbar-page-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0 !important;
  padding-left: 0.35rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.exibix-navbar-page-meta-mobile .exibix-navbar-page-title {
  font-size: 0.95rem;
}

.exibix-navbar-page-subtitle {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--exibix-text-muted);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.exibix-navbar-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.exibix-desktop-menu-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
  border-color: rgba(105, 108, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 244, 255, 0.92));
  box-shadow: 0 0.7rem 1.4rem rgba(67, 89, 113, 0.1);
}

.exibix-desktop-menu-toggle.is-collapsed {
  border-color: rgba(105, 108, 255, 0.32);
  background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%);
}

.exibix-desktop-menu-toggle.is-collapsed i {
  color: #fff;
}

.exibix-navbar-shell {
  position: relative;
}

.exibix-navbar-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.exibix-navbar-brand-logo {
  width: auto;
  max-width: 170px;
  max-height: 34px;
  height: auto;
  object-fit: contain;
}

.exibix-navbar-brand-logo-dark {
  display: none;
}

.layout-page,
.content-wrapper,
.container-xxl,
.container-fluid,
.card {
  min-width: 0;
}

.exibix-content-shell {
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

.layout-navbar.navbar-detached {
  width: calc(100% - 1.25rem) !important;
  margin: 0.625rem 0.625rem 0 !important;
  padding: 0 1rem;
}

.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-navbar.navbar-detached {
  width: calc(100% - 1.25rem - 16.25rem) !important;
}

.layout-navbar-fixed.layout-menu-collapsed .layout-navbar.navbar-detached {
  width: calc(100% - 1.25rem - 5.25rem) !important;
}

.layout-menu-collapsed .layout-navbar.navbar-detached,
.layout-without-menu .layout-navbar.navbar-detached {
  width: calc(100% - 1.25rem) !important;
}

.layout-menu-collapsed .exibix-navbar-left {
  padding-left: 0.7rem;
}

@media (min-width: 1200px) {
  .layout-menu-fixed.layout-menu-collapsed .layout-page,
  .layout-menu-fixed-offcanvas.layout-menu-collapsed .layout-page {
    padding-left: 5.25rem !important;
  }

  .exibix-content-shell {
    padding-left: 1.25rem !important;
    padding-right: 1rem !important;
  }

  .layout-menu-collapsed .exibix-content-shell {
    padding-left: 1.6rem !important;
  }
}

.exibix-brand-logo {
  width: auto;
  max-width: 172px;
  max-height: 38px;
  height: auto;
  display: block;
  object-fit: contain;
}

.exibix-brand-logo-dark {
  display: none;
}

.exibix-filter-shell {
  overflow: visible !important;
}

.exibix-filter-shell > .card-body {
  padding: 0.9rem 1.15rem;
}

.exibix-filter-toggle {
  border-radius: 0.85rem;
}

.exibix-filter-popover {
  margin: 0 1rem 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 255, 0.98));
  box-shadow: 0 1rem 2rem rgba(67, 89, 113, 0.1);
}

.card {
  border-radius: 1.6rem !important;
  overflow: hidden;
}

.exibix-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(calc(100vh - 2rem), 940px);
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.16);
}

.exibix-modal .modal-dialog {
  width: min(calc(100vw - 2rem), var(--bs-modal-width));
  max-width: min(calc(100vw - 2rem), var(--bs-modal-width));
  margin: 1rem auto;
}

.exibix-modal .modal-dialog.modal-xl,
.exibix-modal .modal-dialog.modal-lg {
  width: min(calc(100vw - 2rem), var(--bs-modal-width));
  max-width: min(calc(100vw - 2rem), var(--bs-modal-width));
}

.exibix-modal .modal-header,
.exibix-modal .modal-footer {
  border-color: rgba(67, 89, 113, 0.1);
  padding: 1.25rem 1.4rem;
}

.exibix-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.exibix-modal .modal-header > div:first-child {
  min-width: 0;
}

.exibix-modal .modal-body {
  padding: 1.4rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.exibix-modal .modal-title {
  font-size: 1.2rem;
}

.exibix-modal-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.exibix-modal-title-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f5bff;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(124, 92, 255, 0.14));
  border: 1px solid rgba(105, 108, 255, 0.26);
  box-shadow: 0 0.65rem 1.2rem rgba(67, 89, 113, 0.12);
}

.exibix-screen-modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 920px);
}

.exibix-screen-modal .modal-body {
  overflow: auto;
}

.exibix-modal .modal-header .btn-close,
.exibix-modal-close {
  margin: 0;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.96);
  background-position: center;
  background-size: 0.9rem;
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.12);
  opacity: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.exibix-modal .modal-header .btn-close:hover,
.exibix-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(105, 108, 255, 0.24);
  box-shadow: 0 1rem 1.8rem rgba(67, 89, 113, 0.16);
}

.exibix-modal .modal-header .btn-close:focus,
.exibix-modal-close:focus {
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.16);
}

.exibix-modal .modal-header {
  flex: 0 0 auto;
}

.exibix-modal .modal-footer {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(248, 250, 255, 0.82), rgba(248, 250, 255, 0.98) 28%, rgba(248, 250, 255, 1));
  backdrop-filter: blur(12px);
}

.exibix-modal .modal-dialog.modal-dialog-scrollable {
  height: calc(100% - 2rem);
}

.exibix-modal .modal-dialog.modal-dialog-scrollable .modal-content {
  max-height: 100%;
}

.exibix-modal .modal-dialog.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.exibix-modal .modal-content > form,
.exibix-modal .modal-content > .exibix-entity-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.exibix-modal-balanced-dialog {
  width: min(calc(100vw - 2rem), 1120px) !important;
  max-width: min(calc(100vw - 2rem), 1120px) !important;
}

.exibix-playlist-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: inherit;
}

.exibix-playlist-modal .modal-content {
  display: flex;
  flex-direction: column;
  min-height: min(90vh, 940px);
  max-height: calc(100vh - 2.5rem);
}

.exibix-playlist-modal-dialog {
  max-width: min(1520px, calc(100vw - 2.5rem));
}

.exibix-playlist-modal .modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0;
}

.playlist-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  flex-shrink: 0;
  margin: 1rem -1.4rem 0;
  padding: 1rem 1.4rem 1.2rem;
  border-top: 1px solid rgba(67, 89, 113, 0.1);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0), rgba(248, 250, 255, 0.92) 22%, rgba(248, 250, 255, 0.98) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 -0.9rem 1.8rem rgba(15, 23, 42, 0.06);
}

.exibix-entity-form {
  min-width: 0;
}

.exibix-playlist-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.exibix-form-panel {
  height: 100%;
  padding: 1.15rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(105, 108, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.metric-card,
.client-dashboard-card,
.upload-card,
.playlist-item,
.exibix-profile-menu,
.exibix-profile-summary,
.client-sync-strip,
.impersonation-banner,
.alert,
.table-responsive {
  border-radius: 1.35rem !important;
}

.exibix-floating-flash {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  width: min(30rem, calc(100vw - 2rem));
  margin: 0;
  box-shadow: 0 1.2rem 2.2rem rgba(15, 23, 42, 0.24);
  animation: exibixFlashIn 0.22s ease;
}

@keyframes exibixFlashIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn,
.form-control,
.form-select,
.input-group-text {
  border-radius: 0.95rem;
}

.exibix-brand-tagline {
  display: block;
  max-width: 188px;
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
  color: var(--exibix-sidebar-copy);
  white-space: normal;
}

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .exibix-brand-tagline {
    display: none;
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .exibix-logo-stack {
    display: none;
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand {
    min-height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

.exibix-auth-tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--exibix-text-base);
  text-align: center;
  font-weight: 700;
}

.exibix-auth-logo-stack {
  min-height: 44px;
}

.exibix-auth-brand-logo {
  max-width: 186px;
  max-height: 44px;
}

.exibix-auth-intro-spacer {
  min-height: 1.2rem;
}

.exibix-auth-switch {
  font-size: 0.96rem;
  color: var(--exibix-text-muted);
}

.exibix-auth-switch a {
  color: #5f63ff;
  font-weight: 700;
  text-decoration: none;
}

.exibix-auth-switch a:hover,
.exibix-auth-switch a:focus {
  color: #464bff;
  text-decoration: underline;
}

.exibix-password-toggle {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.exibix-password-toggle:hover,
.exibix-password-toggle:focus {
  color: #5f6dff;
}

.exibix-users-card {
  border-radius: 1.05rem !important;
  border: 1px solid rgba(67, 89, 113, 0.16);
  box-shadow: 0 1rem 1.9rem rgba(67, 89, 113, 0.14);
}

.exibix-user-modal-dialog {
  width: min(calc(100vw - 2.75rem), 980px);
  max-width: min(calc(100vw - 2.75rem), 980px);
  margin: 1rem auto;
}

.exibix-user-modal .modal-content {
  max-height: min(calc(100vh - 2rem), 880px);
}

.exibix-user-modal .modal-body {
  padding-bottom: 0.9rem;
}

.exibix-user-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin: 1.05rem -1.4rem -1.4rem;
  padding: 0.9rem 1.4rem max(0.9rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(67, 89, 113, 0.12);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0), rgba(248, 250, 255, 0.92) 22%, rgba(248, 250, 255, 0.98) 100%);
  backdrop-filter: blur(10px);
}

.exibix-user-form-actions .btn {
  min-height: 2.8rem;
}

.exibix-page-header {
  gap: 1rem;
}

.exibix-page-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.exibix-page-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.exibix-account-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0.08rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(95, 111, 132, 0.12);
  box-shadow: 0 0.5rem 1.25rem rgba(67, 89, 113, 0.08);
}

.exibix-avatar {
  overflow: hidden;
  position: relative;
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar .exibix-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 50% !important;
}

.exibix-avatar .exibix-avatar-fallback {
  display: none !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  z-index: 1;
  border-radius: 50% !important;
}

.exibix-avatar--primary .exibix-avatar-fallback {
  background: linear-gradient(135deg, #6d77ff 0%, #7f5dff 100%);
  color: #fff;
}

.exibix-avatar--danger .exibix-avatar-fallback {
  background: linear-gradient(135deg, #ff6a6a 0%, #ff8d5f 100%);
  color: #fff;
}

.exibix-avatar--warning .exibix-avatar-fallback {
  background: linear-gradient(135deg, #ffbf43 0%, #ff8f1f 100%);
  color: #2f2a18;
}

.exibix-avatar--success .exibix-avatar-fallback {
  background: linear-gradient(135deg, #5bd37c 0%, #16b36f 100%);
  color: #fff;
}

.exibix-avatar--secondary .exibix-avatar-fallback {
  background: linear-gradient(135deg, #8c9aad 0%, #6b7787 100%);
  color: #fff;
}

.exibix-avatar--primary {
  box-shadow:
    0 0 0 3px rgba(105, 108, 255, 0.12),
    0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar--danger {
  box-shadow:
    0 0 0 3px rgba(255, 107, 107, 0.12),
    0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar--warning {
  box-shadow:
    0 0 0 3px rgba(255, 171, 0, 0.14),
    0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar--success {
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.14),
    0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar--secondary {
  box-shadow:
    0 0 0 3px rgba(140, 154, 173, 0.16),
    0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-profile-menu {
  width: 23rem;
  padding: 0 0 0.75rem;
  border: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.18);
}

.exibix-navbar-notifications .exibix-notification-trigger {
  border-radius: 0.85rem;
}

.exibix-notification-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  padding: 0 0.28rem;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.92),
    0 0.35rem 0.75rem rgba(239, 68, 68, 0.32);
}

.exibix-notification-dropdown-menu {
  width: min(26rem, calc(100vw - 2rem));
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(105, 108, 255, 0.16);
  box-shadow: 0 1.25rem 2.7rem rgba(15, 23, 42, 0.16);
  padding: 0;
}

.exibix-notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 255, 0.92));
}

.exibix-notification-dropdown-list {
  max-height: 24rem;
  overflow: auto;
}

.exibix-notification-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}

.exibix-notification-item:last-child {
  border-bottom: 0;
}

.exibix-notification-item.is-unread {
  background: rgba(105, 108, 255, 0.07);
}

.exibix-notification-item-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--exibix-text-strong);
}

.exibix-notification-item-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: #ef4444;
  display: inline-block;
}

.exibix-notification-item-main {
  min-width: 0;
  flex: 1 1 auto;
}

.exibix-notification-item-time {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.72rem;
}

.exibix-notification-modal-content {
  font-size: 1rem;
  line-height: 1.55;
}

.exibix-notification-modal-content p:last-child {
  margin-bottom: 0;
}

.exibix-notification-modal-content a {
  color: #4f5cff;
  text-decoration: underline;
}

.exibix-panel-notification-modal .exibix-panel-notification-dialog {
  width: min(calc(100vw - 2rem), 720px) !important;
  max-width: min(calc(100vw - 2rem), 720px) !important;
  margin: 1rem auto;
}

.exibix-panel-notification-modal .exibix-panel-notification-content {
  max-height: min(calc(100vh - 2rem), 760px);
}

.exibix-panel-notification-modal .modal-body {
  padding: 1rem 1.15rem;
}

.exibix-panel-notification-media {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
  border-radius: 0.85rem;
  background: rgba(241, 245, 255, 0.75);
}

html.dark-style .exibix-notification-dropdown-menu {
  border-color: rgba(140, 154, 173, 0.24);
  box-shadow: 0 1.25rem 2.7rem rgba(2, 6, 23, 0.52);
}

html.dark-style .exibix-notification-dropdown-header {
  border-color: rgba(140, 154, 173, 0.16);
  background: linear-gradient(180deg, rgba(25, 35, 55, 0.92), rgba(20, 30, 48, 0.92));
}

html.dark-style .exibix-notification-item {
  border-color: rgba(140, 154, 173, 0.14);
}

html.dark-style .exibix-notification-item.is-unread {
  background: rgba(99, 102, 241, 0.22);
}

html.dark-style .exibix-notification-item-title {
  color: #e7ecf6;
}

html.dark-style .exibix-panel-notification-media {
  background: rgba(20, 30, 48, 0.72);
}

@media (max-width: 575.98px) {
  .exibix-panel-notification-modal .exibix-panel-notification-dialog.modal-fullscreen-sm-down {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    margin: 0.5rem auto;
  }

  .exibix-panel-notification-modal .exibix-panel-notification-content {
    max-height: calc(100vh - 1rem);
  }

  .exibix-panel-notification-media {
    max-height: 180px;
  }
}

.exibix-avatar-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1rem;
}

.exibix-avatar-choice {
  margin: 0;
  cursor: pointer;
}

.exibix-avatar-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.exibix-avatar-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.85rem 1.65rem rgba(67, 89, 113, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exibix-avatar-choice-image {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0.65rem 1.4rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar-choice-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--exibix-text-strong);
}

.exibix-avatar-choice:hover .exibix-avatar-choice-card {
  transform: translateY(-2px);
  box-shadow: 0 1rem 1.8rem rgba(67, 89, 113, 0.12);
}

.exibix-avatar-choice input:checked + .exibix-avatar-choice-card {
  border-color: rgba(105, 108, 255, 0.38);
  background: linear-gradient(180deg, rgba(243, 244, 255, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow:
    0 1rem 1.8rem rgba(105, 108, 255, 0.12),
    inset 0 0 0 1px rgba(105, 108, 255, 0.22);
}

.exibix-profile-avatar-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.28rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.92));
  box-shadow:
    0 0 0 1px rgba(105, 108, 255, 0.12),
    0 0.9rem 1.8rem rgba(67, 89, 113, 0.12);
}

.exibix-avatar-edit-trigger {
  appearance: none;
  position: absolute;
  z-index: 4;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #696cff 0%, #7c7fff 100%);
  box-shadow: 0 0.85rem 1.45rem rgba(105, 108, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.exibix-avatar-edit-trigger i {
  font-size: 0.92rem;
  line-height: 1;
  color: #fff;
  text-rendering: geometricPrecision;
}

.exibix-avatar-edit-trigger:hover,
.exibix-avatar-edit-trigger:focus {
  transform: translateY(-1px);
  box-shadow: 0 1rem 1.65rem rgba(105, 108, 255, 0.3);
  filter: brightness(1.03);
}

.exibix-avatar-modal-preview {
  width: 6.25rem;
  height: 6.25rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.18), rgba(94, 208, 255, 0.18));
  box-shadow: 0 1rem 2rem rgba(67, 89, 113, 0.14);
}

.exibix-avatar-modal-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.exibix-avatar-3d-launcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px dashed rgba(105, 108, 255, 0.32);
  background: rgba(105, 108, 255, 0.05);
}

.exibix-avatar-3d-launcher .btn {
  flex-shrink: 0;
}

.exibix-profile-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  color: var(--exibix-text-base);
}

.exibix-profile-menu .dropdown-item i {
  font-size: 1.1rem;
  color: #66758c;
}

.exibix-profile-menu .dropdown-item:hover,
.exibix-profile-menu .dropdown-item:focus {
  background: rgba(105, 108, 255, 0.08);
}

.exibix-profile-menu .dropdown-divider {
  margin: 0.35rem 0;
}

.exibix-profile-summary {
  padding: 1.1rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(245, 247, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(105, 108, 255, 0.1);
}

.exibix-profile-stats,
.exibix-profile-facts,
.exibix-context-list {
  display: grid;
  gap: 0.9rem;
}

.exibix-profile-stat,
.exibix-profile-fact,
.exibix-context-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.exibix-profile-stat i,
.exibix-profile-fact i,
.exibix-context-list-item i {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.1);
  color: #646cff;
  font-size: 1.1rem;
}

.exibix-profile-stat:nth-child(1) i,
.exibix-profile-fact:nth-child(1) i,
.exibix-context-list-item:nth-child(1) i {
  background: rgba(93, 95, 255, 0.12);
  color: #5d5fff;
}

.exibix-profile-stat:nth-child(2) i,
.exibix-profile-fact:nth-child(2) i,
.exibix-context-list-item:nth-child(2) i {
  background: rgba(13, 170, 255, 0.12);
  color: #0b9df0;
}

.exibix-profile-stat:nth-child(3) i,
.exibix-profile-fact:nth-child(3) i,
.exibix-context-list-item:nth-child(3) i {
  background: rgba(255, 159, 28, 0.14);
  color: #f39a17;
}

.exibix-profile-stat span,
.exibix-profile-fact span,
.exibix-context-list-item span {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--exibix-text-muted);
}

.exibix-profile-stat strong,
.exibix-profile-fact strong,
.exibix-context-list-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--exibix-text-strong);
}

.exibix-dropdown-action {
  min-height: 3rem;
  border-radius: 0.95rem;
  font-weight: 700;
}

.exibix-subtitle {
  max-width: 56rem;
  font-weight: 500;
}

.metric-card {
  border: 0;
  min-height: 100%;
  box-shadow: 0 1rem 2.25rem rgba(67, 89, 113, 0.1);
}

.metric-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--exibix-text-muted);
}

.metric-kicker-art {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(95, 111, 132, 0.06),
    0 0.5rem 1rem rgba(67, 89, 113, 0.08);
}

.metric-kicker-image {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0.35rem 0.75rem rgba(67, 89, 113, 0.16));
}

.metric-kicker-fa {
  font-size: 1.15rem;
  color: #5e63ff;
}

.metric-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.86));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.44),
    0 1rem 2rem rgba(67, 89, 113, 0.12);
}

.metric-icon-image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0.8rem 1.25rem rgba(67, 89, 113, 0.18));
}

.metric-icon-fa {
  font-size: 1.7rem;
  color: #4f5cff;
}

.metric-icon-primary {
  box-shadow:
    inset 0 0 0 1px rgba(105, 108, 255, 0.12),
    0 1rem 2rem rgba(105, 108, 255, 0.12);
}

.metric-icon-success {
  box-shadow:
    inset 0 0 0 1px rgba(34, 197, 94, 0.12),
    0 1rem 2rem rgba(34, 197, 94, 0.12);
}

.metric-icon-warning {
  box-shadow:
    inset 0 0 0 1px rgba(245, 158, 11, 0.12),
    0 1rem 2rem rgba(245, 158, 11, 0.12);
}

.metric-icon-info {
  box-shadow:
    inset 0 0 0 1px rgba(14, 165, 233, 0.12),
    0 1rem 2rem rgba(14, 165, 233, 0.12);
}

.metric-icon-danger {
  box-shadow:
    inset 0 0 0 1px rgba(249, 115, 22, 0.12),
    0 1rem 2rem rgba(249, 115, 22, 0.12);
}

.metric-card-users .metric-kicker-art {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(138, 108, 255, 0.08));
}

.metric-card-screens .metric-kicker-art {
  background: linear-gradient(135deg, rgba(113, 221, 55, 0.16), rgba(33, 194, 106, 0.1));
}

.metric-card-playlists .metric-kicker-art {
  background: linear-gradient(135deg, rgba(255, 171, 0, 0.16), rgba(255, 143, 31, 0.1));
}

.metric-card-media .metric-kicker-art {
  background: linear-gradient(135deg, rgba(3, 195, 236, 0.16), rgba(42, 159, 255, 0.1));
}

.metric-card-agenda .metric-kicker-art {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.14), rgba(249, 115, 22, 0.1));
}

.metric-card-offline .metric-kicker-art {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.16), rgba(239, 68, 68, 0.11));
}

.metric-card-credits .metric-kicker-art {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.16), rgba(59, 130, 246, 0.1));
}

.metric-card-sales .metric-kicker-art {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(249, 115, 22, 0.14));
}

.metric-card-revenue .metric-kicker-art {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.14));
}

.metric-card-plans .metric-kicker-art {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(16, 185, 129, 0.12));
}

.metric-card-gateways .metric-kicker-art {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(37, 99, 235, 0.12));
}

.metric-card-users,
.metric-card-screens,
.metric-card-playlists,
.metric-card-media,
.metric-card-agenda,
.metric-card-offline,
.metric-card-credits,
.metric-card-sales,
.metric-card-revenue,
.metric-card-plans,
.metric-card-gateways,
.exibix-profile-overview,
.exibix-context-card {
  overflow: hidden;
}

.metric-card-users::before,
.metric-card-screens::before,
.metric-card-playlists::before,
.metric-card-media::before,
.metric-card-agenda::before,
.metric-card-offline::before,
.metric-card-credits::before,
.metric-card-sales::before,
.metric-card-revenue::before,
.metric-card-plans::before,
.metric-card-gateways::before,
.exibix-profile-overview::before,
.exibix-context-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.25rem;
  opacity: 0.9;
}

.metric-card-users,
.metric-card-screens,
.metric-card-playlists,
.metric-card-media,
.metric-card-agenda,
.metric-card-offline,
.metric-card-credits,
.metric-card-sales,
.metric-card-revenue,
.metric-card-plans,
.metric-card-gateways,
.exibix-profile-overview,
.exibix-context-card {
  position: relative;
}

.metric-card-users::before,
.exibix-profile-overview::before {
  background: linear-gradient(90deg, #696cff, #8a6cff);
}

.metric-card-screens::before {
  background: linear-gradient(90deg, #71dd37, #21c26a);
}

.metric-card-playlists::before {
  background: linear-gradient(90deg, #ffab00, #ff8f1f);
}

.metric-card-media::before,
.exibix-context-card::before {
  background: linear-gradient(90deg, #03c3ec, #2a9fff);
}

.metric-card-agenda::before {
  background: linear-gradient(90deg, #fb7185, #f97316);
}

.metric-card-offline::before {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.metric-card-credits::before {
  background: linear-gradient(90deg, #696cff, #2a9fff);
}

.metric-card-sales::before {
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.metric-card-revenue::before {
  background: linear-gradient(90deg, #6366f1, #3b82f6);
}

.metric-card-plans::before {
  background: linear-gradient(90deg, #22c55e, #10b981);
}

.metric-card-gateways::before {
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.exibix-card-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.exibix-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #66758c;
}

.exibix-section-art,
.exibix-empty-art,
.client-activity-art,
.exibix-inline-art,
.exibix-setup-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0.8rem 1.6rem rgba(67, 89, 113, 0.12);
}

.exibix-section-art {
  width: 3rem;
  height: 3rem;
  border-radius: 1.1rem;
}

.exibix-section-art-image {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
}

.exibix-inline-art {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.35rem;
  flex-shrink: 0;
}

.exibix-inline-art-image {
  width: 3.35rem;
  height: 3.35rem;
  object-fit: contain;
  display: block;
}

.exibix-setup-art {
  width: 5rem;
  height: 5rem;
  border-radius: 1.55rem;
  flex-shrink: 0;
}

.exibix-setup-art-image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
}

.exibix-step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.exibix-setup-card {
  overflow: hidden;
}

.exibix-device-link-panel {
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 255, 0.92));
}

.exibix-empty-art {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.15rem;
  flex-shrink: 0;
}

.exibix-empty-art-image {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
  display: block;
}

.client-activity-art {
  width: 3rem;
  height: 3rem;
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-activity-art-image {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  display: block;
}

.exibix-timeline-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.exibix-empty-state {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.client-dashboard-card .card-header {
  padding-bottom: 1rem;
}

.client-sync-strip {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.06);
  border: 1px solid rgba(105, 108, 255, 0.1);
}

.client-sync-copy span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--exibix-text-muted);
}

.client-sync-copy strong {
  font-size: 1rem;
  color: var(--exibix-text-strong);
}

.client-sync-progress {
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.12);
}

.metric-r2-progress-track {
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(67, 89, 113, 0.1);
  overflow: hidden;
}

.client-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
}

.client-activity-item:first-child {
  padding-top: 0;
}

.client-activity-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.input-group-text i,
.exibix-theme-toggle i,
.layout-menu-toggle i {
  color: #5d63ff;
}

.exibix-profile-menu .dropdown-item i {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
  background: rgba(105, 108, 255, 0.12);
  color: #6366f1;
}

.exibix-inline-action,
.exibix-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
}

.exibix-inline-action i,
.exibix-table-action i {
  font-size: 0.95rem;
}

.exibix-table-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.table-fit .exibix-table-action {
  min-height: 2.3rem;
  white-space: nowrap;
}

.impersonation-banner {
  border: 0;
  border-left: 0.35rem solid #ffab00;
  box-shadow: 0 0.5rem 1.25rem rgba(255, 171, 0, 0.18);
}

.playlist-item {
  border: 1px solid rgba(67, 89, 113, 0.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(67, 89, 113, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.playlist-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.playlist-days label {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(67, 89, 113, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.playlist-edit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.playlist-edit-context {
  min-width: 0;
}

.playlist-edit-context strong {
  font-size: 1rem;
  color: var(--exibix-text-strong);
}

.playlist-edit-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.playlist-edit-switcher .btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%);
  box-shadow: 0 0.8rem 1.6rem rgba(105, 108, 255, 0.2);
}

.exibix-playlist-shell {
  display: grid;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.playlist-editor[data-current-section="details"] .exibix-playlist-workbench {
  display: none;
}

.playlist-editor[data-current-section="media"] .playlist-basics-panel,
.playlist-editor[data-current-section="schedule"] .playlist-basics-panel {
  display: none;
}

.playlist-editor[data-current-section="schedule"] .exibix-playlist-workbench {
  grid-template-columns: minmax(0, 1fr);
}

.playlist-editor[data-current-section="schedule"] .exibix-playlist-library-column {
  display: none;
}

.playlist-editor[data-current-section="schedule"] [data-playlist-add] {
  display: none;
}

.playlist-editor[data-current-section="schedule"] .playlist-item-field-media {
  display: none;
}

.playlist-basics-panel {
  flex: 0 0 auto;
}

.playlist-basics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.playlist-basics-status {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: rgba(40, 199, 111, 0.08);
  border: 1px solid rgba(40, 199, 111, 0.16);
}

.playlist-basics-status.form-check {
  margin-bottom: 0;
  padding-left: 3rem;
}

.playlist-basics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.playlist-basics-description {
  grid-column: 1 / -1;
}

.exibix-playlist-workbench,
.exibix-playlist-sequence-column,
.exibix-playlist-library-column,
.exibix-playlist-panel {
  min-width: 0;
  min-height: 0;
}

.exibix-playlist-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 380px);
  gap: 1rem;
  align-items: start;
}

.exibix-playlist-sequence-panel,
.exibix-playlist-library-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
}

.playlist-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.playlist-panel-heading-stack {
  align-items: center;
}

.playlist-items-shell {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.playlist-items-list {
  display: grid;
  gap: 0.85rem;
  min-height: 0;
  overflow: visible;
}

.playlist-items-list.is-library-dragover {
  padding: 0.75rem;
  border: 1px dashed rgba(105, 108, 255, 0.28);
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.04);
}

.playlist-items-list.is-library-dragover .playlist-item {
  border-color: rgba(105, 108, 255, 0.28);
}

.playlist-items-empty {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(105, 108, 255, 0.22);
  background: rgba(105, 108, 255, 0.05);
}

.playlist-items-empty strong,
.playlist-items-empty span {
  display: block;
}

.playlist-items-empty-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: #6269ff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.playlist-item.has-media {
  border-color: rgba(105, 108, 255, 0.22);
}

.playlist-item.is-dragging {
  opacity: 0.58;
  transform: scale(0.992);
  box-shadow: 0 1rem 2rem rgba(67, 89, 113, 0.14);
}

.playlist-item-summary {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--exibix-text-strong);
  line-height: 1.35;
}

.playlist-item-meta {
  display: block;
  font-size: 0.84rem;
}

.playlist-item-leading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.playlist-item-art {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.1);
  border: 1px solid rgba(105, 108, 255, 0.12);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6269ff;
}

.playlist-item-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-item-heading {
  min-width: 0;
}

.playlist-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.playlist-item-main {
  display: grid;
  gap: 0.75rem;
}

.playlist-item-field {
  min-width: 0;
}

.playlist-item-quick-config {
  padding: 0;
  border: 0;
  background: transparent;
}

.playlist-item-config-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0;
}

.playlist-item-config-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.1);
  color: #4d56ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.playlist-item-config-pill-muted {
  background: rgba(67, 89, 113, 0.08);
  color: var(--exibix-text-muted);
}

.playlist-item-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.75rem;
}

.playlist-item-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.playlist-config-trigger {
  margin-top: 0;
}

.playlist-upload-strip[hidden] {
  display: none !important;
}

.playlist-duration-control {
  display: grid;
  grid-template-columns: 2.4rem minmax(5.5rem, 1fr) 2.4rem;
  gap: 0.5rem;
  align-items: center;
}

.playlist-duration-step {
  width: 2.4rem;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 0.9rem;
}

.playlist-duration-input {
  min-width: 0;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.playlist-duration-input::-webkit-outer-spin-button,
.playlist-duration-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.playlist-duration-input[type="number"] {
  -moz-appearance: textfield;
}

.playlist-duration-suffix {
  grid-column: 1 / -1;
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--exibix-text-muted);
}

.playlist-active-toggle {
  margin-top: 0.6rem;
  min-height: 2.5rem;
}

.playlist-config-modal,
.playlist-library-modal {
  position: fixed;
  inset: 0;
  z-index: var(--exibix-overlay-z, 1085);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.playlist-config-modal.is-open,
.playlist-library-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.playlist-config-modal-backdrop,
.playlist-library-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(6px);
}

.playlist-config-modal-dialog,
.playlist-library-modal-dialog {
  position: relative;
  width: min(760px, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.99));
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.22);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.18s ease;
}

.playlist-library-modal-dialog {
  width: min(980px, calc(100vw - 2rem));
}

.playlist-config-modal.is-open .playlist-config-modal-dialog,
.playlist-library-modal.is-open .playlist-library-modal-dialog {
  transform: translateY(0) scale(1);
}

.playlist-config-modal-header,
.playlist-config-modal-footer,
.playlist-library-modal-header,
.playlist-library-modal-footer {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
}

.playlist-config-modal-footer,
.playlist-library-modal-footer {
  border-bottom: 0;
  border-top: 1px solid rgba(67, 89, 113, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.playlist-config-modal-body,
.playlist-library-modal-body {
  max-height: calc(100vh - 12rem);
  overflow: auto;
  padding: 1.2rem;
}

.playlist-config-modal-title,
.playlist-library-modal-title {
  font-size: 1.12rem;
}

.playlist-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.playlist-config-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.05);
  border: 1px solid rgba(105, 108, 255, 0.08);
}

.playlist-config-card-wide {
  grid-column: 1 / -1;
}

.playlist-duration-control-modal {
  grid-template-columns: 2.6rem minmax(6rem, 1fr) 2.6rem;
}

.playlist-days-modal label {
  min-width: 4rem;
  justify-content: center;
}

body.playlist-config-modal-open {
  overflow: hidden;
}

body.playlist-library-modal-open {
  overflow: hidden;
}

.playlist-drag-handle {
  min-width: 2.5rem;
  min-height: 2.5rem;
  cursor: grab;
}

.playlist-drag-handle:active {
  cursor: grabbing;
}

.playlist-upload-strip {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(3, 195, 236, 0.22);
  background: linear-gradient(180deg, rgba(3, 195, 236, 0.08), rgba(3, 195, 236, 0.03));
}

.playlist-upload-status {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.playlist-upload-status[data-state="success"] {
  color: #1f9d55;
}

.playlist-upload-status[data-state="error"] {
  color: #de3413;
}

.playlist-upload-status[data-state="loading"] {
  color: #0b9df0;
}

.playlist-media-library {
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.playlist-media-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(67, 89, 113, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.65rem 1.4rem rgba(67, 89, 113, 0.08);
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.playlist-media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.24);
  box-shadow: 0 1rem 1.75rem rgba(67, 89, 113, 0.12);
}

.playlist-media-card:disabled,
.playlist-media-card.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.playlist-media-card-art {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(3, 195, 236, 0.08));
  color: #5d63ff;
}

.playlist-media-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playlist-media-card-art span {
  font-size: 1.25rem;
}

.playlist-media-card-body {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.playlist-media-card-body strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.playlist-media-card-body span,
.playlist-media-card-body small {
  color: var(--exibix-text-muted);
}

.playlist-media-card-size {
  font-size: 0.74rem;
  font-weight: 700;
  color: #5a6d84;
}

.exibix-media-display-hub .card-body {
  display: grid;
  gap: 1.25rem;
}

.exibix-media-display-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.exibix-media-display-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.12);
  color: #5d63ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.exibix-media-screen-selector {
  width: min(320px, 100%);
}

.exibix-media-display-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.exibix-media-display-stat,
.exibix-media-current-state,
.exibix-media-display-panel {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-media-display-stat {
  display: grid;
  gap: 0.2rem;
}

.exibix-media-display-stat-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7b93;
}

.exibix-media-display-stat strong {
  font-size: 1.02rem;
  color: #2c3e57;
}

.exibix-media-display-stat small {
  color: var(--exibix-text-muted);
}

.exibix-media-current-state {
  display: grid;
  gap: 0.9rem;
}

.exibix-media-current-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.exibix-media-current-label {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #40526b;
  font-weight: 700;
}

.exibix-media-display-inline-note {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  background: rgba(105, 108, 255, 0.06);
  color: #5b6b84;
  font-weight: 600;
}

.exibix-media-display-empty {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(105, 108, 255, 0.24);
  background: rgba(105, 108, 255, 0.05);
}

.exibix-media-display-empty i {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: #5d63ff;
}

.exibix-media-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.exibix-media-settings-card .card-body,
.exibix-media-sequence-card .card-body {
  display: grid;
  gap: 1rem;
}

.exibix-media-settings-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.exibix-media-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.exibix-media-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.exibix-media-screen-form {
  width: min(280px, 100%);
}

.exibix-media-screen-picker {
  width: min(360px, 100%);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
  box-shadow: 0 0.9rem 1.8rem rgba(67, 89, 113, 0.08);
}

.exibix-media-screen-picker-art {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.44),
    0 1rem 2rem rgba(67, 89, 113, 0.12);
}

.exibix-media-screen-picker-image {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0.7rem 1rem rgba(67, 89, 113, 0.18));
}

.exibix-media-screen-picker-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.exibix-media-screen-picker-body .form-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7b93;
}

.exibix-media-screen-picker-select {
  min-width: 0;
}

.exibix-media-screen-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-media-screen-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #243446;
}

.exibix-media-screen-card-compact {
  padding: 1rem 1.1rem;
}

.exibix-media-screen-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: var(--exibix-text-muted);
  font-size: 0.92rem;
}

.exibix-media-live-monitor {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(241, 245, 255, 0.95));
}

.exibix-media-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.exibix-media-live-copy small {
  color: #63728a;
}

.exibix-media-live-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.exibix-media-live-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(105, 108, 255, 0.14);
  background: rgba(255, 255, 255, 0.84);
}

.exibix-media-live-current-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.exibix-media-live-current-copy strong {
  color: #243446;
  font-weight: 700;
}

.exibix-media-live-current-copy small {
  color: #63728a;
}

.exibix-media-live-online {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  color: #1e8a46;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exibix-media-live-online.is-offline {
  background: rgba(220, 38, 38, 0.14);
  color: #c12a2a;
}

.exibix-media-live-online.is-paused {
  background: rgba(249, 115, 22, 0.16);
  color: #ba4e08;
}

.exibix-media-live-online.is-freeze {
  background: rgba(14, 165, 233, 0.16);
  color: #0d6f9c;
}

.exibix-media-live-list {
  display: grid;
  gap: 0.55rem;
  max-height: 230px;
  overflow: auto;
  padding-right: 0.15rem;
}

.exibix-media-live-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.exibix-media-live-item:hover {
  border-color: rgba(105, 108, 255, 0.34);
  box-shadow: 0 0.35rem 0.8rem rgba(67, 89, 113, 0.12);
}

.exibix-media-live-item.is-active {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

.exibix-media-live-item-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.exibix-media-live-item-copy strong {
  color: #243446;
  font-size: 0.92rem;
  line-height: 1.25;
}

.exibix-media-live-item-copy small {
  color: #63728a;
  font-size: 0.76rem;
}

.exibix-media-field-block {
  display: grid;
  gap: 0.45rem;
}

.exibix-media-actions-stack {
  display: grid;
  gap: 0.75rem;
}

.exibix-media-actions-stack .btn {
  width: 100%;
  justify-content: center;
}

.exibix-media-current-box {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: rgba(105, 108, 255, 0.05);
}

.exibix-media-current-box-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7b93;
}

.exibix-media-sequence-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.exibix-media-live-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.exibix-media-autosave-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #516179;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.exibix-media-autosave-status small {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1;
}

.exibix-media-autosave-status i {
  font-size: 0.72rem;
}

.exibix-media-autosave-status[data-state="saving"] {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.28);
}

.exibix-media-autosave-status[data-state="saving"] i {
  animation: exibixAutosaveSpin 0.9s linear infinite;
}

.exibix-media-autosave-status[data-state="saved"] {
  color: #1f8d48;
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(22, 163, 74, 0.25);
}

.exibix-media-autosave-status[data-state="pending"] {
  color: #a16207;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.3);
}

.exibix-media-autosave-status[data-state="error"] {
  color: #c12a2a;
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.28);
}

.exibix-media-autosave-hint {
  font-size: 0.82rem;
}

@keyframes exibixAutosaveSpin {
  from {
    transform: rotate(0deg);
  }

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

.exibix-media-live-inline-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 28px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  color: #1f8d48;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exibix-media-live-inline-chip.is-offline {
  background: rgba(220, 38, 38, 0.14);
  color: #c12a2a;
}

.exibix-media-live-inline-chip.is-paused {
  background: rgba(249, 115, 22, 0.16);
  color: #ba4e08;
}

.exibix-media-live-inline-chip.is-freeze {
  background: rgba(14, 165, 233, 0.16);
  color: #0d6f9c;
}

.screen-playback-entry.is-live {
  border-color: rgba(22, 163, 74, 0.42) !important;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.18), 0 0.9rem 1.6rem rgba(67, 89, 113, 0.1);
}

.screen-playback-entry.is-live .screen-playback-media-card {
  border-color: rgba(22, 163, 74, 0.52);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.18);
}

.screen-playback-entry.is-live .screen-playback-media-preview {
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
}

.screen-playback-entry.is-live [data-playback-live-badge] {
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.exibix-media-sequence-summary {
  display: grid;
  gap: 1rem;
}

.exibix-media-sequence-summary-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.35fr);
  gap: 1rem;
}

.exibix-media-summary-box {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: rgba(105, 108, 255, 0.05);
}

.exibix-media-summary-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7b93;
}

.exibix-media-summary-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.exibix-media-summary-content strong {
  font-size: 1rem;
  font-weight: 800;
  color: #243446;
}

.exibix-playback-drag {
  cursor: grab;
}

.exibix-playback-drag:active {
  cursor: grabbing;
}

.screen-playback-entry.is-dragging {
  opacity: 0.72;
  box-shadow: 0 1rem 1.8rem rgba(67, 89, 113, 0.12);
}

.exibix-media-library-header {
  align-items: flex-start;
}

.exibix-media-library-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.exibix-media-library-upload-trigger {
  min-width: 0;
  padding-inline: 0.9rem;
}

.exibix-media-library-browser {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
}

.exibix-media-library-browser-head {
  margin-bottom: 0.85rem;
}

.exibix-media-library-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.exibix-media-library-status {
  min-height: 1.4rem;
}

.exibix-media-library-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-height: 60vh;
  overflow: auto;
  padding-right: 0.2rem;
}

.exibix-media-library-modal-item {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: #fff;
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-media-library-card-preview {
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(105, 108, 255, 0.08), rgba(0, 184, 217, 0.08)),
    #f5f7ff;
}

.exibix-media-library-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.55rem;
}

.exibix-media-library-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.14);
  color: #5d63ff;
  font-size: 1.5rem;
}

.exibix-media-library-card-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.exibix-media-library-card-body strong {
  font-size: 1rem;
  font-weight: 800;
  color: #25374c;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exibix-media-library-card-body small {
  font-size: 0.88rem;
  color: #66788f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exibix-media-library-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.exibix-media-library-modal-actions .btn:first-child {
  flex: 1 1 auto;
}

.exibix-media-library-empty {
  grid-column: 1 / -1;
}

.exibix-playlist-browser-list {
  display: grid;
  gap: 0.9rem;
  max-height: 60vh;
  overflow: auto;
  padding-right: 0.2rem;
}

.exibix-playlist-browser-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: #fff;
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-playlist-browser-item-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 320px;
}

.exibix-playlist-browser-item-body strong {
  font-size: 1rem;
  font-weight: 800;
  color: #243446;
}

.exibix-playlist-browser-item-body small {
  color: #66788f;
}

.exibix-playlist-browser-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.exibix-playlist-browser-select {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(105, 108, 255, 0.18);
  background: rgba(105, 108, 255, 0.06);
  color: #4f5d78;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.exibix-playlist-browser-select input {
  margin: 0;
  cursor: pointer;
}

.exibix-playlist-browser-select.is-selected {
  border-color: rgba(105, 108, 255, 0.36);
  background: rgba(105, 108, 255, 0.14);
  color: #3f4cff;
  box-shadow: 0 0.75rem 1.4rem rgba(105, 108, 255, 0.14);
}

.playlist-library-empty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(67, 89, 113, 0.18);
  color: var(--exibix-text-muted);
}

.upload-card {
  border-style: dashed;
}

.login-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  background:
    var(--exibix-auth-bg-image, url("../img/branding/exibix-login-background.png")) center / cover no-repeat fixed,
    #f5f5f9;
}

.exibix-auth-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.exibix-auth-bg-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.login-shell::before,
.login-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.login-shell::before {
  background:
    linear-gradient(118deg, rgba(5, 10, 22, 0.74), rgba(19, 27, 54, 0.58) 34%, rgba(7, 24, 40, 0.54)),
    radial-gradient(circle at 14% 22%, rgba(99, 102, 241, 0.18), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(34, 211, 238, 0.12), transparent 34%);
  opacity: calc(var(--exibix-auth-overlay-opacity-light, 1) * var(--exibix-auth-page-overlay-opacity, 1));
}

.login-shell::after {
  display: block;
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 80, 236, 0.5), transparent 28%),
    radial-gradient(circle at 30% 72%, rgba(6, 182, 212, 0.32), transparent 24%),
    radial-gradient(circle at 52% 20%, rgba(129, 140, 248, 0.34), transparent 26%),
    radial-gradient(circle at 72% 74%, rgba(249, 115, 22, 0.28), transparent 22%),
    radial-gradient(circle at 90% 34%, rgba(236, 72, 153, 0.26), transparent 20%);
  opacity: calc(var(--exibix-auth-aurora-opacity-light, 0.95) * var(--exibix-auth-page-overlay-opacity, 1));
  filter: blur(68px) saturate(1.15);
  mix-blend-mode: screen;
}

.login-shell .authentication-wrapper {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: 0.95rem 0;
}

.login-shell .authentication-wrapper.authentication-basic .authentication-inner {
  position: relative;
  isolation: isolate;
  width: min(100%, 33rem);
  max-width: min(100%, 33rem);
}

.login-shell .authentication-wrapper.authentication-basic .card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    0 1.85rem 3.4rem rgba(15, 23, 42, 0.22),
    0 0.35rem 1rem rgba(99, 102, 241, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  max-height: calc(100vh - 1.9rem);
  display: flex;
  flex-direction: column;
}

.login-shell .authentication-wrapper.authentication-basic .card::before {
  content: none;
}

.login-shell .authentication-wrapper.authentication-basic .card::after {
  content: none;
}

.login-shell .exibix-auth-card-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  touch-action: pan-y;
}

.login-shell .exibix-auth-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.login-shell .exibix-auth-fields {
  flex: 1 1 auto;
  min-height: 0;
}

.login-shell .exibix-auth-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding-top: 0.8rem;
  margin-top: 0.45rem;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0), rgba(248, 250, 255, 0.92) 28%, rgba(248, 250, 255, 0.98) 100%);
}

.login-shell .exibix-auth-actions .btn {
  min-height: 2.95rem;
}

.login-shell .authentication-wrapper.authentication-basic .authentication-inner::before {
  content: none;
  display: none;
}

.login-shell .authentication-wrapper.authentication-basic .authentication-inner::after {
  display: none;
}

.table-fit td,
.table-fit th {
  white-space: nowrap;
}

.table-fit {
  min-width: 980px;
}

.card .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1.2rem;
}

.table-fit td,
.table-fit th {
  vertical-align: middle;
}

.table-fit .btn {
  white-space: nowrap;
}

.exibix-theme-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border-color: rgba(105, 108, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 244, 255, 0.92));
  box-shadow: 0 0.75rem 1.5rem rgba(67, 89, 113, 0.1);
}

.exibix-navbar-actions {
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.layout-menu-toggle .nav-link,
.layout-menu-toggle .menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.9rem;
}

.exibix-navbar-toggle {
  background: rgba(105, 108, 255, 0.08);
  border: 1px solid rgba(105, 108, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.layout-menu .layout-menu-toggle.exibix-sidebar-toggle {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  margin: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%);
  border: 1px solid rgba(105, 108, 255, 0.32);
  box-shadow: 0 0.8rem 1.6rem rgba(105, 108, 255, 0.28);
}

.layout-menu .layout-menu-toggle.exibix-sidebar-toggle:hover {
  background: linear-gradient(135deg, #5d63ff 0%, #6f4fff 100%);
}

.layout-menu .layout-menu-toggle.exibix-sidebar-toggle i {
  color: #fff;
  font-size: 0.95rem;
}

.exibix-footer-copy {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--exibix-text-base);
}

.exibix-auth-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 30;
}

.exibix-screen-orientation-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.exibix-screen-icon-btn {
  width: 4.25rem;
  height: 3.35rem;
  padding: 0.35rem 0.45rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 244, 255, 0.92));
  color: #6273ff;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.75rem 1.5rem rgba(67, 89, 113, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.exibix-screen-icon-stack {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.exibix-screen-icon-stack i:first-child {
  font-size: 0.95rem;
}

.exibix-screen-icon-stack i:last-child {
  font-size: 0.78rem;
}

.exibix-screen-icon-caption {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.exibix-screen-icon-btn:hover,
.exibix-screen-icon-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 1rem 1.8rem rgba(67, 89, 113, 0.12);
}

.exibix-screen-icon-btn.is-active {
  border-color: rgba(105, 108, 255, 0.34);
  background: linear-gradient(135deg, #696cff 0%, #7c7fff 100%);
  color: #fff;
  box-shadow: 0 0.95rem 1.8rem rgba(105, 108, 255, 0.24);
}

.exibix-screen-current-orientation {
  min-width: 4.8rem;
  height: 2.35rem;
  padding: 0 0.65rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
}

.exibix-screen-current-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.exibix-screen-current-orientation .exibix-screen-icon-stack i:first-child {
  font-size: 0.8rem;
}

.exibix-screen-current-orientation .exibix-screen-icon-stack i:last-child {
  font-size: 0.66rem;
}

.exibix-screens-mobile-list {
  display: grid;
  gap: 1rem;
}

.exibix-screen-mobile-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.exibix-screen-mobile-card {
  border: 1px solid rgba(105, 108, 255, 0.22);
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-screen-mobile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.exibix-screen-mobile-badges {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.exibix-screen-mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.exibix-screen-mobile-item {
  padding: 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(105, 108, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.96));
}

.exibix-screen-mobile-kicker {
  display: inline-block;
  margin-bottom: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6c7b90;
}

.exibix-screen-mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exibix-screen-mobile-actions .btn {
  flex: 1 1 160px;
  justify-content: center;
}

.exibix-screen-live-button {
  min-width: 2.4rem;
  height: 2.2rem;
  padding-inline: 0.65rem;
}

.exibix-screen-live-list {
  display: grid;
  gap: 0.75rem;
}

.exibix-screen-live-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(105, 108, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.95));
}

.exibix-screen-live-item.is-active {
  border-color: rgba(34, 197, 94, 0.54);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.exibix-screen-live-item-preview {
  width: 64px;
  height: 42px;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #101827;
  color: #d6e0f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exibix-screen-live-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exibix-screen-live-item-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exibix-screen-live-item-copy {
  min-width: 0;
}

.exibix-screen-live-item-copy strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
  color: #253147;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exibix-screen-live-item-copy small {
  display: block;
  margin-top: 0.22rem;
  color: #6c7b90;
}

@media (max-width: 575.98px) {
  .exibix-screen-icon-btn {
    width: 3.9rem;
    height: 3.1rem;
  }

  .exibix-screen-mobile-actions .btn {
    flex: 1 1 100%;
  }
}

.screen-remote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screen-remote-card {
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
  box-shadow: 0 0.85rem 1.6rem rgba(67, 89, 113, 0.08);
}

.screen-remote-card-wide {
  grid-column: 1 / -1;
}

.screen-remote-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.screen-remote-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.screen-remote-icon-app {
  background: rgba(105, 108, 255, 0.12);
  color: #6366f1;
}

.screen-remote-icon-device {
  background: rgba(3, 195, 236, 0.12);
  color: #0891b2;
}

.screen-remote-icon-actions {
  background: rgba(255, 171, 0, 0.14);
  color: #f59e0b;
}

.screen-remote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.screen-remote-actions form {
  margin: 0;
}

.screen-remote-feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.1);
  color: #334155;
  font-weight: 600;
}

.screen-remote-feedback[data-state="loading"] {
  border-color: rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.09);
  color: #1d4ed8;
}

.screen-remote-feedback[data-state="success"] {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.09);
  color: #15803d;
}

.screen-remote-feedback[data-state="error"] {
  border-color: rgba(239, 68, 68, 0.18);
  background: rgba(239, 68, 68, 0.09);
  color: #b91c1c;
}

.screen-remote-btn {
  min-height: 2.8rem;
  min-width: 8.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
}

.screen-remote-btn:disabled {
  opacity: 0.62;
  cursor: wait;
}

body.exibix-remote-stage-open {
  overflow: hidden;
}

.exibix-remote-stage {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.exibix-remote-stage[hidden] {
  display: none;
}

.exibix-remote-stage-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(12px);
}

.exibix-remote-shell {
  position: relative;
  width: min(430px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(105, 108, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 255, 0.96));
  box-shadow:
    0 2rem 5rem rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.exibix-remote-stage.is-open .exibix-remote-shell {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.exibix-remote-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.8rem 1.5rem rgba(15, 23, 42, 0.1);
}

.exibix-remote-shell-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.exibix-remote-shell-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.12);
  color: #515bff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.exibix-remote-shell-copy h4 {
  color: #243446;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.exibix-remote-shell-copy p {
  color: #6b7b93;
}

.exibix-remote-shell-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.14);
}

.exibix-remote-shell-status.is-paused {
  background: rgba(248, 113, 113, 0.12);
  color: #dc2626;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.16);
}

.exibix-remote-device {
  position: relative;
  border-radius: 1.8rem;
  padding: 1.1rem;
  background:
    radial-gradient(circle at top left, rgba(105, 108, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 255, 0.98));
  border: 1px solid rgba(105, 108, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1.4rem 2.6rem rgba(67, 89, 113, 0.12);
}

.exibix-remote-top-actions,
.exibix-remote-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.exibix-remote-top-actions {
  margin-bottom: 1rem;
}

.exibix-remote-bottom-actions {
  margin-top: 1rem;
}

.exibix-remote-action-circle {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.exibix-remote-action-restart {
  color: #f59e0b;
}

.exibix-remote-action-pause.is-active,
.exibix-remote-wheel-btn.is-active,
.exibix-remote-chip.is-active {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.exibix-remote-action-circle:hover,
.exibix-remote-rocker-btn:hover,
.exibix-remote-wheel-btn:hover,
.exibix-remote-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 1rem 1.9rem rgba(15, 23, 42, 0.14);
}

.exibix-remote-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.exibix-remote-rocker {
  width: 4.9rem;
  min-height: 17.2rem;
  padding: 0.8rem 0.55rem;
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 255, 0.98));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.exibix-remote-rocker-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #70819a;
}

.exibix-remote-rocker-btn,
.exibix-remote-wheel-btn,
.exibix-remote-chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: #5b6b84;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exibix-remote-rocker-btn {
  width: 100%;
  height: 4.8rem;
  border-radius: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.exibix-remote-wheel {
  position: relative;
  width: min(260px, calc(100vw - 9rem));
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 35%, rgba(244, 247, 255, 0.98) 36% 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 1.2rem 2rem rgba(67, 89, 113, 0.12);
}

.exibix-remote-wheel-btn,
.exibix-remote-wheel-center {
  position: absolute;
}

.exibix-remote-wheel-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.exibix-remote-wheel-top {
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
}

.exibix-remote-wheel-right {
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
}

.exibix-remote-wheel-bottom {
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
}

.exibix-remote-wheel-left {
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
}

.exibix-remote-wheel-center {
  inset: 50%;
  width: 8.55rem;
  height: 8.55rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(105, 108, 255, 0.14), rgba(105, 108, 255, 0.04)),
    rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(105, 108, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 1rem 2rem rgba(67, 89, 113, 0.12);
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
}

.exibix-remote-wheel-center-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7b93;
}

.exibix-remote-wheel-center strong {
  font-size: 0.95rem;
  line-height: 1.2;
  color: #25374c;
}

.exibix-remote-wheel-center small {
  font-size: 0.78rem;
  color: #6b7b93;
  line-height: 1.35;
}

.exibix-remote-chip {
  min-height: 3.05rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1 1 0;
  font-weight: 700;
}

.exibix-remote-action-circle:disabled,
.exibix-remote-rocker-btn:disabled,
.exibix-remote-wheel-btn:disabled,
.exibix-remote-chip:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

@media (max-width: 1199.98px) {
  .exibix-brand-tagline {
    max-width: 140px;
  }

  .exibix-remote-shell {
    width: min(100%, 430px);
  }

  .exibix-playlist-modal .modal-content {
    min-height: auto;
    max-height: calc(100vh - 1rem);
  }

  .exibix-playlist-modal .modal-body {
    overflow: auto;
  }

  .exibix-playlist-workbench {
    grid-template-columns: 1fr;
  }

  .playlist-basics-grid {
    grid-template-columns: 1fr;
  }

  .screen-remote-grid {
    grid-template-columns: 1fr;
  }

  .exibix-remote-shell {
    padding: 1rem;
    border-radius: 1.6rem;
  }

  .exibix-remote-shell-top {
    padding-right: 2.5rem;
  }

  .exibix-remote-shell-copy h4 {
    font-size: 1.45rem;
  }

  .exibix-remote-core {
    flex-direction: column;
  }

  .exibix-remote-rocker {
    width: 100%;
    min-height: 0;
    height: auto;
    flex-direction: row;
    padding: 0.55rem;
  }

  .exibix-remote-rocker-btn {
    width: 3.7rem;
    height: 3.7rem;
  }

  .exibix-remote-wheel {
    width: min(250px, calc(100vw - 5.4rem));
  }

  .exibix-remote-bottom-actions {
    flex-direction: column;
  }

  .playlist-edit-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .playlist-edit-switcher {
    justify-content: flex-start;
  }
}

html.dark-style .exibix-brand-logo-light,
body.dark-style .exibix-brand-logo-light,
html.dark-style .exibix-navbar-brand-logo-light,
body.dark-style .exibix-navbar-brand-logo-light {
  display: none;
}

html.dark-style .exibix-brand-logo-dark,
body.dark-style .exibix-brand-logo-dark,
html.dark-style .exibix-navbar-brand-logo-dark,
body.dark-style .exibix-navbar-brand-logo-dark {
  display: block;
}

html.dark-style body {
  background-color: #111827;
  color: #d6deed;
}

html.dark-style .login-shell {
  background:
    var(--exibix-auth-bg-image, url("../img/branding/exibix-login-background.png")) center / cover no-repeat fixed,
    #111827;
}

html.dark-style .login-shell::before {
  background:
    linear-gradient(124deg, rgba(2, 6, 23, 0.82), rgba(10, 16, 34, 0.72) 42%, rgba(2, 18, 36, 0.76)),
    radial-gradient(circle at 14% 20%, rgba(99, 102, 241, 0.18), transparent 42%),
    radial-gradient(circle at 84% 76%, rgba(6, 182, 212, 0.12), transparent 34%);
  opacity: calc(var(--exibix-auth-overlay-opacity-dark, 1) * var(--exibix-auth-page-overlay-opacity, 1));
}

html.dark-style .login-shell::after {
  display: block;
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 80, 236, 0.42), transparent 28%),
    radial-gradient(circle at 28% 74%, rgba(34, 211, 238, 0.26), transparent 24%),
    radial-gradient(circle at 52% 18%, rgba(129, 140, 248, 0.28), transparent 26%),
    radial-gradient(circle at 72% 76%, rgba(249, 115, 22, 0.22), transparent 22%),
    radial-gradient(circle at 92% 34%, rgba(217, 70, 239, 0.2), transparent 20%);
  opacity: calc(var(--exibix-auth-aurora-opacity-dark, 0.72) * var(--exibix-auth-page-overlay-opacity, 1));
  filter: blur(74px) saturate(1.08);
  mix-blend-mode: screen;
}

html.dark-style .login-shell .authentication-wrapper.authentication-basic .card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.92)) !important;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 1.85rem 3.4rem rgba(2, 6, 23, 0.5),
    0 0.35rem 1rem rgba(99, 102, 241, 0.1),
    inset 0 0 0 1px rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(10px);
}

html.dark-style .login-shell .authentication-wrapper.authentication-basic .card::before {
  content: none;
}

html.dark-style .login-shell .authentication-wrapper.authentication-basic .card::after {
  content: none;
}

html.dark-style .login-shell .exibix-auth-actions {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9) 28%, rgba(15, 23, 42, 0.96) 100%);
}

@media (max-width: 767.98px) {
  .login-shell {
    background-attachment: scroll;
  }

  .login-shell::after {
    opacity: 0.7;
    filter: blur(52px) saturate(1.08);
  }

  .login-shell .authentication-wrapper {
    padding: 0.65rem 0;
  }

  .login-shell .authentication-wrapper.authentication-basic .authentication-inner {
    width: min(100%, 31rem);
    max-width: min(100%, 31rem);
  }

  .login-shell .authentication-wrapper.authentication-basic .card {
    max-height: calc(100vh - 1.3rem);
    border-radius: 1.25rem !important;
  }

  .login-shell .exibix-auth-card-body {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

html.dark-style .login-shell .authentication-wrapper.authentication-basic .authentication-inner::before {
  content: none;
  display: none;
}

html.dark-style {
  --exibix-text-strong: #f8fafc;
  --exibix-text-base: #e5edf8;
  --exibix-text-muted: #c9d6e5;
  --exibix-sidebar-copy: #d9e4f2;
}

html.dark-style .bg-menu-theme {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

html.dark-style .bg-navbar-theme,
html.dark-style .layout-page,
html.dark-style .content-wrapper {
  background: #111827 !important;
}

html.dark-style .layout-navbar.navbar-detached,
html.dark-style .card,
html.dark-style .exibix-modal .modal-content,
html.dark-style .footer.bg-footer-theme {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.24);
}

html.dark-style .exibix-modal .modal-footer {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.96) 28%, rgba(15, 23, 42, 1)) !important;
}

html.dark-style .exibix-form-panel {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.06);
}

html.dark-style .exibix-account-trigger,
html.dark-style .exibix-profile-summary {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
}

html.dark-style .exibix-avatar {
  border-color: rgba(15, 23, 42, 0.9);
}

html.dark-style .exibix-profile-menu {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 1.5rem 3rem rgba(2, 6, 23, 0.4);
}

html.dark-style .exibix-avatar-choice-card {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 1rem 1.8rem rgba(2, 6, 23, 0.2);
}

html.dark-style .exibix-avatar-choice-name {
  color: #f8fafc;
}

html.dark-style .exibix-avatar-choice input:checked + .exibix-avatar-choice-card {
  border-color: rgba(129, 140, 248, 0.4);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 1rem 1.8rem rgba(2, 6, 23, 0.3),
    inset 0 0 0 1px rgba(129, 140, 248, 0.22);
}

html.dark-style .exibix-avatar-modal-preview {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.18));
}

html.dark-style .exibix-avatar-3d-launcher {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(99, 102, 241, 0.14);
}

html.dark-style .exibix-profile-avatar-wrap {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.18),
    0 1rem 2rem rgba(2, 6, 23, 0.28);
}

html.dark-style .exibix-avatar-edit-trigger {
  border-color: rgba(15, 23, 42, 0.96);
}

html.dark-style .exibix-screen-icon-btn {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.16);
  color: #c7d2fe;
}

html.dark-style .exibix-screen-mobile-item {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-screen-mobile-kicker {
  color: #a8b8cd;
}

html.dark-style .exibix-screen-mobile-card {
  border-color: rgba(148, 163, 184, 0.18);
}

html.dark-style .exibix-screen-live-item {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84));
  border-color: rgba(148, 163, 184, 0.18);
}

html.dark-style .exibix-screen-live-item.is-active {
  border-color: rgba(74, 222, 128, 0.52);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.2);
}

html.dark-style .exibix-screen-live-item-copy strong {
  color: #e2e8f0;
}

html.dark-style .exibix-screen-live-item-copy small {
  color: #a8b8cd;
}

html.dark-style .screen-remote-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .screen-remote-feedback {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
}

html.dark-style .screen-remote-feedback[data-state="loading"] {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(30, 64, 175, 0.2);
  color: #bfdbfe;
}

html.dark-style .screen-remote-feedback[data-state="success"] {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(20, 83, 45, 0.24);
  color: #86efac;
}

html.dark-style .screen-remote-feedback[data-state="error"] {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.22);
  color: #fca5a5;
}

html.dark-style .exibix-remote-stage-backdrop {
  background: rgba(2, 6, 23, 0.62);
}

html.dark-style .exibix-remote-shell {
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.14), rgba(15, 23, 42, 0.92)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow:
    0 2rem 5rem rgba(2, 6, 23, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark-style .exibix-remote-close,
html.dark-style .exibix-remote-action-circle,
html.dark-style .exibix-remote-rocker,
html.dark-style .exibix-remote-rocker-btn,
html.dark-style .exibix-remote-wheel,
html.dark-style .exibix-remote-wheel-btn,
html.dark-style .exibix-remote-wheel-center,
html.dark-style .exibix-remote-chip,
html.dark-style .exibix-remote-device {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.18);
  color: #dbe4ff;
}

html.dark-style .exibix-remote-shell-copy h4,
html.dark-style .exibix-remote-wheel-center strong {
  color: #f8fafc;
}

html.dark-style .exibix-remote-shell-copy p,
html.dark-style .exibix-remote-rocker-label,
html.dark-style .exibix-remote-wheel-center-label,
html.dark-style .exibix-remote-wheel-center small {
  color: #cbd5e1;
}

html.dark-style .exibix-remote-shell-status {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.2);
}

html.dark-style .exibix-remote-shell-status.is-paused {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.24);
}

html.dark-style .exibix-remote-shell-kicker {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

html.dark-style .exibix-remote-action-pause.is-active,
html.dark-style .exibix-remote-wheel-btn.is-active,
html.dark-style .exibix-remote-chip.is-active {
  background: rgba(127, 29, 29, 0.44);
  color: #fecaca;
}

html.dark-style .exibix-media-display-stat,
html.dark-style .exibix-media-current-state,
html.dark-style .exibix-media-display-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-display-stat-label {
  color: #94a3b8;
}

html.dark-style .exibix-media-display-stat strong,
html.dark-style .exibix-media-current-label {
  color: #e2e8f0;
}

html.dark-style .exibix-media-current-label {
  background: rgba(148, 163, 184, 0.12);
}

html.dark-style .exibix-media-display-inline-note {
  background: rgba(99, 102, 241, 0.14);
  color: #cbd5f5;
}

html.dark-style .exibix-media-display-empty {
  border-color: rgba(99, 102, 241, 0.24);
  background: rgba(30, 41, 59, 0.72);
}

html.dark-style .exibix-media-screen-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-screen-picker {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-screen-picker-art {
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.14), rgba(34, 211, 238, 0.1)),
    rgba(15, 23, 42, 0.88);
}

html.dark-style .exibix-media-screen-picker-body .form-label {
  color: #cbd5e1;
}

html.dark-style .exibix-media-summary-box,
html.dark-style .exibix-playlist-browser-item {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-summary-content strong,
html.dark-style .exibix-playlist-browser-item-body strong {
  color: #f8fafc;
}

html.dark-style .exibix-media-summary-label,
html.dark-style .exibix-playlist-browser-item-body small {
  color: #cbd5e1;
}

html.dark-style .exibix-playlist-browser-select {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.24);
  color: #dbe4ff;
}

html.dark-style .exibix-playlist-browser-select.is-selected {
  background: rgba(99, 102, 241, 0.24);
  border-color: rgba(129, 140, 248, 0.44);
  color: #f8fafc;
}

html.dark-style .exibix-media-screen-card-title,
html.dark-style .exibix-media-current-box-label {
  color: #e2e8f0;
}

html.dark-style .exibix-media-screen-card-meta {
  color: #cbd5e1;
}

html.dark-style .exibix-media-current-box,
html.dark-style .exibix-media-library-browser {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-library-modal-item {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .exibix-media-library-card-preview {
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.1)),
    rgba(15, 23, 42, 0.88);
}

html.dark-style .exibix-media-library-card-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
}

html.dark-style .exibix-media-library-card-body strong {
  color: #f8fafc;
}

html.dark-style .exibix-media-library-card-body small {
  color: #cbd5e1;
}

html.dark-style .screen-playback-media-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.92));
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .screen-playback-media-copy strong {
  color: #f8fafc;
}

html.dark-style .screen-playback-media-copy small {
  color: #cbd5e1;
}

html.dark-style .screen-playback-media-placeholder {
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
}

html.dark-style .screen-playback-media-overlay-btn,
html.dark-style .exibix-media-preview-play-btn {
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
}

html.dark-style .screen-playback-media-expand,
html.dark-style .exibix-media-preview-expand-btn {
  background: rgba(15, 23, 42, 0.82);
}

html.dark-style .exibix-media-preview-stage {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 26%),
    #020617;
}

@media (max-width: 575.98px) {
  .exibix-avatar-3d-launcher {
    flex-direction: column;
    align-items: flex-start;
  }

  .exibix-avatar-3d-launcher .btn {
    width: 100%;
    justify-content: center;
  }

  .exibix-avatar-edit-trigger {
    width: 2.15rem;
    height: 2.15rem;
  }

  .exibix-avatar-edit-trigger i {
    font-size: 0.84rem;
  }

  .exibix-media-library-modal-grid {
    grid-template-columns: 1fr;
  }
}

html.dark-style .exibix-profile-stat i,
html.dark-style .exibix-profile-fact i,
html.dark-style .exibix-context-list-item i {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

html.dark-style .exibix-menu-item .menu-link .menu-icon {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

html.dark-style .bg-menu-theme .menu-item.active .menu-icon,
html.dark-style .bg-menu-theme .menu-link:hover .menu-icon {
  color: #fff;
}

html.dark-style .exibix-profile-menu .dropdown-item i,
html.dark-style .input-group-text i,
html.dark-style .exibix-theme-toggle i,
html.dark-style .layout-menu-toggle i {
  color: #c3d0e0;
}

html.dark-style .exibix-profile-menu .dropdown-item i {
  background: rgba(99, 102, 241, 0.18);
}

html.dark-style .exibix-theme-toggle {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 1rem 1.8rem rgba(2, 6, 23, 0.28);
}

html.dark-style .exibix-floating-flash {
  box-shadow: 0 1.3rem 2.4rem rgba(2, 6, 23, 0.46);
}

html.dark-style .exibix-filter-popover {
  border-color: rgba(129, 140, 248, 0.28);
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.86));
  box-shadow: 0 1.15rem 2rem rgba(2, 6, 23, 0.26);
}

html.dark-style .exibix-modal-title-icon {
  color: #c7d2fe;
  border-color: rgba(129, 140, 248, 0.26);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(59, 130, 246, 0.22));
  box-shadow: 0 0.9rem 1.5rem rgba(2, 6, 23, 0.24);
}

html.dark-style .exibix-navbar-toggle,
html.dark-style .layout-menu .layout-menu-toggle.exibix-sidebar-toggle {
  background: linear-gradient(135deg, #696cff 0%, #7c5cff 100%);
  border-color: rgba(148, 163, 184, 0.12);
}

html.dark-style .footer.bg-footer-theme {
  color: #94a3b8;
}

html.dark-style .menu-inner-shadow {
  background: linear-gradient(#0f172a 41%, rgba(15, 23, 42, 0.11) 95%, rgba(15, 23, 42, 0));
}

html.dark-style .bg-menu-theme .menu-link,
html.dark-style .bg-menu-theme .menu-horizontal-prev,
html.dark-style .bg-menu-theme .menu-horizontal-next,
html.dark-style .text-muted,
html.dark-style .form-label,
html.dark-style .table,
html.dark-style .table > :not(caption) > * > * {
  color: var(--exibix-text-base) !important;
}

html.dark-style .bg-menu-theme .menu-link:hover,
html.dark-style .bg-menu-theme .menu-item.open > .menu-link,
html.dark-style .bg-menu-theme .menu-item.active > .menu-link,
html.dark-style .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  background: rgba(99, 102, 241, 0.18) !important;
  color: #eef2ff !important;
}

html.dark-style .bg-menu-theme .menu-sub {
  margin-top: 0.32rem;
  padding: 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.72));
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item > .menu-link {
  margin: 0.1rem 0;
  border-radius: 0.92rem;
  border: 1px solid transparent;
  color: #d4ddf3 !important;
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item > .menu-link:hover {
  background: rgba(129, 140, 248, 0.2) !important;
  border-color: rgba(129, 140, 248, 0.34);
  color: #f3f6ff !important;
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(124, 58, 237, 0.36)) !important;
  border-color: rgba(129, 140, 248, 0.52);
  color: #ffffff !important;
  box-shadow:
    inset 4px 0 0 #8ea2ff,
    0 0.85rem 1.4rem rgba(15, 23, 42, 0.36);
}

html.dark-style h1,
html.dark-style h2,
html.dark-style h3,
html.dark-style h4,
html.dark-style h5,
html.dark-style h6,
html.dark-style .fw-semibold,
html.dark-style .card-title,
html.dark-style strong {
  color: #f8fafc !important;
}

html.dark-style .table > :not(:first-child) {
  border-top-color: rgba(148, 163, 184, 0.12);
}

html.dark-style .table tr,
html.dark-style .table td,
html.dark-style .table th,
html.dark-style .modal-header,
html.dark-style .modal-footer,
html.dark-style .card-header,
html.dark-style .card-footer {
  border-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark-style .form-control,
html.dark-style .form-select,
html.dark-style .input-group-text {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

html.dark-style .form-control::placeholder {
  color: #94a3b8;
}

html.dark-style .login-shell .authentication-wrapper .form-control,
html.dark-style .login-shell .authentication-wrapper .input-group-text {
  background: rgba(15, 23, 42, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

html.dark-style .login-shell .authentication-wrapper .form-control {
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  caret-color: #f8fbff;
  text-shadow: none !important;
  font-weight: 600;
}

html.dark-style .login-shell .authentication-wrapper .form-control::placeholder {
  color: #b8c7da !important;
  -webkit-text-fill-color: #b8c7da !important;
  opacity: 1;
}

html.dark-style .login-shell .authentication-wrapper .form-label,
html.dark-style .login-shell .authentication-wrapper .form-check-label {
  color: #eef5ff !important;
}

html.dark-style .login-shell .authentication-wrapper .input-group-text i {
  color: #d9e6ff !important;
}

html.dark-style .login-shell .authentication-wrapper .form-control:-webkit-autofill,
html.dark-style .login-shell .authentication-wrapper .form-control:-webkit-autofill:hover,
html.dark-style .login-shell .authentication-wrapper .form-control:-webkit-autofill:focus,
html.dark-style .login-shell .authentication-wrapper .form-control:-webkit-autofill:active {
  -webkit-text-fill-color: #f8fbff !important;
  caret-color: #f8fbff !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.94) inset !important;
  box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.94) inset !important;
  transition: background-color 99999s ease-in-out 0s;
}

html.dark-style .btn-outline-secondary {
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

html.dark-style .btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.16);
  color: #fff;
}

html.dark-style .client-sync-strip {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark-style .client-sync-progress {
  background: rgba(148, 163, 184, 0.16);
}

html.dark-style .client-activity-item {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

html.dark-style .upload-card,
html.dark-style .playlist-item {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.12);
}

html.dark-style .playlist-days label {
  border-color: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

html.dark-style .playlist-items-empty,
html.dark-style .playlist-upload-strip,
html.dark-style .playlist-media-card,
html.dark-style .playlist-library-empty {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.2);
}

html.dark-style .playlist-items-empty-icon,
html.dark-style .playlist-media-card-art {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.14));
  color: #c7d2fe;
}

html.dark-style .playlist-config-card {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(129, 140, 248, 0.16);
}

html.dark-style .playlist-basics-status {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(74, 222, 128, 0.16);
}

html.dark-style .playlist-form-actions {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9) 22%, rgba(15, 23, 42, 0.98) 100%);
  border-top-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 -0.9rem 1.8rem rgba(0, 0, 0, 0.26);
}

html.dark-style .exibix-user-form-actions {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9) 22%, rgba(15, 23, 42, 0.98) 100%);
  border-top-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 -0.8rem 1.6rem rgba(2, 6, 23, 0.26);
}

html.dark-style .playlist-item-config-pill {
  background: rgba(129, 140, 248, 0.16);
  color: #c7d2fe;
}

html.dark-style .playlist-item-config-pill-muted {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

html.dark-style .playlist-edit-switcher .btn.is-active {
  box-shadow: 0 0.8rem 1.6rem rgba(79, 70, 229, 0.32);
}

html.dark-style .playlist-item-art {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.18);
  color: #c7d2fe;
}

html.dark-style .playlist-config-modal-dialog,
html.dark-style .playlist-library-modal-dialog {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 1.5rem 3rem rgba(2, 6, 23, 0.42);
}

html.dark-style .playlist-config-modal-header,
html.dark-style .playlist-config-modal-footer,
html.dark-style .playlist-library-modal-header,
html.dark-style .playlist-library-modal-footer {
  border-color: rgba(148, 163, 184, 0.12);
}

html.dark-style .playlist-item.has-media {
  border-color: rgba(129, 140, 248, 0.24);
}

html.dark-style .playlist-items-list.is-library-dragover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(129, 140, 248, 0.24);
}

html.dark-style .playlist-media-card:hover {
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow: 0 1rem 1.9rem rgba(2, 6, 23, 0.28);
}

html.dark-style .playlist-media-card-size,
html.dark-style .playlist-upload-status[data-state="loading"] {
  color: #93c5fd;
}

html.dark-style .exibix-modal .modal-header .btn-close,
html.dark-style .exibix-modal-close {
  border-color: rgba(148, 163, 184, 0.18);
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1rem 1.8rem rgba(2, 6, 23, 0.28);
}

html.dark-style .exibix-modal .modal-header .btn-close:hover,
html.dark-style .exibix-modal-close:hover {
  border-color: rgba(129, 140, 248, 0.3);
}

html.dark-style .metric-card {
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.28);
}

html.dark-style .exibix-section-art,
html.dark-style .exibix-empty-art,
html.dark-style .client-activity-art,
html.dark-style .exibix-inline-art,
html.dark-style .exibix-setup-art,
html.dark-style .exibix-device-link-panel {
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 1rem 2rem rgba(2, 6, 23, 0.24);
}

html.dark-style .metric-kicker-art,
html.dark-style .metric-icon {
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 1rem 2rem rgba(2, 6, 23, 0.24);
}

html.dark-style .metric-kicker-image {
  filter: drop-shadow(0 0.4rem 0.85rem rgba(2, 6, 23, 0.28));
}

html.dark-style .metric-icon-image {
  filter: drop-shadow(0 0.95rem 1.35rem rgba(2, 6, 23, 0.32));
}

html.dark-style .badge.bg-label-secondary {
  background: rgba(148, 163, 184, 0.18) !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.24);
}

html.dark-style .badge.bg-label-warning {
  background: rgba(245, 158, 11, 0.22) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.28);
}

html.dark-style .badge.bg-label-primary {
  background: rgba(129, 140, 248, 0.22) !important;
  color: #c7d2fe !important;
  border-color: rgba(129, 140, 248, 0.28);
}

html.dark-style .badge.bg-label-success {
  background: rgba(74, 222, 128, 0.2) !important;
  color: #86efac !important;
  border-color: rgba(74, 222, 128, 0.28);
}

html.dark-style .badge.bg-label-danger {
  background: rgba(248, 113, 113, 0.2) !important;
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.28);
}

@media (max-width: 991.98px) {
  .layout-navbar.navbar-detached {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .layout-navbar .navbar-nav-right {
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 0;
  }

  .layout-navbar .navbar-nav-right > ul.navbar-nav {
    width: auto;
    justify-content: flex-end;
  }

  .exibix-navbar-page-meta-mobile {
    max-width: calc(100vw - 8.5rem);
  }

  .exibix-profile-menu {
    width: min(23rem, calc(100vw - 2rem));
  }

  .exibix-page-header {
    align-items: stretch !important;
  }

  .exibix-page-header > div:last-child {
    width: 100%;
  }

  .exibix-page-header > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }

  .exibix-page-actions {
    justify-content: stretch;
  }

  .container-xxl.flex-grow-1.container-p-y,
  .container-fluid.flex-grow-1.container-p-y {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .playlist-item-quick-config {
    padding: 0.85rem 0.9rem;
  }

  .playlist-duration-control {
    grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
  }

  .playlist-config-grid {
    grid-template-columns: 1fr;
  }

  .exibix-media-editor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .layout-navbar {
    padding: 0.85rem 1rem;
  }

  .layout-navbar .navbar-nav-right {
    margin-left: auto;
  }

  .metric-card,
  .client-dashboard-card,
  .card {
    border-radius: 1.3rem !important;
  }

  .metric-icon {
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 1.3rem;
  }

  .metric-icon-image {
    width: 3.35rem;
    height: 3.35rem;
  }

  .metric-kicker-art {
    width: 2rem;
    height: 2rem;
  }

  .metric-kicker-image {
    width: 1.5rem;
    height: 1.5rem;
  }

  .exibix-setup-art {
    width: 4.35rem;
    height: 4.35rem;
  }

  .exibix-setup-art-image {
    width: 3.35rem;
    height: 3.35rem;
  }

  .exibix-table-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .table-fit {
    min-width: 760px;
  }

  .exibix-modal .modal-body,
  .exibix-modal .modal-header,
  .exibix-modal .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .exibix-floating-flash {
    top: 0.75rem;
    right: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .exibix-filter-shell > .card-body {
    padding: 0.8rem 0.95rem;
  }

  .exibix-filter-popover {
    margin: 0 0.8rem 0.8rem;
    padding: 0.85rem;
    border-radius: 0.92rem;
  }

  .playlist-media-library {
    max-height: none;
  }

  .playlist-media-card {
    padding: 0.75rem;
  }

  .exibix-media-settings-head,
  .exibix-media-screen-card,
  .exibix-media-sequence-head,
  .exibix-media-current-box {
    flex-direction: column;
  }

  .exibix-media-toolbar {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .exibix-media-screen-form,
  .exibix-media-actions-stack {
    width: 100%;
    min-width: 0;
  }

  .exibix-media-screen-picker {
    width: 100%;
  }

  .exibix-media-toolbar-actions {
    width: 100%;
  }

  .exibix-media-toolbar-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .exibix-media-sequence-summary-grid {
    grid-template-columns: 1fr;
  }

  .exibix-media-live-inline {
    flex-wrap: wrap;
  }

  .exibix-media-live-inline-chip {
    min-width: 74px;
  }

  .exibix-media-autosave-status {
    width: 100%;
    justify-content: center;
  }

  .exibix-media-actions-stack .btn {
    width: 100%;
    justify-content: center;
  }

  .exibix-media-library-header {
    flex-wrap: wrap;
  }

  .exibix-media-library-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .exibix-media-library-upload-trigger {
    justify-content: center;
  }

  .exibix-media-library-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exibix-media-library-modal-actions {
    margin-left: 0;
  }

  .exibix-screen-live-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .exibix-screen-live-item .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .exibix-screen-live-item-preview {
    width: 54px;
    height: 36px;
  }

  .exibix-playlist-browser-item-actions {
    width: 100%;
    justify-content: stretch;
  }

  .exibix-playlist-browser-item-actions .btn {
    flex: 1 1 180px;
    justify-content: center;
  }

  .exibix-playlist-browser-select {
    width: 100%;
    justify-content: center;
  }

  .exibix-media-screen-selector,
  .exibix-media-display-summary {
    width: 100%;
  }

  .exibix-media-display-summary {
    grid-template-columns: 1fr;
  }

  .screen-remote-btn {
    width: 100%;
    min-width: 0;
  }

  .exibix-remote-chip {
    width: 100%;
  }

  .playlist-item-header {
    flex-direction: column;
  }

  .exibix-playlist-modal-dialog {
    max-width: 100vw;
  }

  .exibix-playlist-modal .modal-body {
    padding: 1rem;
  }

  .playlist-form-actions {
    margin: 1rem -1rem 0;
    padding: 1rem 1rem 1rem;
  }

  .playlist-basics-heading,
  .playlist-panel-heading,
  .playlist-item-footer,
  .playlist-edit-switcher {
    flex-direction: column;
    align-items: stretch;
  }

  .playlist-item-footer-actions {
    justify-content: flex-start;
  }

  .playlist-item-quick-config {
    padding: 0.8rem;
  }

  .playlist-duration-suffix {
    margin-top: 0.45rem;
  }

  .playlist-config-modal,
  .playlist-library-modal {
    padding: 1rem;
  }

  .playlist-config-modal-dialog,
  .playlist-library-modal-dialog {
    width: min(100vw - 1rem, 760px);
    max-height: calc(100vh - 1rem);
  }

  .playlist-config-modal-body,
  .playlist-library-modal-body {
    padding: 1rem;
  }

  .playlist-config-modal-header,
  .playlist-config-modal-footer,
  .playlist-library-modal-header,
  .playlist-library-modal-footer {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .layout-menu .app-brand {
    min-height: 72px;
  }

  .exibix-modal .modal-dialog {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .exibix-modal .modal-content {
    max-height: calc(100vh - 1rem);
    border-radius: 1.15rem;
  }

  .exibix-modal .modal-header,
  .exibix-modal .modal-body,
  .exibix-modal .modal-footer {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .exibix-modal .modal-header {
    align-items: flex-start;
  }

  .exibix-modal .modal-heading,
  .exibix-modal-heading {
    width: 100%;
  }

  .exibix-modal .modal-footer {
    gap: 0.75rem;
  }

  .exibix-modal .modal-footer .btn,
  .exibix-modal .modal-footer > div .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .exibix-modal .modal-footer > div {
    width: 100%;
  }

  .exibix-modal .modal-dialog.modal-fullscreen-sm-down {
    width: min(94vw, 680px);
    max-width: 680px;
    margin: 0.75rem auto;
    height: auto;
  }

  .exibix-modal .modal-dialog.modal-fullscreen-sm-down .modal-content {
    height: auto;
    max-height: calc(100vh - 1.5rem);
    border-radius: 1.2rem;
  }

  .exibix-modal .modal-dialog.modal-fullscreen-sm-down .modal-body {
    overflow: auto;
    overscroll-behavior: contain;
  }

  .exibix-modal .modal-dialog.modal-fullscreen-sm-down .modal-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: inherit;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down.exibix-user-modal-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down.exibix-user-modal-dialog .modal-content {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .modal-header,
  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .modal-body {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .modal-body {
    padding-bottom: 0;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .row.g-4 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.95rem;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .form-label {
    font-size: 0.84rem;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .exibix-user-form-actions {
    margin: 0.85rem -0.9rem 0;
    padding: 0.85rem 0.9rem max(0.95rem, env(safe-area-inset-bottom));
    gap: 0.6rem !important;
  }

  .exibix-user-modal .modal-dialog.modal-fullscreen-sm-down .exibix-user-form-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .exibix-modal .modal-title {
    font-size: 1.05rem;
  }

  .exibix-modal-title-icon {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    border-radius: 0.8rem;
  }

  .exibix-brand-tagline {
    display: none;
  }

  .layout-navbar .navbar-nav-right > ul.navbar-nav {
    flex-direction: row;
    align-items: center !important;
  }

  .playlist-items-empty {
    align-items: flex-start;
  }

  .playlist-basics-status {
    width: 100%;
  }

  .playlist-duration-control {
    gap: 0.4rem;
  }
}

.screen-playback-builder {
  display: grid;
  gap: 1rem;
}

.screen-playback-empty {
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(105, 108, 255, 0.28);
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.04);
}

.screen-playback-list {
  display: grid;
  gap: 1rem;
}

.screen-playback-entry {
  border-radius: 1rem;
  background: #fff;
}

.screen-playback-entry .card-body {
  padding: 1rem;
}

.screen-playback-entry-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.screen-playback-entry-meta,
.screen-playback-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.screen-playback-entry-actions {
  justify-content: flex-end;
}

.screen-playback-entry-icon-btn {
  min-width: 2.5rem;
  padding-inline: 0.7rem;
}

.screen-playback-entry-fields {
  align-items: end;
}

.screen-playback-entry-selection {
  display: block;
  margin-top: 0.5rem;
  color: #6b7b93;
}

.screen-playback-media-card {
  display: grid;
  grid-template-columns: minmax(124px, 148px) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(105, 108, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96));
}

.screen-playback-media-preview,
.exibix-media-library-card-preview {
  position: relative;
}

.screen-playback-media-preview {
  aspect-ratio: 16 / 10;
  border-radius: 0.95rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(105, 108, 255, 0.08), rgba(0, 184, 217, 0.08)),
    #f5f7ff;
}

.screen-playback-media-preview img,
.screen-playback-media-preview video,
.exibix-media-library-card-preview img,
.exibix-media-library-card-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-playback-media-preview img,
.exibix-media-library-card-preview img {
  padding: 0.45rem;
}

.screen-playback-media-preview video,
.exibix-media-library-card-preview video {
  background: #0f172a;
}

.screen-playback-media-placeholder {
  width: 3.9rem;
  height: 3.9rem;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.14);
  color: #5d63ff;
  font-size: 1.5rem;
}

.screen-playback-media-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.screen-playback-media-copy strong {
  font-size: 1rem;
  font-weight: 800;
  color: #25374c;
  line-height: 1.35;
}

.screen-playback-media-copy small {
  color: #66788f;
}

.screen-playback-media-actions {
  display: flex;
  justify-content: flex-end;
}

.screen-playback-media-overlay-btn,
.exibix-media-preview-play-btn,
.screen-playback-media-expand,
.exibix-media-preview-expand-btn {
  position: absolute;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.85rem 1.4rem rgba(15, 23, 42, 0.18);
}

.screen-playback-media-overlay-btn,
.exibix-media-preview-play-btn {
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  color: #435971;
}

.screen-playback-media-expand,
.exibix-media-preview-expand-btn {
  top: 0.6rem;
  right: 0.6rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}

[data-preview-shell].is-playing .screen-playback-media-overlay-btn i,
[data-preview-shell].is-playing .exibix-media-preview-play-btn i {
  transform: translateX(0);
}

.exibix-media-preview-stage {
  min-height: 55vh;
  border-radius: 1.2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.08), transparent 26%),
    #0f172a;
}

.exibix-media-preview-stage img,
.exibix-media-preview-stage video {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.exibix-media-preview-empty {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  color: #cbd5e1;
}

.exibix-media-preview-empty i {
  font-size: 2rem;
}

@media (max-width: 991.98px) {
  .screen-playback-entry-header {
    flex-direction: column;
    align-items: stretch;
  }

  .screen-playback-entry-actions {
    justify-content: flex-start;
  }

  .screen-playback-entry-fields {
    align-items: stretch;
  }

  .screen-playback-entry .btn {
    min-width: 2.5rem;
  }

  .screen-playback-media-card {
    grid-template-columns: 1fr;
  }

  .screen-playback-media-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .screen-playback-entry {
    border-radius: 1.1rem;
  }

  .screen-playback-entry .card-body {
    padding: 0.9rem;
  }

  .screen-playback-entry-meta,
  .screen-playback-entry-actions {
    width: 100%;
  }

  .screen-playback-entry-actions {
    gap: 0.45rem;
  }

  .screen-playback-entry-actions .form-check {
    order: -1;
    margin-right: auto !important;
  }

  .screen-playback-entry-actions .btn {
    flex: 0 0 auto;
  }

  .screen-playback-media-preview {
    aspect-ratio: 16 / 9;
  }
}

/* Remote control based on the user-provided smart remote reference */
.exibix-remote-stage {
  padding: 0.9rem;
}

.exibix-remote-stage-backdrop {
  background: rgba(18, 24, 38, 0.52);
  backdrop-filter: blur(18px);
}

.exibix-remote-stage .exibix-remote-shell {
  width: auto;
  max-width: min(100vw - 1.8rem, 430px);
  max-height: calc(100vh - 1.8rem);
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(18px) scale(0.96);
}

.exibix-remote-stage.is-open .exibix-remote-shell {
  transform: translateY(0) scale(1);
}

.exibix-remote-stage .exibix-remote-close {
  top: 1rem;
  right: 1rem;
  z-index: 4;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(214, 223, 243, 0.95);
  background: rgba(255, 255, 255, 0.94);
  color: #7986a2;
  box-shadow:
    -10px -10px 18px rgba(255, 255, 255, 0.9),
    10px 10px 18px rgba(187, 196, 222, 0.48);
}

.exibix-remote-phone {
  --remote-bg: #eef2fb;
  --remote-surface: #f8faff;
  --remote-surface-strong: #edf1fb;
  --remote-surface-deep: #e5eaf7;
  --remote-text: #43516c;
  --remote-muted: #8594b2;
  --remote-border: rgba(212, 220, 241, 0.95);
  --remote-shadow-light: rgba(255, 255, 255, 0.98);
  --remote-shadow-dark: rgba(180, 190, 217, 0.52);
  width: min(390px, calc(100vw - 1.8rem));
  max-height: calc(100vh - 1.8rem);
  overflow: auto;
  padding: 1.3rem 1rem 1rem;
  border: 8px solid #dfe6f4;
  border-radius: 2.35rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.9) 42%, transparent 70%),
    linear-gradient(180deg, #f7f9ff 0%, var(--remote-bg) 100%);
  box-shadow:
    0 30px 80px rgba(70, 84, 112, 0.24),
    inset -10px -10px 24px rgba(255, 255, 255, 0.6),
    inset 12px 12px 24px rgba(214, 221, 241, 0.42);
  color: var(--remote-text);
}

.exibix-remote-phone-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-right: 3.5rem;
}

.exibix-remote-phone-screen {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.exibix-remote-shell-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.3rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #626dff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.exibix-remote-phone-screen strong {
  display: block;
  color: var(--remote-text);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  line-height: 1.05;
  font-weight: 800;
}

.exibix-remote-phone-screen small {
  display: block;
  color: var(--remote-muted);
  font-size: 1rem;
  line-height: 1.35;
}

.exibix-remote-phone-live {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #1f9d57;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.exibix-remote-phone-live.is-paused {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.16);
}

.exibix-remote-phone .screen-remote-feedback {
  margin-bottom: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(199, 209, 235, 0.9);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    -10px -10px 18px rgba(255, 255, 255, 0.8),
    10px 10px 18px rgba(187, 196, 222, 0.25);
}

.exibix-remote-phone-list {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.exibix-remote-phone-duo {
  justify-content: space-between;
}

.exibix-remote-phone-center,
.exibix-remote-phone-shortcuts {
  justify-content: center;
}

.exibix-remote-phone-main {
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
}

.exibix-remote-phone-btn {
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid var(--remote-border);
  border-radius: 50%;
  background: var(--remote-surface);
  color: var(--remote-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    -10px -10px 18px var(--remote-shadow-light),
    10px 10px 18px var(--remote-shadow-dark);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.exibix-remote-phone-btn i {
  font-size: 1.2rem;
}

.exibix-remote-phone-btn:hover {
  transform: translateY(-1px);
}

.exibix-remote-phone-btn:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset -6px -6px 14px rgba(255, 255, 255, 0.82),
    inset 7px 7px 14px rgba(176, 185, 209, 0.34);
}

.exibix-remote-phone-btn:disabled {
  opacity: 0.64;
  cursor: wait;
  transform: none;
}

.exibix-remote-phone-btn-shadow {
  width: 4.2rem;
  height: 4.2rem;
}

.exibix-remote-phone-btn-power {
  color: #f59e0b;
}

.exibix-remote-phone-btn-ghost {
  width: 3.25rem;
  height: 3.25rem;
  border-color: transparent;
  background: transparent;
  color: var(--remote-muted);
  box-shadow: none;
}

.exibix-remote-phone-btn-center {
  width: 4rem;
  height: 4rem;
  border-color: transparent;
  background: linear-gradient(135deg, #6a61ff, #8a83ff);
  color: #fff;
  box-shadow: 0 18px 30px rgba(106, 97, 255, 0.34);
}

.exibix-remote-phone-shortcuts {
  gap: 1rem;
  margin-top: 0.2rem;
}

.exibix-remote-phone-shortcuts .exibix-remote-phone-btn {
  width: 4.1rem;
  height: 4.1rem;
}

.exibix-remote-side-btns {
  flex-shrink: 0;
  width: 4.65rem;
  min-height: 13.4rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: var(--remote-surface-deep);
  border: 1px solid var(--remote-border);
  box-shadow:
    inset -4px -4px 10px rgba(255, 255, 255, 0.88),
    inset 4px 4px 10px rgba(186, 194, 217, 0.42);
}

.exibix-remote-side-inner {
  height: 100%;
  padding: 0.48rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 999px;
  background: var(--remote-surface);
  box-shadow:
    -6px -6px 14px var(--remote-shadow-light),
    6px 6px 14px var(--remote-shadow-dark);
}

.exibix-remote-side-inner .exibix-remote-phone-btn {
  width: 2.7rem;
  height: 2.7rem;
}

.exibix-remote-side-inner > div {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--remote-muted);
}

.exibix-remote-center-btns {
  position: relative;
  flex: 1 1 auto;
  width: min(14.2rem, 50vw);
  height: min(14.2rem, 50vw);
  max-width: 14.2rem;
  max-height: 14.2rem;
  border-radius: 50%;
  background: var(--remote-surface-deep);
  border: 1px solid var(--remote-border);
  box-shadow:
    inset -10px -10px 22px rgba(255, 255, 255, 0.8),
    inset 10px 10px 22px rgba(186, 194, 217, 0.26),
    0 18px 36px rgba(147, 157, 181, 0.16);
}

.exibix-remote-center-btns::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 1rem;
  height: 1rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(181, 191, 217, 0.28);
}

.exibix-remote-center-btns .exibix-remote-phone-btn {
  position: absolute;
  width: 3.4rem;
  height: 3.4rem;
}

.exibix-remote-btn-up,
.exibix-remote-btn-down {
  left: 50%;
  transform: translateX(-50%);
}

.exibix-remote-btn-up {
  top: 0.75rem;
}

.exibix-remote-btn-down {
  bottom: 0.75rem;
}

.exibix-remote-btn-left,
.exibix-remote-btn-right {
  top: 50%;
  transform: translateY(-50%);
}

.exibix-remote-btn-left {
  left: 0.75rem;
}

.exibix-remote-btn-right {
  right: 0.75rem;
}

.exibix-remote-center-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--remote-border);
  background:
    radial-gradient(circle at top, rgba(113, 119, 255, 0.12), transparent 48%),
    var(--remote-surface);
  box-shadow:
    -10px -10px 20px rgba(255, 255, 255, 0.85),
    10px 10px 20px rgba(185, 194, 218, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.28rem;
  padding: 0.95rem;
  z-index: 1;
}

.exibix-remote-center-screen-top {
  display: block;
  color: var(--remote-muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.exibix-remote-center-screen strong {
  display: block;
  color: var(--remote-text);
  font-size: 1.4rem;
  line-height: 1.15;
  font-weight: 800;
}

.exibix-remote-center-screen small {
  display: block;
  color: var(--remote-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.exibix-remote-bottom-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  margin: 0.55rem -0.1rem 0;
  padding: 1rem 0 0.1rem;
}

.exibix-remote-bottom-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7rem;
  height: 2.1rem;
  transform: translateX(-50%);
  border-radius: 0 0 1.3rem 1.3rem;
  background: var(--remote-surface-deep);
  box-shadow:
    inset -4px -4px 10px rgba(255, 255, 255, 0.74),
    inset 4px 4px 10px rgba(186, 194, 217, 0.34);
}

.exibix-remote-bottom-menu > div {
  flex: 1 1 20%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.exibix-remote-bottom-menu > div:nth-child(3) {
  margin-right: auto;
}

.exibix-remote-bottom-menu > div:nth-child(4) {
  margin-left: auto;
}

.exibix-remote-phone-btn.is-active,
.exibix-remote-phone-btn[data-remote-audio-chip].is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6a61ff, #8a83ff);
  color: #fff;
  box-shadow: 0 18px 30px rgba(106, 97, 255, 0.3);
}

[data-remote-pause-button].is-active,
[data-remote-pause-chip].is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff8455, #ff5d4d);
  color: #fff;
  box-shadow: 0 18px 30px rgba(255, 111, 73, 0.28);
}

html.dark-style .exibix-remote-stage-backdrop {
  background: rgba(4, 9, 19, 0.74);
}

html.dark-style .exibix-remote-stage .exibix-remote-close {
  border-color: rgba(74, 84, 109, 0.88);
  background: rgba(38, 43, 54, 0.98);
  color: #bcc7df;
  box-shadow:
    -10px -10px 18px rgba(255, 255, 255, 0.03),
    10px 10px 18px rgba(0, 0, 0, 0.42);
}

html.dark-style .exibix-remote-phone {
  --remote-bg: #252b35;
  --remote-surface: #2f3641;
  --remote-surface-strong: #262c35;
  --remote-surface-deep: #20252d;
  --remote-text: #eef2ff;
  --remote-muted: #a9b5cf;
  --remote-border: rgba(76, 85, 108, 0.88);
  --remote-shadow-light: rgba(255, 255, 255, 0.04);
  --remote-shadow-dark: rgba(0, 0, 0, 0.42);
  border-color: #1d222a;
  background:
    radial-gradient(circle at top left, rgba(129, 116, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #2a313b 0%, var(--remote-bg) 100%);
  box-shadow:
    0 30px 80px rgba(3, 7, 15, 0.62),
    inset -10px -10px 24px rgba(255, 255, 255, 0.02),
    inset 12px 12px 24px rgba(0, 0, 0, 0.34);
}

html.dark-style .exibix-remote-phone-live {
  background: rgba(34, 197, 94, 0.16);
  color: #5be88f;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.2);
}

html.dark-style .exibix-remote-phone-live.is-paused {
  background: rgba(249, 115, 22, 0.16);
  color: #ffb067;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.22);
}

html.dark-style .exibix-remote-phone .screen-remote-feedback {
  border-color: rgba(79, 90, 117, 0.9);
  background: rgba(45, 52, 66, 0.92);
  box-shadow:
    -10px -10px 18px rgba(255, 255, 255, 0.03),
    10px 10px 18px rgba(0, 0, 0, 0.28);
}

html.dark-style .exibix-remote-bottom-menu::before {
  box-shadow:
    inset -4px -4px 10px rgba(255, 255, 255, 0.02),
    inset 4px 4px 10px rgba(0, 0, 0, 0.36);
}

@media (max-width: 575.98px) {
  .exibix-remote-stage {
    padding: 0.45rem;
  }

  .exibix-remote-stage .exibix-remote-shell {
    max-width: calc(100vw - 0.45rem);
    max-height: calc(100vh - 0.45rem);
  }

  .exibix-remote-stage .exibix-remote-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .exibix-remote-phone {
    width: calc(100vw - 0.45rem);
    max-height: calc(100vh - 0.45rem);
    padding: 1rem 0.75rem 0.85rem;
    border-width: 6px;
    border-radius: 2rem;
  }

  .exibix-remote-phone-topbar {
    padding-right: 3rem;
  }

  .exibix-remote-phone-screen strong {
    font-size: 1.45rem;
    white-space: normal;
  }

  .exibix-remote-phone-screen small {
    font-size: 0.9rem;
  }

  .exibix-remote-phone-live {
    min-width: 5.7rem;
    padding: 0.62rem 0.75rem;
    font-size: 0.88rem;
  }

  .exibix-remote-phone-main {
    gap: 0.55rem;
  }

  .exibix-remote-side-btns {
    width: 3.9rem;
    min-height: 11.6rem;
  }

  .exibix-remote-side-inner .exibix-remote-phone-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .exibix-remote-side-inner > div {
    font-size: 0.68rem;
  }

  .exibix-remote-center-btns {
    width: min(11.6rem, 50vw);
    height: min(11.6rem, 50vw);
  }

  .exibix-remote-center-btns .exibix-remote-phone-btn {
    width: 3rem;
    height: 3rem;
  }

  .exibix-remote-center-screen {
    width: 60%;
    padding: 0.7rem;
  }

  .exibix-remote-center-screen-top {
    font-size: 0.78rem;
  }

  .exibix-remote-center-screen strong {
    font-size: 1.05rem;
  }

  .exibix-remote-center-screen small {
    font-size: 0.74rem;
  }

  .exibix-remote-phone-shortcuts .exibix-remote-phone-btn {
    width: 3.5rem;
    height: 3.5rem;
  }

  .exibix-remote-bottom-menu::before {
    width: 5.7rem;
  }

  .exibix-remote-phone-btn-ghost {
    width: 2.9rem;
    height: 2.9rem;
  }

  .exibix-remote-phone-btn-center {
    width: 3.6rem;
    height: 3.6rem;
  }
}

/* CodePen-like dark remote skin */
.exibix-remote-stage {
  padding: 0.75rem;
}

.exibix-remote-stage .exibix-remote-shell {
  width: auto;
  max-width: min(100vw - 1.5rem, 440px);
  max-height: calc(100vh - 1.5rem);
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.exibix-remote-stage .exibix-remote-close {
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  z-index: 16;
  border: 1px solid rgba(54, 59, 67, 0.9);
  background: #252525;
  color: rgba(255, 255, 255, 0.72);
  box-shadow:
    -10px -10px 22px rgba(255, 255, 255, 0.04),
    10px 10px 22px rgba(0, 0, 0, 0.35);
}

.exibix-remote-stage .exibix-remote-phone {
  position: relative;
  width: min(390px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  padding: 1.2rem 1rem 1rem;
  border: 8px solid #1f1f1f;
  border-radius: 28px;
  background: #262626;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.exibix-remote-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.exibix-remote-statusbar-time {
  letter-spacing: 0.02em;
}

.exibix-remote-statusbar-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 74%;
  gap: 0.42rem;
}

.exibix-remote-top-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 22px;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(235, 244, 255, 0.9);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.exibix-remote-top-stat i {
  font-size: 0.66rem;
}

.exibix-remote-top-stat.is-good {
  border-color: rgba(74, 222, 128, 0.35);
  color: #86efac;
}

.exibix-remote-top-stat.is-warn {
  border-color: rgba(251, 191, 36, 0.36);
  color: #fde68a;
}

.exibix-remote-top-stat.is-bad {
  border-color: rgba(248, 113, 113, 0.42);
  color: #fca5a5;
}

.exibix-remote-top-stat.is-offline {
  border-color: rgba(148, 163, 184, 0.26);
  color: rgba(203, 213, 225, 0.78);
}

.exibix-remote-quick-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0.3rem 0.9rem;
}

.exibix-remote-screen-switch {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(82, 91, 109, 0.75);
  background: rgba(29, 29, 29, 0.88);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
}

.exibix-remote-device-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.3rem;
}

.exibix-remote-device-meta-copy {
  min-width: 0;
}

.exibix-remote-device-meta-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.exibix-remote-device-meta-copy small {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.3;
}

.exibix-remote-device-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.exibix-remote-device-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 48px;
  height: 28px;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(236, 244, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.exibix-remote-device-stat i {
  font-size: 0.7rem;
  opacity: 0.86;
}

.exibix-remote-stage .exibix-remote-phone-live {
  min-width: 5.8rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.22);
  color: #7ef1a8;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.16);
}

.exibix-remote-stage .exibix-remote-phone-live.is-paused {
  background: rgba(249, 115, 22, 0.22);
  color: #ffc58d;
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.18);
}

.exibix-remote-stage .exibix-remote-phone-live.is-offline {
  background: rgba(220, 38, 38, 0.22);
  color: #fecaca;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.26);
}

.exibix-remote-stage .screen-remote-feedback {
  position: absolute;
  top: 106px;
  left: 16px;
  z-index: 8;
  margin: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(70, 76, 89, 0.85);
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.92);
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(4px);
  animation: exibix-remote-float-pop 180ms ease-out;
}

.exibix-remote-stage .screen-remote-feedback i {
  font-size: 1rem;
  line-height: 1;
}

.exibix-remote-stage .screen-remote-feedback[data-command^="brightness"] {
  border-color: rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
}

.exibix-remote-stage .screen-remote-feedback[data-command^="audio"] {
  border-color: rgba(167, 139, 250, 0.3);
  color: #c4b5fd;
}

.exibix-remote-stage .screen-remote-feedback[data-command="pause_toggle"],
.exibix-remote-stage .screen-remote-feedback[data-command="restart"] {
  border-color: rgba(251, 146, 60, 0.36);
  color: #fdba74;
}

.exibix-remote-stage .screen-remote-feedback[data-state="error"] {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fda4af;
}

@keyframes exibix-remote-float-pop {
  from {
    opacity: 0;
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.exibix-remote-stage .exibix-remote-phone-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 0.3rem;
}

.exibix-remote-stage .exibix-remote-phone-center {
  justify-content: center;
}

.exibix-remote-stage .exibix-remote-phone-nav,
.exibix-remote-stage .exibix-remote-phone-shortcuts {
  justify-content: space-between;
}

.exibix-remote-stage .exibix-remote-phone-main {
  gap: 1rem;
  align-items: center;
}

.exibix-remote-stage .exibix-remote-phone-btn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #222222;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    -10px -10px 20px rgba(255, 255, 255, 0.04),
    10px 10px 20px rgba(0, 0, 0, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.exibix-remote-stage .exibix-remote-phone-btn:hover {
  box-shadow:
    -12px -12px 24px rgba(255, 255, 255, 0.04),
    12px 12px 24px rgba(0, 0, 0, 0.34);
}

.exibix-remote-stage .exibix-remote-phone-btn:active {
  box-shadow:
    inset -4px -4px 10px rgba(255, 255, 255, 0.03),
    inset 4px 4px 10px rgba(0, 0, 0, 0.34);
}

.exibix-remote-stage .exibix-remote-phone-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.exibix-remote-stage .is-runtime-disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.exibix-remote-stage .exibix-remote-phone-btn img {
  max-width: 48%;
  max-height: 48%;
  display: block;
}

.exibix-remote-stage .exibix-remote-phone-btn i {
  font-size: 1.2rem;
  line-height: 1;
}

.exibix-remote-stage .exibix-remote-phone-btn-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.exibix-remote-stage .exibix-remote-phone-btn-text span {
  color: #fff;
}

.exibix-remote-stage .exibix-remote-phone-btn-power {
  box-shadow:
    -10px -10px 20px rgba(255, 255, 255, 0.04),
    10px 10px 20px rgba(0, 0, 0, 0.38);
}

.exibix-remote-stage .exibix-remote-side-btns {
  width: 58px;
  height: 142px;
  padding: 6px;
  border-radius: 100px;
  background: #222222;
  box-shadow:
    inset -2px -2px 4px rgba(255, 255, 255, 0.06),
    inset 2px 2px 4px rgba(0, 0, 0, 0.22);
}

.exibix-remote-stage .exibix-remote-side-inner {
  height: 100%;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 100px;
  background: #222222;
  box-shadow:
    -2px -2px 4px rgba(255, 255, 255, 0.04),
    2px 2px 4px rgba(0, 0, 0, 0.22);
}

.exibix-remote-stage .exibix-remote-side-slider {
  gap: 0.45rem;
  justify-content: flex-start;
  padding: 0.5rem 0.3rem 0.45rem;
}

.exibix-remote-stage .exibix-remote-side-value {
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(244, 248, 255, 0.86);
}

.exibix-remote-stage .exibix-remote-side-label {
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(236, 244, 255, 0.92);
}

.exibix-remote-stage .exibix-remote-side-range-wrap {
  width: 24px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exibix-remote-stage .exibix-remote-side-range {
  --remote-range-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 78px;
  height: 6px;
  margin: 0;
  transform: rotate(-90deg);
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      #6c8cff 0%,
      #6c8cff var(--remote-range-progress),
      rgba(255, 255, 255, 0.16) var(--remote-range-progress),
      rgba(255, 255, 255, 0.16) 100%
    );
  outline: none;
  cursor: pointer;
}

.exibix-remote-stage .exibix-remote-side-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(108, 140, 255, 0.22), 0 4px 10px rgba(0, 0, 0, 0.32);
}

.exibix-remote-stage .exibix-remote-side-range::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.exibix-remote-stage .exibix-remote-side-range::-moz-range-progress {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #6c8cff;
}

.exibix-remote-stage .exibix-remote-side-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(108, 140, 255, 0.22), 0 4px 10px rgba(0, 0, 0, 0.32);
}

.exibix-remote-stage .exibix-remote-center-btns {
  position: relative;
  width: 142px;
  height: 142px;
  flex: 0 0 142px;
  border-radius: 50%;
  background: #222222;
}

.exibix-remote-stage .exibix-remote-center-btns::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #333333;
}

.exibix-remote-stage .exibix-remote-center-btns .exibix-remote-phone-btn {
  position: absolute;
  width: 36px;
  height: 36px;
  box-shadow: none;
}

.exibix-remote-stage .exibix-remote-btn-up,
.exibix-remote-stage .exibix-remote-btn-down {
  left: 50%;
  transform: translateX(-50%);
}

.exibix-remote-stage .exibix-remote-btn-up {
  top: 8px;
}

.exibix-remote-stage .exibix-remote-btn-down {
  bottom: 8px;
}

.exibix-remote-stage .exibix-remote-btn-left,
.exibix-remote-stage .exibix-remote-btn-right {
  top: 50%;
  transform: translateY(-50%);
}

.exibix-remote-stage .exibix-remote-btn-left {
  left: 8px;
}

.exibix-remote-stage .exibix-remote-btn-right {
  right: 8px;
}

.exibix-remote-center-dot {
  position: absolute;
  inset: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
  background: #181818;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.exibix-remote-center-dot i {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exibix-remote-center-dot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.exibix-remote-picker {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 30;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 22, 22, 0.96);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  padding: 0.8rem;
}

.exibix-remote-picker[hidden] {
  display: none;
}

.exibix-remote-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.exibix-remote-picker-head strong {
  font-size: 0.92rem;
  color: #f3f6ff;
}

.exibix-remote-picker-head .exibix-remote-phone-btn {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

.exibix-remote-picker-list {
  display: grid;
  gap: 0.45rem;
  max-height: 38vh;
  overflow: auto;
  padding-right: 0.1rem;
}

.exibix-remote-picker-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f2f5ff;
  text-align: left;
  padding: 0.55rem 0.7rem;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}

.exibix-remote-picker-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exibix-remote-picker-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exibix-remote-picker-item-thumb-icon i {
  font-size: 0.95rem;
  color: rgba(236, 244, 255, 0.88);
}

.exibix-remote-picker-item-copy {
  min-width: 0;
}

.exibix-remote-picker-item-copy strong {
  font-size: 0.85rem;
  line-height: 1.2;
  display: block;
}

.exibix-remote-picker-item-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(228, 237, 255, 0.75);
  display: block;
}

.exibix-remote-picker-item.is-active {
  border-color: rgba(88, 135, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(98, 141, 255, 0.25);
}

.exibix-remote-stage .exibix-remote-phone-shortcuts .exibix-remote-phone-btn {
  width: 56px;
  height: 56px;
}

.exibix-remote-stage .exibix-remote-phone-btn-ghost {
  width: 44px;
  height: 44px;
  background: transparent;
  box-shadow: none;
  opacity: 0.72;
}

.exibix-remote-stage .exibix-remote-phone-btn-ghost img {
  max-width: 54%;
}

.exibix-remote-stage .exibix-remote-phone-btn-center {
  position: absolute;
  top: 0;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -58%);
  background: #1f1f1f;
  box-shadow:
    -10px -10px 20px rgba(255, 255, 255, 0.04),
    10px 10px 20px rgba(0, 0, 0, 0.32);
  z-index: 2;
}

.exibix-remote-stage .exibix-remote-bottom-menu {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(100% + 2rem);
  margin: 0 -1rem -1rem;
  padding: 1.45rem 0 1rem;
  background: #1f1f1f;
  border-radius: 0 0 20px 20px;
}

.exibix-remote-stage .exibix-remote-bottom-menu::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 109px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 0 0 26px 26px;
  background: #1f1f1f;
}

.exibix-remote-stage .exibix-remote-bottom-menu > div {
  width: 20%;
  display: flex;
  justify-content: center;
  position: relative;
}

.exibix-remote-stage .exibix-remote-bottom-menu > div:nth-child(3) {
  margin-right: auto;
}

.exibix-remote-stage .exibix-remote-bottom-menu > div:nth-child(4) {
  margin-left: auto;
}

.exibix-remote-stage [data-remote-audio-mute-button].is-active,
.exibix-remote-stage [data-remote-audio-chip].is-active {
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.3),
    0 0 18px rgba(96, 165, 250, 0.18);
}

.exibix-remote-stage [data-remote-pause-button].is-active,
.exibix-remote-stage [data-remote-pause-chip].is-active {
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.36),
    0 0 20px rgba(249, 115, 22, 0.22);
}

.exibix-remote-stage [data-remote-freeze-button].is-active {
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.36),
    0 0 20px rgba(56, 189, 248, 0.2);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone {
  border-color: #dce5ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
  color: #1f2a3d;
  box-shadow: 0 20px 56px rgba(67, 89, 113, 0.22);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-close {
  border-color: rgba(148, 163, 184, 0.42);
  background: #f4f7ff;
  color: #43597a;
  box-shadow: 0 10px 24px rgba(67, 89, 113, 0.2);
}

html:not(.dark-style) .exibix-remote-statusbar,
html:not(.dark-style) .exibix-remote-device-meta-copy strong {
  color: #1f2a3d;
}

html:not(.dark-style) .exibix-remote-device-meta-copy small {
  color: #5e6f89;
}

html:not(.dark-style) .exibix-remote-screen-switch {
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.92);
  color: #1f2a3d;
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-btn,
html:not(.dark-style) .exibix-remote-stage .exibix-remote-side-btns,
html:not(.dark-style) .exibix-remote-stage .exibix-remote-side-inner,
html:not(.dark-style) .exibix-remote-stage .exibix-remote-center-btns {
  background: #f2f5ff;
  color: #1f2a3d;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3), 0 8px 18px rgba(67, 89, 113, 0.16);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-btn img {
  filter: invert(17%) sepia(14%) saturate(1412%) hue-rotate(183deg) brightness(95%) contrast(91%);
}

html:not(.dark-style) .exibix-remote-stage .screen-remote-feedback {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.9);
  color: #344860;
}

html:not(.dark-style) .exibix-remote-top-stat {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(224, 231, 255, 0.72);
  color: #334155;
}

html:not(.dark-style) .exibix-remote-top-stat.is-good {
  border-color: rgba(22, 163, 74, 0.36);
  background: rgba(220, 252, 231, 0.9);
  color: #15803d;
}

html:not(.dark-style) .exibix-remote-top-stat.is-warn {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(254, 243, 199, 0.9);
  color: #b45309;
}

html:not(.dark-style) .exibix-remote-top-stat.is-bad {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(254, 226, 226, 0.9);
  color: #b91c1c;
}

html:not(.dark-style) .exibix-remote-top-stat.is-offline {
  border-color: rgba(100, 116, 139, 0.3);
  background: rgba(226, 232, 240, 0.84);
  color: #475569;
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-live {
  background: rgba(22, 163, 74, 0.2);
  color: #166534;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.28);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-live.is-paused {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-live.is-offline {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.28);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-btn {
  border: 1px solid rgba(148, 163, 184, 0.44);
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  color: #1e293b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(67, 89, 113, 0.2);
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-phone-btn i {
  opacity: 0.92;
}

html:not(.dark-style) .exibix-remote-stage .exibix-remote-side-value,
html:not(.dark-style) .exibix-remote-stage .exibix-remote-side-label,
html:not(.dark-style) .exibix-remote-center-dot,
html:not(.dark-style) .exibix-remote-center-dot i {
  color: #1f2a3d;
}

@media (max-width: 575.98px) {
  .exibix-remote-stage {
    padding: 0.35rem;
  }

  .exibix-remote-stage .exibix-remote-shell {
    max-width: calc(100vw - 0.7rem);
    max-height: calc(100vh - 0.7rem);
  }

  .exibix-remote-stage .exibix-remote-phone {
    width: calc(100vw - 0.7rem);
    max-height: calc(100vh - 0.7rem);
    padding: 1rem 0.8rem 0.85rem;
  }

  .exibix-remote-stage .exibix-remote-close {
    top: -0.8rem;
    right: -0.8rem;
    width: 2.7rem;
    height: 2.7rem;
  }

  .exibix-remote-device-meta {
    align-items: center;
  }

  .exibix-remote-device-meta-copy strong {
    font-size: 0.95rem;
  }

  .exibix-remote-device-meta-copy small {
    font-size: 0.76rem;
  }

  .exibix-remote-device-stats {
    gap: 0.32rem;
  }

  .exibix-remote-device-stat {
    min-width: 44px;
    height: 26px;
    padding: 0 0.45rem;
    font-size: 0.68rem;
  }

  .exibix-remote-stage .exibix-remote-phone-list {
    margin-bottom: 1.5rem;
  }

  .exibix-remote-stage .exibix-remote-phone-main {
    gap: 0.7rem;
  }

  .exibix-remote-stage .exibix-remote-side-btns {
    width: 52px;
    height: 132px;
  }

  .exibix-remote-stage .exibix-remote-side-range-wrap {
    height: 70px;
  }

  .exibix-remote-stage .exibix-remote-side-range {
    width: 70px;
  }

  .exibix-remote-stage .exibix-remote-side-value {
    font-size: 0.62rem;
  }

  .exibix-remote-stage .exibix-remote-side-label {
    font-size: 0.58rem;
  }

  .exibix-remote-stage .exibix-remote-center-btns {
    width: 128px;
    height: 128px;
    flex-basis: 128px;
  }

  .exibix-remote-center-dot {
    width: 32px;
    height: 32px;
  }

  .exibix-remote-center-dot i {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }

  .exibix-remote-stage .exibix-remote-bottom-menu {
    width: calc(100% + 1.6rem);
    margin: 0 -0.8rem -0.85rem;
  }
}

.exibix-playback-item-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.04);
  border: 1px solid rgba(105, 108, 255, 0.08);
}

.exibix-playback-item-filter-copy {
  min-width: 0;
}

.exibix-playback-item-filter-copy strong {
  display: block;
  color: #2d3e58;
  font-size: 0.92rem;
}

.exibix-playback-item-filter-copy small {
  display: block;
  margin-top: 0.15rem;
  color: #6b7b93;
}

.exibix-playback-item-picker {
  display: grid;
  gap: 0.9rem;
}

.exibix-playback-item-picker-row {
  display: grid;
  grid-template-columns: auto auto 72px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(105, 108, 255, 0.08);
  background: #fff;
  box-shadow: 0 0.7rem 1.6rem rgba(67, 89, 113, 0.08);
}

.exibix-playback-item-picker-grip-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exibix-playback-item-picker-grip {
  cursor: grab;
}

.exibix-playback-item-picker-grip:active {
  cursor: grabbing;
}

.exibix-playback-item-picker-row.is-dragging {
  opacity: 0.58;
  transform: scale(0.995);
}

.exibix-playback-item-picker-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.exibix-playback-item-picker-preview {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.06), rgba(105, 108, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.exibix-playback-item-picker-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exibix-playback-item-picker-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exibix-playback-item-picker-row.is-live {
  border-color: rgba(22, 163, 74, 0.42);
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.18),
    0 0.95rem 1.8rem rgba(67, 89, 113, 0.11);
}

.exibix-playback-item-picker-row.is-live .exibix-playback-item-picker-preview {
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.exibix-playback-item-live-badge {
  display: none;
  margin-top: 0.28rem;
}

.exibix-playback-item-picker-row.is-live .exibix-playback-item-live-badge {
  display: inline-flex;
}

.exibix-playback-item-picker-copy {
  min-width: 0;
}

.exibix-playback-item-picker-copy strong {
  display: block;
  color: #2d3e58;
}

.exibix-playback-item-picker-copy small {
  display: block;
  margin-top: 0.15rem;
  color: #6b7b93;
}

.screen-playback-entry-selection-muted {
  color: #6b7b93;
}

.exibix-playback-item-picker-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.exibix-sequence-schedule-dialog {
  width: min(100vw - 2rem, 760px);
}

.exibix-sequence-schedule-grid {
  gap: 1rem;
}

.exibix-sequence-dates-add {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.exibix-sequence-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.exibix-sequence-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
}

html.dark-style .exibix-playback-item-filter {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(129, 140, 248, 0.16);
}

html.dark-style .exibix-playback-item-filter-copy strong,
html.dark-style .exibix-playback-item-picker-copy strong {
  color: #e2e8f0;
}

html.dark-style .exibix-playback-item-filter-copy small,
html.dark-style .exibix-playback-item-picker-copy small {
  color: #94a3b8;
}

html.dark-style .screen-playback-entry-selection-muted {
  color: #94a3b8;
}

html.dark-style .exibix-playback-item-picker-row {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.22);
}

html.dark-style .exibix-playback-item-picker-preview {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.14));
}

html.dark-style .exibix-playback-item-picker-row.is-live {
  border-color: rgba(74, 222, 128, 0.46);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.24),
    0 1rem 2rem rgba(2, 6, 23, 0.26);
}

@media (max-width: 991.98px) {
  .exibix-playback-item-picker-row {
    grid-template-columns: auto auto 64px minmax(0, 1fr);
  }

  .exibix-playback-item-picker-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .exibix-sequence-dates-add {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575.98px) {
  .exibix-playback-item-filter {
    align-items: stretch;
  }

  .exibix-playback-item-filter .btn {
    width: 100%;
    justify-content: center;
  }
}

.exibix-gateway-tabs-shell {
  border-radius: 1.2rem !important;
}

.exibix-gateway-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.exibix-gateway-tab {
  border: 1px solid rgba(105, 108, 255, 0.2);
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.08);
  color: #4a5f78;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.1rem;
  transition: all 0.2s ease;
}

.exibix-gateway-logo {
  width: auto;
  height: 1.95rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.exibix-gateway-logo-tab {
  height: 1.9rem;
}

.exibix-gateway-logo-title {
  height: 2.25rem;
}

.exibix-gateway-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.exibix-gateway-tab:hover {
  border-color: rgba(105, 108, 255, 0.36);
  background: rgba(105, 108, 255, 0.16);
  color: #31455e;
}

.exibix-gateway-tab.is-active {
  border-color: rgba(105, 108, 255, 0.48);
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(124, 92, 255, 0.16));
  color: #283b56;
  box-shadow: 0 0.8rem 1.5rem rgba(105, 108, 255, 0.16);
}

.exibix-gateway-tab.is-disabled,
.exibix-gateway-tab:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
}

.exibix-gateway-mode-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: center;
}

.exibix-gateway-mode-switcher .form-check {
  margin: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(105, 108, 255, 0.14);
  background: rgba(105, 108, 255, 0.06);
}

.exibix-gateway-mode-switcher .form-check-input {
  float: none;
  margin: 0;
}

.exibix-gateway-mode-switcher .form-check-label {
  color: #31455e;
  font-weight: 700;
}

.exibix-checkout-methods-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.42rem;
  padding-inline: 0.92rem;
  white-space: nowrap;
}

.exibix-checkout-methods-modal .modal-dialog {
  width: min(calc(100vw - 1.8rem), 620px);
  max-width: min(calc(100vw - 1.8rem), 620px);
  margin: 0.8rem auto;
}

.exibix-checkout-methods-modal .modal-dialog.modal-dialog-scrollable {
  max-height: calc(100% - 1.6rem);
}

.exibix-checkout-methods-content {
  border-radius: 1.05rem;
  overflow: hidden;
}

.exibix-checkout-methods-modal .modal-header .btn-close {
  position: static;
  margin: 0;
}

.exibix-checkout-methods-body {
  padding: 1rem 1.15rem 1.05rem;
  max-height: min(70vh, 34rem);
}

.exibix-checkout-methods-list {
  display: grid;
  gap: 0.72rem;
}

.exibix-checkout-methods-empty {
  padding: 0.78rem 0.1rem 0.2rem;
}

.exibix-checkout-type-card {
  border: 1px solid rgba(105, 108, 255, 0.18);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.08), rgba(105, 108, 255, 0.02));
  padding: 0.7rem 0.78rem;
}

.exibix-checkout-type-switch {
  margin: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exibix-checkout-type-switch .form-check-input {
  float: none;
  margin: 0;
}

.exibix-checkout-type-switch .form-check-label {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #2e4662;
}

.exibix-checkout-methods-wrap {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.56rem;
  padding-left: 0.5rem;
}

.exibix-checkout-method-row {
  margin: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exibix-checkout-method-row .form-check-input {
  float: none;
  margin: 0;
}

.exibix-checkout-method-row .form-check-label {
  margin: 0;
  color: #4f6680;
  font-weight: 600;
}

.exibix-checkout-methods-footer .btn {
  min-width: 8.6rem;
}

@media (max-width: 767.98px) {
  .exibix-gateway-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .exibix-gateway-tab.is-disabled {
    grid-column: 1 / -1;
  }

  .exibix-gateway-mode-switcher {
    width: 100%;
  }

  .exibix-gateway-mode-switcher .form-check {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: space-between;
  }

  .exibix-gateway-mode-switcher .exibix-checkout-methods-trigger {
    flex: 1 1 100%;
    justify-content: center;
    padding-inline: 0.7rem;
  }

  .exibix-checkout-methods-modal .modal-dialog {
    width: min(calc(100vw - 1rem), 520px);
    max-width: min(calc(100vw - 1rem), 520px);
    margin: 0.5rem auto;
  }

  .exibix-checkout-methods-body {
    padding: 0.9rem 0.88rem 0.95rem;
    max-height: min(68vh, 30rem);
  }

  .exibix-checkout-type-card {
    padding: 0.64rem 0.65rem;
  }

  .exibix-checkout-type-switch .form-check-label {
    font-size: 0.9rem;
  }

  .exibix-checkout-methods-footer {
    gap: 0.55rem;
  }

  .exibix-checkout-methods-footer .btn {
    min-width: 0;
    flex: 1 1 0;
  }

  .exibix-gateway-logo {
    height: 1.7rem;
  }

  .exibix-gateway-logo-tab {
    height: 1.7rem;
  }

  .exibix-gateway-logo-title {
    height: 1.95rem;
  }
}

html.dark-style .exibix-gateway-tab {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.3);
  color: #cbd5e1;
}

html.dark-style .exibix-gateway-tab:hover {
  background: rgba(129, 140, 248, 0.2);
  color: #e2e8f0;
}

html.dark-style .exibix-gateway-tab.is-active {
  color: #fff;
  border-color: rgba(129, 140, 248, 0.58);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.58), rgba(124, 58, 237, 0.52));
  box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.42);
}

html.dark-style .exibix-gateway-mode-switcher .form-check {
  border-color: rgba(129, 140, 248, 0.25);
  background: rgba(129, 140, 248, 0.12);
}

html.dark-style .exibix-gateway-mode-switcher .form-check-label {
  color: #dbe7ff;
}

html.dark-style .exibix-checkout-methods-content {
  background: linear-gradient(170deg, rgba(17, 24, 39, 0.98), rgba(21, 30, 47, 0.96));
}

html.dark-style .exibix-checkout-type-card {
  border-color: rgba(129, 140, 248, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(30, 41, 59, 0.46));
}

html.dark-style .exibix-checkout-type-switch .form-check-label {
  color: #dbe7ff;
}

html.dark-style .exibix-checkout-method-row .form-check-label {
  color: #b8c9df;
}

html.dark-style .exibix-checkout-methods-empty {
  color: #c7d5ec !important;
}

.exibix-site-tabs-shell {
  border-radius: 1.2rem !important;
}

.exibix-site-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.exibix-site-tab {
  border: 1px solid rgba(105, 108, 255, 0.2);
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.08);
  color: #4a5f78;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.05rem;
  transition: all 0.2s ease;
}

.exibix-site-tab:hover {
  border-color: rgba(105, 108, 255, 0.36);
  background: rgba(105, 108, 255, 0.16);
  color: #31455e;
}

.exibix-site-tab.is-active {
  border-color: rgba(105, 108, 255, 0.48);
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(124, 92, 255, 0.16));
  color: #283b56;
  box-shadow: 0 0.8rem 1.5rem rgba(105, 108, 255, 0.16);
}

.exibix-site-preview-logo {
  max-width: 260px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.exibix-site-preview-dark {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.exibix-site-preview-bg {
  width: 100%;
  height: 180px;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(226, 232, 240, 0.55);
}

.exibix-site-preview-bg img {
  object-fit: cover;
}

.exibix-config-app-iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
  display: block;
  border-radius: 0 0 1rem 1rem;
  background: transparent;
}

html.dark-style .exibix-site-tab {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.3);
  color: #cbd5e1;
}

html.dark-style .exibix-site-tab:hover {
  background: rgba(129, 140, 248, 0.2);
  color: #e2e8f0;
}

html.dark-style .exibix-site-tab.is-active {
  color: #fff;
  border-color: rgba(129, 140, 248, 0.58);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.58), rgba(124, 58, 237, 0.52));
  box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.42);
}

@media (max-width: 767.98px) {
  .exibix-site-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .exibix-site-tab {
    justify-content: center;
  }

  .exibix-site-preview-bg {
    height: 140px;
  }
}
