.lbCatalog [data-home-shelf-info] .lbShelfTitle {
  display: grid;
  place-items: center;
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 2.4em;
  margin: 5px 0 3px;
  font-size: .875rem;
  text-align: center;
}
.lbCatalog [data-home-shelf-info] .lbShelfTitle h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  inline-size: 100%;
  min-block-size: 0;
  margin: 0;
}
.lbCatalog [data-home-shelf-info] .lbShelfHighlight {
  grid-row: 3;
  block-size: 1rem;
}
.lbCatalog [data-home-shelf-info] .lbShelfHighlight[aria-hidden="true"]::before { content: none; }
.lbShelfActions {
  position: relative;
  inset-block-start: 6px;
  display: grid;
  grid-row: 5;
  grid-template-columns: minmax(0,1fr) minmax(min(92px,100%),max-content) minmax(0,1fr);
  align-self: end;
  align-items: end;
  inline-size: 100%;
}
.lbIssuerBadge {
  --lb-issuer-tone: #e9edf2;
  --lb-issuer-hit: 30px;
  --lb-issuer-cover-width: 89px;
  position: absolute;
  z-index: 2;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: grid;
  place-items: start end;
  box-sizing: border-box;
  /* Extend the hit area into the gutter, never across the card art. */
  inline-size: min(var(--lb-issuer-hit), max(18px, calc((100% - var(--lb-issuer-cover-width)) / 2)));
  block-size: var(--lb-issuer-hit);
  min-inline-size: 0;
  border: 0;
  border-radius: 4px;
  padding: 7px 5px 0 0;
  background: none;
  color: var(--lb-issuer-tone);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.lbIssuerBadge > svg {
  inline-size: 13px;
  block-size: 13px;
}
.lbIssuerBadge[data-issuer-tone="blue"] { --lb-issuer-tone: #82c9ff; }
.lbIssuerBadge[data-issuer-tone="gold"] { --lb-issuer-tone: #f0ca80; }
.lbIssuerBadge:is(:hover,[aria-expanded="true"]) > svg { filter: drop-shadow(0 0 3px currentColor); }
.lbIssuerBadge:focus-visible { outline: 1px solid currentColor; outline-offset: -1px; }
.lbCatalog [data-home-shelf-info] .lbDrawProgressStats { position: relative; }
.lbCatalog [data-home-shelf-info] :is(.lbDrawProgressLabel,.lbDrawProgressCount) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.lbCatalog [data-home-shelf-info] .lbDrawProgressIntro {
  block-size: 2.8em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: pre-line;
}
html[lang="en"] .lbCatalog [data-home-shelf-info] .lbDrawProgressIntro > span { display: inline; }
html[lang="en"] .lbCatalog [data-home-shelf-info] .lbDrawProgressIntro > span + span::before { content: " "; }
.lbCatalog [data-home-shelf-info] .lbShelfActions .lbShelfPrice {
  grid-area: 1 / 2;
  justify-self: center;
  inset-block-start: auto;
  grid-template-columns: auto 16px;
  inline-size: max-content;
  min-inline-size: min(92px, 100%);
  max-inline-size: 100%;
}
.lbShelfSr {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lbShelfIssuerTooltip {
  --lb-issuer-ink: #e5edf6;
  position: fixed;
  inset: auto;
  z-index: 9999;
  box-sizing: border-box;
  inline-size: 14.75rem;
  max-inline-size: calc(100vw - 20px);
  max-block-size: calc(100dvh - 20px);
  overflow: auto;
  margin: 0;
  padding: 12px 14px 11px;
  border: 1px solid #39516a;
  border-radius: 13px;
  background: #101a28;
  box-shadow: 0 12px 30px #050a12cc, inset 0 1px #c5e5ff13;
  color: #e9f2fa;
  font: 400 .8125rem/1.3 "Segoe UI", system-ui, sans-serif;
  text-align: start;
  overflow-wrap: anywhere;
}
.lbShelfIssuerTooltip[data-issuer-tone="blue"] { --lb-issuer-ink: #82c9ff; }
.lbShelfIssuerTooltip[data-issuer-tone="gold"] { --lb-issuer-ink: #f0ca80; }
.lbShelfIssuerTooltip .lbIssuerIdentity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
}
.lbShelfIssuerTooltip .lbIssuerName {
  color: #f2f7fc;
  font-size: .9375rem;
  font-weight: 700;
}
.lbShelfIssuerTooltip .lbIssuerHandle { color: #a5b9ce; }
.lbShelfIssuerTooltip .lbIssuerIdentity svg {
  align-self: center;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--lb-issuer-ink);
}
.lbShelfIssuerTooltip .lbIssuerStat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #b6d9ff23;
  color: #afc5da;
}
.lbShelfIssuerTooltip .lbIssuerCount {
  flex: none;
  color: #d6ebff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) {
  .lbIssuerBadge { --lb-issuer-cover-width: 98px; }
}
@media (max-width: 767px) {
  .lbCatalogShelf:is([data-shelf="house"],[data-shelf="single"]) .lbShelfCards {
    --lb-booster-gap: 12px;
    --lb-booster-edge: 6px;
    margin-inline: 0;
    padding-inline: var(--lb-booster-edge);
    scroll-padding-inline: var(--lb-booster-edge);
    column-gap: var(--lb-booster-gap);
    grid-auto-columns: calc((100% - var(--lb-booster-gap)) / 2);
    scroll-snap-type: inline mandatory;
    mask-image: none;
  }
  .lbCatalogShelf:is([data-shelf="house"],[data-shelf="single"]).is-expanded .lbShelfCards {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-columns: initial;
    scroll-snap-type: none;
  }
  .lbCatalogShelf:is([data-shelf="house"],[data-shelf="single"]) .lbProductMedia { overflow-inline: clip; }
  .lbIssuerBadge { --lb-issuer-hit: 36px; --lb-issuer-cover-width: 80px; }
}
