.card-sheet-scroll{max-width:100%;min-width:0;overflow:auto;max-height:72vh;border:1px solid #363d4c;border-radius:12px;direction:ltr}
.card-sheet{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0;color:#eef1f6;background:#181b25;font-size:14px}
.card-sheet th,.card-sheet td{padding:8px 12px;border-bottom:1px solid #343d4c;text-align:left;vertical-align:middle}
.card-sheet th{position:sticky;top:0;z-index:2;background:#232b39;white-space:nowrap}
.card-sheet tbody tr:nth-child(even){background:#ffffff04}
.card-sheet td:first-child{min-width:68px}
.card-sheet td:nth-child(2){text-align:center}
.card-sheet td:last-child{min-width:180px}
.card-sheet .photo,.card-sheet .chase-card-photo{width:54px;height:74px;aspect-ratio:auto;min-height:0;border-radius:5px;display:grid;place-items:center;overflow:hidden}
.card-sheet .photo img,.card-sheet .chase-card-photo img{width:100%;height:100%;max-height:74px;object-fit:contain;padding:0}
.card-sheet .chase-card-photo .photo-flip{right:2px;bottom:2px;width:22px;height:22px;font-size:13px}
.card-sheet .chase-card-photo::before{width:65%;height:75%;border-radius:4px}
.card-sheet .photo .placeholder{width:100%;height:100%;max-width:54px;max-height:74px}
.card-sheet .card-sheet-actions{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap}
.card-sheet .qtyline,.card-sheet .chase-qty{margin:0;display:flex;gap:6px;flex-wrap:nowrap;align-items:center}
.card-sheet button{width:auto;min-width:28px;min-height:28px;margin:0;padding:4px 8px;white-space:nowrap}
.card-sheet .ownedtoggle,.card-sheet .chase-owned-toggle,.card-sheet .photobtn,.card-sheet .photo-add{position:static;transform:none;display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border-radius:8px}
.card-sheet .chase-owned-toggle{background:#222a38;color:#eef1f6;border:1px solid #475469}
.card-sheet [aria-pressed="true"].chase-owned-toggle{background:#c5f36b;color:#15200b;border-color:#c5f36b}
.card-sheet .trade-incoming-clock{color:#ffe08a;border-color:#ffe08a}
.card-sheet .reserved-copies{position:static;display:block;margin-top:4px;white-space:nowrap;font-size:11px}
.card-sheet .chase-cost{margin:0;min-width:110px}
.card-sheet .salecardbtn,.card-sheet .marketlink{margin:0}

.card-sheet th .card-sheet-sort{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left}
.card-sheet-sort::after{content:'↕';padding-inline-start:6px;opacity:.55}
.card-sheet th[aria-sort="ascending"] .card-sheet-sort::after{content:'↑';opacity:1}
.card-sheet th[aria-sort="descending"] .card-sheet-sort::after{content:'↓';opacity:1}
.card-sheet-sort:focus-visible{outline:2px solid #8ff4e8;outline-offset:3px}
