* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.amap-logo{
  display: none !important;
}
.amap-copyright{
  display: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.app {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.map-container {
  flex: 1;
  height: 100%;
  position: relative;
}

.center-button-wrapper {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.center-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f5f5f5 0%, #d3d3d3 100%);
  color: #333;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(150, 150, 150, 0.4);
}

.center-button:disabled {
  background: #999999;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.center-button:not(:disabled):active {
  transform: scale(0.95);
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(150, 150, 150, 0.6);
  animation: pulse 2s infinite ease-out;
  z-index: 1;
}

.pulse-ring-2 {
  animation-delay: 0.6s;
}

.pulse-ring-3 {
  animation-delay: 1.2s;
}

@keyframes pulse {
  0% {
    width: 80px;
    height: 80px;
    opacity: 0.8;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.ranking-panel {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 200px;
  max-height: 50vh;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
}

.ranking-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ranking-header h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.ranking-list {
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ranking-list::-webkit-scrollbar {
  display: none;
}

.ranking-item {
  margin-bottom: 12px;
}

.ranking-item-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 14px;
}

.ranking-city {
  color: #333;
  font-weight: 500;
}

.ranking-count {
  color: #666;
}

.ranking-bar-wrapper {
  width: 100%;
  height: 16px;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.ranking-bar {
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s ease;
  min-width: 8px;
}

@media (min-width: 768px) {
  .center-button {
    width: 100px;
    height: 100px;
    font-size: 18px;
  }

  .ranking-panel {
    width: 220px;
  }
}

@media (max-width: 767px) {
  .app {
    flex-direction: row;
  }

  .map-container {
    flex: 1;
  }

  .ranking-panel {
    width: 130px;
    max-height: 40vh;
    top: 10px;
    left: 10px;
  }

  .ranking-header h3 {
    font-size: 14px;
  }

  .pulse-ring {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .ranking-item-info {
    font-size: 11px;
  }
}

.amap-container {
  background-color: #f5f5f5 !important;
}
