/*
 * Vibeforge visual system overrides
 * Loaded after runtime theme customization in _head.tpl.
 */

:root {
  --vf-ui-accent: var(--vf-accent, var(--link-color, #4c6fff));
  --vf-ui-accent-strong: var(--vf-accent-strong, #2f4dff);
  --vf-ui-surface: var(--vf-surface, #ffffff);
  --vf-ui-surface-alt: var(--vf-surface-alt, #f5f7fb);
  --vf-ui-border: var(--vf-border, rgba(15, 23, 42, 0.08));
  --vf-ui-border-strong: var(--vf-border-strong, rgba(15, 23, 42, 0.18));
  --vf-ui-shadow-sm: var(--vf-shadow-sm, 0 10px 24px rgba(15, 23, 42, 0.1));
  --vf-ui-shadow-md: var(--vf-shadow-md, 0 18px 40px rgba(15, 23, 42, 0.14));
  --vf-ui-radius: var(--vf-radius-lg, 18px);
  --vf-chat-sidebar-width: 92px;
  --vf-chat-sidebar-gap: 12px;
}

body.n_activated,
body.n_live {
  --vf-chat-sidebar-top: 120px;
}

body {
  --vf-chat-sidebar-top: 70px;
}

body:not(.night-mode) {
  background-color: #f4f7fb;
  background-image:
    radial-gradient(circle at 16% 14%, rgba(59, 130, 246, 0.08) 0, rgba(59, 130, 246, 0) 30%),
    radial-gradient(circle at 88% 2%, rgba(14, 165, 233, 0.06) 0, rgba(14, 165, 233, 0) 24%),
    linear-gradient(180deg, #f8fbff 0%, #f2f6fb 52%, #edf2f8 100%);
  background-size: auto, auto, auto;
  background-attachment: fixed;
}

:root {
  --vf-shell-max-width: 1480px;
  --vf-glass-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 253, 0.96));
  --vf-glass-surface-strong: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 248, 252, 0.98));
  --vf-glass-border: rgba(148, 163, 184, 0.18);
  --vf-heading-ink: #0f172a;
  --vf-copy-ink: #334155;
  --vf-subtle-ink: #64748b;
  --vf-accent-soft: rgba(59, 130, 246, 0.10);
  --vf-accent-outline: rgba(59, 130, 246, 0.22);
}

body.night-mode {
  --vf-glass-surface: linear-gradient(180deg, rgba(22, 29, 43, 0.94), rgba(14, 21, 32, 0.92));
  --vf-glass-surface-strong: linear-gradient(180deg, rgba(25, 34, 49, 0.97), rgba(16, 24, 37, 0.95));
  --vf-glass-border: rgba(148, 163, 184, 0.18);
  --vf-heading-ink: #f8fbff;
  --vf-copy-ink: #d3deee;
  --vf-subtle-ink: #9db0c8;
  --vf-accent-soft: rgba(123, 152, 255, 0.18);
  --vf-accent-outline: rgba(123, 152, 255, 0.3);
}

.container,
.container-fluid {
  max-width: var(--vf-shell-max-width);
}

body,
.main-wrapper {
  color: var(--vf-copy-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--vf-heading-ink);
  letter-spacing: -0.02em;
}

.text-muted,
.small.text-muted,
.card .text-muted {
  color: var(--vf-subtle-ink) !important;
}

.main-wrapper .main-header {
  position: sticky;
  top: 0;
  z-index: 1035;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.night-mode .main-wrapper .main-header {
  background: rgba(13, 18, 27, 0.78);
  border-bottom-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.main-wrapper .main-header .logo {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.main-wrapper .main-header .search-wrapper .form-control {
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding-left: 46px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.main-wrapper .main-header .search-wrapper .form-control:focus {
  border-color: var(--vf-accent-outline);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.12);
  transform: translateY(-1px);
}

body.night-mode .main-wrapper .main-header .search-wrapper .form-control {
  background: rgba(31, 41, 55, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
}

body.night-mode .main-wrapper .main-header .search-wrapper .form-control:focus {
  background: rgba(31, 41, 55, 0.98);
  box-shadow: 0 0 0 4px rgba(123, 152, 255, 0.16);
}

.main-wrapper .main-header .navbar-wrapper > ul > li > a,
.main-wrapper .main-header .home-icon,
.main-wrapper .main-header .menu-icon {
  border-radius: 14px;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.main-wrapper .main-header .navbar-wrapper > ul > li > a:hover,
.main-wrapper .main-header .navbar-wrapper > ul > li.dropdown.show > a,
.main-wrapper .main-header .home-icon:hover,
.main-wrapper .main-header .menu-icon:hover {
  background: rgba(59, 130, 246, 0.1);
}

@media (min-width: 768px) {
  .main-wrapper .main-header .header-search-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0 8px;
  }

  .main-wrapper .main-header .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: visible;
  }

  .main-wrapper .main-header .home-icon {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-left: 0;
    padding: 0 !important;
    border-radius: 14px;
    z-index: 2;
  }

  .main-wrapper .main-header .header-search-cluster .search-wrapper {
    flex: 1 1 auto;
  }

  .main-wrapper .main-header .header-search-cluster .search-wrapper .form-control {
    margin-top: 0;
    margin-bottom: 0;
  }

  .main-wrapper .main-header .header-search-cluster .search-input-icon {
    top: 50%;
    transform: translateY(-50%);
  }
}

.main-side-nav-card,
.vf-settings-nav-card,
.card,
.dropdown-menu,
.dropdown-widget,
.user-popover,
.panel-messages,
.card-messages,
.profile-tabs-wrapper,
.profile-header,
.profile-intro,
.composer-launcher,
.post,
.list-group-item,
.modal-content {
  border: 1px solid var(--vf-glass-border);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.card,
.main-side-nav-card,
.vf-settings-nav-card,
.dropdown-menu,
.dropdown-widget,
.panel-messages,
.card-messages,
.composer-launcher,
.profile-tabs-wrapper,
.profile-intro,
.modal-content {
  background: var(--vf-glass-surface);
  backdrop-filter: blur(16px);
  border-radius: 22px;
}

.main-side-nav-card,
.vf-settings-nav-card {
  background:
    radial-gradient(circle at top right, rgba(76, 111, 255, 0.12), rgba(76, 111, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96));
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--vf-heading-ink);
}

.main-side-nav-card .sidebar-section-label,
.main-side-nav-card a,
.vf-settings-nav-card a,
.vf-settings-nav-card .vf-settings-nav-title,
.vf-settings-nav-card .vf-settings-nav-eyebrow {
  color: var(--vf-heading-ink) !important;
}

.main-side-nav-card .main-icon,
.main-side-nav-card .main-icon *,
.vf-settings-nav-card .main-icon,
.vf-settings-nav-card .main-icon * {
  fill: #7c8fb8 !important;
  color: #7c8fb8 !important;
}

.main-side-nav-card .sidebar-section-heading,
.vf-settings-nav-card .vf-settings-nav > li > a,
.vf-settings-nav-card .vf-settings-nav .collapse li > a,
.main-side-nav-card .main-side-nav > li > a,
.main-side-nav-card .main-side-nav .collapse li > a {
  background: rgba(0, 0, 0, 0.0);
}

.main-side-nav-card .sidebar-section-heading:hover,
.vf-settings-nav-card .vf-settings-nav > li > a:hover,
.vf-settings-nav-card .vf-settings-nav .collapse li > a:hover,
.main-side-nav-card .main-side-nav > li > a:hover,
.main-side-nav-card .main-side-nav .collapse li > a:hover {
  background: rgba(59, 130, 246, 0.08);
}

.card-header,
.dropdown-widget-header {
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
  background: transparent !important;
}

body.night-mode .card,
body.night-mode .main-side-nav-card,
body.night-mode .vf-settings-nav-card,
body.night-mode .dropdown-menu,
body.night-mode .dropdown-widget,
body.night-mode .panel-messages,
body.night-mode .card-messages,
body.night-mode .composer-launcher,
body.night-mode .profile-tabs-wrapper,
body.night-mode .profile-intro,
body.night-mode .modal-content {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.card-header.with-icon,
.card-header strong,
.dropdown-widget-header .title {
  font-weight: 800;
  letter-spacing: -0.015em;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0f6fe8 100%);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #0b63d1 100%);
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.btn-light,
.btn-outline-secondary,
.btn-outline-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--vf-heading-ink);
}

body.night-mode .btn-light,
body.night-mode .btn-outline-secondary,
body.night-mode .btn-outline-light {
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fbff;
}

.main-side-nav-card .card-body,
.vf-settings-nav-card .card-body {
  padding: 14px;
}

.main-side-nav .sidebar-section-heading,
.vf-settings-nav > li > a,
.main-side-nav > li > a,
.main-side-nav .collapse li > a {
  border-radius: 14px;
}

.main-side-nav > li.active > a,
.main-side-nav .collapse li.active > a,
.vf-settings-nav > li.active > a,
.vf-settings-nav .collapse li.active > a {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.12));
  color: #0f3b8f !important;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

body.night-mode .main-side-nav > li.active > a,
body.night-mode .main-side-nav .collapse li.active > a,
body.night-mode .vf-settings-nav > li.active > a,
body.night-mode .vf-settings-nav .collapse li.active > a {
  color: #dbe9ff !important;
  background: rgba(123, 152, 255, 0.16);
}

.main-side-nav > li > a:hover,
.main-side-nav .collapse li > a:hover,
.vf-settings-nav > li > a:hover,
.vf-settings-nav .collapse li > a:hover {
  background: rgba(59, 130, 246, 0.08);
}

.composer-launcher {
  overflow: hidden;
}

.composer-launcher .composer-launcher-input {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--vf-copy-ink);
  padding: 12px 16px;
  font-weight: 600;
}

body.night-mode .composer-launcher .composer-launcher-input {
  background: rgba(30, 41, 59, 0.72);
}

.vf-newsfeed-shell .card,
.vf-for-you-shell .card,
.vf-settings-shell .card,
.vf-profile-shell .card,
.vf-messages-shell .card,
.profdash-card {
  overflow: hidden;
}

.vf-newsfeed-shell .card-header strong,
.vf-for-you-shell .card-header strong,
.vf-settings-shell .card-header strong,
.vf-messages-shell .card-header,
.profdash-card .card-header strong {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vf-newsfeed-shell .stories-wrapper,
.vf-newsfeed-shell .pro-box-wrapper,
.vf-for-you-shell .list-group,
.vf-settings-shell .list-group,
.vf-messages-shell .js_live-messages-alt {
  position: relative;
}

.vf-newsfeed-shell .post,
.vf-profile-shell .post,
.vf-for-you-shell .list-group-item,
.vf-settings-shell .list-group-item {
  border-radius: 18px;
  background: var(--vf-glass-surface-strong);
}

.post,
.vf-newsfeed-shell .post,
.vf-profile-shell .post,
.main-wrapper .post,
.vf-profile-shell .vf-profile-main .post {
  overflow: visible !important;
}

.post .post-header,
.post .post-meta,
.post .post-meta > .dropdown,
.post .post-meta > .dropdown.show {
  overflow: visible !important;
}

.post .post-header .post-meta > .dropdown .dropdown-menu,
.post .post-header .post-meta > .dropdown.show > .dropdown-menu,
.post .post-header .post-meta > .dropdown > .dropdown-menu.show {
  z-index: 1085 !important;
}

.post,
.list-group-item,
.dropdown-item,
.dropdown-menu .dropdown-item,
.card .card-body,
.card .card-header,
.card .card-footer,
.modal-content,
.table,
.table td,
.table th,
.form-control,
.form-select,
.input-group-text,
.x-form-tools {
  color: var(--vf-copy-ink);
}

.dropdown-item:hover,
.dropdown-item:focus,
.list-group-item-action:hover,
.list-group-item-action:focus {
  background: rgba(59, 130, 246, 0.08);
  color: var(--vf-heading-ink);
}

.form-control,
.form-select,
.input-group-text,
.bootstrap-select > .dropdown-toggle {
  min-height: 46px;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.98);
}

.form-control::placeholder,
.form-select::placeholder {
  color: #7b8797;
}

.post-text,
.post .text,
.description,
.comment-text,
.text {
  color: var(--vf-copy-ink);
  line-height: 1.65;
}

.post .text-muted,
.comment .text-muted,
.dropdown-menu .text-muted,
.list-group-item .text-muted {
  color: var(--vf-subtle-ink) !important;
}

.vf-for-you-shell .list-group-item + .list-group-item,
.vf-settings-shell .list-group-item + .list-group-item {
  margin-top: 10px;
}

.vf-profile-shell .profile-header {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.vf-profile-shell .profile-cover-wrapper::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.28) 100%);
  pointer-events: none;
}

.vf-profile-shell .profile-name-wrapper {
  padding: 14px 18px;
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.vf-settings-shell .vf-settings-nav-card,
.vf-settings-shell .card,
.vf-for-you-shell .card,
.vf-messages-shell .card {
  min-height: 100%;
}

.vf-for-you-shell .h3,
.profdash-hero-title {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.vf-dashboard-shell .profdash-hero,
.vf-foryou-hero-card {
  border-radius: 28px;
  overflow: hidden;
}

.vf-dashboard-shell .profdash-hero .card-body,
.vf-foryou-hero-body {
  padding: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.22), rgba(96, 165, 250, 0) 28%),
    radial-gradient(circle at 8% 16%, rgba(191, 219, 254, 0.18), rgba(191, 219, 254, 0) 34%),
    linear-gradient(135deg, #eff5ff 0%, #e7f0ff 52%, #dce9ff 100%);
  color: var(--vf-heading-ink);
}

.vf-dashboard-shell .profdash-hero .profdash-hero-subtitle,
.vf-dashboard-shell .profdash-hero .label,
.vf-foryou-hero-copy {
  color: #52627a !important;
}

.vf-dashboard-shell .profdash-hero-kpi {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.vf-dashboard-shell .profdash-hero {
  border: 1px solid rgba(147, 197, 253, 0.26);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
  align-self: flex-start;
}

.vf-dashboard-shell .profdash-hero-body {
  position: relative;
  min-height: 196px;
  padding: 28px 28px 24px !important;
  background:
    linear-gradient(90deg, rgba(29, 78, 216, 0.14) 0%, rgba(29, 78, 216, 0) 44%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, #f2f7ff 0%, #e8f0ff 48%, #dce9ff 100%);
}

.vf-dashboard-shell .profdash-hero-copy-wrap {
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.vf-dashboard-shell .profdash-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: #47627f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vf-dashboard-shell .profdash-hero-subtitle {
  max-width: 400px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.vf-dashboard-shell .profdash-hero-cta {
  position: relative;
  z-index: 1;
  padding: 11px 20px;
}

.vf-dashboard-shell .profdash-hero-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.vf-dashboard-shell .profdash-hero-kpi {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.vf-dashboard-shell .profdash-hero-kpi .value {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: #1b3d85;
  letter-spacing: -0.05em;
}

.vf-dashboard-shell .profdash-hero-kpi .label {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #60728b !important;
}

.vf-dashboard-shell .profdash-hero-art {
  position: absolute;
  right: 28px;
  bottom: 10px;
  width: 220px;
  height: 120px;
  pointer-events: none;
}

.vf-dashboard-shell .profdash-hero-panel,
.vf-dashboard-shell .profdash-hero-orbit,
.vf-dashboard-shell .profdash-hero-spark {
  position: absolute;
  display: block;
}

.vf-dashboard-shell .profdash-hero-panel {
  right: 36px;
  top: 12px;
  width: 110px;
  height: 76px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 243, 255, 0.92));
  box-shadow: 0 18px 32px rgba(56, 96, 190, 0.16);
}

.vf-dashboard-shell .profdash-hero-panel::before,
.vf-dashboard-shell .profdash-hero-panel::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  border-radius: 999px;
  background: rgba(104, 136, 206, 0.28);
}

.vf-dashboard-shell .profdash-hero-panel::before {
  top: 20px;
  height: 10px;
  box-shadow:
    0 18px 0 rgba(104, 136, 206, 0.24),
    0 36px 0 rgba(104, 136, 206, 0.18);
}

.vf-dashboard-shell .profdash-hero-orbit {
  right: 0;
  bottom: 8px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 16px solid rgba(76, 111, 255, 0.16);
  border-top-color: rgba(76, 111, 255, 0.36);
  border-right-color: rgba(76, 111, 255, 0.26);
}

.vf-dashboard-shell .profdash-hero-spark {
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}

.vf-dashboard-shell .profdash-hero-spark-one {
  right: 144px;
  top: 6px;
  width: 22px;
  height: 22px;
}

.vf-dashboard-shell .profdash-hero-spark-two {
  right: 126px;
  top: 28px;
  width: 10px;
  height: 10px;
  opacity: 0.78;
}

.vf-dashboard-shell .profdash-card,
.vf-dashboard-shell .profdash-section-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.vf-dashboard-shell .row > [class*="col-"] > .profdash-card {
  height: 100%;
}

.vf-dashboard-shell .profdash-section-card .card-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
  padding-top: 16px;
  padding-bottom: 14px;
}

.vf-dashboard-shell .profdash-section-card .card-header strong {
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4c5d75;
}

.vf-dashboard-shell .profdash-stat-body {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 22px 22px 22px 24px !important;
  min-height: 138px;
}

.vf-dashboard-shell .profdash-stat-body > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: minmax(2.3em, auto) minmax(2.2rem, auto) minmax(2.4em, auto);
  align-content: center;
}

.vf-dashboard-shell .profdash-stat-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #3467ef;
  background: linear-gradient(180deg, #f4f8ff, #edf3ff);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.72);
  font-size: 1.2rem;
  align-self: center;
}

.vf-dashboard-shell .profdash-label {
  margin-bottom: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.35;
}

.vf-dashboard-shell .profdash-value {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #1d4ed8;
  align-self: center;
}

.vf-dashboard-shell .profdash-change {
  margin-top: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  align-self: end;
}

.vf-dashboard-shell .profdash-change.up {
  color: #15803d;
}

.vf-dashboard-shell .profdash-change.down {
  color: #dc2626;
}

.vf-dashboard-shell .profdash-change.flat {
  color: #64748b;
}

.vf-dashboard-shell .profdash-list-card-body {
  display: grid;
  gap: 12px;
}

.vf-dashboard-shell .profdash-audience-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
}

.vf-dashboard-shell .profdash-audience-item span {
  color: #5e718c;
  font-weight: 600;
}

.vf-dashboard-shell .profdash-audience-item strong {
  color: #20314d;
  font-weight: 800;
}

.vf-dashboard-shell .profdash-trend-row + .profdash-trend-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.82);
}

.vf-dashboard-shell .profdash-trend-date {
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #50627d;
}

.vf-dashboard-shell .profdash-trend-bars {
  display: grid;
  gap: 10px;
}

.vf-dashboard-shell .profdash-trend-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.vf-dashboard-shell .profdash-trend-bar {
  height: 100%;
  border-radius: inherit;
}

.vf-dashboard-shell .profdash-trend-bar.posts {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

.vf-dashboard-shell .profdash-trend-bar.engagement {
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
}

.vf-dashboard-shell .profdash-trend-values {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #74859b;
}

.vf-dashboard-shell .profdash-table thead th {
  padding-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #73859d;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.vf-dashboard-shell .profdash-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  vertical-align: middle;
}

.vf-dashboard-shell .profdash-table tbody tr:first-child td {
  border-top: 0;
}

.vf-dashboard-shell .profdash-table a {
  color: #1d4ed8;
  font-weight: 700;
}

.vf-dashboard-shell .profdash-action-grid {
  display: grid;
  gap: 10px;
}

.vf-dashboard-shell .profdash-action-btn {
  justify-content: flex-start;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 16px;
  box-shadow: none;
}

.vf-dashboard-shell .profdash-action-btn.is-primary {
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.16);
}

.vf-dashboard-shell .profdash-action-btn i {
  width: 18px;
  text-align: center;
}

.vf-dashboard-shell hr {
  border-color: rgba(226, 232, 240, 0.9);
  margin: 18px 0;
}

.vf-dashboard-shell .small a,
.vf-dashboard-shell .fw-bold a {
  color: #1d4ed8;
  font-weight: 700;
}

body.night-mode .vf-dashboard-shell .profdash-card,
body.night-mode .vf-dashboard-shell .profdash-section-card {
  background: linear-gradient(180deg, rgba(22, 29, 43, 0.94), rgba(16, 23, 35, 0.94));
  border-color: rgba(71, 85, 105, 0.5);
}

body.night-mode .vf-dashboard-shell .profdash-audience-item {
  background: rgba(30, 41, 59, 0.58);
  border-color: rgba(71, 85, 105, 0.55);
}

body.night-mode .vf-dashboard-shell .profdash-trend-track {
  background: rgba(51, 65, 85, 0.9);
}

body.night-mode .vf-dashboard-shell .profdash-table thead th,
body.night-mode .vf-dashboard-shell .profdash-table tbody td {
  border-color: rgba(71, 85, 105, 0.48);
}

.vf-dashboard-shell .profdash-card .card-body,
.vf-for-you-shell .card .card-body,
.vf-newsfeed-shell .card .card-body,
.vf-settings-shell .card .card-body {
  padding: 18px;
}

.vf-for-you-shell > .row > .sg-offcanvas-mainbar > .vf-foryou-hero-card,
.vf-for-you-shell .vf-foryou-hero-card {
  min-height: 0 !important;
  height: auto !important;
}

.vf-newsfeed-shell .composer-launcher {
  border: 0;
  background:
    linear-gradient(135deg, rgba(76, 111, 255, 0.16), rgba(14, 165, 233, 0.08)),
    var(--vf-glass-surface);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.18);
}

.vf-newsfeed-shell .composer-launcher .card-body {
  padding: 18px !important;
}

.vf-newsfeed-shell .composer-launcher-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.vf-newsfeed-shell .composer-launcher-input {
  min-height: 54px;
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}

.vf-posts-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(241, 245, 255, 0.82));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.07);
}

body.night-mode .vf-posts-filter {
  background: linear-gradient(135deg, rgba(22, 29, 43, 0.92), rgba(15, 23, 42, 0.94));
}

.vf-posts-filter > span,
.vf-posts-filter .dropdown-toggle span:first-child,
.vf-posts-filter .dropdown-toggle {
  font-weight: 800;
  color: var(--vf-heading-ink);
}

.vf-posts-filter .btn,
.vf-posts-filter .dropdown-toggle {
  border-radius: 999px;
}

.vf-post-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vf-post-source-popular {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.2);
}

.vf-post-source-discover {
  color: #1d4ed8;
  background: rgba(76, 111, 255, 0.12);
  border: 1px solid rgba(76, 111, 255, 0.18);
}

.vf-newsfeed-shell .post,
.vf-profile-shell .post {
  overflow: hidden;
}

.vf-newsfeed-shell .post::before,
.vf-profile-shell .post::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #3d63ff 0%, #0ea5e9 48%, #22c55e 100%);
  opacity: 0.85;
}

.vf-newsfeed-shell .post .post-body,
.vf-profile-shell .post .post-body {
  padding-top: 8px;
}

.vf-newsfeed-shell .post-stats,
.vf-profile-shell .post-stats {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 12px;
  padding-bottom: 12px;
}

.vf-newsfeed-shell .post-actions,
.vf-profile-shell .post-actions {
  padding-top: 10px;
}

.vf-messages-shell .card-header.with-icon,
.vf-messages-shell .panel-messages .card-header,
.vf-settings-shell .card-header.with-icon,
.vf-for-you-shell .card-header,
.vf-dashboard-shell .card-header {
  padding-left: 18px;
  padding-right: 18px;
}

.vf-settings-shell .sg-offcanvas-mainbar > .card,
.vf-for-you-shell .sg-offcanvas-mainbar > .card,
.vf-dashboard-shell .sg-offcanvas-mainbar > .card {
  margin-bottom: 18px;
}

.vf-foryou-hero-title,
.vf-foryou-hero-card .h3 {
  color: #132238;
}

.vf-foryou-hero-card .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.vf-foryou-onboarding-card,
.vf-foryou-section-card,
.vf-foryou-stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.vf-foryou-onboarding-card .card-header,
.vf-foryou-section-card .card-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
  padding-top: 16px;
  padding-bottom: 14px;
}

.vf-foryou-onboarding-card .card-header strong,
.vf-foryou-section-card .card-header strong {
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4c5d75;
}

.vf-foryou-checklist-item {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.92));
  border-radius: 18px !important;
}

.vf-foryou-checklist-item .badge.bg-success {
  background: rgba(30, 166, 114, 0.12) !important;
  color: #176f4f;
}

.vf-foryou-checklist-item .badge.bg-secondary {
  background: rgba(59, 130, 246, 0.12) !important;
  color: #1d4ed8;
}

.vf-foryou-stat-card {
  position: relative;
  overflow: hidden;
}

.vf-foryou-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.vf-foryou-stat-body {
  padding-left: 24px !important;
}

.vf-foryou-stat-value {
  color: #1d4ed8;
  letter-spacing: -0.05em;
}

.vf-foryou-section-card .list-group {
  gap: 12px;
}

.vf-foryou-section-card .list-group-item {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.94));
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.vf-foryou-section-card .list-group-item .fw-bold a,
.vf-foryou-section-card .list-group-item .small a {
  color: #1d3557;
}

.vf-foryou-section-card .list-group-item .fw-bold a:hover,
.vf-foryou-section-card .list-group-item .small a:hover {
  color: #2563eb;
}

.vf-foryou-section-card hr {
  border-color: rgba(148, 163, 184, 0.14);
}

.vf-foryou-section-card .btn-light {
  background: #eef4fb;
  border-color: #dde7f4;
  color: #1f2f46;
}

.vf-foryou-section-card .btn-outline-secondary {
  border-color: rgba(148, 163, 184, 0.24);
  color: #4e6078;
}

.vf-foryou-games-card .card-body > ul.row {
  margin-bottom: 0;
}

.vf-foryou-games-card .game-card,
.vf-foryou-games-card .card.h-100.shadow-sm {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.vf-foryou-games-card .game-card h6,
.vf-foryou-games-card .card-title,
.vf-foryou-games-card h6 a,
.vf-foryou-games-card .card-title a {
  color: #1b2a3f;
}

.vf-foryou-games-card .game-card [style*="background: linear-gradient(135deg, rgba(17, 142, 213, 0.1)"] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%) !important;
}

.vf-foryou-games-card .game-card-overlay {
  background: rgba(37, 99, 235, 0.82) !important;
}

.sidebar-shortcuts-card {
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 253, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.sidebar-shortcuts-card .card-header.sidebar-shortcuts-heading {
  margin: 10px 10px 0;
  padding: 10px 12px;
  border-color: rgba(147, 197, 253, 0.32);
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(237, 243, 255, 0.96));
  border-radius: 14px;
}

.sidebar-shortcuts-card .sidebar-shortcuts-heading .sidebar-section-icon {
  background: rgba(59, 130, 246, 0.12);
}

.sidebar-shortcuts-card .sidebar-shortcuts-heading .sidebar-section-label {
  color: #6b7c94;
}

.sidebar-shortcuts-card .card-body {
  padding: 14px;
}

.sidebar-shortcuts-section + .sidebar-shortcuts-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.sidebar-shortcuts-section-head {
  margin-bottom: 10px;
}

.sidebar-shortcuts-section-title {
  color: #8b98aa;
}

.sidebar-shortcuts-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4f84ff;
}

.sidebar-shortcuts-list .shortcut-thumb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.sidebar-shortcuts-list li > a {
  border-radius: 12px;
  padding: 8px 10px;
}

.sidebar-shortcuts-list .shortcut-title {
  font-size: 13px;
  font-weight: 700;
  color: #31435c;
}

.sidebar-shortcuts-list li > a:hover,
.sidebar-shortcuts-list li.active > a {
  background: rgba(59, 130, 246, 0.08);
}

.sidebar-shortcuts-empty {
  color: #8a96a3;
}

.vf-foryou-hero-card {
  border: 1px solid rgba(147, 197, 253, 0.26);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
  align-self: flex-start;
}

.vf-foryou-hero-body {
  position: relative;
  min-height: 186px;
  padding: 28px 28px 24px !important;
  background:
    linear-gradient(90deg, rgba(29, 78, 216, 0.18) 0%, rgba(29, 78, 216, 0) 42%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, #3b82f6 0%, #4f8dff 48%, #d6e7ff 100%);
  color: #ffffff;
}

.vf-foryou-hero-copy-wrap {
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.vf-foryou-hero-title,
.vf-foryou-hero-card .h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(19, 34, 56, 0.16);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.vf-foryou-hero-copy {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 1px 2px rgba(19, 34, 56, 0.18);
  font-size: 0.98rem;
  line-height: 1.55;
}

.vf-foryou-hero-copy,
.vf-foryou-hero-copy.text-muted,
.vf-foryou-hero-body .text-muted.vf-foryou-hero-copy,
.vf-foryou-hero-card .vf-foryou-hero-copy {
  color: rgba(255, 255, 255, 0.96) !important;
}

.vf-foryou-hero-card .btn-primary {
  position: relative;
  z-index: 1;
  padding: 11px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(19, 34, 56, 0.18);
  font-weight: 700;
}

.vf-foryou-hero-card .btn-primary:hover,
.vf-foryou-hero-card .btn-primary:focus {
  background: #ffffff;
  color: #1d4ed8;
}

.vf-foryou-hero-card .btn-primary,
.vf-foryou-hero-card .btn-primary span {
  color: #ffffff !important;
  text-shadow: none !important;
}

.vf-foryou-hero-card .btn-primary:hover,
.vf-foryou-hero-card .btn-primary:focus,
.vf-foryou-hero-card .btn-primary:active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
}

.vf-foryou-hero-card .btn-primary:hover span,
.vf-foryou-hero-card .btn-primary:focus span,
.vf-foryou-hero-card .btn-primary:active span {
  color: #ffffff !important;
}

.vf-foryou-hero-art {
  position: absolute;
  right: 26px;
  bottom: 10px;
  width: 270px;
  height: 118px;
  pointer-events: none;
}

.vf-foryou-hero-art::before,
.vf-foryou-hero-art::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.vf-foryou-hero-art::before {
  width: 210px;
  height: 82px;
}

.vf-foryou-hero-art::after {
  right: 46px;
  width: 154px;
  height: 58px;
}

.vf-foryou-hero-note,
.vf-foryou-hero-heart,
.vf-foryou-hero-spark {
  position: absolute;
  display: block;
}

.vf-foryou-hero-note {
  right: 50px;
  top: 18px;
  width: 62px;
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96));
  transform: rotate(12deg);
  box-shadow: 0 18px 30px rgba(33, 78, 196, 0.18);
}

.vf-foryou-hero-note::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: rgba(159, 176, 204, 0.55);
  box-shadow:
    0 10px 0 rgba(159, 176, 204, 0.42),
    0 20px 0 rgba(159, 176, 204, 0.34);
}

.vf-foryou-hero-heart {
  right: 14px;
  top: 42px;
  width: 48px;
  height: 42px;
  background: linear-gradient(180deg, #5e97ff, #4a79ff);
  transform: rotate(-12deg);
  border-radius: 16px 16px 6px 6px;
}

.vf-foryou-hero-heart::before,
.vf-foryou-hero-heart::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: inherit;
}

.vf-foryou-hero-heart::before {
  left: 0;
}

.vf-foryou-hero-heart::after {
  right: 0;
}

.vf-foryou-hero-spark {
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}

.vf-foryou-hero-spark-one {
  right: 108px;
  top: 14px;
  width: 24px;
  height: 24px;
}

.vf-foryou-hero-spark-two {
  right: 82px;
  top: 10px;
  width: 10px;
  height: 10px;
  opacity: 0.8;
}

.vf-foryou-onboarding-card,
.vf-foryou-section-card,
.vf-foryou-stat-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.vf-foryou-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vf-foryou-section-head a,
.vf-foryou-section-footer a {
  font-size: 0.84rem;
  font-weight: 700;
  color: #3b6fff;
}

.vf-foryou-stat-card {
  border-radius: 22px;
}

.vf-foryou-stat-card::before {
  width: 3px;
  opacity: 0.9;
}

.vf-foryou-stat-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 22px 24px !important;
}

.vf-foryou-stat-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #3467ef;
  background: linear-gradient(180deg, #f4f8ff, #edf3ff);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.72);
  font-size: 1.25rem;
}

.vf-foryou-stat-value {
  margin-bottom: 2px;
  font-size: 2.3rem;
  line-height: 1;
}

.vf-foryou-stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #22324f;
}

.vf-foryou-section-card .card-body {
  padding: 20px !important;
}

.vf-foryou-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vf-foryou-rec-card {
  text-align: center;
  padding: 8px 6px 4px;
}

.vf-foryou-rec-avatar {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.vf-foryou-rec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-foryou-rec-name {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #1c2d48;
}

.vf-foryou-rec-handle,
.vf-foryou-rec-meta {
  display: block;
  font-size: 0.82rem;
  color: #74859b;
}

.vf-foryou-rec-meta {
  min-height: 36px;
  margin-top: 4px;
}

.vf-foryou-rec-btn {
  margin-top: 14px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #f5f8ff;
  border-color: #d7e4ff;
  color: #3568ef;
  font-weight: 700;
}

.vf-foryou-post-list {
  display: grid;
  gap: 16px;
}

.vf-foryou-posts-card .card-body {
  padding-bottom: 18px !important;
}

.vf-foryou-post-list-single {
  gap: 0;
}

.vf-foryou-post-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.vf-foryou-post-row:last-child {
  margin-bottom: 0;
}

.vf-foryou-post-list-single .vf-foryou-post-row {
  max-width: none;
}

.vf-foryou-post-thumb,
.vf-foryou-reel-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, #3071ff, #8fc0ff);
}

.vf-foryou-post-thumb {
  aspect-ratio: 1.08 / 1;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.16);
}

.vf-foryou-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vf-foryou-post-thumb-fallback,
.vf-foryou-reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.96);
}

.vf-foryou-post-thumb-fallback i {
  font-size: 1.6rem;
}

.vf-foryou-post-main {
  min-width: 0;
}

.vf-foryou-post-title {
  display: block;
  margin-bottom: 10px;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1c2b46;
}

.vf-foryou-post-excerpt {
  margin-bottom: 10px;
  color: #667892;
  font-size: 0.94rem;
  line-height: 1.55;
}

.vf-foryou-post-meta,
.vf-foryou-post-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #7a8aa2;
  font-size: 0.85rem;
}

.vf-foryou-post-meta a {
  color: #58729b;
  font-weight: 700;
}

.vf-foryou-post-stats {
  margin-top: 12px;
  gap: 18px;
}

.vf-foryou-post-stats span {
  min-width: 22px;
}

.vf-foryou-reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vf-foryou-reel-card {
  display: block;
  color: inherit;
}

.vf-foryou-reel-thumb {
  display: block;
  aspect-ratio: 0.78 / 1;
  margin-bottom: 10px;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.16);
}

.vf-foryou-reel-play::after {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  position: absolute;
}

.vf-foryou-reel-play i {
  position: relative;
  z-index: 1;
  margin-left: 4px;
}

.vf-foryou-reel-duration {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #18263c;
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 700;
}

.vf-foryou-reel-title,
.vf-foryou-reel-meta {
  display: block;
}

.vf-foryou-reel-title {
  margin-bottom: 4px;
  font-weight: 700;
  line-height: 1.45;
  color: #1c2b46;
}

.vf-foryou-reel-meta {
  color: #7b8ca3;
  font-size: 0.82rem;
}

.vf-foryou-course-list,
.vf-foryou-arcade-list {
  display: grid;
  gap: 14px;
}

.vf-foryou-course-row,
.vf-foryou-arcade-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  color: inherit;
}

.vf-foryou-course-row:first-child,
.vf-foryou-arcade-row:first-child {
  padding-top: 0;
}

.vf-foryou-course-row:last-child,
.vf-foryou-arcade-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vf-foryou-course-icon,
.vf-foryou-arcade-thumb {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #edf3ff, #e4ecff);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.78);
  color: #3467ef;
}

.vf-foryou-course-icon img,
.vf-foryou-arcade-thumb img,
.vf-foryou-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-foryou-course-main,
.vf-foryou-arcade-main {
  min-width: 0;
}

.vf-foryou-course-title,
.vf-foryou-course-meta,
.vf-foryou-arcade-title,
.vf-foryou-arcade-meta {
  display: block;
}

.vf-foryou-course-title,
.vf-foryou-arcade-title {
  font-weight: 700;
  color: #1d2d48;
}

.vf-foryou-course-meta,
.vf-foryou-arcade-meta {
  margin-top: 4px;
  color: #7b8ca3;
  font-size: 0.84rem;
}

.vf-foryou-course-badge,
.vf-foryou-arcade-btn,
.vf-foryou-game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #d9e5ff;
  background: #f6f9ff;
  color: #3266ed;
  font-size: 0.82rem;
  font-weight: 700;
}

.vf-foryou-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vf-foryou-game-card {
  display: block;
  color: inherit;
}

.vf-foryou-game-thumb {
  display: block;
  aspect-ratio: 1 / 1.14;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #eff4ff, #e7efff);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.vf-foryou-game-title,
.vf-foryou-game-meta {
  display: block;
}

.vf-foryou-game-title {
  font-weight: 700;
  line-height: 1.4;
  color: #1c2d47;
}

.vf-foryou-game-meta {
  margin-top: 2px;
  margin-bottom: 10px;
  color: #7d8ca2;
  font-size: 0.82rem;
}

.vf-foryou-game-btn {
  min-width: 64px;
  padding: 7px 12px;
}

.vf-foryou-section-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
}

.sidebar-shortcuts-card {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.sidebar-shortcuts-card .card-header.sidebar-shortcuts-heading {
  margin: 10px 10px 0;
  padding: 9px 12px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(191, 219, 254, 0.5);
}

.sidebar-shortcuts-list li > a {
  gap: 10px;
  padding: 9px 10px;
}

.sidebar-shortcuts-list .shortcut-title {
  color: #2f4569;
}

@media (max-width: 767.98px) {
  .vf-posts-filter {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
  }

  .vf-dashboard-shell .profdash-hero .card-body,
  .vf-foryou-hero-body {
    padding: 22px 18px;
  }

  .vf-foryou-hero-body {
    min-height: 170px;
  }

  .vf-foryou-hero-art {
    right: 14px;
    bottom: 8px;
    width: 180px;
    height: 90px;
  }

  .vf-foryou-rec-grid,
  .vf-foryou-reel-grid,
  .vf-foryou-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vf-foryou-post-row {
    grid-template-columns: 1fr;
  }

  .vf-foryou-post-thumb {
    max-width: 180px;
  }

  .vf-foryou-course-row,
  .vf-foryou-arcade-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .vf-foryou-course-badge,
  .vf-foryou-arcade-btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 575.98px) {
  .vf-foryou-rec-grid,
  .vf-foryou-reel-grid,
  .vf-foryou-game-grid {
    grid-template-columns: 1fr;
  }

  .vf-foryou-stat-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

.vf-messages-shell .card,
.vf-messages-shell .panel-messages,
.vf-messages-shell .card-messages {
  border-radius: 24px;
}

.vf-messages-shell .card-header.with-icon,
.vf-messages-shell .panel-messages .card-header {
  padding-top: 20px;
  padding-bottom: 18px;
}

.vf-messages-shell .chat-form {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  margin-top: 18px;
  padding-top: 18px;
}

.vf-messages-shell .chat-form-message textarea,
.vf-messages-shell .chat-to {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

body.night-mode .vf-messages-shell .chat-form-message textarea,
body.night-mode .vf-messages-shell .chat-to {
  background: rgba(30, 41, 59, 0.72);
}

.vf-page-index .sg-offcanvas-mainbar,
.vf-page-profile .sg-offcanvas-mainbar,
.vf-page-settings .sg-offcanvas-mainbar,
.vf-page-messages .sg-offcanvas-mainbar,
.vf-page-for_you .sg-offcanvas-mainbar,
.vf-page-professional_dashboard .sg-offcanvas-mainbar {
  padding-bottom: 24px;
}

.alert,
.see-more {
  border-radius: 16px;
}

.dropdown-item {
  border-radius: 12px;
  margin: 2px 6px;
  width: calc(100% - 12px);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(76, 111, 255, 0.08);
}

.table {
  --bs-table-bg: transparent;
}

@media (max-width: 991.98px) {
  .main-wrapper .main-header {
    backdrop-filter: blur(14px);
  }

  .vf-profile-shell .profile-header,
  .card,
  .main-side-nav-card,
  .vf-settings-nav-card,
  .dropdown-menu,
  .dropdown-widget,
  .panel-messages,
  .card-messages,
  .composer-launcher,
  .profile-tabs-wrapper,
  .profile-intro {
    border-radius: 20px;
  }
}

@media (max-width: 767.98px) {
  .main-wrapper .main-header .search-wrapper .form-control {
    height: 44px;
  }

  .vf-newsfeed-shell .card,
  .vf-for-you-shell .card,
  .vf-settings-shell .card,
  .vf-profile-shell .card,
  .vf-messages-shell .card {
    border-radius: 18px;
  }

  .vf-page-index .container,
  .vf-page-profile .container,
  .vf-page-settings .container,
  .vf-page-messages .container,
  .vf-page-for_you .container,
  .vf-page-professional_dashboard .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.main-wrapper .main-header {
  border-bottom-color: var(--vf-ui-border);
}

/* Groups directory refresh */
.vf-groups-shell .vf-groups-grid {
  row-gap: 18px;
}

.vf-groups-shell .vf-group-card-col {
  display: flex;
}

.vf-groups-shell .vf-group-card {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  text-align: left;
  overflow: hidden;
}

.vf-groups-shell .vf-group-card .img.vf-group-card-media {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.vf-groups-shell .vf-group-card .img.vf-group-card-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.vf-groups-shell .vf-group-card .img.vf-group-card-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.vf-groups-shell .vf-group-card:hover .img.vf-group-card-media img {
  transform: scale(1.04);
}

.vf-groups-shell .vf-group-card-body {
  padding: 14px 14px 15px;
}

.vf-groups-shell .vf-group-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vf-groups-shell .vf-group-card-title {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a !important;
  text-decoration: none !important;
}

.vf-groups-shell .vf-group-card-title:hover {
  color: var(--vf-ui-accent-strong) !important;
}

.vf-groups-shell .vf-group-card-privacy {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e3a8a;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.24);
}

.vf-groups-shell .vf-group-card-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.vf-groups-shell .vf-group-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vf-groups-shell .vf-group-card-plan {
  margin-top: 10px;
}

.vf-groups-shell .vf-group-card-plan .badge {
  font-size: 0.74rem;
}

.vf-groups-shell .vf-group-card-action {
  margin-top: 12px;
}

.vf-groups-shell .vf-group-card-action .btn {
  min-width: 128px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

.vf-groups-shell .see-more {
  border: 1px solid rgba(76, 111, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a8a;
  font-weight: 700;
}

body.night-mode .vf-groups-shell .vf-group-card {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.97), rgba(18, 28, 42, 0.95));
  border-color: var(--card-dark-divider);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

body.night-mode .vf-groups-shell .vf-group-card-title {
  color: #f8fbff !important;
}

body.night-mode .vf-groups-shell .vf-group-card-title:hover {
  color: #9eb7ff !important;
}

body.night-mode .vf-groups-shell .vf-group-card-meta {
  color: #b7c5d8;
}

body.night-mode .vf-groups-shell .vf-group-card-privacy {
  color: #dbe9ff;
  background: rgba(76, 111, 255, 0.22);
  border-color: rgba(123, 152, 255, 0.34);
}

body.night-mode .vf-groups-shell .see-more {
  background: rgba(18, 28, 42, 0.9);
  border-color: rgba(123, 152, 255, 0.32);
  color: #dbe9ff;
}

@media (max-width: 767.98px) {
  .vf-groups-shell .vf-group-card-body {
    padding: 12px;
  }

  .vf-groups-shell .vf-group-card-title {
    font-size: 0.98rem;
  }
}

/* Pages directory refresh */
.vf-pages-shell .vf-pages-grid {
  row-gap: 18px;
}

.vf-pages-shell .vf-page-card-col {
  display: flex;
}

.vf-pages-shell .vf-page-card {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  text-align: left;
  overflow: hidden;
}

.vf-pages-shell .vf-page-card .img.vf-page-card-media {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.vf-pages-shell .vf-page-card .img.vf-page-card-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.vf-pages-shell .vf-page-card .img.vf-page-card-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.vf-pages-shell .vf-page-card:hover .img.vf-page-card-media img {
  transform: scale(1.04);
}

.vf-pages-shell .vf-page-card-body {
  padding: 14px 14px 15px;
}

.vf-pages-shell .vf-page-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vf-pages-shell .vf-page-card-head .verified-badge {
  flex: 0 0 auto;
}

.vf-pages-shell .vf-page-card-title {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a !important;
  text-decoration: none !important;
}

.vf-pages-shell .vf-page-card-title:hover {
  color: var(--vf-ui-accent-strong) !important;
}

.vf-pages-shell .vf-page-card-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.vf-pages-shell .vf-page-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vf-pages-shell .vf-page-card-plan {
  margin-top: 10px;
}

.vf-pages-shell .vf-page-card-plan .badge {
  font-size: 0.74rem;
}

.vf-pages-shell .vf-page-card-action {
  margin-top: 12px;
}

.vf-pages-shell .vf-page-card-action .btn {
  min-width: 128px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

.vf-pages-shell .see-more {
  border: 1px solid rgba(76, 111, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a8a;
  font-weight: 700;
}

body.night-mode .vf-pages-shell .vf-page-card {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.97), rgba(18, 28, 42, 0.95));
  border-color: var(--card-dark-divider);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

body.night-mode .vf-pages-shell .vf-page-card-title {
  color: #f8fbff !important;
}

body.night-mode .vf-pages-shell .vf-page-card-title:hover {
  color: #9eb7ff !important;
}

body.night-mode .vf-pages-shell .vf-page-card-meta {
  color: #b7c5d8;
}

body.night-mode .vf-pages-shell .see-more {
  background: rgba(18, 28, 42, 0.9);
  border-color: rgba(123, 152, 255, 0.32);
  color: #dbe9ff;
}

@media (max-width: 767.98px) {
  .vf-pages-shell .vf-page-card-body {
    padding: 12px;
  }

  .vf-pages-shell .vf-page-card-title {
    font-size: 0.98rem;
  }
}

/* Header dropdown (messages / requests / notifications) */
.main-wrapper .main-header .js_live-messages .dropdown-widget-header,
.main-wrapper .main-header .js_live-requests .dropdown-widget-header,
.main-wrapper .main-header .js_live-notifications .dropdown-widget-header {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 247, 255, 0.96)) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 12px 12px 0 0;
}

.main-wrapper .main-header .js_live-messages .dropdown-widget-header .title,
.main-wrapper .main-header .js_live-requests .dropdown-widget-header .title,
.main-wrapper .main-header .js_live-notifications .dropdown-widget-header .title {
  color: #0f172a !important;
}

body.night-mode .main-wrapper .main-header .js_live-messages .dropdown-widget-header,
body.night-mode .main-wrapper .main-header .js_live-requests .dropdown-widget-header,
body.night-mode .main-wrapper .main-header .js_live-notifications .dropdown-widget-header {
  background: linear-gradient(180deg, rgba(23, 33, 48, 0.96), rgba(18, 28, 42, 0.94)) !important;
  border-bottom: 1px solid rgba(96, 121, 155, 0.42) !important;
}

body.night-mode .main-wrapper .main-header .js_live-messages .dropdown-widget-header .title,
body.night-mode .main-wrapper .main-header .js_live-requests .dropdown-widget-header .title,
body.night-mode .main-wrapper .main-header .js_live-notifications .dropdown-widget-header .title {
  color: #f8fbff !important;
}

/* Sidebar polish */
.main-side-nav-card {
  overflow: hidden;
}

.main-side-nav-card .card-body.with-nav {
  padding: 14px 12px;
}

.sidebar-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b !important;
}

.sidebar-section-heading:hover,
.sidebar-section-heading:focus {
  background: rgba(76, 111, 255, 0.08);
  color: #334155 !important;
  text-decoration: none;
}

.sidebar-section-label {
  font-size: 0.72rem;
  text-transform: none;
}

.main-side-nav > li > a,
.side-nav > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-radius: 12px;
}

/* Composer polish */
.composer-launcher {
  border: 1px solid var(--vf-ui-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: var(--vf-ui-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.composer-launcher:hover {
  transform: translateY(-1px);
  border-color: var(--vf-ui-border-strong);
  box-shadow: var(--vf-ui-shadow-md);
}

.composer-launcher-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.composer-launcher-input {
  color: #475569;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.night-mode .composer-launcher {
  background: linear-gradient(180deg, rgba(20, 29, 43, 0.95), rgba(15, 24, 36, 0.95));
  border-color: var(--card-dark-divider);
}

body.night-mode .composer-launcher-input {
  color: #b5c5d8;
}

/* Unified feed promo cards */
.vf-promo-card {
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 46%, #0ea5e9 100%) !important;
  color: #f8fbff;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.28);
}

.vf-promo-card .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.vf-promo-card .user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.vf-promo-card .user-box:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.vf-promo-card .user-box img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.vf-promo-card .user-box .name {
  font-weight: 700;
  line-height: 1.2;
}

/* Profile polish */
.vf-profile-shell .profile-header {
  overflow: visible;
  margin-bottom: 0 !important;
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--vf-ui-border);
  border-bottom: 0;
  box-shadow: var(--vf-ui-shadow-md);
}

.vf-profile-shell .post .post-image img,
.vf-profile-shell .post .photos img,
.vf-profile-shell .post img.img-fluid,
.vf-profile-shell .post-image img,
.vf-profile-shell .post-media img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.vf-profile-shell .post .post-image,
.vf-profile-shell .post .photos,
.vf-profile-shell .post-media {
  width: 100%;
  overflow: hidden;
}

.vf-profile-shell .profile-cover-wrapper {
  min-height: clamp(220px, 32vw, 360px);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.vf-profile-shell .profile-cover-wrapper img {
  display: block;
}

.vf-profile-shell .profile-name-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 8px;
}

.vf-profile-shell .profile-name-wrapper > a:first-of-type {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper,
html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper > a:first-of-type,
html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .text-muted,
html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .badge.bg-primary,
html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song,
html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song a {
  color: #0f172a !important;
}

.vf-profile-shell .profile-name-wrapper .text-muted {
  font-size: 0.95rem;
  font-weight: 600;
}

.vf-profile-shell .profile-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 20px 18px;
}

.vf-profile-shell .profile-buttons-wrapper .btn {
  box-shadow: none;
}

.vf-profile-shell .profile-header-stats {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.38));
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.vf-profile-shell .profile-header-stats-grid {
  display: inline-flex;
  align-items: stretch;
}

.vf-profile-shell .profile-header-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 4px 8px;
  line-height: 1.05;
}

.vf-profile-shell .profile-header-stats-grid .profile-header-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.vf-profile-shell .profile-header-stat-link {
  text-decoration: none !important;
  color: inherit !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.vf-profile-shell .profile-header-stat-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.vf-profile-shell .profile-header-stat-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
}

.vf-profile-shell .profile-header-stat .stat-value {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f8fbff;
}

.vf-profile-shell .profile-header-stat .stat-label {
  margin-top: 5px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(236, 246, 255, 0.9);
}

.vf-profile-shell .profile-header-stats-window {
  display: none;
}

.vf-anchor-offset {
  display: block;
  position: relative;
  top: -92px;
}

.vf-profile-shell .profile-tabs-wrapper a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 82px;
  text-align: center !important;
  line-height: 1.1;
}

.vf-profile-shell .profile-tabs-wrapper a.active {
  text-align: center !important;
}

.vf-profile-shell .profile-tabs-wrapper a .main-icon {
  margin-right: 0 !important;
}

.vf-profile-shell .profile-tabs-wrapper a span {
  margin-left: 0 !important;
}

.vf-profile-shell .profile-tabs-wrapper {
  margin-top: 0;
  margin-bottom: 20px;
  border-radius: 0 0 24px 24px;
  border: 1px solid var(--vf-ui-border);
  border-top: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--vf-ui-shadow-md);
}

body.night-mode .vf-profile-shell .profile-tabs-wrapper {
  background: var(--card-dark-color);
  border-color: var(--card-dark-divider);
}

@media (min-width: 992px) {
  .vf-profile-shell .profile-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
  }

  .vf-profile-shell .profile-tabs-wrapper a {
    flex-direction: row;
    min-width: auto;
    gap: 6px;
    padding: 14px 11px;
    line-height: 1;
    font-size: 0.92rem;
    font-weight: 700;
  }

  .vf-profile-shell .profile-tabs-wrapper a span.d-none.d-xxl-inline-block {
    display: inline-block !important;
    margin-left: 0 !important;
  }

  .vf-profile-shell .profile-tabs-wrapper a .main-icon svg,
  .vf-profile-shell .profile-tabs-wrapper a .main-icon i {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
  }
}

.profile-name-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 0.35rem;
  flex-shrink: 0;
}

.profile-name-flag.profile-name-flag-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.profile-name-flag.profile-name-flag-swatch {
  width: 1.35rem;
  height: 0.95rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 10px rgba(15, 23, 42, 0.18);
  background-size: cover;
  background-repeat: no-repeat;
}

.vf-profile-shell .profile-avatar-wrapper {
  width: auto !important;
  height: auto !important;
  bottom: auto !important;
  overflow: hidden;
  border-radius: 999px;
}

.vf-profile-shell .profile-avatar-wrapper > img {
  display: block;
  width: 90px !important;
  height: 90px !important;
  min-width: 90px !important;
  min-height: 90px !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (min-width: 576px) {
  .vf-profile-shell .profile-avatar-wrapper > img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
  }
}

@media (min-width: 768px) {
  .vf-profile-shell .profile-header .profile-avatar-wrapper {
    top: 170px !important;
  }

  .vf-profile-shell .profile-avatar-wrapper > img {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
  }
}

@media (min-width: 992px) {
  .vf-profile-shell .profile-header {
    min-height: clamp(280px, 30vw, 360px);
  }

  .vf-profile-shell .profile-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.42) 62%, rgba(2, 6, 23, 0.6) 100%);
    pointer-events: none;
    z-index: 3;
  }

  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    top: auto !important;
    bottom: 18px !important;
    left: 22px !important;
    transform: none !important;
    z-index: 5;
  }

  .vf-profile-shell .profile-avatar-wrapper > img {
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    min-height: 160px !important;
  }

  .vf-profile-shell .profile-name-wrapper {
    left: 212px !important;
    right: 360px !important;
    bottom: 30px !important;
    min-height: 0;
    padding: 0 !important;
    gap: 10px;
    justify-content: flex-start;
    text-align: left !important;
    z-index: 5;
  }

  .vf-profile-shell .profile-buttons-wrapper {
    left: auto !important;
    right: 20px !important;
    bottom: 26px !important;
    padding: 0 !important;
    justify-content: flex-end;
    z-index: 5;
  }

  .vf-profile-shell .profile-header-stats {
    top: auto;
    right: 34px;
    bottom: 104px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 5;
  }

  .vf-profile-shell .profile-header-stats-grid {
    gap: 0;
  }

  .vf-profile-shell .profile-header-stat {
    min-width: 114px;
    padding: 2px 20px;
    align-items: center;
  }

  .vf-profile-shell .profile-header-stats-grid .profile-header-stat:not(:last-child) {
    border-right: 0;
  }

  .vf-profile-shell .profile-header-stats-grid .profile-header-stat + .profile-header-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  .vf-profile-shell .profile-header-stat .stat-value {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  .vf-profile-shell .profile-header-stat .stat-label {
    margin-top: 7px;
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    color: rgba(246, 250, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  }

  .vf-profile-shell .profile-header-stats-window {
    display: none;
  }

  .vf-profile-shell .profile-header-stat-link:hover {
    background: transparent;
    transform: translateY(-1px);
  }

  .vf-profile-shell .profile-header-stat-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: -2px;
  }

  .vf-profile-shell .profile-name-wrapper > a:first-of-type {
    color: #f8fbff !important;
    font-size: clamp(1.9rem, 2vw, 2.3rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  .vf-profile-shell .profile-name-wrapper .text-muted,
  .vf-profile-shell .profile-name-wrapper .badge.bg-primary,
  .vf-profile-shell .profile-featured-song,
  .vf-profile-shell .profile-featured-song a {
    color: #f8fbff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  }

  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper,
  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper > a:first-of-type,
  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .text-muted,
  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .badge.bg-primary,
  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song,
  html body .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song a {
    color: #f8fbff !important;
  }
}

.profile-avatar-wrapper.avatar-frame-gold img {
  border: 4px solid #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.profile-avatar-wrapper.avatar-frame-silver img {
  border: 4px solid #c0c0c0;
  box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.3);
}

.profile-avatar-wrapper.avatar-frame-rainbow img {
  border: 4px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #b983ff);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.profile-avatar-wrapper.avatar-frame-neon img {
  border: 4px solid #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.75), 0 0 0 2px rgba(0, 229, 255, 0.2);
}

.profile-featured-song {
  margin-top: 2px;
  font-size: 0.92rem;
  color: #64748b;
}

.vf-profile-shell .profile-name-wrapper .verified-badge,
.vf-profile-shell .profile-name-wrapper .verified-badge .svg-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

.vf-profile-shell .profile-name-wrapper .verified-badge svg {
  width: 24px !important;
  height: 24px !important;
}

.vf-profile-shell .profile-name-wrapper > a:not(:first-of-type),
.vf-profile-shell .profile-name-wrapper .profile-name-flag,
.vf-profile-shell .profile-name-wrapper .verified-badge,
.vf-profile-shell .profile-name-wrapper .badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.vf-profile-shell .profile-featured-song {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}

.vf-profile-shell .profile-featured-song i {
  margin-right: 0 !important;
  line-height: 1;
}

body.night-mode .vf-profile-shell .profile-name-wrapper > a:first-of-type {
  color: #f8fafc;
}

body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper,
body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper > a:first-of-type,
body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .text-muted,
body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-name-wrapper .badge.bg-primary,
body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song,
body.night-mode .main-wrapper .vf-profile-shell.profile-theme-preset-page .profile-featured-song a {
  color: #f8fafc !important;
}

body.night-mode .profile-featured-song {
  color: #9cb0c6;
}

/* Chat sidebar responsive shell */
.chat-sidebar {
  right: var(--vf-chat-sidebar-gap);
  top: var(--vf-chat-sidebar-top);
  bottom: 14px;
  width: var(--vf-chat-sidebar-width);
}

.chat-sidebar-shell {
  display: flex;
  flex-direction: column;
}

.chat-sidebar-content {
  top: 14px;
  bottom: 86px;
  left: 8px;
  width: calc(100% - 16px);
}

.chat-sidebar-content .js_scroller {
  padding-bottom: 6px;
}

.chat-sidebar-footer {
  bottom: 10px;
  left: 50%;
  width: calc(100% - 20px);
  max-width: 64px;
  transform: translateX(-50%);
}

.chat-sidebar-shell .chat-sidebar-footer a.btn-chat {
  top: 0;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  :root {
    --vf-chat-sidebar-width: 84px;
  }

  .chat-sidebar-content {
    left: 7px;
    width: calc(100% - 14px);
  }
}

@media (max-width: 1199.98px) {
  .chat-sidebar {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    top: 156px !important;
  }

  .vf-profile-shell .profile-name-wrapper {
    justify-content: center;
    text-align: center;
    padding-top: 52px;
    padding-bottom: 10px;
  }

  .vf-profile-shell .profile-name-wrapper > a:first-of-type {
    width: 100%;
    font-size: 1.24rem;
    line-height: 1.2;
  }

  .main-side-nav-card .card-body.with-nav {
    padding: 10px;
  }

  .vf-profile-shell .profile-name-wrapper,
  .vf-profile-shell .profile-buttons-wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }

  .vf-profile-shell .profile-buttons-wrapper {
    justify-content: center;
    gap: 8px;
    padding-top: 2px;
  }

  .vf-profile-shell .profile-header-stats {
    top: 10px;
    right: 10px;
    bottom: auto;
    padding: 5px 7px;
    border-radius: 12px;
  }

  .vf-profile-shell .profile-header-stat {
    min-width: 56px;
    padding: 3px 7px;
  }

  .vf-profile-shell .profile-header-stat .stat-value {
    font-size: 0.9rem;
  }

  .vf-profile-shell .profile-header-stat .stat-label {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }

  .vf-profile-shell .profile-header-stats-window {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .vf-anchor-offset {
    top: -74px;
  }
}

@media (max-width: 767px) {
  .profile-header .profile-name-wrapper a {
    color: #000000 !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    top: 150px !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    top: 162px !important;
  }

  .vf-profile-shell .profile-name-wrapper {
    padding-top: 72px;
  }
}

/* Live studio refresh */
.live-stream-wrapper.live-studio-shell {
  position: relative;
  border: 1px solid rgba(146, 171, 206, 0.28);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 4% -14%, rgba(85, 150, 255, 0.2), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(35, 84, 159, 0.18), transparent 36%),
    linear-gradient(165deg, #1d2a3f 0%, #22334d 34%, #1f2e45 100%);
  box-shadow: 0 24px 52px rgba(18, 33, 54, 0.2);
  color: #dfe7f6;
}

.live-stream-wrapper.live-studio-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

body.night-mode .live-stream-wrapper.live-studio-shell {
  border-color: rgba(120, 140, 165, 0.3);
  background:
    radial-gradient(circle at 6% -12%, rgba(73, 125, 217, 0.2), transparent 44%),
    radial-gradient(circle at 100% 0%, rgba(37, 70, 128, 0.2), transparent 38%),
    linear-gradient(162deg, #172233 0%, #1a2638 40%, #162030 100%);
}

.live-stream-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #f5f9ff;
  font-size: 1rem;
  line-height: 1.2;
}

.live-stream-title-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
}

.live-stream-title-main .main-icon {
  width: 32px;
  height: 32px;
}

.live-stream-title-text {
  font-family: var(--heading-font-family);
  font-size: clamp(1.62rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.live-stream-actions .live-stream-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-stream-actions .live-stream-option .btn {
  border-width: 1px;
  border-color: rgba(124, 165, 227, 0.5);
  background: rgba(17, 33, 54, 0.66);
  color: #cde1ff;
  font-weight: 600;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  font-size: 0.9rem;
}

.live-stream-actions .live-stream-option .btn:hover {
  border-color: rgba(152, 190, 250, 0.65);
  background: rgba(34, 52, 78, 0.82);
  color: #e6f0ff;
}

.live-stream-actions .live-stream-option .btn-check:checked + .btn {
  border-color: rgba(107, 168, 255, 0.7);
  background: linear-gradient(135deg, rgba(20, 91, 196, 0.92), rgba(25, 120, 226, 0.92));
  color: #fff;
}

.live-stream-actions .live-stream-primary-action.btn {
  background: linear-gradient(135deg, #ef476f 0%, #e6335d 100%);
  border-color: rgba(255, 122, 158, 0.86);
  color: #fff;
  min-height: 40px;
  padding: 0.42rem 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(234, 72, 116, 0.32);
}

.live-stream-actions #js_live-end.live-stream-primary-action.btn {
  background: linear-gradient(135deg, #ff7b2f 0%, #ef4444 100%);
  border-color: rgba(255, 165, 117, 0.86);
  box-shadow: 0 10px 24px rgba(239, 89, 73, 0.34);
}

.live-stream-actions .live-stream-primary-action.btn:hover {
  filter: brightness(1.03);
}

.live-stream-actions .live-paid-price {
  min-width: 100px;
  max-width: 128px;
  height: 42px;
  padding: 0 14px;
  background: rgba(10, 20, 34, 0.88);
  border: 1px solid rgba(105, 163, 244, 0.58);
  color: #e8f2ff;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 42px;
  outline: none;
}

.live-stream-actions .live-paid-price::placeholder {
  color: rgba(213, 227, 250, 0.68);
}

.live-studio-settings {
  border: 1px solid rgba(146, 171, 206, 0.3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96), rgba(238, 247, 255, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px rgba(14, 30, 52, 0.12);
}

body.night-mode .live-studio-settings {
  border-color: rgba(90, 109, 136, 0.6);
  background: linear-gradient(180deg, rgba(25, 38, 57, 0.96), rgba(21, 33, 51, 0.92));
}

.live-studio-settings .card-body {
  padding: 14px 14px 12px;
}

.live-studio-settings-grid {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(300px, 1fr);
  gap: 10px 20px;
  align-items: start;
}

.live-setting-label {
  margin-bottom: 7px;
  font-weight: 700;
  color: #2f4668;
}

.live-studio-settings .form-text {
  color: #607690;
}

body.night-mode .live-setting-label {
  color: #c1d4ed;
}

body.night-mode .live-studio-settings .form-text {
  color: #93a7be;
}

.live-studio-settings #js_live-privacy {
  max-width: 100%;
  height: 42px;
  border-radius: 12px;
  border-color: rgba(140, 166, 202, 0.45);
  box-shadow: none;
}

.live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin-top: 4px;
  padding: 0 0 0 74px;
  border-bottom: 0;
  background: transparent;
}

.live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .to {
  position: absolute;
  top: 7px;
  left: 0;
  font-weight: 700;
  color: #2f4668;
}

body.night-mode .live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .to {
  color: #b7cbe4;
}

.live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to ul.tags li {
  margin-top: 4px;
  margin-right: 6px;
  border-radius: 999px;
  border: 1px solid rgba(117, 151, 198, 0.48);
  background: #fff;
  color: #2d4669;
  font-weight: 600;
}

body.night-mode .live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to ul.tags li {
  border-color: rgba(109, 140, 181, 0.6);
  background: rgba(30, 45, 67, 0.94);
  color: #cfddf2;
}

.live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .typeahead {
  float: left;
  width: 100%;
  max-width: 480px;
}

.live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .typeahead input {
  border-radius: 12px;
  border: 1px solid rgba(126, 158, 201, 0.45);
  background: rgba(255, 255, 255, 0.98);
  color: #314a6b;
  font-weight: 600;
  line-height: 34px;
  padding: 0 12px;
}

body.night-mode .live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .typeahead input {
  border-color: rgba(95, 122, 158, 0.62);
  background: rgba(22, 33, 50, 0.96);
  color: #d6e6ff;
}

.live-stream-wrapper.live-studio-shell .live-stream-video.live-stream-stage {
  height: clamp(250px, 52vw, 620px);
  min-height: 260px;
  border: 1px solid rgba(110, 141, 187, 0.38);
  border-radius: 20px;
  background: #02050d;
  box-shadow: inset 0 0 0 1px rgba(243, 248, 255, 0.05), 0 14px 34px rgba(7, 16, 30, 0.45);
}

.live-stream-wrapper.live-studio-shell .live-stream-video.live-stream-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 6, 16, 0.32) 0%, rgba(0, 6, 16, 0.08) 22%, rgba(0, 6, 16, 0.22) 100%);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter {
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter .status,
.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter .number {
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 20, 33, 0.76);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter .status {
  background: linear-gradient(135deg, #f03d5d, #f45d7a);
  border-color: rgba(255, 168, 190, 0.5);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter .status.offline {
  background: rgba(15, 24, 38, 0.84);
  border-color: rgba(180, 193, 212, 0.32);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-counter .number {
  margin-left: 0;
  padding: 5px 12px;
  color: #eff5ff;
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-recording {
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #ffd5d5;
  background: rgba(20, 8, 14, 0.76);
  border: 1px solid rgba(235, 92, 103, 0.38);
  z-index: 4;
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-status {
  bottom: 18px;
  border-radius: 999px;
  background: rgba(8, 17, 30, 0.82);
  border: 1px solid rgba(131, 159, 199, 0.4);
  color: #e6effc;
  max-width: calc(100% - 24px);
  box-shadow: 0 8px 26px rgba(7, 15, 29, 0.45);
  z-index: 4;
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-status.info {
  background: linear-gradient(135deg, rgba(25, 97, 208, 0.94), rgba(34, 127, 231, 0.94));
  border-color: rgba(130, 181, 255, 0.62);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-status.success {
  background: linear-gradient(135deg, rgba(32, 140, 85, 0.95), rgba(41, 174, 105, 0.95));
  border-color: rgba(129, 223, 175, 0.55);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-status.error {
  background: linear-gradient(135deg, rgba(208, 61, 74, 0.95), rgba(229, 89, 102, 0.95));
  border-color: rgba(247, 158, 166, 0.6);
}

.live-stream-wrapper.live-studio-shell .live-stream-video .live-comments {
  height: min(230px, 44%);
  padding: 14px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(5, 10, 19, 0.84) 62%, rgba(5, 10, 19, 0.96) 100%);
}

.live-stream-buttons.live-control-toolbar {
  margin-top: 16px;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(235, 244, 255, 0.18);
  border: 1px solid rgba(170, 194, 226, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.live-stream-buttons.live-control-toolbar[style*="display: block"],
.live-stream-buttons.live-control-toolbar[style*="display:block"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-stream-buttons.live-control-toolbar > * {
  margin-right: 0 !important;
}

.live-control-item,
.live-control-item .live-control-btn {
  margin-right: 0 !important;
}

.live-control-btn.btn {
  width: 52px;
  height: 52px;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 1;
  background: rgba(241, 247, 255, 0.96);
  border: 1px solid rgba(184, 203, 230, 0.62);
  color: #214063;
  box-shadow: 0 10px 22px rgba(6, 17, 33, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.live-control-btn.btn i {
  margin: 0 !important;
  line-height: 1;
  font-size: 1.02rem;
}

.live-control-btn.btn:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 14px 28px rgba(8, 20, 39, 0.28);
}

.live-control-btn.btn-danger {
  background: linear-gradient(135deg, #f04969, #f66076);
  border-color: rgba(247, 162, 174, 0.68);
  color: #fff;
}

body.night-mode .live-control-btn.btn {
  background: rgba(26, 39, 58, 0.96);
  border-color: rgba(95, 119, 151, 0.52);
  color: #d9e8fb;
}

body.night-mode .live-stream-buttons.live-control-toolbar {
  background: rgba(14, 23, 38, 0.5);
  border-color: rgba(97, 122, 158, 0.32);
}

body.night-mode .live-control-btn.btn:hover {
  background: rgba(33, 49, 73, 0.98);
}

.live-stream-wrapper.live-studio-shell #camera-select-menu .dropdown-menu {
  border-radius: 14px;
  border: 1px solid rgba(182, 201, 226, 0.55);
  box-shadow: 0 16px 32px rgba(12, 24, 43, 0.2);
}

body.night-mode .live-stream-wrapper.live-studio-shell #camera-select-menu .dropdown-menu {
  border-color: rgba(87, 109, 141, 0.62);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
  .live-stream-wrapper.live-studio-shell {
    padding: 24px;
  }
}

@media (max-width: 991.98px) {
  .live-stream-wrapper.live-studio-shell {
    border-radius: 20px;
    padding: 14px;
  }

  .live-stream-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .live-studio-settings-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .live-stream-wrapper.live-studio-shell .live-stream-video.live-stream-stage {
    height: clamp(230px, 62vw, 480px);
  }

  .live-stream-buttons.live-control-toolbar {
    padding: 8px 10px;
    border-radius: 18px;
  }

  .live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to {
    padding-left: 0;
  }

  .live-stream-wrapper.live-studio-shell .js_live-cohosts.chat-to .to {
    position: static;
    display: block;
    margin-bottom: 6px;
  }
}

@media (max-width: 575.98px) {
  .live-stream-title {
    margin-bottom: 14px;
  }

  .live-stream-title-text {
    font-size: 1.52rem;
  }

  .live-stream-actions .live-stream-option,
  .live-stream-actions .live-stream-primary-action {
    width: 100%;
  }

  .live-stream-actions .live-stream-option .btn,
  .live-stream-actions .live-stream-primary-action.btn {
    width: 100%;
    justify-content: center;
  }

  .live-stream-actions .live-paid-price {
    width: 100%;
    max-width: 100%;
  }

  .live-stream-wrapper.live-studio-shell .live-stream-video.live-stream-stage {
    min-height: 210px;
  }

  .live-stream-wrapper.live-studio-shell .live-stream-video .live-status {
    font-size: 0.84rem;
    padding: 9px 14px;
  }

  .live-control-btn.btn {
    width: 46px;
    height: 46px;
    border-radius: 14px !important;
  }

  .live-stream-buttons.live-control-toolbar {
    width: 100%;
    justify-content: center;
  }
}

/* v15i final profile page system */
.vf-profile-shell .sg-offcanvas-mainbar > .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  margin-top: 12px;
}

.vf-profile-shell .vf-profile-sidebar,
.vf-profile-shell .vf-profile-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vf-profile-shell .vf-profile-sidebar > *,
.vf-profile-shell .vf-profile-main > * {
  margin-bottom: 0 !important;
}

.vf-profile-shell .card {
  border: 1px solid var(--vf-ui-border);
  border-radius: 20px;
  background: var(--vf-ui-surface);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.vf-profile-shell .card .card-header {
  border-bottom: 1px solid var(--vf-ui-border);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(243, 248, 255, 0.9));
  padding: 13px 16px;
}

.vf-profile-shell .card .card-header strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.vf-profile-shell .card .card-body {
  padding: 14px 16px;
}

.vf-profile-shell .vf-profile-sidebar .card .card-header {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
}

.vf-profile-shell .vf-profile-sidebar .card .card-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 255, 0.95));
}

.vf-profile-shell .vf-profile-sidebar .about-list li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.vf-profile-shell .vf-profile-sidebar .about-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item {
  position: relative;
  display: block;
  padding-left: 30px;
  font-size: 0.92rem;
  line-height: 1.4;
  word-break: break-word;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item .svg-container {
  position: absolute;
  left: 0;
  top: 2px;
  transform: none;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item i {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  min-width: 18px;
  text-align: center;
  margin-right: 0 !important;
  line-height: 1;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item .main-icon,
.vf-profile-shell .vf-profile-sidebar .about-list-item .main-icon * {
  width: 18px !important;
  height: 18px !important;
  color: #4c6fff !important;
  fill: #4c6fff !important;
}

.vf-profile-shell .vf-profile-sidebar .badge.bg-light.text-primary {
  background: rgba(76, 111, 255, 0.12) !important;
  border: 1px solid rgba(76, 111, 255, 0.24);
}

.vf-profile-shell .vf-profile-main .composer-launcher {
  border-radius: 20px;
  border: 1px solid rgba(76, 111, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.vf-profile-shell .vf-profile-main .composer-launcher .card-body {
  padding: 15px 16px !important;
}

.vf-profile-shell .vf-profile-main .composer-launcher-input {
  font-size: 0.97rem;
  font-weight: 600;
  color: #4b5c74;
}

.vf-profile-shell .vf-profile-main .post {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: var(--vf-ui-surface);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.vf-profile-shell .vf-profile-main .post .post-body {
  padding-top: 14px;
}

.vf-profile-shell .vf-profile-main .post .post-footer,
.vf-profile-shell .vf-profile-main .post .comments,
.vf-profile-shell .vf-profile-main .post .comment {
  border-top-color: var(--vf-ui-border);
}

.vf-profile-shell .btn-primary {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(76, 111, 255, 0.24);
}

.vf-profile-shell .btn-light {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.94);
}

.vf-profile-shell .profile-header,
.vf-profile-shell .profile-cover-wrapper {
  border-radius: 24px !important;
}

.profile-theme-preset-page .sg-offcanvas-mainbar .profile-header {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.sg-offcanvas-mainbar .profile-header .profile-cover-wrapper {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.vf-profile-shell .profile-header {
  overflow: hidden;
  margin-top: 0 !important;
}

.vf-profile-shell .sg-offcanvas-mainbar {
  padding-top: 15px;
}

.vf-profile-shell .profile-name-wrapper > a:first-of-type {
  font-size: clamp(1.45rem, 2.05vw, 2.05rem);
  line-height: 1.08;
}

.vf-profile-shell .profile-header-presence-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(7, 16, 33, 0.45);
  color: #f8fbff !important;
}

.vf-profile-shell .profile-header-presence-badge.is-online {
  background: rgba(22, 163, 74, 0.28);
  border-color: rgba(134, 239, 172, 0.45);
}

.vf-profile-shell .profile-header-presence-badge.is-offline {
  background: rgba(100, 116, 139, 0.34);
  border-color: rgba(203, 213, 225, 0.42);
}

.vf-profile-shell .profile-header-meta {
  order: 24;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.vf-profile-shell .profile-header-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f8fbff !important;
  text-decoration: none !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.vf-profile-shell .profile-header-meta-item i {
  font-size: 0.8rem;
  line-height: 1;
}

.vf-profile-shell .profile-header-meta-link:hover {
  text-decoration: underline !important;
}

.vf-profile-shell .profile-header-social {
  order: 30;
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
}

.vf-profile-shell .profile-header-social-link {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #f8fbff !important;
  background: rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.vf-profile-shell .profile-header-social-link:hover {
  transform: translateY(-1px);
  background: rgba(76, 111, 255, 0.42);
}

.vf-profile-shell .profile-header-social-link i,
.vf-profile-shell .profile-header-social-link svg {
  font-size: 14px !important;
  line-height: 1 !important;
  width: 14px !important;
  height: 14px !important;
}

/* Hide owner quick actions under stats (Import Calendar + Edit Profile) */
.vf-profile-shell .profile-buttons-wrapper button[data-url*="events/import_ics.php"],
.vf-profile-shell .profile-buttons-wrapper a[href$="/settings/profile"] {
  display: none !important;
}

/* Dark glass stats panel */
.vf-profile-shell .profile-header-stats {
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, rgba(7, 16, 33, 0.58), rgba(7, 16, 33, 0.38));
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.35);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

@media (min-width: 1200px) {
  .vf-profile-shell .sg-offcanvas-mainbar > .row {
    --bs-gutter-x: 1.1rem;
  }
}

@media (min-width: 992px) {
  .vf-profile-shell .profile-header {
    min-height: clamp(390px, 38vw, 490px) !important;
  }

  .vf-profile-shell .profile-cover-wrapper {
    min-height: clamp(390px, 38vw, 490px) !important;
  }

  .vf-profile-shell .profile-avatar-wrapper > img {
    width: 164px !important;
    height: 164px !important;
    min-width: 164px !important;
    min-height: 164px !important;
  }

  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    left: 28px !important;
    bottom: 86px !important;
  }

  .vf-profile-shell .profile-name-wrapper {
    left: 230px !important;
    right: 470px !important;
    bottom: 92px !important;
  }

  .vf-profile-shell .profile-name-wrapper > a:first-of-type {
    font-size: clamp(2.12rem, 2.4vw, 2.72rem) !important;
    letter-spacing: -0.01em;
  }

  .vf-profile-shell .profile-header-meta {
    margin-top: 7px;
    gap: 14px;
  }

  .vf-profile-shell .profile-buttons-wrapper {
    right: 34px !important;
    bottom: 60px !important;
  }

  .vf-profile-shell .profile-header-stats {
    right: 34px !important;
    bottom: 126px !important;
  }

  .vf-profile-shell .profile-tabs-wrapper {
    position: relative;
    z-index: 8;
    display: flex !important;
    align-items: stretch;
    justify-content: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: -44px 0 16px !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0 0 24px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(8, 18, 37, 0.88), rgba(10, 21, 42, 0.84));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 16px 34px rgba(2, 8, 23, 0.38) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .vf-profile-shell .profile-tabs-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  .vf-profile-shell .profile-tabs-wrapper > a {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
    padding: 15px 8px 11px !important;
    border-radius: 0 !important;
    border-bottom: 3px solid transparent;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(240, 247, 255, 0.92) !important;
    text-align: center !important;
    white-space: nowrap;
  }

  .vf-profile-shell .profile-tabs-wrapper > a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .vf-profile-shell .profile-tabs-wrapper > a .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a .main-icon * {
    margin-right: 0 !important;
    color: rgba(240, 247, 255, 0.92) !important;
    fill: rgba(240, 247, 255, 0.92) !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a span,
  .vf-profile-shell .profile-tabs-wrapper > a span.d-none.d-xxl-inline-block {
    margin-left: 0 !important;
    display: inline-block !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .vf-profile-shell .profile-tabs-wrapper > a.active,
  .vf-profile-shell .profile-tabs-wrapper > a:hover {
    background: rgba(76, 111, 255, 0.34) !important;
    border-bottom-color: #7ea2ff;
    color: #ffffff !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a.active .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a.active .main-icon *,
  .vf-profile-shell .profile-tabs-wrapper > a:hover .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a:hover .main-icon * {
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a:first-child {
    border-bottom-left-radius: 24px !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a:last-child {
    border-bottom-right-radius: 24px !important;
  }

  .vf-profile-shell .profile-header {
    min-height: clamp(360px, 34vw, 450px) !important;
  }

  .vf-profile-shell .profile-cover-wrapper {
    min-height: clamp(360px, 34vw, 450px) !important;
  }

  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    left: 28px !important;
    bottom: 46px !important;
  }

  .vf-profile-shell .profile-name-wrapper {
    left: 214px !important;
    right: 438px !important;
    bottom: 48px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 8px 10px;
    padding: 18px 22px 16px !important;
    border-radius: 0;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .vf-profile-shell .profile-name-wrapper > a:first-of-type {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 2px;
    font-size: clamp(1.95rem, 2.1vw, 2.55rem) !important;
    line-height: 1.02;
  }

  .vf-profile-shell .profile-name-wrapper .profile-featured-song {
    flex-basis: 100%;
    margin-top: 2px;
  }

  .vf-profile-shell .profile-header-meta {
    gap: 10px 16px;
    margin-top: 4px;
  }

  .vf-profile-shell .profile-header-social {
    gap: 10px;
    margin-top: 4px;
  }

  .vf-profile-shell .profile-header-stats {
    right: 34px !important;
    bottom: 82px !important;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(9, 20, 40, 0.82), rgba(9, 20, 40, 0.7)) !important;
    box-shadow: 0 18px 36px rgba(2, 8, 23, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .vf-profile-shell .profile-header-stats-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .vf-profile-shell .profile-header-stat {
    min-width: 118px;
    padding: 14px 18px 12px;
  }

  .vf-profile-shell .profile-header-stats-grid .profile-header-stat + .profile-header-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .vf-profile-shell .profile-header-stat .stat-value {
    font-size: 1.9rem;
    line-height: 0.95;
  }

  .vf-profile-shell .profile-header-stat .stat-label {
    margin-top: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .vf-profile-shell .profile-tabs-wrapper {
    margin: 0 0 18px !important;
    border-top: 0;
    background: rgba(248, 250, 252, 0.98);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .vf-profile-shell .profile-tabs-wrapper::before {
    display: none;
  }

  .vf-profile-shell .profile-tabs-wrapper > a {
    padding: 15px 10px 13px !important;
    color: #7b8aa5 !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a + a {
    border-left: 1px solid rgba(148, 163, 184, 0.18);
  }

  .vf-profile-shell .profile-tabs-wrapper > a .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a .main-icon * {
    color: #3b82f6 !important;
    fill: #3b82f6 !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a.active,
  .vf-profile-shell .profile-tabs-wrapper > a:hover {
    background: linear-gradient(180deg, rgba(76, 111, 255, 0.16), rgba(76, 111, 255, 0.08)) !important;
    border-bottom-color: #5c7cff;
    color: #183153 !important;
  }

  .vf-profile-shell .profile-tabs-wrapper > a.active .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a.active .main-icon *,
  .vf-profile-shell .profile-tabs-wrapper > a:hover .main-icon,
  .vf-profile-shell .profile-tabs-wrapper > a:hover .main-icon * {
    color: #2563eb !important;
    fill: #2563eb !important;
  }
}

@media (max-width: 991.98px) {
  .vf-profile-shell .vf-profile-sidebar,
  .vf-profile-shell .vf-profile-main {
    gap: 12px;
  }

  .vf-profile-shell .card {
    border-radius: 16px;
  }

  .vf-profile-shell .card .card-header {
    padding: 11px 13px;
  }

  .vf-profile-shell .card .card-body {
    padding: 12px 13px;
  }

  .vf-profile-shell .profile-tabs-wrapper {
    border-radius: 14px;
    margin-top: 8px;
  }

  .vf-profile-shell .profile-tabs-wrapper a {
    min-width: 74px;
    padding: 10px 6px;
  }

  .vf-profile-shell .profile-header-stats {
    right: 10px !important;
    top: 10px !important;
    bottom: auto !important;
    border-radius: 14px;
  }

  .vf-profile-shell .profile-header .profile-avatar-wrapper:not(.static) {
    left: 50% !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
  }

  .vf-profile-shell .profile-header-meta {
    justify-content: center;
    margin-top: 7px;
    gap: 10px;
  }

  .vf-profile-shell .profile-header-meta-item {
    font-size: 0.82rem;
  }

  .vf-profile-shell .profile-header-social {
    justify-content: center;
    margin-top: 8px;
  }

  .vf-profile-shell .profile-header-social-link {
    width: 28px;
    height: 28px;
    border-radius: 999px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .vf-profile-shell .profile-name-wrapper {
    right: 440px !important;
  }

  .vf-profile-shell .profile-header-stats {
    right: 26px !important;
    bottom: 130px !important;
  }

  .vf-profile-shell .profile-buttons-wrapper {
    right: 26px !important;
    bottom: 58px !important;
    gap: 8px;
  }
}

body.night-mode .vf-profile-shell .card {
  background: var(--card-dark-color);
  border-color: var(--card-dark-divider);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body.night-mode .vf-profile-shell .card .card-header {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.95), rgba(20, 30, 44, 0.9));
  border-bottom-color: var(--card-dark-divider);
}

body.night-mode .vf-profile-shell .vf-profile-sidebar .about-list li {
  border-bottom-color: var(--card-dark-divider);
}

body.night-mode .vf-profile-shell .vf-profile-sidebar .badge.bg-light.text-primary {
  background: rgba(76, 111, 255, 0.22) !important;
  border-color: rgba(110, 141, 255, 0.34);
}

body.night-mode .vf-profile-shell .vf-profile-main .composer-launcher {
  background: linear-gradient(180deg, rgba(23, 33, 48, 0.95), rgba(20, 30, 45, 0.95));
  border-color: rgba(86, 114, 150, 0.34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

body.night-mode .vf-profile-shell .vf-profile-main .composer-launcher-input {
  color: #b9cade;
}

body.night-mode .vf-profile-shell .vf-profile-main .post {
  background: var(--card-dark-color);
  border-color: var(--card-dark-divider);
}

body.night-mode .vf-profile-shell .vf-profile-sidebar .card .card-body {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.95), rgba(20, 30, 44, 0.9)) !important;
}

body.night-mode .vf-profile-shell .btn-light {
  background: rgba(26, 37, 54, 0.9);
  border-color: rgba(96, 121, 155, 0.42);
  color: #e5efff;
}

body.night-mode .vf-profile-shell .profile-tabs-wrapper {
  background: linear-gradient(180deg, rgba(7, 15, 29, 0.92), rgba(9, 17, 33, 0.9));
  border-color: rgba(114, 132, 162, 0.34);
}

body.night-mode .vf-profile-shell .profile-header-social-link {
  background: rgba(12, 20, 36, 0.36);
  border-color: rgba(159, 179, 206, 0.32);
}

body.night-mode .vf-profile-shell .profile-header-meta-item {
  color: #f8fbff !important;
}

/* v16 site-wide profile-inspired skin */
.main-wrapper .card:not(.vf-promo-card) {
  border: 1px solid var(--vf-ui-border);
  border-radius: 18px;
  background: var(--vf-ui-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.main-wrapper .card .card-header {
  border-bottom: 1px solid var(--vf-ui-border);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(243, 248, 255, 0.9));
}

.main-wrapper .post {
  border: 1px solid var(--vf-ui-border);
  border-radius: 18px;
  background: var(--vf-ui-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.main-wrapper .post .post-footer,
.main-wrapper .post .comments,
.main-wrapper .post .comment {
  border-top-color: var(--vf-ui-border);
}

.main-wrapper .btn.btn-primary {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(76, 111, 255, 0.24);
}

.main-wrapper .btn.btn-light {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.94);
}

.main-wrapper .nav-tabs,
.main-wrapper .nav-pills {
  gap: 6px;
}

.main-wrapper .nav-tabs .nav-link,
.main-wrapper .nav-pills .nav-link {
  border-radius: 11px;
  font-weight: 700;
}

.main-wrapper .nav-tabs .nav-link.active,
.main-wrapper .nav-pills .nav-link.active {
  border-color: rgba(76, 111, 255, 0.25);
  background: rgba(76, 111, 255, 0.12);
  color: #2343cf;
}

.main-wrapper .form-control,
.main-wrapper .form-select {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.34);
}

.main-wrapper .form-control:focus,
.main-wrapper .form-select:focus {
  border-color: rgba(76, 111, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(76, 111, 255, 0.14);
}

.main-wrapper .list-group-item {
  border-color: var(--vf-ui-border);
}

body.night-mode .main-wrapper .card:not(.vf-promo-card),
body.night-mode .main-wrapper .post {
  background: var(--card-dark-color);
  border-color: var(--card-dark-divider);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body.night-mode .main-wrapper .card .card-body,
body.night-mode .main-wrapper .card .bg-white,
body.night-mode .main-wrapper .card .bg-light,
body.night-mode .main-wrapper .bg-white,
body.night-mode .main-wrapper .bg-light {
  background-color: var(--card-dark-color) !important;
}

body.night-mode .main-wrapper .card .card-header {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.95), rgba(20, 30, 44, 0.9));
  border-bottom-color: var(--card-dark-divider);
}

body.night-mode .main-wrapper .btn.btn-light {
  background: rgba(26, 37, 54, 0.9);
  border-color: rgba(96, 121, 155, 0.42);
  color: #e5efff;
}

body.night-mode .main-wrapper .nav-tabs .nav-link.active,
body.night-mode .main-wrapper .nav-pills .nav-link.active {
  background: rgba(76, 111, 255, 0.26);
  border-color: rgba(110, 141, 255, 0.42);
  color: #dbe8ff;
}

body.night-mode .main-wrapper .form-control,
body.night-mode .main-wrapper .form-select {
  border-color: rgba(96, 121, 155, 0.42);
  background: rgba(26, 37, 54, 0.94);
  color: #e5efff;
}

@media (max-width: 991.98px) {
  .main-wrapper .card:not(.vf-promo-card),
  .main-wrapper .post {
    border-radius: 14px;
  }
}

/* PWA standalone shell polish (color-safe) */
html.app-standalone {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html.app-standalone a,
html.app-standalone button,
html.app-standalone .btn,
html.app-standalone [role="button"],
html.app-standalone [data-toggle],
html.app-standalone [data-bs-toggle],
html.app-standalone .dropdown-item,
html.app-standalone .nav-link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html.app-standalone .main-wrapper {
  scroll-padding-top: calc(78px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

html.app-standalone .main-wrapper .main-header {
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
}

html.app-standalone .main-wrapper .main-content,
html.app-standalone .main-wrapper .page-content {
  padding-bottom: 14px;
}

html.app-standalone .footer-bottom-bar {
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
}

html.app-standalone .footer-bottom-bar-links > .link > a {
  min-height: 52px;
  padding-top: 8px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

html.app-standalone .footer-bottom-bar-links > .link > a:active {
  transform: scale(0.96);
}

html.app-standalone .footer-bottom-bar .dropdown-widget {
  margin-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

html.app-standalone .offcanvas-bottom,
html.app-standalone .modal-dialog-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 767.98px) {
  html.app-standalone .main-wrapper .main-header .navbar-wrapper > ul > li > a,
  html.app-standalone .main-wrapper .main-header .menu-icon,
  html.app-standalone .main-wrapper .main-header .home-icon {
    min-height: 44px;
  }

  html.app-standalone .publisher[data-modal-mode="true"] .publisher-footer,
  html.app-standalone .publisher[data-modal-mode="true"] .publisher-footer-buttons {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* Legacy broadcasting shell refresh */
.vf-broadcast-shell .sg-offcanvas-mainbar {
  padding-bottom: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.vf-broadcast-card {
  border: 1px solid rgba(182, 201, 226, 0.34);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 145, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.vf-broadcast-card-body {
  padding: 22px !important;
}

.vf-broadcast-page-header .inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.vf-broadcast-page-copy {
  max-width: 640px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

.vf-broadcast-frame-wrap {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(166, 184, 212, 0.34);
  background: linear-gradient(180deg, #162235, #1b2b44);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(15, 23, 42, 0.14);
}

.vf-broadcast-frame {
  display: block;
  width: 100%;
  min-height: 720px;
  height: 720px;
  border: 0;
  background: #152132;
}

.vf-broadcast-publish-stack {
  margin-top: 18px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.vf-broadcast-podcast-fields .form-label,
.vf-broadcast-publish-stack .form-label {
  color: #415978;
  font-weight: 700;
}

.vf-broadcast-publish-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 208, 226, 0.58);
}

.vf-broadcast-publish-option {
  display: inline-flex;
  align-items: center;
}

.vf-broadcast-publish-option .btn {
  min-height: 44px;
  padding: 0 18px;
  border-color: rgba(98, 132, 193, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: #3e5e92;
  font-weight: 700;
}

.vf-broadcast-publish-option .btn:hover {
  background: rgba(76, 111, 255, 0.08);
  border-color: rgba(76, 111, 255, 0.22);
  color: #2f58a2;
}

.vf-broadcast-publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  background: linear-gradient(135deg, #4fc3f7 0%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.18);
}

.vf-broadcast-publish-btn a,
.vf-broadcast-publish-btn a:hover {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

body.night-mode .vf-broadcast-card {
  border-color: rgba(85, 104, 133, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 145, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(20, 29, 44, 0.96), rgba(15, 23, 36, 0.95));
}

body.night-mode .vf-broadcast-podcast-fields .form-label,
body.night-mode .vf-broadcast-publish-stack .form-label {
  color: #bfd1e8;
}

body.night-mode .vf-broadcast-publish-bar {
  border-top-color: rgba(85, 104, 133, 0.52);
}

body.night-mode .vf-broadcast-publish-option .btn {
  background: rgba(19, 31, 48, 0.8);
  border-color: rgba(99, 123, 160, 0.44);
  color: #cfe0fa;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .vf-broadcast-frame {
    min-height: 660px;
    height: 660px;
  }
}

@media (max-width: 767.98px) {
  .vf-broadcast-page-header {
    display: block;
  }

  .vf-broadcast-page-header .floating-img,
  .vf-broadcast-page-header .circle-2,
  .vf-broadcast-page-header .circle-3 {
    display: none;
  }

  .vf-broadcast-page-header .inner {
    padding: 24px 18px 22px;
  }

  .vf-broadcast-page-header h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .vf-broadcast-card {
    border-radius: 22px;
  }

  .vf-broadcast-card-body {
    padding: 14px !important;
  }

  .vf-broadcast-page-copy {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .vf-broadcast-frame-wrap {
    max-width: none;
    border-radius: 18px;
  }

  .vf-broadcast-frame {
    min-height: 900px;
    height: 900px;
  }

  .vf-broadcast-publish-bar {
    align-items: stretch;
    justify-content: stretch;
  }

  .vf-broadcast-publish-option,
  .vf-broadcast-publish-btn {
    width: 100%;
  }

  .vf-broadcast-publish-option .btn,
  .vf-broadcast-publish-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Facebook-style mobile improvements */
@import url('vf-mobile-facebook.css?v=20260429add');
