/* Fixed Quppei mark, concentric rings, and upright tools orbiting together. */
.q-ecosystem-map {
  --orbit-size: clamp(360px, 46vw, 620px);
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 40px auto 26px;
  isolation: isolate;
}
.q-orbit-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.q-orbit-rings circle { vector-effect: non-scaling-stroke; }
.q-ecosystem-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 124px;
  height: 124px;
  transform: translate(-50%, -50%);
  z-index: 2;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.q-ecosystem-core img { display: block; width: 100%; height: 100%; }
.q-orbit-tools {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: q-orbit-spin 60s linear infinite;
  animation-play-state: paused;
}
/* The four centers are spaced by 90 degrees at 86% of the outer radius. */
.q-orbit-item { position: absolute; left: var(--tool-x); top: var(--tool-y); transform: translate(-50%, -50%); }
.q-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px 12px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 28px #1e326111, 0 2px 5px #1e326107;
  color: #191a23;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  animation: q-orbit-upright 60s linear infinite;
  animation-play-state: paused;
}
.q-tool-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.q-tool-icon img, .q-tool-icon svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.q-tool-icon-wechat { background: #07c160; }
.q-tool-icon-wechat img { width: 72%; height: 72%; }
.q-ecosystem[data-ecosystem-motion="running"] .q-orbit-tools,
.q-ecosystem[data-ecosystem-motion="running"] .q-tool { animation-play-state: running; }
.q-ecosystem-map[role="button"] { cursor: pointer; touch-action: manipulation; }
.q-ecosystem-map[role="button"]:focus-visible { outline: 2px solid #315ff4; outline-offset: 12px; border-radius: 50%; }
@keyframes q-orbit-spin { to { transform: rotate(360deg); } }
@keyframes q-orbit-upright { to { transform: rotate(-360deg); } }
@media (max-width: 900px) {
  .q-ecosystem-core { width: 106px; height: 106px; }
  .q-tool { gap: 10px; padding: 10px 21px 10px 10px; font-size: 18px; }
  .q-tool-icon { width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .q-ecosystem-map { --orbit-size: min(350px, calc(100vw - 108px)); margin-block: 40px 30px; }
  .q-ecosystem-core { width: 76px; height: 76px; }
  .q-tool { gap: 6px; padding: 6px 12px 6px 6px; font-size: 12px; }
  .q-tool-icon { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .q-orbit-tools, .q-tool { animation: none; }
}
@media (forced-colors: active) {
  .q-orbit-tools, .q-tool { animation: none; }
  .q-orbit-rings { display: none; }
  .q-tool { border: 1px solid CanvasText; }
}
