/* A continuous contact-sheet rail, adapted from the Playbook's Linear Carousel. */
.deck-rail,html.deck-expanded .deck-rail {
 left:50%;right:auto;top:auto;bottom:calc(var(--table-bottom) + 43px);transform:translateX(-50%);
 display:flex;flex-direction:row;align-items:center;gap:8px;max-width:min(580px,85vw);max-height:none;
 padding:8px 10px;overflow-x:auto;overflow-y:hidden;border:1px solid #ffffff12;border-radius:13px;
 background:#13162080;backdrop-filter:blur(12px);scrollbar-width:none;touch-action:pan-x;
}
.deck-thumb { border-radius:7px;padding:2px;opacity:.48;flex:none; }
.deck-thumb img { width:31px;height:37px;object-fit:cover;border-radius:4px; }
.deck-thumb[aria-pressed=true] { opacity:1;border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);transform:none; }
.deck-thumb:hover { opacity:1; }
html.deck-expanded .deck-rail { bottom:53px; }
#deckHint.deck-hint { bottom:calc(var(--table-bottom) + 14px);font-size:10px; }
.table .print .sheet,.table .print.free .sheet { border-radius:12px;box-shadow:0 1px 2px #0002,0 16px 35px #0003; }
.table .print .img-wrap { border-radius:8px; }
.table .print.deck-back .img-wrap::after { background:transparent; }
.table .print .acts { opacity:0;transition:opacity .18s; }
.table .print.deck-front:hover .acts,.table .print.deck-front:focus-within .acts,.table .print.deck-open .acts { opacity:1; }
@media(hover:none) { .table .print.deck-front .acts { opacity:1; } }
@media(max-width:719px) {
 .deck-rail { max-width:86vw;gap:6px;padding:6px 8px; }
 .deck-thumb img { width:25px;height:30px; }
 #deckHint.deck-hint { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { .table .print .acts { transition:none; } }
