/* Share page of a recommendation (/<handle>/r/<code>): html.mf-share is set in <head> by functions/rec-share.js, so the
   profile's other sections never flash. Kept: header, the shared item banner (/social/rec-share.js), the week / artist /
   "on this day" tiles in one row, the notes "reels" and the search bar (without the period tabs). */
html.mf-share #friends-now, html.mf-share #period-caption, html.mf-share #day-block,
html.mf-share #artists-block, html.mf-share #albums-block, html.mf-share #tracks-block, html.mf-share #recent-block,
html.mf-share #friends-block, html.mf-share #chart-block, html.mf-share #account, html.mf-share #demo-banner,
html.mf-share #hero, html.mf-share #bt-gen, html.mf-share #bt-wm, html.mf-share #bento-nb,
html.mf-share .controls .tabs, html.mf-share .controls .year-select,
html.mf-share .gen-fab, html.mf-share .gen-dock, html.mf-share .hero-acts, html.mf-share .fn-fab, html.mf-share .nn-fab, html.mf-share .nn-cue,
html.mf-share .hdr-art, html.mf-share .hdr-art-after, html.mf-share .fs-box, html.mf-share .hdr-inv, html.mf-share .hdr-inv-s { display: none !important; }

/* tiles: one row on desktop (artist · on this day · week), the usual grid below that */
@media (min-width: 1024px) {
  html.mf-share .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* no "on this day" card: two tiles */
  html.mf-share .bento.has-od { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.mf-share .bento > .bt-od, html.mf-share .bento .bento-side > .bt { grid-column: auto !important; grid-row: auto !important; min-height: 220px; }
  html.mf-share .bento .bento-side > .bt-ar { order: 1; }
  html.mf-share .bento > .bt-od { order: 2; }
  html.mf-share .bento .bento-side > .bt-wk { order: 3; }
}

/* ---------- the banner: big cover + title, artist, album · year · genre, the note, open-in links ---------- */
.rs-ban { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center;
  margin: 14px 0 12px; padding: 34px; min-height: 380px; border-radius: 22px; border: 1px solid rgba(201,160,99,.22); background: #14110e; }
.rs-bg { position: absolute; inset: -60px; z-index: -2; background: center / cover no-repeat; filter: blur(50px) saturate(1.35) brightness(.5); transform: scale(1.08); }
.rs-ban::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13,12,11,.1) 0%, rgba(13,12,11,.55) 45%, rgba(13,12,11,.8) 100%); }
.rs-cv { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; cursor: pointer; background: #221d17; box-shadow: 0 30px 60px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05); }
.rs-cv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-fb { width: 100%; height: 100%; display: grid; place-items: center; color: #e9e2d6; font: 500 96px/1 Fraunces, Georgia, serif; }
.rs-cv button.play.rs-play { position: absolute; right: 14px; bottom: 14px; width: 60px; height: 60px; }
.rs-cv .pv-credit { left: 10px; bottom: 12px; }
.rs-tx { min-width: 0; color: #f3eee6; }
.rs-by { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e3c48f; }
.rs-by svg { width: 14px; height: 14px; flex: none; }
.rs-title { margin: 0; font: 500 clamp(34px, 4.6vw, 62px)/1.04 Fraunces, Georgia, serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
.rs-art { margin: 10px 0 0; font: 500 21px/1.3 Inter, system-ui, sans-serif; color: rgba(243,238,230,.92); }
.rs-facts { margin: 6px 0 0; font: 400 14px/1.4 Inter, system-ui, sans-serif; color: rgba(243,238,230,.6); }
.rs-quote { margin: 24px 0 0; padding: 2px 0 2px 18px; border-left: 3px solid #c9a063; font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 400; color: #fff; overflow-wrap: anywhere; }
.rs-q-xl { font-size: 46px; line-height: 1.1; } .rs-q-l { font-size: 34px; line-height: 1.18; } .rs-q-m { font-size: 26px; line-height: 1.28; } .rs-q-s { font-size: 20px; line-height: 1.4; }
.rs-trb { display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 0 21px; padding: 0; border: 0; background: none; color: rgba(243,238,230,.6); font: 500 12px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.rs-trb svg { width: 13px; height: 13px; }
.rs-trb:hover { color: #fff; }
.rs-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 13px; letter-spacing: .04em; }
.rs-links a { color: rgba(243,238,230,.8); border-bottom: 1px solid rgba(243,238,230,.25); padding-bottom: 1px; text-decoration: none; }
.rs-links a:hover { color: #fff; border-color: #c9a063; }
@media (max-width: 1023px) and (min-width: 720px) {
  .rs-ban { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; padding: 26px; min-height: 0; }
}
@media (max-width: 719px) {
  .rs-ban { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 16px 20px; min-height: 0; border-radius: 18px; }
  .rs-cv { width: 100%; max-width: 420px; margin: 0 auto; }
  .rs-by { margin-bottom: 10px; font-size: 11px; }
  .rs-title { font-size: 34px; }
  .rs-art { font-size: 18px; margin-top: 8px; }
  .rs-quote { margin-top: 18px; padding-left: 14px; }
  .rs-q-xl { font-size: 32px; } .rs-q-l { font-size: 25px; } .rs-q-m { font-size: 21px; } .rs-q-s { font-size: 17px; }
  .rs-trb { margin-left: 17px; }
  .rs-links { margin-top: 18px; }
}
/* desktop: the band's photo on the right, edge to edge, dimmed and fading into the cover side */
.rs-ph, .rs-dz { display: none; }
@media (min-width: 1024px) {
  .rs-ban.has-ph .rs-ph { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1;
    background: center 22% / cover no-repeat; filter: grayscale(.55) contrast(1.05) brightness(.62);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%);
    opacity: 0; animation: rs-ph-in .9s ease .1s forwards; }
  .rs-ban.has-ph::after { background:
      linear-gradient(100deg, rgba(13,12,11,.12) 0%, rgba(13,12,11,.62) 38%, rgba(13,12,11,.42) 70%, rgba(13,12,11,.3) 100%),
      linear-gradient(0deg, rgba(13,12,11,.55) 0%, transparent 35%); }
  .rs-ban.has-ph .rs-tx { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
  .rs-ban.has-ph .rs-dz { display: block; position: absolute; right: 14px; bottom: 10px; z-index: 1; color: rgba(243,238,230,.45); font: 500 9.5px/1 Inter, system-ui, sans-serif; letter-spacing: .04em; text-decoration: none; }
  .rs-ban.has-ph .rs-dz:hover { color: rgba(243,238,230,.8); }
}
@keyframes rs-ph-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rs-ban.has-ph .rs-ph { animation: none; opacity: 1; } }
/* the banner keeps its dark look in light mode too (text sits on the blurred cover) */
html[data-theme="light"] .rs-ban { border-color: rgba(154,115,57,.35); }

/* sign-up card after the preview: covers the page, can't be closed (reload only) */
html.rs-locked, html.rs-locked body { overflow: hidden; }
.rs-gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(8,7,6,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .3s ease; }
.rs-gate.on { opacity: 1; }
.rs-gate-card { width: min(380px, 100%); box-sizing: border-box; padding: 26px 22px 20px; border-radius: 20px; text-align: center; color: #f3eee6;
  background: linear-gradient(180deg, #1d1912, #13110e); border: 1px solid rgba(201,160,99,.35); box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
  transform: translateY(14px) scale(.98); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.rs-gate.on .rs-gate-card { transform: none; }
.rs-gate-cv { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 12px; overflow: hidden; background: #2a241b; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); }
.rs-gate-cv:empty { display: none; }
.rs-gate-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-gate-h { margin: 0 0 8px; font: 600 21px/1.25 Fraunces, Georgia, serif; }
.rs-gate-p { margin: 0 0 18px; font: 400 14px/1.5 Inter, system-ui, sans-serif; color: rgba(243,238,230,.75); }
.rs-gate-go, .rs-gate-lfm { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; text-decoration: none; }
.rs-gate-go { background: #c9a063; color: #15120d; font: 700 15px/1 Inter, system-ui, sans-serif; box-shadow: 0 10px 26px -10px rgba(201,160,99,.85); }
.rs-gate-go:hover, .rs-gate-go:focus-visible { background: #d6ae70; }
.rs-gate-lfm { margin-top: 10px; border: 1px solid rgba(255,255,255,.16); color: #d9d1c4; font: 500 13.5px/1 Inter, system-ui, sans-serif; }
.rs-gate-lfm:hover, .rs-gate-lfm:focus-visible { border-color: rgba(255,255,255,.32); }
.rs-gate-lfm img { height: 15px; width: auto; }
.rs-gate-s { display: block; margin-top: 12px; font: 400 11.5px/1.4 Inter, system-ui, sans-serif; color: rgba(243,238,230,.5); }
@media (prefers-reduced-motion: reduce) { .rs-gate, .rs-gate-card { transition: none; } }
