.qm-community-mobile {
    display: none;
}

@media (max-width: 767.98px) {
    html,
    body.qm-community-index-page {
        background: #f4f4f4 !important;
    }

    html:has(body.qm-community-index-page) {
        padding-bottom: 0 !important;
        scroll-padding-bottom: 0 !important;
    }

    body.qm-community-index-page {
        color: var(--qm-color-text);
        font-family: var(--qm-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
        letter-spacing: 0;
        padding-bottom: 0 !important;
    }

    body.qm-community-index-page #qm-header,
    body.qm-community-index-page .qm-community-desktop,
    body.qm-community-index-page .site-footer,
    body.qm-community-index-page #qm-bottom-nav {
        display: none !important;
    }

    .qm-community-mobile,
    .qm-community-mobile * {
        box-sizing: border-box;
    }

    .qm-community-mobile {
        --circle-card: #fefefd;
        --circle-ink: #343433;
        --circle-muted: #666666;
        --circle-faint: #b4aeb4;
        --circle-violet: #ae81ef;
        --circle-pink: #f262f0;
        --circle-lime: #cefb48;
        display: block;
        width: 100%;
        max-width: 767px;
        min-width: 0;
        margin: 0 auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow-x: hidden;
        overflow-x: clip;
        background: #f4f4f4;
        color: var(--circle-ink);
    }

    .qm-circle-hero {
        position: relative;
        height: 155px;
        padding: 0 18px 0 17px;
        overflow: hidden;
        background:
            radial-gradient(ellipse 64% 86% at 8% 4%, rgba(232, 203, 225, 0.98) 0%, rgba(232, 203, 225, 0.64) 38%, rgba(232, 203, 225, 0) 76%),
            radial-gradient(ellipse 58% 70% at 54% 0%, rgba(255, 230, 193, 0.82) 0%, rgba(255, 230, 193, 0) 74%),
            radial-gradient(ellipse 72% 92% at 100% 4%, rgba(232, 247, 180, 0.98) 0%, rgba(232, 247, 180, 0.58) 46%, rgba(232, 247, 180, 0) 82%),
            linear-gradient(180deg, #f8eef3 0%, #f4f4f4 100%);
    }

    .qm-circle-miniapp-toolbar {
        display: flex;
        align-items: center;
        width: 100%;
        height: 44px;
        gap: 9px;
    }

    .qm-circle-user-chip {
        display: flex;
        min-width: 0;
        max-width: calc(100% - 125px);
        height: 34px;
        align-items: center;
        border-radius: var(--qm-radius-pill);
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .qm-circle-user-chip:active {
        opacity: 0.72;
    }

    .qm-circle-user-chip:focus-visible {
        outline: 2px solid var(--circle-ink);
        outline-offset: 2px;
    }

    .qm-circle-user-chip img {
        position: relative;
        z-index: 2;
        display: block;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border: 2px solid rgba(255, 255, 255, 0.72);
        border-radius: var(--qm-radius-circle);
        background: rgba(255, 255, 255, 0.82);
        object-fit: cover;
        object-position: center;
    }

    .qm-circle-user-chip span {
        display: flex;
        min-width: 0;
        height: 28px;
        margin-left: -4px;
        padding: 0 13px 0 11px;
        align-items: center;
        overflow: hidden;
        border-radius: 0 var(--qm-radius-pill) var(--qm-radius-pill) 0;
        background: rgba(255, 255, 255, 0.76);
        color: var(--circle-ink);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qm-circle-miniapp-controls {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 116px;
        height: 34px;
        margin-left: auto;
        flex: 0 0 116px;
        border-radius: var(--qm-radius-pill);
        background: rgba(255, 255, 255, 0.5);
        color: var(--qm-color-text);
        font-size: 16px;
    }

    .qm-circle-miniapp-control,
    .qm-circle-miniapp-status {
        display: inline-flex;
        width: 32px;
        height: 32px;
        padding: 0;
        flex: 0 0 32px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: var(--qm-radius-circle);
        background: transparent;
        color: inherit;
        font: inherit;
        line-height: 1;
        text-decoration: none;
    }

    .qm-circle-miniapp-control,
    .qm-circle-miniapp-status {
        cursor: pointer;
    }

    .qm-circle-miniapp-control {
        appearance: none;
        -webkit-appearance: none;
    }

    .qm-circle-miniapp-control:active,
    .qm-circle-miniapp-status:active {
        background: rgba(52, 52, 51, 0.08);
    }

    .qm-circle-miniapp-control:focus-visible,
    .qm-circle-miniapp-status:focus-visible {
        outline: 3px solid rgba(174, 129, 239, 0.52);
        outline-offset: 1px;
    }

    .qm-circle-miniapp-divider {
        width: 1px;
        height: 21px;
        flex: 0 0 1px;
        background: rgba(52, 52, 51, 0.12);
    }

    html.dark:has(body.qm-community-index-page),
    body.qm-community-index-page.dark {
        background: var(--qm-bg-dark) !important;
    }

    html.dark .qm-community-mobile {
        --circle-card: var(--qm-color-surface);
        --circle-ink: var(--qm-text-primary);
        --circle-muted: var(--qm-text-secondary);
        --circle-faint: var(--qm-text-muted);
        background: var(--qm-bg-dark);
    }

    html.dark .qm-circle-hero {
        background:
            radial-gradient(ellipse 64% 86% at 8% 4%, rgba(112, 75, 105, 0.74) 0%, rgba(78, 54, 74, 0.5) 38%, rgba(35, 30, 35, 0) 76%),
            radial-gradient(ellipse 58% 70% at 54% 0%, rgba(116, 91, 59, 0.5) 0%, rgba(55, 44, 31, 0) 74%),
            radial-gradient(ellipse 72% 92% at 100% 4%, rgba(80, 102, 48, 0.66) 0%, rgba(51, 64, 34, 0.42) 46%, rgba(30, 34, 26, 0) 82%),
            linear-gradient(180deg, #282229 0%, #151518 100%);
    }

    html.dark .qm-circle-user-chip span,
    html.dark .qm-circle-miniapp-controls {
        background: var(--qm-glass-bg);
        border: 1px solid var(--qm-glass-border);
        -webkit-backdrop-filter: var(--qm-blur-sm);
        backdrop-filter: var(--qm-blur-sm);
    }

    html.dark .qm-circle-user-chip img {
        border-color: var(--qm-glass-border);
        background: var(--qm-gray-dark-surface-raised);
    }

    html.dark .qm-circle-miniapp-controls {
        color: #f4f2f5;
    }

    html.dark .qm-circle-miniapp-divider {
        background: rgba(255, 255, 255, 0.16);
    }

    html.dark .qm-circle-miniapp-control:active,
    html.dark .qm-circle-miniapp-status:active {
        background: rgba(255, 255, 255, 0.1);
    }

    html.dark .qm-circle-search {
        background: var(--qm-glass-bg-strong);
        border-color: var(--qm-glass-border);
        -webkit-backdrop-filter: var(--qm-blur-sm);
        backdrop-filter: var(--qm-blur-sm);
    }

    html.dark .qm-my-circles-create > i {
        background: var(--qm-gray-dark-surface-raised);
    }

    html.dark .qm-my-circles-copy strong {
        color: #e8e4ea;
    }

    html.dark .qm-circle-promo {
        color: var(--circle-ink);
    }

    html.dark .qm-circle-promo b {
        background: var(--qm-bg-dark-800);
    }

    .qm-circle-hero h1 {
        display: flex;
        margin: 10px 0 0;
        overflow: hidden;
        align-items: center;
        gap: 5px;
        color: var(--circle-ink);
        font-size: 21px;
        font-weight: 800;
        line-height: 1.2;
        text-overflow: clip;
        white-space: nowrap;
    }

    .qm-circle-greeting-copy {
        min-width: 0;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
    }

    .qm-circle-pixel-parenthesis {
        display: inline-block;
        width: 9px;
        height: 24px;
        flex: 0 0 9px;
        background:
            linear-gradient(currentColor 0 0) 5px 0 / 4px 4px no-repeat,
            linear-gradient(currentColor 0 0) 2px 4px / 4px 4px no-repeat,
            linear-gradient(currentColor 0 0) 0 8px / 3px 8px no-repeat,
            linear-gradient(currentColor 0 0) 2px 16px / 4px 4px no-repeat,
            linear-gradient(currentColor 0 0) 5px 20px / 4px 4px no-repeat;
    }

    .qm-circle-pixel-parenthesis--right {
        transform: scaleX(-1);
    }

    .qm-circle-search-row {
        display: flex;
        align-items: center;
        height: 41px;
        margin-top: 14px;
        gap: 16px;
    }

    .qm-circle-search {
        display: flex;
        align-items: center;
        min-width: 0;
        height: 41px;
        flex: 1 1 auto;
        gap: 9px;
        padding: 0 15px;
        border-radius: var(--qm-radius-pill);
        background: rgba(255, 255, 255, 0.94);
        color: var(--circle-ink);
    }

    .qm-circle-search > i {
        flex: 0 0 auto;
        font-size: 18px;
    }

    .qm-circle-search input {
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--circle-ink);
        appearance: none;
        -webkit-appearance: none;
        font: inherit;
        font-size: 13px;
        line-height: 1.2;
    }

    .qm-circle-search input::placeholder {
        color: var(--circle-faint);
        opacity: 1;
    }

    .qm-circle-search:focus-within {
        box-shadow: 0 0 0 3px rgba(174, 129, 239, 0.2);
    }

    .qm-circle-checkin {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 39px;
        height: 44px;
        padding: 0;
        flex: 0 0 39px;
        flex-direction: column;
        border: 0;
        background: transparent;
        color: #a287c8;
    }

    .qm-circle-checkin i {
        height: 27px;
        font-size: 26px;
        line-height: 27px;
    }

    .qm-circle-checkin span {
        min-width: 38px;
        margin-top: -1px;
        padding: 3px 5px;
        border-radius: var(--qm-radius-pill);
        background: var(--circle-ink);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
    }

    .qm-circle-checkin:focus-visible,
    .qm-my-circles a:focus-visible,
    .qm-circle-categories .qm-community-tab:focus-visible,
    .qm-circle-topic-feed a:focus-visible {
        outline: 3px solid rgba(174, 129, 239, 0.52);
        outline-offset: 2px;
    }

    .qm-circle-content {
        padding: 0 18px 28px 17px;
    }

    .qm-my-circles {
        position: relative;
        height: 232px;
        overflow: visible;
        border-radius: 15px;
        background: var(--circle-card);
        box-shadow: var(--qm-shadow-lg);
    }

    .qm-my-circles-banner {
        position: relative;
        height: 64px;
        overflow: hidden;
        border-radius: 15px 15px 0 0;
        background:
            linear-gradient(118deg, #9869e7 0%, #b481ef 44%, #9d6de8 74%, #c598f3 100%);
    }

    .qm-my-circles-banner::before {
        position: absolute;
        inset: 3px 0 auto 103px;
        color: rgba(255, 255, 255, 0.06);
        content: "MINE";
        font-size: 45px;
        font-weight: 900;
        line-height: 1;
    }

    .qm-my-circles-banner::after {
        position: absolute;
        right: -6%;
        bottom: -8px;
        left: -5%;
        height: 15px;
        border-radius: var(--qm-radius-circle) 46% 0 0 / 100% 100% 0 0;
        background: var(--circle-card);
        content: "";
    }

    .qm-my-circles-banner h2 {
        position: absolute;
        z-index: 2;
        top: 3px;
        left: 47px;
        margin: 0;
        color: #fff;
        font-size: 24px;
        font-weight: 900;
        line-height: 1.1;
        text-shadow: 0 1px 2px rgba(91, 50, 151, 0.38);
    }

    .qm-my-circles-checker {
        position: absolute;
        z-index: 2;
        display: block;
        width: 30px;
        height: 13px;
        transform: skewX(-16deg);
        border-radius: var(--qm-radius-pill);
        background-size: 8px 8px;
    }

    .qm-my-circles-checker--dark {
        top: 6px;
        left: 11px;
        background-color: #343433;
        background-image: repeating-conic-gradient(#fff 0 25%, transparent 0 50%);
    }

    .qm-my-circles-checker--pink {
        top: 24px;
        left: 151px;
        width: 32px;
        background-color: var(--circle-pink);
        background-image: repeating-conic-gradient(#fff 0 25%, transparent 0 50%);
    }

    .qm-my-circles-underline {
        position: absolute;
        z-index: 2;
        top: 34px;
        left: 42px;
        width: 96px;
        height: 4px;
        transform: rotate(-3deg);
        border-radius: var(--qm-radius-pill);
        background: var(--circle-lime);
    }

    .qm-my-circles-art {
        position: absolute;
        z-index: 4;
        top: -37px;
        right: -12px;
        display: block;
        width: 86px;
        height: auto;
        pointer-events: none;
        user-select: none;
        object-fit: contain;
    }

    .qm-my-circles-grid {
        display: grid;
        width: 100%;
        height: 165px;
        padding: 0 11px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, 55px);
        touch-action: pan-y;
    }

    .qm-my-circles-grid a {
        color: inherit;
        text-decoration: none;
    }

    .qm-my-circles-create {
        order: 0;
    }

    .qm-my-circles-item {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        transition:
            opacity var(--qm-duration-fast) ease,
            transform var(--qm-duration-fast) ease;
    }

    .qm-my-circles-grid.is-cycle-transitioning .qm-my-circles-item {
        opacity: 0;
        transform: translate3d(0, 4px, 0) scale(0.98);
    }

    .qm-my-circles-create,
    .qm-my-circles-item {
        display: flex;
        align-items: center;
        min-width: 0;
        height: 42px;
        align-self: center;
        gap: 11px;
    }

    .qm-my-circles-item[hidden] {
        display: none !important;
    }

    .qm-my-circles-create > i,
    .qm-my-circles-item > img {
        display: block;
        width: 37px;
        height: 37px;
        flex: 0 0 37px;
        border-radius: var(--qm-radius-circle);
        object-fit: cover;
        object-position: center;
    }

    .qm-my-circles-create > i {
        color: #bd63f1;
        background: #fff;
        font-size: 37px;
        line-height: 37px;
    }

    .qm-my-circles-create > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 29px;
        padding: 0 13px;
        border-radius: var(--qm-radius-pill);
        background: var(--circle-ink);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
    }

    html.dark .qm-circle-checkin span,
    html.dark .qm-my-circles-create > span {
        background: var(--qm-primary-dark);
        color: #ffffff;
    }

    html.dark .qm-my-circles-create > i {
        background: var(--qm-gray-dark-surface-raised);
    }

    .qm-my-circles-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 1px;
    }

    .qm-my-circles-copy strong {
        overflow: hidden;
        color: var(--qm-color-text);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qm-my-circles-copy small {
        overflow: hidden;
        color: var(--circle-faint);
        font-size: 10px;
        font-weight: 400;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qm-circle-announcement {
        display: flex;
        align-items: center;
        height: 37px;
        margin-top: 14px;
        gap: 11px;
        padding: 0 15px;
        overflow: hidden;
        border-radius: var(--qm-radius-pill);
        background: var(--circle-card);
        color: var(--circle-faint);
        font-size: 11px;
        line-height: 1.2;
    }

    .qm-circle-announcement i {
        flex: 0 0 auto;
        color: var(--circle-ink);
        font-size: 15px;
    }

    .qm-circle-announcement span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qm-circle-promos {
        display: grid;
        height: 92px;
        margin-top: 14px;
        gap: 11px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qm-circle-promo-shape-defs {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .qm-circle-promo {
        position: relative;
        isolation: isolate;
        display: block;
        min-width: 0;
        height: 92px;
        padding: 13px 12px;
        overflow: visible;
        color: var(--circle-ink);
        text-decoration: none;
    }

    .qm-circle-promo::before,
    .qm-circle-promo::after {
        position: absolute;
        pointer-events: none;
        content: "";
    }

    .qm-circle-promo::before {
        z-index: -2;
        inset: 0;
        -webkit-clip-path: url("#qm-circle-promo-shape");
        clip-path: url("#qm-circle-promo-shape");
        background: var(--promo-gradient);
    }

    .qm-circle-promo::after {
        z-index: -1;
        right: 0;
        bottom: 0;
        left: 0;
        height: 27px;
        border-radius: 0 0 var(--qm-radius-size-3) var(--qm-radius-size-3);
        background: repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.82) 0 25%,
            rgba(255, 255, 255, 0.1) 0 50%
        ) 0 0 / 24px 24px;
        opacity: 0.72;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
    }

    .qm-circle-promo--draw {
        --promo-gradient: linear-gradient(160deg, #d0a0fa 0%, #e4d2fb 54%, #f4edfd 100%);
    }

    .qm-circle-promo--rules {
        --promo-gradient: linear-gradient(160deg, #ff98e6 0%, #ffc6ee 54%, #ffeafa 100%);
    }

    .qm-circle-promo strong,
    .qm-circle-promo > span,
    .qm-circle-promo b {
        position: relative;
        z-index: 2;
        display: block;
        width: max-content;
        max-width: 96px;
    }

    .qm-circle-promo strong {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.2;
    }

    .qm-circle-promo > span {
        margin-top: 2px;
        color: var(--qm-color-text-secondary);
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Promo cards intentionally retain a light branded fill in both themes. */
    html.dark .qm-circle-promo strong {
        color: var(--qm-color-text);
    }

    html.dark .qm-circle-promo > span {
        color: var(--qm-color-text-secondary);
    }

    .qm-circle-promo b {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 21px;
        margin-top: 7px;
        border-radius: var(--qm-radius-pill);
        background: var(--circle-ink);
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        line-height: 1;
    }

    .qm-circle-promo img {
        position: absolute;
        z-index: 3;
        top: -26px;
        right: -10px;
        display: block;
        width: 76px;
        height: 108px;
        object-fit: contain;
        object-position: right center;
    }

    .qm-circle-topic-feed {
        margin-top: 14px;
    }

    .qm-circle-categories {
        position: sticky;
        z-index: 20;
        top: 0;
        display: flex;
        width: calc(100% + 8px);
        height: 41px;
        margin-top: 0;
        padding: 0;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: center;
        background: #f4f4f4;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .qm-circle-categories-anchor {
        width: calc(100% + 8px);
        height: 41px;
    }

    .qm-circle-categories-anchor .qm-circle-categories {
        position: relative;
        width: 100%;
    }

    .qm-circle-categories-anchor.is-fixed .qm-circle-categories {
        position: fixed;
        z-index: 1000;
        top: 0;
        left: var(--qm-circle-tabs-left, 0);
        width: var(--qm-circle-tabs-width, 100%);
        margin: 0;
    }

    html.dark .qm-circle-categories {
        background: #151518;
    }

    .qm-circle-categories::-webkit-scrollbar {
        display: none;
    }

    .qm-circle-categories .qm-community-tab {
        position: relative;
        display: flex;
        height: 41px;
        padding: 0;
        flex: 0 0 62px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 0;
        appearance: none;
        -webkit-appearance: none;
        background: transparent;
        color: var(--circle-muted);
        font-size: 15px;
        font-weight: 400;
        line-height: 1.3;
        opacity: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

    .qm-circle-categories .qm-community-tab:first-child {
        flex-basis: 55px;
        justify-content: flex-start;
    }

    .qm-circle-categories .qm-community-tab:last-child {
        flex-basis: 62px;
    }

    .qm-circle-categories .qm-community-tab.is-active {
        background: transparent;
        color: var(--circle-ink);
        font-size: 18px;
        font-weight: 800;
    }

    .qm-circle-categories .qm-community-tab.is-active::after {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 32px;
        height: 7px;
        transform: translateX(-50%);
        background:
            linear-gradient(var(--circle-ink), var(--circle-ink)) 0 0 / 4px 3px no-repeat,
            linear-gradient(var(--circle-ink), var(--circle-ink)) 28px 0 / 4px 3px no-repeat,
            linear-gradient(var(--circle-ink), var(--circle-ink)) 4px 2px / 4px 3px no-repeat,
            linear-gradient(var(--circle-ink), var(--circle-ink)) 24px 2px / 4px 3px no-repeat,
            linear-gradient(var(--circle-ink), var(--circle-ink)) 8px 4px / 16px 3px no-repeat;
        content: "";
    }

    .qm-circle-categories .qm-community-tab:first-child.is-active::after {
        left: 0;
        transform: none;
    }

    .qm-circle-topic-panels {
        margin-top: 10px;
    }

    .qm-circle-topic-feed .qm-community-topic-list {
        width: 100%;
        min-width: 0;
        margin-top: 0;
        gap: 12px;
    }

    .qm-circle-topic-feed .qm-community-topic {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border: 0;
        border-radius: var(--qm-radius-size-3);
        overflow: visible;
        background: var(--circle-card);
        box-shadow: none;
    }

    html.dark .qm-circle-topic-feed .qm-community-topic {
        background: var(--circle-card);
    }

    .qm-circle-topic-feed .qm-community-topic__body {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 13px 12px 11px;
    }

    .qm-circle-topic-feed .qm-community-topic__header {
        min-height: 42px;
        gap: 8px;
    }

    .qm-circle-topic-feed .qm-community-topic__author {
        gap: 9px;
    }

    .qm-circle-topic-feed .qm-community-topic__avatar {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: var(--qm-radius-circle);
    }

    .qm-circle-topic-feed .qm-community-topic__author-text {
        gap: 3px;
    }

    .qm-circle-topic-feed .qm-community-topic__name-row {
        flex-wrap: nowrap;
        gap: 4px;
    }

    .qm-circle-topic-feed .qm-community-topic__name {
        max-width: 152px;
        color: var(--circle-ink);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.15;
    }

    .qm-circle-topic-feed .qm-community-topic__badges {
        display: inline-flex;
        flex: 0 0 auto;
        overflow: visible;
    }

    .qm-circle-topic-feed .qm-community-topic__badges > :not(.qm-level-badge):not(.qm-level-badge-sm) {
        display: none;
    }

    .qm-circle-topic-feed .qm-community-topic__time {
        color: var(--circle-faint);
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2;
    }

    .qm-circle-topic-feed .qm-community-topic__header-actions {
        height: auto;
        min-height: 40px;
        max-height: none;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .qm-circle-topic-feed .qm-community-topic__status-list {
        height: 18px;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .qm-circle-topic-feed .qm-community-topic__status {
        height: 18px;
        min-height: 18px;
        padding: 2px 7px;
        border-radius: var(--qm-radius-size-1);
        font-size: 10px;
    }

    .qm-circle-topic-feed .qm-community-topic__menu > summary {
        position: relative;
        width: 40px;
        height: 26px;
        justify-content: flex-end;
        padding-right: 0;
        font-size: 14px;
    }

    .qm-circle-topic-feed .qm-community-topic__menu > summary::before {
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        content: "";
    }

    .qm-circle-topic-feed .qm-community-topic__menu-panel {
        top: 46px;
        min-width: 126px;
        border-radius: var(--qm-radius-size-1);
    }

    .qm-circle-topic-feed .qm-community-topic__menu-panel .qm-topic-action {
        min-height: 40px;
    }

    .qm-circle-topic-feed .qm-community-topic__title-link {
        margin-top: 13px;
    }

    .qm-circle-topic-feed .qm-community-topic__title {
        color: var(--circle-ink);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.55;
    }

    .qm-circle-topic-feed .qm-community-topic__board {
        min-height: 22px;
        margin-right: 7px;
        padding: 2px 8px 2px 5px;
        border-radius: var(--qm-radius-pill);
        background: var(--circle-ink);
        color: var(--circle-card);
        font-size: 10px;
        font-weight: 600;
        vertical-align: 2px;
    }

    .qm-circle-topic-feed .qm-community-topic__board > span {
        width: 15px;
        height: 15px;
        margin-right: 4px;
        border-radius: var(--qm-radius-circle);
        background: rgba(255, 255, 255, 0.16);
    }

    .qm-circle-topic-feed .qm-topic-type-badge {
        display: none;
    }

    .qm-circle-topic-feed .qm-community-topic__excerpt {
        display: -webkit-box;
        margin-top: 5px;
        overflow: hidden;
        color: var(--circle-muted);
        font-size: 12px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .qm-circle-topic-feed .qm-community-topic__media-carousel {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-top: 10px;
    }

    .qm-circle-topic-feed .qm-community-topic__media-viewport {
        min-width: 0;
        max-width: 100%;
        border-radius: var(--qm-radius-size-2);
        scroll-behavior: smooth;
    }

    .qm-circle-topic-feed .qm-community-topic__media {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0;
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .qm-circle-topic-feed .qm-community-topic__media-carousel[data-page-count="1"] .qm-community-topic__media[data-count="1"] {
        grid-template-columns: minmax(0, 58%);
    }

    .qm-circle-topic-feed .qm-community-topic__media-carousel[data-page-count="1"] .qm-community-topic__media[data-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qm-circle-topic-feed .qm-community-topic__media-item,
    .qm-circle-topic-feed .qm-community-topic__media[data-count="1"] .qm-community-topic__media-item {
        aspect-ratio: 1 / 1.04;
        max-height: none;
        border-radius: var(--qm-radius-size-2);
        background: rgba(52, 52, 51, 0.05);
    }

    .qm-circle-topic-feed .qm-community-topic__media-controls {
        height: 40px;
        margin-top: 7px;
    }

    .qm-circle-topic-feed .qm-community-topic__media-nav {
        width: 40px;
        height: 40px;
        border-color: rgba(52, 52, 51, 0.08);
        background: var(--circle-card);
        color: var(--circle-muted);
    }

    .qm-circle-topic-feed .qm-community-topic__media-status {
        color: var(--circle-muted);
    }

    .qm-circle-topic-feed .qm-community-topic__footer {
        margin-top: 14px;
    }

    .qm-circle-topic-feed .qm-community-topic__footer-left {
        display: grid;
        width: 100%;
        margin-left: 0;
        column-gap: 18px;
        grid-template-columns: minmax(0, 1fr) max-content max-content;
        color: var(--circle-muted);
        font-size: 12px;
        font-weight: 400;
    }

    .qm-circle-topic-feed .qm-topic-stat {
        min-width: 0;
        min-height: 34px;
        padding: 4px 2px;
        justify-content: center;
        gap: 6px;
        border-radius: var(--qm-radius-size-1);
        color: inherit;
        font-weight: 400;
    }

    .qm-circle-topic-feed .qm-topic-stat:first-child {
        justify-content: flex-start;
    }

    .qm-circle-topic-feed .qm-topic-stat:nth-child(n + 2) {
        justify-content: flex-end;
        justify-self: end;
    }

    .qm-circle-topic-feed .qm-topic-stat i {
        font-size: 18px;
        opacity: 1;
    }

    .qm-circle-topic-feed .qm-topic-stat__icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .qm-circle-topic-feed .qm-topic-stat__num {
        font-size: 12px;
        font-weight: 400;
    }

    .qm-circle-topic-feed .qm-community-topic__menu > summary:focus-visible,
    .qm-circle-topic-feed .qm-community-topic__media-nav:focus-visible,
    .qm-circle-topic-feed .qm-topic-stat:focus-visible {
        outline: 3px solid rgba(174, 129, 239, 0.52);
        outline-offset: 1px;
    }

    .qm-circle-topic-feed .qm-community-panel__inner > .text-center {
        margin: 0;
        padding: 28px 12px !important;
        border-radius: var(--qm-radius-size-3);
        background: var(--circle-card);
    }

    html.dark .qm-circle-topic-feed .qm-community-topic__media-nav {
        border-color: rgba(255, 255, 255, 0.1);
        background: var(--circle-card);
        color: var(--circle-muted);
    }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .qm-circle-topic-feed .qm-community-topic__media-viewport {
        scroll-behavior: auto;
    }
}

@media (max-width: 359.98px) {
    .qm-circle-hero,
    .qm-circle-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .qm-circle-hero h1 {
        font-size: 19px;
    }

    .qm-my-circles-grid {
        padding-right: 8px;
        padding-left: 8px;
    }

    .qm-my-circles-create,
    .qm-my-circles-item {
        gap: 7px;
    }

    .qm-my-circles-create > span {
        padding: 0 9px;
        font-size: 11px;
    }

    .qm-circle-promos {
        gap: 8px;
    }

    .qm-circle-promo {
        padding-right: 8px;
        padding-left: 10px;
    }

}
