/* Apple ID 账号卡片 - lolimeow */
.single-content .aid-cards,
.aid-cards {
    margin: 8px 0 10px;
}

.aid-card {
    background: #fff;
    border: 1px solid #edf1fc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.aid-card:last-child {
    margin-bottom: 0;
}

.aid-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.aid-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.aid-badge .aid-icon {
    width: 14px;
    height: 14px;
}

.aid-badge-ok {
    color: #0bb27a;
    background: rgba(11, 178, 122, 0.1);
}

.aid-badge-bad {
    color: #ff5e52;
    background: rgba(255, 94, 82, 0.1);
}

.aid-badge-region {
    color: #6b6970;
    background: #f3f5f7;
}

.aid-card-time {
    margin-left: auto;
    font-size: 12px;
    color: #989ead;
}

.aid-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #f7f8fa;
    border-radius: 10px;
}

.aid-row:last-child {
    margin-bottom: 0;
}

.aid-label {
    flex: 0 0 auto;
    width: 2em;
    font-size: 14px;
    color: #202935;
    font-weight: 600;
    white-space: nowrap;
}

.aid-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    color: #202935;
    word-break: break-all;
    line-height: 1.4;
    font-family: Consolas, "Courier New", monospace;
}

.aid-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
}

.aid-btn {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #5f6368;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    padding: 0;
}

.aid-btn:hover {
    opacity: 0.88;
}

.aid-btn:active {
    transform: scale(0.96);
}

.aid-btn svg {
    width: 18px;
    height: 18px;
}

.aid-copy-btn.is-copied {
    background: #0bb27a;
}

@media (max-width: 640px) {
    .aid-card {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .aid-card-head {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .aid-card-time {
        margin-left: auto;
        flex: 0 0 auto;
        font-size: 11px;
        line-height: 1.3;
        white-space: nowrap;
        text-align: right;
    }

    .aid-row {
        gap: 8px;
        min-height: 44px;
        padding: 8px 10px;
    }

    .aid-label {
        width: auto;
        font-size: 13px;
    }

    .aid-value {
        font-size: 12px;
    }

    .aid-actions {
        gap: 4px;
    }

    .aid-btn {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }

    .aid-btn svg {
        width: 15px;
        height: 15px;
    }
}
