  /* Header */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 改为space-between布局左中右结构 */
    padding: 0 10px; /* 左右改为10px */
/*    background: linear-gradient(135deg, rgba(20, 25, 35, 0.98), rgba(15, 20, 30, 0.98));*/
 background: linear-gradient(135deg, #7c3aed00 0%, #8b5cf6 200%);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%; /* 确保宽度为100%，没有max-width限制 */
  }
  
  /* 位置选择模态框 */
  .location-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1f2e;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .location-modal.active {
    transform: translateY(0);
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(15, 20, 25, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .modal-back {
      line-height: 25px;
    text-align: center;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    display: none;
  }

  .modal-title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
  }

  .search-container {
    padding: 10px;
    background: rgba(15, 20, 25, 0.95);
  }

  .search-container .search-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .location-tip {
    padding: 10px;
    background: rgba(255, 200, 0, 0.1);
    color: rgba(255, 200, 0, 0.9);
    font-size: 13px;
    display: flex;
    align-items: center;
    margin: 10px 16px 0  16px;
    border-radius: 8px;
  }

  .location-tip-icon {
    width: 15px;
    height: 15px;
  }

  .modal-body {
    padding:10px;
  }

  .section-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
/*    margin-bottom: 12px;*/
    margin: 10px 0 12px 16px;
    padding: 0 10px;
  }

  .hot-cities {
    margin-bottom: 10px;
  }

  .cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 10px;
  }

  .city-item {
    padding: 10px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    color: #fff;
    transition: background 0.2s;
  }

  .city-item:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .provinces-section {
    margin-bottom: 10px;
  }

  .province-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #fff;
  }
  
  .loading, .error {
    text-align: center;
    padding: 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .error {
    color: #ff4d4f;
  }

  .province-item:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .province-arrow {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.6);
  }

  .location {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    /* 移除margin-right，改为绝对左侧定位 */
  }

  .location-icon {
    width: 18px;
    height: 18px;
  }

  /* 添加logo样式 */
  .header-logo {
    width: 120px;
    height: 50px;
    object-fit: contain;
    margin-left:-5px;
  }

  /* 添加搜索按钮样式 */
  .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgb(139 92 246 / 20%) 0%, rgb(109 40 217 / 20%) 100%);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  }

  .search-btn:active {
    transform: scale(0.95);
  }

  .search-icon {
    width: 20px;
    height: 20px;
    color: #fff;
  }