/* Genre page wall (/p/<genre>-games): the Plays page mosaic in a light form. The tiles are sized and placed by
   playroll-genrewall.js; without it they fall back to an even grid of square tiles. Kept in this file (not in the
   page) so the genre pages stay small enough to build. */
.gw{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:14px}
.gw-t{position:relative;aspect-ratio:1;border-radius:16px;transition:translate .2s}
.gw-t:hover{z-index:10;translate:0 -4px}
.gw-t>a{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;background:linear-gradient(110deg,rgb(23 23 23/.5) 30%,rgb(68 68 68/.5) 50%,rgb(23 23 23/.5) 70%) #262626;background-size:240% 100%;box-shadow:0 8px 24px rgb(0 0 0/.35);transition:box-shadow .2s;text-decoration:none}
.gw-t:hover>a,.gw-t>a:focus-visible{box-shadow:0 18px 44px rgb(102 94 255/.5),0 0 0 2px #665EFF;outline:none}
.gw-t img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.96) contrast(1.03);transition:opacity .35s ease}
.gw.gw-js img{opacity:0}
.gw.gw-js img.is-in{opacity:1}
.gw-t i{position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;background:linear-gradient(180deg,rgb(255 255 255/.16) 0%,rgb(255 255 255/0) 26%),radial-gradient(130% 100% at 50% 38%,transparent 58%,rgb(23 23 23/.42) 100%);box-shadow:inset 0 0 0 1px rgb(255 255 255/.12),inset 0 1px 0 rgb(255 255 255/.22)}
.gw-t span{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:2px;padding:28px 8px 8px;background:linear-gradient(0deg,rgb(23 23 23/.95),rgb(23 23 23/.65) 55%,transparent);text-align:left;transition:opacity .2s,transform .2s}
.gw-t strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display),"Bricolage Grotesque",sans-serif;font-weight:800;font-size:11px;line-height:1.2;letter-spacing:-.01em;color:#F6F7FB}
.gw-t em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700;font-size:10px;color:#C6C8D0}
.gw-t[data-f] span{padding:48px 14px 14px}
.gw-t[data-f] strong{font-size:18px}
.gw-t[data-f] em{font-size:12px}
@media (hover:hover) and (pointer:fine){.gw-t span{opacity:0;transform:translateY(8px)}.gw-t:hover span,.gw-t>a:focus-visible span,.gw-t>a.gw-noimg span{opacity:1;transform:none}}
@media (min-width:1024px){.gw{gap:20px}.gw-t{border-radius:22px}.gw-t strong{font-size:13px}.gw-t[data-f] span{padding:56px 16px 16px}.gw-t[data-f] strong{font-size:24px}.gw-t[data-f] em{font-size:13px}}
@media (prefers-reduced-motion:reduce){.gw-t,.gw-t>a,.gw-t img,.gw-t span{transition:none}}

/* Genre page header (.gh): the site header as it looks on the green Plays page (white playroll mark, the all-white
   wordmark, the three text links, a white Play pill and a Play Violet Create pill), in a light form.
   The shared header entry is too heavy for these pages (it carries every Play's cover list and the site scripts), so
   this copy is drawn here; keep its sizes in step with views/entries/header.ejs (logo 34x46, 38x52 from 640 px, 44x60
   on desktop; wordmark 74x24, 92x30 on desktop; buttons 92x40 on phones, 128x46 on desktop). Create is a plain link
   to the studio.
   The wordmark (Oct 2026) is the wordmark-white picture (all white, his pick for the green pages; content/images.json),
   painted behind the play/roll text, which stays in the markup for search engines and screen readers, sized to nothing. */
.gh{position:sticky;top:0;z-index:50;background:#2FD08A}
.gh-in{max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px}
.gh-home{display:flex;align-items:center;gap:8px;text-decoration:none}
.gh-logo{display:block;flex:none;width:34px;height:46px}
.gh-logo img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;filter:brightness(0) invert(1)}
.gh-word{display:block;flex:none;width:74px;height:24px;font-size:0;line-height:0;color:transparent;background:url("https://img.sleekcms.com/kz2cw/mvw0r7ju.svg") left center/contain no-repeat;filter:drop-shadow(0 1px 1px rgb(23 23 23/.35)) drop-shadow(0 0 1px rgb(23 23 23/.25))}
.gh-word span{background:none;color:transparent}
.gh-nav{display:none;align-items:center;gap:24px;white-space:nowrap;font-size:15px}
.gh-nav a{color:rgb(23 23 23/.78);font-weight:700;text-decoration:none;transition:color .15s}
.gh-nav a:hover{color:#171717}
.gh-btns{display:flex;align-items:center;gap:10px}
.gh-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:92px;height:40px;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none;transition:transform .12s,box-shadow .12s;-webkit-tap-highlight-color:transparent}
.gh-btn svg{flex:none}
.gh-play{background:#F6F7FB;color:#171717;box-shadow:inset 0 0 0 3px #F6F7FB,inset 0 0 0 4.5px rgb(23 23 23/.2),0 5px 0 #A3A6B2}
.gh-create{background:#665EFF;color:#FFFFFF;box-shadow:inset 0 0 0 3px #665EFF,inset 0 0 0 4.5px rgb(255 255 255/.45),0 5px 0 #3F38C9}
.gh-btn:active{transform:translateY(4px)}
.gh-play:active{box-shadow:inset 0 0 0 3px #F6F7FB,inset 0 0 0 4.5px rgb(23 23 23/.2),0 1px 0 #A3A6B2}
.gh-create:active{box-shadow:inset 0 0 0 3px #665EFF,inset 0 0 0 4.5px rgb(255 255 255/.45),0 1px 0 #3F38C9}
.gh-menu{position:relative}
.gh-menu summary{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgb(246 247 251/.5);background:rgb(23 23 23/.12);cursor:pointer;list-style:none}
.gh-menu summary::-webkit-details-marker{display:none}
.gh-menu nav{position:absolute;right:0;top:52px;display:flex;flex-direction:column;gap:4px;width:256px;padding:12px;border-radius:16px;background:#212121;border:1px solid #333333;box-shadow:0 20px 60px rgb(0 0 0/.45)}
.gh-menu nav a{padding:12px;border-radius:12px;color:#C6C8D0;font-size:16px;font-weight:500;text-decoration:none}
.gh-menu nav a:hover{background:rgb(246 247 251/.05);color:#F6F7FB}
@media (max-width:379px){.gh-word{display:none}}
@media (min-width:640px){.gh-logo{width:38px;height:52px}}
@media (min-width:1024px){.gh-in{gap:16px;padding:24px 80px}.gh-home{gap:10px}.gh-logo{width:44px;height:60px}.gh-word{width:92px;height:30px}.gh-nav{display:flex}.gh-btn{width:128px;height:46px;font-size:15px;gap:8px}.gh-menu{display:none}}
@media (min-width:1280px){.gh-nav{gap:36px}}