.game-shelf{padding:12px 0 64px;scroll-margin-top:110px}.shelf-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.shelf-heading h1{font-family:var(--display);font-size:clamp(28px,3vw,44px);font-weight:700;letter-spacing:-.04em;line-height:1.1;margin:0}.shelf-heading p{color:var(--dim);font-size:15px;margin:12px 0 0}.shelf-filters{display:flex;gap:6px;flex-shrink:0}.shelf-filters button{font:500 14px var(--body);padding:10px 16px;border:1px solid transparent;border-radius:30px;background:transparent;color:var(--dim);cursor:pointer}.shelf-filters button[aria-pressed=true]{background:var(--ink-3);border-color:var(--line-2);color:var(--text)}.shelf-filters span{margin-left:8px;font-size:12px;opacity:.6}.shelf-games{display:grid;grid-template-columns:1fr 1fr;gap:28px}.shelf-art{display:block;overflow:hidden;border-radius:12px;background:var(--ink-2);aspect-ratio:460/215}.shelf-art img{display:block;width:100%;height:100%;object-fit:cover}.shelf-info{display:flex;justify-content:space-between;gap:16px;padding:18px 0 0}.shelf-info h3{font:600 clamp(18px,1.6vw,24px)/1.25 var(--body);letter-spacing:-.035em;margin:0}.shelf-platforms{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}.shelf-platforms span{font:12px var(--body);color:var(--dim);border:1px solid var(--line-2);border-radius:5px;padding:4px 7px}.shelf-score{flex-shrink:0;text-align:right}.shelf-score>span{font:11px var(--body);color:var(--dim);display:block;margin-bottom:4px}.shelf-score strong{font:700 27px var(--display);color:var(--text)}.shelf-score small{font:400 12px var(--body);color:var(--dim)}.shelf-empty{padding:40px 0;color:var(--dim);border-top:1px solid var(--line);margin:0}.shelf-empty[hidden]{display:none}.shelf-art:focus-visible,.shelf-filters button:focus-visible{outline:2px solid var(--flame);outline-offset:4px}@media(max-width:650px){.game-shelf{padding-bottom:40px}.shelf-heading{align-items:start;flex-direction:column;gap:20px}.shelf-games{grid-template-columns:1fr;gap:30px}.shelf-filters button{padding:9px 14px}.shelf-heading p{font-size:14px}.shelf-info h3{font-size:20px}.shelf-heading h1{font-size:32px}}

/* A separate, compact catalog; the homepage remains the creator portfolio. */
.shelf-main{padding-top:140px;padding-bottom:64px}.shelf-back{display:inline-block;font-size:14px;color:var(--dim);margin-bottom:32px;text-decoration:none}.shelf-back:hover{color:var(--text)}.shelf-page .shelf-heading{max-width:none;margin-bottom:28px}.shelf-page .shelf-heading h1{font-size:clamp(32px,4vw,52px)}.shelf-page .shelf-games{grid-template-columns:repeat(auto-fill,minmax(max(260px, calc((100% - 72px) / 4)),1fr));gap:32px 24px}.shelf-page .shelf-info{gap:12px;padding-top:14px}.shelf-page .shelf-info h3{font-size:18px}.shelf-page .shelf-score strong{font-size:22px}.shelf-page .shelf-platforms{gap:6px;margin-top:10px}.shelf-page .shelf-art{border-radius:9px}.shelf-page .shelf-empty{max-width:1050px}@media(max-width:650px){.shelf-main{padding-top:105px}.shelf-page .shelf-games{grid-template-columns:1fr}.shelf-page .shelf-game{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:start}.shelf-page .shelf-info{padding:0;gap:8px}.shelf-page .shelf-info h3{font-size:16px}.shelf-page .shelf-art{aspect-ratio:1.25}.shelf-page .shelf-art img{object-fit:cover}.shelf-page .shelf-score strong{font-size:21px}.shelf-page .shelf-platforms span{font-size:10px;padding:3px 5px}.shelf-page .shelf-score>span{font-size:10px}.shelf-back{margin-bottom:24px}}
/* Keep platform pills and the score on the same bottom edge. */
.shelf-page .shelf-info{align-items:flex-end}
.shelf-page .shelf-platforms{margin-top:6px;gap:5px}
.shelf-page .shelf-platforms span{font-size:10px;line-height:14px;padding:2px 7px;border-radius:999px}
.shelf-page .shelf-score>span{margin-bottom:3px}
.shelf-page .shelf-score strong{display:block;font-size:24px;line-height:1}
.shelf-page .shelf-score small{font-size:12px}
@media(max-width:650px){.shelf-page .shelf-score strong{font-size:22px}.shelf-page .shelf-platforms span{font-size:9px;padding:2px 6px}}
/* Optical alignment: compensate for the font's space below the numerals. */
.shelf-page .shelf-score{transform:translateY(4px)}

.shelf-page .shelf-art{position:relative}.shelf-completion{position:absolute;bottom:8px;left:8px;border-radius:999px;padding:4px 8px;background:#141419dd;color:#fff;font:10px/1.2 var(--body)}@media(max-width:650px){.shelf-completion{bottom:4px;left:4px;font-size:8px;padding:3px 5px}.shelf-page .shelf-info>div:first-child{min-width:0}}

/* Keep platform summaries on one line, with a fourth chip for overflow. */
.shelf-page .shelf-info>div:first-child{min-width:0}
.shelf-page .shelf-platforms{flex-wrap:nowrap}
.shelf-page .shelf-platforms span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shelf-page .shelf-platforms .shelf-platforms-more{flex-shrink:0}

/* All lists remain readable without JavaScript; filters progressively enhance them. */
[data-shelf-group][hidden]{display:none}
.game-shelf[data-enhanced] .shelf-group-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.shelf-group-title{margin:32px 0 20px;font:600 24px var(--body)}

.shelf-heading{flex-wrap:wrap}
.shelf-filters{flex-wrap:wrap;max-width:100%}
@media(max-width:650px){.shelf-filters{gap:2px}.shelf-filters button{font-size:12px;padding:10px 9px;white-space:nowrap}.shelf-filters span{margin-left:5px;font-size:11px}}
