/* ── 本机IP信息卡片 ── */
.benji-card {
    padding: 2rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 1px solid #d0e4f0;
    border-radius: 12px;
}

.benji-loading {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    font-size: 0.95rem;
}

.benji-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 0.8rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.benji-ip-label {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.benji-ip-value {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    color: #2563eb;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.benji-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.benji-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
}

.benji-detail-label {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 0.2rem;
}

.benji-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .benji-ip-value {
        font-size: 1.6rem;
    }

    .benji-detail-grid {
        grid-template-columns: 1fr;
    }
}
