.dji-compat {
    width: 100%;
    margin: 2rem 0;
    padding: 28px 24px;
    background: #f4f5f7;
    border-radius: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.dji-compat *, .dji-compat *::before, .dji-compat *::after { box-sizing: border-box; }
.dji-compat-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}
.dji-compat-desc {
    margin: 0 0 6px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.dji-compat-subdesc {
    margin: 0 0 20px;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

/* Toggle */
.dji-compat-toggle {
    display: flex;
    background: #e9ebee;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
    margin-bottom: 14px;
}
.dji-compat-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1.4;
}
.dji-compat-tab:hover { color: #444; }
.dji-compat-tab.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Select */
.dji-compat-select-wrap {
    position: relative;
    margin-bottom: 18px;
}
.dji-compat-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}
.dji-compat-select:focus {
    outline: none;
    border-color: #999;
}
.dji-compat-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
}

/* Results */
.dji-compat-count {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dji-compat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    animation: djiCompatFade 0.2s ease;
}
.dji-compat-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 14px 8px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dji-compat-card-img {
    width: 56px;
    height: 56px;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dji-compat-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.dji-compat-placeholder {
    font-size: 10px;
    color: #ccc;
    font-style: italic;
}
.dji-compat-card-name {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    text-align: center !important;
    width: 100%;
    word-break: break-word;
}
.dji-compat-empty {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 24px 16px;
    margin: 0;
}

@keyframes djiCompatFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile */
@media (max-width: 480px) {
    .dji-compat {
        padding: 20px 16px;
        border-radius: 12px;
        margin: 1.5rem 0;
    }
    .dji-compat-title { font-size: 18px; }
    .dji-compat-desc { font-size: 13px; }
    .dji-compat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .dji-compat-tab { font-size: 12px; padding: 8px 0; }
    .dji-compat-card { padding: 10px 6px 8px; border-radius: 8px; }
    .dji-compat-card-img { width: 44px; height: 44px; margin-bottom: 4px; }
    .dji-compat-card-name { font-size: 10px; }
}
