#lc-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20vh;
}

#lc-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: lc-spin 1s linear infinite;
    margin-bottom: 18px;
}

@keyframes lc-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#lc-text {
    font-size: 15px;
    color: #555;
    text-align: center;
    letter-spacing: 2px;
}

#lc-result {
    display: none;
}

#lc-title {
    margin-top: 26px;
    margin-left: 10px;
    font-size: 20px;
}

#lc-result-title {
    margin-left: 30px;
    font-size: 14px;
    margin-top: 14px;
}

/* 友链卡片样式 */
.lc-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.lc-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(52, 152, 219, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.04);
    padding: 14px 28px 14px 18px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    transition: box-shadow 0.18s cubic-bezier(.4, 2, .6, 1), border-color 0.18s, background 0.18s;
    text-decoration: none;
    color: #222;
    cursor: pointer;
    border: 1.5px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    word-break: break-all;
    height: 86px;
    will-change: box-shadow, border-color, background;
}

.lc-card:hover {
    background: #f6fafd;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.10), 0 1.5px 4px rgba(0, 0, 0, 0.04);
    border-color: #3498db;
}

.lc-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 0 !important;
    object-fit: cover;
    margin-right: 28px !important;
    border: 2.5px solid #eaf6fb;
    background: #f6fafd;
    transition: border-color 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
    display: block;
}

.lc-card:hover .lc-card-avatar {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.10);
}

.lc-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    align-items: flex-start;
    gap: 2px;
}

.lc-card-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: left;
    word-break: break-all;
    line-height: 1.2;
}

.lc-card-url {
    font-size: 13px;
    color: #3498db;
    word-break: break-all;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.2;
}

.lc-card-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    word-break: break-all;
    line-height: 1.3;
}

.lc-card-old-domain {
    color: #888;
    font-size: 12px;
    margin-top: 2px;
    word-break: break-all;
    line-height: 1.3;
}

@media (max-width: 700px) {
    .lc-card-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lc-card {
        padding: 10px 6px 10px 6px;
        height: 60px;
    }

    .lc-card-avatar {
        width: 34px;
        height: 34px;
        margin-right: 14px;
    }

    .lc-card-name {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .lc-card-url {
        font-size: 10px;
    }
}