gifter-catalog { display: grid; gap: 12px; }
gifter-catalog [hidden] { display: none !important; }
.nft-tabs, .nft-pages { display: flex; gap: 8px; align-items: center; }
.nft-tabs button, .nft-pages button, .nft-retry, .nft-detail form button, .gf-catalog-link {
  min-height: 40px; border: 1px solid #313953; border-radius: 10px;
  background: #141829; color: #eef0fa; padding: 0 10px;
  font: 800 13px Manrope, system-ui, sans-serif;
}
.nft-tabs button { flex: 1; }
.nft-tabs button[aria-pressed="true"] { border-color: #9c87ff; background: #302467; }
.nft-pages { justify-content: space-between; }
.nft-pages button:disabled { opacity: .44; filter: none; }
.nft-controls { display: grid; gap: 8px; }
.nft-controls label { display: grid; gap: 4px; font-size: 12px; color: #bdc3dc; }
.nft-controls input, .nft-controls select {
  width: 100%; min-width: 0; height: 40px; box-sizing: border-box;
  background: #101426; color: #eef0fa; border: 1px solid #313953;
  border-radius: 10px; padding: 0 10px; font: 600 14px Manrope, system-ui, sans-serif;
  color-scheme: dark;
}
.nft-controls input::placeholder { color: #9ca5c5; }
.nft-status, .nft-sources { margin: 0; color: #aab3d2; font-size: 12px; }
.nft-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.nft-card {
  min-width: 0; padding: 8px 4px; display: flex; align-items: center; flex-direction: column; gap: 4px;
  background: #151a2e; border: 1px solid #29334e; border-radius: 12px;
  color: #eef0fa; font-family: inherit; text-align: center;
}
.nft-card strong, .nft-card-set { max-width: 100%; overflow-wrap: anywhere; }
.nft-card strong { font-size: 12px; line-height: 1.2; margin-top: 2px; }
.nft-card-set, .nft-price { font-size: 11px; }
.nft-card-set { color: #b6bedb; line-height: 1.2; }
.nft-price { color: #ffd476; font-weight: 800; margin-top: auto; padding-top: 4px; }
.nft-price-missing { color: #aab3d2; font-weight: 600; }
.nft-card-art, .nft-detail-art { display: grid; place-items: center; }
.nft-card-art { min-height: 68px; width: 100%; }
.nft-detail-art { min-height: 132px; }
.nft-art { max-width: 100%; object-fit: contain; }
.nft-art-missing::after { content: 'Нет изображения'; font-size: 11px; color: #aab3d2; }
.nft-detail {
  width: min(320px, calc(100vw - 32px)); max-height: 85dvh; box-sizing: border-box;
  color: #eef0fa; background: #151a2e; border: 1px solid #424e75; border-radius: 16px;
  padding: 18px; text-align: center;
}
.nft-detail::backdrop { background: #050611ce; }
.nft-detail form { display: flex; justify-content: end; }
.nft-detail form button { min-width: 40px; font-size: 20px; }
.nft-detail h2 { margin: 10px 0 6px; overflow-wrap: anywhere; font-size: 21px; }
.nft-detail p { margin: 6px 0; color: #bdc3dc; font-size: 13px; }
.nft-detail p:empty { display: none; }
.nft-detail strong { color: #ffd476; }
.nft-detail a { display: block; margin-top: 12px; font-size: 13px; }
.gf-catalog-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 12px; }
.gf-catalog-link svg { flex-shrink: 0; }
