/*
 * 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: #eef3ff;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(76, 111, 255, 0.12) 0, rgba(76, 111, 255, 0) 34%),
    radial-gradient(circle at 86% 4%, rgba(14, 165, 233, 0.1) 0, rgba(14, 165, 233, 0) 30%),
    linear-gradient(180deg, #f5f8ff 0%, #edf3ff 52%, #e8f0ff 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(76, 111, 255, 0.03) 0 1px, rgba(76, 111, 255, 0) 1px 4px);
  background-size: auto, auto, auto, 3px 3px, 4px 4px;
  background-attachment: fixed;
}

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

/* 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 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item .svg-container {
  position: static;
  transform: none;
  left: auto;
  top: auto;
}

.vf-profile-shell .vf-profile-sidebar .about-list-item i {
  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;
}

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

@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-buttons-wrapper {
    right: 20px !important;
    bottom: 120px !important;
  }

  .vf-profile-shell .profile-header-stats {
    right: 34px !important;
    bottom: 220px !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;
  }
}

@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-social {
    justify-content: center;
    margin-top: 8px;
  }

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

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

/* 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;
  }
}
