/* ---------- アイテム一覧（items.js） ---------- */
.itm-filters .filter-row .label { width: 72px; }
.itm-filters .filter-row[hidden] { display: none; }
.itm-filters .chip[hidden] { display: none; }
.itm-filters .chip small.itm-c { color: var(--text-3); font-weight: 700; font-size: 11px; }
.itm-filters .chip.on small.itm-c { color: inherit; opacity: 0.8; }
.itm-filters .itm-clear[hidden] { display: none; }

.itm-sec { margin-bottom: 22px; }
.itm-sec .sec-title .muted { font-weight: 600; letter-spacing: 0; }
.itm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }

.itm {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; text-align: left; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .18s, background .18s, transform .18s;
}
.itm:hover, .itm:focus-visible { border-color: rgba(232, 194, 106, 0.5); background: var(--surface-2); transform: translateY(-1px); outline: none; }
.itm img { flex: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border-strong); background: #0b0f1a; }
.itm-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.itm-n { font-weight: 800; font-size: 13.5px; line-height: 1.3; }
.itm-en { color: var(--text-3); font-size: 11px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itm-s { color: var(--text-2); font-size: 11.5px; line-height: 1.45; margin-top: 3px; }
.itm-style-result { color: var(--cyan); font-size: 11.5px; margin-top: 3px; }
.itm-style-note { margin: 0 0 12px; }
.itm-fx { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.itm-fx i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--gold); background: rgba(232, 194, 106, 0.1); border-radius: 5px; padding: 0 6px; }
.itm-g { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.itm-g b { color: #f2c94c; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.itm-g small { color: var(--text-3); font-size: 10.5px; white-space: nowrap; }
.itm-g em { font-style: normal; font-size: 10px; font-weight: 800; border-radius: 5px; padding: 0 6px; white-space: nowrap; }
.itm-up { color: var(--cyan); background: rgba(63, 216, 208, 0.12); }
.itm-hit { color: var(--text-2); background: var(--surface-2); }

.itm-empty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--text-2); }
.itm-note { font-size: 12px; margin-top: 18px; }

@media (max-width: 760px) {
  .itm-filters .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .itm-filters .filter-row::-webkit-scrollbar { display: none; }
  .itm-filters .filter-row .label { flex: none; width: auto; margin-right: 2px; }
  .itm-filters .itm-style-row { flex-wrap: wrap; overflow-x: visible; }
}
@media (max-width: 560px) {
  .itm { padding: 9px 10px; }
  .itm img { width: 40px; height: 40px; }
  .itm-grid { gap: 8px; }
}
