.sac-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  backdrop-filter: blur(4px);
}

.sac-overlay.is-open {
  display: flex;
}

.sac-modal {
  width: 100%;
  max-width: 640px;
  background: #0d1117;
  border: 1px solid #1e2a3a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.8);
  margin: 0 16px;
}

.sac-modal-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #1e2a3a;
}

.sac-modal-search svg {
  width: 16px;
  height: 16px;
  color: #4a5568;
  flex-shrink: 0;
}

.sac-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: #e8e0f0;
  font-family: inherit;
}

.sac-modal-input::placeholder { color: #4a5568; }

.sac-modal-close {
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.1s;
}

.sac-modal-close:hover { color: #e8e0f0; }

.sac-modal-results {
  max-height: 400px;
  overflow-y: auto;
}

.sac-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.1s;
}

.sac-result-row:last-child { border-bottom: none; }
.sac-result-row:hover { background: #111827; }

.sac-result-champ {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #e8e0f0;
  flex: 1;
  min-width: 0;
}

.sac-result-champ img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sac-result-champ span {
  font-size: 14px;
  font-weight: 600;
}

.sac-result-links {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.sac-result-links a {
  font-size: 11px;
  font-weight: 600;
  color: #4a5568;
  text-decoration: none;
  background: #111827;
  border: 1px solid #1e2a3a;
  border-radius: 4px;
  padding: 3px 9px;
  transition: color 0.1s, border-color 0.1s;
  white-space: nowrap;
}

.sac-result-links a:hover {
  color: #7eb3ff;
  border-color: #2a3f6f;
}

.sac-no-result {
  padding: 32px;
  text-align: center;
  color: #4a5568;
  font-size: 14px;
}

@media (max-width: 600px) {
  .sac-overlay { padding-top: 40px; }
  .sac-result-links { display: none; }
}