.rfm-artists-page {
  width: 100%;
  background: #FAF6F5;
  padding: 165px 0 90px;
  font-family: var(--rfm-font-main);
  overflow-x: hidden;
}
.rfm-artists-page-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}
.rfm-artists-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, calc((100% - 36px) / 3));
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.rfm-artists-page-main,
.rfm-artists-sidebar { min-width: 0; }
.rfm-artists-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 4, 53, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.48));
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: 0 18px 52px rgba(38,28,29,0.07), inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  box-sizing: border-box;
}
.rfm-artists-kicker-wrap,
.rfm-artists-section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background: rgba(210, 4, 45, 0.08);
  border: 1px solid rgba(210, 4, 45, 0.2);
  border-radius: 6px;
  padding: 6px 14px;
  box-sizing: border-box;
}
.rfm-artists-title-dot,
.rfm-artists-focus-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #D20435;
  flex: 0 0 auto;
}
.rfm-artists-kicker,
.rfm-artists-focus-title {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #D20435;
}
.rfm-artists-hero-title {
  margin: 16px 0 6px;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
  color: #16161D;
  text-transform: uppercase;
}
.rfm-artists-hero-text {
  margin: 0 0 22px;
  max-width: 660px;
  color: rgba(22,22,29,0.66);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
.rfm-artists-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 720px);
  min-width: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  padding: 6px 18px;
  box-shadow: 0 14px 38px rgba(38, 28, 29, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}
.rfm-artists-search-shell:focus-within {
  border-color: rgba(210, 4, 53, 0.34);
  box-shadow: 0 16px 42px rgba(210, 4, 53, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.rfm-artists-search-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rfm-artists-search-icon svg { width: 20px; height: 20px; fill: #D20435; }
.rfm-artists-search-input {
  width: 100%;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 15px 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.25px;
  color: #16161D !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
}
.rfm-artists-search-input::placeholder { color: rgba(38,28,29,0.34); }
.rfm-artists-focus-section,
.rfm-artists-catalog-section {
  margin: 0 0 34px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.44);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 14px 42px rgba(38,28,29,0.045);
  box-sizing: border-box;
}
.rfm-artists-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
}
.rfm-artists-count {
  color: rgba(38,28,29,0.46);
  font-size: 12px;
  font-weight: 800;
}
.rfm-artists-focus-marquee {
  position: relative;
  overflow: hidden;
  padding: 2px 0 10px;
}
.rfm-artists-focus-marquee::before,
.rfm-artists-focus-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 96px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.rfm-artists-focus-marquee::before { left: 0; background: linear-gradient(to right, #FAF6F5, transparent); }
.rfm-artists-focus-marquee::after { right: 0; background: linear-gradient(to left, #FAF6F5, transparent); }
.rfm-artists-focus-track {
  display: flex;
  gap: 24px;
  width: max-content;
  align-items: flex-start;
  animation: rfm-artists-page-scroll 150s linear infinite;
}
.rfm-artists-focus-track:hover { animation-play-state: paused; }
@keyframes rfm-artists-page-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.rfm-artist-result-card,
.rfm-focus-card { text-decoration: none; color: inherit; }
.rfm-focus-card {
  flex: 0 0 146px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  transition: transform 0.22s ease;
}
.rfm-focus-card:hover { transform: translateY(-3px); }
.rfm-artist-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #D20435 0%, #8B0018 100%);
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(38,28,29,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rfm-focus-card .rfm-artist-avatar { width: 132px; height: 132px; flex-basis: 132px; }
.rfm-artist-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rfm-artist-initials { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -0.6px; }
.rfm-focus-name {
  max-width: 140px;
  font-size: 12px;
  font-weight: 800;
  color: #261C1D;
  text-align: center;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.rfm-artists-letters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1px 0 18px;
  margin: -2px 0 4px;
}
.rfm-artists-letters::-webkit-scrollbar { display: none; }
.rfm-artists-letter-btn {
  appearance: none;
  border: 1px solid rgba(38,28,29,0.08);
  background: rgba(255,255,255,0.68);
  color: rgba(38,28,29,0.64);
  border-radius: 999px;
  min-width: 38px;
  height: 36px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.1px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  flex: 0 0 auto;
}
.rfm-artists-letter-btn.is-active {
  background: linear-gradient(135deg, #D20435, #A70227);
  color: #fff;
  border-color: rgba(210,4,53,0.22);
  box-shadow: 0 8px 18px rgba(210,4,53,0.16);
}
.rfm-artists-letter-btn:disabled { opacity: 0.38; cursor: default; }
.rfm-artists-results {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-height: 0;
}
.rfm-artist-result-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 10px 28px rgba(38,28,29,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.rfm-artist-result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(210,4,53,0.28);
  box-shadow: 0 18px 42px rgba(210,4,53,0.11);
}
.rfm-artist-result-name {
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: #261C1D;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.rfm-artists-message {
  grid-column: 1 / -1;
  color: #6B6061;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.76);
}
.rfm-artists-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(210,4,53,0.18);
  background: rgba(210,4,53,0.08);
  color: #D20435;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
}
.rfm-artists-load-more:not([hidden]) { display: flex; }
.rfm-artists-loading { color: #6B6061; font-size: 13px; font-weight: 800; padding: 18px 0; }
.rfm-artists-debug {
  margin: 24px 0;
  padding: 18px;
  border-radius: 14px;
  background: rgba(38,28,29,0.88);
  color: #fff;
  white-space: pre-wrap;
  overflow-x: auto;
  font-size: 12px;
}
@media (max-width: 1200px) {
  .rfm-artists-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .rfm-artists-page { padding-top: 125px; }
  .rfm-artists-page-inner { padding: 0 16px; }
  .rfm-artists-layout-grid { grid-template-columns: 1fr; gap: 32px; }
  .rfm-artists-hero { padding: 22px; border-radius: 24px; }
  .rfm-artists-hero-title { letter-spacing: -2px; }
  .rfm-artists-search-shell { max-width: 100%; }
  .rfm-artists-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rfm-artists-page-inner { padding: 0 14px; }
  .rfm-artists-hero { padding: 18px; margin-bottom: 22px; }
  .rfm-artists-hero-title { font-size: 42px; letter-spacing: -1.5px; }
  .rfm-artists-hero-text { font-size: 14px; margin-bottom: 18px; }
  .rfm-artists-search-input { font-size: 15px !important; padding: 13px 0 !important; }
  .rfm-artists-focus-section,
  .rfm-artists-catalog-section { padding: 18px 14px; border-radius: 22px; margin-bottom: 24px; }
  .rfm-artists-section-header { margin-bottom: 18px; }
  .rfm-artists-focus-marquee::before,
  .rfm-artists-focus-marquee::after { width: 46px; }
  .rfm-artists-focus-track { gap: 16px; animation-duration: 70s; }
  .rfm-focus-card { flex-basis: 112px; }
  .rfm-focus-card .rfm-artist-avatar { width: 98px; height: 98px; flex-basis: 98px; }
  .rfm-focus-name { max-width: 108px; font-size: 11px; }
  .rfm-artists-results { grid-template-columns: 1fr; gap: 12px; }
  .rfm-artist-result-card { padding: 12px; }
  .rfm-artist-avatar { width: 56px; height: 56px; flex-basis: 56px; }
  .rfm-artists-layout-grid { gap: 28px; }
}
