.tt-mobile-bottom-nav {
    display: none;
}

.tt-home-notice-compact,
.tt-notice-dialog {
    display: none;
}

.tt-message-center {
    max-width: 960px;
    padding-top: 32px;
    padding-bottom: 48px;
}

.tt-message-center__header,
.tt-message-card {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.tt-message-center__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    margin-bottom: 16px;
}

.tt-message-center__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #7067e8, #8b7cf6);
}

.tt-message-center__header h1 {
    margin: 0 0 5px;
    font-size: 24px;
}

.tt-message-center__header p,
.tt-message-card__body > :last-child {
    margin-bottom: 0;
}

.tt-message-center__header p {
    color: #64748b;
}

.tt-message-card {
    padding: 22px;
}

.tt-message-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #edf0f5;
}

.tt-message-card__type {
    font-size: 16px;
    font-weight: 700;
}

.tt-message-card__status {
    color: #16a34a;
    font-size: 13px;
}

.tt-message-card__body {
    color: #334155;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.tt-message-card__body img,
.tt-message-card__body video,
.tt-message-card__body iframe {
    max-width: 100%;
}

.tt-message-card__empty {
    color: #94a3b8;
}

@media (max-width: 767.98px) {
    .tt-customer-service-float {
        display: none !important;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .tt-mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2147482000;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: calc(62px + env(safe-area-inset-bottom, 0px));
        padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(148, 163, 184, .24);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
    }

    .tt-mobile-bottom-nav a {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        border-radius: 8px;
        color: #667085;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .tt-mobile-bottom-nav a > i,
    .tt-mobile-bottom-nav__icon > i {
        font-size: 20px;
        line-height: 1;
    }

    .tt-mobile-bottom-nav a.is-active {
        color: #7067e8;
        background: rgba(112, 103, 232, .09);
    }

    .tt-mobile-bottom-nav__icon {
        position: relative;
        display: inline-flex;
    }

    .tt-mobile-bottom-nav__badge {
        position: absolute;
        top: -4px;
        right: -7px;
        width: 8px;
        height: 8px;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #ef4444;
    }

    .taotao-pwa-panel {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .tt-store-home {
        padding-top: 10px !important;
        padding-bottom: 12px !important;
    }

    .tt-home-notice-full {
        display: none;
    }

    .tt-home-notice-compact {
        display: flex;
        min-height: 54px;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        color: #1f2937;
        text-decoration: none;
    }

    .tt-home-notice-compact:hover,
    .tt-home-notice-compact:focus {
        color: #1f2937;
        text-decoration: none;
    }

    .tt-home-notice-icon {
        display: inline-flex;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        color: #7067e8;
        background: rgba(112, 103, 232, .1);
    }

    .tt-home-notice-copy {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        gap: 2px;
    }

    .tt-home-notice-copy strong {
        font-size: 14px;
    }

    .tt-home-notice-copy small {
        overflow: hidden;
        color: #7c8494;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tt-home-notice-more {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        flex: 0 0 auto;
        color: #7067e8;
        font-size: 12px;
        font-weight: 700;
    }

    .tt-store-home .panel + .panel {
        margin-top: 10px;
    }

    .tt-store-home .tt-purchase-panel .panel-header {
        padding: 11px 13px;
        margin-bottom: 8px;
    }

    .tt-store-home .tt-purchase-panel .panel-title {
        font-size: 16px;
    }

    .tt-store-home .tt-category-area {
        margin-bottom: 8px !important;
    }

    .tt-store-home .chip-list,
    .tt-store-home .category-children {
        gap: 5px;
    }

    .tt-store-home .chip-list {
        padding: 0 0 2px;
    }

    .tt-store-home .category-children {
        padding: 1px 0 5px 8px;
    }

    .tt-store-home .chip {
        min-height: 30px;
        padding: 4px 7px;
        font-size: 12px;
        line-height: 1.1;
    }

    .tt-store-home .chip.category-parent {
        min-width: 0;
    }

    .tt-store-home .chip.category-child {
        margin-left: 4px;
    }

    .tt-store-home .chip .chip-icon {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }

    .tt-store-home .chip-name {
        max-width: 160px;
        overflow: visible;
        line-height: 1.12;
        text-overflow: clip;
        white-space: normal;
    }

    .tt-store-home .chip-count {
        font-size: 9px;
    }

    .tt-store-home .chip-arrow {
        width: 12px;
        height: 12px;
        margin-left: 4px;
        font-size: 9px;
    }

    .tt-notice-dialog[hidden] {
        display: none !important;
    }

    .tt-notice-dialog {
        position: fixed;
        inset: 0;
        z-index: 2147482500;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 18px calc(82px + env(safe-area-inset-bottom, 0px));
    }

    .tt-notice-dialog__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(15, 23, 42, .52);
    }

    .tt-notice-dialog__panel {
        position: relative;
        width: min(100%, 430px);
        max-height: min(72vh, 620px);
        overflow: hidden;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    }

    .tt-notice-dialog__header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px 16px 12px;
        border-bottom: 1px solid #edf0f5;
    }

    .tt-notice-dialog__icon {
        display: inline-flex;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        color: #fff;
        background: linear-gradient(135deg, #7067e8, #8b7cf6);
    }

    .tt-notice-dialog__header > div {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
    }

    .tt-notice-dialog__header strong {
        font-size: 16px;
    }

    .tt-notice-dialog__header small {
        color: #8a93a3;
        font-size: 11px;
    }

    .tt-notice-dialog__close {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        color: #64748b;
        background: #f5f6f8;
        font-size: 24px;
    }

    .tt-notice-dialog__body {
        max-height: calc(min(72vh, 620px) - 132px);
        padding: 15px 16px;
        overflow: auto;
        color: #334155;
        font-size: 14px;
        line-height: 1.7;
        overflow-wrap: anywhere;
        -webkit-overflow-scrolling: touch;
    }

    .tt-notice-dialog__body img,
    .tt-notice-dialog__body video,
    .tt-notice-dialog__body iframe {
        max-width: 100%;
    }

    .tt-notice-dialog__actions {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 8px;
        padding: 11px 16px 14px;
        border-top: 1px solid #edf0f5;
        background: #fff;
    }

    .tt-notice-dialog__actions button,
    .tt-notice-dialog__actions a {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .tt-notice-dialog__later {
        color: #667085;
        background: #f3f4f6;
    }

    .tt-notice-dialog__actions a {
        color: #fff;
        background: #7067e8;
    }

    .tt-message-center {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .tt-message-center__header {
        gap: 10px;
        padding: 14px;
        margin-bottom: 10px;
    }

    .tt-message-center__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .tt-message-center__header h1 {
        margin-bottom: 3px;
        font-size: 18px;
    }

    .tt-message-center__header p {
        font-size: 12px;
    }

    .tt-message-card {
        padding: 15px;
    }

    .tt-message-card__meta {
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .tt-message-card__type {
        font-size: 15px;
    }

    .tt-message-card__body {
        font-size: 14px;
    }
}

@media (max-width: 359.98px) {
    .tt-mobile-bottom-nav {
        padding-right: 4px;
        padding-left: 4px;
    }

    .tt-mobile-bottom-nav a {
        font-size: 9px;
    }

    .tt-store-home .chip {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 11px;
    }
}
