/* The established paper directory, with one bounded selection per collection. */
@font-face {
  font-family: "Home Directory Sans";
  src:url("/assets/type/dm-sans-latin.ttf") format("truetype");
  font-style:normal;
  font-weight:100 1000;
  font-display:optional;
}
body[data-ui=portal][data-page=home],
body[data-ui=portal][data-page=home] .site-header .hub-search input,
body[data-ui=portal][data-page=home] .game-card h2 {
  font-family:"Home Directory Sans",Arial,sans-serif;
}
body[data-ui=portal][data-page=home] .home-game-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:18px 16px;
  padding:0 4px 6px 0;
  min-width:0;
  align-items:stretch;
}
body[data-ui=portal][data-page=home] .home-game-grid picture { display:block;width:100%;height:100%; }
body[data-ui=portal][data-page=home] .home-section { margin-bottom:32px; }
body[data-ui=portal][data-page=home] .home-section .portal-section-heading { margin-bottom:16px; }
body[data-ui=portal][data-page=home] .home-arcade-nav {
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;
}
.home-arcade-nav a {
  display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;
  border:1px solid #7b8079;color:#171c24;background:#fffefa;
  font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;
}
.home-arcade-nav a[aria-current=true] { background:#d1f14c;border-color:#171c24; }
.home-arcade-nav a:hover { background:#d1f14c; }
.home-arcade-nav a:focus-visible,.home-section a:focus-visible,.home-browse a:focus-visible {
  outline:3px solid #526a29;outline-offset:3px;
}
.home-arcade-note { font-size:13px;color:#565c61;margin:0 0 14px; }
.home-switch-status { font-size:13px;color:#40571e;margin:0 0 12px; }
.home-switch-status:empty { display:none; }
.home-collection-link,.home-section-footer { margin:14px 0 0;font-size:13px; }
.home-collection-link a,.home-stone-link { color:#40571e;text-decoration:underline;text-underline-offset:4px; }
.home-section-footer { display:flex;align-items:center;gap:18px; }
.home-stone-link { display:inline-flex;align-items:center;min-height:44px;font-weight:700; }
.home-browse { padding:24px 0;border-top:1px solid #d1cec5; }
.home-browse h2 { font-size:20px;margin:0 0 16px; }
.home-browse nav { display:flex;flex-wrap:wrap;gap:4px 20px;max-width:80ch; }
.home-browse nav a { display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#40571e;text-decoration:underline;text-underline-offset:4px; }
.home-library-link { display:inline-flex;align-items:center;min-height:44px;margin-top:16px;font-size:14px;font-weight:700;color:#171c24; }
body[data-ui=portal][data-page=home] .game-card .game-card-description { -webkit-line-clamp:3; }
@media(min-width:641px) {
  body[data-ui=portal][data-page=home] [data-small-collection] .game-card {
    display:grid;grid-template-columns:clamp(100px,12vw,160px) minmax(0,1fr);grid-template-rows:auto 1fr auto;
  }
  body[data-ui=portal][data-page=home] [data-small-collection] .game-card__img-wrap {
    grid-row:1 / 4;aspect-ratio:2 / 3;border-bottom:0;border-right:2px solid #171c24;
  }
  body[data-ui=portal][data-page=home] [data-small-collection] .game-card .game-card-description { -webkit-line-clamp:4; }
}
@media(max-width:1200px) {
  body[data-ui=portal][data-page=home] .home-game-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  body[data-ui=portal][data-page=home] .home-game-grid > [data-home-min-width="1200"] { display:none; }
}
@media(max-width:640px) {
  body[data-ui=portal][data-page=home] .home-game-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px; }
  body[data-ui=portal][data-page=home] .home-game-grid > [data-home-min-width="640"] { display:none; }
  body[data-ui=portal][data-page=home] .portal-home-heading { margin-bottom:18px; }
  body[data-ui=portal][data-page=home] .home-section .portal-section-heading { align-items:center;gap:10px;flex-wrap:nowrap; }
  body[data-ui=portal][data-page=home] .home-section .portal-section-heading>div:first-child { flex:1 1 auto;width:auto; }
  body[data-ui=portal][data-page=home] .home-section .portal-row-actions { flex:0 0 auto;width:auto; }
  body[data-ui=portal][data-page=home] .home-section .portal-section-heading>div:first-child>span { display:none; }
  body[data-ui=portal][data-page=home] .home-section .portal-row-actions>a { white-space:nowrap;padding:0 10px;gap:6px; }
  .home-arcade-nav { gap:6px; }
  .home-arcade-nav a { padding:7px 9px;font-size:12px; }
  .home-arcade-note { font-size:12px; }
}
