/* Approved 3D Studio: compact choices and one horizontal station rail. */
.home-moods{min-width:0;margin:0 0 28px;color:#111315}
.home-moods-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:13px}
.home-moods-head .home-section-title{margin:0}
.home-mood-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.home-mood-choice{position:relative;isolation:isolate;display:flex;align-items:center;gap:13px;min-width:0;height:70px;padding:8px 18px;border:0;border-radius:999px;color:#111315;text-align:left;cursor:pointer;transition:transform .28s cubic-bezier(.2,.75,.2,1),box-shadow .25s ease}
.home-mood-choice img{display:block;flex:none;width:54px;height:54px;object-fit:contain}
.home-mood-choice>span{min-width:0;font:650 14px/1.2 var(--body, sans-serif);letter-spacing:-.025em}
.home-mood-choice[aria-pressed=true]{box-shadow:inset 0 0 0 2px #111315}
.home-mood-choice:focus-visible{outline:2px solid #111315;outline-offset:3px}
/* The padded video crop is enlarged to the existing PNG size, keeping the
   approved sculpture steady when selection starts or a fallback is shown. */
.home-mood-choice>.home-mood-icon-stage{position:relative;display:block;flex:none;min-width:54px;width:54px;height:54px;mix-blend-mode:multiply;pointer-events:none;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.home-mood-icon-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.home-mood-icon-stage>canvas{position:absolute;inset:-6.25%;width:112.5%;height:112.5%;opacity:0;pointer-events:none}
.home-mood-icon-stage[data-motion-frame=true]>canvas{opacity:1}
.home-mood-icon-stage[data-motion-frame=true]>img{opacity:0}
.home-mood-icon-stage[data-selected=true][data-motion-enabled=true]{will-change:transform;animation:home-mood-orbital-flow 5.6s linear infinite}
@keyframes home-mood-orbital-flow{0%,100%{transform:translate(1.5px,0) rotate(0deg)}25%{transform:translate(0,-1px) rotate(3deg)}50%{transform:translate(-1.5px,0) rotate(0deg)}75%{transform:translate(0,1px) rotate(-3deg)}}
@media(hover:hover) and (pointer:fine){
 .home-mood-choice:hover{transform:translateX(3px);box-shadow:-4px 5px 17px #24202b0f}
 .home-mood-choice[aria-pressed=true]:hover{box-shadow:inset 0 0 0 2px #111315,-4px 5px 17px #24202b0f}
 .home-mood-choice:hover>.home-mood-icon-stage:not([data-selected=true]){transform:translateX(2px) rotate(4deg)}
}
.home-mood-choice:focus-visible{box-shadow:-4px 5px 17px #24202b0f}
.home-mood-choice[aria-pressed=true]:focus-visible{box-shadow:inset 0 0 0 2px #111315,-4px 5px 17px #24202b0f}
.home-mood-choice:active{transform:translateY(1px) scale(.985)}
.home-moods-scroll-controls{display:flex;gap:6px;flex:none}
.home-moods-scroll-controls button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #e3e1dd;border-radius:50%;background:#fff;color:#111315;cursor:pointer}
.home-moods-scroll-controls button:disabled{opacity:.32;cursor:default}
.home-moods-scroll-controls button:focus-visible{outline:2px solid #111315;outline-offset:2px}
.home-moods-scroll-controls svg{width:16px;height:16px}
.home-moods-prev-icon{transform:rotate(180deg)}
.home-mood-results{min-width:0;margin-top:17px}
.home-mood-station-rail{display:flex;gap:10px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:4px 1px 10px;scroll-snap-type:x proximity;scroll-padding-inline:1px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d9d9d5 transparent}
.home-mood-station-rail>.station-hover-wrap,.home-mood-loading{flex:0 0 31.5%;min-width:255px;scroll-snap-align:start}
.home-mood-station{box-sizing:border-box;display:flex;align-items:center;gap:11px;width:100%;min-width:0;height:84px;padding:9px 13px 9px 9px;border:1px solid #e6e2dd;border-radius:12px;background:#f9f7f4;color:#111315;text-align:left;cursor:pointer}
.home-mood-station.is-playing{background:#111315;border-color:#111315;color:#fff}
.home-mood-station .home-mood-station-art{flex:none;width:64px;height:64px;border-radius:8px}
.home-mood-station-copy{display:grid;gap:5px;flex:1;min-width:0}
.home-mood-station .home-mood-station-name.station-name-label{display:block!important;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#111315!important;font-size:12px;line-height:1.3;font-weight:650}
.home-mood-station-copy>small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#727573!important;font-size:10px;line-height:1.3}
.home-mood-station.is-playing .home-mood-station-name.station-name-label{color:#fff!important}
.home-mood-station.is-playing .home-mood-station-copy>small{color:#c9cbca!important}
.home-mood-station-arrow{flex:none;color:#8b8d8b}
.home-mood-station-arrow svg{width:15px;height:15px}
.home-mood-station:focus-visible{outline:2px solid #111315;outline-offset:2px}
.home-mood-empty{margin:8px 0;color:#606563;font-size:12px;line-height:1.5}
.home-mood-empty button{padding:4px;border:0;background:none;color:#111315;font:inherit;text-decoration:underline;cursor:pointer}
.home-mood-loading{height:84px;overflow:hidden;border-radius:12px}
@media(max-width:743px){
 .home-moods{margin-bottom:25px}
 .home-mood-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .home-mood-choice{height:62px;gap:9px;padding:7px 11px}
 .home-mood-choice img{width:43px;height:43px}
 .home-mood-choice>.home-mood-icon-stage{min-width:43px;width:43px;height:43px}
 .home-mood-icon-stage>img{width:100%;height:100%}
 .home-mood-choice>span{font-size:12px}
 .home-mood-station-rail>.station-hover-wrap,.home-mood-loading{flex-basis:82%;min-width:245px}
 .home-mood-station{height:76px;padding:8px;gap:10px}
 .home-mood-station .home-mood-station-art{width:58px;height:58px}
 .home-moods-scroll-controls button{width:36px;height:36px}
}
@media(max-width:370px){.home-mood-choice{gap:6px;padding-inline:9px}.home-mood-choice img{width:36px;height:36px}.home-mood-choice>.home-mood-icon-stage{min-width:36px;width:36px;height:36px}.home-mood-icon-stage>img{width:100%;height:100%}.home-mood-choice>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-mood-choice,.home-mood-icon-stage{transition:none!important;animation:none!important}.home-mood-choice:hover,.home-mood-choice:focus-visible,.home-mood-choice:active,.home-mood-choice>.home-mood-icon-stage{transform:none!important}.home-mood-icon-stage>canvas{display:none!important}.home-mood-icon-stage>img{opacity:1!important}.home-mood-station-rail{scroll-behavior:auto}}
/* A seventh, centered soundscape keeps the existing six choices in place. */
.home-mood-choice[data-mood="rain-white-noise"]{grid-column:2}
.home-mood-icon-stage.is-rain{animation:none!important}
.home-mood-rain-scene{position:absolute;inset:0;display:block;opacity:0;pointer-events:none}
.home-mood-rain-scene>svg{display:block;width:100%;height:100%;overflow:visible}
.home-mood-icon-stage.is-rain[data-motion-enabled=true]>img{opacity:0}
.home-mood-icon-stage.is-rain[data-motion-enabled=true]>.home-mood-rain-scene{opacity:1}
.home-mood-rain-scene .rain-cloud{transform-origin:50% 46%;animation:home-mood-rain-cloud 4.4s ease-in-out infinite;animation-play-state:paused}
.home-mood-rain-scene .rain-drop{animation:home-mood-rain-drop 1.9s ease-in-out infinite;animation-play-state:paused}
.home-mood-rain-scene .rain-drop-two{animation-delay:-.63s}
.home-mood-rain-scene .rain-drop-three{animation-delay:-1.26s}
.home-mood-rain-scene .rain-ripple{transform-origin:39px 70px;animation:home-mood-rain-ripple 2.6s ease-out infinite;animation-play-state:paused}
.home-mood-icon-stage.is-rain[data-motion-enabled=true] .rain-cloud,.home-mood-icon-stage.is-rain[data-motion-enabled=true] .rain-drop,.home-mood-icon-stage.is-rain[data-motion-enabled=true] .rain-ripple{animation-play-state:running}
@keyframes home-mood-rain-cloud{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}
@keyframes home-mood-rain-drop{0%{opacity:0;transform:translate(1px,-3px)}20%{opacity:1}78%{opacity:.9}100%{opacity:0;transform:translate(-1.8px,5px)}}
@keyframes home-mood-rain-ripple{0%{opacity:0;transform:scale(.6)}25%{opacity:.4}100%{opacity:0;transform:scale(1.25)}}
@media(max-width:743px){.home-mood-choice[data-mood="rain-white-noise"]{grid-column:1/-1;justify-self:center;width:calc((100% - 7px)/2)}}
@media(prefers-reduced-motion:reduce){.home-mood-rain-scene{display:none!important}.home-mood-rain-scene *{animation:none!important}.home-mood-icon-stage.is-rain>img{opacity:1!important}}
