











.items-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--s2, .5rem);
}
.items-tile {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 44px;
  padding: .8rem;
  border: var(--hair, 1px) solid var(--rule);
  border-radius: var(--radius-panel, 8px);
  text-decoration: none;
  color: inherit;
}




.items-tile:hover,
.items-tile:focus-visible {
  background: var(--bg-row);
  border-color: var(--rule-strong);
}
.items-tile__img {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}





.items-tile__body,
.item-chip__body,
.items-title__body { text-align: left; }

.items-tile__body { display: flex; flex-direction: column; min-width: 0; }
.items-tile__t { font-weight: 600; }



.items-tile__d { font-size: .82rem; color: var(--text-muted); }   
.items-tile__n { font-size: .75rem; color: var(--text-faint); letter-spacing: var(--track-caps, .04em); }  




.items-search {
  display: flex;
  gap: var(--s2, .5rem);
  margin-bottom: var(--s3, 1rem);
}
.items-search input {
  flex: 1 1 auto;
  min-width: 0;
  
  min-height: 44px;
  padding: 0 .7rem;
  background: var(--bg-row);
  color: inherit;
  border: var(--hair, 1px) solid var(--rule);
  border-radius: var(--radius, 4px);
}




.items-group { margin-bottom: var(--s4, 1.5rem); }
.items-group .section-label small { opacity: .6; font-weight: 400; }

.item-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: var(--s1, .25rem) var(--s2, .5rem);
}

.item-chips--wide { grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); }

.item-chip {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .35rem .5rem;
  border-bottom: var(--hair, 1px) solid var(--rule);
  text-decoration: none;
  color: inherit;
}




a.item-chip:hover,
a.item-chip:focus-visible {
  background: var(--bg-row);
  border-bottom-color: var(--rule-strong);
}
.item-chip__img {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}
.item-chip__img--empty { background: var(--rule); border-radius: var(--radius, 4px); }
.item-chip__body { display: flex; flex-direction: column; min-width: 0; }
.item-chip__n { font-size: .9rem; }

.item-chip__d {
  font-size: .75rem;
  color: var(--text-muted);          
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}




.items-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--s2, .5rem);
}

.items-cards--bg { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }

.items-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem;
  border: var(--hair, 1px) solid var(--rule);
  border-radius: var(--radius-panel, 8px);
  text-decoration: none;
  color: inherit;
}





a.items-card:hover,
a.items-card:focus-visible {
  background: var(--bg-row);
  border-color: var(--rule-strong);
}
.items-card__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius, 4px);
}
.items-card__img--empty { aspect-ratio: 3 / 4; background: var(--rule); }
.items-card__n { font-size: .82rem; font-weight: 600; }
.items-card__d { font-size: .72rem; color: var(--text-muted); }   




.items-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1, .25rem);
  margin-bottom: var(--s3, 1rem);
}
.items-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: 0 .7rem;
  border: var(--hair, 1px) solid var(--rule);
  border-radius: var(--radius, 4px);
  font-size: .82rem;
  text-decoration: none;
  color: inherit;
}





.items-tab small { opacity: .8; }





.items-tab.is-active {
  color: var(--ink);                    
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.items-titles { display: grid; gap: var(--s1, .25rem); }
.items-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  border-bottom: var(--hair, 1px) solid var(--rule);
}

.items-title__plate { flex: 0 0 auto; height: 2.2rem; width: auto; }
.items-title__body { display: flex; flex-direction: column; min-width: 0; }
.items-title__n { font-size: .9rem; }




.items-title__r { color: var(--accent); font-size: .75rem; }   
.items-title__d { font-size: .75rem; color: var(--text-muted); }  


@media (max-width: 600px) {
  .item-chips,
  .item-chips--wide { grid-template-columns: 1fr; }
  .items-cards { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); }
}





.msg-list { display: flex; flex-direction: column; gap: 4px; }
.msg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  padding: 8px 12px;
  background: var(--bg-row);
  border-radius: var(--radius);
}
.msg:nth-child(even) { background: var(--bg-row-alt); }
.msg__t { color: var(--text); }
.msg__tags { display: flex; gap: 6px; flex: 0 0 auto; }
.msg__tag {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}


.msg__tag--pvp { border-color: var(--accent-red); color: var(--accent-red); }
.msg__tag--coop { border-color: var(--accent-blue); color: var(--accent-blue); }
.msg__tag--voice { border-color: var(--accent); color: var(--accent); }
@media (max-width: 620px) {
  

  .msg { flex-direction: column; align-items: flex-start; gap: 6px; }
}
