html.seo-page,
.seo-page body {
    height: auto;
    min-height: 100%;
    overflow: auto;
    scrollbar-width: auto;
}
.seo-page #home {
    position: relative;
    height: auto;
    opacity: 1;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(2rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
}
.seo-page:has(#popup-backdrop.visible),
.seo-page:has(#popup-backdrop.visible) body {
    overflow: hidden;
}
.seo-page #cobalt-main-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 46rem;
    margin: 0 auto;
}
.seo-page #logo {
    margin: 1rem 0;
}
.seo-intro,
.seo-navigation,
.seo-breadcrumb {
    width: 100%;
}
.seo-navigation {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
}
.seo-breadcrumb {
    margin-top: 1.5rem;
    font-size: 0.8rem;
}
.seo-intro {
    margin-bottom: 1.5rem;
    text-align: center;
}
.seo-intro h1 {
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    line-height: 1.3;
    margin: 1.25rem 0 0.75rem;
    text-wrap: balance;
}
.seo-intro p,
.seo-content,
.seo-related {
    line-height: 1.8;
    user-select: text;
    -webkit-user-select: text;
    overflow-wrap: anywhere;
}
.seo-page #footer {
    position: static;
    padding: 1.5rem 0;
}
.seo-content,
.seo-related {
    max-width: 46rem;
    margin: 2rem auto 0;
}
.seo-content h2,
.seo-related h2 {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 2rem 0 0.75rem;
}
.seo-content h3 {
    font-size: 1.05rem;
}
.seo-content li,
.seo-related li {
    margin-bottom: 0.75rem;
}
.seo-content code {
    font-size: 0.9em;
}
.seo-page main a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.seo-page #url-input-area {
    min-width: 0;
}
@media (max-width: 535px) {
    .seo-page #cobalt-main-box #bottom {
        flex-wrap: wrap;
    }
    .seo-page #footer-buttons {
        width: auto;
        flex-direction: row;
    }
}
