/* A shared, normal-flow footer: the content grows on short pages. */
html body.realm-game-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
}
html body.realm-game-layout > .realm-layout-content {
    flex: 1 0 auto;
    min-width: 0;
}
html body.realm-game-layout > footer.realm-game-footer {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 24px 16px;
    border-top: 1px solid rgba(199, 165, 107, .3);
    background: #181b27;
    color: #c7a56b;
    font: 14px/1.6 Arial, sans-serif;
    text-align: center;
}
html body .realm-game-footer .realm-game-footer-brand {
    margin: 0;
    color: #c7a56b;
    font: inherit;
}
/* Navigation belongs to page content, outside the shared footer. */
html body .realm-page-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 20px;
    margin: 24px 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: 14px/1.6 Arial, sans-serif;
}
html body .realm-page-navigation a {
    color: #c7a56b;
    text-decoration: none;
    overflow-wrap: anywhere;
}
html body .realm-page-navigation a:hover {
    color: #f0d39a;
    text-decoration: underline;
}
html body .realm-page-navigation a:focus-visible {
    outline: 2px solid #c7a56b;
    outline-offset: 4px;
    border-radius: 2px;
}
