 .profile-hero {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(160, 32, 240, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .stat-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    transition: all 0.3s;
  }
  
  .nft-grid.grid-view {
    display: grid;
  }
  
  .nft-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .nft-grid.list-view .nft-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .nft-grid.list-view .nft-card .nft-image {
    width: 96px;
    height: 96px;
    min-width: 96px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .nft-grid.list-view .nft-card .nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .nft-grid.list-view .nft-card .nft-badge {
    display: none;
  }
  
  .nft-grid.list-view .nft-card .nft-info {
    flex: 1;
    padding: 0 10rem 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-auto-rows: auto;
    gap: 0.25rem 1rem;
    align-items: center;
    position: relative;
  }
  
  /* Hide verbose content in list view */
  /* Hide verbose content in list view and make remaining content span both grid columns */
  .nft-grid.list-view .nft-card .nft-info > div[style*="margin: 12px"],
  .nft-grid.list-view .nft-card .nft-info > p,
  .nft-grid.list-view .nft-card .nft-info > div[role="attributes"] {
    display: none;
    grid-column: 1 / -1;
  }
  
  /* Top row: Token ID + stats (no border) and actions anchored to the right */
  .nft-grid.list-view .nft-card .nft-title {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 1.05rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--text-secondary) !important;
  }

  .nft-grid.list-view .nft-card .nft-id {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    grid-column: 1;
    grid-row: 2;
  }

  .nft-grid.list-view .nft-card .nft-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .nft-grid.list-view .nft-card .nft-stats > div { display: flex; align-items: center; gap: 0.5rem; }

  .nft-grid.list-view .nft-card .mt-3 {
    position: absolute !important;
    top: -0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.4rem;
    align-items: flex-end;
    flex-direction: column;
    z-index: 5;
    width: 10rem;
  }

  .nft-grid.list-view .nft-card .mt-3 > * {
    flex: 0 0 auto;
    width: 100%;
    min-width: 88px;
    min-height: 40px;
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Constrain full-width buttons and badges in list view (stacked) */
  .nft-grid.list-view .nft-card .mt-3 .w-full { width: 100% !important; display: inline-flex !important; }
  .nft-grid.list-view .nft-card .mt-3 .status-badge {
    width: 100% !important;
    max-width: 100%;
    min-height: 40px;
    padding: 0.35rem 0.6rem !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    font-size: 0.7rem;
  }
  
  .nft-card {
    position: relative;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .nft-card:hover {
    border-color: var(--neon-cyan);
    transform: scale(1.02);
  }
  
  .nft-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
  }
  
  .nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .nft-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  
  .nft-badge.origins { background: var(--neon-cyan); color: #000; }
  .nft-badge.ascendant { background: var(--neon-magenta); color: #000; }
  .nft-badge.sentience { background: var(--neon-purple); color: #fff; }
  
  /* Collection tag for list view (inline with text) */
  .collection-tag {
    display: none;
  }
  
  .collection-tag.origins { background: rgba(0, 240, 255, 0.2); color: var(--neon-cyan); }
  .collection-tag.ascendant { background: rgba(255, 0, 255, 0.2); color: var(--neon-magenta); }
  .collection-tag.sentience { background: rgba(160, 32, 240, 0.2); color: var(--neon-purple); }
  
  .nft-grid.list-view .collection-tag {
    display: inline-block;
  }
  
  .nft-grid.grid-view .collection-tag {
    display: none;
  }
  
  .nft-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .nft-info > .nft-title,
  .nft-info > .nft-id {
    flex-shrink: 0;
  }
  
  .nft-info > p,
  .nft-info > div[style*="margin: 12px"] {
    flex-shrink: 1;
    min-height: 0;
  }
  
  .nft-info > .nft-stats {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 0.75rem;
  }
  
  .nft-info .mt-3 {
    flex-shrink: 0;
    margin-top: 0.75rem !important;
  }
  
  .nft-actions {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
  }
  
  .nft-actions button {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
  }
  
  .nft-actions button:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
  }
  
  .activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .activity-item:last-child {
    border-bottom: none;
  }
  
  .activity-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    background: rgba(0, 240, 255, 0.1);
    flex-shrink: 0;
  }
  
  .activity-icon.burn { background: rgba(255, 100, 100, 0.1); }
  .activity-icon.reward { background: rgba(255, 215, 0, 0.1); }
  
  .action-btn:hover {
    border-color: var(--neon-cyan) !important;
    transform: translateY(-2px);
  }
  
  .evolution-node {
    opacity: 0.5;
    transition: all 0.3s;
  }
  
  .evolution-node.completed,
  .evolution-node.active {
    opacity: 1;
  }
  
  .filter-btn.active {
    border-color: var(--neon-cyan) !important;
    background: rgba(0, 240, 255, 0.1) !important;
    color: var(--neon-cyan) !important;
  }
  
  .bonus-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(26, 26, 46, 0.4);
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }
  
  .bonus-progress {
    width: 100px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
  }
  
  .bonus-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 3px;
  }
  
  .cyber-spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @media (max-width: 1024px) {
    .profile-sidebar {
      max-width: 100% !important;
    }
  }
  
  @media (max-width: 768px) {
    .profile-hero {
      padding: 1.5rem;
    }
    
    .portfolio-summary {
      width: 100%;
      justify-content: space-between;
    }

    /* Mobile list view: stack everything vertically */
    .nft-grid.list-view .nft-card {
      flex-direction: row;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.75rem;
    }

    .nft-grid.list-view .nft-card .nft-image {
      width: 80px;
      height: 80px;
      min-width: 80px;
    }

    .nft-grid.list-view .nft-card .nft-info {
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .nft-grid.list-view .nft-card .nft-title {
      grid-column: auto;
      grid-row: auto;
      font-size: 0.95rem;
      margin: 0 0 0.25rem 0;
    }

    .nft-grid.list-view .nft-card .nft-id,
    .nft-grid.list-view .nft-card .nft-stats {
      display: inline-flex;
      grid-column: auto;
      grid-row: auto;
      gap: 0.5rem;
      font-size: 0.8rem;
      margin-right: 0.5rem;
    }

    .nft-grid.list-view .nft-card .nft-stats {
      margin-left: 0;
    }

    .nft-grid.list-view .nft-card .mt-3 {
      position: static !important;
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: 0.5rem;
      align-items: stretch;
    }

    .nft-grid.list-view .nft-card .mt-3 > * {
      flex: 1 1 calc(50% - 0.175rem);
      min-width: auto;
      width: auto;
      font-size: 0.75rem;
      padding: 0.4rem 0.5rem;
      min-height: 36px;
    }

    .nft-grid.list-view .nft-card .mt-3 .status-badge {
      flex: 1 1 100%;
      padding: 0.4rem 0.5rem !important;
    }
  }