/* A listing's card, as the shelves, the category pages, search and a publisher's page draw it. The picture side is always dark and tinted by the
   publisher, so its text is white in either theme; the body below it follows the theme. */
.tint-0 { --tint: #4f46e5; }
.tint-1 { --tint: #b91c1c; }
.tint-2 { --tint: #475569; }
.tint-3 { --tint: #7c3aed; }
.tint-4 { --tint: #0369a1; }
.tint-5 { --tint: #be185d; }
.tint-6 { --tint: #4d7c0f; }
.tint-7 { --tint: #334155; }
.tint-8 { --tint: #0d9488; }
.tint-9 { --tint: #d97706; }
.tint-10 { --tint: #0e7490; }
.tint-11 { --tint: #2563eb; }

.cap { display: flex; flex-direction: column; border-radius: 12px; background: var(--panel); transition: transform 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28); }
.cap:hover, .cap:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--acc), 0 0 26px var(--glow); }
.art { position: relative; display: block; height: 156px; overflow: hidden; border-radius: 12px 12px 0 0; background: #0c1420; }
.pic { position: absolute; inset: 0; background: radial-gradient(90% 80% at 74% 10%, var(--tint), transparent 64%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px), linear-gradient(160deg, color-mix(in srgb, var(--tint) 62%, #0c1420), color-mix(in srgb, var(--tint) 24%, #0c1420)); }
.mk { position: absolute; top: 18px; right: 20px; width: 78px; height: 78px; border-radius: 19px; overflow: hidden; display: grid; place-items: center; background: var(--tint); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.22); }
.mk.pictured { background: rgba(255, 255, 255, 0.14); }
.mk img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ltr { font-size: 44px; line-height: 1; color: #fff; }
.tag { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(6, 12, 20, 0.6); color: #e6eef7; font-size: 11px; border: 1px solid rgba(255, 255, 255, 0.2); }
.scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: linear-gradient(to top, rgba(7, 12, 19, 0.97) 0, rgba(7, 12, 19, 0.84) 40%, rgba(7, 12, 19, 0) 100%); }
.cover { position: absolute; left: 14px; right: 14px; bottom: 11px; }
.cname { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #f4f8fc; line-height: 1.2; overflow-wrap: anywhere; }
.pairs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.pair { display: inline-flex; align-items: center; gap: 4px; }
.pair + .pair { padding-left: 9px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.pg { stroke: #c6d4e4; }
.pl { color: #c6d4e4; font-size: 12px; margin-left: 3px; }
.join { width: 6px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.5); }
.pm { width: 18px; height: 18px; border-radius: 5px; overflow: hidden; display: inline-grid; place-items: center; background: var(--tint); }
.pm.pictured { background: rgba(255, 255, 255, 0.16); }
.pm img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pm .ltr { font-size: 11px; }
.cbody { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 10px 12px 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: var(--panel); }
.pline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; }
.pn { font-weight: 600; }
a.pn:hover { text-decoration: underline; color: var(--accT); }
.sig { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: var(--dim); font-size: 12.5px; min-height: 20px; }
.sg2 { display: inline-flex; align-items: center; gap: 5px; }
.sg2.dia .ic { color: var(--accT); }
.sg2.hrt .ic { color: var(--heart); }
.act { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.act .ver { margin-left: auto; color: var(--dim); font-size: 12px; }
