/* Prevent horizontal scrolling without creating a new vertical scroll container. */
html {overflow-x:clip;}
body {overflow-x:clip;}
.shell {overflow-x:clip;}
.room-journey,.room-stage {max-width:100%;}
.room-hint {display:flex;align-items:center;gap:20px;max-width:calc(100% - 12%);}
.room-hint span {min-width:0;}
.room-hint i {display:block;position:relative;overflow:hidden;flex:0 0 80px;width:80px;height:1px;background:#ffffff55;}
.room-hint i::after {content:'';position:absolute;inset:0;background:#f4dcc0;transform:scaleX(.3);transform-origin:left;animation:category-scroll-line 2.8s ease-in-out infinite;}
@keyframes category-scroll-line {50%{transform:translateX(80%) scaleX(.5);}}
@media(max-width:760px){.room-hint{gap:10px}.room-hint i{width:40px;flex-basis:40px}}
@media(prefers-reduced-motion:reduce){.room-hint i::after{animation:none}}

/* Keep the complete hint inside narrow mobile viewports. */
@media(max-width:760px){.room-hint{left:16px;right:16px;width:auto;max-width:none;margin-left:0;margin-right:0;transform:none;justify-content:center;text-align:center;gap:10px}.room-hint span{flex:0 1 auto;white-space:normal;line-height:1.5}.room-hint i{flex:0 0 40px}}
