/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.49%;descent-override: 22.56%;line-gap-override: 0.00%;size-adjust: 107.06%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}.__variable_f367f3 {--font-inter: '__Inter_f367f3', '__Inter_Fallback_f367f3'
}

/* Fixed SSO / HomeV3 header shell — first paint mirrors Header SDK dark theme. */
.hv3-header-fixed {
  --header-max-width: 1600px;
  --header-padding: 0 24px;
  --hv3-hdr-bg: #0d0e15;
  --hv3-hdr-surface: #161822;
  --hv3-hdr-hover: #202434;
  --hv3-hdr-text: #ffffff;
  --hv3-hdr-text-muted: #94a3b8;
  --hv3-hdr-border: #26293b;
  --hv3-hdr-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: 64px;
  overflow: visible;
  background: var(--hv3-hdr-bg);
  border-bottom: 1px solid var(--hv3-hdr-border);
  box-sizing: border-box;
  color: var(--hv3-hdr-text);
  font-family: var(--hv3-hdr-font);
  -webkit-font-smoothing: auto;
  letter-spacing: normal;
}

.hv3-header-fixed vidau-header {
  display: block;
  width: 100%;
  min-height: 64px;
  --header-max-width: 1600px;
  --header-padding: 0 24px;
}

.hv3-header-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 64px;
  pointer-events: auto;
}

.hv3-header-skeleton,
.hv3-header-skeleton a,
.hv3-header-skeleton button,
.hv3-header-preview-link,
.hv3-header-preview-btn,
.hv3-header-preview-pricing-btn,
.hv3-header-preview-badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.hv3-header-skeleton-inner {
  width: 100%;
  max-width: var(--header-max-width, 1600px);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: var(--header-padding, 0 40px);
  box-sizing: border-box;
}

.hv3-header-skeleton-left {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hv3-header-skeleton-nav,
.hv3-header-preview-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
}

.hv3-header-skeleton-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hv3-header-preview-logo {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.hv3-header-preview-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  line-height: normal;
  letter-spacing: normal;
  transition: color 0.2s ease;
}

.hv3-header-preview-link:hover {
  color: #9a9da4;
}

.hv3-header-preview-item.is-open .hv3-header-preview-link,
.hv3-header-preview-link.is-active {
  color: #b099ff;
}

.hv3-header-preview-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 9px;
  font-weight: 800;
  font-style: italic;
  padding: 1px 4px;
  border-radius: 2px;
  background: #2b1324;
  color: #ff2894;
  text-transform: capitalize;
  margin-left: 6px;
  line-height: 1.2;
  box-sizing: border-box;
}

.hv3-header-preview-chevron {
  flex-shrink: 0;
  display: block;
  margin-left: 2px;
}

.hv3-header-preview-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.hv3-header-preview-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 99999;
  background: #1c1e26;
  border: 1px solid #2d3142;
  border-radius: 12px;
  padding: 12px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 8px 10px -6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hv3-header-preview-dropdown,
.hv3-header-preview-dropdown * {
  box-sizing: border-box;
}

.hv3-header-preview-item.is-open .hv3-header-preview-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hv3-header-preview-dropdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hv3-header-preview-dropdown-title {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hv3-header-preview-sub-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.hv3-header-preview-sub-link:hover {
  background: #2d3142;
}

.hv3-header-preview-sub-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2c2e38;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hv3-header-preview-sub-icon svg {
  width: 16px;
  height: 16px;
}

.hv3-header-preview-sub-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hv3-header-preview-sub-icon-badge {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hv3-header-preview-sub-content {
  flex: 1;
  min-width: 0;
}

.hv3-header-preview-sub-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.hv3-header-preview-sub-desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.4;
}

.hv3-header-preview-divider {
  width: 1px;
  height: 12px;
  background: #494e57;
  margin: 0 8px;
  flex-shrink: 0;
}

.hv3-header-preview-rule {
  width: 1px;
  height: 14px;
  background: #494e57;
  margin: 0 4px;
  flex-shrink: 0;
}

.hv3-header-preview-pricing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hv3-header-preview-pricing-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--hv3-hdr-surface);
  color: var(--hv3-hdr-text);
  font: 500 15px/normal -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  border: 1px solid var(--hv3-hdr-border);
  white-space: nowrap;
}

.hv3-header-preview-pricing-icon {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}

.hv3-header-preview-pricing-off {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff196a;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hv3-header-preview-btn {
  height: 32px;
  padding: 0 20px;
  border-radius: 8px;
  font: 500 15px/normal -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  margin: 0;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  transition: all 0.2s ease;
}

.hv3-header-preview-login {
  background: var(--hv3-hdr-surface);
  color: var(--hv3-hdr-text);
}

.hv3-header-preview-signup {
  background: #5f34ff;
  color: #ffffff;
}

.hv3-header-preview-credits {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #5f34ff;
  color: #ffffff;
  font: 600 15px/normal -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
}

.hv3-header-preview-gift {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: transparent;
  color: #ff196a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
}

.hv3-header-preview-avatar {
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background: #7c3aed;
  color: #ffffff;
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
}

.hv3-header-preview-menu {
  display: none;
  background: transparent;
  border: none;
  color: var(--hv3-hdr-text);
  padding: 4px;
  margin-left: 8px;
  pointer-events: none;
}

.hv3-header-skeleton-shimmer {
  background: #1c1e26;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.hv3-header-skeleton-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  animation: hv3-header-skeleton-loading 1.5s infinite;
}

@keyframes hv3-header-skeleton-loading {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@media (max-width: 1366px) {
  .hv3-header-preview-nav,
  .hv3-header-skeleton-nav {
    gap: 16px;
  }
  .hv3-header-skeleton-left {
    gap: 24px;
  }
  .hv3-header-skeleton-inner {
    padding: 0 32px;
  }
}

@media (max-width: 1024px) {
  .hv3-header-preview-nav,
  .hv3-header-skeleton-nav {
    gap: 10px;
  }
  .hv3-header-preview-link {
    font-size: 13px;
  }
  .hv3-header-skeleton-left {
    gap: 16px;
  }
  .hv3-header-skeleton-inner {
    padding: 0 24px;
    gap: 24px;
  }
  .hv3-header-skeleton-right {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .hv3-header-skeleton-nav,
  .hv3-header-preview-nav {
    display: none;
  }
  .hv3-header-preview-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hv3-header-fixed vidau-header {
    --header-padding: 0 12px;
  }
}

@media (max-width: 500px) {
  .hv3-header-preview-pricing,
  .hv3-header-preview-gift {
    display: none;
  }
  .hv3-header-skeleton-inner {
    padding: 0 16px;
    gap: 16px;
  }
  .hv3-header-skeleton-right {
    gap: 10px;
  }
}

.hv3-header-fixed.is-ready .hv3-header-skeleton {
  display: none;
}

.hv3-header-fixed:not(.is-ready) vidau-header {
  opacity: 0;
  pointer-events: none;
}

.hv3-header-fixed.is-ready vidau-header {
  opacity: 1;
}

