/* ═══════════════════════════════════════════════════════════ */
/* ═══ Single Download Page - v22.4 - Optimized          ═══ */
/* ═══ آیکون بدون کادر + دکمه‌های کوچک‌تر + فونت بهینه   ═══ */
/* ═══ + متاهای چسبیده در موبایل                        ═══ */
/* ═══ + هاور کارت مرتبط فقط دسکتاپ                     ═══ */
/* ═══ + ترتیب صحیح آیکون و متن متا                    ═══ */
/* ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════ */
/* ═══ CSS Variables - Light Mode (Default)               ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page {
    --fx-bg: transparent;
    --fx-text: #1a1a1a;
    --fx-text-muted: #9a9a9a;
    --fx-text-secondary: #666;
    --fx-border: #eee;
    --fx-border-light: #f0f0f0;
    --fx-divider: #e5e5e5;
    
    --fx-card-bg: #fff;
    --fx-card-border: #eee;
    --fx-card-hover-bg: #fafafa;
    
    --fx-input-bg: #fff;
    --fx-input-border: #ddd;
    --fx-input-text: #1a1a1a;
    
    --fx-comment-bg: #fafafa;
    --fx-comment-child-bg: #f5f5f5;
    --fx-comment-border: #f0f0f0;
    
    --fx-thumb-bg: #f8f9fa;
    --fx-thumb-empty-bg: #e8eaf6;
    --fx-thumb-empty-hover: #c5cae9;
    
    --fx-accent: #2b4bf2;
    --fx-accent-hover: #1e3ad9;
    --fx-accent-light: rgba(43, 75, 242, 0.1);
    --fx-accent-shadow: rgba(43, 75, 242, 0.35);
    
    --fx-icon-color: #9a9a9a;
    --fx-icon-stroke: 1.8;
    
    --fx-title-color: #1a1a1a;
    --fx-body-text: #333;
    
    --fx-logged-in-bg: #e8f5e9;
    --fx-logged-in-color: #2e7d32;
    --fx-logged-in-border: #4caf50;
    --fx-logged-in-link: #1976d2;
    
    --fx-children-border: #e3f2fd;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ CSS Variables - Dark Mode                          ═══ */
/* ═══════════════════════════════════════════════════════════ */
html.dark_mod .fx-page,
html.dark_mod.fx-page,
.dark_mod .fx-page {
    --fx-bg: transparent;
    --fx-text: #f5f5f7;
    --fx-text-muted: #98989d;
    --fx-text-secondary: #c7c7cc;
    --fx-border: rgba(255, 255, 255, 0.08);
    --fx-border-light: rgba(255, 255, 255, 0.06);
    --fx-divider: rgba(255, 255, 255, 0.12);
    
    --fx-card-bg: #1c1c1e;
    --fx-card-border: rgba(255, 255, 255, 0.08);
    --fx-card-hover-bg: #2c2c2e;
    
    --fx-input-bg: #1c1c1e;
    --fx-input-border: rgba(255, 255, 255, 0.12);
    --fx-input-text: #f5f5f7;
    
    --fx-comment-bg: #1c1c1e;
    --fx-comment-child-bg: #2c2c2e;
    --fx-comment-border: rgba(255, 255, 255, 0.08);
    
    --fx-thumb-bg: #1c1c1e;
    --fx-thumb-empty-bg: rgba(174, 174, 178, 0.12);
    --fx-thumb-empty-hover: rgba(174, 174, 178, 0.20);
    
    --fx-accent: #aeaeb2;
    --fx-accent-hover: #c7c7cc;
    --fx-accent-light: rgba(174, 174, 178, 0.12);
    --fx-accent-shadow: rgba(0, 0, 0, 0.45);
    
    --fx-icon-color: #98989d;
    
    --fx-title-color: #f5f5f7;
    --fx-body-text: #c7c7cc;
    
    --fx-logged-in-bg: rgba(76, 175, 80, 0.15);
    --fx-logged-in-color: #a5d6a7;
    --fx-logged-in-border: #4caf50;
    --fx-logged-in-link: #90caf9;
    
    --fx-children-border: rgba(174, 174, 178, 0.20);
}

/* ─── Reset پایه ─── */
.fx-page,
.fx-page * {
    box-sizing: border-box;
}

.fx-page {
    background: var(--fx-bg);
    color: var(--fx-text);
    font-family: inherit;
    line-height: 1.8;
    direction: rtl;
    width: 100%;
    max-width: 100%;
}

.fx-page a,
.fx-page a:hover,
.fx-page a:focus,
.fx-page a:active,
.fx-page a:visited {
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Breadcrumb                                         ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-breadcrumb-wrap {
    padding: 15px 0;
    margin-bottom: 10px;
}

.fx-breadcrumb-wrap .breadcrumbs {
    background: transparent;
    padding: 0;
}

.fx-breadcrumb-wrap ol,
.fx-breadcrumb-wrap ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.fx-breadcrumb-wrap li {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fx-breadcrumb-wrap li::before,
.fx-breadcrumb-wrap li::marker {
    content: none !important;
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ App Header                                         ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-app-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
    padding: 30px 0 40px !important;
    border-bottom: 1px solid var(--fx-border-light) !important;
    width: 100% !important;
}

.fx-page .fx-app-header .fx-app-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    order: 2 !important;
    text-align: left !important;
    direction: ltr !important;
}

.fx-page .fx-app-header.fx-no-icon .fx-app-info {
    width: 100% !important;
    flex: 1 !important;
}

.fx-page .fx-app-header .fx-app-icon-wrap {
    flex: 0 0 auto !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ⭐ آیکون اپ - بدون کادر و سایه */
.fx-page .fx-app-header .fx-app-icon {
    width: 200px !important;
    height: 200px !important;
    border-radius: 40px !important;
    object-fit: cover !important;
    box-shadow: none !important;
    border: none !important;
    display: block !important;
    max-width: 100% !important;
}

html.dark_mod .fx-page .fx-app-header .fx-app-icon,
.dark_mod .fx-page .fx-app-header .fx-app-icon {
    box-shadow: none !important;
    border: none !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Title Row                                          ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-app-header .fx-app-info .fx-title-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    direction: ltr !important;
    flex-wrap: wrap !important;
}

/* ⭐ عنوان اصلی اپ - کوچک‌تر */
.fx-page .fx-app-header .fx-app-info .fx-title-row .fx-app-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--fx-title-color) !important;
    line-height: 1.3 !important;
    text-align: left !important;
    direction: ltr !important;
    flex: 0 1 auto !important;
}

.fx-page .fx-app-header .fx-app-info .fx-title-row .fx-like-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 0 0 15px !important;
    border-left: 1px solid var(--fx-divider) !important;
    align-self: center !important;
    height: auto !important;
    line-height: 1 !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ کنترل دقیق دکمه لایک                              ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    line-height: 1 !important;
}

.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 !important;
    height: 24px !important;
    line-height: 1 !important;
    font-size: 14px !important;
}

.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-icon svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-count,
.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button span.sl-count,
.fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button i.sl-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    position: static !important;
    font-style: normal !important;
    vertical-align: middle !important;
    text-align: center !important;
    color: var(--fx-text) !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Meta Grid                                          ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-app-header .fx-app-info .fx-app-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    direction: ltr !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 5px 25px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    transition: none !important;
    list-style: none !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    direction: rtl !important;
    text-align: right !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li:not(:last-child) {
    border-right: 1px solid var(--fx-divider) !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li:first-child {
    padding-left: 0 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li:last-child {
    padding-right: 0 !important;
    border-right: none !important;
    border-left: none !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li::before,
.fx-page .fx-app-header .fx-app-info .fx-app-meta li::marker {
    content: none !important;
    display: none !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li:hover {
    background: transparent !important;
}

/* ⭐ آیکون‌های متا - خاکستری ملایم (Outline Style) */
.fx-page .fx-app-header .fx-app-info .fx-meta-icon {
    width: 22px !important;
    height: 22px !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    color: var(--fx-icon-color) !important;
    opacity: 0.7 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg,
.fx-page .fx-app-header .fx-app-info .fx-meta-icon i {
    width: 20px !important;
    height: 20px !important;
    color: var(--fx-icon-color) !important;
    fill: none !important;
    stroke: var(--fx-icon-color) !important;
    stroke-width: 1.8 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg path,
.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg rect,
.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg circle,
.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg line,
.fx-page .fx-app-header .fx-app-info .fx-meta-icon svg polyline {
    fill: none !important;
    stroke: var(--fx-icon-color) !important;
    stroke-width: 1.8 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta li > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    flex: 1 !important;
    text-align: right !important;
    flex-wrap: wrap !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta small {
    color: var(--fx-text-muted) !important;
    font-size: 14px !important;
    margin-bottom: 0 !important;
    display: inline !important;
    font-weight: 400 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta small::after {
    content: none !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta b {
    color: var(--fx-text-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta a {
    color: inherit !important;
    text-decoration: none !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-meta a:hover {
    color: var(--fx-accent) !important;
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ CTA - دکمه دانلود Pill Shape (کوچک‌تر)             ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-app-header .fx-app-info .fx-app-cta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
}

/* ⭐ دکمه دانلود - کوچک‌تر */
.fx-page .fx-app-header .fx-app-info .fx-btn-download {
    background: var(--fx-accent) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: transform 0.2s, box-shadow 0.3s, background 0.2s !important;
    box-shadow: none !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    margin: 0 !important;
    direction: rtl !important;
}

.fx-page .fx-app-header .fx-app-info .fx-btn-download:hover,
.fx-page .fx-app-header .fx-app-info .fx-btn-download:focus-visible {
    background: var(--fx-accent-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px var(--fx-accent-shadow) !important;
    color: #fff !important;
    text-decoration: none !important;
    outline: none !important;
}

html.dark_mod .fx-page .fx-app-header .fx-app-info .fx-btn-download,
.dark_mod .fx-page .fx-app-header .fx-app-info .fx-btn-download {
    color: #1c1c1e !important;
    font-weight: 700 !important;
}

html.dark_mod .fx-page .fx-app-header .fx-app-info .fx-btn-download:hover,
.dark_mod .fx-page .fx-app-header .fx-app-info .fx-btn-download:hover {
    color: #000 !important;
}

.fx-page .fx-app-header .fx-app-info .fx-btn-download svg,
.fx-page .fx-app-header .fx-app-info .fx-btn-download i {
    width: 18px !important;
    height: 18px !important;
}

.fx-page .fx-app-header .fx-app-info .fx-app-compat {
    color: var(--fx-text-muted) !important;
    font-size: 14px !important;
    direction: rtl !important;
    font-weight: 400 !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Sections                                           ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-section {
    margin: 50px 0;
    width: 100%;
}

.fx-page .fx-section:empty {
    display: none;
}

/* ⭐ عناوین سکشن‌ها - کوچک‌تر */
.fx-page .fx-section-title {
    font-size: 20px;
    font-weight: 800;
    text-align: right;
    margin: 0 0 25px;
    color: var(--fx-title-color);
    position: relative;
    padding-right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fx-page .fx-section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    width: 5px;
    height: 20px;
    background: linear-gradient(180deg, var(--fx-accent), var(--fx-accent-hover));
    border-radius: 3px;
}

.fx-comments-count {
    font-size: 14px;
    color: var(--fx-text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Screenshots                                        ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fx-page .fx-shot {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 10;
    transition: transform 0.3s;
    position: relative;
}

.fx-page .fx-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

.fx-page .fx-shot:hover {
    transform: translateY(-4px);
}

.fx-page .fx-shot:hover img {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Content                                            ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-content {
    font-size: 15px;
    line-height: 2.2;
    color: var(--fx-body-text);
    text-align: justify;
}

.fx-page .fx-content p {
    margin: 0 0 15px;
    color: var(--fx-body-text);
}

.fx-page .fx-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.fx-page .fx-content ul li {
    position: relative;
    padding-right: 22px;
    margin-bottom: 12px;
    color: var(--fx-body-text);
}

.fx-page .fx-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}

/* ⭐ عناوین داخل محتوا - کوچک‌تر */
.fx-page .fx-content h2,
.fx-page .fx-content h3,
.fx-page .fx-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--fx-title-color);
}

.fx-page .fx-content a {
    color: var(--fx-accent);
    text-decoration: none !important;
}

.fx-page .fx-content a:hover {
    color: var(--fx-accent-hover);
    text-decoration: none !important;
}

.fx-page .fx-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Related Posts                                      ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
}

.fx-page .fx-related-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    color: inherit !important;
    text-decoration: none !important;
    position: relative;
    height: 100%;
}

.fx-page .fx-related-thumb {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    background: var(--fx-thumb-bg) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 20px !important;
}

@supports not (aspect-ratio: 4 / 3) {
    .fx-page .fx-related-thumb {
        height: 0 !important;
        padding-bottom: 75% !important;
        padding-top: 0 !important;
    }
    
    .fx-page .fx-related-thumb img,
    .fx-page .fx-related-thumb-empty {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
}

.fx-page .fx-related-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.fx-page .fx-related-thumb-empty {
    width: 100% !important;
    height: 100% !important;
    background: var(--fx-thumb-empty-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.fx-page .fx-related-thumb-empty::before,
.fx-page .fx-related-thumb-empty::after {
    content: none !important;
    display: none !important;
}

.fx-page .fx-related-thumb-empty svg {
    width: 50px !important;
    height: 50px !important;
    position: relative !important;
    z-index: 1 !important;
    stroke: var(--fx-accent) !important;
    fill: none !important;
    opacity: 0.5 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.fx-page .fx-related-thumb-empty svg path {
    stroke: var(--fx-accent) !important;
    stroke-width: 2 !important;
}

.fx-page .fx-related-body {
    padding: 15px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-height: 90px !important;
    background: var(--fx-card-bg) !important;
}

/* ⭐ عنوان کارت مرتبط - کوچک‌تر */
.fx-page .fx-related-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--fx-title-color) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
    min-height: 44px !important;
}

.fx-page .fx-related-cat {
    font-size: 12px !important;
    color: var(--fx-accent) !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: auto !important;
}

.fx-page .fx-related-cat::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--fx-accent) !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

/* ⭐ Hover کارت‌های مطالب مرتبط - فقط دسکتاپ */
@media (hover: hover) and (pointer: fine) {
    .fx-page .fx-related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        border-color: var(--fx-accent);
        text-decoration: none !important;
    }

    html.dark_mod .fx-page .fx-related-card:hover,
    .dark_mod .fx-page .fx-related-card:hover {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    }

    .fx-page .fx-related-card:hover .fx-related-thumb-empty {
        background: var(--fx-thumb-empty-hover) !important;
    }

    .fx-page .fx-related-card:hover .fx-related-thumb-empty svg {
        opacity: 0.8 !important;
        transform: scale(1.1) !important;
    }

    .fx-page .fx-related-card:hover .fx-related-thumb img {
        transform: scale(1.05) !important;
    }

    .fx-page .fx-related-card:hover .fx-related-title {
        color: var(--fx-accent) !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Comments                                           ═══ */
/* ═══════════════════════════════════════════════════════════ */
.fx-page .fx-comments-content {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    width: 100% !important;
}

/* ⭐ عنوان فرم کامنت - کوچک‌تر */
.fx-page .fx-comments-content .comment-reply-title,
.fx-page .fx-comments-content h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 25px !important;
    color: var(--fx-title-color) !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid var(--fx-border) !important;
    text-align: right !important;
    width: 100% !important;
}

.fx-page .fx-comments-content .comment-form,
.fx-page .fx-comments-content #commentform {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.fx-page .fx-comments-content .comment-form p,
.fx-page .fx-comments-content .comment-form .comment-form-comment,
.fx-page .fx-comments-content .comment-form .comment-form-author,
.fx-page .fx-comments-content .comment-form .comment-form-email,
.fx-page .fx-comments-content .comment-form .comment-form-url {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
}

.fx-page .fx-comments-content .comment-form input[type="text"],
.fx-page .fx-comments-content .comment-form input[type="email"],
.fx-page .fx-comments-content .comment-form input[type="url"],
.fx-page .fx-comments-content .comment-form textarea,
.fx-page .fx-comments-content #commentform input[type="text"],
.fx-page .fx-comments-content #commentform input[type="email"],
.fx-page .fx-comments-content #commentform input[type="url"],
.fx-page .fx-comments-content #commentform textarea,
.fx-page .fx-comments-content #respond input[type="text"],
.fx-page .fx-comments-content #respond input[type="email"],
.fx-page .fx-comments-content #respond input[type="url"],
.fx-page .fx-comments-content #respond textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 14px 18px !important;
    border: 1px solid var(--fx-input-border) !important;
    border-radius: 10px !important;
    background: var(--fx-input-bg) !important;
    color: var(--fx-input-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}

.fx-page .fx-comments-content .comment-form textarea,
.fx-page .fx-comments-content #commentform textarea,
.fx-page .fx-comments-content textarea#comment,
.fx-page .fx-comments-content #respond textarea,
.fx-page .fx-comments-content textarea.form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    min-height: 200px !important;
    height: 200px !important;
    resize: vertical !important;
    padding: 18px 20px !important;
    line-height: 1.9 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    background: var(--fx-input-bg) !important;
    color: var(--fx-input-text) !important;
}

.fx-page .fx-comments-content .comment-form textarea:focus,
.fx-page .fx-comments-content .comment-form input:focus,
.fx-page .fx-comments-content #commentform textarea:focus,
.fx-page .fx-comments-content #commentform input:focus,
.fx-page .fx-comments-content #respond textarea:focus,
.fx-page .fx-comments-content #respond input:focus {
    outline: none !important;
    border-color: var(--fx-accent) !important;
    box-shadow: 0 0 0 3px var(--fx-accent-light) !important;
}

.fx-page .fx-comments-content .comment-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: var(--fx-text) !important;
    font-size: 14px !important;
    text-align: right !important;
}

.fx-page .fx-comments-content textarea::placeholder,
.fx-page .fx-comments-content input::placeholder {
    color: var(--fx-text-muted) !important;
    font-family: inherit !important;
    opacity: 1 !important;
}

.fx-page .fx-comments-content .comment-notes,
.fx-page .fx-comments-content .comment-form-cookies-consent {
    font-size: 13px !important;
    color: var(--fx-text-secondary) !important;
    margin: 10px 0 15px !important;
    text-align: right !important;
    width: 100% !important;
}

.fx-page .fx-comments-content .comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fx-page .fx-comments-content .comment-form-cookies-consent input {
    width: auto !important;
    min-width: auto !important;
    max-width: auto !important;
    margin: 0 !important;
}

.fx-page .fx-comments-content .form-submit {
    width: 100% !important;
    margin-top: 20px !important;
    text-align: right !important;
    display: block !important;
    clear: both !important;
}

/* ⭐ دکمه ارسال کامنت - کوچک‌تر */
.fx-page .fx-comments-content .form-submit input[type="submit"],
.fx-page .fx-comments-content .submit,
.fx-page .fx-comments-content #submit,
.fx-page .fx-comments-content input#submit {
    background: var(--fx-accent) !important;
    background-image: none !important;
    color: #fff !important;
    padding: 10px 30px !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.3s, background 0.2s !important;
    box-shadow: none !important;
    width: auto !important;
    display: inline-block !important;
    font-family: inherit !important;
    text-shadow: none !important;
}

.fx-page .fx-comments-content .form-submit input[type="submit"]:hover,
.fx-page .fx-comments-content .submit:hover,
.fx-page .fx-comments-content #submit:hover,
.fx-page .fx-comments-content input#submit:hover {
    background: var(--fx-accent-hover) !important;
    background-image: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px var(--fx-accent-shadow) !important;
    color: #fff !important;
}

html.dark_mod .fx-page .fx-comments-content .form-submit input[type="submit"],
html.dark_mod .fx-page .fx-comments-content .submit,
html.dark_mod .fx-page .fx-comments-content #submit,
html.dark_mod .fx-page .fx-comments-content input#submit,
.dark_mod .fx-page .fx-comments-content .form-submit input[type="submit"],
.dark_mod .fx-page .fx-comments-content .submit,
.dark_mod .fx-page .fx-comments-content #submit,
.dark_mod .fx-page .fx-comments-content input#submit {
    color: #1c1c1e !important;
}

html.dark_mod .fx-page .fx-comments-content .form-submit input[type="submit"]:hover,
html.dark_mod .fx-page .fx-comments-content .submit:hover,
html.dark_mod .fx-page .fx-comments-content #submit:hover,
.dark_mod .fx-page .fx-comments-content .form-submit input[type="submit"]:hover,
.dark_mod .fx-page .fx-comments-content .submit:hover,
.dark_mod .fx-page .fx-comments-content #submit:hover {
    color: #000 !important;
}

.fx-page .fx-comments-content .commentlist,
.fx-page .fx-comments-content .comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
    width: 100% !important;
}

.fx-page .fx-comments-content .comment {
    background: var(--fx-comment-bg) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    border: 1px solid var(--fx-comment-border) !important;
    list-style: none !important;
    color: var(--fx-text) !important;
}

.fx-page .fx-comments-content .comment::before,
.fx-page .fx-comments-content .comment::marker {
    content: none !important;
    display: none !important;
}

.fx-page .fx-comments-content .children {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 0 0 !important;
    border-right: 3px solid var(--fx-children-border);
    padding-right: 15px !important;
}

.fx-page .fx-comments-content .children .comment {
    background: var(--fx-comment-child-bg) !important;
}

.fx-page .fx-comments-content .comment-author {
    font-weight: 700;
    color: var(--fx-title-color);
    margin-bottom: 8px;
}

.fx-page .fx-comments-content .comment-meta {
    font-size: 12px;
    color: var(--fx-text-muted);
    margin-bottom: 10px;
}

.fx-page .fx-comments-content .logged-in-as {
    background: var(--fx-logged-in-bg) !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    color: var(--fx-logged-in-color) !important;
    margin-bottom: 20px !important;
    border-right: 3px solid var(--fx-logged-in-border) !important;
    width: 100% !important;
}

.fx-page .fx-comments-content .logged-in-as a {
    color: var(--fx-logged-in-link) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.fx-page .fx-comments-content .logged-in-as a:hover {
    color: var(--fx-logged-in-link) !important;
    text-decoration: none !important;
    opacity: 0.8 !important;
}

/* ─── Focus Visible ─── */
.fx-page a:focus-visible,
.fx-page button:focus-visible {
    outline: 3px solid var(--fx-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Responsive                                         ═══ */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .fx-page .fx-app-header .fx-app-info .fx-app-meta li {
        padding: 10px 20px !important;
    }

    .fx-page .fx-screenshots {
        grid-template-columns: repeat(2, 1fr);
    }

    .fx-page .fx-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-title-row .fx-app-title {
        font-size: 22px !important;
    }

    .fx-page .fx-app-header .fx-app-icon {
        width: 160px !important;
        height: 160px !important;
        border-radius: 32px !important;
    }
}

@media (max-width: 768px) {
    .fx-page .fx-app-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
        padding: 20px 0 30px !important;
    }

    .fx-page .fx-app-header .fx-app-icon-wrap {
        order: 1 !important;
    }

    .fx-page .fx-app-header .fx-app-info {
        order: 2 !important;
        text-align: center !important;
        align-items: center !important;
        width: 100% !important;
        direction: rtl !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-title-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        direction: rtl !important;
        gap: 10px !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-title-row .fx-app-title {
        font-size: 20px !important;
        text-align: center !important;
        width: 100% !important;
        direction: rtl !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-title-row .fx-like-wrap {
        padding: 0 !important;
        border-left: none !important;
    }

    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button {
        height: 32px !important;
        gap: 10px !important;
    }

    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-icon,
    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button .sl-count,
    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button span.sl-count,
    .fx-page .fx-app-info .fx-title-row .fx-like-wrap .sl-button i.sl-count {
        font-size: 15px !important;
        line-height: 28px !important;
        height: 28px !important;
    }

    .fx-page .fx-app-header .fx-app-icon {
        width: 150px !important;
        height: 150px !important;
        border-radius: 30px !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-meta {
        justify-content: center !important;
        direction: rtl !important;
        gap: 0 !important;
        flex-direction: column !important;
    }

    /* ⭐ چسباندن آیکون به متن متا در موبایل (ترتیب صحیح: آیکون → متن) */
    .fx-page .fx-app-header .fx-app-info .fx-app-meta li {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        border-right: none !important;
        border-left: none !important;
        border-top: none !important;
        border-bottom: 1px solid var(--fx-border-light) !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        justify-content: center !important;
        gap: 8px !important;
        flex-direction: row !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-meta li:not(:last-child) {
        border-right: none !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-meta li:first-child {
        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-meta li:last-child {
        border-bottom: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-meta li > div {
        flex: 0 1 auto !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    /* ⭐ متاها در موبایل کمی کوچک‌تر */
    .fx-page .fx-app-header .fx-app-info .fx-app-meta small,
    .fx-page .fx-app-header .fx-app-info .fx-app-meta b {
        font-size: 12px !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-meta-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-meta-icon svg,
    .fx-page .fx-app-header .fx-app-info .fx-meta-icon i {
        width: 16px !important;
        height: 16px !important;
    }

    .fx-page .fx-screenshots {
        grid-template-columns: 1fr;
    }

    .fx-page .fx-app-header .fx-app-info .fx-app-cta {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: stretch !important;
        direction: rtl !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-btn-download {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    .fx-page .fx-section-title {
        font-size: 18px;
    }

    .fx-page .fx-section {
        margin: 35px 0;
    }

    .fx-page .fx-comments-content .form-submit input[type="submit"],
    .fx-page .fx-comments-content .submit,
    .fx-page .fx-comments-content #submit,
    .fx-page .fx-comments-content input#submit {
        width: 100% !important;
        padding: 10px 25px !important;
        font-size: 13px !important;
    }

    .fx-page .fx-comments-content .form-submit {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .fx-page .fx-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .fx-page .fx-app-header .fx-app-info .fx-title-row .fx-app-title {
        font-size: 18px !important;
    }

    .fx-page .fx-section-title {
        font-size: 16px;
    }

    .fx-page .fx-app-header .fx-app-icon {
        width: 100px !important;
        height: 100px !important;
        border-radius: 22px !important;
    }

    .fx-page .fx-app-header .fx-app-info .fx-btn-download {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .fx-page .fx-related-grid {
        grid-template-columns: 1fr !important;
    }

    .fx-page .fx-related-card {
        flex-direction: row !important;
        height: auto !important;
    }

    .fx-page .fx-related-thumb {
        width: 120px !important;
        min-width: 120px !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        padding: 10px !important;
    }

    .fx-page .fx-related-body {
        padding: 12px !important;
        min-height: auto !important;
    }

    .fx-page .fx-related-title {
        font-size: 13px !important;
        min-height: auto !important;
    }

    .fx-page .fx-related-thumb-empty svg {
        width: 30px !important;
        height: 30px !important;
    }

    .fx-page .fx-comments-content .comment-form textarea,
    .fx-page .fx-comments-content #commentform textarea,
    .fx-page .fx-comments-content textarea#comment {
        min-height: 150px !important;
        height: 150px !important;
    }
}