.ni-wiki-search { width: min(100%, 34rem); }
.ni-wiki-catalog { display: grid; gap: .6rem; margin: .6rem 0; }
.ni-wiki-catalog > .btn { justify-self: start; }
.ni-wiki-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),1fr)); gap:.55rem; }
.ni-wiki-entry, .ni-wiki-detail {
  border:1px solid #755334;
  background:linear-gradient(165deg,#493323,#2b1d16);
  color:#f5dfb7;
  border-radius:5px;
  padding:.55rem .7rem;
}
.ni-wiki-entry {
  display:flex; align-items:center; gap:.5rem; min-height:59px; text-align:left;
  font:inherit; cursor:pointer;
}
.ni-wiki-entry:hover,.ni-wiki-entry:focus-visible { border-color:#d1a069; background:#563a24; }
.ni-wiki-entry span { min-width:0; overflow-wrap:anywhere; }
.ni-wiki-entry small { display:block; color:#d9be94; margin-top:.15rem; }
.ni-wiki-entry .icon-item { width:35px; height:35px; object-fit:contain; }
.ni-wiki-sprite {
  flex:0 0 62px; width:62px; height:62px;
  background-size:248px 248px; background-repeat:no-repeat;
  filter:drop-shadow(0 2px 2px #160d08);
}
.ni-wiki-ally { width:85px; height:85px; object-fit:contain; }
.ni-wiki-detail { margin-top:.55rem; }
.ni-wiki-detail header { display:flex; align-items:center; gap:.65rem; }
.ni-wiki-detail h3,.ni-wiki-detail h4 { margin:.2rem 0; font-family:Georgia,serif; color:#ffe6b8; }
.ni-wiki-detail p { margin:.25rem 0; }
.ni-wiki-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr)); gap:.35rem; margin:.4rem 0; }
.ni-wiki-stats div { border-left:2px solid #a98152; padding:.25rem .4rem; background:#2819119e; overflow-wrap:anywhere; }
.ni-wiki-stats dt { font-size:.78rem; color:#e1c39b; }
.ni-wiki-stats dd { margin:.2rem 0 0; color:#fff1d5; font-weight:700; }
.ni-wiki-rates { display:flex; flex-wrap:wrap; gap:.4rem .8rem; }
.ni-wiki-loot details { border-top:1px solid #7c5939; padding:.4rem 0; }
.ni-wiki-loot summary { cursor:pointer; }
.ni-wiki-loot ul { padding:0; margin:.4rem 0; }
.ni-wiki-loot li { list-style:none; display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:.5rem; padding:.2rem 0; border-bottom:1px solid #77543680; }
.ni-wiki-loot li img { width:26px; height:26px; object-fit:contain; }
