/* A destination beyond the portal: one photograph, a few useful paths. */
.game-page .game-main { align-content: stretch; grid-template-rows: auto minmax(0, 1fr); gap: clamp(12px, 3vh, 28px); padding-bottom: clamp(20px, 4vh, 42px); }
.game-back { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #aebbc8; font-size: .75rem; text-decoration: none; }
.game-back:hover { color: #fff; }
.game-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); min-height: 0; align-items: center; }
.game-art { min-width: 0; min-height: 0; width: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; height: min(100%, 540px); }
.game-art img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 2px; }
.game-art figcaption { color: #909ca9; font-size: .6875rem; line-height: 1.5; }
.game-art figcaption a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
.game-art figcaption a:hover { color: #cddae7; text-decoration: underline; }
.game-projects { height: 100%; max-height: 570px; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 22px; }
.game-page .game-intro h1 { font-size: clamp(2rem, 4.2vw, 4.2rem); letter-spacing: -.065em; }
.game-page .game-intro p { max-width: 32ch; margin: 15px 0 0; color: #a5b0bc; font-size: .9375rem; line-height: 1.5; }
.game-project-window { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #465563 transparent; padding: 6px; margin: -6px; }
.game-page[data-game-ready] .game-project-window:not([data-overflow]) { overflow: hidden; }
.game-project-list { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.game-project-list li { min-width: 0; }
.game-project-link { display: grid; gap: 7px; min-height: 44px; padding: 18px 0; color: #eff5fc; text-decoration: none; }
.game-project-link:hover .game-project-heading { color: #b7dfff; }
.game-project-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.025em; }
.game-project-heading > :first-child { overflow-wrap: anywhere; }
.game-project-heading > :last-child { color: #849bad; font-size: 1rem; }
.game-project-summary { max-width: 42ch; color: #a6b1be; font-size: .8125rem; line-height: 1.5; }
.game-project-creator { color: #7f8b98; font-size: .6875rem; line-height: 1.4; }
.game-project-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: #9dabb9; font-size: .75rem; }
.game-project-pager button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; color: #d4e8fa; cursor: pointer; }
.game-project-pager button:hover:not(:disabled) { background: #111a22; }
.game-project-pager button:disabled { opacity: .3; }
.game-page[data-compact] .game-projects { gap: 10px; }
.game-page[data-compact] .game-intro h1 { font-size: 1.6rem; }
.game-page[data-compact] .game-intro p { margin-top: 8px; font-size: .8125rem; }
.game-page[data-compact] .game-project-link { padding: 8px 0; }
@media (max-width: 760px) {
  .game-page .game-main { gap: 8px; padding-bottom: 16px; }
  .game-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 22px; align-items: stretch; }
  .game-art { height: auto; grid-template-rows: clamp(88px, 20dvh, 190px) auto; gap: 7px; }
  .game-art figcaption { font-size: .625rem; line-height: 1.4; }
  .game-projects { gap: 15px; max-height: none; }
  .game-page .game-intro h1 { font-size: clamp(1.8rem, 7vw, 2.7rem); }
  .game-page .game-intro p { margin-top: 8px; font-size: .8125rem; }
  .game-project-link { padding: 10px 0; }
  .game-project-heading { font-size: 1rem; }
  .game-page[data-compact] .game-art { grid-template-rows: 72px auto; }
  .game-page[data-compact] .game-workspace { gap: 12px; }
}
@media (min-width: 761px) and (max-height: 620px) {
  .game-page .game-main { gap: 4px; padding-bottom: 16px; }
  .game-workspace { gap: 32px; }
  .game-projects { gap: 10px; }
  .game-page .game-intro h1 { font-size: 2rem; }
  .game-page .game-intro p { margin-top: 8px; font-size: .8125rem; }
  .game-project-link { padding: 8px 0; }
}
@media print {
  .game-page .game-main, .game-workspace, .game-projects { display: block; }
  .game-art { max-width: 600px; height: 320px; }
  .game-project-window { overflow: visible; }
  .game-project-list li[hidden] { display: block !important; }
  .game-back, .game-project-pager { display: none; }
}
