.vb-collection-page {
  margin: 0;
  background: #0c0b10;
  color: #f7f2ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

.vb-collection-page main { max-width: 1320px; margin: auto; padding: clamp(14px, 3vw, 40px); }
.vb-collection-cover {
  display: flex;
  align-items: end;
  min-height: clamp(200px, 29vw, 340px);
  padding: clamp(20px, 5vw, 54px);
  border: 1px solid #382a46;
  border-radius: 24px;
  background: linear-gradient(25deg, #140819 8%, #140819d9 24%, transparent 63%),
    url("./assets/viceberg-collection/crew-cover.webp") right center / cover no-repeat, #140819;
}

@media (max-width: 680px) {
  .vb-collection-cover {
    min-height: 0;
    padding-top: 46vw;
    background: linear-gradient(180deg, transparent 35%, #140819 67%),
      url("./assets/viceberg-collection/crew-cover.webp") 87% top / 146% auto no-repeat, #140819;
  }
}

.vb-collection-cover h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.065em; line-height: .98; margin: .2em 0 .35em; }
.vb-collection-cover p, .vb-collection-detail-eyebrow {
  color: #dabaff;
  font: 700 .72rem ui-monospace, monospace;
  letter-spacing: .14em;
}

.vb-collection-cover a { color: #e1c4ff; font-size: .85rem; text-decoration: none; }
.vb-collection-cover a:hover { text-decoration: underline; }

.vb-collection { margin-top: 20px; color: #f7f2ff; color-scheme: dark; min-width: 0; }
.vb-collection *, .vb-collection *::before, .vb-collection *::after { box-sizing: border-box; }
.vb-collection [hidden] { display: none; }
.vb-collection-bar, .vb-collection-toolbar, .vb-collection-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.vb-collection-bar { border-bottom: 1px solid #33283d; padding: 0 0 12px; }
.vb-collection-views { display: flex; flex-wrap: wrap; gap: 4px; }
.vb-collection button {
  border: 1px solid #3a3047;
  border-radius: 10px;
  padding: 9px 13px;
  background: #191420;
  color: inherit;
  font: inherit;
  font-size: .84rem;
  cursor: pointer;
}
.vb-collection button:disabled { opacity: .42; cursor: default; }
.vb-collection button:not(:disabled):hover, .vb-collection button[aria-pressed="true"] {
  border-color: #9c76ce;
  background: #302141;
}
.vb-collection button:focus-visible, .vb-collection input:focus-visible, .vb-collection select:focus-visible { outline: 2px solid #d3a8ff; outline-offset: 3px; }
.vb-collection-views small { color: #dac2fa; margin-left: 3px; }
.vb-collection-badge { color: #e1c4ff; border: 1px solid #594269; border-radius: 999px; padding: 5px 9px; font-size: .72rem; }
.vb-collection-badge-live { color: #ddf4e7; border-color: #466954; }
.vb-collection-market-controls, .vb-collection-wallet, .vb-collection-wallet-choice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vb-collection-wallet-choice, .vb-collection-wallet-address { color: #d6c5e1; font-size: .79rem; }
.vb-collection-wallet-address { font-family: ui-monospace, monospace; }
.vb-collection-wallet select, .vb-collection-price input {
  max-width: 100%;
  padding: 8px 9px;
  border: 1px solid #4f3b60;
  border-radius: 8px;
  background: #15121c;
  color: #f7f2ff;
  font: inherit;
}
.vb-collection-wallet p { flex-basis: 100%; margin: 0; color: #d6c5e1; font-size: .8rem; }
.vb-collection-toolbar { margin: 14px 0; scroll-margin-top: 105px; }
.vb-collection-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.vb-collection-toolbar label { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #d3c5de; }
.vb-collection-toolbar input, .vb-collection-toolbar select {
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid #3a3047;
  border-radius: 8px;
  background: #15121c;
  color: inherit;
  font: inherit;
}
.vb-collection-toolbar input { width: 100px; }
.vb-collection-toolbar p, .vb-collection-pager span { margin: 0; color: #c0b0cc; font-size: .79rem; }
.vb-collection-method { margin: 12px 0; color: #c0b0cc; font-size: .82rem; line-height: 1.55; }
.vb-collection-method summary { width: fit-content; cursor: pointer; color: #e1c4ff; }
.vb-collection-method p { margin: 6px 0 0; }
.vb-collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: clamp(7px, 1vw, 12px); }
.vb-collection-grid button {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 13px;
  text-align: left;
}
.vb-collection-grid img, .vb-collection-detail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #21162c;
}
.vb-collection-grid span { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 9px 11px; font: 700 .8rem ui-monospace, monospace; }
.vb-collection-grid i { color: #c7a9eb; font-style: normal; }
.vb-collection-rarity {
  padding: 2px 4px;
  border-radius: 5px;
  background: #37244b;
  color: #efdcff;
  font: 650 .65rem -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: nowrap;
}
.vb-collection-card-trait { display: block; padding: 0 11px 7px; color: #c6b6d2; font-size: .73rem; }
.vb-collection-allocation {
  display: block;
  width: fit-content;
  max-width: calc(100% - 18px);
  margin: 0 9px 8px;
  padding: 3px 6px;
  border: 1px solid #493951;
  border-radius: 6px;
  color: #dac2fa;
  background: #271d30;
  font-size: .66rem;
}
.vb-collection-allocation[data-allocation="curated"] { border-color: #79633c; color: #f9d695; background: #352819; }
.vb-collection-card-price { display: block; padding: 0 11px 11px; color: #dfc2ff; font-size: .77rem; }
.vb-collection-load-more { margin-top: 14px; }
.vb-collection-pager { margin: 17px 0; }
.vb-collection-empty { padding: 28px 16px; background: #18121f; border-radius: 12px; color: #cbbad5; }
.vb-collection-detail {
  width: min(490px, calc(100% - 30px), 73dvh);
  max-height: calc(100dvh - 30px);
  margin: auto;
  padding: 0;
  border: 1px solid #694880;
  border-radius: 18px;
  color: #f7f2ff;
  background: #17111e;
}
.vb-collection-detail::backdrop { background: #08060dc9; }
.vb-collection-detail .vb-collection-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  line-height: 1;
  background: #160e21e8;
}
.vb-collection-detail-body { min-width: 0; padding: 14px 19px 18px; }
.vb-collection-detail h2 { margin: 4px 0; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.04em; }
.vb-collection-detail p { margin: 0; color: #c0b0cc; font-size: .85rem; }
.vb-collection-detail-market { width: min(820px, calc(100% - 30px)); }
.vb-collection-sale { display: grid; gap: 12px; margin-top: 14px; }
.vb-collection-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 12px;
  margin: 0;
  padding: 13px;
  border: 1px solid #42344f;
  border-radius: 12px;
  background: #110e17;
  font-size: .83rem;
}
.vb-collection-quote dt { color: #c9b9d4; }
.vb-collection-quote dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.vb-collection-quote dt:last-of-type, .vb-collection-quote dd:last-of-type {
  padding-top: 8px;
  border-top: 1px solid #42344f;
  color: #faf2ff;
  font-weight: 700;
}
.vb-collection-price { display: grid; gap: 10px; }
.vb-collection-price label { display: grid; gap: 6px; font-size: .83rem; }
.vb-collection-price input { width: 100%; font-size: 16px; }
.vb-collection-sale button[data-action="buy"], .vb-collection-sale button[data-action="list"] {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc475 0%, #ff9b68 42%, #ff5f94 100%);
  color: #1a0d12;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(255, 110, 130, .28);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.vb-collection-sale button[data-action="buy"]:hover:not(:disabled), .vb-collection-sale button[data-action="list"]:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(255, 110, 130, .4); filter: brightness(1.05); }
.vb-collection-sale button[data-action="buy"]:active:not(:disabled), .vb-collection-sale button[data-action="list"]:active:not(:disabled) { transform: scale(.985); }
.vb-collection-sale button:disabled { opacity: .55; cursor: default; box-shadow: none; }
.vb-collection-sale button[data-action="cancel"], .vb-collection-sale .vb-collection-check { min-height: 44px; border: 1px solid #42344f; border-radius: 12px; background: #17121f; color: #f1eaf7; font-weight: 600; cursor: pointer; }
.vb-collection-sale:not([hidden]) { padding: 16px; border: 1px solid #3a2d48; border-radius: 18px; background: radial-gradient(ellipse at 100% 0%, #3a1f3f, transparent 65%), #130f1a; }
/* Nothing to buy, sell or report: no empty panel. */
.vb-collection-sale:not(:has(> :not([hidden]))) { display: none; }
.vb-collection-ask { display: grid; gap: 4px; }
.vb-collection-ask span { color: #b9a9c8; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vb-collection-ask strong { color: #fff7fb; font-size: clamp(1.7rem, 4vw, 2.3rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.05; }
.vb-collection-ask small { color: #b9a9c8; font-size: .74rem; }
.vb-collection-sale .vb-collection-quote { padding: 10px 12px; border-color: #2f2539; background: #0f0c15; font-size: .76rem; }
.vb-collection-sale [role="status"]:empty { display: none; }
/* The wallet works out of sight: members trade with the login they signed in with. */
.vb-collection-wallet .vb-collection-privy button,
.vb-collection-wallet .vb-collection-wallet-choice { display: none; }
.vb-collection-trade-status { line-height: 1.45; overflow-wrap: anywhere; }
.vb-collection-trade-status a { color: #e1c4ff; }
.vb-collection-detail-wallet:empty { display: none; }
.vb-collection-detail-wallet .vb-collection-wallet:not([hidden]) { margin-top: 12px; }
.vb-collection-traits { margin-top: 16px; padding-top: 14px; border-top: 1px solid #42344f; }
.vb-collection-traits h3 { margin: 0 0 8px; font-size: .85rem; }
.vb-collection-traits dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 0; font-size: .79rem; }
.vb-collection-traits dt { color: #c6b6d2; }
.vb-collection-traits dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vb-collection-trait-frequency { display: block; margin-top: 2px; color: #c6b6d2; font-size: .7rem; }

@media (min-width: 680px) {
  .vb-collection-detail-market[open] { display: grid; grid-template-columns: 1fr 1fr; }
  .vb-collection-detail-market > img { height: 100%; }
  .vb-collection-detail-market .vb-collection-detail-body { padding: 28px; }
}

@media (max-width: 500px) {
  .vb-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vb-collection-bar { gap: 8px 5px; }
  .vb-collection button { padding-inline: 10px; }
  .vb-collection-grid button { padding: 0; }
}

.identity-claim {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 22px 0 12px;
  padding: 16px;
  border: 1px solid rgba(219, 175, 255, .24);
  border-radius: 14px;
  background: rgba(42, 25, 53, .6);
}
.identity-claim p { margin: 0; color: #dfcfe9; line-height: 1.5; }
.identity-claim label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.identity-claim input,
.identity-claim select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(219, 175, 255, .26);
  border-radius: 8px;
  background: #14101d;
  color: #fcf3ff;
  font: inherit;
  font-size: 16px;
}
.identity-claim .identity-gate-link { width: max-content; max-width: 100%; cursor: pointer; }
.identity-claim [hidden] { display: none; }

.vb-collection-wallet { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.vb-collection-privy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vb-collection-privy:empty { display: none; }
.vb-collection-privy p { flex-basis: 100%; }


/* Listing prices are typed in dollars. */
.vb-collection-dollars { position: relative; display: block; }
.vb-collection-dollars i { position: absolute; inset: 0 auto 0 12px; display: grid; place-items: center; color: #b9a9c8; font-style: normal; pointer-events: none; }
.vb-collection-dollars input { padding-left: 26px; }
.vb-collection-price-sol { color: #b9a9c8; font-size: .74rem; }
.vb-collection-price-sol:empty { display: none; }
.vb-collection-photo { justify-self: start; padding: 9px 14px; border: 1px solid #4a3d5e; border-radius: 99px; background: #1c1524; color: #f1eaf7; font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1; cursor: pointer; }
.vb-collection-photo:hover { border-color: #ad94ff; }
.vb-collection-photo:disabled { opacity: .65; cursor: wait; }

/* Identities owed to $VICEBERG holders (identity-claims-weighted.js). */
.identity-owed { display: grid; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid rgba(219, 175, 255, .18); }
.identity-owed strong { font-size: 1.15rem; }
.identity-owed-tag { justify-self: start; padding: 3px 8px; border-radius: 99px; background: rgba(173, 148, 255, .16); color: #cdbcff; font-family: inherit; font-size: .66rem; font-weight: 700; line-height: 1.2; letter-spacing: .08em; }
.identity-owed-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.identity-owed-stats div { display: grid; gap: 2px; padding: 10px; border: 1px solid rgba(219, 175, 255, .18); border-radius: 10px; background: #14101d; text-align: center; }
.identity-owed-stats b { font-size: 1.4rem; color: #fcf3ff; font-variant-numeric: tabular-nums; }
.identity-owed-stats small { color: #b9a9c8; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.identity-owed-wallets { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: .82rem; }
.identity-owed-wallets li { display: flex; justify-content: space-between; gap: 8px; color: #dfcfe9; }
.identity-owed-wallets code { color: #b9a9c8; }
.identity-claim .identity-owed-claim { justify-self: start; }
.identity-claim .identity-owed-claim:disabled { opacity: .55; cursor: not-allowed; }
.identity-claim .identity-owed-note { color: #b9a9c8; font-size: .8rem; }
.identity-claim .identity-owed-error { margin: 0; color: #ffb4c4; font-size: .82rem; }
.identity-owed-demo { justify-self: start; padding: 0; border: 0; background: none; color: #cdbcff; font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1.4; text-decoration: underline; cursor: pointer; }
.account-zealz .account-alert-claim { display: flex; justify-content: space-between; gap: 8px; margin: 6px 10px 0; padding: 10px 12px; border-radius: 10px; background: rgba(173, 148, 255, .14); color: #f1eaf7; font-weight: 700; font-size: 13px; text-decoration: none; }

.identity-claimed { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 12, .78); }
.identity-claimed section { display: grid; justify-items: center; gap: 14px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 22px; border: 1px solid rgba(219, 175, 255, .26); border-radius: 18px; background: #1a1222; text-align: center; }
.identity-claimed-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #ad94ff; color: #120b1a; }
.identity-claimed-mark svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.identity-claimed h2 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); outline: none; }
.identity-claimed p { margin: 0; color: #dfcfe9; line-height: 1.5; }
.identity-claimed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.identity-claimed-grid figure { margin: 0; display: grid; gap: 4px; }
.identity-claimed-grid img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; background: #14101d; }
.identity-claimed-grid figcaption { color: #b9a9c8; font-size: .78rem; font-variant-numeric: tabular-nums; }
.identity-claimed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.identity-claimed-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border: 1px solid #4a3d5e; border-radius: 99px; background: #1c1524; color: #f1eaf7; font-family: inherit; font-size: .9rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.identity-claimed-button:hover { border-color: #ad94ff; }
.identity-claimed-primary { background: #ad94ff; color: #120b1a; border-color: #ad94ff; }
.identity-claimed-button:focus-visible { outline: 2px solid #fcf3ff; outline-offset: 2px; }
@media (max-width: 500px) { .identity-claimed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.identity-owed-editions { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.identity-owed-editions figure { margin: 0; display: grid; gap: 4px; justify-items: center; }
.identity-owed-editions img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; background: #14101d; }
.identity-owed-editions figcaption { color: #b9a9c8; font-size: .74rem; font-variant-numeric: tabular-nums; }
.identity-owed-mint { padding: 5px 12px; border: 1px solid #4a3d5e; border-radius: 99px; background: #1c1524; color: #f1eaf7; font-family: inherit; font-size: .74rem; font-weight: 600; line-height: 1; cursor: pointer; }
.identity-owed-mint:hover { border-color: #ad94ff; }

/* One Claim mints every edition: "Minting 3 of 10" with a thin bar (Nov 12 2026). */
.identity-owed-progress { display: grid; gap: 8px; margin: 14px 0 4px; }
.identity-owed-progress > span { font-weight: 700; font-size: .92rem; }
.identity-owed-progress > b { display: block; height: 6px; border-radius: 99px; background: rgba(173, 148, 255, .18); overflow: hidden; }
.identity-owed-progress > b > i { display: block; height: 100%; width: 0; border-radius: inherit; background: #ad94ff; transition: width .4s ease; }
.identity-owed-progress [data-mint-ask] p { margin: 4px 0 10px; color: inherit; opacity: .85; font-size: .88rem; }
.identity-claimed .identity-owed-progress { text-align: left; max-width: 420px; margin: 0 auto 14px; }

/* One claim panel, one button (Nov 13 2026): the old reservation box hides while the claim panel shows; its sign-in
   buttons are still pressed from the panel. Buttons in the box use the purple style. */
/* Nov 12 2026: the wallet verification area stays visible (its button and messages are the real claim step); only the
   repeated heading and line hide. */
/* Nov 12 2026, Kyle: "lets just make it signed in users only". With the claim panel showing, it is the only thing here:
   no address field, no separate verify step. The old box's elements stay in the page, unseen, for the link step. */
.identity-claim.vb-claim-panel-on > :not(#identityOwed) { display: none; }
.identity-claim button.identity-gate-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: #ad94ff; color: #120b1a; font-family: inherit; font-size: .88rem; font-weight: 700; }
.identity-claim button.identity-gate-link:disabled { opacity: .55; cursor: default; }
.identity-claim button.identity-gate-link[hidden] { display: none; }
.identity-owed .identity-owed-link { justify-self: start; margin-top: 4px; }

/* The claim (Nov 12 2026): a working mark while claiming, placeholder tiles that fill with art, an error mark, the
   loading panel, and a short highlight when the bell leads here. Purple only. */
.identity-claimed-mark.is-working { background: none; border: 3px solid rgba(173, 148, 255, .25); border-top-color: #ad94ff; animation: identity-spin 1s linear infinite; }
.identity-claimed-mark.is-error { background: rgba(255, 111, 158, .16); color: #ff8fb1; font-size: 1.6rem; font-weight: 800; }
@keyframes identity-spin { to { transform: rotate(360deg); } }
.identity-claimed-grid figure.is-pending span { display: block; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(110deg, #1c1524 30%, #2a2036 50%, #1c1524 70%); background-size: 200% 100%; animation: identity-shimmer 1.2s linear infinite; }
@keyframes identity-shimmer { to { background-position: -200% 0; } }
.identity-claimed-more { align-self: center; margin: 0; color: #cdbcff; font-weight: 700; text-align: center; }
.identity-owed.is-loading strong { color: #cdbcff; }
.identity-owed.is-loading .identity-owed-stats div { height: 58px; background: linear-gradient(110deg, #14101d 30%, #221a2e 50%, #14101d 70%); background-size: 200% 100%; animation: identity-shimmer 1.2s linear infinite; }
.identity-owed.is-attention { box-shadow: 0 0 0 2px #ad94ff, 0 0 32px rgba(173, 148, 255, .35); transition: box-shadow .3s; }
@media (prefers-reduced-motion: reduce) { .identity-claimed-mark.is-working, .identity-claimed-grid figure.is-pending span, .identity-owed.is-loading .identity-owed-stats div { animation: none; } }

/* The claim sheet sits outside .identity-claim: its hidden buttons (Share until done) stay hidden. */
.identity-claimed [hidden] { display: none !important; }
