.mobile-menu-button,
.sidebar-close,
.sidebar-mask {
    display: none;
}

/* 短信弹窗不暗化列表背景，点击短信内容之外的区域即可关闭。 */
.verification-modal {
    background: transparent !important;
}
.verification-dialog h2,
.verification-dialog .btn {
    display: none;
}
.verification-dialog pre {
    margin: 0;
    min-height: 0;
    max-width: min(520px, calc(100vw - 20px));
    max-height: 60vh;
    overflow: auto;
    border: 0;
    background: #fff;
    padding: 12px 14px;
    box-shadow: 0 10px 30px #0003;
}
.verification-dialog {
    width: auto;
    max-width: calc(100vw - 20px);
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 800px) {
    .sidebar .brand {
        font-size: 21px;
    }
    .sidebar .nav a {
        font-size: 18px;
        padding: 12px;
    }
    .sidebar {
        display: block;
        position: fixed;
        z-index: 1200;
        top: 0;
        bottom: 0;
        left: 0;
        width: 260px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .2s ease;
        box-shadow: 8px 0 30px #0003;
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 12px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }
    .sidebar-mask {
        position: fixed;
        z-index: 1100;
        inset: 0;
        background: #0f172a80;
    }
    .sidebar-mask.open { display: block; }
    .layout .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        border: 0;
        border-radius: 8px;
        padding: 9px 12px;
        margin-bottom: 12px;
        background: var(--nav);
        color: #fff;
        font-size: 15px;
        cursor: pointer;
    }
    .topbar { align-items: flex-start; gap: 10px; }
    .topbar h1 { margin-top: 0; }
    .site-badge { padding: 8px; max-width: 130px; }
    table { font-size: 13px; }
}
