/* Release browsing, local batch additions, and restrained card presentation. */
.release-search-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-width:0; padding:0 0 12px; margin-bottom:14px; border-bottom:1px solid var(--line) }
.release-search-tools { display:contents }
.release-search-meta,.release-search-selection { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; min-width:0 }
.release-search-meta { flex:1 1 auto }
.release-search-summary { display:contents }
.release-checklist-actions { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.release-scope-select { width:clamp(9rem,19vw,16rem); max-width:100%; min-width:0; min-height:44px; padding:0 10px; text-overflow:ellipsis; border:1px solid var(--line-strong); border-radius:8px; background:var(--panel); color:var(--text); font:600 12px var(--font) }
.release-search-summary>.link-button { min-height:44px }
.release-search-count { font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums }
.release-search-status { display:flex; flex-wrap:wrap; align-items:center; gap:0 10px; margin:2px 0 9px; color:var(--muted); font-size:12px; line-height:1.5 }
.release-search-status button { min-height:44px }
.release-search-selection>span { font-size:12px; color:var(--muted) }
.release-search-selection :is(.btn,.link-button) { min-height:44px }
.release-select-toggle { min-height:44px }
.release-search-selection .release-selected-count { color:var(--text); font-weight:600 }
.release-selection-note { flex-basis:100%; margin:0; font-size:11px; color:var(--muted) }
.release-page-size { display:inline-flex; align-items:center; gap:6px; min-width:0; color:var(--muted); font-size:12px; white-space:nowrap }
.release-page-size select { min-height:44px; width:auto; min-width:52px; padding:0 5px; border:1px solid var(--line-strong); border-radius:8px; background:var(--panel); color:var(--text); font:600 12px var(--font); cursor:pointer }
.release-search-sort { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:12px }
.release-search-sort select,.release-search-disclosure>summary { min-height:44px; border:1px solid var(--line-strong); border-radius:8px; background:var(--panel); color:var(--text); font:600 12px var(--font); cursor:pointer }
.release-search-sort select { max-width:100%; padding:0 10px }
.release-search-disclosure { min-width:0 }
.release-search-disclosure>summary { display:flex; align-items:center; gap:7px; width:fit-content; padding:0 13px; list-style:none }
.release-search-disclosure>summary::-webkit-details-marker { display:none }
.release-search-disclosure>summary::after { content:""; width:6px; height:6px; margin:0 1px 3px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg) }
.release-search-disclosure>summary:hover,.release-search-sort select:hover { background:var(--hover) }
.release-search-disclosure[open] { flex-basis:100% }
.release-search-disclosure[open]>summary { background:var(--accent-dim); color:var(--accent) }
.release-search-disclosure[open]>summary::after { transform:rotate(225deg); margin:3px 1px 0 }
.release-filter-count { min-width:18px; padding:2px 5px; border-radius:6px; background:var(--accent-dim); color:var(--accent); text-align:center; font-variant-numeric:tabular-nums }
.release-search-panel { margin:8px 0 0; padding:0 16px; border:1px solid var(--line-strong); border-radius:10px; background:var(--panel) }
.release-search-panel .release-secondary-filters { border:0; margin-bottom:0 }
@media (min-width:641px) {
  .release-search-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto auto; position:relative; row-gap:0 }
  .release-search-tools>.release-page-size { margin-inline-end:6.5rem }
  .release-search-disclosure { grid-column:1/-1 }
  .release-search-disclosure>summary { position:absolute; inset-block-start:0; inset-inline-end:0 }
}
@media (max-width:640px) {
  #global-search,.release-picker-top>input[type="search"] { font-size:16px }
  .release-search-meta { flex-basis:100% }
  .release-search-toolbar { gap:6px 8px }
  .release-search-tools { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; position:relative; width:100%; min-width:0; column-gap:6px }
  .release-search-tools>.release-page-size { margin-inline-end:5.8rem }
  .release-search-sort { min-width:0; gap:4px }
  .release-search-sort select { min-width:0; width:100%; text-overflow:ellipsis }
  .release-search-disclosure { grid-column:1/-1 }
  .release-search-disclosure>summary { position:absolute; inset-block-start:0; inset-inline-end:0 }
  .release-search-panel { padding:0 12px }
  .release-search-panel .release-toolbar label { flex:1 1 140px; max-width:100% }
}
.library-pagination { flex-wrap:wrap; gap:8px 16px }
@media(max-width:360px) {
  .release-search-meta { column-gap:6px }
  .release-scope-select { width:38% }
  .release-search-sort,.release-search-tools>.release-page-size {
    flex-direction:column; align-items:stretch; gap:1px; font-size:11px; line-height:14px;
  }
  .release-search-disclosure>summary { inset-block-start:15px }
}
.card-art,
.product-card:nth-child(even) .card-art,
.detail-image .card-art,
.product-card:hover .card-art,
.product-card:nth-child(even):hover .card-art,
.product-card:focus-within .card-art { transform:none; transition:none }
.product-card,.catalog-card { position:relative; min-width:0; transform:none; transition:border-color .18s,box-shadow .18s }
.product-card:hover,.product-card:focus-within,.catalog-card:hover,.catalog-card:focus-within { border-color:var(--line-strong); box-shadow:0 6px 16px rgba(4,15,9,.18); transform:none }
.catalog-art { isolation:isolate }
.catalog-art>.scan-image,.catalog-card:hover .catalog-art>.scan-image,.catalog-card:focus-within .catalog-art>.scan-image { transform:none; transition:none }
.catalog-art::after,.card-art::after,.card-art.card-scan::after { display:none; animation:none }
.release-toolbar,.release-secondary-filters,.release-picker-top { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; margin:18px 0 }
.release-toolbar label,.release-secondary-filters label,.release-picker-top label { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:11px; line-height:1.5; min-width:0 }
.release-toolbar label { flex:1 1 200px }
.release-toolbar label:first-child { flex:0 1 150px }
.release-toolbar label:has(input[type="search"]) { flex:2 1 260px }
.release-toolbar input,.release-toolbar select,.release-secondary-filters input,.release-secondary-filters select,
.release-picker-top input,.release-picker-top select { min-height:44px; padding:10px 12px; width:100%; font-size:12px }
.release-toolbar>.btn,.release-picker-top>.btn { min-height:44px; flex-shrink:0 }
.release-secondary-filters label { flex:1 1 160px; max-width:280px }
.release-secondary-filters { padding:14px 0 18px; margin:0 0 15px; border-bottom:1px solid var(--line) }
.release-secondary-filters>.btn { min-height:44px }
.release-tabs { display:flex; flex-wrap:wrap; gap:9px; margin:18px 0 12px }
.release-tabs button { --tab-edge:var(--line-strong); display:flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:11px 16px; border:1px solid var(--tab-edge); border-radius:10px; background:var(--panel); color:var(--text); font-size:12px; line-height:1.4; font-weight:600; transition:background .18s,border-color .18s,box-shadow .18s }
.release-tabs button:hover { background:var(--hover); border-color:var(--gold) }
.release-tabs button.active,.release-tabs button[aria-pressed="true"] { border-color:var(--gold); background:linear-gradient(130deg,rgba(227,194,120,.17),var(--panel)); box-shadow:inset 0 0 0 1px rgba(227,194,120,.13); color:#f6dfaa }
.release-tabs button.special-art { --tab-edge:rgba(227,194,120,.38) }
.release-tabs button.pikachu-rare,.release-tabs button.classic { --tab-edge:rgba(227,194,120,.43); background:linear-gradient(120deg,rgba(227,194,120,.12),var(--panel)); color:#f1d698 }
.release-tabs button.futuristic { --tab-edge:rgba(179,165,221,.55); background:linear-gradient(120deg,rgba(179,165,221,.12),rgba(140,195,206,.11)); color:#d7d4f6 }
.release-tabs button.futuristic.active,.release-tabs button.futuristic[aria-pressed="true"] { border-color:var(--purple); background:linear-gradient(110deg,rgba(179,165,221,.26),rgba(140,195,206,.19)); box-shadow:inset 0 0 0 1px rgba(179,165,221,.18) }
.release-tabs button span,.release-tabs button small { min-width:18px; font-size:10px; font-weight:500; opacity:.75; font-variant-numeric:tabular-nums }
.release-tabs button:disabled { opacity:.4; cursor:not-allowed; box-shadow:none }
.release-meta-status { margin:10px 0 17px; color:var(--muted); font-size:11px; line-height:1.7; overflow-wrap:anywhere }
.release-meta-status progress { display:block; width:min(420px,100%); height:6px; accent-color:var(--accent); margin:9px 0 }
.release-select-label { position:absolute; display:flex; align-items:center; justify-content:center; left:9px; top:9px; width:44px; height:44px; border:1px solid var(--line-strong); border-radius:8px; background:var(--panel); z-index:4; cursor:pointer }
.release-select-label input,.card-effects-control input[type="checkbox"] { width:18px; height:18px; min-width:18px; min-height:18px; padding:0; margin:0; accent-color:var(--accent); cursor:pointer }
.catalog-card.release-selected { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) }
.card-effects-control { display:flex; align-items:center; gap:9px; min-height:44px; color:var(--muted); font-size:11px; line-height:1.5; cursor:pointer }
.card-effects-control label { display:flex; flex-direction:row; align-items:center; gap:9px; min-height:44px; cursor:pointer }
.release-picker-top label { flex:1 1 170px }
.release-picker-top>input { flex:2 1 240px; min-width:0 }
label.release-picker-top { display:flex; flex-direction:column; align-items:stretch; gap:7px; color:var(--muted); font-size:11px; line-height:1.5 }
label.release-picker-top>input { flex:none; width:100%; min-width:0 }
#release-new-collection-field[hidden] { display:none !important }
dialog.release-review-dialog[open],dialog.release-picker-dialog[open] { display:flex; flex-direction:column; width:min(940px,calc(100% - 28px)); max-height:90dvh; overflow:hidden }
.release-review-dialog .dialog-header,.release-review-dialog .dialog-footer,
.release-picker-dialog .dialog-header,.release-picker-dialog .dialog-footer { flex-shrink:0 }
.release-review-dialog .dialog-body,.release-picker-dialog .dialog-body { min-height:0; overflow:auto; overscroll-behavior:contain }
.release-review-dialog .dialog-footer .btn,.release-picker-dialog .dialog-footer .btn { min-height:44px }
.release-review-scroll { overflow:auto; max-width:100%; border:1px solid var(--line); border-radius:9px }
.release-review-table { width:100%; min-width:660px; border-collapse:collapse; table-layout:fixed; font-size:12px; line-height:1.5 }
.release-review-table th { padding:12px 10px; font-size:11px; color:var(--muted); text-align:left; font-weight:500; border-bottom:1px solid var(--line); background:var(--page) }
.release-review-table th:first-child { width:30% }
.release-review-table th:nth-child(2) { width:26% }
.release-review-table th:nth-child(3) { width:15% }
.release-review-table th:nth-child(4) { width:19% }
.release-review-table td { vertical-align:top; padding:13px 10px; border-bottom:1px solid var(--line); overflow-wrap:anywhere }
.release-review-table tr:last-child td { border-bottom:0 }
.release-review-table strong { display:block; font-size:12px; font-weight:600 }
.release-review-table small { display:block; color:var(--muted); font-size:10px; line-height:1.6; margin-top:5px }
.release-review-table select,.release-review-table input { display:block; width:100%; min-width:0; min-height:44px; padding:9px 8px; font-size:12px }
.release-review-table input[type="number"] { font-variant-numeric:tabular-nums }
.release-review-table input[aria-invalid="true"],.release-review-table select[aria-invalid="true"] { border-color:var(--down) }
.release-review-table .link-button { min-height:44px }
.release-review-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; padding:16px; margin:18px 0 12px; border:1px solid var(--line); border-radius:9px; background:var(--page) }
.release-review-summary>div { display:flex; flex-direction:column; gap:6px }
.release-review-summary span { color:var(--muted); font-size:11px }
.release-review-summary strong { color:var(--text); font-size:18px; font-weight:600; font-variant-numeric:tabular-nums }
.release-batch-note { margin:12px 0; font-size:12px; line-height:1.7; color:var(--muted) }
.release-batch-error { margin:10px 0; font-size:12px; line-height:1.6; color:var(--down) }
.release-batch-error:empty { display:none }
.release-view-controls { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; margin:18px 0 }
.release-view-controls label { display:flex; flex-direction:column; gap:7px; min-width:0; flex:1 1 175px; max-width:300px; color:var(--muted); font-size:11px; line-height:1.5 }
.release-view-controls select,.release-view-controls input { width:100%; min-height:44px; padding:10px 12px; font-size:12px }
.release-view-controls>.btn { min-height:44px; white-space:normal }
.release-view-controls label:has(input[type="checkbox"]) { flex-direction:row; align-items:center; min-height:44px; cursor:pointer }
.release-view-controls input[type="checkbox"] { width:18px; min-width:18px; height:18px; min-height:18px; margin:0; padding:0; accent-color:var(--accent) }
.release-checklist-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 12px }
.completion-stat { min-width:0; padding:16px; border:1px solid var(--line); border-radius:10px; background:var(--panel) }
.completion-stat strong { display:block; font-size:23px; font-weight:600; line-height:1.4; color:var(--text); font-variant-numeric:tabular-nums; overflow-wrap:anywhere }
.completion-stat span { display:block; margin-top:6px; font-size:11px; line-height:1.6; color:var(--muted) }
.release-checklist-note { margin:12px 0 16px; color:var(--muted); font-size:12px; line-height:1.7; overflow-wrap:anywhere }
.release-checklist-scroll { width:100%; max-width:100%; overflow:auto; border:1px solid var(--line); border-radius:10px }
.release-checklist-table { width:100%; min-width:730px; table-layout:fixed; border-collapse:collapse; color:var(--text); font-size:12px; line-height:1.5 }
.release-checklist-table th { padding:13px 11px; color:var(--muted); font-size:11px; font-weight:500; text-align:left; background:var(--page); border-bottom:1px solid var(--line) }
.release-checklist-table th:nth-child(1) { width:26% }
.release-checklist-table th:nth-child(2) { width:22% }
.release-checklist-table th:nth-child(3),.release-checklist-table th:nth-child(4) { width:10% }
.release-checklist-table th:nth-child(5) { width:17% }
.release-checklist-table th:nth-child(6) { width:15% }
.release-checklist-table td { padding:13px 11px; vertical-align:middle; border-bottom:1px solid var(--line); overflow-wrap:anywhere; font-variant-numeric:tabular-nums }
.release-checklist-table tbody tr:last-child td { border-bottom:0 }
.release-checklist-table td>strong { display:block; font-size:12px; font-weight:600; line-height:1.5 }
.release-checklist-table small { display:block; margin-top:5px; color:var(--muted); font-size:10px; line-height:1.6 }
.release-checklist-table .btn,.release-checklist-table .link-button,.release-checklist-table button { min-height:44px; font-size:11px; white-space:normal }
.release-checklist-table .btn { padding:9px 11px; justify-content:center }
.release-checklist-table td:first-child button { text-align:left }
.printing-owned,.printing-missing,.printing-unknown { display:inline-flex; align-items:center; gap:5px; max-width:100%; padding:4px 7px; border-radius:5px; border:1px solid var(--line); font-size:10px; font-weight:500; line-height:1.5; overflow-wrap:anywhere }
.printing-owned { background:var(--accent-dim); color:var(--accent) }
.printing-missing { background:var(--panel-2); color:var(--gold) }
.printing-unknown { background:var(--page); color:var(--muted) }
.release-total-cost { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 12px; margin:16px 0; padding:15px; border:1px solid var(--line); border-radius:9px; background:var(--page) }
.release-total-cost label { display:flex; flex-direction:column; gap:7px; flex:1 1 200px; min-width:0; color:var(--muted); font-size:11px; line-height:1.5 }
.release-total-cost input { min-width:0; width:100%; min-height:44px; padding:10px 12px; font-size:13px; font-variant-numeric:tabular-nums }
.release-total-cost>input { flex:1 1 200px }
.release-total-cost>.btn,.release-total-cost>button { min-height:44px; flex-shrink:0; white-space:normal }
.release-total-cost>small,.release-total-cost>p { flex-basis:100%; color:var(--muted); font-size:11px; line-height:1.6; margin:0 }
@media(max-width:760px) {
  .release-toolbar label,.release-toolbar label:first-child,.release-toolbar label:has(input[type="search"]) { flex:1 1 130px }
  .release-toolbar label:has(input[type="search"]) { flex-basis:100% }
  .release-toolbar select,.release-toolbar input,.release-picker-top select,.release-picker-top input { font-size:14px }
  .release-secondary-filters { gap:10px }
  .release-secondary-filters label { flex:1 1 130px; max-width:none }
  .release-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
  .release-tabs button { min-height:48px; padding:10px 8px; font-size:11px; gap:6px }
  .release-tabs button span,.release-tabs button small { font-size:10px }
  .release-picker-top { gap:10px }
  .release-picker-top label { flex:1 1 120px }
  .release-picker-top>input { flex-basis:100% }
  .release-review-scroll { border:0; overflow:visible }
  .release-review-dialog .dialog-header,.release-picker-dialog .dialog-header { padding:20px 18px 14px }
  .release-review-dialog .dialog-body,.release-picker-dialog .dialog-body { padding:4px 18px 20px }
  .release-review-dialog .dialog-footer,.release-picker-dialog .dialog-footer { padding:14px 18px }
  .release-review-table { display:block; min-width:0; width:100% }
  .release-review-table thead { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap }
  .release-review-table tbody { display:grid; gap:13px }
  .release-review-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:15px; border:1px solid var(--line); border-radius:9px; background:var(--page) }
  .release-review-table td { display:block; padding:0; min-width:0; border:0 }
  .release-review-table td:first-child,.release-review-table td:nth-child(2),.release-review-table td:last-child,.release-review-table td[colspan] { grid-column:1/-1 }
  .release-review-table td[data-label]::before { content:attr(data-label); display:block; margin-bottom:7px; font-size:11px; color:var(--muted); line-height:1.5 }
  .release-review-table td:first-child::before { display:none }
  .release-review-table strong { font-size:13px }
  .release-review-table select,.release-review-table input { min-height:46px; font-size:16px; background:var(--panel) }
  .release-review-summary { align-items:flex-start; padding:14px; gap:12px }
  .release-review-summary strong { font-size:16px }
  .release-view-controls { gap:10px }
  .release-view-controls label { flex:1 1 130px; max-width:none }
  .release-view-controls select,.release-view-controls input { font-size:14px }
  .release-checklist-summary { gap:8px }
  .completion-stat { padding:13px 11px }
  .completion-stat strong { font-size:18px }
  .completion-stat span { font-size:10px }
  .release-checklist-scroll { border:0; overflow:visible }
  .release-checklist-table { display:block; min-width:0; width:100% }
  .release-checklist-table thead { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap }
  .release-checklist-table tbody { display:grid; gap:12px }
  .release-checklist-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 12px; padding:15px; border:1px solid var(--line); border-radius:9px; background:var(--panel) }
  .release-checklist-table td { display:block; min-width:0; padding:0; border:0 }
  .release-checklist-table td:first-child,.release-checklist-table td:nth-child(2),.release-checklist-table td:last-child,.release-checklist-table td[colspan] { grid-column:1/-1 }
  .release-checklist-table td[data-label]::before { content:attr(data-label); display:block; margin-bottom:6px; color:var(--muted); font-size:11px; line-height:1.5 }
  .release-checklist-table td:first-child::before { display:none }
  .release-checklist-table td>strong { font-size:13px }
  .release-checklist-table td:last-child .btn { width:100%; justify-content:center }
  .release-checklist-table td:last-child:has(button)::before { display:none }
  .release-checklist-table td:nth-child(5) { grid-column:1/-1; padding-top:10px; border-top:1px solid var(--line) }
  .release-total-cost { padding:13px }
  .release-total-cost label,.release-total-cost>input { flex-basis:100% }
  .release-total-cost input { font-size:16px }
  .release-total-cost>.btn,.release-total-cost>button { width:100%; justify-content:center }
}
/* Motion controls override both new effects and the original collection hover. */
.release-checklist-table td:last-child .btn + .btn { margin-top:8px }
[data-card-effects="off"] .product-card,
[data-card-effects="off"] .catalog-card,
[data-card-effects="off"] .card-art,
[data-card-effects="off"] .product-card:nth-child(even) .card-art,
[data-card-effects="off"] .catalog-art>.scan-image { transform:none !important; transition:none !important }
[data-card-effects="off"] .catalog-art::after,[data-card-effects="off"] .card-art::after { display:none !important; animation:none !important }
[data-card-effects="off"] .product-card:hover,[data-card-effects="off"] .product-card:focus-within,[data-card-effects="off"] .catalog-card:hover,[data-card-effects="off"] .catalog-card:focus-within { box-shadow:none }
@media(prefers-reduced-motion:reduce) {
  .product-card,.catalog-card,.card-art,.product-card:nth-child(even) .card-art,.catalog-art>.scan-image { transform:none !important; transition:none !important; animation:none !important }
  .catalog-art::after,.card-art::after { display:none !important; animation:none !important }
  .product-card:hover,.product-card:focus-within,.catalog-card:hover,.catalog-card:focus-within { box-shadow:none }
  .release-tabs button { transition:none }
}

/* Use the same card footprint in the market, release picker, and personal grids. */
.catalog-grid.compact-card-grid, .cards-grid.compact-card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,148px),1fr));
  gap:10px;
}
.compact-card {
  --card-gutter:8px;
  --card-add-size:44px;
  display:flex;
  flex-direction:column;
  min-width:0;
  border-radius:9px;
}
.compact-card .compact-card-open {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:stretch;
  width:100%;
  min-width:0;
  padding:0;
  text-align:start;
}
.compact-card .compact-card-open:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:-2px;
}
.compact-card .compact-card-art {
  position:relative;
  display:grid;
  grid-template:minmax(0,1fr) / minmax(0,1fr);
  place-items:center;
  width:100%;
  height:154px;
  padding:6px;
}
.compact-card-art > .scan-image {
  width:100%;
  height:100%;
  object-fit:contain;
}
.compact-card-illustration { width:76%; max-width:96px; height:auto; object-fit:contain }
.compact-card .compact-card-copy {
  display:flex;
  flex:1;
  flex-direction:column;
  gap:2px;
  width:100%;
  padding:6px var(--card-gutter) 0;
}
.compact-card .compact-card-copy h3 {
  margin:0;
  font-size:13px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.compact-card-number, .compact-card-owned, .compact-card .compact-price-value small,
.compact-card .compact-price-empty {
  color:var(--muted);
  font-size:11px;
  line-height:1.3;
}
.compact-card-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:1px 7px;
}
.compact-card .compact-card-price {
  display:flex;
  flex-direction:row;
  align-items:center;
  min-height:var(--card-add-size);
  margin:0;
  margin-inline-end:var(--card-add-size);
  padding-inline-start:var(--card-gutter);
  line-height:1.25;
  overflow-wrap:anywhere;
}
.compact-price-value strong {
  font-size:14px;
  font-weight:600;
  color:var(--accent);
}
.compact-card-owned { font-variant-numeric:tabular-nums }
.compact-card .compact-card-add {
  position:absolute;
  inset-inline-end:0;
  inset-block-end:0;
  display:grid;
  place-items:center;
  width:var(--card-add-size);
  height:var(--card-add-size);
  padding:0;
  background:transparent;
  color:var(--accent);
}
.compact-card-add .icon {
  box-sizing:border-box;
  width:28px;
  height:28px;
  padding:5px;
  border:1px solid var(--line-strong);
  border-radius:7px;
  background:var(--accent-dim);
  stroke-width:2.3;
}
.compact-card-add:is(:hover,:focus-visible) .icon { border-color:var(--accent) }
.compact-card-add:focus-visible { outline:2px solid var(--accent); outline-offset:-3px }
@media (max-width:600px) {
  .catalog-grid.compact-card-grid, .cards-grid.compact-card-grid {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,106px),1fr));
    gap:7px;
  }
  .compact-card .compact-card-art { height:clamp(112px,31vw,144px); padding:4px }
  .compact-card { --card-gutter:6px }
  .compact-card .compact-card-copy { padding-top:5px }
  .compact-card .compact-card-copy h3 { font-size:12px }
}
