@media (max-width: 640px) {
    body.pz-mobile-app .pz-account-fab,
    body.pz-mobile-app .pz-account-panel,
    body.pz-mobile-app .pz-roomlist-fab {
        display: none !important;
    }

    body.pz-mobile-app.pz-rooms-ready .mx_SpacePanel,
    body.pz-mobile-app.pz-rooms-ready .mx_Separator {
        display: none !important;
    }

    body.pz-mobile-app.pz-rooms-ready .mx_LeftPanel_panel {
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    body.pz-mobile-app.pz-rooms-ready.pz-tab-list .mx_LeftPanel_panel,
    body.pz-mobile-app.pz-rooms-ready.pz-tab-list div:has(> .mx_LeftPanel_panel) {
        pointer-events: none !important;
    }

    body.pz-mobile-app.pz-rooms-ready.pz-tab-list .mx_LeftPanel {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        width: auto !important;
        max-width: none !important;
        height: 100% !important;
        z-index: 2000 !important;
        overflow: auto !important;
        pointer-events: auto !important;
        padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
    }

    body.pz-mobile-app.pz-rooms-ready.pz-tab-list .mx_RoomView_wrapper {
        display: none !important;
    }

    body.pz-mobile-app.pz-rooms-ready:not(.pz-tab-list) .mx_LeftPanel {
        display: none !important;
    }

    body.pz-mobile-app.pz-rooms-ready:not(.pz-tab-list) .mx_RoomView_wrapper {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        display: flex !important;
        z-index: 8000 !important;
        background: #ffffff !important;
    }

    body.pz-mobile-app.pz-rooms-ready.pz-tab-discover .mx_RoomView_wrapper,
    body.pz-mobile-app.pz-rooms-ready.pz-tab-me .mx_RoomView_wrapper,
    body.pz-mobile-app.pz-rooms-ready.pz-tab-discover .mx_LeftPanel,
    body.pz-mobile-app.pz-rooms-ready.pz-tab-me .mx_LeftPanel {
        display: none !important;
    }

    body.pz-mobile-app .mx_RoomView {
        width: 100% !important;
    }

    body.pz-mobile-app .mx_LeftPanel [data-testid="room-list-search"] {
        order: 0;
        display: flex !important;
        height: auto !important;
        padding: 0 12px 8px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
    }

    body.pz-mobile-app .mx_LeftPanel [data-testid="room-list-search"] > button {
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 40px !important;
        justify-content: flex-start !important;
        padding: 0 12px !important;
        border: 1px solid #e7edf2 !important;
        border-radius: 12px !important;
        background: #f4f7fa !important;
        color: #6b7784 !important;
        box-shadow: none !important;
    }

    body.pz-mobile-app .mx_LeftPanel [data-testid="room-list-search"] kbd,
    body.pz-mobile-app .mx_LeftPanel [data-testid="room-list-search"] [aria-label="浏览房间"] {
        display: none !important;
    }

    body.pz-mobile-app .mx_LeftPanel header[aria-label="房间选项"] {
        order: -1;
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        font-size: 20px !important;
        font-weight: 750 !important;
    }

    body.pz-mobile-app .mx_LeftPanel header[aria-label="房间选项"] h1,
    body.pz-mobile-app .mx_LeftPanel header[aria-label="房间选项"] h2,
    body.pz-mobile-app .mx_LeftPanel header[aria-label="房间选项"] h3 {
        font-size: 20px !important;
        font-weight: 750 !important;
    }

    body.pz-mobile-app .mx_LeftPanel [class*="roomListPrimaryFilters"] {
        display: none !important;
    }

    body.pz-mobile-app .mx_LeftPanel .mx_RoomListPanel {
        width: 100% !important;
    }

    body.pz-mobile-app .mx_RoomListItemView {
        min-height: 64px !important;
        padding: 6px 12px !important;
        box-sizing: border-box !important;
    }

    body.pz-mobile-app .mx_RoomListItemView .mx_BaseAvatar {
        --cpd-avatar-size: 42px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

    body.pz-mobile-app .mx_RoomListItemView [data-testid="room-name"] {
        font-size: 15px !important;
    }

    .pz-bottom-nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3500;
        height: calc(58px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e7edf2;
        box-shadow: 0 -8px 24px rgba(20, 45, 70, 0.06);
    }

    body.pz-mobile-app.pz-rooms-ready .pz-bottom-nav {
        display: flex;
    }

    .pz-bottom-nav button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        padding: 6px 0 4px;
        border: 0;
        background: none;
        color: #84919d;
        font-family: inherit;
        cursor: pointer;
    }

    .pz-bottom-nav button svg {
        width: 22px;
        height: 22px;
    }

    .pz-bottom-nav button span {
        font-size: 10.5px;
        line-height: 1;
        font-weight: 650;
    }

    .pz-bottom-nav button.pz-tab-active {
        color: #168acd;
    }

    body.pz-mobile-app.pz-in-room .pz-bottom-nav,
    body.pz-mobile-app.pz-modal-open .pz-bottom-nav,
    body.pz-mobile-app:has(.mx_Dialog_wrapper) .pz-bottom-nav,
    body.pz-mobile-app:has(.mx_Dialog_background) .pz-bottom-nav {
        display: none !important;
    }

    .pz-room-back {
        display: none;
        position: fixed;
        left: 10px;
        top: 12px;
        z-index: 10000;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(22, 138, 205, 0.14);
        border-radius: 50%;
        background: #ffffff;
        color: #17212b;
        box-shadow: 0 6px 18px rgba(20, 45, 70, 0.16);
        cursor: pointer;
    }

    .pz-room-back svg {
        width: 22px;
        height: 22px;
    }

    body.pz-mobile-app.pz-in-room .pz-room-back {
        display: flex;
    }

    body.pz-mobile-app.pz-modal-open .pz-room-back,
    body.pz-mobile-app:has(.mx_Dialog_wrapper) .pz-room-back,
    body.pz-mobile-app:has(.mx_Dialog_background) .pz-room-back {
        display: none !important;
    }

    body.pz-mobile-app.pz-in-room .mx_RoomHeader {
        padding-left: 58px !important;
    }

    body.pz-mobile-app.pz-in-room .mx_RoomHeader > button.mx_BaseAvatar {
        display: none !important;
    }

    .pz-discover-page,
    .pz-me-page {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: calc(58px + env(safe-area-inset-bottom));
        z-index: 3000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 16px calc(78px + env(safe-area-inset-bottom));
        box-sizing: border-box;
        background: #f4f7fa;
        color: #17212b;
        font-size: 14px;
    }

    body.pz-mobile-app.pz-tab-discover .pz-discover-page,
    body.pz-mobile-app.pz-tab-me .pz-me-page {
        display: block;
    }

    body.pz-mobile-app.pz-modal-open .pz-discover-page,
    body.pz-mobile-app.pz-modal-open .pz-me-page,
    body.pz-mobile-app:has(.mx_Dialog_wrapper) .pz-discover-page,
    body.pz-mobile-app:has(.mx_Dialog_wrapper) .pz-me-page {
        display: none !important;
    }

    .pz-page-head {
        padding: 2px 2px 16px;
    }

    .pz-page-title {
        font-size: 25px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .pz-page-sub {
        margin-top: 6px;
        color: #7c8996;
        font-size: 12px;
    }

    .pz-card {
        background: #ffffff;
        border: 1px solid #e8eef3;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(20, 45, 70, 0.05);
    }

    .pz-discover-list {
        overflow: hidden;
    }

    .pz-discover-row {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 12px;
        padding: 16px;
        border: 0;
        border-bottom: 1px solid #eef3f7;
        background: #ffffff;
        color: #17212b;
        text-align: left;
        font-family: inherit;
        cursor: pointer;
    }

    .pz-discover-row:last-child {
        border-bottom: 0;
    }

    .pz-discover-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: #e9f5fd;
        color: #168acd;
    }

    .pz-discover-icon svg {
        width: 23px;
        height: 23px;
    }

    .pz-discover-meta {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        gap: 3px;
    }

    .pz-discover-meta strong {
        font-size: 15px;
        font-weight: 700;
    }

    .pz-discover-meta small {
        color: #84919d;
        font-size: 11.5px;
    }

    .pz-chevron {
        flex: 0 0 auto;
        color: #a9b4be;
        font-size: 22px;
        line-height: 1;
    }

    .pz-me-hero {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 20px;
        border-radius: 20px;
        background: linear-gradient(135deg, #168acd 0%, #0d6499 100%);
        color: #ffffff;
        box-shadow: 0 14px 30px rgba(17, 103, 155, 0.22);
    }

    .pz-me-avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 58px;
        height: 58px;
        overflow: hidden;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.28);
        font-size: 25px;
        font-weight: 800;
    }

    .pz-me-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pz-me-profile {
        min-width: 0;
    }

    .pz-me-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 19px;
        font-weight: 750;
    }

    .pz-me-uid {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 11px;
    }

    .pz-me-section {
        margin-top: 14px;
        padding: 14px;
    }

    .pz-section-title {
        margin: 0 2px 9px;
        color: #7c8996;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .pz-me-accounts {
        display: flex;
        flex-direction: column;
    }

    .pz-me-account {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 10px;
        padding: 9px 2px;
        border: 0;
        border-bottom: 1px solid #f0f4f7;
        background: none;
        color: #17212b;
        text-align: left;
        font-family: inherit;
        cursor: pointer;
    }

    .pz-me-account:last-child {
        border-bottom: 0;
    }

    .pz-me-account-avatar {
        display: flex;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        border-radius: 13px;
        background: #eef3f7;
        color: #168acd;
        font-size: 16px;
        font-weight: 800;
    }

    .pz-me-account-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pz-me-account-meta {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        gap: 2px;
    }

    .pz-me-account-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        font-weight: 650;
    }

    .pz-me-account-id {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #8a97a2;
        font-size: 10.5px;
    }

    .pz-me-current {
        flex: 0 0 auto;
        padding: 3px 8px;
        border-radius: 999px;
        background: #e9f5fd;
        color: #168acd;
        font-size: 10px;
        font-weight: 700;
    }

    .pz-me-add {
        width: 100%;
        margin-top: 10px;
        padding: 11px;
        border: 1px dashed #b9d9ee;
        border-radius: 12px;
        background: #f7fbfe;
        color: #168acd;
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .pz-me-menu {
        padding: 0;
        overflow: hidden;
    }

    .pz-me-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px;
        border: 0;
        border-bottom: 1px solid #eef3f7;
        background: #ffffff;
        color: #17212b;
        text-align: left;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .pz-me-about {
        padding: 16px;
        color: #84919d;
        font-size: 12px;
    }

    .pz-me-version {
        margin-top: 4px;
        color: #a5b0ba;
        font-size: 10.5px;
    }

    .pz-mobile-toast {
        position: fixed;
        left: 50%;
        bottom: calc(80px + env(safe-area-inset-bottom));
        z-index: 12000;
        transform: translateX(-50%);
        max-width: calc(100vw - 40px);
        padding: 10px 16px;
        border-radius: 999px;
        background: rgba(23, 33, 43, 0.92);
        color: #ffffff;
        font-size: 12px;
        white-space: nowrap;
    }
}


@media (max-width: 640px) {
    body.pz-mobile-app .mx_UserSettingsDialog {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.pz-mobile-app .mx_SettingsTab {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 0 40px 0 !important;
        box-sizing: border-box !important;
    }

    body.pz-mobile-app .mx_SettingsTab_sections,
    body.pz-mobile-app .mx_SettingsSection,
    body.pz-mobile-app .mx_SettingsSubsection,
    body.pz-mobile-app .mx_SettingsSubsection_content,
    body.pz-mobile-app .mx_UserProfileSettings {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.pz-mobile-app .mx_UserProfileSettings_profile {
        flex-wrap: wrap !important;
        min-width: 0 !important;
    }

    body.pz-mobile-app .mx_UserProfileSettings_profile_avatar,
    body.pz-mobile-app .mx_UserProfileSettings_profile_avatar .mx_BaseAvatar {
        width: 84px !important;
        height: 84px !important;
    }

    body.pz-mobile-app .mx_UserProfileSettings_profile_nameAndStatus,
    body.pz-mobile-app .mx_UserProfileSettings_profile_displayName {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.pz-mobile-app .mx_CopyableText {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-all !important;
        overflow: auto !important;
    }

    .pz-directory-close {
        display: none;
        position: fixed;
        right: 12px;
        top: 12px;
        z-index: 10001;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(22, 138, 205, 0.14);
        border-radius: 50%;
        background: #ffffff;
        color: #17212b;
        box-shadow: 0 6px 18px rgba(20, 45, 70, 0.16);
        cursor: pointer;
    }

    .pz-directory-close svg {
        width: 20px;
        height: 20px;
    }

    body.pz-mobile-app.pz-directory-open.pz-modal-open .pz-directory-close,
    body.pz-mobile-app.pz-directory-open:has(.mx_Dialog_wrapper) .pz-directory-close {
        display: flex;
    }
}


@media (max-width: 640px) {
    .pz-settings-page {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: calc(58px + env(safe-area-inset-bottom));
        z-index: 3200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        background: #f4f7fa;
        color: #17212b;
    }

    body.pz-mobile-app.pz-settings-open .pz-settings-page {
        display: block;
    }

    body.pz-mobile-app.pz-settings-open .pz-me-page {
        display: none !important;
    }

    body.pz-mobile-app.pz-modal-open .pz-settings-page,
    body.pz-mobile-app:has(.mx_Dialog_wrapper) .pz-settings-page {
        display: none !important;
    }

    .pz-settings-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        height: 56px;
        padding: 0 8px 0 4px;
        box-sizing: border-box;
        background: rgba(244, 247, 250, 0.96);
        backdrop-filter: blur(12px);
    }

    .pz-settings-back {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #17212b;
        cursor: pointer;
    }

    .pz-settings-back svg {
        width: 24px;
        height: 24px;
    }

    .pz-settings-title {
        flex: 1;
        font-size: 20px;
        font-weight: 750;
        letter-spacing: -0.01em;
    }

    .pz-settings-head-spacer {
        flex: 0 0 38px;
    }

    .pz-settings-scroll {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 4px 16px calc(80px + env(safe-area-inset-bottom));
        box-sizing: border-box;
    }

    .pz-settings-profile-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 18px;
        border-radius: 20px;
        background: linear-gradient(135deg, #168acd 0%, #0d6499 100%);
        color: #ffffff;
        box-shadow: 0 14px 30px rgba(17, 103, 155, 0.2);
    }

    .pz-settings-avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 60px;
        height: 60px;
        overflow: hidden;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.28);
        font-size: 26px;
        font-weight: 800;
    }

    .pz-settings-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pz-settings-profile-meta {
        flex: 1;
        min-width: 0;
    }

    .pz-settings-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 19px;
        font-weight: 750;
    }

    .pz-settings-uid {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 11px;
    }

    .pz-settings-avatar-edit {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        padding: 8px 11px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.24);
        color: #ffffff;
        font-size: 11px;
        font-weight: 650;
        cursor: pointer;
    }

    .pz-settings-card {
        margin-top: 14px;
        padding: 15px;
        box-sizing: border-box;
    }

    .pz-settings-label {
        display: block;
        margin: 2px 2px 7px;
        color: #657482;
        font-size: 11px;
        font-weight: 650;
    }

    .pz-settings-input {
        display: block;
        width: 100%;
        height: 46px;
        padding: 0 13px;
        box-sizing: border-box;
        border: 1px solid #dfe8ef;
        border-radius: 12px;
        background: #f8fafc;
        color: #17212b;
        font-family: inherit;
        font-size: 16px;
        outline: none;
    }

    .pz-settings-input:focus {
        border-color: #168acd;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(22, 138, 205, 0.1);
    }

    .pz-settings-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        margin-top: 10px;
        padding: 0 18px;
        border: 0;
        border-radius: 12px;
        background: #168acd;
        color: #ffffff;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .pz-settings-button.secondary {
        background: #eef3f7;
        color: #53616d;
    }

    .pz-settings-button.danger {
        background: #d83b3b;
        color: #ffffff;
    }

    .pz-settings-msg {
        min-height: 16px;
        margin-top: 7px;
        color: #7b8792;
        font-size: 11px;
    }

    .pz-settings-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 42px;
        border-bottom: 1px solid #f0f4f7;
        font-size: 13px;
    }

    .pz-settings-row:last-child {
        border-bottom: 0;
    }

    .pz-settings-row > span:first-child {
        flex: 0 0 auto;
        color: #657482;
    }

    .pz-settings-value {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        color: #17212b;
        font-size: 12px;
    }

    .pz-settings-ok {
        color: #138a5b;
        font-size: 12px;
        font-weight: 700;
    }

    .pz-settings-note {
        margin-top: 9px;
        color: #8a97a2;
        font-size: 11px;
        line-height: 1.6;
    }

    .pz-settings-pill {
        flex: 0 0 auto;
        min-width: 62px;
        height: 30px;
        padding: 0 12px;
        border: 1px solid #cfe6f5;
        border-radius: 999px;
        background: #eef8ff;
        color: #168acd;
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
    }

    .pz-settings-pill:disabled {
        border-color: #e7edf2;
        background: #f4f7fa;
        color: #98a4ae;
        cursor: default;
    }

    .pz-settings-logout {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        margin-top: 16px;
        border: 1px solid #f1d5d5;
        border-radius: 14px;
        background: #fff7f7;
        color: #d83b3b;
        font-family: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .pz-settings-confirm {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid #f1d5d5;
        border-radius: 14px;
        background: #fff7f7;
        color: #8d2f2f;
        font-size: 13px;
    }

    .pz-settings-confirm-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 10px;
    }

    .pz-settings-confirm-actions .pz-settings-button {
        margin-top: 0;
    }
}


@media (max-width: 640px) {
    .pz-settings-full-card {
        padding: 4px 15px;
    }

    .pz-settings-link {
        width: 100%;
        padding: 12px 0 !important;
        border: 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        text-align: left;
        cursor: pointer;
    }

    .pz-settings-link .pz-settings-value {
        flex: 1 1 auto;
        white-space: normal;
        text-align: right;
        line-height: 1.45;
        font-size: 10.5px;
        color: #98a4ae;
    }

    .pz-settings-link .pz-chevron {
        flex: 0 0 auto;
        margin-left: 4px;
    }

    body.pz-mobile-app.pz-native-settings .pz-settings-page {
        display: none !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_Dialog_background {
        display: none !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_Dialog_wrapper {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: calc(58px + env(safe-area-inset-bottom)) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        max-height: none !important;
        padding: 0 !important;
        z-index: 3400 !important;
        display: flex !important;
        align-items: stretch !important;
        background: #f4f7fa !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_Dialog_border {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #f4f7fa !important;
        box-shadow: none !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_Dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_UserSettingsDialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        overflow: auto !important;
        border-radius: 0 !important;
        background: #f4f7fa !important;
    }

    body.pz-mobile-app.pz-native-settings .mx_UserSettingsDialog .mx_SettingsTab {
        padding-bottom: 40px !important;
    }

    body.pz-mobile-app.pz-native-settings .pz-bottom-nav {
        display: flex !important;
        z-index: 3500 !important;
    }
}
