/* appindex mobile overrides */
@media (max-width: 768px) {
    .app-nav {
        height: 64px
    }

    .app-nav .container {
        display: flex !important;
        position: relative;
        padding: 0 20px
    }

    .app-brand {
        width: auto;
        min-width: 0;
        height: 64px;
        font-size: 16px
    }

    .app-brand-name {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .app-brand-dropdown {
        min-width: 280px
    }

    .app-nav-toggle {
        width: 36px;
        height: 36px;
        margin-left: 5px;
        /* flex: 0 0 40px; */
        border: 1px solid rgba(var(--app-theme-rgb), .24);
        border-radius: 50%;
        background: rgba(255, 255, 255, .78);
        color: var(--app-theme);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .app-nav-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease
    }

    .app-nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .app-nav-toggle.is-open span:nth-child(2) {
        opacity: 0
    }

    .app-nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    .app-nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        left: auto;
        width: min(280px, calc(100vw - 40px));
        z-index: 1001;
        display: none;
        padding: 8px;
        border: 1px solid rgba(var(--app-theme-rgb), .14);
        border-radius: 14px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .14)
    }

    .app-nav-links.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px
    }

    .app-nav-link {
        justify-content: center;
        padding: 0 12px !important;
        font-size: 13px !important
    }

    .nav-actions {
        width: auto;
        min-width: 0;
        margin-left: 8px;
        gap: 6px
    }

    .nav-actions a.user-login-btn,
    .nav-actions .btn-primary.btn-sm {
        padding: 0 12px !important;
        font-size: 12px !important
    }

    .hero {
        padding: 58px 0 64px
    }

    .hero .row {
        min-height: 0;
        padding-top: 72px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 28px
    }

    .hero-tags {
        gap: 12px;
        margin-bottom: 30px
    }

    .hero-tag {
        padding: 8px 13px;
        font-size: 13px
    }

    #downloadButton {
        width: 190px;
        min-width: 190px
    }

    #backupDownloadButton {
        width: 170px;
        min-width: 170px
    }

    .monitor {
        max-width: 420px
    }

    .monitor-screen {
        height: 244px
    }

    .monitor-logo {
        top: 226px
    }

    .monitor-stand {
        width: 88px;
        height: 20px
    }

    .monitor-base {
        width: 170px
    }

    .notice-banner-text {
        font-size: 14px
    }

    .hero {
        padding: 82px 0 42px
    }

    .hero:before,
    .hero:after,
    .hero-grid,
    .hero-line {
        display: none
    }

    .hero .container {
        padding-left: 18px;
        padding-right: 18px
    }

    .hero .row {
        row-gap: 30px
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.22;
        letter-spacing: .5px;
        margin-bottom: 14px
    }

    .hero-description {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
        color: #5f696e !important
    }

    .hero-tags {
        gap: 8px;
        margin-bottom: 22px
    }

    .hero-tag {
        gap: 6px;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 12px
    }

    .hero-tag svg {
        width: 14px;
        height: 14px
    }

    .download-banner {
        width: 100%;
        margin: 0 auto;
        padding: 16px 14px 10px;
        border: 1px solid rgba(var(--app-theme-rgb), .12);
        border-radius: 20px;
        background: rgba(255, 255, 255, .62);
        box-shadow: 0 14px 34px rgba(var(--app-theme-rgb), .10)
    }

    .monitor {
        max-width: 100%
    }

    .monitor-screen {
        height: auto;
        aspect-ratio: 1.7 / 1;
        padding: 4px;
        border-width: 4px;
        border-radius: 14px 14px 8px 8px
    }

    .monitor-logo {
        top: auto;
        bottom: -14px
    }

    .monitor-stand {
        width: 94px;
        height: 22px
    }

    .monitor-base {
        width: 168px;
        height: 5px
    }

    .app-nav .btn {
        font-size: 12px
    }

    #download {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: none
    }

    #downloadButton,
    #backupDownloadButton {
        width: 100%;
        min-width: 0;
        height: 50px;
        margin: 0 !important;
        padding: 0 18px !important;
        justify-content: center;
        border-radius: 999px !important;
        font-size: 15px !important;
        white-space: nowrap
    }

    .agent-steps {
        display: block
    }

    .agent-step {
        margin-bottom: 18px
    }

    .agent-step-line {
        width: 2px;
        height: 26px;
        margin: 10px auto
    }

    .agent-modal-body {
        padding: 22px 16px
    }

    .p-4 {
        padding: 0 !important;
    }

    .container,
    .hero .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .app-recommend-section,
    .buyer-section>.col-12>.card,
    .buyer-section #intro,
    #comments>.card {
        width: auto !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        overflow: visible !important;
    }

    .pt-5,
    .py-5 {
        padding-top: 1rem !important;
    }

    .card,
    .notice-banner-card,
    .app-recommend-section,
    .buyer-section>.col-12:nth-child(1)>.card,
    .buyer-section>.col-12:nth-child(2)>.card,
    .buyer-section #intro,
    #intro,
    #commentSection,
    #comments>.card {
        background: transparent !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

    .buyer-section>.col-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #recentUsers,
    #recentBuyers {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    #recentUsers .activity-track.recent-static,
    #recentBuyers .activity-track.recent-static {
        display: grid !important;
        grid-auto-flow: row !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-columns: auto !important;
        gap: 10px !important;
        width: 100% !important;
    }

    #recentUsers .activity-track,
    #recentBuyers .activity-track {
        animation: none !important;
        transform: none !important;
    }

    #recentUsers .activity-card,
    #recentBuyers .activity-card {
        width: auto !important;
        min-width: 0 !important;
        background: #fff !important;
        border: 1px solid #edf0f4 !important;
        box-shadow: 0 4px 12px rgba(49, 58, 70, .07) !important;
    }

    #recentUsers .activity-card:nth-child(n+9),
    #recentBuyers .activity-card:nth-child(n+9) {
        display: none !important;
    }

    .buyer-section .activity-controls {
        display: none !important;
    }

    #comments>.card,
    #commentSection {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .comment-actions {
        display: none !important;
    }

    .media-body .d-flex.align-items-center.mb-1>.d-flex {
        flex: 1 !important;
    }

    .media-body .d-flex.align-items-center.mb-1>.d-flex>span.ml-2 {
        margin-left: auto !important;
    }

    .comment-toolbar .emoji-picker,
    .comment-toolbar .comment-image-trigger {
        display: none !important;
    }

    .comment-toolbar {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .comment-input {
        margin-bottom: 0 !important;
    }

    .footer-wechat {
        display: none !important;
    }

    .comment-item {
        border-bottom: 1px solid #c4ccdb !important;
    }

    .user-login-btn {
        padding-left: calc(.5rem + 10px) !important;
        padding-right: calc(.5rem + 10px) !important;
    }

    .comment-action-group {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .comment-qq-input-wrap {
        width: 100% !important;
    }

    .comment-qq-input-wrap .comment-email,
    .comment-email {
        width: 100% !important;
    }

    .comment-submit {
        width: 100% !important;
        height: 40px !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    .comment-reply-action-group {
        flex-wrap: wrap !important;
    }

    .comment-reply-contact {
        width: 100% !important;
    }

    .comment-reply-submit {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 100% !important;
    }

    .app-recommend-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .app-recommend-card {
        background: rgba(255, 255, 255, .72) !important;
        border: 1px solid rgba(15, 23, 42, .10) !important;
        box-shadow: 0 0 6px rgba(15, 23, 42, .09) !important;
    }

    #openAgentModal {
        display: none !important;
    }

    .notice-banner-label {
        display: none !important;
    }

    .notice-banner-card .card-body {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .notice-banner-card .d-flex {
        min-height: 26px;
    }

    .hero {
        padding: 68px 0 38px !important;
    }

    .hero .container {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .hero .row {
        min-height: 0 !important;
        padding-top: 0 !important;
        row-gap: 28px;
    }

    .hero .badge.badge-primary-lighten {
        display: none !important;
    }

    .hero h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
        text-align: center;
        margin-bottom: 16px !important;
        margin-top: 50px;
    }

    .hero p,
    .hero-description {
        margin-bottom: 20px !important;
        color: #5f696e !important
    }

    .hero-tags {
        justify-content: center;
        gap: 24px !important;
        margin-bottom: 22px !important;
    }

    .hero-tags .hero-tag:nth-child(2) {
        display: none !important;
    }

    .download-banner {
        width: 100% !important;
        max-width: none !important;
        padding: 14px 12px 8px !important;
        border: 1px solid rgba(var(--app-theme-rgb), .12) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .68) !important;
        box-shadow: 0 12px 28px rgba(var(--app-theme-rgb), .10) !important;
    }

    #download {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: none !important;
        gap: 12px !important;
    }

    #downloadButton,
    #backupDownloadButton {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 50px !important;
        margin: 0 !important;
        justify-content: center !important;
        border-radius: 999px !important;
    }

    .monitor {
        width: 100% !important;
        max-width: none !important;
    }

    .monitor-screen {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1.72 / 1 !important;
        padding: 4px !important;
        border-width: 4px !important;
        border-radius: 14px 14px 8px 8px !important;
    }

    .monitor-logo {
        top: auto !important;
        bottom: -14px !important;
    }

    .monitor-stand {
        width: 92px !important;
        height: 22px !important;
    }

    .monitor-base {
        width: 165px !important;
        height: 5px !important;
    }
}