/*
 * Vizasound redesign
 * A clean-slate, mobile-first interface for the authenticated product.
 * Legacy main.css is intentionally not a dependency of this file.
 */

:root {
  color-scheme: dark;
  --vz-bg: #070a12;
  --vz-bg-raised: #0d1120;
  --vz-surface: #121728;
  --vz-surface-2: #181e32;
  --vz-surface-3: #20273d;
  --vz-line: rgba(184, 194, 225, .14);
  --vz-line-strong: rgba(184, 194, 225, .24);
  --vz-text: #f7f8ff;
  --vz-text-2: #b8bfd4;
  --vz-text-3: #7f89a4;
  --vz-violet: #8b5cf6;
  --vz-violet-2: #6d5dfc;
  --vz-selection-fill: linear-gradient(135deg, rgba(109, 93, 252, .30), rgba(139, 92, 246, .18));
  --vz-selection-border: rgba(139, 92, 246, .38);
  --vz-cyan: #32d6ff;
  --vz-pink: #f472d0;
  --vz-green: #5ee0a0;
  --vz-danger: #ff6b81;
  --vz-gradient: linear-gradient(135deg, #6d5dfc 0%, #9c55f6 52%, #db5fc7 100%);
  --vz-gradient-cool: linear-gradient(135deg, #5a70ff 0%, #8b5cf6 48%, #32d6ff 120%);
  --vz-shadow-sm: 0 12px 30px rgba(0, 0, 0, .22);
  --vz-shadow-lg: 0 28px 80px rgba(0, 0, 0, .46);
  --vz-radius-sm: 10px;
  --vz-radius: 16px;
  --vz-radius-lg: 24px;
  --vz-radius-xl: 32px;
  --header-height-mobile: 64px;
  --header-height-desktop: 72px;
  --vz-content: 1500px;
  --vz-sidebar: 218px;
  --vz-mobile-nav: var(--mobile-bottom-nav-height, 60px);
  --vz-mobile-page-end: var(--mobile-page-bottom-buffer, 24px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; overflow-x: clip; background: var(--vz-bg); scroll-behavior: smooth; }
body.viza-redesign {
  min-height: 100vh;
  margin: 0;
  padding: var(--header-height-mobile) 0 calc(var(--vz-mobile-nav) + var(--vz-mobile-page-end) + env(safe-area-inset-bottom));
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 0%, rgba(109, 93, 252, .12), transparent 34rem),
    radial-gradient(circle at 4% 36%, rgba(50, 214, 255, .06), transparent 28rem),
    var(--vz-bg);
  color: var(--vz-text);
  font: 400 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The application canvas stays deliberately quiet on phones.  Gradients belong
   to individual cards and calls to action, not behind normal page content. */
@media (max-width: 959px) {
  body.viza-redesign { background: var(--vz-bg); }
}
body.viza-redesign.viza-scroll-locked { overflow: hidden; }
body.viza-redesign img, body.viza-redesign video { display: block; max-width: 100%; }
body.viza-redesign button, body.viza-redesign input, body.viza-redesign textarea, body.viza-redesign select { font: inherit; }
body.viza-redesign button, body.viza-redesign a { -webkit-tap-highlight-color: transparent; }
body.viza-redesign a { color: inherit; text-decoration: none; }
body.viza-redesign h1, body.viza-redesign h2, body.viza-redesign h3, body.viza-redesign p { margin-top: 0; }
body.viza-redesign h1, body.viza-redesign h2, body.viza-redesign h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
}
body.viza-redesign :focus-visible { outline: 3px solid rgba(50, 214, 255, .78); outline-offset: 3px; }
body.viza-redesign ::selection { background: rgba(139, 92, 246, .45); color: #fff; }

.viza-redesign .hidden, .viza-redesign [hidden] { display: none !important; }
.viza-redesign .sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.viza-redesign .single-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .show-mobile { display: initial; }
.viza-redesign .hide-mobile { display: none !important; }

/* List-feed completion is intentionally quiet and secondary to the content. */
.viza-redesign #loading.feed-status--end {
  clear: both;
  margin: 2rem auto 0;
  padding: 0.25rem 1rem 1rem;
  color: var(--vz-text-3);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Shared top bar */
.viza-redesign .fixed-header {
  position: fixed; z-index: 1100; inset: 0 0 auto;
  height: var(--header-height-mobile);
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--vz-line);
  background: rgba(7, 10, 18, .88);
  backdrop-filter: blur(22px) saturate(145%);
}
.viza-redesign .logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.viza-redesign .logo-full { display: none; height: 34px; width: auto; }
.viza-redesign .logo-mobile-icon { display: block; width: 35px; height: 35px; object-fit: contain; }
.viza-redesign.home-logged-in .fixed-header .logo-full { display: block; height: 32px; }
.viza-redesign.home-logged-in .fixed-header .logo-mobile-icon { display: none; }
.viza-redesign.home-logged-in .fixed-header .logo-link.logo-link-compact-mobile .logo-full { display: none; }
.viza-redesign.home-logged-in .fixed-header .logo-link.logo-link-compact-mobile .logo-mobile-icon { display: block; }
.viza-redesign .header-desktop-search { position: relative; z-index: 2; display: none; }
.viza-redesign .header-mobile-search { flex: 1; min-width: 0; }
.viza-redesign .header-mobile-search:not(.is-home) { flex: 1 1 0; width: auto; max-width: none; }
.viza-redesign .header-mobile-search-form { width: 100%; }
.viza-redesign .header-mobile-search-trigger { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2); }
.viza-redesign .header-mobile-search:not(.is-home) .header-mobile-search-trigger { display: none; }
.viza-redesign .header-mobile-search-form,
.viza-redesign .header-desktop-search-form {
  position: relative; display: flex; align-items: center; min-width: 0;
  height: 42px; border: 1px solid var(--vz-line); border-radius: 999px;
  background: rgba(255,255,255,.055); transition: border-color .2s, background .2s, box-shadow .2s;
}
.viza-redesign .header-mobile-search-form:focus-within,
.viza-redesign .header-desktop-search-form:focus-within {
  border-color: rgba(139, 92, 246, .7); background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 4px rgba(139,92,246,.11);
}
.viza-redesign .header-mobile-search-form > i,
.viza-redesign .header-desktop-search-form > i { margin-left: 14px; color: var(--vz-text-3); font-size: 14px; }
.viza-redesign .header-desktop-search-submit-left,
.viza-redesign .header-mobile-search-submit-left {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-3); cursor: pointer;
}
.viza-redesign .header-desktop-search-submit-left:hover,
.viza-redesign .header-mobile-search-submit-left:hover { background: rgba(255,255,255,.06); color: #fff; }
.viza-redesign .header-mobile-search-form input,
.viza-redesign .header-desktop-search-form input {
  min-width: 0; flex: 1; height: 100%; padding: 0 10px; border: 0; outline: 0;
  background: transparent; color: var(--vz-text); font-size: 14px;
}
.viza-redesign .header-mobile-search-form input::placeholder,
.viza-redesign .header-desktop-search-form input::placeholder { color: var(--vz-text-3); }
.viza-redesign .header-desktop-search-form input[type="search"]::-webkit-search-decoration,
.viza-redesign .header-desktop-search-form input[type="search"]::-webkit-search-cancel-button,
.viza-redesign .header-desktop-search-form input[type="search"]::-webkit-search-results-button,
.viza-redesign .header-desktop-search-form input[type="search"]::-webkit-search-results-decoration,
.viza-redesign .header-mobile-search-form input[type="search"]::-webkit-search-decoration,
.viza-redesign .header-mobile-search-form input[type="search"]::-webkit-search-cancel-button,
.viza-redesign .header-mobile-search-form input[type="search"]::-webkit-search-results-button,
.viza-redesign .header-mobile-search-form input[type="search"]::-webkit-search-results-decoration { display: none; appearance: none; -webkit-appearance: none; }
.viza-redesign .header-search-aux-btn {
  flex: 0 0 34px; width: 34px; height: 34px; margin-right: 3px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--vz-text-3); cursor: pointer;
}
.viza-redesign .header-search-aux-btn:hover { background: var(--vz-surface-3); color: #fff; }
.viza-redesign .header-mobile-search-history,
.viza-redesign .header-desktop-search-history {
  position: absolute; z-index: 1450; top: calc(100% + 8px); left: 0; right: 0; max-height: min(72vh,620px);
  overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--vz-line-strong); border-radius: 18px;
  background: rgba(15,20,35,.985); box-shadow: var(--vz-shadow-lg); backdrop-filter: blur(22px);
}
.viza-redesign .header-mobile-search-history.hidden,
.viza-redesign .header-desktop-search-history.hidden { display: none; }
.viza-redesign .header-search-panel { padding: 10px 0 12px; }
.viza-redesign .header-search-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 11px; }
.viza-redesign .header-search-panel-head span { color: var(--vz-text-3); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.viza-redesign .header-search-panel-head button { padding: 5px 7px; border: 0; border-radius: 8px; background: transparent; color: #bca9ff; font-size: 12px; font-weight: 750; }
.viza-redesign .header-search-pills { display: flex; gap: 7px; overflow-x: auto; padding: 3px 10px 10px; scrollbar-width: none; }
.viza-redesign .header-search-pill { flex: 0 0 auto; min-height: 34px; padding: 0 13px; border: 1px solid var(--vz-line); border-radius: 999px; background: var(--vz-surface-2); color: var(--vz-text-2); font-size: 12px; font-weight: 800; }
.viza-redesign .header-search-pill.is-active { border-color: transparent; background: #fff; color: #080b14; }
.viza-redesign .header-search-section { padding-top: 5px; }
.viza-redesign .header-search-section-head { display: flex; align-items: center; justify-content: space-between; padding: 3px 12px 7px; color: var(--vz-text); font-size: 14px; font-weight: 800; }
.viza-redesign .header-search-section-head button { padding: 0; border: 0; background: transparent; color: inherit; }
.viza-redesign .header-search-list { margin: 0 9px; overflow: hidden; border: 1px solid var(--vz-line); border-radius: 13px; }
.viza-redesign .header-search-row,
.viza-redesign .header-mobile-search-history-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 52px; padding: 7px 10px; border-top: 1px solid var(--vz-line); }
.viza-redesign .header-search-row:first-child,
.viza-redesign .header-mobile-search-history-row:first-child { border-top: 0; }
.viza-redesign .header-search-row-main,
.viza-redesign .header-mobile-search-history-select { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--vz-text); text-align: left; }
.viza-redesign .header-search-row-main > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.viza-redesign .header-search-row-main strong,
.viza-redesign .header-search-row-main small,
.viza-redesign .header-mobile-search-history-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .header-search-row-main strong { font-size: 13px; }
.viza-redesign .header-search-row-main small { color: var(--vz-text-3); font-size: 11px; }
.viza-redesign .header-search-row-action,
.viza-redesign .header-search-row-action-play,
.viza-redesign .header-mobile-search-history-remove { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--vz-surface-3); color: var(--vz-text-2); }
.viza-redesign .header-search-btn { padding: 7px 12px; border-radius: 999px; background: var(--vz-surface-3); color: var(--vz-text); font-size: 11px; font-weight: 800; }
.viza-redesign .header-search-avatar,
.viza-redesign .header-search-thumb { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; overflow: hidden; border-radius: 10px; background: var(--vz-surface-3); }
.viza-redesign .header-search-avatar-img,
.viza-redesign .header-search-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.viza-redesign .header-search-avatar-initial { display: grid; place-items: center; width: 100%; height: 100%; background: var(--vz-gradient); font-weight: 800; }
.viza-redesign .header-search-video-thumb { position: relative; }
.viza-redesign .header-search-video-thumb .header-search-video-duration {
  position: absolute; right: 3px; bottom: 3px; z-index: 1; padding: 1px 4px; border-radius: 5px;
  background: rgba(3,5,12,.82); color: #fff; font-size: 9px; line-height: 1.25;
}
.viza-redesign .header-search-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 9px; }
.viza-redesign .header-search-video { position: relative; min-height: 104px; overflow: hidden; border-radius: 12px; background: var(--vz-surface-2); }
.viza-redesign .header-search-video::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent,rgba(3,5,12,.92)); }
.viza-redesign .header-search-video img { width: 100%; height: 104px; object-fit: cover; }
.viza-redesign .header-search-video-duration { position: absolute; z-index: 2; top: 6px; right: 6px; padding: 2px 6px; border-radius: 999px; background: rgba(3,5,12,.78); color: #fff; font-size: 10px; }
.viza-redesign .header-search-video-meta { position: absolute; z-index: 2; right: 7px; bottom: 7px; left: 7px; display: flex; flex-direction: column; min-width: 0; }
.viza-redesign .header-search-video-meta strong,
.viza-redesign .header-search-video-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .header-search-video-meta strong { color: #fff; font-size: 11px; }
.viza-redesign .header-search-video-meta small { color: #cbd5e1; font-size: 10px; }
.viza-redesign .header-search-empty { padding: 16px; color: var(--vz-text-3); text-align: center; font-size: 13px; }
.viza-redesign .header-search-empty-loading { display: flex; align-items: center; justify-content: center; gap: 8px; }
.viza-redesign .header-search-spinner { width: 17px; height: 17px; border: 2px solid var(--vz-line-strong); border-top-color: var(--vz-violet); border-radius: 50%; animation: vz-spin .8s linear infinite; }
.viza-redesign .header-search-more { display: block; width: calc(100% - 18px); min-height: 38px; margin: 10px 9px 0; border: 1px solid var(--vz-line); border-radius: 10px; background: var(--vz-surface-2); color: var(--vz-text-2); font-weight: 750; }
.viza-redesign .header-mobile-search-history-select i { color: var(--vz-text-3); font-size: 11px; }
.viza-redesign .header-mobile-search-history-select span { min-width: 0; }
@keyframes vz-spin { to { transform: rotate(360deg); } }
.viza-redesign .header-controls { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; gap: 6px; margin-left: auto; }
.viza-redesign .header-credits { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.viza-redesign .desktop-nav { display: none; }
.viza-redesign .desktop-nav-right { display: flex; align-items: center; gap: 6px; }
.viza-redesign .desktop-nav > .language-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--vz-text-2);
  font-size: 15px;
  box-shadow: none;
}
.viza-redesign .desktop-nav > .language-icon:hover,
.viza-redesign .desktop-nav > .language-icon:focus-visible {
  border-color: var(--vz-line);
  background: rgba(255,255,255,.05);
  color: #fff;
}
.viza-redesign .desktop-nav > .header-signin-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--vz-text-2);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.viza-redesign .desktop-nav > .header-signin-link:hover { color: #fff; }
.viza-redesign .header-primary-cta {
  display: none; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--vz-gradient); color: #fff; font-weight: 800;
  box-shadow: 0 9px 28px rgba(109,93,252,.3); transition: transform .18s, box-shadow .18s;
}
.viza-redesign .header-primary-cta:hover { transform: translateY(-1px); box-shadow: 0 13px 34px rgba(109,93,252,.42); }
.viza-redesign .notification-icon,
.viza-redesign .hamburger-icon,
.viza-redesign .profile-menu-button,
.viza-redesign .desktop-nav-right > a:not(.header-primary-cta) {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 50%;
  background: transparent; color: var(--vz-text-2); cursor: pointer;
}
.viza-redesign .notification-icon:hover,
.viza-redesign .hamburger-icon:hover,
.viza-redesign .profile-menu-button:hover { background: var(--vz-surface-2); color: #fff; }
.viza-redesign .hamburger-icon { color: #f5f7ff; }
.viza-redesign .header-utility-icon { position: relative; }
.viza-redesign .header-utility-icon .notification-dot {
  position: absolute; top: 7px; right: 7px; width: 8px; height: 8px;
  border: 2px solid #090c15; border-radius: 50%; background: #ff4d6d;
  box-sizing: content-box; box-shadow: 0 0 0 2px rgba(255,77,109,.1);
}
.viza-redesign .header-utility-icon .notification-dot.hidden { display: none; }
.viza-redesign .profile-menu-container { position: relative; }
.viza-redesign .profile-menu-trigger { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.viza-redesign .profile-menu-trigger > img,
.viza-redesign .profile-menu-trigger > .profile-image-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.2); border-radius: 50%; object-fit: cover; background: var(--vz-gradient); color: #fff; font-weight: 800; cursor: pointer; }
.viza-redesign .profile-menu-dropdown {
  position: fixed; z-index: 1400; top: calc(var(--header-height-mobile) - 2px); right: 12px; display: none;
  width: min(310px, calc(100vw - 24px)); padding: 10px;
  border: 1px solid var(--vz-line-strong); border-radius: 20px;
  background: rgba(18, 23, 40, .98); box-shadow: var(--vz-shadow-lg); backdrop-filter: blur(24px);
}
.viza-redesign .profile-menu-dropdown a,
.viza-redesign .profile-menu-dropdown button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 9px 12px;
  border: 0; border-radius: 11px; background: transparent; color: var(--vz-text-2); text-align: left; cursor: pointer;
}
.viza-redesign .profile-menu-dropdown a:hover,
.viza-redesign .profile-menu-dropdown button:hover { background: var(--vz-surface-3); color: #fff; }
.viza-redesign .profile-menu-dropdown i { width: 20px; text-align: center; color: var(--vz-text-3); }
.viza-redesign .profile-menu-dropdown ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.viza-redesign .profile-menu-dropdown li { display: grid; grid-template-columns: 28px 1fr; align-items: center; border-radius: 11px; }
.viza-redesign .profile-menu-dropdown li:hover { background: var(--vz-surface-3); }
.viza-redesign .profile-menu-dropdown li a { padding-left: 0; }

/* Secondary drawer: compact on mobile, primary labeled rail on wide screens. */
.viza-redesign #mobile-nav-popup {
  position: fixed; z-index: 1300; inset: var(--header-height-mobile) 0 0 auto;
  width: min(88vw, 360px); overflow-y: auto; padding: 0 16px 28px;
  border-left: 1px solid var(--vz-line); background: rgba(10, 13, 24, .98);
  box-shadow: -24px 0 70px rgba(0,0,0,.5); transform: translateX(105%);
  transition: transform .26s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(28px);
}
.viza-redesign #mobile-nav-popup.active,
.viza-redesign #mobile-nav-popup.show,
.viza-redesign #mobile-nav-popup.open,
.viza-redesign #mobile-nav-popup[aria-hidden="false"] { transform: translateX(0); }
.viza-redesign .mobile-menu-header {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; margin: 0 -16px 8px; padding: 0 18px; border-bottom: 1px solid var(--vz-line);
  background: rgba(10,13,24,.96);
}
.viza-redesign .mobile-menu-header h2 { margin: 0; font-size: 20px; }
.viza-redesign .mobile-menu-header button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--vz-surface-2); color: #fff; }
.viza-redesign .mobile-menu-profile { display: flex; align-items: center; min-width: 0; gap: 11px; }
.viza-redesign .mobile-menu-profile-avatar-link { display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; }
.viza-redesign .mobile-menu-profile-image { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; object-fit: cover; background: var(--vz-gradient); color: #fff; font-weight: 800; }
.viza-redesign .mobile-menu-profile-copy { min-width: 0; }
.viza-redesign .mobile-menu-profile-name { display: block; overflow: hidden; color: var(--vz-text); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .mobile-menu-profile-name:hover,
.viza-redesign .mobile-menu-profile-credits:hover { color: #fff; }
.viza-redesign .mobile-menu-profile-credits { color: var(--vz-text-3); font-size: 12px; }
.viza-redesign .mobile-menu-sections { display: grid; gap: 16px; }
.viza-redesign .mobile-menu-section { padding-bottom: 14px; border-bottom: 1px solid var(--vz-line); }
.viza-redesign .mobile-menu-section:last-child { border: 0; }
.viza-redesign .mobile-menu-section > h3,
.viza-redesign .mobile-menu-section > h4 { margin: 6px 10px 8px; color: var(--vz-text-3); font: 700 11px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.viza-redesign .menu-list { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.viza-redesign .menu-list li { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; min-width: 0; }
.viza-redesign .menu-list li a,
.viza-redesign .menu-list li button {
  display: flex; align-items: center; gap: 13px; width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px;
  border: 0; border-radius: 12px; background: transparent; color: var(--vz-text-2); text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.viza-redesign .menu-list li a:hover,
.viza-redesign .menu-list li button:hover { background: var(--vz-surface-2); color: #fff; }
.viza-redesign .menu-list li.current a,
.viza-redesign .menu-list li.is-current a,
.viza-redesign .menu-list li[aria-current="page"] a { background: rgba(139,92,246,.15); color: #fff; }
.viza-redesign .menu-list i { width: 22px; text-align: center; color: var(--vz-text-3); font-size: 16px; }
.viza-redesign .menu-list .current i { color: #a98cff; }

/* Bottom navigation uses words and icons: no learned mystery controls. */
.viza-redesign .mobile-footer {
  position: fixed; z-index: 1050; inset: auto 0 0; height: calc(var(--mobile-footer-height) + env(safe-area-inset-bottom));
  min-height: 0; padding: 4px 7px env(safe-area-inset-bottom); border-top: 1px solid var(--vz-line);
  background: rgba(8, 11, 20, .94); backdrop-filter: blur(22px) saturate(150%);
}
.viza-redesign .mobile-footer-nav { display: grid; grid-template-columns: repeat(5, 1fr); height: 100%; }
.viza-redesign .mobile-footer.has-custom-content {
  --mobile-footer-height: var(--mobile-bottom-action-height, 64px);
  height: calc(var(--mobile-footer-height) + env(safe-area-inset-bottom));
  padding: 6px 16px env(safe-area-inset-bottom);
}
.viza-redesign .mobile-footer.has-custom-content .mobile-footer-nav { display: none; }
.viza-redesign .mobile-footer-custom,
.viza-redesign .mobile-footer-custom > *,
.viza-redesign .mobile-footer-custom .btn { width: 100%; height: 100%; }
.viza-redesign .mobile-footer-custom .btn { min-height: 50px; border-radius: 14px; }
.viza-redesign .mobile-footer-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 0; border: 0; border-radius: 12px; background: transparent; color: var(--vz-text);
}
.viza-redesign .mobile-footer-btn-icon { display: grid; place-items: center; min-height: 23px; font-size: 18px; }
.viza-redesign .mobile-footer-btn-label { max-width: 100%; overflow: hidden; color: var(--vz-text-3); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.viza-redesign .mobile-footer-btn.active,
.viza-redesign .mobile-footer-btn[aria-current="page"] { color: #bba7ff; background: rgba(139,92,246,.09); }
.viza-redesign .mobile-footer-btn.active .mobile-footer-btn-label,
.viza-redesign .mobile-footer-btn[aria-current="page"] .mobile-footer-btn-label { color: #f5f3ff; }
.viza-redesign .mobile-footer-btn.create-btn .mobile-footer-btn-icon {
  width: 38px; height: 38px; margin-top: -19px; border-radius: 14px; background: var(--vz-gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(109,93,252,.42);
}
/* The shared legacy footer gives Create a larger circular icon. In the
   redesign dock that shifts only its label down; keep every label on one
   baseline instead. */
.viza-redesign .mobile-footer-btn[data-footer-key="create"] {
  justify-self: stretch;
  align-self: stretch;
}
.viza-redesign .mobile-footer-btn[data-footer-key="create"] .mobile-footer-btn-icon {
  width: 28px;
  min-height: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
}
.viza-redesign .mobile-footer-btn[data-footer-key="create"] i { font-size: 18px; }

/* Logged-out Explore uses the shared public dock, not the authenticated
   redesign dock. Keep this override next to the redesign footer because this
   stylesheet loads after shared-ui.css on Explore. */
.viza-redesign .mobile-footer--logged-out {
  z-index: 1200;
  inset: auto 0 0;
  height: calc(var(--mobile-footer-height) + env(safe-area-inset-bottom, 0px));
  min-height: 0;
  padding: 4px 16px calc(4px + env(safe-area-inset-bottom, 0px));
  background: #161f2d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
}
.viza-redesign .mobile-footer--logged-out .mobile-footer-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  /* Match the authenticated dock's full-height grid so the icon row stays
     vertically centered instead of sitting at the top of the footer. */
  height: 100%;
  gap: 4px;
}
.viza-redesign .mobile-footer--logged-out .mobile-footer-btn {
  /* Keep public and authenticated navigation on the same icon/label rhythm. */
  gap: 3px;
  border-radius: 14px;
  color: #f5f7ff;
}
.viza-redesign .mobile-footer--logged-out .mobile-footer-btn.active {
  color: #bba7ff;
  background: rgba(139, 92, 246, 0.16);
}
.viza-redesign .mobile-footer--logged-out .mobile-footer-btn.active .mobile-footer-btn-label {
  color: #f5f3ff;
}

/* Panels, popups and advanced search */
.viza-redesign .generic-popup,
.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 .generic-popup { display: none; }
.viza-redesign .generic-popup.active { display: block; }
.viza-redesign #mobile-nav-popup { display: block; }
.viza-redesign .language-popup,
.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 .language-popup {
  inset: auto 12px calc(var(--vz-mobile-nav) + env(safe-area-inset-bottom) + 10px);
  width: auto; max-height: min(70vh, 560px); padding: 48px 16px 18px;
  border-radius: 22px; overflow-y: auto;
}
.viza-redesign .language-popup > .close-icon {
  position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: transparent; color: var(--vz-text-2);
}
.viza-redesign .advanced-filter-close,
.viza-redesign .language-popup > .close-icon {
  display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: transparent !important; color: var(--vz-text-2); font-size: 17px;
  cursor: pointer; transition: color .16s ease, background-color .16s ease, transform .16s ease;
}
.viza-redesign .advanced-filter-close:hover,
.viza-redesign .language-popup > .close-icon:hover { background: rgba(255,255,255,.075) !important; color: #fff; }
.viza-redesign .advanced-filter-close:active,
.viza-redesign .language-popup > .close-icon:active { transform: scale(.94); }
.viza-redesign .advanced-filter-close:focus-visible,
.viza-redesign .language-popup > .close-icon:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.viza-redesign .language-popup ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.viza-redesign .language-popup .flag-container { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 8px 10px; border-radius: 11px; color: var(--vz-text-2); cursor: pointer; }
.viza-redesign .language-popup .flag-container:hover { background: var(--vz-surface-3); color: #fff; }
.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: 3; top: calc(100% + 5px); right: 0; display: none; min-width: 110px; padding: 5px; border: 1px solid var(--vz-line); border-radius: 11px; background: var(--vz-surface-3); box-shadow: var(--vz-shadow-sm); }
.viza-redesign .notification-menu.is-open .notification-menu-dropdown { display: block; }
.viza-redesign .notification-menu-item { width: 100%; min-height: 36px; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--vz-danger); text-align: left; }
.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; }
.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-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;
}
.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-surface-3) !important; color: #fff; box-shadow: 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 44px 0 14px; border-radius: 14px; appearance: none;
}
.viza-redesign #social-follows-overlay .social-search .search-btn {
  position: absolute; top: 50%; right: 4px; left: auto; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: var(--vz-text-2);
  transform: translateY(-50%);
}
.viza-redesign #social-follows-overlay.is-recommended-view .notifications-header-left { gap: 6px; }
.viza-redesign #social-follows-overlay.is-recommended-view #social-follows-title { font-size: 19px; }

/* 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 var(--vz-line-strong);
  background: linear-gradient(180deg,#111625 0%,#0d1220 100%); box-shadow: 0 26px 80px rgba(0,0,0,.52);
}
.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: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 42px; border-color: rgba(148,163,184,.22); border-radius: 14px;
  background: rgba(4,8,18,.58); color: var(--vz-text); appearance: none;
}
.viza-redesign #notifications-overlay .social-search input::placeholder { color: #707a92; }
.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%; left: 4px; display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 0; background: transparent; color: var(--vz-text-3); transform: translateY(-50%); pointer-events: none;
}
.viza-redesign #notifications-overlay #notifications-list .notification-item.is-unread,
.viza-redesign #notifications-overlay #messages-list .notification-item.is-unread {
  /* Read state stays quiet; unread items retain a visible, but restrained,
     violet surface and leading accent across desktop and mobile. */
  background: linear-gradient(90deg, rgba(95, 73, 188, .30), rgba(47, 40, 92, .16));
  box-shadow: inset 3px 0 0 #9274f6;
}
.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 #messages-list .notification-item:hover { background: rgba(255,255,255,.04); }
.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: 36px; height: 36px; padding: 0; border-color: transparent; background: transparent; color: var(--vz-text-3); font-size: 13px;
}
.viza-redesign #notifications-overlay #messages-list .message-conversation-delete-btn:hover { background: rgba(248,113,113,.1); color: #fb7185; }
.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 {
  min-width: 184px;
  padding: 6px;
}
.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;
}
.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 { align-self: center; margin: 7px 0 4px; color: #6f7890; font-size: 11px; }
.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 {
  max-width: 78%; padding: 9px 12px; border: 1px solid rgba(148,163,184,.14); border-radius: 16px 16px 16px 5px;
  background: #1a2132; color: var(--vz-text); font-size: 13px; line-height: 1.38; overflow-wrap: anywhere;
}
.viza-redesign #notifications-overlay .message-bubble.is-me {
  border-color: rgba(139,92,246,.32); border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg,rgba(109,93,252,.96),rgba(155,81,224,.96)); 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: #0d1220;
}
.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; }

/* Buttons and form controls */
.viza-redesign .btn,
.viza-redesign .btn-primary,
.viza-redesign .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 13px; color: #fff; font-weight: 800; cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
}
.viza-redesign .btn-primary { background: var(--vz-gradient); box-shadow: 0 10px 30px rgba(109,93,252,.28); }
.viza-redesign .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(109,93,252,.4); }
.viza-redesign .btn-secondary { border-color: var(--vz-line-strong); background: var(--vz-surface-2); color: var(--vz-text-2); }
.viza-redesign .ux-input,
.viza-redesign .field input,
.viza-redesign .field textarea,
.viza-redesign .field select {
  width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--vz-line);
  border-radius: 13px; outline: none; background: rgba(7,10,18,.78); color: var(--vz-text);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.viza-redesign .field textarea { min-height: 136px; resize: vertical; }
.viza-redesign .ux-input:focus,
.viza-redesign .field input:focus,
.viza-redesign .field textarea:focus,
.viza-redesign .field select:focus { border-color: var(--vz-violet); background: #0b0f1c; box-shadow: 0 0 0 4px rgba(139,92,246,.12); }

/* 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 .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 .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 .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-radius: 18px; }
.viza-redesign .carousel-thumb,
.viza-redesign .video-preview-wrapper {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--vz-surface-2);
  box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .22s, box-shadow .22s;
}
.viza-redesign .jingle-card:hover .carousel-thumb,
.viza-redesign .jingle-card:hover .video-preview-wrapper { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.34); }
.viza-redesign .carousel-thumb img,
.viza-redesign .carousel-thumb video,
.viza-redesign .video-preview-wrapper img,
.viza-redesign .video-preview-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.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 18px 18px; background: linear-gradient(180deg,transparent 0%,rgba(3,5,11,.42) 34%,rgba(3,5,11,.94) 100%);
  pointer-events: 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 { min-width: 0; 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 .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: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(6,8,15,.84);
  color: #fff;
  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 i { pointer-events: none; }
.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-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: #242b3c; color: #cdd3e1; }
.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; }

/* 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(30px,4vw,46px); line-height: 1.06; letter-spacing: -.04em;
}

/* 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; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.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 .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 .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); }
.viza-redesign .featured-jingles-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 10px; }
.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: 18px; background: rgba(139,92,246,.055); color: #bca9ff; font-size: 38px; }
.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 .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; }

/* A list view is deliberately dense on phones: the thumbnail should be no taller
   than the two compact text rows beside it. */
@media (max-width: 699px) {
  .viza-redesign .jingles-list--list .carousel-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
    padding: 6px 2px;
  }
  .viza-redesign .jingles-list--list .carousel-thumb,
  .viza-redesign .jingles-list--list .video-preview-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .viza-redesign .jingles-list--list .carousel-info { padding-block: 2px; }
}
.viza-redesign .social-profile-hero { display: grid; gap: 20px; margin-bottom: 26px; 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-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(24px,5vw,38px); 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-gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.viza-redesign .user-card-username {
  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-rank-link {
  color: #bfa8ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-decoration: none;
  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); }
.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; }
.viza-redesign .collections-page-controls,
.viza-redesign .collections-page-title-wrap { display: flex; align-items: center; gap: 8px; }
.viza-redesign .collections-tabs-wrap { margin: -2px 0 14px; overflow: hidden; }
.viza-redesign .collections-tabs-scroll { display: flex; gap: 7px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; }
.viza-redesign .collections-tabs-scroll::-webkit-scrollbar { display: none; }
.viza-redesign .collections-tab { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid var(--vz-line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--vz-text-3); font-size: 13px; font-weight: 750; white-space: nowrap; }
.viza-redesign .collections-tab:hover { border-color: var(--vz-line-strong); color: #fff; }
.viza-redesign .collections-tab.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 .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 {
  position: absolute;
  z-index: 6;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(6,8,15,.84);
  color: #fff;
}
.viza-redesign .carousel-thumb .draft-delete-btn:hover { background: rgba(225,29,72,.92); }
.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-temp-balance-number { font-size: clamp(38px,7vw,62px) !important; }
.viza-redesign .credits-temp-summary-grid { gap: 10px !important; }
.viza-redesign .credits-temp-summary-item { display: block; min-width: 0; padding: 14px; border: 1px solid var(--vz-line); border-radius: 14px; background: rgba(7,10,18,.45); }
.viza-redesign .credits-temp-summary-main { min-width: 0; }
.viza-redesign .credits-temp-summary-item.reserve-item { position: relative; }
.viza-redesign .credits-temp-summary-item.reserve-item .credits-temp-summary-main { padding-right: 30px; }
.viza-redesign .credits-temp-reserve-plus { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; margin: 0; padding: 0; line-height: 1; }
.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-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-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-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: 10px; left: 20px; 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;
}
.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.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: var(--vz-text-3); text-align: center; }
.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 .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; }
@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 .text-page-header .page-title { margin-bottom: 8px; font-size: clamp(30px,4vw,46px); }
.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(30px,4vw,46px); }
.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 #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;
}
body.viza-redesign.play-page #jingleVideo,
body.viza-redesign.play-page #imageCover,
body.viza-redesign.play-page #audioCover {
  position: absolute; 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 #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-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;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(4,7,13,.42);
  box-shadow: 0 6px 20px rgba(0,0,0,.16); color: rgba(255,255,255,.76); font-size: 17px;
  opacity: .86; cursor: pointer; backdrop-filter: blur(12px); transition: color .18s, opacity .18s, transform .18s, background .18s;
}
body.viza-redesign.play-page .play-mobile-side-btn:hover,
body.viza-redesign.play-page .play-mobile-side-btn:focus-visible { color: #fff; opacity: 1; background: rgba(18,23,38,.7); }
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-liked i { color: var(--like-color,#ff5a8a); }

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;
}
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; }
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; 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-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 { padding: 0; border: 0; background: transparent; color: #bca9ff; 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 { color: #e0d8ff; text-decoration: underline; text-underline-offset: 3px; }
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-desktop-queue { min-width: 0; overflow: hidden; border-left: 1px solid var(--vz-line); background: #080b13; }
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: flex; align-items: center; gap: 4px; overflow: hidden; color: var(--vz-text-3); font-size: 11px; white-space: nowrap; }
body.viza-redesign.play-page .play-desktop-queue-username { overflow: hidden; color: inherit; text-overflow: ellipsis; }
/* 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);
}
.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-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: 12px 6px; margin-bottom: 16px; }
.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-grid-item {
  display: flex; min-width: 0; min-height: 78px; padding: 6px 2px; border: 0; border-radius: 14px; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 7px; background: transparent; color: var(--vz-text-2); font-weight: 700;
}
.viza-redesign .media-menu-grid-item:hover,
.viza-redesign .media-menu-grid-item:focus-visible { background: rgba(255,255,255,.045); color: #fff; }
.viza-redesign .media-menu-grid-item > i {
  display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--vz-line); border-radius: 15px;
  background: var(--vz-surface-3); color: #c6b8ff; font-size: 17px;
}
.viza-redesign .media-menu-grid-item > span { max-width: 100%; font-size: 11px; 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(620px,calc(100vw - 36px)); max-height: calc(100dvh - var(--header-height-desktop) - 36px); border-radius: 26px; }
}

@media (min-width: 960px) {
  body.viza-redesign.play-page { --play-desktop-footer-height: 132px; }
  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 .play-desktop-footer-shell { 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; }
}

@media (max-width: 959px) {
  body.viza-redesign.play-page {
    --play-mobile-control-surface: rgba(5,7,13,.78);
    --play-mobile-dock-height: calc(var(--mobile-bottom-play-height, 72px) + env(safe-area-inset-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: var(--mobile-bottom-play-height, 72px);
    height: calc(var(--mobile-footer-height) + env(safe-area-inset-bottom));
    padding: 10px 16px env(safe-area-inset-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: 4px 14px 10px;
    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: 3px; }
  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-mobile-side-actions { right: 10px; bottom: calc(var(--play-mobile-dock-height) + 110px); }
  body.viza-redesign.play-page .play-desktop-queue { display: none !important; }
  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: 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; }
}

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

/* SweetAlert2: product dialog, not a browser-era alert. */
.viza-redesign .swal2-container { z-index: 3000; padding: 16px; background: rgba(2,4,10,.74) !important; backdrop-filter: blur(10px); }
.viza-redesign .swal2-popup {
  width: min(420px, calc(100vw - 28px)); padding: 24px; border: 1px solid var(--vz-line-strong) !important;
  border-radius: 24px !important; background: #131829 !important; color: var(--vz-text) !important; box-shadow: var(--vz-shadow-lg) !important;
}
.viza-redesign .swal2-title { padding: 0 !important; color: var(--vz-text) !important; font-family: inherit !important; font-size: 23px !important; font-weight: 800 !important; line-height: 1.2 !important; }
.viza-redesign .swal2-html-container { margin: 10px 0 0 !important; color: var(--vz-text-2) !important; }
.viza-redesign .swal2-popup .voice-clone-confirm-btn {
  flex-direction: column;
  gap: 3px;
  min-width: 190px;
  line-height: 1.15;
  white-space: nowrap;
}
.viza-redesign .swal2-popup .voice-clone-confirm-label { display: block; }
.viza-redesign .swal2-popup .voice-clone-confirm-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.viza-redesign .swal2-actions { width: 100%; gap: 9px; margin: 20px 0 0 !important; }
.viza-redesign .swal2-confirm,
.viza-redesign .swal2-cancel { flex: 1; min-height: 46px; margin: 0 !important; border-radius: 12px !important; font-weight: 800 !important; }
.viza-redesign .swal2-confirm { background: var(--vz-gradient) !important; }
.viza-redesign .swal2-cancel { border: 1px solid var(--vz-line) !important; background: var(--vz-surface-3) !important; color: var(--vz-text-2) !important; }
.viza-redesign .swal2-loader { border-color: var(--vz-violet) transparent var(--vz-cyan) !important; }

/* 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%; min-height: 50px; 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; }
@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; }
}
.viza-redesign .swal2-popup.swal2-language-modal { width: min(560px,calc(100vw - 28px)) !important; }
.viza-redesign .swal2-language-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(82px,1fr)); gap: 8px; margin: 18px 0 4px; }
.viza-redesign .swal2-flag { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; padding: 12px 6px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; }
.viza-redesign .swal2-flag:hover { border-color: var(--vz-line); background: var(--vz-surface-3); }
.viza-redesign .swal2-flag img { width: 40px !important; height: 28px !important; border-radius: 5px; object-fit: cover; }
.viza-redesign .swal2-flag div { color: var(--vz-text-2); font-size: 12px; }

/* 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. */
.viza-redesign .site-footer { margin-top: 48px; padding: 22px 16px; border-top: 1px solid var(--vz-line); background: rgba(7,10,18,.38); color: var(--vz-text-3); }
.viza-redesign .footer-inner { width: min(100%, var(--vz-content)); margin: 0 auto; }
.viza-redesign .footer-copy { margin: 0; font-size: 12px; }
.viza-redesign .footer-links,
.viza-redesign .social-icons { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 10px; }
.viza-redesign .footer-link-item { display: inline-flex; }
.viza-redesign .footer-links a { color: var(--vz-text-3); font-size: 12px; font-weight: 650; }
.viza-redesign .social-icons { align-items: center; flex-wrap: nowrap; }
.viza-redesign .social-icons a { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; }
.viza-redesign .social-icons img { width: 20px; height: 20px; object-fit: contain; opacity: .72; }
.viza-redesign .social-icons a:hover img { opacity: 1; }
.viza-redesign .footer-links a:hover,
.viza-redesign .social-icons a:hover { color: #fff; }

/* 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 .settings-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-bottom: 12px; padding: 5px; border: 1px solid var(--vz-line-strong); border-radius: 16px; background: rgba(10,14,26,.82); }
.viza-redesign .settings-tabs .toggle-label { min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; color: var(--vz-text-3); font: inherit; font-weight: 750; cursor: pointer; }
.viza-redesign .settings-tabs .toggle-label:hover { color: var(--vz-text); background: rgba(255,255,255,.045); }
.viza-redesign .settings-tabs .toggle-label.selected-clip { color: #fff; background: var(--vz-selection-fill); box-shadow: inset 0 0 0 1px var(--vz-selection-border); }
.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-profile-rank { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--vz-text-3); font-size: 13px; font-weight: 700; text-decoration: none; }
.viza-redesign .settings-profile-rank:hover { color: var(--vz-text); }
.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-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-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-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: 29px; 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; }
  .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 .site-footer { margin: 30px 0 var(--vz-mobile-nav); padding: 18px 14px 20px; text-align: center; }
  .viza-redesign .footer-inner { display: grid; justify-items: center; gap: 11px; }
  .viza-redesign .footer-links { justify-content: center; gap: 7px 14px; margin: 0; }
  .viza-redesign .footer-copy { color: var(--vz-text-3); }
  .viza-redesign .header-mobile-search-history { position: fixed; top: calc(var(--header-height-mobile) + 8px); right: 12px; left: 12px; width: auto; max-width: none; transform: none; border-radius: 17px; }
  .viza-redesign .header-search-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .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-reserve-plus { top: 12px; right: 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; white-space: nowrap; overflow-wrap: normal; }
  .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: 14px; left: 14px; min-height: 24px; padding: 4px 7px; font-size: 10px; }
  .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.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 .settings-profile-rank-label { display: none; }
  .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 { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 16px; }
}

@media (min-width: 960px) {
  body.viza-redesign { padding-top: var(--header-height-desktop); padding-bottom: 0; }
  .viza-redesign .fixed-header { height: var(--header-height-desktop); padding: 0 24px; }
  .viza-redesign .logo-full { display: block; }
  .viza-redesign .logo-mobile-icon { display: none; }
  .viza-redesign .header-mobile-search { display: none; }
  .viza-redesign .header-desktop-search { display: block; flex: 1; max-width: 560px; margin-left: clamp(20px,4vw,64px); }
  .viza-redesign .header-primary-cta { display: inline-flex; }
  .viza-redesign .desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .viza-redesign .desktop-nav-right { gap: 8px; }
  .viza-redesign .desktop-nav-right .notification-icon { width: 42px; padding: 0; border: 0; border-radius: 50%; }
  .viza-redesign .desktop-nav-right > a.header-credits-link { width: auto; min-width: 102px; gap: 7px; padding: 0 12px; border-color: var(--vz-line); border-radius: 999px; }
  .viza-redesign .desktop-nav-right .header-credits { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
  .viza-redesign .hamburger-icon { display: none; }
  .viza-redesign .profile-menu-dropdown { position: absolute; top: calc(100% + 12px); right: 0; }
  .viza-redesign .mobile-footer { display: none; }
  .viza-redesign .show-mobile { display: none !important; }
  .viza-redesign .hide-mobile { display: initial !important; }
  .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 .language-popup { inset: var(--header-height-desktop) 18px auto auto; width: 360px; 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: 20px; }
  .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 .site-footer { padding: 20px 28px; }
  .viza-redesign .footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; }
  .viza-redesign .footer-links, .viza-redesign .social-icons { margin-top: 0; }
  .viza-redesign .social-icons.hide-mobile { display: flex !important; }
  .viza-redesign .featured-jingles-list { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; }
  .viza-redesign .social-profile-hero { grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: 26px; border-radius: 26px; }
}

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

@media (max-width: 599px) {
  .viza-redesign .social-profile-hero { gap: 12px; padding: 14px; }
  .viza-redesign .social-profile-main { gap: 10px; }
  .viza-redesign .social-profile-identity { min-width: 0; flex: 1 1 auto; gap: 10px; }
  .viza-redesign .social-profile-avatar { width: 56px; height: 56px; border-radius: 17px; }
  .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: 22px; }
  .viza-redesign .social-profile-inline-actions { min-width: 0; gap: 6px; }
  .viza-redesign .social-play-first-btn { width: 46px; height: 46px; }
}

@media (min-width: 960px) {
  body.viza-redesign.has-desktop-left-rail-auth { padding-left: var(--vz-sidebar); }
  .viza-redesign.has-desktop-left-rail-auth .fixed-header { left: 0; }
  .viza-redesign.has-desktop-left-rail-auth .fixed-header .logo-link {
    position: static; z-index: auto; width: calc(var(--vz-sidebar) - 36px); height: 40px;
  }
  .viza-redesign.has-desktop-left-rail-auth .fixed-header .logo-full { max-width: 100%; height: 36px; object-fit: contain; object-position: left center; }
  .viza-redesign.has-desktop-left-rail-auth .header-desktop-search { margin-left: 8px; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu {
    inset: var(--header-height-desktop) auto 0 0; width: var(--vz-sidebar); padding: 14px 12px; transform: none;
    border: 0; border-right: 1px solid var(--vz-line); box-shadow: none; background: #090c15;
  }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-header { height: 58px; min-height: 58px; margin: 0 2px 18px; padding: 8px; border: 0; border-radius: 14px; background: rgba(255,255,255,.035); }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-header h2 { font-size: 17px; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-header button { display: none; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-sections { gap: 4px; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-section { display: contents; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-section > h3,
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .mobile-menu-section > h4 { display: none; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup .menu-list { display: contents; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li { display: none; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="home"],
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="explore"],
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="templates"],
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="studio"],
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="collections"] { display: grid; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="home"] { order: 1; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="explore"] { order: 2; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="templates"] { order: 3; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="studio"] { order: 4; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li[data-nav-key="collections"] { order: 5; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li a { min-height: 48px; margin: 0 0 4px; padding: 9px 10px; border-radius: 12px; font-weight: 700; }
  .viza-redesign.has-desktop-left-rail-auth #mobile-nav-popup li i { width: 23px; font-size: 17px; }
}

@media (min-width: 1200px) {
  .viza-redesign .featured-jingles-list { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

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

@media (max-width: 959px) {
  .viza-redesign #mobile-nav-popup {
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: -18px 0 52px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.035);
  }
  .viza-redesign #mobile-nav-popup { padding: 0 14px 18px; }
  .viza-redesign #mobile-nav-popup .mobile-menu-header {
    min-height: 58px; margin: 0 -14px 5px; padding: 0 14px;
  }
  .viza-redesign #mobile-nav-popup .mobile-menu-header button { width: 36px; height: 36px; }
  .viza-redesign #mobile-nav-popup .mobile-menu-sections { gap: 0; }
  .viza-redesign #mobile-nav-popup .mobile-menu-section { padding: 3px 0; }
  .viza-redesign #mobile-nav-popup .mobile-menu-section > :is(h3,h4) { display: none; }
  .viza-redesign #mobile-nav-popup .menu-list { gap: 0; }
  .viza-redesign #mobile-nav-popup .menu-list li a,
  .viza-redesign #mobile-nav-popup .menu-list li button {
    min-height: 44px; padding: 6px 9px; border-radius: 10px;
  }
  .viza-redesign #mobile-nav-popup .menu-list i { font-size: 15px; }
}

/* 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 .site-footer {
  margin-top: auto;
}
.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));
  }
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .mobile-menu-section {
    display: contents !important;
  }
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .mobile-menu-section > :is(h3,h4) {
    display: none !important;
  }
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list {
    display: contents !important;
  }
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li {
    display: none !important;
  }
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li[data-nav-key="home"],
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li[data-nav-key="explore"],
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li[data-nav-key="templates"],
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li[data-nav-key="studio"],
  body.viza-redesign.admin-page.has-desktop-left-rail-auth #mobile-nav-popup.desktop-left-rail-menu .menu-list > li[data-nav-key="collections"] {
    display: grid !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .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; }
}
