/* Logos view: one card per title, its logo candidates as a strip of tiles */
.logo-bar { margin: var(--s-m) 0 var(--s-s); }
/* the library and group switches may be wider than a phone: they scroll instead of wrapping */
.segment.logo-scroll { max-width: 100%; overflow-x: auto; }
.segment.logo-scroll button { white-space: nowrap; flex: none; }
.logo-progress { margin-bottom: var(--s-m); min-height: 28px; }
.logo-list { display: flex; flex-direction: column; gap: var(--s-s); }
.logo-row { display: grid; grid-template-columns: 44px minmax(180px, 280px) minmax(0, 1fr); gap: var(--s-m);
  align-items: start; padding: 10px 12px; }
.logo-row .poster { width: 44px; height: 66px; }
.logo-row .t { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.logo-row.done { opacity: .6; }
.logo-info { min-width: 0; }
.logo-tiles { display: flex; flex-wrap: wrap; gap: var(--s-s); align-items: flex-start; min-width: 0; }
.logo-tile { display: flex; flex-direction: column; gap: 4px; width: 188px; padding: 4px; cursor: pointer; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .12s, background .12s; }
.logo-tile:hover { border-color: var(--border-strong); background: var(--surface2); }
.logo-tile.checked { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.logo-tile:focus-visible { outline: none; border-color: var(--accent); }
/* logos are mostly white or light: always on a dark checkerboard, in both themes */
.logo-img { height: 74px; border-radius: 5px; display: grid; place-items: center; padding: 6px; overflow: hidden;
  background: repeating-conic-gradient(#1b1f27 0 25%, #232833 0 50%) 0 0 / 14px 14px; }
.logo-img.light { background: repeating-conic-gradient(#e4e7ec 0 25%, #f4f5f7 0 50%) 0 0 / 14px 14px; }
.logo-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-meta { gap: 6px; padding: 0 2px 2px; }
.logo-meta .pill { padding: 0 7px; font-size: 11px; line-height: 16px; }
@media (max-width: 900px) {
  .logo-row { grid-template-columns: 44px minmax(0, 1fr); }
  .logo-tiles { grid-column: 1 / -1; }
  .logo-tile { width: calc(50% - 4px); }
}
