/* page.css - what the community pages need beyond /site.css (loaded after it, from /community/page.css).
   Texts here are a stranger's: every long run of characters may be one word, so they break anywhere. */
.cm .gtitle, .cm .lede, .cm .desc, .cm .third, .cm .about li, .cm .controls td, .cm .tag,
.cm .card h3, .cm .card p, .cm .crumbs, .cm .byline { overflow-wrap: anywhere; word-break: break-word; }
.cm .about > div { min-width: 0; }
.cm .tag { max-width: 100%; }
.cm .card { min-width: 0; }
.cm .card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm .card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm .card p.by { color: var(--faint); font-size: 12px; -webkit-line-clamp: 1; }
.cm .gtitle { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* the DEMO label beside the author, on a game's own page (the card's label is positioned on its picture) */
.cm .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; color: var(--dim); font-size: 13.5px; }
.cm .cm-tier {
  display: inline-block; padding: 2px 8px; border-radius: 6px; line-height: 1.5;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; white-space: nowrap;
  background: rgba(8, 10, 14, 0.78); color: var(--dim); border: 1px dashed var(--dim);
}
.cm .third { margin: 0 0 14px; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 8px 8px 0; color: var(--dim); font-size: 13.5px; }
.cm .note { color: #e9cf9c; }

/* the poster is a link to the game's own site (the image keeps site.css's place in the stage); the line under the stage
   says where the game plays and when we last checked it */
.cm .poster-link { display: block; position: absolute; inset: 0; z-index: 0; }
.cm .where { max-width: 1180px; margin: 10px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px;
  color: var(--dim); font-size: 13.5px; text-align: center; overflow-wrap: anywhere; }
.cm .where b { color: var(--text, #e8ecf4); font-weight: 700; }

/* the index page and a game page's report line */
.cm .foot-contact a { color: var(--dim); }
.cm .empty { padding: 36px 0; text-align: left; color: var(--dim); }
.cm .empty a, .cm .home-lede a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cm .wrap .foot { margin-top: 44px; }
@media (max-width: 560px) {
  .cm .card p.by { display: none; }
  .cm .third { margin: 0 0 12px; }
  .cm .where { padding: 0 14px; justify-content: flex-start; text-align: left; }
}
