/* NFT DETAIL PAGE + PURCHASE FLOW (JS/nft.js) */

/* --- CATEGORY ACCENT --- */
.nft-detail.cat-painting {
  --cat: #6a58dc;
  --cat-glow: rgba(106, 88, 220, 0.35);
}
.nft-detail.cat-figurine {
  --cat: #22a6b3;
  --cat-glow: rgba(34, 166, 179, 0.35);
}
.nft-detail.cat-sculpture {
  --cat: #be2edd;
  --cat-glow: rgba(190, 46, 221, 0.35);
}

/* --- HEADER / BREADCRUMB --- */
.nft-page-header {
  gap: 1.6rem;
}
.nft-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #ddd;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nft-back-link ion-icon {
  font-size: 2rem;
}
.nft-back-link:hover {
  color: #ffd900;
}
.nft-breadcrumb {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nft-breadcrumb b {
  color: #ddd;
  font-weight: 600;
}

/* --- MAIN LAYOUT --- */
.nft-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.nft-media-card,
.nft-info-card {
  background: rgba(35, 35, 45, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Media */
.nft-media-card {
  position: sticky;
  top: 2.4rem;
  padding: 3.2rem;
  border-top: 2px solid var(--cat);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 40px var(--cat-glow);
}
.nft-media-box {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 255, 255, 0.06),
    transparent 70%
  );
}
.nft-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  animation: nftMediaIn 0.6s ease-out;
}
@keyframes nftMediaIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Info */
.nft-info-card {
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
}
.nft-info-category {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}
.nft-info-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3.2rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 2.4rem;
  word-break: break-word;
}

/* Author */
.nft-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.nft-author-avatar {
  width: 4.4rem;
  height: 4.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cat), #111);
  box-shadow: 0 0 12px var(--cat-glow);
}
.nft-author-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nft-author-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nft-author-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
}
.nft-verified {
  font-size: 1.6rem;
  color: #4dabf7;
}

/* Price */
.nft-price-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.6rem;
}
.nft-price-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nft-price-value {
  font-family: "Rajdhani", sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

/* Buy button (same language as "Mint Your NFTs" / "Buy New Art") */
.nft-buy-area {
  margin-bottom: 3.2rem;
}
.nft-buy-btn {
  width: 100%;
  min-height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd900 0%, #ff8c00 100%);
  color: #000;
  cursor: pointer;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nft-buy-btn ion-icon {
  font-size: 2.2rem;
}
.nft-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 140, 0, 0.45);
}
.nft-buy-btn-inline {
  width: auto;
  padding: 0 3.2rem;
}
.nft-buy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  color: #888;
}
.nft-buy-note ion-icon {
  font-size: 1.6rem;
  color: #40c057;
}

/* Owned state */
.nft-owned-box {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 2rem;
  border-radius: 10px;
  border: 1px solid rgba(64, 192, 87, 0.5);
  background: rgba(64, 192, 87, 0.1);
  animation: nftMediaIn 0.5s ease-out;
}
.nft-owned-box ion-icon {
  font-size: 3.6rem;
  color: #40c057;
  flex-shrink: 0;
}
.nft-owned-box strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.nft-owned-box a {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: #40c057;
}

/* Description + details */
.nft-section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #ddd;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.nft-description {
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #999;
  margin-bottom: 3.2rem;
}
.nft-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2.4rem;
}
.nft-details-grid div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
}
.nft-details-grid dt {
  color: #777;
}
.nft-details-grid dd {
  color: #ddd;
  font-weight: 600;
  text-align: right;
}
.nft-details-grid dd.nft-owner {
  color: #40c057;
}

/* --- RELATED --- */
.nft-related {
  margin-top: 2.4rem;
}
.nft-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem;
}
.nft-related-card {
  display: flex;
  flex-direction: column;
  background: rgba(35, 35, 45, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1.6rem;
  text-decoration: none;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.nft-related-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}
.nft-related-img {
  aspect-ratio: 1 / 1;
  padding: 1.2rem 0;
}
.nft-related-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nft-related-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  padding: 0 1.6rem;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nft-related-price {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ddd;
  padding: 0 1.6rem;
}
.nft-related-card.is-owned .nft-related-price {
  color: #40c057;
}

/* --- NOT FOUND --- */
.nft-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 8rem 2.4rem;
  text-align: center;
  color: #888;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
}
.nft-not-found ion-icon {
  font-size: 6.4rem;
  color: #555;
}
.nft-not-found h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.4rem;
  color: #fff;
}

/* --- GALLERY (Auctions) HOOKS --- */
.auctions-gallery-item.is-linked .gallery-img-box,
.auctions-gallery-item.is-linked .gallery-title,
.auctions-item-box.is-linked .auction-img-box,
.auctions-item-box.is-linked .auction-title {
  cursor: pointer;
}
.auctions-gallery-item .btn-bid.btn-owned,
.auctions-item-box .btn-bid.btn-owned {
  border-color: rgba(64, 192, 87, 0.6);
  color: #40c057;
  background: rgba(64, 192, 87, 0.1);
}
.auctions-gallery-item .btn-bid.btn-owned:hover,
.auctions-item-box .btn-bid.btn-owned:hover {
  background: #40c057;
  border-color: #40c057;
  color: #000;
}

/* --- MY COLLECTIONS: purchased cards --- */
a.collection-card.is-purchased {
  color: inherit;
}
.collection-card.is-new {
  border-color: rgba(255, 217, 0, 0.5);
  animation: collectionNew 2s ease-out;
}
@keyframes collectionNew {
  0% {
    box-shadow: 0 0 30px rgba(255, 217, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 217, 0, 0);
  }
}
.collection-new-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffd900 0%, #ff8c00 100%);
  color: #000;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* =========================================================
   PURCHASE OVERLAY
   ========================================================= */
.purchase-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.purchase-overlay.active {
  opacity: 1;
  visibility: visible;
}
.purchase-card {
  width: 44rem;
  max-width: 100%;
  padding: 3.2rem;
  border-radius: 16px;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid #ffd900;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: translateY(2rem) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.purchase-overlay.active .purchase-card {
  transform: none;
}
.purchase-overlay.is-success .purchase-card {
  border-top-color: #40c057;
}

/* Visual: thumbnail inside a spinning ring */
.purchase-visual {
  position: relative;
  width: 14rem;
  height: 14rem;
  margin: 0 auto 2.4rem;
}
.purchase-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: #ffd900;
  border-right-color: #ff8c00;
  animation: purchaseSpin 1s linear infinite;
  transition: border-color 0.4s;
}
.purchase-thumb {
  position: absolute;
  inset: 1.6rem;
  width: calc(100% - 3.2rem);
  height: calc(100% - 3.2rem);
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.5s;
}
.purchase-check {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #40c057;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  box-shadow: 0 0 20px rgba(64, 192, 87, 0.6);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s;
}
.purchase-overlay.is-success .purchase-ring {
  animation: none;
  border-color: #40c057;
  box-shadow: 0 0 30px rgba(64, 192, 87, 0.4);
}
.purchase-overlay.is-success .purchase-thumb {
  transform: scale(1.06);
}
.purchase-overlay.is-success .purchase-check {
  transform: scale(1);
}
@keyframes purchaseSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Spark burst on success */
.purchase-sparks {
  position: absolute;
  inset: 50% auto auto 50%;
  pointer-events: none;
}
.purchase-spark {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  margin: -0.4rem 0 0 -0.4rem;
  border-radius: 50%;
  background: #ffd900;
  opacity: 0;
}
.purchase-spark:nth-child(3n) {
  background: #40c057;
}
.purchase-spark:nth-child(3n + 1) {
  background: #00f2ff;
}
.purchase-overlay.is-success .purchase-spark {
  animation: purchaseSpark 0.9s ease-out forwards;
}
@keyframes purchaseSpark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.3);
  }
}

.purchase-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.purchase-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  color: #aaa;
  margin-bottom: 2.4rem;
}

/* Steps */
.purchase-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  margin-bottom: 2rem;
}
.purchase-steps li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: #555;
  transition: color 0.3s;
}
.step-icon {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #333;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.purchase-steps li.is-active {
  color: #fff;
}
.purchase-steps li.is-active .step-icon {
  border-color: rgba(255, 217, 0, 0.25);
  border-top-color: #ffd900;
  animation: purchaseSpin 0.8s linear infinite;
}
.purchase-steps li.is-done {
  color: #40c057;
}
.purchase-steps li.is-done .step-icon {
  background: #40c057;
  border-color: #40c057;
}
.purchase-steps li.is-done .step-icon::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.25rem;
  width: 0.5rem;
  height: 0.9rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Progress bar */
.purchase-progress {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.purchase-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffd900, #ff8c00);
  transition: width 0.8s ease-in-out;
}
.purchase-overlay.is-success .purchase-progress-bar {
  background: #40c057;
}

/* Actions (visible after success) */
.purchase-actions {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.purchase-overlay.is-success .purchase-actions {
  display: flex;
  animation: nftMediaIn 0.4s ease-out;
}
.purchase-overlay.is-success .purchase-steps,
.purchase-overlay.is-success .purchase-progress {
  display: none;
}
.purchase-secondary {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  min-height: 4.8rem;
  color: #ccc;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}
.purchase-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 75em) {
  .nft-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nft-related-card:nth-child(4) {
    display: none;
  }
}

@media (max-width: 59em) {
  .nft-detail {
    grid-template-columns: 1fr;
  }
  .nft-media-card {
    position: static;
    padding: 2.4rem;
  }
  .nft-media-box {
    max-height: 50vh;
    aspect-ratio: auto;
    height: 50vh;
  }
  .nft-info-card {
    padding: 2.4rem;
  }
}

@media (max-width: 44em) {
  .nft-breadcrumb {
    display: none;
  }
  .nft-info-title {
    font-size: 2.6rem;
  }
  .nft-price-value {
    font-size: 3.2rem;
  }
  .nft-details-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nft-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }
  .nft-related-card:nth-child(4) {
    display: flex;
  }
}

@media (max-width: 34em) {
  .nft-media-card,
  .nft-info-card {
    padding: 1.6rem;
  }
  .nft-media-box {
    height: 40vh;
  }
  .nft-info-title {
    font-size: 2.2rem;
  }
  .purchase-card {
    padding: 2.4rem 1.6rem;
  }
  .purchase-visual {
    width: 12rem;
    height: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nft-media,
  .nft-owned-box,
  .purchase-ring,
  .purchase-steps li.is-active .step-icon,
  .purchase-overlay.is-success .purchase-spark,
  .collection-card.is-new {
    animation: none;
  }
}

/* =========================================================
   SELL PAGE + QUICK AUCTION (JS/sell.js)
   ========================================================= */
.sell-warning {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding: 1.2rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 169, 77, 0.45);
  background: rgba(255, 169, 77, 0.08);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: #ddd;
}
.sell-warning ion-icon {
  flex-shrink: 0;
  font-size: 2rem;
  color: #ffa94d;
}
.sell-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}
.sell-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sell-input-wrap {
  position: relative;
}
.sell-input-wrap input {
  width: 100%;
  min-height: 5.6rem;
  padding: 0 4.8rem 0 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.sell-input-wrap input:focus {
  border-color: #ffd900;
  box-shadow: 0 0 12px rgba(255, 217, 0, 0.25);
}
.sell-input-wrap input.is-invalid {
  border-color: #fa5252;
}
.sell-input-suffix {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  color: #777;
  pointer-events: none;
}
.sell-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.sell-chips button {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ccc;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.2s;
}
.sell-chips button:hover {
  color: #000;
  background: #ffd900;
  border-color: #ffd900;
}
.sell-error {
  min-height: 1.8rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  color: #fa5252;
}

/* Auction overlay (extends .purchase-overlay) */
.auction-overlay .purchase-card {
  border-top-color: #fa5252;
}
.auction-overlay .purchase-ring {
  border-top-color: #fa5252;
  border-right-color: #ffd900;
}
.auction-bid-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.6rem;
  font-family: "Rajdhani", sans-serif;
}
.auction-bid-label {
  font-size: 1.2rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auction-bid-value {
  font-size: 3.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.auction-bid-value.bump {
  animation: auctionBump 0.5s ease-out;
}
@keyframes auctionBump {
  0% {
    color: #40c057;
    transform: scale(1.12);
  }
  100% {
    color: #fff;
    transform: scale(1);
  }
}
.auction-bid-sub {
  font-size: 1.3rem;
  color: #777;
}
.auction-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 12.4rem;
  margin-bottom: 1.6rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
}
.auction-feed li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #999;
  animation: auctionFeedIn 0.35s ease-out;
}
.auction-feed li:first-child {
  background: rgba(64, 192, 87, 0.1);
  color: #ddd;
}
.auction-feed li b {
  color: #fff;
}
@keyframes auctionFeedIn {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.auction-overlay.is-success .auction-bid-box,
.auction-overlay.is-success .auction-feed {
  display: none;
}
.auction-overlay .purchase-name small {
  font-size: 1.3rem;
  color: #888;
}
a.auction-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .auction-bid-value.bump,
  .auction-feed li {
    animation: none;
  }
}

/* =========================================================
   WALLET ON NFT / SELL PAGES (JS/nft.js, JS/sell.js)
   ========================================================= */
.nft-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: #aaa;
}
.nft-balance ion-icon {
  font-size: 1.8rem;
  color: #40c057;
}
.nft-balance b {
  color: #fff;
}
.nft-balance.is-short ion-icon,
.nft-balance.is-short span {
  color: #fa5252;
}
.nft-balance + .nft-buy-note {
  margin-top: 0.6rem;
}
.sell-cost {
  margin-top: 0.4rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  color: #888;
}
.purchase-name small {
  font-size: 1.3rem;
  color: #888;
}
.funds-dialog .confirm-text b {
  color: #fff;
}
