/**
 * Artmatter Our Artists Directory Styles
 * Pure bespoke luxury dark aesthetic, slow fly physics, uncropped portrait posters, and masked mobile chips
 */

.artmatter-artists-directory {
  width: 100%;
  margin: 32px auto 80px auto;
  box-sizing: border-box;
  font-family: inherit;
  color: #ececec;
}
.artmatter-artists-directory * {
  box-sizing: border-box;
}

/* ==========================================================================
   1. Clean Modern Topbar (Search + Masked Chips + Direct Shuffle)
   ========================================================================== */
.artmatter-dir-topbar {
  margin-bottom: 28px;
  width: 100%;
}

/* Controls Row: Masked Chips on Left, Shuffle + Search on Right */
.artmatter-dir-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

/* Category Filter Chips with Gradient Overflow Mask */
.artmatter-dir-chips-mask {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
}
.artmatter-dir-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  padding-right: 28px;
  -webkit-overflow-scrolling: touch;
}
.artmatter-dir-chips-row::-webkit-scrollbar {
  display: none;
}
.artmatter-dir-chip {
  flex-shrink: 0;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  height: 32px;
  padding: 0 13px;
  font-size: 11.5px;
  font-weight: 400;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  user-select: none;
}
.artmatter-dir-chip:hover {
  background: #1a1a1f;
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.artmatter-dir-chip.active {
  background: rgba(169, 255, 93, 0.09);
  border-color: rgba(169, 255, 93, 0.38);
  color: #a9ff5d;
}
.artmatter-chip-badge {
  font-size: 9.5px;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5px 5.5px;
  border-radius: 8px;
  color: #d4d4d8;
}
.artmatter-dir-chip.active .artmatter-chip-badge {
  background: rgba(169, 255, 93, 0.22);
  color: #a9ff5d;
}

/* Right Actions Group: Shuffle Pill + Search Circle Button */
.artmatter-dir-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Direct Shuffle Pill Button (No Dropdown) */
.artmatter-dir-shuffle-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 400;
  color: #ececec;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
}
.artmatter-dir-shuffle-btn:hover {
  background: #18181c;
  border-color: rgba(169, 255, 93, 0.35);
  color: #a9ff5d;
}
.artmatter-dir-shuffle-btn:active .artmatter-sort-icon {
  transform: rotate(180deg);
}
.artmatter-sort-icon {
  stroke: #a1a1aa;
  flex-shrink: 0;
  transition: transform 0.4s ease, stroke 0.3s ease;
}
.artmatter-dir-shuffle-btn:hover .artmatter-sort-icon {
  stroke: #a9ff5d;
}

/* Collections Dropdown Pill */
.artmatter-dir-col-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.artmatter-dir-col-btn {
  height: 32px;
  padding: 0 13px;
  border-radius: 9999px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 400;
  color: #ececec;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
}
.artmatter-dir-col-btn:hover,
.artmatter-dir-col-wrap.open .artmatter-dir-col-btn {
  background: #18181c;
  border-color: rgba(169, 255, 93, 0.35);
  color: #a9ff5d;
}
.artmatter-col-current-badge {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
  font-weight: 500;
}
.artmatter-dir-col-wrap.open .artmatter-col-current-badge {
  background: rgba(169, 255, 93, 0.15);
  color: #a9ff5d;
}
.artmatter-col-chevron {
  transition: transform 0.3s ease;
  color: #71717a;
}
.artmatter-dir-col-wrap.open .artmatter-col-chevron {
  transform: rotate(180deg);
  color: #a9ff5d;
}
.artmatter-dir-col-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 170px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.artmatter-dir-col-wrap.open .artmatter-dir-col-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.artmatter-col-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 7px 11px;
  font-size: 11.5px;
  color: #a1a1aa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.artmatter-col-option:hover {
  background: #1e1e24;
  color: #ffffff;
}
.artmatter-col-option.active {
  color: #a9ff5d;
  background: rgba(169, 255, 93, 0.08);
  font-weight: 500;
}
.artmatter-col-option-badge {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: #71717a;
}
.artmatter-col-option.active .artmatter-col-option-badge {
  background: rgba(169, 255, 93, 0.15);
  color: #a9ff5d;
}

/* Pinned / Featured Pill on Museum Cards */
.artmatter-pinned-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 17, 20, 0.85);
  border: 1px solid rgba(169, 255, 93, 0.4);
  color: #a9ff5d;
  font-size: 9.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  letter-spacing: 0.02em;
}

/* Sort Dropdown Pill with Top-Down Icon */
.artmatter-dir-sort-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.artmatter-dir-sort-btn {
  height: 32px;
  padding: 0 13px;
  border-radius: 9999px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 400;
  color: #ececec;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
}
.artmatter-dir-sort-btn:hover,
.artmatter-dir-sort-wrap.open .artmatter-dir-sort-btn {
  background: #18181c;
  border-color: rgba(169, 255, 93, 0.35);
  color: #a9ff5d;
}
.artmatter-sort-chevron {
  transition: transform 0.3s ease;
  color: #71717a;
}
.artmatter-dir-sort-wrap.open .artmatter-sort-chevron {
  transform: rotate(180deg);
  color: #a9ff5d;
}
.artmatter-dir-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.artmatter-dir-sort-wrap.open .artmatter-dir-sort-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.artmatter-sort-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 7px 11px;
  font-size: 11.5px;
  color: #a1a1aa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}
.artmatter-sort-option:hover {
  background: #1e1e24;
  color: #ffffff;
}
.artmatter-sort-option.active {
  color: #a9ff5d;
  background: rgba(169, 255, 93, 0.08);
  font-weight: 500;
}

/* Search Circle Button & Smooth Expandable Field */
.artmatter-dir-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.artmatter-dir-search-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  outline: none;
  padding: 0;
}
.artmatter-dir-search-toggle:hover,
.artmatter-dir-search-wrap.open .artmatter-dir-search-toggle {
  background: rgba(169, 255, 93, 0.09);
  border-color: rgba(169, 255, 93, 0.35);
  color: #a9ff5d;
}
.artmatter-dir-search-expandable {
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
  margin-left: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.artmatter-dir-search-wrap.open .artmatter-dir-search-expandable {
  width: 220px;
  opacity: 1;
  pointer-events: auto;
  margin-left: 6px;
}
.artmatter-dir-search-input {
  width: 100%;
  height: 32px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0 28px 0 12px;
  font-size: 11.5px;
  font-weight: 300;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.artmatter-dir-search-input:focus {
  border-color: rgba(169, 255, 93, 0.4);
  box-shadow: 0 0 0 2px rgba(169, 255, 93, 0.08);
}
.artmatter-dir-search-input::placeholder {
  color: #71717a;
  font-weight: 300;
}
.artmatter-dir-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #71717a;
  padding: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 50%;
}
.artmatter-dir-search-clear:hover {
  color: #ffffff;
}

/* ==========================================================================
   2. Artist Grid & Spacious Luxury Showcase Cards
   ========================================================================== */
.artmatter-artist-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  overflow: visible;
  position: relative;
}
.artmatter-artist-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.artmatter-artist-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.artmatter-artist-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Infinite Scroll Sentinel */
.artmatter-dir-sentinel {
  grid-column: 1 / -1;
  height: 60px;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}

/* Artist Card - Solid Rich Dark Container with Slow Luxury Fly Physics */
.artmatter-artist-card {
  background: #111114 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  padding: 34px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  position: relative;
  min-width: 0;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.75);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background-color 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}
.artmatter-artist-card:hover {
  transform: translateY(-5px);
  background: #141418 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 24px 55px -10px rgba(0, 0, 0, 0.88);
}

/* Artist of the Month Card - Subtle Lime Gradient Glow from Top Left */
.artmatter-artist-card.artmatter-artist-card-aotm {
  background: linear-gradient(135deg, rgba(169, 255, 93, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.005) 100%), #111114 !important;
  border-color: rgba(169, 255, 93, 0.28) !important;
  box-shadow: 0 14px 40px -10px rgba(169, 255, 93, 0.12), 0 14px 40px -10px rgba(0, 0, 0, 0.75) !important;
}
.artmatter-artist-card.artmatter-artist-card-aotm:hover {
  background: linear-gradient(135deg, rgba(169, 255, 93, 0.1) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.008) 100%), #141418 !important;
  border-color: rgba(169, 255, 93, 0.45) !important;
  box-shadow: 0 24px 55px -10px rgba(169, 255, 93, 0.2), 0 24px 55px -10px rgba(0, 0, 0, 0.88) !important;
}

/* Card Top Section (Profile Link - Vertically Centered) */
.artmatter-card-profile-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-width: 0;
}

/* Avatar Box */
.artmatter-card-avatar-box {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  flex-shrink: 0;
}
.artmatter-card-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Fandom Card 16:9 Ambient Banner Header */
.artmatter-fandom-card-banner-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.5;
  min-height: 140px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.artmatter-fandom-card-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.artmatter-fandom-card-banner-bg.is-fallback {
  background-size: cover;
  background-position: center;
}

.artmatter-fandom-card-banner-bg.is-empty {
  background: #18181d;
}

.artmatter-fandom-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.78) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.artmatter-fandom-card-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
  max-width: 92%;
}

.artmatter-fandom-card-title {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 2px 0 6px 0 !important;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.artmatter-fandom-card-sub {
  font-size: 11.5px;
  line-height: 1.45;
  color: #d4d4d8;
  margin: 0;
  max-width: 440px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  font-weight: 300;
}

@media (max-width: 640px) {
  .artmatter-fandom-card-banner-header {
    aspect-ratio: 16 / 9;
    min-height: 120px;
  }
}
.artmatter-card-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(169, 255, 93, 0.06);
  color: #a9ff5d;
  font-weight: 400;
  font-size: 28px;
}

/* Info Box (Vertically Centered with Avatar) */
.artmatter-card-info-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title & Pill Row */
.artmatter-card-artist-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Artist of the Month Pill */
.artmatter-aotm-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 9999px;
  background: rgba(169, 255, 93, 0.12);
  border: 1px solid rgba(169, 255, 93, 0.35);
  color: #a9ff5d;
  font-size: 10px;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}

/* Artist Name & Subtitle */
.artmatter-card-artist-name {
  font-size: 26px;
  font-weight: 400;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.018em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.artmatter-card-artist-bio {
  font-size: 13px;
  font-weight: 300;
  color: #a1a1aa;
  margin: 6px 0 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Horizontal Separator */
.artmatter-card-separator {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 20px 0;
}

/* Middle Showcase Grid - Responsive & Orientation-Aware */
.artmatter-card-artworks-grid {
  display: grid;
  gap: 12px;
  width: 100%;
  overflow: visible;
  position: relative;
  min-width: 0;
}
.artmatter-card-artworks-grid.portrait-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.artmatter-card-artworks-grid.landscape-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Artwork Poster Link with Realistic Wall Dimension & Studio Lighting */
.artmatter-artwork-poster,
.poster-lighting {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 0px !important;
  overflow: hidden;
  background: transparent;
  border: none;
  text-decoration: none;
  min-width: 0;
  box-shadow: 2px 2px 2px 0 hsl(0 0% 0% / 0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.artmatter-artwork-poster::before,
.poster-lighting::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), rgba(0, 0, 0, 0.45) 85%);
  mix-blend-mode: soft-light;
  z-index: 2;
  transform: translateZ(0);
}

.artmatter-artwork-poster::after,
.poster-lighting::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 1px 1px 0.5px rgba(255, 255, 255, 0.25), inset -1px -1px 0.5px rgba(0, 0, 0, 0.35);
  z-index: 3;
  transform: translateZ(0);
  box-sizing: border-box;
}

/* Micro-elevation on Hover: 6px 6px 8px and scaleX(1.01) scaleY(1.01) */
.artmatter-artwork-poster:hover,
.poster-lighting:hover {
  transform: translateY(-2px) scaleX(1.01) scaleY(1.01) translateZ(0);
  z-index: 5;
  box-shadow: 6px 6px 8px 0 hsl(0 0% 0% / 0.5);
}

/* Directory & Fandom Grid Museum Mat Board */
.artmatter-card-artworks-grid .artmatter-museum-mat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.15) 100%), var(--artmatter-mat-bg, #c6c5c2);
  border-radius: 2px;
  padding: 16px !important;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
  box-sizing: border-box;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.artmatter-card-artworks-grid .artmatter-museum-mat-card:hover {
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.16) 42%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.13) 100%), var(--artmatter-mat-bg, #c6c5c2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}

.artmatter-card-artworks-grid .artmatter-museum-art-wrap {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  box-shadow: var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.22), -2px 6px 10px -2px rgba(0, 0, 0, 0.22), 2px 6px 10px -2px rgba(0, 0, 0, 0.22), 0px 3px 6px -2px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  transform: translateZ(0);
}

.artmatter-card-artworks-grid .artmatter-museum-mat-card:hover .artmatter-museum-art-wrap {
  transform: scale(1.03) translateZ(0);
  box-shadow: var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* Full Artwork - Natural Ratio, Zero Letterbox Borders */
.artmatter-poster-img,
.artmatter-museum-art-img,
.poster-lighting img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.4;
  object-fit: cover;
  border-radius: 0px !important;
  display: block;
  background: transparent;
}
.artmatter-card-artworks-grid.landscape-2 .artmatter-poster-img,
.artmatter-card-artworks-grid.landscape-2 .artmatter-museum-art-img,
.artmatter-card-artworks-grid.landscape-2 .poster-lighting img {
  aspect-ratio: 1.4 / 1;
}

/* Card Bottom Footer: Clean Minimal Typography */
.artmatter-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 2px;
}
.artmatter-footer-category {
  font-size: 11.5px;
  font-weight: 400;
  color: #a9ff5d;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.artmatter-footer-count {
  font-size: 11.5px;
  font-weight: 300;
  color: #71717a;
  white-space: nowrap;
}

/* ==========================================================================
   3. Empty Results State
   ========================================================================== */
.artmatter-dir-empty-box {
  text-align: center;
  padding: 60px 20px;
  background: #111114;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #71717a;
  margin-top: 10px;
}
.artmatter-dir-empty-box svg {
  margin-bottom: 12px;
  stroke: #52525b;
}
.artmatter-empty-headline {
  font-size: 16px;
  font-weight: 400;
  color: #ececec;
  margin: 0 0 6px 0;
}
.artmatter-empty-subtext {
  font-size: 13px;
  font-weight: 300;
  margin: 0 0 18px 0;
}
.artmatter-dir-reset-btn {
  background: rgba(169, 255, 93, 0.08);
  border: 1px solid rgba(169, 255, 93, 0.3);
  color: #a9ff5d;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}
.artmatter-dir-reset-btn:hover {
  background: rgba(169, 255, 93, 0.18);
}

/* ==========================================================================
   4. Museum Mat Gallery Grid (Portrait: 3 Cols Desktop, 2 Cols Tablet, 1 Col Mobile)
   ========================================================================== */
.artmatter-museum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  width: 100%;
  position: relative;
  transition: grid-template-columns 0.5s ease;
}

.artmatter-museum-grid.landscape-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.artmatter-results-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 450px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity;
}

.artmatter-museum-mat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.15) 100%), var(--artmatter-mat-bg, #c6c5c2);
  border-radius: 2px;
  padding: 54px;
  text-decoration: none;
  overflow: visible;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.artmatter-museum-mat-card:hover {
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.16) 42%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.13) 100%), var(--artmatter-mat-bg, #c6c5c2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.44);
}

.artmatter-museum-art-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  background: transparent;
  line-height: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.15),
    var(--artmatter-sh-rest-x, 0px) var(--artmatter-sh-rest-y, 2.5px) 1.5px 0 rgba(0, 0, 0, 0.38),
    calc(var(--artmatter-sh-rest-x, 0px) * 0.7) calc(var(--artmatter-sh-rest-y, 2.5px) * 1.4) 4px 0 rgba(0, 0, 0, 0.45);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.artmatter-museum-art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0;
  box-shadow: inset var(--artmatter-occ-x, 0px) var(--artmatter-occ-y, 1px) 0.5px rgba(255, 255, 255, 0.32), inset calc(var(--artmatter-occ-x, 0px) * -1) calc(var(--artmatter-occ-y, 1px) * -1) 0.5px rgba(0, 0, 0, 0.48);
  z-index: 3;
  transform: translateZ(0);
  box-sizing: border-box;
}
.artmatter-museum-mat-card:hover .artmatter-museum-art-wrap {
  transform: scale(1.012) translateZ(0);
  box-shadow:
    var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.22),
    -2px 14px 16px -2px rgba(0, 0, 0, 0.22),
    2px 14px 16px -2px rgba(0, 0, 0, 0.22),
    0px 6px 8px -2px rgba(0, 0, 0, 0.48),
    0px 14px 20px -3px rgba(0, 0, 0, 0.55),
    0px 26px 42px 0 rgba(0, 0, 0, 0.65);
}

.artmatter-museum-art-anchor {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.artmatter-museum-art-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease;
}

.artmatter-results-item-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 14px;
  width: 100%;
}

.artmatter-results-item-title {
  font-size: 13px;
  font-weight: 400;
  color: #f4f4f5;
  margin: 0;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.3s ease;
}
.artmatter-results-item-title:hover {
  color: #a9ff5d;
}

.artmatter-results-item-artist {
  font-size: 11.5px;
  font-weight: 400;
  color: #71717a;
  margin-top: 4px;
  text-decoration: none;
  font-family: inherit;
  transition: color 0.3s ease;
}
.artmatter-results-item-artist:hover {
  color: #a1a1aa;
}

.artmatter-pinned-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(18, 18, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #a9ff5d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  pointer-events: none;
  transition: all 0.25s ease;
}
.artmatter-pinned-pill svg {
  transform: rotate(45deg);
  display: block;
}

/* ==========================================================================
   5. Mobile & Tablet Responsive Precision
   ========================================================================== */
@media (max-width: 1024px) {
  .artmatter-artist-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }
  .artmatter-museum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .artmatter-museum-grid.landscape-view {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .artmatter-museum-mat-card {
    padding: 48px;
  }
  .artmatter-artist-card {
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .artmatter-museum-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
  }
  .artmatter-museum-mat-card {
    padding: 48px;
  }
  .artmatter-artists-directory {
    margin: 16px auto 60px auto;
  }
  .artmatter-dir-topbar {
    gap: 12px;
    margin-bottom: 24px;
  }
  .artmatter-dir-search-box {
    max-width: 100%;
  }
  .artmatter-dir-controls-row {
    gap: 8px;
  }
  .desktop-only {
    display: none !important;
  }
  .artmatter-shadcn-trigger {
    padding: 0 9px;
  }
  .artmatter-artist-card {
    padding: 18px;
    border-radius: 16px;
  }
  .artmatter-card-profile-link {
    gap: 14px;
  }
  .artmatter-card-avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }
  .artmatter-card-artist-name {
    font-size: 20px;
  }
  .artmatter-card-artist-bio {
    font-size: 12px;
  }
  .artmatter-card-artworks-grid {
    gap: 8px;
  }
  .artmatter-card-artworks-grid .artmatter-museum-mat-card {
    padding: 10px !important;
  }
}

/* Responsive Topbar Layout for Mobile & Tablet */
@media (max-width: 768px) {
  .artmatter-dir-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .artmatter-results-orient-bar {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 9999px !important;
  }
  .artmatter-orient-btn {
    flex: 1 1 50% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
    height: 34px !important;
    border-radius: 9999px !important;
  }
  .artmatter-dir-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .artmatter-dir-col-wrap {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: fit-content !important;
  }
  .artmatter-dir-col-btn {
    width: auto !important;
    max-width: fit-content !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 0 12px !important;
    height: 32px !important;
  }
  .artmatter-dir-sort-wrap {
    flex-shrink: 0;
    margin-left: auto;
  }
  .artmatter-dir-sort-btn {
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
  .artmatter-dir-sort-btn .artmatter-sort-current-label,
  .artmatter-dir-sort-btn .artmatter-sort-chevron {
    display: none !important;
  }
  .artmatter-dir-search-wrap {
    flex-shrink: 0;
  }
  .artmatter-dir-search-wrap.open .artmatter-dir-search-expandable {
    width: 110px;
  }

  /* Artists Directory Specific Mobile Topbar (Always 100% Inlined on One Row) */
  .artmatter-artists-directory .artmatter-dir-controls-row {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .artmatter-artists-directory .artmatter-dir-chips-mask {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .artmatter-artists-directory .artmatter-dir-actions {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    gap: 6px !important;
  }
}

/* ==========================================================================
   FEATURED ARTISTS SHOWCASE (Curated Luxury Edition)
   ========================================================================== */
.artmatter-featured-artists-wrap {
  width: 100%;
  margin: 32px auto 60px auto;
  box-sizing: border-box;
  font-family: inherit;
  color: #ececec;
}
.artmatter-featured-artists-wrap * {
  box-sizing: border-box;
}

.artmatter-featured-artists-grid {
  display: grid;
  gap: 28px;
  width: 100%;
}

.artmatter-featured-artists-wrap.cols-1 .artmatter-featured-artists-grid {
  grid-template-columns: 1fr;
}
.artmatter-featured-artists-wrap.cols-2 .artmatter-featured-artists-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.artmatter-featured-artists-wrap.cols-3 .artmatter-featured-artists-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Luxury Featured Card with Top-Left Gradient */
.artmatter-featured-card {
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.008) 45%, transparent 75%), linear-gradient(135deg, #16161b 0%, #0d0d10 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
}

/* Hover: Subtle Neutral Elevation - Zero Green Border */
.artmatter-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
}

/* Card Header: Heroic Identity Strip */
.artmatter-feat-header {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  width: 100%;
}

.artmatter-feat-identity-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.artmatter-feat-identity-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

/* Avatar Halo */
.artmatter-feat-avatar-halo {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #19191e;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.35s ease;
}

.artmatter-featured-card:hover .artmatter-feat-avatar-halo {
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.artmatter-feat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.artmatter-feat-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(169, 255, 93, 0.08);
  color: #a9ff5d;
  font-size: 22px;
  font-weight: 500;
}

/* Badge Icon on Avatar Corner */
.artmatter-feat-badge-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0d0d10;
  border: 1.5px solid rgba(169, 255, 93, 0.8);
  color: #a9ff5d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Meta Box */
.artmatter-feat-meta-box {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.artmatter-feat-tagline-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

/* Lighter Badge Font Weight */
.artmatter-feat-curated-badge {
  font-size: 10.5px;
  font-weight: 350;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a9ff5d;
  white-space: nowrap;
}

.artmatter-feat-origin {
  font-size: 11px;
  font-weight: 300;
  color: #8e8e93;
  white-space: nowrap;
}

.artmatter-feat-artist-name {
  font-size: 21px;
  font-weight: 450;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artmatter-feat-artist-bio {
  font-size: 12.5px;
  font-weight: 300;
  color: #9d9da4;
  margin: 4px 0 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

/* Header CTA Button */
.artmatter-feat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.25s ease;
  user-select: none;
  margin-top: 2px;
}

.artmatter-feat-cta-btn svg {
  transition: transform 0.25s ease;
}

.artmatter-feat-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.artmatter-feat-cta-btn:hover svg {
  transform: translateX(2px);
}

/* Card Showcase: 6-Artwork Slideable Museum Mat Strip with Overflow Gradient Mask */
.artmatter-feat-artworks-mask {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 6px 0 16px 0;
  mask-image: linear-gradient(to right, black 0%, black calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 32px), transparent 100%);
}

.artmatter-feat-artworks-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
}

/* Featured Card Museum Mat Board */
.artmatter-feat-artworks-strip .artmatter-museum-mat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.15) 100%), var(--artmatter-mat-bg, #c6c5c2);
  border-radius: 2px;
  padding: 16px 12px !important;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
  box-sizing: border-box;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.artmatter-feat-artworks-strip .artmatter-museum-mat-card:hover {
  background: radial-gradient(circle at var(--artmatter-mat-light-x, 18%) var(--artmatter-mat-light-y, 12%), rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.16) 42%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.13) 100%), var(--artmatter-mat-bg, #c6c5c2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}

.artmatter-feat-artworks-strip .artmatter-museum-art-wrap {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  box-shadow: var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.22), -2px 6px 10px -2px rgba(0, 0, 0, 0.22), 2px 6px 10px -2px rgba(0, 0, 0, 0.22), 0px 3px 6px -2px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  transform: translateZ(0);
}

.artmatter-feat-artworks-strip .artmatter-museum-mat-card:hover .artmatter-museum-art-wrap {
  transform: scale(1.02) translateZ(0);
  box-shadow: var(--artmatter-hl-x, 0px) var(--artmatter-hl-y, -1px) 0 0.5px rgba(255, 255, 255, 0.35), 0 8px 16px rgba(0, 0, 0, 0.6);
}

.artmatter-feat-artworks-strip .artmatter-museum-art-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.4;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.artmatter-feat-artworks-strip .artmatter-museum-art-img.is-landscape {
  aspect-ratio: 1.4 / 1;
}

/* Card Footer: Metrics & Links */
.artmatter-feat-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
}

.artmatter-feat-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8e8e93;
  font-size: 11.5px;
  font-weight: 300;
}

.artmatter-feat-footer-featured {
  font-size: 11.5px;
  font-weight: 300;
  color: #71717a;
  user-select: none;
  letter-spacing: normal;
}

/* Responsive adjustments: Slideable horizontal scroll on small viewports */
@media (max-width: 991px) {
  .artmatter-featured-artists-wrap.cols-2 .artmatter-featured-artists-grid,
  .artmatter-featured-artists-wrap.cols-3 .artmatter-featured-artists-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .artmatter-feat-artworks-mask {
    mask-image: linear-gradient(to right, black 0%, black calc(100% - 36px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 36px), transparent 100%);
  }
  .artmatter-feat-artworks-strip {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px !important;
    padding-bottom: 4px;
    padding-right: 28px;
  }
  .artmatter-feat-artworks-strip::-webkit-scrollbar {
    display: none;
  }
  .artmatter-feat-artworks-strip .artmatter-museum-mat-card {
    flex: 0 0 100px !important;
    min-width: 100px !important;
    padding: 12px 10px !important;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .artmatter-featured-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .artmatter-feat-identity-group {
    flex-direction: column;
    gap: 12px;
  }
  .artmatter-feat-avatar-halo {
    width: 56px;
    height: 56px;
  }
  .artmatter-feat-artist-name {
    font-size: 18px;
  }
  .artmatter-feat-cta-btn {
    align-self: flex-start;
  }
  .artmatter-feat-artworks-strip .artmatter-museum-mat-card {
    flex: 0 0 92px !important;
    min-width: 92px !important;
    padding: 10px 8px !important;
  }
}

/* ==========================================================================
   ARTIST PAGE BADGE PILLS (Featured, New, Artist of the Month, Tiers)
   ========================================================================== */
.artmatter-artist-pills-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.artmatter-artist-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  user-select: none;
  line-height: 1 !important;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

/* Tier: Community Creator */
.artmatter-artist-pill.pill-community_creator,
.artmatter-artist-pill.pill-creator {
  background: rgba(255, 255, 255, 0.08);
  color: #d4d4d8;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Tier: Curated Artist */
.artmatter-artist-pill.pill-curated_artist,
.artmatter-artist-pill.pill-curated {
  background: rgba(169, 255, 93, 0.14);
  color: #a9ff5d;
  border-color: rgba(169, 255, 93, 0.38);
}

/* Tier: Verified Artist & Verified Brand */
.artmatter-artist-pill.pill-verified_artist,
.artmatter-artist-pill.pill-verified,
.artmatter-artist-pill.pill-verified_brand,
.artmatter-artist-pill.pill-brand {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.38);
}

/* Tier: Public Domain */
.artmatter-artist-pill.pill-public_domain_artist,
.artmatter-artist-pill.pill-public_domain {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.38);
}

/* Tier: Artmatter Studio */
.artmatter-artist-pill.pill-in_house_artist {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.38);
}

/* Status: Featured Pill */
.artmatter-artist-pill.pill-featured {
  background: rgba(169, 255, 93, 0.14);
  color: #a9ff5d;
  border-color: rgba(169, 255, 93, 0.4);
}

/* Status: Artist of the Month Pill */
.artmatter-artist-pill.pill-aotm,
.artmatter-artist-pill.pill-artist-of-the-month {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}

/* Status: New Creator Pill */
.artmatter-artist-pill.pill-new {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Artmatter Dynamic Artist Profile Hero: [artmatter_artist_header]
   ========================================================================== */

.artmatter-artist-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px 0;
  border-radius: 24px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-sizing: border-box;
  padding: 54px 32px 46px;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.75);
  transition: all 0.3s ease;
  font-family: inherit;
}

.artmatter-artist-hero.is-compact {
  padding: 32px 24px 28px;
  margin-bottom: 24px;
}

/* Background Layer */
.artmatter-artist-hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.artmatter-artist-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease;
}

.artmatter-artist-hero-bg.is-custom-banner {
  opacity: 0.85;
  filter: contrast(1.05) saturate(1.1);
  transform: none;
}

.artmatter-artist-hero-bg.is-ambient-banner {
  filter: blur(4px) brightness(0.6) saturate(1.2);
  transform: scale(1.08);
}

/* Geometric Neutral Dark Mesh Accent */
.artmatter-artist-hero-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, transparent 30%, rgba(17, 17, 20, 0.96) 100%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  opacity: 0.45;
}

/* Neutral Gradient Overlay */
.artmatter-artist-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 20, 0.25) 0%, rgba(17, 17, 20, 0.70) 50%, rgba(17, 17, 20, 0.96) 100%);
}

/* Hero Content */
.artmatter-artist-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Avatar Box */
.artmatter-artist-hero-avatar-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.artmatter-artist-hero.is-compact .artmatter-artist-hero-avatar-wrap {
  width: 90px;
  height: 90px;
  margin-bottom: 10px;
}

.artmatter-artist-hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.9);
  background: #18181d;
  display: block;
}

.artmatter-artist-hero-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  background: #18181c;
}

/* Floating Badge (Solid High-Contrast, Uniform Padding, Light Weight 500) */
.artmatter-artist-hero-badge {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 7.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2.5px 7px;
  border-radius: 9999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.artmatter-artist-hero-badge.pill-curated_artist,
.artmatter-artist-hero-badge.pill-curated,
.artmatter-artist-hero-badge.pill-community_creator,
.artmatter-artist-hero-badge.pill-creator {
  background: #a9ff5d;
  color: #000000;
  font-weight: 500;
  border: none;
}

.artmatter-artist-hero-badge.pill-public_domain,
.artmatter-artist-hero-badge.pill-public_domain_artist {
  background: #fbbf24;
  color: #000000;
  font-weight: 500;
  border: none;
}

.artmatter-artist-hero-badge.pill-verified_artist,
.artmatter-artist-hero-badge.pill-verified,
.artmatter-artist-hero-badge.pill-verified_brand,
.artmatter-artist-hero-badge.pill-brand {
  background: #38bdf8;
  color: #000000;
  font-weight: 500;
  border: none;
}

.artmatter-artist-hero-badge.pill-in_house_artist {
  background: #c084fc;
  color: #000000;
  font-weight: 500;
  border: none;
}

/* Artist Title */
.artmatter-artist-hero-name {
  font-family: inherit;
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 6px 0 10px;
}

.artmatter-artist-hero.is-compact .artmatter-artist-hero-name {
  font-size: clamp(20px, 2.8vw, 24px);
  margin-bottom: 8px;
}

/* Metadata Pills */
.artmatter-artist-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.artmatter-hero-pill,
.artmatter-artist-hero-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 11px;
  font-weight: 400 !important;
  font-family: inherit;
  transition: all 0.2s ease;
  line-height: 1 !important;
}

.artmatter-hero-pill:hover,
.artmatter-artist-hero-pills span:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: #1e1e24;
}

.artmatter-hero-pill.pill-handle {
  color: #d4d4d8;
  font-weight: 400 !important;
}

.artmatter-hero-pill.pill-featured {
  color: #a9ff5d;
  background: rgba(169, 255, 93, 0.08);
  border-color: rgba(169, 255, 93, 0.35);
  font-weight: 400 !important;
}

.artmatter-hero-pill.pill-aotm {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.35);
  font-weight: 400 !important;
}

.artmatter-hero-pill.pill-new {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 400 !important;
}

/* Bio */
.artmatter-artist-hero-bio {
  font-size: 12px;
  line-height: 1.55;
  color: #71717a;
  max-width: 560px;
  margin: 0 auto 10px;
  font-family: inherit;
  text-align: center;
}

.artmatter-artist-hero.is-compact .artmatter-artist-hero-bio {
  margin-bottom: 8px;
}

/* Fandom Hero Specific Adjustments */
.artmatter-fandom-hero {
  padding: 64px 32px 50px;
}
.artmatter-fandom-hero.is-compact {
  padding: 38px 24px 32px;
}
.artmatter-fandom-hero-name {
  font-size: clamp(28px, 4.5vw, 42px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em;
  margin: 4px 0 10px !important;
  line-height: 1.15;
}
.artmatter-hero-pill.pill-creators {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 400 !important;
}
.artmatter-hero-pill.pill-alias {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.35);
  font-weight: 400 !important;
}
.artmatter-fandom-hero-bio {
  max-width: 640px !important;
  color: #a1a1aa !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* Extended Biography Trigger */
.artmatter-artist-hero-story-wrap {
  margin-top: -2px;
  margin-bottom: 12px;
}

.artmatter-hero-bio-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 13px;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.artmatter-hero-bio-trigger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Actions & Socials */
.artmatter-artist-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.artmatter-hero-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  text-decoration: none;
  transition: all 0.2s ease;
}

.artmatter-hero-social-btn:hover {
  color: #ffffff;
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Biography Story Dialog Modal */
.artmatter-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-sizing: border-box;
}

.artmatter-bio-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.artmatter-bio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.artmatter-bio-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  background: #131317;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
}

.artmatter-bio-modal.is-open .artmatter-bio-modal-dialog {
  transform: scale(1) translateY(0);
}

.artmatter-bio-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.artmatter-bio-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.artmatter-bio-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artmatter-bio-modal-avatar-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.artmatter-bio-modal-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #18181d;
  display: block;
}

.artmatter-bio-modal-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  background: #18181c;
  border-radius: 16px;
}

.artmatter-bio-modal-meta {
  flex: 1;
  min-width: 0;
}

.artmatter-bio-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 3px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.artmatter-bio-modal-sub {
  font-size: 11.5px;
  color: #71717a;
  margin: 0;
}

.artmatter-bio-modal-body {
  font-size: 13px;
  line-height: 1.7;
  color: #a1a1aa;
  font-family: inherit;
}

.artmatter-bio-modal-body p {
  margin: 0 0 16px 0;
}

.artmatter-bio-modal-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .artmatter-artist-hero {
    padding: 28px 16px 22px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .artmatter-artist-hero-avatar-wrap {
    width: 88px;
    height: 88px;
    margin-bottom: 10px;
  }
  .artmatter-artist-hero-avatar {
    border-radius: 18px;
  }
  .artmatter-artist-hero-name {
    font-size: 22px;
  }
  .artmatter-artist-hero-bio {
    font-size: 11.5px;
    line-height: 1.5;
  }
}


