/* Page-specific application styles. Shared shell lives in viza-shell*.css. */
/* Panels, popups and advanced search */

.viza-redesign .advanced-filter-overlay,
.viza-redesign .notifications-popup,
.viza-redesign .social-popup,
.viza-redesign .messages-popup {
  position: fixed; z-index: 1500; inset: 0; background: rgba(2,4,10,.72); backdrop-filter: blur(8px);
}


.viza-redesign .advanced-filter-sheet,
.viza-redesign .notifications-sheet,
.viza-redesign .social-sheet,
.viza-redesign .messages-sheet {
  position: absolute; inset: auto 0 0; max-height: min(86vh, 780px); overflow: auto;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); border: 1px solid var(--vz-line-strong);
  border-radius: 24px 24px 0 0; background: #101525; box-shadow: var(--vz-shadow-lg);
}


.viza-redesign .advanced-filter-sheet h2,
.viza-redesign .notifications-sheet h2,
.viza-redesign .social-sheet h2 { font-size: 22px; }
.viza-redesign .advanced-filter-header,
.viza-redesign .notifications-header { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 12px; }
.viza-redesign .notifications-header-left { min-width: 0; flex: 1; }
.viza-redesign .notifications-header h3 { margin: 0; font-size: 21px; }
.viza-redesign .inbox-mark-read-link { color: #a8cfff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.viza-redesign .notifications-header-right { display: flex; align-items: center; gap: 6px; }
.viza-redesign .notifications-settings-btn,
.viza-redesign .notification-menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--vz-surface-3); color: var(--vz-text-2); }
.viza-redesign .notifications-tabs {
  display: flex; gap: 6px; padding: 4px; border: 0; border-radius: 13px; background: rgba(255,255,255,.045);
}
.viza-redesign .notifications-tabs button,
.viza-redesign .notifications-tabs a {
  flex: 1; min-height: 40px; padding: 8px 12px; border: 0 !important; border-radius: 10px !important;
  background: transparent !important; color: var(--vz-text-3); font-weight: 700;
}
.viza-redesign .notifications-tabs .active,
.viza-redesign .notifications-tabs [aria-selected="true"] { background: var(--vz-surface-3) !important; color: #fff; box-shadow: var(--vz-shadow-sm); }
.viza-redesign .notification-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 2px;
  border: 0; border-bottom: 1px solid var(--vz-line); background: transparent;
}
.viza-redesign .notification-icon-badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(139,92,246,.13); color: #bca9ff; }
.viza-redesign .notification-content { min-width: 0; }
.viza-redesign .notification-time { margin-top: 4px; color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .notification-link { color: #a8cfff; }
.viza-redesign .notification-menu { position: relative; }
.viza-redesign .notification-menu-dropdown { position: absolute; z-index: 12; top: 50%; right: calc(100% + 12px); display: none; min-width: 132px; padding: 5px; border: 1px solid rgba(148,163,184,.26); border-radius: 10px; background: #1a2132; box-shadow: 0 12px 28px rgba(0,0,0,.38); transform: translateY(-50%); }
.viza-redesign .notification-menu.is-open .notification-menu-dropdown { display: block; }
.viza-redesign .notification-menu-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 36px; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--vz-text-2); font-size: 13px; font-weight: 700; text-align: left; }
.viza-redesign .notification-menu-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.viza-redesign .notification-menu-item--danger { color: #fb7185; }
.viza-redesign .notification-menu-item--danger:hover { background: rgba(251,113,133,.11); color: #fda4af; }
.viza-redesign .notification-menu-item > i { width: 15px; text-align: center; }
.viza-redesign .social-search { position: sticky; top: -18px; z-index: 2; padding: 14px 0; background: #101525; }
.viza-redesign .social-search input,
.viza-redesign .advanced-filter-sheet input,
.viza-redesign .advanced-filter-sheet select {
  width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--vz-line); border-radius: 12px;
  background: var(--vz-bg-raised); color: var(--vz-text); outline: none;
}
.viza-redesign .social-search input:focus,
.viza-redesign .advanced-filter-sheet input:focus,
.viza-redesign .advanced-filter-sheet select:focus { border-color: var(--vz-violet); box-shadow: 0 0 0 4px rgba(139,92,246,.12); }
.viza-redesign .social-follows-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.viza-redesign .social-follows-add {
  flex: 0 0 40px;
  border: 1px solid rgba(196,181,253,.72);
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  box-shadow: 0 7px 18px rgba(139,92,246,.32);
}
.viza-redesign .social-follows-add:hover {
  border-color: rgba(233,213,255,.9);
  background: linear-gradient(135deg, #9b70ff, #b76cff);
  color: #fff;
}
.viza-redesign .social-follow-list .notification-item { grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; min-height: 66px; padding: 10px 2px; }
.viza-redesign .social-follow-item-main { display: block; min-width: 0; }
.viza-redesign .social-follow-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--vz-avatar-gradient); color: #fff; font-size: 15px; font-weight: 800; }
.viza-redesign .social-follow-meta { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; }
.viza-redesign .social-follow-username,
.viza-redesign .social-follow-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .social-follow-username { color: var(--vz-text); font-weight: 750; }
.viza-redesign .social-follow-name { color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .social-follow-actions { display: flex; align-items: center; gap: 6px; }
.viza-redesign .social-follow-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(139,92,246,.3); border-radius: 50%; background: rgba(139,92,246,.12); color: #c6b8ff; }

/* Connections uses the same sheet anatomy as Inbox, but legacy notification
   tab/search rules are more specific. Keep this popup self-contained. */
.viza-redesign #social-follows-overlay .social-sheet {
  display: flex; flex-direction: column; overflow: hidden;
  background: #202638; border: 1px solid #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.58);
}
.viza-redesign #social-follows-overlay .social-follow-list .notification-item { border-radius: 12px; }
.viza-redesign #social-follows-overlay .social-follow-list .notification-item:focus-within { background: #322b4d; }
@media (hover: hover) {
  .viza-redesign #social-follows-overlay .social-follow-list .notification-item:hover { background: #322b4d; }
}
@media (min-width: 960px) {
  .viza-redesign #social-follows-overlay .social-follow-list .notification-item { min-height: 62px; padding: 10px 4px; }
  .viza-redesign #social-follows-overlay .social-follow-username { font-size: 13px; line-height: 1.45; }
}
.viza-redesign #social-follows-overlay .social-connections-tabs { flex: 0 0 auto; }
.viza-redesign #social-follows-overlay .social-follows-views {
  display: flex; flex: 1 1 auto; min-height: 0; overflow: hidden;
}
.viza-redesign #social-follows-overlay .social-follows-views > .notifications-body {
  display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden;
}
.viza-redesign #social-follows-overlay #social-recommended-view .social-follow-list {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin;
}
.viza-redesign #social-follows-overlay .notifications-header {
  flex: 0 0 auto; margin: 0 0 12px;
}
.viza-redesign #social-follows-overlay .notifications-header-left {
  display: flex; align-items: center; flex: 1 1 auto; gap: 8px; min-width: 0;
}
.viza-redesign #social-follows-overlay .notifications-header-left h3 {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.viza-redesign #social-follows-overlay .notifications-back {
  display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2);
}
.viza-redesign #social-follows-overlay .notifications-back:hover { background: rgba(255,255,255,.07); color: #fff; }
.viza-redesign #social-follows-overlay .notifications-back.hidden { display: none !important; }
.viza-redesign #social-follows-overlay .notifications-body { min-height: 0; overflow-y: auto; }
.viza-redesign #social-follows-overlay .notifications-tabs {
  flex: 0 0 auto; margin: 0 0 12px; padding: 4px; overflow: visible;
}
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn {
  position: relative; min-height: 42px; line-height: 1.2;
}
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn::after { display: none !important; }
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn.is-active {
  background: var(--vz-secondary-selection) !important; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--vz-shadow-sm);
}
.viza-redesign #social-follows-overlay .social-search {
  position: relative; top: auto; z-index: 1; flex: 0 0 auto; margin: 0 0 10px; padding: 0; background: transparent;
}
.viza-redesign #social-follows-overlay .social-search input {
  min-height: 46px; padding: 0 80px 0 14px; border-radius: 14px; appearance: none;
  background: #070b16; border-color: rgba(184,194,225,.22);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.22);
}
.viza-redesign #social-follows-overlay :is(.social-search input,.social-invite-form input,.social-invite-form textarea)::placeholder { color: #9299aa; }
.viza-redesign #social-follows-overlay :is(.social-search input,.social-invite-form input,.social-invite-form textarea):focus { outline: none; border-color: #b294ff; box-shadow: 0 0 0 2px rgba(178,148,255,.16); }
.viza-redesign #social-follows-overlay .social-search .search-clear {
  position: absolute; top: 50%; right: 42px; display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--vz-text-3); transform: translateY(-50%);
}
.viza-redesign #social-follows-overlay .social-search :is(.search-clear,.search-btn):is(:hover,:focus-visible) { background: rgba(255,255,255,.08); color: #fff; }
.viza-redesign #social-follows-overlay .social-search .search-clear.hidden { display: none; }
.viza-redesign #social-follows-overlay .social-search .search-btn {
  position: absolute; top: 50%; right: 4px; left: auto; display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2);
  transform: translateY(-50%);
}
.viza-redesign #social-follows-overlay .social-list-loading {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 6px 2px 10px;
  color: var(--vz-text-3); font-size: 13px;
}
.viza-redesign #social-follows-overlay .social-list-loading.hidden { display: none; }
.viza-redesign #social-follows-overlay .social-follow-btn.following {
  border-color: rgba(148,163,184,.38); background: rgba(148,163,184,.16); color: #cbd5e1; cursor: default;
}

/* Inbox and direct messages */
.viza-redesign #notifications-overlay .notifications-sheet {
  display: flex; flex-direction: column; height: min(88svh,760px); max-height: min(88svh,760px); overflow: hidden;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border: 1px solid #fff;
  background: #202638; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.58);
}
.viza-redesign #notifications-overlay .bottom-sheet-grabber { flex: 0 0 auto; }
.viza-redesign #notifications-overlay .inbox-header { flex: 0 0 auto; min-height: 44px; margin: 0 0 10px; }
.viza-redesign #notifications-overlay .notifications-header-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.viza-redesign #notifications-overlay .notifications-header-right { flex: 0 0 auto; }
.viza-redesign #notifications-overlay .notifications-settings-btn { width: 38px; height: 38px; background: transparent; color: var(--vz-text-3); }
.viza-redesign #notifications-overlay .notifications-settings-btn:hover { background: rgba(255,255,255,.07); color: #fff; }
.viza-redesign #notifications-overlay .inbox-mark-read-link { margin-left: auto; color: #b8a8ff; font-size: 12px; }
.viza-redesign #notifications-overlay .notifications-tabs { flex: 0 0 auto; margin-bottom: 10px; }
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn { min-height: 38px; }
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn { display: inline-flex; justify-content: center; align-items: center; gap: 5px; }
.viza-redesign #notifications-overlay .inbox-tab-dot {
  position: relative; top: -5px; width: 8px; height: 8px; margin-right: -13px; flex: 0 0 auto;
  border-radius: 50%; background: #ef4444; pointer-events: none;
}
.viza-redesign #notifications-overlay .inbox-tab-dot.hidden { display: none; }
.viza-redesign #notifications-overlay .notifications-tabs .active,
.viza-redesign #notifications-overlay .notifications-tabs [aria-selected="true"] {
  background: var(--vz-secondary-selection) !important; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--vz-shadow-sm);
}
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn:focus { outline: 0; box-shadow: none; }
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn:focus-visible { box-shadow: inset 0 0 0 2px rgba(167,139,250,.72); }
.viza-redesign #notifications-overlay.is-messages-thread .notifications-tabs { display: none; }
.viza-redesign #notifications-overlay .notifications-body,
.viza-redesign #notifications-overlay #notifications-list-view,
.viza-redesign #notifications-overlay #messages-list-view,
.viza-redesign #notifications-overlay #messages-thread-view {
  display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; overflow: hidden;
}
.viza-redesign #notifications-overlay.is-messages-list .notifications-sheet > .notifications-body:not(.messages-body):not(.messages-thread-view),
.viza-redesign #notifications-overlay.is-messages-thread .notifications-sheet > .notifications-body:not(.messages-body):not(.messages-thread-view) { flex: 0 0 auto; overflow: visible; }
.viza-redesign #notifications-overlay #notifications-list,
.viza-redesign #notifications-overlay #messages-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; scrollbar-width: thin; }
.viza-redesign #notifications-overlay .social-search { position: relative; top: auto; flex: 0 0 auto; margin: 0 0 10px; padding: 0; background: transparent; }
.viza-redesign #notifications-overlay .social-search input {
  min-height: 46px; padding: 0 80px 0 14px; border-color: rgba(184,194,225,.22); border-radius: 14px;
  background: #070b16; box-shadow: inset 0 1px 3px rgba(0,0,0,.22); color: var(--vz-text); appearance: none;
}
.viza-redesign #notifications-overlay .social-search input::placeholder { color: #9299aa; }
.viza-redesign #notifications-overlay .social-search input:focus { outline: none; border-color: #b294ff; box-shadow: 0 0 0 2px rgba(178,148,255,.16); }
.viza-redesign #notifications-overlay .social-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .55; }
.viza-redesign #notifications-overlay .social-search .search-btn {
  position: absolute; z-index: 1; top: 50%; right: 4px; left: auto; display: grid; place-items: center; width: 32px; height: 32px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2); transform: translateY(-50%);
}
.viza-redesign #notifications-overlay .social-search .search-btn:is(:hover,:focus-visible) { background: rgba(255,255,255,.08); color: #fff; }
@media (min-width: 960px) {
  .viza-redesign #notifications-overlay #notifications-list .notification-item { min-height: 62px; padding: 10px 4px; }
  .viza-redesign #notifications-overlay #notifications-list .notification-message { font-size: 13px; line-height: 1.45; }
}
.viza-redesign #notifications-overlay #notifications-list .notification-item.is-unread,
.viza-redesign #notifications-overlay #messages-list .notification-item.is-unread {
  background: rgba(2,6,23,.42);
  border-radius: 12px;
  box-shadow: inset 3px 0 0 #fb7185;
}
.viza-redesign #notifications-overlay #notifications-list .notification-item.is-unread .notification-message,
.viza-redesign #notifications-overlay #messages-list .notification-item.is-unread .social-follow-username {
  color: #fff;
  font-weight: 750;
}
.viza-redesign #notifications-overlay #messages-list .notification-item {
  grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; min-height: 68px; padding: 10px 4px;
  border-bottom-color: rgba(148,163,184,.14); border-radius: 12px; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.viza-redesign #notifications-overlay #notifications-list .notification-item,
.viza-redesign #notifications-overlay #messages-list .notification-item { border-radius: 12px; }
.viza-redesign #notifications-overlay #notifications-list .notification-item:focus-within,
.viza-redesign #notifications-overlay #messages-list .notification-item:focus-within { background: #322b4d; }
@media (hover: hover) {
  .viza-redesign #notifications-overlay #notifications-list .notification-item:hover,
  .viza-redesign #notifications-overlay #messages-list .notification-item:hover { background: #322b4d; }
  .viza-redesign #notifications-overlay .notification-menu-toggle:hover { background: #453660; color: #b294ff; }
}
.viza-redesign #notifications-overlay .notification-menu-toggle:focus-visible { outline: 2px solid #b294ff; outline-offset: 2px; }
.viza-redesign #notifications-overlay .notification-menu-dropdown {
  top: 0; right: calc(100% + 8px); transform: none;
  min-width: 180px; padding: 6px; border-radius: 12px;
  background: #202638; border-color: rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px rgba(0,0,0,.5);
}
.viza-redesign #notifications-overlay .notification-menu.opens-up .notification-menu-dropdown { top: auto; bottom: 0; }
.viza-redesign #notifications-overlay .notification-menu-item,
.viza-redesign #notifications-overlay #messages-list .message-conversation-delete-btn {
  min-height: 44px; padding: 10px 12px; border-radius: 8px; color: #e2e5ef;
}
.viza-redesign #notifications-overlay .notification-menu-item--danger,
.viza-redesign #notifications-overlay #messages-list .message-conversation-delete-btn { color: #fb7185; }
.viza-redesign #notifications-overlay .notification-menu-item + .notification-menu-item--danger {
  margin-top: 5px; border-top: 1px solid var(--vz-line); border-radius: 0 0 8px 8px;
}
.viza-redesign #notifications-overlay .notification-menu-item:focus-visible { outline: 2px solid #b294ff; outline-offset: -2px; }
@media (hover: hover) {
  .viza-redesign #notifications-overlay .notification-menu-item:hover { background: #322b4d; color: #fff; }
  .viza-redesign #notifications-overlay .notification-menu-item:hover i { color: #b294ff; }
  .viza-redesign #notifications-overlay .notification-menu-item--danger:hover { background: rgba(251,113,133,.11); color: #fda4af; }
  .viza-redesign #notifications-overlay .notification-menu-item--danger:hover i { color: inherit; }
}
.viza-redesign #notifications-overlay #messages-list .social-follow-avatar { width: 42px; height: 42px; flex-basis: 42px; }
.viza-redesign #notifications-overlay #messages-list .social-follow-meta { gap: 4px; }
.viza-redesign #notifications-overlay #messages-list .social-follow-username { font-size: 14px; font-weight: 800; }
.viza-redesign #notifications-overlay #messages-list .social-follow-name { color: var(--vz-text-3); font-size: 12px; }
.viza-redesign #notifications-overlay #messages-list .message-conversation-delete-btn {
  width: 100%; min-height: 36px; height: auto; padding: 7px 10px; border: 0; background: transparent; color: #fb7185; font-size: 13px;
}
.viza-redesign #notifications-overlay #messages-list .message-conversation-delete-btn:hover { background: rgba(251,113,133,.11); color: #fda4af; }
.viza-redesign #notifications-overlay .messages-thread-header {
  position: relative; flex: 0 0 auto; min-height: 54px; margin: 0; padding: 4px 0 10px;
  border-bottom: 1px solid rgba(148,163,184,.14); background: transparent;
}
.viza-redesign #notifications-overlay .notifications-back {
  display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2);
}
.viza-redesign #notifications-overlay .notifications-back:hover { background: rgba(255,255,255,.07); color: #fff; }
.viza-redesign #notifications-overlay .messages-thread-avatar-wrap { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; }
.viza-redesign #notifications-overlay .messages-thread-avatar-wrap .social-follow-avatar { width: 38px; height: 38px; }
.viza-redesign #notifications-overlay .messages-title-block { min-width: 0; }
.viza-redesign #notifications-overlay .messages-title { max-width: 280px; margin: 0; overflow: hidden; color: var(--vz-text); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign #notifications-overlay .messages-title-link { color: inherit; }
.viza-redesign #notifications-overlay .messages-thread-subtitle { display: block; max-width: 280px; margin-top: 2px; overflow: hidden; color: var(--vz-text-3); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign #notifications-overlay .messages-header-actions { margin-left: auto; }
.viza-redesign #messages-thread-menu .notification-menu-toggle { width: 38px; height: 38px; background: transparent; }
.viza-redesign #messages-thread-menu .notification-menu-dropdown {
  top: calc(100% + 8px);
  right: calc(100% + 12px);
  min-width: 184px;
  padding: 6px;
  transform: none;
}
.viza-redesign #messages-thread-menu .notification-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 8px 11px;
  white-space: nowrap;
}
.viza-redesign #messages-thread-menu .notification-menu-item > i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
}
@media (max-width: 480px) {
  .viza-redesign .notification-menu-dropdown {
    top: calc(100% + 8px);
    right: 0;
    transform: none;
  }
  .viza-redesign #messages-thread-menu .notification-menu-dropdown {
    top: calc(100% + 8px);
    right: 0;
    transform: none;
  }
}
.viza-redesign #notifications-overlay .messages-thread-list {
  display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 6px; overflow-y: auto;
  padding: 14px 2px 12px; overscroll-behavior: contain; scrollbar-width: thin;
}
.viza-redesign #notifications-overlay .message-time-separator { display: flex; align-items: center; justify-content: center; gap: 12px; align-self: stretch; margin: 12px 0 6px; color: #9299aa; font-size: 11px; }
.viza-redesign #notifications-overlay .message-time-separator::before,
.viza-redesign #notifications-overlay .message-time-separator::after { content: ""; width: 52px; height: 1px; background: var(--vz-line-strong); }
.viza-redesign #notifications-overlay .message-bubble-row { display: flex; align-items: flex-end; gap: 7px; }
.viza-redesign #notifications-overlay .message-bubble-row.is-me { justify-content: flex-end; }
.viza-redesign #notifications-overlay .message-bubble-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px;
  border-radius: 50%; background: rgba(139,92,246,.18); color: #c4b5fd; font-size: 10px; font-weight: 800;
}
.viza-redesign #notifications-overlay .message-bubble {
  padding: 10px 12px; border: 0; border-radius: 14px;
  background: #181e32; color: var(--vz-text); font-size: 14px; line-height: 1.38; overflow-wrap: anywhere;
}
.viza-redesign #notifications-overlay .message-bubble.is-me {
  background: #6545c0; color: #fff;
}
.viza-redesign #notifications-overlay .messages-thread-actions {
  display: grid; grid-template-columns: minmax(0,1fr) 46px; align-items: end; flex: 0 0 auto; gap: 8px;
  margin-top: 0; padding: 10px 0 0; border-top: 1px solid rgba(148,163,184,.14); background: transparent;
}
.viza-redesign #notifications-overlay .messages-thread-actions textarea {
  width: 100%; min-height: 46px; max-height: 120px; padding: 12px 14px; resize: none; overflow-y: auto;
  border: 1px solid rgba(148,163,184,.24); border-radius: 15px; background: rgba(4,8,18,.7); color: var(--vz-text); font: inherit; line-height: 1.35;
}
.viza-redesign #notifications-overlay .messages-thread-actions textarea:focus { outline: 0; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.viza-redesign #notifications-overlay .messages-thread-send-btn { width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 14px; }

/* Desktop Credits and Stripe Embedded Checkout sheet */
.viza-redesign .credits-popup-overlay {
  position: fixed; z-index: 1160; inset: 0; background: rgba(2,5,12,.66); backdrop-filter: blur(8px);
}
.viza-redesign .credits-popup-sheet {
  position: absolute; top: calc(var(--header-height-desktop) + 12px); right: 18px;
  display: flex; width: min(470px,calc(100vw - 36px)); height: calc(100svh - var(--header-height-desktop) - 30px);
  max-height: 900px; flex-direction: column; overflow: hidden; border: 1px solid #fff; border-radius: 24px;
  background: #202638; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.58);
}
.viza-redesign .credits-popup-header {
  display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto;
  padding: 15px 18px 14px 22px; border-bottom: 1px solid var(--vz-line); background: transparent;
}
.viza-redesign .credits-popup-header h2 { margin: 0; color: var(--vz-text); font-size: 23px; letter-spacing: -.025em; }
.viza-redesign .credits-popup-header p { margin: 3px 0 0; color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .credits-popup-checkout-header-back { display: none; }
.viza-redesign .credits-popup-body,
.viza-redesign .credits-popup-checkout { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 14px 14px 20px; overscroll-behavior: contain; }
.viza-redesign .credits-popup-content { width: 100%; }
.viza-redesign .credits-popup-content .credits-temp-tabs { position: static; margin: 0 0 10px; }
.viza-redesign .credits-popup-content .settings-panel {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.viza-redesign .credits-popup-content .credits-temp-balance-card {
  display: grid; grid-template-columns: minmax(120px,.85fr) minmax(0,1.35fr); align-items: center; gap: 14px;
  margin-bottom: 14px; padding: 13px 14px !important; border-radius: 16px !important;
}
.viza-redesign .credits-popup-content .credits-temp-balance-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 0;
  border: 0;
}
.viza-redesign .credits-popup-content .credits-temp-balance-label {
  margin-bottom: 4px; color: var(--vz-text-3); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
}
.viza-redesign .credits-popup-content .credits-temp-balance-number { display: inline-flex; align-items: baseline; gap: 6px; font-size: 31px !important; line-height: 1; }
.viza-redesign .credits-popup-content .credits-temp-balance-number small { color: var(--vz-text-2); font-size: 12px; font-weight: 650; }
.viza-redesign .credits-popup-content .credits-balance-icon { display: none; }
.viza-redesign .credits-popup-content .credits-temp-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 !important; }
.viza-redesign .credits-popup-content .credits-temp-summary-item { min-width: 0; padding: 2px 10px; border: 0; border-radius: 0; background: transparent; }
.viza-redesign .credits-popup-content .credits-temp-summary-item + .credits-temp-summary-item { border-left: 1px solid rgba(255,255,255,.12); }
.viza-redesign .credits-popup-content .credits-temp-summary-name { margin-bottom: 3px; font-size: 10px; letter-spacing: .09em; }
.viza-redesign .credits-popup-content .credits-temp-summary-value { font-size: 19px; }
.viza-redesign .credits-popup-content .credits-temp-summary-exp { display: block; margin: 1px 0 0; overflow: visible; color: var(--vz-text-3); font-size: 10px; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.viza-redesign .credits-popup-content .credits-temp-dot {
  display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
}
.viza-redesign .credits-popup-content .credits-temp-dot.monthly { background: #818cf8; }
.viza-redesign .credits-popup-content .credits-temp-dot.reserve { background: #34d399; }
.viza-redesign .credits-popup-content .credits-temp-summary-name { gap: 6px; }
.viza-redesign .credits-popup-content .credits-temp-pro-hero { margin-top: 0; }
.viza-redesign .credits-popup-content .credits-temp-pro-hero h2 { margin: 0 0 4px; }
.viza-redesign .credits-popup-content .credits-temp-subscribe-btn { width: 100%; margin-top: 14px; cursor: pointer; }
.viza-redesign .credits-popup-content .credits-temp-plan-compare { margin-top: 14px; padding: 0; overflow: hidden; }
.viza-redesign .credits-popup-content .credits-temp-plan-compare > .credits-temp-balance-label { margin: 0; padding: 11px 12px 8px; }
.viza-redesign .credits-popup-content .cta-grid-credits { gap: 12px; }
.viza-redesign .credits-popup-content .credits-card { min-height: 198px; padding: 18px !important; }
.viza-redesign .credits-popup-content .credits-card::after { top: 18px; right: 16px; font-size: 20px; }
.viza-redesign .credits-popup-content .credits-card .credits-amount { padding-right: 32px; font-size: 38px; }
.viza-redesign .credits-popup-content .credits-plan-table,
.viza-redesign .credits-popup-content .transactions-table { min-width: 0; table-layout: fixed; }
.viza-redesign .credits-popup-content .credits-plan-table th:first-child,
.viza-redesign .credits-popup-content .credits-plan-table td:first-child { width: 50%; }
.viza-redesign .credits-popup-content .credits-plan-table col.col-feature { width: 50%; }
.viza-redesign .credits-popup-content .credits-plan-table col.col-basic,
.viza-redesign .credits-popup-content .credits-plan-table col.col-pro { width: 25%; }
.viza-redesign .credits-popup-content .transactions-table th:first-child,
.viza-redesign .credits-popup-content .transactions-table td:first-child { width: 28%; }
.viza-redesign .credits-popup-content .transactions-table th:last-child,
.viza-redesign .credits-popup-content .transactions-table td:last-child { width: 18%; text-align: right; }
.viza-redesign .credits-popup-content .credits-section-heading { margin: 12px 0 10px; }
.viza-redesign .credits-popup-content .credits-section-heading .form-sub-header { font-size: 21px; }
.viza-redesign .credits-popup-content .transactions-wrapper { margin-top: 0; overflow-x: hidden; }
.viza-redesign .credits-popup-content .transactions-table { width: 100%; font-size: 12px; }
.viza-redesign .credits-popup-content .transactions-table th,
.viza-redesign .credits-popup-content .transactions-table td { padding: 11px 10px; }
.viza-redesign .credits-popup-content .transactions-table th { font-size: 10px; letter-spacing: .055em; }
.viza-redesign .credits-popup-content .transactions-table th:first-child,
.viza-redesign .credits-popup-content .transactions-table td:first-child { width: 27%; white-space: nowrap; }
.viza-redesign .credits-popup-content .transactions-table th:nth-child(2),
.viza-redesign .credits-popup-content .transactions-table td:nth-child(2) { width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .credits-popup-content .transactions-table th:last-child,
.viza-redesign .credits-popup-content .transactions-table td:last-child { width: 18%; white-space: nowrap; }
.viza-redesign .credits-balance-icon { color: #818cf8; font-size: 24px; }
.viza-redesign .credits-popup-link-button {
  padding: 0; border: 0; background: transparent; color: #b9a9ff; font: inherit; font-weight: 750; cursor: pointer;
}
.viza-redesign .credits-popup-link-button:hover { color: #fff; }
.viza-redesign .credits-disclosure { max-width: 64ch; margin: 20px auto 0; color: var(--vz-text-3); font-size: 12px; line-height: 1.5; }
.viza-redesign .credits-content--page .credits-disclosure { width: 100%; max-width: none; text-align: center; white-space: nowrap; }
.viza-redesign .credits-disclosure a { color: #b9a9ff; }
.viza-redesign .credits-disclosure p { margin: 0; }
.viza-redesign .credits-disclosure p + p { margin-top: 8px; }
.viza-redesign .credits-billing-provider { color: var(--vz-text-2); }
.viza-redesign .credits-billing-provider.web-only { display: block; }
.viza-redesign .credits-billing-provider.android-only,
.viza-redesign .credits-billing-provider.ios-only { display: none; }
html.android-webview .viza-redesign .credits-billing-provider.web-only,
html.ios-webview .viza-redesign .credits-billing-provider.web-only { display: none !important; }
html.android-webview .viza-redesign .credits-billing-provider.android-only,
html.ios-webview .viza-redesign .credits-billing-provider.ios-only { display: block; }
.viza-redesign .credits-popup-loading,
.viza-redesign .credits-popup-status {
  display: flex; min-height: 300px; align-items: center; justify-content: center; gap: 12px; flex: 1 1 auto;
  padding: 32px; color: var(--vz-text-2); text-align: center;
}
.viza-redesign .credits-popup-status { flex-direction: column; font-size: 16px; }
.viza-redesign .credits-popup-status > i { color: #a78bfa; font-size: 34px; }
.viza-redesign .credits-popup-status.is-success > i { color: var(--vz-green); }
.viza-redesign .credits-popup-status.is-error > i { color: var(--vz-danger); }
.viza-redesign .credits-popup-status p { max-width: 40ch; margin: 0; }
.viza-redesign .credits-popup-done { min-width: 150px; margin-top: 10px; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-sheet {
  border-color: #d8dee9; background: #fff;
}
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-header {
  min-height: 54px; padding: 0 12px 0 16px; border-bottom-color: #e5e9f0; background: #f4f6f9;
}
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-header-copy { display: none; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-checkout-header-back {
  display: inline-flex; min-width: 0; min-height: 40px; align-items: center; gap: 10px; padding: 0 8px;
  border: 0; border-radius: 9px; background: transparent; color: #475569; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-checkout-header-back:hover { background: #e9edf3; color: #111827; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-checkout-header-back i { color: #64748b; font-size: 13px; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-close { color: #94a3b8; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-close:hover { background: #e9edf3; color: #475569; }
.viza-redesign .credits-popup-overlay.is-checkout .credits-popup-close {
  width: 36px; height: 36px; border: 0; border-radius: 9px; box-shadow: none;
}
.viza-redesign .credits-popup-checkout { padding: 0; background: #fff; }
.viza-redesign .credits-popup-checkout [data-stripe-checkout-mount] { width: 100%; min-height: 100%; margin: 0; background: #fff; }
.viza-redesign .credits-popup-empty { color: var(--vz-text-3); text-align: center !important; }

@media (max-width: 959px) {
  .viza-redesign .credits-popup-overlay { display: none !important; }
}


/* Logged-in home: editorial discovery instead of stacked legacy rows. */
.viza-redesign main.home {
  width: min(100%, var(--vz-content)); margin: 0 auto; padding: 14px 14px 36px;
}
.viza-redesign .hero {
  position: relative; isolation: isolate; display: grid; min-height: clamp(390px, 62vh, 540px);
  overflow: hidden; border: 1px solid var(--vz-line); border-radius: var(--vz-radius-lg);
  background: #11172a; box-shadow: var(--vz-shadow-lg);
}
.viza-redesign.home-logged-in .hero {
  /* Keep the familiar hero composition while exposing about 30% more home content. */
  min-height: var(--vz-discovery-hero-height);
}
.viza-redesign .hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(0deg, #080b14 0%, rgba(8,11,20,.62) 42%, rgba(8,11,20,.05) 72%);
}
.viza-redesign .hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.viza-redesign .hero-media img,
.viza-redesign .hero-media video,
.viza-redesign .hero-video-wrapper--aidols,
.viza-redesign .hero-aidols-stack { width: 100%; height: 100%; object-fit: cover; }
.viza-redesign .hero-content {
  position: relative; z-index: 3; align-self: end; max-width: 720px;
  padding: clamp(24px, 6vw, 72px) clamp(20px, 5vw, 64px);
}
.viza-redesign .hero-title { max-width: 13ch; margin-bottom: 12px; font-size: clamp(37px, 7vw, 68px); line-height: .98; }
.viza-redesign .hero-subtitle { max-width: 55ch; margin-bottom: 22px; color: #eef1fb; font-size: clamp(18px, 2.2vw, 23px); font-weight: 700; }
.viza-redesign .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.viza-redesign .hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 20px;
  border: 0; border-radius: 14px; background: #fff; color: #080a11; font-weight: 800; box-shadow: var(--vz-shadow-sm);
}
.viza-redesign .hero-cta + .hero-cta { border: 1px solid rgba(255,255,255,.23); background: rgba(10,13,24,.62); color: #fff; backdrop-filter: blur(14px); }
.viza-redesign.home-logged-in .hero-actions .hero-cta {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .viza-redesign.home-logged-in .hero-actions .hero-cta:hover {
    background: #ede9fe;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109,93,252,.28);
  }
  .viza-redesign.home-logged-in .hero-actions .hero-cta-secondary:hover {
    background: rgba(109,93,252,.25);
    border-color: var(--vz-violet);
  }
}
.viza-redesign.home-logged-in .hero-actions .hero-cta:focus-visible {
  outline: 2px solid var(--vz-violet);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .viza-redesign.home-logged-in .hero-actions .hero-cta { transition: none; }
  .viza-redesign.home-logged-in .hero-actions .hero-cta:hover { transform: none; }
}
.viza-redesign .hero-aidols-link {
  position: absolute; right: 16px; bottom: 16px; display: none; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  background: rgba(8,11,20,.62); color: #fff; font-weight: 700; backdrop-filter: blur(14px);
}
.viza-redesign .hero-mobile-template-link {
  display: inline-flex; width: 100%; min-width: 0; max-width: 100%; align-items: center; gap: 8px; margin-top: 13px; color: rgba(255,255,255,.82);
  font-size: 13px; font-weight: 700;
}
.viza-redesign .hero-mobile-template-link span {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.viza-redesign .hero-video-link { position: absolute; z-index: 2; inset: 0; }
.viza-redesign .home-section { margin-top: 38px; }
.viza-redesign .home-section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 0 2px; }
.viza-redesign .carousel-heading { margin: 0; font-size: clamp(22px,4vw,32px); }
.viza-redesign .home-section-see-all { color: var(--vz-text-2); font-weight: 700; white-space: nowrap; }
.viza-redesign .home-section-see-all:hover { color: var(--vz-cyan); }
.viza-redesign .home-section-icon-btn,
.viza-redesign .carousel-arrow {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--vz-line); border-radius: 12px; background: var(--vz-surface); color: var(--vz-text-2); cursor: pointer;
}
.viza-redesign .home-section-icon-btn:hover,
.viza-redesign .carousel-arrow:hover { border-color: var(--vz-line-strong); background: var(--vz-surface-3); color: #fff; }
.viza-redesign .home-section-icon-btn.is-active { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.18); color: #c8baff; }
.viza-redesign .carousel-arrow + .carousel-arrow { margin-left: 6px; }
.viza-redesign .recommended-jingles-list,
.viza-redesign .home-collections-list,
.viza-redesign .home-following-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(166px, 72vw); gap: 13px;
  overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: none;
}
.viza-redesign .recommended-jingles-list::-webkit-scrollbar,
.viza-redesign .home-collections-list::-webkit-scrollbar,
.viza-redesign .home-following-list::-webkit-scrollbar { display: none; }
.viza-redesign .home-card-skeleton {
  min-height: 255px;
  border-radius: 18px;
  background: linear-gradient(110deg, var(--vz-surface-2) 15%, var(--vz-surface-3) 45%, var(--vz-surface-2) 75%);
  background-size: 200% 100%;
  animation: vs-home-card-skeleton 1.6s ease-in-out infinite;
}
@keyframes vs-home-card-skeleton {
  to { background-position-x: -200%; }
}
@media (prefers-reduced-motion: reduce) {
  .viza-redesign .home-card-skeleton { animation: none; }
}

/* Shared Create choices: a gentle lift from the sheet, including nested steps. */
.viza-redesign #director-create-entry-overlay .director-create-entry-option {
  background: #1a2336;
}
.viza-redesign #director-create-entry-overlay .director-create-entry-option:hover,
.viza-redesign #director-create-entry-overlay .director-create-entry-option:focus-visible,
.viza-redesign #director-create-entry-overlay .director-create-entry-option:focus-within {
  background: #202b40;
}

/* Product image drop area: a distinct, soft upload surface inside the sheet. */
.viza-redesign #director-create-entry-overlay .director-entry-product-upload {
  min-height: 164px; box-sizing: border-box; padding: 24px 18px; gap: 14px;
  border: 1px dashed rgba(196,181,253,.58); border-radius: 18px;
  background: linear-gradient(145deg,rgba(139,92,246,.12),rgba(139,92,246,.035));
  color: #ede9fe; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.viza-redesign #director-create-entry-overlay .director-entry-product-upload > span {
  width: 58px; height: 58px; border: 1px solid rgba(196,181,253,.25);
  border-radius: 18px; background: rgba(139,92,246,.18); color: #d5c8ff;
  box-shadow: 0 8px 20px rgba(8,10,22,.18);
}
.viza-redesign #director-create-entry-overlay .director-entry-product-upload > span i { font-size: 23px; }
.viza-redesign #director-create-entry-overlay .director-entry-product-upload strong { font-size: 15px; font-weight: 750; }
.viza-redesign #director-create-entry-overlay .director-entry-product-upload:hover,
.viza-redesign #director-create-entry-overlay .director-entry-product-upload:focus-within,
.viza-redesign #director-create-entry-overlay .director-entry-product-upload.is-dragging {
  border-color: #ddd6fe; background: rgba(139,92,246,.18); color: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,.10); transform: none;
}
.viza-redesign #director-create-entry-overlay .director-entry-product-upload.has-image {
  min-height: 112px; padding: 12px 16px; text-align: left;
}
/* Inbox, Connections, and Media Kit share this quiet text-tab treatment. */
.viza-redesign #notifications-overlay .notifications-tabs,
.viza-redesign #social-follows-overlay .notifications-tabs,
.viza-redesign #media-kit-overlay .media-kit-tabs,
.viza-redesign .popup-text-tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  padding: 0; border: 0; border-bottom: 1px solid var(--vz-line); border-radius: 0;
  background: transparent;
}
.viza-redesign #social-follows-overlay .notifications-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.viza-redesign #social-follows-overlay .social-tab-label-mobile { display: none; }
@media (max-width: 767px) {
  .viza-redesign #social-follows-overlay :is(.social-tab-count, .social-tab-label-desktop) { display: none; }
  .viza-redesign #social-follows-overlay .social-tab-label-mobile { display: inline; }
}
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn,
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn,
.viza-redesign #media-kit-overlay .media-kit-tabs .segment-btn,
.viza-redesign .popup-text-tabs .segment-btn {
  position: relative; min-height: 42px; padding: 0 3px 10px; border: 0; border-radius: 0;
  background: transparent !important; box-shadow: none !important; color: var(--vz-text-3);
  font-size: 13px; font-weight: 750;
}
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn.is-active,
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn.is-active,
.viza-redesign #media-kit-overlay .media-kit-tabs .segment-btn.is-active,
.viza-redesign .popup-text-tabs .segment-btn.is-active {
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff;
}
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn.is-active::after,
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn.is-active::after,
.viza-redesign #media-kit-overlay .media-kit-tabs .segment-btn.is-active::after,
.viza-redesign .popup-text-tabs .segment-btn.is-active::after {
  content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px;
  border-radius: 2px; background: var(--vz-gradient); display: block !important;
}
/* Keep template filters on the same typography rule as the popup tabs. */
.viza-redesign #notifications-overlay .notifications-tabs .segment-btn,
.viza-redesign #social-follows-overlay .notifications-tabs .segment-btn,
.viza-redesign #media-kit-overlay .media-kit-tabs .segment-btn,
.viza-redesign #director-create-entry-overlay .director-template-filter-chips button {
  font-family: inherit; font-size: 13px; font-weight: 750;
}
@media (min-width: 960px) {
  .viza-redesign #director-create-entry-overlay .director-template-filter-chips button,
  .viza-redesign #notifications-overlay .notifications-tabs .segment-btn,
  .viza-redesign #social-follows-overlay .notifications-tabs .segment-btn,
  .viza-redesign #media-kit-overlay .media-kit-tabs .segment-btn {
    font-size: 14px;
  }
}
.viza-redesign #social-follows-overlay .notification-item { cursor: pointer; }
.viza-redesign #social-follows-overlay .social-follow-actions { gap: 8px; }
.viza-redesign #social-follows-overlay .social-follow-btn.unfollow,
.viza-redesign #social-follows-overlay .social-follow-btn.message,
.viza-redesign #social-follows-overlay .social-follow-btn.create {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px;
  width: 52px; height: 58px; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--vz-text-2); font-size: 11px; font-weight: 700;
}
.viza-redesign #social-follows-overlay .social-follow-btn.unfollow > i,
.viza-redesign #social-follows-overlay .social-follow-btn.message > i,
.viza-redesign #social-follows-overlay .social-follow-btn.create > i {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(139,92,246,.45);
  border-radius: 50%; background: rgba(139,92,246,.12); color: #cbbfff; font-size: 16px;
}
.viza-redesign #social-follows-overlay .social-follow-btn.create { color: #cdbfff; }
.viza-redesign #social-follows-overlay .social-follow-btn.create > i { border: 0; background: var(--vz-gradient); color: #fff; box-shadow: 0 7px 17px rgba(139,92,246,.28); }
.viza-redesign #social-follows-overlay .social-follow-btn:hover > i { transform: translateY(-1px); }
.viza-redesign #social-follows-overlay .social-follow-action-label { line-height: 1; }
.viza-redesign #social-follows-overlay .social-follow-new-dot { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: var(--vz-danger); vertical-align: middle; }
.viza-redesign #social-follows-overlay .social-follow-list.is-selecting .notification-item.is-selected { background: rgba(139,92,246,.12); box-shadow: inset 0 0 0 1px var(--vz-violet); }
.viza-redesign #social-follows-overlay .social-follow-selection { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid var(--vz-line-strong); border-radius: 50%; color: transparent; }
.viza-redesign #social-follows-overlay .notification-item.is-selected .social-follow-selection { background: var(--vz-violet); border-color: var(--vz-violet); color: #fff; }
.viza-redesign #social-follows-overlay .social-follow-cast-status {
  display: flex; align-items: center; justify-content: center; flex: 0 0 58px; flex-direction: column; gap: 3px;
  min-height: 44px; color: var(--vz-text-3); font-size: 10px; font-weight: 700; line-height: 1.05; text-align: center;
}
.viza-redesign #social-follows-overlay .social-follow-cast-status > i {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 13px;
}
.viza-redesign #social-follows-overlay .social-follow-cast-status.is-available { color: #cdbfff; }
.viza-redesign #social-follows-overlay .social-follow-cast-status.is-available > i { background: var(--vz-gradient); color: #fff; box-shadow: 0 6px 14px rgba(139,92,246,.25); }
.viza-redesign #social-follows-overlay .social-follow-cast-status.is-unavailable { color: #8791a5; }
.viza-redesign #social-follows-overlay .social-follow-cast-status.is-unavailable > i { border: 1px solid rgba(148,163,184,.24); background: rgba(148,163,184,.10); color: #9ba5b7; }
.viza-redesign #social-follows-overlay .social-create-bar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 0 calc(4px + env(safe-area-inset-bottom)); background: linear-gradient(0deg,#0d1220 80%,transparent); }
.viza-redesign #social-follows-overlay .social-create-bar .btn { margin-left: auto; }
.viza-redesign #social-follows-overlay .social-invite-panel { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 14px; padding: 14px; border: 1px solid rgba(139,92,246,.45); border-radius: var(--vz-radius-md); background: rgba(139,92,246,.08); }
.viza-redesign #social-follows-overlay .social-invite-panel > i { color: #b8a8ff; font-size: 20px; }
.viza-redesign #social-follows-overlay .social-invite-panel p,.viza-redesign #social-follows-overlay .social-invite-form p { margin: 4px 0 0; color: var(--vz-text-3); font-size: 12px; line-height: 1.4; }
.viza-redesign #social-follows-overlay .social-invite-panel .btn { grid-column: 2; justify-self: start; margin-top: 4px; }
.viza-redesign #social-follows-overlay .social-invite-form { display: grid; gap: 10px; margin-top: 14px; }
.viza-redesign #social-follows-overlay .social-invite-form label { display: grid; gap: 5px; color: var(--vz-text-2); font-size: 13px; font-weight: 700; }
.viza-redesign #social-follows-overlay .social-invite-form input,.viza-redesign #social-follows-overlay .social-invite-form textarea { width: 100%; min-height: 46px; box-sizing: border-box; padding: 12px 14px; border: 1px solid rgba(184,194,225,.22); border-radius: 14px; background: #070b16; box-shadow: inset 0 1px 3px rgba(0,0,0,.22); color: var(--vz-text); font: inherit; }
.viza-redesign #social-follows-overlay .social-invite-form textarea { min-height: 78px; resize: vertical; }

/* Every Connections tab shares a bounded, independently scrolling results
   area. This keeps the sheet controls in place and prevents wheel events from
   escaping to the page behind the desktop dialog. */
.viza-redesign #social-follows-overlay .social-follow-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.viza-redesign #social-follows-overlay .social-sheet {
  overscroll-behavior: contain;
}

/* Match Inbox on phones: one stable sheet height, with each Connections view
   scrolling inside it instead of resizing the dialog as content changes. */
@media (max-width: 959px) {
  .viza-redesign #social-follows-overlay .social-sheet {
    height: min(88svh, 760px);
    max-height: min(88svh, 760px);
    overflow: hidden;
  }
  .viza-redesign #social-follows-overlay .social-follow-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .viza-redesign #social-follows-overlay #social-recommended-view {
    overflow: hidden;
  }
  .viza-redesign #social-follows-overlay #social-recommended-view .social-follow-list {
    flex: 1 1 auto;
    overflow-y: auto;
  }
  .viza-redesign #social-follows-overlay .social-invite-panel,
  .viza-redesign #social-follows-overlay .social-invite-form {
    flex: 0 0 auto;
  }
}
.viza-redesign .jingle-card,
.viza-redesign .home-collection-card,
.viza-redesign .home-following-card { min-width: 0; scroll-snap-align: start; }
.viza-redesign .jingle-card {
  position: relative; overflow: hidden; border: 1px solid rgba(166,180,214,.24); border-radius: 8px;
  background: #121827; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.viza-redesign .jingle-card:hover,
.viza-redesign .jingle-card:focus-visible { border-color: rgba(196,181,253,.68); box-shadow: 0 16px 34px rgba(0,0,0,.32), 0 0 0 1px rgba(139,92,246,.16); transform: translateY(-2px); }
/* Shared media identity: one quiet border, including mixed feeds and rails. */
.viza-redesign .jingle-card:not(.plus-card) {
  --media-card-line: rgba(139,92,246,.42);
  --media-card-line-hover: rgba(196,181,253,.68);
  --media-card-focus-glow: rgba(139,92,246,.16);
  border-color: var(--media-card-line);
}
.viza-redesign .jingle-card:not(.plus-card):is([data-is-song-only="true"], :has(.carousel-thumb--song)) {
  --media-card-line: rgba(133,177,149,.32);
  --media-card-line-hover: rgba(74,222,128,.42);
  --media-card-focus-glow: rgba(74,222,128,.16);
}
.viza-redesign .jingle-card:not(.plus-card):is(:hover, :focus-visible) {
  border-color: var(--media-card-line-hover);
  box-shadow: 0 16px 34px rgba(0,0,0,.32), 0 0 0 1px var(--media-card-focus-glow);
}
.viza-redesign .carousel-thumb {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #101522;
}
.viza-redesign .carousel-thumb-backdrop {
  position: absolute; z-index: 0; inset: -12%; width: 124%; height: 124%; max-width: none;
  border: 0 !important; border-radius: inherit !important; object-fit: cover; filter: blur(8px) brightness(.58) saturate(.98); transform: scale(1.08);
  pointer-events: none;
}
.viza-redesign .carousel-thumb .video-preview-wrapper {
  position: absolute; z-index: 1; inset: 0; width: auto; height: auto; aspect-ratio: auto; overflow: hidden; border-radius: inherit;
  background: transparent; box-shadow: none;
}
.viza-redesign .carousel-thumb img,
.viza-redesign .carousel-thumb video,
.viza-redesign .video-preview-wrapper img,
.viza-redesign .video-preview-wrapper video { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: inherit !important; object-fit: contain; }
.viza-redesign .carousel-thumb .video-preview-wrapper { border-radius: inherit; }
.viza-redesign .carousel-thumb > .carousel-thumb-backdrop { width: 124%; height: 124%; max-width: none; }
.viza-redesign .carousel-thumb > .carousel-media-poster { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 1; filter: none; }
.viza-redesign .carousel-thumb > .carousel-media-poster--preview { position: absolute; z-index: 2; inset: 0; display: block; transition: opacity .16s ease; }
.viza-redesign .jingle-card.is-preview-playing .carousel-media-poster--preview { opacity: 0; }
.viza-redesign .carousel-info {
  position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; min-width: 0; padding: 64px 12px 11px;
  border-radius: 0 0 8px 8px; background: linear-gradient(180deg,transparent 0%,rgba(3,5,11,.42) 34%,rgba(3,5,11,.94) 100%);
  pointer-events: none;
}
/* Standard song artwork already contains the title and artist. Keep owner-only
   metadata such as time and views, but avoid repeating that artwork copy. */
.viza-redesign .jingle-card.standard-song-cover .carousel-title,
.viza-redesign .jingle-card.standard-song-cover .carousel-meta .username-link,
.viza-redesign .jingle-card.standard-song-cover .carousel-meta .username-link + .list-meta-sep { display: none; }
.viza-redesign .jingle-card.standard-song-cover .carousel-info {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.viza-redesign .carousel-title {
  margin: 0 0 4px; overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; line-height: 1.25;
  text-overflow: ellipsis; text-shadow: 0 2px 12px rgba(0,0,0,.8); white-space: nowrap;
}
.viza-redesign .carousel-meta { color: rgba(238,241,250,.76); font-size: 11px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.viza-redesign .carousel-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden; white-space: nowrap; }
.viza-redesign .carousel-meta .list-meta-primary,
.viza-redesign .carousel-meta .card-meta-primary {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}
.viza-redesign .carousel-meta .list-meta-sep { display: none; }
.viza-redesign .jingle-card .carousel-meta .list-subitem--views { display: none; }
.viza-redesign .jingle-card .carousel-meta .meta-actions { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
.viza-redesign .jingle-card .carousel-meta .meta-actions .views {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  line-height: 1;
  white-space: nowrap;
}
.viza-redesign .jingle-card .carousel-meta .meta-actions .views i { flex: 0 0 auto; }
.viza-redesign .carousel-meta .username-link [role="link"] { pointer-events: auto; }
.viza-redesign .list-metrics { position: absolute; z-index: 4; top: 10px; right: 9px; display: flex; gap: 5px; }
.viza-redesign .list-metric-action { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(5,7,12,.72); color: #fff; backdrop-filter: blur(10px); }
.viza-redesign .list-metric-action.is-disabled { display: none; }
.viza-redesign .carousel-duration-badge { position: absolute; z-index: 5; top: 8px; right: 8px; bottom: auto; padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.72); color: #fff; font-size: 10px; }
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: auto;
  left: 8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(6,8,15,.84);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn:hover,
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn:focus-visible {
  background: rgba(225,29,72,.92);
  color: #fff;
  transform: scale(1.05);
}
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn.is-liked,
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn.is-liked i { color: #b69aff; }
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn i { pointer-events: none; }
.viza-redesign.collection-page .carousel-thumb .collection-remove-btn::before {
  content: "";
  position: absolute;
  inset: -11px;
}
.viza-redesign.collection-page .collection-recommendation-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  color: var(--vz-text-2);
  font-size: 13px;
  text-align: center;
}
.viza-redesign.collection-page .collection-recommendation-note p { margin: 0; }
.viza-redesign .carousel-info .carousel-meta { padding-right: 0; }
.viza-redesign .home-collection-card,
.viza-redesign .home-following-card {
  overflow: hidden; padding: 16px; border: 1px solid var(--vz-line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.viza-redesign .home-following-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.viza-redesign .home-following-avatar--initial { display: grid; place-items: center; background: var(--vz-avatar-gradient); color: #fff; font-weight: 800; }
.viza-redesign .home-following-username { margin-top: 10px; font-weight: 700; }
/* Following is a light-weight people rail, not another wall of content cards. */
.viza-redesign main.home .home-following-list {
  display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 12px;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
.viza-redesign main.home .home-following-card {
  display: inline-flex; flex: 0 0 76px; min-width: 76px; max-width: 76px; flex-direction: column;
  align-items: center; gap: 7px; overflow: visible; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; text-align: center; scroll-snap-align: start;
}
.viza-redesign main.home .home-following-avatar {
  width: 56px; height: 56px; border: 1px solid rgba(148,163,184,.28); box-shadow: 0 7px 18px rgba(0,0,0,.2);
}
.viza-redesign main.home .home-following-avatar--initial { background: var(--vz-avatar-gradient); color: #fff; }
.viza-redesign main.home .home-following-username {
  width: 100%; margin: 0; overflow: hidden; color: var(--vz-text-2); font-size: 11px;
  font-weight: 650; text-overflow: ellipsis; white-space: nowrap;
}
/* Collections are compact square objects, visually distinct from media cards. */
.viza-redesign main.home .home-collections-list {
  display: flex; gap: 15px; overflow-x: auto; padding: 3px 10px 14px 2px;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
.viza-redesign main.home .home-collection-card {
  position: relative; display: block; flex: 0 0 150px; width: 150px; height: 150px; min-width: 150px;
  overflow: visible; padding: 0; border: 1px solid rgba(148,163,184,.24); border-radius: 18px;
  background: #131927; box-shadow: 5px 5px 0 rgba(45,53,74,.54), 0 12px 28px rgba(0,0,0,.22);
  scroll-snap-align: start; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.viza-redesign main.home .home-collection-card:hover {
  border-color: rgba(167,139,250,.62); transform: translateY(-3px);
  box-shadow: 5px 7px 0 rgba(83,65,126,.42), 0 17px 34px rgba(0,0,0,.3);
}
.viza-redesign main.home .home-collection-art {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  border-radius: 17px; background: linear-gradient(145deg,#20283a,#121725);
}
.viza-redesign main.home .home-collection-cover,
.viza-redesign main.home .home-collection-cover img { width: 100%; height: 100%; }
.viza-redesign main.home .home-collection-cover img { display: block; object-fit: cover; }
.viza-redesign main.home .home-collection-cover:not(:has(img)) {
  display: grid; place-items: center; color: var(--vz-text-2); font-size: 28px;
}
.viza-redesign main.home .home-collection-info {
  position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 42px 10px 10px;
  border-radius: 0 0 17px 17px; background: linear-gradient(180deg,transparent,rgba(5,8,15,.94));
}
.viza-redesign main.home .home-collection-title {
  margin: 0; overflow: hidden; color: #fff; font-size: 13px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap;
}
.viza-redesign main.home .home-collection-subtitle {
  margin: 0 0 2px; overflow: hidden; color: rgba(235,239,249,.7); font-size: 10px; text-overflow: ellipsis; white-space: nowrap;
}
.viza-redesign main.home .home-collection-card--create {
  border-style: dashed; background: rgba(255,255,255,.025); box-shadow: none;
}
.viza-redesign main.home .home-collection-art--create { color: #c4b5fd; font-size: 28px; }
.viza-redesign main.home .home-collection-card--skeleton {
  background: linear-gradient(100deg,#141a29,#222a3d,#141a29); background-size: 200% 100%;
  animation: homeCollectionShimmer 1.3s linear infinite;
}
.viza-redesign .cta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 38px; }
.viza-redesign .cta-card { position: relative; overflow: hidden; min-width: 0; padding: 22px; border: 1px solid var(--vz-line); border-radius: 20px; background: linear-gradient(145deg,rgba(139,92,246,.14),rgba(255,255,255,.035)); box-shadow: var(--vz-shadow-sm); }
.viza-redesign .cta-card::after { content: ""; position: absolute; right: -30px; bottom: -48px; width: 130px; height: 130px; border-radius: 50%; background: rgba(139,92,246,.13); filter: blur(8px); pointer-events: none; }
.viza-redesign .cta-card-title { position: relative; z-index: 1; margin: 0; color: var(--vz-text); font-size: 18px; }
.viza-redesign .cta-card-desc { position: relative; z-index: 1; min-height: 42px; margin: 9px 0 16px; color: var(--vz-text-3); font-size: 14px; line-height: 1.45; }
.viza-redesign .cta-card .btn { position: relative; z-index: 1; min-height: 42px; padding: 0 15px; }

/* Authenticated Home reuses the CMS-managed marketing artwork without the
   rotating carousel: newest announcements are a compact desktop pair. */
.viza-redesign .authenticated-home-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}
.viza-redesign .authenticated-home-banner {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 182px;
  overflow: hidden;
  border: 1px solid rgba(111,151,235,.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 54% 32%, rgba(77,130,255,.24), transparent 260px),
    linear-gradient(90deg, rgba(5,10,24,.98) 0%, rgba(13,25,54,.88) 46%, rgba(25,34,74,.54) 68%, rgba(10,12,24,.10) 100%),
    linear-gradient(135deg, var(--banner-b1), var(--banner-b2) 50%, var(--banner-b3));
  box-shadow: var(--vz-shadow-sm);
}
.viza-redesign .authenticated-home-banner::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px), linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
  opacity: .35;
}
.viza-redesign .authenticated-home-banner__content {
  position: relative;
  z-index: 3;
  width: 68%;
  min-height: 182px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 22px;
}
.viza-redesign .authenticated-home-banner__content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.06;
  font-weight: 820;
}
.viza-redesign .authenticated-home-banner__content p {
  display: -webkit-box;
  max-width: 29ch;
  margin: 8px 0 13px;
  overflow: hidden;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.viza-redesign .authenticated-home-banner__cta {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--vz-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(123,85,246,.3);
}
.viza-redesign .authenticated-home-banner__cta:hover,
.viza-redesign .authenticated-home-banner__cta:focus-visible { color: #fff; filter: brightness(1.08); }
.viza-redesign .authenticated-home-banner__image {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(.82);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 14%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 14%, #000 52%);
}

/* Shared page frame: one outer alignment and one compact title rhythm. */
.viza-redesign .page-frame {
  width: min(100%,var(--vz-content)); margin: 0 auto; padding: 14px 14px 48px;
}
.viza-redesign .page-title {
  margin: 0; color: var(--vz-text); font-size: clamp(26px,3.25vw,38px); line-height: 1.06; letter-spacing: -.04em;
}

/* Unified Search: category selection is a compact navigation rail, deliberately
   separate from the rounded browse pills used by Explore today. */
.viza-redesign .social-page-head.search-results-heading { align-items: flex-start; margin-bottom: 10px; }
.viza-redesign .social-page-head.search-results-heading .page-title { line-height: 40px; }
.viza-redesign .search-results-summary { margin: 5px 0 0; color: var(--vz-text-3); font-size: 13px; }
/* Search submission feedback stays in the field while the destination loads. */
.viza-redesign .is-search-loading button[type="submit"] i { color: var(--vz-violet); }
.header-search-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.viza-redesign .search-results-summary.is-search-loading::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 2px solid var(--vz-line-strong); border-top-color: var(--vz-violet); border-radius: 50%; vertical-align: -2px; animation: search-status-spin .8s linear infinite; }
@keyframes search-status-spin { to { transform: rotate(360deg); } }
.viza-redesign .search-placeholder-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.viza-redesign .search-placeholder-card { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border: 1px solid var(--vz-line); border-radius: var(--vz-radius-sm); background: var(--vz-surface); }
.viza-redesign .search-placeholder-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.12) 45%, transparent 70%); transform: translateX(-100%); animation: search-card-shimmer 1.6s ease-in-out -.8s infinite; }
.viza-redesign .search-category-placeholders { display: flex; gap: 12px; overflow: hidden; padding-bottom: 8px; }
.viza-redesign .search-category-placeholders .search-placeholder-card { flex: 0 0 172px; }
@media (max-width: 699px) { .viza-redesign .search-category-placeholders .search-placeholder-card { flex-basis: 44vw; } }
@media (min-width: 1200px) { .viza-redesign .search-category-placeholders .search-placeholder-card { flex-basis: calc((100% - 60px) / 6); } }
@keyframes search-card-shimmer { to { transform: translateX(100%); } }
.viza-redesign .search-placeholder-card div { position: absolute; inset: 0 0 62px; background: var(--vz-surface-2); }
.viza-redesign .search-placeholder-card span { position: absolute; left: 14px; bottom: 30px; display: block; height: 12px; width: 70%; margin: 0; border-radius: 4px; background: var(--vz-surface-3); }
.viza-redesign .search-placeholder-card span:last-child { bottom: 10px; width: 45%; }
.viza-redesign .search-results-empty.hidden { display: none; }
@media (max-width: 760px) { .viza-redesign .search-placeholder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .viza-redesign .search-placeholder-card::after, .viza-redesign .search-results-summary.is-search-loading::before, .viza-redesign .is-search-loading .fa-spin { animation: none; }
}

.viza-redesign .content-category-tabs { display: flex; align-items: stretch; overflow-x: auto; margin-bottom: 28px; border-bottom: 1px solid var(--vz-line); background: rgba(255,255,255,.018); scrollbar-width: none; overscroll-behavior-x: contain; }
.viza-redesign .content-category-tabs::-webkit-scrollbar { display: none; }
.viza-redesign .content-category-tab { position: relative; display: grid; flex: 1 0 132px; min-height: 44px; place-items: center; padding: 0 16px; color: var(--vz-text-3); font-size: 15px; font-weight: 780; text-decoration: none; }
.viza-redesign .content-category-tab:hover, .viza-redesign .content-category-tab:focus-visible { background: rgba(139,92,246,.08); color: var(--vz-text); }
.viza-redesign .content-category-tab.is-active { border-radius: 8px 8px 0 0; background: linear-gradient(180deg,rgba(139,92,246,.13),rgba(139,92,246,.03)); color: #fff; }
.viza-redesign .content-category-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--vz-gradient); box-shadow: 0 -1px 12px rgba(139,92,246,.65); content: ""; }
.viza-redesign .social-page-head.search-results-heading .view-toggle { align-self: flex-start; width: 40px; height: 40px; min-width: 0; min-height: 0; padding: 0; border: 0; background: transparent; }
.viza-redesign .social-page-head.search-results-heading .search-results-filter-trigger { width: 40px; height: 40px; border: 1px solid rgba(192,132,252,.76); background: linear-gradient(145deg, rgba(139,92,246,.20), rgba(139,92,246,.08)); color: #c4b5fd; box-shadow: 0 0 14px rgba(139,92,246,.12); }
.viza-redesign .social-page-head.search-results-heading .search-results-filter-trigger:hover, .viza-redesign .social-page-head.search-results-heading .search-results-filter-trigger:focus-visible { border-color: #d8b4fe; color: #fff; background: linear-gradient(145deg, rgba(139,92,246,.38), rgba(139,92,246,.16)); box-shadow: 0 0 18px rgba(139,92,246,.28); }
.viza-redesign.community-page .social-page-head--community { align-items: flex-start; margin-bottom: 10px; }
.viza-redesign.community-page .social-page-head--community .view-toggle { align-self: flex-start; width: 40px; height: 40px; min-width: 0; min-height: 0; padding: 0; border: 0; background: transparent; }
.viza-redesign.community-page .social-page-head--community .explore-filter-trigger { width: 40px; height: 40px; border: 1px solid rgba(192,132,252,.76); background: linear-gradient(145deg, rgba(139,92,246,.20), rgba(139,92,246,.08)); color: #c4b5fd; box-shadow: 0 0 14px rgba(139,92,246,.12); }
.viza-redesign.community-page .social-page-head--community .explore-filter-trigger:hover,
.viza-redesign.community-page .social-page-head--community .explore-filter-trigger:focus-visible,
.viza-redesign.community-page .social-page-head--community .explore-filter-trigger.is-active { border-color: #d8b4fe; color: #fff; background: linear-gradient(145deg, rgba(139,92,246,.38), rgba(139,92,246,.16)); box-shadow: 0 0 18px rgba(139,92,246,.28); }
.viza-redesign.community-page .explore-category-tab { border: 0; cursor: pointer; }
.viza-redesign.community-page .explore-category-tab input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.viza-redesign .user-media-category-tab { border: 0; background: transparent; cursor: pointer; }
.viza-redesign .user-media-category-tab input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.viza-redesign.community-page #advanced-filter-overlay { display: grid; place-items: center; padding: 18px; }
.viza-redesign.community-page #advanced-filter-overlay.hidden { display: none; }
.viza-redesign.community-page #advanced-filter-overlay .explore-filter-sheet { position: relative; inset: auto; width: min(100%,430px); max-height: min(82vh,680px); padding: 20px; border-radius: 18px; }
.viza-redesign .search-result-section { margin: 0 0 24px; }
.viza-redesign .search-result-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.viza-redesign .search-result-section-head h2 { margin: 0; color: var(--vz-text); font-size: 22px; letter-spacing: -.025em; }
.viza-redesign .search-result-section-head a { color: #bca9ff; font-size: 14px; font-weight: 780; text-decoration: none; }
.viza-redesign .search-result-section-head a:hover { color: #e5ddff; }
.viza-redesign .search-result-actions { display: flex; align-items: center; gap: 16px; }
.viza-redesign .search-rail-arrows { display: inline-flex; align-items: center; gap: 8px; }
.viza-redesign .search-rail-arrows[hidden] { display: none; }
.viza-redesign .search-rail-arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--vz-text-2); cursor: pointer; }
.viza-redesign .search-rail-arrow:disabled { opacity: .3; cursor: default; }
.viza-redesign .search-rail-arrow:focus-visible { outline: 2px solid #b8a3e0; border-radius: 8px; }
@media (max-width: 959px) { .viza-redesign .search-rail-arrows { display: none; } }
.viza-redesign .search-media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.viza-redesign .search-media-grid .carousel-item { min-width: 0; }
.viza-redesign .featured-jingles-list.jingles-list--grid.search-media-rail { position: relative; z-index: 1; display: flex; flex-wrap: nowrap; grid-template-columns: none; gap: 12px; overflow-x: auto; padding: 4px 0 8px; margin-top: -4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.viza-redesign .featured-jingles-list.jingles-list--grid.search-media-rail .carousel-item { flex: 0 0 172px; width: 172px; margin-right: 0; content-visibility: visible; contain-intrinsic-size: auto; scroll-snap-align: start; }
.viza-redesign .search-load-sentinel { height: 1px; }
.viza-redesign .search-section-empty, .viza-redesign .search-results-empty { margin: 0; padding: 24px; border: 1px dashed var(--vz-line-strong); border-radius: 16px; color: var(--vz-text-3); text-align: center; }
.viza-redesign .search-results-empty { display: grid; place-items: center; min-height: 220px; gap: 12px; font-size: 15px; }
.viza-redesign .search-results-empty i { color: #bca9ff; font-size: 26px; }
.viza-redesign .search-results-empty p { margin: 0; }
.viza-redesign .search-user-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.viza-redesign .search-user-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.viza-redesign .search-user-rail .search-user-card { flex: 0 0 225px; scroll-snap-align: start; }
.viza-redesign .search-user-card { position: relative; display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--vz-line); border-radius: 14px; background: var(--vz-surface); color: var(--vz-text); }
.viza-redesign .search-user-card:hover, .viza-redesign .search-user-card:focus-visible { border-color: rgba(139,92,246,.72); background: var(--vz-surface-2); }
.viza-redesign .search-user-card-link { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.viza-redesign .search-user-card-link:focus-visible { outline: 2px solid #c084fc; outline-offset: 2px; }
.viza-redesign .search-user-avatar { position: relative; z-index: 2; display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 50%; object-fit: cover; background: var(--vz-avatar-gradient); color: #fff; font-weight: 850; pointer-events: none; }
.viza-redesign .search-user-copy { position: relative; z-index: 2; display: flex; min-width: 0; flex: 1; flex-direction: column; pointer-events: none; }
.viza-redesign .search-user-copy strong, .viza-redesign .search-user-copy small, .viza-redesign .search-user-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .search-user-copy strong { font-size: 13px; }
.viza-redesign .search-user-copy small, .viza-redesign .search-user-copy em { color: var(--vz-text-3); font-size: 11px; font-style: normal; }
.viza-redesign .search-user-copy .search-user-follow { display: block; align-self: flex-start; margin: 0; padding: 0; color: #bca9ff; font-size: 11px; font-style: normal; font-weight: 400; line-height: normal; text-decoration: none; }
.viza-redesign .search-user-copy .search-user-follow-action { position: relative; z-index: 3; pointer-events: auto; }
.viza-redesign .search-user-copy .search-user-follow-action { flex: 0 0 auto; border: 0; background: transparent; cursor: pointer; }
.viza-redesign .search-user-follow-action:hover, .viza-redesign .search-user-follow-action:focus-visible { color: #e5ddff; text-decoration: none; }
.viza-redesign .search-filter-overlay { position: fixed; z-index: 1700; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(3,5,12,.68); backdrop-filter: blur(7px); }
.viza-redesign .search-filter-overlay.hidden { display: none; }
.viza-redesign .search-filter-sheet { width: min(100%, 430px); padding: 20px; border: 1px solid var(--vz-line-strong); border-radius: 18px; background: #121827; box-shadow: var(--vz-shadow-lg); }
.viza-redesign .search-filter-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.viza-redesign .search-filter-sheet h2 { margin: 0; font-size: 23px; }
.viza-redesign .search-filter-sheet-head button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--vz-surface-3); color: var(--vz-text-2); }
.viza-redesign .search-filter-sheet label { display: grid; gap: 7px; margin-top: 14px; color: var(--vz-text-2); font-size: 13px; font-weight: 760; }
.viza-redesign .search-filter-sheet select { min-height: 44px; padding: 0 12px; border: 1px solid var(--vz-line-strong); border-radius: 10px; outline: 0; background: var(--vz-surface-2); color: var(--vz-text); font: inherit; }
.viza-redesign .search-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.viza-redesign .search-filter-actions a { color: var(--vz-text-3); font-weight: 750; text-decoration: none; }

@media (max-width: 1020px) {
  .viza-redesign .search-media-grid, .viza-redesign .search-user-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .viza-redesign .search-results-heading { margin-bottom: 4px; }
  .viza-redesign .social-page-head.search-results-heading .page-title { line-height: 27px; }
  .viza-redesign .social-page-head.search-results-heading .view-toggle,
  .viza-redesign .social-page-head.search-results-heading .search-results-filter-trigger { width: 27px; height: 27px; }
  .viza-redesign .social-page-head.search-results-heading .search-results-filter-trigger { font-size: 12px; }
  .viza-redesign.community-page .social-page-head--community { margin-bottom: 4px; }
  .viza-redesign.community-page .social-page-head--community .view-toggle,
  .viza-redesign.community-page .social-page-head--community .explore-filter-trigger { width: 27px; height: 27px; }
  .viza-redesign.community-page .social-page-head--community .explore-filter-trigger { font-size: 12px; }
  .viza-redesign.community-page #advanced-filter-overlay { align-items: end; padding: 0; }
  .viza-redesign.community-page #advanced-filter-overlay .explore-filter-sheet {
    width: 100%; max-height: min(82vh,640px); padding: 32px 20px calc(32px + env(safe-area-inset-bottom));
    border: 2px solid rgba(255,255,255,.68); border-radius: 24px 24px 0 0;
    box-shadow: 0 -18px 48px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.08);
  }
  .viza-redesign.community-page #advanced-filter-overlay .explore-filter-sheet > .bottom-sheet-grabber {
    position: absolute; z-index: 2; top: 9px; left: 50%; display: block; width: 36px; height: 4px; margin: 0;
    border-radius: 999px; background: rgba(255,255,255,.88); transform: translateX(-50%);
  }
  .viza-redesign .content-category-tabs { margin-right: -14px; margin-bottom: 14px; margin-left: -14px; padding-left: 14px; }
  .viza-redesign .content-category-tab { flex-basis: 92px; min-height: 42px; padding: 0 11px; font-size: 14px; }
  .viza-redesign .search-result-section { margin-bottom: 27px; }
  .viza-redesign .search-result-section-head h2 { font-size: 19px; }
  .viza-redesign .search-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .viza-redesign .featured-jingles-list.jingles-list--grid.search-media-rail .carousel-item { flex-basis: 44vw; width: 44vw; }
  /* Focused Song search adopts the established Explore list treatment on
     phones only. Desktop retains the shared card grid. */
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid { grid-template-columns: 1fr; row-gap: 0; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 4px 2px; border-bottom: 1px solid var(--vz-line); }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-thumb,
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .video-preview-wrapper { width: 48px; height: 48px; aspect-ratio: 1; border-radius: 10px; }
  /* A focused mobile song result is a compact list row, not a condensed media
     card. Default cover artwork is too small here to repeat its metadata. */
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .jingle-card,
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .jingle-card:hover,
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .jingle-card:focus-visible {
    overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none;
  }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-info { position: static; align-self: center; padding: 0; border-radius: 0; background: transparent; pointer-events: auto; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-title { color: var(--vz-text); text-shadow: none; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .jingle-card.standard-song-cover .carousel-title { display: block; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .jingle-card.standard-song-cover .carousel-meta .username-link { display: block; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-meta { color: var(--vz-text-3); text-shadow: none; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-duration-badge { display: none; }
  .viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-meta .list-subitem--views { display: inline-flex; align-items: center; gap: .3rem; line-height: 1; }
  .viza-redesign .search-user-grid { grid-template-columns: 1fr; gap: 8px; }
  .viza-redesign .search-user-rail .search-user-card { flex-basis: 76vw; }
  .viza-redesign .search-user-card { padding: 10px; }
  .viza-redesign .search-filter-overlay { align-items: end; padding: 0; }
  .viza-redesign .search-filter-sheet {
    position: relative;
    width: 100%;
    max-height: min(82vh, 640px);
    overflow-y: auto;
    padding: 32px 20px calc(32px + env(safe-area-inset-bottom));
    border: 2px solid rgba(255,255,255,.68);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -18px 48px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.08);
  }
  .viza-redesign .search-filter-sheet > .bottom-sheet-grabber {
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 50%;
    display: block;
    width: 36px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    transform: translateX(-50%);
  }
  .viza-redesign .search-filter-sheet .search-filter-actions { margin-top: 30px; }
}

/* Logged-in Home uses the same compact media-card rhythm as Search. */
.viza-redesign.home-logged-in .home-section-header {
  align-items: baseline;
  margin-bottom: 12px;
  padding: 0;
}
.viza-redesign.home-logged-in .home-media-section-header .carousel-heading {
  font-size: 22px;
  letter-spacing: -.025em;
}
.viza-redesign.home-logged-in .home-section-see-all {
  color: #bca9ff;
  font-size: 14px;
  font-weight: 780;
}
.viza-redesign.home-logged-in .home-section-see-all:hover,
.viza-redesign.home-logged-in .home-section-see-all:focus-visible { color: #e5ddff; }
.viza-redesign.home-logged-in #jingles-recommended.recommended-jingles-list,
.viza-redesign.home-logged-in #jingles-top-hits.recommended-jingles-list {
  grid-auto-columns: 172px;
  gap: 12px;
  padding: 4px 0 8px;
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card {
  display: block;
  width: 172px;
  height: 172px !important;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card .carousel-thumb,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card .carousel-thumb {
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px;
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card .carousel-thumb > .carousel-media-poster,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card .carousel-thumb > .carousel-media-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card .video-preview-wrapper,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card .video-preview-wrapper {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card .carousel-info,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card .carousel-info {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  margin: 0;
  padding: 64px 12px 11px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg,transparent 0%,rgba(3,5,11,.42) 34%,rgba(3,5,11,.94) 100%);
}
.viza-redesign.home-logged-in #jingles-recommended .jingle-card.standard-song-cover .carousel-info,
.viza-redesign.home-logged-in #jingles-top-hits .jingle-card.standard-song-cover .carousel-info { background: transparent; }
.viza-redesign.home-logged-in #jingles-recommended .list-thumb-play,
.viza-redesign.home-logged-in #jingles-top-hits .list-thumb-play,
.viza-redesign.home-logged-in #jingles-recommended .meta-actions,
.viza-redesign.home-logged-in #jingles-top-hits .meta-actions { display: none; }
@media (max-width: 699px) {
  .viza-redesign.home-logged-in .home-media-section-header .carousel-heading { font-size: 19px; }
  .viza-redesign.home-logged-in #jingles-recommended.recommended-jingles-list,
  .viza-redesign.home-logged-in #jingles-top-hits.recommended-jingles-list { grid-auto-columns: 44vw; }
  .viza-redesign.home-logged-in #jingles-recommended .jingle-card,
  .viza-redesign.home-logged-in #jingles-top-hits .jingle-card { width: 44vw; height: 44vw !important; }
}

/* Explore, studio and collections share a single media-library language. */
.viza-redesign.library-page main.home.page-frame { padding: 16px 32px 56px; }
.viza-redesign .social-page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 10px; }
.viza-redesign .social-page-title { margin: 0; }
.viza-redesign .view-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--vz-line); border-radius: 12px; background: rgba(255,255,255,.035); }
.viza-redesign .view-toggle-btn { display: grid; place-items: center; width: 38px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--vz-text-3); }
.viza-redesign .view-toggle-btn.is-active {
  border: 1px solid var(--vz-selection-border);
  background: var(--vz-selection-fill);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--vz-selection-border);
}
.viza-redesign .jingles-header { margin-bottom: 10px; }
.viza-redesign .jingles-toolbar { display: flex; align-items: center; gap: 8px; }
.viza-redesign .jingles-toolbar--offpage,
.viza-redesign .search-modern--offpage,
.viza-redesign .advanced-filter-btn--offpage { display: none; }
.viza-redesign .search-modern { position: relative; flex: 1; }
.viza-redesign .search-modern input { width: 100%; min-height: 46px; padding: 0 48px 0 14px; border: 1px solid var(--vz-line); border-radius: 13px; outline: none; background: var(--vz-bg-raised); color: var(--vz-text); }
.viza-redesign .search-btn,
.viza-redesign .advanced-filter-btn,
.viza-redesign .collections-page-settings-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--vz-line); border-radius: 12px; background: var(--vz-surface); color: var(--vz-text-2); }
.viza-redesign .search-btn { position: absolute; top: 1px; right: 1px; border: 0; background: transparent; }
.viza-redesign .search-history { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; right: 0; border: 1px solid var(--vz-line); border-radius: 13px; background: var(--vz-surface); box-shadow: var(--vz-shadow-lg); }
.viza-redesign .search-history:empty { display: none; }
.viza-redesign.collection-page .search-history {
  display: none;
  max-height: min(52vh, 320px);
  overflow-y: auto;
  padding: 4px;
  border-color: var(--vz-line-strong);
  border-radius: 14px;
  background: rgba(15,20,35,.985);
  backdrop-filter: blur(18px);
}
.viza-redesign.collection-page .search-history.is-visible { display: block; }
.viza-redesign.collection-page .search-history-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 34px;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 2px;
  border-radius: 10px;
}
.viza-redesign.collection-page .search-history-item:hover { background: rgba(255,255,255,.055); }
.viza-redesign.collection-page .search-history-select {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--vz-text-2);
  font-size: .9rem;
  text-align: left;
  cursor: pointer;
}
.viza-redesign.collection-page .search-history-select i { color: var(--vz-text-3); font-size: .78rem; }
.viza-redesign.collection-page .search-history-select span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign.collection-page .search-history-remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--vz-text-3);
  cursor: pointer;
}
.viza-redesign.collection-page .search-history-select:hover,
.viza-redesign.collection-page .search-history-select:focus-visible { background: var(--vz-surface-2); color: #fff; }
.viza-redesign.collection-page .search-history-remove:hover,
.viza-redesign.collection-page .search-history-remove:focus-visible { background: var(--vz-surface-3); color: #fff; }
.viza-redesign .jingles-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viza-redesign .filter-group-modern {
  display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; white-space: nowrap;
}
.viza-redesign .toggle-label { position: relative; flex: 0 0 auto; min-height: 40px; padding: 10px 15px; border: 1px solid transparent; border-radius: 999px; color: var(--vz-text-3); font-weight: 700; cursor: pointer; }
.viza-redesign .jingles-controls .filter-group-modern .toggle-label {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 15px;
  line-height: 1.2;
}
.viza-redesign .toggle-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.viza-redesign .filter-group-modern .toggle-label.selected-clip {
  border-color: var(--vz-selection-border);
  background: var(--vz-selection-fill);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--vz-selection-border);
}
.viza-redesign .filter-group-modern .toggle-label:has(input:checked) {
  border-color: var(--vz-selection-border);
  background: var(--vz-selection-fill);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--vz-selection-border);
}
.viza-redesign .explore-filter-pill {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 7px; min-height: 38px; padding: 8px 14px;
  border: 1px solid var(--vz-line-strong); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--vz-text-2);
  font: inherit; font-size: 15px; font-weight: 750; line-height: 1.2; cursor: pointer;
}
.viza-redesign .explore-filter-pill:hover,
.viza-redesign .explore-filter-pill:focus-visible { border-color: var(--vz-selection-border); background: rgba(139,92,246,.12); color: #e5ddff; }
.viza-redesign .explore-filter-pill.is-active { border-color: var(--vz-selection-border); background: var(--vz-selection-fill); color: #fff; box-shadow: inset 0 0 0 1px var(--vz-selection-border); }
.viza-redesign .advanced-filter-pills { display: flex; gap: 7px; overflow-x: auto; padding-top: 10px; }
.viza-redesign .filter-pill { flex: 0 0 auto; min-height: 36px; padding: 0 11px; border: 1px solid rgba(139,92,246,.35); border-radius: 999px; background: rgba(139,92,246,.1); color: #c8baff; }
.viza-redesign .advanced-filter-header { justify-content: space-between; }
.viza-redesign .advanced-filter-header h3 { margin: 0; font-size: 23px; }
.viza-redesign .advanced-filter-body { display: grid; gap: 20px; }
.viza-redesign .advanced-filter-label { display: block; margin-bottom: 8px; color: var(--vz-text); font-size: 13px; font-weight: 800; }
.viza-redesign .advanced-select { position: relative; }
.viza-redesign .advanced-select select { appearance: none; padding-right: 44px; }
.viza-redesign .advanced-select .select-caret { position: absolute; top: 50%; right: 15px; color: var(--vz-violet); transform: translateY(-50%); pointer-events: none; }
.viza-redesign .advanced-select .select-icon { position: absolute; z-index: 1; top: 50%; left: 14px; color: var(--vz-text-3); transform: translateY(-50%); }
.viza-redesign .advanced-select.language-select select { padding-left: 44px; }
.viza-redesign .advanced-filter-actions { display: grid; gap: 8px; margin-top: 24px; }
.viza-redesign .advanced-filter-actions .btn { width: 100%; }
.viza-redesign .btn-link { border: 0; background: transparent; color: var(--vz-text-3); }
/* All library content grids share one gap so adjacent cards are spaced evenly
   in both directions, regardless of the page that renders the feed. */
.viza-redesign .featured-jingles-list,
.viza-redesign .vs-feed-skeletons,
.viza-redesign .search-placeholder-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--vz-content-card-gap); }
.viza-redesign .carousel-item { min-width: 0; }
.viza-redesign .plus-card .placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 260px; border: 1.5px dashed rgba(139,92,246,.45); border-radius: inherit; background: rgba(139,92,246,.055); color: #bca9ff; font-size: 38px; }
.viza-redesign .vs-feed-skeleton { aspect-ratio: 1 / 1; border-radius: var(--vz-radius-sm); }
/* The create tile has no metadata footer: center its symbol in the full card,
   rather than in the square thumbnail area used by media cards. */
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card { aspect-ratio: 1 / 1; }
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .carousel-thumb { height: 100%; aspect-ratio: 1 / 1; }
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .placeholder { min-height: 0; }
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .carousel-thumb::after { content: none; }
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .plus-card-label {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card:hover .plus-card-label,
.viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card:focus-visible .plus-card-label {
  opacity: 1;
  transform: translateY(0);
}
.viza-redesign.studio-page #loading:has(.studio-empty-state) { margin: 0; padding: 0; }
.viza-redesign.studio-page .studio-empty-state { padding: 16px 12px; text-align: center; }
.viza-redesign.studio-page .studio-empty-state h2 { margin: 0 0 8px; color: var(--vz-text); font-size: clamp(20px, 3vw, 26px); font-weight: 800; }
.viza-redesign.studio-page .studio-empty-state p { margin: 0 auto; max-width: 440px; color: var(--vz-text-2); font-size: 14px; }
.viza-redesign.studio-page .studio-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.viza-redesign.studio-page .studio-empty-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid rgba(196,181,253,.4); border-radius: 12px; background: rgba(139,92,246,.15); color: #ddd6fe; font-weight: 700; text-decoration: none; }
.viza-redesign.studio-page .studio-empty-action--song { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); color: #bbf7d0; }
.viza-redesign.studio-page .studio-empty-action:hover,
.viza-redesign.studio-page .studio-empty-action:focus-visible { border-color: currentColor; filter: brightness(1.15); }
@media (min-width: 960px) {
  body.viza-redesign.studio-page { display: flex; flex-direction: column; min-height: 100dvh; }
  body.viza-redesign.studio-page > main.home { flex: 1 0 auto; }
  body.viza-redesign.studio-page > main.home:has(.studio-empty-state) { padding-bottom: 24px; }
  body.viza-redesign.studio-page > .site-footer { flex-shrink: 0; margin-top: auto; }
}
@media (hover: none) {
  .viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .plus-card-label {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .viza-redesign.studio-page #jingles-list.jingles-list--grid .plus-card .plus-card-label {
    transition: none;
  }
}
.viza-redesign .jingles-list--list { grid-template-columns: 1fr; }
.viza-redesign .jingles-list--list .carousel-item { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 12px; padding: 8px; border-bottom: 1px solid var(--vz-line); }
.viza-redesign .jingles-list--list .carousel-thumb,
.viza-redesign .jingles-list--list .video-preview-wrapper { width: 90px; aspect-ratio: 1; border-radius: 12px; }
.viza-redesign .jingles-list--list .jingle-card { overflow: visible; border-radius: 0; }
.viza-redesign .jingles-list--list .carousel-info { position: static; align-self: center; padding: 4px 0; border-radius: 0; background: transparent; pointer-events: auto; }
.viza-redesign .jingles-list--list .carousel-title { color: var(--vz-text); text-shadow: none; }
.viza-redesign.studio-page .jingles-list--list .plus-card .placeholder {
  min-height: 0;
  font-size: 26px;
}
.viza-redesign.studio-page .jingles-list--list .plus-card .plus-card-label {
  align-self: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--vz-text);
}
.viza-redesign .jingles-list--list .carousel-meta { color: var(--vz-text-3); text-shadow: none; }
.viza-redesign .jingles-list--list .carousel-duration-badge { display: none; }
.viza-redesign .jingles-list--list .carousel-meta .list-subitem--views {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  line-height: 1;
}
.viza-redesign .jingles-list--list .carousel-meta .list-subitem--views i {
  display: block;
  line-height: 1;
}
.viza-redesign .jingles-list--list .carousel-meta .meta-actions { display: none; }

/* Explore's automatic list layout uses quiet feed rows: the divider belongs to
   the row, while the card shell remains reserved for grid/card presentation. */
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .jingle-card,
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .jingle-card:hover,
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .jingle-card:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .jingle-card.standard-song-cover .carousel-title { display: block; }
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .jingle-card.standard-song-cover .carousel-meta .username-link { display: block; }

/* Compact lists deliberately have no card outline; their shared visual rhythm
   is the single separator between consecutive feed items. */
.viza-redesign:is(.community-page, .studio-page, .user-gallery-page) .jingles-list--list .carousel-item,
.viza-redesign .search-results-shell[data-search-type="songs"] .search-media-grid .carousel-item {
  border: 0;
  border-bottom: 1px solid var(--vz-line);
}

/* A list view is deliberately dense on phones: keep the thumbnail only slightly
   taller than the two compact text rows, with equal breathing room above and
   below each row. This is shared by Explore, Studio, and collection lists. */
@media (max-width: 699px) {
  /* List rows should meet at their dividers. The card grid uses an 18px row
     gap, but retaining it here creates a visibly larger blank area above the
     next thumbnail than below the preceding one. */
  .viza-redesign .jingles-list--list { row-gap: 0; }

  .viza-redesign .jingles-list--list .carousel-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    padding: 4px 2px;
  }
  .viza-redesign .jingles-list--list .carousel-thumb,
  .viza-redesign .jingles-list--list .video-preview-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .viza-redesign .jingles-list--list .carousel-info { padding-block: 0; }
}
.viza-redesign .social-profile-hero { display: grid; gap: 20px; margin-bottom: 20px; padding: 20px; border: 1px solid var(--vz-line); border-radius: 22px; background: linear-gradient(145deg,rgba(139,92,246,.11),rgba(255,255,255,.025)); }
.viza-redesign .social-profile-main,
.viza-redesign .social-profile-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.viza-redesign .social-profile-main { min-width: 0; justify-content: space-between; }
.viza-redesign .social-profile-identity { flex: 1 1 auto; }
.viza-redesign .social-profile-avatar-button,
.viza-redesign .social-profile-display-name,
.viza-redesign .social-profile-username,
.viza-redesign .social-primary-link,
.viza-redesign .social-profile-more-btn,
.viza-redesign .social-play-first-btn { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.viza-redesign .social-profile-avatar-button { flex: 0 0 auto; }
.viza-redesign .social-profile-avatar { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; object-fit: cover; background: var(--vz-avatar-gradient); color: #fff; font-size: 28px; font-weight: 800; }
.viza-redesign .social-profile-copy { width: 0; min-width: 0; flex: 1 1 auto; }
.viza-redesign .social-profile-display-name { display: block; width: 100%; max-width: 100%; margin: 0; overflow: hidden; font-size: clamp(23px,4.2vw,34px); line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .social-profile-username { display: block; max-width: min(55vw,440px); overflow: hidden; color: var(--vz-text-3); text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .social-profile-inline-actions { display: flex; min-width: 0; align-items: center; flex-wrap: nowrap; gap: 8px; margin-top: 5px; color: var(--vz-text-2); }
.viza-redesign .social-profile-inline-separator { flex: 0 0 auto; }
.viza-redesign .social-primary-link { display: inline-flex; min-width: max-content; align-items: center; flex: 0 0 auto; gap: 6px; color: #c8baff; white-space: nowrap; }
.viza-redesign .social-profile-more-btn {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--vz-text-2);
  font-size: 12px;
  font-weight: 750;
}
.viza-redesign .social-profile-more-btn:hover,
.viza-redesign .social-profile-more-btn:focus-visible {
  background: rgba(139,92,246,.12);
  color: #fff;
}

/* Collections interest search and selected tags. */
.viza-redesign .collections-interest-search { position: relative; }
.viza-redesign .collections-interest-search > i { position: absolute; z-index: 1; top: 50%; right: 15px; color: var(--vz-text-3); transform: translateY(-50%); pointer-events: none; }
.viza-redesign .collections-interest-search .collections-interest-input { width: 100%; min-height: 50px; margin: 0; padding: 0 43px 0 14px; border: 1px solid var(--vz-line-strong); border-radius: 13px; outline: 0; background: var(--vz-bg-raised); color: var(--vz-text); }
.viza-redesign .collections-interest-search .collections-interest-input:focus { border-color: var(--vz-violet); box-shadow: 0 0 0 3px rgba(124,92,255,.2); }
.viza-redesign .collections-interest-suggestions,
.viza-redesign .collections-interest-selected { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.viza-redesign .collections-interest-suggestions { margin-top: 9px; }
.viza-redesign .collections-interest-selected { margin-top: 10px; }
.viza-redesign .collections-tag-chip,
.viza-redesign .collections-selected-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid rgba(139,92,246,.38); border-radius: 999px; background: rgba(139,92,246,.12); color: #d9d0ff; font: inherit; font-size: 13px; font-weight: 750; }
.viza-redesign .collections-tag-chip { cursor: pointer; }
.viza-redesign .collections-tag-chip:hover { border-color: rgba(139,92,246,.7); background: rgba(139,92,246,.22); color: #fff; }
.viza-redesign .collections-selected-chip { gap: 7px; border-color: rgba(196,181,253,.58); background: rgba(109,93,252,.23); color: #fff; }
.viza-redesign .collections-selected-chip button { display: grid; place-items: center; width: 20px; height: 20px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.viza-redesign .collections-selected-chip button:hover { background: rgba(255,255,255,.27); }

/* Profile detail card used by both My Studio and public user galleries. */
.viza-redesign .user-card-overlay {
  position: fixed;
  z-index: 3600;
  inset: 0;
}
.viza-redesign .user-card-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(3,6,15,.7);
  backdrop-filter: blur(7px);
}
.viza-redesign .user-card-popover {
  --user-card-arrow-left: 50%;
  position: fixed;
  width: min(92vw,420px);
  max-width: 420px;
  padding: 18px;
  border: 1px solid rgba(148,163,184,.32);
  border-radius: 20px;
  background: rgba(15,21,38,.98);
  color: var(--vz-text);
  box-shadow: 0 26px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.08);
}
.viza-redesign .user-card-arrow {
  position: absolute;
  top: -8px;
  left: var(--user-card-arrow-left);
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid rgba(148,163,184,.32);
  border-left: 1px solid rgba(148,163,184,.32);
  background: #0f1526;
}
.viza-redesign .user-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--vz-text-2);
}
.viza-redesign .user-card-close:hover,
.viza-redesign .user-card-close:focus-visible {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.viza-redesign .user-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 38px;
}
.viza-redesign .user-card-head-copy { min-width: 0; }
.viza-redesign .user-card-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(148,163,184,.3);
  border-radius: 50%;
  object-fit: cover;
}
.viza-redesign .user-card-avatar--initial {
  display: grid;
  place-items: center;
  background: var(--vz-avatar-gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.viza-redesign .user-card-display-name {
  max-width: 270px;
  overflow: hidden;
  font-size: 21px;
  font-weight: 820;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viza-redesign .user-card-username {
  max-width: 270px;
  overflow: hidden;
  margin-top: 2px;
  color: var(--vz-text-3);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viza-redesign .user-card-plan-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  margin-top: 3px;
  padding: 0 7px;
  border: 1px solid rgba(181,145,255,.5);
  border-radius: 999px;
  background: rgba(126,87,255,.16);
  color: #bfa8ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.viza-redesign .user-card-permissions {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}
.viza-redesign .user-card-perm-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 12px;
  background: rgba(7,10,20,.42);
}
.viza-redesign .user-card-perm-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vz-text);
  font-size: 14px;
}
.viza-redesign .user-card-perm-title i { color: #9eabca; }
.viza-redesign .user-card-perm-value {
  color: #a78bfa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.viza-redesign .user-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.viza-redesign .user-card-action {
  display: inline-flex;
  min-height: 44px;
  flex: 1 1 46%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: var(--vz-gradient);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.viza-redesign .user-card-popover:not(.is-owner) .user-card-action { flex-basis: 100%; }
.viza-redesign .user-card-action:hover,
.viza-redesign .user-card-action:focus-visible { filter: brightness(1.08); }

/* Owner controls contain longer localized labels such as “Media Kit”. Stack
   them on desktop rather than splitting a narrow popover into two columns. */
@media (min-width: 700px) {
  .viza-redesign .user-card-popover.is-owner .user-card-action { flex-basis: 100%; }
}

.viza-redesign .user-card-unavailable-note {
  margin: 12px 0 0;
  color: var(--vz-text-3);
  font-size: 13px;
  text-align: center;
}
.viza-redesign.user-card-open { overflow: hidden; }

/* One progress treatment for every redesigned SweetAlert workflow. */
.viza-redesign .swal2-popup .swal-progress-rail,
.viza-redesign .swal2-popup .telegram-progress-bar-wrap {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  background: rgba(5,8,17,.72) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.28);
}
.viza-redesign .swal2-popup .swal-progress-bar,
.viza-redesign .swal2-popup .telegram-progress-bar,
.viza-redesign .swal2-popup #quick-create-progress-bar,
.viza-redesign .swal2-popup #tpl-video-progress,
.viza-redesign .swal2-popup #telegramVideoProgressBar,
.viza-redesign .swal2-popup #swal-progress-bar,
.viza-redesign .swal2-popup #swal-image-progress,
.viza-redesign .swal2-popup #swal-prompt-progress,
.viza-redesign .swal2-popup #swal-task-progress {
  display: block !important;
  min-width: 18px;
  height: 100% !important;
  border-radius: inherit;
  background: linear-gradient(90deg,#6d5dfc 0%,#8b5cf6 52%,#d85acb 100%) !important;
  box-shadow: 0 0 14px rgba(139,92,246,.42);
  transition: width .65s linear;
}
.viza-redesign .swal2-popup .swal-progress-guidance {
  margin-top: 14px;
  color: var(--vz-text-2);
  font-size: 13px;
  line-height: 1.35;
}
.viza-redesign .swal2-popup .swal2-footer .swal-progress-guidance {
  margin-top: 10px;
}
.viza-redesign .social-play-first-btn {
  display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: var(--vz-gradient); color: #fff; box-shadow: 0 12px 28px rgba(109,93,252,.4);
}
.viza-redesign .social-play-first-btn i { color: currentColor; font-size: 18px; }
.viza-redesign .social-play-first-btn:hover,
.viza-redesign .social-play-first-btn:focus-visible { color: #fff; box-shadow: 0 16px 34px rgba(109,93,252,.56); transform: translateY(-2px) scale(1.04); }
.viza-redesign .social-profile-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.viza-redesign .social-profile-stat-card { padding: 13px; border: 1px solid var(--vz-line); border-radius: 14px; background: rgba(7,10,18,.5); text-align: center; }
.viza-redesign button.social-profile-stat-card { color: inherit; cursor: pointer; }
.viza-redesign .social-profile-stat-value { display: block; color: #fff; font-size: 20px; font-weight: 800; }
.viza-redesign .social-profile-stat-label { color: var(--vz-text-3); font-size: 12px; }

/* Shared Studio and public-profile hero. Secondary profile information lives
   behind More, leaving this fixed-height band for identity and real actions. */
.viza-redesign .social-profile-hero {
  display: flex;
  min-height: 168px;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 160% at 100% 42%, rgba(160,82,255,.14), transparent 56%),
    radial-gradient(76% 150% at 4% 105%, rgba(92,73,214,.14), transparent 55%),
    linear-gradient(112deg, #10142b 0%, #0d1020 54%, #11142a 100%);
}
.viza-redesign .social-profile-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -70px -55px;
  opacity: .52;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse 62% 110% at 104% 9%, transparent 0 19px, rgba(186,144,255,.13) 20px 21px, transparent 22px 34px),
    repeating-radial-gradient(ellipse 70% 120% at -8% 105%, transparent 0 22px, rgba(104,137,255,.1) 23px 24px, transparent 25px 38px);
}
.viza-redesign .social-profile-hero--owner {
  background:
    radial-gradient(88% 180% at 100% 40%, rgba(148,78,255,.25), transparent 56%),
    radial-gradient(72% 170% at 0% 105%, rgba(98,62,220,.24), transparent 54%),
    linear-gradient(112deg, #151333 0%, #10132b 54%, #15142f 100%);
}
.viza-redesign .social-profile-hero--following {
  background:
    radial-gradient(82% 170% at 100% 100%, rgba(24,167,219,.2), transparent 51%),
    radial-gradient(70% 150% at 0% 0%, rgba(41,103,219,.18), transparent 52%),
    linear-gradient(112deg, #0b172d 0%, #091323 54%, #0b1629 100%);
}
.viza-redesign .social-profile-hero--following::before {
  background:
    repeating-radial-gradient(ellipse 74% 116% at 104% 9%, transparent 0 19px, rgba(77,151,255,.14) 20px 21px, transparent 22px 35px),
    repeating-radial-gradient(ellipse 74% 124% at -8% 105%, transparent 0 22px, rgba(34,209,238,.1) 23px 24px, transparent 25px 38px);
}
.viza-redesign .social-profile-hero--discover {
  background:
    radial-gradient(80% 170% at 100% 43%, rgba(190,94,161,.2), transparent 54%),
    radial-gradient(68% 150% at 0% 105%, rgba(57,100,169,.13), transparent 54%),
    linear-gradient(112deg, #111625 0%, #0d1321 54%, #161523 100%);
}
.viza-redesign .social-profile-hero--discover::before {
  background:
    repeating-radial-gradient(ellipse 62% 110% at 104% 9%, transparent 0 19px, rgba(222,132,193,.12) 20px 21px, transparent 22px 34px),
    repeating-radial-gradient(ellipse 70% 120% at -8% 105%, transparent 0 22px, rgba(91,144,225,.09) 23px 24px, transparent 25px 38px);
}
.viza-redesign .social-profile-main { position: relative; z-index: 1; width: 100%; }
.viza-redesign .social-profile-identity-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin-top: 0;
}
.viza-redesign .social-profile-identity-meta .social-profile-username { flex: 0 1 auto; }
.viza-redesign .social-profile-plan-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 19px;
  padding: 0 7px;
  border: 1px solid rgba(181,145,255,.5);
  border-radius: 999px;
  background: rgba(126,87,255,.16);
  color: #cbbdff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.viza-redesign .social-profile-more-btn {
  flex-basis: 26px;
  width: 26px;
  height: 26px;
  min-height: 26px;
  border: 1px solid rgba(196,181,253,.4);
  background: rgba(13,17,32,.26);
  color: #d8ceff;
}
.viza-redesign button.social-profile-avatar-button { cursor: pointer; }
.viza-redesign button.social-profile-avatar-button:focus-visible { outline: 2px solid #bda7ff; outline-offset: 4px; border-radius: 24px; }
.viza-redesign .social-profile-hero-actions,
.viza-redesign .social-profile-context-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 11px;
}
.viza-redesign .social-profile-hero-action {
  display: flex;
  width: 54px;
  min-height: 76px;
  align-items: center;
  flex: 0 0 54px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vz-text-2);
  cursor: pointer;
  font: inherit;
}
.viza-redesign .social-profile-action-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 17px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
/* Media Kit is both a visual-reference and voice asset library.  Its icon
   deliberately combines the two Font Awesome glyphs within the existing
   circular action affordance. */
.viza-redesign .social-profile-media-kit-icon {
  position: relative;
  display: block;
}
.viza-redesign .social-profile-media-kit-icon > i {
  position: absolute;
  line-height: 1;
}
.viza-redesign .social-profile-media-kit-icon__image {
  top: 50%;
  left: 50%;
  font-size: .78em;
  transform: translate(-78%, -82%);
}
.viza-redesign .social-profile-media-kit-icon__voice {
  top: 50%;
  left: 50%;
  font-size: .92em;
  transform: translate(-8%, -5%);
}
.viza-redesign .profile-menu-dropdown .profile-menu-media-kit-icon { width: 28px; height: 24px; flex: 0 0 24px; overflow: visible; font-size: 20px; }
.viza-redesign .profile-menu-dropdown .profile-menu-media-kit-icon > i { width: auto; height: auto; line-height: 1; }
.viza-redesign .profile-menu-dropdown .profile-menu-media-kit-icon > .social-profile-media-kit-icon__image { font-size: 15px; transform: translate(-70%, -70%); }
.viza-redesign .profile-menu-dropdown .profile-menu-media-kit-icon > .social-profile-media-kit-icon__voice { font-size: 16px; transform: translate(-15%, -25%); }
.viza-redesign .social-profile-action-label {
  max-width: 72px;
  overflow: hidden;
  color: var(--vz-text-2);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viza-redesign .social-profile-hero-action:hover .social-profile-action-icon,
.viza-redesign .social-profile-hero-action:focus-visible .social-profile-action-icon {
  border-color: rgba(196,181,253,.86);
  background: rgba(139,92,246,.2);
  transform: translateY(-2px);
}
.viza-redesign .social-profile-hero-action:hover .social-profile-action-label,
.viza-redesign .social-profile-hero-action:focus-visible .social-profile-action-label { color: #fff; }
.viza-redesign .social-play-first-btn {
  width: 54px;
  height: auto;
  min-height: 76px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.viza-redesign .social-play-first-btn .social-profile-action-icon {
  width: 52px;
  height: 52px;
  border-color: transparent;
  background: var(--vz-gradient);
  box-shadow: 0 12px 28px rgba(109,93,252,.4);
}
.viza-redesign .social-play-first-btn:hover,
.viza-redesign .social-play-first-btn:focus-visible { box-shadow: none; transform: none; }
.viza-redesign .social-play-first-btn:hover .social-profile-action-icon,
.viza-redesign .social-play-first-btn:focus-visible .social-profile-action-icon {
  border-color: transparent;
  background: var(--vz-gradient);
  box-shadow: 0 16px 34px rgba(109,93,252,.56);
  transform: translateY(-2px) scale(1.04);
}
.viza-redesign .user-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}
.viza-redesign .user-card-stat {
  min-width: 0;
  padding: 8px 5px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 11px;
  background: rgba(7,10,20,.3);
  text-align: center;
}
.viza-redesign .user-card-stat-value { display: block; color: #fff; font-size: 16px; font-weight: 800; }
.viza-redesign .user-card-stat-label { display: block; overflow: hidden; color: var(--vz-text-3); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .collections-page-title-wrap { display: flex; align-items: center; gap: 8px; }
.viza-redesign .collections-tabs-wrap {
  margin: -2px 0 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--vz-line);
  background: rgba(18, 14, 45, .22);
}
.viza-redesign .collections-tabs-scroll { display: flex; align-items: stretch; overflow-x: auto; padding: 0; scrollbar-width: none; }
.viza-redesign .collections-tabs-scroll::-webkit-scrollbar { display: none; }
.viza-redesign .collections-tab {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  color: var(--vz-text-3);
  font-size: 15px;
  font-weight: 780;
  place-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.viza-redesign .collections-tab:hover { color: #fff; }
.viza-redesign .collections-tab.is-active {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(104, 62, 184, .25), rgba(46, 25, 90, .13));
  color: #fff;
}
.viza-redesign .collections-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #7852ff, #ea4ee4);
  content: "";
}
.viza-redesign .quick-video-template-strip { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 4px 1px 10px; scrollbar-width: none; }
.viza-redesign .quick-video-template-strip::-webkit-scrollbar { display: none; }
.viza-redesign .quick-video-template-card { flex: 0 0 112px; width: 112px; min-width: 112px; padding: 0; border: 0; background: transparent; color: var(--vz-text-2); text-align: left; cursor: pointer; }
.viza-redesign .quick-video-template-thumb-wrap { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--vz-line); border-radius: 16px; background: var(--vz-surface-2); }
.viza-redesign .quick-video-template-thumb { display: block; width: 100%; height: 100%; object-fit: cover; }
.viza-redesign .quick-video-template-badge { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(6,8,15,.72); color: #fff; font-size: 11px; }
.viza-redesign .quick-video-template-name { display: block; margin-top: 7px; overflow: hidden; color: var(--vz-text-2); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .quick-video-template-card.is-selected .quick-video-template-thumb-wrap { border-color: var(--vz-violet); box-shadow: 0 0 0 3px rgba(139,92,246,.2); }
.viza-redesign .quick-video-template-card.is-selected .quick-video-template-name { color: #fff; }
.viza-redesign .carousel-thumb .draft-delete-btn,
.viza-redesign .carousel-thumb .studio-director-edit-btn,
.viza-redesign .carousel-thumb .media-card-action {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: auto;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(6,8,15,.84);
  color: #fff;
  font-size: 10px;
}
.viza-redesign .carousel-thumb .draft-delete-btn:hover { background: rgba(225,29,72,.92); }
.viza-redesign .carousel-thumb .studio-director-edit-btn:hover,
.viza-redesign .carousel-thumb .studio-director-edit-btn:focus-visible,
.viza-redesign .carousel-thumb .media-card-action:hover,
.viza-redesign .carousel-thumb .media-card-action:focus-visible {
  border-color: var(--vz-violet);
  background: rgba(109,93,252,.88);
  color: #fff;
}
.viza-redesign .list-actions { position: absolute; z-index: 4; top: 48px; right: 9px; }
.viza-redesign .list-actions .list-metric-action { display: grid; }
.viza-redesign .placeholder.incomplete { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(145deg,var(--vz-surface-2),#17142b); color: #bca9ff; font-size: 26px; }

/* Commerce and information pages */
.viza-redesign.commerce-page main.page-frame,
.viza-redesign.info-page main.page-frame { width: min(100%,var(--vz-content)); margin: 0 auto; padding: 16px 32px 56px; }
.viza-redesign .auth-title,
.viza-redesign .text-page-header h1 { margin-bottom: 14px; font-size: clamp(34px,7vw,58px); }
.viza-redesign .form-wrapper.credits-shell { padding: 0; background: transparent; }
.viza-redesign .credits-temp-balance-card { padding: 22px !important; border: 1px solid rgba(139,92,246,.28) !important; border-radius: 22px !important; background: radial-gradient(circle at 90% 10%,rgba(139,92,246,.18),transparent 18rem),var(--vz-surface) !important; box-shadow: var(--vz-shadow-sm); }
.viza-redesign .credits-content--page .credits-temp-balance-card { margin-bottom: 14px; padding-bottom: 16px !important; }
.viza-redesign .credits-content--page .credits-temp-balance-label { margin-bottom: 7px; color: #c4b5fd; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.viza-redesign .credits-temp-balance-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.viza-redesign .credits-temp-balance-number { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.viza-redesign .credits-temp-balance-number small { color: var(--vz-text-2); font-size: 14px; font-weight: 650; }
.viza-redesign .credits-temp-balance-number { font-size: clamp(36px,6vw,54px) !important; }
.viza-redesign .credits-temp-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 10px !important; }
.viza-redesign .credits-temp-summary-item { display: block; min-width: 0; height: 100%; padding: 14px; border: 1px solid var(--vz-line); border-radius: 14px; background: rgba(7,10,18,.45); }
.viza-redesign button.credits-temp-summary-item { width: 100%; color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.viza-redesign button.credits-temp-summary-item:hover { border-color: rgba(167,139,250,.62); background: rgba(20,25,45,.9); transform: translateY(-1px); }
.viza-redesign button.credits-temp-summary-item:focus-visible { outline: 2px solid var(--vz-violet); outline-offset: 2px; }
.viza-redesign .credits-temp-summary-main { min-width: 0; }
.viza-redesign .credits-temp-summary-name { display: inline-flex; align-items: center; min-height: 18px; margin: 0 0 6px; white-space: nowrap; }
.viza-redesign .credits-content--page .credits-temp-summary-name { gap: 7px; }
.viza-redesign .credits-content--page .credits-temp-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(129,140,248,.1); }
.viza-redesign .credits-content--page .credits-temp-dot.monthly { background: #818cf8; }
.viza-redesign .credits-content--page .credits-temp-dot.reserve { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.1); }
.viza-redesign .credits-temp-summary-value { display: block; color: #fff; font-size: 21px; font-weight: 850; line-height: 1; }
.viza-redesign .credits-temp-summary-exp { display: block; margin: 5px 0 0; color: var(--vz-text-3); font-size: 11px; font-weight: 650; line-height: 1.2; white-space: nowrap; overflow-wrap: normal; }
.viza-redesign .credits-content--page button.credits-temp-summary-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; }
.viza-redesign .credits-temp-summary-action { display: grid; grid-template-columns: 32px auto 12px; align-items: center; gap: 8px; color: #cbbcff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.viza-redesign .credits-temp-summary-action > i:first-child { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: rgba(129,140,248,.12); color: #a5b4fc; }
.viza-redesign .reserve-item .credits-temp-summary-action > i:first-child { background: rgba(52,211,153,.1); color: #6ee7b7; }
.viza-redesign .credits-temp-summary-action > i:last-child { color: var(--vz-text-3); font-size: 9px; }
.viza-redesign .credits-temp-pro-hero,
.viza-redesign .credits-temp-subscription-card,
.viza-redesign .credits-card { margin-top: 14px; padding: 22px !important; border: 1px solid var(--vz-line) !important; border-radius: 22px !important; background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025)) !important; }
.viza-redesign .credits-temp-pro-hero { position: relative; overflow: hidden; border-color: rgba(139,92,246,.35) !important; background: linear-gradient(135deg,rgba(109,93,252,.23),rgba(244,114,208,.09)) !important; }
.viza-redesign .credits-temp-pro-pill { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(94,224,160,.13); color: var(--vz-green); font-size: 12px; font-weight: 800; }
.viza-redesign .credits-temp-subscribe-btn,
.viza-redesign .credits-temp-subscribe-unavailable { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 0; border-radius: 13px; background: var(--vz-gradient); color: #fff; font-weight: 800; }
.viza-redesign .credits-temp-subscribe-btn:hover,
.viza-redesign .credits-temp-subscribe-btn:focus-visible { border-color: transparent; background: var(--vz-gradient) !important; color: #fff !important; box-shadow: 0 14px 32px rgba(109,93,252,.42); transform: translateY(-2px); }
.viza-redesign .credits-section-heading { margin: 28px 0 12px; font-size: 22px; }
.viza-redesign .credits-section-heading { display: flex; align-items: center; gap: 10px; }
.viza-redesign .credits-section-heading .form-sub-header { margin: 0; }
.viza-redesign .cta-grid-credits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.viza-redesign .credits-card {
  position: relative; display: flex; min-width: 0; min-height: 210px; flex-direction: column; justify-content: flex-end;
  margin: 0; padding: 26px !important; overflow: hidden; color: var(--vz-text); text-align: left; text-decoration: none;
  background:
    radial-gradient(circle at 100% 0,rgba(139,92,246,.2),transparent 12rem),
    linear-gradient(145deg,rgba(29,36,58,.96),rgba(14,19,32,.98)) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.2); cursor: pointer;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.viza-redesign .credits-card:hover { transform: translateY(-2px); border-color: rgba(139,92,246,.52) !important; box-shadow: 0 20px 46px rgba(0,0,0,.28); }
.viza-redesign .credits-card::after {
  content: "\f09d"; position: absolute; top: 22px; right: 24px; color: rgba(167,139,250,.76);
  font-family: "Font Awesome 5 Free"; font-size: 24px; font-weight: 900;
}
.viza-redesign .credits-card .discount-badge {
  position: absolute; top: 50%; right: 14px; left: auto; min-height: 28px; padding: 5px 9px; border: 1px solid rgba(94,224,160,.28);
  border-radius: 999px; background: rgba(94,224,160,.1); color: var(--vz-green); font-size: 12px; font-weight: 850;
  transform: translateY(-50%);
}
.viza-redesign .credits-card .credits-amount { color: #fff; font-size: clamp(32px,4vw,46px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.viza-redesign .credits-card .credits-label { margin-top: 4px; color: var(--vz-text-3); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.viza-redesign .credits-card .credits-price { margin-top: 12px; color: #c4b5fd; font-size: 20px; font-weight: 850; }
.viza-redesign .credits-card .credits-purchase-type { margin-top: 3px; color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .credits-card .credits-purchase-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px; margin-top: 14px;
  border-radius: 11px; background: var(--vz-gradient); color: #fff; font-size: 13px; font-weight: 850; line-height: 1;
  box-shadow: 0 9px 20px rgba(109,93,252,.25); transition: box-shadow .18s ease,transform .18s ease;
}
.viza-redesign .credits-card:hover .credits-purchase-cta,
.viza-redesign .credits-card:focus-visible .credits-purchase-cta { box-shadow: 0 12px 25px rgba(109,93,252,.4); transform: translateY(-1px); }
.viza-redesign .credits-card.ios-checkout,
.viza-redesign .credits-card.android-checkout { display: none !important; }
html.android-webview .viza-redesign .credits-card.web-checkout { display: none !important; }
html.android-webview .viza-redesign .credits-card.android-checkout { display: flex !important; }
html.ios-webview .viza-redesign .credits-card.web-checkout,
html.ios-webview .viza-redesign .credits-card.android-checkout { display: none !important; }
html.ios-webview .viza-redesign .credits-card.ios-checkout { display: flex !important; }
.viza-redesign .promo-code-wrapper { display: block; margin: 18px 0 0; color: #b9a9ff; text-align: center; font-weight: 800; }
.viza-redesign .credits-temp-offer-eyebrow { margin: 0 0 7px; color: #c4b5fd; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.viza-redesign .credits-decision { margin-bottom: 4px; }
.viza-redesign .credits-decision > h2 { margin: 0; color: var(--vz-text); font-size: clamp(24px,3vw,34px); letter-spacing: -.035em; }
.viza-redesign .credits-decision__intro { max-width: 62ch; margin: 7px 0 18px; color: var(--vz-text-2); font-size: 14px; line-height: 1.45; }
.viza-redesign .credits-decision__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.viza-redesign .credits-decision__grid--member { margin-top: 16px; }
.viza-redesign .credits-decision-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--vz-line-strong); border-radius: 16px; background: linear-gradient(145deg,rgba(27,35,61,.92),rgba(14,20,36,.92)); box-shadow: 0 14px 32px rgba(0,0,0,.15); }
.viza-redesign .credits-decision-card--plan { border-color: rgba(139,92,246,.45); background: radial-gradient(circle at 100% 0,rgba(139,92,246,.18),transparent 14rem),linear-gradient(145deg,rgba(27,35,61,.96),rgba(14,20,36,.94)); }
.viza-redesign .credits-decision-card--packs { border-color: rgba(52,211,153,.34); background: radial-gradient(circle at 100% 0,rgba(52,211,153,.12),transparent 14rem),linear-gradient(145deg,rgba(27,35,61,.96),rgba(14,20,36,.94)); }
.viza-redesign .credits-decision-card__eyebrow { margin: 0 0 6px; color: #c4b5fd; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.viza-redesign .credits-decision-card--packs .credits-decision-card__eyebrow { color: #6ee7b7; }
.viza-redesign .credits-decision-card h3 { margin: 0; color: #fff; font-size: 19px; letter-spacing: -.02em; }
.viza-redesign .credits-decision-card > p:not(.credits-decision-card__eyebrow) { margin: 7px 0 15px; color: var(--vz-text-2); font-size: 13px; line-height: 1.45; }
.viza-redesign .credits-decision-options { display: grid; gap: 9px; }
.viza-redesign .credits-decision-options .android-checkout,
.viza-redesign .credits-decision-options .ios-checkout { display: none; }
html.android-webview .viza-redesign .credits-decision-options .web-checkout,
html.ios-webview .viza-redesign .credits-decision-options .web-checkout,
html.ios-webview .viza-redesign .credits-decision-options .android-checkout { display: none; }
html.android-webview .viza-redesign .credits-decision-options .android-checkout,
html.ios-webview .viza-redesign .credits-decision-options .ios-checkout { display: inline-flex; }
.viza-redesign .credits-decision-option { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding-top: 11px; border-top: 1px solid rgba(148,163,184,.2); }
.viza-redesign .credits-decision-option:first-child { padding-top: 0; border-top: 0; }
.viza-redesign .credits-decision-option > div { display: grid; gap: 2px; }
.viza-redesign .credits-decision-option strong { color: #fff; font-size: 15px; }
.viza-redesign .credits-decision-option span { color: #c4b5fd; font-size: 12px; font-weight: 800; }
.viza-redesign .credits-decision-option small { color: var(--vz-text-3); font-size: 11px; line-height: 1.3; }
.viza-redesign .credits-decision-option .btn { min-width: 104px; min-height: 36px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.viza-redesign .credits-decision-option--executive .btn { border-color: rgba(244,114,208,.48); color: #f5c0e8; }
.viza-redesign .credits-decision-pack-values { display: grid; gap: 7px; margin-bottom: 15px; color: var(--vz-text-2); font-size: 12px; }
.viza-redesign .credits-decision-pack-values span { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 9px; background: rgba(3,8,20,.34); }
.viza-redesign .credits-decision-pack-values strong { color: #fff; font-size: 13px; }
.viza-redesign .credits-decision-card__action { width: 100%; min-height: 40px; margin-top: auto; font-size: 13px; }
.viza-redesign .credits-decision-unavailable { padding: 10px; border-radius: 10px; background: rgba(251,191,36,.09); color: #fde68a; font-size: 12px; line-height: 1.35; }
.viza-redesign .credits-decision #subscriptionUpgradeHint { margin: 10px 0 0; color: #fde68a; text-align: left; }
.viza-redesign .credits-popup-content .credits-decision__grid { grid-template-columns: 1fr; gap: 11px; }
.viza-redesign .credits-popup-content .credits-decision-card { padding: 16px; }
.viza-redesign .credits-popup-content .credits-decision-card--packs { padding: 14px 16px; }
.viza-redesign .credits-popup-content .credits-decision-card--packs > p:not(.credits-decision-card__eyebrow) { margin-bottom: 11px; }
.viza-redesign .credit-rules--compact { margin: 10px 0 14px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.viza-redesign .credit-rules--compact summary {
  display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 4px;
  color: #cbbcff; font-size: 13px; font-weight: 800; cursor: pointer; list-style: none;
}
.viza-redesign .credit-rules--compact summary::-webkit-details-marker { display: none; }
.viza-redesign .credit-rules--compact summary::before { content: "+"; display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; padding: 0 0 1px; border: 1px solid var(--vz-line-strong); border-radius: 50%; background: rgba(139,92,246,.1); color: #cbbcff; font-family: Arial,sans-serif; font-size: 16px; line-height: 1; }
.viza-redesign .credit-rules--compact[open] summary::before { content: "−"; }
.viza-redesign .credits-content--page .credits-temp-balance-card .credit-rules--compact { margin: 4px 0 -3px; }
.viza-redesign .credits-content--page .credits-temp-balance-card .credit-rules--compact summary { min-height: 32px; }
.viza-redesign .credit-rules--compact .credit-rules__grid { margin-top: 8px; }
.viza-redesign .credit-rules--compact .credit-rules__grid article { min-height: 0; padding: 14px; border-radius: 13px; }
.viza-redesign .credit-rules--compact .credit-rules__grid article i { font-size: 16px; }
.viza-redesign .credit-rules--compact .credit-rules__grid article h3 { margin: 7px 0 4px; font-size: 13px; }
.viza-redesign .credit-rules--compact .credit-rules__grid article p { font-size: 11px; line-height: 1.45; }
.viza-redesign .credits-purchase-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 14px; }
@media (min-width: 900px) {
  .viza-redesign .credits-content--page .settings-panel[data-credits-panel="plans"] { padding: 22px; }
  .viza-redesign .credits-content--page .credits-purchase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}
.viza-redesign .credits-purchase-card { min-width: 0; padding: 20px; border: 1px solid var(--vz-line-strong); border-radius: 18px; background: linear-gradient(145deg,rgba(27,35,61,.92),rgba(14,20,36,.94)); box-shadow: 0 14px 32px rgba(0,0,0,.15); }
.viza-redesign .credits-purchase-card--plan { border-color: rgba(139,92,246,.46); background: radial-gradient(circle at 100% 0,rgba(139,92,246,.18),transparent 15rem),linear-gradient(145deg,rgba(27,35,61,.96),rgba(14,20,36,.94)); }
.viza-redesign .credits-purchase-card--packs { border-color: rgba(52,211,153,.34); background: radial-gradient(circle at 100% 0,rgba(52,211,153,.1),transparent 15rem),linear-gradient(145deg,rgba(27,35,61,.96),rgba(14,20,36,.94)); }
.viza-redesign .credits-purchase-card > h2,
.viza-redesign .credits-current-plan-heading h2 { margin: 0; color: #fff; font-size: clamp(23px,2.6vw,31px); letter-spacing: -.035em; }
.viza-redesign .credits-purchase-card__intro { margin: 8px 0 16px; color: var(--vz-text-2); font-size: 13px; line-height: 1.5; }
.viza-redesign .credits-plan-price { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.viza-redesign .credits-plan-price strong { color: #fff; font-size: clamp(31px,4vw,42px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.viza-redesign .credits-plan-price span { color: var(--vz-text-2); font-size: 13px; font-weight: 700; }
.viza-redesign .credits-plan-allocation { margin: 6px 0 0; color: #cbbcff; font-size: 12px; font-weight: 800; }
.viza-redesign .credits-plan-benefits { display: grid; gap: 7px; margin: 16px 0 18px; padding: 0; color: var(--vz-text-2); font-size: 12px; list-style: none; }
.viza-redesign .credits-plan-benefits li::before { content: "✓"; margin-right: 8px; color: var(--vz-green); font-weight: 900; }
.viza-redesign .credits-plan-feature-card { position: relative; margin-top: 18px; padding: 18px; border: 1px solid rgba(168,85,247,.62); border-radius: 16px; background: radial-gradient(circle at 100% 0,rgba(168,85,247,.18),transparent 12rem),linear-gradient(145deg,rgba(38,26,69,.78),rgba(13,18,34,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); cursor: pointer; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.viza-redesign .credits-plan-feature-card:hover { border-color: rgba(192,132,252,.82); box-shadow: 0 18px 38px rgba(0,0,0,.24),0 0 0 1px rgba(168,85,247,.12); transform: translateY(-2px); }
.viza-redesign .credits-plan-feature-card:focus-within { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(139,92,246,.2); }
.viza-redesign .credits-plan-feature-card__top { position: absolute; top: 18px; right: 18px; color: #d8b4fe; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.viza-redesign .credits-plan-feature-card__top > span { padding: 5px 11px; border: 1px solid rgba(168,85,247,.64); border-radius: 999px; background: rgba(126,34,206,.18); color: #ead7ff; font-size: 10px; white-space: nowrap; }
.viza-redesign .credits-plan-feature-card .credits-plan-price { margin-top: 0; padding-right: 70px; }
.viza-redesign .credits-plan-feature-card .credits-plan-allocation { font-size: 13px; }
.viza-redesign .credits-plan-feature-card .credits-plan-benefits { margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid rgba(196,181,253,.16); }
.viza-redesign .credits-plan-feature-card .credits-plan-actions { display: block; }
.viza-redesign .credits-plan-feature-card .credits-plan-start-actions { display: block; }
.viza-redesign .credits-plan-feature-card .btn { width: 100%; min-height: 47px; font-size: 15px; }
.viza-redesign .credits-plan-visual-cta { pointer-events: none; }
.viza-redesign .credits-plan-card-actions { display: contents; }
.viza-redesign .credits-plan-feature-card__action { position: absolute; z-index: 4; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; color: transparent; cursor: pointer; }
.viza-redesign .credits-plan-feature-card__action.android-checkout,
.viza-redesign .credits-plan-feature-card__action.ios-checkout { display: none; }
html.android-webview .viza-redesign .credits-plan-feature-card__action.web-checkout,
html.ios-webview .viza-redesign .credits-plan-feature-card__action.web-checkout { display: none; }
html.android-webview .viza-redesign .credits-plan-feature-card__action.android-checkout,
html.ios-webview .viza-redesign .credits-plan-feature-card__action.ios-checkout { display: block; }
.viza-redesign .credits-plan-compare-path { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: transparent; color: #d8b4fe; font: inherit; font-size: 12px; cursor: pointer; }
.viza-redesign .credits-plan-compare-path > span { color: #fff; }
.viza-redesign .credits-plan-compare-path strong { color: #e9d5ff; font-weight: 850; }
.viza-redesign .credits-plan-compare-path i { margin-left: 2px; font-size: 10px; transition: transform .18s ease; }
.viza-redesign .credits-plan-compare-path:hover i { transform: translateX(3px); }
.viza-redesign .credits-compare-checkout-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.viza-redesign .credits-compare-checkout-actions .btn { width: 100%; }
.viza-redesign .credits-plan-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; }
.viza-redesign .credits-plan-actions .btn,
.viza-redesign .credits-plan-start-actions,
.viza-redesign .credits-plan-start-actions .btn { width: 100%; }
.viza-redesign .credits-plan-start-actions { display: contents; }
.viza-redesign .credits-plan-actions .android-checkout,
.viza-redesign .credits-plan-actions .ios-checkout { display: none; }
html.android-webview .viza-redesign .credits-plan-actions .web-checkout,
html.ios-webview .viza-redesign .credits-plan-actions .web-checkout,
html.ios-webview .viza-redesign .credits-plan-actions .android-checkout,
html.android-webview .viza-redesign .credits-executive-path.web-checkout,
html.ios-webview .viza-redesign .credits-executive-path.web-checkout { display: none; }
html.android-webview .viza-redesign .credits-plan-actions .android-checkout,
html.ios-webview .viza-redesign .credits-plan-actions .ios-checkout { display: inline-flex; }
.viza-redesign .credits-executive-path { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(148,163,184,.18); color: var(--vz-text-3); font-size: 11px; }
.viza-redesign .credits-executive-path :is(a,button) { padding: 0; border: 0; background: transparent; color: #e9c2ff; font: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.viza-redesign .credits-current-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viza-redesign .credits-current-plan-details { display: grid; gap: 4px; margin: 15px 0 10px; padding: 14px; border: 1px solid rgba(94,224,160,.3); border-radius: 13px; background: rgba(94,224,160,.07); }
.viza-redesign .credits-current-plan-details strong { color: #fff; font-size: 14px; }
.viza-redesign .credits-current-plan-details span { color: var(--vz-text-2); font-size: 11px; line-height: 1.4; }
.viza-redesign .credits-manage-plan { width: 100%; }
.viza-redesign .credits-upgrade-callout { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vz-line); }
.viza-redesign .credits-upgrade-callout p { display: grid; gap: 4px; margin: 0 0 12px; }
.viza-redesign .credits-upgrade-callout p strong { color: #fff; font-size: 14px; }
.viza-redesign .credits-upgrade-callout p span { color: var(--vz-text-2); font-size: 11px; line-height: 1.45; }
.viza-redesign .credits-upgrade-callout .btn { width: 100%; }
.viza-redesign .credits-purchase-card .cta-grid-credits { gap: 10px; margin-top: 4px; }
.viza-redesign .credits-purchase-card .credits-card { min-height: 185px; padding: 18px !important; border-radius: 15px !important; }
.viza-redesign .credits-purchase-card .credits-card::after { top: 17px; right: 17px; font-size: 19px; }
.viza-redesign .credits-purchase-card .credits-card .credits-amount { font-size: clamp(29px,3.2vw,38px); }
.viza-redesign .credits-purchase-card .credits-card .credits-price { font-size: 22px; }
.viza-redesign .credits-purchase-card--packs .credits-card { border-color: rgba(52,211,153,.34) !important; background: radial-gradient(circle at 100% 0,rgba(52,211,153,.16),transparent 9rem),linear-gradient(145deg,rgba(18,48,48,.82),rgba(10,27,34,.94)) !important; }
.viza-redesign .credits-purchase-card--packs .credits-card::after { content: "\f51e"; color: #6ee7b7; }
.viza-redesign .credits-purchase-card--packs .credits-card .credits-label { color: #9acdb8; }
.viza-redesign .credits-purchase-card--packs .credits-card .credits-price { color: #fff; }
.viza-redesign .credits-purchase-card--packs .credits-card .credits-purchase-cta { background: linear-gradient(135deg,#22c55e 0%,#10b981 48%,#14b8a6 100%); box-shadow: 0 9px 22px rgba(16,185,129,.28); }
.viza-redesign .credits-purchase-card--packs .credits-card .credits-purchase-cta--secondary { border: 1px solid rgba(52,211,153,.9); background: rgba(8,20,29,.58); color: #6ee7b7; box-shadow: none; }
.viza-redesign .credits-purchase-card--packs .credits-card:hover .credits-purchase-cta,
.viza-redesign .credits-purchase-card--packs .credits-card:focus-visible .credits-purchase-cta { box-shadow: 0 12px 25px rgba(16,185,129,.36); }
.viza-redesign .credits-purchase-card--packs .credits-card:hover .credits-purchase-cta--secondary,
.viza-redesign .credits-purchase-card--packs .credits-card:focus-visible .credits-purchase-cta--secondary { box-shadow: 0 0 0 3px rgba(52,211,153,.1); }
.viza-redesign .credits-purchase-card--packs .discount-badge { top: calc(50% + 7px); min-height: 22px; padding: 3px 6px; color: #fff; font-size: 9px; }
.viza-redesign .credits-purchase-card--packs > .credits-temp-offer-eyebrow { color: #6ee7b7; }
.viza-redesign .credits-purchase-card--packs .credits-purchase-links button { color: #6ee7b7; }
.viza-redesign .credits-purchase-card--packs .credits-purchase-links button:hover { color: #a7f3d0; }
.viza-redesign .credits-secure-provider { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: var(--vz-text-2); font-size: 11px; }
.viza-redesign .credits-secure-provider > i { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: rgba(94,224,160,.11); color: var(--vz-green); font-size: 11px; }
.viza-redesign .credits-secure-provider p { margin: 0; }
.viza-redesign .credits-secure-provider--shared { justify-content: center; width: 100%; margin-top: 14px; }
.viza-redesign .credits-secure-provider--shared > i { background: var(--vz-gradient); color: #fff; box-shadow: 0 6px 16px rgba(109,93,252,.24); }
.viza-redesign .credits-purchase-links { display: flex; justify-content: center; gap: 15px; margin-top: 12px; text-align: center; }
.viza-redesign .credits-purchase-links :is(a,button) { padding: 0; border: 0; background: transparent; color: #b9a9ff; font: inherit; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
.viza-redesign .credits-purchase-links :is(a,button):hover { color: #d8ceff; }
.viza-redesign .credits-content--popup .credits-purchase-grid { display: flex; flex-direction: column; }
.viza-redesign .credits-content--popup .credits-purchase-card--packs { order: -1; }
.viza-redesign .credits-content--popup .credits-purchase-card { padding: 15px; border-radius: 15px; }
.viza-redesign .credits-content--popup .credits-purchase-card > h2 { font-size: 23px; }
.viza-redesign .credits-content--popup .credits-purchase-card__intro { margin-bottom: 13px; font-size: 12px; }
.viza-redesign .credits-content--popup .credits-plan-price { margin-top: 12px; }
.viza-redesign .credits-content--popup .credits-purchase-card .credits-card { min-height: 165px; padding: 15px !important; }
.viza-redesign .credits-content--popup > .credit-rules--compact { display: block; width: 100%; }
.viza-redesign .credits-content--popup > .credit-rules--compact summary { white-space: nowrap; }
.viza-redesign .credits-content--popup .credit-rules--compact .credit-rules__grid { grid-template-columns: 1fr; }
@media (max-width: 699px) {
  .viza-redesign .credits-purchase-grid { grid-template-columns: 1fr; }
  .viza-redesign .credits-purchase-card { padding: 16px; border-radius: 16px; }
  .viza-redesign .credits-purchase-card > h2,
  .viza-redesign .credits-current-plan-heading h2 { font-size: 24px; }
  .viza-redesign .credits-plan-actions { grid-template-columns: 1fr; }
  .viza-redesign .credits-plan-start-actions { display: block; }
  .viza-redesign .credit-rules--compact .credit-rules__grid { grid-template-columns: 1fr; }
  .viza-redesign .credits-purchase-card .cta-grid-credits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .viza-redesign .credits-purchase-card .credits-card { min-height: 164px; padding: 15px !important; }
  .viza-redesign .credits-purchase-links { flex-wrap: wrap; }
  .viza-redesign .credits-content--page .credits-disclosure { white-space: normal; }
  .viza-redesign .credits-temp-summary-action span { display: none; }
  .viza-redesign .credits-temp-summary-action { grid-template-columns: 32px 10px; gap: 5px; }
}
@media (max-width: 430px) {
  .viza-redesign .credits-purchase-card .cta-grid-credits { grid-template-columns: 1fr; }
  .viza-redesign .credits-executive-path { align-items: flex-start; flex-direction: column; }
  .viza-redesign .credits-temp-summary-exp { white-space: normal; overflow-wrap: anywhere; }
}
.viza-redesign .credits-popup-content .plan-comparison__desktop { display: none; }
.viza-redesign .credits-popup-content .plan-comparison__mobile { display: grid; gap: 12px; margin-top: 18px; }
.viza-redesign .credits-popup-content .plan-comparison { padding: 16px; }
.viza-redesign .credits-popup-content .plan-comparison__card { padding: 15px; border: 1px solid var(--vz-line); border-radius: 14px; background: var(--vz-surface-2); }
.viza-redesign .credits-popup-content .plan-comparison__card--executive { border-color: rgba(167,139,250,.55); background: rgba(109,93,252,.12); }
.viza-redesign .credits-popup-content .plan-comparison__card.is-current { border-color: rgba(94,224,160,.55); }
.viza-redesign .credits-popup-content .plan-comparison__card h3 { margin: 0; color: var(--vz-text); font-size: 18px; }
.viza-redesign .credits-popup-content .plan-comparison__price { margin: 3px 0 12px; color: #c4b5fd; font-size: 13px; font-weight: 800; }
.viza-redesign .credits-popup-content .plan-comparison__card dl { margin: 0; }
.viza-redesign .credits-popup-content .plan-comparison__card dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 9px; padding: 8px 0; border-top: 1px solid var(--vz-line); }
.viza-redesign .credits-popup-content .plan-comparison__card dt { color: var(--vz-text-3); font-size: 11px; }
.viza-redesign .credits-popup-content .plan-comparison__card dd { margin: 0; color: var(--vz-text); font-size: 12px; font-weight: 700; line-height: 1.4; }
.viza-redesign .credits-compare-panel > h2 { margin: 0; color: var(--vz-text); font-size: clamp(24px,3vw,32px); letter-spacing: -.035em; }
.viza-redesign .credits-compare-panel__intro { margin: 7px 0 16px; color: var(--vz-text-2); font-size: 13px; line-height: 1.45; }
.viza-redesign .credits-compare-panel .plan-comparison { margin: 0; }
.viza-redesign .credits-compare-panel__action { display: flex; width: min(100%,280px); min-height: 42px; margin: 16px auto 0; align-items: center; justify-content: center; }
.viza-redesign .plan-comparison__checkout-notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 14px; padding: 11px 13px; border: 1px solid rgba(196,181,253,.2); border-radius: 12px; background: rgba(109,93,252,.08); }
.viza-redesign .plan-comparison__checkout-notice i { flex: 0 0 auto; margin-top: 2px; color: #b68cff; font-size: 13px; }
.viza-redesign .plan-comparison__checkout-notice p { margin: 0; color: #fff; font-size: 12px; line-height: 1.45; }
.viza-redesign .plan-comparison__checkout-notice .android-only,
.viza-redesign .plan-comparison__checkout-notice .ios-only { display: none; }
html.android-webview .viza-redesign .plan-comparison__checkout-notice .web-only,
html.ios-webview .viza-redesign .plan-comparison__checkout-notice .web-only { display: none; }
html.android-webview .viza-redesign .plan-comparison__checkout-notice .android-only,
html.ios-webview .viza-redesign .plan-comparison__checkout-notice .ios-only { display: block; }
.viza-redesign .credits-plan-offers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.viza-redesign .credits-plan-offer,
.viza-redesign .credits-executive-offer { display: grid; gap: 3px; min-width: 0; padding: 15px; border: 1px solid rgba(139,92,246,.36); border-radius: 14px; background: rgba(9,13,26,.42); color: var(--vz-text); text-align: left; text-decoration: none; cursor: pointer; }
.viza-redesign .credits-plan-offer--executive,
.viza-redesign .credits-executive-offer { border-color: rgba(244,114,208,.34); }
.viza-redesign .credits-plan-offer:hover,.viza-redesign .credits-plan-offer:focus-visible,
.viza-redesign .credits-executive-offer:hover,.viza-redesign .credits-executive-offer:focus-visible { border-color: transparent; background: var(--vz-selection-fill); box-shadow: 0 11px 26px rgba(109,93,252,.2); outline: 0; }
.viza-redesign .credits-plan-offer strong,.viza-redesign .credits-executive-offer strong { font-size: 16px; }
.viza-redesign .credits-plan-offer span,.viza-redesign .credits-executive-offer em { color: #c4b5fd; font-size: 13px; font-style: normal; font-weight: 800; }
.viza-redesign .credits-plan-offer small,.viza-redesign .credits-executive-offer span { color: var(--vz-text-2); font-size: 11px; line-height: 1.35; }
.viza-redesign .credits-executive-offer { grid-template-columns: minmax(0,1fr) auto; align-items: center; margin-top: 14px; }
.viza-redesign .credits-executive-offer span { grid-column: 1; }
.viza-redesign .credits-executive-offer em { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.viza-redesign .credits-pack-path { width: 100%; margin-top: 13px; padding: 0; border: 0; background: transparent; color: #c4b5fd; font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.viza-redesign .credits-upgrade-path { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; width: 100%; margin-top: 13px; border: 1px solid rgba(244,114,208,.4); border-radius: 12px; background: rgba(244,114,208,.08); color: #f5c0e8; font: inherit; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; }
.viza-redesign .credits-upgrade-path:hover,.viza-redesign .credits-upgrade-path:focus-visible { border-color: transparent; background: var(--vz-gradient); color: #fff; outline: 0; }
.viza-redesign .credits-pack-intro { margin: 3px 0 0; color: var(--vz-text-3); font-size: 12px; line-height: 1.35; }
.viza-redesign .credits-purchase-review { padding: 8px 2px 2px; }
.viza-redesign .credits-purchase-review__eyebrow { margin: 0 0 7px; color: #c4b5fd; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.viza-redesign .credits-purchase-review h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.viza-redesign .credits-purchase-review__price { margin: 9px 0 0; color: #fff; font-size: 22px; font-weight: 850; }
.viza-redesign .credits-purchase-review__summary { margin: 4px 0 16px; color: var(--vz-text-2); }
.viza-redesign .credits-purchase-review__reassurance,.viza-redesign .credits-purchase-review__trust { margin: 0; padding: 13px; border: 1px solid var(--vz-line); border-radius: 12px; background: rgba(7,10,18,.42); color: var(--vz-text-2); font-size: 13px; line-height: 1.45; }
.viza-redesign .credits-purchase-review__trust { margin-top: 9px; color: #c4b5fd; }
.viza-redesign .credits-purchase-review__actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 10px; margin-top: 18px; }
.viza-redesign .promo-code-wrapper :is(a,button) { color: #b9a9ff; font-weight: 800; }
.viza-redesign #creditsTempDisclaimerBlock { max-width: 62ch; margin: 20px auto 0; }
.viza-redesign #creditsTempDisclaimerBlock .credits-label-small { margin: 12px 0 0; color: var(--vz-text-3); font-size: 12px; line-height: 1.45; text-align: left; }
.viza-redesign #creditsTempDisclaimerBlock .standard-link { color: #b9a9ff; }
.viza-redesign .credits-temp-plan-compare,
.viza-redesign .transactions-wrapper { overflow-x: auto; border: 1px solid var(--vz-line); border-radius: 18px; }
.viza-redesign .credits-history-heading { margin: 0 0 14px; }
.viza-redesign .credits-history-heading .credits-temp-offer-eyebrow { margin-bottom: 5px; }
.viza-redesign .credits-history-heading h2 { margin: 0; color: #fff; font-size: clamp(23px,2.6vw,31px); letter-spacing: -.035em; }
.viza-redesign [data-credits-panel="history"] .transactions-wrapper { border-color: rgba(139,92,246,.3); background: linear-gradient(145deg,rgba(18,24,43,.96),rgba(11,16,30,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.viza-redesign .pagination-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 2px; }
.viza-redesign .pagination-controls button { min-height: 38px; padding: 0 13px; border: 1px solid var(--vz-line-strong); border-radius: 10px; background: var(--vz-surface-3); color: var(--vz-text-2); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.viza-redesign .pagination-controls button:not(:disabled):hover,
.viza-redesign .pagination-controls button:not(:disabled):focus-visible { border-color: transparent; background: rgba(139,92,246,.22); color: #fff; }
.viza-redesign .pagination-controls button:disabled { opacity: .42; cursor: default; }
.viza-redesign .pagination-controls #page-indicator { min-width: 46px; color: var(--vz-text-2); font-size: 13px; font-weight: 800; text-align: center; }
.viza-redesign .credits-plan-table,
.viza-redesign .transactions-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.viza-redesign .credits-plan-table th,
.viza-redesign .credits-plan-table td,
.viza-redesign .transactions-table th,
.viza-redesign .transactions-table td { padding: 13px; border-bottom: 1px solid var(--vz-line); text-align: left; }
.viza-redesign .credits-plan-table th,
.viza-redesign .transactions-table th { background: var(--vz-surface-2); color: var(--vz-text-2); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.viza-redesign [data-credits-panel="history"] .transactions-table th { background: linear-gradient(135deg,rgba(109,93,252,.2),rgba(139,92,246,.1)); color: #d8ceff; }
.viza-redesign [data-credits-panel="history"] .transactions-table tbody tr:nth-child(even) td { background: rgba(139,92,246,.035); }
.viza-redesign [data-credits-panel="history"] .transactions-table tbody tr { transition: background .16s ease; }
.viza-redesign [data-credits-panel="history"] .transactions-table tbody tr:hover td { background: rgba(139,92,246,.085); }
.viza-redesign [data-credits-panel="history"] .transactions-table td:first-child { color: var(--vz-text-2); font-variant-numeric: tabular-nums; }
.viza-redesign [data-credits-panel="history"] .transactions-table td:nth-child(2) { color: #f3f1ff; }
.viza-redesign [data-credits-panel="history"] .transactions-table .tx-amount { font-weight: 850; font-variant-numeric: tabular-nums; }
.viza-redesign [data-credits-panel="history"] .transactions-table .tx-amount.is-positive { color: #6ee7b7; }
.viza-redesign [data-credits-panel="history"] .transactions-table .tx-amount.is-negative { color: #fda4af; }
@media (max-width: 767px) {
  /* Both credit tables retain every column on a phone; the content may wrap
     within a cell, but it never requires horizontal scrolling. */
  .viza-redesign .credits-temp-plan-compare { overflow-x: hidden; }
  .viza-redesign .credits-plan-table { min-width: 0; table-layout: fixed; font-size: 12px; }
  .viza-redesign .credits-plan-table col.col-feature { width: 54%; }
  .viza-redesign .credits-plan-table col.col-basic,
  .viza-redesign .credits-plan-table col.col-pro { width: 23%; }
  .viza-redesign .credits-plan-table th,
  .viza-redesign .credits-plan-table td { padding: 10px 7px; overflow-wrap: anywhere; }
  .viza-redesign .credits-plan-table th { font-size: 10px; letter-spacing: .045em; }
  .viza-redesign .credits-plan-table th:not(:first-child),
  .viza-redesign .credits-plan-table td:not(:first-child) { text-align: center; }
  .viza-redesign .credits-plan-table th:not(:first-child) { white-space: nowrap; }
  /* Transaction history is intentionally a three-column mobile table. Keep
     the amount visible instead of inheriting the desktop 620px minimum. */
  .viza-redesign .transactions-wrapper { overflow-x: hidden; }
  .viza-redesign .transactions-table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .viza-redesign .transactions-table th,
  .viza-redesign .transactions-table td { padding: 12px 10px; }
  .viza-redesign .transactions-table .col-date,
  .viza-redesign .transactions-table td:nth-child(1) { width: 31%; white-space: nowrap; }
  .viza-redesign .transactions-table .col-reason,
  .viza-redesign .transactions-table td:nth-child(2) {
    width: 47%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .viza-redesign .transactions-table .col-amount,
  .viza-redesign .transactions-table td:nth-child(3) { width: 22%; white-space: nowrap; }
  .viza-redesign .transactions-table td.tx-amount { font-size: 13px; }
}
.viza-redesign .text-page-header { width: 100%; max-width: none; margin: 0; padding: 0 0 18px; text-align: left; }
.viza-redesign .page-eyebrow { margin: 0 0 8px; color: #c4b5fd; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.viza-redesign .text-page-header .page-title { margin-bottom: 8px; font-size: clamp(26px,3.25vw,38px); }
.viza-redesign .text-page-header .intro { max-width: 68ch; color: var(--vz-text-2); font-size: clamp(16px,2vw,19px); }
.viza-redesign .text-page-content { width: 100%; max-width: none; padding: 24px; border: 1px solid var(--vz-line); border-radius: 22px; background: var(--vz-surface); }
.viza-redesign .pricing-table { width: 100% !important; max-width: none !important; margin: 0 !important; border-collapse: collapse; }
.viza-redesign .pricing-table th,
.viza-redesign .pricing-table td { padding: 15px !important; border: 0 !important; border-bottom: 1px solid var(--vz-line) !important; background: transparent !important; color: var(--vz-text-2) !important; }
.viza-redesign .pricing-table th { color: var(--vz-text) !important; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.viza-redesign .pricing-table td:last-child { color: #c6b8ff !important; font-weight: 800; text-align: right; }
.viza-redesign .text-page-footer { padding: 22px 0; }
.viza-redesign .legal-section { width: 100%; max-width: none; margin: 0 0 28px; }
.viza-redesign .legal-section h2 { margin-bottom: 9px; font-size: 22px; }
.viza-redesign .legal-section p,
.viza-redesign .legal-section li { color: var(--vz-text-2); }
.viza-redesign .legal-section a,
.viza-redesign .text-page-content a { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.viza-redesign .help-page { max-width: none; }
.viza-redesign .help-page-intro,
.viza-redesign .help-page .search-panel,
.viza-redesign .help-page .faq-section { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.viza-redesign .help-page-intro { margin-bottom: 14px !important; text-align: left !important; }
.viza-redesign .help-page-intro .page-title { margin-bottom: 7px; font-size: clamp(26px,3.25vw,38px); }
.viza-redesign .help-subtitle { color: var(--vz-text-2); font-size: 17px; }
.viza-redesign .search-panel { margin-bottom: 18px; padding: 8px; border: 1px solid var(--vz-line); border-radius: 16px; background: var(--vz-surface); }
.viza-redesign .search-panel .search { position: relative; }
.viza-redesign .search-panel input { width: 100%; min-height: 50px; padding: 0 52px 0 14px; border: 0; outline: 0; background: transparent; color: var(--vz-text); }
.viza-redesign .help-page .faq-group { margin-top: 0; }
.viza-redesign .faq-group-label { margin-bottom: 10px; color: #bca9ff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.viza-redesign .faq-item { border-bottom: 1px solid var(--vz-line); }
.viza-redesign .faq-question { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 56px; padding: 12px 2px; border: 0; background: transparent; color: var(--vz-text); text-align: left; font-weight: 800; }
.viza-redesign .faq-answer { padding: 0 0 18px; color: var(--vz-text-2); }

/* Create: focused studio canvas with one clear path forward. */
.viza-redesign.create-flow {
  background:
    radial-gradient(circle at 60% 8%, rgba(139,92,246,.17), transparent 32rem),
    radial-gradient(circle at 12% 72%, rgba(50,214,255,.07), transparent 25rem), var(--vz-bg);
}
.viza-redesign .lyrics-create-layout,
.viza-redesign .song-create-layout,
.viza-redesign .video-create-layout,
.viza-redesign .final-song-create-layout,
.viza-redesign .final-video-create-layout { width: min(100%, 1160px); margin: 0 auto; padding: 18px 14px 44px; }
.viza-redesign .lyrics-desktop-shell,
.viza-redesign .song-desktop-shell,
.viza-redesign .video-desktop-shell,
.viza-redesign .final-song-desktop-shell,
.viza-redesign .final-video-desktop-shell {
  overflow: hidden; border: 1px solid var(--vz-line); border-radius: 22px; background: rgba(13,17,32,.88);
  box-shadow: var(--vz-shadow-lg); backdrop-filter: blur(20px);
}
.viza-redesign .step-title-row {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  min-height: 76px; padding: 12px 14px; border-bottom: 1px solid var(--vz-line);
}
.viza-redesign .step-title-row h1 { margin: 0; text-align: center; font-size: clamp(21px,4vw,30px); }
.viza-redesign .back-arrow,
.viza-redesign .tips-icon-button {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--vz-line);
  border-radius: 12px; background: rgba(255,255,255,.04); color: var(--vz-text-2); cursor: pointer;
}
.viza-redesign .form-wrapper { padding: 18px 16px 22px; }
.viza-redesign .section { margin-bottom: 24px; }
.viza-redesign .field { margin-bottom: 18px; }
.viza-redesign .field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.viza-redesign .field label,
.viza-redesign .create-step-label { display: block; color: var(--vz-text); font-weight: 700; }
.viza-redesign .textarea-with-helper,
.viza-redesign .select-with-icon { position: relative; }
.viza-redesign .textarea-with-helper textarea { padding-right: 98px; }
.viza-redesign .textarea-with-helper .ai-helper-button,
.viza-redesign .textarea-with-helper .prompt-clear-button { position: absolute; right: 10px; bottom: 10px; }
.viza-redesign .textarea-with-helper .ai-helper-button--image { right: 53px; }
.viza-redesign .choice-toggle-label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; }
.viza-redesign .choice-toggle-label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.viza-redesign .choice-toggle-ai-icon { width: 18px; height: 18px; object-fit: contain; }
.viza-redesign .ai-helper-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-height: 36px; padding: 0;
  border: 0; border-radius: 9px; background: transparent; color: #c5b5ff; font-weight: 700;
}
.viza-redesign .ai-helper-button:hover { color: #dfd5ff; background: rgba(139,92,246,.10); }
.viza-redesign .ai-helper-button:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.viza-redesign .prompt-clear-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 11px;
  border: 1px solid rgba(139,92,246,.32); border-radius: 10px; background: rgba(139,92,246,.12); color: #c5b5ff; font-weight: 700;
}
.viza-redesign .advanced-segmented,
.viza-redesign .choice-toggle-group {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(90px,1fr)); gap: 5px; padding: 5px;
  border: 1px solid var(--vz-line); border-radius: 14px; background: rgba(7,10,18,.72);
}
.viza-redesign .segment-btn,
.viza-redesign .choice-toggle-label {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 41px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--vz-text-3); font-weight: 700; text-align: center; cursor: pointer;
}
.viza-redesign .advanced-filter-body .advanced-segmented { grid-template-columns: repeat(3,minmax(0,1fr)); }
.viza-redesign .advanced-filter-body .advanced-segmented:has(> :nth-child(4)) { grid-template-columns: repeat(4,minmax(0,1fr)); }
.viza-redesign .segment-btn.is-active,
.viza-redesign .choice-toggle-label.is-active { background: var(--vz-surface-3); color: #fff; box-shadow: var(--vz-shadow-sm); }
.viza-redesign .choice-toggle-label:has(input:checked) { background: var(--vz-surface-3); color: #fff; box-shadow: var(--vz-shadow-sm); }
.viza-redesign .quick-prompt-scroll,
.viza-redesign .music-tag-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-width: none; }
.viza-redesign .quick-prompt-button,
.viza-redesign .music-tag-button {
  flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid var(--vz-line);
  border-radius: 999px; background: rgba(255,255,255,.035); color: var(--vz-text-2); white-space: nowrap;
}
.viza-redesign .quick-prompt-button:hover,
.viza-redesign .music-tag-button:hover,
.viza-redesign .music-tag-button.is-active { border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.13); color: #fff; }
.viza-redesign .quick-create-icon-btn.is-loading {
  cursor: wait;
  opacity: .9;
  pointer-events: none;
}
.viza-redesign .quick-create-icon-btn.is-loading > i { opacity: 0; }
.viza-redesign .quick-create-icon-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vz-quick-create-spin .9s linear infinite;
}
@keyframes vz-quick-create-spin { to { transform: rotate(360deg); } }
.viza-redesign .upload-area,
.viza-redesign .create-upload-area {
  display: grid; place-items: center; min-height: 170px; padding: 22px; border: 1.5px dashed rgba(169,140,255,.45);
  border-radius: 16px; background: rgba(139,92,246,.055); color: var(--vz-text-2); text-align: center;
}
.viza-redesign .upload-area:hover,
.viza-redesign .create-upload-area:hover { border-color: var(--vz-cyan); background: rgba(50,214,255,.055); }
.viza-redesign .credit-notice { display: flex; align-items: center; gap: 9px; margin: 4px 0 16px; color: var(--vz-text-3); font-size: 13px; }
.viza-redesign .clip-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; }
.viza-redesign .play-btn { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--vz-gradient); color: #fff; cursor: pointer; }
.viza-redesign .song-seek-stack,
.viza-redesign .published-seek-stack { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 4px; }
.viza-redesign .range-seek-bar-container { position: relative; width: 100%; height: 8px; margin: 11px 0 6px; border-radius: 999px; background: rgba(148,163,184,.22); }
.viza-redesign .range-seek-bar-progress,
.viza-redesign .range-play-progress { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.viza-redesign .range-seek-bar-progress { z-index: 2; background: rgba(139,92,246,.55); }
.viza-redesign .range-play-progress { z-index: 3; width: 0; background: var(--vz-cyan); }
.viza-redesign .range-seek-bar-handle { position: absolute; z-index: 4; top: 50%; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--vz-violet); transform: translate(-50%,-50%); }
.viza-redesign .time-row,
.viza-redesign .published-time-inline { display: flex; justify-content: space-between; width: 100%; margin: 0; color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .create-connections-list { grid-auto-columns: 138px; }
.viza-redesign .create-connection-card { position: relative; display: grid; place-items: center; min-height: 120px; color: var(--vz-text-2); cursor: pointer; }
.viza-redesign .create-connection-card.is-selected { border-color: rgba(139,92,246,.7); background: rgba(139,92,246,.13); color: #fff; }
.viza-redesign .create-connection-avatar-wrap { position: relative; display: block; }
.viza-redesign .create-connection-check { position: absolute; right: -3px; bottom: -3px; display: none; place-items: center; width: 22px; height: 22px; border: 3px solid var(--vz-surface); border-radius: 50%; background: var(--vz-violet); color: #fff; font-size: 9px; }
.viza-redesign .create-connection-card.is-selected .create-connection-check { display: grid; }
.viza-redesign .cta-wrap { position: sticky; z-index: 4; bottom: calc(var(--vz-mobile-nav) + 8px); padding: 11px 0 3px; background: linear-gradient(0deg, rgba(13,17,32,.98) 70%, transparent); }
.viza-redesign .cta-wrap .btn-primary { width: 100%; min-height: 54px; }
.viza-redesign .create-step-progress { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 15px 0 4px; }
.viza-redesign .create-step-progress__pill { width: 22px; height: 5px; border-radius: 99px; background: var(--vz-surface-3); }
.viza-redesign .create-step-progress__pill.is-active { width: 38px; background: var(--vz-gradient-cool); }
.viza-redesign .published-header { padding: 26px 18px 14px; text-align: center; }
.viza-redesign .published-header h1 { margin-bottom: 8px; font-size: clamp(26px,6vw,42px); }
.viza-redesign .published-header p { color: var(--vz-text-2); }
.viza-redesign .final-song-media,
.viza-redesign .final-video-media,
.viza-redesign .published-media { overflow: hidden; margin: 0 auto; border-radius: 18px; background: #05070d; }
.viza-redesign .published-shell { display: flex; flex-direction: column; gap: 16px; }
.viza-redesign .published-status-badge-wrap { display: flex; justify-content: center; }
.viza-redesign .published-status-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(94,224,160,.32); border-radius: 999px; background: rgba(94,224,160,.08); color: var(--vz-green); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.viza-redesign .published-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 18px; align-items: stretch; width: min(100%,820px); margin: 0 auto; }
.viza-redesign .published-media-frame { display: grid; place-items: center; width: 100%; max-height: 520px; overflow: hidden; aspect-ratio: var(--published-media-aspect,1/1); border: 1px solid var(--vz-line); border-radius: 20px; background: #05070d; }
.viza-redesign .published-media-frame img,
.viza-redesign .published-media-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.viza-redesign .published-side-panel { min-width: 0; }
.viza-redesign .published-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; height: 100%; }
.viza-redesign .published-action-btn { display: flex; min-width: 0; min-height: 92px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 8px; border: 1px solid var(--vz-line); border-radius: 16px; background: var(--vz-surface); color: var(--vz-text-2); font-weight: 750; cursor: pointer; }
.viza-redesign .published-action-btn:hover { border-color: rgba(139,92,246,.48); background: rgba(139,92,246,.1); color: #fff; }
.viza-redesign .published-action-btn i { color: #bca9ff; font-size: 18px; }
.viza-redesign .published-action-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .published-action-subtext { color: var(--vz-text-3); font-size: 11px; font-weight: 600; }
.viza-redesign .published-play-panel { width: min(100%,820px); margin: 0 auto; padding: 10px 0; }
.viza-redesign .final-secondary-cta-wrap { position: static; padding: 0; background: none; }
.viza-redesign .final-secondary-link-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.viza-redesign .final-secondary-link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; color: var(--vz-text-2); font-weight: 700; }
.viza-redesign .final-secondary-link-btn:hover { color: #fff; }
.viza-redesign .final-primary-cta-wrap { padding: 12px 16px 16px; }
.viza-redesign .final-primary-cta-wrap > div { width: min(100%,820px); margin: 0 auto; }
.viza-redesign .final-primary-cta-wrap .btn { width: 100%; min-height: 52px; }
.viza-redesign .published-hidden-engine { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

@media (max-width: 699px) {
  .viza-redesign .published-content-grid { grid-template-columns: 1fr; gap: 12px; }
  .viza-redesign .published-media-frame { max-height: min(58vh,480px); border-radius: 16px; }
  .viza-redesign .published-action-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .viza-redesign .published-action-btn { min-height: 70px; padding: 8px 4px; border-radius: 13px; font-size: 12px; }
  .viza-redesign .published-action-btn i { font-size: 16px; }
  .viza-redesign .published-action-subtext { font-size: 9px; }
  .viza-redesign.play-page .audio-lyrics { box-sizing: border-box; padding-top: 58px; }
}

/* Play: a fixed media workspace. Media, lyrics, controls, and queue stay inside
   one viewport; gestures change modes rather than moving the document. */
body.viza-redesign.play-page {
  --play-action-size: 44px;
  height: 100dvh;
  overflow: hidden;
  background: #03050a;
}
body.viza-redesign.play-page .site-footer { display: none !important; }
body.viza-redesign.play-page main.container.center-vertical.play-desktop-layout {
  width: 100%; max-width: none; height: calc(100dvh - var(--header-height-mobile)); min-height: 0;
  margin: 0; padding: 0; overflow: hidden;
}
body.viza-redesign.play-page .play-desktop-main-column {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden;
}
body.viza-redesign.play-page .play-media {
  position: relative; isolation: isolate; display: grid; place-items: center; flex: 1 1 auto;
  width: 100%; min-width: 0; min-height: 0; overflow: hidden; background: #020307;
}
body.viza-redesign.play-page .media-block,
body.viza-redesign.play-page #videoWrapper {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0;
  max-width: 100%; max-height: 100% !important; margin: 0; overflow: hidden; border-radius: 0; background: transparent;
}
body.viza-redesign.play-page #videoWrapper.standard-cover-active { background: #080b13; }
body.viza-redesign.play-page .media-buffer-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  pointer-events: none;
}
body.viza-redesign.play-page .media-buffer-spinner.hidden { display: none; }
body.viza-redesign.play-page .media-buffer-spinner .spinner-ring {
  font-size: 3rem;
  color: var(--vz-violet);
}
body.viza-redesign.play-page #videoWrapper.standard-cover-active #imageCover { background: #080b13; }
body.viza-redesign.play-page #videoWrapper {
  --drag-x: 0px; --drag-y: 0px; --drag-feed-y: 0px; --drag-preview-opacity-next: 0; --drag-preview-opacity-prev: 0; --mode-preview-progress: 0;
}
/* Portrait/square exports sometimes arrive inside a taller or wider canvas.
   Keep their natural frame readable while filling any contain letterbox with
   the same blurred cover treatment used around the player. */
body.viza-redesign.play-page #videoWrapper:is(.aspect-9-16,.aspect-1-1)::before {
  content: ""; position: absolute; z-index: 0; inset: -10%;
  background: var(--play-blur-bg) center / cover no-repeat;
  filter: blur(28px) brightness(.42) saturate(.9); transform: scale(1.08);
  pointer-events: none;
}
body.viza-redesign.play-page #jingleVideo,
body.viza-redesign.play-page #imageCover,
body.viza-redesign.play-page #audioCover {
  position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; border-radius: 0 !important; object-fit: contain; object-position: center; transition: opacity .22s ease, transform .22s ease;
}
body.viza-redesign.play-page #jingleVideo.hidden,
body.viza-redesign.play-page #imageCover.hidden { display: none; }
body.viza-redesign.play-page #videoWrapper.has-embedded-letterbox #jingleVideo {
  /* Scale away encoded black padding so the actual picture, rather than its
     export canvas, reaches the top and bottom of the player. */
  scale: var(--embedded-letterbox-scale, 1);
}
body.viza-redesign.play-page #audioCover {
  opacity: 0; pointer-events: none; background-position: center; background-size: cover;
  filter: blur(24px) brightness(.34) saturate(.9); transform: scale(1.08);
}
body.viza-redesign.play-page #videoWrapper.audio-mode #jingleVideo,
body.viza-redesign.play-page #videoWrapper.audio-mode #imageCover { opacity: 0; pointer-events: none; }
body.viza-redesign.play-page #videoWrapper.audio-mode #audioCover { opacity: 1; }
body.viza-redesign.play-page .play-page-backdrop {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #03050a;
}
body.viza-redesign.play-page .play-page-backdrop::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,rgba(2,4,8,.12),rgba(2,4,8,.3));
}
body.viza-redesign.play-page .play-page-video-backdrop,
body.viza-redesign.play-page .play-page-blur-backdrop {
  position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover;
  filter: blur(64px) brightness(.38) saturate(1.12); transform: scale(1.08); opacity: .82;
  transition: opacity .18s ease;
}
body.viza-redesign.play-page .play-page-video-backdrop { z-index: 1; opacity: 0; }
body.viza-redesign.play-page .play-page-blur-backdrop {
  z-index: 0; background-position: center; background-size: cover;
}
body.viza-redesign.play-page .play-page-backdrop.is-video-active .play-page-video-backdrop { opacity: .9; }
body.viza-redesign.play-page .play-page-backdrop.is-video-active .play-page-blur-backdrop { opacity: 0; }
body.viza-redesign.play-page .play-page-backdrop.is-video-active .play-page-blur-backdrop.is-contain-video { opacity: .82; }
body.viza-redesign.play-page.play-audio-mode .play-page-backdrop,
body.viza-redesign.play-page.nav-transition-loading .play-page-backdrop { opacity: 0; }
body.viza-redesign.play-page .media-block { z-index: 1; }
body.viza-redesign.play-page .video-header-overlay,
body.viza-redesign.play-page #videoControls,
body.viza-redesign.play-page .video-meta,
body.viza-redesign.play-page .action-buttons-wrapper,
body.viza-redesign.play-page .owner-toolbar-wrapper,
body.viza-redesign.play-page .side-peek,
body.viza-redesign.play-page #swipeHintDown { display: none !important; }

/* Present only for play pages reached from Templates; its existing JS opens the template-use flow. */
body.viza-redesign.play-page #templateUseFromPlayBtn {
  position: absolute;
  left: 50%;
  bottom: clamp(86px,13vh,116px);
  z-index: 26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  min-width: 96px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--vz-gradient);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(109,93,252,.42);
  cursor: pointer;
  transform: translateX(-50%);
}
body.viza-redesign.play-page #templateUseFromPlayBtn:hover,
body.viza-redesign.play-page #templateUseFromPlayBtn:focus-visible {
  color: #fff;
  box-shadow: 0 16px 34px rgba(109,93,252,.58);
  transform: translateX(-50%) translateY(-2px);
}

body.viza-redesign.play-page .audio-lyrics {
  position: absolute; inset: 0; z-index: 8; display: flex; padding: clamp(28px,6vh,64px) clamp(22px,6vw,80px);
  overflow: hidden; color: #fff; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate3d(0,0,0); transition: opacity .2s ease, transform .22s ease, visibility 0s linear .22s;
}
body.viza-redesign.play-page #videoWrapper.audio-mode .audio-lyrics {
  opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
}
body.viza-redesign.play-page .audio-lyrics-inner {
  width: min(100%,760px); height: 100%; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
body.viza-redesign.play-page .audio-lyrics-title { display: none; }
body.viza-redesign.play-page .audio-lyrics-body {
  display: flex; flex-direction: column; gap: 18px; min-height: 100%; padding: 12vh 0 18vh;
  text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.85);
}
body.viza-redesign.play-page .audio-lyrics-section-title { margin: 12px 0 4px; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
body.viza-redesign.play-page .audio-lyrics-lines { display: flex; flex-direction: column; gap: 10px; }
body.viza-redesign.play-page .audio-lyrics-line { margin: 0; color: rgba(255,255,255,.7); font-size: clamp(16px,2vw,20px); line-height: 1.55; }
body.viza-redesign.play-page #videoWrapper.has-timed-lyrics.audio-mode .audio-lyrics-line.is-active { color: #fff; font-weight: 800; transform: scale(1.025); }
body.viza-redesign.play-page .lyrics-backdrop { display: none !important; }

body.viza-redesign.play-page #videoWrapper .drag-shift { transform: translate3d(var(--drag-x),var(--drag-y),0); }
body.viza-redesign.play-page #videoWrapper.dragging .drag-shift { transition: none; }

/* Feed navigation: finish the committed movement before swapping media. */
body.viza-redesign.play-page .drag-preview {
  position: absolute; inset: 0; z-index: 8; overflow: hidden; pointer-events: none;
}
body.viza-redesign.play-page .drag-preview .preview-card {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0;
  transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
}
body.viza-redesign.play-page .drag-preview .preview-card img {
  width: 100%; height: 100%; object-fit: cover;
}
body.viza-redesign.play-page .play-nav-handoff {
  position: absolute; inset: 0; z-index: 10; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none;
  transition: none;
}
body.viza-redesign.play-page .play-nav-handoff.is-active {
  opacity: 1; visibility: visible;
}
body.viza-redesign.play-page .play-nav-handoff.is-active.is-revealing { opacity: 0; transition: opacity .18s ease; }
body.viza-redesign.play-page .play-nav-handoff img { width: 100%; height: 100%; object-fit: cover; }
body.viza-redesign.play-page .drag-preview .preview-next {
  opacity: var(--drag-preview-opacity-next); transform: translate3d(0,calc(var(--drag-feed-y) + 100%),0);
}
body.viza-redesign.play-page .drag-preview .preview-prev {
  opacity: var(--drag-preview-opacity-prev); transform: translate3d(0,calc(var(--drag-feed-y) - 100%),0);
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-enabled .drag-shift {
  transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
  will-change: transform, opacity;
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-next.mobile-nav-transition-out .drag-shift {
  transform: translate3d(0,-100%,0);
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-prev.mobile-nav-transition-out .drag-shift {
  transform: translate3d(0,100%,0);
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-next:is(.mobile-nav-transition-out,.mobile-nav-transition-in-start) .preview-next,
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-prev:is(.mobile-nav-transition-out,.mobile-nav-transition-in-start) .preview-prev {
  opacity: 1 !important; transform: translate3d(0,0,0) !important;
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-next.mobile-nav-transition-in-start .drag-shift {
  transform: translate3d(0,100%,0); opacity: 0; transition: none !important;
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-dir-prev.mobile-nav-transition-in-start .drag-shift {
  transform: translate3d(0,-100%,0); opacity: 0; transition: none !important;
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-in-active .drag-shift {
  transform: translate3d(0,0,0); opacity: 1;
}
body.viza-redesign.play-page #videoWrapper.mobile-nav-transition-in-active .preview-card {
  opacity: 0 !important;
}
body.viza-redesign.play-page #videoWrapper.mode-preview-audio:not(.audio-mode) .audio-lyrics {
  z-index: 14; opacity: var(--mode-preview-progress); visibility: visible; filter: none; pointer-events: none;
  transform: translate3d(calc(100% + var(--drag-x)),var(--drag-y),0);
}
body.viza-redesign.play-page #videoWrapper.mode-preview-audio:not(.audio-mode) :is(#jingleVideo,#imageCover) {
  opacity: calc(1 - (var(--mode-preview-progress) * .42));
}
body.viza-redesign.play-page #videoWrapper.audio-mode.mode-preview-video :is(#jingleVideo,#imageCover):not(.hidden) {
  display: block; opacity: calc(.15 + (var(--mode-preview-progress) * .85));
  transform: translate3d(calc(var(--drag-x) - 100%),var(--drag-y),0);
}
body.viza-redesign.play-page #videoWrapper.audio-mode.mode-preview-video .audio-lyrics {
  opacity: calc(1 - (var(--mode-preview-progress) * .94)); transform: translate3d(var(--drag-x),var(--drag-y),0);
}

body.viza-redesign.play-page .play-mobile-side-actions {
  position: absolute; right: 12px; bottom: 96px; z-index: 24; display: flex; flex-direction: column; gap: 8px;
}
body.viza-redesign.play-page .play-mobile-side-btn {
  display: grid; place-items: center; width: var(--play-action-size); height: var(--play-action-size); padding: 0;
  position: relative; border: 1px solid transparent; border-radius: 50%; background: rgba(4,7,13,.12);
  box-shadow: none; color: #fff; font-size: 17px;
  opacity: .35; cursor: pointer; transition: color .18s, opacity .25s, transform .18s, background .25s;
}
body.viza-redesign.play-page .play-mobile-side-btn i { filter: drop-shadow(0 1px 2px rgba(0,0,0,.85)); }
body.viza-redesign.play-page .play-mobile-side-actions .play-mobile-side-btn,
body.viza-redesign.play-page .play-mobile-side-actions.is-quiet .play-mobile-side-btn { opacity: .35; background: transparent; }
body.viza-redesign.play-page .play-mobile-side-actions:focus-within .play-mobile-side-btn { opacity: 1; }
body.viza-redesign.play-page .play-mobile-side-btn:focus-visible { opacity: 1; background: rgba(18,23,38,.45); outline: 2px solid #b69aff; outline-offset: 2px; }
body.viza-redesign.play-page .play-mobile-side-btn:active { transform: scale(.94); }
body.viza-redesign.play-page .play-mobile-side-btn.is-liked,
body.viza-redesign.play-page .play-mobile-side-btn.is-captions-enabled { color: #b69aff; }
@media (min-width: 960px) {
  body.viza-redesign.play-page .play-mobile-side-actions .play-mobile-side-btn,
  body.viza-redesign.play-page .play-mobile-side-actions.is-quiet .play-mobile-side-btn { opacity: .35; background: transparent; }
  body.viza-redesign.play-page .play-mobile-side-actions:focus-within .play-mobile-side-btn { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  body.viza-redesign.play-page .play-mobile-side-actions:hover .play-mobile-side-btn { opacity: 1; }
  body.viza-redesign.play-page .play-mobile-side-actions .play-mobile-side-btn:hover { background: rgba(18,23,38,.45); }
  body.viza-redesign.play-page .play-mobile-side-btn::after {
    content: attr(aria-label); position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%);
    padding: 6px 9px; border-radius: 7px; background: rgba(8,11,20,.94); color: #fff;
    font-size: 12px; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0;
  }
  body.viza-redesign.play-page .play-mobile-side-btn:hover::after,
  body.viza-redesign.play-page .play-mobile-side-btn:focus-visible::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.viza-redesign.play-page .play-mobile-side-btn { transition: none; }
}
/* Fullscreen is useful on a rotated phone, but would duplicate the normal
   player affordance in portrait. Reveal it only in the landscape phone rail. */
body.viza-redesign.play-page .play-mobile-side-fullscreen-btn { display: none; }

/* Native WebVTT text keeps the compact mobile scale on phones. On desktop,
   constrain it to the same visual scale as the player title instead of the
   browser's oversized default cue treatment. */
@media (min-width: 769px) {
  body.viza-redesign.play-page #jingleVideo::cue {
    font-size: 22px;
    line-height: 1.25;
  }
}

body.viza-redesign.play-page .play-desktop-footer-shell {
  position: relative; z-index: 25; flex: 0 0 auto; padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,8,14,.96); backdrop-filter: blur(16px);
}
body.viza-redesign.play-page .play-footer-portal { position: relative; min-width: 0; }
body.viza-redesign.play-page .play-footer-floating-title {
  overflow: hidden; margin: 0; color: #fff; font: 800 clamp(18px,1.6vw,25px)/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap;
}
body.viza-redesign.play-page .play-footer-meta-row {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; min-width: 0;
  color: var(--vz-text-3); font-size: 12px;
}
/* Keep the double-tap/like feedback in the redesigned palette. Staff retain
   the distinct red moderation signal used by the prior player. */
body.viza-redesign.play-page { --like-color: var(--vz-violet); }
body.viza-redesign.play-page.staff-like { --like-color: var(--color-judge-like); }
body.viza-redesign.play-page #likeFlashIcon { color: var(--light-grey) !important; }
body.viza-redesign.play-page #likeFlash.is-liked #likeFlashIcon { color: var(--like-color) !important; }
body.viza-redesign.play-page .play-owner-meta { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
body.viza-redesign.play-page .play-footer-meta-row a { color: inherit; }
/* Profile is a destination, while Follow is an action. Give each a distinct
   affordance so adjacent controls do not read as one ambiguous purple link. */
body.viza-redesign.play-page .play-owner-meta > a {
  color: #c8baff;
  text-decoration: none;
}
body.viza-redesign.play-page .play-owner-meta > a:hover,
body.viza-redesign.play-page .play-owner-meta > a:focus-visible {
  color: #e0d8ff;
}
body.viza-redesign.play-page .play-footer-meta-row .views { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
body.viza-redesign.play-page .play-footer-seek-row {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 10px; min-width: 0;
}
body.viza-redesign.play-page .seek-bar-container {
  position: relative; width: 100%; height: 20px; border-radius: 0; cursor: pointer;
  background: linear-gradient(rgba(148,163,184,.28),rgba(148,163,184,.28)) center / 100% 4px no-repeat;
}
body.viza-redesign.play-page .seek-bar-container::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; border-radius: 999px;
  background: var(--vz-gradient); transform: translateY(-50%) scaleX(var(--seek-percent,0)); transform-origin: left center;
  transition: transform .1s linear;
}
body.viza-redesign.play-page .seek-bar-container::after {
  content: ""; position: absolute; top: 50%; left: calc(var(--seek-percent,0) * 100%); width: 10px; height: 10px;
  border: 2px solid #fff; border-radius: 50%; background: var(--vz-violet); box-shadow: 0 2px 10px rgba(0,0,0,.45);
  opacity: 0; transform: translate(-50%,-50%); transition: opacity .16s ease;
}
body.viza-redesign.play-page .seek-bar-container:hover::after,
body.viza-redesign.play-page .seek-bar-container:focus-within::after { opacity: 1; }
body.viza-redesign.play-page .time-display { color: var(--vz-text-3); font-variant-numeric: tabular-nums; font-size: 11px; }
body.viza-redesign.play-page .play-footer-fullscreen-btn {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px;
  background: transparent; color: var(--vz-text-3); cursor: pointer;
}
body.viza-redesign.play-page .play-footer-fullscreen-btn:hover,
body.viza-redesign.play-page .play-footer-fullscreen-btn:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
body.viza-redesign.play-page .play-footer-controls {
  display: grid; grid-template-columns: repeat(5,48px); align-items: center; justify-content: end; gap: 8px; margin: 0;
}
body.viza-redesign.play-page .play-footer-btn {
  display: grid; place-items: center; width: 44px; height: 44px; margin: auto; padding: 0; border: 0;
  border-radius: 50%; background: transparent; color: var(--vz-text-2); font-size: 16px; cursor: pointer;
}
body.viza-redesign.play-page .play-footer-btn:hover,
body.viza-redesign.play-page .play-footer-btn:focus-visible { background: rgba(255,255,255,.07); color: #fff; }
body.viza-redesign.play-page .play-footer-primary { width: 48px; height: 48px; background: #fff; color: #070910; font-size: 18px; }
body.viza-redesign.play-page .play-footer-primary:hover,
body.viza-redesign.play-page .play-footer-primary:focus-visible { background: #fff; color: #070910; transform: scale(1.04); }
body.viza-redesign.play-page .play-footer-follow-slot { display: inline-flex; align-items: center; }
body.viza-redesign.play-page .play-footer-follow-btn {
  min-height: 26px; padding: 0 8px; border: 1px solid rgba(188,169,255,.45); border-radius: 999px;
  background: rgba(139,92,246,.12); color: #d8cdff; font: inherit; font-size: 12px; font-weight: 850; line-height: 1.2; cursor: pointer;
}
body.viza-redesign.play-page .play-footer-follow-btn:hover,
body.viza-redesign.play-page .play-footer-follow-btn:focus-visible { border-color: #c8baff; background: rgba(139,92,246,.22); color: #fff; }
body.viza-redesign.play-page .play-footer-following-icon { display: inline-flex; color: var(--vz-text-3); font-size: 12px; }
body.viza-redesign.play-page .play-contest-vote-wrap { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 2; }
body.viza-redesign.play-page .play-contest-vote-btn {
  border: 1px solid rgba(220,210,255,.72); background: transparent; color: rgba(255,255,255,.96);
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.viza-redesign.play-page .play-contest-vote-btn:hover,
body.viza-redesign.play-page .play-contest-vote-btn:focus-visible { border-color: #fff; background: rgba(15,12,28,.22); color: #fff; }
body.viza-redesign.play-page .play-contest-vote-btn-pill { background: transparent; padding-left: 0; }

body.viza-redesign.play-page .play-desktop-queue { min-width: 0; overflow: hidden; border-left: 1px solid var(--vz-line); background: #090c15; }
body.viza-redesign.play-page .play-desktop-queue-header { padding: 18px; border-bottom: 1px solid var(--vz-line); font: 800 17px/1.2 Inter,ui-sans-serif,system-ui,sans-serif; }
body.viza-redesign.play-page .play-desktop-queue-list { display: flex; flex-direction: column; min-height: 0; height: 100%; overflow-y: auto; margin: 0; padding: 8px; list-style: none; }
body.viza-redesign.play-page .play-desktop-queue-item { position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 10px; min-height: 62px; padding: 6px; border-radius: 11px; }
body.viza-redesign.play-page .play-desktop-queue-item:hover,
body.viza-redesign.play-page .play-desktop-queue-item.is-active { background: var(--vz-surface-2); }
body.viza-redesign.play-page .play-desktop-queue-thumb { width: 52px; height: 50px; overflow: hidden; border-radius: 8px; background: var(--vz-surface-3); }
body.viza-redesign.play-page .play-desktop-queue-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.viza-redesign.play-page .play-desktop-queue-body { min-width: 0; text-align: left; }
body.viza-redesign.play-page .play-desktop-queue-title { display: block; overflow: hidden; color: #f6f7fb; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
body.viza-redesign.play-page .play-desktop-queue-meta { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 4px; min-width: 0; color: var(--vz-text-3); font-size: 11px; white-space: nowrap; }
body.viza-redesign.play-page .play-desktop-queue-username { min-width: 0; overflow: hidden; color: inherit; text-overflow: ellipsis; }
body.viza-redesign.play-page .play-desktop-queue-meta > span:last-child { justify-self: end; font-variant-numeric: tabular-nums; }
/* Selecting a queue row only changes playback. Mode/copy actions live on the player itself. */
body.viza-redesign.play-page .play-desktop-queue-actions { display: none; }
body.viza-redesign.play-page .play-desktop-queue-icon { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-3); }
body.viza-redesign.play-page .play-desktop-queue-icon:hover { background: var(--vz-surface-3); color: #fff; }

.viza-redesign .media-menu-overlay { position: fixed; z-index: 1800; inset: 0; background: rgba(2,4,10,.72); backdrop-filter: blur(8px); }
.viza-redesign .media-menu-sheet { position: absolute; inset: auto 0 0; max-height: 86vh; overflow-y: auto; padding: 18px; border: 1px solid var(--vz-line-strong); border-radius: 24px 24px 0 0; background: #101525; }
.viza-redesign .media-menu-overlay { z-index: 2800; display: flex; align-items: flex-end; justify-content: center; }
.viza-redesign .media-menu-overlay.hidden { display: none !important; }
.viza-redesign .media-menu-sheet {
  position: relative; inset: auto; width: min(100%,620px); max-height: min(82dvh,720px);
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background: rgba(16,21,37,.97); box-shadow: 0 -24px 70px rgba(0,0,0,.48);
}
@media (max-width: 699px) {
  /* This menu's title begins at the sheet edge; reserve a little room for the
     shared drag cue so neither title nor handle competes for the same line. */
  .viza-redesign .media-menu-sheet { padding-top: 28px; }
}
.viza-redesign .media-menu-sheet .bottom-sheet-grabber { width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 999px; background: rgba(255,255,255,.22); }
.viza-redesign .media-menu-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.viza-redesign .media-menu-header-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.viza-redesign .media-menu-avatar { flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--vz-line); border-radius: 14px; object-fit: cover; }
.viza-redesign .media-menu-avatar--initial { display: grid; place-items: center; background: var(--vz-avatar-gradient); color: #fff; font-weight: 800; }
.viza-redesign .media-menu-meta { min-width: 0; text-align: left; }
.viza-redesign .media-menu-title { overflow: hidden; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .media-menu-byline,
.viza-redesign .media-menu-subline { overflow: hidden; color: var(--vz-text-3); font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .media-menu-owner-link,
.viza-redesign .media-menu-collab-link { color: var(--vz-text-2); }
.viza-redesign .media-menu-subline { display: flex; align-items: center; gap: 6px; }
.viza-redesign .media-menu-close { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--vz-surface-3); color: var(--vz-text-2); }
.viza-redesign .media-menu-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.viza-redesign .media-menu-primary-grid.media-menu-grid--three-columns { grid-template-columns: repeat(3,minmax(0,1fr)); }
.viza-redesign .media-menu-primary-grid.media-menu-grid--four-columns { grid-template-columns: repeat(4,minmax(0,1fr)); }
.viza-redesign .media-menu-grid--owner { grid-template-columns: repeat(4,minmax(0,1fr)); }
.viza-redesign .media-menu-grid--owner-song-only,
.viza-redesign .media-menu-grid--social { grid-template-columns: repeat(2,minmax(0,1fr)); }
.viza-redesign .media-menu-director-edit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; border: 1px solid rgba(169,103,255,.72); border-radius: 14px; background: linear-gradient(100deg, rgba(94,73,255,.92), rgba(223,76,175,.88)); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.viza-redesign .media-menu-director-edit:hover, .viza-redesign .media-menu-director-edit:focus-visible { filter: brightness(1.08); }
.viza-redesign .media-menu-grid-item {
  display: flex; min-width: 0; min-height: 84px; padding: 12px 6px 10px; border: 1px solid var(--vz-line); border-radius: 16px; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.06); color: #f7f5ff; font-weight: 750;
  cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.viza-redesign .media-menu-grid-item:hover,
.viza-redesign .media-menu-grid-item:focus-visible { border-color: rgba(220,214,255,.55); background: rgba(255,255,255,.065); color: #fff; transform: translateY(-1px); }
.viza-redesign .media-menu-grid-item:focus-visible { outline: 2px solid var(--vz-violet); outline-offset: 2px; }
.viza-redesign .media-menu-grid-item > i {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 0;
  background: transparent; color: #d4ccff; font-size: 21px; transition: color .16s ease;
}
.viza-redesign .media-menu-like-btn.is-liked > i {
  color: #ffd2ed;
}
.viza-redesign .media-menu-like-btn.is-liked { border-color: rgba(245,113,198,.4); background: rgba(168,46,119,.12); }
.viza-redesign .media-menu-like-btn.is-liked > span { color: #ffd2ed; }
.viza-redesign #menuReport { border-color: rgba(248,113,113,.2); color: #ffe4e6; }
.viza-redesign #menuReport > i { color: #fda4af; }
.viza-redesign #menuReport:hover, .viza-redesign #menuReport:focus-visible { border-color: rgba(248,113,113,.5); background: rgba(190,24,93,.12); }
.viza-redesign #menuFollowUser > i { color: #93c5fd; }
.viza-redesign #menuBlockUser { border-color: rgba(248,113,113,.2); color: #ffe4e6; }
.viza-redesign #menuBlockUser > i { color: #fda4af; }
.viza-redesign .media-menu-grid-item > span { max-width: 100%; color: inherit; font-size: 12px; line-height: 1.2; text-align: center; }
.viza-redesign .media-menu-grid-item .media-menu-download-subtext { margin-top: -4px; color: var(--vz-text-3); font-size: 9px; }
.viza-redesign .media-menu-section-label { margin: 4px 0 10px; color: var(--vz-text-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

@media (min-width: 700px) {
  .viza-redesign .media-menu-overlay { align-items: center; padding: calc(var(--header-height-desktop) + 18px) 18px 18px; }
  .viza-redesign .media-menu-sheet { width: min(660px,calc(100vw - 36px)); max-height: calc(100dvh - var(--header-height-desktop) - 36px); border-radius: 26px; }
  .viza-redesign .media-menu-grid { gap: 12px; }
  .viza-redesign .media-menu-grid-item { min-height: 104px; padding: 15px 8px 13px; gap: 10px; border-radius: 18px; }
  .viza-redesign .media-menu-grid-item > i { width: 54px; height: 54px; border-radius: 0; font-size: 23px; }
  .viza-redesign .media-menu-grid-item > span { font-size: 13px; }
}

@media (min-width: 960px) {
  /* Keep the complete desktop control dock inside the viewport.  Its height
     must include padding so the media workspace can reserve the true space. */
  body.viza-redesign.play-page { --play-desktop-footer-height: 148px; }
  body.viza-redesign.play-page main.container.center-vertical.play-desktop-layout {
    display: grid; grid-template-columns: minmax(0,1fr) clamp(310px,24vw,370px);
    height: calc(100dvh - var(--header-height-desktop)); min-height: 0;
  }
  body.viza-redesign.play-page.has-desktop-left-rail-auth main.container.center-vertical.play-desktop-layout {
    grid-template-columns: minmax(0,1fr) var(--vz-sidebar);
  }
  body.viza-redesign.play-page .play-desktop-footer-shell { box-sizing: border-box; height: var(--play-desktop-footer-height); min-height: var(--play-desktop-footer-height); padding: 10px 22px; }
  body.viza-redesign.play-page .play-footer-portal {
    display: grid; height: 100%; grid-template-columns: minmax(210px,.42fr) minmax(300px,1fr);
    grid-template-rows: minmax(26px,auto) minmax(18px,auto) 48px;
    grid-template-areas: "title seek" "meta seek" "controls controls"; align-items: center; gap: 2px 28px;
  }
  body.viza-redesign.play-page .play-footer-floating-title { grid-area: title; }
  body.viza-redesign.play-page .play-footer-meta-row { grid-area: meta; }
  body.viza-redesign.play-page .play-footer-seek-row { grid-area: seek; }
  body.viza-redesign.play-page .play-footer-controls {
    position: static; grid-area: controls; width: 100%; justify-content: center; transform: none;
  }
  body.viza-redesign.play-page .play-footer-seek-row { width: 100%; max-width: none; }
  body.viza-redesign.play-page .play-footer-floating-title { align-self: end; }
  body.viza-redesign.play-page .play-footer-meta-row { align-self: start; }
  body.viza-redesign.play-page .play-mobile-side-actions { bottom: 18px; }
  body.viza-redesign.play-page .play-desktop-queue { display: flex; flex-direction: column; height: 100%; }
  body.viza-redesign.play-page .play-desktop-queue-list { max-height: none; }
}

/* Pricing and reusable plan comparison */
.viza-redesign .pricing-layout { padding-bottom: 54px; }
.viza-redesign .pricing-hero { position: relative; max-width: none; padding: 0 0 18px; }
.viza-redesign .pricing-hero__eyebrow,
.viza-redesign .plan-comparison__eyebrow { margin: 0 0 8px; color: #c4b5fd; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.viza-redesign .pricing-hero > p.intro { max-width: 920px; margin: 0; }
.viza-redesign .pricing-jump-nav { position: absolute; top: 0; right: 0; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--vz-line); border-radius: 12px; background: var(--vz-surface); }
.viza-redesign .pricing-jump-nav a { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--vz-text-2); font-size: 13px; font-weight: 750; text-decoration: none; }.viza-redesign .pricing-jump-nav a:hover,.viza-redesign .pricing-jump-nav a:focus-visible { background: rgba(139,92,246,.16); color: #fff; }
.viza-redesign .credit-rules, .viza-redesign .plan-comparison, .viza-redesign .pricing-costs, .viza-redesign .reserve-credit-packs { margin-top: 24px; }
.viza-redesign .credit-rules h2, .viza-redesign .plan-comparison h2, .viza-redesign .pricing-costs h2, .viza-redesign .reserve-credit-packs h2 { margin: 0; color: var(--vz-text); font-size: clamp(24px,3vw,34px); letter-spacing: -.035em; }
.viza-redesign .credit-rules__grid, .viza-redesign .pricing-costs__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.viza-redesign .credit-rules article, .viza-redesign .pricing-cost-card, .viza-redesign .reserve-credit-packs { border: 1px solid var(--vz-line); border-radius: 18px; background: var(--vz-surface); }
.viza-redesign .credit-rules article { padding: 20px; }
.viza-redesign .credit-rules i { color: #c4b5fd; font-size: 20px; }
.viza-redesign .credit-rules h3, .viza-redesign .pricing-cost-card h3 { margin: 14px 0 7px; color: var(--vz-text); font-size: 16px; }
.viza-redesign .credit-rules p, .viza-redesign .pricing-cost-card p, .viza-redesign .reserve-credit-packs p { margin: 0; color: var(--vz-text-2); font-size: 14px; line-height: 1.5; }
.viza-redesign .plan-comparison { padding: 24px; border: 1px solid rgba(167,139,250,.32); border-radius: 22px; background: linear-gradient(135deg,rgba(109,93,252,.1),var(--vz-surface) 38%); }
.viza-redesign .plan-comparison__heading, .viza-redesign .pricing-costs__heading, .viza-redesign .reserve-credit-packs { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.viza-redesign .plan-comparison__heading > div { width: 100%; }.viza-redesign .plan-comparison__heading > div > p:not(.plan-comparison__eyebrow), .viza-redesign .pricing-costs__heading > p { max-width: none; margin: 8px 0 0; color: var(--vz-text-2); font-size: 14px; line-height: 1.45; }
.viza-redesign .plan-comparison__table { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--vz-line); border-radius: 16px; }
.viza-redesign .plan-comparison__table th, .viza-redesign .plan-comparison__table td { padding: 13px 15px; border-bottom: 1px solid var(--vz-line); color: var(--vz-text-2); font-size: 14px; text-align: center; }
.viza-redesign .plan-comparison__table thead th { background: var(--vz-surface-2); color: var(--vz-text); vertical-align: top; }
.viza-redesign .plan-comparison__table th:first-child, .viza-redesign .plan-comparison__table tbody th { width: 38%; text-align: left; }
.viza-redesign .plan-comparison__table thead strong, .viza-redesign .plan-comparison__table thead span { display: block; }
.viza-redesign .plan-comparison__table thead strong { font-size: 17px; }.viza-redesign .plan-comparison__table thead span { margin-top: 3px; color: #fff; font-size: 12px; font-weight: 600; }
.viza-redesign .plan-comparison__table thead em { display: inline-block; margin-top: 7px; padding: 3px 7px; border-radius: 999px; background: rgba(94,224,160,.14); color: var(--vz-green); font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.viza-redesign .plan-comparison__table tbody th { color: var(--vz-text); font-weight: 700; }.viza-redesign .plan-comparison__table tbody td { color: #fff; }.viza-redesign .plan-comparison__table.is-public tr > :nth-child(3) { background: rgba(109,93,252,.1); }.viza-redesign .plan-comparison__table.has-current-plan.current-plan-basic tr > :nth-child(2), .viza-redesign .plan-comparison__table.has-current-plan.current-plan-pro tr > :nth-child(3), .viza-redesign .plan-comparison__table.has-current-plan.current-plan-executive tr > :nth-child(4) { background: rgba(109,93,252,.2); color: #fff; }.viza-redesign .plan-comparison__table tr:last-child > * { border-bottom: 0; }.viza-redesign .plan-comparison__table tfoot td { padding: 14px; background: var(--vz-surface-2); }.viza-redesign .plan-comparison__table tfoot .btn { width: 100%; min-height: 42px; padding: 0 10px; font-size: 13px; }
.viza-redesign .plan-comparison__action-stack { display: block; width: 100%; margin-top: 10px; }
.viza-redesign .plan-comparison__action-stack .btn { display: inline-flex; width: 100%; min-height: 34px; margin-top: 0; padding: 0 8px; align-items: center; justify-content: center; font-size: 12px; font-style: normal; line-height: 1.15; text-transform: none; }
.viza-redesign .plan-comparison__current-badge { display: inline-block; margin-top: 7px; padding: 3px 7px; border-radius: 999px; background: rgba(94,224,160,.14); color: var(--vz-green); font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.viza-redesign .plan-comparison__unavailable { border-color: rgba(148,163,184,.22); background: rgba(148,163,184,.06); color: var(--vz-text-3); cursor: not-allowed; opacity: .82; }
.viza-redesign .plan-comparison__bottom-actions > * { padding: 12px 10px; background: var(--vz-surface-2); }
.viza-redesign .plan-comparison__bottom-actions .plan-comparison__action-stack { margin-top: 0; }
.viza-redesign .plan-comparison__action-stack .android-checkout,
.viza-redesign .plan-comparison__action-stack .ios-checkout,
.viza-redesign .plan-comparison__action-stack .android-only,
.viza-redesign .plan-comparison__action-stack .ios-only { display: none; }
html.android-webview .viza-redesign .plan-comparison__action-stack .web-checkout,
html.ios-webview .viza-redesign .plan-comparison__action-stack .web-checkout { display: none; }
html.android-webview .viza-redesign .plan-comparison__action-stack .android-checkout,
html.android-webview .viza-redesign .plan-comparison__action-stack .android-only,
html.ios-webview .viza-redesign .plan-comparison__action-stack .ios-checkout,
html.ios-webview .viza-redesign .plan-comparison__action-stack .ios-only { display: inline-flex !important; text-align: center; }
.viza-redesign .plan-comparison__mobile { display: none; }.viza-redesign .plan-comparison__note { margin: 13px 0 0; color: var(--vz-text-3); font-size: 12px; line-height: 1.45; }
.viza-redesign .plan-comparison__feature-guide { margin-top: 14px; border-top: 1px solid var(--vz-line); }
.viza-redesign .plan-comparison__feature-guide summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 2px 6px; color: #fff; font-size: 13px; font-weight: 800; list-style: none; cursor: pointer; }
.viza-redesign .plan-comparison__feature-guide summary::-webkit-details-marker { display: none; }
.viza-redesign .plan-comparison__feature-guide-icon { display: inline-flex; flex: 0 0 24px; width: 24px; height: 24px; align-items: center; justify-content: center; padding-bottom: 1px; border: 1px solid rgba(167,139,250,.48); border-radius: 50%; background: rgba(139,92,246,.12); color: #d9d0ff; font-family: Arial,sans-serif; font-size: 16px; line-height: 1; }
.viza-redesign .plan-comparison__feature-guide-icon::before { content: "+"; }
.viza-redesign .plan-comparison__feature-guide[open] .plan-comparison__feature-guide-icon::before { content: "−"; }
.viza-redesign .plan-comparison__feature-guide summary:hover,
.viza-redesign .plan-comparison__feature-guide summary:focus-visible { color: #d9d0ff; }
.viza-redesign .plan-comparison__feature-guide summary:focus-visible { outline: 2px solid var(--vz-violet); outline-offset: 3px; border-radius: 8px; }
.viza-redesign .plan-comparison__feature-guide ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 4px 0 2px; padding: 0; list-style: none; }
.viza-redesign .plan-comparison__feature-guide li { position: relative; min-width: 0; padding: 13px 14px 13px 30px; border: 1px solid var(--vz-line); border-radius: 12px; background: rgba(7,10,18,.36); }
.viza-redesign .plan-comparison__feature-guide li::before { position: absolute; top: 19px; left: 14px; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 4px rgba(139,92,246,.1); content: ""; }
.viza-redesign .plan-comparison__feature-guide strong { display: block; color: #fff; font-size: 13px; line-height: 1.35; }
.viza-redesign .plan-comparison__feature-guide li span { display: block; margin-top: 4px; color: var(--vz-text-2); font-size: 12px; line-height: 1.5; }
.viza-redesign .plan-comparison__table tfoot .btn:hover,.viza-redesign .plan-comparison__table tfoot .btn:focus-visible,.viza-redesign .plan-comparison__card .btn:hover,.viza-redesign .plan-comparison__card .btn:focus-visible { border-color: transparent; background: linear-gradient(135deg,#7451ff,#db50c7); box-shadow: 0 8px 22px rgba(116,81,255,.3); color: #fff; transform: translateY(-1px); }
.viza-redesign .pricing-costs { position: relative; padding: 24px; border: 1px solid var(--vz-line); border-radius: 18px; background: var(--vz-surface); }.viza-redesign .pricing-costs__heading { align-items: start; }.viza-redesign .pricing-costs__heading h2 + p { margin: 8px 0 0; color: var(--vz-text-2); font-size: 14px; }.viza-redesign .pricing-costs__grid--two { grid-template-columns: minmax(240px,.8fr) minmax(0,2.2fr); }.viza-redesign .pricing-cost-card { padding: 20px; }.viza-redesign .pricing-cost-card h3 { margin-top: 0; }.viza-redesign .pricing-cost-card > p { min-height: 42px; color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .pricing-cost-card dl { margin: 15px 0 0; }.viza-redesign .pricing-cost-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--vz-line); }.viza-redesign .pricing-cost-card dt { color: var(--vz-text-2); font-size: 14px; }.viza-redesign .pricing-cost-card dd { margin: 0; color: #d9d0ff; font-size: 17px; font-weight: 850; }.viza-redesign .pricing-cost-card:not(.pricing-video-matrix) dt { color: var(--vz-text); font-size: 13px; font-weight: 700; }.viza-redesign .pricing-cost-card:not(.pricing-video-matrix) dd { font-size: 16px; }
.viza-redesign .pricing-video-matrix table { width: 100%; margin-top: 14px; border-collapse: collapse; }.viza-redesign .pricing-video-matrix th,.viza-redesign .pricing-video-matrix td { padding: 11px 8px; border-top: 1px solid var(--vz-line); color: var(--vz-text-2); font-size: 13px; text-align: center; }.viza-redesign .pricing-video-matrix thead th { color: var(--vz-text-3); font-size: 11px; text-transform: uppercase; }.viza-redesign .pricing-video-matrix thead th:nth-child(n/**/+2) { text-transform: none; }.viza-redesign .pricing-video-matrix th:first-child { width: 45%; color: var(--vz-text); text-align: left; }.viza-redesign .pricing-video-matrix td { color: #d9d0ff; font-size: 16px; font-weight: 850; }
.viza-redesign .pricing-video-matrix__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.viza-redesign .video-credit-calculator-trigger { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: var(--vz-gradient); box-shadow: 0 8px 20px rgba(116,81,255,.28); color: #fff; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }.viza-redesign .video-credit-calculator-trigger:hover,.viza-redesign .video-credit-calculator-trigger:focus-visible { box-shadow: 0 11px 26px rgba(219,80,199,.35); transform: translateY(-1px); }.viza-redesign .video-credit-calculator-trigger:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.viza-redesign .video-credit-calculator[hidden] { display: none !important; }.viza-redesign .video-credit-calculator { position: fixed; z-index: 1800; inset: 0; }.viza-redesign .video-credit-calculator__backdrop { position: absolute; inset: 0; background: rgba(2,4,10,.72); backdrop-filter: blur(8px); }.viza-redesign .video-credit-calculator__drawer { position: absolute; top: var(--header-height-desktop); right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px,100vw); border: 1px solid rgba(167,139,250,.5); border-right: 0; border-radius: 22px 0 0 22px; background: radial-gradient(circle at 0 0,rgba(109,93,252,.18),transparent 26rem),var(--vz-surface); box-shadow: -18px 0 44px rgba(0,0,0,.42); }.viza-redesign .video-credit-calculator__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px; border-bottom: 1px solid var(--vz-line); }.viza-redesign .video-credit-calculator__heading { display: flex; gap: 12px; }.viza-redesign .video-credit-calculator__icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: rgba(109,93,252,.25); color: #d9d0ff; }.viza-redesign .video-credit-calculator__heading p { margin: 0 0 3px; color: #c4b5fd; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.viza-redesign .video-credit-calculator__heading h2 { margin: 0; color: var(--vz-text); font-size: 23px; letter-spacing: -.04em; }.viza-redesign .video-credit-calculator__heading > div > span { display: block; margin-top: 4px; color: var(--vz-text-2); font-size: 12px; line-height: 1.4; }.viza-redesign .video-credit-calculator__body { display: grid; gap: 22px; overflow-y: auto; padding: 22px; }.viza-redesign .video-credit-calculator__field { display: grid; gap: 7px; color: var(--vz-text); font-size: 14px; font-weight: 750; }.viza-redesign .video-credit-calculator__field small,.viza-redesign .video-credit-calculator__dialogue small { color: var(--vz-text-3); font-size: 12px; font-weight: 500; line-height: 1.4; }.viza-redesign .video-credit-calculator select,.viza-redesign .video-credit-calculator__duration-input { width: 100%; min-height: 48px; border: 1px solid var(--vz-line-strong); border-radius: 12px; background: var(--vz-surface-2); color: var(--vz-text); font: inherit; }.viza-redesign .video-credit-calculator select { padding: 0 13px; }.viza-redesign .video-credit-calculator__duration-input { display: flex; align-items: center; }.viza-redesign .video-credit-calculator__duration-input input { width: 100%; min-width: 0; height: 46px; padding: 0 13px; border: 0; outline: 0; background: transparent; color: var(--vz-text); font: inherit; font-weight: 750; }.viza-redesign .video-credit-calculator__duration-input b { padding: 0 13px; color: var(--vz-text-2); font-size: 13px; }.viza-redesign .video-credit-calculator__resolution { min-width: 0; margin: 0; padding: 0; border: 0; }.viza-redesign .video-credit-calculator__resolution legend { padding: 0; font-size: 14px; font-weight: 750; }.viza-redesign .video-credit-calculator__resolution > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }.viza-redesign .video-credit-calculator__resolution button { min-height: 45px; border: 1px solid var(--vz-line-strong); border-radius: 10px; background: var(--vz-surface-2); color: var(--vz-text-2); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }.viza-redesign .video-credit-calculator__resolution button.is-selected { border-color: #a78bfa; background: rgba(109,93,252,.28); color: #fff; }.viza-redesign .video-credit-calculator__resolution button:disabled { opacity: .38; cursor: not-allowed; }.viza-redesign .video-credit-calculator__dialogue { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; cursor: pointer; }.viza-redesign .video-credit-calculator__dialogue > span { display: grid; gap: 4px; }.viza-redesign .video-credit-calculator__dialogue b { font-size: 14px; }.viza-redesign .video-credit-calculator__dialogue input { position: absolute; opacity: 0; }.viza-redesign .video-credit-calculator__dialogue i { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--vz-surface-3); transition: background .16s ease; }.viza-redesign .video-credit-calculator__dialogue i::after { position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--vz-text-3); content: ""; transition: transform .16s ease,background .16s ease; }.viza-redesign .video-credit-calculator__dialogue input:checked + i { background: #7250f5; }.viza-redesign .video-credit-calculator__dialogue input:checked + i::after { transform: translateX(18px); background: #fff; }.viza-redesign .video-credit-calculator__dialogue input:disabled + i { opacity: .42; }.viza-redesign .video-credit-calculator__estimate { position: relative; padding: 17px; border-radius: 13px; background: linear-gradient(135deg,rgba(109,93,252,.38),rgba(219,80,199,.15)); }.viza-redesign .video-credit-calculator__estimate > span { display: block; color: #d9d0ff; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.viza-redesign .video-credit-calculator__estimate strong { color: #fff; font-size: 32px; letter-spacing: -.05em; }.viza-redesign .video-credit-calculator__estimate em { margin-left: 6px; color: #e9e4ff; font-size: 13px; font-style: normal; font-weight: 750; }.viza-redesign .video-credit-calculator__estimate p { position: absolute; right: 17px; bottom: 17px; margin: 0; color: #eeeaff; font-size: 12px; }.viza-redesign .video-credit-calculator__note { margin: -10px 0 0; color: var(--vz-text-3); font-size: 11px; line-height: 1.45; }.viza-redesign .video-credit-calculator__footer { display: flex; justify-content: flex-end; padding: 18px 22px calc(18px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--vz-line); }.viza-redesign .video-credit-calculator__footer .btn { min-width: 110px; }
.viza-redesign .pricing-costs__note { margin: 14px 0 0; color: var(--vz-text-3); font-size: 13px; }.viza-redesign .reserve-credit-packs { position: relative; display: grid; grid-template-columns: minmax(260px,.9fr) minmax(0,1.25fr); align-items: center; gap: 28px; padding: 26px 100px 26px 24px; }.viza-redesign .reserve-credit-packs .btn { flex: 0 0 auto; }
.viza-redesign .reserve-credit-packs .android-checkout,
.viza-redesign .reserve-credit-packs .ios-checkout { display: none; }
html.android-webview .viza-redesign .reserve-credit-packs .web-checkout,
html.ios-webview .viza-redesign .reserve-credit-packs .web-checkout,
html.ios-webview .viza-redesign .reserve-credit-packs .android-checkout { display: none !important; }
html.android-webview .viza-redesign .reserve-credit-packs .android-checkout,
html.ios-webview .viza-redesign .reserve-credit-packs .ios-checkout { display: inline-flex !important; align-items: center; justify-content: center; text-align: center; }
.viza-redesign .pricing-section-icon { position: absolute; top: 22px; right: 24px; display: inline-flex; align-items: center; gap: 6px; color: #c4b5fd; font-size: 20px; font-weight: 850; }.viza-redesign .pricing-section-icon i { color: #c4b5fd; font-size: 22px; }.viza-redesign .reserve-credit-packs .plan-comparison__eyebrow { margin: 0 0 8px; color: #c4b5fd; font-size: 12px; font-weight: 850; letter-spacing: .11em; line-height: normal; text-transform: uppercase; }
.viza-redesign .reserve-credit-packs > div:first-child { max-width: 440px; }.viza-redesign .reserve-credit-packs > div:first-child p { margin-top: 8px; }.viza-redesign .reserve-credit-packs__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; }.viza-redesign .reserve-credit-packs__grid article { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; min-height: 150px; padding: 20px; border: 1px solid var(--vz-line-strong); border-radius: 16px; background: linear-gradient(145deg,rgba(109,93,252,.12),var(--vz-surface-2) 55%); }.viza-redesign .reserve-credit-packs__grid strong { color: #d9d0ff; font-size: 30px; letter-spacing: -.04em; }.viza-redesign .reserve-credit-packs__grid span { align-self: end; margin-bottom: 5px; color: #d9d0ff; font-size: 11px; font-weight: 850; text-transform: uppercase; }.viza-redesign .reserve-credit-packs__grid b { color: var(--vz-text); font-size: 19px; }.viza-redesign .reserve-credit-packs__grid em { align-self: center; color: var(--vz-green); font-size: 11px; font-style: normal; font-weight: 800; }.viza-redesign .reserve-credit-packs__grid .btn { grid-column: 1 / -1; width: 100%; min-height: 42px; margin-top: 10px; font-size: 13px; }.viza-redesign .reserve-credit-packs__grid .btn:hover,.viza-redesign .reserve-credit-packs__grid .btn:focus-visible { border-color: transparent; background: linear-gradient(135deg,#7451ff,#db50c7); box-shadow: 0 8px 22px rgba(116,81,255,.3); color: #fff; transform: translateY(-1px); }
@media (max-width: 767px) { .viza-redesign .pricing-layout { display: flex; flex-direction: column; }.viza-redesign .pricing-hero { order: 0; padding-top: 0; }.viza-redesign .plan-comparison { order: 1; }.viza-redesign .reserve-credit-packs { order: 2; }.viza-redesign .pricing-costs { order: 3; }.viza-redesign .credit-rules { order: 4; }.viza-redesign .pricing-jump-nav { display: none; }.viza-redesign .credit-rules__grid, .viza-redesign .pricing-costs__grid { grid-template-columns: 1fr; }.viza-redesign .plan-comparison, .viza-redesign .reserve-credit-packs { padding: 18px; }.viza-redesign .reserve-credit-packs { display:block; }.viza-redesign .plan-comparison__heading, .viza-redesign .pricing-costs__heading { align-items: stretch; flex-direction: column; gap: 12px; }.viza-redesign .plan-comparison__desktop { display: none; }.viza-redesign .plan-comparison__mobile { display: grid; gap: 12px; margin-top: 18px; }.viza-redesign .plan-comparison__card { padding: 17px; border: 1px solid var(--vz-line); border-radius: 15px; background: var(--vz-surface-2); }.viza-redesign .plan-comparison__card--executive { border-color: rgba(167,139,250,.55); background: rgba(109,93,252,.12); }.viza-redesign .plan-comparison__card.is-current { border-color: rgba(94,224,160,.55); }.viza-redesign .plan-comparison__card h3 { margin: 0; color: var(--vz-text); font-size: 19px; }.viza-redesign .plan-comparison__price { margin: 3px 0 13px; color: #c4b5fd; font-size: 14px; font-weight: 800; }.viza-redesign .plan-comparison__card > .plan-comparison__price + .plan-comparison__action-stack { display: none; }.viza-redesign .plan-comparison__card dl { margin: 0 0 15px; }.viza-redesign .plan-comparison__card dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--vz-line); }.viza-redesign .plan-comparison__card dt { color: var(--vz-text-3); font-size: 12px; }.viza-redesign .plan-comparison__card dd { margin: 0; color: var(--vz-text); font-size: 13px; font-weight: 700; line-height: 1.4; }.viza-redesign .plan-comparison__card .btn { width: 100%; }.viza-redesign .plan-comparison__feature-guide ul { grid-template-columns: 1fr; }.viza-redesign .pricing-cost-card > p { min-height: 0; margin-bottom: 12px; }.viza-redesign .pricing-video-matrix { overflow-x: auto; }.viza-redesign .pricing-video-matrix table { min-width: 430px; }.viza-redesign .reserve-credit-packs__grid { grid-template-columns: 1fr; margin-top: 18px; }.viza-redesign .reserve-credit-packs .btn { width: 100%; } }

@media (max-width: 959px) {
  .viza-redesign .mobile-nav-backdrop { display: block !important; }
  body.viza-redesign.play-page {
    /* Both dock sections share one translucent surface so video stays visible
       behind the dock without making its two sections look like separate panels. */
    --play-mobile-control-surface: rgba(8,11,20,.50);
    --play-mobile-dock-height: calc(64px + var(--mobile-web-safe-area-bottom));
    --play-mobile-meta-font-size: calc(11px + .1rem);
    padding-top: 0 !important;
    padding-bottom: 0;
  }
  body.viza-redesign.play-page main.container.center-vertical.play-desktop-layout {
    position: fixed; inset: 0; width: 100vw; height: 100dvh; min-height: 0; z-index: 0;
  }
  body.viza-redesign.play-page .play-desktop-main-column,
  body.viza-redesign.play-page .play-media,
  body.viza-redesign.play-page .media-block { width: 100vw; height: 100dvh; min-height: 0; }
  body.viza-redesign.play-page #videoWrapper:not(.audio-mode) {
    width: 100vw; height: auto !important; min-height: 0; max-height: none !important;
    align-self: center; justify-self: center; overflow: hidden;
  }
  body.viza-redesign.play-page #videoWrapper.audio-mode {
    width: 100vw; height: 100dvh !important; max-height: 100dvh !important; aspect-ratio: auto !important;
  }
  body.viza-redesign.play-page #jingleVideo,
  body.viza-redesign.play-page #imageCover { object-fit: cover; }
  body.viza-redesign.play-page .fixed-header {
    background: rgba(6,8,15,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  body.viza-redesign.play-page .mobile-footer {
    border-top: 0;
    background: var(--play-mobile-control-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.viza-redesign.play-page .mobile-footer.has-custom-content {
    --mobile-footer-height: 64px;
    height: calc(var(--mobile-footer-height) + var(--mobile-web-safe-area-bottom));
    padding: 6px 16px var(--mobile-web-safe-area-bottom);
  }
  body.viza-redesign.play-page .play-desktop-footer-shell {
    position: absolute; left: 0; right: 0; bottom: var(--play-mobile-dock-height); z-index: 25; padding: 2px 14px 5px;
    border: 0;
    background: var(--play-mobile-control-surface);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    pointer-events: none;
  }
  body.viza-redesign.play-page .play-footer-portal { display: flex; flex-direction: column; gap: 1px; }
  body.viza-redesign.play-page .play-footer-floating-title,
  body.viza-redesign.play-page .play-contest-vote-wrap { display: none; }
  body.viza-redesign.play-page .play-footer-meta-row,
  body.viza-redesign.play-page .play-footer-seek-row { pointer-events: auto; }
  body.viza-redesign.play-page .play-footer-meta-row,
  body.viza-redesign.play-page .play-owner-meta,
  body.viza-redesign.play-page .play-owner-meta a,
  body.viza-redesign.play-page .play-footer-meta-row .views,
  body.viza-redesign.play-page .play-footer-meta-row .views i,
  body.viza-redesign.play-page .play-footer-follow-btn,
  body.viza-redesign.play-page .play-footer-following-icon,
  body.viza-redesign.play-page .play-footer-seek-row .time-display {
    font-size: var(--play-mobile-meta-font-size);
    line-height: 1.2;
  }
  body.viza-redesign.play-page .play-footer-seek-row { gap: 8px; }
  body.viza-redesign.play-page .play-footer-fullscreen-btn { display: none; }
  body.viza-redesign.play-page .play-mobile-side-actions { right: 10px; bottom: calc(var(--play-mobile-dock-height) + 96px); }
  body.viza-redesign.play-page .play-desktop-queue { display: none !important; }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-controls {
    width: 100%; grid-template-columns: repeat(5,minmax(0,1fr)); justify-content: stretch; gap: 2px; margin: 0; pointer-events: auto;
  }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-btn { width: 42px; height: 42px; }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-primary { width: 48px; height: 48px; }
  body.viza-redesign.play-page .mobile-footer-custom .play-footer-controls {
    width: 100%; height: 100%; max-width: none; grid-template-columns: repeat(5,1fr); justify-content: stretch; gap: 2px; margin: 0;
  }
  body.viza-redesign.play-page .mobile-footer-custom .play-footer-btn { width: 42px; height: 42px; }
  body.viza-redesign.play-page .mobile-footer-custom .play-footer-primary { width: 48px; height: 48px; }
  body.viza-redesign.play-page .audio-lyrics { padding: 20px 66px 104px 18px; }
  body.viza-redesign.play-page .audio-lyrics-body { padding: 48px 0 120px; }
  body.viza-redesign.play-page .audio-lyrics-line { font-size: 17px; line-height: 1.58; }
}

@media (max-width: 768px) {
  /* The controls start in the play shell and are moved to the shared footer on
     DOMContentLoaded. Keep their first-painted position identical to the dock
     so neither the controls nor the metadata above them jump during the move. */
  body.viza-redesign.play-page .mobile-footer:not(.has-custom-content) { visibility: hidden; }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-controls {
    position: fixed; inset: auto 0 0; box-sizing: border-box;
    width: 100%; height: calc(64px + var(--mobile-web-safe-area-bottom));
    padding: 6px 16px var(--mobile-web-safe-area-bottom);
    grid-template-columns: repeat(5,minmax(0,1fr)); justify-content: stretch; gap: 2px;
    background: var(--play-mobile-control-surface); pointer-events: auto;
  }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-btn { width: 42px; height: 42px; }
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-primary { width: 48px; height: 48px; }
}

/* Tablets keep the compact player shell but do not move its controls into the
   phone-only footer. Do not reserve that empty footer height beneath the dock. */
@media (min-width: 769px) and (max-width: 959px) {
  body.viza-redesign.play-page .play-desktop-footer-shell { bottom: 0; }
}

@media (max-width: 959px) and (orientation: landscape) and (max-height: 520px) {
  body.viza-redesign.play-page,
  body.viza-redesign.play-page.play-landscape-phone { padding: 0 !important; }
  body.viza-redesign.play-page .fixed-header,
  body.viza-redesign.play-page .mobile-footer,
  body.viza-redesign.play-page .play-desktop-footer-shell,
  body.viza-redesign.play-page.play-landscape-phone .fixed-header,
  body.viza-redesign.play-page.play-landscape-phone .mobile-footer,
  body.viza-redesign.play-page.play-landscape-phone .play-desktop-footer-shell { display: none !important; }
  body.viza-redesign.play-page main.container.center-vertical.play-desktop-layout,
  body.viza-redesign.play-page .play-desktop-main-column,
  body.viza-redesign.play-page .play-media,
  body.viza-redesign.play-page .media-block,
  body.viza-redesign.play-page #videoWrapper:not(.audio-mode) {
    width: 100vw !important; height: 100dvh !important; min-height: 100dvh !important; max-height: 100dvh !important;
    margin: 0 !important; aspect-ratio: auto !important;
  }
  body.viza-redesign.play-page #jingleVideo,
  body.viza-redesign.play-page #imageCover { width: 100%; height: 100%; object-fit: contain; }
  body.viza-redesign.play-page .play-mobile-side-actions { bottom: 14px; }
  body.viza-redesign.play-page .play-mobile-side-fullscreen-btn { display: grid; }
}

@media (max-width: 359px) {
  body.viza-redesign.play-page { --play-action-size: 44px; }
  body.viza-redesign.play-page .play-mobile-side-actions { right: 7px; gap: 5px; }
  body.viza-redesign.play-page .play-desktop-footer-shell { padding-inline: 10px; }
}

/* Play: compact dock and square queue artwork; existing controls stay mounted. */
body.viza-redesign.play-page .play-footer-info { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
body.viza-redesign.play-page .play-story-context { display: flex; align-items: center; gap: 7px; min-width: 0; color: #b69aff; font-size: 13px; line-height: 1.3; }
body.viza-redesign.play-page .play-story-context[hidden] { display: none; }
body.viza-redesign.play-page .play-story-context a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
body.viza-redesign.play-page .play-story-context a:hover { text-decoration: underline; }
body.viza-redesign.play-page #playChapterLabel { flex-shrink: 0; }
/* Keep the info button's hit area while letting its line fit the smaller glyph. */
body.viza-redesign.play-page #playChapterInfo { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -13px 0; padding: 0; border: 0; background: transparent; color: #b69aff; font-size: 16px; cursor: pointer; }
body.viza-redesign.play-page .play-desktop-queue-header { border: 0; padding: 22px 20px 14px; font-size: 15px; }
body.viza-redesign.play-page .play-desktop-queue-header a { color: inherit; font: inherit; text-decoration: none; }
body.viza-redesign.play-page .play-desktop-queue-header a:hover { color: var(--vz-violet); text-decoration: none; }
body.viza-redesign.play-page .play-desktop-queue-list { flex: 1; height: auto; gap: 4px; padding: 0 12px 16px; }
body.viza-redesign.play-page .play-desktop-queue-item { grid-template-columns: 56px minmax(0,1fr); gap: 10px; padding: 6px; min-height: 70px; border: 1px solid transparent; border-radius: 13px; }
body.viza-redesign.play-page .play-desktop-queue-item.is-active { background: rgba(139,92,246,.19); border-color: #9b78f7; }
body.viza-redesign.play-page .play-desktop-queue-item:focus-visible { outline: 2px solid #b69aff; outline-offset: -2px; }
body.viza-redesign.play-page .play-desktop-queue-thumb { display: block; width: 56px; height: 56px; aspect-ratio: 1; border-radius: 9px; background: #05070c; box-shadow: none; }
body.viza-redesign.play-page .play-desktop-queue-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.viza-redesign.play-page .play-desktop-queue-title { font-size: 14px; line-height: 1.35; margin-bottom: 2px; }
body.viza-redesign.play-page .play-desktop-queue-meta { grid-template-columns: minmax(0,1fr); gap: 1px; font-size: 12px; line-height: 1.25; }
body.viza-redesign.play-page .play-desktop-queue-meta > span[aria-hidden="true"] { display: none; }
body.viza-redesign.play-page .play-desktop-queue-meta > span:last-child { justify-self: start; }
body.viza-redesign.play-page .play-desktop-queue-meta .fa-clock { display: none; }
body.viza-redesign.play-page.play-has-story .play-desktop-queue-body:has(.play-desktop-queue-chapter) .play-desktop-queue-username { display: none; }
body.viza-redesign.play-page .play-desktop-queue-chapter { display: block; color: var(--vz-text-3); font-size: 12px; margin-bottom: 4px; }
body.viza-redesign.play-page .play-desktop-queue-body:has(.play-desktop-queue-chapter) { display: flex; flex-direction: column; gap: 2px; }
body.viza-redesign.play-page .play-desktop-queue-body:has(.play-desktop-queue-chapter) > .play-desktop-queue-chapter,
body.viza-redesign.play-page .play-desktop-queue-body:has(.play-desktop-queue-chapter) > .play-desktop-queue-title { margin-bottom: 0; }
body.viza-redesign.play-page .is-active .play-desktop-queue-chapter { color: #b69aff; }
body.viza-redesign.play-page .seek-bar-container::before { background: #a281ff; }
body.viza-redesign.play-page .seek-bar-container::after { opacity: 1; }
@media (min-width: 960px) {
  body.viza-redesign.play-page { --play-desktop-dock-height: 118px; --play-desktop-footer-height: var(--play-desktop-dock-height); }
  body.viza-redesign.play-page.play-has-story { --play-desktop-dock-height: 132px; }
  body.viza-redesign.play-page .play-media { margin: 14px 18px 0; width: calc(100% - 36px); border-radius: 14px; }
  /* Keep the dock's design height separate from the measured media reservation. */
  body.viza-redesign.play-page .play-desktop-footer-shell { height: var(--play-desktop-dock-height); min-height: var(--play-desktop-dock-height); padding: 2px 20px 14px; border: 0; background: #06080e; backdrop-filter: none; }
  body.viza-redesign.play-page .play-footer-portal { grid-template-columns: minmax(0,.9fr) minmax(260px,1fr); grid-template-rows: 44px minmax(0,1fr); grid-template-areas: "seek seek" "info controls"; gap: 0 18px; }
  body.viza-redesign.play-page .play-footer-info { grid-area: info; align-self: center; }
  body.viza-redesign.play-page .play-footer-controls { grid-area: controls; width: 100%; grid-template-columns: repeat(5,44px); gap: clamp(4px,1.4vw,18px); }
  body.viza-redesign.play-page .play-footer-primary { width: 58px; height: 58px; font-size: 22px; }
  body.viza-redesign.play-page .play-footer-controls { grid-template-columns: 44px 44px 58px 44px 44px; }
  body.viza-redesign.play-page .play-footer-meta-row { display: flex; justify-content: flex-start; gap: 16px; }
  body.viza-redesign.play-page .play-footer-floating-title { align-self: stretch; font-size: clamp(18px,1.6vw,24px); }
  body.viza-redesign.play-page .play-footer-fullscreen-btn { width: 44px; height: 44px; color: #fff; font-size: 21px; }
  body.viza-redesign.play-page .play-footer-seek-row .time-display { font-size: 12px; }
}
/* Wide desktops reserve matching space on either side of the playback controls,
   centering Play on the media column while keeping metadata out of its way. */
@media (min-width: 1280px) {
  body.viza-redesign.play-page .play-footer-portal { grid-template-columns: minmax(0,1fr) 306px minmax(0,1fr); grid-template-areas: "seek seek seek" "info controls ."; }
  body.viza-redesign.play-page .play-footer-controls { gap: 18px; }
  body.viza-redesign.play-page .play-footer-floating-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.viza-redesign.play-page .play-owner-meta { flex: 1; overflow: hidden; }
  body.viza-redesign.play-page .play-owner-meta > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.viza-redesign.play-page .play-footer-follow-slot,
  body.viza-redesign.play-page .play-footer-meta-row .views { flex-shrink: 0; }
}
@media (max-width: 959px) {
  body.viza-redesign.play-page { --play-mobile-control-surface: rgba(8,11,20,.22); }
  body.viza-redesign.play-page .play-desktop-footer-shell { padding: 18px 18px 10px; background: linear-gradient(0deg,rgba(3,5,10,.8),rgba(3,5,10,.45) 70%,transparent); }
  body.viza-redesign.play-page .play-footer-portal { gap: 14px; }
  body.viza-redesign.play-page .play-footer-info { gap: 8px; pointer-events: auto; }
  body.viza-redesign.play-page.play-has-story .play-footer-info { gap: 5px; }
  body.viza-redesign.play-page .play-footer-floating-title { display: block; position: static; opacity: 1; visibility: visible; transform: none; font-size: clamp(22px,5.7vw,28px); white-space: nowrap; pointer-events: auto; }
  body.viza-redesign.play-page .play-footer-meta-row { font-size: 12px; }
  body.viza-redesign.play-page .play-story-context { font-size: 13px; }
  body.viza-redesign.play-page .play-footer-seek-row { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; }
  body.viza-redesign.play-page .play-mobile-side-actions { bottom: calc(var(--play-mobile-dock-height) + 155px); }
  body.viza-redesign.play-page.play-has-story .play-mobile-side-actions { bottom: calc(var(--play-mobile-dock-height) + 185px); }
  body.viza-redesign.play-page .mobile-footer-custom .play-footer-primary,
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-primary { width: 54px; height: 54px; font-size: 21px; }
}
/* One continuous phone fade behind metadata, seeking, and the fixed controls. */
@media (max-width: 768px) {
  body.viza-redesign.play-page :is(.play-footer-floating-title,.play-story-context,#playChapterInfo) { transition: color .2s ease; }
  body.viza-redesign.play-page.play-is-playing :is(.play-footer-floating-title,.play-story-context,#playChapterInfo) { color: var(--vz-text-3); }
  body.viza-redesign.play-page .play-desktop-footer-shell,
  body.viza-redesign.play-page .play-desktop-footer-shell .play-footer-controls,
  body.viza-redesign.play-page .mobile-footer { background: transparent; }
  body.viza-redesign.play-page .mobile-footer { box-shadow: none; }
  body.viza-redesign.play-page .play-desktop-footer-shell::before {
    content: ""; position: absolute; inset: 0 0 calc(-1 * var(--play-mobile-dock-height));
    z-index: -1; pointer-events: none;
    background: linear-gradient(0deg,rgba(3,5,10,.8),rgba(3,5,10,.45) 70%,transparent);
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  body.viza-redesign.play-page :is(.play-footer-floating-title,.play-story-context,#playChapterInfo) { transition: none; }
}
@media (max-width: 959px) and (orientation: landscape) and (max-height: 520px) {
  body.viza-redesign.play-page .play-desktop-footer-shell { display: none !important; }
  /* Landscape has no portrait metadata/dock to clear. Keep every action
     inside the viewport and above the inline video's native control bar. */
  body.viza-redesign.play-page .play-mobile-side-actions,
  body.viza-redesign.play-page.play-has-story .play-mobile-side-actions {
    top: max(8px, env(safe-area-inset-top));
    bottom: calc(48px + env(safe-area-inset-bottom));
    right: max(12px, env(safe-area-inset-right));
    gap: 4px;
    justify-content: flex-end;
  }
  body.viza-redesign.play-page .play-mobile-side-actions .play-mobile-side-btn {
    flex: 0 1 var(--play-action-size);
    min-height: 0;
  }
}

/* SweetAlert2: product dialog, not a browser-era alert. */


/* Owner media edits are shared by the play page and the final-video workspace. */
.viza-redesign .swal2-popup.play-modal {
  width: min(680px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 26px;
}
.viza-redesign .swal2-popup.play-modal .swal2-html-container {
  width: 100%; max-height: min(66dvh, 650px); margin-top: 14px !important; overflow: auto;
}
.viza-redesign .swal2-popup.play-modal .swal2-actions { margin-top: 18px !important; }
.viza-redesign .swal2-popup.title-edit-modal { width: min(560px, calc(100vw - 28px)); }
.viza-redesign .title-edit-modal .title-edit-form { display: grid; gap: 8px; text-align: left; }
.viza-redesign .title-edit-modal .title-edit-label { color: var(--vz-text-2); font-size: 13px; font-weight: 750; }
.viza-redesign .title-edit-modal .title-edit-input,
.viza-redesign .card-modal .card-text-input {
  box-sizing: border-box; width: 100%; max-width: 100%; min-height: 50px; margin: 0 !important; padding: 0 14px; border: 1px solid var(--vz-line-strong);
  border-radius: 12px; outline: 0; background: var(--vz-surface-2); color: var(--vz-text); font: inherit;
}
.viza-redesign .title-edit-modal .title-edit-input:focus,
.viza-redesign .card-modal .card-text-input:focus { border-color: var(--vz-violet); box-shadow: 0 0 0 3px rgba(124,92,255,.2); }

.viza-redesign .cover-image-modal { display: grid; gap: 14px; text-align: left; }
.viza-redesign .cover-image-modal .cover-video-stage {
  overflow: hidden; border: 1px solid var(--vz-line-strong); border-radius: 16px; background: #02040a;
}
.viza-redesign .cover-image-modal video { display: block; width: 100%; max-height: min(48dvh, 470px); object-fit: contain; }
.viza-redesign .cover-image-help { margin: 0; color: var(--vz-text-2); font-size: 14px; line-height: 1.45; text-align: center; }
.viza-redesign .cover-image-controls { display: flex; align-items: center; gap: 12px; }
.viza-redesign .cover-image-play {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--vz-gradient); color: #fff; cursor: pointer;
}
.viza-redesign .cover-image-play:hover { transform: translateY(-1px); }
.viza-redesign .cover-image-seek { width: 100%; accent-color: var(--vz-violet); }

.viza-redesign .card-modal { display: grid; gap: 16px; text-align: left; }
.viza-redesign .card-preview { display: flex; justify-content: center; }
.viza-redesign .card-preview-media { position: relative; width: min(100%, 420px); overflow: hidden; border: 1px solid var(--vz-line-strong); border-radius: 16px; background: #02040a; }
.viza-redesign .card-preview-thumb { display: block; width: 100%; height: 100%; object-fit: cover; }
.viza-redesign .card-preview-frame, .viza-redesign .card-preview-border { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.viza-redesign .card-preview-frame { width: 100%; height: 100%; object-fit: fill; }
.viza-redesign .card-preview-frame.hidden, .viza-redesign .card-preview-border.hidden { display: none; }
.viza-redesign .card-preview-border { box-sizing: border-box; border-style: solid; }
.viza-redesign .card-preview-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 18px; pointer-events: none; }
.viza-redesign .card-preview-text[data-position="top"] { justify-content: flex-start; }
.viza-redesign .card-preview-text[data-position="middle"] { justify-content: center; }
.viza-redesign .card-preview-text.empty { opacity: 0; }
.viza-redesign .card-preview-text span { max-width: 90%; padding: 5px 13px; border-radius: 999px; background: rgba(0,0,0,.52); color: #fff; font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.viza-redesign .card-frame-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 1px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; }
.viza-redesign .card-frame-scroll::-webkit-scrollbar { display: none; }
.viza-redesign .card-frame-option { display: grid; place-items: center; flex: 0 0 62px; width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 13px; background: var(--vz-surface-3); cursor: pointer; }
.viza-redesign .card-frame-option:hover { transform: translateY(-2px); }
.viza-redesign .card-frame-option.selected { border-color: var(--vz-violet); box-shadow: 0 0 0 3px rgba(124,92,255,.22); }
.viza-redesign .card-frame-swatch { width: 100%; height: 100%; box-sizing: border-box; border: 6px solid var(--frame-color,#fff); border-radius: inherit; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.viza-redesign .card-frame-swatch--image { border: 0; background-position: center; background-size: cover; }
.viza-redesign .card-frame-none-icon { position: relative; width: 100%; height: 100%; border: 2px solid rgba(248,113,113,.75); border-radius: inherit; }
.viza-redesign .card-frame-none-icon::after { content: ""; position: absolute; top: 50%; left: 12%; width: 76%; height: 2px; border-radius: 99px; background: rgba(248,113,113,.9); transform: rotate(45deg); }
.viza-redesign .card-text-row { display: flex; align-items: center; gap: 10px; }
.viza-redesign .card-text-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.viza-redesign .card-control-group { position: relative; }
.viza-redesign .card-icon-button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--vz-line-strong); border-radius: 12px; background: var(--vz-surface-3); color: var(--vz-text-2); cursor: pointer; }
.viza-redesign .card-icon-button[aria-expanded="true"], .viza-redesign .card-icon-button:hover { border-color: transparent; background: var(--vz-violet); color: #fff; }
.viza-redesign .card-position-menu, .viza-redesign .card-color-grid { position: absolute; z-index: 2; right: 0; bottom: calc(100% + 8px); padding: 8px; border: 1px solid var(--vz-line-strong); border-radius: 12px; background: #1a2033; box-shadow: var(--vz-shadow-lg); }
.viza-redesign .card-position-menu { display: none; gap: 7px; }
.viza-redesign .card-position-menu.open { display: grid; }
.viza-redesign .card-color-grid { display: none; grid-template-columns: repeat(3,1fr); gap: 8px; }
.viza-redesign .card-color-grid.open { display: grid; }
.viza-redesign .card-position-button, .viza-redesign .card-color-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 2px solid var(--vz-line-strong); border-radius: 9px; background: var(--vz-surface-3); color: var(--vz-text); cursor: pointer; }
.viza-redesign .card-color-button { background: var(--card-color,#fff); }
.viza-redesign .card-position-button.selected, .viza-redesign .card-color-button.selected { border-color: var(--vz-violet); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }

.viza-redesign .settings-modal .media-settings { display: grid; gap: 18px; text-align: left; }
.viza-redesign .settings-modal .media-settings-public { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--vz-text); font-size: 16px; }
.viza-redesign .settings-modal .media-settings-danger { padding-top: 18px; border-top: 1px solid var(--vz-line-strong); }
.viza-redesign .settings-modal .media-settings-danger p { margin: 0 0 12px; color: #f7b4b8; font-size: 14px; font-weight: 700; }
.viza-redesign .settings-modal .media-settings-delete { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; border: 1px solid rgba(248,113,113,.55); border-radius: 12px; background: rgba(127,29,29,.35); color: #fecaca; font: inherit; font-weight: 800; cursor: pointer; }
.viza-redesign .settings-modal .media-settings-delete:hover { background: rgba(185,28,28,.5); color: #fff; }
@media (max-width: 480px) {
  .viza-redesign .swal2-popup.play-modal { padding: 22px 18px; }
  .viza-redesign .swal2-popup.play-modal .swal2-html-container { max-height: 61dvh; }
  .viza-redesign .cover-image-modal video { max-height: 40dvh; }
  .viza-redesign .card-text-row { align-items: stretch; flex-direction: column; }
  .viza-redesign .card-text-controls { justify-content: flex-end; }
}
.viza-redesign .swal2-popup.copy-choice-modal {
  width: min(460px,calc(100vw - 28px)); padding: 28px; border-radius: 26px !important;
}
.viza-redesign .swal2-popup.copy-choice-modal .swal2-title { font-size: 24px !important; text-align: left; }
.viza-redesign .swal2-popup.copy-choice-modal .swal2-html-container { margin: 10px 0 0 !important; }
.viza-redesign .swal2-popup.copy-choice-modal .copy-choice-subtitle {
  max-width: 38ch; margin: 0; color: var(--vz-text-2); font-size: 15px; line-height: 1.5; text-align: left;
}
.viza-redesign .swal2-popup.copy-choice-modal .swal2-actions {
  display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: 100%; margin-top: 22px !important;
}
.viza-redesign .swal2-popup.copy-choice-modal .swal2-actions button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; min-width: 0; min-height: 52px !important;
  margin: 0 !important; padding: 0 14px !important; border: 1px solid transparent !important; border-radius: 14px !important;
  box-shadow: none !important; font: 800 14px/1.15 Inter,ui-sans-serif,system-ui,sans-serif;
}
.viza-redesign .swal2-popup.copy-choice-modal .copy-choice-btn-video {
  order: 1; background: var(--vz-gradient) !important; color: #fff !important;
}
.viza-redesign .swal2-popup.copy-choice-modal .copy-choice-btn-song {
  order: 2; border-color: var(--vz-line-strong) !important; background: var(--vz-surface-3) !important; color: var(--vz-text) !important;
}
.viza-redesign .swal2-popup.copy-choice-modal .copy-choice-cancel-link {
  grid-column: 1 / -1; order: 3; min-height: 40px !important; border-color: transparent !important;
  background: transparent !important; color: var(--vz-text-3) !important; font-weight: 700 !important;
}
.viza-redesign .swal2-popup.copy-choice-modal .copy-choice-cancel-link:hover { color: #fff !important; background: rgba(255,255,255,.04) !important; }
.viza-redesign .swal2-popup.copy-choice-modal .swal2-actions i { margin: 0; font-size: 15px; }
.viza-redesign .swal2-popup.director-copy-choice-modal--two-actions .copy-choice-btn-song {
  grid-column: auto;
  order: 2;
  min-height: 52px !important;
  color: var(--vz-text) !important;
}
@media (max-width: 480px) {
  .viza-redesign .swal2-popup.copy-choice-modal { padding: 24px 20px 18px; }
  .viza-redesign .swal2-popup.copy-choice-modal .swal2-actions { grid-template-columns: 1fr; gap: 9px; }
  .viza-redesign .swal2-popup.copy-choice-modal .copy-choice-cancel-link { grid-column: 1; }
  /* Product and Short have only Copy and Cancel, so retain their paired
     action layout even on phones. Story intentionally follows the existing
     Jingle modal's stacked mobile treatment when all three actions exist. */
  .viza-redesign .swal2-popup.director-copy-choice-modal--two-actions .swal2-actions {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 699px) {
  .viza-redesign .swal2-popup.copy-choice-modal .copy-choice-btn-video,
  .viza-redesign .swal2-popup.copy-choice-modal .copy-choice-btn-song {
    font-size: 16px !important;
  }
}


/* Shared image-prompt dialog. Its controls are custom HTML, so they need an
   explicit component skin instead of falling back to browser-native buttons. */
.viza-redesign .swal2-popup.image-picker-swal {
  width: min(430px, calc(100vw - 28px)) !important;
}
.viza-redesign .swal2-popup.image-picker-swal .swal2-html-container {
  margin-top: 6px !important;
}
.viza-redesign .image-picker-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--vz-text-2);
}
.viza-redesign .image-picker-description {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--vz-text-2);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.viza-redesign .image-picker-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.viza-redesign .image-picker-toggle-label {
  color: var(--vz-text);
  font-size: 13px;
  font-weight: 750;
}
.viza-redesign .image-picker-modal .switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: 0 0 46px;
}
.viza-redesign .image-picker-modal .switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.viza-redesign .image-picker-modal .switch .slider {
  position: absolute;
  inset: 0;
  border: 1px solid var(--vz-line-strong);
  border-radius: 999px;
  background: #293147;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.viza-redesign .image-picker-modal .switch .slider::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .18s;
  box-shadow: 0 2px 7px rgba(0,0,0,.28);
}
.viza-redesign .image-picker-modal .switch input:checked + .slider {
  border-color: rgba(167,139,250,.72);
  background: var(--vz-gradient);
}
.viza-redesign .image-picker-modal .switch input:checked + .slider::before {
  transform: translateX(20px);
}
.viza-redesign .image-picker-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}
.viza-redesign .image-picker-btn,
.viza-redesign .image-picker-cancel {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: 800 14px/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
.viza-redesign .image-picker-btn-primary {
  background: var(--vz-gradient);
  color: #fff;
  box-shadow: 0 9px 24px rgba(109,93,252,.24);
}
.viza-redesign .image-picker-btn-secondary {
  border-color: var(--vz-line-strong);
  background: var(--vz-surface-3);
  color: var(--vz-text);
}
.viza-redesign .image-picker-cancel {
  min-height: 40px;
  align-self: center;
  border-color: transparent;
  background: transparent;
  color: var(--vz-text-3);
  box-shadow: none;
}
.viza-redesign .image-picker-cancel:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}

/* The site footer is quiet and compact inside the application. */


/* Account utilities share the new application canvas instead of falling back to the legacy bundle. */
.viza-redesign.settings-page main.container,
.viza-redesign.rank-page-shell main.container {
  width: min(100%,var(--vz-content)); margin: 0 auto; padding: 16px 32px 56px;
}
.viza-redesign.settings-page .auth-title,
.viza-redesign.rank-page-shell .auth-title { margin: 0 0 14px; color: var(--vz-text); font-size: clamp(32px,4vw,48px); letter-spacing: -.04em; }
.viza-redesign .form-wrapper.settings-shell { width: 100%; max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.viza-redesign .segmented-tabs {
  --vz-segmented-tab-count: 3;
  display: grid; grid-template-columns: repeat(var(--vz-segmented-tab-count), minmax(0,1fr)); gap: 0;
  margin-bottom: 12px; overflow: hidden; border: 1px solid var(--vz-line-strong); border-radius: 16px;
  background: rgba(10,14,26,.82);
}
.viza-redesign .segmented-tabs > .toggle-label,
.viza-redesign .segmented-tabs > .segment-btn {
  min-width: 0; min-height: 56px; padding: 0 12px; border: 0; border-radius: 0 !important; background: transparent;
  color: var(--vz-text-3); font: inherit; font-weight: 750; cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.viza-redesign .segmented-tabs > :first-child { border-radius: 15px 0 0 15px !important; }
.viza-redesign .segmented-tabs > :last-child { border-radius: 0 15px 15px 0 !important; }
.viza-redesign .segmented-tabs > * + * { border-left: 1px solid var(--vz-line-strong); }
.viza-redesign .segmented-tabs > .toggle-label:hover,
.viza-redesign .segmented-tabs > .segment-btn:hover { color: var(--vz-text); background: rgba(255,255,255,.045); }
.viza-redesign .segmented-tabs > .toggle-label.selected-clip,
.viza-redesign .segmented-tabs > .segment-btn.is-active,
.viza-redesign .segmented-tabs > .segment-btn[aria-selected="true"] {
  color: #fff; background: linear-gradient(105deg,#9a31ec,#743ad7 58%,#8e46e5) !important; box-shadow: inset 0 0 0 1px #d77aff;
}
/* Settings and Credits share page tabs; Credits uses quiet text tabs in its sheet. */
.viza-redesign :is(.credits-content .credits-temp-tabs, .settings-shell > .settings-tabs) {
  gap: 0; padding: 0; overflow: visible; border: 0;
  border-bottom: 1px solid var(--vz-line); border-radius: 0; background: transparent;
}
.viza-redesign :is(.credits-content .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label {
  position: relative; min-height: 42px; padding: 0 3px 10px;
  border: 0; border-radius: 0 !important; background: transparent !important;
  box-shadow: none; font-size: 13px; font-weight: 750;
}
.viza-redesign :is(.credits-content .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label.selected-clip {
  color: #fff; box-shadow: none;
}
.viza-redesign :is(.credits-content .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label.selected-clip::after {
  content: ""; position: absolute; right: 0; bottom: -1px; left: 0;
  height: 2px; border-radius: 2px; background: var(--vz-gradient);
}
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) {
  margin-bottom: 28px; background: rgba(255,255,255,.018);
}
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label {
  min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 780;
}
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label:hover,
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label:focus-visible {
  background: rgba(139,92,246,.08) !important; color: var(--vz-text);
}
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label.selected-clip {
  border-radius: 8px 8px 0 0 !important;
  background: linear-gradient(180deg,rgba(139,92,246,.13),rgba(139,92,246,.03)) !important;
}
.viza-redesign :is(.credits-content--page .credits-temp-tabs, .settings-shell > .settings-tabs) > .toggle-label.selected-clip::after {
  height: 3px; border-radius: 0; box-shadow: 0 -1px 12px rgba(139,92,246,.65);
}
@media (min-width: 960px) {
  .viza-redesign .credits-content--popup .credits-temp-tabs > .toggle-label { font-size: 14px; }
}
.viza-redesign .settings-panel { padding: 26px; border: 1px solid var(--vz-line-strong); border-radius: 22px; background: linear-gradient(145deg,rgba(25,31,51,.96),rgba(16,21,37,.98)); box-shadow: var(--vz-shadow-sm); }
.viza-redesign .settings-panel.hidden { display: none; }
.viza-redesign .settings-panel[data-settings-panel="profile"] { display: grid; grid-template-columns: repeat(2,minmax(280px,1fr)); gap: 18px 20px; }
.viza-redesign .settings-panel[data-settings-panel="profile"].hidden { display: none; }
.viza-redesign .settings-panel[data-settings-panel="profile"] > .field { min-width: 0; margin: 0; }
.viza-redesign .settings-panel[data-settings-panel="profile"] > .field:nth-child(7),
.viza-redesign .settings-panel[data-settings-panel="profile"] > .field:nth-child(8) { grid-column: 1 / -1; }
.viza-redesign .settings-profile-summary { display: flex; grid-column: 1 / -1; align-items: center; min-width: 0; gap: 13px; margin-bottom: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--vz-line); }
.viza-redesign .settings-profile-identity,
.viza-redesign .settings-profile-name { padding: 0; border: 0; background: transparent; color: var(--vz-text); cursor: pointer; }
.viza-redesign .settings-profile-identity { display: inline-grid; place-items: center; flex: 0 0 auto; }
.viza-redesign .settings-profile-identity .social-page-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.viza-redesign .settings-profile-name { flex: 1 1 0; min-width: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; font-weight: 800; }
.viza-redesign .settings-panel .input-label { margin-bottom: 7px; color: #e8eaf4; font-size: 13px; font-weight: 780; }
.viza-redesign .settings-panel .input,
.viza-redesign .settings-panel .field input:not([type="checkbox"]),
.viza-redesign .settings-panel .field select,
.viza-redesign .settings-panel #country {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(184,194,225,.3); border-radius: 12px;
  outline: 0; background: #0a0f1d; color: var(--vz-text); box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.viza-redesign .settings-panel .input:hover,
.viza-redesign .settings-panel .field input:not([type="checkbox"]):hover,
.viza-redesign .settings-panel .field select:hover { border-color: rgba(184,194,225,.44); }
.viza-redesign .settings-panel .input:focus,
.viza-redesign .settings-panel .field input:not([type="checkbox"]):focus,
.viza-redesign .settings-panel .field select:focus { border-color: var(--vz-violet); background: #0c1222; box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.viza-redesign .settings-panel input:disabled { border-style: dashed; background: rgba(7,10,18,.58); color: var(--vz-text-3); opacity: 1; }
.viza-redesign .settings-panel textarea.input { min-height: 116px; padding-top: 13px; }
.viza-redesign .info-icon { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border: 1px solid var(--vz-line-strong); border-radius: 50%; color: var(--vz-text-3); font-size: 11px; font-weight: 800; cursor: help; }
.viza-redesign .info-icon .tooltip { position: absolute; z-index: 40; left: 50%; bottom: calc(100% + 9px); display: none; width: min(280px,calc(100vw - 40px)); padding: 10px 12px; border: 1px solid var(--vz-line-strong); border-radius: 10px; background: #202637; color: var(--vz-text-2); box-shadow: var(--vz-shadow); font-size: 12px; font-weight: 500; line-height: 1.4; transform: translateX(-50%); }
.viza-redesign .info-icon:hover .tooltip,
.viza-redesign .info-icon:focus .tooltip { display: block; }
.viza-redesign .settings-username-control {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--vz-line-strong);
  border-radius: 12px; background: #0a0f1d; color: var(--vz-text); text-align: left;
  font: inherit; cursor: pointer;
}
.viza-redesign .settings-username-control [id="username-display"] { overflow-wrap: anywhere; }
.viza-redesign .settings-username-control .fa-pencil-alt { color: #c4b5fd; }
.viza-redesign .settings-username-control:disabled { cursor: default; }
.viza-redesign .settings-username-control:not(:disabled):hover,
.viza-redesign .settings-username-control:focus-visible,
.viza-redesign .settings-username-field.is-highlighted .settings-username-control {
  border-color: #a78bfa; background: rgba(139,92,246,.09);
}
.viza-redesign .settings-username-field { scroll-margin-block: calc(var(--header-height-desktop) + 20px); outline: none; }
.viza-redesign .settings-username-field:focus-visible .settings-username-control { border-color: #a78bfa; }
.viza-redesign .settings-username-pro { margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(139,92,246,.2); color: #ddd6fe; font-size: 11px; }
.viza-redesign .settings-username-field [hidden] { display: none !important; }
.viza-redesign .settings-group-title { margin: 0 0 8px; color: var(--vz-text-3); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.viza-redesign .settings-group-title-spaced { margin-top: 24px; }
.viza-redesign .settings-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; margin: 0; padding: 12px 4px; border-bottom: 1px solid var(--vz-line); }
.viza-redesign .settings-toggle-row:last-child { border-bottom: 0; }
.viza-redesign .settings-row-hint { margin: 4px 0 0; color: var(--vz-text-3); font-size: 13px; }
.viza-redesign .settings-share-toggle { margin-top: 9px; }
.viza-redesign .settings-share-toggle .segment-btn.is-active {
  background: var(--vz-secondary-selection); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--vz-shadow-sm);
}
.viza-redesign .settings-share-toggle .segment-btn.is-active:hover { background: var(--vz-secondary-selection-hover); }
.viza-redesign .settings-close-account-row { display: flex; justify-content: center; margin-top: 24px; }
.viza-redesign .settings-close-account-link { color: #fca5a5; font-size: 14px; text-decoration: none; }
.viza-redesign .switch { position: relative; display: inline-block; flex: 0 0 auto; width: 48px; height: 28px; }
.viza-redesign .switch input { width: 1px; height: 1px; opacity: 0; }
.viza-redesign .switch .slider { position: absolute; inset: 0; border: 1px solid var(--vz-line-strong); border-radius: 999px; background: var(--vz-surface-3); cursor: pointer; transition: .2s ease; }
.viza-redesign .switch .slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.28); transition: .2s ease; }
.viza-redesign .switch input:checked + .slider { border-color: transparent; background: var(--vz-gradient); }
.viza-redesign .switch input:checked + .slider::before { transform: translateX(20px); }
.viza-redesign .rank-card { padding: 22px !important; border: 1px solid var(--vz-line) !important; border-radius: 22px !important; background: var(--vz-surface) !important; box-shadow: var(--vz-shadow); }
.viza-redesign .rank-meta-subtext,
.viza-redesign .rank-info-link { color: var(--vz-text-3) !important; }
.viza-redesign .rank-progress-fill { background: var(--vz-gradient) !important; }
.viza-redesign .rank-page .text-page-content { padding: 0; border: 0; background: transparent; }
.viza-redesign .rank-table-shell { overflow-x: auto !important; border: 1px solid var(--vz-line) !important; border-radius: 22px !important; background: var(--vz-surface) !important; box-shadow: var(--vz-shadow); }
.viza-redesign .rank-table { min-width: 610px; }
.viza-redesign .rank-table thead th { border-color: var(--vz-line) !important; background: var(--vz-surface-2) !important; color: var(--vz-text-3) !important; }
.viza-redesign .rank-table tbody td { border-color: var(--vz-line) !important; }
.viza-redesign.change-password-shell { min-height: 100vh; }
.viza-redesign .change-password-page { display: flex; min-height: calc(100vh - var(--header-height-desktop) - 120px); padding: 30px 16px 60px; }
.viza-redesign .change-password-card-wrap { display: flex; align-items: center; justify-content: center; width: 100%; }
.viza-redesign .change-password-page .form-wrapper { width: min(100%,460px); padding: 30px; border-radius: 24px; }
.viza-redesign .change-password-heading { margin-bottom: 24px; text-align: center; }
.viza-redesign .change-password-page .auth-title { margin: 0 0 7px; color: var(--vz-text); font-size: 30px; letter-spacing: -.025em; }
.viza-redesign .change-password-subtitle { margin: 0; color: var(--vz-text-3); }
.viza-redesign .change-password-page .input-label { display: block; margin-bottom: 8px; color: var(--vz-text-3); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.viza-redesign .change-password-page .input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--vz-line); border-radius: 12px; background: var(--vz-surface-2); color: var(--vz-text); }
.viza-redesign .change-password-page #reset-password-button { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--vz-gradient); color: #fff; font-weight: 800; }
.viza-redesign .change-password-page .spacing-top { margin-top: 18px; }
.viza-redesign .change-password-page .cta-wrap { position: static; padding: 0; text-align: center; color: var(--vz-text-2); }
.viza-redesign .change-password-page .cta-wrap a { color: #a78bfa; font-weight: 750; }

@media (max-width: 699px) {
  .viza-redesign .page-eyebrow--desktop-only { display: none; }
  .viza-redesign .credits-decision__grid { grid-template-columns: 1fr; gap: 11px; }
  .viza-redesign .credits-decision-card { padding: 15px; border-radius: 14px; }
  .viza-redesign .credits-decision > h2 { font-size: 26px; }
  .viza-redesign .credits-decision__intro { margin-bottom: 14px; font-size: 13px; }
  .viza-redesign .credits-decision-option .btn { min-width: 96px; }
  .viza-redesign .credits-plan-offers { grid-template-columns: 1fr; }
  .viza-redesign .page-frame,
  .viza-redesign.commerce-page main.page-frame,
  .viza-redesign.info-page main.page-frame,
  .viza-redesign.library-page main.home.page-frame { padding: 12px 14px 40px; }
  .viza-redesign .page-title,
  .viza-redesign .text-page-header .page-title,
  .viza-redesign .help-page-intro .page-title { font-size: 25px; line-height: 1.08; }
  .viza-redesign.info-page .text-page-header { padding: 0 0 14px; }
  .viza-redesign .social-page-head { margin-top: 0; margin-bottom: 8px; }
  .viza-redesign .jingles-header { margin-bottom: 6px; }
  /* Keep every Explore sort control visible at the initial scroll position on phones.
     The full-size desktop pills pushed Filters off the right edge on 390–430px screens. */
  .viza-redesign .filter-group-modern { gap: 4px; }
  .viza-redesign .jingles-controls .filter-group-modern .toggle-label,
  .viza-redesign .explore-filter-pill {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .viza-redesign .explore-filter-pill { gap: 5px; }
  .viza-redesign .help-page-intro { margin-bottom: 10px !important; }
  .viza-redesign .search-panel { margin-bottom: 14px; }
  .viza-redesign.home-logged-in main.home > .home-section > .carousel-arrow { display: none !important; }
  .viza-redesign .cta-grid { gap: 10px; margin-top: 30px; }
  .viza-redesign .cta-card { padding: 16px 14px; border-radius: 17px; }
  .viza-redesign .cta-card-title { font-size: 15px; line-height: 1.25; }
  .viza-redesign .cta-card-desc { min-height: 52px; margin: 7px 0 12px; font-size: 12px; line-height: 1.4; }
  .viza-redesign .cta-card .btn { width: 100%; min-height: 40px; padding: 0 8px; border-radius: 11px; font-size: 12px; }
  .viza-redesign .authenticated-home-banners { grid-template-columns: minmax(0,1fr); margin-top: 30px; }
  .viza-redesign .authenticated-home-banner { min-height: 176px; border-radius: 17px; }
  .viza-redesign .authenticated-home-banner__content { width: 73%; min-height: 176px; padding: 18px; }
  .viza-redesign .authenticated-home-banner__content h2 { font-size: 21px; }
  .viza-redesign .authenticated-home-banner__content p { margin: 7px 0 12px; font-size: 12px; }
  .viza-redesign .authenticated-home-banner__image { width: 54%; }


  .viza-redesign .advanced-filter-sheet .segment-btn { padding-inline: 5px; font-size: 12px; }
  .viza-redesign .credits-temp-summary-item { padding: 12px; }
  .viza-redesign .credits-temp-summary-name { min-height: 17px; margin-bottom: 5px; font-size: 11px; }
  .viza-redesign .credits-temp-summary-value { font-size: 19px; }
  .viza-redesign .credits-temp-summary-exp { font-size: 10px; }
  .viza-redesign .credits-content--page .credits-temp-summary-exp,
  .viza-redesign .credits-popup-content .credits-temp-summary-exp { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .viza-redesign .cta-grid-credits { gap: 10px; }
  .viza-redesign .credits-card { min-height: 178px; padding: 18px !important; border-radius: 18px !important; }
  .viza-redesign .credits-card::after { top: 17px; right: 17px; font-size: 19px; }
  .viza-redesign .credits-card .discount-badge { top: 50%; right: 10px; left: auto; min-height: 20px; padding: 3px 5px; font-size: 9px; transform: translateY(-50%); }
  .viza-redesign .credits-card .credits-amount { font-size: 30px; }
  .viza-redesign .credits-card .credits-label { font-size: 11px; }
  .viza-redesign .credits-card .credits-price { margin-top: 9px; font-size: 17px; }
  .viza-redesign .credits-card .credits-purchase-type { font-size: 10.5px; }
  .viza-redesign .credits-card .credits-purchase-cta { min-height: 34px; margin-top: 10px; border-radius: 10px; font-size: 12px; }
  .viza-redesign.settings-page main.container,
  .viza-redesign.rank-page-shell main.container { width: 100%; padding: 12px 14px 40px; }
  .viza-redesign.settings-page .auth-title,
  .viza-redesign.rank-page-shell .auth-title { margin-bottom: 12px; font-size: 31px; }
  .viza-redesign .settings-panel { padding: 18px 16px; border-radius: 18px; }
  .viza-redesign .settings-panel[data-settings-panel="profile"] { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .viza-redesign .settings-panel[data-settings-panel="profile"] > .field:nth-child(7),
  .viza-redesign .settings-panel[data-settings-panel="profile"] > .field:nth-child(8) { grid-column: auto; }
  .viza-redesign .settings-profile-summary { padding-bottom: 15px; }
  .viza-redesign .settings-tabs .toggle-label { padding: 0 6px; font-size: 13px; }
  .viza-redesign .rank-card { padding: 18px !important; border-radius: 18px !important; }
  .viza-redesign .rank-table-shell { border-radius: 18px !important; }
  .viza-redesign .rank-table { min-width: 0; }
  .viza-redesign .rank-table thead { display: none; }
  .viza-redesign .rank-table tbody { display: grid; }
  .viza-redesign .rank-table tbody tr { display: grid; grid-template-columns: 118px minmax(0,1fr); padding: 16px; border-bottom: 1px solid var(--vz-line); }
  .viza-redesign .rank-table tbody tr:last-child { border-bottom: 0; }
  .viza-redesign .rank-table tbody td { width: auto !important; padding: 4px 0 !important; border: 0 !important; }
  .viza-redesign .rank-table tbody td:first-child { grid-row: 1 / span 2; padding-right: 12px !important; }
  .viza-redesign .rank-table tbody td:nth-child(3) { padding-top: 10px !important; }
  .viza-redesign .change-password-page { min-height: calc(100svh - var(--header-height-mobile) - var(--footer-height-mobile)); padding: 22px 12px 48px; }
  .viza-redesign .change-password-page .form-wrapper { padding: 24px 18px; border-radius: 20px; }
}

@media (min-width: 700px) {
  .viza-redesign main.home { padding: 20px 24px 56px; }
  .viza-redesign .hero { border-radius: var(--vz-radius-xl); }
  .viza-redesign .recommended-jingles-list,
  .viza-redesign .home-collections-list { grid-auto-columns: minmax(190px, 30vw); }
  .viza-redesign .lyrics-create-layout,
  .viza-redesign .song-create-layout,
  .viza-redesign .video-create-layout,
  .viza-redesign .final-song-create-layout,
  .viza-redesign .final-video-create-layout { padding: 34px 24px 70px; }
  .viza-redesign .form-wrapper { padding: 26px 32px 30px; }
  .viza-redesign .final-song-actions,
  .viza-redesign .published-actions { grid-template-columns: repeat(4,1fr); padding: 24px 32px; }
  .viza-redesign .featured-jingles-list,
  .viza-redesign .vs-feed-skeletons,
  .viza-redesign .search-placeholder-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--vz-content-card-gap); }
}

@media (min-width: 960px) {


  .viza-redesign .advanced-filter-sheet,
  .viza-redesign .notifications-sheet,
  .viza-redesign .social-sheet,
  .viza-redesign .messages-sheet {
    inset: var(--header-height-desktop) 18px auto auto; width: min(500px, calc(100vw - 36px)); max-height: calc(100vh - var(--header-height-desktop) - 18px);
    border-radius: 22px;
  }

  .viza-redesign .advanced-filter-sheet { right: max(18px, calc((100vw - var(--vz-content))/2)); }
  .viza-redesign #notifications-overlay.is-messages-list .notifications-sheet { height: auto; min-height: 0; }
  .viza-redesign #notifications-overlay.is-messages-list #messages-list { max-height: 420px; }
  .viza-redesign main.home { padding: 26px 32px 70px; }
  .viza-redesign .hero { min-height: clamp(420px, 54vh, 540px); }
  .viza-redesign .hero-content { max-width: 900px; padding: 38px 42px; }
  .viza-redesign .hero-title {
    max-width: none; font-size: clamp(42px,4vw,60px); letter-spacing: -.045em; white-space: nowrap;
  }
  .viza-redesign .hero-subtitle { font-size: clamp(20px,1.6vw,24px); }
  .viza-redesign .hero-cta { min-height: 58px; padding: 0 27px; border-radius: 15px; font-size: 16px; }
  .viza-redesign .hero-content {
    display: grid; width: 100%; max-width: none; grid-template-columns: auto minmax(260px,1fr);
    align-items: end; column-gap: 24px;
  }
  .viza-redesign .hero-title,
  .viza-redesign .hero-subtitle { grid-column: 1 / -1; }
  .viza-redesign .hero-mobile-template-link {
    position: static; display: inline-flex; align-self: center; justify-self: end; min-height: 0; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.84); font-size: 14px;
    text-align: right; backdrop-filter: none;
  }
  .viza-redesign .hero-mobile-template-link:hover { color: #fff; }
  .viza-redesign .recommended-jingles-list,
  .viza-redesign .home-collections-list {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: clamp(210px,20vw,276px);
    overflow-x: auto; overscroll-behavior-inline: contain;
  }
  .viza-redesign .carousel-thumb,
  .viza-redesign .video-preview-wrapper { border-radius: 8px; }
  .viza-redesign .lyrics-desktop-shell,
  .viza-redesign .song-desktop-shell,
  .viza-redesign .video-desktop-shell,
  .viza-redesign .final-song-desktop-shell,
  .viza-redesign .final-video-desktop-shell { border-radius: 28px; }
  .viza-redesign .step-title-row { min-height: 88px; padding: 15px 28px; }
  .viza-redesign .form-wrapper { padding: 34px 44px 40px; }
  .viza-redesign .cta-wrap { bottom: 0; }
  .viza-redesign .play-desktop-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; min-height: calc(100vh - var(--header-height-desktop)); }
  .viza-redesign .play-media { min-height: calc(100vh - var(--header-height-desktop) - 170px); }
  .viza-redesign .play-mobile-side-actions { display: none; }
  .viza-redesign .play-desktop-footer-shell { padding: 22px 30px 28px; }
  .viza-redesign .play-desktop-queue-list { max-height: calc(100vh - var(--header-height-desktop) - 70px); }
  .viza-redesign .media-menu-sheet { position: absolute; inset: 50% auto auto 50%; width: min(620px,calc(100vw - 40px)); border-radius: 24px; transform: translate(-50%,-50%); }


  .viza-redesign .featured-jingles-list,
  .viza-redesign .vs-feed-skeletons,
  .viza-redesign .search-placeholder-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--vz-content-card-gap); }
  .viza-redesign .social-profile-hero { grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: 26px; border-radius: 26px; }
}

@media (min-width: 700px) {
  /* Mobile keeps its compact height. On larger screens, the same controls fit
     comfortably in a shorter, more purposeful profile band. */
  .viza-redesign .social-profile-hero { min-height: 136px; padding-block: 18px; }
}

@media (max-width: 959px) {
  .viza-redesign .play-desktop-queue { display: none; }
}

@media (max-width: 699px) {
  /* Keep the profile identity and its real actions on one compact mobile row.
     The identity truncates before an action ever needs to wrap underneath it. */
  .viza-redesign .social-profile-hero { min-height: 108px; }
  .viza-redesign .social-profile-main { flex-wrap: nowrap; gap: 8px; }
  .viza-redesign .social-profile-identity { width: auto; min-width: 0; flex: 1 1 auto; flex-basis: auto; gap: 8px; }
  .viza-redesign .social-profile-hero-actions {
    width: auto;
    margin-top: 0;
    gap: 6px;
  }
  .viza-redesign .social-profile-context-actions { gap: 6px; }
  .viza-redesign .social-profile-hero-action,
  .viza-redesign .social-play-first-btn { width: 42px; min-height: 42px; flex-basis: 42px; }
  .viza-redesign .social-profile-action-icon,
  .viza-redesign .social-play-first-btn .social-profile-action-icon { width: 40px; height: 40px; font-size: 14px; }
  .viza-redesign .social-profile-action-label { display: none; }
  .viza-redesign .social-profile-plan-badge { display: none; }
}

@media (max-width: 599px) {
  .viza-redesign .social-profile-hero { gap: 8px; min-height: 96px; padding: 14px; }
  .viza-redesign .social-profile-main { gap: 7px; }
  .viza-redesign .social-profile-identity { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .viza-redesign .social-profile-avatar { width: 48px; height: 48px; border-radius: 15px; }
  .viza-redesign .social-profile-display-name,
  .viza-redesign .social-profile-username {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .viza-redesign .social-profile-display-name { font-size: 20px; }
  .viza-redesign .social-profile-inline-actions { min-width: 0; gap: 6px; }
  .viza-redesign .social-profile-identity-meta { gap: 4px; margin-top: -2px; }
  .viza-redesign .social-profile-plan-badge { max-width: none; padding-inline: 5px; }
  .viza-redesign .social-profile-more-btn { flex-basis: 24px; width: 24px; height: 24px; min-height: 24px; }
  .viza-redesign .social-profile-hero-actions,
  .viza-redesign .social-profile-context-actions { gap: 5px; }
  .viza-redesign .social-profile-hero-actions { margin-top: 0; }
  .viza-redesign .social-profile-hero-action,
  .viza-redesign .social-play-first-btn { width: 38px; min-width: 38px; min-height: 38px; flex-basis: 38px; height: auto; }
  .viza-redesign .social-profile-action-icon,
  .viza-redesign .social-play-first-btn .social-profile-action-icon { width: 36px; height: 36px; font-size: 13px; }
  .viza-redesign .social-profile-action-label { display: none; }
}

@media (min-width: 960px) {

  /* Desktop navigation stays high-contrast. Hover promotes only its icon so
     the navigation labels remain calm and legible. */


}

@media (min-width: 1200px) {
  .viza-redesign .featured-jingles-list,
  .viza-redesign .vs-feed-skeletons,
  .viza-redesign .search-placeholder-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  /* Search's compact all-results rails preserve their intentional horizontal
     scroll, while precisely exposing six cards across at wide desktop sizes. */
  .viza-redesign .featured-jingles-list.jingles-list--grid.search-media-rail .carousel-item {
    flex-basis: calc((100% - 60px) / 6);
    width: calc((100% - 60px) / 6);
  }
}

@media (max-width: 699px) {
  .viza-redesign .recommended-jingles-list,
  .viza-redesign .home-collections-list { grid-auto-columns: clamp(148px,42vw,176px); }
  .viza-redesign main.home .home-following-card { flex-basis: 68px; min-width: 68px; max-width: 68px; }
  .viza-redesign main.home .home-following-avatar { width: 50px; height: 50px; }
  .viza-redesign main.home .home-collection-card {
    flex-basis: 116px; width: 116px; height: 116px; min-width: 116px; border-radius: 15px;
    box-shadow: 4px 4px 0 rgba(45,53,74,.5), 0 9px 22px rgba(0,0,0,.2);
  }
  .viza-redesign main.home .home-collection-art { border-radius: 14px; }
  .viza-redesign main.home .home-collection-info { padding: 34px 8px 8px; border-radius: 0 0 14px 14px; }
  .viza-redesign main.home .home-collection-title { font-size: 11px; }
  .viza-redesign main.home .home-collection-subtitle { font-size: 9px; }
}


/* Grouped mobile drawer; desktop retains its five-item navigation rail. */


/* Admin pages keep their dense, task-specific tables and editors, but now live
   inside the same application shell as every other authenticated page. */
body.viza-redesign.admin-page {
  --color-primary: var(--vz-violet);
  --color-text-on-dark: var(--vz-text);
  --grey: var(--vz-text-3);
  --radius-card: 16px;
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, .24);
}
.viza-redesign.admin-page .admin-container {
  width: 100%;
  padding-top: clamp(20px, 2.4vw, 34px);
  padding-bottom: 64px;
}
.viza-redesign.admin-page .admin-container.admin-container-wide,
.viza-redesign.admin-page .admin-container.admin-container--wide {
  max-width: min(96%, 1500px);
}
.viza-redesign.admin-page .admin-page-header {
  margin-bottom: 16px;
}
.viza-redesign.admin-page .admin-page-header h1,
.viza-redesign.admin-page .wt-head h1 {
  margin: 0;
  color: var(--vz-text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.viza-redesign.admin-page .wt-wrap {
  padding: clamp(20px, 2.4vw, 34px) clamp(16px, 2.4vw, 32px) 64px;
}
.viza-redesign.admin-page .an-layout {
  min-height: calc(100vh - var(--header-height-mobile));
}
.viza-redesign.admin-page .an-sidebar {
  top: var(--header-height-mobile);
  height: calc(100vh - var(--header-height-mobile));
}

.viza-redesign.admin-page .dash-card-header,
.viza-redesign.admin-page .dash-title { color: #0f172a !important; }
.viza-redesign.admin-page .dash-link { color: #6d5dfc !important; }

@media (max-width: 959px) {
  .viza-redesign.admin-page .admin-container {
    max-width: 100%;
    padding: 18px 14px calc(var(--vz-mobile-nav) + 28px);
  }
  .viza-redesign.admin-page .admin-stats {
    grid-template-columns: 1fr;
  }
  .viza-redesign.admin-page .admin-page-header-row,
  .viza-redesign.admin-page .wt-head {
    align-items: flex-start;
  }
  .viza-redesign.admin-page .admin-toolbar {
    gap: 10px;
  }
  .viza-redesign.admin-page .admin-toolbar > :is(.input, select, .btn, .admin-grow, .admin-w-180, .admin-w-260, .admin-w-150) {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }
  .viza-redesign.admin-page .wt-wrap {
    padding: 18px 14px calc(var(--vz-mobile-nav) + 28px);
  }
}

@media (min-width: 960px) {
  .viza-redesign.admin-page .an-layout {
    min-height: calc(100vh - var(--header-height-desktop));
  }
  .viza-redesign.admin-page .an-sidebar {
    top: var(--header-height-desktop);
    height: calc(100vh - var(--header-height-desktop));
  }


}

/* Shared outer surface for approved product popups. Stripe checkout keeps
   its own surface; internal media previews and cards are unaffected. */


@media (min-width: 960px) {
  .viza-redesign :is(
    #notifications-overlay .notifications-sheet,
    #social-follows-overlay .social-sheet,
    #quick-create-overlay .quick-create-sheet,
    #template-use-overlay .quick-create-sheet,
    #director-create-entry-overlay .director-create-entry-dialog,
    #media-kit-overlay .media-kit-sheet,
    #advanced-filter-overlay .advanced-filter-sheet,
    #search-filter-dialog .search-filter-sheet,
    #mediaMenu .media-menu-sheet,
    #songAdvancedOverlay .advanced-filter-sheet,
    #videoAdvancedOverlay .advanced-filter-sheet
  ) {
    border: 1px solid #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.58) !important;
  }
}

/* Desktop header utilities use the full viewport. Keep equal breathing room
   above and below while leaving mobile bottom-sheet geometry untouched. */
@media (min-width: 960px) {
  .viza-redesign .credits-popup-sheet {
    top: 18px;
    bottom: 18px;
    height: auto;
    max-height: none;
  }

  .viza-redesign #notifications-overlay .notifications-sheet,
  .viza-redesign #social-follows-overlay .social-sheet {
    inset: 18px 18px 18px auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  /* Inbox and Connections use their own white borders. */
  .viza-redesign .credits-popup-sheet {
    border: 1px solid #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.58) !important;
  }
}

.viza-redesign .video-credit-calculator__body { flex: 1 1 auto; min-height: 0; }
.viza-redesign .video-credit-calculator__video-type,.viza-redesign .video-credit-calculator__duration { min-width: 0; margin: 0; padding: 0; border: 0; }.viza-redesign .video-credit-calculator__video-type legend,.viza-redesign .video-credit-calculator__duration legend { padding: 0; font-size: 14px; font-weight: 750; }.viza-redesign .video-credit-calculator__video-type > div,.viza-redesign .video-credit-calculator__duration > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }.viza-redesign .video-credit-calculator__video-type button,.viza-redesign .video-credit-calculator__duration button { min-height: 45px; border: 1px solid var(--vz-line-strong); border-radius: 10px; background: var(--vz-surface-2); color: var(--vz-text-2); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }.viza-redesign .video-credit-calculator__video-type button.is-selected,.viza-redesign .video-credit-calculator__duration button.is-selected { border-color: #a78bfa; background: rgba(109,93,252,.28); color: #fff; }.viza-redesign .video-credit-calculator__video-type button:disabled,.viza-redesign .video-credit-calculator__duration button:disabled { opacity: .38; cursor: not-allowed; }
.viza-redesign .video-credit-calculator__video-type button,.viza-redesign .video-credit-calculator__duration button,.viza-redesign .video-credit-calculator__resolution button { min-height: 38px; }
.viza-redesign .video-credit-calculator__duration > div { grid-template-columns: repeat(5,minmax(0,1fr)); }
.viza-redesign .video-credit-calculator__drawer { bottom: auto; max-height: calc(100dvh - var(--header-height-desktop) - 18px); }.viza-redesign .video-credit-calculator__body { flex: 0 1 auto; align-content: start; }.viza-redesign .video-credit-calculator__video-type button,.viza-redesign .video-credit-calculator__duration button,.viza-redesign .video-credit-calculator__resolution button { height: 40px; min-height: 40px; }
.viza-redesign .video-credit-calculator__dialogue input:checked + i { background: var(--vz-violet); }
/* Balance-aware production estimate and the shared credits entry point. */
.viza-redesign .video-credit-calculator__estimate.is-insufficient :is(strong, em) { color: var(--vz-danger); }
.viza-redesign .video-credit-calculator__insufficient[hidden] { display: none; }
.viza-redesign .video-credit-calculator__insufficient { margin-top: -8px; }
.viza-redesign .video-credit-calculator__insufficient p { margin: 0 0 12px; color: var(--vz-danger); font-size: 13px; text-align: center; }
.viza-redesign .video-credit-calculator__apply[hidden] { display: none; }
.viza-redesign .video-credit-calculator__apply { width: 100%; }
.viza-redesign .video-credit-calculator__insufficient .btn { width: 100%; }


@media (min-width: 768px) {
  .viza-redesign .video-credit-calculator__drawer {
    right: 18px;
    width: min(460px, calc(100vw - 36px));
    border-right: 1px solid rgba(167,139,250,.5);
    border-radius: 22px;
  }
}

@media (max-width: 767px) {
  .viza-redesign .video-credit-calculator__drawer { top: auto; bottom: 0; width: 100%; max-height: min(760px,calc(100dvh - var(--header-height-mobile))); border-right: 0; border-bottom: 0; border-radius: 22px 22px 0 0; }
  .viza-redesign .video-credit-calculator__header { padding: 18px; }
  .viza-redesign .video-credit-calculator__body { gap: 18px; padding: 18px; }
  .viza-redesign .video-credit-calculator__footer { padding: 14px 18px calc(14px + env(safe-area-inset-bottom,0px)); }
  .viza-redesign .video-credit-calculator__estimate p { position: static; margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {

  .viza-redesign *, .viza-redesign *::before, .viza-redesign *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Story listing: cards remain static until the story experience is defined. */
.viza-redesign .story-listing-card { cursor: pointer; }
.viza-redesign .story-open-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.viza-redesign .story-listing-card .story-extend-btn { z-index: 5; }
.viza-redesign .story-listing-card .carousel-thumb { position: relative; }
.viza-redesign .user-media-category-tab.hidden { display: none; }
.viza-redesign .story-listing-card:is(:hover, :focus-visible) { transform: translateY(-2px); }

/* Two quiet backing cards signal a multi-chapter Story without extra copy.
   Small diagonal offsets keep both edges visible within the grid gutters. */
.viza-redesign .story-listing-card.story-listing-card--stacked:not(.plus-card) {
  --media-card-line: rgba(139,153,218,.45);
  --media-card-line-hover: rgba(90,112,255,.8);
  --media-card-focus-glow: rgba(90,112,255,.16);
  --media-card-stack-line: rgba(139,153,218,.225);
  overflow: visible;
  border-color: var(--media-card-line);
  border-width: 1px;
  box-shadow: 3px 3px 0 -1px #121827, 3px 3px 0 0 var(--media-card-stack-line),
              6px 6px 0 -1px #121827, 6px 6px 0 0 var(--media-card-stack-line),
              0 10px 24px rgba(0,0,0,.18);
}
.viza-redesign .story-listing-card.story-listing-card--stacked:not(.plus-card):is(:hover, :focus-visible) {
  --media-card-stack-line: rgba(90,112,255,.4);
  border-color: var(--media-card-line-hover);
  box-shadow: 3px 3px 0 -1px #121827, 3px 3px 0 0 var(--media-card-stack-line),
              6px 6px 0 -1px #121827, 6px 6px 0 0 var(--media-card-stack-line),
              0 16px 34px rgba(0,0,0,.32);
}

/* More actions: clearly outlined buttons with larger labels and icons. */
.viza-redesign #mediaMenuSheet {
  padding: 24px;
}
.viza-redesign #mediaMenuSheet .media-menu-header {
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--vz-line);
}
.viza-redesign #mediaMenuSheet .media-menu-avatar {
  border-radius: 50%;
}
.viza-redesign #mediaMenuSheet .media-menu-title {
  font-size: 18px;
  line-height: 1.35;
}
.viza-redesign #mediaMenuSheet .media-menu-close {
  background: transparent;
}
.viza-redesign #mediaMenuSheet .media-menu-close:hover {
  background: rgba(255,255,255,.075);
  color: #fff;
}
.viza-redesign #mediaMenuSheet .media-menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}
.viza-redesign #mediaMenuSheet .media-menu-grid-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  min-height: 72px;
  padding: 12px;
  gap: 2px 10px;
  border-color: rgba(196,181,253,.3);
  border-radius: 12px;
  background: rgba(167,139,250,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 2px 5px rgba(0,0,0,.16);
  text-align: left;
  font-family: inherit;
}
.viza-redesign #mediaMenuSheet .media-menu-grid-item > i {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(167,139,250,.15);
  font-size: 21px;
}
.viza-redesign #mediaMenuSheet .media-menu-grid-item > span {
  min-width: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
}
.viza-redesign #mediaMenuSheet .media-menu-download-subtext {
  margin-top: 0;
  font-size: 10px;
}
.viza-redesign #mediaMenuSheet .media-menu-grid-item:hover,
.viza-redesign #mediaMenuSheet .media-menu-grid-item:focus-visible {
  border-color: rgba(196,181,253,.65);
  background: rgba(139,92,246,.2);
  transform: none;
}
.viza-redesign #mediaMenuSheet .media-menu-like-btn.is-liked {
  border-color: rgba(244,114,182,.45);
  background: rgba(168,46,119,.12);
}
.viza-redesign #mediaMenuSheet .media-menu-section-label {
  margin: 20px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--vz-line);
  color: #aab5ca;
}
.viza-redesign #mediaMenuSheet :is(.media-menu-grid--owner,.media-menu-grid--social) .media-menu-grid-item {
  min-height: 66px;
}
.viza-redesign #mediaMenuSheet :is(.media-menu-grid--owner,.media-menu-grid--social) .media-menu-grid-item:hover {
  background: rgba(139,92,246,.12);
}
.viza-redesign #mediaMenuSheet :is(#menuReport,#menuBlockUser) {
  color: #c5cddd;
}
.viza-redesign #mediaMenuSheet :is(#menuReport,#menuBlockUser):hover {
  background: rgba(190,24,93,.1);
  border-color: rgba(248,113,113,.3);
}
@media (min-width: 960px) {
  .viza-redesign #mediaMenuSheet {
    width: min(560px, calc(100vw - 40px));
  }
  .viza-redesign #mediaMenuSheet .bottom-sheet-grabber {
    display: none;
  }
}
@media (max-width: 959px) {
  .viza-redesign #mediaMenuSheet {
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  }
  .viza-redesign #mediaMenuSheet .media-menu-grid-item {
    padding: 10px 8px;
    gap: 2px 7px;
  }
}

/* Conversation clusters keep timestamps secondary and avatars unobtrusive. */
.viza-redesign #notifications-overlay .message-bubble-content { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: 75%; min-width: 0; }
.viza-redesign #notifications-overlay .message-bubble-row.is-me .message-bubble-content { align-items: flex-end; }
.viza-redesign #notifications-overlay .message-bubble-time { color: #9299aa; font-size: 11px; margin: 0 4px 5px; }
.viza-redesign #notifications-overlay .message-bubble-avatar { width: 28px; height: 28px; flex-basis: 28px; margin-bottom: 23px; overflow: hidden; }
.viza-redesign #notifications-overlay .message-bubble-avatar img { width: 100%; height: 100%; object-fit: cover; }
.viza-redesign #notifications-overlay .message-bubble-avatar.is-placeholder { visibility: hidden; }

/* Shared popup tab feedback, including Inbox, Connections and Media Kit. */


/* Leave a dedicated Help column beside either translated queue heading. */
body.viza-redesign.play-page .play-desktop-queue-header {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
}
body.viza-redesign.play-page .play-desktop-queue-header > :is(span, a) {
  flex: 1 1 0; min-width: 0; overflow-wrap: anywhere;
}
body.viza-redesign.play-page .play-desktop-queue-header > [hidden] { display: none; }

/* Approved logged-in Home discovery shelves; shell and hero retain shared styles. */
.viza-redesign.home-logged-in .home-discovery-shelf { margin-top: 48px; }
@media (min-width: 960px) {
  .viza-redesign.home-logged-in .home-discovery-shelf { margin-top: 24px; }
}
.viza-redesign.home-logged-in .home-discovery-shelf[hidden] { display: none; }
.viza-redesign.home-logged-in .home-discovery-shelf .home-section-header { margin-bottom: 16px; }
.viza-redesign.home-logged-in .home-discovery-actions { display: flex; align-items: center; gap: 8px; }
.viza-redesign.home-logged-in .home-discovery-shelf .home-section-see-all { color: #b8a3e0; font-weight: 650; margin-right: 8px; }
.viza-redesign.home-logged-in .home-discovery-arrow {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; background: transparent; color: var(--vz-text-2); cursor: pointer;
}
.viza-redesign.home-logged-in .home-discovery-arrow:disabled { opacity: .3; cursor: default; }
.viza-redesign.home-logged-in .home-discovery-arrow:focus-visible { outline: 2px solid #b8a3e0; border-radius: 8px; }
.viza-redesign.home-logged-in .home-discovery-list { grid-auto-columns: 172px; gap: 12px; padding: 4px 0 8px; }
.viza-redesign.home-logged-in .home-discovery-list .jingle-card,
.viza-redesign.home-logged-in .home-discovery-list .home-card-skeleton {
  display: block; width: 172px; height: 172px !important; min-height: 0;
  aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--media-card-line, rgba(255,255,255,.1));
}
.viza-redesign.home-logged-in .home-discovery-list .jingle-card[hidden] { display: none; }
.viza-redesign.home-logged-in .home-discovery-list .jingle-card:is(:hover, :focus-visible) { border-color: var(--media-card-line-hover); }
.viza-redesign.home-logged-in .home-discovery-list .carousel-thumb { height: 100% !important; aspect-ratio: 1 !important; border-radius: inherit; }
.viza-redesign.home-logged-in .home-discovery-list .carousel-media-poster {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain !important;
}
.viza-redesign.home-logged-in .home-discovery-list .video-preview-wrapper { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.viza-redesign.home-logged-in .home-discovery-list .carousel-info {
  position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: auto; margin: 0;
  padding: 55px 12px 11px; border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg,transparent,rgba(3,5,11,.5) 40%,rgba(3,5,11,.94));
}
.viza-redesign.home-logged-in .home-discovery-list .carousel-meta { color: var(--vz-text-2); }
.viza-redesign.home-logged-in .home-discovery-retry { border: 0; background: transparent; color: #b8a3e0; min-height: 44px; cursor: pointer; }
@media (max-width: 959px) {
  .viza-redesign.home-logged-in .home-discovery-shelf { margin-top: 25px; }
  .viza-redesign.home-logged-in .home-discovery-shelf .carousel-heading { font-size: 18px; font-weight: 700; }
  .viza-redesign.home-logged-in .home-discovery-shelf .home-section-see-all {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 13px; margin: -10px 0;
  }
  .viza-redesign.home-logged-in .home-discovery-arrow { display: none; }
  .viza-redesign.home-logged-in .home-discovery-shelf .see-all-arrow { display: none; }
}
@media (max-width: 699px) {
  /* Two complete cards, two gaps, and an 18% peek of the next card. */
  .viza-redesign.home-logged-in .home-discovery-list { grid-auto-columns: calc((100% - 24px) / 2.18); }
  .viza-redesign.home-logged-in .home-discovery-list .jingle-card,
  .viza-redesign.home-logged-in .home-discovery-list .home-card-skeleton { width: 100%; height: auto !important; scroll-snap-align: start; }
}

/* Temporarily hide discovery card view/listen counts until audience scale grows.
   Remove this rule to restore them; Play and Studio retain their counts. */
.viza-redesign:is(.community-page, .collection-page) .jingle-card .views {
  display: none !important;
}

.username-upgrade-modal .swal2-icon { border: 0; background: rgba(139,92,246,.15); color: #c4b5fd; }
.username-upgrade-modal .swal2-icon .fa-pencil-alt { font-size: 30px; }

.viza-redesign [data-credits-subscription-options] { scroll-margin-top: calc(var(--header-height-desktop) + 16px); }
.credits-popup-content [data-credits-subscription-options] { scroll-margin-top: 12px; }

body.viza-redesign .settings-username-field:focus-visible,
body.viza-redesign .settings-username-control:focus-visible { outline: none; }
