/* Full table compositions are selected directly within the catalogue cards. */
.bs-card[data-category=table] .bs-card-visual {
  height:clamp(280px,28vw,360px);
  aspect-ratio:auto;
}
.bs-card[data-category=table] .tbl-card-poster {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e3e9eb;
}
.bs-card[data-category=table] .tbl-card-poster>img {
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
[data-card-table-formats] {
  display:flex;
  gap:8px;
  align-items:stretch;
  padding:8px;
  border:1px solid var(--bs-line);
  background:#e6eef1;
}
[data-card-table-format] {
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:44px;
  padding:10px 12px;
  border:1px solid transparent;
  font-size:12px;
  line-height:1.3;
}
[data-card-table-format][aria-pressed=true] {
  background:var(--bs-ink);
  border-color:var(--bs-ink);
  color:white;
}
[data-card-table-format]:hover:not([aria-pressed=true]):not(:disabled) {
  background:#d4e7ee;
  border-color:var(--bs-line);
}
[data-card-table-format]:focus-visible {
  position:relative;
  z-index:1;
  outline:2px solid var(--bs-blue);
  outline-offset:2px;
}
@media(max-width:520px) {
  .bs-card[data-category=table] .bs-card-visual {height:380px}
}
