/* HVR Home release feature: artwork carries the mood; a fixed dark scrim keeps text readable. */
#homeCatalog.homeFeaturedSection {padding-block-end:.6rem}
#homeCatalog .homeFeaturedShelf {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-flow:row;
  gap:clamp(.7rem,1.5vw,1.3rem); overflow:visible; padding:.15rem .1rem .6rem;
}
#homeCatalog .homeFeaturedHero {
  display:grid; grid-column:1/-1; grid-template-areas:"feature"; align-items:end; position:relative;
  isolation:isolate; overflow:hidden; min-height:clamp(13.5rem,25vw,21rem); width:100%;
  text-align:start; border:1px solid var(--hvr-line); border-radius:1.1rem; background:var(--hvr-panel);
}
.homeFeaturedHero>.homeFeaturedArt,.homeFeaturedHero>.homeFeaturedCopy {grid-area:feature}
.homeFeaturedHero>.homeFeaturedArt {position:absolute; inset:0; z-index:-1; display:block}
.homeFeaturedHero>.homeFeaturedArt::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,color-mix(in srgb, rgb(9 9 22 / 1), rgb(var(--t-surf) / 1) var(--t-mix)) 0%,color-mix(in srgb, rgb(9 9 22 / 0.875), rgb(var(--t-surf) / 0.875) var(--t-mix)) 23%,color-mix(in srgb, rgb(9 9 22 / 0.192), rgb(var(--t-surf) / 0.192) var(--t-mix)) 75%);
}
.homeFeaturedImage {width:100%;height:100%;display:block;object-fit:cover;object-position:50% 47%;color:var(--hvr-mist)}
.homeFeaturedHero>.homeFeaturedCopy {display:grid;gap:.4rem;padding:clamp(1rem,3vw,2rem)}
#homeCatalog .homeFeaturedCopy strong {
  display:block; margin:0; min-height:0; color:var(--ink);
  font-size:clamp(1.65rem,4vw,3.15rem); line-height:1.08; font-weight:740; letter-spacing:-.015em;
  overflow-wrap:anywhere; text-wrap:balance;
}
#homeCatalog .homeFeaturedCopy small {color:var(--hvr-copy); font-size:.875rem;line-height:1.3}
#homeCatalog .homeFeaturedShelf .release:not(.homeFeaturedHero) {min-width:0}
#homeCatalog .homeFeaturedShelf .release:not(.homeFeaturedHero) strong {
  display:block;min-height:0;margin-block-start:.5rem;color:var(--ink);
  font-size:1rem;line-height:1.25;overflow-wrap:anywhere;
}
#homeCatalog .homeFeaturedShelf .release:not(.homeFeaturedHero) small {color:var(--hvr-secondary);font-size:.8125rem;line-height:1.3}
#homeCatalog .homeFeaturedShelf :focus-visible {outline-color:var(--cyan);outline-offset:3px}
@media(max-width:650px) {
  #homeCatalog .homeFeaturedShelf {grid-template-columns:repeat(2,minmax(0,1fr));gap:.95rem .75rem}
  #homeCatalog .homeFeaturedHero {min-height:clamp(12rem,62vw,17rem)}
}
.homeLiveCard {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.75rem;
  width:100%; padding:.85rem 1rem; border:1px solid var(--hvr-line);
  background:var(--hvr-panel);color:var(--ink);border-radius:1rem; text-align:start;
}
.dailyWelcome .homeLiveCard {max-width:32rem}
.homeLiveCopy {display:grid;gap:.3rem;min-width:0}
.homeLiveBadge {width:max-content;color:var(--hvr-mist);font-size:.8125rem;font-weight:700;line-height:1.2}
.homeLiveBadge[data-on-air="true"] {display:inline-flex;align-items:center;gap:.38rem;color:#ffb4b0}
.homeLiveBadge[data-on-air="true"]::before {content:"";display:inline-block;width:.47rem;height:.47rem;border-radius:50%;background:#fb6b66}
.homeLiveCard h2 {font-size:1.125rem;line-height:1.24;letter-spacing:0;overflow-wrap:anywhere}
.homeLiveProgram,.homeLiveUntil,.homeRecentEmpty {color:var(--hvr-secondary);font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}
#dailyWelcome .homeLiveCard .homeLiveUntil {
  color: var(--hvr-secondary);
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#dailyWelcome .homeLiveCard [hidden] { display: none; }
.homeLiveCard .homeLivePlay {
  min-height:44px;min-width:44px;padding-inline:.8rem;color:var(--hvr-on-bright);background:var(--cyan);border-color:var(--cyan);
}
.homeLiveCard .homeLivePlay:enabled:hover {color:var(--hvr-on-bright);background:#96efff}
.homeLiveCard .homeLivePlay:focus-visible {outline-color:var(--cyan)}
.homeNewsShelf {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(9rem,12rem);grid-template-columns:none;gap:.85rem;overflow-x:auto;overscroll-behavior-inline:contain;padding:.1rem .1rem .65rem;scroll-padding-inline:.1rem;scroll-snap-type:inline mandatory;scrollbar-width:thin}
.homeNewsShelf .release {scroll-snap-align:start;min-width:0}
.homeNewsShelf .release strong {margin:.25rem 0 .1rem}
.homeNewsShelf .release small:last-child {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homeNewsTag {display:block;margin-top:.55rem;color:var(--hvr-secondary)!important;font-size:.7rem!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.homeRecentEmpty {padding:.9rem 1rem;border:1px solid var(--hvr-line);border-radius:.7rem;background:var(--hvr-panel)}
.workspace:has(.homeFeaturedSection,.homeRecentShelf) {padding-bottom:calc(var(--player) + 2rem)}
#main .trackRow .rowText strong,.searchResults .trackRow .rowText strong {font-size:1rem;line-height:1.25}
#main .trackRow .rowText small,.searchResults .trackRow .rowText small {
  font-size:.875rem;line-height:1.35;color:var(--hvr-secondary);
}
#main .trackRow .rowMeta,#main .trackRow .num {font-size:.8125rem;color:var(--hvr-secondary)}
#main .homeWorshipActions .btn,#main #homeCatalog .textBtn {font-size:.875rem}
/* Home links use the room palette; the artwork identifies the destination. */
:is(.gospelHome, .prHomeLink, .atlasHomeCard, .studioHomeBand > *) {
  background: var(--hvr-panel);
  border-color: var(--hvr-line);
  color: var(--ink);
}
.gospelHome { border-inline-start-color: var(--violet); }
.atlasHomeCard { padding: 12px; gap: 12px; }
/* Keep the padded edge under the finger through tap release. */
#main a.atlasHomeCard:active { transform: none; }
.atlasHomeCard > img { width: 88px; height: 88px; border-radius: 6px; }
.atlasHomeCard > span { padding: 0; min-width: 0; overflow-wrap: anywhere; }
.gospelHome h2, .gospelHome a { color: var(--hvr-mist); }
.gospelHome blockquote p { color: var(--ink); }
.gospelHome cite, .prHomeLink small, .atlasHomeCard small, .studioHomeBand small {
  color: var(--hvr-secondary);
}
.gospelHome a { border-color: var(--hvr-line); }
.gospelHome a:hover, .gospelHome a:focus-visible,
.prHomeLink:hover, .studioHomeBand > :hover {
  background: var(--hvr-raised);
  border-color: var(--hvr-mist);
}
.studioHomeBand .plusLaunchIcon, .studioHomeLink > span:first-child {
  background: var(--hvr-raised);
  color: var(--hvr-mist);
}
.globeHomeLink > span:first-child, .globeHomeLink > .ico { color: var(--cyan); }
@media(max-width:360px) {
  .homeLiveCard {gap:.45rem;padding:.65rem}
  .homeLiveCard .homeLivePlay {padding-inline:.55rem}
  .homeNewsShelf {grid-auto-columns:minmax(8.5rem,42vw)}
}
@media(max-width:650px) {
  #main:has(.homeFeaturedSection) {padding-bottom:calc(66px + 58px + env(safe-area-inset-bottom,0px) + 16px)}
}
@media(forced-colors:active) {
  .homeFeaturedHero>.homeFeaturedCopy {background:Canvas;color:CanvasText}
  #homeCatalog .homeFeaturedCopy strong,#homeCatalog .homeFeaturedCopy small {color:CanvasText}
  .homeLiveBadge[data-on-air="true"]::before {background:CanvasText}
}

/* Private member feature: jacket, sleeve credit, and a single album action. */
#main .bonusSpotlight{display:grid;grid-template-columns:clamp(96px,18vw,144px) minmax(0,1fr) auto;align-items:center;gap:clamp(14px,2.5vw,36px);margin:18px 0 24px;padding:clamp(14px,2vw,24px);background:color-mix(in srgb, rgb(18 20 35 / 1), rgb(var(--t-surf) / 1) var(--t-mix));color:#f7f7fc;border-block:1px solid #424555;text-align:left}
#main .bonusSleeve{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:3px;box-shadow:0 6px 18px color-mix(in srgb, rgb(5 6 16 / 0.4), rgb(var(--t-surf) / 0.4) var(--t-mix))}
#main .bonusNotes{min-width:0}
#main .bonusLabel{display:block;font-size:.72rem;font-weight:700;letter-spacing:.1em;color:#b6c8df;line-height:1.35}
#main .bonusNotes h2{margin:5px 0 6px;color:inherit;font-size:clamp(1.5rem,3vw,2.8rem);font-weight:750;line-height:1.06;letter-spacing:-.035em;overflow-wrap:break-word}
#main .bonusNotes p{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:.96rem;line-height:1.4;color:#e3e6ef}
#main .bonusCount{padding-left:10px;border-left:1px solid #636776;color:#c1c6d6;font-size:.85rem}
#main .bonusRelease{display:block;margin-top:3px;color:#b6bfd0;font-size:.8125rem;line-height:1.4}
#main .bonusOpen{justify-self:start;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 16px;border:0;border-radius:100px;background:#eef2fa;color:color-mix(in srgb, rgb(18 21 38 / 1), rgb(var(--t-surf) / 1) var(--t-mix));font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
#main .bonusOpen svg{width:16px;height:16px}
#main .bonusOpen:hover{background:#fff}#main .bonusOpen:focus-visible{outline:3px solid #84d9f0;outline-offset:3px}
@media(max-width:650px){#main .bonusSpotlight{grid-template-columns:clamp(86px,27vw,144px) minmax(0,1fr);gap:10px 16px;padding:16px 0;background:transparent}#main .bonusSleeve{grid-row:1/3;align-self:center}#main .bonusNotes{align-self:end}#main .bonusOpen{grid-column:2;align-self:start}#main .bonusNotes h2{margin:3px 0 4px}}

/* In the desktop shell the stock absolute photo can paint past its 320px copy box.
   Reserve its full 3:2 canvas only where a private feature follows. Held Home is untouched. */
@media(min-width:901px){
  #main #dailyWelcome:has(+.bonusSpotlight){display:block!important;height:auto!important;min-height:0!important;max-height:none!important;position:relative;isolation:isolate;margin-top:0!important}
  #main #dailyWelcome:has(+.bonusSpotlight) .dailyWelcomeCopy{box-sizing:border-box;aspect-ratio:3/2;width:100%!important;height:auto!important;min-height:0!important;align-content:end!important;padding-bottom:clamp(30px,4vw,64px)!important}
  #main #dailyWelcome:has(+.bonusSpotlight) .greetingPhoto{inset:0!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important}
}
