/* Keep category names and navigation legible as the illustrations crop at phone widths. */
.g6p .g6-sec[data-shelf] .g6-sh{
  --shelf-paint:#f8e9c9;position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;
  min-height:clamp(65px,6.8vw,99px);margin:0 0 10px;padding:10px clamp(10px,1.5vw,23px);
  border:2px solid #d9b684;border-radius:18px;
  background:linear-gradient(90deg,#fff2d9 0%,#fff2d9 31%,#fff2d9ed 39%,#fff2d900 66%),var(--shelf-art) 75% 49% / cover no-repeat;
  box-shadow:inset 0 1px #fffaf0,0 2px 5px #684e2421;
}
.g6p [data-shelf="typing"]{--shelf-art:url('./game-sky-typing.webp')}
.g6p [data-shelf="science"]{--shelf-art:url('./game-sky-science.webp')}
.g6p [data-shelf="world"]{--shelf-art:url('./world-landscape-small.webp')}
.g6p [data-shelf="art"]{--shelf-art:url('./game-sky-creative.webp')}
.g6p [data-shelf="lm"]{--shelf-art:url('./game-sky-language.webp')}
.g6p [data-shelf="more"]{--shelf-art:url('./game-sky-tech.webp')}
.g6p .g6-sec[data-shelf] .g6-sh h2{color:#322313;text-shadow:0 1px #fffaf0;font-size:clamp(1.05rem,2vw,1.8rem);line-height:1.1}
.g6p .g6-sec[data-shelf] .g6-sh .g6-va{min-height:44px;display:inline-flex;align-items:center;background:#fffcf2;color:#153b6f;padding:4px 12px;border-radius:24px;border:1px solid #b99f77}
@media(max-width:600px){
 .g6p .g6-sec[data-shelf] .g6-sh{min-height:65px;padding:7px 8px;gap:5px;background-image:linear-gradient(90deg,#fff2d9 0%,#fff2d9ed 48%,#fff2d944 68%,transparent),var(--shelf-art)}
 .g6p .g6-sec[data-shelf] .g6-sh>img{width:29px;height:29px}
 .g6p .g6-sec[data-shelf] .g6-sh .g6-va{font-size:.82rem;padding-inline:8px}
}
