/* Shared: reset, body defaults, hamburger menu. Loaded on every page. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a2e;
    color: #eee;
    min-height: 100dvh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.menu {
    position: fixed;
    top: 0.4rem;
    right: 0.6rem;
    z-index: 100;
}

.menu-btn {
    background: transparent;
    border: none;
    color: #eee;
    font-size: 2.6rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    line-height: 1;
    font-family: inherit;
}

.menu-btn:hover {
    color: #93c5fd;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #25253d;
    border: 1px solid #444;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-top: 0.3rem;
}

.menu-dropdown.open {
    display: block;
}

.menu-dropdown a {
    display: block;
    padding: 0.8rem 1rem;
    color: #eee;
    text-decoration: none;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.menu-dropdown a:hover {
    background: #333356;
    color: #93c5fd;
}
