.brickset-sync-bar{display:contents;color:var(--muted);font-size:14px}
.brickset-sync-bar[hidden]{display:none}
.brickset-sync-bar>span:first-child:not(:empty)::before{content:' · '}
.brickset-total-card{position:relative}
.brickset-refresh{display:none;position:absolute;top:12px;right:12px;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;background:transparent;color:var(--ink,#242622);cursor:pointer}
.brickset-collection-active .brickset-refresh{display:inline-flex}
.brickset-collection-active .brickset-total-card>span:first-child{display:block;padding-right:24px}
.brickset-refresh .material-symbols-rounded{font-size:17px;color:inherit}
.brickset-refresh:hover{background:transparent;color:var(--accent,#ff5a35)}
.brickset-refresh:disabled{opacity:.6;cursor:default}
.brickset-collection-active #addFigure,.brickset-collection-active .add-photo-overlay{display:none!important}
@media (max-width: 560px) {
  .brickset-collection-active .quick-search.is-visible { bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (560px < width <= 600px) {
  .brickset-collection-active .quick-search.is-visible { top: 143px; }
}
.brickset-collection-active .own:disabled,.brickset-collection-active #detailOwn:disabled{opacity:1;cursor:default}
.brickset-collection-active .wish{display:none}
.brickset-collection-active [data-stat-filter="owned"]{cursor:default;opacity:1}
.brickset-collection-active .filters label[hidden]{display:none}
.brickset-pagination{display:flex;align-items:center;justify-content:center;gap:16px;grid-column:1/-1;margin:0 0 16px;color:var(--muted);font-size:14px}
.brickset-pagination[hidden]{display:none}
.brickset-pagination-bottom{margin:20px 0 0}
.brickset-pagination button{border:1px solid var(--line);background:transparent;color:var(--ink);padding:8px 14px;font:inherit}
.brickset-pagination button:hover:not(:disabled){background:var(--ink);color:var(--paper)}
.brickset-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:850px){.brickset-pagination{order:3}.brickset-pagination-bottom{order:4}}
@media(min-width:601px){.brickset-refresh .material-symbols-rounded{font-size:19px}}
@media(max-width:600px){.brickset-sync-bar{font-size:12px}.brickset-refresh{top:10px;right:10px}}
#bricksetDefaultTagButton {
  display: none;
  align-items: center;
  gap: .4rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.brickset-collection-active #bricksetDefaultTagButton { display: inline-flex; }
.brickset-collection-active .brickset-tag-static-title { display: none; }
#bricksetDefaultTagButton .material-symbols-rounded {
  font-size: 1.62em;
  font-size: 2.16cap;
  line-height: 1;
}
.tag-filters .brickset-tag-pinned::after {
  content: "push_pin";
  font-family: "Material Symbols Rounded";
  font-size: 1em;
  margin-inline-start: .3em;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.brickset-default-tag-dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}
.brickset-default-tag-dialog h2 { margin: 0; }
.brickset-default-tag-dialog p { color: var(--muted); margin: .5em 0 1em; }
#bricksetTagSearch {
  width: 100%;
  margin: 6px 0 12px;
  padding: 8px 10px;
  font: inherit;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
#bricksetTagChoices {
  min-width: 0;
  max-height: min(260px, 42dvh);
  overflow: auto;
  padding: 4px 8px;
  margin: 0;
  border: 1px solid var(--line);
}
#bricksetTagChoices label:not([hidden]) {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  cursor: pointer;
}
#bricksetTagChoices input { accent-color: var(--accent); }
#bricksetTagStatus:empty { display: none; }
.brickset-tag-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#clearBricksetDefaultTags { margin-inline-end: auto; }
.brickset-tag-dialog-actions button {
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.brickset-tag-dialog-actions button[type="submit"] {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
