.vdb-finder {
    padding: clamp(64px, 9vw, 120px) 0;
    background:
        radial-gradient(60% 100% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 70%),
        var(--bg, #101216);
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.vdb-finder p { margin: 0; }
.vdb-finder a:not(.btn) { text-decoration: none; }
.vdb-finder ul { list-style: none; }

.vdb-finder-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.vdb-finder-head {
    margin-bottom: clamp(28px, 4vw, 44px);
}

.vdb-finder-head .badge {
    margin-bottom: 18px;
}

.vdb-finder-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text, #f4f5f8);
    margin: 18px 0 14px;
}

.vdb-finder .vdb-finder-sub {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--text-2, #b7bdc8);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

.vdb-finder-form {
    margin-bottom: 28px;
}

.vdb-finder-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-3, #7d8492);
    letter-spacing: 0.04em;
}

.vdb-finder-input-row {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.vdb-finder-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: var(--text-3, #7d8492);
    pointer-events: none;
    z-index: 2;
}

.vdb-finder-input {
    flex: 1;
    min-width: 0;
    padding: 16px 20px 16px 50px;
    border-radius: 14px;
    background: var(--surface, #1c1f25);
    border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.16));
    color: var(--text, #f4f5f8);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: left;
    transition: border-color var(--t-fast, 0.25s), box-shadow var(--t-fast, 0.25s), background var(--t-fast, 0.25s);
}

.vdb-finder-input::placeholder {
    color: var(--text-3, #7d8492);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.vdb-finder-input:focus {
    outline: none;
    border-color: var(--accent, #f4f5f8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    background: var(--surface-2, #23262e);
}

.vdb-finder-btn {
    flex-shrink: 0;
    padding: 16px 26px;
}

.vdb-finder-btn .vdb-btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(20, 22, 26, 0.3);
    border-top-color: var(--on-accent, #14161a);
    border-radius: 50%;
    animation: vdb-spin 0.7s linear infinite;
}

.vdb-finder-btn.is-loading .vdb-btn-text,
.vdb-finder-btn.is-loading .vdb-btn-arrow {
    opacity: 0;
    position: absolute;
}

.vdb-finder-btn.is-loading .vdb-btn-spinner {
    display: block;
}

.vdb-finder-btn {
    position: relative;
}

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

.vdb-finder-result {
    min-height: 20px;
}

.vdb-result-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: clamp(20px, 3vw, 32px);
    color: var(--text-3, #7d8492);
}

.vdb-result-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft, rgba(255, 255, 255, 0.07));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    color: var(--text-2, #b7bdc8);
    animation: vdb-pulse 3s ease-in-out infinite;
}

.vdb-finder .vdb-result-empty p {
    max-width: 440px;
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes vdb-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

.vdb-result-card {
    position: relative;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 44px);
    border-radius: var(--r-lg, 24px);
    background: var(--surface, #1c1f25);
    border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.16));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: left;
    animation: vdb-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vdb-result-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

@keyframes vdb-reveal {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vdb-result-card-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.vdb-result-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient, linear-gradient(110deg, #ffffff 0%, #c7cdd8 100%));
    color: var(--on-accent, #14161a);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.16);
}

.vdb-result-card--fallback .vdb-result-avatar {
    background: var(--accent-soft, rgba(255, 255, 255, 0.07));
    color: var(--accent, #f4f5f8);
    border: 1px solid var(--accent-border, rgba(255, 255, 255, 0.28));
    box-shadow: none;
}

.vdb-result-avatar--photo {
    overflow: hidden;
    background: var(--surface-3, #2b2f38);
}

.vdb-result-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdb-result-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-3, #7d8492);
    margin-bottom: 4px;
}

.vdb-result-name {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text, #f4f5f8);
    margin: 0;
}

.vdb-finder .vdb-result-intro,
.vdb-result-intro {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-2, #b7bdc8);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.vdb-result-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
}

.vdb-result-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vdb-result-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--accent-soft, rgba(255, 255, 255, 0.07));
    color: var(--accent, #f4f5f8);
}

.vdb-result-row-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vdb-result-row-body strong {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3, #7d8492);
}

.vdb-result-row-body span,
.vdb-result-row-body a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text, #f4f5f8);
    word-break: break-word;
}

.vdb-result-row-body a {
    transition: color var(--t-fast, 0.25s);
}

.vdb-result-row-body a:hover {
    color: var(--accent-2, #ffffff);
}

.vdb-result-cta {
    width: 100%;
}

.vdb-finder-error {
    max-width: 560px;
    margin: 16px auto 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.3);
    color: #ff8a82;
    font-size: 0.92rem;
    text-align: center;
    animation: vdb-reveal 0.35s ease both;
}

@media (max-width: 600px) {
    .vdb-finder-input-row {
        flex-direction: column;
    }
    .vdb-finder-btn {
        width: 100%;
    }
    .vdb-result-card-top {
        gap: 14px;
    }
    .vdb-result-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vdb-result-empty-icon,
    .vdb-result-card {
        animation: none;
    }
}
