/* SOULYFE RENOVATION 04 · FEELING-FIRST LIBRARY
   Isolated discovery-layer upgrade. The approved hero, orbit system, command
   dock, waveform, queue, repeat modes, and playlist remain untouched. */

.media-hub{
  scroll-margin-top:88px;
  padding-top:clamp(72px,8vw,112px)!important;
  background:#05070b!important;
}

.media-hub>.inner{
  width:min(1380px,100%);
}

.feeling-intro{
  max-width:980px;
  margin:0 auto 30px;
  text-align:center;
}

.feeling-intro .num{
  display:block;
  margin-bottom:18px;
  color:rgba(232,191,124,.58);
  text-transform:uppercase;
}

.feeling-intro h2{
  margin:0;
  color:rgba(255,252,246,.96);
  font-family:var(--serif);
  font-size:clamp(46px,5.5vw,82px);
  font-weight:400;
  letter-spacing:-.052em;
  line-height:.98;
}

.feeling-intro .lead{
  max-width:none!important;
  margin:16px auto 0!important;
  color:rgba(235,226,210,.64);
  font-size:clamp(15px,1.45vw,19px);
  letter-spacing:.01em;
}

.feeling-spectrum{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,minmax(108px,1fr));
  width:min(1180px,100%);
  margin:0 auto 34px;
  padding-top:13px;
  border-top:1px solid rgba(232,191,124,.32);
}

.feeling-spectrum button{
  position:relative;
  min-height:42px;
  padding:8px 8px 0;
  border:0;
  background:transparent;
  color:rgba(232,191,124,.72);
  font:800 11px/1.2 var(--mono);
  letter-spacing:.18em;
  text-transform:uppercase;
  cursor:pointer;
  transition:color .2s ease,text-shadow .2s ease;
}

.feeling-spectrum button::before{
  content:"";
  position:absolute;
  z-index:2;
  left:50%;
  top:-18px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(245,220,177,.72);
  box-shadow:0 0 0 1px rgba(232,191,124,.18);
  transform:translateX(-50%);
  transition:width .2s ease,height .2s ease,top .2s ease,background .2s ease,box-shadow .2s ease;
}

.feeling-spectrum button::after{
  content:"";
  position:absolute;
  z-index:1;
  left:50%;
  top:-25px;
  width:24px;
  height:24px;
  border:2px solid rgba(242,196,119,.92);
  border-radius:50%;
  background:rgba(232,177,86,.12);
  box-shadow:0 0 16px rgba(232,177,86,.52),0 0 30px rgba(232,177,86,.22);
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) scale(.72);
  transition:opacity .2s ease,transform .2s ease;
}

.feeling-spectrum button:hover,
.feeling-spectrum button:focus-visible{
  color:rgba(255,239,207,.96);
}

.feeling-spectrum button:focus-visible{
  outline:1px solid rgba(232,191,124,.72);
  outline-offset:4px;
  border-radius:8px;
}

.feeling-spectrum button[aria-pressed="true"]{
  color:#f2c477;
  text-shadow:0 0 16px rgba(232,177,86,.40);
}

.feeling-spectrum button[aria-pressed="true"]::before{
  top:-19px;
  width:11px;
  height:11px;
  background:rgba(255,215,145,.98);
  box-shadow:0 0 10px 2px rgba(232,177,86,.78),0 0 28px rgba(232,177,86,.32);
}

.feeling-spectrum button[aria-pressed="true"]::after{
  opacity:1;
  transform:translateX(-50%) scale(1);
}

.feeling-stage{
  position:relative;
  display:grid;
  grid-template-columns:minmax(170px,.55fr) minmax(620px,2.3fr) minmax(170px,.55fr);
  gap:16px;
  align-items:stretch;
  width:100%;
  min-height:342px;
}

.feeling-edge{
  position:relative;
  min-width:0;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(232,191,124,.14);
  border-radius:22px;
  background:#080a0e;
  color:rgba(255,248,237,.68);
  text-align:left;
  cursor:pointer;
  opacity:.56;
  transition:opacity .22s ease,border-color .22s ease,transform .22s ease;
}

.feeling-edge:hover,
.feeling-edge:focus-visible{
  opacity:.88;
  border-color:rgba(232,191,124,.38);
  transform:translateY(-2px);
}

.feeling-edge:focus-visible,
.feeling-track:focus-visible,
.feeling-save:focus-visible,
.feeling-links a:focus-visible,
.feeling-links button:focus-visible{
  outline:2px solid rgba(242,196,119,.86);
  outline-offset:3px;
}

.feeling-edge img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.34) saturate(.70);
}

.feeling-edge::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(2,4,8,.38);
}

.feeling-edge-kicker,
.feeling-edge strong,
.feeling-edge small{
  position:relative;
  z-index:1;
  display:block;
  margin-left:18px;
  margin-right:18px;
}

.feeling-edge-kicker{
  margin-top:28px;
  color:rgba(232,191,124,.62);
  font:800 9px/1 var(--mono);
  letter-spacing:.18em;
  text-transform:uppercase;
}

.feeling-edge strong{
  margin-top:18px;
  font-family:var(--serif);
  font-size:clamp(22px,2vw,31px);
  font-weight:400;
  letter-spacing:-.035em;
  line-height:1;
}

.feeling-edge small{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  color:rgba(235,226,210,.58);
  font-size:12px;
  line-height:1.5;
}

.feeling-feature{
  display:grid;
  grid-template-columns:minmax(300px,1.06fr) minmax(280px,.94fr);
  gap:28px;
  align-items:center;
  min-width:0;
  padding:0;
}

.feeling-art{
  position:relative;
  overflow:hidden;
  min-height:342px;
  border:1px solid rgba(232,191,124,.25);
  border-radius:20px;
  background:#080a0e;
  box-shadow:0 22px 70px rgba(0,0,0,.44),0 0 34px rgba(var(--track-rgb),.10);
}

.feeling-art img{
  width:100%;
  height:100%;
  min-height:342px;
  object-fit:cover;
  display:block;
  filter:saturate(.92) contrast(1.03) brightness(.82);
}

.feeling-copy{
  min-width:0;
  padding:18px 20px 18px 0;
}

.feeling-copy h3{
  margin:14px 0 14px;
  color:rgba(255,252,246,.97);
  font-family:var(--serif);
  font-size:clamp(42px,4.6vw,70px);
  font-weight:400;
  letter-spacing:-.055em;
  line-height:.92;
}

.feeling-copy h3 span{
  display:block;
  margin-top:.18em;
  color:rgba(235,226,210,.62);
  font-size:.54em;
  letter-spacing:-.015em;
}

.feeling-copy p{
  max-width:510px;
  margin:0;
  color:rgba(235,226,210,.66);
  font-size:15px;
  line-height:1.65;
}

.feeling-actions{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:24px;
}

.feeling-actions .cta{
  min-width:184px!important;
  height:52px!important;
}

.feeling-save{
  min-height:48px;
  padding:0 10px;
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:rgba(232,191,124,.72);
  font:800 10px/1 var(--mono);
  letter-spacing:.18em;
  text-transform:uppercase;
  cursor:pointer;
}

.feeling-save:hover,
.feeling-save[aria-pressed="true"]{
  color:#f8d494;
  border-bottom-color:rgba(232,191,124,.50);
}

.feeling-track-list{
  width:min(980px,calc(100% - 64px));
  margin:28px auto 0;
  border-top:1px solid rgba(232,191,124,.14);
}

.feeling-track{
  display:grid;
  grid-template-columns:42px 34px minmax(220px,1.3fr) minmax(180px,.8fr) 54px;
  gap:14px;
  align-items:center;
  width:100%;
  min-height:58px;
  padding:7px 4px;
  border:0;
  border-bottom:1px solid rgba(232,191,124,.11);
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
  transition:background .18s ease,color .18s ease;
}

.feeling-track:hover,
.feeling-track.is-active{
  background:rgba(var(--track-rgb),.055);
}

.feeling-track > img{
  width:38px;
  height:38px;
  border-radius:7px;
  object-fit:cover;
}

.feeling-track .feeling-track-num,
.feeling-track .feeling-track-duration{
  color:rgba(232,191,124,.76);
  font:700 10px/1 var(--mono);
  letter-spacing:.14em;
}

.feeling-track .world-number-orb--tiny{
  display:inline-grid;
  width:28px;
  height:28px;
  margin:0;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.68)) drop-shadow(0 0 7px rgba(var(--track-rgb),.14));
}
.feeling-track .world-number-orb--tiny img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.feeling-track .world-number-orb--tiny b{font-size:6px}

.feeling-track strong{
  overflow:hidden;
  color:rgba(255,249,239,.90);
  font-size:14px;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.feeling-track small{
  overflow:hidden;
  color:rgba(235,226,210,.52);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.feeling-links{
  display:flex;
  justify-content:center;
  gap:28px;
  align-items:center;
  flex-wrap:wrap;
  margin:22px auto 0;
}

.feeling-links a,
.feeling-links button{
  min-height:40px;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(232,191,124,.76);
  font:800 10px/1 var(--mono);
  letter-spacing:.19em;
  text-decoration:none;
  text-transform:uppercase;
  cursor:pointer;
}

.feeling-links a:hover,
.feeling-links button:hover{
  color:#f7d49a;
}

/* The former promotional block remains in the DOM for source compatibility,
   but discovery now owns the first view. */
.media-hub .featured-release{
  display:none!important;
}

.media-hub .hub-shell{
  margin-top:72px;
}

.media-hub #audioPanel .player{
  display:none!important;
}

.media-hub .hub-tabs{
  justify-content:center;
}

@media (max-width:1120px){
  .feeling-stage{
    grid-template-columns:134px minmax(0,1fr) 134px;
  }
  .feeling-feature{
    grid-template-columns:minmax(260px,1fr) minmax(250px,.9fr);
    gap:20px;
  }
  .feeling-edge strong{font-size:22px}
}

@media (max-width:900px){
  .media-hub{padding-top:64px!important}
  .media-hub>.inner{width:100%}
  .feeling-intro{padding:0 4px;margin-bottom:26px}
  .feeling-intro h2{font-size:clamp(42px,8.5vw,64px)}
  .feeling-spectrum{
    display:flex;
    gap:8px;
    width:calc(100% + (var(--pad) * 2));
    margin-left:calc(var(--pad) * -1);
    padding:26px var(--pad) 6px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:var(--pad);
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    border-top:0;
    background-image:linear-gradient(rgba(232,191,124,.32),rgba(232,191,124,.32));
    background-position:0 13px;
    background-repeat:no-repeat;
    background-size:100% 1px;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);
  }
  .feeling-spectrum::-webkit-scrollbar{display:none}
  .feeling-spectrum::before,
  .feeling-spectrum::after{
    content:"";
    flex:0 0 calc(50% - 56px);
    pointer-events:none;
  }
  .feeling-spectrum button{
    flex:0 0 auto;
    min-width:112px;
    scroll-snap-align:center;
  }
  .feeling-stage{
    display:block;
    min-height:0;
  }
  .feeling-feature{
    display:block;
  }
  .feeling-art{
    min-height:0;
    aspect-ratio:16/10;
    border-radius:18px;
  }
  .feeling-art img{
    min-height:0;
    height:100%;
  }
  .feeling-copy{
    max-width:640px;
    margin:0 auto;
    padding:28px 12px 4px;
    text-align:center;
  }
  .feeling-copy p{margin-inline:auto}
  .feeling-actions{justify-content:center}
  .feeling-edge{
    position:absolute;
    z-index:3;
    top:calc((100vw - (var(--pad) * 2)) * .30);
    width:54px;
    height:54px;
    min-height:54px;
    border-radius:50%;
    opacity:.84;
    background:rgba(4,6,10,.80);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }
  .feeling-edge-prev{left:12px}
  .feeling-edge-next{right:12px}
  .feeling-edge img,
  .feeling-edge small{display:none}
  .feeling-edge::after{display:none}
  .feeling-edge-kicker{
    display:grid;
    place-items:center;
    height:100%;
    margin:0;
    color:#f2c477;
    font-size:0;
    letter-spacing:0;
  }
  .feeling-edge-kicker::after{
    content:"Prev";
    font:800 9px/1 var(--mono);
    letter-spacing:.08em;
  }
  .feeling-edge-next .feeling-edge-kicker::after{content:"Next"}
  .feeling-edge strong{display:none}
  .feeling-track-list{width:100%}
}

@media (max-width:620px){
  .feeling-intro .num{font-size:10px;letter-spacing:.16em}
  .feeling-intro h2{
    max-width:360px;
    margin-inline:auto;
    font-size:clamp(40px,11.5vw,54px);
    line-height:.96;
  }
  .feeling-intro .lead{
    max-width:330px!important;
    font-size:14px;
    line-height:1.55;
  }
  .feeling-spectrum{margin-bottom:26px}
  .feeling-art{border-radius:15px}
  .feeling-copy{padding-top:24px}
  .feeling-copy h3{font-size:clamp(42px,12vw,58px)}
  .feeling-copy p{max-width:340px;font-size:14px;line-height:1.58}
  .feeling-actions{gap:10px;margin-top:20px}
  .feeling-actions .cta{min-width:170px!important;height:50px!important}
  .feeling-save{min-height:46px}
  .feeling-track{
    grid-template-columns:42px 28px minmax(0,1fr) 42px;
    gap:9px;
    min-height:64px;
  }
  .feeling-track small{display:none}
  .feeling-track strong{font-size:13px}
  .feeling-links{gap:10px 22px;margin-top:18px}
  .feeling-links a,
  .feeling-links button{font-size:9px;letter-spacing:.14em}
  .media-hub .hub-shell{margin-top:52px}
}

@media (max-width:390px){
  .feeling-actions .cta{min-width:154px!important;padding-inline:14px!important;font-size:10px!important}
  .feeling-save{font-size:9px;letter-spacing:.14em}
  .feeling-edge{width:48px;height:48px;min-height:48px}
}

@media (prefers-reduced-motion:reduce){
  .feeling-spectrum button,
  .feeling-edge,
  .feeling-track{transition:none}
}
