.image-search-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.image-search-bar input { flex: 1 1 240px; }
.image-search-bar select { flex: 0 0 auto; width: auto; }
.image-search-status { min-height: 20px; margin-bottom: 6px; color: #888; }
.image-search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.image-search-modal .image-search-grid { max-height: 60vh; overflow-y: auto; }
.image-search-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border: 1px solid #ddd; border-radius: 4px; background: rgba(128, 128, 128, 0.08); cursor: pointer; text-align: center; min-width: 0; }
.image-search-tile:hover, .image-search-tile:focus { border-color: #337ab7; outline: none; }
.image-search-tile.is-copied { border-color: #3c763d; background: rgba(60, 118, 61, 0.15); }
.image-search-tile.is-broken { opacity: 0.45; }
.image-search-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: 96px; overflow: hidden; }
.image-search-thumb img { max-width: 100%; max-height: 96px; image-rendering: pixelated; }
.image-search-tile.kind-item .image-search-thumb { height: 64px; }
.image-search-tile.kind-item .image-search-thumb img { max-height: 64px; }
.image-search-frame { display: block; width: 64px; height: 96px; overflow: hidden; }
.image-search-frame img { display: block; max-width: none; max-height: none; }
.image-search-name { font-size: 12px; font-weight: 600; word-break: break-word; }
.image-search-tags { font-size: 11px; color: #888; word-break: break-word; }
.image-search-more { margin-top: 8px; }
