/* 石器传奇官网页（装备藏宝阁、来吉卡公示）；在 styles.css + trade.css 之上加一点。品质色与游戏里一致（mir_rules.gd QUALITY_COLORS 的浅底版） */
.q0 { color: #5b5547; }
.q1 { color: #2f9e2c; }
.q2 { color: #2479c2; }
.q3 { color: #9a3fd0; }
.q4 { color: #c98a00; }
.q5 { color: #e06b00; }
.q6 { color: #d12a1a; }
.gold { color: #c98a00; }
.need { color: #a3703a; }
.dim { color: #8b8578; }

.mir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mir-empty { grid-column: 1 / -1; text-align: center; padding: 30px 0; }
.mir-card {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; text-align: left;
  padding: 10px 12px; border: 2px solid var(--line); border-radius: 14px; background: #fffdf6; cursor: pointer;
  font: inherit; color: inherit;
}
.mir-card:hover { border-color: currentColor; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.mir-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #fff; background: #8b7a5c; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.mir-card.q1 .mir-icon { background: #3aa13a; }
.mir-card.q2 .mir-icon { background: #2c84cf; }
.mir-card.q3 .mir-icon { background: #9c46d4; }
.mir-card.q4 .mir-icon { background: linear-gradient(135deg, #f2c94c, #c98a00); }
.mir-card.q5 .mir-icon { background: linear-gradient(135deg, #ffb057, #e06b00); }
.mir-card.q6 .mir-icon { background: linear-gradient(135deg, #ff7a5a, #b8160a 60%, #f2c94c); }
.mir-name { font-weight: 800; }
.mir-line, .mir-seller { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mir-price { text-align: right; white-space: nowrap; }
.mir-vip { font-size: 14px; }
.mir-detail { border: 2px dashed var(--line); border-radius: 12px; padding: 10px 14px; margin: 6px 0 12px; line-height: 1.7; }
.mir-dl { font-size: 14px; }
.mir-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#detailTitle.q4, #detailTitle.q5, #detailTitle.q6 { text-shadow: 0 0 10px rgba(255, 190, 60, .45); }

.mir-pool { margin-top: 18px; }
.mir-pool table.list td.rate { text-align: right; font-weight: 800; }
.mir-rare { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; font-size: 12px; color: #fff; background: #d1601a; }
.mir-cards { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .mir-grid { grid-template-columns: 1fr; }
}
.filters input, .filters select { width: auto; }
.filters input { flex: 0 1 220px; min-width: 140px; }
