.shequn-panel {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow2);
    padding: 16px 20px 20px;
}

.shequn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.shequn-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shequn-title b {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.shequn-count {
    font-size: 13px;
    color: var(--muted);
}

.shequn-count em {
    font-style: normal;
    color: var(--red);
    font-weight: 600;
}

.shequn-search {
    display: flex;
    gap: 10px;
}

.shequn-search input {
    width: 260px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.shequn-search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.08);
}

.btn-search-shequn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--red), var(--red3));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-search-shequn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 0, 18, 0.25);
}

/* 社群卡片列表 - 两列布局 */
.shequn-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.shequn-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius2);
    box-shadow: var(--shadow2);
    transition: all 0.25s ease;
    position: relative;
}

.shequn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.shequn-avatar {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.shequn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shequn-info {
    flex: 1;
    min-width: 0;
    max-width: 300px;
}

.shequn-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.shequn-name h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shequn-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    flex-shrink: 0;
}

.shequn-badge.verified {
    width: 18px;
    height: 18px;
    padding: 0;
    display: inline-block;
    object-fit: contain;
    /* border-radius: 50%; */
    vertical-align: middle;
}

.shequn-badge.type {
    background: rgba(59, 130, 246, 0.1);
    color: var(--acc-blue);
}

.shequn-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--muted);
}

.shequn-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shequn-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shequn-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.shequn-stats .stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shequn-stats .stat em {
    font-style: normal;
    font-weight: 600;
    color: var(--text);
}

.shequn-action {
    position: absolute;
    right: 16px;
    top: 16px;
}

.btn-join {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--red);
    background: rgba(230, 0, 18, 0.06);
    border: 1px solid rgba(230, 0, 18, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.btn-join:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .shequn-list {
        grid-template-columns: 1fr;
    }

    .shequn-header {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .shequn-search input {
        width: 100%;
        flex: 1;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1100px){
    .grid{grid-template-columns: 220px 1fr 300px}
    .main-top{grid-template-columns: 1fr}
    .content-grid{flex-direction: column}
    .content-sidebar{order: 2}
    .grid.index-grid > section:first-child {
        flex: 1;
    }
    .grid.index-grid .rightcol {
        flex: 1;
        min-width: auto;
    }
}
@media (max-width: 940px){
    header{position:static}
    .grid{grid-template-columns: 1fr}
    .brand{min-width:auto}
    .search{justify-content:stretch}
    .searchbox{max-width:none}
    .rightcol{order:3}
}
@media (max-width: 520px){
    .header-inner{flex-wrap:wrap}
    .brand{width:100%}
    .nav{width:100%}
    .slide{grid-template-columns: 1fr; gap:10px}
    .hero-art{width:100%; height:120px; justify-self:stretch}
    .item{grid-template-columns: 56px 1fr}
    .thumb{width:56px;height:56px}
    .filter-options{flex-direction: column}
    .filter-btn{width: 100%; text-align: left}
    .grid.index-grid {
        flex-direction: column;
    }
}
