/* Jiguang Launch badge. Metrics at 24px: radius 12, bolt 14, pad 8, gap 4, text 12/600. */
.jg-launch-badge {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  max-width: 100%;
}
.jg-launch-badge-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  max-width: 100%;
  height: var(--jg-lb-h, 24px);
  padding: 0 var(--jg-lb-pad, 8px);
  gap: var(--jg-lb-gap, 4px);
  border: 0;
  border-radius: var(--jg-lb-radius, 12px);
  background: #EAF0FE;
  color: #2154E8;
  font-family: Inter, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: var(--jg-lb-font, 12px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
.jg-launch-badge-btn:focus { outline: none; }
.jg-launch-badge-btn:focus-visible { outline: 2px solid #2154E8; outline-offset: 2px; }
.jg-launch-badge[data-theme="dark"] .jg-launch-badge-btn,
html[data-theme="dark"] .jg-launch-badge[data-theme="auto"] .jg-launch-badge-btn {
  background: rgba(47, 125, 255, 0.16);
  color: #18AFFF;
  border: 1px solid #2F7DFF;
}
html[data-theme="dark"] .jg-launch-badge[data-theme="auto"] .jg-launch-badge-btn:focus-visible,
.jg-launch-badge[data-theme="dark"] .jg-launch-badge-btn:focus-visible { outline-color: #18AFFF; }
.jg-launch-badge[data-icon-only="true"] .jg-launch-badge-btn {
  width: var(--jg-lb-h, 24px);
  padding: 0;
  gap: 0;
  justify-content: center;
  border-radius: 999px;
}
.jg-launch-badge[data-icon-only="true"] .jg-launch-badge-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.jg-launch-badge-bolt {
  width: var(--jg-lb-bolt, 14px);
  height: var(--jg-lb-bolt, 14px);
  display: block;
  flex: none;
}
.jg-launch-badge-pop {
  position: fixed;
  z-index: 80;
  left: 0;
  top: 0;
  max-width: min(340px, calc(100vw - 16px));
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #d6e0f5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-family: Inter, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.jg-launch-badge-pop[hidden] { display: none; }
.jg-launch-badge[data-theme="dark"] .jg-launch-badge-pop,
html[data-theme="dark"] .jg-launch-badge[data-theme="auto"] .jg-launch-badge-pop {
  background: #132033;
  color: #e8f4ff;
  border-color: #2F7DFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.jg-launch-badge-pop a { color: #2154E8; text-decoration: none; }
.jg-launch-badge-pop a:hover { text-decoration: underline; }
.jg-launch-badge[data-theme="dark"] .jg-launch-badge-pop a,
html[data-theme="dark"] .jg-launch-badge[data-theme="auto"] .jg-launch-badge-pop a { color: #18AFFF; }

.launch-deployed-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ln-item.is-launched { display: flex; align-items: center; gap: 8px; }
.ln-item.is-launched .ln-item-main { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
