/* Site-Wide Responsive Layout */
/*
 * This file is now reserved for overall page layout only.
 * Character-card breakpoint tuning lives in css/characters/characters-responsive.css.
 */

/* Width Breakpoints */
@media (max-width: 900px), (max-aspect-ratio: 15/18) {
    .main-layout {
        flex-direction: column;
        height: 100vh;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 70vw;
        min-width: 180px;
        max-width: 100%;
        z-index: 2000;
        transition: left 0.3s;
        box-shadow: 2px 0 16px 0 rgba(0, 200, 255, 0.08);
        background: rgb(0 30 60 / 76%);
    }

    .menu.open {
        left: 0;
        width: 100vh;
    }

    .content-wrapper {
        flex: 1;
        min-width: 0;
        width: 100vw;
    }

    .menu-toggle-btn {
        display: inline-flex !important;
        position: fixed;
        top: 45%;
        left: clamp(0.5rem, 1.6vw, 1rem);
        transform: translateY(-50%);
        z-index: 2100;
        align-items: center;
        justify-content: center;
        min-width: 4.8rem;
        min-height: 3.25rem;
        background: rgba(0, 51, 102, 0.78);
        color: #00f0ff;
        border: 2px solid #00a0ff;
        border-radius: 6px;
        padding: 0.7rem 0.85rem;
        font-size: 0.92rem;
        line-height: 1.1;
        cursor: pointer;
        box-shadow: 0 0 8px #00c8ff55;
    }
}

@media (max-width: 600px), (max-aspect-ratio: 15/18) {
    .menu {
        width: 100vw;
        min-width: 0;
        padding: 24px 10px 10px 10px;
    }

    .menu.open {
        width: 100vw;
    }
}
