:root {
    --pma-bg: #f4f6fb;
    --pma-surface: #fff;
    --pma-soft: #f7f8ff;
    --pma-line: #e9ecf7;
    --pma-text: #20243d;
    --pma-muted: #7980a6;
    --pma-faint: #a5abc7;
    --pma-blue: #3957ff;
    --pma-blue-2: #6677ff;
    --pma-cyan: #16b4ad;
    --pma-orange: #ff9d3b;
    --pma-red: #ff615c;
    --pma-radius: 14px;
    --pma-card-radius: 14px;
    --pma-shadow: 0 14px 34px rgba(46, 55, 112, .12);
    --pma-soft-shadow: 0 8px 24px rgba(53, 60, 128, .08);
}

.pixpro-mobile-ui {
    display: none;
}

.pma-mobile-template {
    background:
        radial-gradient(circle at 12% 0, rgba(57, 87, 255, .12), transparent 32%),
        radial-gradient(circle at 96% 14%, rgba(22, 180, 173, .12), transparent 30%),
        var(--pma-bg) !important;
    color: var(--pma-text);
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

body.pma-mobile-template * {
    box-sizing: border-box;
}

body.pma-mobile-template {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.pma-mobile-template a {
    color: inherit;
    text-decoration: none;
}

body.pma-mobile-template img {
    max-width: 100%;
}

body.pma-mobile-template .pma-appbar img,
body.pma-mobile-template .pma-drawer img,
body.pma-mobile-template .pma-tabs img,
body.pma-mobile-template .pma-moment-user img,
body.pma-mobile-template .pma-post-meta img {
    max-width: 24px !important;
    max-height: 24px !important;
}

body.pma-mobile-template .pma-content img,
body.pma-mobile-template .pma-article-card img {
    max-width: 100% !important;
    height: auto !important;
}

body.pma-mobile-template ul,
body.pma-mobile-template ol {
    margin: 0;
    padding: 0;
}

body.pma-mobile-template li {
    list-style: none;
}

body.pma-mobile-template button,
body.pma-mobile-template input,
body.pma-mobile-template textarea {
    font: inherit;
}

body.pma-mobile-template .pixpro-mobile-ui {
    display: none !important;
}

body.pma-mobile-template .pma-app {
    min-height: 100vh;
}

body.pma-mobile-template .pma-appbar {
    position: sticky;
    top: 0;
    z-index: 9998;
    min-height: calc(66px + env(safe-area-inset-top));
    padding: calc(12px + env(safe-area-inset-top)) 14px 10px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(231, 235, 248, .9);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
}

body.pma-mobile-template .pma-appbar.is-scrolled {
    box-shadow: 0 12px 30px rgba(42, 50, 103, .12);
}

body.pma-mobile-template .pma-icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f4fb;
    color: #2f3556;
    font-size: 21px;
    padding: 0;
}

body.pma-mobile-template .pma-brand {
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    color: var(--pma-text);
    font-size: 18px;
    font-weight: 800;
    overflow: hidden;
}

body.pma-mobile-template .pma-brand img {
    max-width: 154px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body.pma-mobile-template .pma-appbar img,
body.pma-mobile-template .pma-drawer img,
body.pma-mobile-template .pma-tabs img,
body.pma-mobile-template .pma-post-meta img,
body.pma-mobile-template .pma-moment-user img,
body.pma-mobile-template .pma-drawer svg,
body.pma-mobile-template .pma-tabs svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    flex: 0 0 auto;
}

body.pma-mobile-template .pma-brand img {
    width: auto !important;
    height: auto !important;
    max-width: 154px !important;
    max-height: 40px !important;
}

body.pma-mobile-template .pma-main {
    padding: 12px 12px 0;
}

body.pma-mobile-template .pma-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
}

body.pma-mobile-template .pma-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

body.pma-mobile-template .pma-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(24, 28, 48, .34);
    opacity: 0;
    transition: opacity .22s ease;
}

body.pma-mobile-template .pma-drawer.is-open .pma-drawer-backdrop {
    opacity: 1;
}

body.pma-mobile-template .pma-drawer-panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(84vw, 340px);
    padding: calc(18px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #fff 0, #fbfcff 100%);
    box-shadow: 24px 0 60px rgba(38, 44, 82, .2);
    transform: translateX(-105%);
    transition: transform .24s ease;
    overflow-y: auto;
}

body.pma-mobile-template .pma-drawer.is-open .pma-drawer-panel {
    transform: translateX(0);
}

body.pma-mobile-template .pma-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

body.pma-mobile-template .pma-drawer-menu .pixpro-mobile-menu-list,
body.pma-mobile-template .pma-drawer-menu .pixpro-mobile-menu-list ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

body.pma-mobile-template .pma-drawer-menu li {
    list-style: none;
}

body.pma-mobile-template .pma-drawer-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 12px;
    color: #39405f;
    background: #f3f5fc;
    font-size: 15px;
    font-weight: 600;
}

body.pma-mobile-template .pma-hero,
body.pma-mobile-template .pma-page-head,
body.pma-mobile-template .pma-card,
body.pma-mobile-template .pma-article-card,
body.pma-mobile-template .comments-area {
    border: 1px solid rgba(232, 235, 248, .86);
    border-radius: var(--pma-card-radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--pma-soft-shadow);
    overflow: hidden;
}

body.pma-mobile-template .pma-hero {
    position: relative;
    height: 180px;
    margin-bottom: 12px;
    isolation: isolate;
}

body.pma-mobile-template .pma-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.pma-mobile-template .pma-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(25, 30, 64, .08), rgba(23, 29, 63, .5));
}

body.pma-mobile-template .pma-hero-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

body.pma-mobile-template .pma-hero-avatar {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .72);
}

body.pma-mobile-template .pma-hero h1 {
    margin: 0 0 5px;
    font-size: 20px;
    line-height: 1.2;
}

body.pma-mobile-template .pma-hero p {
    max-width: 220px;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-page-head {
    padding: 18px;
    margin-bottom: 12px;
}

body.pma-mobile-template .pma-page-head h1 {
    margin: 0;
    font-size: 23px;
}

body.pma-mobile-template .pma-feed {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-post-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 132px;
}

body.pma-mobile-template .pma-post-card.pma-no-thumb {
    display: block;
    min-height: 0;
}

body.pma-mobile-template .pma-post-thumb {
    display: block;
    min-height: 132px;
}

body.pma-mobile-template .pma-post-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.pma-mobile-template .pma-post-body {
    min-width: 0;
    padding: 13px;
}

body.pma-mobile-template .pma-no-thumb .pma-post-body {
    padding: 14px;
}

body.pma-mobile-template .pma-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #242943;
    font-size: 16px;
    line-height: 1.36;
    font-weight: 800;
}

body.pma-mobile-template .pma-post-meta {
    display: flex;
    gap: 10px;
    margin: 7px 0;
    color: var(--pma-muted);
    font-size: 12px;
}

body.pma-mobile-template .pma-post-body p {
    margin: 0;
    color: #626c8d;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.pma-mobile-template .pma-moment-card {
    padding: 14px;
}

body.pma-mobile-template .pma-moment-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.pma-mobile-template .pma-moment-head img {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 13px;
    object-fit: cover;
}

body.pma-mobile-template .pma-moment-user {
    min-width: 0;
}

body.pma-mobile-template .pma-moment-user > div {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #28315f;
    font-weight: 800;
}

body.pma-mobile-template .pma-moment-user time {
    color: var(--pma-muted);
    font-size: 12px;
}

body.pma-mobile-template .pma-moment-title {
    display: block;
    margin-top: 12px;
    color: #202846;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
}

body.pma-mobile-template .pma-moment-text {
    margin-top: 8px;
    color: #30344c;
    font-size: 15px;
    line-height: 1.72;
}

body.pma-mobile-template .pma-moment-text p {
    margin: 0;
}

body.pma-mobile-template .pma-moment-media {
    margin-top: 12px;
}

body.pma-mobile-template .pma-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

body.pma-mobile-template .pma-gallery.is-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 260px;
}

body.pma-mobile-template .pma-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2ff;
}

body.pma-mobile-template .pma-gallery.is-single .pma-gallery-item {
    aspect-ratio: 4 / 3;
}

body.pma-mobile-template .pma-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;
    object-fit: cover;
}

body.pma-mobile-template .pma-gallery-item span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 28, 48, .48);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

body.pma-mobile-template .pma-link-card,
body.pma-mobile-template .pma-file-card {
    min-width: 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e8ebfb;
    border-radius: 14px;
    background: #f8faff;
}

body.pma-mobile-template .pma-link-card img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    flex: 0 0 58px;
    border-radius: 12px;
    object-fit: cover;
}

body.pma-mobile-template .pma-link-card span,
body.pma-mobile-template .pma-file-card span {
    min-width: 0;
    flex: 1;
}

body.pma-mobile-template .pma-link-card strong,
body.pma-mobile-template .pma-link-card small,
body.pma-mobile-template .pma-file-card span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-link-card small {
    margin-top: 4px;
    color: var(--pma-muted);
    font-size: 12px;
}

body.pma-mobile-template .pma-video-card {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #13172d, #2f356a);
}

body.pma-mobile-template .pma-video-card img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    border-radius: 50%;
}

body.pma-mobile-template .pma-video-card i {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--pma-blue);
    font-size: 28px;
}

body.pma-mobile-template .pma-file-card i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--pma-blue);
    color: #fff;
    font-size: 22px;
}

body.pma-mobile-template .pma-file-card em {
    flex: 0 0 auto;
    font-style: normal;
    color: var(--pma-blue);
    font-size: 13px;
}

body.pma-mobile-template .pma-audio {
    width: 100% !important;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

/* Hard clamps for theme-generated icons/badges after desktop CSS is disabled. */
body.pma-mobile-template i[class^="ri-"],
body.pma-mobile-template i[class*=" ri-"] {
    width: auto;
    height: auto;
    max-width: 1.35em;
    max-height: 1.35em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
    line-height: 1;
    vertical-align: -0.12em;
}

body.pma-mobile-template .pma-icon-btn i,
body.pma-mobile-template .pma-appbar i,
body.pma-mobile-template .pma-drawer-head i {
    font-size: 21px;
}

body.pma-mobile-template .pma-tabs i,
body.pma-mobile-template .pma-moment-foot i {
    font-size: 21px;
}

body.pma-mobile-template .pma-compose i {
    font-size: 31px;
}

body.pma-mobile-template .pma-video-card i {
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    font-size: 28px;
}

body.pma-mobile-template .pma-badges,
body.pma-mobile-template .ppo-user-badges,
body.pma-mobile-template .ppo-user-badges-banner,
body.pma-mobile-template .ppo-user-badges-moment,
body.pma-mobile-template .pix-user-badges {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    max-width: 118px;
    height: 18px;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1;
}

body.pma-mobile-template .pma-badges img,
body.pma-mobile-template .ppo-user-badge,
body.pma-mobile-template .ppo-user-badges img,
body.pma-mobile-template .ppo-user-badges-banner img,
body.pma-mobile-template .ppo-user-badges-moment img,
body.pma-mobile-template .pix-user-badges img,
body.pma-mobile-template img.banner-vip-icon,
body.pma-mobile-template img.banner-lv-icon,
body.pma-mobile-template img.user-pannel-lv-icon,
body.pma-mobile-template img.user-pannel-vip-img,
body.pma-mobile-template img.pix-vip-badge,
body.pma-mobile-template img.pix-level-badge {
    width: auto !important;
    height: 16px !important;
    max-width: 58px !important;
    max-height: 16px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 0 0 auto;
}

body.pma-mobile-template .pma-hero .pma-badges,
body.pma-mobile-template .pma-hero .ppo-user-badges,
body.pma-mobile-template .pma-hero .ppo-user-badges-banner {
    margin-top: 2px;
}

body.pma-mobile-template img.wp-smiley,
body.pma-mobile-template .emoji img,
body.pma-mobile-template .smiley img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block;
    object-fit: contain;
    vertical-align: -0.25em;
}

body.pma-mobile-template .pma-moment-user .pma-badges {
    flex: 0 1 auto;
}

body.pma-mobile-template .pma-moment-user > div {
    min-width: 0;
    overflow: hidden;
}

body.pma-mobile-template .pma-moment-user > div > a {
    min-width: 0;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-moment-foot {
    display: flex;
    justify-content: space-around;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f2fa;
    color: var(--pma-muted);
}

body.pma-mobile-template .pma-moment-foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.pma-mobile-template .pma-article-cover {
    width: 100%;
    height: 205px;
    display: block;
    object-fit: cover;
    border-radius: var(--pma-card-radius);
    box-shadow: var(--pma-soft-shadow);
    margin-bottom: 12px;
}

body.pma-mobile-template .pma-article-card {
    padding: 18px 14px;
}

body.pma-mobile-template .pma-article-card h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.28;
    color: #20243d;
}

body.pma-mobile-template .pma-content {
    margin-top: 18px;
    color: #30344c;
    font-size: 16px;
    line-height: 1.86;
}

body.pma-mobile-template .pma-content img,
body.pma-mobile-template .pma-content video,
body.pma-mobile-template .pma-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

body.pma-mobile-template .comments-area {
    margin: 12px 0 0;
    padding: 14px;
}

body.pma-mobile-template .pma-account-head {
    margin-bottom: 12px;
}

body.pma-mobile-template .pma-account-head h1 {
    margin: 0;
    color: #20243d;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 850;
}

body.pma-mobile-template .pma-account-head p {
    margin: 6px 0 0;
    color: var(--pma-muted);
    font-size: 13px;
}

body.pma-mobile-template .pma-dashboard-hero,
body.pma-mobile-template .pma-account-card,
body.pma-mobile-template .pma-account-panel {
    border: 1px solid rgba(232, 235, 248, .86);
    border-radius: var(--pma-card-radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--pma-soft-shadow);
    overflow: hidden;
}

body.pma-mobile-template .pma-dashboard-hero {
    position: relative;
    min-height: 178px;
    margin-bottom: 12px;
    isolation: isolate;
}

body.pma-mobile-template .pma-dashboard-cover {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-dashboard-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 24, 52, .08), rgba(19, 24, 54, .64));
}

body.pma-mobile-template .pma-dashboard-user {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    color: #fff;
}

body.pma-mobile-template .pma-account-card {
    min-width: 0;
    min-height: 86px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

body.pma-mobile-template .pma-account-avatar {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 16px;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, .72);
}

body.pma-mobile-template .pma-dashboard-info {
    min-width: 0;
}

body.pma-mobile-template .pma-dashboard-info h2,
body.pma-mobile-template .pma-account-card h2 {
    margin: 0;
    color: inherit;
    font-size: 17px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

body.pma-mobile-template .pma-dashboard-info h2 span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-dashboard-vip,
body.pma-mobile-template .pma-dashboard-lv {
    width: auto !important;
    height: 17px !important;
    max-width: 54px !important;
    max-height: 17px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

body.pma-mobile-template .pma-dashboard-info p,
body.pma-mobile-template .pma-account-card p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

body.pma-mobile-template .pma-account-actions a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 10px;
    gap: 4px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.pma-mobile-template .pma-account-actions a:last-child {
    background: rgba(255, 255, 255, .26);
    color: #fff;
}

body.pma-mobile-template .pma-account-profile {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f2f4fb;
    color: var(--pma-blue);
}

body.pma-mobile-template .pma-primary-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--pma-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

body.pma-mobile-template .pma-segment-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 12px;
    margin-bottom: 2px;
    scrollbar-width: none;
}

body.pma-mobile-template .pma-segment-tabs::-webkit-scrollbar {
    display: none;
}

body.pma-mobile-template .pma-segment-tab {
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid #e8ebfb;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    color: #646b8a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

body.pma-mobile-template .pma-segment-tab i {
    font-size: 18px !important;
}

body.pma-mobile-template .pma-segment-tab.is-active {
    border-color: rgba(57, 87, 255, .2);
    background: rgba(57, 87, 255, .1);
    color: var(--pma-blue);
}

body.pma-mobile-template .pma-account-panel {
    padding: 12px;
}

body.pma-mobile-template .pma-dashboard-panel .dash-center,
body.pma-mobile-template .pma-dashboard-panel .user-dash-box {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-dashboard-panel .vip-lv-block,
body.pma-mobile-template .pma-dashboard-panel .user-wallet-block,
body.pma-mobile-template .pma-dashboard-panel .stats-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0 !important;
}

body.pma-mobile-template .pma-dashboard-panel .user-vip-block,
body.pma-mobile-template .pma-dashboard-panel .user-lv-block,
body.pma-mobile-template .pma-dashboard-panel .user-checkin-block,
body.pma-mobile-template .pma-dashboard-panel .user-stats-block,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat,
body.pma-mobile-template .pma-dashboard-panel .stats-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 14px !important;
}

body.pma-mobile-template .pma-dashboard-panel .user-vip-block img,
body.pma-mobile-template .pma-dashboard-panel .user-lv-block img,
body.pma-mobile-template .pma-dashboard-panel .user-checkin-block img,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat img {
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.pma-mobile-template .pma-dashboard-panel .stats-item {
    min-height: 92px;
    display: grid !important;
    place-items: center;
    align-content: center;
    gap: 4px;
}

body.pma-mobile-template .pma-account-panel .pix-content,
body.pma-mobile-template .pma-account-panel .home-box,
body.pma-mobile-template .pma-account-panel .home-classic,
body.pma-mobile-template .pma-account-panel .dashboard-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-account-panel .user-center,
body.pma-mobile-template .pma-account-panel .uk-grid-collapse,
body.pma-mobile-template .pma-account-panel [uk-grid] {
    display: block !important;
    margin: 0 !important;
}

body.pma-mobile-template .pma-account-panel .user-left,
body.pma-mobile-template .pma-account-panel .user-right,
body.pma-mobile-template .pma-account-panel [class*="uk-width-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.pma-mobile-template .pma-account-panel .user-left {
    margin-bottom: 10px;
}

body.pma-mobile-template .pma-account-panel .user-left-nav ul,
body.pma-mobile-template .pma-account-panel .user-page-tab,
body.pma-mobile-template .pma-account-panel .dashboard-tab {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 8px !important;
    margin: 0 !important;
    white-space: nowrap;
    scrollbar-width: none;
}

body.pma-mobile-template .pma-account-panel .user-left-nav ul::-webkit-scrollbar,
body.pma-mobile-template .pma-account-panel .user-page-tab::-webkit-scrollbar,
body.pma-mobile-template .pma-account-panel .dashboard-tab::-webkit-scrollbar {
    display: none;
}

body.pma-mobile-template .pma-account-panel .user-left-nav li {
    flex: 0 0 auto;
}

body.pma-mobile-template .pma-account-panel .nav-item,
body.pma-mobile-template .pma-account-panel .user-tab-item,
body.pma-mobile-template .pma-account-panel .dashboard-tab .tab-item {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px !important;
    border-radius: 12px !important;
    background: #f3f5fc !important;
    color: #646b8a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.pma-mobile-template .pma-account-panel .nav-item.active,
body.pma-mobile-template .pma-account-panel .user-tab-item.active,
body.pma-mobile-template .pma-account-panel .dashboard-tab .tab-item.active {
    background: rgba(57, 87, 255, .1) !important;
    color: var(--pma-blue) !important;
}

body.pma-mobile-template .pma-account-panel .user-banner {
    display: none !important;
}

body.pma-mobile-template .pma-account-panel .msg-right-content > .title {
    display: none;
}

body.pma-mobile-template .pma-account-panel .whisper-msg-box,
body.pma-mobile-template .pma-account-panel .system-msg-box,
body.pma-mobile-template .pma-account-panel .like-msg-box,
body.pma-mobile-template .pma-account-panel .reply-msg-box,
body.pma-mobile-template .pma-account-panel .user-index,
body.pma-mobile-template .pma-account-panel .user-index-content,
body.pma-mobile-template .pma-account-panel .user-dash-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.pma-mobile-template .pma-account-panel .whisper-msg-box .uk-grid-collapse {
    display: grid !important;
    gap: 10px;
}

body.pma-mobile-template .pma-account-panel .chat-user-list,
body.pma-mobile-template .pma-account-panel .chat-user-warp {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment .uk-flex-center,
body.pma-mobile-template .pma-native-moment [uk-grid],
body.pma-mobile-template .pma-native-moment .uk-grid-collapse {
    display: block !important;
    margin: 0 !important;
}

body.pma-mobile-template .pma-native-moment .left-widget,
body.pma-mobile-template .pma-native-moment .right.left-widget,
body.pma-mobile-template .pma-native-moment .moment_left_inner,
body.pma-mobile-template .pma-native-moment .moment_right_inner {
    display: none !important;
}

body.pma-mobile-template .pma-native-moment .center-content,
body.pma-mobile-template .pma-native-moment #primary,
body.pma-mobile-template .pma-native-moment .site-main,
body.pma-mobile-template .pma-native-moment .home-moment-content,
body.pma-mobile-template .pma-native-moment .cls-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.pma-mobile-template .pma-native-moment .moment-push-form,
body.pma-mobile-template .pma-native-moment .moment-cat-filter,
body.pma-mobile-template .pma-native-moment .post-item,
body.pma-mobile-template .pma-native-moment .moment_item,
body.pma-mobile-template .pma-native-moment .moment-comments,
body.pma-mobile-template .pma-native-moment .pagenav-box,
body.pma-mobile-template .pma-native-moment .pagination-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    border-radius: var(--pma-card-radius) !important;
    border: 1px solid rgba(232, 235, 248, .86) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: var(--pma-soft-shadow) !important;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment .moment-push-form {
    padding: 12px !important;
}

body.pma-mobile-template .pma-native-moment .mo-push-wrap,
body.pma-mobile-template .pma-native-moment .mo-form-main,
body.pma-mobile-template .pma-native-moment .mo-form-within,
body.pma-mobile-template .pma-native-moment .post-content,
body.pma-mobile-template .pma-native-moment .mos-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.pma-mobile-template .pma-native-moment .moment_item {
    padding: 13px !important;
}

body.pma-mobile-template .pma-native-moment .moment-single-inner {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
}

body.pma-mobile-template .pma-native-moment .moment-avatar,
body.pma-mobile-template .pma-native-moment .moment-avatar a,
body.pma-mobile-template .pma-native-moment .moment-avatar img,
body.pma-mobile-template .pma-native-moment img.mo-ava {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 13px !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-native-moment .moment-content-right {
    min-width: 0 !important;
    width: 100% !important;
}

body.pma-mobile-template .pma-native-moment .mo-meta,
body.pma-mobile-template .pma-native-moment .moment-footer,
body.pma-mobile-template .pma-native-moment .moment-footer .left,
body.pma-mobile-template .pma-native-moment .moment-footer .right,
body.pma-mobile-template .pma-native-moment .bottom-tools,
body.pma-mobile-template .pma-native-moment .mo-tool-nav {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

body.pma-mobile-template .pma-native-moment .mo-meta {
    justify-content: space-between;
}

body.pma-mobile-template .pma-native-moment .nickname,
body.pma-mobile-template .pma-native-moment .momoent_title,
body.pma-mobile-template .pma-native-moment .ppo-rich-text,
body.pma-mobile-template .pma-native-moment .ppo-rich-text-content {
    min-width: 0;
    max-width: 100%;
}

body.pma-mobile-template .pma-native-moment .momoent_title,
body.pma-mobile-template .pma-native-moment .momoent_title a {
    color: #202846;
    font-size: 16px !important;
    line-height: 1.45;
    font-weight: 800;
}

body.pma-mobile-template .pma-native-moment .ppo-rich-text-content,
body.pma-mobile-template .pma-native-moment .ppo-rich-text-content p {
    color: #30344c;
    font-size: 15px !important;
    line-height: 1.72;
}

body.pma-mobile-template .pma-native-moment .moment-footer {
    justify-content: space-between;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f2fa;
}

body.pma-mobile-template .pma-native-moment .moment-footer .item,
body.pma-mobile-template .pma-native-moment .moment-comment-btn,
body.pma-mobile-template .pma-native-moment .like-btn,
body.pma-mobile-template .pma-native-moment .collect-btn,
body.pma-mobile-template .pma-native-moment .moment-share-btn {
    min-height: 34px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 9px;
    border-radius: 11px;
    background: #f3f5fc;
    color: #646b8a;
    font-size: 13px !important;
}

body.pma-mobile-template .pma-native-moment .moment-footer i,
body.pma-mobile-template .pma-native-moment .mo-tool-nav i,
body.pma-mobile-template .pma-native-moment .bottom-tools i {
    font-size: 18px !important;
    line-height: 1 !important;
}

body.pma-mobile-template .pma-native-moment textarea,
body.pma-mobile-template .pma-native-moment input,
body.pma-mobile-template .pma-native-moment #pix-moment-editor {
    max-width: 100% !important;
    border-radius: 12px !important;
}

body.pma-mobile-template .pma-native-moment .mo-tool-nav,
body.pma-mobile-template .pma-native-moment .bottom-tools {
    justify-content: space-between;
}

body.pma-mobile-template .pma-native-moment .left-tool,
body.pma-mobile-template .pma-native-moment .right-tool,
body.pma-mobile-template .pma-native-moment .mo-cat,
body.pma-mobile-template .pma-native-moment .push-box {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.pma-mobile-template .pma-native-moment .push-mo-btn {
    min-height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--pma-blue);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
}

body.pma-mobile-template .pma-native-moment img,
body.pma-mobile-template .pma-native-moment video,
body.pma-mobile-template .pma-native-moment iframe {
    max-width: 100% !important;
}

body.pma-mobile-template .pma-tabs {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9998;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(231, 235, 248, .94);
    box-shadow: 0 -14px 32px rgba(46, 55, 112, .1);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab {
    min-width: 0;
    min-height: 54px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: #7b8199;
    font-size: 11px;
    line-height: 1.1;
    border-radius: 12px;
    overflow: hidden;
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab-icon {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 24px;
    line-height: 1;
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab i,
body.pma-mobile-template .pma-tabs .pixpro-mobile-tab-icon i {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px !important;
    line-height: 1 !important;
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab img,
body.pma-mobile-template .pma-tabs .pixpro-mobile-tab-icon img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 50%;
    object-fit: cover !important;
    display: block;
}

body.pma-mobile-template .pma-tabs .pixpro-mobile-tab-label {
    width: 100%;
    max-width: 44px;
    display: block;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-compose {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 31px;
    background: linear-gradient(135deg, var(--pma-blue), #6879ff 72%, var(--pma-cyan) 140%);
    box-shadow: 0 13px 30px rgba(57, 87, 255, .3);
}

body.pma-mobile-template .navigation.pagination {
    margin: 14px 0;
}

body.pma-mobile-template .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
}

body.pma-mobile-template .page-numbers {
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--pma-muted);
}

body.pma-mobile-template .page-numbers.current {
    background: var(--pma-blue);
    color: #fff;
}

body.pma-mobile-template.pixpro-mobile-input-active .pma-tabs {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

body.pma-mobile-template .pma-bottom {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9999;
    height: calc(74px + env(safe-area-inset-bottom));
    padding: 7px 12px calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(231, 235, 248, .94);
    box-shadow: 0 -14px 32px rgba(46, 55, 112, .1);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    transition: transform .2s ease, opacity .2s ease;
}

body.pma-mobile-template.pixpro-mobile-input-active .pma-bottom {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

body.pma-mobile-template .pma-bottom-item {
    min-width: 0;
    height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #7b8199;
    border-radius: 13px;
    overflow: hidden;
}

body.pma-mobile-template .pma-bottom-icon {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    overflow: hidden;
}

body.pma-mobile-template .pma-bottom-icon i {
    width: 25px !important;
    height: 25px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px !important;
    line-height: 1 !important;
}

body.pma-mobile-template .pma-bottom-icon img {
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    border-radius: 50%;
    display: block;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-bottom-label {
    width: 100%;
    max-width: 42px;
    display: block;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.1;
}

body.pma-mobile-template .pma-bottom-item.is-active {
    color: var(--pma-blue);
    background: linear-gradient(180deg, rgba(57, 87, 255, .11), rgba(57, 87, 255, 0));
    font-weight: 800;
}

body.pma-mobile-template .pma-bottom-compose {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pma-blue), #6879ff 72%, var(--pma-cyan) 140%);
    box-shadow: 0 13px 30px rgba(57, 87, 255, .3);
}

body.pma-mobile-template .pma-bottom-compose i {
    font-size: 31px !important;
    line-height: 1 !important;
}

@media (max-width: 960px) {
    html {
        background: var(--pma-bg);
        overflow-x: hidden;
    }

    body.pixpro-mobile-adapter-on {
        background:
            radial-gradient(circle at 16% 0, rgba(57, 87, 255, .1), transparent 30%),
            radial-gradient(circle at 96% 12%, rgba(22, 180, 173, .11), transparent 28%),
            var(--pma-bg) !important;
        color: var(--pma-text);
        overflow-x: hidden;
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    body.pixpro-mobile-menu-open {
        overflow: hidden;
    }

    body.classic .site {
        margin-top: 0 !important;
    }

    #page.site,
    .app-container,
    .main-warp,
    #app-warp {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        background: transparent !important;
    }

    #app-warp {
        padding-top: calc(68px + env(safe-area-inset-top));
    }

    .main_header,
    .classic-header,
    .desktop-nav {
        display: none !important;
    }

    .pixpro-mobile-ui {
        display: block;
    }

    .pixpro-mobile-topbar {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 9998;
        min-height: calc(68px + env(safe-area-inset-top));
        padding: calc(12px + env(safe-area-inset-top)) 14px 10px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, .84);
        border-bottom: 1px solid rgba(231, 235, 248, .88);
        box-shadow: 0 10px 26px rgba(49, 58, 112, .07);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
        transition: min-height .18s ease, padding .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .pixpro-mobile-topbar.is-scrolled {
        min-height: calc(58px + env(safe-area-inset-top));
        padding-top: calc(8px + env(safe-area-inset-top));
        padding-bottom: 8px;
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 12px 30px rgba(42, 50, 103, .12);
    }

    .pixpro-mobile-icon {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f2f4fb;
        color: #2f3556;
        font-size: 21px;
        line-height: 1;
        padding: 0;
        cursor: pointer;
    }

    .pixpro-mobile-actions {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .pixpro-mobile-logo,
    .pixpro-mobile-panel-brand {
        min-width: 0;
        height: 42px;
        display: inline-flex;
        align-items: center;
        color: var(--pma-text);
        font-size: 18px;
        font-weight: 800;
        overflow: hidden;
    }

    .pixpro-mobile-logo img,
    .pixpro-mobile-panel-brand img {
        max-width: 154px;
        max-height: 40px;
        width: auto;
        object-fit: contain;
    }

    .pixpro-mobile-logo span,
    .pixpro-mobile-panel-brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pixpro-mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 10000;
        pointer-events: none;
        visibility: hidden;
    }

    .pixpro-mobile-drawer.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .pixpro-mobile-backdrop {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(24, 28, 48, .34);
        opacity: 0;
        transition: opacity .22s ease;
    }

    .pixpro-mobile-drawer.is-open .pixpro-mobile-backdrop {
        opacity: 1;
    }

    .pixpro-mobile-panel {
        position: absolute;
        inset: 0 auto 0 0;
        width: min(84vw, 340px);
        padding: calc(18px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #fff 0, #fbfcff 100%);
        box-shadow: 24px 0 60px rgba(38, 44, 82, .2);
        transform: translateX(-105%);
        transition: transform .24s ease;
        overflow-y: auto;
    }

    .pixpro-mobile-drawer.is-open .pixpro-mobile-panel {
        transform: translateX(0);
    }

    .pixpro-mobile-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 46px;
        margin-bottom: 18px;
    }

    .pixpro-mobile-menu-list,
    .pixpro-mobile-menu-list ul {
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .pixpro-mobile-menu-list li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .pixpro-mobile-menu-list a,
    .pixpro-mobile-panel-actions a {
        min-height: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 12px;
        border-radius: 12px;
        color: #39405f;
        background: #f3f5fc;
        font-size: 15px;
        font-weight: 600;
    }

    .pixpro-mobile-menu-list a:hover,
    .pixpro-mobile-panel-actions a:hover {
        color: var(--pma-blue);
        background: #eef2ff;
    }

    .pixpro-mobile-menu-list i,
    .pixpro-mobile-panel-actions i {
        color: var(--pma-cyan);
        font-size: 19px;
    }

    .pixpro-mobile-menu-list .sub-menu {
        margin: 7px 0 0 18px;
    }

    .pixpro-mobile-panel-actions {
        display: grid;
        gap: 8px;
        padding-top: 18px;
        margin-top: 18px;
        border-top: 1px solid var(--pma-line);
    }

    .pixpro-mobile-bottom {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 9998;
        height: calc(72px + env(safe-area-inset-bottom));
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        background: rgba(255, 255, 255, .92);
        border-top: 1px solid rgba(231, 235, 248, .94);
        box-shadow: 0 -14px 32px rgba(46, 55, 112, .1);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
        transition: transform .2s ease, opacity .2s ease;
    }

    body.pixpro-mobile-input-active .pixpro-mobile-bottom {
        transform: translateY(110%);
        opacity: 0;
        pointer-events: none;
    }

    .pixpro-mobile-tab {
        min-width: 0;
        min-height: 54px;
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        color: #7b8199;
        font-size: 11px;
        line-height: 1.1;
        border-radius: 12px;
        overflow: hidden;
    }

    .pixpro-mobile-tab-icon {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex: 0 0 24px;
        line-height: 1;
    }

    .pixpro-mobile-tab i,
    .pixpro-mobile-tab-icon i {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 21px !important;
        line-height: 1 !important;
    }

    .pixpro-mobile-tab img,
    .pixpro-mobile-tab-icon img {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        border-radius: 50%;
        object-fit: cover !important;
        display: block;
    }

    .pixpro-mobile-tab-label {
        width: 100%;
        max-width: 44px;
        display: block;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pixpro-mobile-tab.is-active {
        color: var(--pma-blue);
        font-weight: 700;
        background: linear-gradient(180deg, rgba(57, 87, 255, .09), rgba(57, 87, 255, 0));
    }

    .pixpro-mobile-compose {
        width: 56px;
        height: 56px;
        margin: 0 auto 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        font-size: 31px;
        background: linear-gradient(135deg, var(--pma-blue), #6879ff 72%, var(--pma-cyan) 140%);
        box-shadow: 0 13px 30px rgba(57, 87, 255, .3);
    }

    .pixpro-mobile-icon:focus-visible,
    .pixpro-mobile-tab:focus-visible,
    .pixpro-mobile-compose:focus-visible {
        outline: 2px solid rgba(57, 87, 255, .35);
        outline-offset: 2px;
    }

    .pix-content,
    .home-box,
    .home-classic,
    .pix-search-wrap,
    .pix-archive-wrap,
    .pix-404-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .pix-content > .uk-grid,
    .home-classic > .uk-grid,
    .user-center.uk-grid-collapse,
    .pix-content > .uk-flex-center,
    .home-classic > .uk-flex-center {
        margin-left: 0 !important;
    }

    .pix-content > .uk-grid > *,
    .home-classic > .uk-grid > *,
    .user-center.uk-grid-collapse > *,
    .pix-content > .uk-flex-center > *,
    .home-classic > .uk-flex-center > * {
        padding-left: 0 !important;
    }

    .left-widget,
    .right-widget,
    .user-left {
        display: none !important;
    }

    .center-content,
    .center-content.center-half,
    .center-content.full-width,
    .user-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        background: transparent !important;
    }

    div#primary,
    #primary.site-main,
    .cls-content {
        width: 100%;
        display: block;
        background: transparent !important;
    }

    .cls-banner {
        height: 174px;
        margin: 12px 12px 0;
        overflow: hidden;
        border-radius: var(--pma-radius);
        box-shadow: var(--pma-shadow);
        isolation: isolate;
    }

    .cls-banner:before {
        z-index: 1;
        background:
            linear-gradient(180deg, rgba(25, 30, 64, .08), rgba(23, 29, 63, .44)),
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .32), transparent 34%) !important;
    }

    .cls-banner > img {
        transform: scale(1.01);
    }

    .cls-banner-info {
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 2;
        justify-content: space-between;
        flex-direction: row-reverse;
        gap: 12px;
    }

    .cls-banner-info .info {
        align-items: flex-start;
        min-width: 0;
    }

    .cls-banner-info .info .name {
        font-size: 19px;
        line-height: 1.2;
        margin-bottom: 6px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, .16);
    }

    .cls-banner-info .info .des {
        max-width: 230px;
        color: rgba(255, 255, 255, .78);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cls-banner-info .ava img {
        width: 66px;
        height: 66px;
        border-radius: 16px;
        border: 2px solid rgba(255, 255, 255, .7);
        box-shadow: 0 10px 22px rgba(25, 28, 60, .18);
    }

    .home-blog-content,
    .home-moment-content,
    .moment-push-form,
    .moment-cat-filter,
    .pix-archive-body,
    .pix-search-body,
    .single-wrap,
    .comments-area,
    .pagenav-box,
    .pagination-box {
        margin: 12px;
    }

    .moment-push-form,
    .moment-cat-filter,
    .single-wrap,
    .comments-area,
    .pix-archive-body,
    .pix-search-body {
        border-radius: var(--pma-card-radius);
        background: rgba(255, 255, 255, .92) !important;
        box-shadow: var(--pma-soft-shadow);
        overflow: hidden;
        border: 1px solid rgba(232, 235, 248, .8);
    }

    .moment-push-form {
        background:
            linear-gradient(180deg, rgba(237, 241, 255, .92), rgba(255, 255, 255, .94) 38%),
            #fff !important;
    }

    .mo-form-main {
        padding: 14px;
    }

    body.pixpro-mobile-compose-focus .moment-push-form {
        box-shadow: 0 14px 38px rgba(57, 87, 255, .16);
        border-color: rgba(57, 87, 255, .22);
    }

    .mo-user-box {
        margin-bottom: 12px !important;
    }

    .mo-user-box .mo-user-inner {
        padding: 0;
        gap: 12px;
    }

    .mo-user-box .left-info {
        min-width: 0;
    }

    .mo-user-box .left {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }

    .mo-user-box .u-num {
        max-width: 168px;
        color: var(--pma-muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mo-user-box .right-btn {
        flex: 0 0 auto;
        gap: 6px;
    }

    .mo-user-box .right-btn a {
        min-height: 34px;
        align-items: center;
        padding: 0 10px;
        border-radius: 999px;
        border-color: #e8ebfb;
        background: #f7f8ff;
        color: #747ca5;
    }

    .mo-login-required {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 14px;
        border-radius: 14px;
        border-color: #e8ebfb;
        background: linear-gradient(135deg, #f8faff, #fff);
    }

    a.mo-login-required-btn {
        width: 100%;
        height: 40px;
    }

    .mo-form-within {
        border-radius: 14px;
        border-color: #e8ebfb;
        background: #f8f9ff;
    }

    .mo-form-within:focus-within {
        border-color: rgba(57, 87, 255, .55);
        box-shadow: 0 0 0 4px rgba(57, 87, 255, .08);
    }

    input#moment-title {
        background: transparent;
        padding: 10px 12px;
    }

    .mo-content-form {
        min-height: 102px;
        background: #f8f9ff;
    }

    textarea#moment_content,
    #pix-moment-editor {
        min-height: 92px;
        width: 100%;
    }

    .mo-tool-nav {
        padding: 10px 12px;
        gap: 10px;
        border-top: 1px solid #eef1fb;
    }

    .left-tool {
        min-width: 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .left-tool a.mo-btn,
    .left-tool button,
    .right-tool a.mo-btn {
        width: 34px;
        height: 34px;
        margin-right: 0 !important;
        border: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #eef2ff;
        color: #7b83af;
    }

    span.fenge {
        display: none;
    }

    .bottom-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
    }

    .mo-cat {
        flex-wrap: wrap;
        gap: 8px;
    }

    a.mo-tag-btn,
    a.mo-cir-btn {
        min-height: 36px;
        border-radius: 999px;
        padding: 0 14px;
        margin: 0;
        background: #f1f4ff;
        border-color: #e6ebfb;
        color: #657097;
    }

    .push-box {
        justify-content: space-between;
        gap: 10px;
    }

    a.mo-setting {
        width: 42px;
        height: 42px;
        background: #f1f4ff;
    }

    a.push-mo-btn {
        flex: 1;
        min-width: 0;
        height: 42px;
        border-radius: 999px;
        box-shadow: 0 12px 24px rgba(57, 87, 255, .22);
    }

    .moment-cat-filter {
        padding: 10px;
    }

    .moment-cat-filter .filter-inner,
    .posts_cat_nav ul,
    .moment-tags-nav {
        display: flex !important;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .moment-cat-filter .filter-inner::-webkit-scrollbar,
    .posts_cat_nav ul::-webkit-scrollbar,
    .moment-tags-nav::-webkit-scrollbar {
        display: none;
    }

    .moment-cat-filter .filter-item,
    .posts_cat_nav ul li a,
    .moment-tags-item {
        flex: 0 0 auto;
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        border-radius: 999px !important;
        background: #f2f5ff !important;
        border: 1px solid #e7ebfb !important;
        color: #667096 !important;
        padding: 0 13px !important;
        margin: 0 !important;
    }

    .moment-cat-filter .filter-item.active,
    .posts_cat_nav ul li a.active,
    span.moment-tags-item.active {
        background: var(--pma-blue) !important;
        border-color: var(--pma-blue) !important;
        color: #fff !important;
    }

    .posts_cat_nav {
        padding: 10px 12px !important;
        border: 0;
    }

    .cls-blog-cat-filter,
    #moment-item.p-item,
    #blog-item.p-item,
    .pix-search-results-grid {
        padding: 0 !important;
    }

    #moment-item,
    #blog-item,
    .pix-search-results-grid,
    .pix-archive-results {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: stretch !important;
    }

    .post-item,
    .post-item.post-grid,
    .post-item.moment_item,
    .pix-search-result-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 1px solid rgba(232, 235, 248, .86) !important;
        border-radius: var(--pma-card-radius) !important;
        background: #fff !important;
        box-shadow: var(--pma-soft-shadow) !important;
        overflow: hidden;
    }

    .post-item:not(.moment_item),
    .post-item.post-grid {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        grid-template-areas:
            "thumb body"
            "foot foot";
        min-height: 132px;
        padding: 0 !important;
    }

    .post-item:not(.moment_item) .entry-header,
    .post-item.post-grid .entry-header {
        grid-area: thumb;
        min-width: 0;
    }

    .post-item:not(.moment_item) .entry-content,
    .post-item.post-grid .entry-content {
        grid-area: body;
        min-width: 0;
        padding: 13px 13px 9px !important;
    }

    .post-item:not(.moment_item) .entry-footer,
    .post-item.post-grid .entry-footer {
        grid-area: foot;
        padding: 9px 13px 12px !important;
        border-top: 1px solid #f0f2fa;
    }

    .post-feature,
    .post-feature a,
    .post-feature img,
    .post-feature img.lazy.loaded {
        width: 100%;
        height: 100%;
        min-height: 132px;
        display: block;
    }

    .post-feature img {
        object-fit: cover;
    }

    .post-title .entry-title,
    .post-title h2,
    .post-title a {
        margin: 0 0 7px;
        font-size: 16px !important;
        line-height: 1.36;
        color: #242943 !important;
        font-weight: 800;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .time-meta,
    .post-content p,
    .post-f-meta {
        font-size: 12px !important;
        line-height: 1.5;
    }

    .time-meta {
        color: var(--pma-muted);
        margin-bottom: 7px;
    }

    .post-content p {
        margin: 0;
        color: #626c8d;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-f-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        color: var(--pma-muted);
    }

    .post-social-data,
    .post-cats {
        min-width: 0;
    }

    .pf-cat {
        max-width: 142px;
        height: 26px;
        border-radius: 999px;
        background: #eef2ff;
        color: var(--pma-blue);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .moment-single-inner {
        padding: 14px;
        border-radius: var(--pma-card-radius);
        background: #fff;
    }

    .moment-avatar {
        margin-right: 10px;
    }

    .moment-avatar a,
    .moment-avatar a img,
    img.mo-ava {
        width: 44px !important;
        height: 44px !important;
        border-radius: 13px !important;
    }

    .mo-meta {
        gap: 8px;
        align-items: flex-start;
    }

    .mo-meta .right {
        flex: 0 1 auto;
        min-width: 0;
    }

    .mo-meta .nickname {
        max-width: 178px;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 800;
    }

    .mo-meta .nickname a {
        min-width: 0;
        color: #28315f;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ppo-user-badges,
    .ppo-user-badges-moment {
        max-width: 92px;
        overflow: hidden;
    }

    .mosub-meta .timeago,
    a.mo-cat {
        font-size: 12px;
    }

    a.mo-cat {
        max-width: 118px;
        border-radius: 999px;
        background: #f1f4ff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .post-content.mos-content {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.72;
        color: #30344c;
    }

    .post-content.mos-content p {
        color: #30344c;
    }

    .momoent_title,
    .momoent_title a {
        font-size: 16px !important;
        line-height: 1.45;
        color: #202846 !important;
        font-weight: 800;
    }

    .moment-footer {
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid #f0f2fa;
    }

    .moment-footer,
    .moment-footer .left,
    .moment-footer .right {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .moment-footer .left {
        flex: 1;
        justify-content: flex-start;
    }

    .moment-footer .right {
        justify-content: flex-end;
    }

    .moment-footer .item a,
    .moment-comment-btn,
    .moment-share-btn {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--pma-muted);
        font-size: 13px;
    }

    .moment_img_box,
    .moment-gallery,
    .mo-gallery-list,
    .ppo-gallery,
    .img_list,
    .list_inner,
    .moment-file-box,
    .moment-card-box,
    .moment_video_box {
        max-width: 100%;
        overflow: hidden;
    }

    .img_list {
        margin-top: 12px;
    }

    .img_list .list_inner {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .img_list.is-single .list_inner {
        grid-template-columns: minmax(0, 1fr);
        max-width: 260px;
    }

    .img_list .mo_img,
    .img_list .fancybox {
        position: relative;
        display: block;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
        background: #eef2ff;
    }

    .img_list.is-single .mo_img,
    .img_list.is-single .fancybox {
        aspect-ratio: 4 / 3;
    }

    .img_list .mo_img img,
    .img_list .fancybox img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .mo-img-more {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(24, 28, 48, .48);
        color: #fff;
        font-size: 22px;
        font-weight: 800;
    }

    .moment_img_box img,
    .moment-gallery img,
    .mo-gallery-list img,
    .ppo-gallery img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .pix_local_player,
    .video_list,
    .mo-index-audio-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 12px;
        border-radius: 14px;
        overflow: hidden;
    }

    .pix_local_player,
    .pix_local_video_fallback {
        min-height: 188px;
        background: linear-gradient(135deg, #13172d, #2f356a);
    }

    .pix_local_player img,
    .pix_local_player video {
        width: 100%;
        min-height: 188px;
        object-fit: cover;
    }

    i.ri-play-mini-line.pix-mvideo-btn,
    .video_play_btn i {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, .86);
        color: var(--pma-blue);
        box-shadow: 0 12px 24px rgba(20, 24, 54, .18);
    }

    .moment-file-down-box {
        margin-top: 12px;
        padding: 12px;
        border-radius: 14px;
        border: 1px solid #e8ebfb;
        background: linear-gradient(135deg, #f8faff, #fff);
        gap: 10px;
    }

    .moment-file-down-box .left {
        min-width: 0;
        flex: 1;
    }

    .moment-file-down-box .left span {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 12px;
        background: var(--pma-blue);
        color: #fff;
    }

    .moment-file-down-box .left .info {
        min-width: 0;
    }

    .moment-file-down-box .left .info .title {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .moment-file-down-box .right .mo-file-down-link {
        min-height: 36px;
        border-radius: 999px;
        padding: 0 12px;
        background: #eef2ff;
        color: var(--pma-blue);
    }

    .card_list {
        display: grid;
        gap: 10px;
        margin-top: 12px;
    }

    .card_list .card-box,
    .card-box {
        min-height: 76px;
        border-radius: 14px;
        border: 1px solid #e8ebfb;
        background: #f8faff;
        overflow: hidden;
    }

    .card-box .card-img {
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
    }

    .card-box .card-info {
        min-width: 0;
        padding: 10px 12px;
    }

    .card-box .card-info .title,
    .card-box .card-info .des {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pix-archive-hero,
    .pix-search-hero,
    .pix-404-hero {
        margin: 12px;
        padding: 26px 18px !important;
        min-height: auto !important;
        border-radius: var(--pma-card-radius);
        background:
            linear-gradient(135deg, rgba(57, 87, 255, .1), rgba(22, 180, 173, .06)),
            #fff !important;
        box-shadow: var(--pma-soft-shadow);
        border: 1px solid rgba(232, 235, 248, .86);
    }

    .pix-archive-hero h1,
    .pix-search-hero h1,
    .pix-404-card h1 {
        font-size: 26px !important;
        line-height: 1.2;
    }

    .pix-search-section-head {
        gap: 10px;
        align-items: flex-start;
        padding: 0;
    }

    .pix-search-result-card {
        display: grid !important;
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 0 !important;
    }

    .pix-search-result-thumb {
        width: 108px !important;
        min-height: 126px !important;
    }

    .pix-search-result-content {
        min-width: 0;
        padding: 13px !important;
    }

    .single-header {
        margin: 12px 12px 0;
        border-radius: var(--pma-card-radius);
        overflow: hidden;
        box-shadow: var(--pma-soft-shadow);
        border: 1px solid rgba(232, 235, 248, .86);
    }

    .single-banner,
    .single-banner img {
        height: 196px !important;
    }

    .single-banner img {
        width: 100%;
        object-fit: cover;
    }

    .single-wrap {
        padding: 18px 14px !important;
    }

    .single-title {
        padding-bottom: 18px !important;
        margin-bottom: 18px !important;
    }

    .single-title .entry-title,
    .single-title h2 {
        font-size: 24px !important;
        line-height: 1.28;
        color: #20243d;
        font-weight: 850;
    }

    .single-top-meta,
    .single-footer,
    .post-footer-inner,
    .prev-next,
    .prev-next-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .post-footer-inner {
        padding: 12px !important;
        border-radius: 14px;
        background: #f7f8ff;
    }

    .single-content,
    .single-content p,
    .single-content li {
        font-size: 16px;
        line-height: 1.86;
        color: #30344c;
    }

    .single-content img,
    .single-content video,
    .single-content iframe,
    .entry-content img,
    .entry-content video,
    .entry-content iframe {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .single-content iframe,
    .entry-content iframe {
        aspect-ratio: 16 / 9;
    }

    .comments-area {
        padding: 14px;
    }

    .comments-title {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 14px !important;
        font-size: 17px !important;
        color: #242943;
    }

    #respond_box,
    .comment-respond,
    form#commentform {
        width: 100%;
    }

    .content_comments {
        border: 1px solid #e8ebfb;
        border-radius: 14px;
        background: #f8faff;
        overflow: hidden;
    }

    .edit_comment_info {
        padding: 10px 12px;
        border-bottom: 1px solid #eef1fb;
        color: var(--pma-muted);
        font-size: 13px;
    }

    .comarea textarea#comment,
    textarea#comment {
        width: 100% !important;
        min-height: 96px;
        border: 0 !important;
        background: transparent !important;
        padding: 12px !important;
        outline: none;
        resize: vertical;
    }

    .com-footer {
        display: block;
        margin-bottom: 0;
    }

    .com-footer-inner {
        gap: 10px;
        align-items: center;
    }

    .comment-tools {
        display: flex;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .comment-tools::-webkit-scrollbar {
        display: none;
    }

    .com-footer-btn {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 50%;
        background: #f1f4ff;
        color: #747ca5;
    }

    .com_push {
        flex: 0 0 auto;
    }

    input#push_comment,
    a.cancel-comment-textarea,
    a#cancel-comment-reply-link {
        height: 38px;
        border-radius: 999px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .commentshow {
        margin-top: 18px;
    }

    .comment-list,
    .comment-list ul {
        margin: 0;
        padding: 0;
    }

    .comment-list li {
        margin: 0 0 12px;
        padding: 0 0 12px;
        border-bottom: 1px solid #eef1fb;
    }

    .comment-list li ul {
        margin-left: 34px;
        margin-top: 12px;
    }

    .comment-list .comment_body {
        margin-bottom: 0;
    }

    .comment-list .profile a,
    .comment-list .profile img {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .comment-list .com_right {
        min-width: 0;
        margin-left: 10px;
    }

    .comment-list .com_right .commeta,
    .comment-list .com_right .footer-meta {
        gap: 8px;
        align-items: flex-start;
    }

    .comment-list .com_right .body {
        margin-top: 6px;
        color: #343950;
        line-height: 1.7;
        word-break: break-word;
    }

    #comment-author-info {
        flex-direction: column;
        gap: 8px;
    }

    #comment-author-info input {
        height: 42px;
        border-radius: 12px;
    }

    .emoji-box,
    .img-box-drop {
        width: min(320px, calc(100vw - 28px)) !important;
        border-radius: 14px;
    }

    .pix-search-panel {
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        border-radius: 20px !important;
        padding: 22px 16px !important;
    }

    .pix-search-panel h2 {
        font-size: 24px !important;
        line-height: 1.2;
    }

    .pix-search-form,
    .pix-search-page-form {
        min-height: 48px;
        border-radius: 14px !important;
    }

    .pix-search-form button,
    .pix-search-page-form button {
        min-width: 68px;
        border-radius: 12px !important;
    }

    .login-modal-inner,
    .uk-modal-dialog .login-modal-inner {
        max-width: 100%;
    }

    form#login input,
    form#register input,
    form#phone-login input {
        min-height: 44px;
        border-radius: 12px !important;
    }

    .pagenav-box,
    .pagination-box {
        min-height: 46px;
        height: auto !important;
        border-radius: var(--pma-card-radius);
        background: #fff;
        box-shadow: var(--pma-soft-shadow);
        padding: 10px;
        border: 1px solid rgba(232, 235, 248, .86);
    }

    .number-pager,
    .load-more-box {
        height: 42px;
    }

    .loadmore-btn,
    .no-more {
        border-radius: 12px;
    }

    footer#colophon {
        padding: 22px 16px calc(96px + env(safe-area-inset-bottom));
        text-align: center;
        background: transparent;
    }

    .footer-widget-area {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .user-banner {
        height: auto !important;
        min-height: 176px;
        margin: 12px 12px 0;
        border-radius: var(--pma-card-radius);
        overflow: hidden;
        box-shadow: var(--pma-soft-shadow);
        border: 1px solid rgba(232, 235, 248, .86);
    }

    .user-banner:after {
        background: linear-gradient(180deg, rgba(25, 30, 64, .08), rgba(23, 29, 63, .46)) !important;
    }

    .user-banner-info {
        align-items: flex-end;
        padding: 18px !important;
    }

    .user-avatar-show,
    .user-avatar-show img {
        width: 68px !important;
        height: 68px !important;
        border-radius: 16px !important;
    }

    .user-banner-info .user-info {
        min-width: 0;
    }

    .user-banner-info .user-info .user-nickname {
        font-size: 19px !important;
    }

    .user-banner-info .user-info .user-desc {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-center,
    .user-page-body,
    .user-index,
    .msg-right-content {
        margin: 12px !important;
        padding: 14px !important;
        border-radius: var(--pma-card-radius);
        background: #fff;
        box-shadow: var(--pma-soft-shadow);
        border: 1px solid rgba(232, 235, 248, .86);
    }

    .uk-modal-dialog {
        max-width: calc(100vw - 24px) !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 520px) {
    .pixpro-mobile-topbar {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    .pixpro-mobile-actions {
        gap: 6px;
    }

    .pixpro-mobile-logo img {
        max-width: 136px;
    }

    .post-item:not(.moment_item),
    .post-item.post-grid {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .post-feature,
    .post-feature a,
    .post-feature img,
    .post-feature img.lazy.loaded {
        min-height: 126px;
    }

    .moment-single-inner {
        padding: 13px;
    }

    .mo-meta .nickname {
        max-width: 150px;
    }

    .pixpro-mobile-tab span {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .pixpro-mobile-topbar {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding-left: 9px;
        padding-right: 9px;
    }

    .pixpro-mobile-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .pixpro-mobile-actions {
        gap: 4px;
    }

    .post-item:not(.moment_item),
    .post-item.post-grid {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .post-feature,
    .post-feature a,
    .post-feature img,
    .post-feature img.lazy.loaded {
        min-height: 118px;
    }

    .mo-user-box .right-btn a span,
    .pixpro-mobile-tab span {
        font-size: 11px;
    }
}

/* App-like mobile skin based on the saved "竹笋小窝" desktop reference. */
body.pma-mobile-template {
    --pma-bg: #f8f8ff;
    --pma-surface: #ffffff;
    --pma-soft: #f3f4ff;
    --pma-line: #eceeff;
    --pma-text: #25294a;
    --pma-muted: #858bb2;
    --pma-blue: #5864ff;
    --pma-blue-2: #6f79ff;
    --pma-card-radius: 18px;
    --pma-soft-shadow: 0 12px 34px rgba(91, 98, 180, .11);
    background:
        radial-gradient(circle at 12% 0, rgba(118, 125, 255, .13), transparent 32%),
        radial-gradient(circle at 92% 8%, rgba(160, 166, 255, .12), transparent 30%),
        var(--pma-bg) !important;
}

body.pma-mobile-template .pma-appbar {
    min-height: calc(70px + env(safe-area-inset-top));
    padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    background: rgba(255, 255, 255, .8);
    border-bottom: 0;
    box-shadow: none;
}

body.pma-mobile-template .pma-icon-btn {
    background: transparent;
    color: #1e2338;
    border-radius: 50%;
}

body.pma-mobile-template .pma-brand {
    justify-content: center;
}

body.pma-mobile-template .pma-brand img {
    max-width: 158px !important;
    max-height: 46px !important;
}

body.pma-mobile-template .pma-main {
    padding: 10px 14px 0;
}

body.pma-mobile-template .pma-account-head {
    display: none;
}

body.pma-mobile-template .pma-dashboard-hero {
    min-height: 220px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(103, 110, 190, .13);
}

body.pma-mobile-template .pma-dashboard-cover {
    opacity: .72;
    filter: saturate(.9) brightness(1.04);
}

body.pma-mobile-template .pma-dashboard-shade {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .78) 56%, rgba(255, 255, 255, .95)),
        radial-gradient(circle at 80% 0, rgba(119, 126, 255, .22), transparent 42%);
}

body.pma-mobile-template .pma-dashboard-user {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    color: var(--pma-text);
}

body.pma-mobile-template .pma-account-avatar {
    width: 74px !important;
    height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, .9);
    box-shadow: 0 10px 28px rgba(73, 78, 145, .16);
}

body.pma-mobile-template .pma-dashboard-info h2 {
    font-size: 20px;
    font-weight: 850;
    color: #222642;
}

body.pma-mobile-template .pma-dashboard-info p {
    color: #7c83ad;
    font-size: 13px;
}

body.pma-mobile-template .pma-dashboard-vip,
body.pma-mobile-template .pma-dashboard-lv {
    height: 19px !important;
    max-height: 19px !important;
}

body.pma-mobile-template .pma-account-actions a {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(143, 149, 205, .28);
    border-radius: 13px;
    background: rgba(255, 255, 255, .62);
    color: #737aa5;
    box-shadow: 0 8px 22px rgba(103, 110, 190, .08);
}

body.pma-mobile-template .pma-account-actions a:last-child {
    background: rgba(88, 100, 255, .1);
    color: var(--pma-blue);
}

body.pma-mobile-template .pma-segment-tabs {
    position: sticky;
    top: calc(70px + env(safe-area-inset-top));
    z-index: 50;
    margin: 0 -14px 12px;
    padding: 10px 14px 12px;
    background: rgba(248, 248, 255, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.pma-mobile-template .pma-segment-tab {
    min-width: 78px;
    min-height: 44px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #7c83ad;
    font-size: 14px;
    box-shadow: none;
}

body.pma-mobile-template .pma-segment-tab.is-active {
    background: linear-gradient(135deg, #5964ff, #6f79ff);
    color: #fff;
    box-shadow: 0 12px 26px rgba(88, 100, 255, .28);
}

body.pma-mobile-template .pma-account-panel {
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 38px rgba(105, 112, 190, .1);
    padding: 12px;
}

body.pma-mobile-template .pma-dashboard-panel .vip-lv-block,
body.pma-mobile-template .pma-dashboard-panel .user-wallet-block {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.pma-mobile-template .pma-dashboard-panel .user-vip-block,
body.pma-mobile-template .pma-dashboard-panel .user-lv-block,
body.pma-mobile-template .pma-dashboard-panel .user-checkin-block,
body.pma-mobile-template .pma-dashboard-panel .user-stats-block,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat,
body.pma-mobile-template .pma-dashboard-panel .stats-item {
    border: 1px solid rgba(234, 236, 255, .9) !important;
    background: linear-gradient(180deg, #fff, #fbfbff) !important;
    box-shadow: 0 10px 28px rgba(101, 108, 190, .08) !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-title {
    color: #2c3154;
    font-size: 15px;
    font-weight: 800;
}

body.pma-mobile-template .pma-dashboard-panel .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.pma-mobile-template .pma-native-moment .moment-push-form,
body.pma-mobile-template .pma-native-moment .post-item,
body.pma-mobile-template .pma-native-moment .moment_item,
body.pma-mobile-template .pma-native-moment .moment-comments {
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 12px 34px rgba(101, 108, 190, .1) !important;
}

body.pma-mobile-template .pma-native-moment .moment-footer .item,
body.pma-mobile-template .pma-native-moment .moment-comment-btn,
body.pma-mobile-template .pma-native-moment .like-btn,
body.pma-mobile-template .pma-native-moment .collect-btn,
body.pma-mobile-template .pma-native-moment .moment-share-btn {
    background: transparent;
    color: #7d84ad;
}

body.pma-mobile-template .pma-native-moment .push-mo-btn {
    border-radius: 999px;
    background: linear-gradient(135deg, #5964ff, #6f79ff);
    box-shadow: 0 12px 28px rgba(88, 100, 255, .3);
}

body.pma-mobile-template .pma-bottom {
    height: calc(80px + env(safe-area-inset-bottom));
    padding: 8px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -12px 36px rgba(103, 110, 190, .14);
}

body.pma-mobile-template .pma-bottom-item {
    height: 58px;
    color: #777d98;
}

body.pma-mobile-template .pma-bottom-item.is-active {
    color: var(--pma-blue);
    background: transparent;
}

body.pma-mobile-template .pma-bottom-compose {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #5964ff, #6f79ff);
    box-shadow: 0 16px 30px rgba(88, 100, 255, .34);
}

body.pma-mobile-template .pma-bottom-label {
    font-size: 11px;
    font-weight: 750;
}

/* Final mobile app polish: keep native PixPro functions, rebuild the visual rhythm. */
body.pma-mobile-template,
body.pma-mobile-template * {
    box-sizing: border-box;
}

body.pma-mobile-template {
    color: var(--pma-text);
    overflow-x: hidden;
}

body.pma-mobile-template .pma-app {
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    background: transparent;
}

body.pma-mobile-template .pma-main {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
}

body.pma-mobile-template .pma-dashboard-hero {
    min-height: 292px;
    overflow: hidden;
}

body.pma-mobile-template .pma-dashboard-cover {
    height: 142px !important;
    opacity: .46;
    -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .84) 54%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .84) 54%, transparent 100%);
}

body.pma-mobile-template .pma-dashboard-shade {
    background:
        radial-gradient(circle at 76% 0, rgba(91, 100, 255, .15), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, .24), #fff 58%);
}

body.pma-mobile-template .pma-dashboard-user {
    top: 32px;
    bottom: auto;
    align-items: center;
}

body.pma-mobile-template .pma-dashboard-info h2 {
    gap: 6px;
    flex-wrap: wrap;
}

body.pma-mobile-template .pma-dashboard-info h2 span {
    flex: 0 1 auto;
    max-width: 128px;
}

body.pma-mobile-template .pma-dashboard-info p {
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

body.pma-mobile-template .pma-profile-stats {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.pma-mobile-template .pma-profile-stats a {
    min-width: 0;
    min-height: 72px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px solid rgba(234, 236, 255, .92);
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfbff, #f4f5ff);
    color: #8288ad;
    box-shadow: 0 10px 24px rgba(103, 110, 190, .08);
}

body.pma-mobile-template .pma-profile-stats strong {
    max-width: 100%;
    color: #28305a;
    font-size: 17px;
    line-height: 1;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.pma-mobile-template .pma-profile-stats span {
    color: #8a91b8;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
}

body.pma-mobile-template .pma-dashboard-vip,
body.pma-mobile-template .pma-dashboard-lv,
body.pma-mobile-template .pma-native-moment .nickname img,
body.pma-mobile-template .pma-native-moment .ppo-user-badges img,
body.pma-mobile-template .pma-native-moment .ppo-user-badges-moment img {
    width: auto !important;
    height: 18px !important;
    max-width: 58px !important;
    max-height: 18px !important;
    object-fit: contain !important;
}

body.pma-mobile-template .pma-dashboard-tabs {
    border-bottom: 1px solid rgba(233, 235, 255, .8);
}

body.pma-mobile-template .pma-dashboard-tabs .pma-segment-tab,
body.pma-mobile-template .pma-msg-tabs .pma-segment-tab {
    min-width: auto;
    padding: 0 13px;
}

body.pma-mobile-template .pma-dashboard-panel {
    overflow: visible;
}

body.pma-mobile-template .pma-dashboard-panel .user-vip-block,
body.pma-mobile-template .pma-dashboard-panel .user-lv-block,
body.pma-mobile-template .pma-dashboard-panel .user-checkin-block {
    min-height: 118px !important;
    padding: 14px !important;
    overflow: hidden !important;
}

body.pma-mobile-template .pma-dashboard-panel .user-vip-block *,
body.pma-mobile-template .pma-dashboard-panel .user-lv-block *,
body.pma-mobile-template .pma-dashboard-panel .user-checkin-block *,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat *,
body.pma-mobile-template .pma-dashboard-panel .stats-item * {
    max-width: 100%;
}

body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat {
    min-height: 86px !important;
    padding: 12px !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-item {
    min-height: 84px;
    padding: 12px 8px !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-icon,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat-icon {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f3ff;
    color: var(--pma-blue);
}

body.pma-mobile-template .pma-dashboard-panel .stats-icon i,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat-icon i {
    font-size: 18px !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-label,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat-label {
    color: #858bb0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

body.pma-mobile-template .pma-dashboard-panel .stats-count,
body.pma-mobile-template .pma-dashboard-panel .user-pannel-stat-value {
    color: #262d56 !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
}

body.pma-mobile-template .pma-account-panel .user-edit-page,
body.pma-mobile-template .pma-account-panel .user-edit-body,
body.pma-mobile-template .pma-account-panel .edit-body-inner,
body.pma-mobile-template .pma-account-panel .safe-edit-body {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
}

body.pma-mobile-template .pma-account-panel .eidt-box,
body.pma-mobile-template .pma-account-panel .safe-eidt-box {
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px !important;
    border: 1px solid rgba(234, 236, 255, .92) !important;
    border-radius: 15px !important;
    background: #fff !important;
}

body.pma-mobile-template .pma-account-panel .edit-info {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-account-panel .edit_btn {
    flex: 0 0 auto;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #eef1ff !important;
    color: var(--pma-blue) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.pma-mobile-template .pma-msg-panel img,
body.pma-mobile-template .pma-msg-panel .avatar,
body.pma-mobile-template .pma-msg-panel [class*="avatar"] img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 13px !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-native-moment .moment-push-form {
    padding: 14px !important;
}

body.pma-mobile-template .pma-native-moment .mo-form-within {
    border: 1px solid #eceeff !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fbfbff, #f6f7ff) !important;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment .mo-content-form,
body.pma-mobile-template .pma-native-moment #pix-moment-editor,
body.pma-mobile-template .pma-native-moment #moment_content {
    min-height: 118px !important;
    background: transparent !important;
    color: #2b3157 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

body.pma-mobile-template .pma-native-moment .mo-tool-nav {
    padding: 10px 2px 0 !important;
}

body.pma-mobile-template .pma-native-moment .left-tool {
    flex: 1 1 auto;
    min-width: 0;
}

body.pma-mobile-template .pma-native-moment .left-tool a.mo-btn,
body.pma-mobile-template .pma-native-moment .left-tool button,
body.pma-mobile-template .pma-native-moment .right-tool a.mo-btn,
body.pma-mobile-template .pma-native-moment .mo-setting {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #eef1ff !important;
    color: #6d75ad !important;
}

body.pma-mobile-template .pma-native-moment .bottom-tools {
    gap: 10px;
    padding-top: 12px !important;
}

body.pma-mobile-template .pma-native-moment .mo-cat {
    flex: 1 1 190px;
    min-width: 0;
}

body.pma-mobile-template .pma-native-moment .push-box {
    flex: 0 0 auto;
    margin-left: auto;
}

body.pma-mobile-template .pma-native-moment a.mo-tag-btn,
body.pma-mobile-template .pma-native-moment a.mo-cir-btn {
    max-width: 128px;
    min-height: 34px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    background: #eef1ff !important;
    color: #6470c0 !important;
    font-size: 13px !important;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment a.mo-tag-btn span,
body.pma-mobile-template .pma-native-moment a.mo-cir-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-native-moment .push-mo-btn {
    min-width: 92px;
    min-height: 40px;
}

body.pma-mobile-template .pma-native-moment .moment_item {
    padding: 14px !important;
}

body.pma-mobile-template .pma-native-moment .moment-single-inner {
    padding: 0 !important;
    background: transparent !important;
}

body.pma-mobile-template .pma-native-moment .mo-meta {
    gap: 6px;
    flex-wrap: nowrap;
}

body.pma-mobile-template .pma-native-moment .mo-meta > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

body.pma-mobile-template .pma-native-moment .mo-meta .right {
    flex: 0 1 auto;
    max-width: 122px;
}

body.pma-mobile-template .pma-native-moment .nickname {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment .nickname a {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-native-moment .mosub-meta {
    margin-top: 2px;
}

body.pma-mobile-template .pma-native-moment .moment-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

body.pma-mobile-template .pma-native-moment .moment-footer .left,
body.pma-mobile-template .pma-native-moment .moment-footer .right {
    min-width: 0;
    flex-wrap: nowrap;
}

body.pma-mobile-template .pma-native-moment .moment-footer .item,
body.pma-mobile-template .pma-native-moment .moment-comment-btn,
body.pma-mobile-template .pma-native-moment .like-btn,
body.pma-mobile-template .pma-native-moment .collect-btn,
body.pma-mobile-template .pma-native-moment .moment-share-btn {
    min-width: 0;
    padding: 0 6px;
    font-size: 12px !important;
}

body.pma-mobile-template .pma-native-moment .img_list .list_inner,
body.pma-mobile-template .pma-native-moment .mo-gallery-list,
body.pma-mobile-template .pma-native-moment .ppo-gallery {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px !important;
}

body.pma-mobile-template .pma-native-moment .img_list.is-single .list_inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 250px !important;
}

body.pma-mobile-template .pma-native-moment .img_list .mo_img,
body.pma-mobile-template .pma-native-moment .img_list .fancybox,
body.pma-mobile-template .pma-native-moment .mo-gallery-list a,
body.pma-mobile-template .pma-native-moment .ppo-gallery a {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
}

body.pma-mobile-template .pma-native-moment .img_list.is-single .mo_img,
body.pma-mobile-template .pma-native-moment .img_list.is-single .fancybox {
    aspect-ratio: 4 / 3;
}

body.pma-mobile-template .pma-native-moment .img_list img,
body.pma-mobile-template .pma-native-moment .mo-gallery-list img,
body.pma-mobile-template .pma-native-moment .ppo-gallery img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-native-moment .moment-file-down-box,
body.pma-mobile-template .pma-native-moment .card-box {
    width: 100% !important;
    max-width: 100% !important;
}

body.pma-mobile-template .pma-native-moment .moment-file-down-box {
    display: flex !important;
    align-items: center;
}

body.pma-mobile-template .pma-native-moment .moment-file-down-box .left span,
body.pma-mobile-template .pma-native-moment .card-box .card-img {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex-basis: 46px !important;
}

body.pma-mobile-template .pma-native-moment .moment-file-down-box .right {
    flex: 0 0 auto;
}

body.pma-mobile-template .pma-native-moment .pix-moment2-panel,
body.pma-mobile-template .pma-native-moment .mo-toggle-box,
body.pma-mobile-template .pma-native-moment .uk-dropdown {
    width: min(100%, 340px) !important;
    max-width: calc(100vw - 28px) !important;
    border-radius: 16px !important;
}

body.pma-mobile-template .pma-bottom {
    left: 50%;
    right: auto;
    width: min(100%, 520px);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
}

body.pma-mobile-template .pma-bottom-item,
body.pma-mobile-template .pma-bottom-compose {
    justify-self: center;
}

body.pma-mobile-template .pma-bottom-icon i {
    font-size: 22px !important;
}

body.pma-mobile-template .pma-bottom-user .pma-bottom-icon img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
}

@media (max-width: 390px) {
    body.pma-mobile-template .pma-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.pma-mobile-template .pma-dashboard-hero {
        min-height: 282px;
        border-radius: 20px;
    }

    body.pma-mobile-template .pma-dashboard-user {
        left: 14px;
        right: 14px;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }

    body.pma-mobile-template .pma-account-avatar {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
        border-radius: 18px;
    }

    body.pma-mobile-template .pma-dashboard-info h2 {
        font-size: 18px;
    }

    body.pma-mobile-template .pma-profile-stats {
        left: 10px;
        right: 10px;
        gap: 7px;
    }

    body.pma-mobile-template .pma-profile-stats a {
        min-height: 66px;
        border-radius: 14px;
    }

    body.pma-mobile-template .pma-native-moment .moment-single-inner {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 9px;
    }

    body.pma-mobile-template .pma-native-moment .moment-avatar,
    body.pma-mobile-template .pma-native-moment .moment-avatar a,
    body.pma-mobile-template .pma-native-moment .moment-avatar img,
    body.pma-mobile-template .pma-native-moment img.mo-ava {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    body.pma-mobile-template .pma-native-moment .nickname a {
        max-width: 92px;
    }
}

/* Mobile rewrite surfaces: dashboard overview and moment feed no longer depend on PC layout. */
body.pma-mobile-template .pma-dashboard-mobile {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-mobile-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 2px 0;
    color: #2b3158;
    font-size: 16px;
    font-weight: 850;
}

body.pma-mobile-template .pma-mobile-section-title a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef1ff;
    color: #5864ff;
    font-size: 12px;
    font-weight: 800;
}

body.pma-mobile-template .pma-dashboard-menu-grid,
body.pma-mobile-template .pma-dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.pma-mobile-template .pma-dashboard-menu-grid a,
body.pma-mobile-template .pma-dashboard-stat-grid a {
    min-width: 0;
    min-height: 82px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(234, 236, 255, .92);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f8f9ff);
    box-shadow: 0 10px 26px rgba(103, 110, 190, .08);
    color: #7f86ad;
    text-align: center;
}

body.pma-mobile-template .pma-dashboard-menu-grid i,
body.pma-mobile-template .pma-dashboard-stat-grid i {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef1ff;
    color: #5864ff;
    font-size: 18px !important;
}

body.pma-mobile-template .pma-dashboard-menu-grid span,
body.pma-mobile-template .pma-dashboard-stat-grid span {
    max-width: 100%;
    color: #838ab0;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-dashboard-stat-grid strong {
    color: #252b52;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

body.pma-mobile-template .pma-wallet-strip {
    display: grid;
    gap: 10px;
}

body.pma-mobile-template .pma-wallet-strip a {
    min-height: 66px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(234, 236, 255, .92);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(103, 110, 190, .08);
}

body.pma-mobile-template .pma-wallet-strip i {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef1ff;
    color: #5864ff;
    font-size: 20px !important;
}

body.pma-mobile-template .pma-wallet-strip span {
    color: #7f86ad;
    font-size: 13px;
    font-weight: 750;
}

body.pma-mobile-template .pma-wallet-strip strong {
    color: #252b52;
    font-size: 16px;
    font-weight: 900;
}

body.pma-mobile-template .pma-dashboard-native-panel {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body.pma-mobile-template .pma-mobile-moment-app {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-mobile-moment-app .mo-top-banner,
body.pma-mobile-template .pma-mobile-moment-app .moment-rec-cat,
body.pma-mobile-template .pma-mobile-moment-app .mos-notice-bar,
body.pma-mobile-template .pma-mobile-moment-app .moment-cat-filter,
body.pma-mobile-template .pma-mobile-moment-app .moment-push-form,
body.pma-mobile-template .pma-mobile-moment-card {
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 12px 34px rgba(101, 108, 190, .1) !important;
    overflow: hidden;
}

body.pma-mobile-template .pma-mobile-composer {
    padding: 13px !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-banner-info,
body.pma-mobile-template .pma-mobile-composer .mo-top-banner,
body.pma-mobile-template .pma-mobile-composer .moment-rec-cat,
body.pma-mobile-template .pma-mobile-composer .mos-notice-bar {
    margin-bottom: 10px !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-user-box {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-user-inner {
    min-height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 !important;
}

body.pma-mobile-template .pma-mobile-composer .left-info {
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 9px;
}

body.pma-mobile-template .pma-mobile-composer .left-info .left,
body.pma-mobile-template .pma-mobile-composer .left-info .left img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-mobile-composer .u-info {
    min-width: 0;
}

body.pma-mobile-template .pma-mobile-composer .u-info .name {
    max-width: 150px;
    color: #2b3158;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pma-mobile-template .pma-mobile-composer .u-info .u-num {
    color: #9aa0bf;
    font-size: 11px;
    line-height: 1.4;
}

body.pma-mobile-template .pma-mobile-composer .right-btn {
    display: none !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-form-within {
    border: 1px solid rgba(235, 237, 255, .96) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(248, 249, 255, .96), rgba(244, 246, 255, .96)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.pma-mobile-template .pma-mobile-composer .mo-title-form {
    padding: 12px 12px 0 !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-title-form input {
    min-height: 34px !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #293058 !important;
    font-size: 15px !important;
    font-weight: 800;
}

body.pma-mobile-template .pma-mobile-composer .mo-title-form input::placeholder,
body.pma-mobile-template .pma-mobile-composer #moment_content::placeholder {
    color: #a3a8c7;
}

body.pma-mobile-template .pma-mobile-composer .mo-content-form {
    min-height: 112px !important;
    padding: 4px 12px 0 !important;
    background: transparent !important;
}

body.pma-mobile-template .pma-mobile-composer #moment_content,
body.pma-mobile-template .pma-mobile-composer #pix-moment-editor {
    min-height: 104px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-tool-nav {
    min-height: 46px;
    padding: 6px 10px 10px !important;
    border-top: 0 !important;
}

body.pma-mobile-template .pma-mobile-composer .left-tool {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

body.pma-mobile-template .pma-mobile-composer .left-tool::-webkit-scrollbar {
    display: none;
}

body.pma-mobile-template .pma-mobile-composer .fenge,
body.pma-mobile-template .pma-mobile-composer .right-tool {
    display: none !important;
}

body.pma-mobile-template .pma-mobile-composer .left-tool a.mo-btn,
body.pma-mobile-template .pma-mobile-composer .left-tool button,
body.pma-mobile-template .pma-mobile-composer .mo-setting {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #8a91bb !important;
    box-shadow: 0 8px 18px rgba(101, 108, 190, .08);
}

body.pma-mobile-template .pma-mobile-composer .left-tool i,
body.pma-mobile-template .pma-mobile-composer .mo-setting i {
    font-size: 18px !important;
}

body.pma-mobile-template .pma-mobile-composer .pix-moment2-panel {
    margin-top: 10px !important;
    border: 1px solid rgba(235, 237, 255, .96) !important;
    border-radius: 16px !important;
    background: #fbfbff !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-mobile-composer .pix-moment2-head {
    min-height: 44px;
    padding: 10px !important;
}

body.pma-mobile-template .pma-mobile-composer .pix-moment2-copy small {
    display: none !important;
}

body.pma-mobile-template .pma-mobile-composer .bottom-tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding-top: 12px !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-cat {
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: visible;
}

body.pma-mobile-template .pma-mobile-composer a.mo-cir-btn,
body.pma-mobile-template .pma-mobile-composer a.mo-tag-btn {
    max-width: 120px;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #eef1ff !important;
    color: #6370c3 !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-mobile-composer a.mo-cir-btn .cat-thum,
body.pma-mobile-template .pma-mobile-composer a.mo-cir-btn .cat-thum img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-mobile-composer a.mo-cir-btn span,
body.pma-mobile-template .pma-mobile-composer a.mo-tag-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

body.pma-mobile-template .pma-mobile-composer .push-box {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

body.pma-mobile-template .pma-mobile-composer .push-mo-btn {
    min-width: 92px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #5964ff, #6f79ff) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(88, 100, 255, .3);
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-tool-box .mo-toggle-box {
    display: none;
    margin-top: 10px !important;
    padding: 12px !important;
    border: 1px solid rgba(235, 237, 255, .96) !important;
    border-radius: 16px !important;
    background: #fbfbff !important;
}

body.pma-mobile-template .pma-mobile-composer .mo-tool-box .mo-toggle-box[style*="display: block"],
body.pma-mobile-template .pma-mobile-composer .mo-tool-box .mo-toggle-box[style*="display:block"] {
    display: block;
}

body.pma-mobile-template .pma-author-tabs .pma-segment-tab {
    min-width: 86px;
    flex-direction: column;
    gap: 2px;
}

body.pma-mobile-template .pma-author-tabs em {
    font-style: normal;
    font-size: 11px;
    opacity: .72;
}

body.pma-mobile-template .pma-author-content {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-author-list {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-follow-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.pma-mobile-template .pma-follow-switch a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eef1ff;
    color: #7e86ad;
    font-size: 14px;
    font-weight: 850;
}

body.pma-mobile-template .pma-follow-switch a.is-active {
    background: linear-gradient(135deg, #5964ff, #6f79ff);
    color: #fff;
}

body.pma-mobile-template .pma-author-follow .user-following-list,
body.pma-mobile-template .pma-author-follow .user-follower-list,
body.pma-mobile-template .pma-author-circles .user-moments-list,
body.pma-mobile-template .pma-author-circles [uk-grid] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
}

body.pma-mobile-template .pma-author-follow [class*="uk-width-"],
body.pma-mobile-template .pma-author-circles [class*="uk-width-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.pma-mobile-template .pma-mobile-moment-app .mo-top-banner {
    min-height: 152px !important;
    margin-bottom: 12px !important;
}

body.pma-mobile-template .pma-mobile-moment-app .mo-top-banner .banner-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-mobile-cat-filter {
    padding: 10px 2px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pma-mobile-template .pma-mobile-cat-filter ul,
body.pma-mobile-template .pma-mobile-cat-filter .cat-filter-list,
body.pma-mobile-template .pma-mobile-cat-filter .moment-cat-nav {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 2px !important;
    margin: 0 !important;
    scrollbar-width: none;
}

body.pma-mobile-template .pma-mobile-cat-filter ul::-webkit-scrollbar,
body.pma-mobile-template .pma-mobile-cat-filter .cat-filter-list::-webkit-scrollbar,
body.pma-mobile-template .pma-mobile-cat-filter .moment-cat-nav::-webkit-scrollbar {
    display: none;
}

body.pma-mobile-template .pma-mobile-feed {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-mobile-feed #moment-item {
    display: grid;
    gap: 12px;
}

body.pma-mobile-template .pma-mobile-moment-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
}

body.pma-mobile-template .pma-mobile-moment-card .moment-single-inner {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
}

body.pma-mobile-template .pma-mobile-moment-card .moment-avatar,
body.pma-mobile-template .pma-mobile-moment-card .moment-avatar a,
body.pma-mobile-template .pma-mobile-moment-card .moment-avatar img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 13px !important;
    object-fit: cover !important;
}

body.pma-mobile-template .pma-mobile-moment-card .moment-content-right,
body.pma-mobile-template .pma-mobile-moment-card .post-content,
body.pma-mobile-template .pma-mobile-moment-card .ppo-rich-text,
body.pma-mobile-template .pma-mobile-moment-card .ppo-rich-text-content {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.pma-mobile-template .pma-mobile-moment-card .mo-meta {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

body.pma-mobile-template .pma-mobile-moment-card .mo-meta .left {
    min-width: 0;
    flex: 1 1 auto;
}

body.pma-mobile-template .pma-mobile-moment-card .mo-meta .right {
    flex: 0 1 auto;
    max-width: 122px;
}

body.pma-mobile-template .pma-mobile-moment-card .nickname {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

body.pma-mobile-template .pma-mobile-moment-card .nickname > a {
    min-width: 0;
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2d345f;
    font-size: 15px;
    font-weight: 850;
}

body.pma-mobile-template .pma-mobile-moment-card .mosub-meta {
    color: #9aa0bf;
    font-size: 12px;
    line-height: 1.4;
}

body.pma-mobile-template .pma-mobile-moment-card .momoent_title,
body.pma-mobile-template .pma-mobile-moment-card .momoent_title a {
    color: #242a50 !important;
    font-size: 16px !important;
    line-height: 1.45;
    font-weight: 850;
}

body.pma-mobile-template .pma-mobile-moment-card .ppo-rich-text-content,
body.pma-mobile-template .pma-mobile-moment-card .ppo-rich-text-content p {
    color: #303650;
    font-size: 15px !important;
    line-height: 1.7;
}

body.pma-mobile-template .pma-mobile-moment-card .moment-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f2fb;
}

body.pma-mobile-template .pma-mobile-moment-card .moment-footer .left,
body.pma-mobile-template .pma-mobile-moment-card .moment-footer .right {
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

body.pma-mobile-template .pma-mobile-moment-card .like-btn,
body.pma-mobile-template .pma-mobile-moment-card .collect-btn,
body.pma-mobile-template .pma-mobile-moment-card .moment-share-btn,
body.pma-mobile-template .pma-mobile-moment-card .moment-comment-btn {
    min-width: 0;
    min-height: 32px;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    border-radius: 999px;
    background: transparent !important;
    color: #7f86ad !important;
    font-size: 13px !important;
    font-weight: 750;
}

body.pma-mobile-template .pma-mobile-moment-card .like-btn i,
body.pma-mobile-template .pma-mobile-moment-card .collect-btn i,
body.pma-mobile-template .pma-mobile-moment-card .moment-share-btn i,
body.pma-mobile-template .pma-mobile-moment-card .moment-comment-btn i {
    font-size: 19px !important;
}

body.pma-mobile-template .pma-mobile-moment-card .like-btn.liked,
body.pma-mobile-template .pma-mobile-moment-card .collect-btn.coled,
body.pma-mobile-template .pma-mobile-moment-card .like-btn[action="liked"],
body.pma-mobile-template .pma-mobile-moment-card .collect-btn[action="coled"] {
    color: #5864ff !important;
}

body.pma-mobile-template .pma-mobile-moment-card .moment_comments_wrap {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #f7f8ff;
}

body.pma-mobile-template .pma-mobile-pager {
    display: flex;
    justify-content: center;
    padding: 4px 0 10px;
}

body.pma-mobile-template .pma-mobile-pager .loadmore-btn {
    min-height: 42px;
    min-width: 148px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef1ff;
    color: #5864ff;
    font-size: 14px;
    font-weight: 850;
}

body.pma-mobile-template .pma-empty {
    min-height: 160px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border-radius: 20px;
    background: #fff;
    color: #8d93b6;
    box-shadow: 0 12px 34px rgba(101, 108, 190, .08);
}

body.pma-mobile-template .pma-empty img {
    width: 82px !important;
    height: 82px !important;
    object-fit: contain !important;
}

@media (max-width: 390px) {
    body.pma-mobile-template .pma-dashboard-menu-grid,
    body.pma-mobile-template .pma-dashboard-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    body.pma-mobile-template .pma-dashboard-menu-grid a,
    body.pma-mobile-template .pma-dashboard-stat-grid a {
        min-height: 74px;
        border-radius: 14px;
    }

    body.pma-mobile-template .pma-dashboard-menu-grid i,
    body.pma-mobile-template .pma-dashboard-stat-grid i {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    body.pma-mobile-template .pma-dashboard-menu-grid span,
    body.pma-mobile-template .pma-dashboard-stat-grid span {
        font-size: 11px;
    }
}
