/* Independent, top-layer mobile navigation. No legacy header styles apply. */
#MobileMenu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #111;
    color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-family: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
#MobileMenu::backdrop { background: #111; }
#MobileMenu[open] { display: flex; flex-direction: column; animation: menu-enter .25s ease both; }
#MobileMenu .mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: max(20px, env(safe-area-inset-top)) 24px 20px;
}
#MobileMenu .mobile-menu-brand { width: 110px; height: auto; display: block; }
#MobileMenu .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #555;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
#MobileMenu .mobile-menu-close svg { display: block; width: 22px; height: 22px; }
#MobileMenu nav {
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 24px 32px max(40px, env(safe-area-inset-bottom));
}
#MobileMenu .mobile-menu-label { margin: 0 0 22px; font-family: sans-serif; font-size: 11px; letter-spacing: .24em; color: #a8a39b; }
#MobileMenu ul { margin: 0; padding: 0; list-style: none; }
#MobileMenu li { border-bottom: 1px solid #333; }
#MobileMenu a {
    display: block;
    padding: 17px 0;
    color: #fff;
    font-size: clamp(18px, 4.8vw, 23px);
    line-height: 1.5;
    letter-spacing: .12em;
    text-decoration: none;
}
#MobileMenu a[aria-current="page"] { color: #c7aa81; }
#MobileMenu li:last-child { border: 0; margin-top: 32px; }
#MobileMenu li:last-child a {
    padding: 18px 20px;
    border-radius: 8px;
    background: #9f7a46;
    text-align: center;
    font-size: 15px;
}
#MobileMenu a:focus-visible, #MobileMenu button:focus-visible { outline: 1px solid #c7aa81; outline-offset: 5px; }
@keyframes menu-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { #MobileMenu[open] { animation: none; } }
