/* Sandy Music Lab – Spotify components. Uses sml-theme variables with fallbacks. */
.sml-release, .sml-disco, .sml-hear, .sml-facade, .sml-presave, .sml-dock, .sml-resume, .sml-follow, .sml-play,
.sml-music-page, .sml-artist, .sml-popular, .sml-home-music, .sml-preview {
  --_ink: var(--sml-t, #0b1a33);
  --_mut: var(--sml-s, #44546f);
  --_blue: var(--sml-b, #0066d6);
  --_blue2: var(--sml-b2, #007efc);
  --_gold: var(--sml-gold, #f5b335);
  --_goldt: var(--sml-goldt, #8a5800);
  --_card: var(--sml-card2, #fff);
  --_line: var(--sml-line, rgba(11, 26, 51, .1));
  --_r: var(--r, 20px);
  --_serif: var(--fs, "Geist Serif", Georgia, serif);
  box-sizing: border-box;
}
.sml-release *, .sml-disco *, .sml-hear *, .sml-dock *, .sml-presave * { box-sizing: border-box; }

/* ---------- Spotify attribution ---------- */
.sml-sp-icon { width: 21px; height: 21px; display: inline-block; vertical-align: middle; }
.sml-sp-wordmark { font-weight: 700; letter-spacing: -.01em; }
.sml-sp-admin-note { padding: 12px 16px; border: 1px dashed currentColor; border-radius: 12px; opacity: .7; }

/* ---------- Play button ---------- */
.sml-play {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.2em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--_gold); color: #1a1200; font: 700 15px/1 var(--f, system-ui, sans-serif);
  box-shadow: 0 8px 20px -10px rgba(245, 179, 53, .9);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.sml-play:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(245, 179, 53, 1); }
.sml-play:focus-visible, .sml-tile__btn:focus-visible, .sml-facade__btn:focus-visible { outline: 3px solid var(--_blue2); outline-offset: 3px; }
.sml-play--big { font-size: 17px; padding: .85em 1.5em; }
.sml-play__glyph {
  width: 0; height: 0; border-style: solid; border-width: .45em 0 .45em .72em;
  border-color: transparent transparent transparent currentColor;
}
.sml-play.is-playing .sml-play__glyph, .sml-resume.is-playing .sml-play__glyph {
  width: .7em; height: .9em; border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}

/* ---------- Equaliser ---------- */
.sml-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; opacity: 0; transition: opacity .2s; }
.sml-eq i { width: 3px; height: 30%; background: var(--_gold); border-radius: 2px; animation: sml-eq 1s ease-in-out infinite; animation-play-state: paused; }
.sml-eq i:nth-child(2) { animation-delay: -.3s; }
.sml-eq i:nth-child(3) { animation-delay: -.6s; }
.sml-eq i:nth-child(4) { animation-delay: -.15s; }
.is-playing .sml-eq, .sml-eq--on { opacity: 1; }
.is-playing .sml-eq i, .sml-dock:not(.is-paused) .sml-eq i { animation-play-state: running; }
@keyframes sml-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Latest release card ---------- */
.sml-release {
  display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(16px, 3vw, 28px); margin: 32px 0;
  background: linear-gradient(135deg, var(--_blue) 0%, #0a2a6b 100%); color: #eef4ff;
  border-radius: var(--_r); box-shadow: 0 24px 60px -30px rgba(0, 40, 120, .8);
  position: relative; overflow: hidden;
}
.sml-release::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 53, .35), transparent 70%); pointer-events: none;
}
.sml-release__art { position: relative; aspect-ratio: 1; border-radius: 8px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); transition: box-shadow .3s; }
.sml-release__art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sml-release.is-playing .sml-release__art { box-shadow: 0 0 0 4px var(--_gold), 0 18px 40px -16px rgba(0, 0, 0, .7); }
.sml-release__art .sml-eq { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); }
.sml-release__eyebrow { margin: 0 0 6px; font: 700 12px/1 var(--f, system-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--_gold); }
.sml-release__title { margin: 0 0 6px; font: 400 clamp(28px, 4vw, 44px)/1.05 var(--_serif); color: #fff; }
.sml-release__meta { margin: 0 0 18px; opacity: .75; font-size: 14px; }
.sml-release__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sml-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.sml-link:hover { border-color: #fff; }
.sml-link--ghost { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 7px 14px; }
@media (max-width: 560px) {
  .sml-release { grid-template-columns: 1fr; text-align: center; }
  .sml-release__art { max-width: 220px; margin: 0 auto 18px; }
  .sml-release__actions { justify-content: center; }
}

/* ---------- Discography grid ---------- */
.sml-disco { margin: 40px 0; }
.sml-disco__title { font-family: var(--_serif); font-weight: 400; margin: 0 0 18px; }
.sml-disco__grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 22px * (var(--sml-cols, 4) - 1)) / var(--sml-cols, 4)))), 1fr));
}
.sml-tile { margin: 0; }
.sml-tile__btn { all: unset; display: block; position: relative; width: 100%; cursor: pointer; border-radius: 8px; }
.sml-tile__art { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--_line); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); transition: transform .25s ease, box-shadow .25s; }
.sml-tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sml-tile__btn:hover .sml-tile__art { transform: translateY(-3px); }
.sml-tile__btn.is-playing .sml-tile__art { box-shadow: 0 0 0 3px var(--_gold), 0 14px 30px -18px rgba(0, 0, 0, .6); }
.sml-tile__play {
  position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--_gold); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.sml-tile__play::before {
  content: ""; position: absolute; left: 18px; top: 15px; border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #1a1200;
}
.sml-tile__btn:hover .sml-tile__play, .sml-tile__btn:focus-visible .sml-tile__play, .sml-tile__btn.is-playing .sml-tile__play { opacity: 1; transform: none; }
.sml-tile__btn.is-playing .sml-tile__play::before {
  left: 16px; top: 15px; width: 14px; height: 16px; border: 0;
  background: linear-gradient(90deg, #1a1200 0 35%, transparent 35% 65%, #1a1200 65%);
}
.sml-tile__btn .sml-eq { position: absolute; left: 10px; bottom: 12px; }
.sml-tile__name { margin: 10px 0 2px; font-weight: 700; color: var(--_ink); line-height: 1.25; }
.sml-tile__meta { margin: 0; font-size: 13px; color: var(--_mut); }
.sml-tile__meta a { color: inherit; }

/* ---------- Hear it in a song (lesson callout) ---------- */
.sml-hear {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  margin: 28px 0; padding: 14px 18px 14px 14px;
  background: var(--_card); border: 1px solid var(--_line); border-left: 4px solid var(--_gold);
  border-radius: 14px; color: var(--_ink);
}
.sml-hear__art { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; display: block; }
.sml-hear__eyebrow { margin: 0 0 2px; font: 700 11px/1 var(--f, system-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--_goldt); }
.sml-hear__title { margin: 0; font: 400 20px/1.2 var(--_serif); }
.sml-hear__text { margin-top: 4px; font-size: 15px; color: var(--_mut); }
.sml-hear__text p { margin: 0; }
.sml-hear__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sml-hear__link { font-size: 12px; color: var(--_mut); }
.sml-hear.is-playing { border-left-color: var(--_blue2); }
@media (max-width: 560px) {
  .sml-hear { grid-template-columns: auto 1fr; }
  .sml-hear__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}

/* ---------- Click-to-load embed ---------- */
.sml-facade {
  display: flex; align-items: center; gap: 16px; min-height: var(--sml-h, 152px); padding: 16px; margin: 24px 0;
  border-radius: 12px; background: linear-gradient(135deg, #0b1a33, #0a2a6b); color: #eef4ff;
}
.sml-facade__art { width: min(120px, 28%); aspect-ratio: 1; height: auto; border-radius: 6px; object-fit: cover; }
.sml-facade__title { margin: 0 0 10px; font: 400 20px/1.2 var(--_serif); }
.sml-facade__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: #000; font-weight: 700; }
.sml-facade__note { margin: 8px 0 0; font-size: 12px; opacity: .65; }
.sml-facade__note a { color: inherit; }
.sml-embed { display: block; border-radius: 12px; margin: 24px 0; }

/* ---------- Follow ---------- */
.sml-follow {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: #000; color: #fff !important; font-weight: 700; text-decoration: none !important;
}
.sml-follow:hover { background: #1a1a1a; }

/* ---------- Pre-save banner ---------- */
.sml-presave {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
  padding: 10px 44px 10px 16px; margin: 0; position: relative;
  background: var(--_gold); color: #1a1200; font-size: 15px;
}
.sml-presave:not(.sml-presave--sitewide) { border-radius: 14px; padding-right: 16px; margin: 24px 0; }
.sml-presave__badge { font: 800 11px/1 var(--f, system-ui); letter-spacing: .12em; text-transform: uppercase; background: #1a1200; color: var(--_gold); padding: 5px 8px; border-radius: 6px; }
.sml-presave__count { margin-left: 6px; opacity: .8; font-variant-numeric: tabular-nums; }
.sml-presave__cta, .sml-presave .sml-play.sml-presave__cta {
  background: #1a1200; color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; text-decoration: none; box-shadow: none; font-size: 14px;
}
.sml-presave__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }

/* ---------- Sticky player dock ---------- */
:root { --sml-safe-bottom: 0px; }
.sml-dock {
  position: fixed; left: 0; right: 0; bottom: var(--sml-safe-bottom); z-index: 99990;
  padding: 14px clamp(10px, 2vw, 24px) calc(12px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(0, 102, 214, .35), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(245, 179, 53, .18), transparent 60%),
    linear-gradient(180deg, rgba(8, 22, 48, .94), rgba(4, 13, 29, .97));
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -18px 40px -20px rgba(0, 0, 0, .7);
  color: #eef4ff;
  transform: translateY(calc(100% + var(--sml-safe-bottom) + 20px)); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), bottom .3s ease, visibility 0s .35s;
}
.sml-dock.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1), bottom .3s ease, visibility 0s; }
.sml-dock[hidden] { display: none; }

/* Visualizer rises out of the top edge of the dock */
.sml-dock__viz {
  position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 56px;
  pointer-events: none; opacity: .95;
  background: linear-gradient(180deg, rgba(4, 13, 29, 0), rgba(8, 22, 48, .85));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sml-dock__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.sml-dock__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--_gold), #ffd36b); box-shadow: 0 0 12px rgba(245, 179, 53, .8); transition: width .25s linear; }

.sml-dock__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.sml-dock__now { display: flex; align-items: center; gap: 14px; min-width: 0; }

/* Cover art sitting on a spinning record */
.sml-dock__disc {
  position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%;
  background:
    radial-gradient(circle, #f5b335 0 9%, #111 9.5% 12%, transparent 12.5%),
    repeating-radial-gradient(circle, #121212 0 2px, #1d1d1d 2px 3px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.sml-dock__cover {
  position: absolute; left: -10px; top: 4px; width: 64px; height: 64px; border-radius: 6px; object-fit: cover;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .8); transition: transform .5s ease;
}
.sml-dock__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(255, 255, 255, .12) 25%, transparent 30% 70%, rgba(255, 255, 255, .08) 75%, transparent 80%);
  animation: sml-spin 2.4s linear infinite; animation-play-state: paused;
}
.sml-dock:not(.is-paused) .sml-dock__disc::after { animation-play-state: running; }
.sml-dock:not(.is-paused) .sml-dock__cover { transform: translateX(-6px) rotate(-4deg); }
.sml-dock__disc { margin-left: 10px; }
@keyframes sml-spin { to { transform: rotate(360deg); } }

.sml-dock__meta { display: flex; flex-direction: column; min-width: 0; }
.sml-dock__meta small { font: 700 10px/1.4 var(--f, system-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--_gold); }
.sml-dock__title { font: 400 20px/1.2 var(--_serif); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sml-dock__artist { font-size: 13px; color: rgba(238, 244, 255, .65); }

.sml-dock__player { min-width: 280px; height: 152px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -18px rgba(0, 0, 0, .9); }
.sml-dock__player iframe { display: block; border-radius: 12px; border: 0; height: 152px !important; }
.sml-dock__actions { display: flex; align-items: center; gap: 8px; }
.sml-dock__actions button, .sml-dock__follow {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04); color: #fff !important; font: 600 14px/1 var(--f, system-ui); cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s;
}
.sml-dock__actions button { padding: 0; font-size: 18px; }
.sml-dock__actions button:hover, .sml-dock__follow:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.sml-dock__follow { background: var(--_gold); border-color: var(--_gold); color: #1a1200 !important; }
.sml-dock__follow:hover { background: #ffc552; border-color: #ffc552; }
.sml-dock__actions button:focus-visible, .sml-dock__follow:focus-visible { outline: 3px solid var(--_blue2); outline-offset: 2px; }

.sml-dock.is-min .sml-dock__player { height: 0; min-width: 0; box-shadow: none; }
.sml-dock.is-min .sml-dock__inner { grid-template-columns: minmax(0, 1fr) auto; }
.sml-dock.is-min .sml-dock__player { grid-column: 1 / -1; grid-row: 2; }

body.sml-dock-open { padding-bottom: calc(200px + var(--sml-safe-bottom)); }

@media (max-width: 860px) {
  .sml-dock { padding: 12px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sml-dock__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 10px; }
  .sml-dock__player { grid-column: 1 / -1; grid-row: 2; min-width: 0; height: 80px; border-radius: 12px; }
  .sml-dock__player iframe { height: 80px !important; }
  .sml-dock__disc { width: 52px; height: 52px; margin-left: 8px; }
  .sml-dock__cover { width: 46px; height: 46px; left: -8px; top: 3px; }
  .sml-dock__title { font-size: 17px; }
  .sml-dock__follow { display: none; }
  .sml-dock__actions button { height: 44px; min-width: 44px; }
  .sml-dock__viz { height: 40px; }
  body.sml-dock-open { padding-bottom: calc(190px + var(--sml-safe-bottom)); }
}

/* ---------- "Log in to Spotify" prompt (30-second previews) ---------- */
.sml-preview {
  position: absolute; right: clamp(10px, 2vw, 20px); bottom: calc(100% + 54px); width: min(360px, calc(100vw - 20px));
  padding: 18px 18px 16px; border-radius: 16px; background: #fff; color: #0b1a33;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(11, 26, 51, .08);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.sml-preview.is-open { opacity: 1; transform: none; }
.sml-preview__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.sml-preview__close:hover { background: rgba(11, 26, 51, .06); }
.sml-preview__eyebrow { margin: 0 0 4px; font: 700 11px/1.3 var(--f, system-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--_goldt); }
.sml-preview__title { margin: 0 0 6px; padding-right: 28px; font: 400 22px/1.15 var(--_serif); }
.sml-preview__text { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #44546f; }
.sml-preview__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sml-preview__login, .sml-preview__app { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.sml-preview__login { background: #000; color: #fff !important; }
.sml-preview__login:hover { background: #222; }
.sml-preview__app { border: 1px solid rgba(11, 26, 51, .2); color: #0b1a33 !important; }
.sml-preview__login:focus-visible, .sml-preview__app:focus-visible { outline: 3px solid var(--_blue2); outline-offset: 2px; }
@media (max-width: 760px) { .sml-preview { left: 10px; right: 10px; width: auto; } }

/* ---------- Resume chip (after page change) ---------- */
.sml-resume {
  position: fixed; left: 50%; bottom: calc(16px + var(--sml-safe-bottom) + env(safe-area-inset-bottom)); z-index: 99989;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 150px);
  min-height: 44px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #0a2a6b, #061228); color: #eef4ff; font: 500 14px/1.2 var(--f, system-ui);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(245, 179, 53, .7);
  transition: bottom .3s ease, transform .15s ease;
}
.sml-resume[hidden] { display: none; }
.sml-resume:hover { transform: translateX(-50%) translateY(-2px); }
.sml-resume img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.sml-resume img[hidden] { display: none; }
.sml-resume img[hidden] + .sml-play__glyph { margin-left: 12px; }
.sml-resume .sml-play__glyph { color: var(--_gold); flex: none; }
.sml-resume__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sml-resume strong { font-weight: 700; }
body.sml-dock-open .sml-resume { display: none; }

/* ---------- My Music page ---------- */
.sml-music-page { max-width: 1100px; margin: 0 auto; }
.sml-artist {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 5vw, 56px); margin: 24px 0 8px; border-radius: calc(var(--_r) + 8px);
  background: linear-gradient(135deg, #0a3fd1 0%, #0b2a7a 55%, #061228 100%); color: #eef4ff;
  box-shadow: 0 30px 70px -36px rgba(0, 40, 120, .9);
}
.sml-artist__glow {
  position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245, 179, 53, .4), transparent 65%);
}
.sml-artist__photo { position: relative; width: clamp(140px, 22vw, 240px); aspect-ratio: 1; border-radius: 50%; padding: 6px; background: conic-gradient(from 210deg, var(--_gold), #ffe3a3, var(--_blue2), var(--_gold)); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.sml-artist__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid #0b2a7a; }
.sml-artist__body { position: relative; }
.sml-artist__eyebrow { margin: 0 0 8px; font: 700 12px/1 var(--f, system-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--_gold); }
.sml-artist__name { margin: 0 0 12px; font: 400 clamp(38px, 6vw, 68px)/1 var(--_serif); color: #fff; text-wrap: balance; }
.sml-artist__intro { max-width: 56ch; font-size: 17px; line-height: 1.6; color: rgba(238, 244, 255, .85); }
.sml-artist__intro p { margin: 0 0 12px; }
.sml-artist__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.sml-artist__count { margin: 16px 0 0; font-size: 13px; color: rgba(238, 244, 255, .6); }
.sml-popular { margin: 40px 0; }
@media (max-width: 640px) {
  .sml-artist { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sml-artist__actions { justify-content: center; }
  .sml-artist__intro { margin: 0 auto; }
}

/* ---------- Phones: general polish ---------- */
@media (max-width: 560px) {
  .sml-disco__grid { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sml-tile__play { opacity: 1; transform: none; width: 40px; height: 40px; }
  .sml-tile__play::before { left: 15px; top: 12px; }
  .sml-tile__btn.is-playing .sml-tile__play::before { left: 13px; top: 12px; }
  .sml-tile__meta { font-size: 12px; }
  .sml-release { padding: 20px; gap: 18px; }
  .sml-release__art { max-width: 200px; }
  .sml-release__actions { gap: 10px 14px; }
  .sml-play--big { width: 100%; justify-content: center; }
  .sml-hear { padding: 12px; gap: 12px; }
  .sml-hear__art { width: 56px; height: 56px; }
  .sml-presave { font-size: 14px; }
  .sml-facade { flex-direction: column; text-align: center; }
  .sml-facade__art { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .sml-eq i { animation: none !important; height: 60%; }
  .sml-dock, .sml-tile__art, .sml-play, .sml-tile__play, .sml-preview, .sml-resume { transition: none; }
  .sml-dock__disc::after { animation: none; }
  .sml-dock__viz { display: none; }
}

/* ---------- Homepage section ---------- */
.sml-home-music { max-width: var(--wp--style--global--wide-size, 1180px); margin: clamp(32px, 5vw, 64px) auto; padding: 0 clamp(16px, 3vw, 24px); }
.sml-home-music .sml-release { margin-top: 0; }
.sml-home-music__follow { margin: 8px 0 0; text-align: center; }

/* Keep our headings at our sizes inside theme content areas */
.sml-music-page .sml-artist__name, .sml-artist .sml-artist__name { font: 400 clamp(38px, 6vw, 68px)/1 var(--_serif) !important; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; margin: 0 0 12px !important; letter-spacing: -.01em; border: 0 !important; padding: 0 !important; }
.sml-release .sml-release__title { font: 400 clamp(28px, 4vw, 44px)/1.05 var(--_serif) !important; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; margin: 0 0 6px !important; }
.sml-disco .sml-disco__title, .sml-popular .sml-disco__title { font: 400 clamp(26px, 3.4vw, 36px)/1.15 var(--_serif) !important; margin: 0 0 18px !important; }
.sml-tile .sml-tile__name { font-size: 16px !important; margin: 10px 0 2px !important; }
.sml-tile .sml-tile__meta, .sml-release .sml-release__meta, .sml-release .sml-release__eyebrow, .sml-artist .sml-artist__eyebrow { margin-top: 0 !important; }
.sml-artist__intro { margin: 0; }

.sml-artist .sml-artist__photo img { border-radius: 50% !important; aspect-ratio: 1; }
.sml-dock .sml-dock__cover { border-radius: 6px !important; }
.sml-resume img { border-radius: 50% !important; }
