/* ===== 社区页面（反馈建议 / 更新日志） ===== */
.feedback-main,
.changelog-main,
.community-game-main,
.community-post-main {
    min-height: calc(100vh - 160px);
    background: linear-gradient(135deg, var(--bg-light) 0%, #c3cfe2 100%);
    padding: 2rem 0 3rem;
}

.feedback-container,
.changelog-container,
.community-game-container,
.community-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feedback-header,
.changelog-header,
.community-game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-header h1,
.changelog-header h1,
.community-game-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.feedback-header p,
.changelog-header p,
.community-game-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.community-game-main .community-game-container {
    max-width: 1040px;
}

/* 英文界面进入中文社区内容时的边界说明：只在英文页面渲染 */
.community-language-note {
    margin: 0 0 1rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(23, 73, 131, 0.16);
    border-radius: 10px;
    background: rgba(23, 73, 131, 0.05);
    color: #5f7084;
    font-size: 0.82rem;
    line-height: 1.5;
}

.community-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) 300px;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.35rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.community-hero-content {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 1.6rem;
    min-height: 280px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 32%),
        linear-gradient(135deg, #111827 0%, #1f2937 52%, #374151 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.community-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.community-hero h1 {
    margin: 0.8rem 0 0;
    max-width: 11ch;
    font-size: clamp(1.72rem, 3.1vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.community-hero-content p {
    margin: 0.9rem 0 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.93rem;
    line-height: 1.7;
}

.community-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.community-hero-primary-btn,
.community-hero-secondary-btn,
.community-spotlight-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    min-height: 40px;
    padding: 0 0.95rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    cursor: pointer;
}

.community-hero-primary-btn {
    background: #f8fafc;
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.community-hero-secondary-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.community-hero-primary-btn:hover,
.community-hero-secondary-btn:hover,
.community-spotlight-link:hover {
    transform: translateY(-1px);
}

.community-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
}

.community-hero-stat {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 0.72rem 0.78rem;
    background: rgba(255, 255, 255, 0.05);
}

.community-hero-stat-value {
    display: block;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.1;
}

.community-hero-stat-label {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.76rem;
}

.community-hero-side {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
}

.community-spotlight-label {
    display: inline-flex;
    align-items: center;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-spotlight-card h2 {
    margin: 0.55rem 0 0;
    color: #111827;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

.community-spotlight-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.community-spotlight-title-link:hover {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.community-spotlight-card p {
    margin: 0.55rem 0 0;
    color: #475569;
    line-height: 1.65;
    font-size: 0.88rem;
}

.community-spotlight-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.community-spotlight-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.15rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.community-hero-side .community-spotlight-card {
    justify-content: space-between;
}

/* 「本周作者」仅需内容高度，避免与精选卡强制等高被撑开 */
.community-hero-side .community-spotlight-card:first-child {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
}

.community-hero-side .community-spotlight-card:first-child h2 {
    margin-top: 0.38rem;
    font-size: clamp(1.02rem, 2.2vw, 1.2rem);
    line-height: 1.2;
}

.community-hero-side .community-spotlight-card:first-child p {
    margin-top: 0.42rem;
    font-size: 0.84rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}

.community-spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.95rem;
    align-items: center;
}

.community-spotlight-link {
    align-self: flex-start;
    padding: 0;
    min-height: 0;
    border: none;
    background: none;
    color: #111827;
    font-weight: 700;
}

/* ----- 反馈建议：表单与卡片 ----- */
.feedback-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.feedback-form-card.logged-out {
    text-align: center;
    padding: 2rem;
}

.feedback-form-card.logged-out p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feedback-form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feedback-form-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.feedback-form-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.feedback-form-name {
    font-weight: 600;
    color: var(--text-color);
}

.feedback-textarea-wrapper {
    position: relative;
}

.feedback-textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
    color: var(--text-color);
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.feedback-textarea::placeholder {
    color: var(--text-light);
}

.feedback-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.feedback-form-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feedback-min-hint {
    font-size: 0.85rem;
    color: #e67e22;
}

.feedback-char-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.feedback-char-count.near-limit {
    color: #e67e22;
}

.feedback-char-count.at-limit {
    color: var(--error-color);
}

.emoji-toggle-btn {
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.emoji-toggle-btn:hover {
    border-color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.06);
}

.emoji-toggle-btn.active {
    border-color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.1);
}

.emoji-picker-panel {
    display: none;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
    overflow: hidden;
}

.emoji-picker-panel.show {
    display: block;
    animation: emojiSlideIn 0.2s ease;
}

@keyframes emojiSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.emoji-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.emoji-tabs::-webkit-scrollbar {
    display: none;
}

.emoji-tab {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.emoji-tab:hover {
    background: var(--bg-light);
}

.emoji-tab.active {
    border-bottom-color: var(--brand-primary);
    background: #f0f2ff;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    padding: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-grid::-webkit-scrollbar {
    width: 4px;
}

.emoji-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: var(--radius-xs);
}

.emoji-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    background: none;
}

.emoji-item:hover {
    background: #f0f2ff;
    transform: scale(1.2);
}

.feedback-submit-btn {
    padding: 0.5rem 1.5rem;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.4);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ----- 反馈建议：筛选与排序工具栏 ----- */
.feedback-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feedback-status-filters {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.feedback-filter-btn {
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-filter-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.feedback-filter-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.feedback-sort-select select {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-color);
    background: #fff;
    cursor: pointer;
}

.feedback-stats,
.changelog-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ----- 游戏社区：帖子与评论 ----- */
.community-composer-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.community-composer-card.logged-out {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.6);
    margin-top: 1.2rem;
}

.community-composer-row {
    margin-bottom: 0.75rem;
}

.community-composer-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.community-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-color);
    box-sizing: border-box;
}

.community-input:focus,
.community-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.community-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    resize: vertical;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    font-family: inherit;
    box-sizing: border-box;
}

.community-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.community-char-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.community-submit-btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.4rem;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.community-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(var(--brand-primary-rgb), 0.32);
}

.community-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.community-game-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.community-post-feed-section {
    margin-bottom: 2rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.community-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* 游戏社区帖子流：紧凑卡片（约减半垂直占用，仅作用于 .community-post-feed-section） */
.community-post-feed-section .community-post-list {
    gap: 0.5rem;
}

.community-post-feed-section .community-post-main-column {
    padding: 0.5rem 0.65rem 0.55rem;
}

.community-post-feed-section .community-post-content-wrap {
    padding-top: 0.15rem;
}

.community-post-feed-section .community-post-title {
    margin: 0.4rem 0 0.3rem;
    font-size: 1.02rem;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.community-post-feed-section .community-post-title::after {
    width: 2rem;
    margin-top: 0.35rem;
}

.community-post-feed-section .community-post-submeta {
    margin-bottom: 0.35rem;
}

.community-post-feed-section .community-post-submeta .community-post-author {
    gap: 0.45rem;
}

.community-post-feed-section .community-post-submeta .community-post-avatar,
.community-post-feed-section .community-post-submeta .community-post-avatar-placeholder {
    width: 24px;
    height: 24px;
}

.community-post-feed-section .community-post-submeta .community-post-name {
    font-size: 0.78rem;
}

.community-post-feed-section .community-post-submeta .community-post-time {
    font-size: 0.68rem;
}

.community-post-feed-section .community-post-content {
    -webkit-line-clamp: 2;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 52ch;
}

.community-post-feed-section .community-post-foot {
    margin-top: 0.55rem;
    padding-top: 0.45rem;
    font-size: 0.74rem;
    gap: 0.45rem;
    position: relative;
    z-index: 2;
}

.community-post-feed-section .community-post-foot-meta {
    gap: 0.4rem;
}

.community-post-feed-section .community-post-meta-row {
    gap: 0.45rem;
    padding-bottom: 0.05rem;
}

.community-post-feed-section .community-tag {
    padding: 0.1rem 0.38rem;
    font-size: 0.68rem;
}

.community-post-feed-section .community-post-card:hover {
    transform: translateY(-1px);
}

.community-post-feed-section .community-post-card-editorial {
    border-radius: 14px;
}

.community-post-feed-section .community-post-card-editorial::before {
    left: 0.65rem;
    right: 0.65rem;
}

.community-post-card,
.community-post-detail-card,
.community-comment-card,
.community-reply-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1rem 1.2rem;
}

.community-post-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.community-post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.community-post-card-editorial {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.community-post-card-editorial::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), rgba(148, 163, 184, 0.08) 55%, transparent);
    z-index: 1;
}

.community-post-card-frame {
    position: relative;
    display: block;
}

/* 仅标题+摘要区域可点进详情；底部互动条在 hit 区外，避免遮挡点赞按钮 */
.community-post-card-hit {
    position: relative;
}

.community-post-card-hit .community-post-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    cursor: pointer;
}

.community-post-card-hit .community-post-content-wrap {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.community-post-feed-section .community-post-card-hit .community-post-submeta .community-post-author {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.community-post-main-column {
    min-width: 0;
    position: relative;
    padding: 1.15rem 1.25rem 1.2rem;
}

.community-post-body {
    padding: 0;
}

.community-post-content-wrap {
    position: relative;
    padding-top: 0.35rem;
}

.community-post-head,
.community-comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.community-post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.community-post-avatar,
.community-post-avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}

.community-post-avatar {
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.community-post-avatar[data-community-user-trigger="1"],
.community-post-avatar-placeholder[data-community-user-trigger="1"],
.player-avatar[data-community-user-trigger="1"],
.player-avatar.placeholder[data-community-user-trigger="1"] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.community-post-avatar[data-community-user-trigger="1"]:hover,
.community-post-avatar-placeholder[data-community-user-trigger="1"]:hover,
.community-post-avatar[data-community-user-trigger="1"]:focus-visible,
.community-post-avatar-placeholder[data-community-user-trigger="1"]:focus-visible,
.player-avatar[data-community-user-trigger="1"]:hover,
.player-avatar.placeholder[data-community-user-trigger="1"]:hover,
.player-avatar[data-community-user-trigger="1"]:focus-visible,
.player-avatar.placeholder[data-community-user-trigger="1"]:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.22);
    outline: none;
}

.community-post-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background: var(--brand-gradient);
}

.community-post-meta {
    min-width: 0;
}

.community-post-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color);
}

.community-post-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.community-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-start;
    max-width: none;
    min-width: 0;
}

.community-tag {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #4b5563;
}

.community-tag.topic {
    background: rgba(var(--brand-primary-rgb), 0.12);
    color: var(--brand-primary);
}

.community-tag.game {
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
}

.community-op-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.08rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius-sm);
    background: rgba(var(--brand-primary-rgb), 0.12);
    color: var(--brand-primary);
    vertical-align: middle;
}

.community-official-tag {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    background: #fff0d7;
    color: #92400e;
}

.community-post-title {
    margin: 1.05rem 0 0.7rem;
    font-size: 1.36rem;
    line-height: 1.26;
    letter-spacing: -0.028em;
    max-width: 100%;
    font-weight: 700;
}

.community-post-title {
    color: var(--text-color);
}

.community-post-card:hover .community-post-title {
    color: var(--brand-primary);
}

.community-post-title::after {
    content: "";
    display: block;
    width: 2.8rem;
    height: 1px;
    margin-top: 0.75rem;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.06) 50%, transparent);
    border-radius: 1px;
}

.community-post-submeta {
    margin-bottom: 0.8rem;
}

.community-post-submeta .community-post-author {
    gap: 0.65rem;
    position: relative;
    z-index: 2;
}

.community-post-submeta .community-post-avatar,
.community-post-submeta .community-post-avatar-placeholder {
    width: 30px;
    height: 30px;
}

.community-post-submeta .community-post-name {
    font-size: 0.86rem;
    font-weight: 600;
}

.community-post-submeta .community-post-time {
    font-size: 0.76rem;
}

.community-post-content,
.community-post-detail-content,
.community-comment-content {
    color: var(--text-color);
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}

.community-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.82;
    max-width: 62ch;
}

.community-post-foot {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #64748b;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.community-post-detail-card-enhanced .community-post-actions {
    display: flex;
    gap: 0.5rem;
}

.community-post-foot-meta {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.85rem;
    color: #64748b;
}

.community-post-meta-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    padding-bottom: 0.15rem;
    flex-wrap: wrap;
}

.community-post-comment-count {
    font-weight: 700;
    color: #334155;
}

.community-post-read-hint {
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.community-post-actions {
    display: flex;
    gap: 0.45rem;
}

.community-post-link {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.community-post-link:hover {
    text-decoration: underline;
}

.community-pagination {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.community-pagination-plugin {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.community-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

a.community-page-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-1px);
}

.community-page-btn.active {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
}

.community-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.community-page-ellipsis {
    color: var(--text-light);
    font-size: 0.92rem;
    padding: 0 0.2rem;
}

.community-pagination-jump {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.35rem;
    color: var(--text-light);
    font-size: 0.86rem;
}

.community-pagination-jump input {
    width: 3.2rem;
    height: 2.1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 0.35rem;
    text-align: center;
    color: var(--text-color);
    background: #fff;
}

.community-pagination-jump input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.12);
}

.community-pagination-jump button {
    height: 2.1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
}

.community-pagination-jump button:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.community-composer-section {
    margin-top: 0.25rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.community-composer-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.community-composer-section-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-color);
}

.community-composer-section-head p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-light);
}

.community-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.community-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 0.6rem;
    opacity: 0.5;
}

.community-empty p {
    font-size: 0.95rem;
    color: #94a3b8;
}

.community-post-main .community-post-container {
    max-width: 780px;
}

/* --- 帖子详情页增强 --- */
.community-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
    padding: 0.4rem 0.85rem 0.4rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.community-back-link:hover {
    background: #fff;
    color: var(--brand-primary);
    border-color: rgba(var(--brand-primary-rgb), 0.25);
    box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.1);
    text-decoration: none;
}

.community-post-detail-card-enhanced {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.03), 0 12px 36px rgba(35, 50, 90, 0.08);
    padding: 2rem 2.2rem;
    border-radius: 20px;
    overflow: hidden;
}

.community-post-detail-card-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 20px 20px 0 0;
}

/* 详情页作者区：更大头像、更好的视觉层次 */
.community-post-detail-card-enhanced .community-post-avatar,
.community-post-detail-card-enhanced .community-post-avatar-placeholder {
    width: 46px;
    height: 46px;
}

.community-post-detail-card-enhanced .community-post-name {
    font-size: 1rem;
}

.community-post-detail-card-enhanced .community-post-time {
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.community-post-detail-card-enhanced .community-post-tags {
    align-self: center;
}

/* 详情页标题 */
.community-post-detail-title {
    margin: 1.3rem 0 1.1rem;
    font-size: 1.75rem;
    line-height: 1.35;
    color: var(--text-color);
    letter-spacing: -0.015em;
    font-weight: 800;
}

/* 详情页内容区 */
.community-post-detail-content {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #1e293b;
}

.community-post-detail-content p,
.community-comment-content p {
    margin: 0.7rem 0;
}

.community-post-detail-content ul,
.community-post-detail-content ol,
.community-comment-content ul,
.community-comment-content ol {
    margin: 0.5rem 0 0.75rem 1.25rem;
    padding: 0;
}

.community-post-detail-content li {
    margin-bottom: 0.3rem;
}

.community-post-detail-content blockquote,
.community-comment-content blockquote {
    margin: 0.85rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid rgba(var(--brand-primary-rgb), 0.4);
    background: rgba(var(--brand-primary-rgb), 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #334155;
    font-style: italic;
}

.community-post-detail-content pre,
.community-comment-content pre {
    margin: 0.85rem 0;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.community-post-detail-content code {
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary);
    font-size: 0.9em;
}

.community-post-detail-content pre code {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.community-post-detail-content a,
.community-comment-content a {
    color: var(--brand-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.3);
    transition: border-color 0.15s;
}

.community-post-detail-content a:hover,
.community-comment-content a:hover {
    border-bottom-color: var(--brand-primary);
}

.community-post-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 0.75rem 0;
}

.community-comment-section {
    margin-top: 1.8rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    backdrop-filter: blur(6px);
}

.community-comment-section h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.community-comment-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.13);
    color: var(--brand-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.community-comment-section-sub {
    margin: 0.35rem 0 0.9rem;
    color: var(--text-light);
    font-size: 0.88rem;
}

.community-comment-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(34, 46, 82, 0.05);
    padding: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    position: relative;
    overflow: visible;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-comment-form:focus-within {
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb), 0.08);
}

.community-comment-list + .community-comment-form::before {
    content: "";
    position: absolute;
    top: -0.7rem;
    left: 0.8rem;
    right: 0.8rem;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(var(--brand-primary-rgb), 0) 0%,
        rgba(var(--brand-primary-rgb), 0.28) 12%,
        rgba(var(--brand-primary-rgb), 0.28) 88%,
        rgba(var(--brand-primary-rgb), 0) 100%
    );
}

.community-comment-rich-editor .tox-tinymce {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
}

.community-comment-textarea {
    min-height: 180px;
}

.community-mention-dropdown {
    left: 1rem;
    right: 1rem;
    bottom: 3.25rem;
    padding: 0;
    z-index: 60;
}

.community-mention-dropdown .mention-dropdown-list {
    padding: 0.3rem;
    max-height: 220px;
}

.community-mention-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.community-mention-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.community-mention-avatar.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border: none;
}

.community-mention-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-comment-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-bottom: 0.6rem;
}

.community-comment-card,
.community-reply-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.community-comment-card:hover,
.community-reply-card:hover {
    box-shadow: 0 6px 18px rgba(25, 42, 78, 0.07);
    border-color: rgba(148, 163, 184, 0.22);
}

.community-comment-content {
    font-size: 0.95rem;
    line-height: 1.8;
}

.community-comment-actions {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community-reply-btn,
.community-reply-cancel {
    border: none;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.community-like-btn {
    border: none;
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    background: rgba(148, 163, 184, 0.14);
    color: #64748b;
    cursor: pointer;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.community-like-btn:hover {
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: #475569;
}

.community-like-btn:active {
    transform: scale(0.97);
}

.community-like-btn.liked {
    background: rgba(var(--brand-primary-rgb), 0.14);
    color: var(--brand-primary);
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.22);
}

.community-like-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.community-like-icon::before {
    content: "赞";
    font-size: 0.72rem;
    font-weight: 700;
}

.community-like-btn.liked .community-like-icon::before {
    color: currentColor;
}

.community-like-count {
    font-size: 0.8rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-variant-numeric: tabular-nums;
}

.community-like-count .community-like-icon::before {
    opacity: 0.85;
}

.community-post-engagement-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    width: 100%;
}

.community-post-stat-sep,
.community-post-detail-stat-sep {
    color: #cbd5e1;
    font-weight: 300;
    user-select: none;
}

.community-post-detail-foot {
    flex-wrap: wrap;
}

.community-post-detail-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
}

.community-post-detail-comment-stat {
    color: #64748b;
}

.community-post-feed-section .community-like-btn,
.community-post-feed-section .community-like-count {
    font-size: 0.72rem;
}

.community-post-feed-section .community-like-btn {
    padding: 0.22rem 0.55rem;
}

.community-reply-btn:hover,
.community-reply-cancel:hover {
    background: rgba(var(--brand-primary-rgb), 0.18);
}

.community-reply-tip {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
    background: rgba(var(--brand-primary-rgb), 0.08);
    font-size: 0.85rem;
    color: #1f3b71;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.community-reply-tip #replyName {
    font-weight: 600;
}

.community-reply-list {
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem 0.25rem;
    border-left: 2px solid rgba(var(--brand-primary-rgb), 0.2);
    background: rgba(var(--brand-primary-rgb), 0.03);
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.community-reply-list.collapsed {
    display: none;
}

.community-reply-toggle-btn {
    border: none;
    background: transparent;
    color: var(--brand-primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    margin-top: 0.6rem;
    cursor: pointer;
}

.community-reply-toggle-btn:hover {
    text-decoration: underline;
}

/* ----- 反馈建议：列表与卡片 ----- */
.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.feedback-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.changelog-card {
    background: #fff;
    border-radius: var(--changelog-card-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.changelog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feedback-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: 42px;
}

.feedback-vote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-light);
}

.feedback-vote-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.06);
}

.feedback-vote-btn.voted {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
}

.feedback-vote-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

.feedback-content-col {
    flex: 1;
    min-width: 0;
}

.feedback-card-body {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
    margin-bottom: 0.5rem;
}

.feedback-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-light);
}

.feedback-card-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.feedback-card-avatar-placeholder {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.65rem;
}

.feedback-card-name {
    font-weight: 600;
    color: var(--text-color);
}

.feedback-card-time {
    color: var(--text-light);
}

.feedback-status-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feedback-status-badge.status-pending {
    background: #f3f4f6;
    color: #6b7280;
}

.feedback-status-badge.status-in_progress {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.feedback-status-badge.status-planned {
    background: rgba(var(--brand-primary-rgb), 0.12);
    color: var(--brand-blue);
}

.feedback-status-badge.status-completed {
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
}

.feedback-status-badge.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* ----- 反馈建议：官方回复 ----- */
.feedback-admin-reply {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feedback-admin-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-xs);
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--brand-primary);
    color: #fff;
    margin-bottom: 0.4rem;
}

.feedback-admin-reply-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    word-break: break-word;
    white-space: pre-wrap;
}

.feedback-admin-reply-time {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    display: block;
}

/* ----- 反馈建议：管理员操作 ----- */
.feedback-admin-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.feedback-admin-status-select {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-color);
    background: #fff;
}

.feedback-admin-reply-btn {
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--brand-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-admin-reply-btn:hover {
    background: var(--brand-primary);
    color: #fff;
}

.feedback-reply-form {
    margin-top: 0.75rem;
}

.feedback-reply-textarea {
    width: 100%;
    min-height: 60px;
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feedback-reply-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.feedback-reply-form-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.feedback-empty,
.changelog-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.feedback-empty-icon,
.changelog-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.feedback-empty p,
.changelog-empty p {
    font-size: 1.1rem;
}

.feedback-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ----- 更新日志：时间线 ----- */
.changelog-timeline {
    position: relative;
    padding-left: 2rem;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary), transparent);
}

.changelog-entry {
    position: relative;
    margin-bottom: 2rem;
}

.changelog-entry::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-gradient);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.2);
    z-index: 1;
}

.changelog-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.changelog-version-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.1);
}

.changelog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.changelog-card-time {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: auto;
}

.changelog-card-content {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ----- 社区页面响应式 ----- */
@media (max-width: 768px) {
    .feedback-main,
    .changelog-main,
    .community-game-main,
    .community-post-main {
        padding: 1.5rem 0 2rem;
    }

    .feedback-header h1,
    .changelog-header h1,
    .community-game-header h1 {
        font-size: 1.5rem;
    }

    .community-hero {
        grid-template-columns: 1fr;
    }

    .community-hero-side {
        grid-template-rows: none;
        grid-template-columns: 1fr;
    }

    .community-hero-content {
        min-height: auto;
        padding: 1.5rem;
    }

    .community-hero h1 {
        max-width: none;
    }

    .community-hero-stats {
        grid-template-columns: 1fr;
    }

    .community-spotlight-card {
        min-height: 0;
    }

    .feedback-form-card {
        padding: 1rem;
    }

    .feedback-card,
    .changelog-card {
        padding: 1rem;
    }

    .feedback-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .emoji-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .changelog-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .changelog-card-time {
        margin-left: 0;
    }

    .community-composer-row.split {
        grid-template-columns: 1fr;
    }

    .community-post-head,
    .community-comment-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-post-main-column {
        min-width: 0;
        padding: 1rem 1rem 1.05rem;
    }

    .community-post-tags {
        justify-content: flex-start;
        max-width: none;
    }

    .community-post-meta-row {
        width: auto;
    }

    .community-post-title {
        max-width: none;
        font-size: 1.22rem;
    }

    .community-post-feed-section .community-post-title {
        font-size: 0.95rem;
    }

    .community-post-foot,
    .community-post-foot-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .community-pagination-jump {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.2rem;
    }

    .community-composer-section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.7rem;
    }

    .community-post-detail-title {
        font-size: 1.4rem;
    }

    .community-post-detail-card-enhanced {
        padding: 1.3rem 1.2rem;
        border-radius: 16px;
    }

    .community-comment-section {
        padding: 1rem;
        border-radius: 16px;
    }

    .community-back-link {
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 480px) {
    .feedback-main,
    .changelog-main,
    .community-game-main,
    .community-post-main {
        padding: 1rem 0 1.5rem;
    }

    .feedback-container,
    .changelog-container,
    .community-game-container,
    .community-post-container {
        padding: 0 0.75rem;
    }

    .feedback-header h1,
    .changelog-header h1,
    .community-game-header h1 {
        font-size: 1.25rem;
    }

    .community-hero-content,
    .community-spotlight-card {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .community-hero-actions {
        flex-direction: column;
    }

    .community-hero-primary-btn,
    .community-hero-secondary-btn {
        width: 100%;
    }

    .feedback-form-card {
        padding: 0.75rem;
    }

    .feedback-form-header {
        flex-wrap: wrap;
    }

    .feedback-form-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .feedback-submit-btn {
        width: 100%;
    }

    .feedback-card {
        padding: 0.75rem 1rem;
    }

    .changelog-card {
        padding: 0.75rem 1rem;
    }

    .feedback-vote-col {
        min-width: 36px;
    }

    .feedback-vote-btn {
        width: 32px;
        height: 32px;
    }

    .changelog-timeline {
        padding-left: 1.5rem;
    }

    .changelog-entry::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
    }

    .community-post-detail-title {
        font-size: 1.22rem;
    }

    .community-post-detail-card-enhanced {
        padding: 1.1rem 1rem;
        border-radius: 14px;
    }

    .community-comment-section {
        padding: 0.8rem;
        border-radius: 14px;
    }

    .community-composer-footer {
        flex-wrap: wrap;
    }

    .community-submit-btn {
        width: 100%;
    }
}

/* 线下聚会房间：房间码展示条（room.html 顶部，跨游戏共享） */
.room-code-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 8px;
    margin-bottom: 1rem;
    justify-content: center;
}
.room-code-label {
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
}
.room-code-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.2em;
    color: var(--primary-color, #4a90d9);
}
@media (max-width: 768px) {
    .room-code-display { flex-wrap: wrap; }
}

/* ===== 游戏社区首页：编辑部式内容体验 ===== */
.community-game-main {
    --community-ink: #13213c;
    --community-muted: #64748b;
    --community-surface: #ffffff;
    --community-line: #dfe7f1;
    --community-blue-soft: #eaf2ff;
    --community-gold-soft: #fff4d6;
    background:
        radial-gradient(circle at 8% 4%, rgba(59, 130, 246, 0.1), transparent 25rem),
        radial-gradient(circle at 92% 16%, rgba(255, 184, 0, 0.1), transparent 22rem),
        #f5f7fb;
    color: var(--community-ink);
    padding: 2.25rem 0 4rem;
}

.community-game-main .community-game-container {
    width: 100%;
    max-width: 1216px;
    padding: 0 1.25rem;
}

.community-game-main .community-hero {
    max-width: none;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.8fr);
    gap: 1.25rem;
    margin-bottom: 0;
}

.community-game-main .community-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 2rem;
    min-height: 410px;
    padding: 2.35rem 2.5rem 1.8rem;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 28px;
    background: linear-gradient(145deg, #13213c 0%, #173b74 100%);
    box-shadow: 0 20px 45px rgba(23, 45, 84, 0.16);
}

.community-game-main .community-hero-copy {
    position: relative;
    z-index: 2;
}

.community-game-main .community-hero-eyebrow,
.community-game-main .community-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.community-game-main .community-hero-eyebrow {
    min-height: 30px;
    padding: 0.25rem 0.72rem;
    border: 1px solid rgba(255, 213, 79, 0.28);
    background: rgba(255, 184, 0, 0.12);
    color: #ffe092;
}

.community-game-main .community-hero-eyebrow::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.14);
}

.community-game-main .community-hero h1 {
    max-width: 9ch;
    margin-top: 1rem;
    font-size: clamp(2.35rem, 4vw, 3.45rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.community-game-main .community-hero-content p {
    max-width: 31rem;
    margin-top: 1rem;
    color: rgba(241, 245, 249, 0.8);
    font-size: 0.98rem;
    line-height: 1.75;
}

.community-game-main .community-hero-actions {
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.community-game-main .community-hero-primary-btn,
.community-game-main .community-hero-secondary-btn,
.community-game-main .community-spotlight-link {
    min-height: 44px;
    padding: 0 1.15rem;
    font-size: 0.9rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.community-game-main .community-hero-primary-btn {
    background: #ffffff;
    color: #173b74;
    box-shadow: 0 8px 20px rgba(7, 22, 48, 0.2);
}

.community-game-main .community-hero-secondary-btn {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.community-game-main .community-hero-primary-btn:hover {
    background: #f7fbff;
    box-shadow: 0 10px 24px rgba(7, 22, 48, 0.24);
}

.community-game-main .community-hero-secondary-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.community-game-main .community-hero-art {
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-width: 0;
    min-height: 245px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: #dce8f8;
    box-shadow: 0 12px 28px rgba(5, 18, 40, 0.22);
}

.community-game-main .community-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 33, 60, 0.04) 45%, rgba(19, 33, 60, 0.66) 100%);
    pointer-events: none;
}

.community-game-main .community-hero-art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    filter: sepia(0.08) saturate(0.82) contrast(1.04);
}

.community-game-main .community-hero-art figcaption {
    position: absolute;
    z-index: 1;
    right: 0.9rem;
    bottom: 0.8rem;
    left: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-align: center;
}

.community-game-main .community-hero-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.65rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.community-game-main .community-hero-stat {
    min-width: 0;
    padding: 0.15rem 1rem;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
}

.community-game-main .community-hero-stat:first-child {
    padding-left: 0;
}

.community-game-main .community-hero-stat:last-child {
    padding-right: 0;
    border-right: 0;
}

.community-game-main .community-hero-stat-value {
    font-size: 1.55rem;
    font-variant-numeric: tabular-nums;
}

.community-game-main .community-hero-stat-label {
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.76rem;
}

.community-game-main .community-hero-side {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1.25rem;
}

.community-game-main .community-spotlight-card {
    border: 1px solid var(--community-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(30, 58, 100, 0.07);
}

.community-game-main .community-hero-side .community-spotlight-card:first-child {
    padding: 1.3rem 1.35rem;
    border-top: 4px solid var(--brand-gold);
}

.community-game-main .community-spotlight-featured {
    padding: 1.4rem 1.45rem;
    border-top: 4px solid var(--brand-primary);
}

.community-game-main .community-spotlight-label {
    color: #536783;
    font-size: 0.7rem;
    font-weight: 800;
}

.community-game-main .community-spotlight-card h2 {
    margin-top: 0.65rem;
    color: var(--community-ink);
    font-size: 1.25rem;
    line-height: 1.35;
}

.community-game-main .community-spotlight-authors h2 {
    max-width: 16ch;
    font-size: 1.08rem;
}

.community-game-main .community-author-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.community-game-main .community-author-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 38px;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem 0.25rem 0.3rem;
    border: 1px solid #f3dca0;
    border-radius: 999px;
    background: var(--community-gold-soft);
    color: #684d0a;
    font-size: 0.78rem;
    font-weight: 700;
}

.community-game-main .community-author-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #173b74;
    color: #ffffff;
    font-size: 0.72rem;
}

.community-game-main .community-author-chip > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-game-main .community-spotlight-card p {
    color: #5a6d87;
    font-size: 0.88rem;
    line-height: 1.7;
    -webkit-line-clamp: 4;
}

.community-game-main .community-spotlight-title-link:hover {
    color: var(--brand-primary-hover);
}

.community-game-main .community-spotlight-meta {
    justify-content: space-between;
    padding-top: 1.15rem;
}

.community-game-main .community-spotlight-link {
    min-height: 44px;
    padding: 0;
    color: var(--brand-primary-hover);
}

.community-game-main .community-spotlight-link:hover {
    color: var(--brand-navy);
    box-shadow: none;
}

.community-game-main .community-post-feed-section {
    max-width: none;
    margin-top: 3.4rem;
    margin-bottom: 0;
    scroll-margin-top: 6rem;
}

.community-game-main .community-game-stats {
    align-items: flex-end;
    margin-bottom: 1.35rem;
    color: inherit;
}

.community-game-main .community-section-eyebrow {
    color: var(--brand-primary-hover);
}

.community-game-main .community-feed-heading h2,
.community-game-main .community-composer-section-head h2 {
    margin: 0.25rem 0 0;
    color: var(--community-ink);
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 820;
    letter-spacing: -0.035em;
}

.community-game-main .community-feed-heading p {
    margin-top: 0.35rem;
    color: var(--community-muted);
    font-size: 0.92rem;
}

.community-game-main .community-feed-summary {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    gap: 0.65rem;
    padding: 0 0.9rem;
    border: 1px solid var(--community-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #52637b;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.community-game-main .community-feed-summary > span[aria-hidden="true"] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9aabc1;
}

.community-game-main .community-post-feed-section .community-post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: community-post;
}

.community-game-main .community-post-feed-section .community-post-card-editorial {
    min-width: 0;
    min-height: 278px;
    counter-increment: community-post;
    border: 1px solid var(--community-line);
    border-radius: 22px;
    background: var(--community-surface);
    box-shadow: 0 8px 22px rgba(30, 58, 100, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.community-game-main .community-post-feed-section .community-post-card-editorial::before {
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0 68%, var(--brand-gold) 68% 100%);
}

.community-game-main .community-post-feed-section .community-post-card-editorial::after {
    content: counter(community-post, decimal-leading-zero);
    position: absolute;
    z-index: 0;
    top: 1.05rem;
    right: 1.15rem;
    color: #d6e1ee;
    font-size: 1.85rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.06em;
    pointer-events: none;
}

.community-game-main .community-post-feed-section .community-post-card:hover,
.community-game-main .community-post-feed-section .community-post-card:focus-within {
    transform: translateY(-3px);
    border-color: #b8c9df;
    box-shadow: 0 14px 30px rgba(30, 58, 100, 0.1);
}

.community-game-main .community-post-feed-section .community-post-card-frame,
.community-game-main .community-post-feed-section .community-post-main-column,
.community-game-main .community-post-feed-section .community-post-body {
    height: 100%;
}

.community-game-main .community-post-feed-section .community-post-main-column {
    display: flex;
    min-width: 0;
    padding: 1.45rem 1.5rem 1.25rem;
}

.community-game-main .community-post-feed-section .community-post-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.community-game-main .community-post-feed-section .community-post-content-wrap {
    padding-top: 0;
}

.community-game-main .community-post-feed-section .community-post-title {
    max-width: calc(100% - 3.3rem);
    margin: 0.25rem 0 0.8rem;
    color: var(--community-ink);
    font-size: 1.16rem;
    font-weight: 780;
    line-height: 1.38;
    letter-spacing: -0.025em;
}

.community-game-main .community-post-feed-section .community-post-title::after {
    display: none;
}

.community-game-main .community-post-feed-section .community-post-submeta {
    margin-bottom: 0.8rem;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-author {
    gap: 0.6rem;
}

.community-game-main .community-post-feed-section .lp-avatar-frame-md {
    width: 44px;
    height: 44px;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-avatar {
    width: 100%;
    height: 100%;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-name {
    color: #31435e;
    font-size: 0.82rem;
    font-weight: 700;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-time {
    color: #8a9ab0;
    font-size: 0.72rem;
}

.community-game-main .community-post-feed-section .community-post-content {
    max-width: none;
    color: #566981;
    font-size: 0.94rem;
    line-height: 1.72;
    -webkit-line-clamp: 3;
}

.community-game-main .community-post-feed-section .community-post-foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top-color: #e9eef5;
    font-size: 0.78rem;
}

.community-game-main .community-post-feed-section .community-post-foot-meta {
    width: 100%;
    gap: 0.75rem;
}

.community-game-main .community-post-feed-section .community-post-meta-row {
    gap: 0.5rem;
}

.community-game-main .community-post-feed-section .community-post-tags {
    gap: 0.35rem;
}

.community-game-main .community-post-feed-section .community-tag {
    min-height: 24px;
    padding: 0.15rem 0.52rem;
    border-radius: 999px;
    font-size: 0.7rem;
}

.community-game-main .community-post-feed-section .community-tag.topic {
    background: var(--community-blue-soft);
    color: #245eb0;
}

.community-game-main .community-post-feed-section .community-tag.game {
    background: #eaf7ef;
    color: #267548;
}

.community-game-main .community-post-feed-section .community-post-engagement-row {
    gap: 0.45rem 0.6rem;
}

.community-game-main .community-post-feed-section .community-like-btn,
.community-game-main .community-post-feed-section .community-like-count {
    min-height: 34px;
    font-size: 0.76rem;
}

.community-game-main .community-post-feed-section .community-like-btn {
    padding: 0.25rem 0.65rem;
}

.community-game-main .community-post-feed-section .community-post-read-hint {
    margin-left: auto;
    color: #2c69bd;
    font-weight: 750;
}

.community-game-main .community-post-card-hit .community-post-card-link:focus-visible {
    outline: 3px solid rgba(var(--brand-primary-rgb), 0.45);
    outline-offset: -4px;
}

.community-game-main .community-pagination-plugin {
    margin-top: 1.75rem;
    gap: 0.55rem;
}

.community-game-main .community-page-btn,
.community-game-main .community-pagination-jump input,
.community-game-main .community-pagination-jump button {
    min-width: 44px;
    height: 44px;
    border-color: var(--community-line);
    border-radius: 12px;
}

.community-game-main .community-page-btn {
    padding: 0 0.8rem;
    box-shadow: 0 4px 10px rgba(30, 58, 100, 0.04);
}

.community-game-main .community-page-btn.active {
    background: #245fb1;
}

.community-game-main .community-pagination-jump input:focus,
.community-game-main .community-input:focus,
.community-game-main .community-rich-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.14);
    outline: none;
}

.community-game-main .community-composer-section {
    max-width: none;
    margin-top: 4rem;
    padding: 2.2rem;
    border: 1px solid #d7e3f2;
    border-radius: 28px;
    background: #edf4ff;
    scroll-margin-top: 6rem;
}

.community-game-main .community-composer-section-head {
    align-items: flex-end;
    margin-bottom: 1.25rem;
}

.community-game-main .community-composer-section-head p {
    max-width: 24rem;
    color: #62748c;
    line-height: 1.6;
    text-align: right;
}

.community-game-main .community-composer-card {
    margin-bottom: 0;
    padding: 1.55rem;
    border: 1px solid #dce5f0;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(30, 58, 100, 0.07);
}

.community-game-main .community-composer-row {
    margin-bottom: 1rem;
}

.community-game-main .community-composer-row.split {
    gap: 1rem;
}

.community-game-main .community-field {
    min-width: 0;
}

.community-game-main .community-field-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    color: #273b59;
    font-size: 0.82rem;
    font-weight: 750;
}

.community-game-main .community-field-label span {
    color: #8998ab;
    font-size: 0.72rem;
    font-weight: 550;
}

.community-game-main .community-input,
.community-game-main .community-rich-textarea {
    border: 1px solid #ccd8e7;
    background: #fbfdff;
    color: var(--community-ink);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.community-game-main .community-input {
    min-height: 48px;
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.community-game-main .community-rich-textarea {
    min-height: 240px;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.94rem;
    line-height: 1.75;
}

.community-game-main .community-input:hover,
.community-game-main .community-rich-textarea:hover {
    border-color: #aebed2;
    background: #ffffff;
}

.community-game-main .community-char-count {
    color: #75869d;
    font-variant-numeric: tabular-nums;
}

.community-game-main .community-submit-btn {
    min-height: 44px;
    padding: 0 1.4rem;
    border-radius: 12px;
    background: #245fb1;
}

.community-game-main .community-submit-btn:hover:not(:disabled) {
    background: #1e4f94;
    box-shadow: 0 7px 16px rgba(36, 95, 177, 0.22);
}

.community-game-main .community-composer-card.logged-out {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.75rem;
    border: 1px solid rgba(100, 116, 139, 0.18);
    background: #ffffff;
    text-align: left;
}

.community-game-main .community-composer-card.logged-out h3 {
    color: var(--community-ink);
    font-size: 1.08rem;
}

.community-game-main .community-composer-card.logged-out p {
    margin-top: 0.35rem;
    color: var(--community-muted);
}

.community-game-main .community-composer-auth-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.community-game-main .community-composer-auth-actions .btn {
    min-height: 44px;
    min-width: 92px;
}

.community-game-main .community-empty {
    max-width: 720px;
    margin: 3.5rem auto 0;
    padding: 3rem 2rem;
    border: 1px solid var(--community-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(30, 58, 100, 0.07);
}

.community-game-main .community-empty-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 0.8rem;
    color: var(--brand-gold-dark);
    opacity: 1;
}

.community-game-main .community-empty h2 {
    color: var(--community-ink);
    font-size: 1.35rem;
}

.community-game-main .community-empty p {
    max-width: 32rem;
    margin: 0.55rem auto 1.2rem;
    color: var(--community-muted);
    line-height: 1.7;
}

.community-game-main .community-empty .community-hero-primary-btn {
    border-color: #245fb1;
    background: #245fb1;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(36, 95, 177, 0.2);
}

.community-game-main .community-empty .community-hero-primary-btn:hover {
    background: #1e4f94;
}

.community-game-main button:focus-visible,
.community-game-main a:focus-visible,
.community-game-main [role="button"]:focus-visible {
    outline: 3px solid rgba(var(--brand-primary-rgb), 0.45);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .community-game-main .community-hero {
        grid-template-columns: 1fr;
    }

    .community-game-main .community-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .community-game-main .community-spotlight-authors,
    .community-game-main .community-spotlight-featured {
        min-height: 220px;
    }
}

@media (max-width: 760px) {
    .community-game-main {
        padding: 1.25rem 0 2.5rem;
    }

    .community-game-main .community-game-container {
        padding: 0 1rem;
    }

    .community-game-main .community-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 0.72fr);
        min-height: 390px;
        padding: 2rem 1.75rem 1.5rem;
    }

    .community-game-main .community-hero h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .community-game-main .community-hero-art {
        min-height: 220px;
    }

    .community-game-main .community-post-feed-section .community-post-list {
        grid-template-columns: 1fr;
    }

    .community-game-main .community-post-feed-section .community-post-card-editorial {
        min-height: 260px;
    }

    .community-game-main .community-composer-section {
        margin-top: 3rem;
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .community-game-main .community-hero {
        gap: 0.85rem;
    }

    .community-game-main .community-hero-content {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.25rem;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 24px;
    }

    .community-game-main .community-hero h1 {
        max-width: 10ch;
        margin-top: 0.85rem;
        font-size: clamp(2.15rem, 11vw, 2.8rem);
    }

    .community-game-main .community-hero-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .community-game-main .community-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .community-game-main .community-hero-primary-btn,
    .community-game-main .community-hero-secondary-btn {
        width: 100%;
        padding: 0 0.75rem;
        font-size: 0.84rem;
    }

    .community-game-main .community-hero-art {
        min-height: 0;
        height: 170px;
        border-radius: 18px;
    }

    .community-game-main .community-hero-art img {
        object-position: center 45%;
    }

    .community-game-main .community-hero-stats {
        grid-column: auto;
        margin-top: 0;
        padding-top: 1rem;
    }

    .community-game-main .community-hero-stat {
        padding: 0 0.65rem;
    }

    .community-game-main .community-hero-stat:first-child {
        padding-left: 0;
    }

    .community-game-main .community-hero-stat:last-child {
        padding-right: 0;
    }

    .community-game-main .community-hero-stat-value {
        font-size: 1.3rem;
    }

    .community-game-main .community-hero-stat-label {
        font-size: 0.68rem;
    }

    .community-game-main .community-hero-side {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .community-game-main .community-spotlight-authors,
    .community-game-main .community-spotlight-featured {
        min-height: 0;
    }

    .community-game-main .community-hero-side .community-spotlight-card:first-child,
    .community-game-main .community-spotlight-featured {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .community-game-main .community-post-feed-section {
        margin-top: 2.6rem;
    }

    .community-game-main .community-game-stats {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
    }

    .community-game-main .community-feed-summary {
        align-self: stretch;
        justify-content: center;
    }

    .community-game-main .community-post-feed-section .community-post-card-editorial {
        min-height: 0;
        border-radius: 19px;
    }

    .community-game-main .community-post-feed-section .community-post-main-column {
        padding: 1.35rem 1.15rem 1.1rem;
    }

    .community-game-main .community-post-feed-section .community-post-title {
        font-size: 1.08rem;
    }

    .community-game-main .community-post-feed-section .community-post-content {
        font-size: 0.93rem;
    }

    .community-game-main .community-post-feed-section .community-like-btn,
    .community-game-main .community-post-feed-section .community-like-count {
        min-height: 44px;
    }

    .community-game-main .community-post-feed-section .community-post-read-hint {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .community-game-main .community-pagination-jump {
        width: 100%;
    }

    .community-game-main .community-composer-section {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .community-game-main .community-composer-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .community-game-main .community-composer-section-head p {
        text-align: left;
    }

    .community-game-main .community-composer-card {
        padding: 1.1rem;
        border-radius: 17px;
    }

    .community-game-main .community-input,
    .community-game-main .community-rich-textarea {
        font-size: 16px;
    }

    .community-game-main .community-composer-card.logged-out {
        align-items: flex-start;
        flex-direction: column;
    }

    .community-game-main .community-composer-auth-actions {
        width: 100%;
    }

    .community-game-main .community-composer-auth-actions .btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-game-main *,
    .community-game-main *::before,
    .community-game-main *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ===== 游戏社区首页：论坛式内容体验 ===== */
.community-game-main {
    --community-forum-bg: #f4f6f8;
    --community-forum-surface: #ffffff;
    --community-forum-text: #172033;
    --community-forum-muted: #657086;
    --community-forum-line: #dce2ea;
    --community-forum-blue: #2563b8;
    background: var(--community-forum-bg);
    color: var(--community-forum-text);
    padding: 2rem 0 4rem;
}

.community-game-main .community-game-container {
    max-width: 1040px;
    padding: 0 1.25rem;
}

.community-game-main .community-hero {
    display: block;
    max-width: none;
    margin: 0;
}

.community-game-main .community-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 2rem;
    row-gap: 1.75rem;
    min-height: 0;
    padding: 2rem 2.25rem;
    border: 1px solid var(--community-forum-line);
    border-radius: 14px;
    background: var(--community-forum-surface);
    color: var(--community-forum-text);
    box-shadow: none;
}

.community-game-main .community-hero-copy {
    position: static;
    z-index: auto;
}

.community-game-main .community-hero-eyebrow {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--community-forum-blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.community-game-main .community-hero-eyebrow::before {
    display: none;
}

.community-game-main .community-hero h1 {
    max-width: none;
    margin: 0.55rem 0 0;
    color: var(--community-forum-text);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-wrap: wrap;
}

.community-game-main .community-hero-content p {
    max-width: 36rem;
    margin-top: 0.8rem;
    color: var(--community-forum-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.community-game-main .community-hero-actions {
    align-self: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin-top: 0;
}

.community-game-main .community-hero-primary-btn,
.community-game-main .community-hero-secondary-btn {
    min-height: 44px;
    padding: 0 1.05rem;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 650;
    box-shadow: none;
    touch-action: manipulation;
}

.community-game-main .community-hero-primary-btn {
    border: 1px solid var(--community-forum-blue);
    background: var(--community-forum-blue);
    color: #ffffff;
}

.community-game-main .community-hero-secondary-btn {
    border: 1px solid #bdc7d5;
    background: #ffffff;
    color: #344158;
}

.community-game-main .community-hero-primary-btn:hover {
    border-color: #1f5299;
    background: #1f5299;
    box-shadow: none;
}

.community-game-main .community-hero-secondary-btn:hover {
    border-color: #8fa0b5;
    background: #f8fafc;
}

.community-game-main .community-hero-primary-btn:active,
.community-game-main .community-hero-secondary-btn:active {
    transform: scale(0.98);
}

.community-game-main .community-hero-stats {
    grid-column: 1 / -1;
    display: flex;
    grid-template-columns: none;
    gap: 1.5rem;
    margin-top: 0;
    padding-top: 1.15rem;
    border-top: 1px solid #e8ecf1;
}

.community-game-main .community-hero-stat,
.community-game-main .community-hero-stat:first-child,
.community-game-main .community-hero-stat:last-child {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.community-game-main .community-hero-stat-value {
    display: inline;
    color: #26344b;
    font-size: 1rem;
    font-weight: 700;
}

.community-game-main .community-hero-stat-label {
    display: inline;
    margin: 0;
    color: #78859a;
    font-size: 0.8rem;
}

.community-game-main .community-post-feed-section {
    max-width: none;
    margin: 2.5rem 0 0;
    scroll-margin-top: 6rem;
}

.community-game-main .community-game-stats {
    align-items: flex-end;
    margin-bottom: 0.9rem;
}

.community-game-main .community-feed-heading h2,
.community-game-main .community-composer-section-head h2 {
    margin: 0;
    color: var(--community-forum-text);
    font-size: 1.35rem;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.community-game-main .community-feed-heading p {
    margin-top: 0.25rem;
    color: #7a8699;
    font-size: 0.82rem;
}

.community-game-main .community-feed-summary {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    gap: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #69768b;
    font-size: 0.8rem;
    font-weight: 550;
}

.community-game-main .community-feed-summary > span[aria-hidden="true"] {
    width: 3px;
    height: 3px;
    background: #a8b1bf;
}

.community-game-main .community-post-feed-section .community-post-list {
    display: block;
    overflow: hidden;
    border: 1px solid var(--community-forum-line);
    border-radius: 14px;
    background: var(--community-forum-surface);
    counter-reset: none;
}

.community-game-main .community-post-feed-section .community-post-card-editorial {
    min-height: 0;
    border: 0;
    border-bottom: 1px solid #e7ebf0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    counter-increment: none;
    transition: background-color 0.16s ease;
}

.community-game-main .community-post-feed-section .community-post-card-editorial:last-child {
    border-bottom: 0;
}

.community-game-main .community-post-feed-section .community-post-card-editorial::before,
.community-game-main .community-post-feed-section .community-post-card-editorial::after {
    display: none;
}

.community-game-main .community-post-feed-section .community-post-card:hover,
.community-game-main .community-post-feed-section .community-post-card:focus-within {
    transform: none;
    border-color: transparent;
    background: #f8fafc;
    box-shadow: none;
}

.community-game-main .community-post-feed-section .community-post-card-frame,
.community-game-main .community-post-feed-section .community-post-main-column,
.community-game-main .community-post-feed-section .community-post-body {
    height: auto;
}

.community-game-main .community-post-feed-section .community-post-main-column {
    display: block;
    padding: 1.35rem 1.5rem 1.15rem;
}

.community-game-main .community-post-feed-section .community-post-body {
    display: block;
}

.community-game-main .community-post-feed-section .community-post-content-wrap {
    padding-top: 0;
}

.community-game-main .community-post-feed-section .community-post-title {
    max-width: none;
    margin: 0 0 0.7rem;
    color: var(--community-forum-text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.community-game-main .community-post-feed-section .community-post-title::after {
    display: none;
}

.community-game-main .community-post-feed-section .community-post-submeta {
    margin-bottom: 0.75rem;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-author {
    gap: 0.6rem;
}

.community-game-main .community-post-feed-section .lp-avatar-frame-md {
    width: 44px;
    height: 44px;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-avatar {
    width: 100%;
    height: 100%;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-name {
    color: #334158;
    font-size: 0.82rem;
    font-weight: 650;
}

.community-game-main .community-post-feed-section .community-post-submeta .community-post-time {
    color: #8a95a6;
    font-size: 0.74rem;
}

.community-game-main .community-post-feed-section .community-post-content {
    max-width: 72ch;
    color: #566278;
    font-size: 0.92rem;
    line-height: 1.7;
    -webkit-line-clamp: 2;
}

.community-game-main .community-post-feed-section .community-post-foot {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #edf0f4;
}

.community-game-main .community-post-feed-section .community-post-foot-meta {
    width: 100%;
    gap: 0.65rem;
}

.community-game-main .community-post-feed-section .community-post-meta-row {
    padding: 0;
}

.community-game-main .community-post-feed-section .community-tag {
    min-height: 24px;
    padding: 0.12rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
}

.community-game-main .community-post-feed-section .community-post-engagement-row {
    gap: 0.45rem 0.6rem;
}

.community-game-main .community-post-feed-section .community-like-btn {
    min-height: 36px;
    padding: 0.25rem 0.65rem;
    border-radius: 7px;
    background: #eef2f6;
}

.community-game-main .community-post-feed-section .community-like-count {
    min-height: 36px;
}

.community-game-main .community-post-feed-section .community-post-read-hint {
    margin-left: auto;
    color: var(--community-forum-blue);
    font-weight: 650;
}

.community-game-main .community-pagination-plugin {
    margin-top: 1.25rem;
}

.community-game-main .community-page-btn,
.community-game-main .community-pagination-jump input,
.community-game-main .community-pagination-jump button {
    min-width: 44px;
    height: 44px;
    border-color: var(--community-forum-line);
    border-radius: 8px;
    box-shadow: none;
}

.community-game-main .community-page-btn.active {
    background: var(--community-forum-blue);
}

.community-game-main .community-composer-section {
    max-width: none;
    margin: 3.25rem 0 0;
    padding: 1.75rem;
    border: 1px solid var(--community-forum-line);
    border-radius: 14px;
    background: var(--community-forum-surface);
    scroll-margin-top: 6rem;
}

.community-game-main .community-composer-section-head {
    align-items: flex-end;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8ecf1;
}

.community-game-main .community-composer-section-head p {
    color: #6f7c91;
    text-align: right;
}

.community-game-main .community-composer-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.community-game-main .community-field-label {
    color: #303d54;
}

.community-game-main .community-input,
.community-game-main .community-rich-textarea {
    border-color: #cdd5e0;
    border-radius: 9px;
    background: #ffffff;
}

.community-game-main .community-submit-btn {
    min-height: 44px;
    border-radius: 9px;
    background: var(--community-forum-blue);
    box-shadow: none;
}

.community-game-main .community-submit-btn:hover:not(:disabled) {
    background: #1f5299;
    box-shadow: none;
}

.community-game-main .community-composer-card.logged-out {
    margin: 0;
    padding: 1.25rem;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: none;
}

.community-game-main .community-empty {
    max-width: none;
    margin: 2.5rem 0 0;
    padding: 3rem 1.5rem;
    border: 1px solid var(--community-forum-line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}

.community-game-main button,
.community-game-main a {
    touch-action: manipulation;
}

@media (max-width: 700px) {
    .community-game-main {
        padding: 1rem 0 2.5rem;
    }

    .community-game-main .community-game-container {
        padding: 0 0.75rem;
    }

    .community-game-main .community-hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.15rem;
        padding: 1.4rem 1.15rem;
        border-radius: 12px;
    }

    .community-game-main .community-hero h1 {
        margin-top: 0.45rem;
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .community-game-main .community-hero-content p {
        margin-top: 0.65rem;
        font-size: 0.95rem;
    }

    .community-game-main .community-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .community-game-main .community-hero-primary-btn,
    .community-game-main .community-hero-secondary-btn {
        width: 100%;
    }

    .community-game-main .community-hero-stats {
        grid-column: auto;
        gap: 1rem;
        padding-top: 0.9rem;
    }

    .community-game-main .community-post-feed-section {
        margin-top: 2rem;
    }

    .community-game-main .community-game-stats {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }

    .community-game-main .community-feed-summary {
        align-self: auto;
        justify-content: flex-start;
    }

    .community-game-main .community-post-feed-section .community-post-list {
        border-radius: 12px;
    }

    .community-game-main .community-post-feed-section .community-post-card-editorial {
        border-radius: 0;
    }

    .community-game-main .community-post-feed-section .community-post-main-column {
        padding: 1.15rem 1rem 1rem;
    }

    .community-game-main .community-post-feed-section .community-post-title {
        max-width: none;
        font-size: 1.02rem;
    }

    .community-game-main .community-post-feed-section .community-post-content {
        font-size: 0.92rem;
    }

    .community-game-main .community-post-feed-section .community-post-foot,
    .community-game-main .community-post-feed-section .community-post-foot-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .community-game-main .community-post-feed-section .community-post-read-hint {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-left: auto;
    }

    .community-game-main .community-post-feed-section .community-like-btn {
        min-height: 44px;
    }

    .community-game-main .community-pagination-jump {
        width: 100%;
    }

    .community-game-main .community-composer-section {
        margin-top: 2.5rem;
        padding: 1.2rem 1rem;
        border-radius: 12px;
    }

    .community-game-main .community-composer-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .community-game-main .community-composer-section-head p {
        text-align: left;
    }

    .community-game-main .community-input,
    .community-game-main .community-rich-textarea {
        font-size: 16px;
    }
}

@media (min-width: 701px) and (max-width: 820px) {
    .community-game-main .community-composer-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .community-game-main .community-composer-section-head p {
        text-align: left;
    }
}

/* ===== 游戏社区首页：论坛式内容体验 · 信息增强版 ===== */
.community-game-main {
    --community-forum-bg: #f2f5f8;
    --community-forum-surface: #ffffff;
    --community-forum-text: #18243a;
    --community-forum-muted: #637087;
    --community-forum-line: #d9e1eb;
    --community-forum-blue: #2464b7;
    --community-forum-blue-soft: #eaf2fd;
    padding-top: 1.75rem;
}

.community-game-main .community-game-container {
    max-width: 1180px;
}

.community-game-main .community-hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border-top: 4px solid var(--community-forum-blue);
    border-radius: 16px;
}

.community-game-main .community-hero-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 2.4rem 2.65rem 2.2rem;
}

.community-game-main .community-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    color: #285f9f;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.community-game-main .community-hero-eyebrow > span {
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #39a268;
    box-shadow: 0 0 0 2px #bfe6cf;
}

.community-game-main .community-hero h1 {
    margin-top: 0.75rem;
    font-size: clamp(2.35rem, 4vw, 3.35rem);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.community-game-main .community-hero-content p {
    max-width: 39rem;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.community-game-main .community-hero-actions {
    align-self: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.community-game-main .community-hero-primary-btn,
.community-game-main .community-hero-secondary-btn {
    min-width: 112px;
    border-radius: 8px;
}

.community-game-main .community-live-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 1.35rem 1.35rem 1.35rem 0;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #f7f9fc;
}

.community-game-main .community-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 1rem;
    border-bottom: 1px solid #e1e7ef;
    color: #24344d;
}

.community-game-main .community-live-head > div {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.community-game-main .community-live-head strong {
    font-size: 0.86rem;
}

.community-game-main .community-live-head > span {
    color: #8793a5;
    font-size: 0.72rem;
}

.community-game-main .community-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e05252;
}

.community-game-main .community-live-list {
    display: grid;
    min-height: 0;
    flex: 1;
}

.community-game-main .community-live-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.7rem;
    min-width: 0;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #e3e8ef;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.community-game-main .community-live-item:nth-child(n + 4) {
    display: none;
}

.community-game-main .community-live-item:last-child,
.community-game-main .community-live-item:nth-child(3) {
    border-bottom: 0;
}

.community-game-main .community-live-item:hover,
.community-game-main .community-live-item:focus-visible {
    background: #ffffff;
}

.community-game-main .community-live-item:focus-visible {
    outline: 3px solid rgba(36, 100, 183, 0.28);
    outline-offset: -3px;
}

.community-game-main .community-live-game {
    grid-row: 1 / 3;
    align-self: start;
    min-width: 52px;
    padding: 0.2rem 0.42rem;
    border-radius: 5px;
    background: #e6eef9;
    color: #2b619f;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
}

.community-game-main .community-live-item strong {
    min-width: 0;
    overflow: hidden;
    color: #29364b;
    font-size: 0.83rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-game-main .community-live-meta {
    color: #8a95a6;
    font-size: 0.7rem;
}

.community-game-main .community-hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border-top: 1px solid #e1e7ef;
    background: #f9fafc;
}

.community-game-main .community-hero-stat,
.community-game-main .community-hero-stat:first-child,
.community-game-main .community-hero-stat:last-child {
    justify-content: center;
    min-height: 58px;
    padding: 0 1rem;
    border-right: 1px solid #e3e8ef;
}

.community-game-main .community-hero-stat:last-child {
    border-right: 0;
}

.community-game-main .community-hero-stat-value {
    color: #1c3151;
    font-size: 1.12rem;
}

.community-game-main .community-hero-stat-label {
    color: #778397;
    font-size: 0.76rem;
}

.community-game-main .community-post-feed-section {
    margin-top: 2.6rem;
}

.community-game-main .community-game-stats {
    margin-bottom: 1rem;
}

.community-game-main .community-section-kicker {
    display: block;
    margin-bottom: 0.25rem;
    color: #7e8a9e;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.community-game-main .community-feed-heading h2 {
    font-size: 1.55rem;
}

.community-game-main .community-feed-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 62px;
    margin-bottom: 0.8rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--community-forum-line);
    border-radius: 12px;
    background: #ffffff;
}

.community-game-main .community-feed-search {
    display: flex;
    align-items: center;
    min-width: 260px;
    flex: 1;
    gap: 0.6rem;
    height: 44px;
    padding: 0 0.8rem;
    border: 1px solid #d5dde8;
    border-radius: 8px;
    background: #f8fafc;
    color: #8793a6;
}

.community-game-main .community-feed-search svg {
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.community-game-main .community-feed-search:focus-within {
    border-color: #79a8df;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(36, 100, 183, 0.1);
}

.community-game-main .community-feed-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #26354b;
    font: inherit;
    font-size: 0.86rem;
}

.community-game-main .community-feed-game-filter {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    height: 44px;
    padding: 0 0.35rem 0 0.75rem;
    border: 1px solid #d5dde8;
    border-radius: 8px;
    background: #ffffff;
    color: #778397;
    font-size: 0.78rem;
}

.community-game-main .community-feed-game-filter select {
    max-width: 160px;
    height: 34px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #26354b;
    font: inherit;
    font-weight: 650;
}

.community-game-main .community-feed-game-filter:focus-within {
    border-color: #79a8df;
    box-shadow: 0 0 0 3px rgba(36, 100, 183, 0.1);
}

.community-game-main .community-feed-clear {
    min-height: 42px;
    padding: 0 0.75rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #2464b7;
    font-size: 0.8rem;
    font-weight: 650;
    cursor: pointer;
}

.community-game-main .community-feed-clear:hover {
    background: #eef4fb;
}

.community-game-main .community-feed-clear:focus-visible {
    outline: 3px solid rgba(36, 100, 183, 0.22);
    outline-offset: 1px;
}

.community-game-main .community-feed-result {
    color: #748196;
    font-size: 0.76rem;
    white-space: nowrap;
}

.community-game-main .community-feed-no-result {
    margin-bottom: 0.8rem;
    padding: 2rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #35435a;
    text-align: center;
}

.community-game-main .community-feed-no-result strong,
.community-game-main .community-feed-no-result span {
    display: block;
}

.community-game-main .community-feed-no-result span {
    margin-top: 0.35rem;
    color: #7e899a;
    font-size: 0.82rem;
}

.community-game-main [hidden] {
    display: none !important;
}

.community-game-main .community-post-feed-section .community-post-list {
    border-radius: 12px;
}

.community-game-main .community-post-feed-section .community-post-card-editorial {
    box-shadow: inset 0 0 0 0 var(--community-forum-blue);
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.community-game-main .community-post-feed-section .community-post-card:hover,
.community-game-main .community-post-feed-section .community-post-card:focus-within {
    background: #fbfcfe;
    box-shadow: inset 3px 0 0 var(--community-forum-blue);
}

.community-game-main .community-post-feed-section .community-post-card-frame {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr) 160px;
    min-height: 164px;
}

.community-game-main .community-post-author-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 1.45rem 1rem;
    border-right: 1px solid #e7ebf1;
    background: #f8fafc;
}

.community-game-main .community-post-author-column .community-post-author {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.community-game-main .community-post-author-column .lp-avatar-frame-md {
    width: 48px;
    height: 48px;
}

.community-game-main .community-post-author-column .community-post-meta {
    min-width: 0;
}

.community-game-main .community-post-author-column .community-post-name {
    max-width: 110px;
    overflow: hidden;
    color: #32445f;
    font-size: 0.78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-game-main .community-post-author-column .community-post-time {
    margin-top: 0.2rem;
    color: #8a95a6;
    font-size: 0.69rem;
}

.community-game-main .community-post-feed-section .community-post-main-column {
    display: block;
    min-width: 0;
    padding: 1.4rem 1.55rem;
}

.community-game-main .community-post-feed-section .community-post-submeta {
    margin: 0 0 0.65rem;
}

.community-game-main .community-post-feed-section .community-post-title {
    margin: 0 0 0.65rem;
    font-size: 1.08rem;
    line-height: 1.42;
}

.community-game-main .community-post-feed-section .community-post-content {
    max-width: 75ch;
    color: #58667c;
    font-size: 0.88rem;
    line-height: 1.72;
    -webkit-line-clamp: 2;
}

.community-game-main .community-post-feed-section .community-tag {
    min-height: 22px;
    padding: 0.08rem 0.45rem;
    border-radius: 5px;
    font-size: 0.66rem;
}

.community-game-main .community-post-feed-section .community-post-foot {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-top: 0;
    border-left: 1px solid #e7ebf1;
    font-size: 0.76rem;
}

.community-game-main .community-post-feed-section .community-post-foot-meta {
    width: 100%;
    align-items: stretch;
    gap: 0;
}

.community-game-main .community-post-feed-section .community-post-engagement-row {
    display: grid;
    grid-template-rows: 1fr 1fr auto;
    width: 100%;
    gap: 0;
}

.community-game-main .community-post-feed-section .community-like-btn,
.community-game-main .community-post-feed-section .community-like-count {
    align-self: stretch;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    border-radius: 0;
    background: transparent;
}

.community-game-main .community-post-feed-section .community-like-btn:hover {
    background: #edf4fd;
}

.community-game-main .community-post-feed-section .community-post-comment-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 44px;
    border-bottom: 1px solid #edf0f4;
    color: #5f6c80;
    font-size: 0.74rem;
    font-weight: 500;
}

.community-game-main .community-post-feed-section .community-post-comment-count strong {
    color: #293b55;
    font-size: 0.9rem;
}

.community-game-main .community-post-feed-section .community-post-read-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    color: #2464b7;
    font-size: 0.75rem;
    font-weight: 700;
}

.community-game-main .community-post-feed-section .community-post-read-hint span {
    margin-left: 0.35rem;
    transition: transform 0.18s ease;
}

.community-game-main .community-post-card:hover .community-post-read-hint span {
    transform: translateX(3px);
}

.community-game-main .community-composer-section {
    margin-top: 2.75rem;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .community-game-main .community-game-container {
        padding: 0 1rem;
    }

    .community-game-main .community-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
    }

    .community-game-main .community-hero-copy {
        padding: 2rem 1.75rem;
    }

    .community-game-main .community-hero h1 {
        font-size: 2.35rem;
    }

    .community-game-main .community-post-feed-section .community-post-card-frame {
        grid-template-columns: 120px minmax(0, 1fr) 132px;
    }
}

@media (max-width: 700px) {
    .community-game-main {
        padding-top: 0.85rem;
    }

    .community-game-main .community-game-container {
        padding: 0 0.7rem;
    }

    .community-game-main .community-hero-content {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        border-top-width: 3px;
    }

    .community-game-main .community-hero-copy {
        padding: 1.45rem 1.2rem 1.3rem;
    }

    .community-game-main .community-hero h1 {
        font-size: 2rem;
    }

    .community-game-main .community-hero-actions {
        margin-top: 1.15rem;
    }

    .community-game-main .community-live-panel {
        margin: 0 1rem 1rem;
    }

    .community-game-main .community-live-item {
        padding: 0.8rem;
    }

    .community-game-main .community-live-item:nth-child(3) {
        display: none;
    }

    .community-game-main .community-live-item:nth-child(2) {
        border-bottom: 0;
    }

    .community-game-main .community-hero-stats {
        grid-column: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 0;
    }

    .community-game-main .community-hero-stat,
    .community-game-main .community-hero-stat:first-child,
    .community-game-main .community-hero-stat:last-child {
        min-height: 64px;
        padding: 0.5rem 0.35rem;
        flex-direction: column;
        align-items: center;
        gap: 0.1rem;
    }

    .community-game-main .community-feed-heading h2 {
        font-size: 1.4rem;
    }

    .community-game-main .community-feed-toolbar {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.55rem;
        padding: 0.65rem;
    }

    .community-game-main .community-feed-search {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .community-game-main .community-feed-game-filter {
        min-width: 0;
    }

    .community-game-main .community-feed-game-filter select {
        max-width: 130px;
    }

    .community-game-main .community-feed-search input,
    .community-game-main .community-feed-game-filter select {
        font-size: 16px;
    }

    .community-game-main .community-feed-result {
        justify-self: end;
    }

    .community-game-main .community-post-feed-section .community-post-card-frame {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .community-game-main .community-post-author-column {
        align-items: center;
        justify-content: flex-start;
        padding: 0.9rem 1rem 0;
        border-right: 0;
        background: #ffffff;
    }

    .community-game-main .community-post-author-column .community-post-author {
        flex-direction: row;
        gap: 0.55rem;
        text-align: left;
    }

    .community-game-main .community-post-author-column .lp-avatar-frame-md {
        width: 38px;
        height: 38px;
    }

    .community-game-main .community-post-author-column .community-post-name {
        max-width: 190px;
    }

    .community-game-main .community-post-feed-section .community-post-main-column {
        padding: 0.85rem 1rem 1rem;
    }

    .community-game-main .community-post-feed-section .community-post-title {
        font-size: 1.03rem;
    }

    .community-game-main .community-post-feed-section .community-post-foot {
        border-top: 1px solid #e8edf3;
        border-left: 0;
    }

    .community-game-main .community-post-feed-section .community-post-engagement-row {
        grid-template-columns: auto auto 1fr;
        grid-template-rows: 1fr;
        min-height: 48px;
    }

    .community-game-main .community-post-feed-section .community-like-btn,
    .community-game-main .community-post-feed-section .community-like-count,
    .community-game-main .community-post-feed-section .community-post-comment-count {
        min-width: 78px;
        min-height: 48px;
        border-right: 1px solid #edf0f4;
        border-bottom: 0;
    }

    .community-game-main .community-post-feed-section .community-post-read-hint {
        min-height: 48px;
        justify-content: flex-end;
        padding-right: 1rem;
    }
}

/* ===== 游戏社区首页：活力与动态反馈 ===== */
.community-game-main {
    --community-forum-navy: #102a51;
    --community-forum-blue-deep: #174983;
    --community-forum-blue-bright: #5aa5ff;
    --community-forum-coral: #b94f24;
    --community-forum-green: #2f9b68;
    --community-forum-warm: #f6bd5b;
    background:
        linear-gradient(180deg, #edf3fa 0, #f8fafc 320px, var(--community-forum-bg) 760px);
}

.community-game-main .community-hero-content {
    isolation: isolate;
    position: relative;
    grid-template-rows: auto;
    border: 1px solid rgba(22, 61, 107, 0.42);
    border-top: 0;
    background:
        linear-gradient(128deg, var(--community-forum-navy) 0%, var(--community-forum-blue-deep) 58%, #2264a9 100%);
    box-shadow: 0 24px 56px rgba(20, 54, 96, 0.2);
    animation: community-rise-in 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.community-game-main .community-hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    z-index: 3;
    background: linear-gradient(90deg, var(--community-forum-warm), #f08a4b 48%, var(--community-forum-blue-bright));
    pointer-events: none;
}

.community-game-main .community-hero-content::after {
    content: "";
    position: absolute;
    right: -9rem;
    bottom: -13rem;
    z-index: -1;
    width: 31rem;
    height: 31rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.035),
        0 0 0 142px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.community-game-main .community-hero-copy,
.community-game-main .community-live-panel {
    position: relative;
    z-index: 2;
}

.community-game-main .community-hero-copy {
    padding: 2.7rem 2.8rem 2.55rem;
}

.community-game-main .community-hero-eyebrow {
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dcecff;
    letter-spacing: 0.09em;
}

.community-game-main .community-hero-eyebrow > span {
    box-shadow: 0 0 0 3px rgba(47, 155, 104, 0.18);
}

.community-game-main .community-hero h1 {
    max-width: 11ch;
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(2.65rem, 4.5vw, 3.7rem);
    line-height: 1.08;
    text-wrap: balance;
}

.community-game-main .community-hero-title-accent {
    position: relative;
    display: inline-block;
    color: #ffd587;
}

.community-game-main .community-hero-title-accent::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.14em;
    left: 0;
    height: 0.1em;
    border-radius: 999px;
    background: var(--community-forum-coral);
    transform: rotate(-1.5deg);
}

.community-game-main .community-hero-content p {
    max-width: 34rem;
    color: #d5e4f6;
    font-size: 1.02rem;
}

.community-game-main .community-hero-actions {
    margin-top: 1.65rem;
}

.community-game-main .community-hero-primary-btn,
.community-game-main .community-hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 126px;
    border-radius: 10px;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.community-game-main .community-hero-primary-btn svg,
.community-game-main .community-hero-secondary-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.community-game-main .community-hero-primary-btn {
    border-color: #ffd181;
    background: #ffd181;
    color: #17345e;
}

.community-game-main .community-hero-secondary-btn {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.community-game-main .community-hero-primary-btn:hover,
.community-game-main .community-hero-secondary-btn:hover {
    transform: translateY(-2px);
}

.community-game-main .community-hero-primary-btn:hover {
    border-color: #ffe1a9;
    background: #ffe1a9;
    box-shadow: 0 10px 24px rgba(4, 20, 43, 0.28);
}

.community-game-main .community-hero-secondary-btn:hover {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(4, 20, 43, 0.18);
}

.community-game-main .community-hero-primary-btn:focus-visible,
.community-game-main .community-hero-secondary-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.community-game-main .community-live-panel {
    margin: 1.4rem 1.4rem 1.4rem 0;
    border-color: rgba(255, 255, 255, 0.65);
    background: #fafdff;
    box-shadow: 0 18px 38px rgba(5, 27, 58, 0.25);
}

.community-game-main .community-live-head {
    border-bottom-color: #dbe5f1;
    background: rgba(237, 244, 252, 0.72);
}

.community-game-main .community-live-head > span {
    color: #687b93;
}

.community-game-main .community-live-dot {
    position: relative;
    box-shadow: 0 0 0 4px rgba(224, 82, 82, 0.13);
}

.community-game-main .community-live-item {
    position: relative;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    animation: community-live-enter 0.32s ease-out both;
}

.community-game-main .community-live-item:nth-child(1) {
    animation-delay: 0.08s;
}

.community-game-main .community-live-item:nth-child(2) {
    animation-delay: 0.14s;
}

.community-game-main .community-live-item:nth-child(3) {
    animation-delay: 0.2s;
}

.community-game-main .community-live-item:hover,
.community-game-main .community-live-item:focus-visible {
    z-index: 1;
    transform: translateX(3px);
    box-shadow: inset 3px 0 0 var(--community-forum-coral);
}

.community-game-main .community-live-item:nth-child(2) .community-live-game {
    background: #e6f5ee;
    color: #25794f;
}

.community-game-main .community-live-item:nth-child(3) .community-live-game {
    background: #fff0e6;
    color: #a85c20;
}

.community-game-main .community-live-empty {
    display: flex;
    min-height: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem;
    color: #2c3d55;
    text-align: center;
}

.community-game-main .community-live-empty span {
    color: #77879b;
    font-size: 0.78rem;
}

.community-game-main .community-hero-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    align-self: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.community-game-main .community-hero-art::after {
    content: none;
}

.community-game-main .community-piece {
    position: absolute;
    display: block;
}

.community-game-main .community-piece-ring {
    top: 1.65rem;
    left: 48%;
    width: 52px;
    height: 52px;
    border: 10px solid rgba(255, 209, 129, 0.28);
    border-radius: 50%;
    transform: rotate(14deg);
}

.community-game-main .community-piece-card {
    bottom: 1.55rem;
    left: 43%;
    width: 42px;
    height: 56px;
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    transform: rotate(-13deg);
}

.community-game-main .community-piece-card::before,
.community-game-main .community-piece-card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%);
}

.community-game-main .community-piece-card::before {
    top: 10px;
}

.community-game-main .community-piece-card::after {
    bottom: 10px;
}

.community-game-main .community-piece-dot {
    top: 4.8rem;
    left: 39%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(104, 183, 255, 0.62);
    box-shadow: 0 0 0 7px rgba(104, 183, 255, 0.1);
}

.community-game-main .community-post-feed-section {
    margin-top: 3.25rem;
    animation: none;
}

.community-game-main .community-section-kicker {
    color: var(--community-forum-coral);
}

.community-game-main .community-feed-heading h2 {
    color: #13233c;
    font-size: 1.7rem;
}

.community-game-main .community-feed-heading p {
    max-width: 48rem;
    color: #66758a;
}

.community-game-main .community-feed-summary {
    padding: 0 0.75rem;
    border: 1px solid #d8e2ee;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
}

.community-game-main .community-feed-toolbar {
    border-color: #d4e0ee;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 26px rgba(33, 66, 107, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-game-main .community-feed-toolbar:focus-within {
    border-color: #b9cee8;
    box-shadow: 0 9px 24px rgba(36, 100, 183, 0.08);
}

.community-game-main .community-feed-search {
    border-color: #cfdae8;
    background: #f4f7fb;
}

.community-game-main .community-feed-game-filter {
    border-color: #cfdae8;
}

.community-game-main .community-post-feed-section .community-post-list {
    border-color: #d5e0ec;
    box-shadow: 0 14px 34px rgba(31, 64, 105, 0.08);
}

.community-game-main .community-post-feed-section .community-post-card-editorial {
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.community-game-main .community-post-author-column,
.community-game-main .community-post-feed-section .community-post-title {
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.community-game-main .community-post-author-column .lp-avatar-frame-md {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-game-main .community-post-card:hover .community-post-author-column,
.community-game-main .community-post-card:focus-within .community-post-author-column {
    background: #eef5fc;
}

.community-game-main .community-post-card:hover .community-post-title,
.community-game-main .community-post-card:focus-within .community-post-title {
    color: var(--community-forum-blue);
}

.community-game-main .community-post-card:hover .community-post-author-column .lp-avatar-frame-md,
.community-game-main .community-post-card:focus-within .community-post-author-column .lp-avatar-frame-md {
    transform: scale(1.06);
    box-shadow:
        0 0 0 3px #ffffff,
        0 6px 16px rgba(36, 100, 183, 0.24);
}

.community-game-main .community-post-feed-section .community-tag.topic {
    background: #fff0e7;
    color: #a8562b;
}

.community-game-main .community-post-feed-section .community-tag.game {
    background: #e8f5ed;
    color: #287a50;
}

.community-game-main .community-post-feed-section .community-post-like-btn.liked {
    background: #fff1e9;
    color: #c95b2b;
}

.community-game-main .community-composer-section {
    position: relative;
    overflow: hidden;
    border-color: #d4e0ed;
    box-shadow: 0 16px 38px rgba(31, 64, 105, 0.08);
}

.community-game-main .community-composer-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--community-forum-coral);
}

.community-game-main .community-composer-section-head {
    align-items: flex-end;
}

.community-game-main .community-composer-section-head .community-section-kicker {
    margin-bottom: 0.35rem;
}

@keyframes community-rise-in {
    from {
        opacity: 1;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes community-live-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .community-game-main .community-hero-copy {
        padding: 2.15rem 1.85rem 2rem;
    }

    .community-game-main .community-hero h1 {
        font-size: clamp(2.25rem, 5vw, 3rem);
    }

    .community-game-main .community-piece-ring {
        left: 46%;
    }

    .community-game-main .community-piece-card {
        left: 40%;
    }
}

@media (max-width: 700px) {
    .community-game-main .community-hero-content {
        grid-template-rows: auto auto;
    }

    .community-game-main .community-hero-copy {
        padding: 1.6rem 1.2rem 1.35rem;
    }

    .community-game-main .community-hero-eyebrow {
        padding: 0.35rem 0.6rem;
        font-size: 0.72rem;
    }

    .community-game-main .community-hero h1 {
        max-width: none;
        margin-top: 0.85rem;
        font-size: 2.1rem;
        line-height: 1.12;
    }

    .community-game-main .community-hero-content p {
        margin-top: 0.85rem;
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .community-game-main .community-hero-actions {
        margin-top: 1.2rem;
    }

    .community-game-main .community-hero-primary-btn,
    .community-game-main .community-hero-secondary-btn {
        min-width: 0;
    }

    .community-game-main .community-live-panel {
        margin: 0 0.85rem 0.85rem;
    }

    .community-game-main .community-hero-art {
        display: none;
    }

    .community-game-main .community-post-feed-section {
        margin-top: 2.4rem;
    }

    .community-game-main .community-feed-summary {
        padding: 0 0.65rem;
    }

    .community-game-main .community-composer-section-head {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-game-main .community-hero-content,
    .community-game-main .community-hero-eyebrow > span,
    .community-game-main .community-live-dot,
    .community-game-main .community-live-item,
    .community-game-main .community-post-feed-section {
        animation: none !important;
    }

    .community-game-main .community-hero-primary-btn:hover,
    .community-game-main .community-hero-secondary-btn:hover,
    .community-game-main .community-live-item:hover,
    .community-game-main .community-live-item:focus-visible,
    .community-game-main .community-post-card:hover .community-post-author-column .lp-avatar-frame-md,
    .community-game-main .community-post-card:focus-within .community-post-author-column .lp-avatar-frame-md {
        transform: none;
    }
}

/* ===== 游戏社区帖子流：社交化互动重构 ===== */
.community-game-main .community-post-feed-section .community-post-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.community-game-main .community-post-feed-section .community-post-card-editorial {
    min-height: 0;
    overflow: hidden;
    border: 1px solid #d9e3ef;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(31, 64, 105, 0.06);
    transform: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.community-game-main .community-post-feed-section .community-post-card-editorial::before,
.community-game-main .community-post-feed-section .community-post-card-editorial::after {
    content: none;
}

.community-game-main .community-post-feed-section .community-post-card:hover,
.community-game-main .community-post-feed-section .community-post-card:focus-within {
    border-color: #bfd0e4;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(31, 64, 105, 0.11);
    transform: translateY(-2px);
}

.community-game-main .community-post-feed-section .community-post-card-frame {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 0;
}

.community-game-main .community-post-feed-section .community-post-card-frame,
.community-game-main .community-post-feed-section .community-post-main-column,
.community-game-main .community-post-feed-section .community-post-body {
    height: auto;
}

.community-game-main .community-post-author-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 1.25rem 0 0 1.15rem;
    border: 0;
    background: transparent;
}

.community-game-main .community-post-author-column .lp-avatar-frame-md {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    box-shadow: 0 0 0 3px #ffffff, 0 5px 14px rgba(36, 100, 183, 0.17);
}

.community-game-main .community-post-card:hover .community-post-author-column,
.community-game-main .community-post-card:focus-within .community-post-author-column {
    background: transparent;
}

.community-game-main .community-post-feed-section .community-post-main-column {
    display: block;
    min-width: 0;
    padding: 1.15rem 1.3rem 1rem 0.8rem;
}

.community-game-main .community-post-feed-section .community-post-submeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.65rem;
}

.community-game-main .community-post-feed-section .community-post-meta {
    min-width: 0;
}

.community-game-main .community-post-feed-section .community-post-name {
    max-width: 28rem;
    overflow: hidden;
    color: #26364f;
    font-size: 0.83rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-game-main .community-post-feed-section .community-post-time {
    margin-top: 0.12rem;
    color: #8995a7;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.community-game-main .community-post-feed-section .community-post-meta-row {
    width: auto;
    flex: 0 0 auto;
    gap: 0.4rem;
    margin-left: auto;
    padding: 0;
}

.community-game-main .community-post-feed-section .community-post-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    gap: 0.35rem;
}

.community-game-main .community-post-feed-section .community-tag {
    display: inline-block;
    max-width: 18rem;
    min-height: 22px;
    overflow: hidden;
    padding: 0.1rem 0.48rem;
    border-radius: 6px;
    font-size: 0.66rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-game-main .community-post-feed-section .community-post-content-wrap {
    padding-top: 0;
}

.community-game-main .community-post-feed-section .community-post-title {
    max-width: none;
    margin: 0 0 0.5rem;
    color: #172742;
    font-size: 1.12rem;
    font-weight: 760;
    line-height: 1.42;
    letter-spacing: -0.018em;
    text-wrap: pretty;
}

.community-game-main .community-post-feed-section .community-post-title::after {
    display: none;
}

.community-game-main .community-post-feed-section .community-post-content {
    max-width: 72ch;
    color: #5b6980;
    font-size: 0.9rem;
    line-height: 1.72;
    -webkit-line-clamp: 2;
}

.community-game-main .community-post-feed-section .community-post-foot {
    display: block;
    margin: 0.9rem 0 0;
    padding: 0.72rem 0 0;
    border-top: 1px solid #edf1f6;
    border-left: 0;
    color: #69778b;
    font-size: 0.78rem;
}

.community-game-main .community-post-feed-section .community-post-foot-meta {
    display: block;
    width: 100%;
}

.community-game-main .community-post-feed-section .community-post-engagement-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    gap: 0.35rem;
}

.community-game-main .community-post-feed-section .community-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 40px;
    gap: 0.38rem;
    margin: 0;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #68768a;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}

.community-game-main .community-post-feed-section .community-action:hover {
    background: #f0f4f8;
    color: #253a59;
}

.community-game-main .community-post-feed-section .community-action:active {
    transform: scale(0.96);
}

.community-game-main .community-post-feed-section .community-action:focus-visible,
.community-game-main .community-post-feed-section .community-post-read-hint:focus-visible {
    outline: 3px solid rgba(36, 100, 183, 0.25);
    outline-offset: 2px;
}

.community-game-main .community-post-feed-section .community-action-icon,
.community-game-main .community-post-feed-section .community-action-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.community-game-main .community-post-feed-section .community-like-btn,
.community-game-main .community-post-feed-section .community-like-count,
.community-game-main .community-post-feed-section .community-post-comment-count {
    align-self: auto;
    min-width: 44px;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.community-game-main .community-post-feed-section .community-like-btn:hover {
    background: #fff0f1;
    color: #d8414b;
}

.community-game-main .community-post-feed-section .community-post-like-btn.liked {
    background: #fff0f1;
    color: #e04450;
    box-shadow: none;
}

.community-game-main .community-post-feed-section .community-post-like-btn.liked .community-action-icon {
    fill: currentColor;
}

.community-game-main .community-post-feed-section .community-post-like-btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.community-game-main .community-post-feed-section .community-post-like-readonly {
    cursor: default;
}

.community-game-main .community-post-feed-section .community-post-comment-count {
    color: #68768a;
    font-size: 0.78rem;
    font-weight: 600;
}

.community-game-main .community-post-feed-section .community-post-comment-count strong {
    color: inherit;
    font-size: inherit;
    font-weight: 700;
}

.community-game-main .community-post-feed-section .community-post-share-btn.copied {
    background: #eaf7ef;
    color: #287a50;
}

.community-game-main .community-post-feed-section .community-post-read-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    gap: 0.35rem;
    margin: 0 0 0 auto;
    padding: 0 0.35rem 0 0.7rem;
    border-radius: 8px;
    color: #2464b7;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.community-game-main .community-post-feed-section .community-post-read-hint:hover {
    background: #edf4fd;
    color: #174f94;
}

.community-game-main .community-post-feed-section .community-post-read-hint span {
    margin: 0;
    transform: none;
}

.community-game-main .community-post-feed-section .community-action-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.18s ease;
}

.community-game-main .community-post-card:hover .community-post-read-hint .community-action-arrow,
.community-game-main .community-post-read-hint:hover .community-action-arrow {
    transform: translateX(3px);
}

.community-game-main .community-post-feed-section .community-post-like-btn.just-liked .community-action-icon {
    animation: community-like-pop 0.4s cubic-bezier(0.2, 0.85, 0.3, 1.35);
}

@keyframes community-like-pop {
    0% { transform: scale(0.8); }
    45% { transform: scale(1.38) rotate(-8deg); }
    100% { transform: scale(1); }
}

@media (max-width: 700px) {
    .community-game-main .community-post-feed-section .community-post-list {
        gap: 0.65rem;
    }

    .community-game-main .community-post-feed-section .community-post-card-frame {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .community-game-main .community-post-author-column {
        align-items: flex-start;
        justify-content: center;
        padding: 1rem 0 0 0.8rem;
        border: 0;
        background: transparent;
    }

    .community-game-main .community-post-author-column .lp-avatar-frame-md {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .community-game-main .community-post-feed-section .community-post-main-column {
        padding: 0.95rem 0.85rem 0.85rem 0.55rem;
    }

    .community-game-main .community-post-feed-section .community-post-submeta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.45rem 0.65rem;
        margin-bottom: 0.6rem;
    }

    .community-game-main .community-post-feed-section .community-post-meta-row {
        max-width: 62%;
        min-width: 0;
        margin-left: auto;
    }

    .community-game-main .community-post-feed-section .community-tag.topic {
        max-width: clamp(5.5rem, 28vw, 9rem);
    }

    .community-game-main .community-post-feed-section .community-post-name {
        max-width: 12rem;
        font-size: 0.8rem;
    }

    .community-game-main .community-post-feed-section .community-post-title {
        margin-bottom: 0.42rem;
        font-size: 1.04rem;
        line-height: 1.42;
    }

    .community-game-main .community-post-feed-section .community-post-content {
        font-size: 0.86rem;
        line-height: 1.64;
    }

    .community-game-main .community-post-feed-section .community-post-foot {
        margin-top: 0.75rem;
        padding-top: 0.55rem;
        border-top: 1px solid #edf1f6;
        border-left: 0;
    }

    .community-game-main .community-post-feed-section .community-post-engagement-row {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        min-height: 44px;
        gap: 0.2rem;
    }

    .community-game-main .community-post-feed-section .community-action,
    .community-game-main .community-post-feed-section .community-like-btn,
    .community-game-main .community-post-feed-section .community-like-count,
    .community-game-main .community-post-feed-section .community-post-comment-count {
        min-width: 44px;
        min-height: 44px;
        padding: 0 0.55rem;
        border: 0;
        border-radius: 999px;
    }

    .community-game-main .community-post-feed-section .community-post-read-hint {
        min-height: 44px;
        justify-content: center;
        margin-left: auto;
        padding: 0 0.25rem 0 0.55rem;
    }
}

@media (max-width: 420px) {
    .community-game-main .community-post-feed-section .community-action-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .community-game-main .community-post-feed-section .community-post-tags {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-game-main .community-post-feed-section .community-post-like-btn.just-liked .community-action-icon {
        animation: none;
    }

    .community-game-main .community-post-feed-section .community-post-card:hover,
    .community-game-main .community-post-feed-section .community-post-card:focus-within,
    .community-game-main .community-post-feed-section .community-action:active,
    .community-game-main .community-post-card:hover .community-post-read-hint .community-action-arrow,
    .community-game-main .community-post-read-hint:hover .community-action-arrow {
        transform: none;
    }
}


/* ===== 游戏社区详情页：与社区首页统一的编辑式阅读体验 ===== */
.community-post-main {
    --community-forum-navy: #102a51;
    --community-forum-blue-deep: #174983;
    --community-forum-blue-bright: #5aa5ff;
    --community-forum-coral: #b94f24;
    --community-forum-green: #2f9b68;
    --community-forum-warm: #f6bd5b;
    min-height: calc(100vh - 160px);
    padding: 2.2rem 0 4rem;
    background:
        radial-gradient(circle at 72% 5%, rgba(90, 165, 255, 0.11), transparent 27rem),
        linear-gradient(180deg, #edf3fa 0, #f8fafc 350px, #f4f7fb 100%);
}

.community-post-main .community-post-container {
    width: 100%;
    max-width: 960px;
    padding: 0 1.25rem;
}

.community-post-main .community-back-link {
    min-height: 40px;
    margin-bottom: 1rem;
    padding: 0.55rem 0.95rem;
    border-color: #d4e0ed;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    color: #5e6f84;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(31, 64, 105, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.community-post-main .community-back-link:hover {
    border-color: #b9cee8;
    background: #ffffff;
    color: var(--community-forum-blue-deep);
    box-shadow: 0 10px 26px rgba(31, 64, 105, 0.11);
    transform: translateX(-2px);
}

.community-post-main .community-back-link:active {
    transform: translateX(-1px) scale(0.985);
}

.community-post-main .community-back-link:focus-visible {
    outline: 3px solid rgba(36, 100, 183, 0.25);
    outline-offset: 3px;
}

.community-post-main .community-post-detail-card-enhanced {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(22, 61, 107, 0.3);
    border-top: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(20, 54, 96, 0.15);
    animation: community-detail-rise-in 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.community-post-main .community-post-detail-card-enhanced::before {
    z-index: 4;
    height: 4px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--community-forum-warm), #f08a4b 48%, var(--community-forum-blue-bright));
}

.community-post-main .community-post-detail-hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 2.25rem 2.65rem 2.45rem;
    background: linear-gradient(128deg, var(--community-forum-navy) 0%, var(--community-forum-blue-deep) 58%, #2264a9 100%);
}

.community-post-main .community-post-detail-hero::before {
    content: "";
    position: absolute;
    right: -10rem;
    bottom: -15rem;
    z-index: -1;
    width: 31rem;
    height: 31rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.035),
        0 0 0 142px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.community-post-main .community-post-detail-hero-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.community-post-main .community-post-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dcecff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.community-post-main .community-post-detail-kicker > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--community-forum-warm);
    box-shadow: 0 0 0 4px rgba(246, 189, 91, 0.15);
}

.community-post-main .community-post-detail-hero .community-post-tags {
    position: relative;
    z-index: 2;
    align-self: auto;
    justify-content: flex-end;
}

.community-post-main .community-post-detail-hero .community-tag {
    padding: 0.28rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-size: 0.75rem;
}

.community-post-main .community-post-detail-hero .community-tag.topic {
    background: rgba(255, 209, 129, 0.14);
    color: #ffe2aa;
}

.community-post-main .community-post-detail-hero .community-tag.game {
    background: rgba(109, 207, 158, 0.14);
    color: #bcebd4;
}

.community-post-main .community-post-detail-title {
    position: relative;
    z-index: 2;
    max-width: 23ch;
    margin: 1.7rem 0 2rem;
    color: #ffffff;
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.community-post-main .community-post-detail-hero .community-post-head {
    position: relative;
    z-index: 2;
    flex-direction: row;
    align-items: center;
}

.community-post-main .community-post-detail-hero .community-post-author {
    gap: 0.8rem;
}

.community-post-main .community-post-detail-card-enhanced .lp-avatar-frame-md {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 20px rgba(4, 20, 43, 0.24);
}

.community-post-main .community-post-detail-card-enhanced .community-post-avatar {
    width: 100%;
    height: 100%;
    border: 0;
}

.community-post-main .community-post-detail-hero .community-post-name {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
}

.community-post-main .community-post-detail-hero .community-post-time {
    margin-top: 0.12rem;
    color: #b9cce3;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.community-post-main .community-post-detail-piece {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
}

.community-post-main .community-post-detail-piece-ring {
    top: 5.5rem;
    right: 14%;
    width: 56px;
    height: 56px;
    border: 10px solid rgba(255, 209, 129, 0.18);
    border-radius: 50%;
    transform: rotate(14deg);
}

.community-post-main .community-post-detail-piece-card {
    right: 6%;
    bottom: 2rem;
    width: 42px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.17);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-12deg);
}

.community-post-main .community-post-detail-piece-card::before,
.community-post-main .community-post-detail-piece-card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44);
    transform: translateX(-50%);
}

.community-post-main .community-post-detail-piece-card::before {
    top: 10px;
}

.community-post-main .community-post-detail-piece-card::after {
    bottom: 10px;
}

.community-post-main .community-post-detail-body {
    padding: 2.3rem 2.65rem 2rem;
}

.community-post-main .community-post-detail-content {
    max-width: 70ch;
    color: #25364d;
    font-size: 1.04rem;
    line-height: 1.95;
    text-wrap: pretty;
}

.community-post-main .community-post-detail-content blockquote {
    border-left-color: var(--community-forum-coral);
    border-radius: 0 10px 10px 0;
    background: #fff5ef;
    color: #4c3c35;
}

.community-post-main .community-post-detail-content a {
    color: var(--community-forum-blue-deep);
    border-bottom-color: rgba(23, 73, 131, 0.32);
}

.community-post-main .community-post-detail-foot {
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top-color: #e1e8f0;
}

.community-post-main .community-post-detail-stats {
    gap: 0.55rem;
}

.community-post-main .community-post-detail-stats .community-like-btn,
.community-post-main .community-post-detail-stats .community-like-count,
.community-post-main .community-post-detail-comment-stat {
    min-height: 36px;
}

.community-post-main .community-post-detail-stats .community-like-btn,
.community-post-main .community-post-detail-stats .community-like-count {
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: #eef4fa;
    color: #52677f;
}

.community-post-main .community-post-detail-stats .community-like-btn:hover,
.community-post-main .community-post-detail-stats .community-like-btn.liked {
    background: #fff0e7;
    color: #b94f24;
    box-shadow: inset 0 0 0 1px rgba(185, 79, 36, 0.14);
}

.community-post-main .community-post-detail-comment-stat {
    display: inline-flex;
    align-items: center;
    color: #5e7188;
}

.community-post-main .community-post-detail-foot .community-reply-btn {
    min-height: 36px;
    border-radius: 8px;
    background: #eef4fa;
    color: var(--community-forum-blue-deep);
}

.community-post-main #deletePostBtn {
    background: #fff1ef;
    color: #a83e37;
}

.community-post-main #editPostPanel {
    margin-top: 1.25rem;
    border: 1px solid #d4e0ed;
    box-shadow: 0 16px 38px rgba(31, 64, 105, 0.08);
}

.community-post-main .community-comment-section {
    position: relative;
    margin-top: 2.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.community-post-main .community-comment-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.2rem 0.9rem;
    border-bottom: 1px solid #d5e0ec;
}

.community-post-main .community-comment-section-kicker {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--community-forum-coral);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.community-post-main .community-comment-section h2 {
    color: #13233c;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.community-post-main .community-comment-section-count {
    min-width: 1.55rem;
    min-height: 1.55rem;
    margin-left: 0.45rem;
    border-radius: 6px;
    background: #e6f0fb;
    color: var(--community-forum-blue-deep);
    font-size: 0.78rem;
}

.community-post-main .community-comment-section-sub {
    margin: 0 0 0.15rem;
    color: #6b7c90;
}

.community-post-main .community-comment-list {
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.community-post-main .community-comment-card {
    padding: 1.25rem 1.35rem 1.15rem;
    border: 1px solid #d8e2ee;
    border-left: 4px solid transparent;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(31, 64, 105, 0.07);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.community-post-main .community-comment-card:hover,
.community-post-main .community-comment-card:focus-within {
    border-color: #c8d8e9;
    border-left-color: var(--community-forum-coral);
    box-shadow: 0 16px 34px rgba(31, 64, 105, 0.11);
    transform: translateY(-2px);
}

.community-post-main .community-comment-head {
    flex-direction: row;
    align-items: center;
}

.community-post-main .community-comment-card .lp-avatar-frame-md {
    width: 40px;
    height: 40px;
}

.community-post-main .community-comment-content {
    margin-top: 0.9rem;
    color: #33465d;
    line-height: 1.82;
    text-wrap: pretty;
}

.community-post-main .community-comment-actions {
    margin-top: 0.8rem;
}

.community-post-main .community-comment-card .community-reply-btn,
.community-post-main .community-comment-card .community-like-btn,
.community-post-main .community-reply-toggle-btn {
    min-height: 34px;
    border-radius: 8px;
}

.community-post-main .community-comment-card .community-reply-btn {
    background: #eef4fa;
    color: var(--community-forum-blue-deep);
}

.community-post-main .community-comment-card .community-like-btn {
    background: #f2f5f8;
}

.community-post-main .community-comment-card .community-like-btn:hover,
.community-post-main .community-comment-card .community-like-btn.liked {
    background: #fff0e7;
    color: #b94f24;
    box-shadow: none;
}

.community-post-main .community-reply-list {
    margin-top: 0.75rem;
    padding: 0.8rem 0 0 1rem;
    border-left-color: #b9cde3;
    border-radius: 0;
    background: transparent;
}

.community-post-main .community-reply-card {
    padding: 0.9rem 1rem;
    border-color: #dee7f0;
    border-radius: 12px;
    background: #f5f8fb;
    box-shadow: none;
}

.community-post-main .community-reply-card:hover {
    border-color: #cddbea;
    box-shadow: none;
}

.community-post-main .community-comment-form,
.community-post-main .community-composer-card.logged-out {
    position: relative;
    margin-top: 1.2rem;
    margin-bottom: 0.2rem;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(32, 79, 132, 0.2);
    border-radius: 20px;
    background:
        radial-gradient(circle at 96% 4%, rgba(90, 165, 255, 0.09), transparent 15rem),
        #ffffff;
    box-shadow: 0 20px 48px rgba(31, 64, 105, 0.11);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.community-post-main .community-comment-form:focus-within {
    border-color: rgba(23, 73, 131, 0.52);
    box-shadow:
        0 22px 52px rgba(31, 64, 105, 0.15),
        0 0 0 4px rgba(90, 165, 255, 0.09);
}

.community-post-main .community-comment-list + .community-comment-form::before {
    display: none;
}

.community-post-main .community-comment-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem 1.05rem;
}

.community-post-main .community-comment-form-author {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.8rem;
}

.community-post-main .community-comment-form-author .lp-avatar-frame-md {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 3px solid #ffffff;
    box-shadow:
        0 0 0 1px rgba(23, 73, 131, 0.15),
        0 7px 16px rgba(31, 64, 105, 0.13);
}

.community-post-main .community-comment-form-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-post-main .community-comment-form-intro {
    min-width: 0;
}

.community-post-main .community-comment-form-eyebrow {
    display: block;
    margin-bottom: 0.13rem;
    color: var(--community-forum-coral);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.community-post-main .community-comment-form-title {
    margin: 0;
    color: #172a43;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.community-post-main .community-comment-form-intro p {
    margin: 0.22rem 0 0;
    overflow: hidden;
    color: #758599;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-post-main .community-comment-writing-hints {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #61748a;
    font-size: 0.73rem;
}

.community-post-main .community-comment-writing-hints > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    gap: 0.25rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: rgba(245, 248, 252, 0.84);
    white-space: nowrap;
}

.community-post-main .community-comment-writing-hints kbd {
    min-width: 1.25rem;
    padding: 0.08rem 0.28rem;
    border: 1px solid #c9d6e4;
    border-bottom-width: 2px;
    border-radius: 4px;
    background: #ffffff;
    color: #314861;
    font: 600 0.67rem/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-align: center;
    box-shadow: 0 1px 1px rgba(31, 64, 105, 0.06);
}

.community-post-main .community-comment-writing-hints i {
    color: #9aa8b8;
    font-style: normal;
}

.community-post-main .community-comment-editor-shell {
    padding: 0 1.4rem;
}

.community-post-main .community-comment-rich-editor .tox-tinymce,
.community-post-main .community-comment-textarea {
    overflow: hidden;
    border: 1px solid #cfdbe8 !important;
    border-radius: 13px !important;
    background: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 24px rgba(31, 64, 105, 0.055);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.community-post-main .community-comment-rich-editor .tox-tinymce.tox-edit-focus,
.community-post-main .community-comment-textarea:focus {
    border-color: #6b9ed3 !important;
    outline: none;
    box-shadow:
        0 0 0 3px rgba(90, 165, 255, 0.13),
        0 10px 26px rgba(31, 64, 105, 0.08);
}

.community-post-main .community-comment-rich-editor .tox .tox-editor-header {
    padding: 0.34rem 0.42rem !important;
    border-bottom: 1px solid #e0e8f1 !important;
    background: #f5f8fc !important;
    box-shadow: none !important;
}

.community-post-main .community-comment-rich-editor .tox .tox-toolbar-overlord,
.community-post-main .community-comment-rich-editor .tox .tox-toolbar,
.community-post-main .community-comment-rich-editor .tox .tox-toolbar__overflow,
.community-post-main .community-comment-rich-editor .tox .tox-toolbar__primary {
    background: transparent !important;
}

.community-post-main .community-comment-rich-editor .tox .tox-toolbar__group {
    padding: 0 0.16rem !important;
}

.community-post-main .community-comment-rich-editor .tox .tox-tbtn {
    border-radius: 7px !important;
    color: #354b64 !important;
    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        transform 0.12s ease;
}

.community-post-main .community-comment-rich-editor .tox .tox-tbtn:hover {
    background: #e5edf6 !important;
    color: var(--community-forum-blue-deep) !important;
}

.community-post-main .community-comment-rich-editor .tox .tox-tbtn:active {
    transform: scale(0.96);
}

.community-post-main .community-comment-rich-editor .tox .tox-tbtn--enabled,
.community-post-main .community-comment-rich-editor .tox .tox-tbtn--enabled:hover {
    background: #dceaf8 !important;
    color: var(--community-forum-blue-deep) !important;
}

.community-post-main .community-comment-rich-editor .tox .tox-tbtn svg {
    fill: currentcolor !important;
}

.community-post-main .community-comment-textarea {
    min-height: 208px;
    padding: 1.25rem 1.35rem;
    color: #293b51;
    font-family: inherit;
    font-size: 0.94rem;
    line-height: 1.75;
    resize: vertical;
}

.community-post-main .community-comment-textarea::placeholder {
    color: #8997a8;
}

.community-post-main .community-editor-status.show {
    margin: 0.65rem 0 0.1rem;
    padding: 0.4rem 0.55rem;
    border-radius: 7px;
    background: #f4f7fb;
}

.community-post-main .community-reply-tip {
    min-height: 44px;
    margin-bottom: 0.7rem;
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
    border: 1px solid #cbdcec;
    border-radius: 10px;
    background: #edf5fc;
    color: #38546f;
}

.community-post-main .community-reply-tip::before {
    content: "↳";
    color: var(--community-forum-coral);
    font-size: 1rem;
    font-weight: 800;
}

.community-post-main .community-reply-tip .community-reply-cancel {
    min-width: 44px;
    min-height: 34px;
    margin-left: auto;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(23, 73, 131, 0.12);
}

.community-post-main .community-comment-form .community-composer-footer {
    position: relative;
    margin-top: 0.9rem;
    padding: 0.9rem 1.4rem 1.3rem;
    border-top: 1px solid #e7edf4;
}

.community-post-main .community-char-count {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    color: #8190a1;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.community-post-main .community-char-count::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 0.34rem;
    border-radius: 50%;
    background: #c6d1dd;
    box-shadow: 0 0 0 3px rgba(198, 209, 221, 0.23);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.community-post-main .community-char-count strong {
    color: #52667c;
    font-size: 0.86rem;
    font-weight: 750;
}

.community-post-main .community-char-count.is-ready {
    color: #587065;
}

.community-post-main .community-char-count.is-ready::before {
    background: var(--community-forum-green);
    box-shadow: 0 0 0 3px rgba(47, 155, 104, 0.14);
}

.community-post-main .community-char-count.is-near-limit,
.community-post-main .community-char-count.is-near-limit strong {
    color: #a44a27;
}

.community-post-main .community-comment-form .community-submit-btn {
    min-width: 116px;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #174983, #2368ab);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 750;
    letter-spacing: 0.015em;
    box-shadow: 0 9px 20px rgba(23, 73, 131, 0.21);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.community-post-main .community-comment-form .community-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #123f75, #1e5f9e);
    box-shadow: 0 12px 24px rgba(23, 73, 131, 0.27);
    transform: translateY(-1px);
}

.community-post-main .community-comment-form .community-submit-btn:active:not(:disabled) {
    box-shadow: 0 5px 12px rgba(23, 73, 131, 0.2);
    transform: translateY(1px) scale(0.985);
}

.community-post-main .community-comment-form .community-submit-btn:disabled {
    background: #dbe4ee;
    color: #8291a3;
    opacity: 1;
    box-shadow: none;
}

.community-post-main .community-comment-form.is-submitting .community-submit-btn {
    cursor: wait;
}

.community-post-main .community-composer-card.logged-out.community-comment-login-prompt {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
}

.community-post-main .community-comment-login-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf4fb;
    color: var(--community-forum-blue-deep);
    font: 800 2rem/1 Georgia, serif;
}

.community-post-main .community-comment-login-copy > span {
    color: var(--community-forum-coral);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.community-post-main .community-comment-login-copy h3 {
    margin: 0.12rem 0 0;
    color: #172a43;
    font-size: 1.05rem;
}

.community-post-main .community-comment-login-copy p {
    margin: 0.25rem 0 0;
    color: #718196;
    font-size: 0.82rem;
}

.community-post-main .community-comment-login-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.community-post-main .community-comment-login-actions .btn {
    min-width: 86px;
    min-height: 44px;
    border-radius: 9px;
}

.community-post-main .community-comment-form .community-submit-btn:focus-visible,
.community-post-main .community-reply-btn:focus-visible,
.community-post-main .community-like-btn:focus-visible,
.community-post-main .community-reply-toggle-btn:focus-visible {
    outline: 3px solid rgba(36, 100, 183, 0.22);
    outline-offset: 2px;
}

@keyframes community-detail-rise-in {
    from {
        opacity: 1;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .community-post-main {
        padding: 1rem 0 2.5rem;
    }

    .community-post-main .community-post-container {
        min-width: 0;
        padding: 0 0.8rem;
    }

    .community-post-main .community-back-link {
        min-width: 44px;
        min-height: 44px;
        margin-bottom: 0.8rem;
    }

    .community-post-main .community-post-detail-card-enhanced {
        border-radius: 18px;
    }

    .community-post-main .community-post-detail-hero {
        min-height: 0;
        padding: 1.55rem 1.25rem 1.65rem;
    }

    .community-post-main .community-post-detail-hero-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .community-post-main .community-post-detail-hero .community-post-tags {
        align-self: flex-start;
        justify-content: flex-start;
    }

    .community-post-main .community-post-detail-title {
        max-width: none;
        margin: 1.25rem 0 1.55rem;
        font-size: clamp(1.65rem, 7.2vw, 2.15rem);
        line-height: 1.2;
    }

    .community-post-main .community-post-detail-piece {
        display: none;
    }

    .community-post-main .community-post-detail-body {
        padding: 1.45rem 1.25rem 1.35rem;
    }

    .community-post-main .community-post-detail-content {
        width: 100%;
        min-width: 0;
        font-size: 1rem;
        line-height: 1.88;
    }

    .community-post-main .community-post-detail-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.7rem;
    }

    .community-post-main .community-post-detail-stats .community-like-btn,
    .community-post-main .community-post-detail-stats .community-like-count,
    .community-post-main .community-post-detail-comment-stat,
    .community-post-main .community-post-detail-foot .community-reply-btn,
    .community-post-main .community-comment-card .community-reply-btn,
    .community-post-main .community-comment-card .community-like-btn,
    .community-post-main .community-reply-toggle-btn,
    .community-post-main .community-reply-cancel,
    .community-post-main .community-comment-form .community-submit-btn {
        min-height: 44px;
    }

    .community-post-main .community-comment-section {
        margin-top: 2rem;
    }

    .community-post-main .community-comment-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        margin-bottom: 0.8rem;
        padding-right: 0.1rem;
        padding-left: 0.1rem;
    }

    .community-post-main .community-comment-section h2 {
        font-size: 1.35rem;
    }

    .community-post-main .community-comment-card {
        width: 100%;
        min-width: 0;
        padding: 1rem;
        border-left-width: 3px;
        border-radius: 14px;
    }

    .community-post-main .community-comment-head {
        flex-direction: row;
        align-items: center;
    }

    .community-post-main .community-comment-card .community-post-author {
        min-width: 0;
    }

    .community-post-main .community-comment-card .community-post-meta {
        min-width: 0;
    }

    .community-post-main .community-comment-card .community-post-name {
        overflow-wrap: anywhere;
    }

    .community-post-main .community-reply-list {
        padding-left: 0.7rem;
    }

    .community-post-main .community-comment-form,
    .community-post-main .community-composer-card.logged-out {
        width: 100%;
        min-width: 0;
        padding: 0;
        border-radius: 16px;
    }

    .community-post-main .community-comment-form-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem 1rem 0.85rem;
    }

    .community-post-main .community-comment-form-author .lp-avatar-frame-md {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .community-post-main .community-comment-writing-hints {
        justify-content: flex-start;
        width: 100%;
    }

    .community-post-main .community-comment-writing-hints > span {
        min-height: 32px;
    }

    .community-post-main .community-comment-editor-shell {
        padding: 0 0.85rem;
    }

    .community-post-main .community-comment-form .community-composer-footer {
        align-items: stretch;
        flex-direction: column;
        margin-top: 0.75rem;
        padding: 0.75rem 0.85rem 0.85rem;
    }

    .community-post-main .community-comment-rich-editor .tox .tox-editor-header {
        padding: 0.24rem 0.3rem !important;
    }

    .community-post-main .community-comment-textarea {
        min-height: 196px;
    }

    .community-post-main .community-comment-form .community-submit-btn {
        width: 100%;
        min-height: 48px;
    }

    .community-post-main .community-composer-card.logged-out.community-comment-login-prompt {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 1.05rem;
    }

    .community-post-main .community-comment-login-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .community-post-main .community-comment-login-actions .btn {
        flex: 1 1 0;
    }
}

@media (max-width: 390px) {
    .community-post-main .community-post-detail-hero,
    .community-post-main .community-post-detail-body {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .community-post-main .community-post-detail-card-enhanced .lp-avatar-frame-md {
        width: 42px;
        height: 42px;
    }

    .community-post-main .community-post-detail-title {
        font-size: 1.55rem;
    }

    .community-post-main .community-comment-card {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .community-post-main .community-comment-form-head {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .community-post-main .community-composer-card.logged-out.community-comment-login-prompt {
        grid-template-columns: 1fr;
    }

    .community-post-main .community-comment-login-mark {
        display: none;
    }

    .community-post-main .community-comment-login-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .community-post-main .community-comment-login-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-post-main .community-post-detail-card-enhanced {
        animation: none;
    }

    .community-post-main .community-back-link:hover,
    .community-post-main .community-comment-card:hover,
    .community-post-main .community-comment-card:focus-within {
        transform: none;
    }

    .community-post-main .community-comment-form,
    .community-post-main .community-comment-form .community-submit-btn,
    .community-post-main .community-comment-rich-editor .tox .tox-tbtn {
        transition: none;
    }

    .community-post-main .community-comment-form .community-submit-btn:hover:not(:disabled),
    .community-post-main .community-comment-form .community-submit-btn:active:not(:disabled),
    .community-post-main .community-comment-rich-editor .tox .tox-tbtn:active {
        transform: none;
    }
}
