/* GAMES: a wall of twenty slots */
.gw{padding:calc(var(--top) + clamp(48px,7vw,110px)) 0 clamp(80px,10vw,160px)}
.gw-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:28px 60px;align-items:end;margin-bottom:clamp(30px,4vw,60px)}.gw-head h1{max-width:13ch}.gw-open{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(2px,.5vw,8px)!important}.gw-open:not(:has(.gw-cell:not([hidden]))){display:none}.gw-head .lede{margin-top:20px}
.gw-filter{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:620px}
.gw-filter .chip{--cut:11px;min-height:46px;padding:10px 22px 10px 16px;font-weight:800;font-size:15px;background:#20242D;color:#fff;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%);transition:background-color .12s,color .12s,translate .12s,--cut .2s}.gw-filter .chip[aria-pressed=true]{background:var(--go);color:var(--on-go);--cut:16px}.gw-filter .chip:active{translate:0 3px}@media(hover:hover){.gw-filter .chip[aria-pressed=false]:hover{background:#3C455B}}
.gw-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:clamp(10px,1.2vw,18px)}
.gw-cell{grid-column:span 4}.gw-empty{grid-column:auto}
.gw-cell[hidden]{display:none}
.gw-game{--cut:clamp(28px,3.4vw,52px);position:relative;display:block;text-decoration:none;color:#fff;background:#101216;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%);transition:--cut .3s var(--out)}
.gw-art{display:block;aspect-ratio:1/1.06;overflow:hidden;background:var(--sky)}.gw-art img{width:100%;height:100%;object-fit:cover;object-position:50% 78%;transition:scale .6s var(--out)}
.gw-info{display:block;padding:clamp(16px,1.6vw,26px) clamp(16px,1.8vw,28px) clamp(20px,2vw,32px);position:relative}.gw-info::before{content:"";position:absolute;left:0;top:0;height:6px;width:100%;background:var(--go);transform:scaleX(0);transform-origin:0 50%;transition:transform .35s var(--slam)}
.gw-info strong{display:block;font-size:clamp(27px,2.7vw,44px);margin:10px 0 9px;font-weight:400}.gw-line{display:block;color:#C6CEE2;line-height:1.4}
.gw-tag{position:absolute;left:clamp(14px,1.6vw,24px);top:clamp(14px,1.6vw,24px)}.gw-tag .tag{background:#000;color:#fff}
@media(hover:hover){.gw-game:hover{--cut:clamp(44px,5vw,78px)}.gw-game:hover img{scale:1.07}.gw-game:hover .gw-info::before{transform:none}}.gw-game:focus-visible .gw-info::before{transform:none}
.gw-open{align-items:end;margin-top:clamp(40px,6vw,90px)!important}
.gw-slot{--cut:clamp(6px,1.4vw,24px);height:calc(clamp(64px,7vw,120px) + var(--k)*clamp(8px,1.35vw,24px));display:flex;align-items:flex-end;padding:clamp(5px,.8vw,14px);background:#191C23;color:#8C97B3;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%);transform-origin:50% 100%;transition:color .12s,background-color .12s}.gw-slot b{font-size:clamp(11px,2.5vw,46px);line-height:.85;font-weight:400}
@media(hover:hover){.gw-empty:hover .gw-slot{background:var(--go);color:var(--on-go)}}
@media(max-width:1080px){.gw-head{grid-template-columns:1fr}.gw-filter{justify-content:flex-start;max-width:none}.gw-cell{grid-column:span 6}.gw-empty{grid-column:auto}}
@media(max-width:640px){.gw-cell{grid-column:1/-1}.gw-empty{grid-column:auto}.gw-art{aspect-ratio:1/.9}.gw-filter{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(var(--pad)*-1);padding-inline:var(--pad);scrollbar-width:none}.gw-filter .chip{flex:none}}

/* one game left after a filter: it gets the wall to itself */
.gw-cell.solo{grid-column:1/-1}.solo .gw-game{display:grid;grid-template-columns:1.35fr 1fr;align-items:stretch}.solo .gw-art{aspect-ratio:auto;min-height:clamp(300px,40vw,600px)}.solo .gw-art img{position:absolute;inset:0;object-position:50% 70%}.solo .gw-art{position:relative}.solo .gw-info{align-self:center;padding:clamp(24px,4vw,64px)}.solo .gw-info strong{font-size:clamp(40px,5.4vw,92px)}.solo .gw-line{font-size:clamp(18px,1.6vw,24px)}
@media(max-width:760px){.solo .gw-game{grid-template-columns:1fr}}

@media(max-width:560px){.gw-slot{padding:4px 2px}.gw-slot b{white-space:nowrap}.gw-empty:not(:nth-child(3n+1)) b{visibility:hidden}}

/* the newest game leads the wall */
.gw-lead{grid-column:1/-1}.gw-lead .gw-game{display:grid;grid-template-columns:1.7fr 1fr;align-items:stretch}.gw-lead .gw-art{position:relative;aspect-ratio:auto;min-height:clamp(280px,37vw,620px)}.gw-lead .gw-art img{position:absolute;inset:0;object-position:50% 50%}.gw-lead .gw-info{align-self:center;padding:clamp(24px,3.6vw,64px)}.gw-lead strong{font-size:clamp(38px,4.6vw,84px)}.gw-lead .gw-line{font-size:clamp(18px,1.6vw,24px)}.gw-tag{display:flex;gap:8px}.gw-tag .newt{background:var(--go)!important;color:var(--on-go)!important}
.gw-info strong.long{font-size:clamp(32px,4vw,74px);line-height:.94}
@media(max-width:760px){.gw-lead .gw-game{grid-template-columns:1fr}.gw-lead .gw-art{min-height:0;aspect-ratio:1/.95}.gw-lead .gw-art img{object-position:50% 70%}}

.gw-lead .gw-tag{gap:0}

/* two new games lead the wall, the second one mirrored */
@media(min-width:761px){.gw-lead+.gw-lead .gw-game{grid-template-columns:1fr 1.7fr}.gw-lead+.gw-lead .gw-art{order:2}.gw-lead+.gw-lead .gw-info{order:1}.gw-lead+.gw-lead .gw-tag{left:calc(37.04% + clamp(14px,1.6vw,24px));z-index:2}}
