
.fs-spotlight-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 16px 20px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.fs-spotlight-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}
.fs-spotlight-dialog {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(85vh - 70px);
    animation: fsSpotlightFadeIn 0.16s ease-out;
}
@keyframes fsSpotlightFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(-8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.fs-spotlight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
}
.fs-spotlight-search-icon {
    flex-shrink: 0;
}
.fs-spotlight-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #0F172A;
    padding: 0;
}
.fs-spotlight-input::placeholder {
    color: #94A3B8;
}
.fs-spotlight-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #E2E8F0;
    border-top-color: #10B981;
    border-radius: 50%;
    animation: fsSpotlightSpin 0.6s linear infinite;
    flex-shrink: 0;
}
@keyframes fsSpotlightSpin {
    to { transform: rotate(360deg); }
}
.fs-spotlight-close-btn {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-family: monospace;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.fs-spotlight-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}
.fs-spotlight-chips-bar {
    padding: 16px 20px;
    background: #FAFAFC;
    border-bottom: 1px solid #F1F5F9;
}
.fs-spotlight-chips-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94A3B8;
    margin-bottom: 10px;
}
.fs-spotlight-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fs-spotlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}
.fs-spotlight-chip:hover {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
    transform: translateY(-1px);
}
.fs-spotlight-results {
    padding: 10px 12px;
    overflow-y: auto;
    max-height: 380px;
}
.fs-spotlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #0F172A;
    transition: background 0.15s ease, transform 0.15s ease;
    border: 1px solid transparent;
}
.fs-spotlight-item:hover,
.fs-spotlight-item.is-selected {
    background: #F0FDF4;
    border-color: #BBF7D0;
    transform: translateX(2px);
}
.fs-spotlight-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #DCFCE7;
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fs-spotlight-item-text {
    flex: 1;
    min-width: 0;
}
.fs-spotlight-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fs-spotlight-item-title mark {
    background: #FEF08A;
    color: #854D0E;
    padding: 1px 3px;
    border-radius: 3px;
}
.fs-spotlight-empty {
    padding: 30px 20px;
    text-align: center;
    color: #64748B;
    font-size: 14px;
}
.fs-spotlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #F8FAFC;
    border-top: 1px solid #F1F5F9;
    font-size: 12px;
    color: #64748B;
}
.fs-spotlight-footer-hint {
    display: flex;
    gap: 12px;
}
.fs-spotlight-kbd {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 10px;
    font-family: monospace;
    font-weight: 600;
    color: #475569;
}
.fs-spotlight-view-all {
    color: #10B981;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}
.fs-spotlight-view-all:hover {
    text-decoration: underline;
}
@media (max-width: 640px) {
    .fs-spotlight-overlay {
        padding: 20px 10px;
    }
    .fs-spotlight-footer-hint {
        display: none;
    }
}
