.ai-client-download-menu,
.ai-client-download-menu * {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.ai-client-download-menu {
  position: fixed;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 344px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border: 1px solid rgba(18, 17, 42, 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 31, 80, 0.06);
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ai-client-download-header {
  padding: 8px;
}

.ai-client-download-title {
  color: #555557;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.ai-client-download-description {
  color: #8b8c8f;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.ai-client-download-title + .ai-client-download-description {
  margin-top: 2px;
}

.ai-client-download-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-client-download-option,
.ai-client-download-expand,
.ai-client-download-online {
  -webkit-appearance: none;
  display: flex;
  width: 100%;
  height: 36px;
  padding: 8px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: transparent;
  color: #19191a;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.ai-client-download-option:focus,
.ai-client-download-option:active,
.ai-client-download-expand:focus,
.ai-client-download-expand:active,
.ai-client-download-online:focus,
.ai-client-download-online:active {
  outline: 0;
  box-shadow: none;
}

.ai-client-download-option {
  gap: 8px;
}

.ai-client-download-expand {
  background: #fff;
}

.ai-client-download-option:hover,
.ai-client-download-option:focus-visible,
.ai-client-download-expand:hover,
.ai-client-download-expand:focus-visible,
.ai-client-download-online:hover,
.ai-client-download-online:focus-visible {
  background: #f3f3f4;
}

.ai-client-download-option:active,
.ai-client-download-expand:active,
.ai-client-download-online:active {
  background: #eeeef0;
}

.ai-client-download-option:hover .ai-client-download-action,
.ai-client-download-option:focus-visible .ai-client-download-action {
  opacity: 1;
}

.ai-client-download-platform-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
}

.ai-client-download-platform-icon svg,
.ai-client-download-action svg,
.ai-client-download-arrow svg {
  display: block;
}

.ai-client-download-label {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-client-download-option-content {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 2px;
}

.ai-client-download-current {
  flex: none;
  padding: 2px 6px;
  border-radius: 5px;
  background: #e6efff;
  color: #1f61ff;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.ai-client-download-action {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: -4px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.ai-client-download-expand {
  justify-content: flex-start;
  gap: 0;
  color: #8b8c8f;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.ai-client-download-separator {
  height: 1px;
  margin: 4px 0;
  border: 0;
  background: #eceef2;
}

.ai-client-download-online {
  gap: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: left;
}

.ai-client-download-online span:first-child {
  min-width: 0;
  flex: none;
}
