.artist-preferences {
  max-width: 1500px;
  margin: 0 auto;
}

.preference-search {
  margin: 0 0 12px;
}

.preference-search input {
  min-width: 0;
  font-size: 16px;
}

.preference-status {
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.preference-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  z-index: 0;
}
.preference-inline-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  color: var(--muted);
  font-size: 13px;
}
.preference-inline-heading {
  grid-column: 1 / -1;
  margin: 4px 0 -12px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}
.artist-photo-credit {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.artist-photo-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-underline-offset: 3px;
}

.artist-photo-credit summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
}

.artist-photo-credit > div {
  display: grid;
  text-align: center;
}

.preference-artist:disabled {
  opacity: 1;
  cursor: progress;
}

.preference-copy > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.artist-photo-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  text-underline-offset: 3px;
}

.artist-heading > .cover.round.large[data-artwork-kind] {
  width: clamp(112px, 28vw, 160px);
  height: clamp(112px, 28vw, 160px);
  flex: 0 0 clamp(112px, 28vw, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.preference-pending {
  color: var(--accent);
  font-size: 12px;
}

.preference-feedback,
.preference-row-error {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0;
}

.preference-feedback p {
  margin: 0 0 8px;
}

.preference-empty {
  color: var(--muted);
  font-size: 16px;
  margin: 32px 8px;
}

.artist-photo-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.preference-actions > .button {
  min-height: 48px;
}

body.has-player .preference-actions {
  bottom: calc(150px + var(--safe-bottom));
}

.preference-section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (hover: hover) {
  .preference-artist:not(:disabled):hover {
    background: #ffffff08;
  }
  .preference-item:hover {
    z-index: 3;
  }
  .preference-artist:not(:disabled):hover > .cover {
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 12px 30px #0007;
  }
}

/* The name crosses the portrait edge; only the photograph clips to a circle. */
.preference-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr));
  gap: clamp(20px, 2.5vw, 30px) clamp(8px, 1.8vw, 20px);
  align-items: start;
}
.preference-artist {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 6px 4px 4px;
  border: 0;
  color: var(--text);
  min-height: 0;
  text-align: center;
  border-radius: 18px;
  overflow: visible;
  background: transparent;
  transition:
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preference-artist > .cover[data-artwork-kind] {
  width: min(100%, 156px);
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    outline-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preference-artist[aria-pressed='true'] > .cover {
  outline-color: var(--accent);
  box-shadow: 0 8px 28px #ffe60024;
  transform: scale(1.035);
}
.preference-artist:active > .cover {
  transform: scale(0.975);
}
.preference-artist:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.preference-copy {
  min-width: 0;
  font-family: var(--font-body);
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  position: relative;
  margin-top: 8px;
  overflow: visible;
  z-index: 1;
}
.preference-copy > strong {
  display: block;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: 0 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.preference-pending {
  font-size: 10px;
  line-height: 1.35;
}
.preference-row-error {
  padding: 0;
  font-size: 12px;
  text-align: center;
}
.preference-row-error .button {
  min-height: 44px;
}
.preference-actions {
  position: sticky;
  z-index: 2;
  margin-top: 12px;
  padding: 20px 0 12px;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 8px;
  bottom: calc(64px + var(--safe-bottom));
  background: linear-gradient(0deg, var(--bg, #080809) 75%, #08080900);
}
.selection-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  min-height: 20px;
}
.preference-actions > .primary {
  min-width: 0;
  justify-content: center;
}
body.keyboard-open .preference-actions {
  position: sticky;
  bottom: 0;
}
.keyboard-open .artist-preferences {
  padding-bottom: 0;
}
@media (min-width: 600px) {
  .preference-results {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 142px), 1fr));
    gap: clamp(24px, 2.2vw, 34px) clamp(12px, 1.8vw, 24px);
  }
  .preference-artist > .cover[data-artwork-kind] {
    width: min(100%, 168px);
  }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #main:has(.artist-preferences) {
    max-width: 1500px;
  }
  .preference-results {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 144px), 1fr));
    gap: 34px clamp(12px, 1.5vw, 24px);
  }
  .preference-artist > .cover[data-artwork-kind] {
    width: min(100%, 184px);
  }
  .preference-copy > strong {
    font-size: 14px;
  }
  .preference-actions,
  body.has-player .preference-actions {
    bottom: 0;
    max-width: 440px;
    margin-inline: auto;
  }
}
@media (max-width: 359px) {
  .preference-artist > .cover[data-artwork-kind] {
    max-width: 112px;
  }
  .preference-results {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 126px), 1fr));
    gap: 18px 6px;
  }
  .preference-copy > strong {
    font-size: 12px;
  }
  .preference-actions > .button {
    font-size: 13px;
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preference-artist {
    transition: none;
  }
  .preference-artist > .cover[data-artwork-kind] {
    transition: none;
    transform: none;
  }
}
/* Artist discovery follows the reference's two-dimensional photo mosaic. */
.artist-preferences { font-family: var(--font-body); }
.artist-preferences .page-heading { margin-bottom: 8px; }
.artist-preferences .page-heading h1 { font-size: clamp(19px, 4.7vw, 24px); text-wrap: balance; }
.preference-search-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.preference-search-tools .preference-search { flex: 1; min-width: 0; margin: 0; }
.preference-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.preference-toolbar .preference-status { margin: 0; min-height: 0; font-size: 12px; }
.preference-toolbar .button { min-height: 44px; }
.artist-field { width: calc(100% + 32px); margin-inline: -16px; height: clamp(320px, 70dvh, 780px); overflow: auto; touch-action: pan-x pan-y; overscroll-behavior: contain; scrollbar-width: none; cursor: grab; border-radius: 16px; background: #0a0a0c; }
.artist-field::-webkit-scrollbar { display: none; }
.artist-field[data-dragging] { cursor: grabbing; user-select: none; }
.artist-field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.artist-field .preference-results { position: relative; display: block; width: calc(var(--field-columns) * 144px); height: calc(var(--field-rows) * 184px); margin: 0; padding: 0; }
.artist-field .preference-item { position: absolute; left: calc(var(--field-x) * 144px); top: calc(var(--field-y) * 184px); width: 136px; height: 176px; border-radius: 12px; background: #202023; overflow: hidden; isolation: isolate; }
.artist-field .preference-artist { position: absolute; inset: 0; padding: 0; width: 100%; height: 100%; border-radius: inherit; background: transparent; }
.artist-field .preference-artist > .cover[data-artwork-kind] { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border-radius: inherit; transform: none; box-shadow: none; outline: 0; }
.artist-field .preference-artist > .cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.artist-field .preference-artist::after { content: ''; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent, #0009 55%, #000e); pointer-events: none; }
.artist-field .preference-copy { position: absolute; bottom: 50px; z-index: 1; margin: 0; padding-inline: 6px; pointer-events: none; }
.artist-field .preference-copy > strong { font-family: var(--font-body); font-size: 13px; font-weight: 700; line-height: 1.25; color: #fff; text-shadow: 0 1px 6px #0008; }
.artist-field .preference-copy small { color: #e4e4e8; font-size: 9px; line-height: 1.2; }
.preference-heart.icon-button { position: absolute; bottom: 2px; left: calc(50% - 24px); width: 48px; height: 48px; min-height: 48px; z-index: 2; background: transparent; color: #fff; }
.preference-heart .ui-icon { width: 23px; height: 23px; }
.preference-heart[aria-pressed='true'] { color: #ff5269; }
.preference-heart[aria-pressed='true'] .ui-icon { --icon: url('./icons/heart-filled.png') !important; }
.artist-field .preference-item[data-selected='true'] { outline: 2px solid #ff5269; outline-offset: -2px; }
.artist-field .preference-pending { position: absolute; top: 6px; inset-inline: 4px; background: #111d; border-radius: 6px; padding: 4px; text-align: center; z-index: 3; }
.artist-field .preference-row-error { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 10px; background: #18181bec; color: #ffbdba; display: flex; flex-direction: column; justify-content: center; }
.preference-no-photo { position: absolute; top: 25px; padding-inline: 12px; font-size: 11px; color: #c3c3cd; }
.artist-field .preference-without-photo .preference-copy { bottom: 56px; }
.artist-field.is-list { height: auto; max-height: 64dvh; padding: 8px; margin-inline: 0; width: 100%; }
.artist-field.is-list .preference-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; width: auto; height: auto; }
.artist-field.is-list .preference-item { position: relative; left: auto; top: auto; width: 100%; }
.preference-inline-status { margin: 4px 0 10px; font-size: 12px; min-height: 20px; }
.preference-actions { padding: 12px; border: 1px solid #ffffff12; border-radius: 18px; background: #242428f5; box-shadow: 0 8px 24px #0005; grid-template-columns: 1fr auto; }
.preference-actions .selection-count { grid-column: auto; align-self: center; margin: 0; color: #e3e3e9; }
.preference-actions .primary { grid-column: 2; grid-row: 1; min-height: 44px; }
.preference-actions .subtle { grid-column: 2; min-height: 36px; }
.preference-preview { text-align: center; }
.preference-preview > .cover.large { display: block; width: min(100%, 320px); height: 360px; border-radius: 22px; margin: 0 auto 16px; }
.preference-preview > .cover.large img { object-fit: cover; }
.preference-preview-actions { display: flex; justify-content: center; gap: 16px; align-items: center; }
.preference-preview-actions [aria-pressed='true'] { color: #ff7185; }
.preference-preview .artist-photo-credit { margin-top: 8px; }
.collection-aura { position: relative; width: 100%; min-height: 84px; border: 0; border-radius: 18px; overflow: hidden; isolation: isolate; color: #101012; background: var(--collection-aura); cursor: pointer; }
.collection-aura:disabled { opacity: 1; cursor: default; }
.collection-aura-light { position: absolute; inset: -60% -20%; z-index: -1; background: radial-gradient(ellipse at 25% 60%, #fff9 0, transparent 40%), radial-gradient(ellipse at 65% 40%, var(--collection-aura-deep), transparent 60%); transform: rotate(-12deg); }
.collection-aura-copy { display: grid; justify-items: center; gap: 4px; position: relative; padding: 14px; }
.collection-aura-copy small { font-size: 12px; font-weight: 600; }
.collection-aura-copy strong { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 750; }
.collection-aura-copy .ui-icon { width: 18px; height: 18px; }
.collection-aura-caption { margin: 10px 0 26px; text-align: center; color: var(--muted); font-size: 12px; }
.collection-aura-caption strong { color: var(--collection-aura); font-weight: 600; }
.collection-page .page-heading { margin-bottom: 18px; }
.collection-page .page-heading h1 { font-size: 28px; }
@media (min-width: 768px) {
  .artist-field { margin-inline: 0; width: 100%; }
  .preference-actions { max-width: 480px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-field *, .preference-preview * { animation: none !important; transition: none !important; }
}
/* Spatial discovery: one persistent card, with room made before neighbors enter. */
.artist-field-shell { position: relative; }
.artist-field { height: min(clamp(300px, calc(100dvh - 270px), 780px), calc(var(--visible-field-rows, 5) * 184px + 8px)); }
.artist-field .preference-results { width: calc(var(--field-columns) * 144px + 8px); height: calc(var(--field-rows) * 184px + 8px); min-width: 100%; min-height: 100%; }
.artist-field .preference-item { left: 0; top: 0; transform-origin: 0 0; transition: opacity 220ms cubic-bezier(.22,1,.36,1); }
.artist-field[data-focused] { overflow: hidden; touch-action: none; cursor: default; }
.artist-field[data-focused] .preference-item:not([data-focused='true']) { opacity: .23; pointer-events: none; }
.artist-field .preference-item[data-focused='true'] { z-index: 5; box-shadow: 0 18px 55px #0009; }
.artist-field .preference-item[data-focused='true'] .preference-copy { bottom: 64px; }
.artist-field .preference-item[data-focused='true'] .preference-heart { bottom: 18px; }
.preference-focus-close.icon-button { position: absolute; left: 8px; top: 8px; z-index: 6; background: #242428e8; border: 1px solid #ffffff18; width: 44px; height: 44px; }
.preference-focus-meta { position: absolute; inset: auto 4px 2px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 2px; }
.preference-focus-meta > p { position: absolute; bottom: 77px; inset-inline: 0; margin: 0; color: #eee; font-size: 8px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preference-focus-meta .play-button { width: 22px; height: 22px; min-height: 22px; padding: 5px; }
.preference-focus-meta .play-button svg { width: 12px; height: 12px; }
.preference-focus-meta .artist-photo-credit { position: absolute; right: 0; bottom: 0; font-size: 6px; }
.preference-focus-meta .artist-photo-credit summary { min-height: 20px; }
.preference-focus-meta .artist-photo-credit[open] { inset: auto 0 0; background: #171719f5; font-size: 8px; padding: 4px; }
.preference-focus-meta .artist-photo-credit a { min-height: 22px; }
.artist-field .preference-without-photo .preference-copy { bottom: 64px; }
.artist-field .preference-without-photo .preference-copy strong { font-size: 17px; }
.artist-field .preference-without-photo { background: #27272c; }
.artist-field .preference-emerge { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .artist-field .preference-item { transition: none; }
}

.preference-focus-close[hidden] { display: none; }
.preference-text-results { margin: 12px 0; color: var(--muted); font-size: 13px; }
.preference-text-results summary { padding: 12px 0; cursor: pointer; }
.preference-text-results ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 20px; }
.preference-text-results li { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff0e; min-height: 48px; color: var(--text); }
.preference-text-results [aria-pressed='true'] { color: #ff5269; }

.artist-preferences:has(.artist-field[data-focused]) .preference-actions { visibility: hidden; }
.preference-focus-meta .play-button > span, .preference-focus-meta .play-button .ui-icon { width: 12px; height: 12px; }
.artist-field { overflow-anchor: none; }

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  body.has-player .artist-preferences .preference-actions { bottom: 96px; }
}
.preference-focus-meta .playback-symbol { width: 12px; height: 12px; flex: 0 0 12px; }

/* The field respects Telegram's keyboard height and leaves the commit action reachable. */
.artist-field {
  width: 100%;
  margin-inline: 0;
  height: min(max(176px, calc(var(--app-height, 100vh) - var(--safe-top) - var(--safe-bottom) - 280px)), calc(var(--visible-field-rows, 5) * 184px + 8px));
  -webkit-overflow-scrolling: touch;
}
.artist-field.is-list { max-height: max(176px, calc(var(--app-height, 100vh) - var(--safe-top) - var(--safe-bottom) - 280px)); }
.artist-preferences.has-preview .preference-actions { visibility: hidden; }
.preference-actions { gap: 8px; padding: 10px; }
.preference-actions > .subtle { grid-column: 1; grid-row: 2; justify-self: start; min-height: 44px; padding-block: 8px; }
.preference-actions .primary { grid-column: 2; grid-row: 1 / 3; }
.preference-actions .selection-count { font-size: 12px; }
.artist-field .preference-item[data-focused='true'] .preference-copy { bottom: 82px; }
.artist-field .preference-item[data-focused='true'] .preference-heart { width: 44px; min-width: 44px; height: 44px; min-height: 44px; bottom: 0; left: calc(50% - 22px); }
.preference-focus-meta { inset: auto 0 0; justify-content: flex-start; gap: 0; pointer-events: none; }
.preference-focus-meta .play-button { width: 44px; height: 44px; min-height: 44px; padding: 12px; pointer-events: auto; background: transparent; color: #fff; }
.preference-focus-meta > p { bottom: 56px; inset-inline: 5px; font-size: 10px; }
.preference-focus-meta .artist-photo-credit { width: 44px; right: 0; bottom: 0; font-size: 8px; pointer-events: auto; }
.preference-focus-meta .artist-photo-credit summary { min-height: 44px; }
.preference-focus-meta .artist-photo-credit[open] { width: 100%; inset: auto 0 0; font-size: 10px; z-index: 4; }
.preference-focus-meta .artist-photo-credit a { min-height: 44px; }
.preference-text-results li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.preference-text-results summary { min-height: 48px; }
body.keyboard-open .artist-preferences .preference-actions { bottom: 0; }
/* Round artist portraits in a regular, vertically scrolling directory. */
.artist-field.is-grid {
  width: 100%; height: auto; max-height: none; margin: 0; overflow: visible;
  touch-action: pan-y; cursor: auto; background: transparent; border-radius: 0;
}
.artist-field.is-grid .preference-results {
  display: grid; position: static; width: 100%; height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px;
  padding: 12px 0 24px; list-style: none;
}
.artist-field.is-grid .preference-item[data-focused] {
  position: relative; inset: auto; width: auto; height: auto; min-width: 0;
  border-radius: 0; background: transparent; overflow: visible; isolation: auto;
  transform: none; opacity: 1; filter: none; pointer-events: auto; box-shadow: none;
}
.artist-field.is-grid .preference-item:has(.preference-card-menu[open]) { z-index: 5; }
.artist-field.is-grid .preference-item[data-selected='true'] { outline: none; }
.artist-field.is-grid .preference-item[data-selected='true'] .preference-artist > :first-child { outline: 2px solid #ff5269; outline-offset: 3px; }
.artist-field.is-grid .preference-artist {
  display: flex; flex-direction: column; position: relative; inset: auto;
  height: auto; padding: 0; gap: 12px; border-radius: 0; overflow: visible;
}
.artist-field.is-grid .preference-artist::after { display: none; }
.artist-field.is-grid .preference-artist > .cover[data-artwork-kind],
.artist-field.is-grid .preference-no-photo {
  display: flex; position: relative; inset: auto; width: 100%; max-width: none;
  height: auto; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: #222224; outline: 0; box-shadow: none; transform: none;
}
.artist-field.is-grid .preference-no-photo { align-items: center; justify-content: center; }
.artist-field.is-grid .preference-no-photo::after { content: '♪'; color: #77777d; font-size: 36px; }
.artist-field.is-grid .preference-copy {
  position: static; width: 100%; margin: 0; padding: 0;
  min-height: 38px; text-align: center; text-shadow: none;
}
.artist-field.is-grid .preference-copy > strong {
  font-size: 14px; font-weight: 600; line-height: 1.35; text-shadow: none;
}
.artist-field.is-grid .preference-card-actions {
  position: absolute; inset: auto 2px 52px; display: flex; align-items: center;
  justify-content: flex-end; gap: 6px; z-index: 2; pointer-events: none;
}
.artist-field.is-grid .preference-card-actions > .icon-button,
.artist-field.is-grid .preference-card-actions > .play-button,
.artist-field.is-grid .preference-card-menu > summary {
  display: inline-flex; position: relative; inset: auto; align-items: center; justify-content: center;
  width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 10px;
  border: 0; border-radius: 50%; background: #202022ee; color: #ededee;
  box-shadow: none; cursor: pointer; pointer-events: auto;
}
.artist-field.is-grid .preference-card-actions > :first-child {
  margin-right: auto; background: #eeeef0; color: #171719;
}
.artist-field.is-grid .preference-card-actions [aria-pressed='true'] { color: #ff5269; }
.artist-field.is-grid .preference-card-actions svg { width: 20px; height: 20px; }
.artist-field.is-grid .preference-item[data-focused] .preference-heart { inset: auto; }
.preference-card-menu { position: relative; flex: 0 0 auto; pointer-events: auto; }
.preference-card-menu > summary { list-style: none; }
.preference-card-menu > summary::-webkit-details-marker { display: none; }
.preference-card-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.preference-menu-panel {
  position: absolute; z-index: 6; top: calc(100% + 8px); right: -46px;
  width: min(248px, calc(100vw - 40px)); padding: 8px; border-radius: 18px;
  background: #1b1b1e; box-shadow: 0 16px 44px #0008;
  transform-origin: top right; animation: artist-menu-enter 160ms cubic-bezier(.22,1,.36,1);
}
.preference-menu-panel > .button {
  width: 100%; justify-content: flex-start; gap: 10px; min-height: 44px;
  border-radius: 10px; background: transparent; color: #dedee2; padding: 10px 12px; font-size: 13px;
}
.preference-menu-panel > .button:hover { background: #ffffff0a; }
.artist-field.is-grid .preference-track-status {
  margin: 4px 0 0; font-size: 11px; color: var(--muted); text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.artist-preferences.has-preview .preference-actions { visibility: visible; }
.artist-preferences .preference-focus-close { position: static; margin: 0 0 8px auto; }
.artist-field.is-grid.is-list .preference-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes artist-menu-enter { from { opacity: 0; transform: translateY(-5px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 600px) {
  .artist-field.is-grid .preference-results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
}
@media (min-width: 1000px) {
  .artist-field.is-grid .preference-results { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px 24px; }
}
@media (min-width: 1400px) {
  .artist-field.is-grid .preference-results { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .artist-field.is-grid .preference-card-actions { opacity: 0; transform: translateY(5px); transition: opacity 140ms cubic-bezier(.22,1,.36,1), transform 180ms cubic-bezier(.22,1,.36,1); }
  .artist-field.is-grid .preference-item:hover .preference-card-actions,
  .artist-field.is-grid .preference-item:focus-within .preference-card-actions,
  .artist-field.is-grid .preference-item[data-focused='true'] .preference-card-actions,
  .artist-field.is-grid .preference-item[data-selected='true'] .preference-card-actions { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .artist-field.is-grid .preference-card-actions { gap: 2px; }
  .artist-field.is-grid .preference-card-actions > .icon-button,
  .artist-field.is-grid .preference-card-actions > .play-button,
  .artist-field.is-grid .preference-card-menu > summary { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-field.is-grid .preference-card-actions { transition: none; transform: none; }
  .preference-menu-panel { animation: none; }
}
@media (max-height: 560px) {
  .artist-field { height: 192px; }
  .artist-preferences .page-heading { margin-bottom: 4px; }
  .artist-preferences .page-heading h1 { font-size: 20px; }
}
