/* APP 与直播首页使用正常文档流，避免固定宽度和定位裁切动态配置。 */
.header {
  position: relative;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 14px 40px;
  box-sizing: border-box;
}

.header .header-logo {
  flex: 1 1 360px;
  min-width: 0;
  margin-left: 0;
  padding: 0;
}

.header .header-logo .short-name {
  flex-shrink: 0;
  white-space: nowrap;
}

.header .header-logo .logo {
  flex-shrink: 0;
  max-width: 100px;
  object-fit: contain;
}

.header .header-logo .app-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.header .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-right: 0;
}

.header .menu .menu-item {
  padding: 0;
  white-space: nowrap;
}

.wrapper {
  min-width: 0;
  min-height: 0;
  margin-top: 0;
  isolation: isolate;
}

.background-image {
  inset: 0;
  background-position: center;
}

.content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  width: min(100%, 1200px);
  height: auto;
  min-height: min(720px, calc(100vh - 78px));
  padding: 64px 32px;
}

.right {
  position: static;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  margin: 0;
}

.logo-title {
  width: 100%;
  height: auto;
}

.logo-title .logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin: 0 0 28px;
  object-fit: contain;
}

.logo-title-text {
  gap: 20px;
  margin-bottom: 28px;
}

.logo-title-text .logo {
  margin: 0;
}

.logo-title-text h3 {
  min-width: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.logo-title .slogan {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.tips {
  margin-top: 24px;
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.6;
  letter-spacing: 2px;
  overflow-wrap: anywhere;
}

.download-wrapper {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-btn {
  flex-shrink: 0;
  box-sizing: border-box;
  max-width: 100%;
  margin-right: 0;
}

@media (max-width: 960px) {
  .content {
    justify-content: center;
    padding: 56px 24px;
  }

  .right {
    text-align: center;
  }

  .logo-title-text,
  .download-wrapper {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 14px 16px;
  }

  .header .header-logo {
    flex-basis: 100%;
    justify-content: center;
  }

  .header .header-logo .short-name,
  .header .header-logo .app-name {
    font-size: 18px;
    line-height: 1.4;
  }

  .header .header-logo img {
    height: 40px;
  }

  .header .menu {
    width: 100%;
    justify-content: center;
    gap: 12px 18px;
  }

  .header .menu .menu-item {
    font-size: 14px;
  }

  .content {
    padding: 48px 20px;
  }

  .logo-title .logo {
    width: 88px;
    height: 88px;
  }

  .logo-title-text {
    flex-direction: column;
    gap: 16px;
  }
}
