        /* ========= 全局变量与基础设置 ========= */
        :root {
            --primary-color: #f1404b;
            --hover-color: #000000;
            --transition-time: 0.3s;
        }

        a {
            text-decoration: none !important;
            color: black !important;
        }

        /* ========= 容器布局 ========= */
        .dcitys-cards-container {
            max-width: 100%;
    width: 100%;
    padding: 20px 120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
        }

        /* ========= 省份卡片 ========= */
        .province-card {
            width: 100%;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            transition: transform var(--transition-time) ease;
            margin-bottom: 30px;
        }

        /* 省份卡片头部 */
        .card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px 20px;
        }

        .card-header img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .card-header .user-info img {
            width: 40px;
            height: 40px;
        }

        /* ========= 公共样式 ========= */
        .card-title {
            font-size: 15px;
            font-weight: bold;
            margin-bottom: 4px;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .user-avatar {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid #f0f0f0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            object-fit: cover;
        }

        .user-nickname {
            font-size: 12px;
            font-weight: 600;
            max-width: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #333;
        }

        /* ========= 城市卡片 ========= */
        .city-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            padding: 10px;
            min-height: 80px;
				position: relative;
        }

        .city-card {
            position: relative;
            display: flex;
            height: 80px;
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .city-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        .city-image {
            flex: 0 0 30%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .city-image img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 50%;
        }

        .city-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* 当前城市标题栏 */
        .current-city-title {
            background-color: var(--primary-color);
            color: white;
            font-size: 18px;
            font-weight: bold;
            padding: 10px 20px;
            border-radius: 6px;
            margin-bottom: 20px;
        }

        /* ========= 查看辖区按钮 ========= */
        .view-district-btn {
            position: absolute;
             top: 10px;
            right: 8px;
            padding: 3px 8px;
            height: 24px;
            background: #adadad;
            color: white;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s ease;
            font-size: 12px;
        }

        .view-district-btn:hover {
            background: #d12c3b;
        }

        .view-district-btn:focus {
            outline: none;
            background-color: #f34e1d;
            border-color: #f1b0b7;
        }

        .view-district-btn i,
        .view-district-btn svg {
            height: 16px;
            vertical-align: middle;
        }

        /* ========= 区县卡片内容 ========= */
        .district-content {
            padding: 10px;
            background-color: #f9f9f9;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .district-content:before {
            content: "";
            display: block;
            text-align: center;
            font-size: 30px;
            font-weight: bold;
        }

        .district-card {
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease-in-out;
        }

        .district-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        }

        .district-card a {
            display: flex;
            gap: 10px;
            padding: 8px;
            text-decoration: none;
            color: inherit;
        }

        .district-image img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 50%;
        }

        .district-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .district-info .card-title {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 4px;
        }

        .district-info .user-info {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .district-info .user-avatar {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #e0e0e0;
        }

        .district-info .user-nickname {
            font-size: 12px;
            color: #333;
        }

        /* ========= 加载和错误提示 ========= */
        .loading-spinner,
        .error-message {
            font-size: 13px;
        }

        /* ========= 响应式布局 ========= */
        @media (max-width: 1200px) {

            .city-grid,
            .district-content {
                grid-template-columns: repeat(3, 1fr);
            }
			 .dcitys-cards-container {
           
    padding: 20px;
        }
        }

        @media (max-width: 900px) {

            .city-grid,
            .district-content {
                grid-template-columns: repeat(2, 1fr);
						
            }

            .district-card {
                height: 100px;
            }
			 .dcitys-cards-container {
           
    padding: 10px;
        }
        }

        @media (max-width: 600px) {
            .card-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .city-card,
            .district-card {
                height: auto;
                padding: 10px;
            }

            .city-grid,
            .district-content {
                grid-template-columns: 1fr;
            }

            .view-district-btn {
                position: relative;
                margin-top: 10px;
            }
			 .dcitys-cards-container {
           
    padding: 10px;
        }
        }



.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
/* ========= 支持 div 结构的跳转容器 ========= */
.city-link,
.district-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    height: 100%;
}

/* district-link 内部布局（原 a 标签） */
.district-card .district-link {
    display: flex;
    gap: 10px;
    padding: 8px;
    height: 100%;
}

/* 鼠标悬停时标题高亮（替代 a:hover 效果） */
.city-link:hover .card-title,
.district-link:hover .card-title {
    color: var(--primary-color);
}
/* ========== 通用弹窗背景层样式 ========== */
.modal,
.dcitys-claim-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 20px;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  color: #212121;
  text-align: center;
}

/* ========== 弹窗内容容器样式 ========== */
.modal-content,
.dcitys-claim-popup-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px 28px;
  position: relative;
  text-align: left;
}

/* ========== 关闭按钮样式 ========== */
.close-btn,
.dcitys-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}
.close-btn:hover,
.dcitys-popup-close:hover {
  color: #e53935;
}

/* ========== 用户信息弹窗头部 ========== */
.dtab-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.dtab-left {
  display: flex;
  align-items: center;
}
.dtab-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e53935;
}
.dtab-idname {
  margin-left: 16px;
}
.dtab-id {
  font-weight: 600;
  font-size: 18px;
  color: #e53935;
}
.dtab-name {
  font-size: 16px;
  color: #757575;
  margin-top: 4px;
}
.dtab-right {
  text-align: right;
  font-size: 14px;
  color: #555;
}
.dtab-rank,
.dtab-renqi {
  margin-bottom: 6px;
}

/* ========== Tab 栏导航样式 ========== */
.dtab-bar {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  margin-top: 20px;
}
.dtab-item {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: #9e9e9e;
  user-select: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}
.dtab-item.active {
  color: #e53935;
  border-color: #e53935;
}

/* ========== Tab 内容区域 ========== */
.dtab-content-wrapper {
  margin-top: 18px;
  font-size: 16px;
  color: #424242;
  line-height: 1.5;
}
.dtab-tab-content {
  display: none;
}
.dtab-tab-content.active {
  display: block;
}
.dtab-tab-content h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #e53935;
  border-bottom: 2px solid #e53935;
  padding-bottom: 6px;
}
.dtab-tab-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #616161;
}
.dtab-tab-content li {
  margin-bottom: 8px;
}
.dtab-tab-content strong {
  color: #bf360c;
}
.dtab-tab-content button {
  background-color: #fb8c00;
  border: none;
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.dtab-tab-content button:hover {
  background-color: #ef6c00;
}

/* ========== 申领弹窗内容样式 ========== */
.dcitys-claim-popup h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #e53935;
}
.dcitys-claim-popup p strong {
  font-weight: 600;
  color: #212121;
}
.dcitys-claim-popup label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
  color: #424242;
  cursor: pointer;
}
.dcity-input,
.dcity-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.3s ease;
}
.dcity-input:focus,
.dcity-textarea:focus {
  outline: none;
  border-color: #e53935;
}
.claim-submit-btn {
  margin-top: 20px;
  background-color: #e53935;
  color: white;
  border: none;
  width: 100%;
  padding: 12px 0;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.claim-submit-btn:hover {
  background-color: #c62828;
}
#claimSuccessMsg {
  margin-top: 20px;
  color: #2e7d32;
  font-weight: 600;
  text-align: center;
}
.wpforms-container {
  display: none;
}

