.founders-widget {
    display: block;
    width: auto;
    overflow: visible;
    position: relative;
}

.founders-widget__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 30, 40, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem 0.5rem 0.75rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: auto;
    overflow: visible;
    white-space: nowrap;
}

.dark .founders-widget__card {
    background: rgba(30, 30, 40, 0.55);
    border-color: rgba(255, 255, 255, 0.25);
}

.founders-widget__avatars {
    display: flex;
    position: relative;
    flex-shrink: 0;
}

.founders-widget__avatar {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, z-index 0s;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    line-height: 0;
}

.founders-widget__avatar:not(:first-child) {
    margin-left: -0.75rem;
}

.founders-widget__avatar:hover,
.founders-widget__avatar:focus-visible {
    z-index: 50;
    transform: scale(1.05);
    outline: none;
}

.founders-widget__avatar:focus-visible img {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #374151;
}

.dark .founders-widget__avatar:focus-visible img {
    box-shadow: 0 0 0 2px #1e1e28, 0 0 0 4px #e5e7eb;
}

.founders-widget__avatar img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid #fff;
    object-fit: cover;
    position: relative;
    z-index: 10;
    display: block;
}

.dark .founders-widget__avatar img {
    border-color: #1e1e28;
}

.founders-widget__avatars-wrap {
    position: relative;
    flex-shrink: 0;
}

.founders-widget__tooltip {
    position: absolute;
    bottom: calc(100% + 1rem);
    left: calc(50% - 6.75rem);
    width: 17.5rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: left;
    z-index: 100;
    white-space: normal;
    pointer-events: auto;
}

.founders-widget__tooltip::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1rem;
}

@media (max-width: 639px) {
    .founders-widget__tooltip {
        left: calc(50% - 5.25rem);
    }
}

.dark .founders-widget__tooltip {
    background: rgba(22, 22, 37, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

.founders-widget__tooltip-arrow {
    position: absolute;
    bottom: -6px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: inherit;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    transition: left 0.25s ease;
    pointer-events: none;
}

.dark .founders-widget__tooltip-arrow {
    border-color: rgba(255, 255, 255, 0.15);
}

.founders-widget__tooltip-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.dark .founders-widget__tooltip-head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.founders-widget__tooltip-name {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #111827;
    margin-bottom: 0.25rem;
}

.dark .founders-widget__tooltip-name {
    color: #fff;
}

.founders-widget__tooltip-role {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.dark .founders-widget__tooltip-role {
    color: #cbd5e1;
}

.founders-widget__tooltip-link {
    color: #9ca3af;
    transition: color 0.2s;
}

.founders-widget__tooltip-link:hover {
    color: #0a66c2;
}

.founders-widget__tooltip-quote {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4b5563;
    font-weight: 400;
}

.dark .founders-widget__tooltip-quote {
    color: #e2e8f0;
}

.founders-widget__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.founders-widget__stars {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.125rem;
    color: #f5a623;
}

.founders-widget__stars svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.founders-widget__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
    white-space: nowrap;
}

.dark .founders-widget__label {
    color: #e2e8f0;
}
