/* Browser-local collections only. These assets load on logo and collection pages. */
.bl-collections [hidden],
.bl-collection-toast[hidden],
.bl-collection-toast [hidden] {
  display: none !important;
}
.sav-n-share-inner > div button {
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 16px;
  line-height: 22px;
  white-space: nowrap;
  justify-content: center;
}
.sav-n-share-inner > div button svg {
  flex-shrink: 0;
}
.sav-n-share-inner [data-collection-save] {
  width: auto;
}
.sav-n-share-inner [data-collection-save][aria-pressed="true"] {
  color: #0755c9;
  border-color: #9abff4;
  background: #edf3ff;
}
.sav-n-share-inner [data-collection-save][aria-pressed="true"] svg {
  fill: currentColor;
}
.sav-n-share-inner [data-collection-save]:disabled {
  cursor: wait;
  opacity: 0.6;
}
/* Non-blocking save feedback; no space reserved beneath the Save button. */
.bl-collection-toast {
  position: fixed;
  right: clamp(16px, 2vw, 24px);
  bottom: calc(clamp(160px, 20vh, 220px) + env(safe-area-inset-bottom, 0px));
  transform-origin: bottom right;
  z-index: 1000;
  display: flex;
  width: min(440px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 16px 64px 16px 20px;
  border: 1px solid #3b485d;
  border-radius: 14px;
  background: #172233;
  color: #f4f7fc;
  box-shadow: 0 12px 36px #0b12214d;
}
.bl-collection-toast-content {
  flex: 1;
  min-width: 0;
}
.bl-collection-toast-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bl-collection-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #263e5e;
  color: #91c5ff;
}
.bl-collection-toast-icon svg {
  width: 18px;
  height: 18px;
}
.bl-collection-toast-check {
  display: none;
}
.bl-collection-toast[data-kind="success"] .bl-collection-toast-check {
  display: block;
}
.bl-collection-toast[data-kind="success"] .bl-collection-toast-info {
  display: none;
}
.bl-collection-toast[data-kind="error"] {
  border-color: #a47738;
}
.bl-collection-toast[data-kind="error"] .bl-collection-toast-icon {
  background: #4a3822;
  color: #ffd08a;
}
.bl-collection-toast p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.bl-collection-toast [data-collection-tip] {
  margin: 0 0 12px;
  color: #c3cddd;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}
.bl-collection-toast [data-collection-tip] svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  fill: currentColor;
}
.bl-collection-toast a {
  color: #91c5ff;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bl-collection-toast [data-collection-toast-close] {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: transparent;
  color: #c3cddd;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.bl-collection-toast [data-collection-toast-close]:hover {
  background: #2b3a50;
  color: #fff;
}
.bl-collection-toast :focus-visible {
  outline: 2px solid #91c5ff;
  outline-offset: 3px;
}
.bl-collections {
  max-width: 1200px;
  width: calc(100% - 48px);
  margin: 40px auto 64px;
  color: #17243b;
}
.bl-collections *,
.bl-collections *::before,
.bl-collections *::after {
  box-sizing: border-box;
}
.bl-collections-heading {
  margin-bottom: 28px;
}
.bl-collections-back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #0755c9;
}
.bl-collections h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  margin: 0 0 12px;
}
.bl-collections h1 [data-collection-count] {
  padding: 4px 10px;
  border-radius: 20px;
  background: #eaf1ff;
  color: #0755c9;
  font-size: 15px;
  font-weight: 500;
}
.bl-collections-heading p {
  color: #5c6d84;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}
.bl-collections-controls {
  display: flex;
  align-items: end;
  gap: 16px;
}
.bl-collections-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.bl-collections-search {
  flex: 1;
  min-width: 0;
}
.bl-collections-sort {
  flex: 0 0 200px;
}
.bl-collections input,
.bl-collections select,
.bl-collections button {
  font: inherit;
}
.bl-collections input,
.bl-collections select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6dfec;
  border-radius: 8px;
  background: #fff;
  color: #17243b;
  font-weight: 400;
  font-size: 14px;
}
.bl-collections input:focus,
.bl-collections select:focus {
  outline: none;
  border-color: #0866ff;
}
.bl-collections :focus-visible {
  outline: 2px solid #0866ff;
  outline-offset: 3px;
}
.bl-collections-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 13px;
  color: #52637b;
  line-height: 1.5;
}
.bl-collections-feedback button {
  color: #0755c9;
  background: transparent;
  border: 0;
  padding: 8px 4px;
  text-decoration: underline;
  cursor: pointer;
}
.bl-collections-result {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5c6d84;
}
.bl-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  scroll-margin-top: 24px;
}
.bl-collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
}
.bl-collection-card-link {
  flex: 1;
  display: block;
  color: inherit;
}
.bl-collection-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 18px;
  border-radius: 8px;
  background: repeating-conic-gradient(#f1f3f7 0% 25%, #fff 0% 50%) 50% / 16px 16px;
  color: #6b778b;
  font-size: 12px;
  text-align: center;
}
.bl-collection-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bl-collection-card h2 {
  font-size: 15px;
  line-height: 1.5;
  margin: 14px 0 8px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bl-collection-unavailable {
  margin: 0 0 8px;
  color: #8b4b16;
  font-size: 13px;
  line-height: 1.5;
}
.bl-collection-remove {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #6b778b;
  font-size: 12px !important;
  cursor: pointer;
}
.bl-collection-remove:hover {
  color: #b52c2c;
  text-decoration: underline;
}
.bl-collections-empty {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed #d2ddeb;
  border-radius: 12px;
  background: #fff;
}
.bl-collections-empty h2 {
  font-size: 21px;
  margin: 0 0 10px;
}
.bl-collections-empty p {
  margin: 0 0 20px;
  color: #5c6d84;
  line-height: 1.6;
}
.bl-collections-empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: #0866ff;
  color: #fff;
}
.bl-collections-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  font-size: 13px;
}
.bl-collections-pagination button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d6dfec;
  border-radius: 8px;
  background: #fff;
  color: #17243b;
  cursor: pointer;
}
.bl-collections-pagination button:disabled {
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 900px) {
  .bl-collections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .sav-n-share-inner {
    padding: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .bl-collections {
    width: calc(100% - 28px);
    margin-top: 28px;
  }
  .bl-collections-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .bl-collections-search {
    flex-basis: 100%;
  }
  .bl-collections-sort {
    flex: 1;
  }
  .bl-collections input,
  .bl-collections select {
    font-size: 16px;
  }
  .bl-collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .bl-collection-card {
    padding: 10px;
  }
  .bl-collection-art {
    padding: 12px;
  }
  .bl-collection-card h2 {
    font-size: 14px;
  }
}
