/* Podpowiedzi artystów w polu wyszukiwania (nagłówek portalu + panel twórcy).
   Jeden komponent, dwa konteksty: bierze kolory z tokenów, które ma dany
   arkusz (portal: cyber-theme, panel: creator-account), więc nie kopiuje
   drugiego motywu. */
.site-header{z-index:60}

[data-artist-suggest]{position:relative}
[data-artist-suggest] input[role="combobox"][aria-expanded="true"]{border-bottom-left-radius:0;border-bottom-right-radius:0}

.artist-suggest{
  position:absolute;z-index:70;top:calc(100% + 6px);left:0;right:0;
  margin:0;padding:6px;list-style:none;
  max-height:min(320px,52dvh);overflow:auto;
  border:1px solid var(--edge,#344362);border-radius:12px;
  background:var(--panel,#10162d);
  box-shadow:0 18px 44px rgba(3,6,18,.5);
}
.artist-suggest[hidden]{display:none}
.artist-suggest [role="option"]{
  display:flex;align-items:center;gap:10px;
  min-height:44px;padding:7px 9px;border-radius:8px;
  color:var(--text,#e9eeff);text-decoration:none;cursor:pointer;
}
.artist-suggest [role="option"]+[role="option"]{margin-top:2px}
.artist-suggest [role="option"]:hover,
.artist-suggest [role="option"][aria-selected="true"]{background:rgba(103,220,247,.15)}
.artist-suggest .as-avatar{
  display:grid;place-items:center;flex:none;width:32px;height:32px;
  border-radius:9px;overflow:hidden;background:rgba(103,220,247,.14);
  color:#bfe9ff;font-size:12px;font-weight:800;
}
/* Awatar to mała lokalna miniatura (mediana ~12 KB), ładowana leniwie —
   żadnych ciężkich obrazów ani hotlinków w podpowiedziach. */
.artist-suggest .as-avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:9px}
.artist-suggest .as-copy{min-width:0;display:grid;gap:2px}
.artist-suggest .as-name{min-width:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.artist-suggest .as-genre{color:var(--muted,#b4bfdd);font-size:11px;line-height:1.3}
.artist-suggest .as-hint{padding:9px 10px;color:var(--muted,#b4bfdd);font-size:12px}

@media(max-width:768px){
  .artist-suggest{max-height:min(260px,46dvh)}
  .artist-suggest .as-name{font-size:13.5px}
  .artist-suggest .as-genre{font-size:10.5px}
}
