/* ===== 入口登录状态：未完成校验前不展示业务内容 ===== */
.community[data-login-required]:not([data-login-ready]), .community[hidden] { display: none !important; }
.community.cm-login-gate { min-height: 18rem; padding-top: 3rem; text-align: center; }
.cm-login-gate p { margin: 1rem 0 1.5rem; color: #bcbcbc; }
.cm-login-gate .cm-primary { display: inline-block; min-width: 8rem; padding: .75rem 1.5rem; border: 1px solid #1abc9d; }
.cm-login-gate > a { display: block; width: max-content; margin: 1rem auto; color: #1abc9d; }

/* ===== 公共组件基础样式 ===== */
.community, .cm-dialog, .cm-shortcuts {
    --cm-accent: #15b89e;
    --cm-muted: #999;
    --cm-border: #484848;
    --cm-panel: #323232;
    --cm-input: #222;
    color: #eee;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}

.community *, .cm-dialog *, .cm-shortcuts * {
    box-sizing: border-box;
    text-shadow: none;
}

.community [hidden], .cm-dialog [hidden], .cm-shortcuts[hidden] {
    display: none !important;
}

.community {
    width: calc(100% - 4rem);
    max-width: 67rem;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
    min-height: 55vh;
}

.community h2, .cm-dialog h2 {
    color: #f5f5f5;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.community h3 {
    color: #f5f5f5;
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0 0 .5rem;
}

.cm-back {
    display: inline-block;
    margin-bottom: 1.75rem;
    color: #aaa !important;
    text-decoration: none !important;
}

.cm-back:hover {
    color: var(--cm-accent) !important;
}

.cm-panel {
    background: var(--cm-panel);
    border: 1px solid #3f3f3f;
    border-radius: .375rem;
    padding: 2rem;
}

.cm-field {
    margin-bottom: 1.5rem;
    min-width: 0;
}

.cm-field > label:not(.cm-drop), .cm-label {
    display: block;
    margin: 0 0 .5rem;
    color: #eee;
    font-size: 1rem;
    font-weight: 400;
}

.community b, .cm-dialog b {
    color: #eb797f;
    font-weight: 400;
}

.community small, .cm-dialog small {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}

.community input:not([type=file]):not([type=hidden]), .community textarea, .community select, .cm-dialog input:not([type=file]), .cm-dialog textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;
    min-height: 3.75rem;
    border: 1px solid #777;
    border-radius: .375rem;
    background: var(--cm-input);
    color: #eee;
    box-shadow: none;
    font: inherit;
    line-height: 1.5;
    outline: none;
}

.community input::placeholder, .community textarea::placeholder, .cm-dialog input::placeholder, .cm-dialog textarea::placeholder {
    color: #858585;
    opacity: 1;
}

.community textarea, .cm-dialog textarea {
    height: 10rem;
    resize: vertical;
}

.community input:focus, .community textarea:focus, .community select:focus, .cm-dialog input:focus, .cm-dialog textarea:focus {
    border-color: var(--cm-accent);
    box-shadow: 0 0 0 2px #15b89e18;
}

.community [aria-invalid=true], .cm-dialog [aria-invalid=true] {
    border-color: #eb797f !important;
}

.cm-half {
    width: calc(50% - .75rem);
}

.cm-counter {
    color: #999;
    text-align: right;
    font-size: 0.6875rem;
    margin-top: .5rem;
}

.cm-help {
    color: #999;
    font-size: 0.75rem;
    margin: .375rem 0 .75rem;
    line-height: 1.6;
}

.cm-error {
    color: #f08b91;
    font-size: 0.75rem;
    margin: .5rem 0 0;
}

.cm-error:empty {
    display: none;
}

.community button, .cm-dialog button {
    cursor: pointer;
    font: inherit;
}

.community button:disabled, .cm-dialog button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.cm-primary, .community a.cm-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cm-accent);
    border-radius: .375rem;
    background: var(--cm-accent);
    color: white !important;
    min-height: 2.75rem;
    padding: .625rem 1rem;
    text-decoration: none !important;
    font: inherit;
    font-weight: 600;
}

.cm-primary:hover {
    filter: brightness(1.07);
}

.cm-wide {
    width: 100%;
    min-height: 3.75rem;
    font-size: 1.125rem;
}

.cm-submit-row {
    border-top: 1px solid #3b3b3b;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.cm-contact-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 26.25rem;
}

.cm-contact-tabs button, .cm-device-types button {
    border: 1px solid #777;
    border-radius: .375rem;
    padding: .875rem;
    min-height: 3.75rem;
    color: #ddd;
    background: #222;
}

.cm-contact-tabs .is-active, .cm-device-types .is-active {
    border-color: var(--cm-accent);
    background: #15b89e12;
    color: var(--cm-accent);
    box-shadow: 0 0 0 2px #15b89e0a;
}

.cm-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #777;
    border-radius: .375rem;
    background: #222;
}

.cm-prefix > span {
    padding-left: 1.25rem;
    color: #aaa;
}

.cm-prefix input {
    border: none !important;
    background: transparent !important;
}

.cm-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.75rem;
    min-height: 12rem;
    border: 1px dashed #888;
    border-radius: .25rem;
    background: #222;
    text-align: center;
    cursor: pointer;
    font-weight: 400;
}

.cm-drop small {
    line-height: 1.6;
}

.cm-drop.is-dragover, .cm-drop:focus-visible {
    border-color: var(--cm-accent);
    background: #1f3430;
}

.cm-upload-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #173f36;
    color: #13c5a4;
    font-size: 1.75rem;
    line-height: 1;
}

.community .cm-file-input, .cm-dialog .cm-file-input {
    display: none;
    pointer-events: none;
}

.cm-files {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.cm-files:empty {
    display: none;
}

.cm-file {
    min-width: 0;
    position: relative;
    margin-bottom: 1rem;
}

.cm-file-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 0;
    border-radius: .375rem;
    background: #1d2926;
    color: #b1d2c6;
    padding: 0;
}

.cm-file-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-file-preview span {
    font-size: 1.875rem;
}

.cm-file-remove {
    position: absolute;
    right: .375rem;
    top: .375rem;
    border: none;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    color: white;
    background: #000b;
}

.cm-file-name {
    overflow-wrap: anywhere;
    font-size: 0.75rem;
    margin: .375rem 0 0;
}

.cm-file-state {
    font-size: 0.625rem;
    color: #999;
}

.cm-file-state em {
    font-style: normal;
    color: var(--cm-accent);
}

.cm-file-actions {
    display: flex;
    gap: .5rem;
}

.cm-file-actions button {
    border: none;
    padding: 0;
    color: #15b89e;
    background: transparent;
    font-size: 0.6875rem;
}

.cm-file progress {
    display: block;
    width: 100%;
    height: .25rem;
    accent-color: var(--cm-accent);
}

.cm-drop.has-files {
    min-height: 6rem;
    padding: 1rem;
}

.cm-drop.has-files .cm-upload-icon {
    display: none;
}

.cm-drop em {
    color: var(--cm-accent);
    font-style: normal;
}

.cm-channels {
    margin-top: 3.75rem;
    scroll-margin-top: 7rem;
}

.cm-channels h2 {
    margin-bottom: 1rem;
}

.cm-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.cm-channel {
    padding: 1.25rem;
    border: 1px solid #3f3f3f;
    border-radius: .5rem;
    background: #323232;
    min-width: 0;
}

.cm-channel-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.cm-channel-symbol {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #39434a;
    color: #36a3e0;
    font-size: 1.375rem;
}

.cm-channel h3 {
    margin: 0;
    font-size: 1rem;
}

.cm-channel small {
    display: block;
}

.cm-channel-value {
    background: #272727;
    border-radius: .25rem;
    padding: .625rem .75rem;
    overflow-wrap: anywhere;
    user-select: text;
    margin-bottom: 1rem;
}

.cm-channel-value p {
    margin: .125rem 0 0;
}

.cm-channel-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.cm-secondary, .community a.cm-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #666;
    border-radius: .25rem;
    padding: .5rem 1rem;
    background: transparent;
    color: #ccc;
    text-decoration: none;
}

.cm-device {
    border-top: 1px solid #3d3d3d;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 2rem;
    padding: 2rem 0 .5rem;
}

.cm-device summary {
    cursor: pointer;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.cm-device-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
}

.cm-device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
}

.cm-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cm-list-toolbar .cm-back {
    margin: 0;
}

.cm-list-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid #444;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
    color: #999;
    font-size: 0.75rem;
}

.cm-sort {
    display: flex;
    gap: .5rem;
}

.cm-sort button {
    background: transparent;
    color: #aaa;
    border: none;
    border-radius: .25rem;
    padding: .375rem .75rem;
}

.cm-sort .is-active {
    background: #15b89e18;
    color: var(--cm-accent);
}

.cm-wish-card {
    padding: 1.25rem;
    border: 1px solid #414141;
    border-radius: .375rem;
    background: #323232;
    margin-bottom: .75rem;
}

.cm-wish-title {
    display: block;
    color: #eee !important;
    font-size: 1.125rem;
    margin-bottom: .5rem;
    text-decoration: none !important;
}

.cm-wish-title:hover {
    color: var(--cm-accent) !important;
}

.cm-wish-description {
    color: #aaa;
    margin: 0 0 .75rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.cm-wish-card .cm-wish-title, .cm-wish-card .cm-wish-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cm-wish-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cm-wish-bottom time {
    color: #999;
    font-size: 0.6875rem;
}

.cm-wish-actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}

.cm-wish-actions button, .cm-wish-actions a {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    border: 1px solid #666;
    border-radius: .25rem;
    background: transparent;
    color: #ccc;
    padding: .375rem .75rem;
    line-height: 1.4;
    font-size: 0.75rem;
    text-decoration: none !important;
}

.cm-wish-actions .is-active {
    border-color: var(--cm-accent);
    color: var(--cm-accent);
    background: #15b89e0a;
}

.cm-action-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    background: url('/usr/plugins/qgxy/css/images/figma/heart.png') center / contain no-repeat;
}

.cm-action-comment {
    background-image: url('/usr/plugins/qgxy/css/images/figma/discussion.png');
}

.cm-wish-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1rem 0 0;
}

.cm-wish-gallery button {
    border: none;
    padding: 0;
    width: 9rem;
    height: 6.25rem;
    background: #222;
    border-radius: .25rem;
    overflow: hidden;
}

.cm-wish-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-wish-gallery .cm-image-error {
    color: #aaa;
    font-size: 0.75rem;
}

.cm-page-total {
    margin-right: auto;
    color: #999;
    font-size: 0.75rem;
}

.cm-detail-content {
    white-space: pre-wrap;
    line-height: 1.9;
    color: #bbb;
    overflow-wrap: anywhere;
}

.cm-discussion {
    margin-top: 1.5rem;
    scroll-margin-top: 8rem;
}

.cm-discussion h2 {
    border-left: .25rem solid var(--cm-accent);
    padding-left: .75rem;
}

.cm-comment-form {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cm-avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 3rem;
    height: 3rem;
    background: #27544b;
    border-radius: 50%;
    color: #b3ded4;
}

.cm-comment-input {
    flex: 1;
    min-width: 0;
}

.community .cm-comment-input textarea {
    height: 7rem;
}

.cm-comment-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .75rem;
}

.cm-comment {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid #484848;
    padding: 1.5rem 0;
}

.cm-comment-body {
    flex: 1;
    min-width: 0;
}

.cm-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #ccc;
}

.cm-comment-head time {
    color: #888;
    font-size: 0.6875rem;
}

.cm-comment-author {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cm-comment-self {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: .25rem .5rem;
    border-radius: .25rem;
    background: rgb(26 188 157 / 50%);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1rem;
    white-space: nowrap;
}

.cm-comment-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: .25rem .5rem;
    border-radius: .25rem;
    background: rgb(255 152 0 / 55%);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1rem;
    white-space: nowrap;
}

.cm-comment-god {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: .25rem .5rem;
    border-radius: .25rem;
    background: rgb(229 57 53 / 70%);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1rem;
    white-space: nowrap;
}

.cm-comment-body p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #ccc;
    margin: .75rem 0;
}

.cm-comment-body button {
    background: none;
    border: none;
    color: var(--cm-accent);
    padding: 0;
    font-size: 0.75rem;
}

.cm-replies {
    border-left: 2px solid #484848;
    padding-left: 1rem;
    margin-top: 1rem;
}

.cm-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.cm-empty .cm-primary {
    margin-top: 1rem;
}

.cm-dialog {
    color-scheme: dark;
    border: 1px solid #3b3b3b;
    border-radius: .5rem;
    background: #222;
    padding: 2rem;
    width: calc(100% - 2rem);
    max-width: 50rem;
    max-height: 90dvh;
    overflow-y: auto;
}

.cm-dialog::backdrop {
    background: #000b;
}

.cm-dialog-close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    border: none;
    background: none;
    color: #aaa;
    font-size: 1.875rem !important;
    padding: 0;
    line-height: 1;
}

.cm-dialog h2 {
    margin: 0 0 .25rem;
}

.cm-intro {
    margin: 0 0 1.5rem;
}

.cm-drop-small {
    min-height: 9rem;
    padding: 1.25rem;
}

.cm-identity {
    margin-top: 1.25rem;
}

.cm-result {
    text-align: center;
    padding: 2.5rem 1rem;
}

.cm-result-symbol {
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    width: 4rem;
    height: 4rem;
    background: #16483d;
    color: var(--cm-accent);
    border-radius: 50%;
    font-size: 1.875rem;
}

.cm-result h2 {
    font-size: 1.625rem;
    margin-bottom: .75rem;
}

.cm-result p {
    color: #aaa;
}

.cm-result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cm-toast {
    position: fixed;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    max-width: calc(100% - 3rem);
    border: 1px solid #555;
    border-radius: .5rem;
    background: #151515f2;
    padding: .875rem 1.5rem;
    color: #eee;
    font-size: 0.875rem;
    text-align: center;
}

.cm-media-dialog {
    max-width: 70rem;
    background: #121212;
    text-align: center;
}

.cm-media-dialog img, .cm-media-dialog video {
    max-width: 100%;
    max-height: 72dvh;
    object-fit: contain;
}

.cm-media-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.cm-media-tools button {
    color: white;
    background: #333;
    border: 1px solid #555;
    border-radius: .25rem;
    padding: .5rem 1rem;
}

.cm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.cm-skeleton {
    height: 9rem;
    margin-bottom: 1rem;
    border-radius: .375rem;
    background: linear-gradient(90deg, #323232 20%, #393939 45%, #323232 70%);
    background-size: 200% 100%;
    animation: cm-loading 1.5s infinite;
}

@keyframes cm-loading {
    to {
        background-position: -200% 0;
    }
}

/* 快捷栏独立于页面容器，避免 Mirages 的 transform 改变 fixed 参照物。 */
.cm-shortcuts {
    position: fixed;
    right: 0;
    top: 38%;
    z-index: 980;
    width: 6.5625rem;
    background: #111f;
    border-radius: .75rem 0 0 .75rem;
    box-shadow: 0 .375rem 1rem #0004;
    padding: .625rem .25rem;
    transition: width .2s, opacity .2s;
}

.cm-shortcut-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .375rem;
    height: 6rem;
    color: #eee !important;
    font-size: 0.75rem;
    text-decoration: none !important;
    border-radius: .5rem;
}

.cm-shortcut-links a:hover, .cm-shortcut-links a:focus-visible, .cm-shortcut-links a[aria-current=page] {
    background: #353535;
}

.cm-shortcut-links a[data-shortcut=submit][aria-current] {
    background: #3f2c19;
    color: #f1a65d !important;
}

.cm-shortcut-links a[data-shortcut=wish][aria-current] {
    background: #20391f;
    color: #87d88c !important;
}

.cm-shortcut-links a[data-shortcut=feedback][aria-current] {
    background: #40391c;
    color: #f0d56d !important;
}

.cm-shortcut-icon {
    display: block;
    width: 2rem;
    height: 2.25rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cm-icon-app {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-app.png');
}

.cm-icon-submit {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-submit.png');
}

.cm-icon-wish {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-wish.png');
}

.cm-icon-feedback {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-feedback.png');
}

.cm-shortcut-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    width: 100%;
    height: 4rem;
    padding: .5rem;
    background: none;
    cursor: pointer;
}

.cm-shortcuts.is-collapsed {
    width: 3.25rem;
    opacity: .55;
}

.cm-shortcuts.is-collapsed .cm-shortcut-links {
    display: none;
}

.cm-shortcuts.is-collapsed .cm-shortcut-toggle {
    display: flex;
}

@media (max-width: 767px) {
    .community {
        width: calc(100% - 2rem);
        padding: 1.75rem 0 3rem;
    }

    .cm-back {
        margin-bottom: 1.5rem;
    }

    .cm-panel {
        padding: 1.5rem 1rem;
    }

    .cm-field {
        margin-bottom: 1.5rem;
    }

    .cm-field > label:not(.cm-drop), .cm-label {
        font-size: 0.875rem;
    }

    .community input:not([type=file]):not([type=hidden]), .community textarea, .community select {
        min-height: 3rem;
        padding: .75rem 1rem;
    }

    .community textarea {
        height: 9rem;
    }

    .cm-half {
        width: 100%;
    }

    .cm-wide, .cm-contact-tabs button, .cm-device-types button {
        min-height: 3rem;
        font-size: 0.875rem;
    }

    .cm-contact-tabs {
        max-width: none;
        gap: .75rem;
    }

    .cm-drop {
        min-height: 12rem;
        padding: 1.5rem 1rem;
    }

    .cm-drop-small {
        min-height: 7.5rem;
        padding: 1rem .75rem;
    }

    .cm-files {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .75rem;
    }

    .cm-channels {
        margin-top: 2.5rem;
    }

    .cm-channel-grid, .cm-device-grid {
        grid-template-columns: 1fr;
    }

    .cm-device-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-device {
        padding-top: 1.5rem;
    }

    .cm-device summary {
        font-size: 1rem;
    }

    .cm-list-toolbar .cm-primary {
        font-size: 0.75rem;
    }

    .cm-list-meta {
        font-size: 0.6875rem;
    }

    .cm-wish-card {
        padding: 1rem;
    }

    .cm-wish-title {
        font-size: 1rem;
    }

    .cm-wish-description {
        font-size: 0.8125rem;
    }

    .cm-wish-bottom {
        flex-wrap: wrap;
        gap: .75rem;
    }

    .cm-wish-actions {
        margin-left: auto;
        gap: .5rem;
    }

    .cm-wish-actions a, .cm-wish-actions button {
        font-size: 0.6875rem;
        padding: .375rem .5rem;
    }

    .cm-wish-gallery {
        gap: .5rem;
    }

    .cm-wish-gallery button {
        width: calc((100% - 1rem)/3);
        height: auto;
        aspect-ratio: 1.3;
    }

    .cm-page-number, .cm-page-total, .cm-page-ellipsis {
        display: none;
    }

    .cm-comment, .cm-comment-form {
        gap: .75rem;
    }

    .cm-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .cm-comment-head {
        flex-wrap: wrap;
        gap: .25rem;
    }

    .cm-shortcuts {
        width: 6rem;
        top: 38%;
        padding: .5rem .25rem;
    }

    .cm-shortcut-links a {
        height: 4.25rem;
        font-size: 0.6875rem;
        gap: .25rem;
    }

    .cm-shortcut-icon {
        width: 1.5rem;
        height: 1.75rem;
    }

    .cm-shortcuts.is-collapsed {
        width: 2.625rem;
    }

    .cm-shortcut-toggle {
        height: 3.25rem;
    }

    .cm-result {
        padding: 2rem .5rem;
    }

    .cm-result-actions {
        flex-direction: column;
    }

    .cm-create-panel h2 {
        margin-bottom: .25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cm-skeleton {
        animation: none;
    }

    .cm-shortcuts {
        transition: none;
    }
}

/* ===== 设计稿布局与 H5 适配 ===== */
/* Figma 2:198 — PC 1920px / H5 750px。仅覆盖本次新增模块。 */
.community, .cm-dialog, .cm-shortcuts {
    --cm-accent: #1abc9d;
    --cm-muted: #bcbcbc;
    --cm-border: #5e5c5c;
    --cm-panel: #343232;
    --cm-input: transparent;
    --cm-rem: 1rem;
    font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    text-shadow: none;
}

.community {
    width: calc(100% - 4rem);
    max-width: 67rem;
    margin: 0 auto;
    padding: 1.25rem 0 3.25rem;
    color: #fff;
    font-size: 1.125rem;
}

.community h2 {
    font-size: 1.375rem;
    line-height: 1.5rem;
    color: #fff;
    font-weight: 500;
}

.cm-back {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: .625rem;
    font-size: 0.8125rem;
    line-height: 1.3125rem;
    color: #c6c6cb !important;
    margin: 0 0 1.25rem;
    opacity: .91;
}

.cm-back-icon {
    display: block;
    flex-shrink: 0;
    width: .75rem;
    height: .75rem;
    transform: rotate(180deg);
}

.community-submit .cm-back-icon {
    transform: none;
}

.community .cm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0 0 1.25rem;
    color: #1abc9d;
    font-size: .875rem;
    line-height: 1.25rem;
}

.community .cm-breadcrumb a, .community .cm-breadcrumb [aria-current="page"] {
    color: inherit;
    text-decoration: none;
}

.community .cm-breadcrumb a:hover {
    text-decoration: underline;
}

.cm-breadcrumb-separator {
    flex-shrink: 0;
}

.community .cm-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cm-field {
    position: relative;
    margin: 0 0 1.5rem;
}

.cm-field > label:not(.cm-drop), .cm-label {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-bottom: .75rem;
}

.cm-field > label:not(.cm-drop):has(small) {
    height: 1.75rem;
    line-height: 1.75rem;
}

.community b, .cm-dialog b {
    color: #f00;
}

.community small, .cm-dialog small {
    font-size: 0.875rem;
    color: #bcbcbc;
}

.community input:not([type=file]):not([type=hidden]), .community textarea, .community select, .cm-dialog input:not([type=file]), .cm-dialog textarea {
    background: transparent;
    color: #eee;
    border: 1px solid #5e5c5c;
    border-radius: .25rem;
    padding: 1.0625rem 1.25rem;
    height: 3.75rem;
    min-height: 3.75rem;
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.community select {
    appearance: none;
    padding-right: 3rem;
    background: url('/usr/plugins/qgxy/css/images/figma/back.png') calc(100% - 1.25rem) center / .75rem .75rem no-repeat;
}

.community select option {
    background: #2c2a2a;
}

.community .cm-field:has(> select)::after {
    content: "";
    position: absolute;
    top: 3.75rem;
    right: 1.25rem;
    width: .75rem;
    height: .75rem;
    background: url('/usr/plugins/qgxy/css/images/figma/back.png') center / contain no-repeat;
    transform: rotate(90deg);
    pointer-events: none;
}

.community select {
    background-image: none;
}

.community textarea, .cm-dialog textarea {
    height: 7.5rem;
    resize: vertical;
}

.community input::placeholder, .community textarea::placeholder, .cm-dialog input::placeholder, .cm-dialog textarea::placeholder {
    color: #bcbcbc;
}

.cm-half {
    width: 100%;
}

.cm-counter {
    position: absolute;
    right: 0;
    bottom: -1.1875rem;
    margin: 0;
    font-size: 0.5625rem;
    line-height: 1rem;
    color: #8d909b;
}

.cm-help {
    font-size: 0.875rem;
    color: #bcbcbc;
    line-height: 1.375rem;
}

.cm-error {
    position: relative;
    font-size: 0.75rem;
    line-height: 1.25rem;
    margin: .375rem 0 0;
}

.cm-primary, .community a.cm-primary {
    background: #1abc9d;
    border-color: #1abc9d;
    color: #fff !important;
    font-weight: 600;
    border-radius: .5rem;
}

.cm-wide {
    height: 3.75rem;
    min-height: 3.75rem;
    font-size: 1.125rem;
    border-radius: 1.875rem;
}

.cm-submit-row {
    border: 0;
    margin: 3.75rem 0 0;
    padding: 0;
}

.cm-contact-tabs {
    max-width: 26.25rem;
    grid-template-columns: repeat(2, 12.5rem);
    gap: 1.25rem;
}

.cm-contact-tabs button, .cm-device-types button {
    background: transparent;
    border-color: #5e5c5c;
    border-radius: .25rem;
    height: 3.75rem;
    min-height: 3.75rem;
    padding: .75rem;
    color: #bcbcbc;
    font-size: 1.125rem;
}

.cm-contact-tabs .is-active, .cm-device-types .is-active {
    color: #1abc9d;
    border-color: #1abc9d;
    background: rgb(26 188 157 / 5%);
    box-shadow: none;
}

.cm-contact > .cm-field:last-child {
    margin-bottom: 0;
}

.cm-prefix {
    background: transparent;
    border-color: #5e5c5c;
    border-radius: .25rem;
}

.cm-drop {
    background: #383737;
    border: 0;
    border-radius: .375rem;
    height: 12.5rem;
    min-height: 12.5rem;
    padding: 2.375rem 1rem 1.5rem;
    gap: 0;
    font-size: 0.875rem;
    line-height: 1.375rem;
}

.cm-drop > span:not(.cm-upload-icon) {
    margin-top: 1.25rem;
}

.cm-drop small {
    font-size: 0.875rem;
    line-height: 1.375rem;
}

.cm-upload-icon {
    display: block;
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    background: url('/usr/plugins/qgxy/css/images/figma/upload.png') center / contain no-repeat;
    border-radius: 0;
    font-size: 0;
}

.cm-drop.is-dragover, .cm-drop:focus-visible {
    outline: 1px solid #1abc9d;
    background: #2e4540;
}

.cm-drop em {
    color: #1abc9d;
    font-style: normal;
}

.cm-field[data-uploader] > .cm-help {
    margin: -.25rem 0 .75rem;
    font-size: 0.875rem;
    line-height: 1.375rem;
}

.cm-drop.has-files {
    height: 6rem;
    min-height: 6rem;
    padding: 1rem;
}

.cm-drop.has-files > span {
    margin-top: 0;
}

.community-submit .cm-upload-icon {
    background: none;
    margin: 0;
    object-fit: contain;
}

.cm-submission-attachments:has(.has-files) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.75rem, 1fr));
    gap: 1.125rem 1rem;
    padding-top: .625rem;
}

.cm-submission-attachments .cm-files {
    display: contents;
}

.cm-submission-attachments .cm-file {
    margin: 0;
}

.cm-submission-attachments .cm-file-visual {
    position: relative;
}

.cm-submission-attachments .cm-file-preview, .cm-submission-attachments .cm-drop.has-files {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    place-content: center;
    border: 1px solid #575757;
    border-radius: .25rem;
    background: #292929;
}

.cm-submission-attachments .cm-file-preview {
    display: block;
}

.cm-submission-attachments .cm-drop.has-files {
    align-self: start;
    padding: .25rem;
}

.cm-submission-attachments .cm-drop.has-files .cm-upload-prompt, .cm-submission-attachments .cm-drop:not(.has-files) .cm-add-more {
    display: none;
}

.cm-submission-attachments .cm-add-more {
    display: grid;
    justify-items: center;
    gap: .25rem;
    font-size: 0.625rem;
    line-height: 1.25;
    color: #bcbcbc;
}

.cm-submission-attachments .cm-add-more img {
    display: block;
    width: 1.09375rem;
    height: 1.25rem;
    margin: 0;
}

.cm-submission-attachments .cm-file-remove {
    display: grid;
    place-items: center;
    top: -.625rem;
    right: -.5rem;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    color: #fff;
    background: #f00;
    box-shadow: 0 .232rem .387rem rgb(0 0 0 / 35%);
    font: 1.47rem/1 Arial, sans-serif;
    cursor: pointer;
}

.cm-submission-attachments .cm-file-name, .cm-submission-attachments .cm-file-state, .cm-submission-attachments .cm-file-actions button {
    color: #c9c9ce;
    font-size: 0.75rem;
    line-height: 1.375rem;
}

.cm-submission-attachments .cm-file-name {
    margin: .5rem 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-submission-attachments .cm-file-state {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    margin-top: .25rem;
    white-space: nowrap;
}

.cm-submission-attachments .cm-file-state .cm-file-size {
    margin: 0;
    color: inherit;
    font: inherit;
}

.cm-submission-attachments .cm-file-failure {
    color: #f00;
}

.cm-submission-attachments .cm-file-actions {
    gap: .625rem;
    margin-top: .25rem;
}

.cm-submission-attachments .cm-file-actions button {
    cursor: pointer;
}

.cm-submission-attachments .cm-file-actions [data-file-action="retry"] {
    color: var(--cm-accent);
}

.cm-file-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    border-radius: .25rem;
    color: #fff;
    background: rgb(0 0 0 / 36%);
    font-size: 0.625rem;
    line-height: 1;
    pointer-events: none;
}

.cm-file-overlay strong {
    font-size: 0.8125rem;
    font-weight: 600;
}

.cm-file-overlay-failed {
    background: rgb(26 188 157 / 20%);
    backdrop-filter: blur(1px);
}

.cm-file-overlay-failed strong {
    font-size: inherit;
}

.cm-file-overlay-failed button {
    min-width: 3.3125rem;
    min-height: 1.1875rem;
    padding: 0 .375rem;
    border: 1px solid var(--cm-accent);
    border-radius: .25rem;
    color: #fff;
    background: rgb(0 0 0 / 50%);
    font: inherit;
    pointer-events: auto;
    cursor: pointer;
}

.cm-channels {
    margin-top: 3.75rem;
}

.cm-channels h2 {
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin-bottom: .75rem;
}

.cm-channel-grid {
    gap: 1.25rem;
}

.cm-channel {
    min-height: 14.25rem;
    padding: 1.25rem;
    background: #383737;
    border: 0;
    border-radius: .375rem;
}

.cm-channel-heading {
    gap: .75rem;
    margin-bottom: 1rem;
}

.cm-channel-symbol {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0;
    background: none;
}

.cm-channel-symbol img {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
}

.cm-channel h3 {
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 500;
}

.cm-channel small {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.cm-channel-value {
    height: 4.25rem;
    margin-bottom: 1.25rem;
    padding: .625rem 1.25rem;
    background: #262626;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.cm-channel-value p {
    margin-top: .25rem;
}

.cm-channel-actions {
    gap: 1.25rem;
}

.community .cm-channel-actions > .cm-primary, .community .cm-channel-actions > .cm-secondary {
    width: 8.9375rem;
    min-height: 2.5rem;
    height: 2.5rem;
    padding: .5rem .75rem;
    border-radius: 6rem;
    font-size: 0.75rem;
    line-height: 1.5rem;
    white-space: nowrap;
}

.cm-secondary, .community a.cm-secondary {
    border-color: #1abc9d;
    color: #1abc9d;
    background: rgb(26 188 157 / 5%);
}

.cm-ad-slots {
    display: grid;
    gap: .9375rem;
    margin-top: 3.75rem;
}

.cm-ad-slots > div {
    display: grid;
    place-items: center;
    height: 7.9375rem;
    background: #727272;
    color: #c7c7c7;
    font-size: 3.625rem;
    line-height: 1;
}

.cm-device {
    margin: 2.5rem 0 1.5rem;
    border-top: 1px solid #444247;
    border-bottom: 0;
    padding: 2.5rem 0 0;
}

.cm-device summary {
    display: block;
    font-size: 1.375rem;
    line-height: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    list-style: none;
}

.cm-device summary::-webkit-details-marker {
    display: none;
}

.cm-device-grid {
    gap: 0 1.25rem;
}

.cm-device-types {
    gap: 1.25rem;
}

.community-feedback .cm-form > h2 {
    margin: 0 0 1.75rem;
}

.community-feedback .cm-contact + .cm-help {
    margin: .75rem 0 0;
}

.community-feedback .cm-submit-row {
    margin-top: 3.75rem;
}

.cm-list-toolbar {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 0 1.875rem;
}

.cm-list-toolbar .cm-back {
    flex: 0 0 100%;
    margin-bottom: 1.75rem;
}

.community .cm-list-toolbar .cm-breadcrumb {
    flex: 0 0 100%;
    margin-bottom: 1.75rem;
}

.community .cm-list-toolbar > a.cm-primary {
    margin-left: auto;
    width: 10.5rem;
    min-height: 2.875rem;
    height: 2.875rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.cm-plus-icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: .5625rem;
    background: url('/usr/plugins/qgxy/css/images/figma/plus.png') center / contain no-repeat;
}

.cm-list-meta {
    padding: 0;
    margin-bottom: 1.75rem;
    border: 0;
    min-height: 2.625rem;
    justify-content: flex-end;
}

.cm-sort {
    justify-content: flex-start;
    gap: 1.25rem;
}

.cm-sort button, .cm-sort a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 3.125rem;
    height: 2.25rem;
    padding: .4375rem .875rem;
    border: 1px solid transparent;
    border-radius: 1.5rem;
    color: #bcbcbc;
    font-size: 1rem;
    line-height: 1.25rem;
    text-decoration: none;
}

.cm-sort .is-active {
    color: #1abc9d;
    border-color: #1abc9d;
    background: rgb(26 188 157 / 5%);
}

.cm-wish-card, .community [data-wish-detail] > .cm-panel {
    position: relative;
    background: #343232;
    padding: 1.75rem 2rem 0;
    border: 0;
    border-radius: .375rem;
    margin-bottom: 1.75rem;
}

.community [data-wish-detail] > .cm-panel {
    min-height: 18.5625rem;
}

.cm-wish-title {
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: 400;
    color: #f7f7f8 !important;
    margin: 0;
}

.cm-wish-description {
    max-width: 29.6875rem;
    min-height: 6.25rem;
    margin: .875rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5625rem;
    color: #d4d3d7;
}

.cm-wish-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.cm-wish-bottom time {
    display: block;
    padding: 0 0 1rem;
    font-size: 0.75rem;
    line-height: 1.3125rem;
    color: #b7b6bc;
}

.cm-wish-actions {
    display: flex;
    margin-left: 0;
    gap: 2.375rem;
    min-height: 4.125rem;
    align-items: center;
    border-top: 1px solid #444247;
}

.cm-wish-actions button, .cm-wish-actions a {
    display: inline-flex;
    align-items: center;
    gap: .5625rem;
    border: 0;
    border-radius: 0;
    padding: .625rem 0;
    color: #c9c8cd;
    background: none !important;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.cm-wish-actions .is-active {
    color: #1abc9d;
}

.cm-wish-actions .cm-action-count {
    color: #86848b;
}

.cm-action-icon {
    width: 1.4375rem;
    height: 1.4375rem;
    flex-shrink: 0;
    mask: none;
    background: url('/usr/plugins/qgxy/css/images/figma/heart.png') center / contain no-repeat;
}

.is-active .cm-action-icon {
    background-image: url('/usr/plugins/qgxy/css/images/figma/heart-filled.png');
}

.cm-action-comment {
    background-image: url('/usr/plugins/qgxy/css/images/figma/discussion.png');
}

.cm-wish-status {
    position: absolute;
    right: 2rem;
    top: 1.75rem;
    border: 1px solid #1abc9d;
    color: #1abc9d;
    background: rgb(26 188 157 / 5%);
    border-radius: .375rem;
    padding: .625rem 1rem;
    min-width: 6.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.cm-wish-card .cm-wish-status {
    display: none;
}

.cm-wish-card {
    display: flex;
    flex-direction: column;
}

.cm-wish-card .cm-wish-bottom {
    margin-top: 1.5rem;
}

.cm-wish-description, .cm-detail-content {
    min-height: 4.6875rem;
}

.cm-contact > .cm-field[data-contact-field] {
    margin-bottom: 0;
}

.cm-detail-meta {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 1.75rem;
    color: #bcbcbc;
    font-size: 1rem;
}

.cm-detail-content {
    max-width: 29.6875rem;
    min-height: 6.25rem;
    margin: .875rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5625rem;
    color: #d4d3d7;
}

.community [data-wish-detail] h2 {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin: 0;
    font-weight: 400;
}

.community .cm-discussion {
    background: #343232;
    border-radius: .375rem;
    padding: 1.5rem 2rem 3rem;
    margin-top: 1.75rem;
}

.cm-discussion h2 {
    font-size: 1.1875rem;
    line-height: 1.96875rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.cm-comment-form, .cm-comment {
    gap: 1.125rem;
}

.cm-avatar {
    position: relative;
    width: 3.125rem;
    height: 3.125rem;
    background: #27544b;
    font-size: 1rem;
}

.community .cm-comment-input textarea {
    height: 5.1875rem;
    min-height: 5.1875rem;
    padding: 1rem 1.25rem;
    border: 1px solid #424242;
    border-radius: .5rem;
    background: #292929;
    font-size: 0.8125rem;
    line-height: 1.40625rem;
}

.cm-comment-bottom {
    margin-top: .5rem;
}

.cm-comment-bottom .cm-help {
    font-size: 0.6875rem;
    line-height: 1.21875rem;
}

.cm-comment-bottom .cm-primary {
    padding: .625rem 2.375rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    min-height: 2.5rem;
}

.cm-comment {
    padding: 1.5rem 0;
    border-top: 1px solid #484646;
    font-size: 0.8125rem;
}

.cm-comment-head time {
    font-size: 0.625rem;
    color: #a6aab5;
}

.cm-comment-body p {
    margin: .75rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5rem;
    color: #d4d3d7;
}

.cm-replies {
    border: 1px solid #424242;
    background: #292929;
    border-radius: .5rem;
    padding: 1.25rem;
}

.cm-comment-text.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cm-comment-expand {
    margin: .625rem .75rem 0 0;
}

.cm-comment-controls {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-top: .5rem;
}

.cm-comment-controls .cm-comment-expand {
    margin: 0;
}

.cm-comment .cm-replies {
    margin-top: 1.25rem;
}

.cm-replies .cm-comment-reply {
    display: block;
    padding: 1rem 0;
    border: 0;
}

.cm-replies .cm-comment-reply:first-child {
    padding-top: 0;
}

.cm-replies .cm-comment-reply:last-child {
    padding-bottom: 0;
}

.cm-replies .cm-comment-reply + .cm-comment-reply {
    border-top: 1px solid #424242;
}

.cm-comment-reply .cm-replies {
    padding: 1rem;
}

.cm-reply-to {
    color: #a6aab5;
    font-size: 0.75rem;
}

.cm-reply-form {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #424242;
    border-radius: .5rem;
    background: #292929;
}

.cm-reply-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
    color: #c5c8d0;
    font-size: 0.75rem;
}

.cm-reply-form .cm-comment-form {
    margin-bottom: 0;
}

.community .cm-reply-form .cm-primary {
    background: var(--cm-accent);
    border: 1px solid var(--cm-accent);
    color: #fff;
}

.community .cm-reply-form .cm-avatar {
    display: none;
}

.community[data-view="detail"] .cm-detail-meta {
    min-height: 1.75rem;
    margin-bottom: 1.75rem;
}

.cm-dialog {
    background: #222;
    border: 0;
    border-radius: .5rem;
    padding: 2.5rem 1.75rem 1.5rem;
    max-width: 50rem;
}

.cm-dialog::backdrop {
    background: rgb(0 0 0 / 50%);
}

.cm-wish-dialog h2 {
    text-align: center;
    font-size: 1.375rem;
    line-height: 2.125rem;
    font-weight: 600;
    margin: 0 0 .5rem;
}

.cm-wish-dialog .cm-intro {
    text-align: center;
    font-size: 1rem;
    line-height: 1.5625rem;
    color: #959595;
    margin: 0 0 1.5rem;
}

.cm-wish-dialog .cm-field > label {
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.cm-wish-dialog .cm-field:has(textarea) > label {
    line-height: 1.75rem;
}

.cm-wish-dialog .cm-drop {
    height: 12.5rem;
    min-height: 12.5rem;
    padding-top: 1.6875rem;
}

.cm-wish-dialog .cm-drop small {
    font-size: 0.875rem;
}

.community [data-uploader="wish"] {
    --cm-wish-upload-rem: 1rem;
}

.community [data-uploader="wish"] .cm-drop.has-files {
    padding: 1.6875rem 1rem 1.5rem;
}

.community [data-uploader="wish"] .cm-drop > span {
    margin-top: 1.25rem;
}

.community [data-uploader="wish"] [data-file-summary] {
    margin: 1rem 0 .625rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.community [data-uploader="wish"] .cm-files {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--cm-wish-upload-rem) * .5);
}

.community .cm-wish-file {
    display: grid;
    grid-template-columns: calc(var(--cm-wish-upload-rem) * 4.5) minmax(0, 1fr) auto;
    align-items: center;
    gap: calc(var(--cm-wish-upload-rem) * .875);
    min-height: calc(var(--cm-wish-upload-rem) * 5.5);
    margin: 0;
    padding: calc(var(--cm-wish-upload-rem) * .5);
    border-radius: calc(var(--cm-wish-upload-rem) * .375);
    background: #383737;
}

.community .cm-wish-file .cm-file-preview {
    display: block;
    width: 100%;
    border-radius: calc(var(--cm-wish-upload-rem) * .375);
}

.community .cm-wish-file-info {
    min-width: 0;
}

.community .cm-wish-file .cm-file-name {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    font-size: calc(var(--cm-wish-upload-rem) - .125rem);
    line-height: 1.5;
}

.community .cm-wish-file-meta {
    display: flex;
    align-items: center;
    gap: var(--cm-wish-upload-rem);
    min-width: 0;
    font-size: calc(var(--cm-wish-upload-rem) * .875 - .125rem);
    line-height: calc(var(--cm-wish-upload-rem) * 1.5);
}

.community .cm-wish-file .cm-file-size {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: inherit;
    color: #bcbcbc;
}

.community .cm-wish-file-status {
    flex-shrink: 0;
    white-space: nowrap;
    color: #1abc9d;
}

.community .cm-wish-file.is-failed .cm-wish-file-status {
    color: #f00;
}

.community .cm-wish-file.is-queued .cm-wish-file-status {
    color: #bcbcbc;
}

.community .cm-wish-file progress {
    appearance: none;
    display: block;
    width: 100%;
    max-width: calc(var(--cm-wish-upload-rem) * 25);
    height: calc(var(--cm-wish-upload-rem) * .375);
    margin-top: calc(var(--cm-wish-upload-rem) * .5625);
    border: 0;
    border-radius: 99rem;
    overflow: hidden;
    background: rgb(255 255 255 / 10%);
}

.community .cm-wish-file progress::-webkit-progress-bar {
    background: rgb(255 255 255 / 10%);
    border-radius: 99rem;
}

.community .cm-wish-file progress::-webkit-progress-value {
    background: #1abc9d;
    border-radius: 99rem;
}

.community .cm-wish-file progress::-moz-progress-bar {
    background: #1abc9d;
    border-radius: 99rem;
}

.community .cm-wish-file-actions {
    display: flex;
    align-items: center;
    gap: var(--cm-wish-upload-rem);
}

.community .cm-wish-file-actions button {
    min-width: calc(var(--cm-wish-upload-rem) * 5.5);
    min-height: calc(var(--cm-wish-upload-rem) * 2);
    margin: 0;
    padding: 0 calc(var(--cm-wish-upload-rem) * .5);
    border: 1px solid #5e5c5c;
    border-radius: 99rem;
    background: transparent;
    color: #d8d8d8;
    font-size: calc(var(--cm-wish-upload-rem) * .875 - .125rem);
    line-height: calc(var(--cm-wish-upload-rem) * 1.5);
    font-weight: 600;
}

.community .cm-wish-file-actions .cm-wish-file-accent {
    border-color: #1abc9d;
    background: rgb(26 188 157 / 5%);
    color: #1abc9d;
}

.cm-wish-dialog .cm-wide {
    height: 3rem;
    min-height: 3rem;
}

.cm-identity {
    display: none;
}

.cm-dialog-close {
    top: 1rem;
    right: 1.125rem;
    width: 1.875rem;
    height: 1.875rem;
    background: url('/usr/plugins/qgxy/css/images/figma/close.png') center / contain no-repeat !important;
    font-size: 0 !important;
}

.community .cm-create-panel {
    max-width: 50rem;
    margin: auto;
    padding: 2.5rem 1.75rem 1.5rem;
    background: #222;
    border-radius: .5rem;
}

.cm-create-panel h2, .cm-create-panel .cm-intro {
    text-align: center;
}

.cm-show-result .community > .cm-back, .cm-show-result .cm-ad-slots {
    display: none;
}

.cm-shortcuts {
    width: 6.5625rem;
    top: max(100px, calc(min(34.72vh, 23.4375rem) - 100px));
    padding: 0;
    border: 1.2px solid #3a3e43;
    border-radius: 1.125rem;
    background: linear-gradient(rgba(26, 28, 31, .5), rgba(18, 21, 24, .5));
    box-shadow: none;
    overflow: hidden;
}

.cm-shortcut-links {
    padding: 0;
}

.cm-shortcut-links a {
    height: 6.8125rem;
    font-size: 0.75rem;
    gap: .5rem;
    border-radius: 0;
}

.cm-shortcut-links a:hover, .cm-shortcut-links a:focus-visible, .cm-shortcut-links a[aria-current=page], .cm-shortcut-links a[data-shortcut][aria-current] {
    background: transparent;
    color: white !important;
}

.cm-shortcut-icon {
    width: 2rem;
    height: 2.125rem;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.cm-icon-app {
    height: 2rem;
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-app.png');
    background-position: -.015rem -.1875rem;
    background-size: 101.55% 140.62%;
}

.cm-icon-submit {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-submit.png');
}

.cm-icon-wish {
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-wish.png');
}

.cm-icon-feedback {
    height: 2.6875rem;
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-feedback.png');
}

.cm-icon-menu {
    width: 2.6875rem;
    height: 2.6875rem;
    background-image: url('/usr/plugins/qgxy/css/images/figma/shortcut-menu.png');
    background-size: cover;
}

.cm-shortcuts.is-collapsed {
    width: 6.5625rem;
    opacity: 1;
}

.cm-shortcut-toggle {
    height: 5rem;
    flex-direction: column;
    gap: 0;
    padding: .5rem 0;
}

.cm-shortcut-toggle-label {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

@media (max-width: 767px) {
    .community, .cm-dialog, .cm-shortcuts {
        --cm-rem: calc(100vw / 23.4375);
    }

    .community [data-uploader="wish"] {
        --cm-wish-upload-rem: calc(var(--cm-rem) * .75);
    }

    .community [data-uploader="wish"] .cm-drop.has-files {
        padding: calc(var(--cm-rem) * .875) calc(var(--cm-rem) * .5);
    }

    .community [data-uploader="wish"] .cm-drop > span {
        margin-top: calc(var(--cm-rem) * .625);
    }

    .community [data-uploader="wish"] [data-file-summary] {
        margin: calc(var(--cm-rem) * .5625) 0 calc(var(--cm-rem) * .375);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
    }

    .community .cm-wish-file progress {
        max-width: calc(var(--cm-rem) * 10.03125);
    }

    .community .cm-wish-file-actions {
        gap: calc(var(--cm-rem) * .375);
    }

    .community .cm-wish-file-actions button {
        min-width: calc(var(--cm-rem) * 3.4375);
        min-height: calc(var(--cm-rem) * 1.25);
        padding: 0 calc(var(--cm-rem) * .25);
        font-size: calc(var(--cm-rem) * .5625 - .125rem);
        line-height: calc(var(--cm-rem) * .9375);
    }

    .community {
        width: 91.466667%;
        padding: calc(var(--cm-rem) * .9375) 0 calc(var(--cm-rem) * 1.875);
        font-size: calc(var(--cm-rem) * .875 - .125rem);
    }

    .cm-back {
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1.0625);
        gap: calc(var(--cm-rem) * .25);
        margin-bottom: calc(var(--cm-rem) * .9375);
    }

    .cm-back-icon {
        width: calc(var(--cm-rem) * .625);
        height: calc(var(--cm-rem) * .625);
    }

    .community .cm-breadcrumb {
        gap: calc(var(--cm-rem) * .5);
        margin-bottom: calc(var(--cm-rem) * .9375);
        font-size: calc(var(--cm-rem) * .75);
        line-height: calc(var(--cm-rem) * 1.0625);
    }

    .cm-field {
        margin-bottom: calc(var(--cm-rem) * .75);
    }

    .cm-field > label:not(.cm-drop), .cm-label {
        font-size: calc(var(--cm-rem) * .875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.21875);
        margin-bottom: calc(var(--cm-rem) * .375);
    }

    .cm-field > label:not(.cm-drop):has(small) {
        height: calc(var(--cm-rem) * 1.21875);
        line-height: calc(var(--cm-rem) * 1.21875);
    }

    .community small, .cm-dialog small {
        font-size: calc(var(--cm-rem) * .625 - .125rem);
    }

    .community input:not([type=file]):not([type=hidden]), .community textarea, .community select {
        height: calc(var(--cm-rem) * 2.5);
        min-height: calc(var(--cm-rem) * 2.5);
        padding: calc(var(--cm-rem) * .75) calc(var(--cm-rem) * .625);
        border-color: #979797;
        border-radius: calc(var(--cm-rem) * .25);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1);
    }

    .community textarea {
        height: calc(var(--cm-rem) * 5);
    }

    .community .cm-field:has(> select)::after {
        top: calc(var(--cm-rem) * 2.59375);
        right: calc(var(--cm-rem) * .875);
        width: calc(var(--cm-rem) * .5);
        height: calc(var(--cm-rem) * .5);
    }

    .cm-counter {
        bottom: calc(var(--cm-rem) * -.625);
        font-size: calc(var(--cm-rem) * .5 - .125rem);
        line-height: calc(var(--cm-rem) * .625);
    }

    .cm-help {
        font-size: calc(var(--cm-rem) * .7 - .125rem);
        line-height: calc(var(--cm-rem) * .96875);
    }

    .cm-field[data-uploader] > .cm-help {
        margin: 0 0 calc(var(--cm-rem) * .375);
        font-size: calc(var(--cm-rem) * .7 - .125rem);
        line-height: calc(var(--cm-rem) * .96875);
    }

    .cm-field[data-uploader] > label:not(.cm-drop), .cm-contact .cm-label {
        height: auto;
        line-height: calc(var(--cm-rem) * 1.05);
    }

    .cm-drop {
        height: calc(var(--cm-rem) * 8.75);
        min-height: calc(var(--cm-rem) * 8.75);
        padding: calc(var(--cm-rem) * 1.65625) calc(var(--cm-rem) * .5) calc(var(--cm-rem) * 1);
        font-size: calc(var(--cm-rem) * .7 - .125rem);
        line-height: calc(var(--cm-rem) * .96875);
        border-radius: calc(var(--cm-rem) * .2625);
    }

    .cm-upload-icon {
        width: calc(var(--cm-rem) * 2.625);
        height: calc(var(--cm-rem) * 2.625);
    }

    .cm-drop > span:not(.cm-upload-icon) {
        margin-top: calc(var(--cm-rem) * .875);
    }

    .cm-drop small {
        font-size: calc(var(--cm-rem) * .7 - .125rem);
        line-height: calc(var(--cm-rem) * .96875);
    }

    .cm-submission-attachments:has(.has-files) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: calc(var(--cm-rem) * .75) calc(var(--cm-rem) * .9375);
        padding-top: calc(var(--cm-rem) * .46875);
    }

    .cm-submission-attachments .cm-file-preview, .cm-submission-attachments .cm-drop.has-files, .cm-file-overlay {
        border-radius: calc(var(--cm-rem) * .1875);
    }

    .cm-submission-attachments .cm-file-remove {
        top: calc(var(--cm-rem) * -.46875);
        right: calc(var(--cm-rem) * -.375);
        width: calc(var(--cm-rem) * 1.3125);
        height: calc(var(--cm-rem) * 1.3125);
        font-size: calc(var(--cm-rem) * 1.1025 - .125rem);
    }

    .cm-submission-attachments .cm-file-name, .cm-submission-attachments .cm-file-state, .cm-submission-attachments .cm-file-actions button {
        font-size: calc(var(--cm-rem) * .65625 - .125rem);
        line-height: calc(var(--cm-rem) * 1.03125);
    }

    .cm-submission-attachments .cm-file-name {
        margin-top: calc(var(--cm-rem) * .4375);
    }

    .cm-submission-attachments .cm-file-state, .cm-submission-attachments .cm-file-actions {
        gap: calc(var(--cm-rem) * .5);
        margin-top: calc(var(--cm-rem) * .1875);
    }

    .cm-submission-attachments .cm-add-more, .cm-file-overlay {
        font-size: calc(var(--cm-rem) * .5625 - .125rem);
    }

    .cm-submission-attachments .cm-add-more img {
        width: calc(var(--cm-rem) * .8203125);
        height: calc(var(--cm-rem) * .9375);
    }

    .cm-file-overlay strong {
        font-size: calc(var(--cm-rem) * .703125 - .125rem);
    }

    .cm-file-overlay-failed strong {
        font-size: inherit;
    }

    .cm-file-overlay-failed button {
        min-width: calc(var(--cm-rem) * 2.484375);
        min-height: calc(var(--cm-rem) * .890625);
    }

    .cm-contact-tabs {
        width: 84.5481%;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--cm-rem) * .625);
    }

    .cm-contact-tabs button, .cm-device-types button {
        height: calc(var(--cm-rem) * 2.5);
        min-height: calc(var(--cm-rem) * 2.5);
        padding: calc(var(--cm-rem) * .5);
        font-size: calc(var(--cm-rem) * .875 - .125rem);
    }

    .cm-submit-row {
        margin-top: calc(var(--cm-rem) * 1.875);
    }

    .cm-wide {
        height: calc(var(--cm-rem) * 2.8125);
        min-height: calc(var(--cm-rem) * 2.8125);
        border-radius: calc(var(--cm-rem) * 1.40625);
        font-size: calc(var(--cm-rem) * .9375 - .125rem);
    }

    .cm-channels {
        margin-top: calc(var(--cm-rem) * 1.875);
    }

    .cm-channels h2 {
        font-size: calc(var(--cm-rem) * .875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.05);
        margin-bottom: calc(var(--cm-rem) * .375);
    }

    .cm-channel-grid {
        gap: calc(var(--cm-rem) * .625);
    }

    .cm-channel {
        min-height: calc(var(--cm-rem) * 9.96875);
        padding: calc(var(--cm-rem) * .875);
        border-radius: calc(var(--cm-rem) * .2625);
    }

    .cm-channel-heading {
        gap: calc(var(--cm-rem) * .5625);
        margin-bottom: calc(var(--cm-rem) * .7);
    }

    .cm-channel-symbol, .cm-channel-symbol img {
        width: calc(var(--cm-rem) * 1.5625);
        height: calc(var(--cm-rem) * 1.5625);
    }

    .cm-channel h3 {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.05);
    }

    .cm-channel small {
        font-size: calc(var(--cm-rem) * .625 - .125rem);
        line-height: calc(var(--cm-rem) * .875);
    }

    .cm-channel-value {
        height: calc(var(--cm-rem) * 2.96875);
        padding: calc(var(--cm-rem) * .5) calc(var(--cm-rem) * .875);
        font-size: calc(var(--cm-rem) * .625 - .125rem);
        line-height: calc(var(--cm-rem) * .875);
        margin-bottom: calc(var(--cm-rem) * .875);
    }

    .cm-channel-actions {
        gap: calc(var(--cm-rem) * .875);
    }

    .community .cm-channel-actions > .cm-primary, .community .cm-channel-actions > .cm-secondary {
        width: calc(var(--cm-rem) * 6.25);
        height: calc(var(--cm-rem) * 1.75);
        min-height: calc(var(--cm-rem) * 1.75);
        padding: calc(var(--cm-rem) * .25) calc(var(--cm-rem) * .5);
        font-size: calc(var(--cm-rem) * .625 - .125rem);
        line-height: calc(var(--cm-rem) * 1);
    }

    .cm-ad-slots {
        display: none;
    }

    .community-feedback .cm-form > h2 {
        font-size: calc(var(--cm-rem) * .875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.0625);
        margin-bottom: calc(var(--cm-rem) * .9375);
    }

    .cm-device {
        margin: calc(var(--cm-rem) * 1.25) 0 calc(var(--cm-rem) * .75);
        padding-top: calc(var(--cm-rem) * 1.25);
    }

    .cm-device summary {
        font-size: calc(var(--cm-rem) * .875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.0625);
        margin-bottom: calc(var(--cm-rem) * .9375);
    }

    .cm-device-types {
        gap: calc(var(--cm-rem) * .625);
    }

    .cm-device-grid {
        gap: 0;
    }

    .community-feedback .cm-submit-row {
        margin-top: calc(var(--cm-rem) * 1.875);
    }

    .cm-list-toolbar {
        margin-bottom: calc(var(--cm-rem) * .625);
    }

    .cm-list-toolbar .cm-back {
        margin-bottom: calc(var(--cm-rem) * .625);
    }

    .community .cm-list-toolbar .cm-breadcrumb {
        margin-bottom: calc(var(--cm-rem) * .625);
    }

    .community .cm-list-toolbar > a.cm-primary {
        width: calc(var(--cm-rem) * 7.34375);
        height: calc(var(--cm-rem) * 2.0125);
        min-height: calc(var(--cm-rem) * 2.0125);
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
        border-radius: calc(var(--cm-rem) * .25);
    }

    .cm-plus-icon {
        width: calc(var(--cm-rem) * .7875);
        height: calc(var(--cm-rem) * .7875);
        margin-right: calc(var(--cm-rem) * .39375);
    }

    .cm-list-meta {
        min-height: calc(var(--cm-rem) * 2.1875);
        margin-bottom: calc(var(--cm-rem) * .875);
        gap: calc(var(--cm-rem) * .5);
    }

    .cm-sort {
        gap: calc(var(--cm-rem) * .375);
    }

    .cm-sort button, .cm-sort a {
        min-width: 0;
        height: calc(var(--cm-rem) * 1.575);
        padding: calc(var(--cm-rem) * .3) calc(var(--cm-rem) * .625);
        font-size: calc(var(--cm-rem) * .7875 - .125rem);
        line-height: calc(var(--cm-rem) * .875);
    }

    .cm-wish-card, .community [data-wish-detail] > .cm-panel {
        padding: calc(var(--cm-rem) * 1.225) calc(var(--cm-rem) * .75) 0;
        border-radius: 0;
        margin-bottom: calc(var(--cm-rem) * .875);
    }

    .community [data-wish-detail] > .cm-panel {
        min-height: calc(var(--cm-rem) * 13);
    }

    .cm-wish-title, .community [data-wish-detail] h2 {
        font-size: calc(var(--cm-rem) * 1.125 - .125rem);
        line-height: calc(var(--cm-rem) * 1.75);
    }

    .cm-wish-description, .cm-detail-content {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.09375);
        min-height: calc(var(--cm-rem) * 4.375);
        max-width: none;
        margin: calc(var(--cm-rem) * .6125) 0 0;
    }

    .cm-wish-bottom {
        flex-wrap: nowrap;
    }

    .cm-wish-bottom time {
        padding: 0 0 calc(var(--cm-rem) * .7);
        font-size: calc(var(--cm-rem) * .625 - .125rem);
        line-height: calc(var(--cm-rem) * .91875);
    }

    .cm-wish-actions {
        gap: calc(var(--cm-rem) * 1.6625);
        min-height: calc(var(--cm-rem) * 2.8875);
    }

    .cm-wish-actions button, .cm-wish-actions a {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.05);
        gap: calc(var(--cm-rem) * .39375);
        padding: calc(var(--cm-rem) * .4375) 0;
    }

    .cm-action-icon {
        width: calc(var(--cm-rem) * 1);
        height: calc(var(--cm-rem) * 1);
    }

    .cm-wish-status {
        right: calc(var(--cm-rem) * .75);
        top: calc(var(--cm-rem) * 1);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        padding: calc(var(--cm-rem) * .5);
        min-width: calc(var(--cm-rem) * 4);
    }

    .cm-wish-card .cm-wish-status {
        display: block;
    }

    .cm-wish-card .cm-wish-title, .community [data-wish-detail] h2 {
        padding-right: calc(var(--cm-rem) * 4.5);
    }

    .cm-wish-description, .cm-detail-content {
        min-height: calc(var(--cm-rem) * 3.28125);
    }

    .cm-detail-meta {
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        margin-bottom: calc(var(--cm-rem) * .875);
    }

    .community .cm-discussion {
        padding: calc(var(--cm-rem) * 1.05) calc(var(--cm-rem) * .75);
    }

    .cm-discussion h2 {
        font-size: calc(var(--cm-rem) * .91875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.40625);
    }

    .cm-comment-form, .cm-comment {
        gap: calc(var(--cm-rem) * .7875);
    }

    .cm-avatar {
        width: calc(var(--cm-rem) * 2.1875);
        height: calc(var(--cm-rem) * 2.1875);
    }

    .community[data-view="detail"] .cm-detail-meta {
        min-height: 0;
        margin-bottom: calc(var(--cm-rem) * .875);
    }

    .cm-comment-reply .cm-replies {
        padding: calc(var(--cm-rem) * .5);
        margin-left: 0;
    }

    .cm-reply-to {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
    }

    .cm-reply-form {
        margin-top: calc(var(--cm-rem) * .625);
        padding: calc(var(--cm-rem) * .625);
    }

    .cm-reply-heading {
        margin-bottom: calc(var(--cm-rem) * .625);
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
    }

    .community .cm-comment-input textarea {
        height: calc(var(--cm-rem) * 3.625);
        min-height: calc(var(--cm-rem) * 3.625);
        padding: calc(var(--cm-rem) * .75);
        font-size: calc(var(--cm-rem) * .65625 - .125rem);
        line-height: calc(var(--cm-rem) * .984375);
    }

    .cm-comment-bottom .cm-primary {
        min-height: calc(var(--cm-rem) * 1.75);
        padding: calc(var(--cm-rem) * .4375) calc(var(--cm-rem) * 1.6625);
        font-size: calc(var(--cm-rem) * .6125 - .125rem);
        line-height: calc(var(--cm-rem) * .875);
    }

    .cm-comment-body p {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.05);
    }

    .cm-comment-head, .cm-comment-body button {
        font-size: calc(var(--cm-rem) * .6875 - .125rem);
    }

    .cm-comment-self {
        padding: calc(var(--cm-rem) * .1875) calc(var(--cm-rem) * .375);
        border-radius: calc(var(--cm-rem) * .1875);
        font-size: calc(var(--cm-rem) * .5625 - .125rem);
        line-height: calc(var(--cm-rem) * .75);
    }

    .cm-comment-head time {
        font-size: calc(var(--cm-rem) * .5625 - .125rem);
    }

    .community .cm-create-panel {
        width: 100%;
        padding: calc(var(--cm-rem) * 1.25) calc(var(--cm-rem) * .75) calc(var(--cm-rem) * .75);
    }

    .cm-create-panel h2 {
        font-size: calc(var(--cm-rem) * 1.05 - .125rem);
        line-height: calc(var(--cm-rem) * 1.46875);
        margin-bottom: calc(var(--cm-rem) * .375);
    }

    .cm-create-panel .cm-intro {
        font-size: calc(var(--cm-rem) * .7875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.09375);
        margin-bottom: calc(var(--cm-rem) * 1.5);
    }

    .cm-create-panel .cm-drop {
        min-height: calc(var(--cm-rem) * 8.75);
        height: calc(var(--cm-rem) * 8.75);
    }

    .cm-shortcuts {
        width: calc(var(--cm-rem) * 4.5);
        border-radius: calc(var(--cm-rem) * .5625);
        top: max(100px, calc(35.32vh - 100px));
    }

    .cm-shortcut-links {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .cm-shortcut-links a {
        height: calc(var(--cm-rem) * 4.75);
        min-height: 0;
        padding: 0;
        gap: calc(var(--cm-rem) * .375);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1.125);
    }

    .cm-shortcut-links a > span:last-child {
        display: block;
        white-space: nowrap;
    }

    .cm-shortcut-icon {
        width: calc(var(--cm-rem) * 1.5);
        height: calc(var(--cm-rem) * 1.546875);
    }

    .cm-icon-app {
        height: calc(var(--cm-rem) * 1.5);
    }

    .cm-icon-feedback {
        height: calc(var(--cm-rem) * 2.015625);
        background-position: center;
        background-size: 100% auto;
    }

    .cm-shortcuts.is-collapsed {
        width: calc(var(--cm-rem) * 4.5);
    }

    .cm-shortcut-toggle{
        height: calc(var(--cm-rem) * 4);
        padding: calc(var(--cm-rem) * .375) 0;
    }

    .cm-icon-menu {
        width: calc(var(--cm-rem) * 2);
        height: calc(var(--cm-rem) * 2);
        background-size: cover;
        background-position: center;
    }

    .cm-shortcut-toggle-label {
        display: block;
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1.125);
    }
}

/* ===== 静态快照兼容与细节修正 ===== */
/* 仅约束新增业务容器；不覆盖原快照 header、masthead、footer 或根字号。 */
.community {
    color-scheme: dark;
}

/* 清除快照嵌套容器的重复缩进，业务内容使用统一的外层宽度。 */
body.card .container:has(#community) .container:has(#community) {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.card .container:has(#community) > .row {
    margin-left: 0;
    margin-right: 0;
}

body.card .col-12:has(> #community) {
    padding-left: 0;
    padding-right: 0;
}

#community.community {
    width: 100%;
    max-width: none;
}

@media (min-width: 864px) {
    body.card .container:has(#community) {
        box-sizing: border-box;
        width: 864px;
        max-width: 864px;
    }

    body.card .container:has(#community) .container:has(#community) {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    body.card .container:has(#community) {
        padding-left: 0;
        padding-right: 0;
    }

    #community.community {
        box-sizing: border-box;
        padding-left: var(--cm-rem);
        padding-right: var(--cm-rem);
    }
}

.community .cm-back {
    text-decoration: none;
}

.community .cm-back::before {
    content: none;
}

.community .cm-back-icon {
    margin: 0;
    max-width: none;
}

.community .cm-file-size {
    display: block;
    margin: .125rem 0;
    font-size: 0.625rem;
    color: #bcbcbc;
}

.community .cm-channel, .community .cm-channel-value {
    height: auto;
}

.community .cm-channel-value {
    min-height: 4.25rem;
}

.community .cm-channel-value p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.cm-media-error {
    color: #e28d8d;
    font-size: 0.75rem;
}

.cm-media-error button {
    margin-left: .5rem;
    background: transparent;
    border: 1px solid #666;
    border-radius: .25rem;
    padding: .25rem .75rem;
    color: #eee;
    cursor: pointer;
}

.cm-gallery button.is-image-error, .cm-file-preview.is-image-error {
    display: grid;
    place-items: center;
    background: #292929;
}

.cm-image-error {
    display: block;
    padding: .5rem;
    color: #ccc;
    font-size: 0.625rem;
    text-align: center;
}

.community [data-complete-feedback] {
    margin: 0 auto;
}

.community .cm-wish-card .cm-wish-title {
    padding-right: 0;
}

.community .cm-detail-content {
    max-width: none;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.community .cm-wish-card .cm-wish-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    max-height: 3.125rem;
    max-width: 29.6875rem;
}

.community .cm-detail-meta:empty {
    display: none;
}

.community .cm-wish-title, .community [data-wish-detail] h2 {
    overflow-wrap: anywhere;
}

.community .cm-empty {
    padding: 2rem;
    text-align: center;
    color: #bcbcbc;
}

.community .cm-empty p {
    white-space: pre-line;
}

.community [data-wishes] .cm-secondary {
    margin-top: 1rem;
}

.community .cm-form-status {
    color: #e28d8d;
    white-space: pre-line;
}

.community .cm-drop-small::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    background: url('/usr/plugins/qgxy/css/images/figma/upload.png') center / contain no-repeat;
}

.community .cm-gallery button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.community .cm-gallery img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.community .cm-reply-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cm-file-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-file-preview {
    cursor: zoom-in;
}

.cm-file-state {
    overflow-wrap: anywhere;
}

.community .cm-file-preview .cm-uploaded-label {
    font-size: 0.75rem;
}

.cm-media-dialog {
    width: min(90vw, 70rem);
}

.cm-media-dialog figure {
    margin: 0;
}

.cm-media-dialog .cm-dialog-close {
    z-index: 1;
}

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

.community .cm-device input {
    max-width: 100%;
}

.community .cm-file-state progress {
    margin-top: .25rem;
}

.community .cm-comment-body {
    min-width: 0;
}

.community .cm-avatar img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: inherit;
    object-fit: cover;
}

.community .cm-own-wish .cm-wish-bottom {
    flex-wrap: wrap;
}

.community-wishes .cm-result-dialog .cm-result-actions {
    flex-wrap: wrap;
}

.community .cm-comment-body p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.community .cm-comment-head {
    flex-wrap: wrap;
}

.community .cm-replies {
    margin-top: 1rem;
}

.community .cm-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    min-height: 3rem;
    height: auto;
    margin: .8rem 0;
    color: #fff;
    font-size: 0.875rem;
    line-height: normal;
}

.community .cm-pagination:empty {
    display: none;
}

.community .cm-pagination .page-jump {
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    transform: none;
}

.community .cm-pagination .page-jump form {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin: 0;
}

.community .cm-pagination .page-info {
    color: inherit;
    white-space: nowrap;
}

.community .cm-pagination .page-navigator {
    display: contents;
}

.community .cm-pagination .page-navigator li {
    margin: 0;
    float: none;
    grid-row: 1;
}

.community .cm-pagination .prev {
    grid-column: 1;
    justify-self: start;
}

.community .cm-pagination .next {
    grid-column: 3;
    justify-self: end;
}

.community .cm-pagination input[type="number"] {
    width: 4rem;
    max-width: 4rem;
    height: 2.5rem;
    min-height: 0;
    margin: 0;
    padding: .625rem;
    border: 1px solid currentColor;
    border-radius: .1875rem;
    color: inherit;
    background: transparent;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: normal;
}

.community .cm-pagination button {
    height: 2.5rem;
    padding: .5rem .625rem;
    border: 1px solid currentColor;
    border-radius: .3125rem;
    color: inherit;
    background: transparent;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.community .cm-pagination button:disabled {
    opacity: .4;
    cursor: default;
}

.community .cm-submit-row button {
    font-family: inherit;
}

.community button:focus-visible, .community a:focus-visible, .cm-shortcuts :focus-visible {
    outline: 2px solid #1abc9d;
    outline-offset: 3px;
}

.cm-shortcuts .cm-shortcut-toggle {
    cursor: pointer;
}

.cm-shortcuts .cm-shortcut-panel {
    display: grid;
    grid-template-rows: 0fr;
}

.cm-shortcuts .cm-shortcut-panel-clip {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-.5rem);
    pointer-events: none;
}

.cm-shortcuts.is-motion-ready .cm-shortcut-panel {
    transition: grid-template-rows .36s cubic-bezier(.22, 1, .36, 1);
}

.cm-shortcuts.is-motion-ready .cm-shortcut-panel-clip {
    transition: opacity .24s ease, transform .36s cubic-bezier(.22, 1, .36, 1);
}

.cm-shortcuts .cm-shortcut-links, .cm-shortcuts.is-collapsed .cm-shortcut-links {
    display: flex;
    flex-direction: column;
}

.cm-shortcuts .cm-shortcut-toggle{
    display: flex;
}

.cm-shortcuts:not(.is-collapsed) .cm-shortcut-links-panel, .cm-shortcuts.is-collapsed .cm-shortcut-toggle-panel{
    grid-template-rows: 1fr;
}

.cm-shortcuts:not(.is-collapsed) .cm-shortcut-links-panel > .cm-shortcut-panel-clip, .cm-shortcuts.is-collapsed .cm-shortcut-toggle-panel > .cm-shortcut-panel-clip{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .cm-shortcuts.is-motion-ready .cm-shortcut-panel, .cm-shortcuts.is-motion-ready .cm-shortcut-panel-clip {
        transition: none;
    }
}

body:has(#community dialog[open]) {
    overflow: hidden;
}

.community .cm-result-dialog {
    --cm-result-rem: 1rem;
    width: min(92vw, calc(var(--cm-result-rem) * 28.75));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: calc(var(--cm-result-rem) * .5);
    background: #383737;
    text-align: center;
}

.community .cm-result-dialog .cm-result-body {
    padding: calc(var(--cm-result-rem) * 3) calc(var(--cm-result-rem) * 2);
}

.community .cm-result-dialog .cm-result-symbol {
    display: block;
    width: calc(var(--cm-result-rem) * 5);
    height: calc(var(--cm-result-rem) * 5);
    margin: 0 auto calc(var(--cm-result-rem) * 2.5);
    background: none;
}

.community .cm-result-dialog .cm-result-symbol img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.community .cm-result-dialog h2 {
    margin: 0;
    color: #fff;
    font-size: calc(var(--cm-result-rem) * 1.5 - .125rem);
    line-height: calc(var(--cm-result-rem) * 2.0625);
    font-weight: 600;
}

.community .cm-result-dialog h2:focus {
    outline: none;
}

.community .cm-result-dialog .cm-dialog-close {
    top: calc(var(--cm-result-rem) * .625);
    right: calc(var(--cm-result-rem) * .625);
    width: calc(var(--cm-result-rem) * 1.875);
    height: calc(var(--cm-result-rem) * 1.875);
}

.community .cm-result-dialog .cm-result-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: calc(var(--cm-result-rem) * 1.25);
    margin: calc(var(--cm-result-rem) * 1.25) 0 0;
}

.community .cm-result-dialog .cm-result-actions > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    width: calc(var(--cm-result-rem) * 11);
    min-width: 0;
    height: calc(var(--cm-result-rem) * 3.125);
    min-height: 0;
    padding: calc(var(--cm-result-rem) * .5);
    border-radius: calc(var(--cm-result-rem) * .5);
    font-size: calc(var(--cm-result-rem) * .916 - .125rem);
    line-height: calc(var(--cm-result-rem) * 1.25);
    font-weight: 600;
    cursor: pointer;
}

.community .cm-result-dialog .cm-secondary {
    border: 1px solid #1abc9d;
    border-radius: calc(var(--cm-result-rem) * .375);
    background: rgb(26 188 157 / 5%);
    color: #1abc9d;
    text-decoration: none;
}

.community .cm-result-dialog-wish {
    background: #222;
}

.community .cm-result-dialog-wish .cm-result-body {
    padding: calc(var(--cm-result-rem) * 3.125) calc(var(--cm-result-rem) * 2);
}

.community .cm-result-dialog-wish p {
    margin: calc(var(--cm-result-rem) * .5625) 0 0;
    color: #959595;
    font-size: calc(var(--cm-result-rem) * 1.125 - .125rem);
    line-height: calc(var(--cm-result-rem) * 1.5625);
}

.community .cm-result-dialog-wish .cm-result-actions {
    margin-top: calc(var(--cm-result-rem) * 2.375);
}

.community .cm-result-dialog-wish .cm-result-actions > * {
    width: calc(var(--cm-result-rem) * 11.25);
    border-radius: calc(var(--cm-result-rem) * .375);
    font-size: calc(var(--cm-result-rem) * 1.125 - .125rem);
}

.cm-dialog .cm-toast {
    max-width: min(32rem, 85vw);
}

@media (max-width: 767px) {
    .community .cm-wish-card .cm-wish-description {
        max-height: calc(var(--cm-rem) * 2.1875);
    }

    .community .cm-channel-value {
        min-height: calc(var(--cm-rem) * 2.96875);
    }

    .community .cm-pagination {
        gap: calc(var(--cm-rem) * .375);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        min-height: calc(var(--cm-rem) * 3);
    }

    .community .cm-pagination .page-jump form {
        gap: calc(var(--cm-rem) * .25);
    }

    .community .cm-pagination .page-info {
        font-size: inherit;
    }

    .community .cm-pagination button {
        height: calc(var(--cm-rem) * 2.5);
        padding: calc(var(--cm-rem) * .5);
    }

    .community .cm-pagination input[type="number"] {
        width: calc(var(--cm-rem) * 3);
        max-width: none;
        height: calc(var(--cm-rem) * 2.5);
        padding: calc(var(--cm-rem) * .375);
        font-size: inherit;
    }

    .community .cm-wish-dialog {
        padding: calc(var(--cm-rem) * 1.75) calc(var(--cm-rem) * .875) calc(var(--cm-rem) * .875);
    }

    .community .cm-wish-dialog h2 {
        font-size: calc(var(--cm-rem) * 1.125 - .125rem);
        line-height: calc(var(--cm-rem) * 1.5);
    }

    .community .cm-wish-dialog .cm-intro {
        font-size: calc(var(--cm-rem) * .7875 - .125rem);
        line-height: calc(var(--cm-rem) * 1.09375);
    }

    .community .cm-wish-dialog .cm-drop {
        height: calc(var(--cm-rem) * 8.75);
        min-height: calc(var(--cm-rem) * 8.75);
        padding: calc(var(--cm-rem) * .875) calc(var(--cm-rem) * .5);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1);
    }

    .community .cm-wish-dialog .cm-drop > span {
        margin-top: calc(var(--cm-rem) * .625);
    }

    .community .cm-wish-dialog .cm-drop small {
        font-size: calc(var(--cm-rem) * .625 - .125rem);
        line-height: calc(var(--cm-rem) * .9375);
    }

    .community .cm-wish-dialog .cm-wide {
        height: calc(var(--cm-rem) * 2.625);
        min-height: calc(var(--cm-rem) * 2.625);
    }

    .community .cm-result-dialog {
        --cm-result-rem: calc(var(--cm-rem) * .75);
    }

    .community .cm-wish-card .cm-wish-title, .community [data-wish-detail] h2 {
        padding-right: 0;
    }

    .community .cm-detail-meta {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .community .cm-drop-small::before {
        width: calc(var(--cm-rem) * 2.625);
        height: calc(var(--cm-rem) * 2.625);
    }

    .community .cm-replies {
        padding: calc(var(--cm-rem) * .75);
    }

    .cm-toast {
        font-size: 0.75rem;
    }
}

/* ===== 问题反馈下拉框样式 ===== */
.community-feedback .cm-feedback-select {
    position: relative;
}

.community-feedback .cm-feedback-select-native {
    display: none;
}

.community-feedback .cm-feedback-select-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 3.75rem;
    min-height: 3.75rem;
    margin: 0;
    padding: 1.0625rem 3rem 1.0625rem 1.25rem;
    border: 1px solid #5e5c5c;
    border-radius: .25rem;
    background: transparent;
    color: #eee;
    font: inherit;
    font-size: 1.125rem;
    line-height: 1.5rem;
    text-align: left;
}

.community-feedback .cm-feedback-select-trigger > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-feedback .cm-feedback-select-trigger::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    width: .75rem;
    height: .75rem;
    background: url('/usr/plugins/qgxy/css/images/figma/back.png') center / contain no-repeat;
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.community-feedback .cm-feedback-select-trigger.is-placeholder {
    color: #bcbcbc;
}

.community-feedback .cm-feedback-select.is-open {
    z-index: 1000;
}

.community-feedback .cm-feedback-select.is-open .cm-feedback-select-trigger {
    border-color: #1abc9d;
}

.community-feedback .cm-feedback-select.is-open .cm-feedback-select-trigger::after {
    transform: rotate(-90deg);
}

.community-feedback .cm-feedback-select-menu {
    position: absolute;
    top: calc(100% + .375rem);
    left: 0;
    right: 0;
    max-height: 18rem;
    margin: 0;
    padding: .375rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #49635c;
    border-radius: .5rem;
    background: #292c2b;
    box-shadow: 0 .625rem 1.75rem #0005;
    scrollbar-width: thin;
    scrollbar-color: #52615c #292c2b;
    animation: cm-feedback-select-in .18s ease-out;
}

.community-feedback .cm-feedback-select.opens-up .cm-feedback-select-menu {
    top: auto;
    bottom: calc(100% + .375rem);
}

.community-feedback .cm-feedback-select-option {
    position: relative;
    margin: 0;
    padding: .625rem 2.5rem .625rem 1rem;
    border-radius: .3125rem;
    color: #d9dfdc;
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.community-feedback .cm-feedback-select-option:hover, .community-feedback .cm-feedback-select-option.is-active {
    background: #343b38;
    color: #f5f8f6;
}

.community-feedback .cm-feedback-select-option[aria-selected="true"] {
    background: #243f36;
    color: #70dfc4;
}

.community-feedback .cm-feedback-select-option[aria-selected="true"]:hover, .community-feedback .cm-feedback-select-option[aria-selected="true"].is-active {
    background: #294b40;
    color: #8cebd4;
}

.community-feedback .cm-feedback-select-option.is-active {
    box-shadow: inset 0 0 0 1px #52756a;
}

.community-feedback .cm-feedback-select-option[aria-selected="true"]::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: .375rem;
    height: .6875rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-65%) rotate(45deg);
}

.community-feedback .cm-feedback-select-option[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
}

@keyframes cm-feedback-select-in {
    from {
        opacity: 0;
        transform: translateY(-.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .community-feedback .cm-feedback-select-trigger {
        height: calc(var(--cm-rem) * 2.5);
        min-height: calc(var(--cm-rem) * 2.5);
        padding: calc(var(--cm-rem) * .75) calc(var(--cm-rem) * 2) calc(var(--cm-rem) * .75) calc(var(--cm-rem) * .625);
        border-color: #979797;
        font-size: calc(var(--cm-rem) * .75 - .125rem);
        line-height: calc(var(--cm-rem) * 1);
    }

    .community-feedback .cm-feedback-select-trigger::after {
        right: calc(var(--cm-rem) * .875);
        width: calc(var(--cm-rem) * .5);
        height: calc(var(--cm-rem) * .5);
    }

    .community-feedback .cm-feedback-select-option {
        padding: calc(var(--cm-rem) * .625) calc(var(--cm-rem) * 2) calc(var(--cm-rem) * .625) calc(var(--cm-rem) * .625);
        font-size: calc(var(--cm-rem) * .75 - .125rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-feedback .cm-feedback-select-menu {
        animation: none;
    }

    .community-feedback .cm-feedback-select-trigger::after {
        transition: none;
    }

    .community-feedback .cm-feedback-select-option {
        transition: none;
    }
}

/* 站内离开确认 */
.community .cm-leave-dialog {
    --cm-leave-rem: var(--cm-rem, 1rem);
    width: calc(100% - 2rem);
    max-width: calc(var(--cm-leave-rem) * 28);
    padding: calc(var(--cm-leave-rem) * 1.75);
    border: 0;
    border-radius: calc(var(--cm-leave-rem) * .25);
    background: #222;
    text-align: center;
}
.community .cm-leave-warning {
    display: block;
    width: calc(var(--cm-leave-rem) * 2);
    height: calc(var(--cm-leave-rem) * 2);
    margin: 0 auto;
    object-fit: contain;
}
.community .cm-leave-dialog p {
    margin: calc(var(--cm-leave-rem) * .875) 0 calc(var(--cm-leave-rem) * 1.5);
    color: #eee;
    font-size: calc(var(--cm-leave-rem) - .125rem);
    font-weight: 600;
    line-height: 1.5;
}
.community .cm-leave-actions { display: flex; gap: calc(var(--cm-leave-rem) * .75); }
.community .cm-leave-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: calc(var(--cm-leave-rem) * 3);
    min-height: 0;
    padding: calc(var(--cm-leave-rem) * .5);
    border: 1px solid #4a4a4a;
    border-radius: calc(var(--cm-leave-rem) * .25);
    background: transparent;
    color: #eee;
    font-size: calc(var(--cm-leave-rem) - .125rem);
    font-weight: 600;
    line-height: 1.25;
    box-shadow: none;
}
.community .cm-leave-actions [data-leave-confirm]:hover { background: #2b2b2b; }
.community .cm-leave-actions [data-leave-stay] { background: #087f6c; border-color: #087f6c; color: #fff; }
.community .cm-leave-actions [data-leave-stay]:hover { background: #06705f; border-color: #06705f; }

/* 兼容仍含旧入口按钮的页面快照，仅隐藏功能入口内的返回顶部。 */
.cm-shortcuts .cm-shortcut-top,
.cm-shortcuts .cm-shortcut-top-panel { display: none !important; }
