*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    padding-top: 66px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background: #ffffff;
    overflow-x: hidden;
}

body.admin-bar .fuzy-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .fuzy-header {
        top: 46px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.fuzy-main {
    padding-bottom: 40px;
}

/* 1. MÀU THEME LẤY TỪ PANEL ADMIN */
:root {
    --theme-color: var(--fuzy-primary-color, #e00000); 
}

/* ==========================
   Glass Header
========================== */

.fuzy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, .65);
    border-bottom: 1px solid rgba(17, 24, 39, 0.045);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), top .28s ease;
    will-change: transform;
}

.fuzy-header.hide {
    transform: translateY(-200%);
}

.fuzy-header::before,
.fuzy-header::after {
    display: none;
}

.fuzy-header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
}

.fuzy-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 769px) and (max-width: 1135px) {
    .fuzy-header-inner {
        gap: 12px;
    }
}

/* ==========================
   LOGO
========================== */

.fuzy-logo a {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 20px;
}

/* ==========================
   MENU PC & MOBILE
========================== */

.fuzy-nav .fuzy-menu {
    list-style: none;
    display: flex;
    gap: 18px;
    font-size: 15px;
}

.fuzy-nav .fuzy-menu li {
    position: relative;
}

.fuzy-nav .fuzy-menu a {
    padding: 4px 0;
    transition: color 0.2s;
}

.fuzy-nav .fuzy-menu a:hover {
    color: #2563eb;
}

@media (max-width: 900px) {
    .fuzy-nav {
        display: none;
    }
}


/* ==========================
   MENU & MOBILE MENU LINKS
   ========================== */
.fuzy-menu li a,
.fuzy-mobile-menu-list li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none;
}

/* ==========================
   DESKTOP MENU CONTAINER
   ========================== */
.fuzy-menu {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

/* ==========================
   ICON CONTAINER
   ========================== */
.fuzy-menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    flex: 0 0 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    color: #888 !important;
}

/* ==========================
   DEFAULT SVG ICONS
   ========================== */
.fuzy-menu-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    flex-shrink: 0 !important;
}

/* ==========================
   GAMES ICON (FILL)
   ========================== */
.fuzy-menu-icon.menu-icon-games svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    stroke: none !important;
    stroke-width: 0 !important;
}

/* ==========================
   MOBILE SUB MENU (DEFAULT)
   ========================== */
.fuzy-mobile-menu-list ul.sub-menu li a {
    padding-left: 20px;
}

/* ==========================
   MOBILE & OVERLAY
   ========================== */
.fuzy-mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    z-index: 9999;
    padding: 20px 16px;
    overflow-y: auto;
    transition: left .25s ease;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.fuzy-mobile-menu.open { 
    left: 0; 
}

.fuzy-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.fuzy-mobile-overlay.show { 
    opacity: 1; 
    pointer-events: auto; 
}

.fuzy-mobile-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: none;
}

.fuzy-mobile-brand {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 1;
}

.fuzy-mobile-close {
    font-size: 32px;
    color: #4b5563;
    background: none;
    border: none;
    padding: 0;
    margin: -2px 0 0 0;
    display: flex;
    align-items: center;
    line-height: 1;
    cursor: pointer;
}

.fuzy-mobile-menu-list { 
    padding-left: 0; 
    margin-left: 0; 
}

.fuzy-mobile-menu-list li { 
    list-style: none; 
}

.fuzy-mobile-menu-list li a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 17px;
    color: #111;
}

.fuzy-mobile-icons { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
}

.fuzy-mobile-icons svg { 
    width: 26px; 
    height: 26px; 
    stroke: #111; 
}

.fuzy-mobile-icons button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: none; 
    border: none; 
    cursor: pointer;
}

/* ==========================
   RESPONSIVE MEDIA QUERIES
   ========================== */
@media (min-width: 901px) {
    .fuzy-mobile-icons,
    #fuzy-mobile-menu,
    #fuzy-mobile-overlay {
        display: none;
    }
}

@media (max-width: 900px) {
    .fuzy-mobile-icons {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 22px;
    }

    .fuzy-mobile-menu-btn {
        background: none;
        border: none;
        padding: 4px;
        font-size: 24px;
        cursor: pointer;
    }

    .fuzy-menu li:hover > ul { 
        visibility: hidden; 
        opacity: 0; 
    }

    #fuzy-mobile-menu ul.sub-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: scaleY(0.9);
        transform-origin: top;
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
        padding-left: 10px; 
    }

    #fuzy-mobile-menu ul.sub-menu li a {
        font-size: 15px; 
        padding: 8px 10px;
        color: #666666;
    }

    #fuzy-mobile-menu li.open > ul.sub-menu {
        max-height: 1000px;
        opacity: 1;
        transform: scaleY(1);
    }

    #fuzy-mobile-menu .menu-item-has-children > a::after {
        content: "▾";
        float: right;
        font-size: 15px;
        opacity: 0.5;
        transition: transform 0.25s ease;
    }

    #fuzy-mobile-menu li.open > a::after { 
        transform: rotate(180deg); 
    }
}


/* ==========================
   SEARCH PC
   ========================== */

.fuzy-search {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid rgba(209, 209, 209, 0.7);
    border-radius: 8px;
    padding: 0 12px 0 36px;
    height: 38px; 
    width: 200px; 
    transition: all 0.2s ease;
}

.fuzy-search-icon {
    position: absolute;
    left: 12px;
    opacity: 0.6;
    display: flex;
    align-items: center;
}

.fuzy-search input {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #333;
    width: 100%;
}

.fuzy-search input:focus,
.fuzy-search:focus-within {
    outline: none;
    box-shadow: none;
    border-color: rgba(150, 150, 150, 0.8);
}

@media screen and (min-width: 900px) and (max-width: 1000px) {
    .fuzy-search {
        width: 100px;
    }
}

@media (max-width: 900px) {
    .fuzy-search {
        display: none;
    }
}


/* ==========================
   FUZY HERO
   ========================== */

.fuzy-hero {
    background: #ffffff;
    border-bottom: none;
}

.fuzy-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 28px;
    text-align: center;
}

.fuzy-hero-inner h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.fuzy-hero-inner p {
    font-size: 14px;
    color: #6b7280;
}


/* ==========================
   FUZY SECTION
   ========================== */

.fuzy-section {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 0 20px;
}

.fuzy-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.fuzy-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bold section titles without adding heading elements to the document outline. */
.fuzy-section-heading-text {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.fuzy-section-icon {
    font-size: 18px;
}

.fuzy-section-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.fuzy-section-link {
    font-size: 13px;
    color: #2563eb;
}

/* ==========================
   FUZY FOOTER
   ========================== */

.fuzy-footer {
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    margin-top: 10px;
    padding: 16px 0 18px;
}

.fuzy-footer .footer-container {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 10px;
    width: calc(100% - 40px);
    max-width: 1060px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
}

/* GRID COLUMNS POSITIONING */
.fuzy-footer-column:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.fuzy-footer-column:nth-child(1) p {
    max-width: 330px;
    line-height: 1.45;
    margin-top: 6px;
}

.fuzy-footer-column:first-child .footer-title {
    margin-bottom: 14px;
}

.fuzy-footer-column:first-child p {
    line-height: 1.7;
}

.fuzy-footer-column:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
}

.fuzy-footer-column:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.fuzy-footer-column:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
}

/* COMMON TYPOGRAPHY & ELEMENTS */
.footer-title {
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.fuzy-footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
}

.fuzy-footer-column p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
}

.fuzy-footer-column a {
    display: block;
    padding: 4px 0;
    margin-bottom: 4px;
    font-size: 14px;
    color: #374151;
    line-height: 1.45;
    text-decoration: none;
}

.fuzy-footer-column a:hover {
    color: #111;
}

.fuzy-builtby {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 3px;
    line-height: 1.4;
}

/* FOOTER BOTTOM */
.footer-bottom {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 15px 10px 0;
    margin-left: 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #6b7280;
}

.footer-bottom::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: clamp(220px, 70%, 420px);
   height: 1px;
   background: rgba(15, 23, 42, 0.08);
}

.footer-bottom .footer-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-sep {
    margin: 0 4px;
    color: #4b5563;
    font-weight: 400;
}

.footer-rights {
    font-weight: 400;
}

.footer-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-verified strong {
    color: var(--theme-color);
    font-weight: 500;
}

.footer-verified .verified-icon {
    display: inline-flex;
    align-items: center;
}

.footer-verified .verified-icon svg {
    width: 13px;
    height: 13px;
    fill: var(--theme-color);
    vertical-align: middle;
}

/* MOBILE STYLES */
@media (max-width: 902px) {
    .fuzy-footer {
        padding-bottom: 60px; 
    }

    .fuzy-footer .footer-container {
        display: block;
        width: calc(100% - 40px);
        max-width: 1060px;
        box-sizing: border-box;
        padding: 0;
    }

    .fuzy-footer-column {
        margin-bottom: 26px;
        text-align: left;
    }

    .fuzy-footer-column h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        text-align: left;
    }

    .fuzy-footer-column a,
    .fuzy-footer-column p {
        display: block;
        width: 100%;
        font-size: 14px;
        text-align: left;
        line-height: 1.5;
    }

    .footer-bottom {
        margin-top: 10px;
        text-align: left;
        padding-left: 0;
        padding-bottom: 20px; 
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        font-size: clamp(12px, 3.5vw, 14px);
        gap: 4px;
    }

    .footer-verified .verified-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* ==========================================
   FUZY APK - APP CARD COMPONENT
   ========================================== */
.fuzy-app-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.fuzy-app-card-inner {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 18px;
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: border-color .18s ease, transform .15s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.fuzy-app-card-inner:hover,
.fuzy-app-card-inner:focus,
.fuzy-app-card-inner:focus-visible,
.fuzy-app-card-inner:active {
    border-color: var(--theme-color);
}

.fuzy-app-card-inner:focus {
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .fuzy-app-card-inner:hover {
        transform: translateY(-2px);
    }
}

.fuzy-app-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    max-width: 100%;
}

.fuzy-app-thumb-img,
.fuzy-app-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.fuzy-app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.fuzy-app-card .fuzy-app-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #111827;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.fuzy-app-card .fuzy-app-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.fuzy-app-card .fuzy-meta-version,
.fuzy-app-card .fuzy-meta-dev {
    display: inline;
    white-space: nowrap;
}

.fuzy-app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
}

.fuzy-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fuzy-tag-apk,
.fuzy-tag-ipa {
    background: #e5e7eb;
    color: #374151;
}

.fuzy-tag-mod {
    background: color-mix(in srgb, var(--theme-color) 10%, transparent);
    color: color-mix(in srgb, var(--theme-color) 85%, black);
}

/* ==========================================
   FUZY WRAPPERS
   ========================================== */

.fuzy-single-wrapper {
    max-width: 1100px;
    margin: 24px auto 10px;
    padding: 0 20px 0;
}

.fuzy-category-wrapper .fuzy-section-header {
    margin-top: 10px;
}

/* BREADCRUMB */
.fuzy-breadcrumb {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.fuzy-breadcrumb a {
    color: #6b7280;
}

.fuzy-breadcrumb span {
    margin: 0 4px;
}

.fuzy-breadcrumb > *:not(:last-child) {
    color: #3c4557;
}

.fuzy-breadcrumb > *:last-child {
    color: #4d586e;
}

@media (max-width: 640px) {
}

@media (max-width: 480px) {
    .fuzy-pagination .page-numbers {
        margin: 0 2px;
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* SINGLE APP HEADER */
.fuzy-single-app {
    background: transparent;
}

.fuzy-single-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.fuzy-single-thumb img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    object-fit: cover;
}

.fuzy-single-info {
    flex: 1;
}

.fuzy-single-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: clamp(16px, 1.2vw + 11px, 20px); 
    line-height: 1.3;
}

.fuzy-single-version {
    font-size: 16px;
    font-weight: 600;
    color: #f97316;
}

.fuzy-single-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.fuzy-single-sub .dot {
    color: #d1d5db;
}

@media (min-width: 1024px) {
    .fuzy-single-title {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* SPEC TABLE CONTAINER */
.fuzy-single-spec {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    padding: 20px 14px;
    border-radius: 10px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

.fuzy-single-spec::before {
    content: none;
    display: none;
}

.fuzy-single-spec::after {
    content: none;
    display: none;
}

.fuzy-spec-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    padding: 6px 0;
    font-size: 14px;
}

.fuzy-spec-row-mod .fuzy-spec-value {
    white-space: pre-line;
}

.fuzy-single-spec a {
    text-decoration: none;
}

.fuzy-single-spec .fuzy-spec-label,
.fuzy-single-spec .fuzy-spec-label * {
    color: #6b7280;
    font-weight: 400;
    opacity: 1;
}

.fuzy-single-spec .fuzy-spec-value,
.fuzy-single-spec .fuzy-spec-value * {
    color: #1f2937;
    font-weight: 400;
    opacity: 1;
    text-align: right;
}

.fuzy-single-spec .fuzy-spec-value a {
    color: var(--theme-color);
    font-weight: 400;
}

@media (max-width: 640px) {
    .fuzy-spec-value {
        text-align: right;
    }
}

/* DOWNLOAD BUTTON LARGE */
.fuzy-download-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    padding: 0 16px;
    border-radius: 36px;
    background: var(--theme-color);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.fuzy-single-wrapper .fuzy-download-btn-large {
    margin-top: 18px;
}

.fuzy-download-btn-large:hover {
    transform: translateY(-1px);
}

.fuzy-download-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    font-size: 16px;
}

.fuzy-download-btn-large svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #ffffff;
}

.fuzy-download-btn-large span {
    position: relative;
    z-index: 2;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.fuzy-download-btn-large.loading {
    position: relative;
    background: color-mix(in srgb, var(--theme-color) 20%, transparent);
    color: #ffffff;
    overflow: hidden;
    pointer-events: none;
}

.fuzy-download-btn-large.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--theme-color);
    border-radius: 40px 0 0 40px;
    animation: fuzy-progress var(--fuzy-download-progress, 6s) linear forwards;
    z-index: 1;
}

.fuzy-download-text {
    white-space: nowrap;
}

@media (max-width: 480px) {
    #fuzy-real-download.loading .fuzy-download-text {
        font-size: 12px;
    }
}

.fuzy-single-body {
    margin-top: 22px;
    padding: 18px 0 0;
    font-size: 14px;
}

/* =====================================
   VERSIONS SECTION & LIST
===================================== */
.fuzy-versions-section {
    margin-top: 24px;
}

.fuzy-versions-section .fuzy-block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1d20;
}

.fuzy-version-note {
    margin-bottom: 16px;
    font-size: 14px;
    color: #4b5563;
}

.fuzy-versions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fuzy-version-card {
    position: relative; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    transition: all 0.2s ease-in-out;
}

.fuzy-version-card:hover {
    border-color: var(--theme-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fuzy-card-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: inherit;
}

.fuzy-version-left {
    position: relative;
    z-index: 1; 
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fuzy-version-thumb {
    flex-shrink: 0;
}

.fuzy-version-thumb img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
}

.fuzy-version-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fuzy-version-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1d20;
}

.fuzy-version-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fuzy-version-size {
    font-size: 11px;
    color: #6b7280;
}

.fuzy-tag.fuzy-tag-modinfo {
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    color: #6b7280;
    font-weight: 400;
    font-size: 12px;
}


.fuzy-version-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.fuzy-version-download {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    box-shadow: none;
    border: none;
}

.fuzy-version-download svg,
.fuzy-version-download svg *,
.fuzy-version-download svg path,
.fuzy-version-download svg polyline {
    stroke: var(--theme-color);
    fill: none;
    width: 26px;
    height: 26px;
}

.fuzy-version-card:hover .fuzy-version-download svg {
    transform: translateY(-4px); 
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.fuzy-version-card:active .fuzy-version-download svg {
    transform: translateY(-1px);
}


/* =====================================
   VERSIONS BOX TITLE
===================================== */
.fuzy-block-title {
    margin-top: 0;
}


/* =====================================
   SECURITY VERIFICATION
===================================== */
.fuzy-version-security {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
    padding: 11px 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.fuzy-security-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ecfdf5;
    color: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35);
    animation: fuzy-security-pulse 2.2s ease-in-out infinite;
}

.fuzy-security-icon svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.55));
    animation: fuzy-security-glow 2.2s ease-in-out infinite;
}

@keyframes fuzy-security-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(22, 163, 74, 0.30),
            0 0 8px rgba(22, 163, 74, 0.15);
    }

    50% {
        box-shadow:
            0 0 0 5px rgba(22, 163, 74, 0.08),
            0 0 18px rgba(22, 163, 74, 0.35);
    }
}

@keyframes fuzy-security-glow {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(22, 163, 74, 0.35));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(22, 163, 74, 0.75));
    }
}

.fuzy-security-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fuzy-security-text strong {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 650;
    color: #22a06b;
}

.fuzy-security-text span {
    font-size: 11px;
    line-height: 1.5;
    color: #6b7280;
}


/* =====================================
   MOBILE
===================================== */
@media (max-width: 600px) {

    .fuzy-versions-box {
        padding: 14px;
        border-radius: 14px;
    }

    .fuzy-version-security {
        padding: 10px 11px;
    }

    .fuzy-security-icon {
        width: 34px;
        height: 34px;
    }

    .fuzy-security-text strong {
        font-size: 12px;
    }

    .fuzy-security-text span {
        font-size: 10px;
    }
}

.fuzy-comments-section {
    margin-top: 30px;
}

.fuzy-comments-section #respond,
.fuzy-comments-section .comment-respond,
.fuzy-comments-section .fuzy-comment-list,
.fuzy-comments-section .fuzy-comment-ul li,
.fuzy-comments-section .comment-input input,
.fuzy-comments-section .comment-input textarea {
    background: transparent;
    box-shadow: none;
}

.fuzy-comments-section .fuzy-comment-ul li,
.fuzy-comments-section .comment-input input,
.fuzy-comments-section .comment-input textarea {
    border: 1px solid #d9dadb;
}

.fuzy-comments-section .comment-input input,
.fuzy-comments-section .comment-input textarea {
    box-sizing: border-box;
}

/* Remove indentation for all reply comments. */
.fuzy-comments-section .children,
.fuzy-comments-section ol.comment-list ol,
.fuzy-comments-section ul.comment-list ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

/* (Optional) Remove default margin/padding from the main comment list, if present. */
.fuzy-comments-section .comment-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
}

.fuzy-post-list {
    max-width: 900px;
    margin: 26px auto 0;
    padding: 0 20px 40px;
}

.fuzy-post-item {
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.fuzy-post-item h2 {
    margin-top: 0;
}

.fuzy-trending {
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.fuzy-app-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    min-width: 0;
}


.fuzy-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fuzy-faq-question,
.fuzy-faq-question *,
.fuzy-mobile-icons button,
.fuzy-mobile-icons button svg {
    -webkit-text-fill-color: #111;
    color: #111;
    stroke: #111;
    fill: #111;
}

.fuzy-mobile-close,
.fuzy-mobile-close * {
    -webkit-text-fill-color: #111;
    color: #111;
    fill: #111;
    stroke: #111;
}

/* DESKTOP SUBMENU */
.fuzy-menu li ul {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    padding: 10px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.25s ease;
    z-index: 999;
}

.fuzy-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fuzy-menu li ul li {
    list-style: none;
    padding: 6px 16px;
    white-space: nowrap;
}

.fuzy-menu li ul li a {
    display: block;
    color: #111;
    font-size: 14px;
}

.fuzy-menu li ul li a:hover {
    background: #f2f3f5;
}

.fuzy-menu li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    padding: 6px 0;
    min-width: auto;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.fuzy-menu li:hover > ul {
    display: block;
}

.fuzy-menu li ul li {
    list-style: none;
    padding: 4px 16px;
}

.fuzy-menu > li > a {
    padding-left: 0;
}

.fuzy-menu li ul li a {
    color: #111;
    font-size: 14px;
    display: block;
    padding-left: 0;
}

.fuzy-nav .fuzy-menu li ul {
    position: absolute;
    left: -14px;
    top: 100%;
    background: #fff;
    padding: 8px 0;
    min-width: auto;
    width: auto;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: top;
    transition:
        opacity 0.28s ease,
        transform 0.28s cubic-bezier(0.16, 0.8, 0.32, 1),
        visibility 0.28s ease;
}

.fuzy-nav .fuzy-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}



.fuzy-page {
    line-height: 1.8; 
}

.fuzy-page p {
    margin-bottom: 1.25rem; 
}

.fuzy-page h1, 
.fuzy-page h2, 
.fuzy-page h3 {
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.fuzy-page ul, 
.fuzy-page ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.fuzy-page li {
    margin-bottom: 0.75rem; 
    line-height: 1.7;
}

.fuzy-page a {
    color: var(--theme-color);
    font-weight: 400;
    transition: color 0.2s ease-in-out;
}

.fuzy-search-page {
    width: calc(100% - 40px);
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
}

.fuzy-page-title-wrap {
    width: 100%;
    max-width: 100%;
    margin: 30px 0 28px;
    padding: 0;
    box-sizing: border-box;
}

.fuzy-page-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.fuzy-search-key {
    color: var(--theme-color);
}

.fuzy-search-results {
    margin-top: 10px;
}




/* CATEGORY SCROLL CONTAINER */
.fuzy-category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 6px 4px;
    margin-bottom: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fuzy-category-scroll::-webkit-scrollbar {
    display: none;
}

.fuzy-category-scroll::after {
    margin-left: 12px;
}

.fuzy-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    background: transparent;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.fuzy-cat-btn:hover,
.fuzy-cat-btn:focus-visible {
    background: transparent;
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.fuzy-cat-btn-all {
    background: transparent;
    color: inherit;
}

@media (min-width: 900px) {
    .fuzy-category-scroll {
        scrollbar-width: thin;
        scrollbar-color: #d1d5db transparent;
    }

    .fuzy-category-scroll::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .fuzy-category-scroll::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* SCREENSHOTS ROW & ITEMS */
body .fuzy-single-wrapper .fuzy-screens-section .fuzy-screens-row.fuzy-screens-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
    gap: 15px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    height: 48vw;
}

body .fuzy-screens-row .fuzy-screen-item.fuzy-screen-item {
    height: 100%;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

body .fuzy-screen-item img.fuzy-screen-img.fuzy-screen-img,
.fuzy-screen-item img {
    display: block;
    height: 100%;
    width: auto;
    max-height: 100%;
    max-width: none;
    min-width: 0;
    object-fit: contain;
}

@media (max-width: 480px) {
    body .fuzy-screens-row .fuzy-screen-item.landscape {
        flex: 0 0 220px;
        max-width: 220px;
    }
    .fuzy-screen-item.landscape img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    body .fuzy-screens-row .fuzy-screen-item.portrait {
        flex: 0 0 110px;
        max-width: 110px;
    }
    .fuzy-screen-item.portrait img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .fuzy-screens-row {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .fuzy-screens-row::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 641px) {
    body .fuzy-screens-row .fuzy-screen-item.portrait {
        flex: 0 0 190px;
        max-width: 200px;
    }
    .fuzy-screen-item.portrait img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (min-width: 648px) and (max-width: 1023px) {
    body .fuzy-single-wrapper .fuzy-screens-section .fuzy-screens-row.fuzy-screens-row {
        height: 260px;
        max-height: 260px;
        box-sizing: border-box;
    }
}

@media (min-width: 1024px) {
    body .fuzy-single-wrapper .fuzy-screens-section .fuzy-screens-row.fuzy-screens-row {
        height: 340px;
        max-height: 340px;
        align-items: center;
        box-sizing: border-box;
    }

    body .fuzy-screens-row .fuzy-screen-item.fuzy-screen-item {
        max-width: max-content;
    }

    body .fuzy-screen-item img.fuzy-screen-img.fuzy-screen-img {
        height: 100%;
        width: auto;
        max-width: none;
        max-height: 100%;
        object-fit: contain;
    }
}

.fuzy-screens-row::-webkit-scrollbar-track {
    background: transparent;
}

.fuzy-screens-row::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.fuzy-screens-row::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 120, 0.45);
    border-radius: 20px;
}

.fuzy-screens-row::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 120, 120, 0.65);
}

.fuzy-screens-row {
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 120, 120, 0.45) transparent;
}

.fuzy-section .fuzy-section-title-wrap {
    padding-left: 2px;
}

/* DOWNLOAD PAGE WRAPPER — match the pure white Home Hero background */
.fuzy-download-wrapper {
    width: 100%;
    padding: 20px 0 10px;
    background: #ffffff;
}

.fuzy-download-inner {
    width: calc(100% - 40px);
    max-width: 1060px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}



.fuzy-download-btn {
    background: #c40000;
    color: #fff;
    padding: 14px 24px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    display: block;
}

.fuzy-download-note {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.fuzy-back-btn {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    color: #0073ff;
    text-decoration: none;
}


/* SOCIAL FOLLOW */
.fuzy-social-follow {
    margin-top: 25px;
    text-align: center;
}

.fuzy-social-follow p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #333333;
    text-align: center;
}

.fuzy-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fuzy-social-follow .fuzy-social {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 190px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    background: #079fe3;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fuzy-social-follow .fuzy-social:hover {
    background: #078fd0;
    color: #ffffff;
}

.fuzy-social-follow .fuzy-social svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.fuzy-social-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.fuzy-social-list .fuzy-social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.fuzy-social-list .fuzy-social-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.fuzy-social-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .fuzy-guide {
        font-size: 15.5px;
    }

    .fuzy-guide-title {
        font-size: 24px;
    }

    .fuzy-guide h2 {
        font-size: 20px;
    }

    .fuzy-guide h3 {
        font-size: 17px;
    }

    .fuzy-social-list .fuzy-social-item {
        padding: 16px 18px;
        font-size: 15.5px;
    }
}

.fuzy-download-container {
    max-width: 100%;
    margin: 20px auto 10px;
    text-align: center;
    box-sizing: border-box;
}

.fuzy-download-header {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 auto 20px;
    box-sizing: border-box;
}

.fuzy-download-header img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.fuzy-download-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.fuzy-download-info,
.fuzy-download-info * {
    font-weight: 400;
    color: #666666;
}

.fuzy-download-info {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 5px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fuzy-download-info b {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .fuzy-download-header {
        border-radius: 8px;
    }
}

.fuzy-download-app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 18px auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.fuzy-download-app-icon img {
    display: block;
    width: 120px;
    height: 120px;
    margin: 6px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Single-app information table: transparent surface, neutral borders */
.fuzy-download-info-box {
    width: 100%;
    margin: 20px 0;
    background: transparent;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.fuzy-info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
}

.fuzy-info-row:last-child {
    border-bottom: none;
}

.fuzy-info-label,
.fuzy-info-value {
    padding: 12px 14px;
    font-size: 13px;
    background: transparent;
}

.fuzy-info-label {
    font-weight: 600;
    color: #374151;
    border-right: 1px solid #e5e7eb;
    white-space: nowrap;
}

.fuzy-info-value {
    font-weight: 500;
    color: #111827;
    line-height: 1.45;
    word-break: break-word;
}

/* Keep borders neutral on hover/focus; never use the theme accent here. */
.fuzy-download-info-box:hover,
.fuzy-download-info-box:focus,
.fuzy-info-row:hover,
.fuzy-info-label:hover,
.fuzy-info-value:hover {
    background: transparent;
    border-color: #d1d5db;
}

.fuzy-info-row:hover {
    border-bottom-color: #e5e7eb;
}

.fuzy-info-label:hover {
    border-right-color: #e5e7eb;
}

@media (max-width: 640px) {
    .fuzy-info-row {
        grid-template-columns: 140px 1fr;
    }

    .fuzy-info-label,
    .fuzy-info-value {
        font-size: 12.5px;
    }
}
.fuzy-download-wrapper 

.fuzy-faq-block {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.fuzy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--theme-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
    width: 100%;
    justify-content: center;
}

.fuzy-back-icon {
    font-size: 16px;
    line-height: 1;
}

.fuzy-back-btn:hover {
    transform: translateY(-1px);
}

@keyframes fuzy-progress {
    from { width: 0%; }
    to   { width: 100%; }
}

html {
    scroll-behavior: smooth;
}

.fuzy-related-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.fuzy-versions-section {
    margin-top: 30px;
    padding-top: 0;
}

.fuzy-versions-section h2 {
    margin-top: 0;
    padding-top: 0;
}

.fuzy-custom-html-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.fuzy-single-body {
    margin-top: 0;
    padding-top: 0;
}

.fuzy-single-wrapper section {
    margin-top: 10px;
}

/* PAGINATION */
.fuzy-pagination {
    margin: 30px auto;
    text-align: center;
}

.fuzy-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.fuzy-pagination .page-numbers:not(.current):hover {
    background: var(--theme-color);
	color: #fff;
}

.fuzy-pagination .current {
    background: var(--theme-color);
    color: #fff;
    font-weight: 600;
}

.fuzy-pagination .prev,
.fuzy-pagination .next {
    font-size: 17px;
    padding: 8px 12px;
}

/* COMMENT FORM */
.comment-input {
    margin-bottom: 16px;
}

.comment-input label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.comment-input input,
.comment-input textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.comment-input input:focus,
.comment-input input:focus-visible,
.comment-input textarea:focus,
.comment-input textarea:focus-visible {
    outline: none;
    border-color: var(--theme-color); 
}

.fuzy-comment-submit {
    background: var(--theme-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.fuzy-comment-submit:hover {
    background: var(--theme-color);
}

.fuzy-comment-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fuzy-comment-ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.fuzy-comment-ul li img.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.fuzy-comment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fuzy-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.fuzy-comment-author {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.fuzy-comment-date {
    font-size: 13px;
    color: #777;
}

.fuzy-comment-text {
    font-size: 15px;
    line-height: 1.35;
    color: #222;
}

.fuzy-comment-actions {
    margin-top: 6px;
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.fuzy-comment-text strong {
    color: #007bff;
}

.fuzy-comment-actions a,
.fuzy-comment-actions .comment-reply-link,
.fuzy-comment-actions .fuzy-delete-comment {
    text-decoration: none !important;
    color: var(--theme-color) !important;
}

.fuzy-mention {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    color: #333;
}

.fuzy-comment-actions {
    margin-top: 3px;
}

.fuzy-comment-text p {
    margin: 0;
}

#fuzy-rating-box {
    text-align: center;
    margin: 25px 0;
}

/* STAR RATING */
#fuzy-rating-stars {
    display: inline-flex;
    gap: 2px;
}

.fuzy-star-wrap {
    position: relative;
    display: inline-block;
    font-size: 30px;
    line-height: 1;
    color: #dcdcdc;
}

.fuzy-star-wrap::before {
    content: "★";
    display: block;
}

.fuzy-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #f6b01e;
    pointer-events: none;
}

.fuzy-star-fill::before {
    content: "★";
}

#fuzy-rating-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.fuzy-rating-inner {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
}

#fuzy-submit-rating {
    background: #ccc;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

#fuzy-submit-rating.enabled {
    background: #28c840;
    color: #fff;
}

#fuzy-close-rating {
    background: #f1f1f1;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    margin-left: 8px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: background 0.2s;
}

#fuzy-close-rating:hover {
    background: #e2e2e2;
}

#fuzy-modal-stars {
    margin: 15px 0;
}

#fuzy-modal-stars .fuzy-star {
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    margin: 0 2px;
    transition: color 0.2s;
}

#fuzy-modal-stars .fuzy-star.active {
    color: #ff9800;
}

.fuzy-spec-value a {
    display: inline-block;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .fuzy-spec-value a {
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .fuzy-spec-value a {
        max-width: 380px;
    }
}

.fuzy-version-note {
    background: color-mix(in srgb, var(--theme-color) 5%, transparent);
    border-left: 1px solid var(--theme-color);
    padding: 12px 15px;
    margin: 10px 0 20px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.fuzy-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}

/* FAQ SECTION */
.fuzy-faq2-title {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 32px 0 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--theme-color);
    border-radius: 0;
}

.fuzy-faq2-box {
    margin-top: 25px;
    margin-bottom: 6px;
    padding-bottom: 0;
    border-radius: 12px;
}

.fuzy-faq2-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.fuzy-faq2-question {
    display: flex;
    justify-content: space-between;
    padding-left: 1px;
    padding-right: 22px;
    box-sizing: border-box;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.fuzy-faq2-arrow {
    transition: transform 0.3s ease;
}

.fuzy-faq2-item.active .fuzy-faq2-arrow {
    transform: rotate(90deg);
}

.fuzy-faq2-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 6px;
    padding-left: 1px;
    padding-right: 5px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.7;
    transform: translateY(-4px);
    transition: 
        max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease-out,
        transform 0.25s ease-out;
}

.fuzy-faq2-item.active .fuzy-faq2-answer {
    opacity: 1;
    transform: translateY(0);
}

/* LINK COLORS IN CONTENT */
.fuzy-single-body a,
.fuzy-page-content a,
.fuzy-faq2-answer a,
.fuzy-custom-html a,
.fuzy-post-item a,
.fuzy-news-content a {
    color: var(--theme-color);
    text-decoration: underline;
}

.fuzy-note-box a {
    color: #1a73e8;
    text-decoration: underline;
}

.fuzy-note-box a:hover {
    color: #185abc;
}

.fuzy-category-wrapper .fuzy-section-header {
    display: block;
}

.fuzy-category-wrapper .fuzy-section-header .fuzy-section-title-wrap {
    display: block;
}

.fuzy-category-wrapper .fuzy-cat-description {
    margin-top: 8px;
    display: block;
    line-height: 1.55;
}

.fuzy-section-header:not(.fuzy-category-wrapper .fuzy-section-header) {
    display: flex;
}

.fuzy-sub-count {
    font-size: 13px;
    color: #777;
    font-weight: 400;
}

.fuzy-img {
    display: table;
    margin: 25px auto;
    text-align: center;
    background: transparent;
    border-collapse: separate;
}

.fuzy-img img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.fuzy-img figcaption {
    display: table-caption;
    caption-side: bottom;
    background: #e6e6e6;
    padding: 12px 16px;
    font-size: 15px;
    color: #2c2c2c;
    text-align: center;
    box-sizing: border-box;
}

.fuzy-img.landscape { max-width: 80%; }
.fuzy-img.portrait  { max-width: 40%; }
.fuzy-img.square    { max-width: 70%; }

@media (max-width: 600px) {
    .fuzy-img.landscape { max-width: 100%; }
    .fuzy-img.portrait  { max-width: 80%; }
    .fuzy-img.square    { max-width: 100%; }
}

.fuzy-load-more-wrap {
    text-align: center;
    margin: 18px 0 10px;
}

#fuzy-load-more-comments {
    background: var(--theme-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
}

#fuzy-load-more-comments:hover {
    transform: translateY(-1px);
}

#cancel-comment-reply-link {
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--theme-color);
    color: #444;
    text-decoration: none;
    font-size: 13px;
}

#cancel-comment-reply-link:hover {
    background: var(--theme-color);
    color: #fff;
}

#reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 18px;
}

#reply-title a#cancel-comment-reply-link {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #555;
    text-decoration: none;
    line-height: 1;
}

#reply-title a#cancel-comment-reply-link:hover {
    background: var(--theme-color);
    color: #fff;
}

.fuzy-comment-userbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.fuzy-comment-user-avatar img {
    border-radius: 50%;
}

.fuzy-comment-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fuzy-comment-user-name {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}

.fuzy-comment-user-meta {
    font-size: 13px;
    color: #666;
}

.fuzy-repeater-handle {
    cursor: grab;
    user-select: none;
}

.fuzy-repeater-item {
    background: #fff;
}

.fuzy-sort-placeholder {
    height: 60px;
    border: 2px dashed #ccc;
    background: #f6f7f7;
}


/* FUZY LIGHTBOX */
.fuzy-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.fuzy-lightbox.active {
    display: flex;
}

/* --- Image display and effects section --- */
#fuzy-lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    
    /* Set the default state for the effect. */
    opacity: 0;
    transform: scale(0.95); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* This class will be added by JS to trigger the image display effect. */
#fuzy-lightbox-img.fade-in {
    opacity: 1;
    transform: scale(1); /* Zoom to actual size */
}

/* Ensure the navigation buttons are positioned over the image and are unaffected by the image's scaling effect. */
.fuzy-lightbox-nav, .fuzy-lightbox-close {
    z-index: 1000000;
}

.fuzy-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    z-index: 1000000;
}

/* --- Configure navigation buttons (Arrows) --- */
.fuzy-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box; 
}

.fuzy-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* --- Mobile (Default): Small circle located within the lightbox padding area.--- */
.fuzy-lightbox-prev {
    left: 10px;
    font-size: 20px; 
    width: 40px;      
    height: 40px;  
    padding: 0;        
}

.fuzy-lightbox-next {
    right: 10px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
}

/* --- Tablet & PC: Enlarge the button and position it close to the edge of the image. --- */
@media (min-width: 768px) {
    .fuzy-lightbox-prev,
    .fuzy-lightbox-next {
        font-size: 28px; 
        width: 55px;      
        height: 55px;
    }

    .fuzy-lightbox-prev {
        left: calc(50vw - 47.5vw - 25px); 
    }
    
    .fuzy-lightbox-next {
        right: calc(50vw - 47.5vw - 25px);
    }
}

/* Hide button when lightbox closes */
.fuzy-lightbox[style*="display: none"] .fuzy-lightbox-close,
.fuzy-lightbox[style*="display: none"] .fuzy-lightbox-nav {
    display: none !important;
}

/* HOW TO INSTALL GUIDE */
.fuzy-guide {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #1f2937;
}

.fuzy-guide-title {
    font-size: 30px;
    line-height: 1.3;
    margin: 18px 0 24px;
    font-weight: 700;
    color: #111827;
}

.fuzy-guide h2 {
    font-size: 22px;
    margin: 34px 0 14px;
    font-weight: 700;
    color: #111827;
}

.fuzy-guide h3 {
    font-size: 18px;
    margin: 24px 0 10px;
    font-weight: 600;
    color: #111827;
}

.fuzy-guide p {
    margin: 0 0 14px;
}

.fuzy-guide a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.fuzy-guide a:hover {
    text-decoration: underline;
}

.fuzy-guide .note {
    margin: 16px 0 24px;
    padding: 12px 14px;
    background: #fff7ed;
    border-left: 4px solid #fb923c;
    border-radius: 8px;
    font-size: 15px;
}

.fuzy-guide .hr {
    height: 1px;
    margin: 34px 0;
    background: #e5e7eb;
}


.fuzy-guide code {
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ICON CARD */
.fuzy-icon-card {
    width: 64px;
    flex: 0 0 auto;
    text-align: center;
}

.fuzy-icon-thumb {
    display: flex;
    justify-content: center;
}

.fuzy-icon-thumb img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
}

.fuzy-icon-name {
    margin-top: 6px;
    max-width: 64px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fuzy-popular-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* HORIZONTAL SCROLL CORE & SCROLLBAR BEHAVIOR */
.fuzy-horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
}

.fuzy-featured-today .fuzy-horizontal-scroll {
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.fuzy-featured-today .fuzy-horizontal-scroll > .ftm-item {
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    margin: 0;
}

.fuzy-horizontal-scroll > .fuzy-refresh-card {
    flex: 0 0 240px;
}

@media (max-width: 768px) {
    .fuzy-horizontal-scroll > .fuzy-refresh-card {
        flex: 0 0 220px;
    }
}

@media (hover: none) and (pointer: coarse), (pointer: coarse) {
    .fuzy-horizontal-scroll,
    .fuzy-featured-today .fuzy-horizontal-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .fuzy-horizontal-scroll::-webkit-scrollbar,
    .fuzy-featured-today .fuzy-horizontal-scroll::-webkit-scrollbar {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .fuzy-horizontal-scroll {
        scrollbar-width: thin;
        scrollbar-color: #d1d5db transparent;
    }

    .fuzy-horizontal-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .fuzy-horizontal-scroll::-webkit-scrollbar-track {
        background: transparent;
        margin: 0 6px;
    }

    .fuzy-horizontal-scroll::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 8px;
    }

    .fuzy-horizontal-scroll::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}

/* APP CARD MOD META */
.fuzy-app-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.fuzy-meta-version,
.fuzy-meta-dev {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fuzy-meta-dev {
    max-width: 120px;
}

/* APP DOWNLOAD BAR */
.fuzy-app-download-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 14px 0 22px;
    gap: 12px;
}

.fuzy-app-download-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fuzy-app-download-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.fuzy-app-download-text strong {
    display: block;
    font-size: 15px;
    color: #111827;
}

.fuzy-app-download-text span {
    font-size: 13px;
    color: #6b7280;
}

.fuzy-app-download-btn {
    background: #d90000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    text-decoration: none;
}

@media (max-width: 768px) {
    .fuzy-app-grid {
        grid-template-columns: 1fr;
    }
}

.fuzy-sub-count {
    color: #4b5563;
    font-weight: 400;
}

.fuzy-toc3-btn {
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
}

.fuzy-single-meta span,
.fuzy-single-meta a,
.fuzy-single-header span,
.fuzy-single-header a {
    color: #4b5563;
    font-weight: 400;
    opacity: 1;
}

.fuzy-comment-date {
    color: #374151;
    font-size: 13px;
}

.comment-reply-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
}

.comment a.comment-reply-link,
.comment-reply-link,
a.comment-reply-link:link,
a.comment-reply-link:visited,
a.comment-reply-link:hover,
a.comment-reply-link:active,
a.comment-reply-link:focus,
.comment a.fuzy-delete-comment,
.fuzy-delete-comment,
a.fuzy-delete-comment:link,
a.fuzy-delete-comment:visited,
a.fuzy-delete-comment:hover,
a.fuzy-delete-comment:active,
a.fuzy-delete-comment:focus {
    background: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: #1d4ed8;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
}

.comment-meta,
.comment-meta a {
    color: #111827;
}

.comment-content,
.comment-content p {
    color: #1f2937;
    line-height: 1.6;
}

.fuzy-spec-value {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keep the Google Play icon and label tightly spaced and on one baseline. */
.fuzy-spec-google-play-row .fuzy-spec-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1.4;
    overflow: visible;
    text-overflow: clip;
}
.fuzy-spec-google-play-row .fuzy-google-play-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}
.fuzy-spec-google-play-row .fuzy-google-play-link svg {
    display: block;
    flex: 0 0 19px;
}

.ftm-title,
.fuzy-app-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fuzy-faq2-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
}

.fuzy-faq2-arrow {
    margin-left: auto;
    padding-left: 12px;
}

.fuzy-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
}

.fuzy-mobile-brand {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
}

.fuzy-mobile-close {
    background: none;
    border: 0;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin-left: auto;
    margin-top: 0;
    align-self: center;
}

.fuzy-mobile-close svg {
    width: 24px;
    height: 24px;
    stroke: #111827;
    stroke-width: 1.6;
    fill: none;
}

.fuzy-mobile-close:hover svg {
    stroke: #ef4444;
}

.fuzy-mobile-close svg path {
    fill: none;
    stroke: #111827;
}

svg.line {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fuzy-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.fuzy-pagination .page-numbers {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    font-size: 13px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.fuzy-pagination .page-numbers.prev,
.fuzy-pagination .page-numbers.next {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.fuzy-pagination .page-numbers.dots {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

/* ARTICLES CARD SIMPLE */
.fuzy-articles-simple {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000000;
}

.fuzy-articles-simple-link {
    position: relative;
    display: block;
    width: 100%;
}

.fuzy-articles-simple-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.45) 35%,
        rgba(0, 0, 0, 0.15) 65%,
        rgba(0, 0, 0, 0) 100%
    );
}

.fuzy-articles-simple-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.fuzy-articles-simple-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fuzy-articles-simple-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fuzy-articles-simple:hover img {
    transform: scale(1.05);
}

.fuzy-logo a {
    white-space: nowrap;
    display: inline-block;
}

.fuzy-logo {
    flex-shrink: 0;
}

/* UPDATED ITEMS — FRESH CARD DESIGN */
.fuzy-refresh-card {
    --refresh-accent: var(--theme-color, #e53935);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    overflow: hidden;
    color: var(--text-color, #202124);
    text-decoration: none;
    background: var(--card-background, #ffffff);
    border: 1px solid #e7e8eb;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(20, 24, 35, .035);
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
}
.fuzy-refresh-card:hover,
.fuzy-refresh-card:focus-visible {
    color: var(--text-color, #202124);
    text-decoration: none;
    border-color: var(--refresh-accent);
    box-shadow: 0 8px 22px rgba(20, 24, 35, .075);
    transform: translateY(-3px);
    outline: none;
}
.fuzy-refresh-card:active { transform: scale(.985); }
.fuzy-refresh-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    padding: 18px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(145deg, #f4f5f7, #eceef1);
    isolation: isolate;
}
.fuzy-refresh-card__visual::before,
.fuzy-refresh-card__visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.fuzy-refresh-card__visual::before {
    width: 118px;
    height: 118px;
    right: -36px;
    top: -49px;
    border: 1px solid rgba(105, 112, 124, .13);
    border-radius: 28px;
    transform: rotate(28deg);
}
.fuzy-refresh-card__visual::after {
    width: 92px;
    height: 92px;
    left: -37px;
    bottom: -52px;
    border: 1px solid rgba(105, 112, 124, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(105, 112, 124, .035), 0 0 0 18px rgba(105, 112, 124, .025);
}
.fuzy-refresh-card__icon-wrap {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 7px 20px rgba(22, 27, 35, .09);
    transition: transform .25s ease;
}
.fuzy-refresh-card:hover .fuzy-refresh-card__icon-wrap { transform: translateY(-2px) scale(1.035); }
.fuzy-refresh-card__icon {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
}
.fuzy-refresh-card__fallback {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #e4e6ea;
    color: #666b75;
    font-size: 28px;
    font-weight: 700;
}
.fuzy-refresh-card__badge {
    position: absolute;
    top: 9px;
    left: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    color: #555b65;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(120, 126, 136, .13);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .025em;
    backdrop-filter: blur(8px);
}
.fuzy-refresh-card__badge-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--refresh-accent); }
.fuzy-refresh-card__arrow {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #6c727c;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(120, 126, 136, .14);
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.fuzy-refresh-card:hover .fuzy-refresh-card__arrow,
.fuzy-refresh-card:focus-visible .fuzy-refresh-card__arrow {
    color: #fff;
    background: var(--refresh-accent);
    border-color: var(--refresh-accent);
    transform: translate(1px, -1px);
}
.fuzy-refresh-card__body { padding: 13px 4px 3px; }
.fuzy-refresh-card__title {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0 0 12px;
    overflow: hidden;
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fuzy-refresh-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #eff0f2;
}
.fuzy-refresh-card__caption { color: #858a94; font-size: 11px; font-weight: 500; }
.fuzy-refresh-card__action { display: inline-flex; align-items: center; gap: 5px; color: var(--refresh-accent); font-size: 12px; font-weight: 750; white-space: nowrap; }
.fuzy-refresh-card__action span { font-size: 15px; line-height: 1; transition: transform .2s ease; }
.fuzy-refresh-card:hover .fuzy-refresh-card__action span { transform: translate(2px, -2px); }
@media (hover: none), (pointer: coarse) {
    .fuzy-refresh-card:hover { transform: none; box-shadow: 0 2px 8px rgba(20, 24, 35, .035); }
    .fuzy-refresh-card:active { border-color: var(--refresh-accent); transform: scale(.985); }
    .fuzy-refresh-card:active .fuzy-refresh-card__arrow { color: #fff; background: var(--refresh-accent); border-color: var(--refresh-accent); }
}
@media (prefers-reduced-motion: reduce) {
    .fuzy-refresh-card, .fuzy-refresh-card *, .fuzy-refresh-card::before, .fuzy-refresh-card::after { transition: none !important; }
}

.fuzy-section-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fuzy-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--theme-color) 85%, black);
    background: color-mix(in srgb, var(--theme-color) 10%, transparent);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fuzy-view-all:hover {
    background: var(--theme-color);
    color: #ffffff;
    text-decoration: none;
}


h1.fuzy-logo {
    font-size: inherit;
    margin: 0;
}

.fuzy-faq2-question span:first-child {
    word-break: break-word;
    overflow-wrap: anywhere;
}

html, body, button, input, select, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* MOBILE BOTTOM NAV */
.mobile-bottom-nav {
    display: none;
}

@media screen and (max-width: 900px) {
    .mobile-bottom-nav,
    .mobile-bottom-nav * {
        box-sizing: border-box;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav,
    .mobile-bottom-nav::before,
    .mobile-bottom-nav::after {
        display: block;
        position: fixed;
        bottom: 16px;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: 999999;
        width: calc(100% - 32px);
        max-width: clamp(420px, 75vw, 680px);
        pointer-events: none;
        background: transparent;
        background-color: transparent;
        box-shadow: none;
        filter: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
    }

    .mobile-bottom-nav .nav-container {
        pointer-events: auto;
        position: relative;
        background: rgba(255,255,255,.55);
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        border-radius: 50px;
        height: 52px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.35);
        box-shadow:
            0 8px 30px rgba(0,0,0,.12),
            inset 0 1px 0 rgba(255,255,255,.55);
        filter: none;
        transition: all .35s cubic-bezier(.4,0,.2,1);
    }

    .nav-mode-default {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        padding: 0 14px;
        transition: opacity 0.25s ease, transform 0.25s ease;
        opacity: 1;
        transform: scale(1);
    }

    .nav-mode-default .nav-group {
        display: flex;
        align-items: center;
        margin-left: 5px;
    }

    .nav-mode-default .nav-item {
        margin: 0 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #5f6368;
        background: transparent;
        font-size: 11px;
        font-weight: 500;
        cursor: pointer;
        border: none;
        padding: 0;
        position: relative;
        z-index: 1;
        flex: 1;
        transition: all .28s ease;
    }

    .nav-mode-default .nav-links {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav-mode-default .nav-item svg {
        margin-bottom: 2px;
    }

    .nav-mode-default .nav-item.active {
        color: #1f2937;
    }

    .nav-mode-default .nav-divider {
        width: 1px;
        height: 20px;
        background-color: #e5e7eb;
        margin: 0 6px;
    }

    .nav-mode-search {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 16px;
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(28px) saturate(200%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,.18);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.35),
            0 8px 25px rgba(0,0,0,.08);
        opacity: 0;
        pointer-events: none;
        transform: scale(0.95);
        transition:
            opacity .3s ease,
            transform .3s cubic-bezier(.4,0,.2,1);
    }

    .nav-mode-search .search-input-icon {
        color: #5f6368;
        margin-right: 10px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .nav-mode-search input[type="search"] {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        font-size: 14px;
        color: #1f2937;
        padding: 0;
        margin: 0;
        box-shadow: none;
        height: 100%;
    }

    .nav-mode-search input[type="search"]::placeholder {
        color: #8c9196;
    }

    .nav-mode-search .close-search-btn {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #5f6368;
        cursor: pointer;
        padding: 0;
        margin-left: 8px;
        border: none;
        flex-shrink: 0;
    }

    .mobile-bottom-nav.search-active .nav-mode-default {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.92);
    }

    .mobile-bottom-nav.search-active .nav-mode-search {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }

    .search-suggestions-popup {
        pointer-events: auto;
        position: absolute;
        bottom: 62px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.68);
        backdrop-filter: blur(22px) saturate(180%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        border-radius: 22px;
        border: 1px solid rgba(255,255,255,.4);
        box-shadow:
            0 15px 40px rgba(0,0,0,.14),
            inset 0 1px 0 rgba(255,255,255,.6);
        max-height: 320px;
        overflow-y: auto;
        display: none;
        padding: 10px 0;
        transition: all .2s ease;
    }

    .search-suggestions-popup.show {
        display: block;
    }

    .suggestion-loading {
        padding: 12px 16px;
        font-size: 13px;
        color: #6b7280;
        text-align: center;
    }

    .suggestion-item {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        text-decoration: none;
        color: #1f2937;
        border-bottom: 1px solid #f3f4f6;
        transition: background 0.15s ease;
        background: transparent;
    }

    .suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-item:active {
        background-color: #f3f4f6;
    }

    .suggestion-thumb {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        object-fit: cover;
        margin-right: 12px;
        background-color: #e5e7eb;
        flex-shrink: 0;
    }

    .suggestion-info {
        flex: 1;
        overflow: hidden;
    }

    .suggestion-title {
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 0 2px 0;
        color: #111827;
    }

    .suggestion-sub {
        font-size: 11px;
        color: #6b7280;
        margin: 0;
    }
}

#openSearchBtn {
    margin-left: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#openSearchBtn svg {
    display: block;
    stroke: #333; 
    fill: none;
}

#openSearchBtn path {
    fill: none;
    stroke: currentColor;
}

/* GLASS ACTIVE TAB */
.nav-mode-default .nav-item.active::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 82px;
    height: 42px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        inset 0 -1px 0 rgba(255,255,255,.08),
        0 6px 18px rgba(0,0,0,.08);
    z-index: -1;
    transition: all .35s cubic-bezier(.2,.8,.2,1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-mode-default .nav-item:active {
    transform: scale(.95);
}

.nav-mode-default .nav-item.active svg {
    transform: translateY(-1px);
}

.nav-mode-default .nav-item.active span {
    font-weight: 600;
}

.nav-mode-search input[type="search"]::-webkit-search-cancel-button,
.nav-mode-search input[type="search"]::-webkit-search-decoration,
.nav-mode-search input[type="search"]::-webkit-search-results-button,
.nav-mode-search input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* FEATURED TODAY SCROLL */
.fuzy-featured-today .ftm-scroll {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px; 
}

.fuzy-featured-today .ftm-item {
    flex: 0 0 160px;
    width: 160px;
    max-width: 160px;
    min-width: 160px;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .fuzy-featured-today .ftm-scroll { 
        gap: 18px; 
    }
    .fuzy-featured-today .ftm-item {
        flex: 0 0 185px;
        width: 185px;
        max-width: 185px;
        min-width: 185px;
    }
}

.trnd-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.trnd-media-box {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f1f2f4;
    background-image:
    border: 1px solid #e2e4e8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Subtle decorative glow and geometric detail behind the app icon */
.trnd-media-box::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 22px;
    background: radial-gradient(ellipse at center, rgba(120, 128, 140, 0.06), transparent 72%);
    pointer-events: none;
    z-index: -1;
}

.trnd-media-box::after {
    content: "";
    position: absolute;
    width: 34%;
    aspect-ratio: 1;
    right: -9%;
    top: -9%;
    border: 1px solid rgba(120, 128, 140, 0.12);
    border-radius: 10px;
    transform: rotate(28deg);
    pointer-events: none;
    z-index: 0;
}

.trnd-icon-wrapper {
    width: 58%;
    height: 58%;
    max-width: 110px;
    max-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trnd-app-icon {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.trnd-card:hover .trnd-app-icon {
    transform: scale(1.12);
}

.trnd-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.trnd-badge-mod { 
    background: color-mix(in srgb, var(--theme-color) 10%, transparent);
    color: color-mix(in srgb, var(--theme-color) 85%, black);
}

.trnd-badge-original { 
    background-color: #e5e7eb; 
    color: #374151; 
}

.trnd-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.trnd-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.3;
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.trnd-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
}

.trnd-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.trnd-rating-score {
    color: #111827; 
    font-weight: 700;
    flex-shrink: 0;
}

.trnd-dot, 
.trnd-size-text {
    color: #6b7280;
}

.trnd-mod-text {
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SEARCH GRID CONTAINERS */
.search-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.search-app-icon img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

.fuzy-version-note a {
    color: var(--theme-color);
}

/* =====================================
    FUZY SINGLE CONTENT 
===================================== */

.fuzy-single-content {
    color: #1a1d20;
    font-family: inherit; 
    font-size: 16px;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 40px;
}

.fuzy-single-content .fuzy-content-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.fuzy-single-content .fuzy-content-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color);
    text-transform: capitalize;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; 
}

.fuzy-single-content .fuzy-content-heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--theme-color);
}

.fuzy-single-content .fuzy-native-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--theme-color);
    background: transparent;
    border: 1px solid var(--theme-color);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fuzy-single-content .fuzy-native-share-btn:hover {
    background: var(--theme-color);
    color: #fff;
}

.fuzy-single-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1d20;
    margin-top: 35px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--theme-color);
    line-height: 1.3;
}

.fuzy-single-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #cbd5e1;
    line-height: 1.4;
}

.fuzy-single-content p {
    margin-bottom: 16px;
}

.fuzy-single-content a {
    color: var(--theme-color);
    text-decoration: none;
}

.fuzy-single-content a:hover {
    text-decoration: underline;
}

.fuzy-single-content p:not(.fuzy-faq2-item *),
.fuzy-single-content *:not(h2):not(h3):not(.fuzy-faq2-item *):not(.fuzy-faq2-item) {
    text-align: justify;
    text-justify: inter-word;
}



/* Single App: fully transparent Available Versions rows, flush with section */
.single-app .fuzy-versions-section .fuzy-versions-list {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}
.single-app .fuzy-versions-section .fuzy-version-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
}
.single-app .fuzy-versions-section .fuzy-version-card:hover,
.single-app .fuzy-versions-section .fuzy-version-card:focus-within {
    background: transparent !important;
    border-color: transparent;
    box-shadow: none;
}
.single-app .fuzy-versions-section .fuzy-version-title {
    color: var(--theme-color);
}
html[data-theme="dark"] .single-app .fuzy-versions-section .fuzy-version-title {
    color: var(--fuzy-dark-primary-color);
}
.single-app .fuzy-versions-section .fuzy-version-right,
.single-app .fuzy-versions-section .fuzy-version-download {
    display: none !important;
}


/* Single App versions: keep version beside app name; hide file-size row. */
.single-app .fuzy-versions-section .fuzy-version-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-weight: 400;
    line-height: 1.35;
}
.single-app .fuzy-versions-section .fuzy-version-app-name {
    font-weight: 400;
}
.single-app .fuzy-versions-section .fuzy-version-number {
    font-size: .88em;
    font-weight: 400;
    opacity: .78;
}
.single-app .fuzy-versions-section .fuzy-version-size {
    display: none !important;
}

/* Single App versions: keep version text visually identical to app name. */
.single-app .fuzy-versions-section .fuzy-version-title .fuzy-version-number {
    font: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    color: inherit;
    opacity: 1;
    letter-spacing: inherit;
}


/* Align security note with version cards on mobile */
@media (max-width: 767px) {
  .fuzy-version-security {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
}

/* FUZY APK - FEATURED TODAY CARD: transparent background and theme border */
.fuzy-featured-today .trnd-card {
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: border-color .18s ease, transform .15s ease;
}

.fuzy-featured-today .trnd-card:hover,
.fuzy-featured-today .trnd-card:focus,
.fuzy-featured-today .trnd-card:focus-visible,
.fuzy-featured-today .trnd-card:active {
    border-color: var(--theme-color);
}

.fuzy-featured-today .trnd-card:focus {
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .fuzy-featured-today .trnd-card:hover {
        transform: translateY(-2px);
    }
}


/* Search results reuse the same numbered trending card component */
.fuzy-search-page .search-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

/* Keep search cards readable on smaller desktop/tablet widths */
@media (min-width: 769px) and (max-width: 1023px) {
    .fuzy-search-page .search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

.fuzy-search-page .trnd-card {
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: border-color .18s ease, transform .15s ease;
}

.fuzy-search-page .trnd-card:hover,
.fuzy-search-page .trnd-card:focus,
.fuzy-search-page .trnd-card:focus-visible,
.fuzy-search-page .trnd-card:active {
    border-color: var(--theme-color);
}

@media (max-width: 768px) {
    .fuzy-search-page .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fuzy-search-page .trnd-card {
        padding: 9px;
        border-radius: 14px;
        min-width: 0;
    }

    .fuzy-search-page .trnd-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .fuzy-search-page .trnd-footer {
        gap: 4px;
        font-size: 11px;
    }

    .fuzy-search-page .trnd-badge {
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 9px;
    }
}


.fuzy-single-content .fuzy-content-header-wrap {
    flex-wrap: wrap;
    gap: 10px;
}

/* CUSTOM NOTE — LIGHT MODE */
.custom-note {
    margin: 20px 0;
    padding: 16px 18px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 10px;
    color: #374151;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.custom-note .custom-note-title {
    margin: 0 0 6px;
    color: #166534;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.custom-note .custom-note-content {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
}

.custom-note .custom-note-content > :first-child {
    margin-top: 0;
}

.custom-note .custom-note-content > :last-child {
    margin-bottom: 0;
}

.custom-note a {
    color: #15803d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* MOBILE */
@media (max-width: 767px) {
    .custom-note {
        margin: 16px 0;
        padding: 13px 14px;
        border-radius: 8px;
    }

    .custom-note .custom-note-title {
        font-size: 14px;
    }

    .custom-note .custom-note-content {
        font-size: 13px;
    }
}

/* SOCIAL DOWNLOAD - LIGHT MODE */
.fuzy-social-follow {
    width: 100%;
    text-align: center;
}

.fuzy-social-follow p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.fuzy-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.fuzy-social-follow .fuzy-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 190px;
    min-height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 0;
    border-radius: 14px;
    background: #079fe3;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.fuzy-social-follow .fuzy-social:hover,
.fuzy-social-follow .fuzy-social:focus-visible {
    background: #078fd0;
    color: #ffffff;
}

.fuzy-social-follow .fuzy-social svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}



.fuzy-single-content .fuzy-popular-section,
.single-app .fuzy-related-section,
.single-app .fuzy-popular-section {
    margin-bottom: 22px;
}
.fuzy-related-section .fuzy-section-header,
.fuzy-popular-section .fuzy-section-header {
    margin-bottom: 12px;
}
.fuzy-related-section .fuzy-app-grid,
.fuzy-popular-section .fuzy-horizontal-scroll {
    margin-top: 0;
}
#reply-title.comment-reply-title,
.fuzy-comment-title {
    font-weight: 700 !important;
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 12px;
}
#reply-title.comment-reply-title {
    font-size: 18px;
}
.fuzy-comment-title {
    font-size: 16px;
}


/* =========================================================
   SINGLE ARTICLE, STATIC PAGE & ARTICLES ARCHIVE
   Shared responsive frame: 1100px maximum outer width
   ========================================================= */

/* Article and static pages inherit the exact same .fuzy-single-wrapper
   frame used by single-app.php: max-width 1100px, centered, 20px gutters. */

/* Inner elements follow the outer frame without expanding it */
body.single-post .fuzy-article-container > .fuzy-breadcrumb,
body.single-post .fuzy-article-container > .fuzy-single-inner,
body.single-post .fuzy-articles-single,
body.single-post .fuzy-articles-single > .fuzy-single-content,
body.page .fuzy-single-wrapper > .fuzy-breadcrumb,
body.page .fuzy-single-wrapper > .fuzy-single-inner,
body.page .fuzy-single-wrapper .fuzy-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Prevent long content from pushing beyond the frame */
body.single-post .fuzy-single-content,
body.page .fuzy-single-content {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Static page title spacing */
body.page .fuzy-single-wrapper > .fuzy-breadcrumb {
    margin-bottom: 8px;
}

body.page .fuzy-single-wrapper > .fuzy-single-inner .fuzy-page > h1 {
    margin-top: 0;
}

/* Articles archive uses the same 1100px outer frame */
.fuzy-section.fuzy-articles-archive {
    width: 100%;
    max-width: 1100px;
    margin: 24px auto 10px;
    padding: 0 20px;
    box-sizing: border-box;
}

.fuzy-section.fuzy-articles-archive > .fuzy-article-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fuzy-articles-archive .fuzy-archive-title {
    margin: 4px 0 24px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 750;
}

.fuzy-articles-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

@media (max-width: 700px) {
    .fuzy-articles-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fuzy-articles-archive .fuzy-archive-title {
        font-size: 24px;
    }
}

/* Tablet and mobile: balanced side gutters, including iPad portrait */
@media (max-width: 900px) {
    .fuzy-section.fuzy-articles-archive {
        width: 100%;
        max-width: 1100px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .fuzy-section.fuzy-articles-archive > .fuzy-article-container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
}

@media (max-width: 640px) {
    .fuzy-articles-archive-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fuzy-category-wrapper > .fuzy-section {
    box-sizing: border-box;
}

/* MOBILE HEADER — equal visible left/right gutters */
@media (max-width: 900px) {
    .fuzy-header-inner {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .fuzy-mobile-icons {
        margin-right: 0;
        padding-right: 0;
    }

    .fuzy-mobile-icons .fuzy-mobile-menu-btn {
        width: 28px;
        min-width: 28px;
        height: 42px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .fuzy-mobile-icons .fuzy-mobile-menu-btn svg {
        display: block;
        width: 26px;
        height: 26px;
    }
}


/* SINGLE APP — Popular & Same Category fill the shared 1100px content wrapper */
.single-app .fuzy-related-section,
.single-app .fuzy-popular-section,
.single-app .fuzy-related-section > .fuzy-related-container,
.single-app .fuzy-popular-section > .fuzy-related-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Google Play link follows the same theme accent as Package Name */
.fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link,
.fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link:visited,
.fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link span {
    color: var(--theme-color);
}
.fuzy-single-spec .fuzy-google-play-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
}
.fuzy-single-spec .fuzy-google-play-link svg {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: inherit;
    fill: currentColor;
}
html[data-theme="dark"] .fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link,
html[data-theme="dark"] .fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link:visited,
html[data-theme="dark"] .fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link span,
html[data-theme="dark"] .fuzy-single-spec .fuzy-spec-value a.fuzy-google-play-link svg {
    color: var(--fuzy-dark-primary-color);
}
