/* objects.css - 物品网格、物品卡片、已选配对、分辨率选择 */
.obj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 8px; margin-bottom: 16px; }
.obj-card { border: 1.5px solid #e0e0d8; border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 8px; position: relative; }
.obj-card:hover { border-color: #888; }
.obj-card.selected { border-color: #1a1a1a; background: #f0f4ff; border-width: 2px; }
.obj-num { position: absolute; top: -7px; right: -7px; width: 19px; height: 19px; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.obj-card.selected .obj-num { display: flex; }
.obj-icon { font-size: 18px; flex-shrink: 0; }
.obj-label { font-size: 12px; font-weight: 500; }
.obj-label-en { font-size: 11px; color: #888; margin-top: 1px; }
.selected-pairs { margin-bottom: 14px; }
.pair-card { background: #f8f8f5; border: 0.5px solid #e0e0d8; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pair-seq { width: 24px; height: 24px; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pair-obj { font-size: 13px; font-weight: 500; flex: 1; min-width: 80px; }
.pair-obj span { font-size: 11px; color: #888; font-weight: 400; margin-left: 4px; }
.pair-style-select { padding: 6px 10px; border: 0.5px solid #ddd; border-radius: 6px; font-size: 12px; background: #fff; color: #1a1a1a; cursor: pointer; min-width: 130px; }
.pair-style-select:focus { border-color: #999; outline: none; }
.pair-remove { font-size: 18px; color: #bbb; cursor: pointer; line-height: 1; padding: 0 4px; }
.pair-remove:hover { color: #e53935; }
.pair-empty { font-size: 13px; color: #bbb; padding: 10px 0; }
.res-card { border: 1.5px solid #e0e0d8; border-radius: 10px; padding: 12px; cursor: pointer; transition: all .15s; text-align: center; }
.res-card:hover { border-color: #888; background: #fafaf8; }
.res-card.selected { border-color: #1a1a1a; background: #1a1a1a; color: #fff; --res-sub: #aaa; }
