/* the back arrow on the game page's banner, and the arrows to the previous / next game of the list you came from */
.gp-hero-inner .gn-back { position: absolute; z-index: 3; top: 16px; left: var(--gp-pad, 16px); display: inline-flex; align-items: center; gap: 10px; height: 42px; max-width: calc(100% - 2 * var(--gp-pad, 16px)); padding: 0 18px 0 5px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(8, 12, 20, .55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .85); color: #fff; font: 700 13.5px/1 Inter, "Segoe UI", sans-serif; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
/* the arrow sits in a light disc of its own and leans the way it will take you */
.gp-hero-inner .gn-back svg { box-sizing: border-box; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #fff; fill: none; stroke: #0a0f19; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .28s cubic-bezier(.2, 1.4, .4, 1); }
.gp-hero-inner .gn-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-hero-inner .gn-back:hover { background: rgba(16, 24, 40, .8); border-color: rgba(255, 255, 255, .32); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .95); }
.gp-hero-inner .gn-back:hover svg { transform: translateX(-3px); }
.gp-hero-inner .gn-back:active { transform: scale(.97); }
.gp-hero-inner .gn-back:focus-visible { outline: 2px solid rgba(255, 255, 255, .75); outline-offset: 2px; }

.gn-arrow { position: fixed; z-index: 60; top: 50%; display: grid; place-items: center; width: 52px; height: 150px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: rgba(255, 255, 255, .55); box-shadow: none; cursor: pointer; transform: translateY(-50%); animation: gn-in .35s ease both; transition: color .2s ease, background .2s ease; }
.gn-arrow:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.gn-arrow svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.gn-arrow.is-prev { left: calc(var(--gn-left, 0px) + 14px); }
.gn-arrow.is-next { right: 14px; }
/* the arrows keep their colour and border under the pointer; only the keyboard gets a ring */
.gn-arrow:focus { outline: 0; }
.gn-arrow:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.gn-arrow.is-prev:hover svg { transform: translateX(-3px); }
.gn-arrow.is-next:hover svg { transform: translateX(3px); }
/* on narrower screens the page steps in a little, so the arrows stand beside the text and not on it */
@media (min-width: 761px) and (max-width: 1750px) { body.game-body.has-gn-arrows .gp-page { --gp-pad: 84px !important; } body.game-body.has-gn-arrows .gp-body { padding-left: 84px; padding-right: 84px; } }
body.gp-modal-open .gn-arrow { display: none; }
@keyframes gn-in { from { opacity: 0; } to { opacity: .9; } }

@media (max-width: 760px) {
    .gp-hero-inner .gn-back { top: 10px; left: 12px; height: 38px; gap: 8px; padding-right: 14px; font-size: 12.5px; }
    .gp-hero-inner .gn-back svg { width: 28px; height: 28px; padding: 6px; }
    body.game-body .gp-hero .gp-hero-inner { padding-top: 56px; }
    .gn-arrow { top: auto; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; background: rgba(8, 12, 20, .68); transform: none; }
    .gn-arrow.is-prev { left: 10px; }
    .gn-arrow.is-next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gn-arrow { animation: none; } }
