.card-rarity{display:inline-flex;align-items:center;gap:2px;vertical-align:middle;white-space:nowrap;flex-shrink:0;line-height:1}.card-rarity img{display:block;width:auto;height:18px;object-fit:contain;aspect-ratio:auto}.rarity-picker-trigger{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px;font-size:14px}.rarity-picker-trigger::after{content:'⌄';color:var(--muted)}.rarity-picker-trigger .card-rarity{gap:0}.rarity-picker-trigger .card-rarity img{height:16px}.rarity-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.rarity-dialog-header h2{margin:0}.rarity-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rarity-option{display:flex;align-items:center;justify-content:center;min-height:56px;border:1px solid var(--line);border-radius:12px;background:#f5f9fe;padding:12px;color:var(--navy);font-weight:650}.rarity-option:first-child{grid-column:1/-1}.rarity-option[aria-pressed=true]{background:#e9f4ff;border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.rarity-option:hover{border-color:var(--blue)}.rarity-option .card-rarity{gap:5px}.rarity-option .card-rarity img{height:28px}#rarity-dialog{width:min(420px,92vw)}.catalog-card .card-meta,.deck-row .card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.catalog-card .card-rarity img{height:13px}.deck-row .card-rarity img{height:12px}#preview-meta .card-rarity{margin-left:4px}.seo-card-detail .card-rarity{margin-left:4px}
@media(max-width:760px){.rarity-picker-trigger{font-size:12px;padding:8px;min-height:44px}.rarity-picker-trigger .card-rarity img{height:12px}.catalog-card .card-rarity{gap:0}.catalog-card .card-rarity img{height:11px}.rarity-option{min-height:52px}.rarity-option .card-rarity img{height:25px}.filter-field.rarity-field{flex-basis:94px}}
