﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Navbar logo (was an inline style in the old layouts). */
.brand-logo {
    background-color: #dddddd;
    border-radius: 25px 25px 5px 5px;
}

/* Small screens: use the full width (replaces the old layout script that removed the panel padding below 700px). */
@media (max-width: 699.98px) {
    #body.container-fluid {
        padding-left: 4px;
        padding-right: 4px;
    }

    #gameGrid.card-body {
        padding: 0;
    }
}

/* ===== MyGame: one-tap "I'm in / I'm out" for players on phones ===== */
.mygame {
    max-width: 32rem;
    margin: 0 auto;
}

    .mygame .btn-answer {
        font-size: 1.5rem;
        padding: 1.25rem 1rem;
        min-height: 4.5rem; /* large touch target */
    }

    .mygame .status {
        font-size: 1.25rem;
    }

/* ===== Navigation bar ===== */
/* "New" marker next to recently added menu items (remove the badge in the layouts once they are no longer new). */
.badge-new {
    font-size: .65em;
    vertical-align: .15em;
    margin-left: .25rem;
}

/* DEV label next to the logo when the site runs on localhost (the navigation bar is light there, dark in production). */
.badge-env {
    font-size: .7rem;
    letter-spacing: .08em;
}

/* Admin > Documentation: the README files. */
.documentation { max-width: 60rem; }
.documentation h1 { font-size: 1.6rem; }
.documentation h2 { font-size: 1.35rem; margin-top: 1.75rem; padding-bottom: .25rem; border-bottom: 1px solid var(--bs-border-color); }
.documentation h3 { font-size: 1.15rem; margin-top: 1.25rem; }
.documentation table { width: auto; font-size: .9rem; }
.documentation pre { background: var(--bs-tertiary-bg); padding: .75rem; border-radius: .375rem; font-size: .85rem; }
.documentation code { word-break: break-word; }

/* Admin > Errors. */
.error-log-item summary { cursor: pointer; }
.error-log-details { background: var(--bs-tertiary-bg); padding: .75rem; border-radius: .375rem; font-size: .8rem; white-space: pre-wrap; word-break: break-word; max-height: 30rem; overflow: auto; }
