/* Scoped reuse of closing-portfolio's measured straight horizontal row/track system.
   Light style-selection surface only; closing panels and foreground players unchanged. */
html body #h3 #h3-styles{position:relative;isolation:isolate;overflow:hidden}
html body #h3 #h3-styles>.hsm-bg{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#fff}
html body #h3 #h3-styles>.hsm-bg::after{content:'';position:absolute;inset:0;z-index:1;background:rgba(255,255,255,.9);pointer-events:none}
html body #h3 #h3-styles .hsm-wall{position:absolute;inset:-10px;display:flex;flex-direction:column;gap:14px;padding:0;overflow:hidden;transform:none;filter:blur(5px);pointer-events:none}
html body #h3 #h3-styles .hsm-row{overflow:hidden;flex:1 1 0;min-height:0}
html body #h3 #h3-styles .hsm-track{display:flex;width:max-content;height:100%;gap:14px;animation:hsmFlow 140s linear infinite paused;will-change:transform}
html body #h3 #h3-styles .hsm-group{display:flex;flex:none;gap:14px;height:100%;width:max-content}
html body #h3 #h3-styles .hsm-row:nth-child(even) .hsm-track{animation-direction:reverse;animation-duration:170s}
html body #h3 #h3-styles .hsm-row:nth-child(3) .hsm-track{animation-duration:155s}
html body #h3 #h3-styles .hsm-row:nth-child(5) .hsm-track{animation-duration:185s}
html body #h3 #h3-styles .hsm-bg[data-running=true] .hsm-track{animation-play-state:running}
html body #h3 #h3-styles .hsm-bg:not([data-running=true]) .hsm-track{animation-play-state:paused}
html body #h3 #h3-styles .hsm-wall img{display:block;flex:none;width:auto;height:100%;aspect-ratio:9/16;border-radius:14px;object-fit:cover;pointer-events:none}
@keyframes hsmFlow{to{transform:translateX(calc(-50% - 7px))}}
@media(max-width:640px){html body #h3 #h3-styles .hsm-wall,html body #h3 #h3-styles .hsm-track,html body #h3 #h3-styles .hsm-group{gap:10px}html body #h3 #h3-styles .hsm-wall img{border-radius:10px}@keyframes hsmFlow{to{transform:translateX(calc(-50% - 5px))}}}
@media(prefers-reduced-motion:reduce){html body #h3 #h3-styles .hsm-track{animation:none!important;will-change:auto}}
