.spot-search-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
}
.spot-search-trigger kbd,
.spotlight kbd {
    border: 1px solid currentColor;
    border-radius: 4px;
    font: 10px "DM Mono";
    opacity: 0.65;
    padding: 2px 5px;
}
.spot-search-trigger kbd { margin-left: 3px; }
body.spotlight-open { overflow: hidden; }
.spotlight {
    position: fixed;
    inset: 0;
    z-index: 3000;
}
.spotlight[hidden] { display: none; }
.spotlight-backdrop {
    position: absolute;
    inset: 0;
    background: #14242dc7;
    backdrop-filter: blur(4px);
}
.spotlight-panel {
    position: relative;
    width: min(620px, calc(100% - 32px));
    max-height: min(560px, calc(100vh - 80px));
    margin: clamp(72px, 13vh, 130px) auto 0;
    overflow: hidden;
    border: 1px solid #ffffff26;
    border-radius: 12px;
    background: var(--card);
    box-shadow: 0 28px 80px #07101580;
    animation: spotlight-in 0.16s ease-out;
}
@keyframes spotlight-in {
    from { opacity: 0; transform: translateY(-8px) scale(0.985); }
}
.spotlight-input-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 22px;
}
.spotlight-input-wrap input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
}
.spotlight-input-wrap input::-webkit-search-cancel-button { display: none; }
.spotlight-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 7px;
}
.spotlight-result {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    text-align: left;
}
.spotlight-result:hover,
.spotlight-result.active { background: #f2eee6; }
.spotlight-result-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sand);
    color: var(--red-dark);
}
.spotlight-result strong,
.spotlight-result small { display: block; }
.spotlight-result small {
    max-width: 480px;
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spotlight-arrow { color: var(--muted); opacity: 0; }
.spotlight-result.active .spotlight-arrow { opacity: 1; }
.spotlight-empty { padding: 35px 18px; color: var(--muted); text-align: center; }
.spotlight-help {
    display: flex;
    gap: 18px;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    background: #faf9f6;
    color: var(--muted);
    font-size: 11px;
}
.spotlight-help span { display: flex; align-items: center; gap: 4px; }
.spot.spot-search-highlight { animation: spot-found 1.8s ease-out; }
@keyframes spot-found {
    0%, 25% { border-color: #e5a72f; box-shadow: 0 0 0 4px #f1c86570, var(--shadow); background: #fff9e8; }
    100% { border-color: var(--line); box-shadow: var(--shadow); background: var(--card); }
}
@media (prefers-reduced-motion: reduce) {
    .spotlight-panel, .spot.spot-search-highlight { animation-duration: 0.01ms; }
}
