/* vibe-nft v1 — Solana NFT gallery */
.nft-page {
  width: min(1280px, calc(100% - 40px));
  margin: 18px auto 56px;
  display: grid;
  gap: 14px;
}
.nft-strip {
  position: relative;
  height: 78px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--purple, #9945ff) 32%, transparent);
  background: var(--bg);
}
.nft-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nft-strip-title {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  color: #f4f4f5;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.nft-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.nft-key[hidden] { display: none !important; }
.nft-key p {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nft-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.nft-who { display: grid; gap: 2px; min-width: 0; }
.nft-who strong { font-size: 16px; letter-spacing: -0.02em; }
.nft-who span { color: var(--muted); font-size: 13px; font-weight: 600; }
.nft-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.nft-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.nft-filters input[type="search"] {
  flex: 1;
  min-width: 180px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  font-weight: 600;
}
.nft-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.nft-watch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.nft-watch input {
  min-width: 220px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  font-family: ui-monospace, "Space Grotesk", monospace;
  font-size: 12px;
}
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.nft-tile {
  display: grid;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-align: left;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.nft-tile:hover { border-color: color-mix(in srgb, var(--purple) 50%, transparent); }
.nft-tile.hidden-nft { opacity: 0.45; }
.nft-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg);
  display: block;
}
.nft-tile-copy { padding: 8px 10px 10px; display: grid; gap: 2px; }
.nft-tile-copy strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nft-tile-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nft-empty { margin: 0; color: var(--muted); font-weight: 600; }
.nft-sheet { max-width: 420px; }
.nft-sheet-cover {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bg);
  margin: 0 auto;
  display: block;
}
.nft-sheet-coll, .nft-sheet-desc, .nft-sheet-mint, .nft-sheet-note {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 13px;
}
.nft-sheet-coll { color: var(--muted); }
.nft-sheet-mint {
  font-family: ui-monospace, "Space Grotesk", monospace;
  word-break: break-all;
  font-size: 12px;
}
.nft-sheet-note { color: var(--muted); }
.nft-sheet-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nft-attr {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}
.nft-sheet-links, .nft-sheet-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
@media (max-width: 860px) {
  .nft-page { width: min(1280px, calc(100% - 20px)); }
  .nft-watch { margin-left: 0; width: 100%; }
  .nft-watch input { flex: 1; min-width: 0; }
}
