.gld-pilot[data-gld-area="maps"] .global-main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Keep the existing Gazetteer composition and give it the Digest type. */
.gld-pilot .treasure-hoard-page {
    --sans: var(--gld-type);
    --serif: var(--gld-type);
    font-family: var(--gld-type);
}

.gld-pilot .treasure-hoard-page .intro h1 {
    line-height: 1.06;
}

.gld-pilot .treasure-hoard-page .gld-title-end img,
.gld-pilot #gl-atlas-directory h1 .title-ending img {
    display: inline-block;
    width: auto;
    height: 1em;
    height: 1cap;
    margin-inline-start: .3em;
    vertical-align: baseline;
}

.gld-pilot .gazetteer-signup-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    min-height: 44px;
    padding-inline: 1em;
    border-radius: 4px;
    background: #f9f5e9;
    color: #112938;
    font-weight: 500;
    text-decoration: none;
}

.gld-pilot .gazetteer-signup-link:hover {
    background: #efcb72;
}

.gld-pilot #treasure-digest-signup {
    scroll-margin-top: 1rem;
}

.gld-pilot .gazetteer-signup-email-label {
    display: block;
    width: 100%;
    color: #fff9e9;
    text-align: start;
}

.gld-pilot:is([data-gld-reader="free"], [data-gld-reader="paid"]) .gl-lens-signup {
    display: none;
}

/* The captured Atlas card keeps its local map and journey links. */
.gld-pilot #gl-atlas-directory h1 .title-ending {
    align-items: baseline;
    gap: 0;
}

.gld-pilot #gl-atlas-directory h1 .title-ending img {
    content: url("../gld/compact-white.webp");
}

.gld-pilot #gl-atlas-directory :is(.skip-link, .site-header) {
    display: none;
}

.gld-pilot #gl-atlas-directory {
    --sans: var(--gld-type);
    --serif: var(--gld-type);
    font-family: var(--gld-type);
}

.gld-pilot #gl-atlas-directory :is(h1, h2, h3, p, button, input, select) {
    font-family: var(--gld-type);
}

.gld-pilot[data-gld-area="maps"] .gld-site-footer {
    display: block;
}

/* The public Atlas card stylesheet hides the previous theme footer. */
body:has(#gl-atlas-directory) .gld-pilot .global-content > .gld-site-footer {
    display: block !important;
}
